@webitel/ui-sdk 26.8.149 → 26.8.150
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-CvTW64Rq.js → clients-x0gCJQbb.js} +1 -1
- package/dist/{components-BQNe8f-D.js → components-7m-8aZmi.js} +29 -19
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{wt-chat-emoji-okPBWTTc.js → wt-chat-emoji-C6taiH7d.js} +1 -1
- package/dist/{wt-display-chip-items-p-X0dCyl.js → wt-display-chip-items-BKezwH_o.js} +1 -1
- package/dist/{wt-send-message-popup-C8sMLTcd.js → wt-send-message-popup-BWbiEroB.js} +2 -2
- package/dist/{wt-type-extension-value-input-IVO4B3WW.js → wt-type-extension-value-input-DJVtErVH.js} +2 -2
- package/dist/{wt-vidstack-player-DrOhDUTg.js → wt-vidstack-player-BcldtEws.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-single-select/__tests__/WtSingleSelect.spec.js +25 -0
- package/src/components/wt-single-select/wt-single-select.vue +20 -2
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-single-select/wt-single-select.vue.d.ts +4 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as e } from "./dist-EXdgfpvN.js";
|
|
2
2
|
import { a as t, i as n, n as r, t as i } from "./genClient-CvWlQ0TZ.js";
|
|
3
3
|
import { i as a, r as o } from "./caseConverters-DGri4uJo.js";
|
|
4
|
-
import { E as s, w as c } from "./components-
|
|
4
|
+
import { E as s, w as c } from "./components-7m-8aZmi.js";
|
|
5
5
|
import { a as l, c as u, r as d, u as f } from "./convertDuration-CIPonKKW.js";
|
|
6
6
|
import { S as p, T as m, v as ee } from "./enums-CKer6GJR.js";
|
|
7
7
|
import { t as te } from "./deep-copy-BJdHBMNZ.js";
|
|
@@ -19859,7 +19859,12 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19859
19859
|
modelValue: { default: "" },
|
|
19860
19860
|
modelModifiers: {}
|
|
19861
19861
|
}),
|
|
19862
|
-
emits: /*@__PURE__*/ We([
|
|
19862
|
+
emits: /*@__PURE__*/ We([
|
|
19863
|
+
"reset",
|
|
19864
|
+
"hide",
|
|
19865
|
+
"search-change",
|
|
19866
|
+
"search-enter"
|
|
19867
|
+
], ["update:modelValue"]),
|
|
19863
19868
|
setup(e, { emit: t }) {
|
|
19864
19869
|
let n = e, r = {
|
|
19865
19870
|
[A.SM]: "small",
|
|
@@ -19885,9 +19890,14 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19885
19890
|
regleValidation: w
|
|
19886
19891
|
}), ne = I(() => n.label || x.label), D = I(() => n.required || n.v && "required" in n.v ? `${n.label}*` : n.label), O = () => {
|
|
19887
19892
|
_(), a("hide");
|
|
19893
|
+
}, k = (e) => {
|
|
19894
|
+
let t = e ?? "";
|
|
19895
|
+
v(t), a("search-change", t);
|
|
19896
|
+
}, re = () => {
|
|
19897
|
+
a("search-enter", d.value), y(), c.value?.hide?.();
|
|
19888
19898
|
};
|
|
19889
19899
|
return (t, a) => {
|
|
19890
|
-
let _ = G("wt-label"),
|
|
19900
|
+
let _ = G("wt-label"), v = G("wt-icon"), y = G("wt-input-text"), x = G("wt-icon-btn"), S = G("wt-loader"), C = G("p-select"), w = G("wt-message"), j = it("tooltip");
|
|
19891
19901
|
return U(), z("div", { class: qe(["wt-single-select", { "wt-single-select--has-value": i.value }]) }, [
|
|
19892
19902
|
ne.value ? (U(), L(_, Ge({ key: 0 }, e.labelProps, {
|
|
19893
19903
|
disabled: e.disabled,
|
|
@@ -19897,11 +19907,11 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19897
19907
|
default: J(() => [W(t.$slots, "label", Je(He({ label: e.label })), () => [Ie(K(D.value), 1)], !0)], void 0, !0),
|
|
19898
19908
|
_: 3
|
|
19899
19909
|
}, 16, ["disabled", "invalid"])) : R("", !0),
|
|
19900
|
-
V(
|
|
19910
|
+
V(C, Ge(t.$attrs, {
|
|
19901
19911
|
ref_key: "selectRef",
|
|
19902
19912
|
ref: c,
|
|
19903
19913
|
modelValue: i.value,
|
|
19904
|
-
"onUpdate:modelValue": a[
|
|
19914
|
+
"onUpdate:modelValue": a[1] ||= (e) => i.value = e,
|
|
19905
19915
|
fluid: "",
|
|
19906
19916
|
"input-class": "typo-body-1",
|
|
19907
19917
|
invalid: q(T),
|
|
@@ -19923,21 +19933,21 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19923
19933
|
onShow: q(g),
|
|
19924
19934
|
onHide: O
|
|
19925
19935
|
}), Fe({
|
|
19926
|
-
header: J(() => [e.filterable ? (U(), L(
|
|
19936
|
+
header: J(() => [e.filterable ? (U(), L(y, {
|
|
19927
19937
|
key: 0,
|
|
19928
19938
|
ref_key: "filterInput",
|
|
19929
19939
|
ref: s,
|
|
19930
19940
|
class: "wt-single-select__input",
|
|
19931
19941
|
"model-value": q(d),
|
|
19932
19942
|
size: q(A).SM,
|
|
19933
|
-
"onUpdate:modelValue":
|
|
19934
|
-
onKeydown: vt(yt(
|
|
19943
|
+
"onUpdate:modelValue": k,
|
|
19944
|
+
onKeydown: vt(yt(re, ["stop", "prevent"]), ["enter"])
|
|
19935
19945
|
}, {
|
|
19936
|
-
suffix: J(() => [e.allowCustomValues && q(d) ? (U(), L(
|
|
19946
|
+
suffix: J(() => [e.allowCustomValues && q(d) ? (U(), L(v, {
|
|
19937
19947
|
key: 0,
|
|
19938
19948
|
disabled: "",
|
|
19939
19949
|
icon: "select-custom-value-enter"
|
|
19940
|
-
})) : R("", !0), V(
|
|
19950
|
+
})) : R("", !0), V(v, {
|
|
19941
19951
|
disabled: "",
|
|
19942
19952
|
icon: "search"
|
|
19943
19953
|
})]),
|
|
@@ -19951,13 +19961,13 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19951
19961
|
option: e,
|
|
19952
19962
|
getOptionLabel: q(p)
|
|
19953
19963
|
})), () => [_t((U(), z("span", El, [Ie(K(q(p)(e)), 1)])), [[j, q(p)(e)]])], !0)]),
|
|
19954
|
-
clearicon: J(() => [e.showClear && i.value ? (U(), L(
|
|
19964
|
+
clearicon: J(() => [e.showClear && i.value ? (U(), L(x, {
|
|
19955
19965
|
key: 0,
|
|
19956
19966
|
icon: "close",
|
|
19957
19967
|
onClick: q(b)
|
|
19958
19968
|
}, null, 8, ["onClick"])) : R("", !0)]),
|
|
19959
|
-
dropdownicon: J(() => [V(
|
|
19960
|
-
loadingicon: J(() => [V(
|
|
19969
|
+
dropdownicon: J(() => [V(v, { icon: q(u) ? "arrow-up" : "arrow-down" }, null, 8, ["icon"])]),
|
|
19970
|
+
loadingicon: J(() => [V(S, { size: q(A).SM }, null, 8, ["size"])]),
|
|
19961
19971
|
_: 2
|
|
19962
19972
|
}, [i.value ? {
|
|
19963
19973
|
name: "value",
|
|
@@ -19967,12 +19977,12 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19967
19977
|
placeholder: n
|
|
19968
19978
|
})), () => [_t((U(), z("span", {
|
|
19969
19979
|
class: "wt-single-select__value",
|
|
19970
|
-
onMousedown: a[
|
|
19980
|
+
onMousedown: a[0] ||= yt(() => {}, ["stop"])
|
|
19971
19981
|
}, [Ie(K(q(p)(e) || n) + "\xA0 ", 1)], 32)), [[j, q(p)(e)]])], !0)]),
|
|
19972
19982
|
key: "0"
|
|
19973
19983
|
} : void 0, q(l) ? {
|
|
19974
19984
|
name: "footer",
|
|
19975
|
-
fn: J(() => [B("div", Dl, [V(
|
|
19985
|
+
fn: J(() => [B("div", Dl, [V(S, { size: q(A).SM }, null, 8, ["size"])])]),
|
|
19976
19986
|
key: "1"
|
|
19977
19987
|
} : void 0]), 1040, [
|
|
19978
19988
|
"modelValue",
|
|
@@ -19990,7 +20000,7 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
19990
20000
|
"onBeforeHide",
|
|
19991
20001
|
"onShow"
|
|
19992
20002
|
]),
|
|
19993
|
-
q(ee) && q(te) ? (U(), L(
|
|
20003
|
+
q(ee) && q(te) ? (U(), L(w, {
|
|
19994
20004
|
key: 1,
|
|
19995
20005
|
color: q(E),
|
|
19996
20006
|
variant: q(ae).SIMPLE,
|
|
@@ -20006,7 +20016,7 @@ var xl = /*#__PURE__*/ w(yl, [["render", bl], ["__scopeId", "data-v-511819c2"]])
|
|
|
20006
20016
|
], 2);
|
|
20007
20017
|
};
|
|
20008
20018
|
}
|
|
20009
|
-
}), [["__scopeId", "data-v-
|
|
20019
|
+
}), [["__scopeId", "data-v-a8061163"]]), kl = {
|
|
20010
20020
|
key: 0,
|
|
20011
20021
|
class: "wt-switcher__label typo-subtitle-2"
|
|
20012
20022
|
}, Al = /*#__PURE__*/ w(/* @__PURE__ */ Re({
|
|
@@ -20458,13 +20468,13 @@ var Wl = {
|
|
|
20458
20468
|
])), [[r, d]]) : R("", !0)], 2);
|
|
20459
20469
|
};
|
|
20460
20470
|
}
|
|
20461
|
-
}, [["__scopeId", "data-v-72aa56d0"]]), Yl = H(() => import("./wt-action-bar-CJiWenUy.js")), Xl = H(() => import("./wt-button-select-BnRHgJ4i.js")), Zl = H(() => import("./wt-confirm-dialog-DCUitG2v.js")), Ql = H(() => import("./wt-context-menu-yW52oF-2.js")), $l = H(() => import("./wt-copy-action-d9gVzAsB.js")), eu = H(() => import("./wt-datepicker-Cx8yPH4d.js")), tu = H(() => import("./wt-dual-panel-BHfOeLJZ.js")), nu = H(() => import("./wt-dummy-J18Wmsn6.js")), ru = H(() => import("./wt-error-page-vhu4lIyF.js")), iu = H(() => import("./wt-expansion-panel-CGFamfkt.js")), au = H(() => import("./wt-expansion-card-CNkGLQvo.js")), ou = H(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), su = H(() => import("./wt-galleria-BIczN4CP.js")), cu = H(() => import("./wt-notifications-bar-DDuf0Ui1.js")), lu = H(() => import("./wt-page-header-CDbd4aOh.js")), uu = H(() => import("./wt-pagination-DLRMTDRV.js")), du = H(() => import("./wt-player-DUnqV23Z.js")), fu = H(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), pu = H(() => import("./wt-search-bar-Bp9M1oCq.js")), mu = H(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), hu = H(() => import("./wt-status-select-DItpCCVE.js")), gu = H(() => import("./wt-stepper-B6zpd1Uh.js")), _u = H(() => import("./wt-table-Cy3TfK4i.js")), vu = H(() => import("./wt-table-actions-D7harVHK.js")), yu = H(() => import("./wt-table-column-select-DzXaRs03.js")), bu = H(() => import("./wt-tabs-BJ-sFhv7.js")), xu = H(() => import("./wt-time-input-Ds40EseE.js")), Su = H(() => import("./wt-timepicker-BW0HmFJI.js")), Cu = H(() => import("./wt-tree-Cu_yRDjp.js")), wu = H(() => import("./wt-tree-table-CAbPVuSj.js")), Tu = H(() => import("./wt-vidstack-player-
|
|
20471
|
+
}, [["__scopeId", "data-v-72aa56d0"]]), Yl = H(() => import("./wt-action-bar-CJiWenUy.js")), Xl = H(() => import("./wt-button-select-BnRHgJ4i.js")), Zl = H(() => import("./wt-confirm-dialog-DCUitG2v.js")), Ql = H(() => import("./wt-context-menu-yW52oF-2.js")), $l = H(() => import("./wt-copy-action-d9gVzAsB.js")), eu = H(() => import("./wt-datepicker-Cx8yPH4d.js")), tu = H(() => import("./wt-dual-panel-BHfOeLJZ.js")), nu = H(() => import("./wt-dummy-J18Wmsn6.js")), ru = H(() => import("./wt-error-page-vhu4lIyF.js")), iu = H(() => import("./wt-expansion-panel-CGFamfkt.js")), au = H(() => import("./wt-expansion-card-CNkGLQvo.js")), ou = H(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), su = H(() => import("./wt-galleria-BIczN4CP.js")), cu = H(() => import("./wt-notifications-bar-DDuf0Ui1.js")), lu = H(() => import("./wt-page-header-CDbd4aOh.js")), uu = H(() => import("./wt-pagination-DLRMTDRV.js")), du = H(() => import("./wt-player-DUnqV23Z.js")), fu = H(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), pu = H(() => import("./wt-search-bar-Bp9M1oCq.js")), mu = H(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), hu = H(() => import("./wt-status-select-DItpCCVE.js")), gu = H(() => import("./wt-stepper-B6zpd1Uh.js")), _u = H(() => import("./wt-table-Cy3TfK4i.js")), vu = H(() => import("./wt-table-actions-D7harVHK.js")), yu = H(() => import("./wt-table-column-select-DzXaRs03.js")), bu = H(() => import("./wt-tabs-BJ-sFhv7.js")), xu = H(() => import("./wt-time-input-Ds40EseE.js")), Su = H(() => import("./wt-timepicker-BW0HmFJI.js")), Cu = H(() => import("./wt-tree-Cu_yRDjp.js")), wu = H(() => import("./wt-tree-table-CAbPVuSj.js")), Tu = H(() => import("./wt-vidstack-player-BcldtEws.js")), Eu = H(() => import("./wt-call-media-action-Bkyppnsm.js")), Du = H(() => import("./wt-chat-emoji-C6taiH7d.js")), Ou = H(() => import("./wt-display-chip-items-BKezwH_o.js")), ku = H(() => import("./wt-navigation-menu-BMupOW07.js")), Au = H({
|
|
20462
20472
|
loader: () => import("./wt-rich-text-editor-55G1zOWR.js"),
|
|
20463
20473
|
loadingComponent: S,
|
|
20464
20474
|
delay: 0
|
|
20465
20475
|
}), ju = H(() => import("./wt-selection-popup-Dei_JZah.js")), Mu = H(() => import("./wt-start-page-2Bdzg5V5.js"));
|
|
20466
|
-
H(() => import("./wt-type-extension-value-input-
|
|
20467
|
-
var Nu = H(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Pu = H(() => import("./wt-send-message-popup-
|
|
20476
|
+
H(() => import("./wt-type-extension-value-input-DJVtErVH.js"));
|
|
20477
|
+
var Nu = H(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Pu = H(() => import("./wt-send-message-popup-BWbiEroB.js")), Fu = {
|
|
20468
20478
|
WtActionBar: Yl,
|
|
20469
20479
|
WtImage: no,
|
|
20470
20480
|
WtEmpty: so,
|