@quidgest/ui 0.16.49 → 0.16.50
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/json/api.json +220 -5
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +9 -0
- package/dist/ui.esm.js +7048 -7703
- package/dist/ui.js +27 -38
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1026 -1148
- package/dist/ui.scss +9 -1
- package/esm/components/QDialog/QDialog.d.ts +3 -2
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +83 -77
- package/esm/components/QDialog/index.d.ts +21 -9
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +24 -3
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.d.ts +26 -0
- package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -0
- package/esm/components/QFocusWrap/QFocusWrap.vue.js +119 -0
- package/esm/components/QFocusWrap/QFocusWrap.vue2.js +4 -0
- package/esm/components/QFocusWrap/index.d.ts +31 -0
- package/esm/components/QFocusWrap/index.d.ts.map +1 -0
- package/esm/components/QFocusWrap/index.js +6 -0
- package/esm/components/QFocusWrap/types.d.ts +42 -0
- package/esm/components/QFocusWrap/types.d.ts.map +1 -0
- package/esm/components/QOverlay/QOverlay.d.ts +2 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +126 -120
- package/esm/components/QOverlay/index.d.ts +18 -6
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +24 -3
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +17 -14
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +13 -14
- package/esm/components/QSelect/QSelect.d.ts +8 -8
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +79 -77
- package/esm/components/QSelect/constants.d.ts +1 -0
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/constants.js +10 -8
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +76 -74
- package/esm/composables/useDialog/index.d.ts +4 -1
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/index.d.ts +1 -0
- package/package.json +1 -1
- package/esm/vendors/focus-trap/dist/focus-trap.esm.js +0 -473
- package/esm/vendors/focus-trap-vue/dist/focus-trap-vue.esm-browser.js +0 -104
- package/esm/vendors/tabbable/dist/index.esm.js +0 -202
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as fe, mergeModels as Z, useModel as me, toRef as
|
|
1
|
+
import { defineComponent as fe, mergeModels as Z, useModel as me, toRef as I, ref as ee, useTemplateRef as g, onMounted as pe, computed as q, nextTick as z, watch as T, createElementBlock as c, openBlock as a, Fragment as y, createVNode as $, unref as o, normalizeClass as ve, createSlots as be, withCtx as f, withDirectives as ye, createBlock as m, createCommentVNode as p, renderList as le, createTextVNode as w, mergeProps as B, toDisplayString as h, normalizeProps as te, createElementVNode as ae, vModelText as ge, renderSlot as k, withModifiers as he } from "vue";
|
|
2
2
|
import { DEFAULT_TEXTS as ke, DEFAULT_ICONS as _e } from "./constants.js";
|
|
3
|
-
import { QBadge as
|
|
3
|
+
import { QBadge as D } from "../QBadge/index.js";
|
|
4
4
|
import { QButton as qe } from "../QButton/index.js";
|
|
5
5
|
import { QField as we } from "../QField/index.js";
|
|
6
|
-
import { QIcon as
|
|
6
|
+
import { QIcon as M } from "../QIcon/index.js";
|
|
7
7
|
import { QList as Be } from "../QList/index.js";
|
|
8
8
|
import { QOverlay as Ce } from "../QOverlay/index.js";
|
|
9
9
|
import { QSpinnerLoader as Ve } from "../QSpinnerLoader/index.js";
|
|
10
10
|
import { QChevron as Le } from "../__internal__/QChevron/index.js";
|
|
11
11
|
import { QClearButton as Ee } from "../__internal__/QClearButton/index.js";
|
|
12
|
-
import { useId as
|
|
13
|
-
import { useGroup as
|
|
14
|
-
const
|
|
12
|
+
import { useId as xe } from "../../composables/uid.js";
|
|
13
|
+
import { useGroup as Te } from "../../composables/useGroup/index.js";
|
|
14
|
+
const $e = {
|
|
15
15
|
key: 0,
|
|
16
16
|
ref: "badgesContainer",
|
|
17
17
|
class: "q-select__badge-container"
|
|
18
|
-
},
|
|
18
|
+
}, De = {
|
|
19
19
|
key: 1,
|
|
20
20
|
class: "q-select__value"
|
|
21
|
-
},
|
|
21
|
+
}, Me = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "q-select__placeholder"
|
|
24
|
-
},
|
|
24
|
+
}, Qe = ["id", "tabindex", "aria-expanded", "aria-keyshortcuts"], Re = ["data-key"], Se = {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "q-select__loader"
|
|
27
27
|
}, Xe = /* @__PURE__ */ fe({
|
|
@@ -55,17 +55,17 @@ const De = {
|
|
|
55
55
|
}),
|
|
56
56
|
emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
|
|
57
57
|
setup(O, { emit: oe }) {
|
|
58
|
-
const e = O, C = oe,
|
|
59
|
-
active:
|
|
60
|
-
required:
|
|
61
|
-
multiple:
|
|
58
|
+
const e = O, C = oe, r = me(O, "modelValue"), Q = xe(I(e, "id")), { active: F } = Te({
|
|
59
|
+
active: r,
|
|
60
|
+
required: I(e, "required"),
|
|
61
|
+
multiple: I(e, "multiple")
|
|
62
62
|
}), u = ee(!1), V = ee(0), K = g("trigger"), ie = g("input"), ne = g("list"), U = g("content"), N = g("badgesContainer"), W = g("allBadges");
|
|
63
|
-
pe(
|
|
64
|
-
const P = q(() =>
|
|
63
|
+
pe(x);
|
|
64
|
+
const P = q(() => s.value.length === 0), s = q(() => {
|
|
65
65
|
var t;
|
|
66
66
|
if (e.multiple)
|
|
67
|
-
return ((t =
|
|
68
|
-
const l = typeof
|
|
67
|
+
return ((t = r.value) == null ? void 0 : t.map((d) => j(d))) ?? [];
|
|
68
|
+
const l = typeof r.value < "u" ? j(r.value) : void 0;
|
|
69
69
|
return l ? [l] : [];
|
|
70
70
|
}), H = q(() => {
|
|
71
71
|
var t;
|
|
@@ -73,10 +73,10 @@ const De = {
|
|
|
73
73
|
return (t = e.items) == null || t.forEach((d, i) => {
|
|
74
74
|
l.set(d.key, i);
|
|
75
75
|
}), l;
|
|
76
|
-
}),
|
|
76
|
+
}), R = q(
|
|
77
77
|
() => {
|
|
78
78
|
var l;
|
|
79
|
-
return (l =
|
|
79
|
+
return (l = s.value) == null ? void 0 : l.map((t) => t[e.itemLabel]).join(", ");
|
|
80
80
|
}
|
|
81
81
|
), L = q(
|
|
82
82
|
() => e.clearable && !e.readonly && !e.disabled && !e.loading && !P.value
|
|
@@ -85,16 +85,16 @@ const De = {
|
|
|
85
85
|
var t;
|
|
86
86
|
return (t = e.items) == null ? void 0 : t.find((d) => d[e.itemValue] === l);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
e.multiple && l <
|
|
88
|
+
function se(l) {
|
|
89
|
+
e.multiple && l < r.value.length && (!e.required || r.value.length > 1) ? F.value = r.value.toSpliced(l, 1) : _();
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
Array.isArray(l) ? (
|
|
91
|
+
function S(l) {
|
|
92
|
+
Array.isArray(l) ? (r.value = l.sort((t, d) => H.value.get(t) - H.value.get(d)), x()) : (r.value = l, E());
|
|
93
93
|
}
|
|
94
94
|
function _() {
|
|
95
|
-
|
|
95
|
+
S(e.emptyValue), J();
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function re(l) {
|
|
98
98
|
var t, d, i;
|
|
99
99
|
!((t = U.value) != null && t.contains(l.relatedTarget)) && !((i = (d = K.value) == null ? void 0 : d.fieldRef) != null && i.contains(l.relatedTarget)) && E();
|
|
100
100
|
}
|
|
@@ -107,11 +107,11 @@ const De = {
|
|
|
107
107
|
function X() {
|
|
108
108
|
e.readonly || e.disabled || (u.value ? E() : G());
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function A(l) {
|
|
111
111
|
!l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End", "Delete"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && G(), ["Escape", "Tab"].includes(l.key) && (u.value ? E() : L.value && l.key === "Escape" && _()), L.value && l.key === "Delete" && _());
|
|
112
112
|
}
|
|
113
113
|
function de(l) {
|
|
114
|
-
l.key.length === 1 && l.preventDefault(),
|
|
114
|
+
l.key.length === 1 && l.preventDefault(), A(l);
|
|
115
115
|
}
|
|
116
116
|
function ue() {
|
|
117
117
|
setTimeout(() => {
|
|
@@ -130,7 +130,7 @@ const De = {
|
|
|
130
130
|
var l;
|
|
131
131
|
(l = ne.value) == null || l.$el.focus();
|
|
132
132
|
}
|
|
133
|
-
async function
|
|
133
|
+
async function x() {
|
|
134
134
|
var n;
|
|
135
135
|
if (await z(), await z(), !e.multiple || !e.badges || !N.value) return;
|
|
136
136
|
let l = 0, t = 0;
|
|
@@ -143,19 +143,19 @@ const De = {
|
|
|
143
143
|
}
|
|
144
144
|
V.value = (((n = W.value) == null ? void 0 : n.length) ?? 0) - t;
|
|
145
145
|
}
|
|
146
|
-
return
|
|
146
|
+
return T(
|
|
147
147
|
() => e.loading,
|
|
148
148
|
(l) => {
|
|
149
149
|
!l && u.value && z(Y);
|
|
150
150
|
}
|
|
151
|
-
),
|
|
151
|
+
), T(() => e.badges, x), T(() => e.clearable, x), T(F, S), (l, t) => {
|
|
152
152
|
var d;
|
|
153
153
|
return a(), c(
|
|
154
154
|
y,
|
|
155
155
|
null,
|
|
156
156
|
[
|
|
157
|
-
|
|
158
|
-
id: o(
|
|
157
|
+
$(o(we), {
|
|
158
|
+
id: o(Q),
|
|
159
159
|
ref: "trigger",
|
|
160
160
|
label: e.label,
|
|
161
161
|
required: e.required,
|
|
@@ -173,7 +173,7 @@ const De = {
|
|
|
173
173
|
size: e.size,
|
|
174
174
|
invalid: e.invalid,
|
|
175
175
|
onClick: X,
|
|
176
|
-
onKeydown:
|
|
176
|
+
onKeydown: A
|
|
177
177
|
}, be({
|
|
178
178
|
append: f(() => [
|
|
179
179
|
k(l.$slots, "append"),
|
|
@@ -195,7 +195,7 @@ const De = {
|
|
|
195
195
|
onClick: X
|
|
196
196
|
}, {
|
|
197
197
|
default: f(() => [
|
|
198
|
-
|
|
198
|
+
$(o(Le), {
|
|
199
199
|
"model-value": u.value,
|
|
200
200
|
icons: e.icons
|
|
201
201
|
}, null, 8, ["model-value", "icons"])
|
|
@@ -205,7 +205,7 @@ const De = {
|
|
|
205
205
|
}, 8, ["aria-label", "disabled"]))
|
|
206
206
|
]),
|
|
207
207
|
default: f(() => [
|
|
208
|
-
P.value ? (a(), c("span",
|
|
208
|
+
P.value ? (a(), c("span", Me, [
|
|
209
209
|
!e.readonly && !e.disabled ? (a(), c(
|
|
210
210
|
y,
|
|
211
211
|
{ key: 0 },
|
|
@@ -225,7 +225,7 @@ const De = {
|
|
|
225
225
|
[
|
|
226
226
|
e.badges ? (a(), c(
|
|
227
227
|
"span",
|
|
228
|
-
|
|
228
|
+
$e,
|
|
229
229
|
[
|
|
230
230
|
e.multiple ? (a(), c(
|
|
231
231
|
y,
|
|
@@ -234,32 +234,33 @@ const De = {
|
|
|
234
234
|
(a(!0), c(
|
|
235
235
|
y,
|
|
236
236
|
null,
|
|
237
|
-
le(
|
|
237
|
+
le(r.value, (i, n) => (a(), c(
|
|
238
238
|
y,
|
|
239
239
|
{ key: n },
|
|
240
240
|
[
|
|
241
|
-
n <
|
|
241
|
+
n < r.value.length - V.value ? (a(), m(o(D), {
|
|
242
242
|
key: 0,
|
|
243
243
|
pill: "",
|
|
244
244
|
disabled: e.readonly || e.disabled,
|
|
245
|
-
removable: !e.required ||
|
|
246
|
-
|
|
245
|
+
removable: !e.required || r.value.length > 1,
|
|
246
|
+
texts: e.texts,
|
|
247
|
+
"onClick:remove": () => se(n)
|
|
247
248
|
}, {
|
|
248
249
|
default: f(() => {
|
|
249
250
|
var b, v;
|
|
250
251
|
return [
|
|
251
|
-
(b =
|
|
252
|
-
o(
|
|
252
|
+
(b = s.value[n]) != null && b.icon ? (a(), m(
|
|
253
|
+
o(M),
|
|
253
254
|
B({
|
|
254
255
|
key: 0,
|
|
255
256
|
ref_for: !0
|
|
256
|
-
},
|
|
257
|
+
}, s.value[n].icon),
|
|
257
258
|
null,
|
|
258
259
|
16
|
|
259
260
|
/* FULL_PROPS */
|
|
260
261
|
)) : p("v-if", !0),
|
|
261
262
|
w(
|
|
262
|
-
" " + h((v =
|
|
263
|
+
" " + h((v = s.value[n]) == null ? void 0 : v[e.itemLabel]),
|
|
263
264
|
1
|
|
264
265
|
/* TEXT */
|
|
265
266
|
)
|
|
@@ -267,7 +268,7 @@ const De = {
|
|
|
267
268
|
}),
|
|
268
269
|
_: 2
|
|
269
270
|
/* DYNAMIC */
|
|
270
|
-
}, 1032, ["disabled", "removable", "onClick:remove"])) : p("v-if", !0)
|
|
271
|
+
}, 1032, ["disabled", "removable", "texts", "onClick:remove"])) : p("v-if", !0)
|
|
271
272
|
],
|
|
272
273
|
64
|
|
273
274
|
/* STABLE_FRAGMENT */
|
|
@@ -275,7 +276,7 @@ const De = {
|
|
|
275
276
|
128
|
|
276
277
|
/* KEYED_FRAGMENT */
|
|
277
278
|
)),
|
|
278
|
-
V.value > 0 ? (a(), m(o(
|
|
279
|
+
V.value > 0 ? (a(), m(o(D), {
|
|
279
280
|
key: 0,
|
|
280
281
|
pill: "",
|
|
281
282
|
class: "q-select__badge-count",
|
|
@@ -294,30 +295,30 @@ const De = {
|
|
|
294
295
|
(a(!0), c(
|
|
295
296
|
y,
|
|
296
297
|
null,
|
|
297
|
-
le(
|
|
298
|
+
le(r.value, (i, n) => (a(), m(o(D), {
|
|
298
299
|
key: n,
|
|
299
300
|
ref_for: !0,
|
|
300
301
|
ref: "allBadges",
|
|
301
302
|
pill: "",
|
|
302
303
|
disabled: "",
|
|
303
304
|
class: "q-select__badge-hidden",
|
|
304
|
-
removable: !e.required ||
|
|
305
|
+
removable: !e.required || r.value.length > 1
|
|
305
306
|
}, {
|
|
306
307
|
default: f(() => {
|
|
307
308
|
var b, v;
|
|
308
309
|
return [
|
|
309
|
-
(b =
|
|
310
|
-
o(
|
|
310
|
+
(b = s.value[n]) != null && b.icon ? (a(), m(
|
|
311
|
+
o(M),
|
|
311
312
|
B({
|
|
312
313
|
key: 0,
|
|
313
314
|
ref_for: !0
|
|
314
|
-
},
|
|
315
|
+
}, s.value[n].icon),
|
|
315
316
|
null,
|
|
316
317
|
16
|
|
317
318
|
/* FULL_PROPS */
|
|
318
319
|
)) : p("v-if", !0),
|
|
319
320
|
w(
|
|
320
|
-
" " + h((v =
|
|
321
|
+
" " + h((v = s.value[n]) == null ? void 0 : v[e.itemLabel]),
|
|
321
322
|
1
|
|
322
323
|
/* TEXT */
|
|
323
324
|
)
|
|
@@ -332,25 +333,26 @@ const De = {
|
|
|
332
333
|
],
|
|
333
334
|
64
|
|
334
335
|
/* STABLE_FRAGMENT */
|
|
335
|
-
)) : (a(), m(o(
|
|
336
|
+
)) : (a(), m(o(D), {
|
|
336
337
|
key: 1,
|
|
337
338
|
pill: "",
|
|
338
339
|
disabled: e.readonly || e.disabled,
|
|
339
340
|
removable: !e.required,
|
|
341
|
+
texts: e.texts,
|
|
340
342
|
"onClick:remove": _
|
|
341
343
|
}, {
|
|
342
344
|
default: f(() => {
|
|
343
345
|
var i, n;
|
|
344
346
|
return [
|
|
345
|
-
(i =
|
|
346
|
-
o(
|
|
347
|
-
te(B({ key: 0 },
|
|
347
|
+
(i = s.value[0]) != null && i.icon ? (a(), m(
|
|
348
|
+
o(M),
|
|
349
|
+
te(B({ key: 0 }, s.value[0].icon)),
|
|
348
350
|
null,
|
|
349
351
|
16
|
|
350
352
|
/* FULL_PROPS */
|
|
351
353
|
)) : p("v-if", !0),
|
|
352
354
|
w(
|
|
353
|
-
" " + h((n =
|
|
355
|
+
" " + h((n = s.value[0]) == null ? void 0 : n[e.itemLabel]),
|
|
354
356
|
1
|
|
355
357
|
/* TEXT */
|
|
356
358
|
)
|
|
@@ -358,14 +360,14 @@ const De = {
|
|
|
358
360
|
}),
|
|
359
361
|
_: 1
|
|
360
362
|
/* STABLE */
|
|
361
|
-
}, 8, ["disabled", "removable"]))
|
|
363
|
+
}, 8, ["disabled", "removable", "texts"]))
|
|
362
364
|
],
|
|
363
365
|
512
|
|
364
366
|
/* NEED_PATCH */
|
|
365
367
|
)) : (a(), c(
|
|
366
368
|
"span",
|
|
367
|
-
|
|
368
|
-
h(
|
|
369
|
+
De,
|
|
370
|
+
h(R.value),
|
|
369
371
|
1
|
|
370
372
|
/* TEXT */
|
|
371
373
|
))
|
|
@@ -374,10 +376,10 @@ const De = {
|
|
|
374
376
|
/* STABLE_FRAGMENT */
|
|
375
377
|
)),
|
|
376
378
|
ye(ae("input", B({
|
|
377
|
-
id: `${o(
|
|
379
|
+
id: `${o(Q)}_input`,
|
|
378
380
|
ref: "input"
|
|
379
381
|
}, l.$attrs, {
|
|
380
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) =>
|
|
382
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => R.value = i),
|
|
381
383
|
class: "q-select__input",
|
|
382
384
|
inputmode: "none",
|
|
383
385
|
type: "text",
|
|
@@ -388,20 +390,20 @@ const De = {
|
|
|
388
390
|
"aria-haspopup": "listbox",
|
|
389
391
|
"aria-keyshortcuts": L.value ? "Delete" : void 0,
|
|
390
392
|
onKeydown: de
|
|
391
|
-
}), null, 16,
|
|
392
|
-
[ge,
|
|
393
|
+
}), null, 16, Qe), [
|
|
394
|
+
[ge, R.value]
|
|
393
395
|
])
|
|
394
396
|
]),
|
|
395
397
|
_: 2
|
|
396
398
|
/* DYNAMIC */
|
|
397
399
|
}, [
|
|
398
|
-
|
|
400
|
+
s.value.length === 1 && s.value[0].icon && !e.badges || l.$slots.prepend ? {
|
|
399
401
|
name: "prepend",
|
|
400
402
|
fn: f(() => [
|
|
401
403
|
k(l.$slots, "prepend"),
|
|
402
|
-
|
|
403
|
-
o(
|
|
404
|
-
te(B({ key: 0 },
|
|
404
|
+
s.value.length === 1 && s.value[0].icon && !e.badges ? (a(), m(
|
|
405
|
+
o(M),
|
|
406
|
+
te(B({ key: 0 }, s.value[0].icon)),
|
|
405
407
|
null,
|
|
406
408
|
16
|
|
407
409
|
/* FULL_PROPS */
|
|
@@ -417,7 +419,7 @@ const De = {
|
|
|
417
419
|
key: "1"
|
|
418
420
|
} : void 0
|
|
419
421
|
]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "data-loading", "size", "invalid"]),
|
|
420
|
-
|
|
422
|
+
$(o(Ce), {
|
|
421
423
|
modelValue: u.value,
|
|
422
424
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => u.value = i),
|
|
423
425
|
spy: "",
|
|
@@ -435,15 +437,15 @@ const De = {
|
|
|
435
437
|
ae("div", {
|
|
436
438
|
ref: "content",
|
|
437
439
|
"data-testid": "combobox-dropdown",
|
|
438
|
-
"data-key": o(
|
|
440
|
+
"data-key": o(Q),
|
|
439
441
|
class: "q-select__body",
|
|
440
442
|
tabindex: "-1",
|
|
441
|
-
onFocusout:
|
|
442
|
-
onKeydown: he(
|
|
443
|
+
onFocusout: re,
|
|
444
|
+
onKeydown: he(A, ["stop"])
|
|
443
445
|
}, [
|
|
444
446
|
k(l.$slots, "body.prepend"),
|
|
445
|
-
e.loading ? (a(), c("div",
|
|
446
|
-
|
|
447
|
+
e.loading ? (a(), c("div", Se, [
|
|
448
|
+
$(o(Ve), { size: 24 })
|
|
447
449
|
])) : (a(), m(o(Be), {
|
|
448
450
|
key: 1,
|
|
449
451
|
ref: "list",
|
|
@@ -451,12 +453,12 @@ const De = {
|
|
|
451
453
|
selectable: "",
|
|
452
454
|
required: e.required,
|
|
453
455
|
multiple: e.multiple,
|
|
454
|
-
"model-value":
|
|
456
|
+
"model-value": r.value,
|
|
455
457
|
items: e.items,
|
|
456
458
|
groups: l.groups,
|
|
457
459
|
"item-label": e.itemLabel,
|
|
458
460
|
"item-value": e.itemValue,
|
|
459
|
-
"onUpdate:modelValue":
|
|
461
|
+
"onUpdate:modelValue": S
|
|
460
462
|
}, {
|
|
461
463
|
item: f(({ item: i }) => [
|
|
462
464
|
k(l.$slots, "item", { item: i })
|
|
@@ -465,7 +467,7 @@ const De = {
|
|
|
465
467
|
/* FORWARDED */
|
|
466
468
|
}, 8, ["required", "multiple", "model-value", "items", "groups", "item-label", "item-value"])),
|
|
467
469
|
k(l.$slots, "body.append")
|
|
468
|
-
], 40,
|
|
470
|
+
], 40, Re)
|
|
469
471
|
]),
|
|
470
472
|
_: 3
|
|
471
473
|
/* FORWARDED */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/constants.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;;;;;CAKQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { DEFAULT_ICONS as
|
|
2
|
-
import { DEFAULT_TEXTS as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { DEFAULT_ICONS as T } from "../__internal__/QChevron/constants.js";
|
|
2
|
+
import { DEFAULT_TEXTS as o, DEFAULT_ICONS as E } from "../__internal__/QClearButton/constants.js";
|
|
3
|
+
import { DEFAULT_TEXTS as S } from "../QBadge/constants.js";
|
|
4
|
+
const F = {
|
|
5
|
+
...o,
|
|
6
|
+
...S,
|
|
5
7
|
placeholder: "Choose...",
|
|
6
8
|
showOptions: "Show options"
|
|
7
|
-
},
|
|
8
|
-
...
|
|
9
|
+
}, L = {
|
|
10
|
+
...T,
|
|
9
11
|
...E
|
|
10
12
|
};
|
|
11
13
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
L as DEFAULT_ICONS,
|
|
15
|
+
F as DEFAULT_TEXTS
|
|
14
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
|
package/esm/components/index.js
CHANGED
|
@@ -10,42 +10,43 @@ import { QCheckbox as g, QCheckboxLabel as P } from "./QCheckbox/index.js";
|
|
|
10
10
|
import { QCollapsible as b } from "./QCollapsible/index.js";
|
|
11
11
|
import { QColorPicker as v } from "./QColorPicker/index.js";
|
|
12
12
|
import { QCombobox as G } from "./QCombobox/index.js";
|
|
13
|
-
import { QDateTimePicker as
|
|
14
|
-
import { QDefaultsProvider as
|
|
13
|
+
import { QDateTimePicker as F } from "./QDateTimePicker/index.js";
|
|
14
|
+
import { QDefaultsProvider as B } from "./QDefaultsProvider/index.js";
|
|
15
15
|
import { QDialog as w, QDialogProvider as A } from "./QDialog/index.js";
|
|
16
16
|
import { QDismissibleLayer as R } from "./QDismissibleLayer/index.js";
|
|
17
17
|
import { QDivider as M } from "./QDivider/index.js";
|
|
18
18
|
import { QDropdownMenu as O } from "./QDropdownMenu/index.js";
|
|
19
|
-
import { QField as
|
|
20
|
-
import { QFileUpload as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
19
|
+
import { QField as X } from "./QField/index.js";
|
|
20
|
+
import { QFileUpload as j } from "./QFileUpload/index.js";
|
|
21
|
+
import { QFocusWrap as z } from "./QFocusWrap/index.js";
|
|
22
|
+
import { QCol as J, QContainer as K, QRow as N, QSpacer as V } from "./QGrid/index.js";
|
|
23
|
+
import { QGroupBox as Z } from "./QGroupBox/index.js";
|
|
24
|
+
import { QIcon as oo, QIconFont as ro, QIconImg as eo, QIconSvg as to } from "./QIcon/index.js";
|
|
25
|
+
import { QInputGroup as Qo } from "./QInputGroup/index.js";
|
|
26
|
+
import { QLabel as xo } from "./QLabel/index.js";
|
|
27
|
+
import { QLineLoader as io } from "./QLineLoader/index.js";
|
|
28
|
+
import { QList as lo, QListItem as no, QListItemGroup as so } from "./QList/index.js";
|
|
29
|
+
import { QMeter as uo } from "./QMeter/index.js";
|
|
30
|
+
import { QOverlay as To } from "./QOverlay/index.js";
|
|
31
|
+
import { QPasswordField as Po } from "./QPasswordField/index.js";
|
|
32
|
+
import { QPopover as bo } from "./QPopover/index.js";
|
|
33
|
+
import { QPropertyList as vo, QPropertyListGroup as Do, QPropertyListPanel as Go, QPropertyListRow as So } from "./QPropertyList/index.js";
|
|
34
|
+
import { QRadioButton as yo, QRadioGroup as Bo } from "./QRadioGroup/index.js";
|
|
35
|
+
import { QSelect as wo } from "./QSelect/index.js";
|
|
36
|
+
import { QSidebar as ho } from "./QSidebar/index.js";
|
|
37
|
+
import { QSkeletonLoader as Eo } from "./QSkeletonLoader/index.js";
|
|
38
|
+
import { QSpinnerLoader as Uo } from "./QSpinnerLoader/index.js";
|
|
39
|
+
import { QSwitch as Wo } from "./QSwitch/index.js";
|
|
40
|
+
import { QTextArea as _o } from "./QTextArea/index.js";
|
|
41
|
+
import { QTextField as qo } from "./QTextField/index.js";
|
|
42
|
+
import { QThemeProvider as Ho } from "./QThemeProvider/index.js";
|
|
43
|
+
import { QToast as Ko, QToaster as No } from "./QToast/index.js";
|
|
44
|
+
import { QToggle as Yo } from "./QToggle/index.js";
|
|
45
|
+
import { QToggleGroup as $o, QToggleGroupItem as or } from "./QToggleGroup/index.js";
|
|
46
|
+
import { QTooltip as er } from "./QTooltip/index.js";
|
|
47
|
+
import { DEFAULT_TEXTS as pr } from "./QTextField/types.js";
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
+
pr as DEFAULT_TEXTS,
|
|
49
50
|
e as QAccordion,
|
|
50
51
|
t as QAccordionItem,
|
|
51
52
|
Q as QAvatar,
|
|
@@ -57,55 +58,56 @@ export {
|
|
|
57
58
|
L as QCarousel,
|
|
58
59
|
g as QCheckbox,
|
|
59
60
|
P as QCheckboxLabel,
|
|
60
|
-
|
|
61
|
+
J as QCol,
|
|
61
62
|
b as QCollapsible,
|
|
62
63
|
v as QColorPicker,
|
|
63
64
|
G as QCombobox,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
K as QContainer,
|
|
66
|
+
F as QDateTimePicker,
|
|
67
|
+
B as QDefaultsProvider,
|
|
67
68
|
w as QDialog,
|
|
68
69
|
A as QDialogProvider,
|
|
69
70
|
R as QDismissibleLayer,
|
|
70
71
|
M as QDivider,
|
|
71
72
|
O as QDropdownMenu,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Z as
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
to as
|
|
80
|
-
Qo as
|
|
81
|
-
xo as
|
|
82
|
-
io as
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
so as
|
|
86
|
-
uo as
|
|
87
|
-
To as
|
|
88
|
-
Po as
|
|
89
|
-
bo as
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
So as
|
|
94
|
-
yo as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
wo as
|
|
98
|
-
ho as
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
Uo as
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Ko as
|
|
107
|
-
|
|
108
|
-
Yo as
|
|
109
|
-
|
|
110
|
-
or as
|
|
73
|
+
X as QField,
|
|
74
|
+
j as QFileUpload,
|
|
75
|
+
z as QFocusWrap,
|
|
76
|
+
Z as QGroupBox,
|
|
77
|
+
oo as QIcon,
|
|
78
|
+
ro as QIconFont,
|
|
79
|
+
eo as QIconImg,
|
|
80
|
+
to as QIconSvg,
|
|
81
|
+
Qo as QInputGroup,
|
|
82
|
+
xo as QLabel,
|
|
83
|
+
io as QLineLoader,
|
|
84
|
+
lo as QList,
|
|
85
|
+
no as QListItem,
|
|
86
|
+
so as QListItemGroup,
|
|
87
|
+
uo as QMeter,
|
|
88
|
+
To as QOverlay,
|
|
89
|
+
Po as QPasswordField,
|
|
90
|
+
bo as QPopover,
|
|
91
|
+
vo as QPropertyList,
|
|
92
|
+
Do as QPropertyListGroup,
|
|
93
|
+
Go as QPropertyListPanel,
|
|
94
|
+
So as QPropertyListRow,
|
|
95
|
+
yo as QRadioButton,
|
|
96
|
+
Bo as QRadioGroup,
|
|
97
|
+
N as QRow,
|
|
98
|
+
wo as QSelect,
|
|
99
|
+
ho as QSidebar,
|
|
100
|
+
Eo as QSkeletonLoader,
|
|
101
|
+
V as QSpacer,
|
|
102
|
+
Uo as QSpinnerLoader,
|
|
103
|
+
Wo as QSwitch,
|
|
104
|
+
_o as QTextArea,
|
|
105
|
+
qo as QTextField,
|
|
106
|
+
Ho as QThemeProvider,
|
|
107
|
+
Ko as QToast,
|
|
108
|
+
No as QToaster,
|
|
109
|
+
Yo as QToggle,
|
|
110
|
+
$o as QToggleGroup,
|
|
111
|
+
or as QToggleGroupItem,
|
|
112
|
+
er as QTooltip
|
|
111
113
|
};
|