@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,8 +1,8 @@
|
|
|
1
1
|
import { r as e, s as t } from "./dist-DB8lC4KJ.js";
|
|
2
2
|
import { a as n, i as r, n as i, t as a } from "./genClient-5JkKKac8.js";
|
|
3
3
|
import { i as o, r as s } from "./caseConverters-6cy_SaV5.js";
|
|
4
|
-
import { i as c, l, s as u } from "./convertDuration-
|
|
5
|
-
import { p as d } from "./enums-
|
|
4
|
+
import { i as c, l, s as u } from "./convertDuration-heRoQzks.js";
|
|
5
|
+
import { p as d } from "./enums-BDtfwdQu.js";
|
|
6
6
|
import { t as f } from "./deep-copy-7O5ej7vT.js";
|
|
7
7
|
import { get as p, set as m } from "lodash-es";
|
|
8
8
|
import * as h from "zod";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as e, o as t } from "./dist-DB8lC4KJ.js";
|
|
2
2
|
import { n, t as r } from "./dist-DJZOILzq.js";
|
|
3
|
-
import { t as i } from "./wt-icon-
|
|
4
|
-
import { a, c as o, d as s, l as c, o as l, s as u, u as d } from "./convertDuration-
|
|
3
|
+
import { t as i } from "./wt-icon-B8nQuJZu.js";
|
|
4
|
+
import { a, c as o, d as s, l as c, o as l, s as u, u as d } from "./convertDuration-heRoQzks.js";
|
|
5
5
|
import { i as f, n as p, t as m } from "./toZonedTime-B8L5kbse.js";
|
|
6
6
|
import { t as h } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
-
import { a as g, c as _, h as v, i as y, l as b, n as x, r as ee, s as S, y as C } from "./enums-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import { t as te } from "./wt-badge-
|
|
10
|
-
import { n as ne, t as re } from "./wt-button-
|
|
7
|
+
import { a as g, c as _, h as v, i as y, l as b, n as x, r as ee, s as S, y as C } from "./enums-BDtfwdQu.js";
|
|
8
|
+
import "./utils-DaacyMAw.js";
|
|
9
|
+
import { t as te } from "./wt-badge-C8O4Oarp.js";
|
|
10
|
+
import { n as ne, t as re } from "./wt-button-C-BRwWdy.js";
|
|
11
11
|
import { t as ie } from "./vue-i18n-B88GcHzn.js";
|
|
12
12
|
import "./debounce-A4B4PTkL.js";
|
|
13
|
-
import { t as ae } from "./wt-toast-
|
|
13
|
+
import { t as ae } from "./wt-toast-CBQIP-YS.js";
|
|
14
14
|
import "./sortQueryAdapters-CyYXvnDN.js";
|
|
15
15
|
import { t as oe } from "./wt-checkbox-BBdi-1oS.js";
|
|
16
|
-
import { t as se } from "./wt-icon-action-
|
|
17
|
-
import { t as ce } from "./wt-icon-btn-
|
|
18
|
-
import { t as le } from "./useValidation-
|
|
16
|
+
import { t as se } from "./wt-icon-action-g26vM7fD.js";
|
|
17
|
+
import { t as ce } from "./wt-icon-btn-BFRfANYh.js";
|
|
18
|
+
import { t as le } from "./useValidation-B4q8qUvG.js";
|
|
19
19
|
import { i as ue, n as de, r as fe } from "./composables-Vg-QfE_2.js";
|
|
20
20
|
import { t as pe } from "./wt-expand-transition-C2p9bR4j.js";
|
|
21
21
|
import { a as me, c as he, i as ge, n as _e, o as ve, r as ye, s as be, t as xe } from "./floating-ui.dom-Ch9ml4Rx.js";
|
|
@@ -2483,7 +2483,7 @@ var zr = /*#__PURE__*/ h(Ir, [["render", Rr], ["__scopeId", "data-v-9bc1397e"]])
|
|
|
2483
2483
|
}, 8, ["class", "removable"]);
|
|
2484
2484
|
};
|
|
2485
2485
|
}
|
|
2486
|
-
}), [["__scopeId", "data-v-
|
|
2486
|
+
}), [["__scopeId", "data-v-135fad4e"]]), Hr = /* @__PURE__ */ M({
|
|
2487
2487
|
__name: "wt-datetime-text",
|
|
2488
2488
|
props: {
|
|
2489
2489
|
datetime: {},
|
|
@@ -5742,9 +5742,9 @@ var vs = {
|
|
|
5742
5742
|
])), [[r, d]]) : E("", !0)], 2);
|
|
5743
5743
|
};
|
|
5744
5744
|
}
|
|
5745
|
-
}, [["__scopeId", "data-v-72aa56d0"]]), Cs = j(() => import("./wt-action-bar-
|
|
5746
|
-
j(() => import("./wt-type-extension-value-input-
|
|
5747
|
-
var oc = j(() => import("./wt-screen-recordings-action-
|
|
5745
|
+
}, [["__scopeId", "data-v-72aa56d0"]]), Cs = j(() => import("./wt-action-bar-ChLl_-jR.js")), ws = j(() => import("./wt-button-select-BnRHgJ4i.js")), Ts = j(() => import("./wt-confirm-dialog-DCUitG2v.js")), Es = j(() => import("./wt-context-menu-yW52oF-2.js")), Ds = j(() => import("./wt-copy-action-d9gVzAsB.js")), Os = j(() => import("./wt-datepicker-C1kACub3.js")), ks = j(() => import("./wt-dual-panel-D5TCilWN.js")), As = j(() => import("./wt-dummy-J18Wmsn6.js")), js = j(() => import("./wt-error-page-vhu4lIyF.js")), Ms = j(() => import("./wt-expansion-panel-DP8zz2tS.js")), Ns = j(() => import("./wt-expansion-card-2wdr_Hpi.js")), Ps = j(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), Fs = j(() => import("./wt-galleria-iRpRiDc6.js")), Is = j(() => import("./wt-notifications-bar-BnCbODMe.js")), Ls = j(() => import("./wt-page-header-CDbd4aOh.js")), Rs = j(() => import("./wt-pagination-DLRMTDRV.js")), zs = j(() => import("./wt-player-DnoC6Gci.js")), Bs = j(() => import("./wt-popover-DuZFw3bg.js").then((e) => e.n)), Vs = j(() => import("./wt-search-bar-ByF2Wjsg.js")), Hs = j(() => import("./wt-slider-Co6hZQu_.js").then((e) => e.n)), Us = j(() => import("./wt-status-select-BOmAd__4.js")), Ws = j(() => import("./wt-stepper-B6zpd1Uh.js")), Gs = j(() => import("./wt-table-C_91bkNX.js")), Ks = j(() => import("./wt-table-actions-D7harVHK.js")), qs = j(() => import("./wt-table-column-select-BtFhZKPT.js")), Js = j(() => import("./wt-tabs-DuOgj-lZ.js")), Ys = j(() => import("./wt-time-input-Ds40EseE.js")), Xs = j(() => import("./wt-timepicker-C4kMPkNd.js")), Zs = j(() => import("./wt-tree-BH2o2iCt.js")), Qs = j(() => import("./wt-tree-table-DMK0J0Jx.js")), $s = j(() => import("./wt-vidstack-player-1Z1fEhkA.js")), ec = j(() => import("./wt-call-media-action-Bkyppnsm.js")), tc = j(() => import("./wt-chat-emoji-DUYgD7x0.js")), nc = j(() => import("./wt-display-chip-items-Dm6I2JFC.js")), rc = j(() => import("./wt-navigation-menu-BMupOW07.js")), ic = j(() => import("./wt-selection-popup-Bd4EuLl-.js")), ac = j(() => import("./wt-start-page-Bp7b0ir-.js"));
|
|
5746
|
+
j(() => import("./wt-type-extension-value-input-CEX06xVC.js"));
|
|
5747
|
+
var oc = j(() => import("./wt-screen-recordings-action-biHVl6lR.js")), sc = j(() => import("./wt-send-message-popup-afA26_0Q.js")), cc = {
|
|
5748
5748
|
WtActionBar: Cs,
|
|
5749
5749
|
WtImage: Gr,
|
|
5750
5750
|
WtEmpty: Xr,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e } from "./enums-
|
|
1
|
+
import { f as e } from "./enums-BDtfwdQu.js";
|
|
2
2
|
//#region node_modules/date-fns/constants.js
|
|
3
3
|
var t = 365.2425, n = 6048e5, r = 864e5, i = 3600 * 24;
|
|
4
4
|
i * 7, i * t / 12 * 3;
|
|
@@ -67,11 +67,11 @@ function _(e) {
|
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region packages/api-services/src/scripts/convertDuration/convertDuration.ts
|
|
70
|
-
var v = (e) => {
|
|
71
|
-
if (!e) return "00:00:00";
|
|
72
|
-
let
|
|
73
|
-
return t
|
|
74
|
-
},
|
|
70
|
+
var v = (e) => `${e}`.padStart(2, "0"), y = (e, { alwaysShowHours: t = !0 } = {}) => {
|
|
71
|
+
if (!e) return t ? "00:00:00" : "00:00";
|
|
72
|
+
let n = Math.floor(e / 3600), r = Math.floor(e % 3600 / 60), i = Math.floor(e % 3600 % 60), a = `${v(r)}:${v(i)}`;
|
|
73
|
+
return t || n > 0 ? `${v(n)}:${a}` : a;
|
|
74
|
+
}, b = (t) => typeof t == "string" && Object.values(e).includes(t), x = (t, n) => {
|
|
75
75
|
if (n?.round === "end") switch (t) {
|
|
76
76
|
case e.Today: return g().getTime();
|
|
77
77
|
case e.ThisWeek: return h(Date.now(), { weekStartsOn: 1 }).getTime();
|
|
@@ -84,6 +84,6 @@ var v = (e) => {
|
|
|
84
84
|
case e.ThisMonth: return m(Date.now()).getTime();
|
|
85
85
|
default: return Date.now();
|
|
86
86
|
}
|
|
87
|
-
},
|
|
87
|
+
}, S = (e, t = {}) => e == null ? 0 : typeof e == "number" ? e : b(e) ? x(e, t) : typeof e == "string" ? +e ? +e : 0 : Date.now(), C = y;
|
|
88
88
|
//#endregion
|
|
89
|
-
export { d as a, c, n as d,
|
|
89
|
+
export { d as a, c, n as d, y as i, o as l, b as n, u as o, S as r, l as s, C as t, r as u };
|