@webitel/ui-sdk 26.6.61 → 26.6.63

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 (63) hide show
  1. package/dist/{clients-DPvJvOx5.js → clients-DtfBVBhI.js} +1 -1
  2. package/dist/{components-GEKIa6Vp.js → components-eoQi5zKf.js} +11 -11
  3. package/dist/{enums-BwgSueOO.js → enums-CoY-pIuZ.js} +2 -1
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +3 -3
  6. package/dist/ui-sdk.umd.cjs +2 -2
  7. package/dist/{useValidation-Hdk6hzmc.js → useValidation-CBCP45gh.js} +1 -1
  8. package/dist/{wt-action-bar-Dbt6CgEp.js → wt-action-bar-2y3MlEvJ.js} +3 -2
  9. package/dist/{wt-button-BDGLW4OG.js → wt-button-DSxkafVk.js} +2 -2
  10. package/dist/{wt-chat-emoji-CAn773-T.js → wt-chat-emoji-CROATNmD.js} +4 -4
  11. package/dist/{wt-datepicker-BjbWDS8B.js → wt-datepicker-EX4vuaeW.js} +2 -2
  12. package/dist/{wt-display-chip-items-DAnyat0v.js → wt-display-chip-items-BYkx7GAw.js} +1 -1
  13. package/dist/{wt-dual-panel-C54Hwdwc.js → wt-dual-panel-Dn52cFd0.js} +1 -1
  14. package/dist/{wt-expansion-card-CVPU9twV.js → wt-expansion-card-HZjA1zDY.js} +1 -1
  15. package/dist/{wt-expansion-panel-B1u06Hz8.js → wt-expansion-panel-BUta42RO.js} +1 -1
  16. package/dist/{wt-icon-Bd8GvqIt.js → wt-icon-CU2jtYw1.js} +1 -1
  17. package/dist/{wt-icon-action-mNjxBL1c.js → wt-icon-action-DH_n0oGT.js} +7 -3
  18. package/dist/{wt-icon-btn-BL4UZ7Fv.js → wt-icon-btn-eDHK__L_.js} +1 -1
  19. package/dist/{wt-notifications-bar-Tg1pDfMR.js → wt-notifications-bar-BXO9pr7l.js} +2 -2
  20. package/dist/{wt-player-B2-wweFq.js → wt-player-C-Ucuchh.js} +3 -3
  21. package/dist/{wt-search-bar-CPfD4657.js → wt-search-bar-CxrtffQv.js} +1 -1
  22. package/dist/{wt-send-message-popup-Clb-abg5.js → wt-send-message-popup-DuRb4ozr.js} +2 -2
  23. package/dist/{wt-status-select-DCiMHd9K.js → wt-status-select-DEbX08g3.js} +2 -2
  24. package/dist/{wt-timepicker-4bwYBaKQ.js → wt-timepicker-BEj18WiL.js} +2 -2
  25. package/dist/{wt-toast-QzhZGeTp.js → wt-toast-CS54GhLJ.js} +2 -2
  26. package/dist/{wt-tree-table-DM_CRVQQ.js → wt-tree-table-4C0-68hY.js} +1 -1
  27. package/dist/{wt-type-extension-value-input-CP-xZ065.js → wt-type-extension-value-input-BroXv_Jr.js} +3 -3
  28. package/dist/{wt-vidstack-player-CuQ_SOHI.js → wt-vidstack-player-1BqwgHog.js} +4 -4
  29. package/package.json +1 -1
  30. package/src/components/wt-action-bar/WtActionBarActionsOrder.js +1 -0
  31. package/src/components/wt-icon-action/iconMappings.js +2 -0
  32. package/src/components/wt-icon-action/wt-icon-action.vue +2 -0
  33. package/src/components/wt-single-select/wt-single-select.vue +3 -0
  34. package/src/components/wt-status-select/wt-status-select.vue +1 -1
  35. package/src/enums/IconAction/IconAction.enum.js +1 -0
  36. package/src/locale/en/en.js +2 -0
  37. package/src/locale/es/es.js +2 -0
  38. package/src/locale/kz/kz.js +2 -0
  39. package/src/locale/pl/pl.js +2 -0
  40. package/src/locale/ro/ro.js +2 -0
  41. package/src/locale/ru/ru.js +2 -0
  42. package/src/locale/uk/uk.js +2 -0
  43. package/src/locale/uz/uz.js +2 -0
  44. package/src/locale/vi/vi.js +2 -0
  45. package/src/modules/UserNotifications/stores/userNotificationsStore.ts +11 -2
  46. package/src/modules/Userinfo/stores/userinfoStore.ts +3 -2
  47. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  48. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +17 -12
  49. package/types/components/wt-icon-action/iconMappings.d.ts +2 -0
  50. package/types/enums/IconAction/IconAction.enum.d.ts +1 -0
  51. package/types/locale/en/en.d.ts +6 -0
  52. package/types/locale/es/es.d.ts +6 -0
  53. package/types/locale/i18n.d.ts +54 -0
  54. package/types/locale/index.d.ts +54 -0
  55. package/types/locale/kz/kz.d.ts +6 -0
  56. package/types/locale/pl/pl.d.ts +6 -0
  57. package/types/locale/ro/ro.d.ts +6 -0
  58. package/types/locale/ru/ru.d.ts +6 -0
  59. package/types/locale/uk/uk.d.ts +6 -0
  60. package/types/locale/uz/uz.d.ts +6 -0
  61. package/types/locale/vi/vi.d.ts +6 -0
  62. package/types/modules/UserNotifications/stores/userNotificationsStore.d.ts +3 -3
  63. package/types/modules/Userinfo/stores/userinfoStore.d.ts +3 -3
@@ -1,4 +1,4 @@
1
- import { i as e } from "./enums-BwgSueOO.js";
1
+ import { i as e } from "./enums-CoY-pIuZ.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.js";
3
3
  import { computed as n, isReactive as r } 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-BwgSueOO.js";
3
+ import { o as n } from "./enums-CoY-pIuZ.js";
4
4
  import { t as r } from "./sortQueryAdapters-CyYXvnDN.js";
5
- import { t as i } from "./wt-icon-action-mNjxBL1c.js";
5
+ import { t as i } from "./wt-icon-action-DH_n0oGT.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 = [
@@ -11,6 +11,7 @@ var g = [
11
11
  n.COPY,
12
12
  n.DOWNLOAD_PDF,
13
13
  n.DOWNLOAD,
14
+ n.LOGOUT,
14
15
  n.UPLOAD,
15
16
  n.COLUMNS,
16
17
  n.VARIABLES,
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-Bd8GvqIt.js";
2
- import { d as t, f as n, l as r } from "./enums-BwgSueOO.js";
1
+ import { t as e } from "./wt-icon-CU2jtYw1.js";
2
+ import { d as t, f as n, l as r } from "./enums-CoY-pIuZ.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
@@ -1,8 +1,8 @@
1
- import "./components-GEKIa6Vp.js";
1
+ import "./components-eoQi5zKf.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as t } from "./enums-BwgSueOO.js";
4
- import { t as n } from "./wt-button-BDGLW4OG.js";
5
- import { n as r } from "./wt-toast-QzhZGeTp.js";
3
+ import { l as t } from "./enums-CoY-pIuZ.js";
4
+ import { t as n } from "./wt-button-DSxkafVk.js";
5
+ import { n as r } from "./wt-toast-CS54GhLJ.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,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-BwgSueOO.js";
2
+ import { l as t, r as n } from "./enums-CoY-pIuZ.js";
3
3
  import { A as r, C as i, D as a, E as o, F as s, I as c, L as l, M as u, N as d, O as f, P as p, R as m, S as h, T as g, _, b as v, j as y, k as ee, m as b, v as x, w as S, x as C, y as w, z as T } from "./dist-uCh8HaP3.js";
4
- import { t as te } from "./useValidation-Hdk6hzmc.js";
4
+ import { t as te } from "./useValidation-CBCP45gh.js";
5
5
  import { Fragment as E, Teleport as ne, Transition as re, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as M, createTextVNode as N, createVNode as P, defineComponent as F, getCurrentScope as ie, guardReactiveProps as ae, isRef as oe, mergeProps as se, nextTick as ce, normalizeClass as I, normalizeProps as le, normalizeStyle as ue, onBeforeUpdate as de, onMounted as fe, onScopeDispose as pe, onUnmounted as me, openBlock as L, reactive as he, ref as R, renderList as z, renderSlot as B, resolveComponent as ge, resolveDynamicComponent as _e, toDisplayString as ve, toRef as ye, toRefs as be, unref as V, useSlots as xe, vShow as Se, watch as Ce, withCtx as H, withDirectives as we, withKeys as U, withModifiers as Te } from "vue";
6
6
  //#region node_modules/date-fns/addDays.js
7
7
  function Ee(e, t, n) {
@@ -1,4 +1,4 @@
1
- import { c as e, i as t } from "./components-GEKIa6Vp.js";
1
+ import { c as e, i as t } from "./components-eoQi5zKf.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-BwgSueOO.js";
2
+ import { l as t, o as n } from "./enums-CoY-pIuZ.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-BwgSueOO.js";
2
+ import { l as t } from "./enums-CoY-pIuZ.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import "./composables-Ckg9IFyC.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-BwgSueOO.js";
2
+ import { l as t } from "./enums-CoY-pIuZ.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-BwgSueOO.js";
2
+ import { a as t, l as n } from "./enums-CoY-pIuZ.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-BwgSueOO.js";
1
+ import { o as e } from "./enums-CoY-pIuZ.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.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";
@@ -24,7 +24,9 @@ var u = Object.freeze({
24
24
  [e.APPLY_PRESET]: "load-preset",
25
25
  [e.ADD_CONTACT]: "add-contact",
26
26
  [e.DOWNLOAD_PDF]: "download-pdf",
27
- [e.CHAT]: "chat"
27
+ [e.CHAT]: "chat",
28
+ [e.UPLOAD]: "upload",
29
+ [e.LOGOUT]: "logout"
28
30
  }), d = {
29
31
  __name: "wt-icon-action",
30
32
  props: {
@@ -45,7 +47,9 @@ var u = Object.freeze({
45
47
  e.ADD_CONTACT,
46
48
  e.DOWNLOAD_PDF,
47
49
  e.CHAT,
48
- e.SORT
50
+ e.SORT,
51
+ e.UPLOAD,
52
+ e.LOGOUT
49
53
  ]).includes(t)
50
54
  },
51
55
  disabled: {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./wt-icon-Bd8GvqIt.js";
1
+ import { t as e } from "./wt-icon-CU2jtYw1.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-BwgSueOO.js";
2
- import { n as t, t as n } from "./wt-toast-QzhZGeTp.js";
1
+ import { i as e } from "./enums-CoY-pIuZ.js";
2
+ import { n as t, t as n } from "./wt-toast-CS54GhLJ.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-Bd8GvqIt.js";
1
+ import { t as e } from "./wt-icon-CU2jtYw1.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as n } from "./enums-BwgSueOO.js";
4
- import { t as r } from "./wt-button-BDGLW4OG.js";
3
+ import { l as n } from "./enums-CoY-pIuZ.js";
4
+ import { t as r } from "./wt-button-DSxkafVk.js";
5
5
  import { n as i, t as a } from "./useVidstackSrc-epUQZhkL.js";
6
6
  import { t as o } from "./wt-popover-BdwrokVy.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-Hdk6hzmc.js";
3
+ import { t as n } from "./useValidation-CBCP45gh.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
- import { n as e } from "./components-GEKIa6Vp.js";
1
+ import { n as e } from "./components-eoQi5zKf.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.js";
3
- import { n, r } from "./clients-DPvJvOx5.js";
3
+ import { n, r } from "./clients-DtfBVBhI.js";
4
4
  import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue
@@ -1,4 +1,4 @@
1
- import { l as e, p as t } from "./enums-BwgSueOO.js";
1
+ import { l as e, p as t } from "./enums-CoY-pIuZ.js";
2
2
  import { t as n } from "./vue-i18n-lTFLGg_9.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";
@@ -57,7 +57,7 @@ var f = [
57
57
  "onUpdate:modelValue": x
58
58
  }, {
59
59
  value: d(({ value: e }) => [o(r, {
60
- color: e.color,
60
+ color: v.value.color,
61
61
  text: b.value
62
62
  }, null, 8, ["color", "text"])]),
63
63
  option: d(({ option: e }) => [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-BwgSueOO.js";
2
+ import { l as t, r as n } from "./enums-CoY-pIuZ.js";
3
3
  import { t as r } from "./vue-i18n-lTFLGg_9.js";
4
- import { t as i } from "./useValidation-Hdk6hzmc.js";
4
+ import { t as i } from "./useValidation-CBCP45gh.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-Bd8GvqIt.js";
2
- import { i as t, l as n } from "./enums-BwgSueOO.js";
1
+ import { t as e } from "./wt-icon-CU2jtYw1.js";
2
+ import { i as t, l as n } from "./enums-CoY-pIuZ.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, openBlock as f, resolveComponent as p, toDisplayString as m, unref as h, useAttrs as g, withCtx as _ } from "vue";
4
4
  //#region node_modules/mitt/dist/mitt.mjs
5
5
  function v(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-BL4UZ7Fv.js";
3
+ import { n, t as r } from "./wt-icon-btn-eDHK__L_.js";
4
4
  import { t as i } from "./useWtTable-DrrvvB6k.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,7 +1,7 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-GEKIa6Vp.js";
2
- import { t as i } from "./enums-BwgSueOO.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-eoQi5zKf.js";
2
+ import { t as i } from "./enums-CoY-pIuZ.js";
3
3
  import { t as a } from "./vue-i18n-lTFLGg_9.js";
4
- import { t as o } from "./clients-DPvJvOx5.js";
4
+ import { t as o } from "./clients-DtfBVBhI.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
7
7
  //#region src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
@@ -1,8 +1,8 @@
1
- import { l as e } from "./components-GEKIa6Vp.js";
1
+ import { l as e } from "./components-eoQi5zKf.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as n } from "./enums-BwgSueOO.js";
4
- import "./wt-button-BDGLW4OG.js";
5
- import { t as r } from "./wt-icon-btn-BL4UZ7Fv.js";
3
+ import { l as n } from "./enums-CoY-pIuZ.js";
4
+ import "./wt-button-DSxkafVk.js";
5
+ import { t as r } from "./wt-icon-btn-eDHK__L_.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-epUQZhkL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.61",
3
+ "version": "26.6.63",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -6,6 +6,7 @@ export const tableActionsOrder = [
6
6
  IconAction.COPY,
7
7
  IconAction.DOWNLOAD_PDF,
8
8
  IconAction.DOWNLOAD,
9
+ IconAction.LOGOUT,
9
10
  IconAction.UPLOAD,
10
11
  IconAction.COLUMNS,
11
12
  IconAction.VARIABLES,
@@ -22,4 +22,6 @@ export const WtIconActionIconMappings = Object.freeze({
22
22
  [IconAction.ADD_CONTACT]: 'add-contact',
23
23
  [IconAction.DOWNLOAD_PDF]: 'download-pdf',
24
24
  [IconAction.CHAT]: 'chat',
25
+ [IconAction.UPLOAD]: 'upload',
26
+ [IconAction.LOGOUT]: 'logout',
25
27
  });
@@ -40,6 +40,8 @@ const props = defineProps({
40
40
  IconAction.DOWNLOAD_PDF,
41
41
  IconAction.CHAT,
42
42
  IconAction.SORT,
43
+ IconAction.UPLOAD,
44
+ IconAction.LOGOUT,
43
45
  ]).includes(v),
44
46
  },
45
47
  disabled: {
@@ -255,6 +255,9 @@ onMounted(() => {
255
255
 
256
256
  .wt-single-select__option-label {
257
257
  user-select: none;
258
+ overflow: hidden;
259
+ text-overflow: ellipsis;
260
+ white-space: nowrap;
258
261
  }
259
262
 
260
263
  .wt-single-select__input {
@@ -12,7 +12,7 @@
12
12
  >
13
13
  <template #value="{ value }">
14
14
  <wt-indicator
15
- :color="value.color"
15
+ :color="selectedOption.color"
16
16
  :text="duration"
17
17
  />
18
18
  </template>
@@ -24,6 +24,7 @@ const IconAction = Object.freeze({
24
24
  DOWNLOAD_PDF: 'download-pdf',
25
25
  CHAT: 'chat',
26
26
  SORT: 'sort',
27
+ LOGOUT: 'logout',
27
28
  });
28
29
 
29
30
  export default IconAction;
@@ -575,6 +575,8 @@ export default deepmerge(
575
575
  if (order === SortSymbols.DESC) return 'Sort descending';
576
576
  return 'Sort';
577
577
  },
578
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
579
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
578
580
  },
579
581
  },
580
582
  errorPages: {
@@ -561,6 +561,8 @@ export default {
561
561
  if (order === SortSymbols.DESC) return 'Orden descendente';
562
562
  return 'Ordenar';
563
563
  },
564
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
565
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
564
566
  },
565
567
  },
566
568
  errorPages: {
@@ -563,6 +563,8 @@ export default {
563
563
  if (order === SortSymbols.DESC) return 'Кему бойынша сұрыптау';
564
564
  return 'Сұрыптау';
565
565
  },
566
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
567
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
566
568
  },
567
569
  },
568
570
  errorPages: {
@@ -564,6 +564,8 @@ export default {
564
564
  if (order === SortSymbols.DESC) return 'Sortowanie malejąco';
565
565
  return 'Sortowanie';
566
566
  },
567
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
568
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
567
569
  },
568
570
  },
569
571
  errorPages: {
@@ -568,6 +568,8 @@ export default {
568
568
  if (order === SortSymbols.DESC) return 'Sortare descrescătoare';
569
569
  return 'Sortare';
570
570
  },
571
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
572
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
571
573
  },
572
574
  },
573
575
  errorPages: {
@@ -559,6 +559,8 @@ export default {
559
559
  if (order === SortSymbols.DESC) return 'Сортировка по убыванию';
560
560
  return 'Сортировка';
561
561
  },
562
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
563
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
562
564
  },
563
565
  },
564
566
  errorPages: {
@@ -558,6 +558,8 @@ export default {
558
558
  if (order === SortSymbols.DESC) return 'Сортування за спаданням';
559
559
  return 'Сортування';
560
560
  },
561
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
562
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
561
563
  },
562
564
  },
563
565
  errorPages: {
@@ -568,6 +568,8 @@ export default {
568
568
  if (order === SortSymbols.DESC) return 'Kamayish tartibida saralash';
569
569
  return 'Saralash';
570
570
  },
571
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
572
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
571
573
  },
572
574
  },
573
575
  errorPages: {
@@ -567,6 +567,8 @@ export default {
567
567
  if (order === SortSymbols.DESC) return 'Sắp xếp giảm dần';
568
568
  return 'Sắp xếp';
569
569
  },
570
+ [IconAction.UPLOAD]: ({ linked }) => linked('reusable.upload'),
571
+ [IconAction.LOGOUT]: ({ linked }) => linked('vocabulary.logout'),
570
572
  },
571
573
  },
572
574
  errorPages: {
@@ -37,8 +37,17 @@ export const createUserNotificationsStore = () => {
37
37
  );
38
38
  };
39
39
 
40
- const clearShownUserNotifications = (userId: string) => {
41
- const shown = getStoredUsers().filter((id: string) => id !== userId);
40
+ const clearShownUserNotifications = (userIds: string | string[]) => {
41
+ const idsToRemove = Array.isArray(userIds)
42
+ ? userIds
43
+ : [
44
+ userIds,
45
+ ];
46
+
47
+ const shown = getStoredUsers().filter(
48
+ (id: string) => !idsToRemove.includes(id),
49
+ );
50
+
42
51
  localStorage.setItem(STORAGE_KEY, JSON.stringify(shown));
43
52
  };
44
53
 
@@ -71,8 +71,9 @@ export const createUserinfoStore = () => {
71
71
  };
72
72
 
73
73
  const showUserNotifications = () => showNotifications(userId.value);
74
- const clearStorageNotifications = (id?: string) =>
75
- clearShownUserNotifications(id ?? userId.value);
74
+
75
+ const clearStorageNotifications = (ids?: string | string[]): void =>
76
+ clearShownUserNotifications(ids ?? userId.value);
76
77
 
77
78
  const logoutUser = async () => {
78
79
  const authUrl = import.meta.env.VITE_AUTH_URL;
@@ -1,2 +1,2 @@
1
- export const tableActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf")[];
2
- export const sectionActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf")[];
1
+ export const tableActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout")[];
2
+ export const sectionActionsOrder: ("delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout")[];
@@ -97,62 +97,67 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
97
97
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
98
  type __VLS_Slots = {
99
99
  delete?: (props: {
100
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
100
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
101
101
  size: string;
102
102
  onClick: () => void;
103
103
  }) => any;
104
104
  sort?: (props: {
105
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
105
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
106
106
  size: string;
107
107
  onClick: () => void;
108
108
  }) => any;
109
109
  filters?: (props: {
110
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
110
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
111
111
  size: string;
112
112
  onClick: () => void;
113
113
  }) => any;
114
114
  refresh?: (props: {
115
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
115
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
116
116
  size: string;
117
117
  onClick: () => void;
118
118
  }) => any;
119
119
  add?: (props: {
120
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
120
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
121
121
  size: string;
122
122
  onClick: () => void;
123
123
  }) => any;
124
124
  upload?: (props: {
125
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
125
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
126
126
  size: string;
127
127
  onClick: () => void;
128
128
  }) => any;
129
129
  download?: (props: {
130
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
130
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
131
131
  size: string;
132
132
  onClick: () => void;
133
133
  }) => any;
134
134
  copy?: (props: {
135
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
135
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
136
136
  size: string;
137
137
  onClick: () => void;
138
138
  }) => any;
139
139
  columns?: (props: {
140
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
140
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
141
141
  size: string;
142
142
  onClick: () => void;
143
143
  }) => any;
144
144
  variables?: (props: {
145
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
145
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
146
146
  size: string;
147
147
  onClick: () => void;
148
148
  }) => any;
149
149
  "add-contact"?: (props: {
150
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
150
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
151
151
  size: string;
152
152
  onClick: () => void;
153
153
  }) => any;
154
154
  "download-pdf"?: (props: {
155
- action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf";
155
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
156
+ size: string;
157
+ onClick: () => void;
158
+ }) => any;
159
+ logout?: (props: {
160
+ action: "delete" | "sort" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf" | "logout";
156
161
  size: string;
157
162
  onClick: () => void;
158
163
  }) => any;
@@ -20,4 +20,6 @@ export const WtIconActionIconMappings: Readonly<{
20
20
  "add-contact": "add-contact";
21
21
  "download-pdf": "download-pdf";
22
22
  chat: "chat";
23
+ upload: "upload";
24
+ logout: "logout";
23
25
  }>;
@@ -25,4 +25,5 @@ declare const IconAction: Readonly<{
25
25
  DOWNLOAD_PDF: "download-pdf";
26
26
  CHAT: "chat";
27
27
  SORT: "sort";
28
+ LOGOUT: "logout";
28
29
  }>;
@@ -532,6 +532,12 @@ declare const _default: {
532
532
  sort: ({ named }: {
533
533
  named: any;
534
534
  }) => "Sort ascending" | "Sort descending" | "Sort";
535
+ upload: ({ linked }: {
536
+ linked: any;
537
+ }) => any;
538
+ logout: ({ linked }: {
539
+ linked: any;
540
+ }) => any;
535
541
  };
536
542
  };
537
543
  errorPages: {
@@ -589,6 +589,12 @@ declare namespace _default {
589
589
  sort: ({ named }: {
590
590
  named: any;
591
591
  }) => "Orden ascendente" | "Orden descendente" | "Ordenar";
592
+ upload: ({ linked }: {
593
+ linked: any;
594
+ }) => any;
595
+ logout: ({ linked }: {
596
+ linked: any;
597
+ }) => any;
592
598
  };
593
599
  }
594
600
  export namespace errorPages {