@quidgest/ui 0.31.0 → 0.31.1
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/CHANGELOG.md +11 -0
- package/dist/json/api.json +13 -9
- package/dist/ui.css +77 -3
- package/dist/ui.esm.js +547 -539
- package/dist/ui.min.css +1 -1
- package/dist/ui.scss +80 -3
- package/lib/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/lib/components/QCombobox/QCombobox.vue.js +165 -165
- package/lib/components/QList/QListItem.d.ts.map +1 -1
- package/lib/components/QList/QListItem.vue.js +52 -33
- package/lib/components/QSelect/QSelect.d.ts.map +1 -1
- package/lib/components/QSelect/QSelect.vue.js +55 -55
- package/lib/templates/theme.d.ts.map +1 -1
- package/lib/templates/theme.js +23 -11
- package/lib/types/component.d.ts +3 -1
- package/lib/types/component.d.ts.map +1 -1
- package/lib/utils/color/merge.d.ts.map +1 -1
- package/lib/utils/color/merge.js +1 -0
- package/lib/utils/color/theme-colors.d.ts +1 -1
- package/lib/utils/color/theme-colors.d.ts.map +1 -1
- package/lib/utils/color/theme-colors.js +1 -0
- package/lib/utils/color/types.d.ts +3 -0
- package/lib/utils/color/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -16,12 +16,15 @@ var O = [
|
|
|
16
16
|
"aria-disabled",
|
|
17
17
|
"aria-selected"
|
|
18
18
|
], k = { class: "q-list-item__container" }, A = { class: "q-list-item__content" }, j = {
|
|
19
|
+
ref: "label",
|
|
20
|
+
class: "q-list-item__label"
|
|
21
|
+
}, M = { class: "q-list-item__label-text" }, N = {
|
|
19
22
|
key: 0,
|
|
20
23
|
class: "q-list-item__description"
|
|
21
|
-
},
|
|
24
|
+
}, P = ["id"], F = {
|
|
22
25
|
key: 0,
|
|
23
26
|
class: "q-list-item__check-container"
|
|
24
|
-
},
|
|
27
|
+
}, I = { class: "q-checkbox__input" }, L = /*@__PURE__*/ d({
|
|
25
28
|
__name: "QListItem",
|
|
26
29
|
props: /*@__PURE__*/ m({
|
|
27
30
|
value: {},
|
|
@@ -45,66 +48,82 @@ var O = [
|
|
|
45
48
|
}),
|
|
46
49
|
emits: /*@__PURE__*/ m(["click"], ["update:modelValue"]),
|
|
47
50
|
setup(r, { emit: d }) {
|
|
48
|
-
let m = r,
|
|
49
|
-
if (!
|
|
50
|
-
let
|
|
51
|
+
let m = r, L = d, R = w(r, "modelValue"), z = p(i, "option"), B = t(), V = a(() => `${B.value}_description`), H = e(m.value);
|
|
52
|
+
if (!H) throw Error("QListItem: Failed to retrieve group item. Ensure the component is used within a QList context.");
|
|
53
|
+
let U = a(() => {
|
|
51
54
|
if (!m.width) return;
|
|
52
55
|
let e = /^(\d*\.?\d+)%$/.exec(m.width.trim());
|
|
53
56
|
return { "--q-list-item-width": e ? `calc(${e[1]}% - var(--q-list-grid-gap) * ${(100 - Number(e[1])) / 100})` : m.width };
|
|
54
|
-
}),
|
|
55
|
-
|
|
57
|
+
}), W = b(0), G = a(() => {
|
|
58
|
+
let e = W.value > 0 ? { "--q-option-label-overflow": `${W.value}px` } : void 0;
|
|
59
|
+
if (!(!U.value && !e)) return {
|
|
60
|
+
...U.value,
|
|
61
|
+
...e
|
|
62
|
+
};
|
|
63
|
+
}), K = T("label");
|
|
64
|
+
function q() {
|
|
65
|
+
let e = K.value;
|
|
66
|
+
if (!e) return;
|
|
67
|
+
let t = e.scrollWidth - e.clientWidth;
|
|
68
|
+
W.value = t > 0 ? t : 0;
|
|
69
|
+
let n = e.closest(".q-list-item");
|
|
70
|
+
n && (W.value > 0 ? n.style.setProperty("--q-option-label-overflow", `${W.value}px`) : n.style.removeProperty("--q-option-label-overflow"));
|
|
71
|
+
}
|
|
72
|
+
E(() => m.highlighted, (e) => {
|
|
73
|
+
e && q();
|
|
74
|
+
}, { flush: "post" });
|
|
75
|
+
let J = b(!1);
|
|
76
|
+
function Y() {
|
|
56
77
|
if (!m.overflowTitle) return;
|
|
57
|
-
let e =
|
|
58
|
-
|
|
78
|
+
let e = K.value;
|
|
79
|
+
J.value = !!e && e.scrollWidth > e.clientWidth;
|
|
59
80
|
}
|
|
60
|
-
function
|
|
61
|
-
m.disabled || (
|
|
81
|
+
function X() {
|
|
82
|
+
m.disabled || (L("click"), m.selectable && H?.toggle());
|
|
62
83
|
}
|
|
63
|
-
function
|
|
64
|
-
e.key === "Tab" && !e.shiftKey && m.selectOnTab && !
|
|
84
|
+
function Z(e) {
|
|
85
|
+
e.key === "Tab" && !e.shiftKey && m.selectOnTab && !H?.isActive.value && X(), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), X());
|
|
65
86
|
}
|
|
66
|
-
return E(
|
|
67
|
-
|
|
87
|
+
return E(H.isActive, (e) => {
|
|
88
|
+
R.value = e;
|
|
68
89
|
}, { immediate: !0 }), (e, t) => (y(), c("li", {
|
|
69
|
-
id: C(
|
|
90
|
+
id: C(B),
|
|
70
91
|
"data-key": m.value,
|
|
71
|
-
role: C(
|
|
92
|
+
role: C(z),
|
|
72
93
|
tabindex: m.disabled ? void 0 : -1,
|
|
73
94
|
class: g(["q-list-item", {
|
|
74
|
-
"q-list-item--selected":
|
|
95
|
+
"q-list-item--selected": R.value,
|
|
75
96
|
"q-list-item--selectable": m.selectable,
|
|
76
97
|
"q-list-item--disabled": m.disabled,
|
|
77
98
|
"q-list-item--highlighted": m.highlighted
|
|
78
99
|
}]),
|
|
79
|
-
style: v(
|
|
80
|
-
title: m.overflowTitle &&
|
|
100
|
+
style: v(G.value),
|
|
101
|
+
title: m.overflowTitle && J.value ? m.label : void 0,
|
|
81
102
|
"aria-label": m.label,
|
|
82
|
-
"aria-describedby": m.description ?
|
|
103
|
+
"aria-describedby": m.description ? V.value : void 0,
|
|
83
104
|
"aria-disabled": m.disabled || void 0,
|
|
84
|
-
"aria-selected": C(
|
|
85
|
-
onKeydown:
|
|
86
|
-
|
|
87
|
-
|
|
105
|
+
"aria-selected": C(z) === "option" && !m.disabled ? R.value : void 0,
|
|
106
|
+
onKeydown: Z,
|
|
107
|
+
onFocus: q,
|
|
108
|
+
onMouseenter: Y,
|
|
109
|
+
onClick: D(X, ["stop", "prevent"])
|
|
88
110
|
}, [
|
|
89
111
|
x(e.$slots, "prepend"),
|
|
90
|
-
l("div", k, [l("div", A, [x(e.$slots, "default", {}, () => [m.icon ? (y(), o(C(n), h({ key: 0 }, m.icon, { class: "q-list-item__icon" }), null, 16)) : s("v-if", !0), l("span", {
|
|
91
|
-
ref: "label",
|
|
92
|
-
class: "q-list-item__label"
|
|
93
|
-
}, S(m.label), 513)])]), m.description ? (y(), c("div", j, [u(C(n), _(f(m.icons.description)), null, 16), l("span", { id: z.value }, S(m.description), 9, M)])) : s("v-if", !0)]),
|
|
112
|
+
l("div", k, [l("div", A, [x(e.$slots, "default", {}, () => [m.icon ? (y(), o(C(n), h({ key: 0 }, m.icon, { class: "q-list-item__icon" }), null, 16)) : s("v-if", !0), l("span", j, [l("span", M, S(m.label), 1)], 512)])]), m.description ? (y(), c("div", N, [u(C(n), _(f(m.icons.description)), null, 16), l("span", { id: V.value }, S(m.description), 9, P)])) : s("v-if", !0)]),
|
|
94
113
|
x(e.$slots, "append"),
|
|
95
|
-
m.selectable ? (y(), c("div",
|
|
114
|
+
m.selectable ? (y(), c("div", F, [m.checkboxless && R.value ? (y(), o(C(n), h({ key: 0 }, m.icons.check, {
|
|
96
115
|
class: "q-list-item__check",
|
|
97
116
|
"aria-hidden": "true"
|
|
98
117
|
}), null, 16)) : m.checkboxless ? s("v-if", !0) : (y(), c("span", {
|
|
99
118
|
key: 1,
|
|
100
119
|
"aria-hidden": "true",
|
|
101
120
|
class: g(["q-checkbox q-checkbox--small", {
|
|
102
|
-
"q-checkbox--checked":
|
|
121
|
+
"q-checkbox--checked": R.value,
|
|
103
122
|
"q-checkbox--disabled": m.disabled
|
|
104
123
|
}])
|
|
105
|
-
}, [l("span",
|
|
124
|
+
}, [l("span", I, [R.value ? (y(), o(C(n), h({ key: 0 }, m.icons.check, { class: "q-checkbox__input-icon" }), null, 16)) : s("v-if", !0)])], 2))])) : s("v-if", !0)
|
|
106
125
|
], 46, O));
|
|
107
126
|
}
|
|
108
127
|
});
|
|
109
128
|
//#endregion
|
|
110
|
-
export {
|
|
129
|
+
export { L as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA8TA;
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA8TA;AA88BC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AAGrC,OAAO,EAEN,QAAQ,EAQR,MAAM,KAAK,CAAA;AAIZ,KAAK,WAAW,GAAG,YAAY,CAAC;AAuehC;;GAEG;AACH,iBAAS,SAAS,SAEjB;AAwHF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAmsBT,OAAO,IAA6B;;yBA5BpB,GAAG;;;;;YACL,GAAG;wBACF,GAAG;wBACF,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAh0CvC,GA3EM,8CA2EN,GA3EuD,yBA2EvD,GA1ED,6DA0EC,GA1EqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0ErC,GA3EM,8CA2EN,GA3EuD,yBA2EvD,GA1ED,6DA0EC,GA1EqC;;;;;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AAC"}
|
|
@@ -103,20 +103,20 @@ var ve = {
|
|
|
103
103
|
"hide"
|
|
104
104
|
], ["update:modelValue", "update:open"]),
|
|
105
105
|
setup(l, { expose: ie, emit: oe }) {
|
|
106
|
-
let v = l, k = oe, A = ge(l, "modelValue"), j = e(me(v, "id")), M = he(), Oe = d(() => `${j.value}_input`), ke = d(() => `${j.value}_listbox`), N = ge(l, "open"), P = d(() => !!(N.value && !v.loading && v.items?.length)), Ae = d(() => !N.value || P.value ? "" : v.loading ? v.texts.loading : v.texts.noData), je = d(() => v.overflow === "fit-content" ? "auto" : "anchor"), F = de(0), I = !0, L = !1, R = T("trigger"),
|
|
107
|
-
let e =
|
|
106
|
+
let v = l, k = oe, A = ge(l, "modelValue"), j = e(me(v, "id")), M = he(), Oe = d(() => `${j.value}_input`), ke = d(() => `${j.value}_listbox`), N = ge(l, "open"), P = d(() => !!(N.value && !v.loading && v.items?.length)), Ae = d(() => !N.value || P.value ? "" : v.loading ? v.texts.loading : v.texts.noData), je = d(() => v.overflow === "fit-content" ? "auto" : "anchor"), Me = d(() => v.overflow === "truncate" || v.overflow === "wrap-on-focus" || v.overflow === "scroll-on-focus"), F = de(0), I = !0, L = !1, R = T("trigger"), Ne = d(() => typeof M["aria-describedby"] == "string" ? M["aria-describedby"] : void 0), z = T("input"), Pe = d(() => v.readonly && !v.disabled ? { click: () => void 0 } : {}), Fe = d(() => {
|
|
107
|
+
let e = Ve.value?.$el;
|
|
108
108
|
return e?.querySelector("button") ?? e;
|
|
109
109
|
});
|
|
110
|
-
function
|
|
110
|
+
function Ie() {
|
|
111
111
|
return typeof M["aria-label"] == "string" ? M["aria-label"] : Array.from(z.value?.labels ?? []).map((e) => e.textContent?.trim()).filter(Boolean).join(" ") || void 0;
|
|
112
112
|
}
|
|
113
|
-
let
|
|
114
|
-
function
|
|
113
|
+
let Le = T("list"), B = T("content"), Re = T("valueContainer"), ze = T("allBadges"), Be = T("allPlainTexts"), Ve = T("hiddenItemsCountBadge"), V = T("counterMeasure"), He = T("separatorMeasure"), H = null, U = /* @__PURE__ */ new Set(), W = null;
|
|
114
|
+
function Ue() {
|
|
115
115
|
W && clearTimeout(W), W = setTimeout(() => {
|
|
116
116
|
$();
|
|
117
117
|
}, 120);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function We(e) {
|
|
120
120
|
if (!H) return;
|
|
121
121
|
let t = new Set(e);
|
|
122
122
|
for (let e of U) t.has(e) || (H.unobserve(e), U.delete(e));
|
|
@@ -126,57 +126,57 @@ var ve = {
|
|
|
126
126
|
$();
|
|
127
127
|
let e = R.value?.fieldRef;
|
|
128
128
|
e && (H = new ResizeObserver(() => {
|
|
129
|
-
|
|
129
|
+
Ue();
|
|
130
130
|
}), H.observe(e));
|
|
131
131
|
}), le(() => {
|
|
132
132
|
H?.disconnect(), U.clear(), W && clearTimeout(W);
|
|
133
133
|
});
|
|
134
134
|
let G = d(() => K.value.length === 0), K = d(() => {
|
|
135
|
-
if (v.multiple) return (A.value ?? []).map((e) =>
|
|
136
|
-
let e = A.value === void 0 ? void 0 :
|
|
135
|
+
if (v.multiple) return (A.value ?? []).map((e) => Ke(e)).filter((e) => !!e);
|
|
136
|
+
let e = A.value === void 0 ? void 0 : Ke(A.value);
|
|
137
137
|
return e ? [e] : [];
|
|
138
|
-
}),
|
|
138
|
+
}), Ge = d(() => {
|
|
139
139
|
let e = /* @__PURE__ */ new Map();
|
|
140
140
|
return v.items?.forEach((t, n) => {
|
|
141
141
|
e.set(t.key, n);
|
|
142
142
|
}), e;
|
|
143
143
|
}), q = d(() => K.value?.map(Y).filter(Boolean).join(", ")), J = d(() => v.clearable && !v.readonly && !v.disabled && !v.loading && !G.value);
|
|
144
|
-
function
|
|
144
|
+
function Ke(e) {
|
|
145
145
|
return v.items?.find((t) => t[v.itemValue] === e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function qe(e) {
|
|
148
148
|
let t = K.value[e]?.[v.itemValue];
|
|
149
149
|
X(A.value.filter((e) => e !== t));
|
|
150
150
|
}
|
|
151
151
|
function Y(e) {
|
|
152
152
|
return e?.[v.itemLabel] ?? "";
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Je(e) {
|
|
155
155
|
return e + 1 < K.value.length - F.value ? O : "";
|
|
156
156
|
}
|
|
157
157
|
function X(e) {
|
|
158
|
-
Array.isArray(e) ? A.value = e.sort((e, t) =>
|
|
158
|
+
Array.isArray(e) ? A.value = e.sort((e, t) => Ge.value.get(e) - Ge.value.get(t)) : (A.value = e, Q(!L));
|
|
159
159
|
}
|
|
160
160
|
function Z() {
|
|
161
|
-
X(v.emptyValue),
|
|
161
|
+
X(v.emptyValue), at();
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Ye(e) {
|
|
164
164
|
let t = e.relatedTarget;
|
|
165
165
|
!B.value?.contains(t) && !R.value?.fieldRef?.contains(t) && Q(!1);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Xe() {
|
|
168
168
|
N.value || v.readonly || v.disabled || (I = !0, k("before-show"), N.value = !0);
|
|
169
169
|
}
|
|
170
170
|
function Q(e = !0) {
|
|
171
171
|
N.value &&= (I = e, k("before-hide"), !1);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Ze(e) {
|
|
174
174
|
N.value && (e.target?.closest("input, button, a, [tabindex]") || e.preventDefault());
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
v.readonly || v.disabled || (N.value ? Q() :
|
|
176
|
+
function Qe() {
|
|
177
|
+
v.readonly || v.disabled || (N.value ? Q() : Xe());
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function $e(e) {
|
|
180
180
|
if (!e.key || v.readonly || v.disabled) return;
|
|
181
181
|
let t = e.altKey && e.key === "ArrowDown" && !N.value;
|
|
182
182
|
(e.altKey || e.ctrlKey || e.metaKey) && !t || ([
|
|
@@ -191,11 +191,11 @@ var ve = {
|
|
|
191
191
|
"Enter",
|
|
192
192
|
" ",
|
|
193
193
|
"ArrowDown"
|
|
194
|
-
].includes(e.key) &&
|
|
194
|
+
].includes(e.key) && Xe(), ["Escape", "Tab"].includes(e.key) && (N.value ? Q(e.key !== "Tab") : J.value && e.key === "Escape" && Z()), J.value && e.key === "Delete" && Z());
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function et(e) {
|
|
197
197
|
if (e.key !== "Tab") {
|
|
198
|
-
|
|
198
|
+
$e(e);
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
201
|
e.preventDefault(), L = !0;
|
|
@@ -206,31 +206,31 @@ var ve = {
|
|
|
206
206
|
((t && e ? n(e, r) : void 0) ?? z.value)?.focus();
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function tt(e) {
|
|
210
210
|
e.preventDefault();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function nt() {
|
|
213
213
|
Q(!1);
|
|
214
214
|
}
|
|
215
|
-
async function
|
|
216
|
-
await b(), v.loading ? B.value?.focus() :
|
|
217
|
-
}
|
|
218
|
-
function rt() {
|
|
219
|
-
I && it(), I = !0, k("hide");
|
|
215
|
+
async function rt() {
|
|
216
|
+
await b(), v.loading ? B.value?.focus() : ot(), k("show");
|
|
220
217
|
}
|
|
221
218
|
function it() {
|
|
222
|
-
|
|
219
|
+
I && at(), I = !0, k("hide");
|
|
223
220
|
}
|
|
224
221
|
function at() {
|
|
225
|
-
|
|
222
|
+
z.value?.focus();
|
|
223
|
+
}
|
|
224
|
+
function ot() {
|
|
225
|
+
Le.value?.$el.focus();
|
|
226
226
|
}
|
|
227
227
|
async function $() {
|
|
228
|
-
if (await b(), await b(), !v.multiple || !
|
|
228
|
+
if (await b(), await b(), !v.multiple || !Re.value || G.value) {
|
|
229
229
|
F.value = 0;
|
|
230
230
|
return;
|
|
231
231
|
}
|
|
232
|
-
let e =
|
|
233
|
-
if (
|
|
232
|
+
let e = Re.value, t = e.getBoundingClientRect().width, n = parseFloat(getComputedStyle(e).columnGap) || 0, r = V.value?.$el.getBoundingClientRect().width ?? 0, i = v.badges ? (ze.value ?? []).map((e) => e.$el) : Be.value ?? [], a = i.map((e) => e.getBoundingClientRect().width), o = He.value?.getBoundingClientRect().width ?? 0;
|
|
233
|
+
if (We(V.value ? [...i, V.value.$el] : i), a.reduce((e, t) => e + t, 0) + n * (a.length - 1) - o <= t) {
|
|
234
234
|
F.value = 0;
|
|
235
235
|
return;
|
|
236
236
|
}
|
|
@@ -242,7 +242,7 @@ var ve = {
|
|
|
242
242
|
F.value = a.length - s;
|
|
243
243
|
}
|
|
244
244
|
return E(() => v.loading, (e) => {
|
|
245
|
-
!e && N.value && b(
|
|
245
|
+
!e && N.value && b(ot);
|
|
246
246
|
}), E(() => v.badges, $), E(K, $, { deep: !0 }), E(() => v.clearable, $), E([
|
|
247
247
|
N,
|
|
248
248
|
() => v.readonly,
|
|
@@ -252,7 +252,7 @@ var ve = {
|
|
|
252
252
|
}, {
|
|
253
253
|
flush: "sync",
|
|
254
254
|
immediate: !0
|
|
255
|
-
}), ie({ focusList:
|
|
255
|
+
}), ie({ focusList: ot }), (e, n) => (x(), m(u, null, [
|
|
256
256
|
_(w(ne), {
|
|
257
257
|
id: w(j),
|
|
258
258
|
ref: "trigger",
|
|
@@ -277,9 +277,9 @@ var ve = {
|
|
|
277
277
|
"help-display": v.helpDisplay,
|
|
278
278
|
icons: v.icons,
|
|
279
279
|
texts: v.texts,
|
|
280
|
-
onMousedown:
|
|
281
|
-
onClick:
|
|
282
|
-
onKeydown:
|
|
280
|
+
onMousedown: Ze,
|
|
281
|
+
onClick: Qe,
|
|
282
|
+
onKeydown: $e
|
|
283
283
|
}, ae({
|
|
284
284
|
default: D(({ describedBy: n, invalid: r }) => [S(e.$slots, "value", {
|
|
285
285
|
empty: G.value,
|
|
@@ -296,7 +296,7 @@ var ve = {
|
|
|
296
296
|
removable: !v.readonly && !v.disabled && (!v.required || K.value.length > 1),
|
|
297
297
|
icons: v.icons,
|
|
298
298
|
texts: v.texts,
|
|
299
|
-
"onClick:remove": () =>
|
|
299
|
+
"onClick:remove": () => qe(n)
|
|
300
300
|
}, {
|
|
301
301
|
default: D(() => [e?.icon ? (x(), f(w(t), y({
|
|
302
302
|
key: 0,
|
|
@@ -310,7 +310,7 @@ var ve = {
|
|
|
310
310
|
"icons",
|
|
311
311
|
"texts",
|
|
312
312
|
"onClick:remove"
|
|
313
|
-
])) : v.multiple ? (x(), m("span", ye, C(Y(e) +
|
|
313
|
+
])) : v.multiple ? (x(), m("span", ye, C(Y(e) + Je(n)), 1)) : p("v-if", !0)], 64)) : p("v-if", !0)], 64))), 128)),
|
|
314
314
|
F.value > 0 ? (x(), m(u, { key: 0 }, [_(w(c), y({
|
|
315
315
|
ref: "hiddenItemsCountBadge",
|
|
316
316
|
pill: "",
|
|
@@ -319,7 +319,7 @@ var ve = {
|
|
|
319
319
|
icons: v.icons,
|
|
320
320
|
texts: v.texts,
|
|
321
321
|
class: ["q-select__badge-count", { "q-select__badge-count--clickable": v.readonly || v.disabled }]
|
|
322
|
-
}, pe(
|
|
322
|
+
}, pe(Pe.value)), {
|
|
323
323
|
default: D(() => [g(" +" + C(F.value), 1)]),
|
|
324
324
|
_: 1
|
|
325
325
|
}, 16, [
|
|
@@ -329,7 +329,7 @@ var ve = {
|
|
|
329
329
|
"class"
|
|
330
330
|
]), v.readonly || v.disabled ? (x(), f(w(i), {
|
|
331
331
|
key: 0,
|
|
332
|
-
anchor:
|
|
332
|
+
anchor: Fe.value,
|
|
333
333
|
text: q.value,
|
|
334
334
|
placement: "bottom-start"
|
|
335
335
|
}, {
|
|
@@ -404,7 +404,7 @@ var ve = {
|
|
|
404
404
|
value: q.value,
|
|
405
405
|
"aria-invalid": r || void 0
|
|
406
406
|
}, e.$attrs, {
|
|
407
|
-
"aria-describedby": w(o)(n,
|
|
407
|
+
"aria-describedby": w(o)(n, Ne.value),
|
|
408
408
|
class: "q-select__input",
|
|
409
409
|
inputmode: "none",
|
|
410
410
|
type: "text",
|
|
@@ -419,7 +419,7 @@ var ve = {
|
|
|
419
419
|
"aria-disabled": v.disabled || void 0,
|
|
420
420
|
"aria-busy": v.loading || void 0,
|
|
421
421
|
"aria-keyshortcuts": J.value ? "Delete" : void 0,
|
|
422
|
-
onBeforeinput:
|
|
422
|
+
onBeforeinput: tt
|
|
423
423
|
}), null, 16, Ce)]),
|
|
424
424
|
append: D(() => [
|
|
425
425
|
S(e.$slots, "append"),
|
|
@@ -438,7 +438,7 @@ var ve = {
|
|
|
438
438
|
borderless: "",
|
|
439
439
|
tabindex: -1,
|
|
440
440
|
disabled: v.disabled,
|
|
441
|
-
onClick:
|
|
441
|
+
onClick: Qe
|
|
442
442
|
}, {
|
|
443
443
|
default: D(() => [_(w(s), {
|
|
444
444
|
"model-value": N.value,
|
|
@@ -493,9 +493,9 @@ var ve = {
|
|
|
493
493
|
inline: v.inline,
|
|
494
494
|
anchor: v.overlayAnchor ?? R.value?.fieldRef,
|
|
495
495
|
offset: 2,
|
|
496
|
-
"onUpdate:modelValue":
|
|
497
|
-
onEnter:
|
|
498
|
-
onLeave:
|
|
496
|
+
"onUpdate:modelValue": nt,
|
|
497
|
+
onEnter: rt,
|
|
498
|
+
onLeave: it
|
|
499
499
|
}, {
|
|
500
500
|
default: D(() => [p(" eslint-disable-next-line vuejs-accessibility/no-static-element-interactions -- Takes the keys and focus of the list inside it "), h("div", {
|
|
501
501
|
ref: "content",
|
|
@@ -503,8 +503,8 @@ var ve = {
|
|
|
503
503
|
"data-key": w(j),
|
|
504
504
|
class: "q-select__body",
|
|
505
505
|
tabindex: "-1",
|
|
506
|
-
onFocusout:
|
|
507
|
-
onKeydown: _e(
|
|
506
|
+
onFocusout: Ye,
|
|
507
|
+
onKeydown: _e(et, ["stop"])
|
|
508
508
|
}, [
|
|
509
509
|
S(e.$slots, "body.prepend"),
|
|
510
510
|
v.loading ? (x(), m("div", Ee, [_(w(a), { size: 24 })])) : v.items?.length ? (x(), f(w(te), {
|
|
@@ -512,7 +512,7 @@ var ve = {
|
|
|
512
512
|
id: ke.value,
|
|
513
513
|
ref: "list",
|
|
514
514
|
class: se(["q-select__items", `q-select__items--${v.overflow}`]),
|
|
515
|
-
label:
|
|
515
|
+
label: Ie(),
|
|
516
516
|
"aria-labelledby": w(M)["aria-labelledby"],
|
|
517
517
|
selectable: "",
|
|
518
518
|
icons: v.icons,
|
|
@@ -523,7 +523,7 @@ var ve = {
|
|
|
523
523
|
groups: l.groups,
|
|
524
524
|
"item-label": v.itemLabel,
|
|
525
525
|
"item-value": v.itemValue,
|
|
526
|
-
"item-title":
|
|
526
|
+
"item-title": Me.value,
|
|
527
527
|
"select-on-tab": v.selectOnTab,
|
|
528
528
|
"onUpdate:modelValue": X
|
|
529
529
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/templates/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD,eAAO,MAAM,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/templates/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD,eAAO,MAAM,uBAAuB,EAAE,YAsDrC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,YAsDpC,CAAA"}
|
package/lib/templates/theme.js
CHANGED
|
@@ -3,6 +3,9 @@ var e = {
|
|
|
3
3
|
primary: "#185fa5",
|
|
4
4
|
primaryLight: "#b9d7f5",
|
|
5
5
|
primaryDark: "#0e3963",
|
|
6
|
+
secondary: "#593b57",
|
|
7
|
+
secondaryLight: "#dbc9da",
|
|
8
|
+
secondaryDark: "#352334",
|
|
6
9
|
highlight: "#ae5700",
|
|
7
10
|
highlightLight: "#ffd5ab",
|
|
8
11
|
highlightDark: "#683400",
|
|
@@ -26,6 +29,9 @@ var e = {
|
|
|
26
29
|
onPrimary: "#fff",
|
|
27
30
|
onPrimaryLight: "#000",
|
|
28
31
|
onPrimaryDark: "#fff",
|
|
32
|
+
onSecondary: "#fff",
|
|
33
|
+
onSecondaryLight: "#000",
|
|
34
|
+
onSecondaryDark: "#fff",
|
|
29
35
|
onHighlight: "#fff",
|
|
30
36
|
onHighlightLight: "#000",
|
|
31
37
|
onHighlightDark: "#fff",
|
|
@@ -50,18 +56,21 @@ var e = {
|
|
|
50
56
|
primary: "#4796e5",
|
|
51
57
|
primaryLight: "#1a2632",
|
|
52
58
|
primaryDark: "#91c0ef",
|
|
59
|
+
secondary: "#a584a1",
|
|
60
|
+
secondaryLight: "#282327",
|
|
61
|
+
secondaryDark: "#c8b5c6",
|
|
53
62
|
highlight: "#d16900",
|
|
54
63
|
highlightLight: "#2f1f0f",
|
|
55
64
|
highlightDark: "#ffa54a",
|
|
56
|
-
info: "#
|
|
57
|
-
infoLight: "#
|
|
58
|
-
infoDark: "#
|
|
59
|
-
success: "#
|
|
60
|
-
successLight: "#
|
|
61
|
-
successDark: "#
|
|
62
|
-
warning: "#
|
|
63
|
-
warningLight: "#
|
|
64
|
-
warningDark: "#
|
|
65
|
+
info: "#18afc3",
|
|
66
|
+
infoLight: "#132a2d",
|
|
67
|
+
infoDark: "#64dcec",
|
|
68
|
+
success: "#3caf51",
|
|
69
|
+
successLight: "#182a1b",
|
|
70
|
+
successDark: "#84d593",
|
|
71
|
+
warning: "#d6ab00",
|
|
72
|
+
warningLight: "#2f290f",
|
|
73
|
+
warningDark: "#ffdc4e",
|
|
65
74
|
danger: "#e75241",
|
|
66
75
|
dangerLight: "#321c19",
|
|
67
76
|
dangerDark: "#f1978d",
|
|
@@ -73,15 +82,18 @@ var e = {
|
|
|
73
82
|
onPrimary: "#000",
|
|
74
83
|
onPrimaryLight: "#fff",
|
|
75
84
|
onPrimaryDark: "#000",
|
|
85
|
+
onSecondary: "#000",
|
|
86
|
+
onSecondaryLight: "#fff",
|
|
87
|
+
onSecondaryDark: "#000",
|
|
76
88
|
onHighlight: "#000",
|
|
77
89
|
onHighlightLight: "#fff",
|
|
78
90
|
onHighlightDark: "#000",
|
|
79
91
|
onInfo: "#000",
|
|
80
92
|
onInfoLight: "#fff",
|
|
81
|
-
onInfoDark: "#
|
|
93
|
+
onInfoDark: "#000",
|
|
82
94
|
onSuccess: "#000",
|
|
83
95
|
onSuccessLight: "#fff",
|
|
84
|
-
onSuccessDark: "#
|
|
96
|
+
onSuccessDark: "#000",
|
|
85
97
|
onWarning: "#000",
|
|
86
98
|
onWarningLight: "#fff",
|
|
87
99
|
onWarningDark: "#000",
|
package/lib/types/component.d.ts
CHANGED
|
@@ -54,7 +54,9 @@ export type QLive = 'assertive' | 'polite' | 'off';
|
|
|
54
54
|
* - `wrap`: menu matches the field; labels wrap onto multiple lines.
|
|
55
55
|
* - `truncate`: menu matches the field; labels ellipsize. A cut-off label shows its full text in a native `title` on hover (accessible name unchanged).
|
|
56
56
|
* - `fit-content`: menu grows to the longest option, even when wider than the field.
|
|
57
|
+
* - `wrap-on-focus`: like `truncate` until the option is focused (or highlighted, while focus stays in a combobox field); that option then wraps like `wrap`.
|
|
58
|
+
* - `scroll-on-focus`: like `truncate` until the option is focused or highlighted; that option then scrolls its label to the end and back. The trip stays under five seconds. With reduced motion, that option wraps instead.
|
|
57
59
|
* Shared by `QSelect` and `QCombobox`.
|
|
58
60
|
*/
|
|
59
|
-
export type QOptionOverflow = 'truncate' | 'wrap' | 'fit-content';
|
|
61
|
+
export type QOptionOverflow = 'truncate' | 'wrap' | 'fit-content' | 'wrap-on-focus' | 'scroll-on-focus';
|
|
60
62
|
//# sourceMappingURL=component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/types/component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEzD;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,KAAK,CAAA;AAEtD;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,QAAQ,GAAG,KAAK,CAAA;AAElD
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/types/component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEzD;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,KAAK,CAAA;AAEtD;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,QAAQ,GAAG,KAAK,CAAA;AAElD;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GACxB,UAAU,GACV,MAAM,GACN,aAAa,GACb,eAAe,GACf,iBAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/utils/color/merge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ7D,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/utils/color/merge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ7D,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAA;AAmCpF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,YAAY,CA4CzF"}
|
package/lib/utils/color/merge.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* hand-written `--background` modifier (and skip inline vars for that color).
|
|
9
9
|
* `container` is omitted (scheme resolve only).
|
|
10
10
|
*/
|
|
11
|
-
export declare const THEME_COLOR_KEYS: readonly ["primary", "highlight", "info", "success", "warning", "danger", "neutral", "background"];
|
|
11
|
+
export declare const THEME_COLOR_KEYS: readonly ["primary", "secondary", "highlight", "info", "success", "warning", "danger", "neutral", "background"];
|
|
12
12
|
/**
|
|
13
13
|
* A theme utility color key that resolves against the active color scheme.
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-colors.d.ts","sourceRoot":"","sources":["../../../src/utils/color/theme-colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"theme-colors.d.ts","sourceRoot":"","sources":["../../../src/utils/color/theme-colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,iHAUnB,CAAA;AAEV;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MA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