@quidgest/ui 0.16.12 → 0.16.14
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 +2 -0
- package/dist/ui.css +234 -0
- package/dist/ui.esm.js +5093 -4831
- package/dist/ui.js +18 -18
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1042 -1022
- package/dist/ui.scss +159 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +13 -15
- package/esm/components/QCombobox/QCombobox.d.ts +40 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +126 -117
- package/esm/components/QCombobox/index.d.ts +20 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +133 -118
- package/esm/components/QSidebar/QSidebarPanel.d.ts +2 -2
- package/esm/components/QSidebar/QSidebarPanel.vue.js +24 -25
- package/esm/components/QToast/QToast.d.ts +33 -0
- package/esm/components/QToast/QToast.d.ts.map +1 -0
- package/esm/components/QToast/QToast.vue.js +212 -0
- package/esm/components/QToast/QToast.vue2.js +4 -0
- package/esm/components/QToast/QToaster.d.ts +6 -0
- package/esm/components/QToast/QToaster.d.ts.map +1 -0
- package/esm/components/QToast/QToaster.vue.js +48 -0
- package/esm/components/QToast/QToaster.vue2.js +4 -0
- package/esm/components/QToast/index.d.ts +56 -0
- package/esm/components/QToast/index.d.ts.map +1 -0
- package/esm/components/QToast/index.js +8 -0
- package/esm/components/QToast/types.d.ts +69 -0
- package/esm/components/QToast/types.d.ts.map +1 -0
- package/esm/components/QToast/types.js +8 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +15 -12
- package/esm/composables/index.d.ts +1 -0
- package/esm/composables/index.d.ts.map +1 -1
- package/esm/composables/useDialog/types.d.ts +1 -1
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useToast/index.d.ts +33 -0
- package/esm/composables/useToast/index.d.ts.map +1 -0
- package/esm/composables/useToast/index.js +35 -0
- package/esm/composables/useToast/types.d.ts +40 -0
- package/esm/composables/useToast/types.d.ts.map +1 -0
- package/esm/composables/useToast/types.js +4 -0
- package/esm/framework.d.ts.map +1 -1
- package/esm/framework.js +25 -19
- package/esm/index.d.ts +2 -0
- package/esm/index.js +7 -5
- package/esm/utils/color.js +29 -24
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DEFAULT_ICONS as
|
|
3
|
-
import { QButton as
|
|
4
|
-
import { QList as
|
|
5
|
-
import { QOverlay as
|
|
6
|
-
import { QSpinnerLoader as
|
|
7
|
-
import { QTextField as
|
|
8
|
-
import { QChevron as
|
|
9
|
-
import { QClearButton as
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as se, mergeModels as W, useModel as A, ref as b, onMounted as re, computed as m, watch as I, nextTick as x, createElementBlock as Q, openBlock as y, Fragment as de, createVNode as T, unref as v, mergeProps as fe, createSlots as ce, withCtx as d, renderSlot as f, createBlock as S, createCommentVNode as X, withModifiers as me, createElementVNode as ve, toDisplayString as pe } from "vue";
|
|
2
|
+
import { DEFAULT_ICONS as be, DEFAULT_TEXTS as ye } from "./types.js";
|
|
3
|
+
import { QButton as he } from "../QButton/index.js";
|
|
4
|
+
import { QList as ge } from "../QList/index.js";
|
|
5
|
+
import { QOverlay as ke } from "../QOverlay/index.js";
|
|
6
|
+
import { QSpinnerLoader as Ie } from "../QSpinnerLoader/index.js";
|
|
7
|
+
import { QTextField as xe } from "../QTextField/index.js";
|
|
8
|
+
import { QChevron as we } from "../__internal__/QChevron/index.js";
|
|
9
|
+
import { QClearButton as Ve } from "../__internal__/QClearButton/index.js";
|
|
10
|
+
const Le = ["data-key"], Fe = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "q-select__loader"
|
|
13
|
-
},
|
|
13
|
+
}, $e = {
|
|
14
14
|
key: 2,
|
|
15
15
|
class: "q-select__loader"
|
|
16
|
-
},
|
|
16
|
+
}, Qe = /* @__PURE__ */ se({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "QCombobox",
|
|
19
|
-
props: /* @__PURE__ */
|
|
19
|
+
props: /* @__PURE__ */ W({
|
|
20
20
|
id: {},
|
|
21
21
|
class: {},
|
|
22
22
|
label: {},
|
|
@@ -29,7 +29,7 @@ const xe = ["data-key"], we = {
|
|
|
29
29
|
placeholder: {},
|
|
30
30
|
maxLength: {},
|
|
31
31
|
clearable: { type: Boolean },
|
|
32
|
-
texts: { default: () =>
|
|
32
|
+
texts: { default: () => ye },
|
|
33
33
|
items: {},
|
|
34
34
|
groups: { default: () => [] },
|
|
35
35
|
itemValue: { default: "key" },
|
|
@@ -39,7 +39,7 @@ const xe = ["data-key"], we = {
|
|
|
39
39
|
loading: { type: Boolean },
|
|
40
40
|
emptyValue: {},
|
|
41
41
|
inline: { type: Boolean },
|
|
42
|
-
icons: { default: () =>
|
|
42
|
+
icons: { default: () => be }
|
|
43
43
|
}, {
|
|
44
44
|
modelValue: {},
|
|
45
45
|
modelModifiers: {},
|
|
@@ -48,152 +48,159 @@ const xe = ["data-key"], we = {
|
|
|
48
48
|
search: { default: "" },
|
|
49
49
|
searchModifiers: {}
|
|
50
50
|
}),
|
|
51
|
-
emits: /* @__PURE__ */
|
|
52
|
-
setup(
|
|
53
|
-
const l =
|
|
54
|
-
|
|
51
|
+
emits: /* @__PURE__ */ W(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
|
|
52
|
+
setup(w, { expose: G, emit: J }) {
|
|
53
|
+
const l = w, V = J, r = A(w, "modelValue"), i = A(w, "open"), u = A(w, "search"), o = b(void 0), c = b(null), s = b(null), L = b(null), F = b(null), $ = b(null);
|
|
54
|
+
re(k);
|
|
55
55
|
const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
|
|
56
56
|
var e;
|
|
57
|
-
return l.filterMode === "manual" || !
|
|
57
|
+
return l.filterMode === "manual" || !Z.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
|
|
58
58
|
(t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
|
|
59
59
|
)) ?? [];
|
|
60
60
|
}), h = m(() => {
|
|
61
61
|
var e;
|
|
62
|
-
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] ===
|
|
63
|
-
}),
|
|
62
|
+
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === r.value);
|
|
63
|
+
}), U = m(() => h.value === void 0), g = m(() => {
|
|
64
64
|
const e = o.value;
|
|
65
65
|
if (e !== void 0 && p.value[e])
|
|
66
66
|
return p.value[e];
|
|
67
|
-
}),
|
|
67
|
+
}), Y = m(() => {
|
|
68
68
|
var t;
|
|
69
69
|
if (o.value === void 0)
|
|
70
70
|
return;
|
|
71
71
|
const e = (t = s.value) == null ? void 0 : t.getItem(o.value);
|
|
72
72
|
return e == null ? void 0 : e.id;
|
|
73
|
-
}),
|
|
73
|
+
}), Z = m(() => {
|
|
74
74
|
var e;
|
|
75
75
|
return u.value.length > 0 && u.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
|
|
76
76
|
});
|
|
77
|
-
function
|
|
78
|
-
|
|
77
|
+
function C(e) {
|
|
78
|
+
r.value = e, B();
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function k() {
|
|
81
81
|
var t;
|
|
82
82
|
const e = ((t = h.value) == null ? void 0 : t[l.itemLabel]) || "";
|
|
83
83
|
u.value !== e && (u.value = e);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
i.value || l.readonly || l.disabled || (
|
|
85
|
+
function D() {
|
|
86
|
+
i.value || l.readonly || l.disabled || (V("before-show"), i.value = !0, E());
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
i.value && (
|
|
88
|
+
function B() {
|
|
89
|
+
i.value && (V("before-hide"), i.value = !1, o.value = void 0);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
i.value ?
|
|
91
|
+
function ee() {
|
|
92
|
+
i.value ? B() : O();
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
q.value && (
|
|
94
|
+
function le() {
|
|
95
|
+
q.value && (r.value = l.emptyValue, o.value = void 0, E());
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
if (
|
|
97
|
+
function O() {
|
|
98
|
+
if (D(), h.value !== void 0) {
|
|
99
99
|
const e = p.value.indexOf(h.value);
|
|
100
|
-
e !== -1 &&
|
|
100
|
+
e !== -1 && x(() => N(e));
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function te(e) {
|
|
104
104
|
var t, a;
|
|
105
105
|
if (!(!e.key || l.readonly || l.disabled))
|
|
106
106
|
if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
|
|
107
|
-
|
|
107
|
+
k(), i.value && (e.preventDefault(), e.stopPropagation(), B());
|
|
108
108
|
else if (["ArrowDown", "ArrowUp"].includes(e.key))
|
|
109
|
-
i.value ?
|
|
109
|
+
i.value ? x(() => {
|
|
110
110
|
if (o.value === void 0)
|
|
111
|
-
|
|
111
|
+
M();
|
|
112
112
|
else {
|
|
113
113
|
const n = e.key === "ArrowDown" ? "next" : "prev";
|
|
114
|
-
|
|
114
|
+
oe(o.value, n);
|
|
115
115
|
}
|
|
116
|
-
}) : (
|
|
117
|
-
e.key === "ArrowDown" ?
|
|
116
|
+
}) : (D(), x(() => {
|
|
117
|
+
e.key === "ArrowDown" ? M() : ae();
|
|
118
118
|
}));
|
|
119
119
|
else if (e.key === "Enter") {
|
|
120
|
-
if (
|
|
121
|
-
|
|
122
|
-
} else
|
|
120
|
+
if (g.value === void 0) return;
|
|
121
|
+
C(g.value[l.itemValue]);
|
|
122
|
+
} else if (e.key === "Home")
|
|
123
|
+
o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
|
|
124
|
+
else if (e.key === "End")
|
|
125
|
+
o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex();
|
|
126
|
+
else if (e.key === "Tab") {
|
|
127
|
+
if (g.value === void 0) return;
|
|
128
|
+
C(g.value[l.itemValue]);
|
|
129
|
+
} else (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && D();
|
|
123
130
|
}
|
|
124
|
-
function
|
|
131
|
+
function M() {
|
|
125
132
|
var e, t;
|
|
126
|
-
if (
|
|
133
|
+
if (U.value)
|
|
127
134
|
o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
|
|
128
135
|
else {
|
|
129
136
|
const a = p.value.findIndex(
|
|
130
|
-
(n) => n[l.itemValue] ===
|
|
137
|
+
(n) => n[l.itemValue] === r.value
|
|
131
138
|
);
|
|
132
139
|
a === -1 ? o.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : o.value = a;
|
|
133
140
|
}
|
|
134
141
|
}
|
|
135
|
-
function
|
|
142
|
+
function ae() {
|
|
136
143
|
var e;
|
|
137
144
|
o.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
|
|
138
145
|
}
|
|
139
|
-
function
|
|
146
|
+
function oe(e, t) {
|
|
140
147
|
var a;
|
|
141
148
|
o.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, t);
|
|
142
149
|
}
|
|
143
|
-
function
|
|
144
|
-
var
|
|
145
|
-
const t = ((
|
|
146
|
-
if (t ||
|
|
150
|
+
function z(e) {
|
|
151
|
+
var P, R, H, j, K;
|
|
152
|
+
const t = ((P = L == null ? void 0 : L.value) == null ? void 0 : P.$el) === e.relatedTarget, a = ((R = F == null ? void 0 : F.value) == null ? void 0 : R.$el) === e.relatedTarget, n = (j = (H = c == null ? void 0 : c.value) == null ? void 0 : H.$el) == null ? void 0 : j.contains(e.relatedTarget), _ = (K = $ == null ? void 0 : $.value) == null ? void 0 : K.contains(e.relatedTarget);
|
|
153
|
+
if (t || a || _ || n) {
|
|
147
154
|
e.preventDefault(), e.stopPropagation();
|
|
148
155
|
return;
|
|
149
156
|
}
|
|
150
|
-
|
|
157
|
+
B(), q.value && !u.value && (r.value = l.emptyValue), k();
|
|
151
158
|
}
|
|
152
159
|
function E() {
|
|
153
160
|
var e, t;
|
|
154
161
|
(t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
|
|
155
162
|
}
|
|
156
|
-
function
|
|
163
|
+
function ne() {
|
|
157
164
|
E();
|
|
158
165
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
166
|
+
function ie() {
|
|
167
|
+
V("show");
|
|
161
168
|
}
|
|
162
|
-
function
|
|
163
|
-
|
|
169
|
+
function ue() {
|
|
170
|
+
V("hide");
|
|
164
171
|
}
|
|
165
|
-
function
|
|
172
|
+
function N(e) {
|
|
166
173
|
var a;
|
|
167
174
|
const t = (a = s.value) == null ? void 0 : a.getItem(e);
|
|
168
175
|
s.value && (s.value.$el.scrollTop = t == null ? void 0 : t.offsetTop);
|
|
169
176
|
}
|
|
170
|
-
return
|
|
177
|
+
return I(r, k), I(
|
|
171
178
|
() => l.items,
|
|
172
179
|
(e, t) => {
|
|
173
|
-
if (!
|
|
174
|
-
const a = t == null ? void 0 : t.find((n) => n[l.itemValue] ===
|
|
175
|
-
u.value === (a == null ? void 0 : a[l.itemLabel]) &&
|
|
180
|
+
if (!U.value) {
|
|
181
|
+
const a = t == null ? void 0 : t.find((n) => n[l.itemValue] === r.value);
|
|
182
|
+
u.value === (a == null ? void 0 : a[l.itemLabel]) && k();
|
|
176
183
|
}
|
|
177
184
|
},
|
|
178
185
|
{ deep: !0 }
|
|
179
|
-
),
|
|
180
|
-
e !== void 0 &&
|
|
181
|
-
}),
|
|
182
|
-
e && i.value && l.selectionMode === "automatic" &&
|
|
183
|
-
}),
|
|
186
|
+
), I(o, (e) => {
|
|
187
|
+
e !== void 0 && N(e);
|
|
188
|
+
}), I(u, (e) => {
|
|
189
|
+
e && i.value && l.selectionMode === "automatic" && x(M);
|
|
190
|
+
}), I(
|
|
184
191
|
() => l.loading,
|
|
185
192
|
(e) => {
|
|
186
|
-
!e && i.value &&
|
|
193
|
+
!e && i.value && x(M);
|
|
187
194
|
}
|
|
188
|
-
),
|
|
195
|
+
), G({
|
|
189
196
|
triggerEl: c
|
|
190
197
|
}), (e, t) => {
|
|
191
198
|
var a;
|
|
192
|
-
return
|
|
193
|
-
|
|
199
|
+
return y(), Q(
|
|
200
|
+
de,
|
|
194
201
|
null,
|
|
195
202
|
[
|
|
196
|
-
|
|
203
|
+
T(v(xe), fe({
|
|
197
204
|
id: l.id,
|
|
198
205
|
ref_key: "triggerEl",
|
|
199
206
|
ref: c,
|
|
@@ -218,31 +225,33 @@ const xe = ["data-key"], we = {
|
|
|
218
225
|
"aria-expanded": i.value,
|
|
219
226
|
"aria-haspopup": "listbox",
|
|
220
227
|
"aria-autocomplete": "list",
|
|
221
|
-
"aria-activedescendant":
|
|
228
|
+
"aria-activedescendant": Y.value,
|
|
222
229
|
size: l.size
|
|
223
230
|
}, e.$attrs, {
|
|
224
|
-
onClick:
|
|
225
|
-
onFocusout:
|
|
226
|
-
onKeydown:
|
|
227
|
-
}),
|
|
228
|
-
"label.prepend":
|
|
231
|
+
onClick: O,
|
|
232
|
+
onFocusout: z,
|
|
233
|
+
onKeydown: te
|
|
234
|
+
}), ce({
|
|
235
|
+
"label.prepend": d(() => [
|
|
229
236
|
f(e.$slots, "label.prepend")
|
|
230
237
|
]),
|
|
231
|
-
"label.append":
|
|
238
|
+
"label.append": d(() => [
|
|
232
239
|
f(e.$slots, "label.append")
|
|
233
240
|
]),
|
|
234
|
-
append:
|
|
241
|
+
append: d(() => [
|
|
235
242
|
f(e.$slots, "append"),
|
|
236
|
-
q.value && u.value ? (
|
|
243
|
+
q.value && u.value ? (y(), S(v(Ve), {
|
|
237
244
|
key: 0,
|
|
245
|
+
ref_key: "clearRef",
|
|
246
|
+
ref: F,
|
|
238
247
|
icons: l.icons,
|
|
239
248
|
texts: l.texts,
|
|
240
|
-
onClick:
|
|
241
|
-
}, null, 8, ["icons", "texts"])) :
|
|
242
|
-
l.readonly ?
|
|
249
|
+
onClick: le
|
|
250
|
+
}, null, 8, ["icons", "texts"])) : X("v-if", !0),
|
|
251
|
+
l.readonly ? X("v-if", !0) : (y(), S(v(he), {
|
|
243
252
|
key: 1,
|
|
244
253
|
ref_key: "toggleRef",
|
|
245
|
-
ref:
|
|
254
|
+
ref: L,
|
|
246
255
|
class: "q-combobox__chevron",
|
|
247
256
|
"aria-label": l.texts.showOptions,
|
|
248
257
|
variant: "ghost",
|
|
@@ -250,10 +259,10 @@ const xe = ["data-key"], we = {
|
|
|
250
259
|
borderless: "",
|
|
251
260
|
tabindex: "-1",
|
|
252
261
|
disabled: l.disabled,
|
|
253
|
-
onMousedown:
|
|
262
|
+
onMousedown: me(ee, ["stop", "prevent"])
|
|
254
263
|
}, {
|
|
255
|
-
default:
|
|
256
|
-
|
|
264
|
+
default: d(() => [
|
|
265
|
+
T(v(we), {
|
|
257
266
|
"model-value": i.value,
|
|
258
267
|
icons: l.icons
|
|
259
268
|
}, null, 8, ["model-value", "icons"])
|
|
@@ -267,20 +276,20 @@ const xe = ["data-key"], we = {
|
|
|
267
276
|
}, [
|
|
268
277
|
e.$slots.prepend ? {
|
|
269
278
|
name: "prepend",
|
|
270
|
-
fn:
|
|
279
|
+
fn: d(() => [
|
|
271
280
|
f(e.$slots, "prepend")
|
|
272
281
|
]),
|
|
273
282
|
key: "0"
|
|
274
283
|
} : void 0,
|
|
275
284
|
e.$slots.extras ? {
|
|
276
285
|
name: "extras",
|
|
277
|
-
fn:
|
|
286
|
+
fn: d(() => [
|
|
278
287
|
f(e.$slots, "extras")
|
|
279
288
|
]),
|
|
280
289
|
key: "1"
|
|
281
290
|
} : void 0
|
|
282
291
|
]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
|
|
283
|
-
|
|
292
|
+
T(v(ke), {
|
|
284
293
|
modelValue: i.value,
|
|
285
294
|
"onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
|
|
286
295
|
spy: "",
|
|
@@ -291,53 +300,53 @@ const xe = ["data-key"], we = {
|
|
|
291
300
|
offset: 4,
|
|
292
301
|
inline: l.inline,
|
|
293
302
|
anchor: (a = c.value) == null ? void 0 : a.$el,
|
|
294
|
-
onEnter:
|
|
295
|
-
onLeave:
|
|
303
|
+
onEnter: ie,
|
|
304
|
+
onLeave: ue
|
|
296
305
|
}, {
|
|
297
|
-
default:
|
|
306
|
+
default: d(() => {
|
|
298
307
|
var n;
|
|
299
308
|
return [
|
|
300
|
-
|
|
309
|
+
ve("div", {
|
|
301
310
|
ref_key: "contentRef",
|
|
302
|
-
ref:
|
|
311
|
+
ref: $,
|
|
303
312
|
class: "q-select__body",
|
|
304
313
|
"data-testid": "combobox-dropdown",
|
|
305
314
|
"data-key": l.id,
|
|
306
|
-
onFocusout:
|
|
315
|
+
onFocusout: z
|
|
307
316
|
}, [
|
|
308
317
|
f(e.$slots, "body.prepend"),
|
|
309
|
-
l.loading ? (
|
|
310
|
-
|
|
311
|
-
])) : p.value.length ? (
|
|
318
|
+
l.loading ? (y(), Q("div", Fe, [
|
|
319
|
+
T(v(Ie), { size: 24 })
|
|
320
|
+
])) : p.value.length ? (y(), S(v(ge), {
|
|
312
321
|
key: 1,
|
|
313
322
|
ref_key: "listRef",
|
|
314
323
|
ref: s,
|
|
315
|
-
"model-value":
|
|
324
|
+
"model-value": r.value,
|
|
316
325
|
class: "q-select__items",
|
|
317
326
|
selectable: "",
|
|
318
327
|
required: "",
|
|
319
|
-
highlighted: (n =
|
|
328
|
+
highlighted: (n = g.value) == null ? void 0 : n[l.itemValue],
|
|
320
329
|
items: p.value,
|
|
321
330
|
groups: e.groups,
|
|
322
331
|
"item-label": l.itemLabel,
|
|
323
332
|
"item-value": l.itemValue,
|
|
324
|
-
onMouseup:
|
|
325
|
-
"onUpdate:modelValue":
|
|
333
|
+
onMouseup: ne,
|
|
334
|
+
"onUpdate:modelValue": C
|
|
326
335
|
}, {
|
|
327
|
-
item:
|
|
328
|
-
f(e.$slots, "item", { item:
|
|
336
|
+
item: d(({ item: _ }) => [
|
|
337
|
+
f(e.$slots, "item", { item: _ })
|
|
329
338
|
]),
|
|
330
339
|
_: 3
|
|
331
340
|
/* FORWARDED */
|
|
332
|
-
}, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (
|
|
341
|
+
}, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (y(), Q(
|
|
333
342
|
"div",
|
|
334
|
-
|
|
335
|
-
|
|
343
|
+
$e,
|
|
344
|
+
pe(l.texts.noData),
|
|
336
345
|
1
|
|
337
346
|
/* TEXT */
|
|
338
347
|
)),
|
|
339
348
|
f(e.$slots, "body.append")
|
|
340
|
-
], 40,
|
|
349
|
+
], 40, Le)
|
|
341
350
|
];
|
|
342
351
|
}),
|
|
343
352
|
_: 3
|
|
@@ -351,5 +360,5 @@ const xe = ["data-key"], we = {
|
|
|
351
360
|
}
|
|
352
361
|
});
|
|
353
362
|
export {
|
|
354
|
-
|
|
363
|
+
Qe as default
|
|
355
364
|
};
|
|
@@ -623,6 +623,26 @@ declare const QCombobox: {
|
|
|
623
623
|
extras?(_: {}): any;
|
|
624
624
|
};
|
|
625
625
|
}) | null;
|
|
626
|
+
clearRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../__internal__/QClearButton').QClearButtonProps> & Readonly<{
|
|
627
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
628
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
629
|
+
click: (event: Event) => any;
|
|
630
|
+
}, import('vue').PublicProps, {
|
|
631
|
+
icons: typeof import('../__internal__/QClearButton/types').DEFAULT_ICONS;
|
|
632
|
+
texts: typeof import('../__internal__/QClearButton/types').DEFAULT_TEXTS;
|
|
633
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
|
634
|
+
P: {};
|
|
635
|
+
B: {};
|
|
636
|
+
D: {};
|
|
637
|
+
C: {};
|
|
638
|
+
M: {};
|
|
639
|
+
Defaults: {};
|
|
640
|
+
}, Readonly<import('../__internal__/QClearButton').QClearButtonProps> & Readonly<{
|
|
641
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
642
|
+
}>, {}, {}, {}, {}, {
|
|
643
|
+
icons: typeof import('../__internal__/QClearButton/types').DEFAULT_ICONS;
|
|
644
|
+
texts: typeof import('../__internal__/QClearButton/types').DEFAULT_TEXTS;
|
|
645
|
+
}> | null;
|
|
626
646
|
toggleRef: ({
|
|
627
647
|
$: import('vue').ComponentInternalInstance;
|
|
628
648
|
$data: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAI2vzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJn1zB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoIA;AA6TC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AA6KjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwEhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;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