@webitel/ui-sdk 26.4.18 → 26.4.20

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 (172) hide show
  1. package/dist/{index-Dvhbo446.js → index-CeADjYK9.js} +1 -1
  2. package/dist/{index-B0AYwz58.js → index-DZ_bvNVs.js} +1 -1
  3. package/dist/{install-CrJnxpPS.js → install-Dofcp90y.js} +55 -61
  4. package/dist/{isObject-BsWrydYX.js → isObject-B2zd2O3f.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +204 -204
  8. package/dist/{useVidstackSrc-Bmp2wHly.js → useVidstackSrc-D9uo15mF.js} +3 -4
  9. package/dist/{vidstack-Bq6c3Bam-N3JOOQyW.js → vidstack-Bq6c3Bam-Bs73fRdp.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-ByaRFZub.js → vidstack-D2pY00kU-BVC5bxHL.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-H7PZzMEr.js → vidstack-DDXt6fpN-DA-lnlhX.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-BgRVFwPt.js → vidstack-D_-9AA6_-C0QZLaX5.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-BODJkoui.js → vidstack-DqAw8m9J-DAs7LwX_.js} +1 -1
  14. package/dist/{vidstack-audio-Cnpq73DL.js → vidstack-audio-BrbZotHa.js} +2 -2
  15. package/dist/{vidstack-dash-Bzo3Gzfd.js → vidstack-dash-KNjyvq2R.js} +4 -4
  16. package/dist/{vidstack-google-cast--giiu8Z5.js → vidstack-google-cast-DMZQ1jRD.js} +4 -4
  17. package/dist/{vidstack-hls-CrDFf1Gs.js → vidstack-hls-BfOysul0.js} +4 -4
  18. package/dist/{vidstack-video-h7Tsw5LU.js → vidstack-video-PWMSQ3Gk.js} +3 -3
  19. package/dist/{vidstack-vimeo-CbcdGN2R.js → vidstack-vimeo-C5Khtd48.js} +4 -4
  20. package/dist/{vidstack-youtube-DKzx3LPK.js → vidstack-youtube-CPcpsir2.js} +3 -3
  21. package/dist/{wt-action-bar-GCDVmO0b.js → wt-action-bar-By55sdZf.js} +1 -1
  22. package/dist/{wt-button-select-BBsJj7FV.js → wt-button-select-C34W0lYV.js} +1 -1
  23. package/dist/{wt-chat-emoji-MhnNs-SG.js → wt-chat-emoji-DjgWXA_2.js} +2 -2
  24. package/dist/{wt-confirm-dialog-B4J3ZU2r.js → wt-confirm-dialog-GNka4gxY.js} +1 -1
  25. package/dist/{wt-context-menu-Cekc6Rva.js → wt-context-menu-Bjl5aGzG.js} +1 -1
  26. package/dist/{wt-copy-action-CT_0bHmt.js → wt-copy-action-Xo2DsqJZ.js} +1 -1
  27. package/dist/{wt-datepicker-B513Tw-Z.js → wt-datepicker-CL3jLy5h.js} +1 -1
  28. package/dist/{wt-display-chip-items-CMB33VOU.js → wt-display-chip-items-CCNWd5Nt.js} +1 -1
  29. package/dist/{wt-dual-panel-DjHHFx8Y.js → wt-dual-panel-CMUeBmf-.js} +1 -1
  30. package/dist/{wt-dummy-BivOEKRK.js → wt-dummy-BOgeleXm.js} +1 -1
  31. package/dist/{wt-error-page-krwX0484.js → wt-error-page-Ctl0-_Yp.js} +1 -1
  32. package/dist/{wt-expansion-card-Mrne6YQJ.js → wt-expansion-card-BCOBdTuS.js} +1 -1
  33. package/dist/{wt-expansion-panel-D0SABYA1.js → wt-expansion-panel-C7W_5dxd.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-Dffe4cS8.js → wt-filters-panel-wrapper-CkLHeV4o.js} +1 -1
  35. package/dist/{wt-galleria-CB3UNqGT.js → wt-galleria-Bls8Xxh4.js} +2 -2
  36. package/dist/{wt-navigation-menu-CozB-VN3.js → wt-navigation-menu-CFPMD9o1.js} +1 -1
  37. package/dist/{wt-notifications-bar-CBv9RpW3.js → wt-notifications-bar-BTDN7hSn.js} +2 -2
  38. package/dist/{wt-pagination-CrnHm3Ei.js → wt-pagination-DtjeKcpO.js} +1 -1
  39. package/dist/{wt-player-Be7Ts4oe.js → wt-player-Co3Ib7qU.js} +13 -13
  40. package/dist/{wt-screen-recordings-action-VJpYH40a.js → wt-screen-recordings-action-CmY7R2B-.js} +1 -1
  41. package/dist/{wt-search-bar-BNUpiOyg.js → wt-search-bar-CmN8Nq-n.js} +1 -1
  42. package/dist/{wt-selection-popup-DZG_s5cn.js → wt-selection-popup-BNKNa5jy.js} +1 -1
  43. package/dist/{wt-start-page-B1Ya211Z.js → wt-start-page-BC4r_EPK.js} +1 -1
  44. package/dist/{wt-status-select-ByEBtG_Z.js → wt-status-select-CBq_ihcS.js} +11 -14
  45. package/dist/{wt-stepper-Bke8hGIN.js → wt-stepper-DvmRISSE.js} +1 -1
  46. package/dist/{wt-table-rT0puxyU.js → wt-table-BDnXcyai.js} +14 -14
  47. package/dist/{wt-table-actions-D2QF78Jq.js → wt-table-actions-52X557c8.js} +1 -1
  48. package/dist/{wt-table-column-select-BtcIByjb.js → wt-table-column-select-vKGXHla2.js} +2 -2
  49. package/dist/{wt-tabs-BIn8m45h.js → wt-tabs-zXlsvaeU.js} +16 -17
  50. package/dist/{wt-tags-input-Bz3T5KC7.js → wt-tags-input-B8w0KXPv.js} +2 -2
  51. package/dist/{wt-timepicker-CuMYCWnA.js → wt-timepicker-Cm4aLsPK.js} +1 -1
  52. package/dist/{wt-tree-DftQx0vm.js → wt-tree-IVOTwA3x.js} +4 -4
  53. package/dist/{wt-tree-table-Cqt8iSLj.js → wt-tree-table-zA7HHvru.js} +3 -3
  54. package/dist/{wt-type-extension-value-input-rX_qRFjQ.js → wt-type-extension-value-input-DTmneCoP.js} +4 -7
  55. package/dist/{wt-vidstack-player-CWmoXIAG.js → wt-vidstack-player-DHmGgiDL.js} +13 -13
  56. package/package.json +7 -2
  57. package/src/api/clients/agents/agentChats.js +0 -1
  58. package/src/api/clients/agents/agents.js +1 -1
  59. package/src/api/clients/caseSources/caseSources.ts +1 -1
  60. package/src/api/clients/chatGateways/defaults/webChatGateway.js +5 -5
  61. package/src/api/clients/contactGroups/contactGroups.js +0 -1
  62. package/src/api/clients/flows/flow.js +2 -4
  63. package/src/api/clients/queues/queues.js +16 -22
  64. package/src/api/clients/users/users.js +10 -2
  65. package/src/api/clients//321/201ontacts/contacts.js +0 -1
  66. package/src/api/clients//321/201ontacts/index.js +1 -1
  67. package/src/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.js +1 -1
  68. package/src/api/transformers/addQueryParamsToUrl/addQueryParamsToUrl.transformer.js +2 -2
  69. package/src/api/transformers/sanitize/sanitize.transformer.js +2 -4
  70. package/src/api/websocket/WebSocketClientController.ts +6 -4
  71. package/src/components/index.js +3 -3
  72. package/src/components/wt-app-header/wt-app-navigator.vue +8 -11
  73. package/src/components/wt-galleria/wt-galleria.vue +1 -1
  74. package/src/components/wt-intersection-observer/wt-intersection-observer.vue +1 -1
  75. package/src/components/wt-player/src/components/buttons/mute-button.vue +0 -1
  76. package/src/components/wt-rounded-action/_variables.css +0 -3
  77. package/src/components/wt-select/mixins/multiselectMixin.js +0 -1
  78. package/src/components/wt-select/multiselect.css +2 -0
  79. package/src/components/wt-select/wt-select-v2.vue +3 -2
  80. package/src/components/wt-status-select/wt-status-select.vue +2 -4
  81. package/src/components/wt-switcher/wt-switcher.vue +1 -1
  82. package/src/components/wt-table/wt-table.vue +1 -1
  83. package/src/components/wt-tabs/wt-tabs.vue +1 -2
  84. package/src/components/wt-textarea/wt-textarea.vue +3 -4
  85. package/src/components/wt-tree/__tests__/WtTree.spec.js +1 -1
  86. package/src/components/wt-tree/wt-tree.vue +92 -60
  87. package/src/components/wt-tree-line/wt-tree-line.vue +2 -2
  88. package/src/components/wt-tree-table/wt-tree-table.vue +90 -84
  89. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +2 -2
  90. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +2 -2
  91. package/src/components/wt-vidstack-player/composables/useVidstackSrc.ts +1 -1
  92. package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +1 -1
  93. package/src/composables/useCard/useCardComponent.js +1 -1
  94. package/src/composables/useInputControl/useInputControl.ts +1 -1
  95. package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -1
  96. package/src/composables/useTableColumnDrag/useTableColumnDrag.ts +1 -1
  97. package/src/enums/index.ts +0 -1
  98. package/src/install.ts +1 -1
  99. package/src/locale/en/en.js +5 -2
  100. package/src/locale/es/es.js +5 -2
  101. package/src/locale/kz/kz.js +7 -6
  102. package/src/locale/pl/pl.js +7 -6
  103. package/src/locale/ro/ro.js +5 -2
  104. package/src/locale/ru/ru.js +5 -2
  105. package/src/locale/uk/uk.js +5 -2
  106. package/src/locale/uz/uz.js +5 -2
  107. package/src/locale/vi/vi.js +5 -2
  108. package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +1 -1
  109. package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +104 -96
  110. package/src/modules/AgentStatusSelect/api/agent-status.js +9 -13
  111. package/src/modules/AuditForm/components/audit-form.vue +1 -1
  112. package/src/modules/AuditForm/components/form-answers/answer-editing-info/audit-form-answer-editing-info.vue +1 -1
  113. package/src/modules/CSVExport/XLSExport.js +5 -7
  114. package/src/modules/CSVExport/composables/useCSVExport.ts +3 -3
  115. package/src/modules/CSVExport/mixins/exportCSVMixin.js +1 -5
  116. package/src/modules/CSVExport/mixins/exportXLSMixin.js +1 -5
  117. package/src/modules/FilesExport/composables/useFilesExport.ts +1 -1
  118. package/src/modules/FilesExport/types/types.ts +1 -1
  119. package/src/modules/Filters/store/FiltersStoreModule.js +27 -27
  120. package/src/modules/Flow/enums/FlowApp.enum.ts +88 -0
  121. package/src/modules/Flow/index.ts +2 -0
  122. package/src/modules/Flow/lookups/FlowTypeApplications.lookup.ts +120 -0
  123. package/src/modules/Notifications/store/NotificationsStoreModule.js +1 -1
  124. package/src/modules/ObjectPermissions/_internals/store/helpers/createObjectPermissionsStoreModule.js +0 -4
  125. package/src/modules/ObjectPermissions/components/permissions-tab.vue +5 -7
  126. package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +2 -2
  127. package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
  128. package/src/modules/QueryFilters/store/QueryFiltersStoreModule.js +5 -6
  129. package/src/modules/TableStoreModule/store/TableStoreModule.js +10 -18
  130. package/src/modules/UploadCsvPopup/scripts/normalizeCSVData.ts +9 -9
  131. package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +1 -1
  132. package/src/modules/Userinfo/composables/createUserAccessControl.ts +2 -2
  133. package/src/modules/Userinfo/composables/types/CreateUserAccessControl.d.ts +2 -4
  134. package/src/modules/Userinfo/scripts/utils.ts +4 -2
  135. package/src/scripts/compareSize.ts +7 -6
  136. package/src/store/new/modules/tableStoreModule/tableStoreModule.js +17 -29
  137. package/src/validations/vuelidate/validators/decimalValidator.js +2 -1
  138. package/src/validations/vuelidate/validators/websocketValidator/websocketValidator.js +1 -1
  139. package/types/api/clients//321/201ontacts/index.d.ts +2 -2
  140. package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +1 -1
  141. package/types/components/wt-switcher/wt-switcher.vue.d.ts +1 -1
  142. package/types/components/wt-table/wt-table.vue.d.ts +1 -1
  143. package/types/components/wt-textarea/wt-textarea.vue.d.ts +3 -4
  144. package/types/components/wt-tree/wt-tree.vue.d.ts +6 -6
  145. package/types/components/wt-tree-line/wt-tree-line.vue.d.ts +2 -2
  146. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +2 -2
  147. package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +1 -1
  148. package/types/install.d.ts +1 -2
  149. package/types/locale/en/en.d.ts +1 -0
  150. package/types/locale/es/es.d.ts +2 -0
  151. package/types/locale/i18n.d.ts +9 -0
  152. package/types/locale/index.d.ts +9 -0
  153. package/types/locale/kz/kz.d.ts +2 -0
  154. package/types/locale/pl/pl.d.ts +2 -0
  155. package/types/locale/ro/ro.d.ts +2 -0
  156. package/types/locale/ru/ru.d.ts +2 -0
  157. package/types/locale/uk/uk.d.ts +2 -0
  158. package/types/locale/uz/uz.d.ts +2 -0
  159. package/types/locale/vi/vi.d.ts +2 -0
  160. package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +1 -1
  161. package/types/modules/CSVExport/composables/useCSVExport.d.ts +3 -3
  162. package/types/modules/FilesExport/composables/useFilesExport.d.ts +1 -1
  163. package/types/modules/FilesExport/types/types.d.ts +1 -1
  164. package/types/modules/Filters/store/FiltersStoreModule.d.ts +2 -2
  165. package/types/modules/Flow/enums/FlowApp.enum.d.ts +83 -0
  166. package/types/modules/Flow/index.d.ts +2 -0
  167. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +8 -0
  168. package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
  169. package/types/modules/TableStoreModule/store/TableStoreModule.d.ts +2 -2
  170. package/types/modules/Userinfo/composables/createUserAccessControl.d.ts +2 -2
  171. package/types/modules/Userinfo/scripts/utils.d.ts +1 -1
  172. package/types/store/new/modules/tableStoreModule/tableStoreModule.d.ts +2 -2
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as lt, inject as ge, createElementBlock as mt, openBlock as G, normalizeClass as ye, unref as ot, createElementVNode as at, renderSlot as Wt, createVNode as U, useTemplateRef as qi, onMounted as _i, onBeforeUnmount as Ii, createBlock as Gt, createCommentVNode as Ut, toDisplayString as Vi, resolveComponent as Di, withCtx as _e, ref as us, provide as Ri, toRefs as Oi } from "vue";
2
- import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Ds, E as Rs, D as L, h as Q, o as x, j as Ni, k as f, m as l, n as M, p as Os, q as Hi, r as oe, t as W, V as J, v as w, C as b, S as gt, w as It, x as p, y as rt, z, I as Ns, A as Fi, B as Bi, F as tt, G as Ge, H as Hs, J as ps, K as Ue, L as Fs, M as Tt, N as Ke, O as de, P as Gi, Q as xt, R as Ui, U as Ki, W as Qi, X as Wi, Y as zi, Z as ji, _ as Yi, $ as Xi, a0 as Ji, a1 as Bs, a2 as T, a3 as _, a4 as ce, a5 as Zi, a6 as Vt, a7 as K, a8 as ta, a9 as ea, aa as sa, ab as ia, ac as ms, ad as aa, ae as na, af as v, ag as y, ah as ra, ai as oa, T as ha, u as la } from "./useVidstackSrc-Bmp2wHly.js";
3
- import { T as da, U as ca, V as ua, X as pa, _ as dt, Q as zt, Y as ma, C as Y } from "./install-CrJnxpPS.js";
2
+ import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Ds, E as Rs, D as L, h as Q, o as x, j as Ni, k as f, m as l, n as M, p as Os, q as Hi, r as oe, t as W, V as J, v as w, C as b, S as gt, w as It, x as p, y as rt, z, I as Ns, A as Fi, B as Bi, F as tt, G as Ge, H as Hs, J as ps, K as Ue, L as Fs, M as Tt, N as Ke, O as de, P as Gi, Q as xt, R as Ui, U as Ki, W as Qi, X as Wi, Y as zi, Z as ji, _ as Yi, $ as Xi, a0 as Ji, a1 as Bs, a2 as T, a3 as _, a4 as ce, a5 as Zi, a6 as Vt, a7 as K, a8 as ta, a9 as ea, aa as sa, ab as ia, ac as ms, ad as aa, ae as na, af as v, ag as y, ah as ra, ai as oa, T as ha, u as la } from "./useVidstackSrc-D9uo15mF.js";
3
+ import { T as da, U as ca, V as ua, X as pa, _ as dt, Q as zt, Y as ma, C as Y } from "./install-Dofcp90y.js";
4
4
  import { _ as fa } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
5
  const Gs = ft();
6
6
  function $() {
@@ -2070,7 +2070,7 @@ class cn {
2070
2070
  return "audio";
2071
2071
  }
2072
2072
  async load(t) {
2073
- return new (await import("./vidstack-audio-Cnpq73DL.js")).AudioProvider(this.target, t);
2073
+ return new (await import("./vidstack-audio-BrbZotHa.js")).AudioProvider(this.target, t);
2074
2074
  }
2075
2075
  }
2076
2076
  class je {
@@ -2083,7 +2083,7 @@ class je {
2083
2083
  return "video";
2084
2084
  }
2085
2085
  async load(t) {
2086
- return new (await import("./vidstack-video-h7Tsw5LU.js")).VideoProvider(this.target, t);
2086
+ return new (await import("./vidstack-video-PWMSQ3Gk.js")).VideoProvider(this.target, t);
2087
2087
  }
2088
2088
  }
2089
2089
  class Ye extends je {
@@ -2093,7 +2093,7 @@ class Ye extends je {
2093
2093
  return Ye.supported && Ge(t);
2094
2094
  }
2095
2095
  async load(t) {
2096
- return new (await import("./vidstack-hls-CrDFf1Gs.js")).HLSProvider(this.target, t);
2096
+ return new (await import("./vidstack-hls-BfOysul0.js")).HLSProvider(this.target, t);
2097
2097
  }
2098
2098
  }
2099
2099
  class Xe extends je {
@@ -2103,7 +2103,7 @@ class Xe extends je {
2103
2103
  return Xe.supported && Ue(t);
2104
2104
  }
2105
2105
  async load(t) {
2106
- return new (await import("./vidstack-dash-Bzo3Gzfd.js")).DASHProvider(this.target, t);
2106
+ return new (await import("./vidstack-dash-KNjyvq2R.js")).DASHProvider(this.target, t);
2107
2107
  }
2108
2108
  }
2109
2109
  class un {
@@ -2125,7 +2125,7 @@ class un {
2125
2125
  return "video";
2126
2126
  }
2127
2127
  async load(t) {
2128
- return new (await import("./vidstack-vimeo-CbcdGN2R.js")).VimeoProvider(this.target, t);
2128
+ return new (await import("./vidstack-vimeo-C5Khtd48.js")).VimeoProvider(this.target, t);
2129
2129
  }
2130
2130
  async loadPoster(t, e, s) {
2131
2131
  const { resolveVimeoVideoId: i, getVimeoVideoInfo: n } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -2157,7 +2157,7 @@ class pn {
2157
2157
  return "video";
2158
2158
  }
2159
2159
  async load(t) {
2160
- return new (await import("./vidstack-youtube-DKzx3LPK.js")).YouTubeProvider(this.target, t);
2160
+ return new (await import("./vidstack-youtube-CPcpsir2.js")).YouTubeProvider(this.target, t);
2161
2161
  }
2162
2162
  async loadPoster(t, e, s) {
2163
2163
  const { findYouTubePoster: i, resolveYouTubeVideoId: n } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = S(t.src) && n(t.src);
@@ -2625,7 +2625,7 @@ class bn extends Pt {
2625
2625
  throw i.code = "CAST_NOT_AVAILABLE", i;
2626
2626
  }
2627
2627
  if (te("https://www.gstatic.com"), !this.#v) {
2628
- const i = await import("./vidstack-D2pY00kU-ByaRFZub.js").then((n) => n.v);
2628
+ const i = await import("./vidstack-D2pY00kU-BVC5bxHL.js").then((n) => n.v);
2629
2629
  this.#v = new i.GoogleCastLoader();
2630
2630
  }
2631
2631
  await this.#v.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -8022,7 +8022,7 @@ class Mr extends v(HTMLElement, ii) {
8022
8022
  if (this.#e?.classList.contains("vds-google-cast"))
8023
8023
  return this.#e;
8024
8024
  const t = document.createElement("div");
8025
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-BgRVFwPt.js").then(({ insertContent: e }) => {
8025
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-C0QZLaX5.js").then(({ insertContent: e }) => {
8026
8026
  e(t, this.#t.$state);
8027
8027
  }), t;
8028
8028
  }
@@ -8848,8 +8848,8 @@ const Wo = { class: "controls-group__actions" }, zo = /* @__PURE__ */ lt({
8848
8848
  U(Xo, { onToggle: o }),
8849
8849
  n.hideExpand ? Ut("", !0) : (G(), Gt(th, {
8850
8850
  key: 0,
8851
- "primary-icon": "expand",
8852
- "secondary-icon": "collapse",
8851
+ "primary-icon": "collapse",
8852
+ "secondary-icon": "expand",
8853
8853
  color: "on-dark",
8854
8854
  onToggle: h
8855
8855
  })),
@@ -8862,7 +8862,7 @@ const Wo = { class: "controls-group__actions" }, zo = /* @__PURE__ */ lt({
8862
8862
  ])
8863
8863
  ], 2));
8864
8864
  }
8865
- }), nh = /* @__PURE__ */ dt(ah, [["__scopeId", "data-v-6fec01ca"]]), rh = { class: "video-display-panel-wrapper" }, oh = { class: "video-layout-content" }, hh = { class: "video-layout-controls" }, lh = /* @__PURE__ */ lt({
8865
+ }), nh = /* @__PURE__ */ dt(ah, [["__scopeId", "data-v-cc6668f0"]]), rh = { class: "video-display-panel-wrapper" }, oh = { class: "video-layout-content" }, hh = { class: "video-layout-controls" }, lh = /* @__PURE__ */ lt({
8866
8866
  __name: "video-layout",
8867
8867
  props: {
8868
8868
  title: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.4.18",
3
+ "version": "26.4.20",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
@@ -10,6 +10,7 @@
10
10
  "test:unit:watch": "vitest",
11
11
  "test:coverage": "vitest run --coverage",
12
12
  "biome:format:all": "npx biome check --write ./src",
13
+ "biome:ci:gh": "biome ci ./src --reporter=github",
13
14
  "build:types": "vue-tsc -p ./tsconfig.build.json",
14
15
  "publish-lib": " npm publish --access public --tag latest",
15
16
  "docs:dev": "vitepress dev docs",
@@ -113,7 +114,7 @@
113
114
  }
114
115
  },
115
116
  "devDependencies": {
116
- "@biomejs/biome": "^2.3.11",
117
+ "@biomejs/biome": "^2.4.10",
117
118
  "@regle/core": "^1.16.2",
118
119
  "@tsconfig/node22": "^22.0.0",
119
120
  "@types/node": "^22.13.10",
@@ -309,6 +310,10 @@
309
310
  "types": "./types/modules*",
310
311
  "import": "./src/modules*"
311
312
  },
313
+ "./modules/Flow": {
314
+ "types": "./types/modules/Flow/index.d.ts",
315
+ "import": "./src/modules/Flow/index.ts"
316
+ },
312
317
  "./modules/FilesExport": {
313
318
  "types": "./types/modules/FilesExport/index.d.ts",
314
319
  "import": "./src/modules/FilesExport/index.ts"
@@ -10,7 +10,6 @@ import applyTransform, {
10
10
  merge,
11
11
  notify,
12
12
  snakeToCamel,
13
- starToSearch,
14
13
  } from '../../transformers/index.js';
15
14
 
16
15
  const { t } = i18n.global;
@@ -241,7 +241,7 @@ const getAgentHistory = async (params) => {
241
241
  };
242
242
 
243
243
  const getAgentUsersOptions = async (params) => {
244
- const { page, size, search, sort, fields, id } = applyTransform(params, [
244
+ const { page, size, search /* sort, fields, id */ } = applyTransform(params, [
245
245
  merge(getDefaultGetParams()),
246
246
  starToSearch('search'),
247
247
  ]);
@@ -5,7 +5,7 @@ import {
5
5
  UpdateSourceBody,
6
6
  } from '@webitel/api-services/gen';
7
7
  import {
8
- getFieldsToSendFromZodSchema,
8
+ // getFieldsToSendFromZodSchema,
9
9
  getShallowFieldsToSendFromZodSchema,
10
10
  } from '@webitel/api-services/gen/utils';
11
11
 
@@ -57,13 +57,13 @@ const webChatGateway = (_btnCodeDirty = false) => ({
57
57
  id: '',
58
58
  },
59
59
  alternativeChannels: Object.values(WebchatAlternativeChannel).reduce(
60
- (channels, channel) => ({
61
- ...channels,
62
- [channel]: {
60
+ (channels, channel) => {
61
+ channels[channel] = {
63
62
  url: '',
64
63
  enabled: false,
65
- },
66
- }),
64
+ };
65
+ return channels;
66
+ },
67
67
  {},
68
68
  ),
69
69
  },
@@ -13,7 +13,6 @@ import applyTransform, {
13
13
  notify,
14
14
  sanitize,
15
15
  snakeToCamel,
16
- starToSearch,
17
16
  } from '../../transformers/index.js';
18
17
  import { generatePermissionsApi } from '../_shared/generatePermissionsApi.js';
19
18
 
@@ -1,7 +1,5 @@
1
- import {
2
- EngineRoutingSchemaType,
3
- RoutingSchemaServiceApiFactory,
4
- } from 'webitel-sdk';
1
+ import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models';
2
+ import { RoutingSchemaServiceApiFactory } from 'webitel-sdk';
5
3
 
6
4
  import {
7
5
  getDefaultGetListResponse,
@@ -57,10 +57,8 @@ const preRequestHandler = (item) => {
57
57
  const copy = deepCopy(item);
58
58
  copy.variables = copy.variables.reduce((variables, variable) => {
59
59
  if (!variable.key) return variables;
60
- return {
61
- ...variables,
62
- [variable.key]: variable.value,
63
- };
60
+ variables[variable.key] = variable.value;
61
+ return variables;
64
62
  }, {});
65
63
  return copy;
66
64
  };
@@ -118,25 +116,21 @@ const getQueue = async ({ itemId: id }) => {
118
116
  };
119
117
  const responseHandler = (item) => {
120
118
  const copy = deepCopy(item);
121
- try {
122
- if (copy.variables) {
123
- copy.variables = Object.keys(copy.variables).map((key) => ({
124
- key,
125
- value: copy.variables[key],
126
- }));
127
- }
128
- if (isEmpty(copy.taskProcessing)) {
129
- copy.taskProcessing = processing({
130
- enabled: !!copy.processing,
131
- formSchema: copy.formSchema,
132
- sec: copy.processingSec || 0,
133
- renewalSec: copy.processingRenewalSec || 0,
134
- });
135
- }
136
- return copy;
137
- } catch (err) {
138
- throw err;
119
+ if (copy.variables) {
120
+ copy.variables = Object.keys(copy.variables).map((key) => ({
121
+ key,
122
+ value: copy.variables[key],
123
+ }));
124
+ }
125
+ if (isEmpty(copy.taskProcessing)) {
126
+ copy.taskProcessing = processing({
127
+ enabled: !!copy.processing,
128
+ formSchema: copy.formSchema,
129
+ sec: copy.processingSec || 0,
130
+ renewalSec: copy.processingRenewalSec || 0,
131
+ });
139
132
  }
133
+ return copy;
140
134
  };
141
135
  try {
142
136
  const response = await queueService.readQueue(id);
@@ -144,9 +144,17 @@ const preRequestHandler = (item) => {
144
144
  const copy = deepCopy(item);
145
145
  if (item.device && !item.device.id) delete copy.device;
146
146
 
147
- if (copy.roles) copy.roles.forEach((copy) => delete copy.text);
147
+ if (copy.roles) {
148
+ copy.roles.forEach((role) => {
149
+ delete role.text;
150
+ });
151
+ }
148
152
 
149
- if (copy.devices) copy.devices.forEach((copy) => delete copy.text);
153
+ if (copy.devices) {
154
+ copy.devices.forEach((device) => {
155
+ delete device.text;
156
+ });
157
+ }
150
158
  if (copy.license) {
151
159
  copy.license = copy.license.map((copy) => ({
152
160
  id: copy.id,
@@ -179,7 +179,6 @@ const getList = async (params) => {
179
179
  id,
180
180
  qin,
181
181
  mode,
182
- group_id,
183
182
  group,
184
183
  not_id_group,
185
184
  owner,
@@ -2,4 +2,4 @@ import contactChatMessagesHistory from './contactChatMessagesHistory.js';
2
2
  import contacts from './contacts.js';
3
3
  import ContactsSearchMode from './enums/ContactsSearchMode.js';
4
4
 
5
- export { contactChatMessagesHistory, contacts, ContactsSearchMode };
5
+ export { ContactsSearchMode, contactChatMessagesHistory, contacts };
@@ -1,4 +1,4 @@
1
- const getDefaultGetListResponse = ({} = {}) => ({
1
+ const getDefaultGetListResponse = () => ({
2
2
  items: [],
3
3
  next: false,
4
4
  });
@@ -6,12 +6,12 @@ const addQueryParamsToUrl = (queryArray) => (url) => {
6
6
 
7
7
  if (queryArray && queryArray.length > 0) {
8
8
  if (modifyUrl.includes('?')) {
9
- modifyUrl += '&' + queryArray.join('&');
9
+ modifyUrl += `&${queryArray.join('&')}`;
10
10
 
11
11
  return modifyUrl;
12
12
  }
13
13
 
14
- modifyUrl += '?' + queryArray.join('&');
14
+ modifyUrl += `?${queryArray.join('&')}`;
15
15
  }
16
16
 
17
17
  return modifyUrl;
@@ -2,10 +2,8 @@ const sanitizeTransformer = (fieldsToSend) => (item) => {
2
2
  return Object.keys(item).reduce((sanitizedItem, key) => {
3
3
  if (fieldsToSend.indexOf(key) === -1) return sanitizedItem;
4
4
 
5
- return {
6
- ...sanitizedItem,
7
- [key]: item[key],
8
- };
5
+ sanitizedItem[key] = item[key];
6
+ return sanitizedItem;
9
7
  }, {});
10
8
  };
11
9
 
@@ -52,10 +52,12 @@ class WebSocketClientController {
52
52
  // const cli = new Client(config);
53
53
  const cli = shallowReactive(new Client(config));
54
54
 
55
- this._on[WebSocketClientEvent.AFTER_AUTH].forEach((callback) => callback());
56
- this._on[WebSocketClientEvent.ERROR].forEach((callback) =>
57
- cli.on('error', callback),
58
- );
55
+ this._on[WebSocketClientEvent.AFTER_AUTH].forEach((callback) => {
56
+ callback();
57
+ });
58
+ this._on[WebSocketClientEvent.ERROR].forEach((callback) => {
59
+ cli.on('error', callback);
60
+ });
59
61
  cli.on('show_message', (e) =>
60
62
  eventBus.$emit('notification', {
61
63
  type: e.type,
@@ -262,12 +262,14 @@ export {
262
262
  WtContextMenu,
263
263
  WtCopyAction,
264
264
  WtDatepicker,
265
+ WtDatetimeText,
265
266
  WtDisplayChipItems,
266
267
  WtDivider,
267
268
  WtDualPanel,
268
269
  WtDummy,
269
270
  WtEmpty,
270
271
  WtErrorPage,
272
+ WtExpansionCard,
271
273
  WtExpansionPanel,
272
274
  WtFiltersPanelWrapper,
273
275
  WtGalleria,
@@ -303,6 +305,7 @@ export {
303
305
  WtRadio,
304
306
  WtReplaceTransition,
305
307
  WtRoundedAction,
308
+ WtScreenRecordingsAction,
306
309
  WtSearchBar,
307
310
  WtSelect,
308
311
  WtSelectionPopup,
@@ -324,9 +327,6 @@ export {
324
327
  WtTreeTable,
325
328
  WtTypeExtensionValueInput,
326
329
  WtVidstackPlayer,
327
- WtExpansionCard,
328
- WtDatetimeText,
329
- WtScreenRecordingsAction,
330
330
  };
331
331
 
332
332
  export default Components;
@@ -135,17 +135,14 @@ const order = [
135
135
 
136
136
  const formattedApps = computed(() =>
137
137
  props.apps
138
- .reduce(
139
- (apps, app) => [
140
- ...apps,
141
- {
142
- ...app,
143
- img: props.darkMode ? pics[app.name].dark : pics[app.name].light,
144
- currentApp: props.currentApp === app.name,
145
- },
146
- ],
147
- [],
148
- )
138
+ .reduce((apps, app) => {
139
+ apps.push({
140
+ ...app,
141
+ img: props.darkMode ? pics[app.name].dark : pics[app.name].light,
142
+ currentApp: props.currentApp === app.name,
143
+ });
144
+ return apps;
145
+ }, [])
149
146
  .sort((a, b) => order.indexOf(a.name) - order.indexOf(b.name)),
150
147
  );
151
148
 
@@ -192,7 +192,7 @@ const handleDelete = () => {
192
192
  watch(
193
193
  () => currentImage.value,
194
194
  (oldValue, newValue) => {
195
- if (oldValue?.src == newValue?.src) return;
195
+ if (oldValue?.src === newValue?.src) return;
196
196
  isImageOnLoad.value = true;
197
197
  },
198
198
  {
@@ -27,7 +27,7 @@ const emit = defineEmits([
27
27
 
28
28
  const intersectionTarget = ref(null);
29
29
 
30
- let stopObs;
30
+ let stopObs: (() => void) | undefined;
31
31
 
32
32
  onMounted(() => {
33
33
  /**
@@ -6,7 +6,6 @@
6
6
  </template>
7
7
 
8
8
  <script setup lang="ts">
9
-
10
9
  </script>
11
10
 
12
11
  <style scoped>
@@ -12,6 +12,3 @@
12
12
 
13
13
  --rounded-action-active-color: var(--dp-10-surface-color);
14
14
  }
15
-
16
- :root.theme--dark {
17
- }
@@ -1,7 +1,6 @@
1
1
  import VueMultiselect from 'vue-multiselect';
2
2
  import { ObserveVisibility } from 'vue-observe-visibility';
3
3
 
4
- import validationMixin from '../../../mixins/validationMixin/validationMixin.js';
5
4
  import debounce from '../../../scripts/debounce.js';
6
5
  import isEmpty from '../../../scripts/isEmpty.js';
7
6
  import labelUsageMixin from '../../wt-label/mixins/labelUsageMixin.js';
@@ -1,3 +1,5 @@
1
+ /* THIS FILE IS ADDED TO BIOME IGNORE coz it fails to parse Vue :deep() selector*/
2
+
1
3
  :deep(.multiselect) {
2
4
  position: relative;
3
5
  cursor: pointer;
@@ -140,9 +140,10 @@ const search = async (event) => {
140
140
  console.log('event.query', event);
141
141
 
142
142
  if (!isApiMode.value) {
143
- return (suggestions.value = [
143
+ suggestions.value = [
144
144
  ...props.options,
145
- ]);
145
+ ];
146
+ return suggestions.value;
146
147
  }
147
148
 
148
149
  const fetchedOptions = await fetchOptions({
@@ -100,10 +100,8 @@ export default {
100
100
  // skip breakout option
101
101
  return options;
102
102
  }
103
- return [
104
- ...options,
105
- opt,
106
- ];
103
+ options.push(opt);
104
+ return options;
107
105
  }, []);
108
106
  },
109
107
  duration() {
@@ -36,7 +36,7 @@ import type { ToggleSwitchProps } from 'primevue/toggleswitch';
36
36
  import { computed, nextTick, ref, useSlots } from 'vue';
37
37
 
38
38
  interface LabelProps {
39
- [key: string]: any;
39
+ [key: string]: unknown;
40
40
  }
41
41
 
42
42
  /**
@@ -299,7 +299,7 @@ interface Props extends DataTableProps {
299
299
 
300
300
  //lazy loading
301
301
  lazy?: boolean;
302
- onLoading?: (event: VirtualScrollerLazyEvent) => Promise<any>;
302
+ onLoading?: (event: VirtualScrollerLazyEvent) => Promise<unknown>;
303
303
  loading?: boolean;
304
304
  itemSize?: number | undefined;
305
305
  }
@@ -74,8 +74,7 @@ export default {
74
74
 
75
75
  moveActiveLine(newValue) {
76
76
  if (!this.current) return;
77
- if (!this.$refs || !this.$refs[newValue] || !this.$refs[newValue][0])
78
- return;
77
+ if (!this.$refs?.[newValue]?.[0]) return;
79
78
  const element = this.$refs[newValue][0];
80
79
  this.activeLineWidth = element.clientWidth;
81
80
  this.activeLineOffset = element.offsetLeft;
@@ -110,7 +110,7 @@ interface Props extends /* @vue-ignore */ TextareaProps {
110
110
  * Object with props, passed down to wt-label as props
111
111
  * @type {Object}
112
112
  */
113
- labelProps?: Record<string, any>;
113
+ labelProps?: Record<string, unknown>;
114
114
  /**
115
115
  * Enables auto-resize. If passed, "Enter" key press emits "enter" event, new line is shift+enter
116
116
  * @type {boolean}
@@ -119,9 +119,8 @@ interface Props extends /* @vue-ignore */ TextareaProps {
119
119
  autoresize?: boolean;
120
120
  /**
121
121
  * Validation rules
122
- * @type {any}
123
122
  */
124
- v?: any;
123
+ v?: unknown;
125
124
  /**
126
125
  * Custom validators array
127
126
  * @type {Array<{name: string, text: string}>}
@@ -168,7 +167,7 @@ const { isValidation, invalid, validationText, validationTextColor } =
168
167
  useValidation({
169
168
  v: props.v,
170
169
  customValidators: props.customValidators,
171
- } as any);
170
+ });
172
171
 
173
172
  const handleKeypress = (event: KeyboardEvent) => {
174
173
  emit('keydown', event);
@@ -1,4 +1,4 @@
1
- import { mount, shallowMount } from '@vue/test-utils';
1
+ import { shallowMount } from '@vue/test-utils';
2
2
 
3
3
  import WtTree from '../wt-tree.vue';
4
4