@webitel/ui-sdk 26.8.105 → 26.8.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{clients-BZ1QzRFi.js → clients-Dm3JLACL.js} +2 -2
- package/dist/{components-D574RP8y.js → components-CRmvV0ze.js} +14 -14
- package/dist/{convertDuration-CGW5IDMW.js → convertDuration-heRoQzks.js} +8 -8
- package/dist/{enums-Bd-8yrmg.js → enums-BDtfwdQu.js} +1 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +19 -3
- package/dist/ui-sdk.umd.cjs +611 -610
- package/dist/{useValidation-CtEfmUkB.js → useValidation-B4q8qUvG.js} +1 -1
- package/dist/{utils-B_8uwL9P.js → utils-DaacyMAw.js} +1 -1
- package/dist/{wt-action-bar-B4rcG26w.js → wt-action-bar-ChLl_-jR.js} +2 -2
- package/dist/{wt-badge-lFnfK2an.js → wt-badge-C8O4Oarp.js} +1 -1
- package/dist/{wt-button-BzYDkfhK.js → wt-button-C-BRwWdy.js} +2 -2
- package/dist/{wt-chat-emoji-D1RzspYn.js → wt-chat-emoji-DUYgD7x0.js} +4 -4
- package/dist/{wt-datepicker-D_O49-Ab.js → wt-datepicker-C1kACub3.js} +2 -2
- package/dist/{wt-display-chip-items-D9E7qoJ8.js → wt-display-chip-items-Dm6I2JFC.js} +2 -2
- package/dist/{wt-dual-panel-B0inNxRm.js → wt-dual-panel-D5TCilWN.js} +1 -1
- package/dist/{wt-expansion-card-DzZYhwnW.js → wt-expansion-card-2wdr_Hpi.js} +1 -1
- package/dist/{wt-expansion-panel-tqCCM3go.js → wt-expansion-panel-DP8zz2tS.js} +1 -1
- package/dist/{wt-icon-DFtSR4bO.js → wt-icon-B8nQuJZu.js} +1 -1
- package/dist/{wt-icon-action-DUAnoMrj.js → wt-icon-action-g26vM7fD.js} +1 -1
- package/dist/{wt-icon-btn-CeGGT2PO.js → wt-icon-btn-BFRfANYh.js} +1 -1
- package/dist/{wt-notifications-bar-DWME3pmb.js → wt-notifications-bar-BnCbODMe.js} +2 -2
- package/dist/{wt-player-DXCQLKch.js → wt-player-DnoC6Gci.js} +3 -3
- package/dist/{wt-screen-recordings-action-Cx7-2gDE.js → wt-screen-recordings-action-biHVl6lR.js} +1 -1
- package/dist/{wt-search-bar-BkopW1qp.js → wt-search-bar-ByF2Wjsg.js} +1 -1
- package/dist/{wt-send-message-popup-C_6OHIhY.js → wt-send-message-popup-afA26_0Q.js} +3 -3
- package/dist/{wt-status-select-DnaJ04Gw.js → wt-status-select-BOmAd__4.js} +2 -2
- package/dist/{wt-table-_qNHChZt.js → wt-table-C_91bkNX.js} +3 -3
- package/dist/{wt-timepicker-C0DHJSeR.js → wt-timepicker-C4kMPkNd.js} +2 -2
- package/dist/{wt-toast-Lge1Y6IO.js → wt-toast-CBQIP-YS.js} +2 -2
- package/dist/{wt-tree-table-BTHxl_MY.js → wt-tree-table-DMK0J0Jx.js} +1 -1
- package/dist/{wt-type-extension-value-input-C9aMICVN.js → wt-type-extension-value-input-CEX06xVC.js} +3 -3
- package/dist/{wt-vidstack-player-CLimONj6.js → wt-vidstack-player-1Z1fEhkA.js} +5 -5
- package/package.json +5 -1
- package/src/components/wt-chip/wt-chip.vue +4 -2
- package/src/enums/ChipColor/ChipColor.ts +1 -0
- package/src/locale/en/en.js +3 -5
- package/src/locale/es/es.js +3 -5
- package/src/locale/kz/kz.js +3 -5
- package/src/locale/pl/pl.js +3 -5
- package/src/locale/ro/ro.js +3 -5
- package/src/locale/ru/ru.js +3 -5
- package/src/locale/uk/uk.js +3 -5
- package/src/locale/uz/uz.js +3 -5
- package/src/locale/vi/vi.js +3 -5
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-activity-type-popup.vue +3 -0
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +15 -2
- package/src/modules/AgentStatusSelect/composables/useCCenterModeSwitcher.ts +2 -1
- package/src/modules/AgentStatusSelect/index.ts +1 -0
- package/src/plugins/primevue/theme/components/chip/chip.js +4 -0
- package/src/scripts/__tests__/convertDuration.spec.js +32 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-chip/wt-chip.vue.d.ts +4 -2
- package/types/enums/ChipColor/ChipColor.d.ts +1 -0
- package/types/modules/AgentStatusSelect/composables/useCCenterModeSwitcher.d.ts +1 -1
- package/types/modules/AgentStatusSelect/index.d.ts +1 -0
- package/types/plugins/primevue/theme/components/chip/chip.d.ts +12 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./enums-
|
|
1
|
+
import { i as e } from "./enums-BDtfwdQu.js";
|
|
2
2
|
import { t } from "./vue-i18n-B88GcHzn.js";
|
|
3
3
|
import { computed as n, isReactive as r, isRef as i, unref as a } from "vue";
|
|
4
4
|
//#region src/mixins/validationMixin/regle/useRegleValidation.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./caseConverters-6cy_SaV5.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { o as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-icon-action-
|
|
3
|
+
import { o as n } from "./enums-BDtfwdQu.js";
|
|
4
|
+
import { t as r } from "./wt-icon-action-g26vM7fD.js";
|
|
5
5
|
import { Fragment as i, computed as a, createElementBlock as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m } from "vue";
|
|
6
6
|
//#region src/components/wt-action-bar/WtActionBarActionsOrder.ts
|
|
7
7
|
var h = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { y as t } from "./enums-
|
|
2
|
+
import { y as t } from "./enums-BDtfwdQu.js";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderSlot as c, vShow as l, withDirectives as u } from "vue";
|
|
4
4
|
//#region src/components/wt-badge/assets/badge-dnd.svg
|
|
5
5
|
var d = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4'%20cy='4'%20r='4'%20fill='%23FFC000'/%3e%3crect%20x='2'%20y='3'%20width='4'%20height='2'%20fill='%23F7F7F7'/%3e%3c/svg%3e", f = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23169C18'/%3e%3cpath%20d='M5%204.80433L5%2011.1958C5%2011.9813%205.86395%2012.4601%206.53%2012.0438L11.6432%208.84808C12.2699%208.45642%2012.2699%207.54376%2011.6432%207.15209L6.53%203.95634C5.86395%203.54005%205%204.0189%205%204.80433Z'%20fill='white'/%3e%3c/svg%3e", p = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23F6AB55'/%3e%3cpath%20d='M6%204C6.55228%204%207%204.44772%207%205L7%2011C7%2011.5523%206.55228%2012%206%2012H5C4.44772%2012%204%2011.5523%204%2011L4%205C4%204.44772%204.44772%204%205%204L6%204Z'%20fill='white'/%3e%3cpath%20d='M11%204C11.5523%204%2012%204.44772%2012%205V11C12%2011.5523%2011.5523%2012%2011%2012H10C9.44772%2012%209%2011.5523%209%2011L9%205C9%204.44772%209.44772%204%2010%204L11%204Z'%20fill='white'/%3e%3c/svg%3e", m = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
2
|
-
import { _ as t, c as n, g as r } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-B8nQuJZu.js";
|
|
2
|
+
import { _ as t, c as n, g as r } from "./enums-BDtfwdQu.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-
|
|
1
|
+
import "./components-CRmvV0ze.js";
|
|
2
2
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { c as t } from "./enums-
|
|
4
|
-
import { t as n } from "./wt-button-
|
|
5
|
-
import { n as r } from "./wt-toast-
|
|
3
|
+
import { c as t } from "./enums-BDtfwdQu.js";
|
|
4
|
+
import { t as n } from "./wt-button-C-BRwWdy.js";
|
|
5
|
+
import { n as r } from "./wt-toast-CBQIP-YS.js";
|
|
6
6
|
import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, nextTick as u, onBeforeUnmount as d, openBlock as f, ref as p, resolveDirective as m, unref as h, withDirectives as g } from "vue";
|
|
7
7
|
//#region node_modules/emoji-picker-element/database.js
|
|
8
8
|
function _(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, i as t, n, r, t as i } from "./toZonedTime-B8L5kbse.js";
|
|
2
2
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { _ as o, c as s, g as c, r as l } from "./enums-
|
|
3
|
+
import { _ as o, c as s, g as c, r as l } from "./enums-BDtfwdQu.js";
|
|
4
4
|
import { t as u } from "./vue-i18n-B88GcHzn.js";
|
|
5
|
-
import { t as d } from "./useValidation-
|
|
5
|
+
import { t as d } from "./useValidation-B4q8qUvG.js";
|
|
6
6
|
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as P, vShow as F, withCtx as I, withDirectives as ee } from "vue";
|
|
7
7
|
import te from "primevue/datepicker";
|
|
8
8
|
//#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-CRmvV0ze.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as r } from "./utils-
|
|
3
|
+
import { t as r } from "./utils-DaacyMAw.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";
|
|
5
5
|
//#region src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _ = { class: "wt-display-chip-items" }, v = { key: 0 }, y = ["onClick"], b = /*#__PURE__*/ n(/* @__PURE__ */ u({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { c as t, o as n } from "./enums-
|
|
2
|
+
import { c as t, o as n } from "./enums-BDtfwdQu.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 { c as t } from "./enums-
|
|
2
|
+
import { c as t } from "./enums-BDtfwdQu.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
4
|
import "./composables-Vg-QfE_2.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 { c as t } from "./enums-
|
|
2
|
+
import { c as t } from "./enums-BDtfwdQu.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-6cy_SaV5.js";
|
|
2
|
-
import { a as t, c as n } from "./enums-
|
|
2
|
+
import { a as t, c as n } from "./enums-BDtfwdQu.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-
|
|
1
|
+
import { o as e } from "./enums-BDtfwdQu.js";
|
|
2
2
|
import { t } from "./vue-i18n-B88GcHzn.js";
|
|
3
3
|
import { t as n } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
4
4
|
import { computed as r, createBlock as i, openBlock as a, resolveComponent as o, resolveDirective as s, unref as c, withDirectives as l } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
1
|
+
import { t as e } from "./wt-icon-B8nQuJZu.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { createElementBlock as n, createVNode as r, defineComponent as i, mergeProps as a, normalizeClass as o, openBlock as s } from "vue";
|
|
4
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./enums-
|
|
2
|
-
import { n as t, t as n } from "./wt-toast-
|
|
1
|
+
import { i as e } from "./enums-BDtfwdQu.js";
|
|
2
|
+
import { n as t, t as n } from "./wt-toast-CBQIP-YS.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-
|
|
1
|
+
import { t as e } from "./wt-icon-B8nQuJZu.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { c as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-button-
|
|
3
|
+
import { c as n } from "./enums-BDtfwdQu.js";
|
|
4
|
+
import { t as r } from "./wt-button-C-BRwWdy.js";
|
|
5
5
|
import { n as i, t as a } from "./useVidstackSrc-aQcqC_v0.js";
|
|
6
6
|
import { t as o } from "./wt-popover-DuZFw3bg.js";
|
|
7
7
|
import { t as s } from "./wt-slider-Co6hZQu_.js";
|
package/dist/{wt-screen-recordings-action-Cx7-2gDE.js → wt-screen-recordings-action-biHVl6lR.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import "./utils-
|
|
2
|
+
import "./utils-DaacyMAw.js";
|
|
3
3
|
import { t } from "./engineCallFileType-D7QVFOac.js";
|
|
4
4
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, resolveComponent as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
5
5
|
//#region src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./debounce-A4B4PTkL.js";
|
|
3
|
-
import { t as n } from "./useValidation-
|
|
3
|
+
import { t as n } from "./useValidation-B4q8qUvG.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-
|
|
2
|
-
import "./convertDuration-
|
|
3
|
-
import { n as t, r as n } from "./clients-
|
|
1
|
+
import { n as e } from "./components-CRmvV0ze.js";
|
|
2
|
+
import "./convertDuration-heRoQzks.js";
|
|
3
|
+
import { n as t, r as n } from "./clients-Dm3JLACL.js";
|
|
4
4
|
import { t as r } from "./vue-i18n-B88GcHzn.js";
|
|
5
5
|
import { n as i } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
import { createBlock as a, createTextVNode as o, createVNode as s, defineComponent 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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./convertDuration-
|
|
2
|
-
import { c as t, v as n } from "./enums-
|
|
1
|
+
import { t as e } from "./convertDuration-heRoQzks.js";
|
|
2
|
+
import { c as t, v as n } from "./enums-BDtfwdQu.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-B88GcHzn.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";
|
|
5
5
|
//#region src/components/wt-status-select/_internals/StatusOptions.lookup.js
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { c as t } from "./enums-
|
|
3
|
-
import { t as n } from "./wt-badge-
|
|
2
|
+
import { c as t } from "./enums-BDtfwdQu.js";
|
|
3
|
+
import { t as n } from "./wt-badge-C8O4Oarp.js";
|
|
4
4
|
import { t as r } from "./vue-i18n-B88GcHzn.js";
|
|
5
5
|
import { n as i, t as a } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
6
|
-
import { t as o } from "./wt-icon-btn-
|
|
6
|
+
import { t as o } from "./wt-icon-btn-BFRfANYh.js";
|
|
7
7
|
import { t as s } from "./composables-Vg-QfE_2.js";
|
|
8
8
|
import { t as c } from "./wt-popover-DuZFw3bg.js";
|
|
9
9
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as h, createTextVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onMounted as w, onUnmounted as T, openBlock as E, ref as D, renderList as ee, renderSlot as O, resolveComponent as k, resolveDirective as te, toDisplayString as A, unref as j, useSlots as M, useTemplateRef as ne, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { c as t, r as n } from "./enums-
|
|
2
|
+
import { c as t, r as n } from "./enums-BDtfwdQu.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-B88GcHzn.js";
|
|
4
|
-
import { t as i } from "./useValidation-
|
|
4
|
+
import { t as i } from "./useValidation-B4q8qUvG.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-
|
|
2
|
-
import { c as t, i as n } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-B8nQuJZu.js";
|
|
2
|
+
import { c as t, i as n } from "./enums-BDtfwdQu.js";
|
|
3
3
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, normalizeProps as d, normalizeStyle as f, openBlock as p, resolveComponent as m, toDisplayString as h, unref as g, useAttrs as _, withCtx as v } from "vue";
|
|
4
4
|
//#region node_modules/mitt/dist/mitt.mjs
|
|
5
5
|
function y(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { n as t } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
3
3
|
import { t as n } from "./wt-checkbox-BBdi-1oS.js";
|
|
4
|
-
import { t as r } from "./wt-icon-btn-
|
|
4
|
+
import { t as r } from "./wt-icon-btn-BFRfANYh.js";
|
|
5
5
|
import { t as i } from "./useWtTable-CUpN0LZ5.js";
|
|
6
6
|
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";
|
|
7
7
|
//#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
|
package/dist/{wt-type-extension-value-input-C9aMICVN.js → wt-type-extension-value-input-CEX06xVC.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e, o as t, r as n, s as r } from "./components-
|
|
2
|
-
import { t as i } from "./clients-
|
|
3
|
-
import { t as a } from "./enums-
|
|
1
|
+
import { a as e, o as t, r as n, s as r } from "./components-CRmvV0ze.js";
|
|
2
|
+
import { t as i } from "./clients-Dm3JLACL.js";
|
|
3
|
+
import { t as a } from "./enums-BDtfwdQu.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-B88GcHzn.js";
|
|
5
5
|
import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
|
|
6
6
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { w as e } from "./components-
|
|
2
|
-
import "./convertDuration-
|
|
1
|
+
import { w as e } from "./components-CRmvV0ze.js";
|
|
2
|
+
import "./convertDuration-heRoQzks.js";
|
|
3
3
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { c as n } from "./enums-
|
|
5
|
-
import "./wt-button-
|
|
6
|
-
import { t as r } from "./wt-icon-btn-
|
|
4
|
+
import { c as n } from "./enums-BDtfwdQu.js";
|
|
5
|
+
import "./wt-button-C-BRwWdy.js";
|
|
6
|
+
import { t as r } from "./wt-icon-btn-BFRfANYh.js";
|
|
7
7
|
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 g, P as ee, Q as _, R as te, S as v, U as ne, V as y, W as b, X as x, Y as re, Z as S, _ as C, a as ie, b as ae, c as oe, d as se, et as ce, f as le, g as ue, h as de, i as w, it as fe, j as pe, k as me, l as T, m as he, n as E, nt as D, o as O, ot as ge, p as k, q as A, r as j, rt as _e, t as ve, tt as ye, u as be, v as M, w as xe, y as Se, z as Ce } from "./vidstack-D9mvYVIz-DesuYgKV.js";
|
|
8
8
|
import { _ as N, a as we, c as Te, d as Ee, f as De, g as Oe, h as ke, i as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, r as Ie, s as Le, t as P, u as Re } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
|
|
9
9
|
import { _ as ze, a as Be, c as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, n as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, x as $e, y as et } from "./useVidstackSrc-aQcqC_v0.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.8.
|
|
3
|
+
"version": "26.8.107",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run docs:dev",
|
|
@@ -337,6 +337,10 @@
|
|
|
337
337
|
"types": "./types/modules*",
|
|
338
338
|
"import": "./src/modules*"
|
|
339
339
|
},
|
|
340
|
+
"./modules/AgentStatusSelect": {
|
|
341
|
+
"types": "./types/modules/AgentStatusSelect/index.d.ts",
|
|
342
|
+
"import": "./src/modules/AgentStatusSelect/index.ts"
|
|
343
|
+
},
|
|
340
344
|
"./modules/AppConfig": {
|
|
341
345
|
"types": "./types/modules/AppConfig/index.d.ts",
|
|
342
346
|
"import": "./src/modules/AppConfig/index.ts"
|
|
@@ -31,10 +31,12 @@ import { ChipColor, ComponentSize } from '../../enums';
|
|
|
31
31
|
|
|
32
32
|
interface WtProps extends ChipProps {
|
|
33
33
|
/**
|
|
34
|
-
* Chip color. "main" and "
|
|
34
|
+
* Chip color. "main" and "transfer" are chip-specific colors; the rest follow
|
|
35
|
+
* the semantic scheme. "info" renders as a light tint with dark text, like
|
|
36
|
+
* "main", rather than a solid fill.
|
|
35
37
|
* @type {ChipColor}
|
|
36
38
|
* @default ChipColor.MAIN
|
|
37
|
-
* @options ['main', '
|
|
39
|
+
* @options ['main', 'primary', 'on-primary', 'secondary', 'success', 'warning', 'error', 'info', 'transfer']
|
|
38
40
|
*/
|
|
39
41
|
color?: ChipColor;
|
|
40
42
|
/**
|
package/src/locale/en/en.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import deepmerge from 'deepmerge';
|
|
6
4
|
import {
|
|
7
5
|
AgentStatus,
|
|
@@ -23,7 +21,7 @@ import {
|
|
|
23
21
|
WtApplication,
|
|
24
22
|
} from '../../enums';
|
|
25
23
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
26
|
-
import { snakeToCamel } from '../../scripts';
|
|
24
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
27
25
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
28
26
|
import notTranslatable from './notTranslatable.en';
|
|
29
27
|
|
package/src/locale/es/es.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/kz/kz.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/pl/pl.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/ro/ro.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/uk/uk.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/uz/uz.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
package/src/locale/vi/vi.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
WebitelMediaExporterExportStatus,
|
|
4
|
-
} from '@webitel/api-services/gen/models';
|
|
1
|
+
import { EngineRoutingSchemaType } from '@webitel/api-services/gen/models/engineRoutingSchemaType';
|
|
2
|
+
import { WebitelMediaExporterExportStatus } from '@webitel/api-services/gen/models/webitelMediaExporterExportStatus';
|
|
5
3
|
import {
|
|
6
4
|
AgentStatus,
|
|
7
5
|
CallDirection,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
WtApplication,
|
|
23
21
|
} from '../../enums';
|
|
24
22
|
import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
|
|
25
|
-
import { snakeToCamel } from '../../scripts';
|
|
23
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
26
24
|
import { SortSymbols } from '../../scripts/sortQueryAdapters.js';
|
|
27
25
|
|
|
28
26
|
export default {
|
|
@@ -89,7 +89,17 @@ const statusSelectKey = ref(0);
|
|
|
89
89
|
|
|
90
90
|
const isPauseCausePopup = ref(false);
|
|
91
91
|
const pauseCauses = ref<EngineForAgentPauseCause[]>([]);
|
|
92
|
-
|
|
92
|
+
|
|
93
|
+
/** Only the shape this component reads off a rejected status change. */
|
|
94
|
+
type StatusChangeError = {
|
|
95
|
+
response?: {
|
|
96
|
+
data?: {
|
|
97
|
+
id?: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
const error = ref<StatusChangeError | null>(null);
|
|
93
103
|
|
|
94
104
|
const isActivityTypePopup = ref(false);
|
|
95
105
|
|
|
@@ -167,7 +177,10 @@ async function changeStatus({
|
|
|
167
177
|
emit('changed', statusPayload);
|
|
168
178
|
} catch (err) {
|
|
169
179
|
statusSelectKey.value++;
|
|
170
|
-
|
|
180
|
+
const failure = err as StatusChangeError;
|
|
181
|
+
if (failure?.response?.data?.id === PauseNotAllowedError.id) {
|
|
182
|
+
error.value = failure;
|
|
183
|
+
}
|
|
171
184
|
throw err;
|
|
172
185
|
}
|
|
173
186
|
}
|
|
@@ -15,7 +15,8 @@ export const useCCenterModeSwitcher = ({
|
|
|
15
15
|
callCenterModeChanging.value = false;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
// wt-switcher emits `boolean | undefined`; an absent value reads as off
|
|
19
|
+
async function toggleCallCenterMode(value?: boolean) {
|
|
19
20
|
callCenterModeChanging.value = true;
|
|
20
21
|
if (value) {
|
|
21
22
|
if (activityTypes.value.length <= 1) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as WtCcAgentStatusSelect } from './components/wt-cc-agent-status-select.vue';
|
|
@@ -18,4 +18,36 @@ describe('Case converters', () => {
|
|
|
18
18
|
const duration = '00:00:00';
|
|
19
19
|
expect(convertDuration(time)).toBe(duration);
|
|
20
20
|
});
|
|
21
|
+
|
|
22
|
+
describe('alwaysShowHours: false', () => {
|
|
23
|
+
it('drops the hours segment below an hour', () => {
|
|
24
|
+
expect(
|
|
25
|
+
convertDuration(111, {
|
|
26
|
+
alwaysShowHours: false,
|
|
27
|
+
}),
|
|
28
|
+
).toBe('01:51');
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
it('keeps the hours segment once there are hours to show', () => {
|
|
32
|
+
expect(
|
|
33
|
+
convertDuration(3725, {
|
|
34
|
+
alwaysShowHours: false,
|
|
35
|
+
}),
|
|
36
|
+
).toBe('01:02:05');
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
it('drops the hours segment for a false value too', () => {
|
|
40
|
+
expect(
|
|
41
|
+
convertDuration(null, {
|
|
42
|
+
alwaysShowHours: false,
|
|
43
|
+
}),
|
|
44
|
+
).toBe('00:00');
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
// live timers rely on the width staying fixed as they tick past an hour
|
|
49
|
+
it('keeps the hours segment by default', () => {
|
|
50
|
+
expect(convertDuration(111)).toBe('00:01:51');
|
|
51
|
+
expect(convertDuration(111, {})).toBe('00:01:51');
|
|
52
|
+
});
|
|
21
53
|
});
|