@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.
Files changed (64) hide show
  1. package/dist/clients-jhkEj9YI.js +39275 -0
  2. package/dist/{components-2ISVk3oW.js → components-C4rE9PlV.js} +639 -631
  3. package/dist/{enums-De8CDKZ1.js → enums-DY3jIXFF.js} +50 -29
  4. package/dist/ui-sdk.js +3 -3
  5. package/dist/ui-sdk.umd.cjs +396 -396
  6. package/dist/{useValidation-D6P-wRwq.js → useValidation-BD4S-sEW.js} +1 -1
  7. package/dist/{wt-action-bar-HBm22ay5.js → wt-action-bar-C4JukltF.js} +2 -2
  8. package/dist/{wt-button-B7B7qITq.js → wt-button-2_aOV7LX.js} +4 -4
  9. package/dist/{wt-chat-emoji-ytWQWd8E.js → wt-chat-emoji-DVIlMP3o.js} +4 -4
  10. package/dist/{wt-datepicker-B8PRf5QY.js → wt-datepicker-H4E0JyRE.js} +6 -6
  11. package/dist/{wt-display-chip-items-BzQFwYws.js → wt-display-chip-items-DwMS-DJc.js} +1 -1
  12. package/dist/{wt-dual-panel-BEGLGU7F.js → wt-dual-panel-C98aGU8o.js} +1 -1
  13. package/dist/{wt-expansion-card-CpmnVJ03.js → wt-expansion-card-CEMaWXCy.js} +1 -1
  14. package/dist/{wt-expansion-panel-Br7JPc5X.js → wt-expansion-panel-BjeXHSay.js} +1 -1
  15. package/dist/{wt-icon-09f_Vpk_.js → wt-icon-Ct0E7k_d.js} +1 -1
  16. package/dist/{wt-icon-action-BBmutGsL.js → wt-icon-action-DB6P4E4K.js} +1 -1
  17. package/dist/{wt-icon-btn-DvrrxhWx.js → wt-icon-btn-DZa_qsai.js} +1 -1
  18. package/dist/{wt-notifications-bar-0o0yhR7P.js → wt-notifications-bar-BEomlIrN.js} +2 -2
  19. package/dist/{wt-player-D_kVPIdJ.js → wt-player-1-8X7Uo8.js} +3 -3
  20. package/dist/{wt-search-bar-Dnjkgro3.js → wt-search-bar-DzzSQyB3.js} +1 -1
  21. package/dist/{wt-send-message-popup-BuTlCwnq.js → wt-send-message-popup-DPjllTAk.js} +2 -2
  22. package/dist/{wt-status-select-DL1bOn9G.js → wt-status-select-BuojqV_1.js} +9 -9
  23. package/dist/{wt-timepicker-CAkO0jFY.js → wt-timepicker-RhM7Sln_.js} +2 -2
  24. package/dist/{wt-toast-DrfbAfTj.js → wt-toast-eWzfeYuz.js} +2 -2
  25. package/dist/{wt-tree-table-DJGISZ65.js → wt-tree-table-DvG6KLLB.js} +1 -1
  26. package/dist/{wt-type-extension-value-input-DVpMso5z.js → wt-type-extension-value-input-BO44atDh.js} +3 -3
  27. package/dist/{wt-vidstack-player-DhaLynZB.js → wt-vidstack-player-BD28KRTU.js} +4 -4
  28. package/package.json +3 -1
  29. package/src/composables/index.ts +0 -1
  30. package/src/enums/QueueType/QueueType.enum.ts +12 -31
  31. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.ts +1 -11
  32. package/src/locale/en/en.js +64 -0
  33. package/src/locale/es/es.js +64 -0
  34. package/src/locale/kz/kz.js +64 -0
  35. package/src/locale/pl/pl.js +64 -0
  36. package/src/locale/ro/ro.js +64 -0
  37. package/src/locale/ru/ru.js +64 -0
  38. package/src/locale/uk/uk.js +64 -0
  39. package/src/locale/uz/uz.js +64 -0
  40. package/src/locale/vi/vi.js +64 -0
  41. package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +1 -1
  42. package/src/modules/TableComponentModule/composables/{useTableEmpty.js → useTableEmpty.ts} +40 -12
  43. package/src/scripts/normalizeDatetime.ts +7 -88
  44. package/types/.tsbuildinfo +1 -1
  45. package/types/composables/index.d.ts +0 -1
  46. package/types/enums/QueueType/QueueType.enum.d.ts +9 -28
  47. package/types/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +1 -7
  48. package/types/locale/en/en.d.ts +64 -0
  49. package/types/locale/es/es.d.ts +87 -3
  50. package/types/locale/i18n.d.ts +576 -0
  51. package/types/locale/index.d.ts +576 -0
  52. package/types/locale/kz/kz.d.ts +87 -3
  53. package/types/locale/pl/pl.d.ts +87 -3
  54. package/types/locale/ro/ro.d.ts +87 -3
  55. package/types/locale/ru/ru.d.ts +87 -3
  56. package/types/locale/uk/uk.d.ts +87 -3
  57. package/types/locale/uz/uz.d.ts +87 -3
  58. package/types/locale/vi/vi.d.ts +87 -3
  59. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +1 -1
  60. package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +38 -13
  61. package/types/scripts/normalizeDatetime.d.ts +1 -8
  62. package/dist/clients-DBqdsc05.js +0 -38757
  63. package/src/composables/useCard/useCardTabs.js +0 -29
  64. package/types/composables/useCard/useCardTabs.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- import { i as e } from "./enums-De8CDKZ1.js";
1
+ import { i as e } from "./enums-DY3jIXFF.js";
2
2
  import { t } from "./vue-i18n-Db_oYfO8.js";
3
3
  import { computed as n, isReactive as r, isRef as i, unref as a } from "vue";
4
4
  //#region src/mixins/validationMixin/regle/useRegleValidation.ts
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./caseConverters-DXegZoCt.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { o as n } from "./enums-De8CDKZ1.js";
3
+ import { o as n } from "./enums-DY3jIXFF.js";
4
4
  import { t as r } from "./sortQueryAdapters-CyYXvnDN.js";
5
- import { t as i } from "./wt-icon-action-BBmutGsL.js";
5
+ import { t as i } from "./wt-icon-action-DB6P4E4K.js";
6
6
  import { Fragment as a, computed as o, createElementBlock as s, createVNode as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m, unref as h } from "vue";
7
7
  //#region src/components/wt-action-bar/WtActionBarActionsOrder.js
8
8
  var g = [
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-09f_Vpk_.js";
2
- import { d as t, f as n, l as r } from "./enums-De8CDKZ1.js";
1
+ import { t as e } from "./wt-icon-Ct0E7k_d.js";
2
+ import { g as t, h as n, l as r } from "./enums-DY3jIXFF.js";
3
3
  import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createTextVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderSlot as h, resolveComponent as g, toDisplayString as _, toRef as v, unref as y, useAttrs as b, watch as x, withCtx as S, withModifiers as C } from "vue";
4
4
  //#endregion
5
5
  //#region src/components/wt-badge-new/wt-badge.vue
@@ -26,7 +26,7 @@ var w = /* @__PURE__ */ l({
26
26
  }), T = { class: "wt-button__contents" }, E = /* @__PURE__ */ l({
27
27
  __name: "wt-button",
28
28
  props: {
29
- color: { default: n.PRIMARY },
29
+ color: { default: t.PRIMARY },
30
30
  disabled: {
31
31
  type: Boolean,
32
32
  default: !1
@@ -49,7 +49,7 @@ var w = /* @__PURE__ */ l({
49
49
  badge: {},
50
50
  badgeSeverity: {},
51
51
  badgeAbsolutePosition: { type: Boolean },
52
- variant: { default: t.ACTIVE }
52
+ variant: { default: n.ACTIVE }
53
53
  },
54
54
  emits: ["click"],
55
55
  setup(t, { emit: n }) {
@@ -1,8 +1,8 @@
1
- import "./components-2ISVk3oW.js";
1
+ import "./components-C4rE9PlV.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as t } from "./enums-De8CDKZ1.js";
4
- import { t as n } from "./wt-button-B7B7qITq.js";
5
- import { n as r } from "./wt-toast-DrfbAfTj.js";
3
+ import { l as t } from "./enums-DY3jIXFF.js";
4
+ import { t as n } from "./wt-button-2_aOV7LX.js";
5
+ import { n as r } from "./wt-toast-eWzfeYuz.js";
6
6
  import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, nextTick as u, onBeforeUnmount as d, openBlock as f, ref as p, resolveDirective as m, unref as h, withDirectives as g } from "vue";
7
7
  //#region node_modules/emoji-picker-element/database.js
8
8
  function _(e) {
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { d as t, f as n, l as r, r as i } from "./enums-De8CDKZ1.js";
2
+ import { g as t, h as n, l as r, r as i } from "./enums-DY3jIXFF.js";
3
3
  import { a, i as o, n as s, r as c, t as l } from "./toZonedTime-B8L5kbse.js";
4
4
  import { t as u } from "./vue-i18n-Db_oYfO8.js";
5
- import { t as d } from "./useValidation-D6P-wRwq.js";
5
+ import { t as d } from "./useValidation-BD4S-sEW.js";
6
6
  import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as P, vShow as F, withCtx as I, withDirectives as ee } from "vue";
7
7
  import te from "primevue/datepicker";
8
8
  //#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
@@ -395,8 +395,8 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
395
395
  onBlur: M(R)
396
396
  }, {
397
397
  buttonbar: I(({ todayCallback: i, clearCallback: a }) => [g("div", K, [v(l, {
398
- color: M(n).SECONDARY,
399
- variant: M(t).OUTLINED,
398
+ color: M(t).SECONDARY,
399
+ variant: M(n).OUTLINED,
400
400
  size: M(r).SM,
401
401
  onClick: i
402
402
  }, {
@@ -408,8 +408,8 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
408
408
  "size",
409
409
  "onClick"
410
410
  ]), ee(v(l, {
411
- color: M(n).SECONDARY,
412
- variant: M(t).OUTLINED,
411
+ color: M(t).SECONDARY,
412
+ variant: M(n).OUTLINED,
413
413
  size: M(r).SM,
414
414
  onClick: a
415
415
  }, {
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-2ISVk3oW.js";
1
+ import { C as e, i as t } from "./components-C4rE9PlV.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as r } from "./displayText-CtaxzaBz.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t, o as n } from "./enums-De8CDKZ1.js";
2
+ import { l as t, o as n } from "./enums-DY3jIXFF.js";
3
3
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, normalizeClass as c, openBlock as l, ref as u, renderSlot as d, resolveComponent as f, unref as p } from "vue";
4
4
  //#region src/components/wt-dual-panel/wt-dual-panel.vue
5
5
  var m = { class: "wt-dual-panel" }, h = {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t } from "./enums-De8CDKZ1.js";
2
+ import { l as t } from "./enums-DY3jIXFF.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import "./composables-BtWSAI5D.js";
5
5
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t } from "./enums-De8CDKZ1.js";
2
+ import { l as t } from "./enums-DY3jIXFF.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
5
5
  import { createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, resolveComponent as p, toRef as m, unref as h, vShow as g, withCtx as _, withDirectives as v, withKeys as y } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./caseConverters-DXegZoCt.js";
2
- import { a as t, l as n } from "./enums-De8CDKZ1.js";
2
+ import { a as t, l as n } from "./enums-DY3jIXFF.js";
3
3
  import { computed as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s } from "vue";
4
4
  //#region node_modules/dompurify/dist/purify.es.mjs
5
5
  function c(e, t) {
@@ -1,4 +1,4 @@
1
- import { o as e } from "./enums-De8CDKZ1.js";
1
+ import { o as e } from "./enums-DY3jIXFF.js";
2
2
  import { t } from "./vue-i18n-Db_oYfO8.js";
3
3
  import { t as n } from "./sortQueryAdapters-CyYXvnDN.js";
4
4
  import { computed as r, createBlock as i, openBlock as a, resolveComponent as o, resolveDirective as s, unref as c, withDirectives as l } from "vue";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./wt-icon-09f_Vpk_.js";
1
+ import { t as e } from "./wt-icon-Ct0E7k_d.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, toDisplayString as _, useModel as v, useSlots as y, withCtx as b } from "vue";
4
4
  //#region src/components/wt-checkbox/wt-checkbox.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
- import { i as e } from "./enums-De8CDKZ1.js";
2
- import { n as t, t as n } from "./wt-toast-DrfbAfTj.js";
1
+ import { i as e } from "./enums-DY3jIXFF.js";
2
+ import { n as t, t as n } from "./wt-toast-eWzfeYuz.js";
3
3
  import { createBlock as r, inject as i, onUnmounted as a, openBlock as o } from "vue";
4
4
  import { useToast as s } from "primevue/usetoast";
5
5
  //#region src/components/wt-toast/types/index.ts
@@ -1,7 +1,7 @@
1
- import { t as e } from "./wt-icon-09f_Vpk_.js";
1
+ import { t as e } from "./wt-icon-Ct0E7k_d.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as n } from "./enums-De8CDKZ1.js";
4
- import { t as r } from "./wt-button-B7B7qITq.js";
3
+ import { l as n } from "./enums-DY3jIXFF.js";
4
+ import { t as r } from "./wt-button-2_aOV7LX.js";
5
5
  import { n as i, t as a } from "./useVidstackSrc-aQcqC_v0.js";
6
6
  import { t as o } from "./wt-popover-lP-AhF8l.js";
7
7
  import { t as s } from "./wt-slider-BPzRTeYU.js";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { t } from "./debounce-Bp3jy7S5.js";
3
- import { t as n } from "./useValidation-D6P-wRwq.js";
3
+ import { t as n } from "./useValidation-BD4S-sEW.js";
4
4
  import { computed as r, createBlock as i, createCommentVNode as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, resolveComponent as m, resolveDirective as h, toDisplayString as g, toRefs as _, unref as v, withCtx as y, withDirectives as b } from "vue";
5
5
  //#region src/components/wt-search-bar/wt-search-bar.vue?vue&type=script&setup=true&lang.ts
6
6
  var x = { class: "wt-search-bar__icon-controls" }, S = /*#__PURE__*/ e(/* @__PURE__ */ u({
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./rolldown-runtime-BEcgMyyN.js";
2
- import { n as t, r as n } from "./clients-DBqdsc05.js";
3
- import { T as r, n as i, w as a } from "./components-2ISVk3oW.js";
2
+ import { n as t, r as n } from "./clients-jhkEj9YI.js";
3
+ import { T as r, n as i, w as a } from "./components-C4rE9PlV.js";
4
4
  import { t as o } from "./vue-i18n-Db_oYfO8.js";
5
5
  import { n as s } from "./useEventBus-B-ZeklLu.js";
6
6
  import { createBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, onMounted as p, openBlock as m, ref as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
@@ -1,4 +1,4 @@
1
- import { l as e, p as t } from "./enums-De8CDKZ1.js";
1
+ import { _ as e, l as t } from "./enums-DY3jIXFF.js";
2
2
  import { t as n } from "./vue-i18n-Db_oYfO8.js";
3
3
  import { t as r } from "./convertDuration-1K7fuEpO.js";
4
4
  import { computed as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, resolveComponent as l, unref as u, withCtx as d } from "vue";
@@ -7,27 +7,27 @@ var f = [
7
7
  {
8
8
  locale: "webitelUI.statusSelect.online",
9
9
  color: "success",
10
- value: t.ONLINE
10
+ value: e.ONLINE
11
11
  },
12
12
  {
13
13
  locale: "webitelUI.statusSelect.pause",
14
14
  color: "primary",
15
- value: t.PAUSE
15
+ value: e.PAUSE
16
16
  },
17
17
  {
18
18
  locale: "webitelUI.statusSelect.offline",
19
19
  color: "secondary",
20
- value: t.OFFLINE
20
+ value: e.OFFLINE
21
21
  },
22
22
  {
23
23
  locale: "webitelUI.statusSelect.breakOut",
24
24
  color: "break-out",
25
- value: t.BREAK_OUT
25
+ value: e.BREAK_OUT
26
26
  }
27
27
  ], p = /* @__PURE__ */ s({
28
28
  __name: "wt-status-select",
29
29
  props: {
30
- status: { default: t.OFFLINE },
30
+ status: { default: e.OFFLINE },
31
31
  statusDuration: { default: 0 },
32
32
  options: {}
33
33
  },
@@ -36,11 +36,11 @@ var f = [
36
36
  let m = s, h = p, { t: g } = n(), _ = i(() => m.options ? m.options : f.map((e) => ({
37
37
  ...e,
38
38
  text: g(e.locale)
39
- }))), v = i(() => _.value.find((e) => e.value === m.status)), y = i(() => _.value.filter((e) => e.value !== t.BREAK_OUT && (e.value !== t.OFFLINE || m.status !== t.OFFLINE))), b = i(() => typeof m.statusDuration == "string" ? m.statusDuration : m.statusDuration === void 0 ? v.value?.text ?? "" : r(m.statusDuration));
39
+ }))), v = i(() => _.value.find((e) => e.value === m.status)), y = i(() => _.value.filter((t) => t.value !== e.BREAK_OUT && (t.value !== e.OFFLINE || m.status !== e.OFFLINE))), b = i(() => typeof m.statusDuration == "string" ? m.statusDuration : m.statusDuration === void 0 ? v.value?.text ?? "" : r(m.statusDuration));
40
40
  function x(e) {
41
41
  h("change", e.value);
42
42
  }
43
- return (t, n) => {
43
+ return (e, n) => {
44
44
  let r = l("wt-indicator"), i = l("wt-single-select");
45
45
  return c(), a(i, {
46
46
  "show-clear": !1,
@@ -49,7 +49,7 @@ var f = [
49
49
  "model-value": v.value,
50
50
  class: "wt-status-select",
51
51
  "data-key": "value",
52
- size: u(e).SM,
52
+ size: u(t).SM,
53
53
  "onUpdate:modelValue": x
54
54
  }, {
55
55
  value: d(() => [o(r, {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t, r as n } from "./enums-De8CDKZ1.js";
2
+ import { l as t, r as n } from "./enums-DY3jIXFF.js";
3
3
  import { t as r } from "./vue-i18n-Db_oYfO8.js";
4
- import { t as i } from "./useValidation-D6P-wRwq.js";
4
+ import { t as i } from "./useValidation-BD4S-sEW.js";
5
5
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, resolveComponent as y, toDisplayString as b, toRefs as x, unref as S, withCtx as C } from "vue";
6
6
  //#region src/components/wt-timepicker/wt-timepicker.vue?vue&type=script&setup=true&lang.ts
7
7
  var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/ e(/* @__PURE__ */ d({
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-09f_Vpk_.js";
2
- import { i as t, l as n } from "./enums-De8CDKZ1.js";
1
+ import { t as e } from "./wt-icon-Ct0E7k_d.js";
2
+ import { i as t, l as n } from "./enums-DY3jIXFF.js";
3
3
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, normalizeProps as d, normalizeStyle as f, openBlock as p, resolveComponent as m, toDisplayString as h, unref as g, useAttrs as _, withCtx as v } from "vue";
4
4
  //#region node_modules/mitt/dist/mitt.mjs
5
5
  function y(e) {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { n as t } from "./sortQueryAdapters-CyYXvnDN.js";
3
- import { n, t as r } from "./wt-icon-btn-DvrrxhWx.js";
3
+ import { n, t as r } from "./wt-icon-btn-DZa_qsai.js";
4
4
  import { t as i } from "./useWtTable-DLWucXPx.js";
5
5
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveComponent as S, toDisplayString as C, toRef as w, unref as T, withCtx as E, withModifiers as D } from "vue";
6
6
  //#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
@@ -1,6 +1,6 @@
1
- import { t as e } from "./clients-DBqdsc05.js";
2
- import { a as t, o as n, r, s as i } from "./components-2ISVk3oW.js";
3
- import { t as a } from "./enums-De8CDKZ1.js";
1
+ import { t as e } from "./clients-jhkEj9YI.js";
2
+ import { a as t, o as n, r, s as i } from "./components-C4rE9PlV.js";
3
+ import { t as a } from "./enums-DY3jIXFF.js";
4
4
  import { t as o } from "./vue-i18n-Db_oYfO8.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
6
6
  //#endregion
@@ -1,8 +1,8 @@
1
- import { E as e } from "./components-2ISVk3oW.js";
1
+ import { D as e } from "./components-C4rE9PlV.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as n } from "./enums-De8CDKZ1.js";
4
- import "./wt-button-B7B7qITq.js";
5
- import { t as r } from "./wt-icon-btn-DvrrxhWx.js";
3
+ import { l as n } from "./enums-DY3jIXFF.js";
4
+ import "./wt-button-2_aOV7LX.js";
5
+ import { t as r } from "./wt-icon-btn-DZa_qsai.js";
6
6
  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 ee, P as te, Q as g, R as ne, S as _, U as re, V as v, W as y, X as b, Y as ie, Z as x, _ as S, a as ae, b as oe, c as se, d as ce, et as le, f as ue, g as de, h as fe, i as C, it as pe, j as me, k as he, l as w, m as ge, n as T, nt as E, o as D, ot as _e, p as O, q as k, r as A, rt as ve, t as ye, tt as be, u as xe, v as j, w as Se, y as Ce, z as we } from "./vidstack-D9mvYVIz-DesuYgKV.js";
7
7
  import { _ as M, a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, o as Fe, p as Ie, r as Le, s as Re, t as N, u as ze } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
8
8
  import { _ as Be, a as Ve, c as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, n as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } 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.50",
3
+ "version": "26.8.52",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -94,8 +94,10 @@
94
94
  "lodash-es": "^4.17.21",
95
95
  "mitt": "^3.0.1",
96
96
  "path-browserify": "^1.0.1",
97
+ "pinia": "^3.x",
97
98
  "tiny-jsonc": "^1.0.2",
98
99
  "vidstack": "^1.12.13",
100
+ "vue": "^3.5",
99
101
  "vue-i18n": "^11.1.2",
100
102
  "vue-router": "^4.5.0",
101
103
  "webitel-sdk": "^26.4.8",
@@ -1,7 +1,6 @@
1
1
  export * from './useCachedInterval/useCachedInterval';
2
2
  export * from './useCachedItemInstanceName/useCachedItemInstanceName';
3
3
  export * from './useCard/useCardComponent';
4
- export * from './useCard/useCardTabs';
5
4
  export * from './useClose/useClose';
6
5
  export * from './useDestroyableSortable/useDestroyableSortable';
7
6
  export * from './useEventBus/useEventBus';
@@ -1,31 +1,12 @@
1
- export const QueueType = {
2
- OFFLINE_QUEUE: 0,
3
- INBOUND_QUEUE: 1,
4
- OUTBOUND_IVR_QUEUE: 2,
5
- PREVIEW_DIALER: 3,
6
- PROGRESSIVE_DIALER: 4,
7
- PREDICTIVE_DIALER: 5,
8
- CHAT_INBOUND_QUEUE: 6,
9
- INBOUND_JOB_QUEUE: 7,
10
- OUTBOUND_JOB_QUEUE: 8,
11
- IM_CHAT_QUEUE: 9,
12
- } as const;
13
-
14
- export type QueueType = (typeof QueueType)[keyof typeof QueueType];
15
-
16
- export const QueueTypeName = {
17
- OFFLINE_QUEUE: 'offline',
18
- INBOUND_QUEUE: 'inbound',
19
- OUTBOUND_IVR_QUEUE: 'ivr',
20
- PREVIEW_DIALER: 'preview',
21
- PROGRESSIVE_DIALER: 'progressive',
22
- PREDICTIVE_DIALER: 'predictive',
23
- CHAT_INBOUND_QUEUE: 'inbound chat',
24
- INBOUND_JOB_QUEUE: 'task',
25
- OUTBOUND_JOB_QUEUE: 'outbound_task',
26
- OUTBOUND_CALL: 'outbound_call',
27
- IM_CHAT_QUEUE: 'im_chat',
28
- NOT_IMPLEMENT: 'NOT_IMPLEMENT',
29
- } as const;
30
-
31
- export type QueueTypeName = (typeof QueueTypeName)[keyof typeof QueueTypeName];
1
+ /**
2
+ * @description
3
+ * Single source of truth moved to `@webitel/api-services/enums`, because the
4
+ * queue Zod schema and the queue type defaults live there and api-services
5
+ * cannot import from ui-sdk (the dependency runs the other way).
6
+ *
7
+ * Re-exported here so the ~40 `@webitel/ui-sdk/enums` consumers stay untouched.
8
+ */
9
+ export {
10
+ QueueType,
11
+ QueueTypeName,
12
+ } from '@webitel/api-services/enums';
@@ -1,11 +1 @@
1
- const valuePrefix = 'rdt'; /* stands for relative datetime */
2
-
3
- export const RelativeDatetimeValue = {
4
- Today: `${valuePrefix}_today`,
5
- ThisWeek: `${valuePrefix}_this_week`,
6
- ThisMonth: `${valuePrefix}_this_month`,
7
- Custom: `${valuePrefix}_custom`,
8
- } as const;
9
-
10
- export type RelativeDatetimeValue =
11
- (typeof RelativeDatetimeValue)[keyof typeof RelativeDatetimeValue];
1
+ export { RelativeDatetimeValue } from '@webitel/api-services/enums';
@@ -233,6 +233,34 @@ export default deepmerge(
233
233
  [snakeToCamel(AgentStatus.BreakOut)]: 'Break out',
234
234
  },
235
235
  },
236
+ bucket: 'Bucket | Buckets',
237
+ joinedAt: 'Joined at',
238
+ leavingAt: 'Leaving at',
239
+ offeringAt: 'Offering at',
240
+ stopCause: {
241
+ stopCause: 'End cause',
242
+ abandoned: 'Abandoned',
243
+ timeout: 'Timeout',
244
+ cancel: 'Cancel',
245
+ success: 'Success',
246
+ failed: 'Failed',
247
+ missed: 'Missed',
248
+ expired: 'Expired',
249
+ canceledByTimeout: 'Canceled by timeout',
250
+ },
251
+ memberPriority: 'Priority',
252
+ attempts: 'Attempts',
253
+ callReportingResult: {
254
+ result: 'Result',
255
+ abandoned: 'Abandoned',
256
+ cancel: 'Cancel',
257
+ success: 'Success',
258
+ failed: 'Failed',
259
+ missed: 'Missed',
260
+ timeout: 'Timeout',
261
+ endless: 'Endless',
262
+ transferred: 'Transferred',
263
+ },
236
264
  flow: {
237
265
  name: 'Flow schema | Flow schemas',
238
266
  type: {
@@ -712,6 +740,9 @@ export default deepmerge(
712
740
  author: ({ linked }) => {
713
741
  return linked('cases.author');
714
742
  },
743
+ bucket: ({ linked }) => {
744
+ return linked('objects.bucket');
745
+ },
715
746
  cause: ({ linked }) => {
716
747
  return linked('objects.hangupCause');
717
748
  },
@@ -754,6 +785,39 @@ export default deepmerge(
754
785
  hasUser: ({ linked }) => {
755
786
  return linked('objects.user');
756
787
  },
788
+ joinedAt: ({ linked }) => {
789
+ return linked('objects.joinedAt');
790
+ },
791
+ leavingAt: ({ linked }) => {
792
+ return linked('objects.leavingAt');
793
+ },
794
+ offeringAt: ({ linked }) => {
795
+ return linked('objects.offeringAt');
796
+ },
797
+ stopCause: ({ linked }) => {
798
+ return linked('objects.stopCause.stopCause');
799
+ },
800
+ memberPriority: ({ linked }) => {
801
+ return linked('objects.memberPriority');
802
+ },
803
+ attempts: ({ linked }) => {
804
+ return linked('objects.attempts');
805
+ },
806
+ name: ({ linked }) => {
807
+ return linked('reusable.name');
808
+ },
809
+ destination: ({ linked }) => {
810
+ return linked('vocabulary.destination');
811
+ },
812
+ duration: ({ linked }) => {
813
+ return linked('vocabulary.duration');
814
+ },
815
+ result: ({ linked }) => {
816
+ return linked('objects.callReportingResult.result');
817
+ },
818
+ tags: ({ linked }) => {
819
+ return linked('vocabulary.tag');
820
+ },
757
821
  impacted: ({ linked }) => {
758
822
  return linked('cases.impacted');
759
823
  },
@@ -224,6 +224,34 @@ export default {
224
224
  [snakeToCamel(AgentStatus.BreakOut)]: 'Descanso',
225
225
  },
226
226
  },
227
+ bucket: 'Caja | Cajas',
228
+ joinedAt: 'Unido el',
229
+ leavingAt: 'Abandonado el',
230
+ offeringAt: 'Ofertado el',
231
+ stopCause: {
232
+ stopCause: 'Causa de finalización',
233
+ abandoned: 'Abandonado',
234
+ timeout: 'Tiempo de espera',
235
+ cancel: 'Cancelar',
236
+ success: 'Éxito',
237
+ failed: 'Fallido',
238
+ missed: 'Perdido',
239
+ expired: 'Expirado',
240
+ canceledByTimeout: 'Cancelado por tiempo de espera',
241
+ },
242
+ memberPriority: 'Prioridad',
243
+ attempts: 'Intentos',
244
+ callReportingResult: {
245
+ result: 'Resultado',
246
+ abandoned: 'Abandonado',
247
+ cancel: 'Cancelar',
248
+ success: 'Éxito',
249
+ failed: 'Fallido',
250
+ missed: 'Perdido',
251
+ timeout: 'Tiempo de espera',
252
+ endless: 'Sin fin',
253
+ transferred: 'Transferido',
254
+ },
227
255
  flow: {
228
256
  name: 'Esquema de flujo | Esquemas de flujo',
229
257
  type: {
@@ -701,6 +729,9 @@ export default {
701
729
  author: ({ linked }) => {
702
730
  return linked('cases.author');
703
731
  },
732
+ bucket: ({ linked }) => {
733
+ return linked('objects.bucket');
734
+ },
704
735
  cause: ({ linked }) => {
705
736
  return linked('objects.hangupCause');
706
737
  },
@@ -743,6 +774,39 @@ export default {
743
774
  hasUser: ({ linked }) => {
744
775
  return linked('objects.user');
745
776
  },
777
+ joinedAt: ({ linked }) => {
778
+ return linked('objects.joinedAt');
779
+ },
780
+ leavingAt: ({ linked }) => {
781
+ return linked('objects.leavingAt');
782
+ },
783
+ offeringAt: ({ linked }) => {
784
+ return linked('objects.offeringAt');
785
+ },
786
+ stopCause: ({ linked }) => {
787
+ return linked('objects.stopCause.stopCause');
788
+ },
789
+ memberPriority: ({ linked }) => {
790
+ return linked('objects.memberPriority');
791
+ },
792
+ attempts: ({ linked }) => {
793
+ return linked('objects.attempts');
794
+ },
795
+ name: ({ linked }) => {
796
+ return linked('reusable.name');
797
+ },
798
+ destination: ({ linked }) => {
799
+ return linked('vocabulary.destination');
800
+ },
801
+ duration: ({ linked }) => {
802
+ return linked('vocabulary.duration');
803
+ },
804
+ result: ({ linked }) => {
805
+ return linked('objects.callReportingResult.result');
806
+ },
807
+ tags: ({ linked }) => {
808
+ return linked('vocabulary.tag');
809
+ },
746
810
  impacted: ({ linked }) => {
747
811
  return linked('cases.impacted');
748
812
  },