@quidgest/ui 0.8.9 → 0.8.10
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/ui.esm.js +70 -64
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +1 -1
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.js +1 -1
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +1 -1
- package/package.json +1 -1
package/dist/ui.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentInstance as Be, computed as _, ref as q, provide as Ve, inject as Ee, watch as
|
|
1
|
+
import { getCurrentInstance as Be, computed as _, ref as q, provide as Ve, inject as Ee, watch as C, defineComponent as L, openBlock as c, createElementBlock as v, normalizeClass as E, normalizeStyle as ce, createElementVNode as Y, withModifiers as ie, createVNode as Q, unref as b, createCommentVNode as I, Fragment as ee, createTextVNode as re, toDisplayString as G, renderSlot as h, toRef as we, createBlock as V, withCtx as g, renderList as me, resolveDynamicComponent as Te, h as $e, normalizeProps as te, mergeProps as oe, reactive as Ne, onBeforeUnmount as Me, onMounted as De, nextTick as X, Teleport as He, Transition as Ke, withKeys as Ge, createSlots as he, withDirectives as We, vModelDynamic as je, guardReactiveProps as ae } from "vue";
|
|
2
2
|
function ve(t) {
|
|
3
3
|
return t == null ? !0 : typeof t == "string" || Array.isArray(t) ? t.length === 0 : typeof t == "object" ? Object.keys(t).length === 0 : !1;
|
|
4
4
|
}
|
|
@@ -200,7 +200,7 @@ function lt(t, l) {
|
|
|
200
200
|
activeTheme: q(e),
|
|
201
201
|
themes: o
|
|
202
202
|
};
|
|
203
|
-
tt(o),
|
|
203
|
+
tt(o), C(n.activeTheme, nt, { immediate: !0 }), t.provide(de, n);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
function nt(t) {
|
|
@@ -307,7 +307,7 @@ const ge = x(st), rt = ["disabled"], dt = {
|
|
|
307
307
|
onClick: ie(d, ["stop", "prevent"])
|
|
308
308
|
}, [
|
|
309
309
|
u.loading ? (c(), v("div", dt, [
|
|
310
|
-
|
|
310
|
+
Q(b(ge), { size: 20 })
|
|
311
311
|
])) : I("", !0),
|
|
312
312
|
Y("span", ut, [
|
|
313
313
|
u.iconOnRight ? (c(), v(ee, { key: 0 }, [
|
|
@@ -363,7 +363,7 @@ const ge = x(st), rt = ["disabled"], dt = {
|
|
|
363
363
|
emits: ["update:modelValue"],
|
|
364
364
|
setup(t, { emit: l }) {
|
|
365
365
|
const o = l, e = t, n = q(e.modelValue);
|
|
366
|
-
|
|
366
|
+
C(
|
|
367
367
|
() => e.modelValue,
|
|
368
368
|
(u) => n.value = u
|
|
369
369
|
);
|
|
@@ -686,31 +686,31 @@ const wt = /* @__PURE__ */ L({
|
|
|
686
686
|
F(W());
|
|
687
687
|
break;
|
|
688
688
|
case "last":
|
|
689
|
-
F(
|
|
689
|
+
F(R());
|
|
690
690
|
break;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
function F(i, a = !1) {
|
|
694
694
|
var $;
|
|
695
|
-
($ =
|
|
695
|
+
($ = O()[i]) == null || $.focus({ preventScroll: a });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function O() {
|
|
698
698
|
var a;
|
|
699
699
|
const i = (a = y.value) == null ? void 0 : a.querySelectorAll("li");
|
|
700
700
|
return i ? Array.from(i) : [];
|
|
701
701
|
}
|
|
702
|
-
function
|
|
703
|
-
return
|
|
702
|
+
function U(i) {
|
|
703
|
+
return O()[i];
|
|
704
704
|
}
|
|
705
705
|
function M() {
|
|
706
|
-
return
|
|
706
|
+
return O().indexOf(document.activeElement);
|
|
707
707
|
}
|
|
708
708
|
function W() {
|
|
709
|
-
const i =
|
|
709
|
+
const i = O(), a = i.find((m) => K(m));
|
|
710
710
|
return a ? i.indexOf(a) : -1;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
713
|
-
const i =
|
|
712
|
+
function R() {
|
|
713
|
+
const i = O(), a = [...i].reverse().find((m) => K(m));
|
|
714
714
|
return a ? i.indexOf(a) : -1;
|
|
715
715
|
}
|
|
716
716
|
function H(i, a, m) {
|
|
@@ -721,7 +721,7 @@ const wt = /* @__PURE__ */ L({
|
|
|
721
721
|
return Z(a, i);
|
|
722
722
|
}
|
|
723
723
|
function Z(i, a) {
|
|
724
|
-
const m =
|
|
724
|
+
const m = O();
|
|
725
725
|
if (H(i, a, m))
|
|
726
726
|
return i;
|
|
727
727
|
let $ = i + (a === "next" ? 1 : -1);
|
|
@@ -738,17 +738,17 @@ const wt = /* @__PURE__ */ L({
|
|
|
738
738
|
function j(i) {
|
|
739
739
|
return i ? n.items.filter((a) => a.group === i) : n.items;
|
|
740
740
|
}
|
|
741
|
-
return
|
|
741
|
+
return C(
|
|
742
742
|
() => n.modelValue,
|
|
743
743
|
(i) => {
|
|
744
744
|
d.value = i;
|
|
745
745
|
}
|
|
746
746
|
), l({
|
|
747
747
|
focusItem: F,
|
|
748
|
-
getItem:
|
|
748
|
+
getItem: U,
|
|
749
749
|
getAdjacentItemIndex: Z,
|
|
750
750
|
getFirstFocusableItemIndex: W,
|
|
751
|
-
getLastFocusableItemIndex:
|
|
751
|
+
getLastFocusableItemIndex: R
|
|
752
752
|
}), (i, a) => (c(), V(Te(u.value), {
|
|
753
753
|
ref_key: "listRef",
|
|
754
754
|
ref: y,
|
|
@@ -967,10 +967,10 @@ const Rt = ["role"], Ot = {
|
|
|
967
967
|
width: 0,
|
|
968
968
|
placement: e.placement
|
|
969
969
|
});
|
|
970
|
-
|
|
970
|
+
C(
|
|
971
971
|
() => e.modelValue,
|
|
972
972
|
() => s.visible = e.modelValue
|
|
973
|
-
),
|
|
973
|
+
), C(
|
|
974
974
|
() => s.visible,
|
|
975
975
|
() => s.animating = !0
|
|
976
976
|
);
|
|
@@ -1010,7 +1010,7 @@ const Rt = ["role"], Ot = {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
|
-
|
|
1013
|
+
C([() => s.visible, () => e.placement], y);
|
|
1014
1014
|
let w;
|
|
1015
1015
|
function f() {
|
|
1016
1016
|
T(0);
|
|
@@ -1038,10 +1038,10 @@ const Rt = ["role"], Ot = {
|
|
|
1038
1038
|
function F() {
|
|
1039
1039
|
o("enter");
|
|
1040
1040
|
}
|
|
1041
|
-
function
|
|
1041
|
+
function O() {
|
|
1042
1042
|
window.clearTimeout(A), A = window.setTimeout(() => s.animating = !1, 200), o("leave");
|
|
1043
1043
|
}
|
|
1044
|
-
let
|
|
1044
|
+
let U;
|
|
1045
1045
|
function M() {
|
|
1046
1046
|
X(() => {
|
|
1047
1047
|
if (!e.anchor)
|
|
@@ -1063,7 +1063,7 @@ const Rt = ["role"], Ot = {
|
|
|
1063
1063
|
if (!e.anchor)
|
|
1064
1064
|
return;
|
|
1065
1065
|
const i = ne(e.anchor);
|
|
1066
|
-
i && (window.addEventListener("resize", y),
|
|
1066
|
+
i && (window.addEventListener("resize", y), U = new MutationObserver(y), U.observe(i, {
|
|
1067
1067
|
attributes: !1,
|
|
1068
1068
|
childList: !0,
|
|
1069
1069
|
characterData: !0,
|
|
@@ -1071,7 +1071,7 @@ const Rt = ["role"], Ot = {
|
|
|
1071
1071
|
}), y());
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function R() {
|
|
1075
1075
|
if (!e.anchor)
|
|
1076
1076
|
return;
|
|
1077
1077
|
const i = ne(e.anchor);
|
|
@@ -1086,7 +1086,7 @@ const Rt = ["role"], Ot = {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
function H() {
|
|
1089
|
-
window.removeEventListener("resize", y),
|
|
1089
|
+
window.removeEventListener("resize", y), U == null || U.disconnect();
|
|
1090
1090
|
}
|
|
1091
1091
|
let N;
|
|
1092
1092
|
function Z() {
|
|
@@ -1101,12 +1101,12 @@ const Rt = ["role"], Ot = {
|
|
|
1101
1101
|
H(), e.spy && (clearTimeout(N), N = void 0), document.removeEventListener("scroll", B);
|
|
1102
1102
|
}
|
|
1103
1103
|
return Me(() => {
|
|
1104
|
-
|
|
1104
|
+
R(), j();
|
|
1105
1105
|
}), De(() => {
|
|
1106
1106
|
X(() => {
|
|
1107
1107
|
M(), y();
|
|
1108
1108
|
});
|
|
1109
|
-
}),
|
|
1109
|
+
}), C(
|
|
1110
1110
|
() => s.visible,
|
|
1111
1111
|
(i) => {
|
|
1112
1112
|
i ? K() : j(), o("update:modelValue", i);
|
|
@@ -1123,11 +1123,11 @@ const Rt = ["role"], Ot = {
|
|
|
1123
1123
|
{ "q-overlay__underlay--blur": e.backdropBlur }
|
|
1124
1124
|
])
|
|
1125
1125
|
}, null, 2)) : I("", !0),
|
|
1126
|
-
|
|
1126
|
+
Q(Ke, {
|
|
1127
1127
|
name: e.transition,
|
|
1128
1128
|
appear: "",
|
|
1129
1129
|
onEnter: F,
|
|
1130
|
-
onLeave:
|
|
1130
|
+
onLeave: O
|
|
1131
1131
|
}, {
|
|
1132
1132
|
default: g(() => [
|
|
1133
1133
|
s.visible ? (c(), v("div", {
|
|
@@ -1252,7 +1252,7 @@ const Rt = ["role"], Ot = {
|
|
|
1252
1252
|
}), w = _(
|
|
1253
1253
|
() => n.readonly || n.disabled ? "" : n.placeholder
|
|
1254
1254
|
);
|
|
1255
|
-
return
|
|
1255
|
+
return C(
|
|
1256
1256
|
() => n.modelValue,
|
|
1257
1257
|
(f) => s.value = f
|
|
1258
1258
|
), l({
|
|
@@ -1363,10 +1363,10 @@ const Rt = ["role"], Ot = {
|
|
|
1363
1363
|
emits: ["update:modelValue", "update:inputValue", "before-show", "before-hide", "show", "hide"],
|
|
1364
1364
|
setup(t, { expose: l, emit: o }) {
|
|
1365
1365
|
const e = o, n = t, d = q(n.modelValue), s = q(!1), u = q(""), p = q(void 0), y = q(null), w = q(null), f = q(null);
|
|
1366
|
-
De(
|
|
1366
|
+
De(R);
|
|
1367
1367
|
const z = _(() => n.clearable && !n.readonly && !n.disabled), T = _(() => {
|
|
1368
1368
|
var r;
|
|
1369
|
-
return n.filterMode === "manual" || !
|
|
1369
|
+
return n.filterMode === "manual" || !U.value ? n.items : (r = n.items) == null ? void 0 : r.filter(
|
|
1370
1370
|
(k) => k[n.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
|
|
1371
1371
|
);
|
|
1372
1372
|
}), B = _(() => {
|
|
@@ -1376,23 +1376,23 @@ const Rt = ["role"], Ot = {
|
|
|
1376
1376
|
const r = p.value;
|
|
1377
1377
|
if (r !== void 0 && T.value[r])
|
|
1378
1378
|
return T.value[r];
|
|
1379
|
-
}),
|
|
1379
|
+
}), O = _(() => {
|
|
1380
1380
|
var k;
|
|
1381
1381
|
if (p.value === void 0)
|
|
1382
1382
|
return;
|
|
1383
1383
|
const r = (k = w.value) == null ? void 0 : k.getItem(p.value);
|
|
1384
1384
|
return r == null ? void 0 : r.id;
|
|
1385
|
-
}),
|
|
1385
|
+
}), U = _(() => {
|
|
1386
1386
|
var r;
|
|
1387
1387
|
return u.value.length > 0 && u.value !== ((r = B.value) == null ? void 0 : r[n.itemLabel]);
|
|
1388
1388
|
});
|
|
1389
1389
|
function M(r) {
|
|
1390
|
-
d.value = r,
|
|
1390
|
+
d.value = r, R(), e("update:modelValue", r);
|
|
1391
1391
|
}
|
|
1392
1392
|
function W(r) {
|
|
1393
1393
|
M(r), N();
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function R() {
|
|
1396
1396
|
var r;
|
|
1397
1397
|
u.value = ((r = B.value) == null ? void 0 : r[n.itemLabel]) || "";
|
|
1398
1398
|
}
|
|
@@ -1458,7 +1458,7 @@ const Rt = ["role"], Ot = {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
function D(r) {
|
|
1460
1460
|
var k, S, P;
|
|
1461
|
-
!((k = f.value) != null && k.contains(r.relatedTarget)) && !((P = (S = y.value) == null ? void 0 : S.fieldRef) != null && P.contains(r.relatedTarget)) ? (N(),
|
|
1461
|
+
!((k = f.value) != null && k.contains(r.relatedTarget)) && !((P = (S = y.value) == null ? void 0 : S.fieldRef) != null && P.contains(r.relatedTarget)) ? (N(), R()) : (r.preventDefault(), r.stopPropagation());
|
|
1462
1462
|
}
|
|
1463
1463
|
function le() {
|
|
1464
1464
|
var r, k;
|
|
@@ -1478,19 +1478,25 @@ const Rt = ["role"], Ot = {
|
|
|
1478
1478
|
const k = (S = w.value) == null ? void 0 : S.getItem(r);
|
|
1479
1479
|
k == null || k.scrollIntoView({ block: "nearest", inline: "start" });
|
|
1480
1480
|
}
|
|
1481
|
-
return
|
|
1481
|
+
return C(
|
|
1482
1482
|
() => n.modelValue,
|
|
1483
1483
|
(r) => {
|
|
1484
1484
|
d.value = r;
|
|
1485
1485
|
}
|
|
1486
|
-
),
|
|
1486
|
+
), C(d, R), C(
|
|
1487
|
+
() => n.items,
|
|
1488
|
+
() => {
|
|
1489
|
+
A.value || R();
|
|
1490
|
+
},
|
|
1491
|
+
{ deep: !0 }
|
|
1492
|
+
), C(p, (r) => {
|
|
1487
1493
|
r !== void 0 && ke(r);
|
|
1488
|
-
}),
|
|
1494
|
+
}), C(u, (r) => {
|
|
1489
1495
|
!r && z.value ? K() : s.value && n.selectionMode === "automatic" && X(a), e("update:inputValue", r);
|
|
1490
1496
|
}), l({
|
|
1491
1497
|
triggerEl: y
|
|
1492
1498
|
}), (r, k) => (c(), v(ee, null, [
|
|
1493
|
-
|
|
1499
|
+
Q(b(Yt), {
|
|
1494
1500
|
modelValue: u.value,
|
|
1495
1501
|
"onUpdate:modelValue": k[0] || (k[0] = (S) => u.value = S),
|
|
1496
1502
|
id: n.id,
|
|
@@ -1515,7 +1521,7 @@ const Rt = ["role"], Ot = {
|
|
|
1515
1521
|
"aria-expanded": s.value,
|
|
1516
1522
|
"aria-haspopup": "listbox",
|
|
1517
1523
|
"aria-autocomplete": "list",
|
|
1518
|
-
"aria-activedescendant":
|
|
1524
|
+
"aria-activedescendant": O.value,
|
|
1519
1525
|
size: n.size,
|
|
1520
1526
|
onClick: j,
|
|
1521
1527
|
onFocusout: D,
|
|
@@ -1538,7 +1544,7 @@ const Rt = ["role"], Ot = {
|
|
|
1538
1544
|
onClick: K
|
|
1539
1545
|
}, {
|
|
1540
1546
|
default: g(() => [
|
|
1541
|
-
|
|
1547
|
+
Q(b(J), te(ae(n.icons.clear)), null, 16)
|
|
1542
1548
|
]),
|
|
1543
1549
|
_: 1
|
|
1544
1550
|
})) : I("", !0),
|
|
@@ -1552,7 +1558,7 @@ const Rt = ["role"], Ot = {
|
|
|
1552
1558
|
onClick: Z
|
|
1553
1559
|
}, {
|
|
1554
1560
|
default: g(() => [
|
|
1555
|
-
|
|
1561
|
+
Q(b(J), te(ae(n.icons.chevron)), null, 16)
|
|
1556
1562
|
]),
|
|
1557
1563
|
_: 1
|
|
1558
1564
|
}, 8, ["disabled"]))
|
|
@@ -1574,7 +1580,7 @@ const Rt = ["role"], Ot = {
|
|
|
1574
1580
|
key: "1"
|
|
1575
1581
|
} : void 0
|
|
1576
1582
|
]), 1032, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "aria-expanded", "aria-activedescendant", "size"]),
|
|
1577
|
-
|
|
1583
|
+
Q(b(pe), {
|
|
1578
1584
|
modelValue: s.value,
|
|
1579
1585
|
"onUpdate:modelValue": k[2] || (k[2] = (S) => s.value = S),
|
|
1580
1586
|
spy: "",
|
|
@@ -1597,7 +1603,7 @@ const Rt = ["role"], Ot = {
|
|
|
1597
1603
|
}, [
|
|
1598
1604
|
h(r.$slots, "body.prepend"),
|
|
1599
1605
|
n.loading ? (c(), v("div", Zt, [
|
|
1600
|
-
|
|
1606
|
+
Q(b(ge), { size: 24 })
|
|
1601
1607
|
])) : T.value.length ? (c(), V(b(Ae), {
|
|
1602
1608
|
key: 1,
|
|
1603
1609
|
ref_key: "listRef",
|
|
@@ -1661,14 +1667,14 @@ const Rt = ["role"], Ot = {
|
|
|
1661
1667
|
default: g(() => [
|
|
1662
1668
|
o.$slots.prepend || l.prependIcon ? (c(), v("div", nl, [
|
|
1663
1669
|
l.prependIcon ? (c(), v("span", ol, [
|
|
1664
|
-
|
|
1670
|
+
Q(b(J), te(ae(l.prependIcon)), null, 16)
|
|
1665
1671
|
])) : I("", !0),
|
|
1666
1672
|
h(o.$slots, "prepend")
|
|
1667
1673
|
])) : I("", !0),
|
|
1668
1674
|
h(o.$slots, "default"),
|
|
1669
1675
|
o.$slots.append || l.appendIcon ? (c(), v("div", al, [
|
|
1670
1676
|
l.appendIcon ? (c(), v("span", sl, [
|
|
1671
|
-
|
|
1677
|
+
Q(b(J), te(ae(l.appendIcon)), null, 16)
|
|
1672
1678
|
])) : I("", !0),
|
|
1673
1679
|
h(o.$slots, "append")
|
|
1674
1680
|
])) : I("", !0)
|
|
@@ -1793,25 +1799,25 @@ const Rt = ["role"], Ot = {
|
|
|
1793
1799
|
T.value && B(e.emptyValue);
|
|
1794
1800
|
}
|
|
1795
1801
|
function F() {
|
|
1796
|
-
e.readonly || e.disabled || (d.value ? M() :
|
|
1802
|
+
e.readonly || e.disabled || (d.value ? M() : U());
|
|
1797
1803
|
}
|
|
1798
|
-
function
|
|
1804
|
+
function O(a) {
|
|
1799
1805
|
var m, $, D;
|
|
1800
1806
|
!((m = y.value) != null && m.contains(a.relatedTarget)) && !((D = ($ = u.value) == null ? void 0 : $.fieldRef) != null && D.contains(a.relatedTarget)) && M();
|
|
1801
1807
|
}
|
|
1802
|
-
function
|
|
1808
|
+
function U() {
|
|
1803
1809
|
d.value || (o("before-show"), d.value = !0);
|
|
1804
1810
|
}
|
|
1805
1811
|
function M() {
|
|
1806
1812
|
d.value && (o("before-hide"), d.value = !1);
|
|
1807
1813
|
}
|
|
1808
1814
|
function W() {
|
|
1809
|
-
d.value ? M() :
|
|
1815
|
+
d.value ? M() : U();
|
|
1810
1816
|
}
|
|
1811
|
-
let
|
|
1817
|
+
let R;
|
|
1812
1818
|
function H(a) {
|
|
1813
1819
|
if (!(!a.key || e.readonly || e.disabled)) {
|
|
1814
|
-
if (window.clearTimeout(
|
|
1820
|
+
if (window.clearTimeout(R), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(a.key) && (a.preventDefault(), a.stopPropagation()), ["Enter", " "].includes(a.key) && (d.value = !0), ["Escape", "Tab"].includes(a.key) && (d.value ? d.value = !1 : T.value && a.key === "Escape" && A()), a.key === "Delete" && e.clearable && A(), /^[a-z]$/i.test(a.key)) {
|
|
1815
1821
|
s.value += a.key.toLowerCase();
|
|
1816
1822
|
for (let m = 0; m < e.items.length; m++)
|
|
1817
1823
|
if (e.items[m][e.itemLabel].toLowerCase().startsWith(s.value)) {
|
|
@@ -1819,7 +1825,7 @@ const Rt = ["role"], Ot = {
|
|
|
1819
1825
|
break;
|
|
1820
1826
|
}
|
|
1821
1827
|
}
|
|
1822
|
-
|
|
1828
|
+
R = window.setTimeout(function() {
|
|
1823
1829
|
s.value = "";
|
|
1824
1830
|
}, 500);
|
|
1825
1831
|
}
|
|
@@ -1843,12 +1849,12 @@ const Rt = ["role"], Ot = {
|
|
|
1843
1849
|
var m;
|
|
1844
1850
|
(m = p.value) == null || m.focusItem(a);
|
|
1845
1851
|
}
|
|
1846
|
-
return
|
|
1852
|
+
return C(
|
|
1847
1853
|
() => e.modelValue,
|
|
1848
1854
|
(a) => {
|
|
1849
1855
|
n.value = a;
|
|
1850
1856
|
}
|
|
1851
|
-
),
|
|
1857
|
+
), C(
|
|
1852
1858
|
() => e.loading,
|
|
1853
1859
|
(a) => {
|
|
1854
1860
|
!a && d.value && X(j);
|
|
@@ -1856,7 +1862,7 @@ const Rt = ["role"], Ot = {
|
|
|
1856
1862
|
), (a, m) => {
|
|
1857
1863
|
var $;
|
|
1858
1864
|
return c(), v(ee, null, [
|
|
1859
|
-
|
|
1865
|
+
Q(b(_e), {
|
|
1860
1866
|
id: e.id,
|
|
1861
1867
|
label: e.label,
|
|
1862
1868
|
required: e.required,
|
|
@@ -1892,7 +1898,7 @@ const Rt = ["role"], Ot = {
|
|
|
1892
1898
|
onClick: A
|
|
1893
1899
|
}, {
|
|
1894
1900
|
default: g(() => [
|
|
1895
|
-
|
|
1901
|
+
Q(b(J), te(ae(e.icons.clear)), null, 16)
|
|
1896
1902
|
]),
|
|
1897
1903
|
_: 1
|
|
1898
1904
|
})) : I("", !0),
|
|
@@ -1906,7 +1912,7 @@ const Rt = ["role"], Ot = {
|
|
|
1906
1912
|
onClick: W
|
|
1907
1913
|
}, {
|
|
1908
1914
|
default: g(() => [
|
|
1909
|
-
|
|
1915
|
+
Q(b(J), te(ae(e.icons.chevron)), null, 16)
|
|
1910
1916
|
]),
|
|
1911
1917
|
_: 1
|
|
1912
1918
|
}, 8, ["disabled"]))
|
|
@@ -1939,7 +1945,7 @@ const Rt = ["role"], Ot = {
|
|
|
1939
1945
|
key: "1"
|
|
1940
1946
|
} : void 0
|
|
1941
1947
|
]), 1032, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "aria-expanded", "size"]),
|
|
1942
|
-
|
|
1948
|
+
Q(b(pe), {
|
|
1943
1949
|
modelValue: d.value,
|
|
1944
1950
|
"onUpdate:modelValue": m[1] || (m[1] = (D) => d.value = D),
|
|
1945
1951
|
spy: "",
|
|
@@ -1957,12 +1963,12 @@ const Rt = ["role"], Ot = {
|
|
|
1957
1963
|
ref: y,
|
|
1958
1964
|
class: "q-select__body",
|
|
1959
1965
|
tabindex: "-1",
|
|
1960
|
-
onFocusout:
|
|
1966
|
+
onFocusout: O,
|
|
1961
1967
|
onKeydown: ie(H, ["stop"])
|
|
1962
1968
|
}, [
|
|
1963
1969
|
h(a.$slots, "body.prepend"),
|
|
1964
1970
|
e.loading ? (c(), v("div", hl, [
|
|
1965
|
-
|
|
1971
|
+
Q(b(ge), { size: 24 })
|
|
1966
1972
|
])) : (c(), V(b(Ae), {
|
|
1967
1973
|
key: 1,
|
|
1968
1974
|
ref_key: "listRef",
|
|
@@ -2027,7 +2033,7 @@ const Rt = ["role"], Ot = {
|
|
|
2027
2033
|
h(e.$slots, "anchor", {
|
|
2028
2034
|
props: { "aria-describedby": b(o) }
|
|
2029
2035
|
}),
|
|
2030
|
-
|
|
2036
|
+
Q(b(pe), {
|
|
2031
2037
|
"model-value": l.modelValue,
|
|
2032
2038
|
anchor: l.anchor,
|
|
2033
2039
|
role: "tooltip",
|