@quidgest/ui 0.16.64 → 0.16.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json/api.json +226 -1
- package/dist/ui.css +17 -0
- package/dist/ui.esm.js +23 -4
- package/dist/ui.js +5 -5
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +18 -18
- package/dist/ui.scss +18 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +4 -3
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +7 -6
- package/esm/components/QCheckbox/index.d.ts +3 -0
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +28 -4
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +6 -5
- package/esm/components/QCombobox/index.d.ts +49 -7
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +8 -7
- package/esm/components/QDateTimePicker/index.d.ts +3 -0
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +2 -2
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +1 -0
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +23 -20
- package/esm/components/QField/index.d.ts +3 -0
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +6 -5
- package/esm/components/QFileUpload/index.d.ts +3 -0
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +17 -16
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +15 -13
- package/esm/components/QLabel/types.d.ts +12 -0
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QMeter/QMeter.vue.js +8 -7
- package/esm/components/QMeter/index.d.ts +2 -0
- package/esm/components/QMeter/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +14 -2
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +5 -4
- package/esm/components/QPasswordField/index.d.ts +7 -1
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +13 -12
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +8 -7
- package/esm/components/QRadioGroup/index.d.ts +3 -0
- package/esm/components/QRadioGroup/index.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +8 -2
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +1 -0
- package/esm/components/QSelect/index.d.ts +7 -1
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +15 -14
- package/esm/components/QTextArea/QTextArea.vue.js +3 -2
- package/esm/components/QTextArea/index.d.ts +3 -0
- package/esm/components/QTextArea/index.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +8 -2
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +22 -21
- package/esm/components/QTextField/index.d.ts +7 -1
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, mergeModels as q, useModel as b, watch as h, toRef as l, computed as r, createElementBlock as
|
|
1
|
+
import { defineComponent as g, mergeModels as q, useModel as b, watch as h, toRef as l, computed as r, createElementBlock as n, openBlock as t, normalizeClass as B, createBlock as _, createCommentVNode as u, createElementVNode as z, unref as s, mergeProps as k, renderSlot as c } from "vue";
|
|
2
2
|
import { QLabel as V } from "../QLabel/index.js";
|
|
3
3
|
import { provideDefaults as $ } from "../../composables/defaults.js";
|
|
4
4
|
import { useId as m } from "../../composables/uid.js";
|
|
@@ -6,7 +6,7 @@ import { useGroup as C } from "../../composables/useGroup/index.js";
|
|
|
6
6
|
const M = ["id"], Q = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "q-field__extras"
|
|
9
|
-
},
|
|
9
|
+
}, P = /* @__PURE__ */ g({
|
|
10
10
|
inheritAttrs: !1,
|
|
11
11
|
__name: "QRadioGroup",
|
|
12
12
|
props: /* @__PURE__ */ q({
|
|
@@ -15,6 +15,7 @@ const M = ["id"], Q = {
|
|
|
15
15
|
label: {},
|
|
16
16
|
required: { type: Boolean },
|
|
17
17
|
for: {},
|
|
18
|
+
labelPosition: {},
|
|
18
19
|
name: {},
|
|
19
20
|
orientation: { default: "vertical" },
|
|
20
21
|
size: { default: "regular" },
|
|
@@ -53,7 +54,7 @@ const M = ["id"], Q = {
|
|
|
53
54
|
invalid: l(e, "invalid"),
|
|
54
55
|
name: f
|
|
55
56
|
}
|
|
56
|
-
}), (o, R) => (t(),
|
|
57
|
+
}), (o, R) => (t(), n(
|
|
57
58
|
"div",
|
|
58
59
|
{
|
|
59
60
|
class: B(v.value)
|
|
@@ -64,7 +65,7 @@ const M = ["id"], Q = {
|
|
|
64
65
|
for: s(a),
|
|
65
66
|
label: e.label,
|
|
66
67
|
required: e.required
|
|
67
|
-
}, null, 8, ["for", "label", "required"])) :
|
|
68
|
+
}, null, 8, ["for", "label", "required"])) : u("v-if", !0),
|
|
68
69
|
z("div", k({
|
|
69
70
|
id: s(a),
|
|
70
71
|
class: ["q-radio-group__group", { "q-radio-group--grid": e.columns > 1 }],
|
|
@@ -73,9 +74,9 @@ const M = ["id"], Q = {
|
|
|
73
74
|
}, o.$attrs), [
|
|
74
75
|
c(o.$slots, "default")
|
|
75
76
|
], 16, M),
|
|
76
|
-
o.$slots.extras ? (t(),
|
|
77
|
+
o.$slots.extras ? (t(), n("div", Q, [
|
|
77
78
|
c(o.$slots, "extras")
|
|
78
|
-
])) :
|
|
79
|
+
])) : u("v-if", !0)
|
|
79
80
|
],
|
|
80
81
|
2
|
|
81
82
|
/* CLASS */
|
|
@@ -83,5 +84,5 @@ const M = ["id"], Q = {
|
|
|
83
84
|
}
|
|
84
85
|
});
|
|
85
86
|
export {
|
|
86
|
-
|
|
87
|
+
P as default
|
|
87
88
|
};
|
|
@@ -37,6 +37,7 @@ declare const QRadioGroup: {
|
|
|
37
37
|
label?: string;
|
|
38
38
|
required?: boolean;
|
|
39
39
|
for?: string;
|
|
40
|
+
labelPosition?: import('..').QLabelPosition;
|
|
40
41
|
} & {
|
|
41
42
|
name?: string;
|
|
42
43
|
orientation?: import('./types').QRadioButtonOrientation;
|
|
@@ -68,6 +69,7 @@ declare const QRadioGroup: {
|
|
|
68
69
|
label?: string;
|
|
69
70
|
required?: boolean;
|
|
70
71
|
for?: string;
|
|
72
|
+
labelPosition?: import('..').QLabelPosition;
|
|
71
73
|
} & {
|
|
72
74
|
name?: string;
|
|
73
75
|
orientation?: import('./types').QRadioButtonOrientation;
|
|
@@ -94,6 +96,7 @@ declare const QRadioGroup: {
|
|
|
94
96
|
label?: string;
|
|
95
97
|
required?: boolean;
|
|
96
98
|
for?: string;
|
|
99
|
+
labelPosition?: import('..').QLabelPosition;
|
|
97
100
|
} & {
|
|
98
101
|
name?: string;
|
|
99
102
|
orientation?: import('./types').QRadioButtonOrientation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
|
|
@@ -28,6 +28,7 @@ declare function __VLS_template(): {
|
|
|
28
28
|
readonly label?: string | undefined;
|
|
29
29
|
readonly required?: boolean | undefined;
|
|
30
30
|
readonly for?: string | undefined;
|
|
31
|
+
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
31
32
|
readonly size?: import('..').QFieldSize | undefined;
|
|
32
33
|
readonly readonly?: boolean | undefined;
|
|
33
34
|
readonly disabled?: boolean | undefined;
|
|
@@ -53,6 +54,7 @@ declare function __VLS_template(): {
|
|
|
53
54
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
54
55
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
55
56
|
size: import('..').QFieldSize;
|
|
57
|
+
labelPosition: import('..').QLabelPosition;
|
|
56
58
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
57
59
|
beforeCreate?: (() => void) | (() => void)[];
|
|
58
60
|
created?: (() => void) | (() => void)[];
|
|
@@ -75,7 +77,8 @@ declare function __VLS_template(): {
|
|
|
75
77
|
$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;
|
|
76
78
|
} & Readonly<{
|
|
77
79
|
size: import('..').QFieldSize;
|
|
78
|
-
|
|
80
|
+
labelPosition: import('..').QLabelPosition;
|
|
81
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
|
|
79
82
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
80
83
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
81
84
|
$slots: {
|
|
@@ -380,6 +383,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
380
383
|
readonly label?: string | undefined;
|
|
381
384
|
readonly required?: boolean | undefined;
|
|
382
385
|
readonly for?: string | undefined;
|
|
386
|
+
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
383
387
|
readonly size?: import('..').QFieldSize | undefined;
|
|
384
388
|
readonly readonly?: boolean | undefined;
|
|
385
389
|
readonly disabled?: boolean | undefined;
|
|
@@ -405,6 +409,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
405
409
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
406
410
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
407
411
|
size: import('..').QFieldSize;
|
|
412
|
+
labelPosition: import('..').QLabelPosition;
|
|
408
413
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
409
414
|
beforeCreate?: (() => void) | (() => void)[];
|
|
410
415
|
created?: (() => void) | (() => void)[];
|
|
@@ -427,7 +432,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
427
432
|
$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;
|
|
428
433
|
} & Readonly<{
|
|
429
434
|
size: import('..').QFieldSize;
|
|
430
|
-
|
|
435
|
+
labelPosition: import('..').QLabelPosition;
|
|
436
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
|
|
431
437
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
432
438
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
433
439
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoMA;AA+hBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAe1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAgD,MAAM,KAAK,CAAA;AAMtF,KAAK,WAAW,GAAG,YAAY,CAAC;AAwUjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkeT,OAAO,IAA6B;;yBAtBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACZ,GAAG;+BACM,GAAG
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoMA;AA+hBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAe1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAgD,MAAM,KAAK,CAAA;AAMtF,KAAK,WAAW,GAAG,YAAY,CAAC;AAwUjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkeT,OAAO,IAA6B;;yBAtBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACZ,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCArX5B,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyYxD;AAoCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAhbT,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAubvD,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"}
|
|
@@ -5,6 +5,7 @@ declare const QSelect: {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
for?: string;
|
|
8
|
+
labelPosition?: import('..').QLabelPosition;
|
|
8
9
|
} & {
|
|
9
10
|
size?: import('..').QFieldSize;
|
|
10
11
|
readonly?: boolean;
|
|
@@ -53,6 +54,7 @@ declare const QSelect: {
|
|
|
53
54
|
readonly label?: string | undefined;
|
|
54
55
|
readonly required?: boolean | undefined;
|
|
55
56
|
readonly for?: string | undefined;
|
|
57
|
+
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
56
58
|
readonly size?: import('..').QFieldSize | undefined;
|
|
57
59
|
readonly readonly?: boolean | undefined;
|
|
58
60
|
readonly disabled?: boolean | undefined;
|
|
@@ -78,6 +80,7 @@ declare const QSelect: {
|
|
|
78
80
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
79
81
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
80
82
|
size: import('..').QFieldSize;
|
|
83
|
+
labelPosition: import('..').QLabelPosition;
|
|
81
84
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
82
85
|
beforeCreate?: (() => void) | (() => void)[];
|
|
83
86
|
created?: (() => void) | (() => void)[];
|
|
@@ -100,7 +103,8 @@ declare const QSelect: {
|
|
|
100
103
|
$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;
|
|
101
104
|
} & Readonly<{
|
|
102
105
|
size: import('..').QFieldSize;
|
|
103
|
-
|
|
106
|
+
labelPosition: import('..').QLabelPosition;
|
|
107
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
|
|
104
108
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
105
109
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
106
110
|
$slots: {
|
|
@@ -385,6 +389,7 @@ declare const QSelect: {
|
|
|
385
389
|
label?: string;
|
|
386
390
|
required?: boolean;
|
|
387
391
|
for?: string;
|
|
392
|
+
labelPosition?: import('..').QLabelPosition;
|
|
388
393
|
} & {
|
|
389
394
|
size?: import('..').QFieldSize;
|
|
390
395
|
readonly?: boolean;
|
|
@@ -426,6 +431,7 @@ declare const QSelect: {
|
|
|
426
431
|
label?: string;
|
|
427
432
|
required?: boolean;
|
|
428
433
|
for?: string;
|
|
434
|
+
labelPosition?: import('..').QLabelPosition;
|
|
429
435
|
} & {
|
|
430
436
|
size?: import('..').QFieldSize;
|
|
431
437
|
readonly?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPxzzB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as L, mergeModels as g, useModel as S, toRef as c, computed as w, createElementBlock as r, openBlock as i, withModifiers as B, createBlock as V, createCommentVNode as d, createElementVNode as a, unref as n, withCtx as z, createTextVNode as u, toDisplayString as h, normalizeStyle as M, normalizeClass as x, withDirectives as D, mergeProps as I, vModelCheckbox as N, Fragment as _ } from "vue";
|
|
2
|
-
import { QLabel as
|
|
3
|
-
import { useId as
|
|
2
|
+
import { QLabel as P } from "../QLabel/index.js";
|
|
3
|
+
import { useId as E } from "../../composables/uid.js";
|
|
4
4
|
import { useColor as q } from "../../composables/useColor/index.js";
|
|
5
|
-
const
|
|
5
|
+
const O = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" }, $ = {
|
|
6
6
|
class: "q-switch__label q-switch__label--off",
|
|
7
7
|
"aria-hidden": "true"
|
|
8
8
|
}, A = {
|
|
@@ -16,6 +16,7 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
|
|
|
16
16
|
class: {},
|
|
17
17
|
label: {},
|
|
18
18
|
required: { type: Boolean },
|
|
19
|
+
labelPosition: {},
|
|
19
20
|
trueLabel: { default: "On" },
|
|
20
21
|
falseLabel: { default: "Off" },
|
|
21
22
|
showStateLabels: { type: Boolean },
|
|
@@ -30,9 +31,9 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
|
|
|
30
31
|
}),
|
|
31
32
|
emits: ["update:modelValue"],
|
|
32
33
|
setup(m) {
|
|
33
|
-
const e = m, o = S(m, "modelValue"), v = (
|
|
34
|
-
e.readonly && (
|
|
35
|
-
}, b =
|
|
34
|
+
const e = m, o = S(m, "modelValue"), v = (l) => {
|
|
35
|
+
e.readonly && (l.preventDefault(), l.stopImmediatePropagation(), l.target.checked = !!o.value);
|
|
36
|
+
}, b = E(c(e, "id")), { style: f } = q(c(e, "checkedColor")), { style: p } = q(c(e, "uncheckedColor")), y = w(() => [
|
|
36
37
|
"q-switch",
|
|
37
38
|
e.size !== "medium" ? `q-switch--${e.size}` : void 0,
|
|
38
39
|
{
|
|
@@ -43,20 +44,20 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
|
|
|
43
44
|
},
|
|
44
45
|
e.class
|
|
45
46
|
]), C = w(() => {
|
|
46
|
-
var
|
|
47
|
+
var l, t, s, k;
|
|
47
48
|
return {
|
|
48
|
-
"--q-switch-checked-background": (
|
|
49
|
-
"--q-switch-on-checked-background": (
|
|
49
|
+
"--q-switch-checked-background": (l = f.value) == null ? void 0 : l.mainColor,
|
|
50
|
+
"--q-switch-on-checked-background": (t = f.value) == null ? void 0 : t.onMainColor,
|
|
50
51
|
"--q-switch-unchecked-background": (s = p.value) == null ? void 0 : s.mainColor,
|
|
51
52
|
"--q-switch-on-unchecked-background": (k = p.value) == null ? void 0 : k.onMainColor
|
|
52
53
|
};
|
|
53
54
|
});
|
|
54
|
-
return (
|
|
55
|
+
return (l, t) => (i(), r("div", {
|
|
55
56
|
class: "q-switch__container",
|
|
56
|
-
onClick:
|
|
57
|
+
onClick: t[1] || (t[1] = B(() => {
|
|
57
58
|
}, ["stop"]))
|
|
58
59
|
}, [
|
|
59
|
-
e.label ? (i(), V(n(
|
|
60
|
+
e.label ? (i(), V(n(P), {
|
|
60
61
|
key: 0,
|
|
61
62
|
for: n(b),
|
|
62
63
|
required: e.required
|
|
@@ -80,13 +81,13 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
|
|
|
80
81
|
[
|
|
81
82
|
D(a("input", I({
|
|
82
83
|
id: n(b),
|
|
83
|
-
"onUpdate:modelValue":
|
|
84
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
|
|
84
85
|
class: "q-switch__input",
|
|
85
86
|
type: "checkbox",
|
|
86
87
|
role: "switch",
|
|
87
88
|
"aria-checked": o.value,
|
|
88
89
|
disabled: e.disabled
|
|
89
|
-
},
|
|
90
|
+
}, l.$attrs, { onInput: v }), null, 16, O), [
|
|
90
91
|
[N, o.value]
|
|
91
92
|
]),
|
|
92
93
|
a("div", Q, [
|
|
@@ -2,7 +2,7 @@ import { defineComponent as b, mergeModels as h, useModel as z, computed as t, w
|
|
|
2
2
|
import { QField as C } from "../QField/index.js";
|
|
3
3
|
import { useId as H } from "../../composables/uid.js";
|
|
4
4
|
import { useTextareaAutosize as L } from "../../vendors/@vueuse/core/index.js";
|
|
5
|
-
const
|
|
5
|
+
const P = ["id", "required", "placeholder", "readonly", "disabled", "maxlength", "rows", "cols", "resize", "wrap"], D = /* @__PURE__ */ b({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "QTextArea",
|
|
8
8
|
props: /* @__PURE__ */ h({
|
|
@@ -11,6 +11,7 @@ const T = ["id", "required", "placeholder", "readonly", "disabled", "maxlength",
|
|
|
11
11
|
label: {},
|
|
12
12
|
required: { type: Boolean },
|
|
13
13
|
for: {},
|
|
14
|
+
labelPosition: {},
|
|
14
15
|
size: {},
|
|
15
16
|
readonly: { type: Boolean },
|
|
16
17
|
disabled: { type: Boolean },
|
|
@@ -73,7 +74,7 @@ const T = ["id", "required", "placeholder", "readonly", "disabled", "maxlength",
|
|
|
73
74
|
cols: e.cols,
|
|
74
75
|
resize: e.resize,
|
|
75
76
|
wrap: e.wrap
|
|
76
|
-
}, l.$attrs, R(f.value, !0)), null, 16,
|
|
77
|
+
}, l.$attrs, R(f.value, !0)), null, 16, P), [
|
|
77
78
|
[A, d.value]
|
|
78
79
|
])
|
|
79
80
|
]),
|
|
@@ -5,6 +5,7 @@ declare const QTextArea: {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
for?: string;
|
|
8
|
+
labelPosition?: import('..').QLabelPosition;
|
|
8
9
|
} & {
|
|
9
10
|
size?: import('..').QFieldSize;
|
|
10
11
|
readonly?: boolean;
|
|
@@ -42,6 +43,7 @@ declare const QTextArea: {
|
|
|
42
43
|
label?: string;
|
|
43
44
|
required?: boolean;
|
|
44
45
|
for?: string;
|
|
46
|
+
labelPosition?: import('..').QLabelPosition;
|
|
45
47
|
} & {
|
|
46
48
|
size?: import('..').QFieldSize;
|
|
47
49
|
readonly?: boolean;
|
|
@@ -72,6 +74,7 @@ declare const QTextArea: {
|
|
|
72
74
|
label?: string;
|
|
73
75
|
required?: boolean;
|
|
74
76
|
for?: string;
|
|
77
|
+
labelPosition?: import('..').QLabelPosition;
|
|
75
78
|
} & {
|
|
76
79
|
size?: import('..').QFieldSize;
|
|
77
80
|
readonly?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA;AAGpB,cAAc,SAAS,CAAA"}
|
|
@@ -22,6 +22,7 @@ declare function __VLS_template(): {
|
|
|
22
22
|
readonly label?: string | undefined;
|
|
23
23
|
readonly required?: boolean | undefined;
|
|
24
24
|
readonly for?: string | undefined;
|
|
25
|
+
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
25
26
|
readonly size?: import('..').QFieldSize | undefined;
|
|
26
27
|
readonly readonly?: boolean | undefined;
|
|
27
28
|
readonly disabled?: boolean | undefined;
|
|
@@ -47,6 +48,7 @@ declare function __VLS_template(): {
|
|
|
47
48
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
48
49
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
49
50
|
size: import('..').QFieldSize;
|
|
51
|
+
labelPosition: import('..').QLabelPosition;
|
|
50
52
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
51
53
|
beforeCreate?: (() => void) | (() => void)[];
|
|
52
54
|
created?: (() => void) | (() => void)[];
|
|
@@ -69,7 +71,8 @@ declare function __VLS_template(): {
|
|
|
69
71
|
$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;
|
|
70
72
|
} & Readonly<{
|
|
71
73
|
size: import('..').QFieldSize;
|
|
72
|
-
|
|
74
|
+
labelPosition: import('..').QLabelPosition;
|
|
75
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
|
|
73
76
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
74
77
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
75
78
|
$slots: {
|
|
@@ -109,6 +112,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
109
112
|
readonly label?: string | undefined;
|
|
110
113
|
readonly required?: boolean | undefined;
|
|
111
114
|
readonly for?: string | undefined;
|
|
115
|
+
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
112
116
|
readonly size?: import('..').QFieldSize | undefined;
|
|
113
117
|
readonly readonly?: boolean | undefined;
|
|
114
118
|
readonly disabled?: boolean | undefined;
|
|
@@ -134,6 +138,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
134
138
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
135
139
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
136
140
|
size: import('..').QFieldSize;
|
|
141
|
+
labelPosition: import('..').QLabelPosition;
|
|
137
142
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
138
143
|
beforeCreate?: (() => void) | (() => void)[];
|
|
139
144
|
created?: (() => void) | (() => void)[];
|
|
@@ -156,7 +161,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
156
161
|
$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;
|
|
157
162
|
} & Readonly<{
|
|
158
163
|
size: import('..').QFieldSize;
|
|
159
|
-
|
|
164
|
+
labelPosition: import('..').QLabelPosition;
|
|
165
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
|
|
160
166
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
161
167
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
162
168
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QTextField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/QTextField.vue"],"names":[],"mappings":"AAoDA;AAgIC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,KAAK,WAAW,GAAG,eAAe,CAAC;AAoEpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmIT,OAAO,IAA6B;;iCAjBb,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACH,GAAG;wBACH,GAAG
|
|
1
|
+
{"version":3,"file":"QTextField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/QTextField.vue"],"names":[],"mappings":"AAoDA;AAgIC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,KAAK,WAAW,GAAG,eAAe,CAAC;AAoEpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmIT,OAAO,IAA6B;;iCAjBb,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACH,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqEurc,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;EAnD50c;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+Bksc,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;OArB30c,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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as C, mergeModels as y, useModel as R, computed as
|
|
2
|
-
import { QField as
|
|
3
|
-
import { QClearButton as
|
|
4
|
-
import { useId as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as C, mergeModels as y, useModel as R, computed as o, watch as V, toRef as z, ref as b, createBlock as h, openBlock as v, unref as r, normalizeClass as M, createSlots as w, withCtx as a, withDirectives as L, createElementVNode as Q, mergeProps as D, vModelDynamic as F, renderSlot as n, createCommentVNode as N } from "vue";
|
|
2
|
+
import { QField as P } from "../QField/index.js";
|
|
3
|
+
import { QClearButton as S } from "../__internal__/QClearButton/index.js";
|
|
4
|
+
import { useId as _ } from "../../composables/uid.js";
|
|
5
|
+
const A = ["id", "type", "maxlength", "required", "placeholder", "readonly", "disabled"], j = /* @__PURE__ */ C({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "QTextField",
|
|
8
8
|
props: /* @__PURE__ */ y({
|
|
@@ -11,6 +11,7 @@ const E = ["id", "type", "maxlength", "required", "placeholder", "readonly", "di
|
|
|
11
11
|
label: {},
|
|
12
12
|
required: { type: Boolean },
|
|
13
13
|
for: {},
|
|
14
|
+
labelPosition: {},
|
|
14
15
|
size: {},
|
|
15
16
|
readonly: { type: Boolean },
|
|
16
17
|
disabled: { type: Boolean },
|
|
@@ -25,28 +26,28 @@ const E = ["id", "type", "maxlength", "required", "placeholder", "readonly", "di
|
|
|
25
26
|
modelModifiers: {}
|
|
26
27
|
}),
|
|
27
28
|
emits: /* @__PURE__ */ y(["click:clear"], ["update:modelValue"]),
|
|
28
|
-
setup(
|
|
29
|
-
const e =
|
|
29
|
+
setup(s, { expose: x, emit: k }) {
|
|
30
|
+
const e = s, q = k, t = R(s, "modelValue"), i = o({
|
|
30
31
|
get: () => t.value,
|
|
31
32
|
set: (l) => {
|
|
32
33
|
const d = e.maxLength;
|
|
33
34
|
t.value = d ? l == null ? void 0 : l.slice(0, d) : l;
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
|
-
V(t, (l) =>
|
|
37
|
-
const p =
|
|
37
|
+
V(t, (l) => i.value = l, { immediate: !0 });
|
|
38
|
+
const p = _(z(e, "id")), u = b(null), f = b(null), g = o(
|
|
38
39
|
() => e.readonly || e.disabled ? void 0 : e.placeholder
|
|
39
|
-
), m =
|
|
40
|
+
), m = o(() => e.clearable && !e.readonly && !e.disabled), c = o(() => m.value && t.value);
|
|
40
41
|
function B(l) {
|
|
41
42
|
m.value && (t.value = "", q("click:clear", l));
|
|
42
43
|
}
|
|
43
44
|
return x({
|
|
44
|
-
fieldRef:
|
|
45
|
+
fieldRef: o(() => {
|
|
45
46
|
var l;
|
|
46
47
|
return (l = u.value) == null ? void 0 : l.fieldRef;
|
|
47
48
|
}),
|
|
48
49
|
inputRef: f
|
|
49
|
-
}), (l, d) => (v(), h(r(
|
|
50
|
+
}), (l, d) => (v(), h(r(P), {
|
|
50
51
|
ref_key: "fieldRef",
|
|
51
52
|
ref: u,
|
|
52
53
|
class: M(["q-text-field", e.class]),
|
|
@@ -59,17 +60,17 @@ const E = ["id", "type", "maxlength", "required", "placeholder", "readonly", "di
|
|
|
59
60
|
invalid: e.invalid
|
|
60
61
|
}, w({
|
|
61
62
|
"label.prepend": a(() => [
|
|
62
|
-
|
|
63
|
+
n(l.$slots, "label.prepend")
|
|
63
64
|
]),
|
|
64
65
|
"label.append": a(() => [
|
|
65
|
-
|
|
66
|
+
n(l.$slots, "label.append")
|
|
66
67
|
]),
|
|
67
68
|
default: a(() => [
|
|
68
69
|
L(Q("input", D({
|
|
69
70
|
id: r(p),
|
|
70
71
|
ref_key: "inputRef",
|
|
71
72
|
ref: f,
|
|
72
|
-
"onUpdate:modelValue": d[0] || (d[0] = ($) =>
|
|
73
|
+
"onUpdate:modelValue": d[0] || (d[0] = ($) => i.value = $),
|
|
73
74
|
class: "q-text-field__input",
|
|
74
75
|
type: e.type,
|
|
75
76
|
maxlength: e.maxLength,
|
|
@@ -77,8 +78,8 @@ const E = ["id", "type", "maxlength", "required", "placeholder", "readonly", "di
|
|
|
77
78
|
placeholder: g.value,
|
|
78
79
|
readonly: e.readonly,
|
|
79
80
|
disabled: e.disabled
|
|
80
|
-
}, l.$attrs), null, 16,
|
|
81
|
-
[F,
|
|
81
|
+
}, l.$attrs), null, 16, A), [
|
|
82
|
+
[F, i.value]
|
|
82
83
|
])
|
|
83
84
|
]),
|
|
84
85
|
_: 2
|
|
@@ -87,15 +88,15 @@ const E = ["id", "type", "maxlength", "required", "placeholder", "readonly", "di
|
|
|
87
88
|
l.$slots.prepend ? {
|
|
88
89
|
name: "prepend",
|
|
89
90
|
fn: a(() => [
|
|
90
|
-
|
|
91
|
+
n(l.$slots, "prepend")
|
|
91
92
|
]),
|
|
92
93
|
key: "0"
|
|
93
94
|
} : void 0,
|
|
94
95
|
l.$slots.append || c.value ? {
|
|
95
96
|
name: "append",
|
|
96
97
|
fn: a(() => [
|
|
97
|
-
|
|
98
|
-
c.value ? (v(), h(r(
|
|
98
|
+
n(l.$slots, "append"),
|
|
99
|
+
c.value ? (v(), h(r(S), {
|
|
99
100
|
key: 0,
|
|
100
101
|
"data-testid": "q-text-field__clear-button",
|
|
101
102
|
texts: e.texts,
|
|
@@ -107,7 +108,7 @@ const E = ["id", "type", "maxlength", "required", "placeholder", "readonly", "di
|
|
|
107
108
|
l.$slots.extras ? {
|
|
108
109
|
name: "extras",
|
|
109
110
|
fn: a(() => [
|
|
110
|
-
|
|
111
|
+
n(l.$slots, "extras")
|
|
111
112
|
]),
|
|
112
113
|
key: "2"
|
|
113
114
|
} : void 0
|
|
@@ -5,6 +5,7 @@ declare const QTextField: {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
for?: string;
|
|
8
|
+
labelPosition?: import('..').QLabelPosition;
|
|
8
9
|
} & {
|
|
9
10
|
size?: import('..').QFieldSize;
|
|
10
11
|
readonly?: boolean;
|
|
@@ -39,6 +40,7 @@ declare const QTextField: {
|
|
|
39
40
|
readonly label?: string | undefined;
|
|
40
41
|
readonly required?: boolean | undefined;
|
|
41
42
|
readonly for?: string | undefined;
|
|
43
|
+
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
42
44
|
readonly size?: import('..').QFieldSize | undefined;
|
|
43
45
|
readonly readonly?: boolean | undefined;
|
|
44
46
|
readonly disabled?: boolean | undefined;
|
|
@@ -64,6 +66,7 @@ declare const QTextField: {
|
|
|
64
66
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
65
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
66
68
|
size: import('..').QFieldSize;
|
|
69
|
+
labelPosition: import('..').QLabelPosition;
|
|
67
70
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
68
71
|
beforeCreate?: (() => void) | (() => void)[];
|
|
69
72
|
created?: (() => void) | (() => void)[];
|
|
@@ -86,7 +89,8 @@ declare const QTextField: {
|
|
|
86
89
|
$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;
|
|
87
90
|
} & Readonly<{
|
|
88
91
|
size: import('..').QFieldSize;
|
|
89
|
-
|
|
92
|
+
labelPosition: import('..').QLabelPosition;
|
|
93
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
|
|
90
94
|
fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
91
95
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
92
96
|
$slots: {
|
|
@@ -113,6 +117,7 @@ declare const QTextField: {
|
|
|
113
117
|
label?: string;
|
|
114
118
|
required?: boolean;
|
|
115
119
|
for?: string;
|
|
120
|
+
labelPosition?: import('..').QLabelPosition;
|
|
116
121
|
} & {
|
|
117
122
|
size?: import('..').QFieldSize;
|
|
118
123
|
readonly?: boolean;
|
|
@@ -143,6 +148,7 @@ declare const QTextField: {
|
|
|
143
148
|
label?: string;
|
|
144
149
|
required?: boolean;
|
|
145
150
|
for?: string;
|
|
151
|
+
labelPosition?: import('..').QLabelPosition;
|
|
146
152
|
} & {
|
|
147
153
|
size?: import('..').QFieldSize;
|
|
148
154
|
readonly?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO4szB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPnyzB,CAAA;AAG/C,OAAO,EAAE,UAAU,EAAE,CAAA;AAGrB,cAAc,SAAS,CAAA"}
|
|
@@ -85,8 +85,8 @@ export declare function useDialog(): {
|
|
|
85
85
|
} | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
handlers?: {
|
|
88
|
-
onEnter
|
|
89
|
-
onLeave
|
|
88
|
+
onEnter?: (() => void) | undefined;
|
|
89
|
+
onLeave?: (() => boolean | void) | undefined;
|
|
90
90
|
} | undefined;
|
|
91
91
|
}[];
|
|
92
92
|
};
|