@webitel/ui-sdk 26.8.97 → 26.8.99
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-9rILOBrM.js → clients-DenpsPyu.js} +1 -1
- package/dist/{components-Dost4BNg.js → components-CMBVRgca.js} +80 -78
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +2 -2
- package/dist/{wt-chat-emoji-DXC4OU5L.js → wt-chat-emoji-DGnuASX3.js} +1 -1
- package/dist/{wt-display-chip-items-C1EJ62xe.js → wt-display-chip-items-DVE5aPNw.js} +1 -1
- package/dist/{wt-send-message-popup-BSLk9osS.js → wt-send-message-popup-DNRwANy-.js} +2 -2
- package/dist/{wt-status-select-z4n_FL2z.js → wt-status-select-CDt8sZr9.js} +7 -1
- package/dist/{wt-type-extension-value-input-ZqfUFvcs.js → wt-type-extension-value-input-CUx43R8o.js} +2 -2
- package/dist/{wt-vidstack-player-BtSrpzDY.js → wt-vidstack-player-_x_GEpy4.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-input-text/__tests__/WtInputText.spec.js +29 -6
- package/src/components/wt-input-text/wt-input-text.vue +12 -2
- package/src/components/wt-status-select/wt-status-select.vue +4 -1
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +4 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-input-text/wt-input-text.vue.d.ts +4 -2
- package/types/components/wt-status-select/wt-status-select.vue.d.ts +2 -0
- package/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
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 { E as c } from "./components-
|
|
4
|
+
import { E as c } from "./components-CMBVRgca.js";
|
|
5
5
|
import { m as l } from "./enums-B_9ZBu01.js";
|
|
6
6
|
import { i as u, o as d } from "./utils-DReAiJBV.js";
|
|
7
7
|
import { t as f } from "./deep-copy-7O5ej7vT.js";
|
|
@@ -4,13 +4,13 @@ import { t as i } from "./wt-icon-ClDNfV5I.js";
|
|
|
4
4
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
5
5
|
import { a as o, c as s, i as c, l, n as u, p as d, r as f, s as p, u as m, y as h } from "./enums-B_9ZBu01.js";
|
|
6
6
|
import { a as g, i as _, n as v, r as y, t as b } from "./utils-DReAiJBV.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import { n as
|
|
9
|
-
import { t as
|
|
7
|
+
import { t as ee } from "./wt-badge-tosjsmJU.js";
|
|
8
|
+
import { n as te, t as x } from "./wt-button-CNQAK85M.js";
|
|
9
|
+
import { t as ne } from "./vue-i18n-B88GcHzn.js";
|
|
10
10
|
import "./debounce-A4B4PTkL.js";
|
|
11
|
-
import { t as
|
|
11
|
+
import { t as re } from "./wt-toast-DKjRJFE2.js";
|
|
12
12
|
import "./sortQueryAdapters-CyYXvnDN.js";
|
|
13
|
-
import { t as
|
|
13
|
+
import { t as S } from "./wt-checkbox-BBdi-1oS.js";
|
|
14
14
|
import { t as ie } from "./wt-icon-action-B8vuj9cC.js";
|
|
15
15
|
import { t as ae } from "./wt-icon-btn-DDElLZil.js";
|
|
16
16
|
import { t as oe } from "./useValidation-Dmm2xos_.js";
|
|
@@ -614,7 +614,7 @@ var mn = /* @__PURE__ */ j({
|
|
|
614
614
|
tooltipTextPrefix: { default: "connectionQuality" }
|
|
615
615
|
},
|
|
616
616
|
setup(e) {
|
|
617
|
-
let t = e, { t: n } =
|
|
617
|
+
let t = e, { t: n } = ne(), r = C(() => t.quality ? t.quality : $t(t.mosAvg ?? void 0)), i = C(() => r.value ? n(`${t.tooltipTextPrefix}.${r.value}`) : void 0);
|
|
618
618
|
return (t, n) => {
|
|
619
619
|
let a = B("wt-icon"), o = V("tooltip");
|
|
620
620
|
return r.value ? J((L(), w(a, {
|
|
@@ -998,18 +998,18 @@ var Vn = /*#__PURE__*/ a(zn, [["render", Bn], ["__scopeId", "data-v-4a646a2c"]])
|
|
|
998
998
|
v: u,
|
|
999
999
|
customValidators: d,
|
|
1000
1000
|
regleValidation: p
|
|
1001
|
-
}), { focus: v, handleKeyup: y, removeAutocomplete: b } = se(o),
|
|
1001
|
+
}), { focus: v, handleKeyup: y, removeAutocomplete: b } = se(o), ee = C(() => r.label || c.label), te = C(() => r.required || r.v && "required" in r.v ? `${r.label}*` : r.label);
|
|
1002
1002
|
return Me(() => {
|
|
1003
1003
|
b();
|
|
1004
1004
|
}), t({ focus: v }), (t, n) => {
|
|
1005
1005
|
let r = B("wt-label"), c = B("p-input-group-addon"), u = B("wt-icon"), d = B("p-input-number"), p = B("p-input-group"), v = B("wt-message");
|
|
1006
1006
|
return L(), E("div", Hn, [
|
|
1007
|
-
|
|
1007
|
+
ee.value ? (L(), w(r, P({ key: 0 }, e.labelProps, {
|
|
1008
1008
|
disabled: e.disabled,
|
|
1009
1009
|
for: s,
|
|
1010
1010
|
invalid: G(h)
|
|
1011
1011
|
}), {
|
|
1012
|
-
default: q(() => [z(t.$slots, "label", I(M({ label: e.label })), () => [O(U(
|
|
1012
|
+
default: q(() => [z(t.$slots, "label", I(M({ label: e.label })), () => [O(U(te.value), 1)])], void 0, !0),
|
|
1013
1013
|
_: 3
|
|
1014
1014
|
}, 16, ["disabled", "invalid"])) : T("", !0),
|
|
1015
1015
|
k(p, null, {
|
|
@@ -1135,7 +1135,7 @@ var Vn = /*#__PURE__*/ a(zn, [["render", Bn], ["__scopeId", "data-v-4a646a2c"]])
|
|
|
1135
1135
|
modelValue: { default: "" },
|
|
1136
1136
|
modelModifiers: {}
|
|
1137
1137
|
}),
|
|
1138
|
-
emits: /*@__PURE__*/ N(["focus"], ["update:modelValue"]),
|
|
1138
|
+
emits: /*@__PURE__*/ N(["focus", "blur"], ["update:modelValue"]),
|
|
1139
1139
|
setup(e, { expose: t, emit: n }) {
|
|
1140
1140
|
let r = e, i = {
|
|
1141
1141
|
[l.SM]: "small",
|
|
@@ -1144,19 +1144,20 @@ var Vn = /*#__PURE__*/ a(zn, [["render", Bn], ["__scopeId", "data-v-4a646a2c"]])
|
|
|
1144
1144
|
v: p,
|
|
1145
1145
|
customValidators: m,
|
|
1146
1146
|
regleValidation: h
|
|
1147
|
-
}), { focus: b, handleKeyup:
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1147
|
+
}), { focus: b, handleKeyup: ee } = se(o), te = C(() => r.label || u.label), x = C(() => r.required || r.v && "required" in r.v ? `${r.label}*` : r.label), ne = (e) => {
|
|
1148
|
+
a.value = e;
|
|
1149
|
+
}, re = (e) => {
|
|
1150
|
+
!r.preventTrim && typeof a.value == "string" && (a.value = a.value.trim()), c("blur", e);
|
|
1151
|
+
}, S = R(r.hideInputValue), ie = C(() => !!a.value?.length && S.value), ae = C(() => S.value ? "eye--opened" : "eye--closed");
|
|
1151
1152
|
return t({ focus: b }), (t, n) => {
|
|
1152
1153
|
let r = B("wt-label"), u = B("p-input-group-addon"), p = B("p-input-text"), m = B("wt-icon-btn"), h = B("p-input-group"), b = B("wt-message");
|
|
1153
1154
|
return L(), E("div", Wn, [
|
|
1154
|
-
|
|
1155
|
+
te.value ? (L(), w(r, P({ key: 0 }, e.labelProps, {
|
|
1155
1156
|
disabled: e.disabled,
|
|
1156
1157
|
for: s,
|
|
1157
1158
|
invalid: G(_)
|
|
1158
1159
|
}), {
|
|
1159
|
-
default: q(() => [z(t.$slots, "label", I(M({ label: e.label })), () => [O(U(
|
|
1160
|
+
default: q(() => [z(t.$slots, "label", I(M({ label: e.label })), () => [O(U(x.value), 1)], !0)], void 0, !0),
|
|
1160
1161
|
_: 3
|
|
1161
1162
|
}, 16, ["disabled", "invalid"])) : T("", !0),
|
|
1162
1163
|
k(h, null, {
|
|
@@ -1176,13 +1177,14 @@ var Vn = /*#__PURE__*/ a(zn, [["render", Bn], ["__scopeId", "data-v-4a646a2c"]])
|
|
|
1176
1177
|
disabled: e.disabled,
|
|
1177
1178
|
invalid: G(_),
|
|
1178
1179
|
placeholder: e.placeholder || e.label,
|
|
1179
|
-
class: ["wt-input-text__input typo-body-1", { "wt-input-text__input--masked":
|
|
1180
|
+
class: ["wt-input-text__input typo-body-1", { "wt-input-text__input--masked": ie.value }],
|
|
1180
1181
|
inputmode: e.type,
|
|
1181
1182
|
size: e.size ? i[e.size] : void 0
|
|
1182
1183
|
}, ze(d.value), {
|
|
1183
|
-
"onUpdate:modelValue":
|
|
1184
|
-
onKeyup: G(
|
|
1185
|
-
onFocus: n[0] ||= (e) => c("focus", e)
|
|
1184
|
+
"onUpdate:modelValue": ne,
|
|
1185
|
+
onKeyup: G(ee),
|
|
1186
|
+
onFocus: n[0] ||= (e) => c("focus", e),
|
|
1187
|
+
onBlur: re
|
|
1186
1188
|
}), null, 16, [
|
|
1187
1189
|
"model-value",
|
|
1188
1190
|
"disabled",
|
|
@@ -1199,9 +1201,9 @@ var Vn = /*#__PURE__*/ a(zn, [["render", Bn], ["__scopeId", "data-v-4a646a2c"]])
|
|
|
1199
1201
|
}, {
|
|
1200
1202
|
default: q(() => [e.hideInputValue ? (L(), w(m, {
|
|
1201
1203
|
key: 0,
|
|
1202
|
-
icon:
|
|
1204
|
+
icon: ae.value,
|
|
1203
1205
|
disabled: e.disabled,
|
|
1204
|
-
onClick: n[1] ||= (e) =>
|
|
1206
|
+
onClick: n[1] ||= (e) => S.value = !S.value
|
|
1205
1207
|
}, null, 8, ["icon", "disabled"])) : T("", !0), z(t.$slots, "suffix", {}, void 0, !0)], void 0, !0),
|
|
1206
1208
|
_: 3
|
|
1207
1209
|
})) : T("", !0)
|
|
@@ -1224,7 +1226,7 @@ var Vn = /*#__PURE__*/ a(zn, [["render", Bn], ["__scopeId", "data-v-4a646a2c"]])
|
|
|
1224
1226
|
]);
|
|
1225
1227
|
};
|
|
1226
1228
|
}
|
|
1227
|
-
}), [["__scopeId", "data-v-
|
|
1229
|
+
}), [["__scopeId", "data-v-ba670260"]]);
|
|
1228
1230
|
//#endregion
|
|
1229
1231
|
//#region node_modules/@vueuse/shared/dist/index.js
|
|
1230
1232
|
function Kn(e = {}) {
|
|
@@ -1781,9 +1783,9 @@ function Pr(e, t = {}) {
|
|
|
1781
1783
|
right: !1,
|
|
1782
1784
|
top: !1,
|
|
1783
1785
|
bottom: !1
|
|
1784
|
-
}),
|
|
1786
|
+
}), ee = (e) => {
|
|
1785
1787
|
v.value && (v.value = !1, b.left = !1, b.right = !1, b.top = !1, b.bottom = !1, i(e));
|
|
1786
|
-
},
|
|
1788
|
+
}, te = lr(ee, n + r), x = (e) => {
|
|
1787
1789
|
var t;
|
|
1788
1790
|
if (!u) return;
|
|
1789
1791
|
let n = (e == null || (t = e.document) == null ? void 0 : t.documentElement) || e?.documentElement || Z(e), { display: r, flexDirection: i, direction: a } = u.getComputedStyle(n), s = a === "rtl" ? -1 : 1, c = n.scrollLeft;
|
|
@@ -1794,25 +1796,25 @@ function Pr(e, t = {}) {
|
|
|
1794
1796
|
e === u.document && !f && (f = u.document.body.scrollTop), b.top = f < m.value, b.bottom = f > m.value;
|
|
1795
1797
|
let h = Math.abs(f) <= (o.top || 0), g = Math.abs(f) + n.clientHeight >= n.scrollHeight - (o.bottom || 0) - Nr;
|
|
1796
1798
|
r === "flex" && i === "column-reverse" ? (y.top = g, y.bottom = h) : (y.top = h, y.bottom = g), m.value = f;
|
|
1797
|
-
},
|
|
1798
|
-
u && (
|
|
1799
|
+
}, ne = (e) => {
|
|
1800
|
+
u && (x(e.target.documentElement ?? e.target), v.value = !0, te(e), a(e));
|
|
1799
1801
|
};
|
|
1800
|
-
return Q(e, "scroll", n ? ur(
|
|
1802
|
+
return Q(e, "scroll", n ? ur(ne, n, !0, !1) : ne, c), dr(() => {
|
|
1801
1803
|
try {
|
|
1802
1804
|
let t = W(e);
|
|
1803
1805
|
if (!t) return;
|
|
1804
|
-
|
|
1806
|
+
x(t);
|
|
1805
1807
|
} catch (e) {
|
|
1806
1808
|
d(e);
|
|
1807
1809
|
}
|
|
1808
1810
|
}), f?.mutation && e != null && e !== u && e !== document && yr(e, () => {
|
|
1809
1811
|
let t = W(e);
|
|
1810
|
-
t &&
|
|
1812
|
+
t && x(t);
|
|
1811
1813
|
}, {
|
|
1812
1814
|
attributes: !0,
|
|
1813
1815
|
childList: !0,
|
|
1814
1816
|
subtree: !0
|
|
1815
|
-
}), Q(e, "scrollend",
|
|
1817
|
+
}), Q(e, "scrollend", ee, c), {
|
|
1816
1818
|
x: h,
|
|
1817
1819
|
y: g,
|
|
1818
1820
|
isScrolling: v,
|
|
@@ -1820,7 +1822,7 @@ function Pr(e, t = {}) {
|
|
|
1820
1822
|
directions: b,
|
|
1821
1823
|
measure() {
|
|
1822
1824
|
let t = W(e);
|
|
1823
|
-
u && t &&
|
|
1825
|
+
u && t && x(t);
|
|
1824
1826
|
}
|
|
1825
1827
|
};
|
|
1826
1828
|
}
|
|
@@ -1877,10 +1879,10 @@ function Lr(e = {}) {
|
|
|
1877
1879
|
l instanceof MouseEvent && e && (f.value = e[0] + a.scrollX - u, p.value = e[1] + a.scrollY - d);
|
|
1878
1880
|
}, y = () => {
|
|
1879
1881
|
f.value = i.x, p.value = i.y;
|
|
1880
|
-
}, b = c ? (e) => c(() => g(e), {}) : (e) => g(e),
|
|
1882
|
+
}, b = c ? (e) => c(() => g(e), {}) : (e) => g(e), ee = c ? (e) => c(() => _(e), {}) : (e) => _(e), te = c ? () => c(() => v(), {}) : () => v();
|
|
1881
1883
|
if (o) {
|
|
1882
1884
|
let e = { passive: !0 };
|
|
1883
|
-
Q(o, ["mousemove", "dragover"], b, e), n && t !== "movement" && (Q(o, ["touchstart", "touchmove"],
|
|
1885
|
+
Q(o, ["mousemove", "dragover"], b, e), n && t !== "movement" && (Q(o, ["touchstart", "touchmove"], ee, e), r && Q(o, "touchend", y, e)), s && t === "page" && Q(a, "scroll", te, e);
|
|
1884
1886
|
}
|
|
1885
1887
|
return {
|
|
1886
1888
|
x: f,
|
|
@@ -2351,7 +2353,7 @@ var ri = /*#__PURE__*/ a(ti, [["render", ni]]), ii = "data:image/svg+xml,%3csvg%
|
|
|
2351
2353
|
setup(e, { emit: t }) {
|
|
2352
2354
|
let n = e, r = He(e, "modelValue", { get(e) {
|
|
2353
2355
|
return le(e);
|
|
2354
|
-
} }), { t: i } =
|
|
2356
|
+
} }), { t: i } = ne(), a = `select-${Math.random().toString(36).slice(2, 11)}`, o = We("filterInput"), s = R(), c = t, { showFooterLoader: u, isDropdownOpen: d, filterText: p, filteredOptions: h, getOptionLabel: g, onDropdownBeforeShow: _, onDropdownBeforeHide: v, onDropdownShow: y, onDropdownHide: b, filterOptions: ee, onInputKeydown: te, clearValue: x } = ce({
|
|
2355
2357
|
selected: r,
|
|
2356
2358
|
options: C(() => [...n.options]),
|
|
2357
2359
|
optionLabel: C(() => n.optionLabel),
|
|
@@ -2366,15 +2368,15 @@ var ri = /*#__PURE__*/ a(ti, [["render", ni]]), ii = "data:image/svg+xml,%3csvg%
|
|
|
2366
2368
|
isSingle: !1,
|
|
2367
2369
|
strictApiOptions: C(() => n.strictApiOptions),
|
|
2368
2370
|
emit: c
|
|
2369
|
-
}),
|
|
2370
|
-
v:
|
|
2371
|
+
}), re = Ue(), { v: S, customValidators: ie, regleValidation: ae } = Ve(n), { isValidation: se, invalid: ue, validationText: de, validationTextColor: fe } = oe({
|
|
2372
|
+
v: S,
|
|
2371
2373
|
customValidators: ie,
|
|
2372
2374
|
regleValidation: ae
|
|
2373
|
-
}), pe = C(() => n.label ||
|
|
2375
|
+
}), pe = C(() => n.label || re.label), me = C(() => n.required || n.v && "required" in n.v ? `${n.label}*` : n.label), he = () => {
|
|
2374
2376
|
b(), c("hide");
|
|
2375
2377
|
};
|
|
2376
2378
|
return (t, c) => {
|
|
2377
|
-
let b = B("wt-label"),
|
|
2379
|
+
let b = B("wt-label"), ne = B("wt-icon"), re = B("wt-input-text"), S = B("wt-checkbox"), ie = B("wt-icon-btn"), ae = B("wt-loader"), oe = B("wt-chip"), ce = B("p-multi-select"), le = B("wt-message"), ge = V("tooltip");
|
|
2378
2380
|
return L(), E("div", li, [
|
|
2379
2381
|
pe.value ? (L(), w(b, P({ key: 0 }, e.labelProps, {
|
|
2380
2382
|
disabled: e.disabled,
|
|
@@ -2417,21 +2419,21 @@ var ri = /*#__PURE__*/ a(ti, [["render", ni]]), ii = "data:image/svg+xml,%3csvg%
|
|
|
2417
2419
|
onShow: G(y),
|
|
2418
2420
|
onHide: he
|
|
2419
2421
|
}), Ce({
|
|
2420
|
-
header: q(() => [e.filterable ? (L(), w(
|
|
2422
|
+
header: q(() => [e.filterable ? (L(), w(re, {
|
|
2421
2423
|
key: 0,
|
|
2422
2424
|
ref_key: "filterInput",
|
|
2423
2425
|
ref: o,
|
|
2424
2426
|
class: "wt-multi-select__input",
|
|
2425
2427
|
"model-value": G(p),
|
|
2426
2428
|
size: G(l).SM,
|
|
2427
|
-
"onUpdate:modelValue": c[1] ||= (e) => G(
|
|
2428
|
-
onKeydown: qe(Je(G(
|
|
2429
|
+
"onUpdate:modelValue": c[1] ||= (e) => G(ee)(e),
|
|
2430
|
+
onKeydown: qe(Je(G(te), ["stop"]), ["enter"])
|
|
2429
2431
|
}, {
|
|
2430
|
-
suffix: q(() => [e.allowCustomValues && G(p) ? (L(), w(
|
|
2432
|
+
suffix: q(() => [e.allowCustomValues && G(p) ? (L(), w(ne, {
|
|
2431
2433
|
key: 0,
|
|
2432
2434
|
disabled: "",
|
|
2433
2435
|
icon: "select-custom-value-enter"
|
|
2434
|
-
})) : T("", !0), k(
|
|
2436
|
+
})) : T("", !0), k(ne, {
|
|
2435
2437
|
disabled: "",
|
|
2436
2438
|
icon: "search"
|
|
2437
2439
|
})]),
|
|
@@ -2442,16 +2444,16 @@ var ri = /*#__PURE__*/ a(ti, [["render", ni]]), ii = "data:image/svg+xml,%3csvg%
|
|
|
2442
2444
|
"onKeydown"
|
|
2443
2445
|
])) : T("", !0)]),
|
|
2444
2446
|
option: q(({ option: e }) => [J((L(), E("span", di, [O(U(G(g)(e)), 1)])), [[ge, G(g)(e)]])]),
|
|
2445
|
-
itemcheckboxicon: q(({ checked: e }) => [k(
|
|
2447
|
+
itemcheckboxicon: q(({ checked: e }) => [k(S, {
|
|
2446
2448
|
selected: e,
|
|
2447
2449
|
class: "wt-multi-select__option-checkbox"
|
|
2448
2450
|
}, null, 8, ["selected"])]),
|
|
2449
2451
|
clearicon: q(() => [e.showClear && r.value ? (L(), w(ie, {
|
|
2450
2452
|
key: 0,
|
|
2451
2453
|
icon: "close",
|
|
2452
|
-
onClick: G(
|
|
2454
|
+
onClick: G(x)
|
|
2453
2455
|
}, null, 8, ["onClick"])) : T("", !0)]),
|
|
2454
|
-
dropdownicon: q(() => [k(
|
|
2456
|
+
dropdownicon: q(() => [k(ne, { icon: G(d) ? "arrow-up" : "arrow-down" }, null, 8, ["icon"])]),
|
|
2455
2457
|
loadingicon: q(() => [k(ae, { size: G(l).SM }, null, 8, ["size"])]),
|
|
2456
2458
|
chip: q(({ value: e, removeCallback: t }) => [k(oe, {
|
|
2457
2459
|
removable: "",
|
|
@@ -2720,7 +2722,7 @@ var Zi = /*#__PURE__*/ a(Gi, [["render", Xi], ["__scopeId", "data-v-5270d938"]])
|
|
|
2720
2722
|
v: s,
|
|
2721
2723
|
customValidators: c,
|
|
2722
2724
|
regleValidation: u
|
|
2723
|
-
}), { focus: g, handleKeyup: _ } = se(i), v = R(!1), y = C(() => n.label || o.label), b = C(() => n.required ? `${n.label}*` : n.label),
|
|
2725
|
+
}), { focus: g, handleKeyup: _ } = se(i), v = R(!1), y = C(() => n.label || o.label), b = C(() => n.required ? `${n.label}*` : n.label), ee = C(() => v.value ? "eye--closed" : "eye--opened"), te = C(() => v.value ? "text" : "password"), x = () => {
|
|
2724
2726
|
v.value = !v.value;
|
|
2725
2727
|
};
|
|
2726
2728
|
return t({ focus: g }), (t, n) => {
|
|
@@ -2746,7 +2748,7 @@ var Zi = /*#__PURE__*/ a(Gi, [["render", Xi], ["__scopeId", "data-v-5270d938"]])
|
|
|
2746
2748
|
placeholder: e.placeholder || e.label,
|
|
2747
2749
|
"toggle-mask": !1,
|
|
2748
2750
|
feedback: !1,
|
|
2749
|
-
"input-props": { type:
|
|
2751
|
+
"input-props": { type: te.value },
|
|
2750
2752
|
"input-class": "wt-password__input typo-body-1"
|
|
2751
2753
|
}, { onKeyup: G(_) }), null, 16, [
|
|
2752
2754
|
"modelValue",
|
|
@@ -2758,8 +2760,8 @@ var Zi = /*#__PURE__*/ a(Gi, [["render", Xi], ["__scopeId", "data-v-5270d938"]])
|
|
|
2758
2760
|
]), e.toggleMask ? (L(), w(u, { key: 0 }, {
|
|
2759
2761
|
default: q(() => [k(c, {
|
|
2760
2762
|
disabled: e.disabled,
|
|
2761
|
-
icon:
|
|
2762
|
-
onClick:
|
|
2763
|
+
icon: ee.value,
|
|
2764
|
+
onClick: x
|
|
2763
2765
|
}, null, 8, ["disabled", "icon"])], void 0, !0),
|
|
2764
2766
|
_: 1
|
|
2765
2767
|
})) : T("", !0)], void 0, !0),
|
|
@@ -3337,7 +3339,7 @@ var Da = /*#__PURE__*/ a(Ta, [["render", Ea], ["__scopeId", "data-v-511819c2"]])
|
|
|
3337
3339
|
let n = e, r = {
|
|
3338
3340
|
[l.SM]: "small",
|
|
3339
3341
|
[l.LG]: "large"
|
|
3340
|
-
}, i = He(e, "modelValue", { get: (e) => e == null ? "" : typeof e == "object" ? Object.keys(e).length > 0 ? e : "" : e }), a = t, o = `select-${Math.random().toString(36).slice(2, 11)}`, s = We("filterInput"), c = R(), { showFooterLoader: u, isDropdownOpen: d, filterText: p, filteredOptions: m, getOptionLabel: h, onDropdownBeforeShow: g, onDropdownBeforeHide: _, onDropdownShow: v, onDropdownHide: y, filterOptions: b, onInputKeydown:
|
|
3342
|
+
}, i = He(e, "modelValue", { get: (e) => e == null ? "" : typeof e == "object" ? Object.keys(e).length > 0 ? e : "" : e }), a = t, o = `select-${Math.random().toString(36).slice(2, 11)}`, s = We("filterInput"), c = R(), { showFooterLoader: u, isDropdownOpen: d, filterText: p, filteredOptions: m, getOptionLabel: h, onDropdownBeforeShow: g, onDropdownBeforeHide: _, onDropdownShow: v, onDropdownHide: y, filterOptions: b, onInputKeydown: ee, clearValue: te } = ce({
|
|
3341
3343
|
selected: i,
|
|
3342
3344
|
options: C(() => [...n.options]),
|
|
3343
3345
|
optionLabel: C(() => n.optionLabel),
|
|
@@ -3351,15 +3353,15 @@ var Da = /*#__PURE__*/ a(Ta, [["render", Ea], ["__scopeId", "data-v-511819c2"]])
|
|
|
3351
3353
|
isSingle: !0,
|
|
3352
3354
|
strictApiOptions: C(() => n.strictApiOptions),
|
|
3353
3355
|
emit: a
|
|
3354
|
-
}),
|
|
3355
|
-
v:
|
|
3356
|
-
customValidators:
|
|
3357
|
-
regleValidation:
|
|
3358
|
-
}), ue = C(() => n.label ||
|
|
3356
|
+
}), x = Ue(), { v: ne, customValidators: re, regleValidation: S } = Ve(n), { isValidation: ie, invalid: ae, validationText: se, validationTextColor: le } = oe({
|
|
3357
|
+
v: ne,
|
|
3358
|
+
customValidators: re,
|
|
3359
|
+
regleValidation: S
|
|
3360
|
+
}), ue = C(() => n.label || x.label), de = C(() => n.required || n.v && "required" in n.v ? `${n.label}*` : n.label), fe = () => {
|
|
3359
3361
|
y(), a("hide");
|
|
3360
3362
|
};
|
|
3361
3363
|
return (t, a) => {
|
|
3362
|
-
let y = B("wt-label"),
|
|
3364
|
+
let y = B("wt-label"), x = B("wt-icon"), ne = B("wt-input-text"), re = B("wt-icon-btn"), S = B("wt-loader"), oe = B("p-select"), ce = B("wt-message"), pe = V("tooltip");
|
|
3363
3365
|
return L(), E("div", { class: F(["wt-single-select", { "wt-single-select--has-value": i.value }]) }, [
|
|
3364
3366
|
ue.value ? (L(), w(y, P({ key: 0 }, e.labelProps, {
|
|
3365
3367
|
disabled: e.disabled,
|
|
@@ -3395,7 +3397,7 @@ var Da = /*#__PURE__*/ a(Ta, [["render", Ea], ["__scopeId", "data-v-511819c2"]])
|
|
|
3395
3397
|
onShow: G(v),
|
|
3396
3398
|
onHide: fe
|
|
3397
3399
|
}), Ce({
|
|
3398
|
-
header: q(() => [e.filterable ? (L(), w(
|
|
3400
|
+
header: q(() => [e.filterable ? (L(), w(ne, {
|
|
3399
3401
|
key: 0,
|
|
3400
3402
|
ref_key: "filterInput",
|
|
3401
3403
|
ref: s,
|
|
@@ -3403,13 +3405,13 @@ var Da = /*#__PURE__*/ a(Ta, [["render", Ea], ["__scopeId", "data-v-511819c2"]])
|
|
|
3403
3405
|
"model-value": G(p),
|
|
3404
3406
|
size: G(l).SM,
|
|
3405
3407
|
"onUpdate:modelValue": a[0] ||= (e) => G(b)(e),
|
|
3406
|
-
onKeydown: qe(Je(G(
|
|
3408
|
+
onKeydown: qe(Je(G(ee), ["stop"]), ["enter"])
|
|
3407
3409
|
}, {
|
|
3408
|
-
suffix: q(() => [e.allowCustomValues && G(p) ? (L(), w(
|
|
3410
|
+
suffix: q(() => [e.allowCustomValues && G(p) ? (L(), w(x, {
|
|
3409
3411
|
key: 0,
|
|
3410
3412
|
disabled: "",
|
|
3411
3413
|
icon: "select-custom-value-enter"
|
|
3412
|
-
})) : T("", !0), k(
|
|
3414
|
+
})) : T("", !0), k(x, {
|
|
3413
3415
|
disabled: "",
|
|
3414
3416
|
icon: "search"
|
|
3415
3417
|
})]),
|
|
@@ -3423,13 +3425,13 @@ var Da = /*#__PURE__*/ a(Ta, [["render", Ea], ["__scopeId", "data-v-511819c2"]])
|
|
|
3423
3425
|
option: e,
|
|
3424
3426
|
getOptionLabel: G(h)
|
|
3425
3427
|
})), () => [J((L(), E("span", Ma, [O(U(G(h)(e)), 1)])), [[pe, G(h)(e)]])], !0)]),
|
|
3426
|
-
clearicon: q(() => [e.showClear && i.value ? (L(), w(
|
|
3428
|
+
clearicon: q(() => [e.showClear && i.value ? (L(), w(re, {
|
|
3427
3429
|
key: 0,
|
|
3428
3430
|
icon: "close",
|
|
3429
|
-
onClick: G(
|
|
3431
|
+
onClick: G(te)
|
|
3430
3432
|
}, null, 8, ["onClick"])) : T("", !0)]),
|
|
3431
|
-
dropdownicon: q(() => [k(
|
|
3432
|
-
loadingicon: q(() => [k(
|
|
3433
|
+
dropdownicon: q(() => [k(x, { icon: G(d) ? "arrow-up" : "arrow-down" }, null, 8, ["icon"])]),
|
|
3434
|
+
loadingicon: q(() => [k(S, { size: G(l).SM }, null, 8, ["size"])]),
|
|
3433
3435
|
_: 2
|
|
3434
3436
|
}, [i.value ? {
|
|
3435
3437
|
name: "value",
|
|
@@ -3444,7 +3446,7 @@ var Da = /*#__PURE__*/ a(Ta, [["render", Ea], ["__scopeId", "data-v-511819c2"]])
|
|
|
3444
3446
|
key: "0"
|
|
3445
3447
|
} : void 0, G(u) ? {
|
|
3446
3448
|
name: "footer",
|
|
3447
|
-
fn: q(() => [D("div", Na, [k(
|
|
3449
|
+
fn: q(() => [D("div", Na, [k(S, { size: G(l).SM }, null, 8, ["size"])])]),
|
|
3448
3450
|
key: "1"
|
|
3449
3451
|
} : void 0]), 1040, [
|
|
3450
3452
|
"modelValue",
|
|
@@ -3744,7 +3746,7 @@ function Ja(e, t, n) {
|
|
|
3744
3746
|
function b() {
|
|
3745
3747
|
typeof v == "function" && (v(), v = void 0);
|
|
3746
3748
|
}
|
|
3747
|
-
function
|
|
3749
|
+
function ee() {
|
|
3748
3750
|
if (b(), r === void 0) {
|
|
3749
3751
|
y();
|
|
3750
3752
|
return;
|
|
@@ -3754,7 +3756,7 @@ function Ja(e, t, n) {
|
|
|
3754
3756
|
return;
|
|
3755
3757
|
}
|
|
3756
3758
|
}
|
|
3757
|
-
function
|
|
3759
|
+
function te() {
|
|
3758
3760
|
i.value || (g.value = !1);
|
|
3759
3761
|
}
|
|
3760
3762
|
return (0, $.watch)([
|
|
@@ -3762,7 +3764,7 @@ function Ja(e, t, n) {
|
|
|
3762
3764
|
o,
|
|
3763
3765
|
s,
|
|
3764
3766
|
i
|
|
3765
|
-
], y, { flush: "sync" }), (0, $.watch)([l, u],
|
|
3767
|
+
], y, { flush: "sync" }), (0, $.watch)([l, u], ee, { flush: "sync" }), (0, $.watch)(i, te, { flush: "sync" }), (0, $.getCurrentScope)() && (0, $.onScopeDispose)(b), {
|
|
3766
3768
|
x: (0, $.shallowReadonly)(d),
|
|
3767
3769
|
y: (0, $.shallowReadonly)(f),
|
|
3768
3770
|
strategy: (0, $.shallowReadonly)(p),
|
|
@@ -3928,20 +3930,20 @@ var Ya = {
|
|
|
3928
3930
|
])), [[r, d]]) : T("", !0)], 2);
|
|
3929
3931
|
};
|
|
3930
3932
|
}
|
|
3931
|
-
}, [["__scopeId", "data-v-72aa56d0"]]), eo = A(() => import("./wt-action-bar-BpuER6TA.js")), to = A(() => import("./wt-button-select-BnRHgJ4i.js")), no = A(() => import("./wt-confirm-dialog-DCUitG2v.js")), ro = A(() => import("./wt-context-menu-yW52oF-2.js")), io = A(() => import("./wt-copy-action-d9gVzAsB.js")), ao = A(() => import("./wt-datepicker-BS3przUJ.js")), oo = A(() => import("./wt-dual-panel-Cs_Yzfxt.js")), so = A(() => import("./wt-dummy-J18Wmsn6.js")), co = A(() => import("./wt-error-page-vhu4lIyF.js")), lo = A(() => import("./wt-expansion-panel-kZmHSvPU.js")), uo = A(() => import("./wt-expansion-card-8YzHs8F1.js")), fo = A(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), po = A(() => import("./wt-galleria-CmaNfz7E.js")), mo = A(() => import("./wt-notifications-bar-DZidZ2VZ.js")), ho = A(() => import("./wt-page-header-CDbd4aOh.js")), go = A(() => import("./wt-pagination-DLRMTDRV.js")), _o = A(() => import("./wt-player-CxMTs3eF.js")), vo = A(() => import("./wt-popover-DuZFw3bg.js").then((e) => e.n)), yo = A(() => import("./wt-search-bar-CE4WhuJ6.js")), bo = A(() => import("./wt-slider-Co6hZQu_.js").then((e) => e.n)), xo = A(() => import("./wt-status-select-
|
|
3932
|
-
A(() => import("./wt-type-extension-value-input-
|
|
3933
|
-
var Ro = A(() => import("./wt-screen-recordings-action-BTtZq2BR.js")), zo = A(() => import("./wt-send-message-popup-
|
|
3933
|
+
}, [["__scopeId", "data-v-72aa56d0"]]), eo = A(() => import("./wt-action-bar-BpuER6TA.js")), to = A(() => import("./wt-button-select-BnRHgJ4i.js")), no = A(() => import("./wt-confirm-dialog-DCUitG2v.js")), ro = A(() => import("./wt-context-menu-yW52oF-2.js")), io = A(() => import("./wt-copy-action-d9gVzAsB.js")), ao = A(() => import("./wt-datepicker-BS3przUJ.js")), oo = A(() => import("./wt-dual-panel-Cs_Yzfxt.js")), so = A(() => import("./wt-dummy-J18Wmsn6.js")), co = A(() => import("./wt-error-page-vhu4lIyF.js")), lo = A(() => import("./wt-expansion-panel-kZmHSvPU.js")), uo = A(() => import("./wt-expansion-card-8YzHs8F1.js")), fo = A(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), po = A(() => import("./wt-galleria-CmaNfz7E.js")), mo = A(() => import("./wt-notifications-bar-DZidZ2VZ.js")), ho = A(() => import("./wt-page-header-CDbd4aOh.js")), go = A(() => import("./wt-pagination-DLRMTDRV.js")), _o = A(() => import("./wt-player-CxMTs3eF.js")), vo = A(() => import("./wt-popover-DuZFw3bg.js").then((e) => e.n)), yo = A(() => import("./wt-search-bar-CE4WhuJ6.js")), bo = A(() => import("./wt-slider-Co6hZQu_.js").then((e) => e.n)), xo = A(() => import("./wt-status-select-CDt8sZr9.js")), So = A(() => import("./wt-stepper-B6zpd1Uh.js")), Co = A(() => import("./wt-table-DHpnLu_f.js")), wo = A(() => import("./wt-table-actions-D7harVHK.js")), To = A(() => import("./wt-table-column-select-BtFhZKPT.js")), Eo = A(() => import("./wt-tabs-DuOgj-lZ.js")), Do = A(() => import("./wt-time-input-Ds40EseE.js")), Oo = A(() => import("./wt-timepicker-D-tnO-gX.js")), ko = A(() => import("./wt-tree-BH2o2iCt.js")), Ao = A(() => import("./wt-tree-table-DDH6vMh7.js")), jo = A(() => import("./wt-vidstack-player-_x_GEpy4.js")), Mo = A(() => import("./wt-call-media-action-Bkyppnsm.js")), No = A(() => import("./wt-chat-emoji-DGnuASX3.js")), Po = A(() => import("./wt-display-chip-items-DVE5aPNw.js")), Fo = A(() => import("./wt-navigation-menu-BMupOW07.js")), Io = A(() => import("./wt-selection-popup-Bd4EuLl-.js")), Lo = A(() => import("./wt-start-page-Bp7b0ir-.js"));
|
|
3934
|
+
A(() => import("./wt-type-extension-value-input-CUx43R8o.js"));
|
|
3935
|
+
var Ro = A(() => import("./wt-screen-recordings-action-BTtZq2BR.js")), zo = A(() => import("./wt-send-message-popup-DNRwANy-.js")), Bo = {
|
|
3934
3936
|
WtActionBar: eo,
|
|
3935
3937
|
WtImage: wn,
|
|
3936
3938
|
WtEmpty: kn,
|
|
3937
3939
|
WtLogo: si,
|
|
3938
3940
|
WtAvatar: qt,
|
|
3939
|
-
WtBadge:
|
|
3940
|
-
WtBadgeNew:
|
|
3941
|
+
WtBadge: ee,
|
|
3942
|
+
WtBadgeNew: te,
|
|
3941
3943
|
WtMessage: ci,
|
|
3942
3944
|
WtIcon: i,
|
|
3943
3945
|
WtIndicator: Vn,
|
|
3944
|
-
WtButton:
|
|
3946
|
+
WtButton: x,
|
|
3945
3947
|
WtChip: bn,
|
|
3946
3948
|
WtConfirmDialog: no,
|
|
3947
3949
|
WtDivider: Sn,
|
|
@@ -3950,7 +3952,7 @@ var Ro = A(() => import("./wt-screen-recordings-action-BTtZq2BR.js")), zo = A(()
|
|
|
3950
3952
|
WtLoader: ri,
|
|
3951
3953
|
WtRoundedAction: ja,
|
|
3952
3954
|
WtReplaceTransition: Ze,
|
|
3953
|
-
WtCheckbox:
|
|
3955
|
+
WtCheckbox: S,
|
|
3954
3956
|
WtDatepicker: ao,
|
|
3955
3957
|
WtIconBtn: ae,
|
|
3956
3958
|
WtInputNumber: Un,
|
|
@@ -3968,7 +3970,7 @@ var Ro = A(() => import("./wt-screen-recordings-action-BTtZq2BR.js")), zo = A(()
|
|
|
3968
3970
|
WtTimeInput: Do,
|
|
3969
3971
|
WtTimepicker: Oo,
|
|
3970
3972
|
WtTextarea: Ra,
|
|
3971
|
-
WtToast:
|
|
3973
|
+
WtToast: re,
|
|
3972
3974
|
WtAppHeader: tt,
|
|
3973
3975
|
WtHeadline: Fn,
|
|
3974
3976
|
WtBreadcrumb: Jt,
|