@quidgest/ui 0.16.31 → 0.16.33
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 +25 -1
- package/dist/ui.css +20 -11
- package/dist/ui.esm.js +6720 -6607
- package/dist/ui.js +27 -27
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +910 -899
- package/dist/ui.scss +54 -37
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +75 -73
- package/esm/components/QSelect/QSelect.d.ts +160 -13
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +326 -138
- package/esm/components/QSelect/index.d.ts +82 -3
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +12 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/composables/theme.d.ts +14 -15
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/theme.js +13 -13
- package/esm/framework.js +14 -14
- package/esm/templates/theme.js +35 -35
- package/esm/utils/theme.d.ts +14 -14
- package/esm/utils/theme.d.ts.map +1 -1
- package/esm/utils/theme.js +33 -33
- package/package.json +1 -1
package/dist/ui.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quidgest UI v0.16.
|
|
2
|
+
* Quidgest UI v0.16.33
|
|
3
3
|
* (c) 2025 Quidgest - Consultores de Gestão, S.A.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2573,6 +2573,23 @@ $base-border: 1px solid rgb(0 0 0 / 10%);
|
|
|
2573
2573
|
pointer-events: none;
|
|
2574
2574
|
min-height: 1lh;
|
|
2575
2575
|
}
|
|
2576
|
+
&__badge-container {
|
|
2577
|
+
display: flex;
|
|
2578
|
+
gap: 0.1rem;
|
|
2579
|
+
overflow: hidden;
|
|
2580
|
+
width: 100%;
|
|
2581
|
+
#{$this}__badge {
|
|
2582
|
+
&-count {
|
|
2583
|
+
font-weight: bold;
|
|
2584
|
+
}
|
|
2585
|
+
&-hidden {
|
|
2586
|
+
visibility: hidden;
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
.q-badge__content {
|
|
2590
|
+
height: 0.85em;
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2576
2593
|
&__placeholder {
|
|
2577
2594
|
font-style: italic;
|
|
2578
2595
|
color: var(--q-theme-neutral);
|
|
@@ -2582,48 +2599,48 @@ $base-border: 1px solid rgb(0 0 0 / 10%);
|
|
|
2582
2599
|
opacity: 0;
|
|
2583
2600
|
cursor: inherit;
|
|
2584
2601
|
}
|
|
2602
|
+
&__chevron {
|
|
2603
|
+
padding: 0.1rem;
|
|
2604
|
+
opacity: 0.5;
|
|
2605
|
+
&:hover {
|
|
2606
|
+
cursor: inherit;
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
&__body {
|
|
2610
|
+
display: flex;
|
|
2611
|
+
flex-direction: column;
|
|
2612
|
+
align-items: flex-start;
|
|
2613
|
+
gap: $space-base;
|
|
2614
|
+
width: 100%;
|
|
2615
|
+
padding: $space-base 0;
|
|
2616
|
+
outline: none;
|
|
2617
|
+
.q-list-item {
|
|
2618
|
+
width: calc(100% - 2 * $space-base);
|
|
2619
|
+
margin-left: $space-base;
|
|
2620
|
+
margin-right: $space-base;
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
&__items {
|
|
2624
|
+
min-width: fit-content;
|
|
2625
|
+
width: 100%;
|
|
2626
|
+
max-height: 240px;
|
|
2627
|
+
align-items: start;
|
|
2628
|
+
}
|
|
2629
|
+
&__loader {
|
|
2630
|
+
display: flex;
|
|
2631
|
+
justify-content: center;
|
|
2632
|
+
width: 100%;
|
|
2633
|
+
}
|
|
2634
|
+
&__loader,
|
|
2635
|
+
&__empty {
|
|
2636
|
+
margin: calc(4 * $space-base) 0;
|
|
2637
|
+
}
|
|
2585
2638
|
|
|
2586
2639
|
.q-field__prepend {
|
|
2587
2640
|
padding-left: $space-base * 2;
|
|
2588
2641
|
padding-right: $space-base * 2;
|
|
2589
2642
|
}
|
|
2590
2643
|
}
|
|
2591
|
-
.q-select__chevron {
|
|
2592
|
-
padding: 0.1rem;
|
|
2593
|
-
opacity: 0.5;
|
|
2594
|
-
&:hover {
|
|
2595
|
-
cursor: inherit;
|
|
2596
|
-
}
|
|
2597
|
-
}
|
|
2598
|
-
.q-select__body {
|
|
2599
|
-
display: flex;
|
|
2600
|
-
flex-direction: column;
|
|
2601
|
-
align-items: flex-start;
|
|
2602
|
-
gap: $space-base;
|
|
2603
|
-
width: 100%;
|
|
2604
|
-
padding: $space-base 0;
|
|
2605
|
-
outline: none;
|
|
2606
|
-
.q-list-item {
|
|
2607
|
-
width: calc(100% - 2 * $space-base);
|
|
2608
|
-
margin-left: $space-base;
|
|
2609
|
-
margin-right: $space-base;
|
|
2610
|
-
}
|
|
2611
|
-
}
|
|
2612
|
-
.q-select__items {
|
|
2613
|
-
min-width: fit-content;
|
|
2614
|
-
width: 100%;
|
|
2615
|
-
max-height: 240px;
|
|
2616
|
-
align-items: start;
|
|
2617
|
-
}
|
|
2618
|
-
.q-select__loader {
|
|
2619
|
-
display: flex;
|
|
2620
|
-
justify-content: center;
|
|
2621
|
-
width: 100%;
|
|
2622
|
-
}
|
|
2623
|
-
.q-select__loader,
|
|
2624
|
-
.q-select__empty {
|
|
2625
|
-
margin: calc(4 * $space-base) 0;
|
|
2626
|
-
}
|
|
2627
2644
|
$sidebar-size-small: 19rem;
|
|
2628
2645
|
$sidebar-size-medium: 27rem;
|
|
2629
2646
|
$sidebar-size-large: 35rem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AA8CA;
|
|
1
|
+
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"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N, ref as
|
|
1
|
+
import { defineComponent as N, ref as b, computed as M, toRef as V, watch as X, createBlock as A, openBlock as m, resolveDynamicComponent as Y, normalizeClass as Z, withCtx as v, renderSlot as L, createElementBlock as q, Fragment as E, renderList as T, unref as $ } from "vue";
|
|
2
2
|
import { QListItemGroup as ee, QListItem as te } from "./index.js";
|
|
3
3
|
import { useGroup as ne } from "../../composables/useGroup/index.js";
|
|
4
4
|
const oe = /* @__PURE__ */ N({
|
|
@@ -19,126 +19,128 @@ const oe = /* @__PURE__ */ N({
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:modelValue", "click", "mouseenter:item"],
|
|
21
21
|
setup(R, { expose: G, emit: O }) {
|
|
22
|
-
const n = R,
|
|
22
|
+
const n = R, g = O, h = b(!1), Q = M(() => a.value.length > 1 ? "div" : "ul"), a = M(() => n.groups.length ? n.groups.filter(
|
|
23
23
|
(e) => {
|
|
24
24
|
var t;
|
|
25
25
|
return (t = n.items) == null ? void 0 : t.some((l) => l.group === e.id);
|
|
26
26
|
}
|
|
27
|
-
) : [{ id: "", title: "" }]), { active:
|
|
28
|
-
active:
|
|
29
|
-
required:
|
|
30
|
-
multiple:
|
|
31
|
-
}),
|
|
27
|
+
) : [{ id: "", title: "" }]), { active: r } = ne({
|
|
28
|
+
active: V(n, "modelValue"),
|
|
29
|
+
required: V(n, "required"),
|
|
30
|
+
multiple: V(n, "multiple")
|
|
31
|
+
}), I = b(null), k = b(null);
|
|
32
32
|
function S(e) {
|
|
33
|
-
|
|
33
|
+
g("click", e);
|
|
34
34
|
}
|
|
35
35
|
function U(e) {
|
|
36
|
-
|
|
36
|
+
g("mouseenter:item", e);
|
|
37
37
|
}
|
|
38
38
|
function j() {
|
|
39
|
-
|
|
39
|
+
h.value = !0;
|
|
40
40
|
}
|
|
41
41
|
function z() {
|
|
42
|
-
|
|
42
|
+
h.value = !1;
|
|
43
43
|
}
|
|
44
44
|
function H(e) {
|
|
45
|
-
var i;
|
|
46
|
-
if (!n.items || (i =
|
|
45
|
+
var i, s;
|
|
46
|
+
if (!n.items || (i = I.value) != null && i.contains(e.relatedTarget))
|
|
47
47
|
return;
|
|
48
|
-
let t;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
r(t,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
let t = -1;
|
|
49
|
+
n.multiple ? ((s = r.value) == null ? void 0 : s.length) > 0 && (t = n.items.findIndex(
|
|
50
|
+
(u) => r.value.includes(u[n.itemValue])
|
|
51
|
+
)) : r.value && (t = n.items.findIndex((u) => u[n.itemValue] === r.value)), t === -1 && (t = y());
|
|
52
|
+
const l = h.value;
|
|
53
|
+
c(t, l);
|
|
54
|
+
}
|
|
55
|
+
const w = b("");
|
|
56
|
+
let C;
|
|
55
57
|
function K(e) {
|
|
56
58
|
var t;
|
|
57
|
-
switch (window.clearTimeout(
|
|
59
|
+
switch (window.clearTimeout(C), ["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && e.preventDefault(), e.key) {
|
|
58
60
|
case "ArrowDown":
|
|
59
|
-
|
|
61
|
+
p("next");
|
|
60
62
|
break;
|
|
61
63
|
case "ArrowUp":
|
|
62
|
-
|
|
64
|
+
p("prev");
|
|
63
65
|
break;
|
|
64
66
|
case "Home":
|
|
65
|
-
|
|
67
|
+
p("first");
|
|
66
68
|
break;
|
|
67
69
|
case "End":
|
|
68
|
-
|
|
70
|
+
p("last");
|
|
69
71
|
break;
|
|
70
72
|
}
|
|
71
73
|
if (/^[a-z]$/i.test(e.key)) {
|
|
72
|
-
|
|
74
|
+
w.value += e.key.toLowerCase();
|
|
73
75
|
const l = ((t = n.items) == null ? void 0 : t.length) || 0;
|
|
74
76
|
for (let i = 0; i < l; i++)
|
|
75
|
-
if (n.items[i][n.itemLabel].toLowerCase().startsWith(
|
|
76
|
-
|
|
77
|
+
if (n.items[i][n.itemLabel].toLowerCase().startsWith(w.value)) {
|
|
78
|
+
c(i);
|
|
77
79
|
break;
|
|
78
80
|
}
|
|
79
81
|
e.preventDefault(), e.stopPropagation();
|
|
80
82
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
C = window.setTimeout(function() {
|
|
84
|
+
w.value = "";
|
|
83
85
|
}, 500);
|
|
84
86
|
}
|
|
85
|
-
function
|
|
87
|
+
function p(e) {
|
|
86
88
|
switch (e) {
|
|
87
89
|
case "next":
|
|
88
90
|
case "prev":
|
|
89
|
-
|
|
91
|
+
c(W(e));
|
|
90
92
|
break;
|
|
91
93
|
case "first":
|
|
92
|
-
|
|
94
|
+
c(y());
|
|
93
95
|
break;
|
|
94
96
|
case "last":
|
|
95
|
-
|
|
97
|
+
c(F());
|
|
96
98
|
break;
|
|
97
99
|
}
|
|
98
100
|
}
|
|
99
|
-
function
|
|
101
|
+
function c(e, t = !1) {
|
|
100
102
|
var i;
|
|
101
103
|
(i = o()[e]) == null || i.focus({ preventScroll: t });
|
|
102
104
|
}
|
|
103
105
|
function o() {
|
|
104
106
|
var t;
|
|
105
|
-
const e = (t =
|
|
107
|
+
const e = (t = I.value) == null ? void 0 : t.querySelectorAll("li");
|
|
106
108
|
return e ? Array.from(e) : [];
|
|
107
109
|
}
|
|
108
110
|
function P(e) {
|
|
109
111
|
return o()[e];
|
|
110
112
|
}
|
|
111
|
-
function
|
|
113
|
+
function _() {
|
|
112
114
|
return o().indexOf(document.activeElement);
|
|
113
115
|
}
|
|
114
|
-
function
|
|
115
|
-
const e = o(), t = e.find((l) =>
|
|
116
|
+
function y() {
|
|
117
|
+
const e = o(), t = e.find((l) => x(l));
|
|
116
118
|
return t ? e.indexOf(t) : -1;
|
|
117
119
|
}
|
|
118
|
-
function
|
|
119
|
-
const e = o(), t = [...e].reverse().find((l) =>
|
|
120
|
+
function F() {
|
|
121
|
+
const e = o(), t = [...e].reverse().find((l) => x(l));
|
|
120
122
|
return t ? e.indexOf(t) : -1;
|
|
121
123
|
}
|
|
122
|
-
function
|
|
124
|
+
function B(e, t, l) {
|
|
123
125
|
return t === "prev" && e <= 0 || t === "next" && e === l.length - 1;
|
|
124
126
|
}
|
|
125
127
|
function W(e) {
|
|
126
|
-
const t =
|
|
127
|
-
return
|
|
128
|
+
const t = _();
|
|
129
|
+
return D(t, e);
|
|
128
130
|
}
|
|
129
|
-
function
|
|
131
|
+
function D(e, t) {
|
|
130
132
|
const l = o();
|
|
131
|
-
if (
|
|
133
|
+
if (B(e, t, l))
|
|
132
134
|
return e;
|
|
133
135
|
let i = e + (t === "next" ? 1 : -1);
|
|
134
|
-
for (; !
|
|
135
|
-
if (
|
|
136
|
+
for (; !x(l[i]); ) {
|
|
137
|
+
if (B(i, t, l))
|
|
136
138
|
return e;
|
|
137
139
|
i += t === "next" ? 1 : -1;
|
|
138
140
|
}
|
|
139
141
|
return i;
|
|
140
142
|
}
|
|
141
|
-
function
|
|
143
|
+
function x(e) {
|
|
142
144
|
return e.tabIndex === -2;
|
|
143
145
|
}
|
|
144
146
|
function J(e) {
|
|
@@ -146,21 +148,21 @@ const oe = /* @__PURE__ */ N({
|
|
|
146
148
|
return e ? (t = n.items) == null ? void 0 : t.filter((l) => l.group === e) : n.items;
|
|
147
149
|
}
|
|
148
150
|
return X(
|
|
149
|
-
|
|
151
|
+
r,
|
|
150
152
|
(e) => {
|
|
151
|
-
|
|
153
|
+
g("update:modelValue", e);
|
|
152
154
|
},
|
|
153
155
|
{ deep: !0 }
|
|
154
156
|
), G({
|
|
155
157
|
getItem: P,
|
|
156
|
-
getActiveItemIndex:
|
|
157
|
-
getAdjacentItemIndex:
|
|
158
|
-
getFirstFocusableItemIndex:
|
|
159
|
-
getLastFocusableItemIndex:
|
|
160
|
-
}), (e, t) => (
|
|
158
|
+
getActiveItemIndex: _,
|
|
159
|
+
getAdjacentItemIndex: D,
|
|
160
|
+
getFirstFocusableItemIndex: y,
|
|
161
|
+
getLastFocusableItemIndex: F
|
|
162
|
+
}), (e, t) => (m(), A(Y(Q.value), {
|
|
161
163
|
id: n.id,
|
|
162
164
|
ref_key: "listRef",
|
|
163
|
-
ref:
|
|
165
|
+
ref: I,
|
|
164
166
|
class: Z(["q-list", { "q-list--disabled": n.disabled }, n.class]),
|
|
165
167
|
role: "listbox",
|
|
166
168
|
tabindex: n.disabled ? -1 : 0,
|
|
@@ -169,25 +171,25 @@ const oe = /* @__PURE__ */ N({
|
|
|
169
171
|
onMouseup: z,
|
|
170
172
|
onKeydown: K
|
|
171
173
|
}, {
|
|
172
|
-
default:
|
|
173
|
-
|
|
174
|
-
(
|
|
174
|
+
default: v(() => [
|
|
175
|
+
L(e.$slots, "default", {}, () => [
|
|
176
|
+
(m(!0), q(
|
|
175
177
|
E,
|
|
176
178
|
null,
|
|
177
|
-
T(a.value, (l, i) => (
|
|
179
|
+
T(a.value, (l, i) => (m(), A($(ee), {
|
|
178
180
|
id: l.id,
|
|
179
181
|
key: l.id,
|
|
180
182
|
title: a.value.length === 1 ? void 0 : l.title
|
|
181
183
|
}, {
|
|
182
|
-
default:
|
|
183
|
-
(
|
|
184
|
+
default: v(() => [
|
|
185
|
+
(m(!0), q(
|
|
184
186
|
E,
|
|
185
187
|
null,
|
|
186
|
-
T(J(l.id), (s,
|
|
188
|
+
T(J(l.id), (s, u) => (m(), A($(te), {
|
|
187
189
|
key: s[n.itemValue],
|
|
188
190
|
ref_for: !0,
|
|
189
191
|
ref_key: "listItemsRef",
|
|
190
|
-
ref:
|
|
192
|
+
ref: k,
|
|
191
193
|
value: s[n.itemValue],
|
|
192
194
|
label: s[n.itemLabel],
|
|
193
195
|
description: s.description,
|
|
@@ -198,21 +200,21 @@ const oe = /* @__PURE__ */ N({
|
|
|
198
200
|
onClick: () => S(s[n.itemValue]),
|
|
199
201
|
onMouseenter: () => U(s[n.itemValue])
|
|
200
202
|
}, {
|
|
201
|
-
append:
|
|
202
|
-
var
|
|
203
|
+
append: v(() => {
|
|
204
|
+
var d, f;
|
|
203
205
|
return [
|
|
204
|
-
|
|
206
|
+
L(e.$slots, "item.append", {
|
|
205
207
|
item: s,
|
|
206
|
-
element: (
|
|
208
|
+
element: (f = (d = k.value) == null ? void 0 : d[u + i * a.value.length]) == null ? void 0 : f.$el
|
|
207
209
|
})
|
|
208
210
|
];
|
|
209
211
|
}),
|
|
210
|
-
default:
|
|
211
|
-
var
|
|
212
|
+
default: v(() => {
|
|
213
|
+
var d, f;
|
|
212
214
|
return [
|
|
213
|
-
|
|
215
|
+
L(e.$slots, "item", {
|
|
214
216
|
item: s,
|
|
215
|
-
element: (
|
|
217
|
+
element: (f = (d = k.value) == null ? void 0 : d[u + i * a.value.length]) == null ? void 0 : f.$el
|
|
216
218
|
})
|
|
217
219
|
];
|
|
218
220
|
}),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS, QSelectProps } from './types';
|
|
2
|
+
import { Item } from '../QList/types';
|
|
2
3
|
import { nextTick } from 'vue';
|
|
3
4
|
type __VLS_Props = QSelectProps;
|
|
4
5
|
type __VLS_PublicProps = {
|
|
@@ -12,12 +13,12 @@ declare function __VLS_template(): {
|
|
|
12
13
|
extras?(_: {}): any;
|
|
13
14
|
'body.prepend'?(_: {}): any;
|
|
14
15
|
item?(_: {
|
|
15
|
-
item:
|
|
16
|
+
item: Item;
|
|
16
17
|
}): any;
|
|
17
18
|
'body.append'?(_: {}): any;
|
|
18
19
|
};
|
|
19
20
|
refs: {
|
|
20
|
-
|
|
21
|
+
trigger: ({
|
|
21
22
|
$: import('vue').ComponentInternalInstance;
|
|
22
23
|
$data: {};
|
|
23
24
|
$props: {
|
|
@@ -86,8 +87,81 @@ declare function __VLS_template(): {
|
|
|
86
87
|
extras?(_: {}): any;
|
|
87
88
|
};
|
|
88
89
|
}) | null;
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
badgesContainer: HTMLSpanElement;
|
|
91
|
+
allBadges: (({
|
|
92
|
+
$: import('vue').ComponentInternalInstance;
|
|
93
|
+
$data: {};
|
|
94
|
+
$props: {
|
|
95
|
+
readonly id?: string | undefined;
|
|
96
|
+
readonly class?: string | unknown[] | undefined;
|
|
97
|
+
readonly variant?: import('../QBadge/types').QBadgeVariant | undefined;
|
|
98
|
+
readonly color?: string | undefined;
|
|
99
|
+
readonly pill?: boolean | undefined;
|
|
100
|
+
readonly size?: import('../QBadge/types').QBadgeSize | undefined;
|
|
101
|
+
readonly removable?: boolean | undefined;
|
|
102
|
+
readonly icons?: typeof import('../QBadge/types').DEFAULT_ICONS | undefined;
|
|
103
|
+
readonly texts?: typeof import('../QBadge/types').DEFAULT_TEXTS | undefined;
|
|
104
|
+
readonly "onClick:remove"?: (() => any) | undefined;
|
|
105
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
106
|
+
$attrs: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
};
|
|
109
|
+
$refs: {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
};
|
|
112
|
+
$slots: Readonly<{
|
|
113
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
116
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
117
|
+
$host: Element | null;
|
|
118
|
+
$emit: (event: "click:remove") => void;
|
|
119
|
+
$el: HTMLSpanElement;
|
|
120
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../QBadge/types').QBadgeProps> & Readonly<{
|
|
121
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
122
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
123
|
+
"click:remove": () => any;
|
|
124
|
+
}, string, {
|
|
125
|
+
size: import('../QBadge/types').QBadgeSize;
|
|
126
|
+
color: string;
|
|
127
|
+
variant: import('../QBadge/types').QBadgeVariant;
|
|
128
|
+
icons: typeof import('../QBadge/types').DEFAULT_ICONS;
|
|
129
|
+
texts: typeof import('../QBadge/types').DEFAULT_TEXTS;
|
|
130
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
131
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
132
|
+
created?: (() => void) | (() => void)[];
|
|
133
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
134
|
+
mounted?: (() => void) | (() => void)[];
|
|
135
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
136
|
+
updated?: (() => void) | (() => void)[];
|
|
137
|
+
activated?: (() => void) | (() => void)[];
|
|
138
|
+
deactivated?: (() => void) | (() => void)[];
|
|
139
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
140
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
141
|
+
destroyed?: (() => void) | (() => void)[];
|
|
142
|
+
unmounted?: (() => void) | (() => void)[];
|
|
143
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
144
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
145
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
146
|
+
};
|
|
147
|
+
$forceUpdate: () => void;
|
|
148
|
+
$nextTick: typeof nextTick;
|
|
149
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
150
|
+
} & Readonly<{
|
|
151
|
+
size: import('../QBadge/types').QBadgeSize;
|
|
152
|
+
color: string;
|
|
153
|
+
variant: import('../QBadge/types').QBadgeVariant;
|
|
154
|
+
icons: typeof import('../QBadge/types').DEFAULT_ICONS;
|
|
155
|
+
texts: typeof import('../QBadge/types').DEFAULT_TEXTS;
|
|
156
|
+
}> & Omit<Readonly<import('../QBadge/types').QBadgeProps> & Readonly<{
|
|
157
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
158
|
+
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
159
|
+
$slots: {
|
|
160
|
+
default?(_: {}): any;
|
|
161
|
+
};
|
|
162
|
+
}) | null)[];
|
|
163
|
+
content: HTMLDivElement;
|
|
164
|
+
list: ({
|
|
91
165
|
$: import('vue').ComponentInternalInstance;
|
|
92
166
|
$data: {};
|
|
93
167
|
$props: {
|
|
@@ -95,7 +169,7 @@ declare function __VLS_template(): {
|
|
|
95
169
|
readonly class?: string | unknown[] | undefined;
|
|
96
170
|
readonly modelValue?: any;
|
|
97
171
|
readonly highlighted?: any;
|
|
98
|
-
readonly items?:
|
|
172
|
+
readonly items?: Item[] | undefined;
|
|
99
173
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
100
174
|
readonly selectable?: boolean | undefined;
|
|
101
175
|
readonly multiple?: boolean | undefined;
|
|
@@ -254,11 +328,11 @@ declare function __VLS_template(): {
|
|
|
254
328
|
$slots: {
|
|
255
329
|
default?(_: {}): any;
|
|
256
330
|
item?(_: {
|
|
257
|
-
item:
|
|
331
|
+
item: Item;
|
|
258
332
|
element: HTMLLIElement | undefined;
|
|
259
333
|
}): any;
|
|
260
334
|
'item.append'?(_: {
|
|
261
|
-
item:
|
|
335
|
+
item: Item;
|
|
262
336
|
element: HTMLLIElement | undefined;
|
|
263
337
|
}): any;
|
|
264
338
|
};
|
|
@@ -287,7 +361,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
287
361
|
itemValue: string;
|
|
288
362
|
itemLabel: string;
|
|
289
363
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
290
|
-
|
|
364
|
+
trigger: ({
|
|
291
365
|
$: import('vue').ComponentInternalInstance;
|
|
292
366
|
$data: {};
|
|
293
367
|
$props: {
|
|
@@ -356,8 +430,81 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
356
430
|
extras?(_: {}): any;
|
|
357
431
|
};
|
|
358
432
|
}) | null;
|
|
359
|
-
|
|
360
|
-
|
|
433
|
+
badgesContainer: HTMLSpanElement;
|
|
434
|
+
allBadges: (({
|
|
435
|
+
$: import('vue').ComponentInternalInstance;
|
|
436
|
+
$data: {};
|
|
437
|
+
$props: {
|
|
438
|
+
readonly id?: string | undefined;
|
|
439
|
+
readonly class?: string | unknown[] | undefined;
|
|
440
|
+
readonly variant?: import('../QBadge/types').QBadgeVariant | undefined;
|
|
441
|
+
readonly color?: string | undefined;
|
|
442
|
+
readonly pill?: boolean | undefined;
|
|
443
|
+
readonly size?: import('../QBadge/types').QBadgeSize | undefined;
|
|
444
|
+
readonly removable?: boolean | undefined;
|
|
445
|
+
readonly icons?: typeof import('../QBadge/types').DEFAULT_ICONS | undefined;
|
|
446
|
+
readonly texts?: typeof import('../QBadge/types').DEFAULT_TEXTS | undefined;
|
|
447
|
+
readonly "onClick:remove"?: (() => any) | undefined;
|
|
448
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
449
|
+
$attrs: {
|
|
450
|
+
[x: string]: unknown;
|
|
451
|
+
};
|
|
452
|
+
$refs: {
|
|
453
|
+
[x: string]: unknown;
|
|
454
|
+
};
|
|
455
|
+
$slots: Readonly<{
|
|
456
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
457
|
+
}>;
|
|
458
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
459
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
460
|
+
$host: Element | null;
|
|
461
|
+
$emit: (event: "click:remove") => void;
|
|
462
|
+
$el: HTMLSpanElement;
|
|
463
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../QBadge/types').QBadgeProps> & Readonly<{
|
|
464
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
465
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
466
|
+
"click:remove": () => any;
|
|
467
|
+
}, string, {
|
|
468
|
+
size: import('../QBadge/types').QBadgeSize;
|
|
469
|
+
color: string;
|
|
470
|
+
variant: import('../QBadge/types').QBadgeVariant;
|
|
471
|
+
icons: typeof import('../QBadge/types').DEFAULT_ICONS;
|
|
472
|
+
texts: typeof import('../QBadge/types').DEFAULT_TEXTS;
|
|
473
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
474
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
475
|
+
created?: (() => void) | (() => void)[];
|
|
476
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
477
|
+
mounted?: (() => void) | (() => void)[];
|
|
478
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
479
|
+
updated?: (() => void) | (() => void)[];
|
|
480
|
+
activated?: (() => void) | (() => void)[];
|
|
481
|
+
deactivated?: (() => void) | (() => void)[];
|
|
482
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
483
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
484
|
+
destroyed?: (() => void) | (() => void)[];
|
|
485
|
+
unmounted?: (() => void) | (() => void)[];
|
|
486
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
487
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
488
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
489
|
+
};
|
|
490
|
+
$forceUpdate: () => void;
|
|
491
|
+
$nextTick: typeof nextTick;
|
|
492
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
493
|
+
} & Readonly<{
|
|
494
|
+
size: import('../QBadge/types').QBadgeSize;
|
|
495
|
+
color: string;
|
|
496
|
+
variant: import('../QBadge/types').QBadgeVariant;
|
|
497
|
+
icons: typeof import('../QBadge/types').DEFAULT_ICONS;
|
|
498
|
+
texts: typeof import('../QBadge/types').DEFAULT_TEXTS;
|
|
499
|
+
}> & Omit<Readonly<import('../QBadge/types').QBadgeProps> & Readonly<{
|
|
500
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
501
|
+
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
502
|
+
$slots: {
|
|
503
|
+
default?(_: {}): any;
|
|
504
|
+
};
|
|
505
|
+
}) | null)[];
|
|
506
|
+
content: HTMLDivElement;
|
|
507
|
+
list: ({
|
|
361
508
|
$: import('vue').ComponentInternalInstance;
|
|
362
509
|
$data: {};
|
|
363
510
|
$props: {
|
|
@@ -365,7 +512,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
365
512
|
readonly class?: string | unknown[] | undefined;
|
|
366
513
|
readonly modelValue?: any;
|
|
367
514
|
readonly highlighted?: any;
|
|
368
|
-
readonly items?:
|
|
515
|
+
readonly items?: Item[] | undefined;
|
|
369
516
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
370
517
|
readonly selectable?: boolean | undefined;
|
|
371
518
|
readonly multiple?: boolean | undefined;
|
|
@@ -524,11 +671,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
524
671
|
$slots: {
|
|
525
672
|
default?(_: {}): any;
|
|
526
673
|
item?(_: {
|
|
527
|
-
item:
|
|
674
|
+
item: Item;
|
|
528
675
|
element: HTMLLIElement | undefined;
|
|
529
676
|
}): any;
|
|
530
677
|
'item.append'?(_: {
|
|
531
|
-
item:
|
|
678
|
+
item: Item;
|
|
532
679
|
element: HTMLLIElement | undefined;
|
|
533
680
|
}): any;
|
|
534
681
|
};
|
|
@@ -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":"AAmMA;AAwhBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AActD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAA4C,MAAM,KAAK,CAAA;AAMlF,KAAK,WAAW,GAAG,YAAY,CAAC;AAkUjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA4dT,OAAO,IAA6B;;yBArBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACZ,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCApWmE,GAAG,8CACvG,GAAG,yBACW,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAF6C,GAAG,8CACvG,GAAG,yBACW,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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