@quidgest/ui 0.13.1 → 0.13.3
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 +4 -0
- package/dist/ui.esm.js +535 -524
- package/dist/ui.js +7 -7
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +46 -46
- package/dist/ui.scss +4 -1
- package/esm/components/QBadge/QBadge.d.ts +12 -6
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +6 -6
- package/esm/components/QBadge/index.d.ts +37 -15
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +22 -39
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +29 -29
- package/esm/components/QCombobox/index.d.ts +48 -56
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +21 -3
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +117 -98
- package/esm/components/QDialog/index.d.ts +41 -7
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +10 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +23 -22
- package/esm/components/QList/QListItem.d.ts +14 -8
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +17 -17
- package/esm/components/QList/index.d.ts +49 -15
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +13 -0
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +2 -0
- package/esm/components/QOverlay/index.d.ts +19 -0
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +25 -24
- package/esm/components/QSelect/QSelect.d.ts +22 -39
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +6 -6
- package/esm/components/QSelect/index.d.ts +48 -56
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -75,25 +75,21 @@ export type QComboboxProps = {
|
|
|
75
75
|
* The size category of the field.
|
|
76
76
|
*/
|
|
77
77
|
size?: QFieldSize;
|
|
78
|
-
/**
|
|
79
|
-
* Necessary strings to be used in labels and buttons of the component.
|
|
80
|
-
*/
|
|
81
|
-
texts?: Texts;
|
|
82
|
-
/**
|
|
83
|
-
* The icons of the component.
|
|
84
|
-
*/
|
|
85
|
-
icons?: Icons;
|
|
86
78
|
/**
|
|
87
79
|
* Custom set of classes to apply to the component.
|
|
88
80
|
*/
|
|
89
81
|
class?: string | unknown[];
|
|
82
|
+
/**
|
|
83
|
+
* The internal elements of the component
|
|
84
|
+
*/
|
|
85
|
+
internals?: Internals;
|
|
90
86
|
};
|
|
91
|
-
declare const DEFAULT_TEXTS:
|
|
92
|
-
noData: string;
|
|
93
|
-
};
|
|
87
|
+
declare const DEFAULT_TEXTS: Record<string, string>;
|
|
94
88
|
declare const DEFAULT_ICONS: Record<string, Icon>;
|
|
95
|
-
type
|
|
96
|
-
|
|
89
|
+
type Internals = {
|
|
90
|
+
icons: typeof DEFAULT_ICONS;
|
|
91
|
+
texts: typeof DEFAULT_TEXTS;
|
|
92
|
+
};
|
|
97
93
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
98
94
|
modelValue: import('vue').PropType<any>;
|
|
99
95
|
open: import('vue').PropType<boolean>;
|
|
@@ -119,9 +115,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
119
115
|
required: {
|
|
120
116
|
type: import('vue').PropType<boolean>;
|
|
121
117
|
};
|
|
122
|
-
|
|
123
|
-
type: import('vue').PropType<
|
|
124
|
-
default: () =>
|
|
118
|
+
internals: {
|
|
119
|
+
type: import('vue').PropType<Internals>;
|
|
120
|
+
default: () => {
|
|
121
|
+
icons: Record<string, Icon>;
|
|
122
|
+
texts: Record<string, string>;
|
|
123
|
+
};
|
|
125
124
|
};
|
|
126
125
|
items: {
|
|
127
126
|
type: import('vue').PropType<(Omit<QListItemProps, "label" | "value"> & {
|
|
@@ -169,14 +168,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
169
168
|
type: import('vue').PropType<Primitive>;
|
|
170
169
|
default: undefined;
|
|
171
170
|
};
|
|
172
|
-
texts: {
|
|
173
|
-
type: import('vue').PropType<{
|
|
174
|
-
noData: string;
|
|
175
|
-
}>;
|
|
176
|
-
default: () => {
|
|
177
|
-
noData: string;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
171
|
}, {
|
|
181
172
|
triggerEl: import('vue').Ref<({
|
|
182
173
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -420,9 +411,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
420
411
|
required: {
|
|
421
412
|
type: import('vue').PropType<boolean>;
|
|
422
413
|
};
|
|
423
|
-
|
|
424
|
-
type: import('vue').PropType<
|
|
425
|
-
default: () =>
|
|
414
|
+
internals: {
|
|
415
|
+
type: import('vue').PropType<Internals>;
|
|
416
|
+
default: () => {
|
|
417
|
+
icons: Record<string, Icon>;
|
|
418
|
+
texts: Record<string, string>;
|
|
419
|
+
};
|
|
426
420
|
};
|
|
427
421
|
items: {
|
|
428
422
|
type: import('vue').PropType<(Omit<QListItemProps, "label" | "value"> & {
|
|
@@ -470,14 +464,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
470
464
|
type: import('vue').PropType<Primitive>;
|
|
471
465
|
default: undefined;
|
|
472
466
|
};
|
|
473
|
-
texts: {
|
|
474
|
-
type: import('vue').PropType<{
|
|
475
|
-
noData: string;
|
|
476
|
-
}>;
|
|
477
|
-
default: () => {
|
|
478
|
-
noData: string;
|
|
479
|
-
};
|
|
480
|
-
};
|
|
481
467
|
}>> & {
|
|
482
468
|
"onBefore-show"?: (() => any) | undefined;
|
|
483
469
|
"onBefore-hide"?: (() => any) | undefined;
|
|
@@ -487,7 +473,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
487
473
|
size: QFieldSize;
|
|
488
474
|
class: string | unknown[];
|
|
489
475
|
label: string;
|
|
490
|
-
|
|
476
|
+
internals: Internals;
|
|
491
477
|
groups: (QListItemGroupProps & {
|
|
492
478
|
id: string;
|
|
493
479
|
})[];
|
|
@@ -498,9 +484,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
498
484
|
selectionMode: "manual" | "automatic";
|
|
499
485
|
filterMode: "manual" | "builtin";
|
|
500
486
|
emptyValue: Primitive;
|
|
501
|
-
texts: {
|
|
502
|
-
noData: string;
|
|
503
|
-
};
|
|
504
487
|
}, {}>, {
|
|
505
488
|
"label.prepend"?(_: {}): any;
|
|
506
489
|
"label.append"?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA0HA;AAWC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAIlD,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAE/D,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,EAAE,CAAC,EAA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: { type: [String, Number, Boolean, Symbol], default: void 0 },
|
|
41
41
|
size: { default: void 0 },
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class: { default: void 0 }
|
|
42
|
+
class: { default: void 0 },
|
|
43
|
+
internals: { default: () => ({ icons: Le, texts: Ve }) }
|
|
45
44
|
}, {
|
|
46
45
|
modelValue: {
|
|
47
46
|
type: [String, Number, Boolean, Symbol]
|
|
@@ -54,12 +53,12 @@ const ke = ["data-key"], we = {
|
|
|
54
53
|
}),
|
|
55
54
|
emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
|
|
56
55
|
setup(V, { expose: Y, emit: Z }) {
|
|
57
|
-
const l = V, L = Z, d = T(V, "modelValue"), i = T(V, "open"),
|
|
56
|
+
const l = V, L = Z, d = T(V, "modelValue"), i = T(V, "open"), s = T(V, "search"), t = I(void 0), f = I(null), u = I(null), F = I(null), $ = I(null);
|
|
58
57
|
ce(g);
|
|
59
58
|
const B = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
|
|
60
59
|
var e;
|
|
61
60
|
return l.filterMode === "manual" || !le.value ? l.items : (e = l.items) == null ? void 0 : e.filter(
|
|
62
|
-
(o) => o[l.itemLabel].toLowerCase().startsWith(
|
|
61
|
+
(o) => o[l.itemLabel].toLowerCase().startsWith(s.value.toLowerCase())
|
|
63
62
|
);
|
|
64
63
|
}), h = m(() => {
|
|
65
64
|
var e;
|
|
@@ -72,11 +71,11 @@ const ke = ["data-key"], we = {
|
|
|
72
71
|
var o;
|
|
73
72
|
if (t.value === void 0)
|
|
74
73
|
return;
|
|
75
|
-
const e = (o =
|
|
74
|
+
const e = (o = u.value) == null ? void 0 : o.getItem(t.value);
|
|
76
75
|
return e == null ? void 0 : e.id;
|
|
77
76
|
}), le = m(() => {
|
|
78
77
|
var e;
|
|
79
|
-
return
|
|
78
|
+
return s.value.length > 0 && s.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
|
|
80
79
|
});
|
|
81
80
|
function z(e) {
|
|
82
81
|
d.value = e, q();
|
|
@@ -84,7 +83,7 @@ const ke = ["data-key"], we = {
|
|
|
84
83
|
function g() {
|
|
85
84
|
var o;
|
|
86
85
|
const e = ((o = h.value) == null ? void 0 : o[l.itemLabel]) || "";
|
|
87
|
-
|
|
86
|
+
s.value !== e && (s.value = e);
|
|
88
87
|
}
|
|
89
88
|
function E() {
|
|
90
89
|
i.value || l.readonly || l.disabled || (L("before-show"), i.value = !0, S());
|
|
@@ -125,26 +124,26 @@ const ke = ["data-key"], we = {
|
|
|
125
124
|
return;
|
|
126
125
|
z(D.value[l.itemValue]);
|
|
127
126
|
} else
|
|
128
|
-
e.key === "Home" ? t.value = (o =
|
|
127
|
+
e.key === "Home" ? t.value = (o = u.value) == null ? void 0 : o.getFirstFocusableItemIndex() : e.key === "End" ? t.value = (a = u.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && E();
|
|
129
128
|
}
|
|
130
129
|
function M() {
|
|
131
130
|
var e, o;
|
|
132
131
|
if (A.value)
|
|
133
|
-
t.value = (o =
|
|
132
|
+
t.value = (o = u.value) == null ? void 0 : o.getFirstFocusableItemIndex();
|
|
134
133
|
else {
|
|
135
134
|
const a = p.value.findIndex(
|
|
136
135
|
(n) => n[l.itemValue] === d.value
|
|
137
136
|
);
|
|
138
|
-
a === -1 ? t.value = (e =
|
|
137
|
+
a === -1 ? t.value = (e = u.value) == null ? void 0 : e.getFirstFocusableItemIndex() : t.value = a;
|
|
139
138
|
}
|
|
140
139
|
}
|
|
141
140
|
function ne() {
|
|
142
141
|
var e;
|
|
143
|
-
t.value = (e =
|
|
142
|
+
t.value = (e = u.value) == null ? void 0 : e.getLastFocusableItemIndex();
|
|
144
143
|
}
|
|
145
144
|
function ie(e, o) {
|
|
146
145
|
var a;
|
|
147
|
-
t.value = (a =
|
|
146
|
+
t.value = (a = u.value) == null ? void 0 : a.getAdjacentItemIndex(e, o);
|
|
148
147
|
}
|
|
149
148
|
function U(e) {
|
|
150
149
|
var b, O, P, R;
|
|
@@ -153,16 +152,16 @@ const ke = ["data-key"], we = {
|
|
|
153
152
|
e.preventDefault(), e.stopPropagation();
|
|
154
153
|
return;
|
|
155
154
|
}
|
|
156
|
-
q(), B.value && !
|
|
155
|
+
q(), B.value && !s.value && (d.value = l.emptyValue), g();
|
|
157
156
|
}
|
|
158
157
|
function S() {
|
|
159
158
|
var e, o;
|
|
160
159
|
(o = (e = f.value) == null ? void 0 : e.inputRef) == null || o.focus();
|
|
161
160
|
}
|
|
162
|
-
function
|
|
161
|
+
function se() {
|
|
163
162
|
S();
|
|
164
163
|
}
|
|
165
|
-
function
|
|
164
|
+
function ue() {
|
|
166
165
|
L("show");
|
|
167
166
|
}
|
|
168
167
|
function de() {
|
|
@@ -170,21 +169,21 @@ const ke = ["data-key"], we = {
|
|
|
170
169
|
}
|
|
171
170
|
function Q(e) {
|
|
172
171
|
var a;
|
|
173
|
-
const o = (a =
|
|
174
|
-
|
|
172
|
+
const o = (a = u.value) == null ? void 0 : a.getItem(e);
|
|
173
|
+
u.value && (u.value.$el.scrollTop = o == null ? void 0 : o.offsetTop);
|
|
175
174
|
}
|
|
176
175
|
return k(d, g), k(
|
|
177
176
|
() => l.items,
|
|
178
177
|
(e, o) => {
|
|
179
178
|
if (!A.value) {
|
|
180
179
|
const a = o.find((n) => n[l.itemValue] === d.value);
|
|
181
|
-
|
|
180
|
+
s.value === (a == null ? void 0 : a[l.itemLabel]) && g();
|
|
182
181
|
}
|
|
183
182
|
},
|
|
184
183
|
{ deep: !0 }
|
|
185
184
|
), k(t, (e) => {
|
|
186
185
|
e !== void 0 && Q(e);
|
|
187
|
-
}), k(
|
|
186
|
+
}), k(s, (e) => {
|
|
188
187
|
e && i.value && l.selectionMode === "automatic" && w(M);
|
|
189
188
|
}), k(
|
|
190
189
|
() => l.loading,
|
|
@@ -200,8 +199,8 @@ const ke = ["data-key"], we = {
|
|
|
200
199
|
null,
|
|
201
200
|
[
|
|
202
201
|
x(c(Ie), {
|
|
203
|
-
modelValue:
|
|
204
|
-
"onUpdate:modelValue": o[0] || (o[0] = (n) =>
|
|
202
|
+
modelValue: s.value,
|
|
203
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => s.value = n),
|
|
205
204
|
id: l.id,
|
|
206
205
|
label: l.label,
|
|
207
206
|
required: l.required,
|
|
@@ -239,7 +238,7 @@ const ke = ["data-key"], we = {
|
|
|
239
238
|
]),
|
|
240
239
|
append: r(() => [
|
|
241
240
|
v(e.$slots, "append"),
|
|
242
|
-
B.value &&
|
|
241
|
+
B.value && s.value ? (y(), C(c(G), {
|
|
243
242
|
key: 0,
|
|
244
243
|
class: "q-combobox__clear",
|
|
245
244
|
"b-style": "plain",
|
|
@@ -250,7 +249,7 @@ const ke = ["data-key"], we = {
|
|
|
250
249
|
default: r(() => [
|
|
251
250
|
x(
|
|
252
251
|
c(J),
|
|
253
|
-
j(W(l.icons.clear)),
|
|
252
|
+
j(W(l.internals.icons.clear)),
|
|
254
253
|
null,
|
|
255
254
|
16
|
|
256
255
|
/* FULL_PROPS */
|
|
@@ -273,7 +272,7 @@ const ke = ["data-key"], we = {
|
|
|
273
272
|
default: r(() => [
|
|
274
273
|
x(
|
|
275
274
|
c(J),
|
|
276
|
-
j(W(l.icons.chevron)),
|
|
275
|
+
j(W(l.internals.icons.chevron)),
|
|
277
276
|
null,
|
|
278
277
|
16
|
|
279
278
|
/* FULL_PROPS */
|
|
@@ -311,7 +310,7 @@ const ke = ["data-key"], we = {
|
|
|
311
310
|
width: "anchor",
|
|
312
311
|
offset: 4,
|
|
313
312
|
anchor: (a = f.value) == null ? void 0 : a.$el,
|
|
314
|
-
onEnter:
|
|
313
|
+
onEnter: ue,
|
|
315
314
|
onLeave: de
|
|
316
315
|
}, {
|
|
317
316
|
default: r(() => {
|
|
@@ -331,8 +330,9 @@ const ke = ["data-key"], we = {
|
|
|
331
330
|
])) : p.value.length ? (y(), C(c(ye), {
|
|
332
331
|
key: 1,
|
|
333
332
|
ref_key: "listRef",
|
|
334
|
-
ref:
|
|
333
|
+
ref: u,
|
|
335
334
|
class: "q-select__items",
|
|
335
|
+
selectable: "",
|
|
336
336
|
modelValue: d.value,
|
|
337
337
|
"onUpdate:modelValue": [
|
|
338
338
|
o[1] || (o[1] = (b) => d.value = b),
|
|
@@ -343,7 +343,7 @@ const ke = ["data-key"], we = {
|
|
|
343
343
|
groups: e.groups,
|
|
344
344
|
"item-label": l.itemLabel,
|
|
345
345
|
"item-value": l.itemValue,
|
|
346
|
-
onMouseup:
|
|
346
|
+
onMouseup: se
|
|
347
347
|
}, {
|
|
348
348
|
item: r(({ item: b }) => [
|
|
349
349
|
v(e.$slots, "item", { item: b })
|
|
@@ -353,7 +353,7 @@ const ke = ["data-key"], we = {
|
|
|
353
353
|
}, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (y(), _(
|
|
354
354
|
"div",
|
|
355
355
|
xe,
|
|
356
|
-
be(e.texts.noData),
|
|
356
|
+
be(e.internals.texts.noData),
|
|
357
357
|
1
|
|
358
358
|
/* TEXT */
|
|
359
359
|
)),
|
|
@@ -24,9 +24,15 @@ declare const QCombobox: {
|
|
|
24
24
|
required: {
|
|
25
25
|
type: import('vue').PropType<boolean>;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
type: import('vue').PropType<
|
|
29
|
-
|
|
27
|
+
internals: {
|
|
28
|
+
type: import('vue').PropType<{
|
|
29
|
+
icons: Record<string, import('..').Icon>;
|
|
30
|
+
texts: Record<string, string>;
|
|
31
|
+
}>;
|
|
32
|
+
default: () => {
|
|
33
|
+
icons: Record<string, import('..').Icon>;
|
|
34
|
+
texts: Record<string, string>;
|
|
35
|
+
};
|
|
30
36
|
};
|
|
31
37
|
items: {
|
|
32
38
|
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
@@ -74,14 +80,6 @@ declare const QCombobox: {
|
|
|
74
80
|
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
75
81
|
default: undefined;
|
|
76
82
|
};
|
|
77
|
-
texts: {
|
|
78
|
-
type: import('vue').PropType<{
|
|
79
|
-
noData: string;
|
|
80
|
-
}>;
|
|
81
|
-
default: () => {
|
|
82
|
-
noData: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
83
|
}>> & {
|
|
86
84
|
"onBefore-show"?: (() => any) | undefined;
|
|
87
85
|
"onBefore-hide"?: (() => any) | undefined;
|
|
@@ -330,9 +328,15 @@ declare const QCombobox: {
|
|
|
330
328
|
required: {
|
|
331
329
|
type: import('vue').PropType<boolean>;
|
|
332
330
|
};
|
|
333
|
-
|
|
334
|
-
type: import('vue').PropType<
|
|
335
|
-
|
|
331
|
+
internals: {
|
|
332
|
+
type: import('vue').PropType<{
|
|
333
|
+
icons: Record<string, import('..').Icon>;
|
|
334
|
+
texts: Record<string, string>;
|
|
335
|
+
}>;
|
|
336
|
+
default: () => {
|
|
337
|
+
icons: Record<string, import('..').Icon>;
|
|
338
|
+
texts: Record<string, string>;
|
|
339
|
+
};
|
|
336
340
|
};
|
|
337
341
|
items: {
|
|
338
342
|
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
@@ -380,14 +384,6 @@ declare const QCombobox: {
|
|
|
380
384
|
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
381
385
|
default: undefined;
|
|
382
386
|
};
|
|
383
|
-
texts: {
|
|
384
|
-
type: import('vue').PropType<{
|
|
385
|
-
noData: string;
|
|
386
|
-
}>;
|
|
387
|
-
default: () => {
|
|
388
|
-
noData: string;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
387
|
}>> & {
|
|
392
388
|
"onBefore-show"?: (() => any) | undefined;
|
|
393
389
|
"onBefore-hide"?: (() => any) | undefined;
|
|
@@ -397,7 +393,10 @@ declare const QCombobox: {
|
|
|
397
393
|
size: import('..').QFieldSize;
|
|
398
394
|
class: string | unknown[];
|
|
399
395
|
label: string;
|
|
400
|
-
|
|
396
|
+
internals: {
|
|
397
|
+
icons: Record<string, import('..').Icon>;
|
|
398
|
+
texts: Record<string, string>;
|
|
399
|
+
};
|
|
401
400
|
groups: (import('..').QListItemGroupProps & {
|
|
402
401
|
id: string;
|
|
403
402
|
})[];
|
|
@@ -408,9 +407,6 @@ declare const QCombobox: {
|
|
|
408
407
|
selectionMode: "manual" | "automatic";
|
|
409
408
|
filterMode: "manual" | "builtin";
|
|
410
409
|
emptyValue: import('../../types/primitive').Primitive;
|
|
411
|
-
texts: {
|
|
412
|
-
noData: string;
|
|
413
|
-
};
|
|
414
410
|
}, true, {}, {}, {
|
|
415
411
|
P: {};
|
|
416
412
|
B: {};
|
|
@@ -443,9 +439,15 @@ declare const QCombobox: {
|
|
|
443
439
|
required: {
|
|
444
440
|
type: import('vue').PropType<boolean>;
|
|
445
441
|
};
|
|
446
|
-
|
|
447
|
-
type: import('vue').PropType<
|
|
448
|
-
|
|
442
|
+
internals: {
|
|
443
|
+
type: import('vue').PropType<{
|
|
444
|
+
icons: Record<string, import('..').Icon>;
|
|
445
|
+
texts: Record<string, string>;
|
|
446
|
+
}>;
|
|
447
|
+
default: () => {
|
|
448
|
+
icons: Record<string, import('..').Icon>;
|
|
449
|
+
texts: Record<string, string>;
|
|
450
|
+
};
|
|
449
451
|
};
|
|
450
452
|
items: {
|
|
451
453
|
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
@@ -493,14 +495,6 @@ declare const QCombobox: {
|
|
|
493
495
|
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
494
496
|
default: undefined;
|
|
495
497
|
};
|
|
496
|
-
texts: {
|
|
497
|
-
type: import('vue').PropType<{
|
|
498
|
-
noData: string;
|
|
499
|
-
}>;
|
|
500
|
-
default: () => {
|
|
501
|
-
noData: string;
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
498
|
}>> & {
|
|
505
499
|
"onBefore-show"?: (() => any) | undefined;
|
|
506
500
|
"onBefore-hide"?: (() => any) | undefined;
|
|
@@ -723,7 +717,10 @@ declare const QCombobox: {
|
|
|
723
717
|
size: import('..').QFieldSize;
|
|
724
718
|
class: string | unknown[];
|
|
725
719
|
label: string;
|
|
726
|
-
|
|
720
|
+
internals: {
|
|
721
|
+
icons: Record<string, import('..').Icon>;
|
|
722
|
+
texts: Record<string, string>;
|
|
723
|
+
};
|
|
727
724
|
groups: (import('..').QListItemGroupProps & {
|
|
728
725
|
id: string;
|
|
729
726
|
})[];
|
|
@@ -734,9 +731,6 @@ declare const QCombobox: {
|
|
|
734
731
|
selectionMode: "manual" | "automatic";
|
|
735
732
|
filterMode: "manual" | "builtin";
|
|
736
733
|
emptyValue: import('../../types/primitive').Primitive;
|
|
737
|
-
texts: {
|
|
738
|
-
noData: string;
|
|
739
|
-
};
|
|
740
734
|
}>;
|
|
741
735
|
__isFragment?: undefined;
|
|
742
736
|
__isTeleport?: undefined;
|
|
@@ -766,9 +760,15 @@ declare const QCombobox: {
|
|
|
766
760
|
required: {
|
|
767
761
|
type: import('vue').PropType<boolean>;
|
|
768
762
|
};
|
|
769
|
-
|
|
770
|
-
type: import('vue').PropType<
|
|
771
|
-
|
|
763
|
+
internals: {
|
|
764
|
+
type: import('vue').PropType<{
|
|
765
|
+
icons: Record<string, import('..').Icon>;
|
|
766
|
+
texts: Record<string, string>;
|
|
767
|
+
}>;
|
|
768
|
+
default: () => {
|
|
769
|
+
icons: Record<string, import('..').Icon>;
|
|
770
|
+
texts: Record<string, string>;
|
|
771
|
+
};
|
|
772
772
|
};
|
|
773
773
|
items: {
|
|
774
774
|
type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
|
|
@@ -816,14 +816,6 @@ declare const QCombobox: {
|
|
|
816
816
|
type: import('vue').PropType<import('../../types/primitive').Primitive>;
|
|
817
817
|
default: undefined;
|
|
818
818
|
};
|
|
819
|
-
texts: {
|
|
820
|
-
type: import('vue').PropType<{
|
|
821
|
-
noData: string;
|
|
822
|
-
}>;
|
|
823
|
-
default: () => {
|
|
824
|
-
noData: string;
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
819
|
}>> & {
|
|
828
820
|
"onBefore-show"?: (() => any) | undefined;
|
|
829
821
|
"onBefore-hide"?: (() => any) | undefined;
|
|
@@ -1051,7 +1043,10 @@ declare const QCombobox: {
|
|
|
1051
1043
|
size: import('..').QFieldSize;
|
|
1052
1044
|
class: string | unknown[];
|
|
1053
1045
|
label: string;
|
|
1054
|
-
|
|
1046
|
+
internals: {
|
|
1047
|
+
icons: Record<string, import('..').Icon>;
|
|
1048
|
+
texts: Record<string, string>;
|
|
1049
|
+
};
|
|
1055
1050
|
groups: (import('..').QListItemGroupProps & {
|
|
1056
1051
|
id: string;
|
|
1057
1052
|
})[];
|
|
@@ -1062,9 +1057,6 @@ declare const QCombobox: {
|
|
|
1062
1057
|
selectionMode: "manual" | "automatic";
|
|
1063
1058
|
filterMode: "manual" | "builtin";
|
|
1064
1059
|
emptyValue: import('../../types/primitive').Primitive;
|
|
1065
|
-
texts: {
|
|
1066
|
-
noData: string;
|
|
1067
|
-
};
|
|
1068
1060
|
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1069
1061
|
$slots: {
|
|
1070
1062
|
"label.prepend"?(_: {}): any;
|
|
@@ -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":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
48
48
|
* Custom set of classes to apply to the component.
|
|
49
49
|
*/
|
|
50
50
|
class?: string | unknown[];
|
|
51
|
+
/**
|
|
52
|
+
* The internal elements of the component.
|
|
53
|
+
*/
|
|
54
|
+
internals?: Internals;
|
|
51
55
|
};
|
|
52
56
|
export type DialogButton = {
|
|
53
57
|
/**
|
|
@@ -69,6 +73,10 @@ export type DialogButton = {
|
|
|
69
73
|
*/
|
|
70
74
|
props: QButtonProps;
|
|
71
75
|
};
|
|
76
|
+
declare const DEFAULT_ICONS: Record<string, Icon>;
|
|
77
|
+
type Internals = {
|
|
78
|
+
icons: typeof DEFAULT_ICONS;
|
|
79
|
+
};
|
|
72
80
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
73
81
|
modelValue: import('vue').PropType<boolean>;
|
|
74
82
|
class: {
|
|
@@ -91,6 +99,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
91
99
|
type: import('vue').PropType<Icon>;
|
|
92
100
|
default: () => Icon;
|
|
93
101
|
};
|
|
102
|
+
internals: {
|
|
103
|
+
type: import('vue').PropType<Internals>;
|
|
104
|
+
default: () => {
|
|
105
|
+
icons: Record<string, Icon>;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
94
108
|
id: {
|
|
95
109
|
type: import('vue').PropType<string>;
|
|
96
110
|
default: undefined;
|
|
@@ -112,7 +126,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
112
126
|
};
|
|
113
127
|
dismissible: {
|
|
114
128
|
type: import('vue').PropType<boolean>;
|
|
115
|
-
default: boolean;
|
|
116
129
|
};
|
|
117
130
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
118
131
|
modelValue: import('vue').PropType<boolean>;
|
|
@@ -136,6 +149,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
136
149
|
type: import('vue').PropType<Icon>;
|
|
137
150
|
default: () => Icon;
|
|
138
151
|
};
|
|
152
|
+
internals: {
|
|
153
|
+
type: import('vue').PropType<Internals>;
|
|
154
|
+
default: () => {
|
|
155
|
+
icons: Record<string, Icon>;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
139
158
|
id: {
|
|
140
159
|
type: import('vue').PropType<string>;
|
|
141
160
|
default: undefined;
|
|
@@ -157,7 +176,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
157
176
|
};
|
|
158
177
|
dismissible: {
|
|
159
178
|
type: import('vue').PropType<boolean>;
|
|
160
|
-
default: boolean;
|
|
161
179
|
};
|
|
162
180
|
}>>, {
|
|
163
181
|
class: string | unknown[];
|
|
@@ -165,11 +183,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
165
183
|
title: string;
|
|
166
184
|
text: string;
|
|
167
185
|
icon: Icon;
|
|
186
|
+
internals: Internals;
|
|
168
187
|
id: string;
|
|
169
188
|
attach: string;
|
|
170
189
|
backdropBlur: boolean;
|
|
171
190
|
buttons: DialogButton[];
|
|
172
|
-
dismissible: boolean;
|
|
173
191
|
}, {}>, {
|
|
174
192
|
"body.content"?(_: {}): any;
|
|
175
193
|
"body.icon"?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyDA;AAYC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGxD,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,IAAI,CAAC,EAA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