@quidgest/ui 0.12.0 → 0.12.2
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/ui.css +22 -0
- package/dist/ui.esm.js +575 -575
- package/dist/ui.js +6 -6
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +97 -108
- package/dist/ui.scss +23 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +14 -15
- package/esm/components/QButton/index.d.ts +196 -2
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/index.js +6 -0
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/index.d.ts +79 -2
- package/esm/components/QButtonGroup/index.d.ts.map +1 -1
- package/esm/components/QButtonGroup/index.js +6 -0
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +17 -17
- package/esm/components/QButtonToggle/index.d.ts +115 -2
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/index.js +6 -0
- package/esm/components/QCombobox/QCombobox.d.ts +4 -4
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +106 -111
- package/esm/components/QCombobox/index.d.ts +1083 -2
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/index.js +6 -0
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/index.d.ts +168 -1
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QField/index.js +2 -2
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +9 -12
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/index.d.ts +156 -4
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/index.js +8 -11
- package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +25 -27
- package/esm/components/QInputGroup/index.d.ts +153 -2
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/index.js +6 -0
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/index.d.ts +13 -2
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/index.js +6 -0
- package/esm/components/QList/QList.d.ts +1 -1
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +48 -49
- package/esm/components/QList/QListItem.d.ts +8 -1
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +63 -37
- package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
- package/esm/components/QList/index.d.ts +418 -3
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/index.js +8 -10
- package/esm/components/QOverlay/QOverlay.d.ts +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/index.d.ts +320 -2
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/index.js +4 -4
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +11 -12
- package/esm/components/QPopover/index.d.ts +180 -2
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPopover/index.js +6 -0
- package/esm/components/QSelect/QSelect.d.ts +3 -3
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +68 -73
- package/esm/components/QSelect/index.d.ts +377 -2
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/index.js +6 -0
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/index.d.ts +31 -2
- package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/index.js +6 -0
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/index.d.ts +22 -2
- package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/index.js +4 -4
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +7 -8
- package/esm/components/QTextField/index.d.ts +229 -2
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/index.js +2 -2
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/index.d.ts +37 -2
- package/esm/components/QThemeProvider/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/index.js +6 -0
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +8 -9
- package/esm/components/QTooltip/index.d.ts +259 -2
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/QTooltip/index.js +6 -0
- package/esm/components/index.js +39 -44
- package/esm/composables/defaults.js +5 -5
- package/esm/framework.d.ts +2 -2
- package/package.json +16 -15
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import { defineComponent as J, mergeModels as
|
|
2
|
-
import
|
|
3
|
-
import "../QField/index.js";
|
|
4
|
-
import "../QIcon/index.js";
|
|
5
|
-
import "../QList/index.js";
|
|
6
|
-
import "../QOverlay/index.js";
|
|
7
|
-
import "../QSpinnerLoader/index.js";
|
|
8
|
-
import ne from "../QField/QField.vue.js";
|
|
9
|
-
import L from "../QIcon/QIcon.vue.js";
|
|
10
|
-
import se from "../QOverlay/QOverlay.vue.js";
|
|
11
|
-
import de from "../QSpinnerLoader/QSpinnerLoader.vue.js";
|
|
12
|
-
import re from "../QList/QList.vue.js";
|
|
1
|
+
import { defineComponent as J, mergeModels as Q, useModel as Y, ref as m, computed as k, watch as Z, nextTick as ee, openBlock as t, createElementBlock as p, Fragment as R, createVNode as v, unref as n, normalizeClass as le, withModifiers as D, createSlots as oe, withCtx as s, renderSlot as u, createBlock as g, normalizeProps as C, guardReactiveProps as F, createCommentVNode as h, toDisplayString as M, createTextVNode as ae, mergeProps as te, createElementVNode as ne } from "vue";
|
|
2
|
+
import { QButton as O } from "../QButton/index.js";
|
|
3
|
+
import { QField as ie } from "../QField/index.js";
|
|
4
|
+
import { QIcon as S } from "../QIcon/index.js";
|
|
5
|
+
import { QList as se } from "../QList/index.js";
|
|
6
|
+
import { QOverlay as de } from "../QOverlay/index.js";
|
|
7
|
+
import { QSpinnerLoader as re } from "../QSpinnerLoader/index.js";
|
|
13
8
|
const ue = {
|
|
14
9
|
key: 0,
|
|
15
10
|
class: "q-select__value"
|
|
@@ -28,9 +23,9 @@ const ue = {
|
|
|
28
23
|
clear: {
|
|
29
24
|
icon: "close"
|
|
30
25
|
}
|
|
31
|
-
},
|
|
26
|
+
}, Ve = /* @__PURE__ */ J({
|
|
32
27
|
__name: "QSelect",
|
|
33
|
-
props: /* @__PURE__ */
|
|
28
|
+
props: /* @__PURE__ */ Q({
|
|
34
29
|
id: { default: void 0 },
|
|
35
30
|
label: { default: "" },
|
|
36
31
|
clearable: { type: Boolean },
|
|
@@ -53,56 +48,56 @@ const ue = {
|
|
|
53
48
|
},
|
|
54
49
|
modelModifiers: {}
|
|
55
50
|
}),
|
|
56
|
-
emits: /* @__PURE__ */
|
|
57
|
-
setup(x, { emit:
|
|
58
|
-
const l = x, y =
|
|
51
|
+
emits: /* @__PURE__ */ Q(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
|
|
52
|
+
setup(x, { emit: U }) {
|
|
53
|
+
const l = x, y = U, c = Y(x, "modelValue"), a = m(!1), w = m(""), b = m(null), _ = m(null), V = m(null), A = k(() => d.value === void 0), d = k(
|
|
59
54
|
() => {
|
|
60
55
|
var e;
|
|
61
56
|
return (e = l.items) == null ? void 0 : e.find((o) => o[l.itemValue] === c.value);
|
|
62
57
|
}
|
|
63
|
-
),
|
|
58
|
+
), P = k(
|
|
64
59
|
() => d.value ? d.value[l.itemLabel] : ""
|
|
65
|
-
),
|
|
60
|
+
), q = k(
|
|
66
61
|
() => l.clearable && !l.readonly && !l.disabled && !l.loading
|
|
67
62
|
);
|
|
68
|
-
function
|
|
69
|
-
c.value = e,
|
|
63
|
+
function B(e) {
|
|
64
|
+
c.value = e, L();
|
|
70
65
|
}
|
|
71
|
-
function
|
|
72
|
-
|
|
66
|
+
function E() {
|
|
67
|
+
q.value && B(l.emptyValue);
|
|
73
68
|
}
|
|
74
|
-
function
|
|
69
|
+
function K(e) {
|
|
75
70
|
var o, r, f;
|
|
76
|
-
!((o = V.value) != null && o.contains(e.relatedTarget)) && !((f = (r = b.value) == null ? void 0 : r.fieldRef) != null && f.contains(e.relatedTarget)) &&
|
|
71
|
+
!((o = V.value) != null && o.contains(e.relatedTarget)) && !((f = (r = b.value) == null ? void 0 : r.fieldRef) != null && f.contains(e.relatedTarget)) && L();
|
|
77
72
|
}
|
|
78
|
-
function
|
|
73
|
+
function H() {
|
|
79
74
|
a.value || (y("before-show"), a.value = !0);
|
|
80
75
|
}
|
|
81
|
-
function
|
|
76
|
+
function L() {
|
|
82
77
|
a.value && (y("before-hide"), a.value = !1);
|
|
83
78
|
}
|
|
84
79
|
function T() {
|
|
85
|
-
l.readonly || l.disabled || (a.value ?
|
|
80
|
+
l.readonly || l.disabled || (a.value ? L() : H());
|
|
86
81
|
}
|
|
87
|
-
let
|
|
82
|
+
let $;
|
|
88
83
|
function z(e) {
|
|
89
84
|
if (!(!e.key || l.readonly || l.disabled)) {
|
|
90
|
-
if (window.clearTimeout(
|
|
91
|
-
|
|
85
|
+
if (window.clearTimeout($), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), ["Enter", " "].includes(e.key) && (a.value = !0), ["Escape", "Tab"].includes(e.key) && (a.value ? a.value = !1 : q.value && e.key === "Escape" && E()), e.key === "Delete" && l.clearable && E(), /^[a-z]$/i.test(e.key)) {
|
|
86
|
+
w.value += e.key.toLowerCase();
|
|
92
87
|
for (let o = 0; o < l.items.length; o++)
|
|
93
|
-
if (l.items[o][l.itemLabel].toLowerCase().startsWith(
|
|
88
|
+
if (l.items[o][l.itemLabel].toLowerCase().startsWith(w.value)) {
|
|
94
89
|
G(o);
|
|
95
90
|
break;
|
|
96
91
|
}
|
|
97
92
|
}
|
|
98
|
-
|
|
99
|
-
|
|
93
|
+
$ = window.setTimeout(function() {
|
|
94
|
+
w.value = "";
|
|
100
95
|
}, 500);
|
|
101
96
|
}
|
|
102
97
|
}
|
|
103
98
|
function W() {
|
|
104
99
|
var e;
|
|
105
|
-
l.loading ? (e = V.value) == null || e.focus() :
|
|
100
|
+
l.loading ? (e = V.value) == null || e.focus() : I(), y("show");
|
|
106
101
|
}
|
|
107
102
|
function X() {
|
|
108
103
|
j(), y("hide");
|
|
@@ -111,26 +106,26 @@ const ue = {
|
|
|
111
106
|
var e, o;
|
|
112
107
|
(o = (e = b.value) == null ? void 0 : e.fieldRef) == null || o.focus();
|
|
113
108
|
}
|
|
114
|
-
function
|
|
109
|
+
function I() {
|
|
115
110
|
var e;
|
|
116
|
-
(e =
|
|
111
|
+
(e = _.value) == null || e.$el.focus();
|
|
117
112
|
}
|
|
118
113
|
function G(e) {
|
|
119
114
|
var o;
|
|
120
|
-
(o =
|
|
115
|
+
(o = _.value) == null || o.focusItem(e);
|
|
121
116
|
}
|
|
122
117
|
return Z(
|
|
123
118
|
() => l.loading,
|
|
124
119
|
(e) => {
|
|
125
|
-
!e && a.value && ee(
|
|
120
|
+
!e && a.value && ee(I);
|
|
126
121
|
}
|
|
127
122
|
), (e, o) => {
|
|
128
123
|
var r, f;
|
|
129
124
|
return t(), p(
|
|
130
|
-
|
|
125
|
+
R,
|
|
131
126
|
null,
|
|
132
127
|
[
|
|
133
|
-
v(
|
|
128
|
+
v(n(ie), {
|
|
134
129
|
id: l.id,
|
|
135
130
|
label: l.label,
|
|
136
131
|
required: l.required,
|
|
@@ -154,22 +149,22 @@ const ue = {
|
|
|
154
149
|
"aria-haspopup": "listbox",
|
|
155
150
|
size: l.size,
|
|
156
151
|
onClick: T,
|
|
157
|
-
onKeydown:
|
|
152
|
+
onKeydown: D(z, ["stop"])
|
|
158
153
|
}, oe({
|
|
159
154
|
append: s(() => [
|
|
160
155
|
u(e.$slots, "append"),
|
|
161
|
-
|
|
156
|
+
q.value && c.value ? (t(), g(n(O), {
|
|
162
157
|
key: 0,
|
|
163
158
|
class: "q-select__clear",
|
|
164
159
|
"b-style": "plain",
|
|
165
160
|
borderless: "",
|
|
166
161
|
tabindex: "-1",
|
|
167
|
-
onClick:
|
|
162
|
+
onClick: E
|
|
168
163
|
}, {
|
|
169
164
|
default: s(() => [
|
|
170
165
|
v(
|
|
171
|
-
|
|
172
|
-
C(
|
|
166
|
+
n(S),
|
|
167
|
+
C(F(l.icons.clear)),
|
|
173
168
|
null,
|
|
174
169
|
16
|
|
175
170
|
/* FULL_PROPS */
|
|
@@ -177,8 +172,8 @@ const ue = {
|
|
|
177
172
|
]),
|
|
178
173
|
_: 1
|
|
179
174
|
/* STABLE */
|
|
180
|
-
})) :
|
|
181
|
-
l.readonly ?
|
|
175
|
+
})) : h("v-if", !0),
|
|
176
|
+
l.readonly ? h("v-if", !0) : (t(), g(n(O), {
|
|
182
177
|
key: 1,
|
|
183
178
|
class: "q-select__chevron",
|
|
184
179
|
"b-style": "plain",
|
|
@@ -189,8 +184,8 @@ const ue = {
|
|
|
189
184
|
}, {
|
|
190
185
|
default: s(() => [
|
|
191
186
|
v(
|
|
192
|
-
|
|
193
|
-
C(
|
|
187
|
+
n(S),
|
|
188
|
+
C(F(l.icons.chevron)),
|
|
194
189
|
null,
|
|
195
190
|
16
|
|
196
191
|
/* FULL_PROPS */
|
|
@@ -201,24 +196,24 @@ const ue = {
|
|
|
201
196
|
}, 8, ["disabled"]))
|
|
202
197
|
]),
|
|
203
198
|
default: s(() => [
|
|
204
|
-
|
|
199
|
+
A.value ? (t(), p("span", ce, [
|
|
205
200
|
!l.readonly && !l.disabled ? (t(), p(
|
|
206
|
-
|
|
201
|
+
R,
|
|
207
202
|
{ key: 0 },
|
|
208
203
|
[
|
|
209
204
|
ae(
|
|
210
|
-
|
|
205
|
+
M(e.texts.placeholder),
|
|
211
206
|
1
|
|
212
207
|
/* TEXT */
|
|
213
208
|
)
|
|
214
209
|
],
|
|
215
210
|
64
|
|
216
211
|
/* STABLE_FRAGMENT */
|
|
217
|
-
)) :
|
|
212
|
+
)) : h("v-if", !0)
|
|
218
213
|
])) : (t(), p(
|
|
219
214
|
"span",
|
|
220
215
|
ue,
|
|
221
|
-
|
|
216
|
+
M(P.value),
|
|
222
217
|
1
|
|
223
218
|
/* TEXT */
|
|
224
219
|
))
|
|
@@ -229,16 +224,16 @@ const ue = {
|
|
|
229
224
|
(r = d.value) != null && r.icon || e.$slots.prepend ? {
|
|
230
225
|
name: "prepend",
|
|
231
226
|
fn: s(() => {
|
|
232
|
-
var
|
|
227
|
+
var i, N;
|
|
233
228
|
return [
|
|
234
229
|
u(e.$slots, "prepend"),
|
|
235
|
-
(
|
|
236
|
-
|
|
237
|
-
C(te({ key: 0 }, (
|
|
230
|
+
(i = d.value) != null && i.icon ? (t(), g(
|
|
231
|
+
n(S),
|
|
232
|
+
C(te({ key: 0 }, (N = d.value) == null ? void 0 : N.icon)),
|
|
238
233
|
null,
|
|
239
234
|
16
|
|
240
235
|
/* FULL_PROPS */
|
|
241
|
-
)) :
|
|
236
|
+
)) : h("v-if", !0)
|
|
242
237
|
];
|
|
243
238
|
}),
|
|
244
239
|
key: "0"
|
|
@@ -251,9 +246,9 @@ const ue = {
|
|
|
251
246
|
key: "1"
|
|
252
247
|
} : void 0
|
|
253
248
|
]), 1032, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
|
|
254
|
-
v(
|
|
249
|
+
v(n(de), {
|
|
255
250
|
modelValue: a.value,
|
|
256
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
251
|
+
"onUpdate:modelValue": o[1] || (o[1] = (i) => a.value = i),
|
|
257
252
|
spy: "",
|
|
258
253
|
trigger: "manual",
|
|
259
254
|
placement: "bottom-start",
|
|
@@ -265,36 +260,36 @@ const ue = {
|
|
|
265
260
|
onLeave: X
|
|
266
261
|
}, {
|
|
267
262
|
default: s(() => [
|
|
268
|
-
|
|
263
|
+
ne("div", {
|
|
269
264
|
ref_key: "contentRef",
|
|
270
265
|
ref: V,
|
|
271
266
|
"data-testid": "combobox-dropdown",
|
|
272
267
|
"data-key": l.id,
|
|
273
268
|
class: "q-select__body",
|
|
274
269
|
tabindex: "-1",
|
|
275
|
-
onFocusout:
|
|
276
|
-
onKeydown:
|
|
270
|
+
onFocusout: K,
|
|
271
|
+
onKeydown: D(z, ["stop"])
|
|
277
272
|
}, [
|
|
278
273
|
u(e.$slots, "body.prepend"),
|
|
279
274
|
l.loading ? (t(), p("div", me, [
|
|
280
|
-
v(
|
|
281
|
-
])) : (t(),
|
|
275
|
+
v(n(re), { size: 24 })
|
|
276
|
+
])) : (t(), g(n(se), {
|
|
282
277
|
key: 1,
|
|
283
278
|
ref_key: "listRef",
|
|
284
|
-
ref:
|
|
279
|
+
ref: _,
|
|
285
280
|
class: "q-select__items",
|
|
286
281
|
modelValue: c.value,
|
|
287
282
|
"onUpdate:modelValue": [
|
|
288
|
-
o[0] || (o[0] = (
|
|
289
|
-
|
|
283
|
+
o[0] || (o[0] = (i) => c.value = i),
|
|
284
|
+
B
|
|
290
285
|
],
|
|
291
286
|
items: l.items,
|
|
292
287
|
groups: e.groups,
|
|
293
288
|
"item-label": l.itemLabel,
|
|
294
289
|
"item-value": l.itemValue
|
|
295
290
|
}, {
|
|
296
|
-
item: s(({ item:
|
|
297
|
-
u(e.$slots, "item", { item:
|
|
291
|
+
item: s(({ item: i }) => [
|
|
292
|
+
u(e.$slots, "item", { item: i })
|
|
298
293
|
]),
|
|
299
294
|
_: 3
|
|
300
295
|
/* FORWARDED */
|
|
@@ -313,5 +308,5 @@ const ue = {
|
|
|
313
308
|
}
|
|
314
309
|
});
|
|
315
310
|
export {
|
|
316
|
-
|
|
311
|
+
Ve as default
|
|
317
312
|
};
|
|
@@ -1,4 +1,379 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const QSelect: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: import('vue').PropType<any>;
|
|
4
|
+
size: {
|
|
5
|
+
type: import('vue').PropType<import('..').QFieldSize>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
class: {
|
|
9
|
+
type: import('vue').PropType<string | unknown[]>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
type: import('vue').PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
loading: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
required: {
|
|
23
|
+
type: import('vue').PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
icons: {
|
|
26
|
+
type: import('vue').PropType<Record<string, import('..').Icon>>;
|
|
27
|
+
default: () => Record<string, import('..').Icon>;
|
|
28
|
+
};
|
|
29
|
+
items: {
|
|
30
|
+
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
})[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
groups: {
|
|
36
|
+
type: import('vue').PropType<(import('..').QListItemGroupProps & {
|
|
37
|
+
id: string;
|
|
38
|
+
})[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
itemValue: {
|
|
42
|
+
type: import('vue').PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
itemLabel: {
|
|
46
|
+
type: import('vue').PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
id: {
|
|
50
|
+
type: import('vue').PropType<string>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
readonly: {
|
|
54
|
+
type: import('vue').PropType<boolean>;
|
|
55
|
+
};
|
|
56
|
+
clearable: {
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
emptyValue: {
|
|
60
|
+
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
texts: {
|
|
64
|
+
type: import('vue').PropType<{
|
|
65
|
+
placeholder: string;
|
|
66
|
+
}>;
|
|
67
|
+
default: () => {
|
|
68
|
+
placeholder: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
72
|
+
"onBefore-show"?: (() => any) | undefined;
|
|
73
|
+
"onBefore-hide"?: (() => any) | undefined;
|
|
74
|
+
onShow?: (() => any) | undefined;
|
|
75
|
+
onHide?: (() => any) | undefined;
|
|
76
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
77
|
+
"before-show": () => void;
|
|
78
|
+
"before-hide": () => void;
|
|
79
|
+
show: () => void;
|
|
80
|
+
hide: () => void;
|
|
81
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
+
modelValue: import('vue').PropType<any>;
|
|
83
|
+
size: {
|
|
84
|
+
type: import('vue').PropType<import('..').QFieldSize>;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
class: {
|
|
88
|
+
type: import('vue').PropType<string | unknown[]>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
label: {
|
|
92
|
+
type: import('vue').PropType<string>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
disabled: {
|
|
96
|
+
type: import('vue').PropType<boolean>;
|
|
97
|
+
};
|
|
98
|
+
loading: {
|
|
99
|
+
type: import('vue').PropType<boolean>;
|
|
100
|
+
};
|
|
101
|
+
required: {
|
|
102
|
+
type: import('vue').PropType<boolean>;
|
|
103
|
+
};
|
|
104
|
+
icons: {
|
|
105
|
+
type: import('vue').PropType<Record<string, import('..').Icon>>;
|
|
106
|
+
default: () => Record<string, import('..').Icon>;
|
|
107
|
+
};
|
|
108
|
+
items: {
|
|
109
|
+
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
})[]>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
groups: {
|
|
115
|
+
type: import('vue').PropType<(import('..').QListItemGroupProps & {
|
|
116
|
+
id: string;
|
|
117
|
+
})[]>;
|
|
118
|
+
default: () => never[];
|
|
119
|
+
};
|
|
120
|
+
itemValue: {
|
|
121
|
+
type: import('vue').PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
itemLabel: {
|
|
125
|
+
type: import('vue').PropType<string>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
id: {
|
|
129
|
+
type: import('vue').PropType<string>;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
readonly: {
|
|
133
|
+
type: import('vue').PropType<boolean>;
|
|
134
|
+
};
|
|
135
|
+
clearable: {
|
|
136
|
+
type: import('vue').PropType<boolean>;
|
|
137
|
+
};
|
|
138
|
+
emptyValue: {
|
|
139
|
+
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
texts: {
|
|
143
|
+
type: import('vue').PropType<{
|
|
144
|
+
placeholder: string;
|
|
145
|
+
}>;
|
|
146
|
+
default: () => {
|
|
147
|
+
placeholder: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}>> & {
|
|
151
|
+
"onBefore-show"?: (() => any) | undefined;
|
|
152
|
+
"onBefore-hide"?: (() => any) | undefined;
|
|
153
|
+
onShow?: (() => any) | undefined;
|
|
154
|
+
onHide?: (() => any) | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
size: import('..').QFieldSize;
|
|
157
|
+
class: string | unknown[];
|
|
158
|
+
label: string;
|
|
159
|
+
icons: Record<string, import('..').Icon>;
|
|
160
|
+
groups: (import('..').QListItemGroupProps & {
|
|
161
|
+
id: string;
|
|
162
|
+
})[];
|
|
163
|
+
itemValue: string;
|
|
164
|
+
itemLabel: string;
|
|
165
|
+
id: string;
|
|
166
|
+
emptyValue: import('../../types/primitive').Primitive;
|
|
167
|
+
texts: {
|
|
168
|
+
placeholder: string;
|
|
169
|
+
};
|
|
170
|
+
}, true, {}, {}, {
|
|
171
|
+
P: {};
|
|
172
|
+
B: {};
|
|
173
|
+
D: {};
|
|
174
|
+
C: {};
|
|
175
|
+
M: {};
|
|
176
|
+
Defaults: {};
|
|
177
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
178
|
+
modelValue: import('vue').PropType<any>;
|
|
179
|
+
size: {
|
|
180
|
+
type: import('vue').PropType<import('..').QFieldSize>;
|
|
181
|
+
default: undefined;
|
|
182
|
+
};
|
|
183
|
+
class: {
|
|
184
|
+
type: import('vue').PropType<string | unknown[]>;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
label: {
|
|
188
|
+
type: import('vue').PropType<string>;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
disabled: {
|
|
192
|
+
type: import('vue').PropType<boolean>;
|
|
193
|
+
};
|
|
194
|
+
loading: {
|
|
195
|
+
type: import('vue').PropType<boolean>;
|
|
196
|
+
};
|
|
197
|
+
required: {
|
|
198
|
+
type: import('vue').PropType<boolean>;
|
|
199
|
+
};
|
|
200
|
+
icons: {
|
|
201
|
+
type: import('vue').PropType<Record<string, import('..').Icon>>;
|
|
202
|
+
default: () => Record<string, import('..').Icon>;
|
|
203
|
+
};
|
|
204
|
+
items: {
|
|
205
|
+
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
})[]>;
|
|
208
|
+
required: true;
|
|
209
|
+
};
|
|
210
|
+
groups: {
|
|
211
|
+
type: import('vue').PropType<(import('..').QListItemGroupProps & {
|
|
212
|
+
id: string;
|
|
213
|
+
})[]>;
|
|
214
|
+
default: () => never[];
|
|
215
|
+
};
|
|
216
|
+
itemValue: {
|
|
217
|
+
type: import('vue').PropType<string>;
|
|
218
|
+
default: string;
|
|
219
|
+
};
|
|
220
|
+
itemLabel: {
|
|
221
|
+
type: import('vue').PropType<string>;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
id: {
|
|
225
|
+
type: import('vue').PropType<string>;
|
|
226
|
+
default: undefined;
|
|
227
|
+
};
|
|
228
|
+
readonly: {
|
|
229
|
+
type: import('vue').PropType<boolean>;
|
|
230
|
+
};
|
|
231
|
+
clearable: {
|
|
232
|
+
type: import('vue').PropType<boolean>;
|
|
233
|
+
};
|
|
234
|
+
emptyValue: {
|
|
235
|
+
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
236
|
+
default: undefined;
|
|
237
|
+
};
|
|
238
|
+
texts: {
|
|
239
|
+
type: import('vue').PropType<{
|
|
240
|
+
placeholder: string;
|
|
241
|
+
}>;
|
|
242
|
+
default: () => {
|
|
243
|
+
placeholder: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
}>> & {
|
|
247
|
+
"onBefore-show"?: (() => any) | undefined;
|
|
248
|
+
"onBefore-hide"?: (() => any) | undefined;
|
|
249
|
+
onShow?: (() => any) | undefined;
|
|
250
|
+
onHide?: (() => any) | undefined;
|
|
251
|
+
}, {}, {}, {}, {}, {
|
|
252
|
+
size: import('..').QFieldSize;
|
|
253
|
+
class: string | unknown[];
|
|
254
|
+
label: string;
|
|
255
|
+
icons: Record<string, import('..').Icon>;
|
|
256
|
+
groups: (import('..').QListItemGroupProps & {
|
|
257
|
+
id: string;
|
|
258
|
+
})[];
|
|
259
|
+
itemValue: string;
|
|
260
|
+
itemLabel: string;
|
|
261
|
+
id: string;
|
|
262
|
+
emptyValue: import('../../types/primitive').Primitive;
|
|
263
|
+
texts: {
|
|
264
|
+
placeholder: string;
|
|
265
|
+
};
|
|
266
|
+
}>;
|
|
267
|
+
__isFragment?: undefined;
|
|
268
|
+
__isTeleport?: undefined;
|
|
269
|
+
__isSuspense?: undefined;
|
|
270
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
271
|
+
modelValue: import('vue').PropType<any>;
|
|
272
|
+
size: {
|
|
273
|
+
type: import('vue').PropType<import('..').QFieldSize>;
|
|
274
|
+
default: undefined;
|
|
275
|
+
};
|
|
276
|
+
class: {
|
|
277
|
+
type: import('vue').PropType<string | unknown[]>;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
label: {
|
|
281
|
+
type: import('vue').PropType<string>;
|
|
282
|
+
default: string;
|
|
283
|
+
};
|
|
284
|
+
disabled: {
|
|
285
|
+
type: import('vue').PropType<boolean>;
|
|
286
|
+
};
|
|
287
|
+
loading: {
|
|
288
|
+
type: import('vue').PropType<boolean>;
|
|
289
|
+
};
|
|
290
|
+
required: {
|
|
291
|
+
type: import('vue').PropType<boolean>;
|
|
292
|
+
};
|
|
293
|
+
icons: {
|
|
294
|
+
type: import('vue').PropType<Record<string, import('..').Icon>>;
|
|
295
|
+
default: () => Record<string, import('..').Icon>;
|
|
296
|
+
};
|
|
297
|
+
items: {
|
|
298
|
+
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
299
|
+
[key: string]: any;
|
|
300
|
+
})[]>;
|
|
301
|
+
required: true;
|
|
302
|
+
};
|
|
303
|
+
groups: {
|
|
304
|
+
type: import('vue').PropType<(import('..').QListItemGroupProps & {
|
|
305
|
+
id: string;
|
|
306
|
+
})[]>;
|
|
307
|
+
default: () => never[];
|
|
308
|
+
};
|
|
309
|
+
itemValue: {
|
|
310
|
+
type: import('vue').PropType<string>;
|
|
311
|
+
default: string;
|
|
312
|
+
};
|
|
313
|
+
itemLabel: {
|
|
314
|
+
type: import('vue').PropType<string>;
|
|
315
|
+
default: string;
|
|
316
|
+
};
|
|
317
|
+
id: {
|
|
318
|
+
type: import('vue').PropType<string>;
|
|
319
|
+
default: undefined;
|
|
320
|
+
};
|
|
321
|
+
readonly: {
|
|
322
|
+
type: import('vue').PropType<boolean>;
|
|
323
|
+
};
|
|
324
|
+
clearable: {
|
|
325
|
+
type: import('vue').PropType<boolean>;
|
|
326
|
+
};
|
|
327
|
+
emptyValue: {
|
|
328
|
+
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
329
|
+
default: undefined;
|
|
330
|
+
};
|
|
331
|
+
texts: {
|
|
332
|
+
type: import('vue').PropType<{
|
|
333
|
+
placeholder: string;
|
|
334
|
+
}>;
|
|
335
|
+
default: () => {
|
|
336
|
+
placeholder: string;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
}>> & {
|
|
340
|
+
"onBefore-show"?: (() => any) | undefined;
|
|
341
|
+
"onBefore-hide"?: (() => any) | undefined;
|
|
342
|
+
onShow?: (() => any) | undefined;
|
|
343
|
+
onHide?: (() => any) | undefined;
|
|
344
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
345
|
+
"before-show": () => void;
|
|
346
|
+
"before-hide": () => void;
|
|
347
|
+
show: () => void;
|
|
348
|
+
hide: () => void;
|
|
349
|
+
}, string, {
|
|
350
|
+
size: import('..').QFieldSize;
|
|
351
|
+
class: string | unknown[];
|
|
352
|
+
label: string;
|
|
353
|
+
icons: Record<string, import('..').Icon>;
|
|
354
|
+
groups: (import('..').QListItemGroupProps & {
|
|
355
|
+
id: string;
|
|
356
|
+
})[];
|
|
357
|
+
itemValue: string;
|
|
358
|
+
itemLabel: string;
|
|
359
|
+
id: string;
|
|
360
|
+
emptyValue: import('../../types/primitive').Primitive;
|
|
361
|
+
texts: {
|
|
362
|
+
placeholder: string;
|
|
363
|
+
};
|
|
364
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
365
|
+
$slots: {
|
|
366
|
+
prepend?(_: {}): any;
|
|
367
|
+
append?(_: {}): any;
|
|
368
|
+
extras?(_: {}): any;
|
|
369
|
+
"body.prepend"?(_: {}): any;
|
|
370
|
+
item?(_: {
|
|
371
|
+
item: Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
372
|
+
[key: string]: any;
|
|
373
|
+
};
|
|
374
|
+
}): any;
|
|
375
|
+
"body.append"?(_: {}): any;
|
|
376
|
+
};
|
|
377
|
+
});
|
|
3
378
|
export { QSelect };
|
|
4
379
|
//# sourceMappingURL=index.d.ts.map
|