@quidgest/ui 0.15.9 → 0.16.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/dist/manifest/components.json +4 -1
- package/dist/ui.css +11 -12
- package/dist/ui.esm.js +3758 -3654
- package/dist/ui.js +26 -26
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +748 -741
- package/dist/ui.scss +34 -31
- package/esm/components/QAccordion/QAccordion.d.ts +4 -3
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +21 -17
- package/esm/components/QAccordion/QAccordionItem.d.ts +19 -0
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -0
- package/esm/components/QAccordion/QAccordionItem.vue.js +42 -0
- package/esm/components/QAccordion/QAccordionItem.vue2.js +4 -0
- package/esm/components/QAccordion/index.d.ts +35 -15
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/index.js +6 -4
- package/esm/components/QAccordion/types.d.ts +25 -5
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +9 -11
- package/esm/components/QButton/types.d.ts +0 -4
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +60 -65
- package/esm/components/QCollapsible/index.d.ts +14 -14
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +16 -18
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +59 -57
- package/esm/components/QCombobox/index.d.ts +11 -9
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +16 -16
- package/esm/components/QList/QList.d.ts +9 -9
- package/esm/components/QList/QListItem.d.ts +1 -1
- package/esm/components/QList/index.d.ts +10 -10
- package/esm/components/QOverlay/QOverlay.vue.js +15 -16
- package/esm/components/QOverlay/index.d.ts +0 -3
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +0 -4
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +31 -34
- package/esm/components/QRadioGroup/QRadioButton.vue.js +3 -3
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +1 -1
- package/esm/components/QSelect/QSelect.d.ts +16 -16
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +58 -56
- package/esm/components/QSelect/index.d.ts +11 -8
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/{QButtonToggle/QButtonToggle.d.ts → QToggle/QToggle.d.ts} +11 -9
- package/esm/components/QToggle/QToggle.d.ts.map +1 -0
- package/esm/components/QToggle/QToggle.vue.js +40 -0
- package/esm/components/QToggle/QToggle.vue2.js +4 -0
- package/esm/components/QToggle/index.d.ts +71 -0
- package/esm/components/QToggle/index.d.ts.map +1 -0
- package/esm/components/{QButtonToggle → QToggle}/index.js +3 -3
- package/esm/components/QToggle/types.d.ts +3 -0
- package/esm/components/QToggle/types.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +28 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +49 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue2.js +4 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +19 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +44 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +4 -0
- package/esm/components/QToggleGroup/index.d.ts +75 -0
- package/esm/components/QToggleGroup/index.d.ts.map +1 -0
- package/esm/components/QToggleGroup/index.js +8 -0
- package/esm/components/QToggleGroup/types.d.ts +19 -0
- package/esm/components/QToggleGroup/types.d.ts.map +1 -0
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +42 -40
- package/esm/components/index.d.ts +2 -1
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +83 -79
- package/esm/composables/{group.d.ts → useGroup/index.d.ts} +11 -3
- package/esm/composables/useGroup/index.d.ts.map +1 -0
- package/esm/composables/useGroup/index.js +38 -0
- package/esm/index.d.ts +4 -1
- package/package.json +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +0 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +0 -62
- package/esm/components/QButtonToggle/QButtonToggle.vue2.js +0 -4
- package/esm/components/QButtonToggle/index.d.ts +0 -51
- package/esm/components/QButtonToggle/index.d.ts.map +0 -1
- package/esm/components/QButtonToggle/types.d.ts +0 -29
- package/esm/components/QButtonToggle/types.d.ts.map +0 -1
- package/esm/composables/group.d.ts.map +0 -1
- package/esm/composables/group.js +0 -31
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ne, mergeModels as H, useModel as T, ref as g, onMounted as ie, computed as m, watch as k, nextTick as I, createElementBlock as A, openBlock as b, Fragment as ue, createVNode as M, unref as v, mergeProps as se, createSlots as de, withCtx as r, renderSlot as f, createBlock as _, createCommentVNode as j, withModifiers as re, createElementVNode as fe, toDisplayString as ce } from "vue";
|
|
2
2
|
import { DEFAULT_ICONS as me, DEFAULT_TEXTS as ve } from "./types.js";
|
|
3
3
|
import { QButton as pe } from "../QButton/index.js";
|
|
4
4
|
import { QList as be } from "../QList/index.js";
|
|
@@ -7,13 +7,13 @@ import { QSpinnerLoader as ye } from "../QSpinnerLoader/index.js";
|
|
|
7
7
|
import { QTextField as ge } from "../QTextField/index.js";
|
|
8
8
|
import { QChevron as ke } from "../__internal__/QChevron/index.js";
|
|
9
9
|
import { QClearButton as Ie } from "../__internal__/QClearButton/index.js";
|
|
10
|
-
const
|
|
10
|
+
const xe = ["data-key"], we = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "q-select__loader"
|
|
13
13
|
}, Ve = {
|
|
14
14
|
key: 2,
|
|
15
15
|
class: "q-select__loader"
|
|
16
|
-
}, Te = /* @__PURE__ */
|
|
16
|
+
}, Te = /* @__PURE__ */ ne({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "QCombobox",
|
|
19
19
|
props: /* @__PURE__ */ H({
|
|
@@ -38,6 +38,7 @@ const we = ["data-key"], xe = {
|
|
|
38
38
|
filterMode: { default: "builtin" },
|
|
39
39
|
loading: { type: Boolean },
|
|
40
40
|
emptyValue: {},
|
|
41
|
+
inline: { type: Boolean },
|
|
41
42
|
icons: { default: () => me }
|
|
42
43
|
}, {
|
|
43
44
|
modelValue: {},
|
|
@@ -48,28 +49,28 @@ const we = ["data-key"], xe = {
|
|
|
48
49
|
searchModifiers: {}
|
|
49
50
|
}),
|
|
50
51
|
emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
|
|
51
|
-
setup(
|
|
52
|
-
const l =
|
|
53
|
-
|
|
54
|
-
const
|
|
52
|
+
setup(x, { expose: K, emit: W }) {
|
|
53
|
+
const l = x, w = W, d = T(x, "modelValue"), i = T(x, "open"), u = T(x, "search"), o = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
|
|
54
|
+
ie(y);
|
|
55
|
+
const D = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
|
|
55
56
|
var e;
|
|
56
|
-
return l.filterMode === "manual" || !
|
|
57
|
+
return l.filterMode === "manual" || !G.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
|
|
57
58
|
(t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
|
|
58
59
|
)) ?? [];
|
|
59
60
|
}), h = m(() => {
|
|
60
61
|
var e;
|
|
61
62
|
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
|
|
62
|
-
}), Q = m(() => h.value === void 0),
|
|
63
|
+
}), Q = m(() => h.value === void 0), q = m(() => {
|
|
63
64
|
const e = o.value;
|
|
64
65
|
if (e !== void 0 && p.value[e])
|
|
65
66
|
return p.value[e];
|
|
66
|
-
}),
|
|
67
|
+
}), X = m(() => {
|
|
67
68
|
var t;
|
|
68
69
|
if (o.value === void 0)
|
|
69
70
|
return;
|
|
70
71
|
const e = (t = s.value) == null ? void 0 : t.getItem(o.value);
|
|
71
72
|
return e == null ? void 0 : e.id;
|
|
72
|
-
}),
|
|
73
|
+
}), G = m(() => {
|
|
73
74
|
var e;
|
|
74
75
|
return u.value.length > 0 && u.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
|
|
75
76
|
});
|
|
@@ -81,44 +82,44 @@ const we = ["data-key"], xe = {
|
|
|
81
82
|
const e = ((t = h.value) == null ? void 0 : t[l.itemLabel]) || "";
|
|
82
83
|
u.value !== e && (u.value = e);
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
-
i.value || l.readonly || l.disabled || (
|
|
85
|
+
function C() {
|
|
86
|
+
i.value || l.readonly || l.disabled || (w("before-show"), i.value = !0, E());
|
|
86
87
|
}
|
|
87
88
|
function F() {
|
|
88
|
-
i.value && (
|
|
89
|
+
i.value && (w("before-hide"), i.value = !1, o.value = void 0);
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function J() {
|
|
91
92
|
i.value ? F() : U();
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
94
|
+
function Y() {
|
|
95
|
+
D.value && (d.value = l.emptyValue, o.value = void 0, E());
|
|
95
96
|
}
|
|
96
97
|
function U() {
|
|
97
|
-
if (
|
|
98
|
+
if (C(), h.value !== void 0) {
|
|
98
99
|
const e = p.value.indexOf(h.value);
|
|
99
100
|
e !== -1 && I(() => z(e));
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
+
function Z(e) {
|
|
103
104
|
var t, a;
|
|
104
105
|
if (!(!e.key || l.readonly || l.disabled))
|
|
105
106
|
if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
|
|
106
|
-
y(), i.value && F();
|
|
107
|
+
y(), i.value && (e.preventDefault(), e.stopPropagation(), F());
|
|
107
108
|
else if (["ArrowDown", "ArrowUp"].includes(e.key))
|
|
108
109
|
i.value ? I(() => {
|
|
109
110
|
if (o.value === void 0)
|
|
110
111
|
$();
|
|
111
112
|
else {
|
|
112
113
|
const n = e.key === "ArrowDown" ? "next" : "prev";
|
|
113
|
-
|
|
114
|
+
le(o.value, n);
|
|
114
115
|
}
|
|
115
|
-
}) : (
|
|
116
|
-
e.key === "ArrowDown" ? $() :
|
|
116
|
+
}) : (C(), I(() => {
|
|
117
|
+
e.key === "ArrowDown" ? $() : ee();
|
|
117
118
|
}));
|
|
118
119
|
else if (e.key === "Enter") {
|
|
119
|
-
if (
|
|
120
|
-
S(
|
|
121
|
-
} else e.key === "Home" ? o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") &&
|
|
120
|
+
if (q.value === void 0) return;
|
|
121
|
+
S(q.value[l.itemValue]);
|
|
122
|
+
} else e.key === "Home" ? o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && C();
|
|
122
123
|
}
|
|
123
124
|
function $() {
|
|
124
125
|
var e, t;
|
|
@@ -131,35 +132,35 @@ const we = ["data-key"], xe = {
|
|
|
131
132
|
a === -1 ? o.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : o.value = a;
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
+
function ee() {
|
|
135
136
|
var e;
|
|
136
137
|
o.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
|
|
137
138
|
}
|
|
138
|
-
function
|
|
139
|
+
function le(e, t) {
|
|
139
140
|
var a;
|
|
140
141
|
o.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, t);
|
|
141
142
|
}
|
|
142
143
|
function O(e) {
|
|
143
|
-
var
|
|
144
|
-
const t = ((
|
|
144
|
+
var B, N, P, R;
|
|
145
|
+
const t = ((B = V == null ? void 0 : V.value) == null ? void 0 : B.$el) === e.relatedTarget, a = (P = (N = c == null ? void 0 : c.value) == null ? void 0 : N.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = L == null ? void 0 : L.value) == null ? void 0 : R.contains(e.relatedTarget);
|
|
145
146
|
if (t || n || a) {
|
|
146
147
|
e.preventDefault(), e.stopPropagation();
|
|
147
148
|
return;
|
|
148
149
|
}
|
|
149
|
-
F(),
|
|
150
|
+
F(), D.value && !u.value && (d.value = l.emptyValue), y();
|
|
150
151
|
}
|
|
151
152
|
function E() {
|
|
152
153
|
var e, t;
|
|
153
154
|
(t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
|
|
154
155
|
}
|
|
155
|
-
function
|
|
156
|
+
function te() {
|
|
156
157
|
E();
|
|
157
158
|
}
|
|
158
|
-
function
|
|
159
|
-
|
|
159
|
+
function ae() {
|
|
160
|
+
w("show");
|
|
160
161
|
}
|
|
161
|
-
function
|
|
162
|
-
|
|
162
|
+
function oe() {
|
|
163
|
+
w("hide");
|
|
163
164
|
}
|
|
164
165
|
function z(e) {
|
|
165
166
|
var a;
|
|
@@ -184,15 +185,15 @@ const we = ["data-key"], xe = {
|
|
|
184
185
|
(e) => {
|
|
185
186
|
!e && i.value && I($);
|
|
186
187
|
}
|
|
187
|
-
),
|
|
188
|
+
), K({
|
|
188
189
|
triggerEl: c
|
|
189
190
|
}), (e, t) => {
|
|
190
191
|
var a;
|
|
191
192
|
return b(), A(
|
|
192
|
-
|
|
193
|
+
ue,
|
|
193
194
|
null,
|
|
194
195
|
[
|
|
195
|
-
|
|
196
|
+
M(v(ge), se({
|
|
196
197
|
id: l.id,
|
|
197
198
|
ref_key: "triggerEl",
|
|
198
199
|
ref: c,
|
|
@@ -217,13 +218,13 @@ const we = ["data-key"], xe = {
|
|
|
217
218
|
"aria-expanded": i.value,
|
|
218
219
|
"aria-haspopup": "listbox",
|
|
219
220
|
"aria-autocomplete": "list",
|
|
220
|
-
"aria-activedescendant":
|
|
221
|
+
"aria-activedescendant": X.value,
|
|
221
222
|
size: l.size
|
|
222
223
|
}, e.$attrs, {
|
|
223
224
|
onClick: U,
|
|
224
225
|
onFocusout: O,
|
|
225
|
-
onKeydown:
|
|
226
|
-
}),
|
|
226
|
+
onKeydown: Z
|
|
227
|
+
}), de({
|
|
227
228
|
"label.prepend": r(() => [
|
|
228
229
|
f(e.$slots, "label.prepend")
|
|
229
230
|
]),
|
|
@@ -232,11 +233,11 @@ const we = ["data-key"], xe = {
|
|
|
232
233
|
]),
|
|
233
234
|
append: r(() => [
|
|
234
235
|
f(e.$slots, "append"),
|
|
235
|
-
|
|
236
|
+
D.value && u.value ? (b(), _(v(Ie), {
|
|
236
237
|
key: 0,
|
|
237
238
|
icons: l.icons,
|
|
238
239
|
texts: l.texts,
|
|
239
|
-
onClick:
|
|
240
|
+
onClick: Y
|
|
240
241
|
}, null, 8, ["icons", "texts"])) : j("v-if", !0),
|
|
241
242
|
l.readonly ? j("v-if", !0) : (b(), _(v(pe), {
|
|
242
243
|
key: 1,
|
|
@@ -249,10 +250,10 @@ const we = ["data-key"], xe = {
|
|
|
249
250
|
borderless: "",
|
|
250
251
|
tabindex: "-1",
|
|
251
252
|
disabled: l.disabled,
|
|
252
|
-
onMousedown:
|
|
253
|
+
onMousedown: re(J, ["stop", "prevent"])
|
|
253
254
|
}, {
|
|
254
255
|
default: r(() => [
|
|
255
|
-
|
|
256
|
+
M(v(ke), {
|
|
256
257
|
"model-value": i.value,
|
|
257
258
|
icons: l.icons
|
|
258
259
|
}, null, 8, ["model-value", "icons"])
|
|
@@ -279,7 +280,7 @@ const we = ["data-key"], xe = {
|
|
|
279
280
|
key: "1"
|
|
280
281
|
} : void 0
|
|
281
282
|
]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
|
|
282
|
-
|
|
283
|
+
M(v(he), {
|
|
283
284
|
modelValue: i.value,
|
|
284
285
|
"onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
|
|
285
286
|
spy: "",
|
|
@@ -288,9 +289,10 @@ const we = ["data-key"], xe = {
|
|
|
288
289
|
placement: "bottom-start",
|
|
289
290
|
width: "anchor",
|
|
290
291
|
offset: 4,
|
|
292
|
+
inline: l.inline,
|
|
291
293
|
anchor: (a = c.value) == null ? void 0 : a.$el,
|
|
292
|
-
onEnter:
|
|
293
|
-
onLeave:
|
|
294
|
+
onEnter: ae,
|
|
295
|
+
onLeave: oe
|
|
294
296
|
}, {
|
|
295
297
|
default: r(() => {
|
|
296
298
|
var n;
|
|
@@ -304,8 +306,8 @@ const we = ["data-key"], xe = {
|
|
|
304
306
|
onFocusout: O
|
|
305
307
|
}, [
|
|
306
308
|
f(e.$slots, "body.prepend"),
|
|
307
|
-
l.loading ? (b(), A("div",
|
|
308
|
-
|
|
309
|
+
l.loading ? (b(), A("div", we, [
|
|
310
|
+
M(v(ye), { size: 24 })
|
|
309
311
|
])) : p.value.length ? (b(), _(v(be), {
|
|
310
312
|
key: 1,
|
|
311
313
|
ref_key: "listRef",
|
|
@@ -313,16 +315,16 @@ const we = ["data-key"], xe = {
|
|
|
313
315
|
"model-value": d.value,
|
|
314
316
|
class: "q-select__items",
|
|
315
317
|
selectable: "",
|
|
316
|
-
highlighted: (n =
|
|
318
|
+
highlighted: (n = q.value) == null ? void 0 : n[l.itemValue],
|
|
317
319
|
items: p.value,
|
|
318
320
|
groups: e.groups,
|
|
319
321
|
"item-label": l.itemLabel,
|
|
320
322
|
"item-value": l.itemValue,
|
|
321
|
-
onMouseup:
|
|
323
|
+
onMouseup: te,
|
|
322
324
|
"onUpdate:modelValue": S
|
|
323
325
|
}, {
|
|
324
|
-
item: r(({ item:
|
|
325
|
-
f(e.$slots, "item", { item:
|
|
326
|
+
item: r(({ item: B }) => [
|
|
327
|
+
f(e.$slots, "item", { item: B })
|
|
326
328
|
]),
|
|
327
329
|
_: 3
|
|
328
330
|
/* FORWARDED */
|
|
@@ -334,12 +336,12 @@ const we = ["data-key"], xe = {
|
|
|
334
336
|
/* TEXT */
|
|
335
337
|
)),
|
|
336
338
|
f(e.$slots, "body.append")
|
|
337
|
-
], 40,
|
|
339
|
+
], 40, xe)
|
|
338
340
|
];
|
|
339
341
|
}),
|
|
340
342
|
_: 3
|
|
341
343
|
/* FORWARDED */
|
|
342
|
-
}, 8, ["modelValue", "anchor"])
|
|
344
|
+
}, 8, ["modelValue", "inline", "anchor"])
|
|
343
345
|
],
|
|
344
346
|
64
|
|
345
347
|
/* STABLE_FRAGMENT */
|
|
@@ -12,6 +12,7 @@ declare const QCombobox: {
|
|
|
12
12
|
filterMode?: "builtin" | "manual";
|
|
13
13
|
loading?: boolean;
|
|
14
14
|
emptyValue?: any;
|
|
15
|
+
inline?: boolean;
|
|
15
16
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
16
17
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
17
18
|
}> & Readonly<{
|
|
@@ -638,7 +639,6 @@ declare const QCombobox: {
|
|
|
638
639
|
readonly loading?: boolean | undefined;
|
|
639
640
|
readonly size?: import('../QButton/types').QButtonSize | undefined;
|
|
640
641
|
readonly iconPos?: import('../QButton/types').QButtonIconPosition | undefined;
|
|
641
|
-
readonly active?: boolean | undefined;
|
|
642
642
|
readonly pill?: boolean | undefined;
|
|
643
643
|
readonly onClick?: ((event: Event) => any) | undefined;
|
|
644
644
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -712,8 +712,8 @@ declare const QCombobox: {
|
|
|
712
712
|
readonly itemLabel?: string | undefined;
|
|
713
713
|
readonly disabled?: boolean | undefined;
|
|
714
714
|
readonly selectable?: boolean | undefined;
|
|
715
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
716
715
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
716
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
717
717
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
718
718
|
$attrs: {
|
|
719
719
|
[x: string]: unknown;
|
|
@@ -735,8 +735,8 @@ declare const QCombobox: {
|
|
|
735
735
|
readonly disabled?: boolean | undefined;
|
|
736
736
|
readonly description?: string | undefined;
|
|
737
737
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
738
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
739
738
|
readonly onClick?: (() => any) | undefined;
|
|
739
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
740
740
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
741
741
|
$attrs: {
|
|
742
742
|
[x: string]: unknown;
|
|
@@ -750,13 +750,13 @@ declare const QCombobox: {
|
|
|
750
750
|
$root: import('vue').ComponentPublicInstance | null;
|
|
751
751
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
752
752
|
$host: Element | null;
|
|
753
|
-
$emit: ((event: "
|
|
753
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
754
754
|
$el: HTMLLIElement;
|
|
755
755
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
756
756
|
modelValue?: boolean;
|
|
757
757
|
} & import('..').QListItemProps> & Readonly<{
|
|
758
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
759
758
|
onClick?: (() => any) | undefined;
|
|
759
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
760
760
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
761
761
|
"update:modelValue": (value: boolean) => any;
|
|
762
762
|
} & {
|
|
@@ -788,8 +788,8 @@ declare const QCombobox: {
|
|
|
788
788
|
}> & Omit<Readonly<{
|
|
789
789
|
modelValue?: boolean;
|
|
790
790
|
} & import('..').QListItemProps> & Readonly<{
|
|
791
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
792
791
|
onClick?: (() => any) | undefined;
|
|
792
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
793
793
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
794
794
|
$slots: {
|
|
795
795
|
prepend?(_: {}): any;
|
|
@@ -804,7 +804,7 @@ declare const QCombobox: {
|
|
|
804
804
|
$root: import('vue').ComponentPublicInstance | null;
|
|
805
805
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
806
806
|
$host: Element | null;
|
|
807
|
-
$emit: ((event: "
|
|
807
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
808
808
|
$el: any;
|
|
809
809
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
810
810
|
modelValue?: any;
|
|
@@ -817,8 +817,8 @@ declare const QCombobox: {
|
|
|
817
817
|
disabled?: boolean;
|
|
818
818
|
selectable?: boolean;
|
|
819
819
|
}> & Readonly<{
|
|
820
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
821
820
|
onClick?: ((key: any) => any) | undefined;
|
|
821
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
822
822
|
}>, {
|
|
823
823
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
824
824
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -867,8 +867,8 @@ declare const QCombobox: {
|
|
|
867
867
|
disabled?: boolean;
|
|
868
868
|
selectable?: boolean;
|
|
869
869
|
}> & Readonly<{
|
|
870
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
871
870
|
onClick?: ((key: any) => any) | undefined;
|
|
871
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
872
872
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
873
873
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
874
874
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -906,6 +906,7 @@ declare const QCombobox: {
|
|
|
906
906
|
filterMode?: "builtin" | "manual";
|
|
907
907
|
loading?: boolean;
|
|
908
908
|
emptyValue?: any;
|
|
909
|
+
inline?: boolean;
|
|
909
910
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
910
911
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
911
912
|
}> & Readonly<{
|
|
@@ -1331,6 +1332,7 @@ declare const QCombobox: {
|
|
|
1331
1332
|
filterMode?: "builtin" | "manual";
|
|
1332
1333
|
loading?: boolean;
|
|
1333
1334
|
emptyValue?: any;
|
|
1335
|
+
inline?: boolean;
|
|
1334
1336
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
1335
1337
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
1336
1338
|
}> & Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -34,6 +34,10 @@ export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
|
|
|
34
34
|
* used to check if the field has a selected item.
|
|
35
35
|
*/
|
|
36
36
|
emptyValue?: any;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to disable the teleport of the combobox overlay.
|
|
39
|
+
*/
|
|
40
|
+
inline?: boolean;
|
|
37
41
|
/**
|
|
38
42
|
* Custom icon configurations.
|
|
39
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
|
|
@@ -31,8 +31,8 @@ declare function __VLS_template(): {
|
|
|
31
31
|
readonly itemLabel?: string | undefined;
|
|
32
32
|
readonly disabled?: boolean | undefined;
|
|
33
33
|
readonly selectable?: boolean | undefined;
|
|
34
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
35
34
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
35
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
36
36
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
37
37
|
$attrs: {
|
|
38
38
|
[x: string]: unknown;
|
|
@@ -54,8 +54,8 @@ declare function __VLS_template(): {
|
|
|
54
54
|
readonly disabled?: boolean | undefined;
|
|
55
55
|
readonly description?: string | undefined;
|
|
56
56
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
57
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
58
57
|
readonly onClick?: (() => any) | undefined;
|
|
58
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
59
59
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
60
60
|
$attrs: {
|
|
61
61
|
[x: string]: unknown;
|
|
@@ -69,13 +69,13 @@ declare function __VLS_template(): {
|
|
|
69
69
|
$root: import('vue').ComponentPublicInstance | null;
|
|
70
70
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
71
71
|
$host: Element | null;
|
|
72
|
-
$emit: ((event: "
|
|
72
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
73
73
|
$el: HTMLLIElement;
|
|
74
74
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
75
75
|
modelValue?: boolean;
|
|
76
76
|
} & import('..').QListItemProps> & Readonly<{
|
|
77
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
78
77
|
onClick?: (() => any) | undefined;
|
|
78
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
79
79
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
80
80
|
"update:modelValue": (value: boolean) => any;
|
|
81
81
|
} & {
|
|
@@ -107,8 +107,8 @@ declare function __VLS_template(): {
|
|
|
107
107
|
}> & Omit<Readonly<{
|
|
108
108
|
modelValue?: boolean;
|
|
109
109
|
} & import('..').QListItemProps> & Readonly<{
|
|
110
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
111
110
|
onClick?: (() => any) | undefined;
|
|
111
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
112
112
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
113
113
|
$slots: {
|
|
114
114
|
prepend?(_: {}): any;
|
|
@@ -123,7 +123,7 @@ declare function __VLS_template(): {
|
|
|
123
123
|
$root: import('vue').ComponentPublicInstance | null;
|
|
124
124
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
125
125
|
$host: Element | null;
|
|
126
|
-
$emit: ((event: "
|
|
126
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
127
127
|
$el: any;
|
|
128
128
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
129
129
|
modelValue?: any;
|
|
@@ -136,8 +136,8 @@ declare function __VLS_template(): {
|
|
|
136
136
|
disabled?: boolean;
|
|
137
137
|
selectable?: boolean;
|
|
138
138
|
}> & Readonly<{
|
|
139
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
140
139
|
onClick?: ((key: any) => any) | undefined;
|
|
140
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
141
141
|
}>, {
|
|
142
142
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
143
143
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -186,8 +186,8 @@ declare function __VLS_template(): {
|
|
|
186
186
|
disabled?: boolean;
|
|
187
187
|
selectable?: boolean;
|
|
188
188
|
}> & Readonly<{
|
|
189
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
190
189
|
onClick?: ((key: any) => any) | undefined;
|
|
190
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
191
191
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
192
192
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
193
193
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -246,8 +246,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
246
246
|
readonly itemLabel?: string | undefined;
|
|
247
247
|
readonly disabled?: boolean | undefined;
|
|
248
248
|
readonly selectable?: boolean | undefined;
|
|
249
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
250
249
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
250
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
251
251
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
252
252
|
$attrs: {
|
|
253
253
|
[x: string]: unknown;
|
|
@@ -269,8 +269,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
269
269
|
readonly disabled?: boolean | undefined;
|
|
270
270
|
readonly description?: string | undefined;
|
|
271
271
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
272
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
273
272
|
readonly onClick?: (() => any) | undefined;
|
|
273
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
274
274
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
275
275
|
$attrs: {
|
|
276
276
|
[x: string]: unknown;
|
|
@@ -284,13 +284,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
284
284
|
$root: import('vue').ComponentPublicInstance | null;
|
|
285
285
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
286
286
|
$host: Element | null;
|
|
287
|
-
$emit: ((event: "
|
|
287
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
288
288
|
$el: HTMLLIElement;
|
|
289
289
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
290
290
|
modelValue?: boolean;
|
|
291
291
|
} & import('..').QListItemProps> & Readonly<{
|
|
292
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
293
292
|
onClick?: (() => any) | undefined;
|
|
293
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
294
294
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
295
295
|
"update:modelValue": (value: boolean) => any;
|
|
296
296
|
} & {
|
|
@@ -322,8 +322,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
322
322
|
}> & Omit<Readonly<{
|
|
323
323
|
modelValue?: boolean;
|
|
324
324
|
} & import('..').QListItemProps> & Readonly<{
|
|
325
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
326
325
|
onClick?: (() => any) | undefined;
|
|
326
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
327
327
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
328
328
|
$slots: {
|
|
329
329
|
prepend?(_: {}): any;
|
|
@@ -338,7 +338,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
338
338
|
$root: import('vue').ComponentPublicInstance | null;
|
|
339
339
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
340
340
|
$host: Element | null;
|
|
341
|
-
$emit: ((event: "
|
|
341
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
342
342
|
$el: any;
|
|
343
343
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
344
344
|
modelValue?: any;
|
|
@@ -351,8 +351,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
351
351
|
disabled?: boolean;
|
|
352
352
|
selectable?: boolean;
|
|
353
353
|
}> & Readonly<{
|
|
354
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
355
354
|
onClick?: ((key: any) => any) | undefined;
|
|
355
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
356
356
|
}>, {
|
|
357
357
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
358
358
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -401,8 +401,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
401
401
|
disabled?: boolean;
|
|
402
402
|
selectable?: boolean;
|
|
403
403
|
}> & Readonly<{
|
|
404
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
405
404
|
onClick?: ((key: any) => any) | undefined;
|
|
405
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
406
406
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
407
407
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
408
408
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|