@webitel/ui-sdk 26.8.99 → 26.8.101
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-DenpsPyu.js → clients-ClR-VL_c.js} +24 -28
- package/dist/{components-CMBVRgca.js → components-CB2t5ag8.js} +2876 -1068
- package/dist/convertDuration-CGW5IDMW.js +89 -0
- package/dist/{enums-B_9ZBu01.js → enums-Bd-8yrmg.js} +30 -30
- package/dist/ui-sdk.js +15 -15
- package/dist/ui-sdk.umd.cjs +380 -380
- package/dist/{useValidation-Dmm2xos_.js → useValidation-CtEfmUkB.js} +1 -1
- package/dist/utils-B_8uwL9P.js +4 -0
- package/dist/{wt-action-bar-BpuER6TA.js → wt-action-bar-B4rcG26w.js} +2 -2
- package/dist/{wt-badge-tosjsmJU.js → wt-badge-lFnfK2an.js} +1 -1
- package/dist/{wt-button-CNQAK85M.js → wt-button-BzYDkfhK.js} +17 -17
- package/dist/{wt-chat-emoji-DGnuASX3.js → wt-chat-emoji-DwGl685x.js} +4 -4
- package/dist/{wt-datepicker-BS3przUJ.js → wt-datepicker-D_O49-Ab.js} +43 -43
- package/dist/{wt-display-chip-items-DVE5aPNw.js → wt-display-chip-items-_VHRHB6L.js} +2 -2
- package/dist/{wt-dual-panel-Cs_Yzfxt.js → wt-dual-panel-B0inNxRm.js} +1 -1
- package/dist/{wt-expansion-card-8YzHs8F1.js → wt-expansion-card-CJjtuFDk.js} +1 -1
- package/dist/{wt-expansion-panel-kZmHSvPU.js → wt-expansion-panel-tqCCM3go.js} +1 -1
- package/dist/{wt-icon-ClDNfV5I.js → wt-icon-DFtSR4bO.js} +1 -1
- package/dist/{wt-icon-action-B8vuj9cC.js → wt-icon-action-DUAnoMrj.js} +1 -1
- package/dist/{wt-icon-btn-DDElLZil.js → wt-icon-btn-CeGGT2PO.js} +1 -1
- package/dist/{wt-notifications-bar-DZidZ2VZ.js → wt-notifications-bar-DWME3pmb.js} +2 -2
- package/dist/{wt-player-CxMTs3eF.js → wt-player-DXCQLKch.js} +3 -3
- package/dist/{wt-screen-recordings-action-BTtZq2BR.js → wt-screen-recordings-action-Cx7-2gDE.js} +1 -1
- package/dist/{wt-search-bar-CE4WhuJ6.js → wt-search-bar-BkopW1qp.js} +1 -1
- package/dist/{wt-send-message-popup-DNRwANy-.js → wt-send-message-popup-Dl-FeGOx.js} +13 -12
- package/dist/{wt-status-select-CDt8sZr9.js → wt-status-select-DnaJ04Gw.js} +12 -12
- package/dist/{wt-table-DHpnLu_f.js → wt-table-xmGhfp4p.js} +3 -3
- package/dist/{wt-timepicker-D-tnO-gX.js → wt-timepicker-C0DHJSeR.js} +2 -2
- package/dist/{wt-toast-DKjRJFE2.js → wt-toast-Lge1Y6IO.js} +10 -10
- package/dist/{wt-tree-table-DDH6vMh7.js → wt-tree-table-BTHxl_MY.js} +1 -1
- package/dist/{wt-type-extension-value-input-CUx43R8o.js → wt-type-extension-value-input-Cd0towde.js} +17 -17
- package/dist/{wt-vidstack-player-_x_GEpy4.js → wt-vidstack-player-IfN1Nbyd.js} +5 -4
- package/package.json +1 -1
- package/src/enums/FormatDateMode/FormatDateMode.ts +1 -10
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +7 -2
- package/src/scripts/convertDuration.js +1 -13
- package/src/utils/formatDate.ts +1 -37
- package/types/.tsbuildinfo +1 -1
- package/types/enums/FormatDateMode/FormatDateMode.d.ts +1 -8
- package/types/scripts/convertDuration.d.ts +1 -1
- package/types/utils/formatDate.d.ts +1 -4
- package/dist/convertDuration-1K7fuEpO.js +0 -8
- package/dist/utils-DReAiJBV.js +0 -1902
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./enums-
|
|
1
|
+
import { i as e } from "./enums-Bd-8yrmg.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-Bd-8yrmg.js";
|
|
4
|
+
import { t as r } from "./wt-icon-action-DUAnoMrj.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-Bd-8yrmg.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,
|
|
1
|
+
import { t as e } from "./wt-icon-DFtSR4bO.js";
|
|
2
|
+
import { _ as t, c as n, g as r } from "./enums-Bd-8yrmg.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
|
|
@@ -8,7 +8,7 @@ var w = /* @__PURE__ */ l({
|
|
|
8
8
|
props: {
|
|
9
9
|
value: { default: "" },
|
|
10
10
|
severity: { default: null },
|
|
11
|
-
size: { default:
|
|
11
|
+
size: { default: n.MD }
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
14
|
let t = e;
|
|
@@ -35,7 +35,7 @@ var w = /* @__PURE__ */ l({
|
|
|
35
35
|
type: Boolean,
|
|
36
36
|
default: !1
|
|
37
37
|
},
|
|
38
|
-
size: { default:
|
|
38
|
+
size: { default: n.MD },
|
|
39
39
|
wide: {
|
|
40
40
|
type: Boolean,
|
|
41
41
|
default: !1
|
|
@@ -49,24 +49,24 @@ var w = /* @__PURE__ */ l({
|
|
|
49
49
|
badge: {},
|
|
50
50
|
badgeSeverity: {},
|
|
51
51
|
badgeAbsolutePosition: { type: Boolean },
|
|
52
|
-
variant: { default:
|
|
52
|
+
variant: { default: r.ACTIVE }
|
|
53
53
|
},
|
|
54
54
|
emits: ["click"],
|
|
55
|
-
setup(t, { emit:
|
|
55
|
+
setup(t, { emit: r }) {
|
|
56
56
|
let l = {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
57
|
+
[n.XS]: "extra-small",
|
|
58
|
+
[n.SM]: "small",
|
|
59
|
+
[n.MD]: "medium"
|
|
60
60
|
}, E = {
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
}, D = t, O =
|
|
61
|
+
[n.XS]: n.SM,
|
|
62
|
+
[n.SM]: n.SM,
|
|
63
|
+
[n.MD]: n.MD
|
|
64
|
+
}, D = t, O = r, k = b(), A = m(!1), j = i(() => ({ "wt-badge--absolute": D.badgeAbsolutePosition })), M = v(u("darkMode")), N = i(() => M.value ? "on-dark" : "on-light");
|
|
65
65
|
return x(() => D.loading, (e) => {
|
|
66
66
|
e ? A.value = !0 : setTimeout(() => {
|
|
67
67
|
A.value = e;
|
|
68
68
|
}, 1e3);
|
|
69
|
-
}, { immediate: !0 }), (
|
|
69
|
+
}, { immediate: !0 }), (r, i) => {
|
|
70
70
|
let u = g("wt-loader"), m = g("p-button");
|
|
71
71
|
return p(), a(m, d(y(k), {
|
|
72
72
|
class: [{
|
|
@@ -90,15 +90,15 @@ var w = /* @__PURE__ */ l({
|
|
|
90
90
|
color: N.value,
|
|
91
91
|
size: "sm"
|
|
92
92
|
}, null, 8, ["color"])) : o("", !0), s("div", T, [
|
|
93
|
-
t.icon ? o("", !0) : h(
|
|
93
|
+
t.icon ? o("", !0) : h(r.$slots, "default", { key: 0 }, () => [i[1] ||= c(" no content provided", -1)]),
|
|
94
94
|
D.badge ? (p(), a(w, {
|
|
95
95
|
key: 1,
|
|
96
96
|
value: D.badge,
|
|
97
97
|
severity: D.badgeSeverity,
|
|
98
98
|
class: f(j.value),
|
|
99
|
-
size: y(
|
|
99
|
+
size: y(n).MD
|
|
100
100
|
}, {
|
|
101
|
-
default: S(() => [h(
|
|
101
|
+
default: S(() => [h(r.$slots, "badge", {}, () => [c(_(D.badge), 1)])]),
|
|
102
102
|
_: 3
|
|
103
103
|
}, 8, [
|
|
104
104
|
"value",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./components-
|
|
1
|
+
import "./components-CB2t5ag8.js";
|
|
2
2
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as n } from "./wt-button-
|
|
5
|
-
import { n as r } from "./wt-toast-
|
|
3
|
+
import { c as t } from "./enums-Bd-8yrmg.js";
|
|
4
|
+
import { t as n } from "./wt-button-BzYDkfhK.js";
|
|
5
|
+
import { n as r } from "./wt-toast-Lge1Y6IO.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,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./toZonedTime-B8L5kbse.js";
|
|
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-Bd-8yrmg.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-CtEfmUkB.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
|
|
9
|
-
function L(
|
|
10
|
-
if (typeof
|
|
11
|
-
...
|
|
12
|
-
timeZone:
|
|
9
|
+
function L(i, a, o) {
|
|
10
|
+
if (typeof i == "string" && !i.match(r)) return n(i, {
|
|
11
|
+
...o,
|
|
12
|
+
timeZone: a
|
|
13
13
|
});
|
|
14
|
-
|
|
15
|
-
let
|
|
16
|
-
return new Date(
|
|
14
|
+
i = n(i, o);
|
|
15
|
+
let s = e(i.getFullYear(), i.getMonth(), i.getDate(), i.getHours(), i.getMinutes(), i.getSeconds(), i.getMilliseconds()).getTime(), c = t(a, new Date(s));
|
|
16
|
+
return new Date(s + c);
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/components/wt-datepicker/_internals/composables/useAutoSeparator.ts
|
|
@@ -216,7 +216,7 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
216
216
|
"onMousedown",
|
|
217
217
|
"onMouseup",
|
|
218
218
|
"onMouseleave"
|
|
219
|
-
], Z = /*#__PURE__*/
|
|
219
|
+
], Z = /*#__PURE__*/ a(/* @__PURE__ */ y({
|
|
220
220
|
__name: "wt-datepicker",
|
|
221
221
|
props: /*@__PURE__*/ x({
|
|
222
222
|
showTime: { type: Boolean },
|
|
@@ -318,24 +318,24 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
318
318
|
"blur",
|
|
319
319
|
"keydown"
|
|
320
320
|
], ["update:modelValue"]),
|
|
321
|
-
setup(e, { emit:
|
|
322
|
-
let
|
|
321
|
+
setup(e, { emit: t }) {
|
|
322
|
+
let n = e, r = N(e, "modelValue"), { t: a } = u(), y = f({
|
|
323
323
|
get() {
|
|
324
|
-
if (!
|
|
325
|
-
let e = /* @__PURE__ */ new Date(+
|
|
326
|
-
return
|
|
324
|
+
if (!r.value) return null;
|
|
325
|
+
let e = /* @__PURE__ */ new Date(+r.value);
|
|
326
|
+
return n.timezone ? i(e, n.timezone) : e;
|
|
327
327
|
},
|
|
328
328
|
set(e) {
|
|
329
329
|
if (!e) {
|
|
330
|
-
if (!
|
|
331
|
-
|
|
330
|
+
if (!n.clearable) return;
|
|
331
|
+
r.value = null;
|
|
332
332
|
return;
|
|
333
333
|
}
|
|
334
|
-
let t =
|
|
335
|
-
|
|
334
|
+
let t = n.timezone ? L(e, n.timezone) : e;
|
|
335
|
+
r.value = t.getTime();
|
|
336
336
|
}
|
|
337
|
-
}), x = P("datepicker"), T = (e) => e, E = `datepicker-${Math.random().toString(36).slice(2, 11)}`, { onBlur: R, lockOverlay: z, unlockOverlay: B } = W(() => x.value?.$el?.querySelector("input") ?? null, () => x.value ?? null, () => !!
|
|
338
|
-
if (
|
|
337
|
+
}), x = P("datepicker"), T = (e) => e, E = `datepicker-${Math.random().toString(36).slice(2, 11)}`, { onBlur: R, lockOverlay: z, unlockOverlay: B } = W(() => x.value?.$el?.querySelector("input") ?? null, () => x.value ?? null, () => !!n.showTime, () => !!n.clearable), V = f(() => n.placholder || `dd/mm/yyyy ${n.showTime ? "hh:mm" : ""}`), H = () => {
|
|
338
|
+
if (n.showTime && y.value) {
|
|
339
339
|
let e = y.value;
|
|
340
340
|
C(() => {
|
|
341
341
|
y.value = new Date(e.getTime());
|
|
@@ -348,19 +348,19 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
348
348
|
}, 0);
|
|
349
349
|
}, U = () => {
|
|
350
350
|
B();
|
|
351
|
-
}, Z = f(() =>
|
|
351
|
+
}, Z = f(() => n.required ? `${n.label}*` : n.label), { v: ne, customValidators: re, regleValidation: ie } = j(n), { isValidation: ae, invalid: Q, validationText: $, validationTextColor: oe } = d({
|
|
352
352
|
v: ne,
|
|
353
353
|
customValidators: re,
|
|
354
354
|
regleValidation: ie
|
|
355
355
|
});
|
|
356
|
-
return (
|
|
357
|
-
let
|
|
356
|
+
return (t, n) => {
|
|
357
|
+
let r = k("wt-label"), i = k("wt-button"), u = k("wt-icon-btn"), d = k("wt-message");
|
|
358
358
|
return D(), h("div", G, [
|
|
359
|
-
v(
|
|
359
|
+
v(r, S(e.labelProps, { disabled: e.disabled }, {
|
|
360
360
|
for: E,
|
|
361
361
|
invalid: M(Q)
|
|
362
362
|
}), {
|
|
363
|
-
default: I(() => [O(
|
|
363
|
+
default: I(() => [O(t.$slots, "label", w(b({ label: e.label })), () => [_(A(Z.value), 1)], !0)], void 0, !0),
|
|
364
364
|
_: 3
|
|
365
365
|
}, 16, ["disabled", "invalid"]),
|
|
366
366
|
v(M(te), {
|
|
@@ -368,7 +368,7 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
368
368
|
ref: x,
|
|
369
369
|
id: E,
|
|
370
370
|
modelValue: y.value,
|
|
371
|
-
"onUpdate:modelValue":
|
|
371
|
+
"onUpdate:modelValue": n[0] ||= (e) => y.value = e,
|
|
372
372
|
"date-format": "dd/mm/yy",
|
|
373
373
|
"input-class": "typo-body-1",
|
|
374
374
|
required: e.required,
|
|
@@ -394,26 +394,26 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
394
394
|
onHide: U,
|
|
395
395
|
onBlur: M(R)
|
|
396
396
|
}, {
|
|
397
|
-
buttonbar: I(({ todayCallback:
|
|
398
|
-
color: M(
|
|
399
|
-
variant: M(
|
|
400
|
-
size: M(
|
|
401
|
-
onClick:
|
|
397
|
+
buttonbar: I(({ todayCallback: t, clearCallback: n }) => [g("div", K, [v(i, {
|
|
398
|
+
color: M(o).SECONDARY,
|
|
399
|
+
variant: M(c).OUTLINED,
|
|
400
|
+
size: M(s).SM,
|
|
401
|
+
onClick: t
|
|
402
402
|
}, {
|
|
403
|
-
default: I(() => [_(A(M(
|
|
403
|
+
default: I(() => [_(A(M(a)("reusable.today")), 1)], void 0, !0),
|
|
404
404
|
_: 1
|
|
405
405
|
}, 8, [
|
|
406
406
|
"color",
|
|
407
407
|
"variant",
|
|
408
408
|
"size",
|
|
409
409
|
"onClick"
|
|
410
|
-
]), ee(v(
|
|
411
|
-
color: M(
|
|
412
|
-
variant: M(
|
|
413
|
-
size: M(
|
|
414
|
-
onClick:
|
|
410
|
+
]), ee(v(i, {
|
|
411
|
+
color: M(o).SECONDARY,
|
|
412
|
+
variant: M(c).OUTLINED,
|
|
413
|
+
size: M(s).SM,
|
|
414
|
+
onClick: n
|
|
415
415
|
}, {
|
|
416
|
-
default: I(() => [_(A(M(
|
|
416
|
+
default: I(() => [_(A(M(a)("reusable.clear")), 1)], void 0, !0),
|
|
417
417
|
_: 1
|
|
418
418
|
}, 8, [
|
|
419
419
|
"color",
|
|
@@ -470,8 +470,8 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
470
470
|
M(ae) && M($) ? (D(), p(d, {
|
|
471
471
|
key: 0,
|
|
472
472
|
color: M(oe),
|
|
473
|
-
variant: M(
|
|
474
|
-
size: M(
|
|
473
|
+
variant: M(l).SIMPLE,
|
|
474
|
+
size: M(s).SM
|
|
475
475
|
}, {
|
|
476
476
|
default: I(() => [_(A(M($)), 1)], void 0, !0),
|
|
477
477
|
_: 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-CB2t5ag8.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { t as r } from "./utils-B_8uwL9P.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 {
|
|
2
|
+
import { c as t, o as n } from "./enums-Bd-8yrmg.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 {
|
|
2
|
+
import { c as t } from "./enums-Bd-8yrmg.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
4
|
import "./composables-OP5kSvlh.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 {
|
|
2
|
+
import { c as t } from "./enums-Bd-8yrmg.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,
|
|
2
|
+
import { a as t, c as n } from "./enums-Bd-8yrmg.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-Bd-8yrmg.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-DFtSR4bO.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-Bd-8yrmg.js";
|
|
2
|
+
import { n as t, t as n } from "./wt-toast-Lge1Y6IO.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-DFtSR4bO.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./wt-button-
|
|
3
|
+
import { c as n } from "./enums-Bd-8yrmg.js";
|
|
4
|
+
import { t as r } from "./wt-button-BzYDkfhK.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-BTtZq2BR.js → wt-screen-recordings-action-Cx7-2gDE.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-B_8uwL9P.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-CtEfmUkB.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,5 +1,6 @@
|
|
|
1
|
-
import { n as e
|
|
2
|
-
import
|
|
1
|
+
import { n as e } from "./components-CB2t5ag8.js";
|
|
2
|
+
import "./convertDuration-CGW5IDMW.js";
|
|
3
|
+
import { n as t, r as n } from "./clients-ClR-VL_c.js";
|
|
3
4
|
import { t as r } from "./vue-i18n-B88GcHzn.js";
|
|
4
5
|
import { n as i } from "./useEventBus-B-ZeklLu.js";
|
|
5
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";
|
|
@@ -1131,14 +1132,14 @@ var zt = /* @__PURE__ */ c({
|
|
|
1131
1132
|
agentId: null
|
|
1132
1133
|
});
|
|
1133
1134
|
async function C(e = {}) {
|
|
1134
|
-
let { items:
|
|
1135
|
+
let { items: t } = await n.getList({
|
|
1135
1136
|
...e,
|
|
1136
1137
|
userId: v.userId
|
|
1137
1138
|
});
|
|
1138
|
-
S.value.agentId =
|
|
1139
|
+
S.value.agentId = t[0]?.id;
|
|
1139
1140
|
}
|
|
1140
1141
|
let ee = async () => {
|
|
1141
|
-
let
|
|
1142
|
+
let e = await t.patch({
|
|
1142
1143
|
peers: [{
|
|
1143
1144
|
via: S.value.gateway.id,
|
|
1144
1145
|
id: v.chatItem?.externalId,
|
|
@@ -1147,28 +1148,28 @@ var zt = /* @__PURE__ */ c({
|
|
|
1147
1148
|
variables: { agentId: S.value.agentId },
|
|
1148
1149
|
message: { text: S.value.message }
|
|
1149
1150
|
});
|
|
1150
|
-
|
|
1151
|
+
e.failure && b?.$emit("notification", {
|
|
1151
1152
|
type: "error",
|
|
1152
|
-
text:
|
|
1153
|
+
text: e.failure[0].error.message
|
|
1153
1154
|
}), y("close");
|
|
1154
1155
|
}, w = (e) => {
|
|
1155
1156
|
S.value.message += e, document.querySelector("textarea")?.focus();
|
|
1156
1157
|
};
|
|
1157
|
-
return u(async () => await C()), (
|
|
1158
|
+
return u(async () => await C()), (t, n) => {
|
|
1158
1159
|
let r = p("wt-textarea"), i = p("wt-button"), c = p("wt-popup");
|
|
1159
|
-
return d(), a(c, l(
|
|
1160
|
+
return d(), a(c, l(t.$attrs, {
|
|
1160
1161
|
class: "wt-send-message-popup",
|
|
1161
1162
|
overflow: "",
|
|
1162
|
-
onClose:
|
|
1163
|
+
onClose: n[1] ||= (e) => y("close")
|
|
1163
1164
|
}), {
|
|
1164
1165
|
header: g(() => [o(m(h(x)("reusable.sendMessage")), 1)]),
|
|
1165
1166
|
main: g(() => [s(r, {
|
|
1166
1167
|
"model-value": S.value.message,
|
|
1167
|
-
"onUpdate:modelValue":
|
|
1168
|
+
"onUpdate:modelValue": n[0] ||= (e) => S.value.message = e,
|
|
1168
1169
|
placeholder: h(x)("objects.chat.draftPlaceholder"),
|
|
1169
1170
|
onEnter: ee
|
|
1170
1171
|
}, null, 8, ["model-value", "placeholder"])]),
|
|
1171
|
-
actions: g(() => [s(h(
|
|
1172
|
+
actions: g(() => [s(h(e), {
|
|
1172
1173
|
filled: "",
|
|
1173
1174
|
rounded: !1,
|
|
1174
1175
|
class: "wt-send-message-popup__emoji",
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as n } from "./
|
|
3
|
-
import { t as r } from "./
|
|
1
|
+
import { t as e } from "./convertDuration-CGW5IDMW.js";
|
|
2
|
+
import { c as t, v as n } from "./enums-Bd-8yrmg.js";
|
|
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
|
|
6
6
|
var f = [
|
|
7
7
|
{
|
|
8
8
|
locale: "webitelUI.statusSelect.online",
|
|
9
9
|
color: "success",
|
|
10
|
-
value:
|
|
10
|
+
value: n.ONLINE
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
locale: "webitelUI.statusSelect.pause",
|
|
14
14
|
color: "primary",
|
|
15
|
-
value:
|
|
15
|
+
value: n.PAUSE
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
locale: "webitelUI.statusSelect.offline",
|
|
19
19
|
color: "secondary",
|
|
20
|
-
value:
|
|
20
|
+
value: n.OFFLINE
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
locale: "webitelUI.statusSelect.breakOut",
|
|
24
24
|
color: "break-out",
|
|
25
|
-
value:
|
|
25
|
+
value: n.BREAK_OUT
|
|
26
26
|
}
|
|
27
27
|
], p = /* @__PURE__ */ s({
|
|
28
28
|
__name: "wt-status-select",
|
|
29
29
|
props: {
|
|
30
|
-
status: { default:
|
|
30
|
+
status: { default: n.OFFLINE },
|
|
31
31
|
statusDuration: { default: 0 },
|
|
32
32
|
options: {},
|
|
33
33
|
disabled: {
|
|
@@ -37,14 +37,14 @@ var f = [
|
|
|
37
37
|
},
|
|
38
38
|
emits: ["change"],
|
|
39
39
|
setup(s, { emit: p }) {
|
|
40
|
-
let m = s, h = p, { t: g } =
|
|
40
|
+
let m = s, h = p, { t: g } = r(), _ = i(() => m.options ? m.options : f.map((e) => ({
|
|
41
41
|
...e,
|
|
42
42
|
text: g(e.locale)
|
|
43
|
-
}))), v = i(() => _.value.find((e) => e.value === m.status)), y = i(() => _.value.filter((e) => e.value !==
|
|
43
|
+
}))), v = i(() => _.value.find((e) => e.value === m.status)), y = i(() => _.value.filter((e) => e.value !== n.BREAK_OUT && (e.value !== n.OFFLINE || m.status !== n.OFFLINE))), b = i(() => typeof m.statusDuration == "string" ? m.statusDuration : m.statusDuration === void 0 ? v.value?.text ?? "" : e(m.statusDuration));
|
|
44
44
|
function x(e) {
|
|
45
45
|
h("change", e.value);
|
|
46
46
|
}
|
|
47
|
-
return (
|
|
47
|
+
return (e, n) => {
|
|
48
48
|
let r = l("wt-indicator"), i = l("wt-single-select");
|
|
49
49
|
return c(), a(i, {
|
|
50
50
|
"show-clear": !1,
|
|
@@ -54,7 +54,7 @@ var f = [
|
|
|
54
54
|
disabled: s.disabled,
|
|
55
55
|
class: "wt-status-select",
|
|
56
56
|
"data-key": "value",
|
|
57
|
-
size: u(
|
|
57
|
+
size: u(t).SM,
|
|
58
58
|
"onUpdate:modelValue": x
|
|
59
59
|
}, {
|
|
60
60
|
value: d(() => [o(r, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./wt-badge-
|
|
2
|
+
import { c as t } from "./enums-Bd-8yrmg.js";
|
|
3
|
+
import { t as n } from "./wt-badge-lFnfK2an.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-CeGGT2PO.js";
|
|
7
7
|
import { t as s } from "./composables-OP5kSvlh.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 {
|
|
2
|
+
import { c as t, r as n } from "./enums-Bd-8yrmg.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-CtEfmUkB.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 {
|
|
1
|
+
import { t as e } from "./wt-icon-DFtSR4bO.js";
|
|
2
|
+
import { c as t, i as n } from "./enums-Bd-8yrmg.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) {
|
|
@@ -43,14 +43,14 @@ var b = y(), x = {
|
|
|
43
43
|
warn: "warning",
|
|
44
44
|
error: "error"
|
|
45
45
|
}, x = {
|
|
46
|
-
success:
|
|
47
|
-
info:
|
|
48
|
-
warn:
|
|
49
|
-
error:
|
|
50
|
-
contrast:
|
|
51
|
-
secondary:
|
|
46
|
+
success: n.SUCCESS,
|
|
47
|
+
info: n.INFO,
|
|
48
|
+
warn: n.WARN,
|
|
49
|
+
error: n.ERROR,
|
|
50
|
+
contrast: n.CONTRAST,
|
|
51
|
+
secondary: n.SECONDARY
|
|
52
52
|
}, T = (e) => `fill: var(--p-toast-${e.severity ? x[e.severity] : ""}-icon-color)`;
|
|
53
|
-
return (
|
|
53
|
+
return (n, l) => {
|
|
54
54
|
let _ = m("p-toast");
|
|
55
55
|
return p(), i(_, d(u(g(y))), {
|
|
56
56
|
message: v(({ message: t }) => [t ? (p(), o(r, { key: 0 }, [c(e, {
|
|
@@ -60,7 +60,7 @@ var b = y(), x = {
|
|
|
60
60
|
}, null, 8, ["icon", "style"]), s("div", S, [s("span", C, h(t.summary), 1), t.detail ? (p(), o("div", w, h(t.detail), 1)) : a("", !0)])], 64)) : a("", !0)]),
|
|
61
61
|
closeicon: v(() => [c(e, {
|
|
62
62
|
icon: "close",
|
|
63
|
-
size: g(
|
|
63
|
+
size: g(t).SM
|
|
64
64
|
}, null, 8, ["size"])]),
|
|
65
65
|
_: 1
|
|
66
66
|
}, 16);
|
|
@@ -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-CeGGT2PO.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
|