@webitel/ui-sdk 26.4.18 → 26.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-Dvhbo446.js → index-CeADjYK9.js} +1 -1
- package/dist/{index-B0AYwz58.js → index-DZ_bvNVs.js} +1 -1
- package/dist/{install-CrJnxpPS.js → install-Dofcp90y.js} +55 -61
- package/dist/{isObject-BsWrydYX.js → isObject-B2zd2O3f.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +204 -204
- package/dist/{useVidstackSrc-Bmp2wHly.js → useVidstackSrc-D9uo15mF.js} +3 -4
- package/dist/{vidstack-Bq6c3Bam-N3JOOQyW.js → vidstack-Bq6c3Bam-Bs73fRdp.js} +3 -3
- package/dist/{vidstack-D2pY00kU-ByaRFZub.js → vidstack-D2pY00kU-BVC5bxHL.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-H7PZzMEr.js → vidstack-DDXt6fpN-DA-lnlhX.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-BgRVFwPt.js → vidstack-D_-9AA6_-C0QZLaX5.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-BODJkoui.js → vidstack-DqAw8m9J-DAs7LwX_.js} +1 -1
- package/dist/{vidstack-audio-Cnpq73DL.js → vidstack-audio-BrbZotHa.js} +2 -2
- package/dist/{vidstack-dash-Bzo3Gzfd.js → vidstack-dash-KNjyvq2R.js} +4 -4
- package/dist/{vidstack-google-cast--giiu8Z5.js → vidstack-google-cast-DMZQ1jRD.js} +4 -4
- package/dist/{vidstack-hls-CrDFf1Gs.js → vidstack-hls-BfOysul0.js} +4 -4
- package/dist/{vidstack-video-h7Tsw5LU.js → vidstack-video-PWMSQ3Gk.js} +3 -3
- package/dist/{vidstack-vimeo-CbcdGN2R.js → vidstack-vimeo-C5Khtd48.js} +4 -4
- package/dist/{vidstack-youtube-DKzx3LPK.js → vidstack-youtube-CPcpsir2.js} +3 -3
- package/dist/{wt-action-bar-GCDVmO0b.js → wt-action-bar-By55sdZf.js} +1 -1
- package/dist/{wt-button-select-BBsJj7FV.js → wt-button-select-C34W0lYV.js} +1 -1
- package/dist/{wt-chat-emoji-MhnNs-SG.js → wt-chat-emoji-DjgWXA_2.js} +2 -2
- package/dist/{wt-confirm-dialog-B4J3ZU2r.js → wt-confirm-dialog-GNka4gxY.js} +1 -1
- package/dist/{wt-context-menu-Cekc6Rva.js → wt-context-menu-Bjl5aGzG.js} +1 -1
- package/dist/{wt-copy-action-CT_0bHmt.js → wt-copy-action-Xo2DsqJZ.js} +1 -1
- package/dist/{wt-datepicker-B513Tw-Z.js → wt-datepicker-CL3jLy5h.js} +1 -1
- package/dist/{wt-display-chip-items-CMB33VOU.js → wt-display-chip-items-CCNWd5Nt.js} +1 -1
- package/dist/{wt-dual-panel-DjHHFx8Y.js → wt-dual-panel-CMUeBmf-.js} +1 -1
- package/dist/{wt-dummy-BivOEKRK.js → wt-dummy-BOgeleXm.js} +1 -1
- package/dist/{wt-error-page-krwX0484.js → wt-error-page-Ctl0-_Yp.js} +1 -1
- package/dist/{wt-expansion-card-Mrne6YQJ.js → wt-expansion-card-BCOBdTuS.js} +1 -1
- package/dist/{wt-expansion-panel-D0SABYA1.js → wt-expansion-panel-C7W_5dxd.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-Dffe4cS8.js → wt-filters-panel-wrapper-CkLHeV4o.js} +1 -1
- package/dist/{wt-galleria-CB3UNqGT.js → wt-galleria-Bls8Xxh4.js} +2 -2
- package/dist/{wt-navigation-menu-CozB-VN3.js → wt-navigation-menu-CFPMD9o1.js} +1 -1
- package/dist/{wt-notifications-bar-CBv9RpW3.js → wt-notifications-bar-BTDN7hSn.js} +2 -2
- package/dist/{wt-pagination-CrnHm3Ei.js → wt-pagination-DtjeKcpO.js} +1 -1
- package/dist/{wt-player-Be7Ts4oe.js → wt-player-Co3Ib7qU.js} +13 -13
- package/dist/{wt-screen-recordings-action-VJpYH40a.js → wt-screen-recordings-action-CmY7R2B-.js} +1 -1
- package/dist/{wt-search-bar-BNUpiOyg.js → wt-search-bar-CmN8Nq-n.js} +1 -1
- package/dist/{wt-selection-popup-DZG_s5cn.js → wt-selection-popup-BNKNa5jy.js} +1 -1
- package/dist/{wt-start-page-B1Ya211Z.js → wt-start-page-BC4r_EPK.js} +1 -1
- package/dist/{wt-status-select-ByEBtG_Z.js → wt-status-select-CBq_ihcS.js} +11 -14
- package/dist/{wt-stepper-Bke8hGIN.js → wt-stepper-DvmRISSE.js} +1 -1
- package/dist/{wt-table-rT0puxyU.js → wt-table-BDnXcyai.js} +14 -14
- package/dist/{wt-table-actions-D2QF78Jq.js → wt-table-actions-52X557c8.js} +1 -1
- package/dist/{wt-table-column-select-BtcIByjb.js → wt-table-column-select-vKGXHla2.js} +2 -2
- package/dist/{wt-tabs-BIn8m45h.js → wt-tabs-zXlsvaeU.js} +16 -17
- package/dist/{wt-tags-input-Bz3T5KC7.js → wt-tags-input-B8w0KXPv.js} +2 -2
- package/dist/{wt-timepicker-CuMYCWnA.js → wt-timepicker-Cm4aLsPK.js} +1 -1
- package/dist/{wt-tree-DftQx0vm.js → wt-tree-IVOTwA3x.js} +4 -4
- package/dist/{wt-tree-table-Cqt8iSLj.js → wt-tree-table-zA7HHvru.js} +3 -3
- package/dist/{wt-type-extension-value-input-rX_qRFjQ.js → wt-type-extension-value-input-DTmneCoP.js} +4 -7
- package/dist/{wt-vidstack-player-CWmoXIAG.js → wt-vidstack-player-DHmGgiDL.js} +13 -13
- package/package.json +3 -2
- package/src/api/clients/agents/agentChats.js +0 -1
- package/src/api/clients/agents/agents.js +1 -1
- package/src/api/clients/caseSources/caseSources.ts +1 -1
- package/src/api/clients/chatGateways/defaults/webChatGateway.js +5 -5
- package/src/api/clients/contactGroups/contactGroups.js +0 -1
- package/src/api/clients/queues/queues.js +16 -22
- package/src/api/clients/users/users.js +10 -2
- package/src/api/clients//321/201ontacts/contacts.js +0 -1
- package/src/api/clients//321/201ontacts/index.js +1 -1
- package/src/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.js +1 -1
- package/src/api/transformers/addQueryParamsToUrl/addQueryParamsToUrl.transformer.js +2 -2
- package/src/api/transformers/sanitize/sanitize.transformer.js +2 -4
- package/src/api/websocket/WebSocketClientController.ts +6 -4
- package/src/components/index.js +3 -3
- package/src/components/wt-app-header/wt-app-navigator.vue +8 -11
- package/src/components/wt-galleria/wt-galleria.vue +1 -1
- package/src/components/wt-intersection-observer/wt-intersection-observer.vue +1 -1
- package/src/components/wt-player/src/components/buttons/mute-button.vue +0 -1
- package/src/components/wt-rounded-action/_variables.css +0 -3
- package/src/components/wt-select/mixins/multiselectMixin.js +0 -1
- package/src/components/wt-select/multiselect.css +2 -0
- package/src/components/wt-select/wt-select-v2.vue +3 -2
- package/src/components/wt-status-select/wt-status-select.vue +2 -4
- package/src/components/wt-switcher/wt-switcher.vue +1 -1
- package/src/components/wt-table/wt-table.vue +1 -1
- package/src/components/wt-tabs/wt-tabs.vue +1 -2
- package/src/components/wt-textarea/wt-textarea.vue +3 -4
- package/src/components/wt-tree/__tests__/WtTree.spec.js +1 -1
- package/src/components/wt-tree/wt-tree.vue +92 -60
- package/src/components/wt-tree-line/wt-tree-line.vue +2 -2
- package/src/components/wt-tree-table/wt-tree-table.vue +90 -84
- package/src/components/wt-tree-table-row/wt-tree-table-row.vue +2 -2
- package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +2 -2
- package/src/components/wt-vidstack-player/composables/useVidstackSrc.ts +1 -1
- package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +1 -1
- package/src/composables/useCard/useCardComponent.js +1 -1
- package/src/composables/useInputControl/useInputControl.ts +1 -1
- package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -1
- package/src/composables/useTableColumnDrag/useTableColumnDrag.ts +1 -1
- package/src/enums/index.ts +0 -1
- package/src/install.ts +1 -1
- package/src/locale/kz/kz.js +2 -4
- package/src/locale/pl/pl.js +2 -4
- package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +1 -1
- package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +104 -96
- package/src/modules/AgentStatusSelect/api/agent-status.js +9 -13
- package/src/modules/AuditForm/components/audit-form.vue +1 -1
- package/src/modules/AuditForm/components/form-answers/answer-editing-info/audit-form-answer-editing-info.vue +1 -1
- package/src/modules/CSVExport/XLSExport.js +5 -7
- package/src/modules/CSVExport/composables/useCSVExport.ts +3 -3
- package/src/modules/CSVExport/mixins/exportCSVMixin.js +1 -5
- package/src/modules/CSVExport/mixins/exportXLSMixin.js +1 -5
- package/src/modules/FilesExport/composables/useFilesExport.ts +1 -1
- package/src/modules/FilesExport/types/types.ts +1 -1
- package/src/modules/Filters/store/FiltersStoreModule.js +27 -27
- package/src/modules/Notifications/store/NotificationsStoreModule.js +1 -1
- package/src/modules/ObjectPermissions/_internals/store/helpers/createObjectPermissionsStoreModule.js +0 -4
- package/src/modules/ObjectPermissions/components/permissions-tab.vue +5 -7
- package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +2 -2
- package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
- package/src/modules/QueryFilters/store/QueryFiltersStoreModule.js +5 -6
- package/src/modules/TableStoreModule/store/TableStoreModule.js +10 -18
- package/src/modules/UploadCsvPopup/scripts/normalizeCSVData.ts +9 -9
- package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +1 -1
- package/src/modules/Userinfo/composables/createUserAccessControl.ts +2 -2
- package/src/modules/Userinfo/composables/types/CreateUserAccessControl.d.ts +2 -4
- package/src/modules/Userinfo/scripts/utils.ts +4 -2
- package/src/scripts/compareSize.ts +7 -6
- package/src/store/new/modules/tableStoreModule/tableStoreModule.js +17 -29
- package/src/validations/vuelidate/validators/decimalValidator.js +2 -1
- package/src/validations/vuelidate/validators/websocketValidator/websocketValidator.js +1 -1
- package/types/api/clients//321/201ontacts/index.d.ts +2 -2
- package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +1 -1
- package/types/components/wt-switcher/wt-switcher.vue.d.ts +1 -1
- package/types/components/wt-table/wt-table.vue.d.ts +1 -1
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +3 -4
- package/types/components/wt-tree/wt-tree.vue.d.ts +6 -6
- package/types/components/wt-tree-line/wt-tree-line.vue.d.ts +2 -2
- package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +2 -2
- package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +1 -1
- package/types/install.d.ts +1 -2
- package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +1 -1
- package/types/modules/CSVExport/composables/useCSVExport.d.ts +3 -3
- package/types/modules/FilesExport/composables/useFilesExport.d.ts +1 -1
- package/types/modules/FilesExport/types/types.d.ts +1 -1
- package/types/modules/Filters/store/FiltersStoreModule.d.ts +2 -2
- package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
- package/types/modules/TableStoreModule/store/TableStoreModule.d.ts +2 -2
- package/types/modules/Userinfo/composables/createUserAccessControl.d.ts +2 -2
- package/types/modules/Userinfo/scripts/utils.d.ts +1 -1
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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_-
|
|
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": "
|
|
8852
|
-
"secondary-icon": "
|
|
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-
|
|
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.
|
|
3
|
+
"version": "26.4.19",
|
|
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.
|
|
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",
|
|
@@ -241,7 +241,7 @@ const getAgentHistory = async (params) => {
|
|
|
241
241
|
};
|
|
242
242
|
|
|
243
243
|
const getAgentUsersOptions = async (params) => {
|
|
244
|
-
const { page, size, search
|
|
244
|
+
const { page, size, search /* sort, fields, id */ } = applyTransform(params, [
|
|
245
245
|
merge(getDefaultGetParams()),
|
|
246
246
|
starToSearch('search'),
|
|
247
247
|
]);
|
|
@@ -57,13 +57,13 @@ const webChatGateway = (_btnCodeDirty = false) => ({
|
|
|
57
57
|
id: '',
|
|
58
58
|
},
|
|
59
59
|
alternativeChannels: Object.values(WebchatAlternativeChannel).reduce(
|
|
60
|
-
(channels, channel) =>
|
|
61
|
-
|
|
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
|
},
|
|
@@ -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
|
-
|
|
61
|
-
|
|
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
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
copy.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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)
|
|
147
|
+
if (copy.roles) {
|
|
148
|
+
copy.roles.forEach((role) => {
|
|
149
|
+
delete role.text;
|
|
150
|
+
});
|
|
151
|
+
}
|
|
148
152
|
|
|
149
|
-
if (copy.devices)
|
|
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,
|
|
@@ -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
|
|
5
|
+
export { ContactsSearchMode, contactChatMessagesHistory, contacts };
|
|
@@ -6,12 +6,12 @@ const addQueryParamsToUrl = (queryArray) => (url) => {
|
|
|
6
6
|
|
|
7
7
|
if (queryArray && queryArray.length > 0) {
|
|
8
8
|
if (modifyUrl.includes('?')) {
|
|
9
|
-
modifyUrl +=
|
|
9
|
+
modifyUrl += `&${queryArray.join('&')}`;
|
|
10
10
|
|
|
11
11
|
return modifyUrl;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
modifyUrl +=
|
|
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
|
-
|
|
6
|
-
|
|
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) =>
|
|
56
|
-
|
|
57
|
-
|
|
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,
|
package/src/components/index.js
CHANGED
|
@@ -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
|
-
(
|
|
140
|
-
...
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
|
|
@@ -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';
|
|
@@ -140,9 +140,10 @@ const search = async (event) => {
|
|
|
140
140
|
console.log('event.query', event);
|
|
141
141
|
|
|
142
142
|
if (!isApiMode.value) {
|
|
143
|
-
|
|
143
|
+
suggestions.value = [
|
|
144
144
|
...props.options,
|
|
145
|
-
]
|
|
145
|
+
];
|
|
146
|
+
return suggestions.value;
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
const fetchedOptions = await fetchOptions({
|
|
@@ -299,7 +299,7 @@ interface Props extends DataTableProps {
|
|
|
299
299
|
|
|
300
300
|
//lazy loading
|
|
301
301
|
lazy?: boolean;
|
|
302
|
-
onLoading?: (event: VirtualScrollerLazyEvent) => Promise<
|
|
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
|
|
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,
|
|
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?:
|
|
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
|
-
}
|
|
170
|
+
});
|
|
172
171
|
|
|
173
172
|
const handleKeypress = (event: KeyboardEvent) => {
|
|
174
173
|
emit('keydown', event);
|