@quidgest/ui 0.16.9 → 0.16.10
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.esm.js +213 -214
- package/dist/ui.js +3 -3
- package/dist/ui.min.js +4 -4
- package/dist/ui.scss +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +20 -20
- package/esm/components/QCombobox/index.d.ts +35 -35
- package/esm/components/QField/QField.d.ts +3 -3
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +16 -17
- package/esm/components/QField/index.d.ts +4 -4
- package/esm/components/QOverlay/index.d.ts +3 -3
- package/esm/components/QOverlay/types.d.ts +1 -1
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +10 -10
- package/esm/components/QPasswordField/index.d.ts +5 -5
- package/esm/components/QSelect/QSelect.d.ts +6 -6
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +17 -17
- package/esm/components/QSelect/index.d.ts +3 -3
- package/esm/components/QTextField/QTextField.d.ts +7 -7
- package/esm/components/QTextField/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as c,
|
|
1
|
+
import { defineComponent as c, useTemplateRef as q, computed as r, createElementBlock as o, openBlock as d, normalizeClass as m, createBlock as v, createCommentVNode as i, renderSlot as s, unref as _, withCtx as a, createElementVNode as b, mergeProps as y } from "vue";
|
|
2
2
|
import { QLabel as $ } from "../QLabel/index.js";
|
|
3
|
-
const
|
|
3
|
+
const h = ["id"], k = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "q-field__prepend"
|
|
6
6
|
}, B = {
|
|
@@ -23,8 +23,8 @@ const k = ["id"], h = {
|
|
|
23
23
|
disabled: { type: Boolean },
|
|
24
24
|
invalid: { type: Boolean }
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const e =
|
|
26
|
+
setup(t, { expose: n }) {
|
|
27
|
+
const e = t, p = q("field"), f = r(() => e.required && !e.readonly && !e.disabled), u = r(() => [
|
|
28
28
|
"q-field",
|
|
29
29
|
`q-field--${e.size}`,
|
|
30
30
|
{
|
|
@@ -35,44 +35,43 @@ const k = ["id"], h = {
|
|
|
35
35
|
},
|
|
36
36
|
e.class
|
|
37
37
|
]);
|
|
38
|
-
return
|
|
39
|
-
fieldRef:
|
|
38
|
+
return n({
|
|
39
|
+
fieldRef: p
|
|
40
40
|
}), (l, z) => (d(), o("div", {
|
|
41
41
|
id: e.id,
|
|
42
42
|
class: m(u.value)
|
|
43
43
|
}, [
|
|
44
|
-
e.label ? (d(), _(
|
|
44
|
+
e.label ? (d(), v(_($), {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "q-field__label",
|
|
47
47
|
label: e.label,
|
|
48
48
|
for: e.for,
|
|
49
49
|
required: e.required
|
|
50
50
|
}, {
|
|
51
|
-
prepend:
|
|
51
|
+
prepend: a(() => [
|
|
52
52
|
s(l.$slots, "label.prepend")
|
|
53
53
|
]),
|
|
54
|
-
append:
|
|
54
|
+
append: a(() => [
|
|
55
55
|
s(l.$slots, "label.append")
|
|
56
56
|
]),
|
|
57
57
|
_: 3
|
|
58
58
|
/* FORWARDED */
|
|
59
|
-
}, 8, ["label", "for", "required"])) :
|
|
59
|
+
}, 8, ["label", "for", "required"])) : i("v-if", !0),
|
|
60
60
|
s(l.$slots, "control", {}, () => [
|
|
61
61
|
b(
|
|
62
62
|
"div",
|
|
63
63
|
y({
|
|
64
|
-
|
|
65
|
-
ref: i,
|
|
64
|
+
ref: "field",
|
|
66
65
|
class: "q-field__control"
|
|
67
66
|
}, l.$attrs),
|
|
68
67
|
[
|
|
69
|
-
l.$slots.prepend ? (d(), o("div",
|
|
68
|
+
l.$slots.prepend ? (d(), o("div", k, [
|
|
70
69
|
s(l.$slots, "prepend")
|
|
71
|
-
])) :
|
|
70
|
+
])) : i("v-if", !0),
|
|
72
71
|
s(l.$slots, "default"),
|
|
73
72
|
l.$slots.append ? (d(), o("div", B, [
|
|
74
73
|
s(l.$slots, "append")
|
|
75
|
-
])) :
|
|
74
|
+
])) : i("v-if", !0)
|
|
76
75
|
],
|
|
77
76
|
16
|
|
78
77
|
/* FULL_PROPS */
|
|
@@ -80,8 +79,8 @@ const k = ["id"], h = {
|
|
|
80
79
|
]),
|
|
81
80
|
l.$slots.extras ? (d(), o("div", C, [
|
|
82
81
|
s(l.$slots, "extras")
|
|
83
|
-
])) :
|
|
84
|
-
], 10,
|
|
82
|
+
])) : i("v-if", !0)
|
|
83
|
+
], 10, h));
|
|
85
84
|
}
|
|
86
85
|
});
|
|
87
86
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { QFieldProps, QFieldSize } from './types';
|
|
2
2
|
declare const QField: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<QFieldProps> & Readonly<{}>, {
|
|
4
|
-
fieldRef: import('vue').
|
|
4
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
5
5
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
6
6
|
size: QFieldSize;
|
|
7
7
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
8
|
-
|
|
8
|
+
field: HTMLDivElement;
|
|
9
9
|
}, any, import('vue').ComponentProvideOptions, {
|
|
10
10
|
P: {};
|
|
11
11
|
B: {};
|
|
@@ -14,7 +14,7 @@ declare const QField: {
|
|
|
14
14
|
M: {};
|
|
15
15
|
Defaults: {};
|
|
16
16
|
}, Readonly<QFieldProps> & Readonly<{}>, {
|
|
17
|
-
fieldRef: import('vue').
|
|
17
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
18
18
|
}, {}, {}, {}, {
|
|
19
19
|
size: QFieldSize;
|
|
20
20
|
}>;
|
|
@@ -22,7 +22,7 @@ declare const QField: {
|
|
|
22
22
|
__isTeleport?: never;
|
|
23
23
|
__isSuspense?: never;
|
|
24
24
|
} & import('vue').ComponentOptionsBase<Readonly<QFieldProps> & Readonly<{}>, {
|
|
25
|
-
fieldRef: import('vue').
|
|
25
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
26
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
27
27
|
size: QFieldSize;
|
|
28
28
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -3,7 +3,7 @@ declare const QOverlay: {
|
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
modelValue?: boolean;
|
|
5
5
|
} & import('../../types/component').QBaseComponentProps & {
|
|
6
|
-
anchor?: import('../../utils/getElement').Selector;
|
|
6
|
+
anchor?: import('../../utils/getElement').Selector | null;
|
|
7
7
|
appearance?: import('../../composables/overlay').Appearance;
|
|
8
8
|
arrow?: boolean;
|
|
9
9
|
attach?: string;
|
|
@@ -56,7 +56,7 @@ declare const QOverlay: {
|
|
|
56
56
|
}, Readonly<{
|
|
57
57
|
modelValue?: boolean;
|
|
58
58
|
} & import('../../types/component').QBaseComponentProps & {
|
|
59
|
-
anchor?: import('../../utils/getElement').Selector;
|
|
59
|
+
anchor?: import('../../utils/getElement').Selector | null;
|
|
60
60
|
appearance?: import('../../composables/overlay').Appearance;
|
|
61
61
|
arrow?: boolean;
|
|
62
62
|
attach?: string;
|
|
@@ -97,7 +97,7 @@ declare const QOverlay: {
|
|
|
97
97
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
98
98
|
modelValue?: boolean;
|
|
99
99
|
} & import('../../types/component').QBaseComponentProps & {
|
|
100
|
-
anchor?: import('../../utils/getElement').Selector;
|
|
100
|
+
anchor?: import('../../utils/getElement').Selector | null;
|
|
101
101
|
appearance?: import('../../composables/overlay').Appearance;
|
|
102
102
|
arrow?: boolean;
|
|
103
103
|
attach?: string;
|
|
@@ -5,7 +5,7 @@ export type QOverlayProps = QBaseComponentProps & {
|
|
|
5
5
|
/**
|
|
6
6
|
* The DOM element the overlay should be anchored to.
|
|
7
7
|
*/
|
|
8
|
-
anchor?: Selector;
|
|
8
|
+
anchor?: Selector | null;
|
|
9
9
|
/**
|
|
10
10
|
* The appearance of the overlay.
|
|
11
11
|
* 'regular' uses body text color for background and body background color for text.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAA;IAExB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;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,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;IAElC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IAEzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA"}
|
|
@@ -62,7 +62,7 @@ declare function __VLS_template(): {
|
|
|
62
62
|
$refs: {
|
|
63
63
|
[x: string]: unknown;
|
|
64
64
|
} & {
|
|
65
|
-
|
|
65
|
+
field: HTMLDivElement;
|
|
66
66
|
};
|
|
67
67
|
$slots: Readonly<{
|
|
68
68
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -73,7 +73,7 @@ declare function __VLS_template(): {
|
|
|
73
73
|
$emit: (event: string, ...args: any[]) => void;
|
|
74
74
|
$el: any;
|
|
75
75
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
76
|
-
fieldRef: import('vue').
|
|
76
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
77
77
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
78
78
|
size: import('..').QFieldSize;
|
|
79
79
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -99,7 +99,7 @@ declare function __VLS_template(): {
|
|
|
99
99
|
} & Readonly<{
|
|
100
100
|
size: import('..').QFieldSize;
|
|
101
101
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
102
|
-
fieldRef: import('vue').
|
|
102
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
103
103
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
104
104
|
$slots: {
|
|
105
105
|
'label.prepend'?(_: {}): any;
|
|
@@ -143,7 +143,7 @@ declare function __VLS_template(): {
|
|
|
143
143
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
144
144
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
145
145
|
}>, {
|
|
146
|
-
fieldRef: import('vue').ComputedRef<
|
|
146
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
147
147
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
148
148
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
149
149
|
"update:modelValue": (value: string) => any;
|
|
@@ -195,7 +195,7 @@ declare function __VLS_template(): {
|
|
|
195
195
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
196
196
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
197
197
|
}>, "type" | "fieldRef" | "inputRef"> & import('vue').ShallowUnwrapRef<{
|
|
198
|
-
fieldRef: import('vue').ComputedRef<
|
|
198
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
199
199
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
200
200
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
201
201
|
$slots: {
|
|
@@ -268,7 +268,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
268
268
|
$refs: {
|
|
269
269
|
[x: string]: unknown;
|
|
270
270
|
} & {
|
|
271
|
-
|
|
271
|
+
field: HTMLDivElement;
|
|
272
272
|
};
|
|
273
273
|
$slots: Readonly<{
|
|
274
274
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -279,7 +279,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
279
279
|
$emit: (event: string, ...args: any[]) => void;
|
|
280
280
|
$el: any;
|
|
281
281
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
282
|
-
fieldRef: import('vue').
|
|
282
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
283
283
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
284
284
|
size: import('..').QFieldSize;
|
|
285
285
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -305,7 +305,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
305
305
|
} & Readonly<{
|
|
306
306
|
size: import('..').QFieldSize;
|
|
307
307
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
308
|
-
fieldRef: import('vue').
|
|
308
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
309
309
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
310
310
|
$slots: {
|
|
311
311
|
'label.prepend'?(_: {}): any;
|
|
@@ -349,7 +349,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
349
349
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
350
350
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
351
351
|
}>, {
|
|
352
|
-
fieldRef: import('vue').ComputedRef<
|
|
352
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
353
353
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
354
354
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
355
355
|
"update:modelValue": (value: string) => any;
|
|
@@ -401,7 +401,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
401
401
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
402
402
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
403
403
|
}>, "type" | "fieldRef" | "inputRef"> & import('vue').ShallowUnwrapRef<{
|
|
404
|
-
fieldRef: import('vue').ComputedRef<
|
|
404
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
405
405
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
406
406
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
407
407
|
$slots: {
|
|
@@ -67,7 +67,7 @@ declare const QPasswordField: {
|
|
|
67
67
|
$refs: {
|
|
68
68
|
[x: string]: unknown;
|
|
69
69
|
} & {
|
|
70
|
-
|
|
70
|
+
field: HTMLDivElement;
|
|
71
71
|
};
|
|
72
72
|
$slots: Readonly<{
|
|
73
73
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -78,7 +78,7 @@ declare const QPasswordField: {
|
|
|
78
78
|
$emit: (event: string, ...args: any[]) => void;
|
|
79
79
|
$el: any;
|
|
80
80
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
81
|
-
fieldRef: import('vue').
|
|
81
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
82
82
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
83
83
|
size: import('..').QFieldSize;
|
|
84
84
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -104,7 +104,7 @@ declare const QPasswordField: {
|
|
|
104
104
|
} & Readonly<{
|
|
105
105
|
size: import('..').QFieldSize;
|
|
106
106
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
107
|
-
fieldRef: import('vue').
|
|
107
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
108
108
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
109
109
|
$slots: {
|
|
110
110
|
'label.prepend'?(_: {}): any;
|
|
@@ -148,7 +148,7 @@ declare const QPasswordField: {
|
|
|
148
148
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
149
149
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
150
150
|
}>, {
|
|
151
|
-
fieldRef: import('vue').ComputedRef<
|
|
151
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
152
152
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
153
153
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
154
154
|
"update:modelValue": (value: string) => any;
|
|
@@ -200,7 +200,7 @@ declare const QPasswordField: {
|
|
|
200
200
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
201
201
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
202
202
|
}>, "type" | "fieldRef" | "inputRef"> & import('vue').ShallowUnwrapRef<{
|
|
203
|
-
fieldRef: import('vue').ComputedRef<
|
|
203
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
204
204
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
205
205
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
206
206
|
$slots: {
|
|
@@ -37,7 +37,7 @@ declare function __VLS_template(): {
|
|
|
37
37
|
$refs: {
|
|
38
38
|
[x: string]: unknown;
|
|
39
39
|
} & {
|
|
40
|
-
|
|
40
|
+
field: HTMLDivElement;
|
|
41
41
|
};
|
|
42
42
|
$slots: Readonly<{
|
|
43
43
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -48,7 +48,7 @@ declare function __VLS_template(): {
|
|
|
48
48
|
$emit: (event: string, ...args: any[]) => void;
|
|
49
49
|
$el: any;
|
|
50
50
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
51
|
-
fieldRef: import('vue').
|
|
51
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
52
52
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
53
53
|
size: import('..').QFieldSize;
|
|
54
54
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -74,7 +74,7 @@ declare function __VLS_template(): {
|
|
|
74
74
|
} & Readonly<{
|
|
75
75
|
size: import('..').QFieldSize;
|
|
76
76
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
77
|
-
fieldRef: import('vue').
|
|
77
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
78
78
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
79
79
|
$slots: {
|
|
80
80
|
'label.prepend'?(_: {}): any;
|
|
@@ -326,7 +326,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
326
326
|
$refs: {
|
|
327
327
|
[x: string]: unknown;
|
|
328
328
|
} & {
|
|
329
|
-
|
|
329
|
+
field: HTMLDivElement;
|
|
330
330
|
};
|
|
331
331
|
$slots: Readonly<{
|
|
332
332
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -337,7 +337,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
337
337
|
$emit: (event: string, ...args: any[]) => void;
|
|
338
338
|
$el: any;
|
|
339
339
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
340
|
-
fieldRef: import('vue').
|
|
340
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
341
341
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
342
342
|
size: import('..').QFieldSize;
|
|
343
343
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -363,7 +363,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
363
363
|
} & Readonly<{
|
|
364
364
|
size: import('..').QFieldSize;
|
|
365
365
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
366
|
-
fieldRef: import('vue').
|
|
366
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
367
367
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
368
368
|
$slots: {
|
|
369
369
|
'label.prepend'?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA2HA;AAySC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AAkKjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA2HA;AAySC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AAkKjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoFmoB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAjE/xB;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8BqpB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArB9xB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, mergeModels as D, useModel as K, ref as b, computed as k, watch as H, nextTick as X, createElementBlock as f, openBlock as t, Fragment as
|
|
1
|
+
import { defineComponent as P, mergeModels as D, useModel as K, ref as b, computed as k, watch as H, nextTick as X, createElementBlock as f, openBlock as t, Fragment as R, createVNode as g, unref as n, mergeProps as z, createSlots as j, withCtx as i, toDisplayString as A, createCommentVNode as h, createTextVNode as G, renderSlot as d, createBlock as _, normalizeProps as J, createElementVNode as W, withModifiers as Y } from "vue";
|
|
2
2
|
import { DEFAULT_TEXTS as Z, DEFAULT_ICONS as ee } from "./types.js";
|
|
3
3
|
import { QButton as le } from "../QButton/index.js";
|
|
4
4
|
import { QField as oe } from "../QField/index.js";
|
|
@@ -45,8 +45,8 @@ const de = {
|
|
|
45
45
|
modelModifiers: {}
|
|
46
46
|
}),
|
|
47
47
|
emits: /* @__PURE__ */ D(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
|
|
48
|
-
setup(q, { emit:
|
|
49
|
-
const e = q, m =
|
|
48
|
+
setup(q, { emit: F }) {
|
|
49
|
+
const e = q, m = F, p = K(q, "modelValue"), o = b(!1), v = b(null), x = b(null), w = b(null), O = k(() => s.value === void 0), s = k(
|
|
50
50
|
() => {
|
|
51
51
|
var l;
|
|
52
52
|
return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === p.value);
|
|
@@ -72,10 +72,10 @@ const de = {
|
|
|
72
72
|
function y() {
|
|
73
73
|
o.value && (m("before-hide"), o.value = !1);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function C() {
|
|
76
76
|
e.readonly || e.disabled || (o.value ? y() : L());
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function $(l) {
|
|
79
79
|
!l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && L(), ["Escape", "Tab"].includes(l.key) && (o.value ? y() : V.value && l.key === "Escape" && E()), l.key === "Delete" && e.clearable && E());
|
|
80
80
|
}
|
|
81
81
|
function U() {
|
|
@@ -101,10 +101,10 @@ const de = {
|
|
|
101
101
|
), (l, a) => {
|
|
102
102
|
var u, c;
|
|
103
103
|
return t(), f(
|
|
104
|
-
|
|
104
|
+
R,
|
|
105
105
|
null,
|
|
106
106
|
[
|
|
107
|
-
g(n(oe),
|
|
107
|
+
g(n(oe), z({
|
|
108
108
|
id: e.id,
|
|
109
109
|
ref_key: "triggerEl",
|
|
110
110
|
ref: v,
|
|
@@ -128,8 +128,8 @@ const de = {
|
|
|
128
128
|
size: e.size,
|
|
129
129
|
invalid: e.invalid
|
|
130
130
|
}, l.$attrs, {
|
|
131
|
-
onClick:
|
|
132
|
-
onKeydown:
|
|
131
|
+
onClick: C,
|
|
132
|
+
onKeydown: $
|
|
133
133
|
}), j({
|
|
134
134
|
append: i(() => [
|
|
135
135
|
d(l.$slots, "append"),
|
|
@@ -148,7 +148,7 @@ const de = {
|
|
|
148
148
|
borderless: "",
|
|
149
149
|
tabindex: "-1",
|
|
150
150
|
disabled: e.disabled,
|
|
151
|
-
onClick:
|
|
151
|
+
onClick: C
|
|
152
152
|
}, {
|
|
153
153
|
default: i(() => [
|
|
154
154
|
g(n(se), {
|
|
@@ -161,13 +161,13 @@ const de = {
|
|
|
161
161
|
}, 8, ["aria-label", "disabled"]))
|
|
162
162
|
]),
|
|
163
163
|
default: i(() => [
|
|
164
|
-
|
|
164
|
+
O.value ? (t(), f("span", ue, [
|
|
165
165
|
!e.readonly && !e.disabled ? (t(), f(
|
|
166
|
-
|
|
166
|
+
R,
|
|
167
167
|
{ key: 0 },
|
|
168
168
|
[
|
|
169
169
|
G(
|
|
170
|
-
|
|
170
|
+
A(e.texts.placeholder),
|
|
171
171
|
1
|
|
172
172
|
/* TEXT */
|
|
173
173
|
)
|
|
@@ -178,7 +178,7 @@ const de = {
|
|
|
178
178
|
])) : (t(), f(
|
|
179
179
|
"span",
|
|
180
180
|
de,
|
|
181
|
-
|
|
181
|
+
A(M.value),
|
|
182
182
|
1
|
|
183
183
|
/* TEXT */
|
|
184
184
|
))
|
|
@@ -194,7 +194,7 @@ const de = {
|
|
|
194
194
|
d(l.$slots, "prepend"),
|
|
195
195
|
(r = s.value) != null && r.icon ? (t(), _(
|
|
196
196
|
n(ae),
|
|
197
|
-
J(
|
|
197
|
+
J(z({ key: 0 }, (S = s.value) == null ? void 0 : S.icon)),
|
|
198
198
|
null,
|
|
199
199
|
16
|
|
200
200
|
/* FULL_PROPS */
|
|
@@ -220,7 +220,7 @@ const de = {
|
|
|
220
220
|
width: "anchor",
|
|
221
221
|
"scroll-lock": "",
|
|
222
222
|
inline: e.inline,
|
|
223
|
-
anchor: (c = v.value) == null ? void 0 : c
|
|
223
|
+
anchor: (c = v.value) == null ? void 0 : c.fieldRef,
|
|
224
224
|
offset: 2,
|
|
225
225
|
onEnter: U,
|
|
226
226
|
onLeave: I
|
|
@@ -234,7 +234,7 @@ const de = {
|
|
|
234
234
|
class: "q-select__body",
|
|
235
235
|
tabindex: "-1",
|
|
236
236
|
onFocusout: N,
|
|
237
|
-
onKeydown: Y(
|
|
237
|
+
onKeydown: Y($, ["stop"])
|
|
238
238
|
}, [
|
|
239
239
|
d(l.$slots, "body.prepend"),
|
|
240
240
|
e.loading ? (t(), f("div", fe, [
|
|
@@ -62,7 +62,7 @@ declare const QSelect: {
|
|
|
62
62
|
$refs: {
|
|
63
63
|
[x: string]: unknown;
|
|
64
64
|
} & {
|
|
65
|
-
|
|
65
|
+
field: HTMLDivElement;
|
|
66
66
|
};
|
|
67
67
|
$slots: Readonly<{
|
|
68
68
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -73,7 +73,7 @@ declare const QSelect: {
|
|
|
73
73
|
$emit: (event: string, ...args: any[]) => void;
|
|
74
74
|
$el: any;
|
|
75
75
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
76
|
-
fieldRef: import('vue').
|
|
76
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
77
77
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
78
78
|
size: import('..').QFieldSize;
|
|
79
79
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -99,7 +99,7 @@ declare const QSelect: {
|
|
|
99
99
|
} & Readonly<{
|
|
100
100
|
size: import('..').QFieldSize;
|
|
101
101
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
102
|
-
fieldRef: import('vue').
|
|
102
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
103
103
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
104
104
|
$slots: {
|
|
105
105
|
'label.prepend'?(_: {}): any;
|
|
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
|
|
|
33
33
|
$refs: {
|
|
34
34
|
[x: string]: unknown;
|
|
35
35
|
} & {
|
|
36
|
-
|
|
36
|
+
field: HTMLDivElement;
|
|
37
37
|
};
|
|
38
38
|
$slots: Readonly<{
|
|
39
39
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -44,7 +44,7 @@ declare function __VLS_template(): {
|
|
|
44
44
|
$emit: (event: string, ...args: any[]) => void;
|
|
45
45
|
$el: any;
|
|
46
46
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
47
|
-
fieldRef: import('vue').
|
|
47
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
48
48
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
49
49
|
size: import('..').QFieldSize;
|
|
50
50
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -70,7 +70,7 @@ declare function __VLS_template(): {
|
|
|
70
70
|
} & Readonly<{
|
|
71
71
|
size: import('..').QFieldSize;
|
|
72
72
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
73
|
-
fieldRef: import('vue').
|
|
73
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
74
74
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
75
75
|
$slots: {
|
|
76
76
|
'label.prepend'?(_: {}): any;
|
|
@@ -88,7 +88,7 @@ declare function __VLS_template(): {
|
|
|
88
88
|
};
|
|
89
89
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
90
90
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
91
|
-
fieldRef: import('vue').ComputedRef<
|
|
91
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
92
92
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
93
93
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
94
|
"update:modelValue": (value: string) => any;
|
|
@@ -120,7 +120,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
120
120
|
$refs: {
|
|
121
121
|
[x: string]: unknown;
|
|
122
122
|
} & {
|
|
123
|
-
|
|
123
|
+
field: HTMLDivElement;
|
|
124
124
|
};
|
|
125
125
|
$slots: Readonly<{
|
|
126
126
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -131,7 +131,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
131
131
|
$emit: (event: string, ...args: any[]) => void;
|
|
132
132
|
$el: any;
|
|
133
133
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
134
|
-
fieldRef: import('vue').
|
|
134
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
135
135
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
136
136
|
size: import('..').QFieldSize;
|
|
137
137
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -157,7 +157,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
157
157
|
} & Readonly<{
|
|
158
158
|
size: import('..').QFieldSize;
|
|
159
159
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
160
|
-
fieldRef: import('vue').
|
|
160
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
161
161
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
162
162
|
$slots: {
|
|
163
163
|
'label.prepend'?(_: {}): any;
|
|
@@ -22,7 +22,7 @@ declare const QTextField: {
|
|
|
22
22
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
23
23
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
fieldRef: import('vue').ComputedRef<
|
|
25
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
26
26
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
27
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
28
|
"update:modelValue": (value: string) => any;
|
|
@@ -51,7 +51,7 @@ declare const QTextField: {
|
|
|
51
51
|
$refs: {
|
|
52
52
|
[x: string]: unknown;
|
|
53
53
|
} & {
|
|
54
|
-
|
|
54
|
+
field: HTMLDivElement;
|
|
55
55
|
};
|
|
56
56
|
$slots: Readonly<{
|
|
57
57
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -62,7 +62,7 @@ declare const QTextField: {
|
|
|
62
62
|
$emit: (event: string, ...args: any[]) => void;
|
|
63
63
|
$el: any;
|
|
64
64
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
65
|
-
fieldRef: import('vue').
|
|
65
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
66
66
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
67
67
|
size: import('..').QFieldSize;
|
|
68
68
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -88,7 +88,7 @@ declare const QTextField: {
|
|
|
88
88
|
} & Readonly<{
|
|
89
89
|
size: import('..').QFieldSize;
|
|
90
90
|
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
91
|
-
fieldRef: import('vue').
|
|
91
|
+
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
92
92
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
93
93
|
$slots: {
|
|
94
94
|
'label.prepend'?(_: {}): any;
|
|
@@ -130,7 +130,7 @@ declare const QTextField: {
|
|
|
130
130
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
131
131
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
132
132
|
}>, {
|
|
133
|
-
fieldRef: import('vue').ComputedRef<
|
|
133
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
134
134
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
135
135
|
}, {}, {}, {}, {
|
|
136
136
|
type: string;
|
|
@@ -160,7 +160,7 @@ declare const QTextField: {
|
|
|
160
160
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
161
161
|
"onClick:clear"?: ((event: Event) => any) | undefined;
|
|
162
162
|
}>, {
|
|
163
|
-
fieldRef: import('vue').ComputedRef<
|
|
163
|
+
fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
|
|
164
164
|
inputRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
165
165
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
166
166
|
"update:modelValue": (value: string) => any;
|