@quidgest/ui 0.15.7 → 0.15.9
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 +1 -0
- package/dist/ui.css +90 -1
- package/dist/ui.esm.js +4463 -4443
- package/dist/ui.js +18 -18
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +755 -754
- package/dist/ui.scss +31 -2
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +34 -32
- package/esm/components/QButton/types.d.ts +1 -1
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QButtonToggle/types.d.ts.map +1 -1
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +28 -28
- package/esm/components/QCheckbox/index.d.ts +18 -1
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/index.js +6 -4
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +78 -53
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +53 -53
- package/esm/components/QCombobox/index.d.ts +55 -59
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -9
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +3 -0
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +15 -10
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +90 -59
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +39 -38
- package/esm/components/QDropdownMenu/index.d.ts +7 -4
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +4 -21
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +44 -24
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +97 -93
- package/esm/components/QList/QListItem.d.ts +12 -6
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +51 -49
- package/esm/components/QList/index.d.ts +60 -31
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +3 -8
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QMeter/types.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts +3 -4
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +7 -7
- package/esm/components/QRadioGroup/index.d.ts +8 -8
- package/esm/components/QSelect/QSelect.d.ts +86 -61
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +45 -45
- package/esm/components/QSelect/index.d.ts +55 -59
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -9
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QTextArea/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +10 -10
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +8 -8
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/components/index.js +63 -62
- package/esm/composables/defaults.js +4 -4
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/theme.js +5 -5
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +27 -25
- package/esm/composables/useColor/types.d.ts +9 -1
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/framework.d.ts +1 -1
- package/esm/framework.d.ts.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/templates/theme.d.ts.map +1 -1
- package/esm/utils/color.d.ts +6 -0
- package/esm/utils/color.d.ts.map +1 -1
- package/esm/utils/color.js +16 -12
- package/esm/utils/theme.d.ts +1 -1
- package/esm/utils/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as ie, mergeModels as H, useModel as
|
|
1
|
+
import { defineComponent as ie, mergeModels as H, useModel as T, ref as g, onMounted as ue, computed as m, watch as k, nextTick as I, createElementBlock as A, openBlock as b, Fragment as se, createVNode as B, unref as v, mergeProps as de, withModifiers as K, createSlots as re, withCtx as r, renderSlot as f, createBlock as _, createCommentVNode as j, createElementVNode as fe, toDisplayString as ce } from "vue";
|
|
2
2
|
import { DEFAULT_ICONS as me, DEFAULT_TEXTS as ve } from "./types.js";
|
|
3
3
|
import { QButton as pe } from "../QButton/index.js";
|
|
4
4
|
import { QList as be } from "../QList/index.js";
|
|
5
|
-
import { QOverlay as
|
|
6
|
-
import { QSpinnerLoader as
|
|
5
|
+
import { QOverlay as he } from "../QOverlay/index.js";
|
|
6
|
+
import { QSpinnerLoader as ye } from "../QSpinnerLoader/index.js";
|
|
7
7
|
import { QTextField as ge } from "../QTextField/index.js";
|
|
8
8
|
import { QChevron as ke } from "../__internal__/QChevron/index.js";
|
|
9
9
|
import { QClearButton as Ie } from "../__internal__/QClearButton/index.js";
|
|
10
|
-
const
|
|
10
|
+
const we = ["data-key"], xe = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "q-select__loader"
|
|
13
13
|
}, Ve = {
|
|
14
14
|
key: 2,
|
|
15
15
|
class: "q-select__loader"
|
|
16
|
-
},
|
|
16
|
+
}, Te = /* @__PURE__ */ ie({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "QCombobox",
|
|
19
19
|
props: /* @__PURE__ */ H({
|
|
@@ -37,10 +37,10 @@ const xe = ["data-key"], we = {
|
|
|
37
37
|
selectionMode: { default: "automatic" },
|
|
38
38
|
filterMode: { default: "builtin" },
|
|
39
39
|
loading: { type: Boolean },
|
|
40
|
-
emptyValue: {
|
|
40
|
+
emptyValue: {},
|
|
41
41
|
icons: { default: () => me }
|
|
42
42
|
}, {
|
|
43
|
-
modelValue: {
|
|
43
|
+
modelValue: {},
|
|
44
44
|
modelModifiers: {},
|
|
45
45
|
open: { type: Boolean },
|
|
46
46
|
openModifiers: {},
|
|
@@ -48,18 +48,18 @@ const xe = ["data-key"], we = {
|
|
|
48
48
|
searchModifiers: {}
|
|
49
49
|
}),
|
|
50
50
|
emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
|
|
51
|
-
setup(
|
|
52
|
-
const l =
|
|
53
|
-
ue(
|
|
51
|
+
setup(w, { expose: W, emit: X }) {
|
|
52
|
+
const l = w, x = X, d = T(w, "modelValue"), i = T(w, "open"), u = T(w, "search"), o = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
|
|
53
|
+
ue(y);
|
|
54
54
|
const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
|
|
55
55
|
var e;
|
|
56
56
|
return l.filterMode === "manual" || !J.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
|
|
57
57
|
(t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
|
|
58
58
|
)) ?? [];
|
|
59
|
-
}),
|
|
59
|
+
}), h = m(() => {
|
|
60
60
|
var e;
|
|
61
61
|
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
|
|
62
|
-
}),
|
|
62
|
+
}), Q = m(() => h.value === void 0), C = m(() => {
|
|
63
63
|
const e = o.value;
|
|
64
64
|
if (e !== void 0 && p.value[e])
|
|
65
65
|
return p.value[e];
|
|
@@ -71,21 +71,21 @@ const xe = ["data-key"], we = {
|
|
|
71
71
|
return e == null ? void 0 : e.id;
|
|
72
72
|
}), J = m(() => {
|
|
73
73
|
var e;
|
|
74
|
-
return u.value.length > 0 && u.value !== ((e =
|
|
74
|
+
return u.value.length > 0 && u.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
|
|
75
75
|
});
|
|
76
|
-
function
|
|
76
|
+
function S(e) {
|
|
77
77
|
d.value = e, F();
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function y() {
|
|
80
80
|
var t;
|
|
81
|
-
const e = ((t =
|
|
81
|
+
const e = ((t = h.value) == null ? void 0 : t[l.itemLabel]) || "";
|
|
82
82
|
u.value !== e && (u.value = e);
|
|
83
83
|
}
|
|
84
84
|
function D() {
|
|
85
|
-
i.value || l.readonly || l.disabled || (
|
|
85
|
+
i.value || l.readonly || l.disabled || (x("before-show"), i.value = !0, E());
|
|
86
86
|
}
|
|
87
87
|
function F() {
|
|
88
|
-
i.value && (
|
|
88
|
+
i.value && (x("before-hide"), i.value = !1, o.value = void 0);
|
|
89
89
|
}
|
|
90
90
|
function Y() {
|
|
91
91
|
i.value ? F() : U();
|
|
@@ -94,16 +94,16 @@ const xe = ["data-key"], we = {
|
|
|
94
94
|
q.value && (d.value = l.emptyValue, o.value = void 0, E());
|
|
95
95
|
}
|
|
96
96
|
function U() {
|
|
97
|
-
if (D(),
|
|
98
|
-
const e = p.value.indexOf(
|
|
99
|
-
e !== -1 && I(() =>
|
|
97
|
+
if (D(), h.value !== void 0) {
|
|
98
|
+
const e = p.value.indexOf(h.value);
|
|
99
|
+
e !== -1 && I(() => z(e));
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function ee(e) {
|
|
103
103
|
var t, a;
|
|
104
104
|
if (!(!e.key || l.readonly || l.disabled))
|
|
105
105
|
if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
|
|
106
|
-
|
|
106
|
+
y(), i.value && F();
|
|
107
107
|
else if (["ArrowDown", "ArrowUp"].includes(e.key))
|
|
108
108
|
i.value ? I(() => {
|
|
109
109
|
if (o.value === void 0)
|
|
@@ -117,12 +117,12 @@ const xe = ["data-key"], we = {
|
|
|
117
117
|
}));
|
|
118
118
|
else if (e.key === "Enter") {
|
|
119
119
|
if (C.value === void 0) return;
|
|
120
|
-
|
|
120
|
+
S(C.value[l.itemValue]);
|
|
121
121
|
} else e.key === "Home" ? o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && D();
|
|
122
122
|
}
|
|
123
123
|
function $() {
|
|
124
124
|
var e, t;
|
|
125
|
-
if (
|
|
125
|
+
if (Q.value)
|
|
126
126
|
o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
|
|
127
127
|
else {
|
|
128
128
|
const a = p.value.findIndex(
|
|
@@ -139,14 +139,14 @@ const xe = ["data-key"], we = {
|
|
|
139
139
|
var a;
|
|
140
140
|
o.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, t);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
var
|
|
144
|
-
const t = ((
|
|
142
|
+
function O(e) {
|
|
143
|
+
var M, N, P, R;
|
|
144
|
+
const t = ((M = V == null ? void 0 : V.value) == null ? void 0 : M.$el) === e.relatedTarget, a = (P = (N = c == null ? void 0 : c.value) == null ? void 0 : N.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = L == null ? void 0 : L.value) == null ? void 0 : R.contains(e.relatedTarget);
|
|
145
145
|
if (t || n || a) {
|
|
146
146
|
e.preventDefault(), e.stopPropagation();
|
|
147
147
|
return;
|
|
148
148
|
}
|
|
149
|
-
F(), q.value && !u.value && (d.value = l.emptyValue),
|
|
149
|
+
F(), q.value && !u.value && (d.value = l.emptyValue), y();
|
|
150
150
|
}
|
|
151
151
|
function E() {
|
|
152
152
|
var e, t;
|
|
@@ -156,27 +156,27 @@ const xe = ["data-key"], we = {
|
|
|
156
156
|
E();
|
|
157
157
|
}
|
|
158
158
|
function oe() {
|
|
159
|
-
|
|
159
|
+
x("show");
|
|
160
160
|
}
|
|
161
161
|
function ne() {
|
|
162
|
-
|
|
162
|
+
x("hide");
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function z(e) {
|
|
165
165
|
var a;
|
|
166
166
|
const t = (a = s.value) == null ? void 0 : a.getItem(e);
|
|
167
167
|
s.value && (s.value.$el.scrollTop = t == null ? void 0 : t.offsetTop);
|
|
168
168
|
}
|
|
169
|
-
return k(d,
|
|
169
|
+
return k(d, y), k(
|
|
170
170
|
() => l.items,
|
|
171
171
|
(e, t) => {
|
|
172
|
-
if (!
|
|
172
|
+
if (!Q.value) {
|
|
173
173
|
const a = t == null ? void 0 : t.find((n) => n[l.itemValue] === d.value);
|
|
174
|
-
u.value === (a == null ? void 0 : a[l.itemLabel]) &&
|
|
174
|
+
u.value === (a == null ? void 0 : a[l.itemLabel]) && y();
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
{ deep: !0 }
|
|
178
178
|
), k(o, (e) => {
|
|
179
|
-
e !== void 0 &&
|
|
179
|
+
e !== void 0 && z(e);
|
|
180
180
|
}), k(u, (e) => {
|
|
181
181
|
e && i.value && l.selectionMode === "automatic" && I($);
|
|
182
182
|
}), k(
|
|
@@ -188,11 +188,11 @@ const xe = ["data-key"], we = {
|
|
|
188
188
|
triggerEl: c
|
|
189
189
|
}), (e, t) => {
|
|
190
190
|
var a;
|
|
191
|
-
return b(),
|
|
191
|
+
return b(), A(
|
|
192
192
|
se,
|
|
193
193
|
null,
|
|
194
194
|
[
|
|
195
|
-
|
|
195
|
+
B(v(ge), de({
|
|
196
196
|
id: l.id,
|
|
197
197
|
ref_key: "triggerEl",
|
|
198
198
|
ref: c,
|
|
@@ -221,7 +221,7 @@ const xe = ["data-key"], we = {
|
|
|
221
221
|
size: l.size
|
|
222
222
|
}, e.$attrs, {
|
|
223
223
|
onClick: U,
|
|
224
|
-
onFocusout:
|
|
224
|
+
onFocusout: O,
|
|
225
225
|
onKeydown: K(ee, ["stop"])
|
|
226
226
|
}), re({
|
|
227
227
|
"label.prepend": r(() => [
|
|
@@ -232,19 +232,19 @@ const xe = ["data-key"], we = {
|
|
|
232
232
|
]),
|
|
233
233
|
append: r(() => [
|
|
234
234
|
f(e.$slots, "append"),
|
|
235
|
-
q.value && u.value ? (b(),
|
|
235
|
+
q.value && u.value ? (b(), _(v(Ie), {
|
|
236
236
|
key: 0,
|
|
237
237
|
icons: l.icons,
|
|
238
238
|
texts: l.texts,
|
|
239
239
|
onClick: Z
|
|
240
240
|
}, null, 8, ["icons", "texts"])) : j("v-if", !0),
|
|
241
|
-
l.readonly ? j("v-if", !0) : (b(),
|
|
241
|
+
l.readonly ? j("v-if", !0) : (b(), _(v(pe), {
|
|
242
242
|
key: 1,
|
|
243
243
|
ref_key: "toggleRef",
|
|
244
244
|
ref: V,
|
|
245
245
|
class: "q-combobox__chevron",
|
|
246
246
|
"aria-label": l.texts.showOptions,
|
|
247
|
-
variant: "
|
|
247
|
+
variant: "ghost",
|
|
248
248
|
color: "neutral",
|
|
249
249
|
borderless: "",
|
|
250
250
|
tabindex: "-1",
|
|
@@ -252,7 +252,7 @@ const xe = ["data-key"], we = {
|
|
|
252
252
|
onMousedown: K(Y, ["stop", "prevent"])
|
|
253
253
|
}, {
|
|
254
254
|
default: r(() => [
|
|
255
|
-
|
|
255
|
+
B(v(ke), {
|
|
256
256
|
"model-value": i.value,
|
|
257
257
|
icons: l.icons
|
|
258
258
|
}, null, 8, ["model-value", "icons"])
|
|
@@ -279,7 +279,7 @@ const xe = ["data-key"], we = {
|
|
|
279
279
|
key: "1"
|
|
280
280
|
} : void 0
|
|
281
281
|
]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
|
|
282
|
-
|
|
282
|
+
B(v(he), {
|
|
283
283
|
modelValue: i.value,
|
|
284
284
|
"onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
|
|
285
285
|
spy: "",
|
|
@@ -301,12 +301,12 @@ const xe = ["data-key"], we = {
|
|
|
301
301
|
class: "q-select__body",
|
|
302
302
|
"data-testid": "combobox-dropdown",
|
|
303
303
|
"data-key": l.id,
|
|
304
|
-
onFocusout:
|
|
304
|
+
onFocusout: O
|
|
305
305
|
}, [
|
|
306
306
|
f(e.$slots, "body.prepend"),
|
|
307
|
-
l.loading ? (b(),
|
|
308
|
-
|
|
309
|
-
])) : p.value.length ? (b(),
|
|
307
|
+
l.loading ? (b(), A("div", xe, [
|
|
308
|
+
B(v(ye), { size: 24 })
|
|
309
|
+
])) : p.value.length ? (b(), _(v(be), {
|
|
310
310
|
key: 1,
|
|
311
311
|
ref_key: "listRef",
|
|
312
312
|
ref: s,
|
|
@@ -319,14 +319,14 @@ const xe = ["data-key"], we = {
|
|
|
319
319
|
"item-label": l.itemLabel,
|
|
320
320
|
"item-value": l.itemValue,
|
|
321
321
|
onMouseup: ae,
|
|
322
|
-
"onUpdate:modelValue":
|
|
322
|
+
"onUpdate:modelValue": S
|
|
323
323
|
}, {
|
|
324
|
-
item: r(({ item:
|
|
325
|
-
f(e.$slots, "item", { item:
|
|
324
|
+
item: r(({ item: M }) => [
|
|
325
|
+
f(e.$slots, "item", { item: M })
|
|
326
326
|
]),
|
|
327
327
|
_: 3
|
|
328
328
|
/* FORWARDED */
|
|
329
|
-
}, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (b(),
|
|
329
|
+
}, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (b(), A(
|
|
330
330
|
"div",
|
|
331
331
|
Ve,
|
|
332
332
|
ce(l.texts.noData),
|
|
@@ -334,7 +334,7 @@ const xe = ["data-key"], we = {
|
|
|
334
334
|
/* TEXT */
|
|
335
335
|
)),
|
|
336
336
|
f(e.$slots, "body.append")
|
|
337
|
-
], 40,
|
|
337
|
+
], 40, we)
|
|
338
338
|
];
|
|
339
339
|
}),
|
|
340
340
|
_: 3
|
|
@@ -348,5 +348,5 @@ const xe = ["data-key"], we = {
|
|
|
348
348
|
}
|
|
349
349
|
});
|
|
350
350
|
export {
|
|
351
|
-
|
|
351
|
+
Te as default
|
|
352
352
|
};
|
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
declare const QCombobox: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
-
modelValue?:
|
|
3
|
+
modelValue?: any;
|
|
4
4
|
open?: boolean;
|
|
5
5
|
search?: string;
|
|
6
6
|
} & Omit<import('..').QTextFieldProps, "type"> & {
|
|
7
|
-
items?:
|
|
8
|
-
|
|
9
|
-
})[];
|
|
10
|
-
groups?: (import('..').QListItemGroupProps & {
|
|
11
|
-
id: string;
|
|
12
|
-
})[];
|
|
7
|
+
items?: import('../QList/types').Item[];
|
|
8
|
+
groups?: import('../QList/types').Group[];
|
|
13
9
|
itemValue?: string;
|
|
14
10
|
itemLabel?: string;
|
|
15
11
|
selectionMode?: "manual" | "automatic";
|
|
16
12
|
filterMode?: "builtin" | "manual";
|
|
17
13
|
loading?: boolean;
|
|
18
|
-
emptyValue?:
|
|
14
|
+
emptyValue?: any;
|
|
19
15
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
20
16
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
21
17
|
}> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: ((value:
|
|
18
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
23
19
|
"onBefore-show"?: (() => any) | undefined;
|
|
24
20
|
"onBefore-hide"?: (() => any) | undefined;
|
|
25
21
|
onShow?: (() => any) | undefined;
|
|
@@ -411,7 +407,7 @@ declare const QCombobox: {
|
|
|
411
407
|
};
|
|
412
408
|
}) | null>;
|
|
413
409
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
414
|
-
"update:modelValue": (value:
|
|
410
|
+
"update:modelValue": (value: any) => any;
|
|
415
411
|
"update:open": (value: boolean) => any;
|
|
416
412
|
"update:search": (value: string) => any;
|
|
417
413
|
} & {
|
|
@@ -428,9 +424,7 @@ declare const QCombobox: {
|
|
|
428
424
|
showOptions: string;
|
|
429
425
|
clearValue: string;
|
|
430
426
|
};
|
|
431
|
-
groups:
|
|
432
|
-
id: string;
|
|
433
|
-
})[];
|
|
427
|
+
groups: import('../QList/types').Group[];
|
|
434
428
|
itemValue: string;
|
|
435
429
|
itemLabel: string;
|
|
436
430
|
selectionMode: "manual" | "automatic";
|
|
@@ -708,17 +702,18 @@ declare const QCombobox: {
|
|
|
708
702
|
$: import('vue').ComponentInternalInstance;
|
|
709
703
|
$data: {};
|
|
710
704
|
$props: {
|
|
711
|
-
readonly modelValue?:
|
|
705
|
+
readonly modelValue?: any;
|
|
712
706
|
readonly id?: string | undefined;
|
|
713
707
|
readonly class?: string | unknown[] | undefined;
|
|
714
|
-
readonly highlighted?:
|
|
708
|
+
readonly highlighted?: any;
|
|
715
709
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
716
710
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
717
711
|
readonly itemValue?: string | undefined;
|
|
718
712
|
readonly itemLabel?: string | undefined;
|
|
719
713
|
readonly disabled?: boolean | undefined;
|
|
720
714
|
readonly selectable?: boolean | undefined;
|
|
721
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
715
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
716
|
+
readonly onClick?: ((key: any) => any) | undefined;
|
|
722
717
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
723
718
|
$attrs: {
|
|
724
719
|
[x: string]: unknown;
|
|
@@ -731,16 +726,17 @@ declare const QCombobox: {
|
|
|
731
726
|
$: import('vue').ComponentInternalInstance;
|
|
732
727
|
$data: {};
|
|
733
728
|
$props: {
|
|
734
|
-
readonly
|
|
729
|
+
readonly modelValue?: boolean | undefined;
|
|
730
|
+
readonly value: any;
|
|
735
731
|
readonly label: string;
|
|
736
732
|
readonly icon?: import('..').Icon | undefined;
|
|
737
733
|
readonly selectable?: boolean | undefined;
|
|
738
|
-
readonly selected?: boolean | undefined;
|
|
739
734
|
readonly highlighted?: boolean | undefined;
|
|
740
735
|
readonly disabled?: boolean | undefined;
|
|
741
736
|
readonly description?: string | undefined;
|
|
742
737
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
743
|
-
readonly
|
|
738
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
739
|
+
readonly onClick?: (() => any) | undefined;
|
|
744
740
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
745
741
|
$attrs: {
|
|
746
742
|
[x: string]: unknown;
|
|
@@ -754,12 +750,17 @@ declare const QCombobox: {
|
|
|
754
750
|
$root: import('vue').ComponentPublicInstance | null;
|
|
755
751
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
756
752
|
$host: Element | null;
|
|
757
|
-
$emit: (event: "
|
|
753
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
758
754
|
$el: HTMLLIElement;
|
|
759
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
760
|
-
|
|
761
|
-
}
|
|
762
|
-
|
|
755
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
756
|
+
modelValue?: boolean;
|
|
757
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
758
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
759
|
+
onClick?: (() => any) | undefined;
|
|
760
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
761
|
+
"update:modelValue": (value: boolean) => any;
|
|
762
|
+
} & {
|
|
763
|
+
click: () => any;
|
|
763
764
|
}, string, {
|
|
764
765
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
765
766
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -784,8 +785,11 @@ declare const QCombobox: {
|
|
|
784
785
|
$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;
|
|
785
786
|
} & Readonly<{
|
|
786
787
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
787
|
-
}> & Omit<Readonly<
|
|
788
|
-
|
|
788
|
+
}> & Omit<Readonly<{
|
|
789
|
+
modelValue?: boolean;
|
|
790
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
791
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
792
|
+
onClick?: (() => any) | undefined;
|
|
789
793
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
790
794
|
$slots: {
|
|
791
795
|
prepend?(_: {}): any;
|
|
@@ -800,12 +804,12 @@ declare const QCombobox: {
|
|
|
800
804
|
$root: import('vue').ComponentPublicInstance | null;
|
|
801
805
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
802
806
|
$host: Element | null;
|
|
803
|
-
$emit: (event: "update:modelValue", value:
|
|
807
|
+
$emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
|
|
804
808
|
$el: any;
|
|
805
809
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
806
|
-
modelValue?:
|
|
810
|
+
modelValue?: any;
|
|
807
811
|
} & import('../../types/component').QBaseComponentProps & {
|
|
808
|
-
highlighted?:
|
|
812
|
+
highlighted?: any;
|
|
809
813
|
items?: import('../QList/types').Item[];
|
|
810
814
|
groups?: import('../QList/types').Group[];
|
|
811
815
|
itemValue?: string;
|
|
@@ -813,14 +817,17 @@ declare const QCombobox: {
|
|
|
813
817
|
disabled?: boolean;
|
|
814
818
|
selectable?: boolean;
|
|
815
819
|
}> & Readonly<{
|
|
816
|
-
"onUpdate:modelValue"?: ((value:
|
|
820
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
821
|
+
onClick?: ((key: any) => any) | undefined;
|
|
817
822
|
}>, {
|
|
818
823
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
819
824
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
820
825
|
getFirstFocusableItemIndex: () => number;
|
|
821
826
|
getLastFocusableItemIndex: () => number;
|
|
822
827
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
823
|
-
"update:modelValue": (value:
|
|
828
|
+
"update:modelValue": (value: any) => any;
|
|
829
|
+
} & {
|
|
830
|
+
click: (key: any) => any;
|
|
824
831
|
}, string, {
|
|
825
832
|
groups: import('../QList/types').Group[];
|
|
826
833
|
itemValue: string;
|
|
@@ -850,9 +857,9 @@ declare const QCombobox: {
|
|
|
850
857
|
itemValue: string;
|
|
851
858
|
itemLabel: string;
|
|
852
859
|
}> & Omit<Readonly<{
|
|
853
|
-
modelValue?:
|
|
860
|
+
modelValue?: any;
|
|
854
861
|
} & import('../../types/component').QBaseComponentProps & {
|
|
855
|
-
highlighted?:
|
|
862
|
+
highlighted?: any;
|
|
856
863
|
items?: import('../QList/types').Item[];
|
|
857
864
|
groups?: import('../QList/types').Group[];
|
|
858
865
|
itemValue?: string;
|
|
@@ -860,7 +867,8 @@ declare const QCombobox: {
|
|
|
860
867
|
disabled?: boolean;
|
|
861
868
|
selectable?: boolean;
|
|
862
869
|
}> & Readonly<{
|
|
863
|
-
"onUpdate:modelValue"?: ((value:
|
|
870
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
871
|
+
onClick?: ((key: any) => any) | undefined;
|
|
864
872
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
865
873
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
866
874
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -886,26 +894,22 @@ declare const QCombobox: {
|
|
|
886
894
|
M: {};
|
|
887
895
|
Defaults: {};
|
|
888
896
|
}, Readonly<{
|
|
889
|
-
modelValue?:
|
|
897
|
+
modelValue?: any;
|
|
890
898
|
open?: boolean;
|
|
891
899
|
search?: string;
|
|
892
900
|
} & Omit<import('..').QTextFieldProps, "type"> & {
|
|
893
|
-
items?:
|
|
894
|
-
|
|
895
|
-
})[];
|
|
896
|
-
groups?: (import('..').QListItemGroupProps & {
|
|
897
|
-
id: string;
|
|
898
|
-
})[];
|
|
901
|
+
items?: import('../QList/types').Item[];
|
|
902
|
+
groups?: import('../QList/types').Group[];
|
|
899
903
|
itemValue?: string;
|
|
900
904
|
itemLabel?: string;
|
|
901
905
|
selectionMode?: "manual" | "automatic";
|
|
902
906
|
filterMode?: "builtin" | "manual";
|
|
903
907
|
loading?: boolean;
|
|
904
|
-
emptyValue?:
|
|
908
|
+
emptyValue?: any;
|
|
905
909
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
906
910
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
907
911
|
}> & Readonly<{
|
|
908
|
-
"onUpdate:modelValue"?: ((value:
|
|
912
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
909
913
|
"onBefore-show"?: (() => any) | undefined;
|
|
910
914
|
"onBefore-hide"?: (() => any) | undefined;
|
|
911
915
|
onShow?: (() => any) | undefined;
|
|
@@ -1305,9 +1309,7 @@ declare const QCombobox: {
|
|
|
1305
1309
|
showOptions: string;
|
|
1306
1310
|
clearValue: string;
|
|
1307
1311
|
};
|
|
1308
|
-
groups:
|
|
1309
|
-
id: string;
|
|
1310
|
-
})[];
|
|
1312
|
+
groups: import('../QList/types').Group[];
|
|
1311
1313
|
itemValue: string;
|
|
1312
1314
|
itemLabel: string;
|
|
1313
1315
|
selectionMode: "manual" | "automatic";
|
|
@@ -1317,26 +1319,22 @@ declare const QCombobox: {
|
|
|
1317
1319
|
__isTeleport?: never;
|
|
1318
1320
|
__isSuspense?: never;
|
|
1319
1321
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1320
|
-
modelValue?:
|
|
1322
|
+
modelValue?: any;
|
|
1321
1323
|
open?: boolean;
|
|
1322
1324
|
search?: string;
|
|
1323
1325
|
} & Omit<import('..').QTextFieldProps, "type"> & {
|
|
1324
|
-
items?:
|
|
1325
|
-
|
|
1326
|
-
})[];
|
|
1327
|
-
groups?: (import('..').QListItemGroupProps & {
|
|
1328
|
-
id: string;
|
|
1329
|
-
})[];
|
|
1326
|
+
items?: import('../QList/types').Item[];
|
|
1327
|
+
groups?: import('../QList/types').Group[];
|
|
1330
1328
|
itemValue?: string;
|
|
1331
1329
|
itemLabel?: string;
|
|
1332
1330
|
selectionMode?: "manual" | "automatic";
|
|
1333
1331
|
filterMode?: "builtin" | "manual";
|
|
1334
1332
|
loading?: boolean;
|
|
1335
|
-
emptyValue?:
|
|
1333
|
+
emptyValue?: any;
|
|
1336
1334
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
1337
1335
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
1338
1336
|
}> & Readonly<{
|
|
1339
|
-
"onUpdate:modelValue"?: ((value:
|
|
1337
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1340
1338
|
"onBefore-show"?: (() => any) | undefined;
|
|
1341
1339
|
"onBefore-hide"?: (() => any) | undefined;
|
|
1342
1340
|
onShow?: (() => any) | undefined;
|
|
@@ -1728,7 +1726,7 @@ declare const QCombobox: {
|
|
|
1728
1726
|
};
|
|
1729
1727
|
}) | null>;
|
|
1730
1728
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1731
|
-
"update:modelValue": (value:
|
|
1729
|
+
"update:modelValue": (value: any) => any;
|
|
1732
1730
|
"update:open": (value: boolean) => any;
|
|
1733
1731
|
"update:search": (value: string) => any;
|
|
1734
1732
|
} & {
|
|
@@ -1745,9 +1743,7 @@ declare const QCombobox: {
|
|
|
1745
1743
|
showOptions: string;
|
|
1746
1744
|
clearValue: string;
|
|
1747
1745
|
};
|
|
1748
|
-
groups:
|
|
1749
|
-
id: string;
|
|
1750
|
-
})[];
|
|
1746
|
+
groups: import('../QList/types').Group[];
|
|
1751
1747
|
itemValue: string;
|
|
1752
1748
|
itemLabel: string;
|
|
1753
1749
|
selectionMode: "manual" | "automatic";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Primitive } from '../../types/primitive';
|
|
1
|
+
import { Group, Item } from '../QList/types';
|
|
3
2
|
import { QTextFieldProps } from '../QTextField/types';
|
|
4
3
|
export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The list of available items for selection.
|
|
7
6
|
*/
|
|
8
|
-
items?:
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
})[];
|
|
7
|
+
items?: Item[];
|
|
11
8
|
/**
|
|
12
9
|
* The item groups used for organizing the available items.
|
|
13
10
|
*/
|
|
14
|
-
groups?:
|
|
15
|
-
id: string;
|
|
16
|
-
})[];
|
|
11
|
+
groups?: Group[];
|
|
17
12
|
/**
|
|
18
13
|
* Property on each item that contains its value.
|
|
19
14
|
*/
|
|
@@ -38,7 +33,7 @@ export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
|
|
|
38
33
|
* The value to be used in comparisons,
|
|
39
34
|
* used to check if the field has a selected item.
|
|
40
35
|
*/
|
|
41
|
-
emptyValue?:
|
|
36
|
+
emptyValue?: any;
|
|
42
37
|
/**
|
|
43
38
|
* Custom icon configurations.
|
|
44
39
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA;AAGhC,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,IAAI,IAAI,CAAA;KAAE,CAAA;IAErB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;CACnB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,YAAY,CAW/C,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,IAE1B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|