@quidgest/ui 0.15.8 → 0.15.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.esm.js +13 -13
- package/dist/ui.js +6 -6
- package/dist/ui.min.js +7 -7
- package/dist/ui.scss +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +36 -39
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +71 -71
- package/esm/components/QCombobox/index.d.ts +36 -54
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -9
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -3
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +37 -38
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +24 -24
- package/esm/components/QDropdownMenu/index.d.ts +2 -2
- package/esm/components/QList/QList.d.ts +7 -8
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +46 -46
- package/esm/components/QList/QListItem.vue.js +19 -19
- package/esm/components/QList/index.d.ts +17 -17
- package/esm/components/QList/types.d.ts +3 -4
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts +3 -4
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +7 -7
- package/esm/components/QRadioGroup/index.d.ts +8 -8
- package/esm/components/QSelect/QSelect.d.ts +36 -39
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +49 -49
- package/esm/components/QSelect/index.d.ts +36 -54
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -9
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as g, mergeModels as p, useModel as q, createElementBlock as a, openBlock as i, withModifiers as B, normalizeClass as V, unref as o, renderSlot as d, createElementVNode as c, createCommentVNode as s, createBlock as u, createTextVNode as C, normalizeProps as f, mergeProps as _, toDisplayString as
|
|
2
|
-
import { DEFAULT_ICONS as
|
|
1
|
+
import { defineComponent as g, mergeModels as p, useModel as q, createElementBlock as a, openBlock as i, withModifiers as B, normalizeClass as V, unref as o, renderSlot as d, createElementVNode as c, createCommentVNode as s, createBlock as u, createTextVNode as C, normalizeProps as f, mergeProps as _, toDisplayString as h, createVNode as N, guardReactiveProps as D } from "vue";
|
|
2
|
+
import { DEFAULT_ICONS as E } from "./types.js";
|
|
3
3
|
import { QIcon as r } from "../QIcon/index.js";
|
|
4
|
-
import { useId as
|
|
5
|
-
const
|
|
4
|
+
import { useId as I } from "../../composables/uid.js";
|
|
5
|
+
const M = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], P = { class: "q-list-item__container" }, w = { class: "q-list-item__content" }, S = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "q-list-item__description"
|
|
8
8
|
}, T = {
|
|
@@ -11,29 +11,29 @@ const I = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], M = { c
|
|
|
11
11
|
}, Q = /* @__PURE__ */ g({
|
|
12
12
|
__name: "QListItem",
|
|
13
13
|
props: /* @__PURE__ */ p({
|
|
14
|
-
value: {
|
|
14
|
+
value: {},
|
|
15
15
|
label: {},
|
|
16
16
|
icon: {},
|
|
17
17
|
selectable: { type: Boolean },
|
|
18
18
|
highlighted: { type: Boolean },
|
|
19
19
|
disabled: { type: Boolean },
|
|
20
20
|
description: {},
|
|
21
|
-
icons: { default: () =>
|
|
21
|
+
icons: { default: () => E }
|
|
22
22
|
}, {
|
|
23
23
|
modelValue: { type: Boolean },
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
26
|
emits: /* @__PURE__ */ p(["click"], ["update:modelValue"]),
|
|
27
|
-
setup(m, { emit:
|
|
28
|
-
const e = m,
|
|
27
|
+
setup(m, { emit: k }) {
|
|
28
|
+
const e = m, b = k, l = q(m, "modelValue"), v = I();
|
|
29
29
|
function n() {
|
|
30
|
-
e.disabled || (
|
|
30
|
+
e.disabled || (b("click"), e.selectable && (l.value = !0));
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function y(t) {
|
|
33
33
|
t.key === "Tab" && n(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), n());
|
|
34
34
|
}
|
|
35
35
|
return (t, $) => (i(), a("li", {
|
|
36
|
-
id: o(
|
|
36
|
+
id: o(v),
|
|
37
37
|
"data-key": e.value,
|
|
38
38
|
role: "option",
|
|
39
39
|
tabindex: e.disabled ? void 0 : -2,
|
|
@@ -47,12 +47,12 @@ const I = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], M = { c
|
|
|
47
47
|
]),
|
|
48
48
|
"aria-label": e.label,
|
|
49
49
|
"aria-selected": e.disabled ? void 0 : l.value,
|
|
50
|
-
onKeydown:
|
|
50
|
+
onKeydown: y,
|
|
51
51
|
onClick: B(n, ["stop", "prevent"])
|
|
52
52
|
}, [
|
|
53
53
|
d(t.$slots, "prepend"),
|
|
54
|
-
c("div",
|
|
55
|
-
c("div",
|
|
54
|
+
c("div", P, [
|
|
55
|
+
c("div", w, [
|
|
56
56
|
d(t.$slots, "default", {}, () => [
|
|
57
57
|
e.icon ? (i(), u(
|
|
58
58
|
o(r),
|
|
@@ -62,16 +62,16 @@ const I = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], M = { c
|
|
|
62
62
|
/* FULL_PROPS */
|
|
63
63
|
)) : s("v-if", !0),
|
|
64
64
|
C(
|
|
65
|
-
" " +
|
|
65
|
+
" " + h(e.label),
|
|
66
66
|
1
|
|
67
67
|
/* TEXT */
|
|
68
68
|
)
|
|
69
69
|
])
|
|
70
70
|
]),
|
|
71
|
-
e.description ? (i(), a("div",
|
|
71
|
+
e.description ? (i(), a("div", S, [
|
|
72
72
|
N(
|
|
73
73
|
o(r),
|
|
74
|
-
f(
|
|
74
|
+
f(D(e.icons.description)),
|
|
75
75
|
null,
|
|
76
76
|
16
|
|
77
77
|
/* FULL_PROPS */
|
|
@@ -79,7 +79,7 @@ const I = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], M = { c
|
|
|
79
79
|
c(
|
|
80
80
|
"span",
|
|
81
81
|
null,
|
|
82
|
-
|
|
82
|
+
h(e.description),
|
|
83
83
|
1
|
|
84
84
|
/* TEXT */
|
|
85
85
|
)
|
|
@@ -95,7 +95,7 @@ const I = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], M = { c
|
|
|
95
95
|
/* FULL_PROPS */
|
|
96
96
|
)) : s("v-if", !0)
|
|
97
97
|
])) : s("v-if", !0)
|
|
98
|
-
], 42,
|
|
98
|
+
], 42, M));
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { QListProps, QListItemProps, QListItemGroupProps } from './types';
|
|
2
2
|
declare const QList: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
-
modelValue?:
|
|
4
|
+
modelValue?: any;
|
|
5
5
|
} & import('../../types/component').QBaseComponentProps & {
|
|
6
|
-
highlighted?:
|
|
6
|
+
highlighted?: any;
|
|
7
7
|
items?: import('./types').Item[];
|
|
8
8
|
groups?: import('./types').Group[];
|
|
9
9
|
itemValue?: string;
|
|
@@ -11,17 +11,17 @@ declare const QList: {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
selectable?: boolean;
|
|
13
13
|
}> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value:
|
|
15
|
-
onClick?: ((key:
|
|
14
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
15
|
+
onClick?: ((key: any) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
18
18
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
19
19
|
getFirstFocusableItemIndex: () => number;
|
|
20
20
|
getLastFocusableItemIndex: () => number;
|
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value:
|
|
22
|
+
"update:modelValue": (value: any) => any;
|
|
23
23
|
} & {
|
|
24
|
-
click: (key:
|
|
24
|
+
click: (key: any) => any;
|
|
25
25
|
}, import('vue').PublicProps, {
|
|
26
26
|
groups: import('./types').Group[];
|
|
27
27
|
itemValue: string;
|
|
@@ -33,7 +33,7 @@ declare const QList: {
|
|
|
33
33
|
$data: {};
|
|
34
34
|
$props: {
|
|
35
35
|
readonly modelValue?: boolean | undefined;
|
|
36
|
-
readonly value:
|
|
36
|
+
readonly value: any;
|
|
37
37
|
readonly label: string;
|
|
38
38
|
readonly icon?: import('..').Icon | undefined;
|
|
39
39
|
readonly selectable?: boolean | undefined;
|
|
@@ -111,9 +111,9 @@ declare const QList: {
|
|
|
111
111
|
M: {};
|
|
112
112
|
Defaults: {};
|
|
113
113
|
}, Readonly<{
|
|
114
|
-
modelValue?:
|
|
114
|
+
modelValue?: any;
|
|
115
115
|
} & import('../../types/component').QBaseComponentProps & {
|
|
116
|
-
highlighted?:
|
|
116
|
+
highlighted?: any;
|
|
117
117
|
items?: import('./types').Item[];
|
|
118
118
|
groups?: import('./types').Group[];
|
|
119
119
|
itemValue?: string;
|
|
@@ -121,8 +121,8 @@ declare const QList: {
|
|
|
121
121
|
disabled?: boolean;
|
|
122
122
|
selectable?: boolean;
|
|
123
123
|
}> & Readonly<{
|
|
124
|
-
"onUpdate:modelValue"?: ((value:
|
|
125
|
-
onClick?: ((key:
|
|
124
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
|
+
onClick?: ((key: any) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
127
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
128
128
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -137,9 +137,9 @@ declare const QList: {
|
|
|
137
137
|
__isTeleport?: never;
|
|
138
138
|
__isSuspense?: never;
|
|
139
139
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
140
|
-
modelValue?:
|
|
140
|
+
modelValue?: any;
|
|
141
141
|
} & import('../../types/component').QBaseComponentProps & {
|
|
142
|
-
highlighted?:
|
|
142
|
+
highlighted?: any;
|
|
143
143
|
items?: import('./types').Item[];
|
|
144
144
|
groups?: import('./types').Group[];
|
|
145
145
|
itemValue?: string;
|
|
@@ -147,17 +147,17 @@ declare const QList: {
|
|
|
147
147
|
disabled?: boolean;
|
|
148
148
|
selectable?: boolean;
|
|
149
149
|
}> & Readonly<{
|
|
150
|
-
"onUpdate:modelValue"?: ((value:
|
|
151
|
-
onClick?: ((key:
|
|
150
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
151
|
+
onClick?: ((key: any) => any) | undefined;
|
|
152
152
|
}>, {
|
|
153
153
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
154
154
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
155
155
|
getFirstFocusableItemIndex: () => number;
|
|
156
156
|
getLastFocusableItemIndex: () => number;
|
|
157
157
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
158
|
-
"update:modelValue": (value:
|
|
158
|
+
"update:modelValue": (value: any) => any;
|
|
159
159
|
} & {
|
|
160
|
-
click: (key:
|
|
160
|
+
click: (key: any) => any;
|
|
161
161
|
}, string, {
|
|
162
162
|
groups: import('./types').Group[];
|
|
163
163
|
itemValue: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Icon } from '../QIcon';
|
|
2
|
-
import { Primitive } from '../../types/primitive';
|
|
3
1
|
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
+
import { Icon } from '../QIcon';
|
|
4
3
|
export type Item = Omit<QListItemProps, 'value' | 'label'> & {
|
|
5
4
|
[key: string]: any;
|
|
6
5
|
};
|
|
@@ -14,7 +13,7 @@ export type QListProps = QBaseComponentProps & {
|
|
|
14
13
|
/**
|
|
15
14
|
* The value of the currently highlighted item.
|
|
16
15
|
*/
|
|
17
|
-
highlighted?:
|
|
16
|
+
highlighted?: any;
|
|
18
17
|
/**
|
|
19
18
|
* The list of available items for selection.
|
|
20
19
|
*/
|
|
@@ -44,7 +43,7 @@ export type QListItemProps = {
|
|
|
44
43
|
/**
|
|
45
44
|
* The value of the item.
|
|
46
45
|
*/
|
|
47
|
-
value:
|
|
46
|
+
value: any;
|
|
48
47
|
/**
|
|
49
48
|
* The label of the item.
|
|
50
49
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;OAEG;IAEH,WAAW,CAAC,EAAE,GAAG,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IAEH,KAAK,EAAE,GAAG,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Primitive } from '../../types/primitive';
|
|
2
1
|
import { QRadioGroupProps } from './types';
|
|
3
2
|
type __VLS_Props = QRadioGroupProps;
|
|
4
3
|
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?:
|
|
4
|
+
modelValue?: any;
|
|
6
5
|
} & __VLS_Props;
|
|
7
6
|
declare function __VLS_template(): {
|
|
8
7
|
attrs: Partial<{}>;
|
|
@@ -15,9 +14,9 @@ declare function __VLS_template(): {
|
|
|
15
14
|
};
|
|
16
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (value:
|
|
17
|
+
"update:modelValue": (value: any) => any;
|
|
19
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value:
|
|
19
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
21
20
|
}>, {
|
|
22
21
|
size: import('./types').QRadioButtonSize;
|
|
23
22
|
orientation: import('./types').QRadioButtonOrientation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QRadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/QRadioGroup.vue"],"names":[],"mappings":"AAsBA;
|
|
1
|
+
{"version":3,"file":"QRadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/QRadioGroup.vue"],"names":[],"mappings":"AAsBA;AA+FC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAsDrC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAZrB,GAAG;wBACJ,GAAG;;;;EAgB9B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;6EAQnB,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 b, mergeModels as y, useModel as g, watch as
|
|
1
|
+
import { defineComponent as b, mergeModels as y, useModel as g, watch as q, computed as d, toRef as r, createElementBlock as n, openBlock as a, normalizeClass as B, createBlock as _, createCommentVNode as u, createElementVNode as h, unref as l, mergeProps as z, renderSlot as m } from "vue";
|
|
2
2
|
import { QLabel as k } from "../QLabel/index.js";
|
|
3
3
|
import { provideDefaults as V } from "../../composables/defaults.js";
|
|
4
4
|
import { useGroup as $ } from "../../composables/group.js";
|
|
@@ -6,7 +6,7 @@ import { useId as c } from "../../composables/uid.js";
|
|
|
6
6
|
const C = ["id"], M = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "q-field__extras"
|
|
9
|
-
},
|
|
9
|
+
}, x = /* @__PURE__ */ b({
|
|
10
10
|
inheritAttrs: !1,
|
|
11
11
|
__name: "QRadioGroup",
|
|
12
12
|
props: /* @__PURE__ */ y({
|
|
@@ -22,13 +22,13 @@ const C = ["id"], M = {
|
|
|
22
22
|
invalid: { type: Boolean },
|
|
23
23
|
name: {}
|
|
24
24
|
}, {
|
|
25
|
-
modelValue: {
|
|
25
|
+
modelValue: {},
|
|
26
26
|
modelModifiers: {}
|
|
27
27
|
}),
|
|
28
28
|
emits: ["update:modelValue"],
|
|
29
29
|
setup(t) {
|
|
30
30
|
const e = t, i = g(t, "modelValue"), { active: p } = $({ active: i });
|
|
31
|
-
|
|
31
|
+
q(p, (o) => {
|
|
32
32
|
i.value = o;
|
|
33
33
|
});
|
|
34
34
|
const s = c(e.id), f = d(() => c(e.name)), v = d(() => [
|
|
@@ -46,10 +46,10 @@ const C = ["id"], M = {
|
|
|
46
46
|
invalid: r(e, "invalid"),
|
|
47
47
|
name: f
|
|
48
48
|
}
|
|
49
|
-
}), (o,
|
|
49
|
+
}), (o, Q) => (a(), n(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
|
-
class:
|
|
52
|
+
class: B(v.value)
|
|
53
53
|
},
|
|
54
54
|
[
|
|
55
55
|
e.label ? (a(), _(l(k), {
|
|
@@ -75,5 +75,5 @@ const C = ["id"], M = {
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
export {
|
|
78
|
-
|
|
78
|
+
x as default
|
|
79
79
|
};
|
|
@@ -30,7 +30,7 @@ declare const QRadioButton: {
|
|
|
30
30
|
});
|
|
31
31
|
declare const QRadioGroup: {
|
|
32
32
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
33
|
-
modelValue?:
|
|
33
|
+
modelValue?: any;
|
|
34
34
|
} & import('../../types/component').QBaseComponentProps & {
|
|
35
35
|
label?: string;
|
|
36
36
|
for?: string;
|
|
@@ -43,9 +43,9 @@ declare const QRadioGroup: {
|
|
|
43
43
|
invalid?: boolean;
|
|
44
44
|
name?: string;
|
|
45
45
|
}> & Readonly<{
|
|
46
|
-
"onUpdate:modelValue"?: ((value:
|
|
46
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
47
47
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
-
"update:modelValue": (value:
|
|
48
|
+
"update:modelValue": (value: any) => any;
|
|
49
49
|
}, import('vue').PublicProps, {
|
|
50
50
|
size: import('./types').QRadioButtonSize;
|
|
51
51
|
orientation: import('./types').QRadioButtonOrientation;
|
|
@@ -57,7 +57,7 @@ declare const QRadioGroup: {
|
|
|
57
57
|
M: {};
|
|
58
58
|
Defaults: {};
|
|
59
59
|
}, Readonly<{
|
|
60
|
-
modelValue?:
|
|
60
|
+
modelValue?: any;
|
|
61
61
|
} & import('../../types/component').QBaseComponentProps & {
|
|
62
62
|
label?: string;
|
|
63
63
|
for?: string;
|
|
@@ -70,7 +70,7 @@ declare const QRadioGroup: {
|
|
|
70
70
|
invalid?: boolean;
|
|
71
71
|
name?: string;
|
|
72
72
|
}> & Readonly<{
|
|
73
|
-
"onUpdate:modelValue"?: ((value:
|
|
73
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
74
74
|
}>, {}, {}, {}, {}, {
|
|
75
75
|
size: import('./types').QRadioButtonSize;
|
|
76
76
|
orientation: import('./types').QRadioButtonOrientation;
|
|
@@ -79,7 +79,7 @@ declare const QRadioGroup: {
|
|
|
79
79
|
__isTeleport?: never;
|
|
80
80
|
__isSuspense?: never;
|
|
81
81
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
82
|
-
modelValue?:
|
|
82
|
+
modelValue?: any;
|
|
83
83
|
} & import('../../types/component').QBaseComponentProps & {
|
|
84
84
|
label?: string;
|
|
85
85
|
for?: string;
|
|
@@ -92,9 +92,9 @@ declare const QRadioGroup: {
|
|
|
92
92
|
invalid?: boolean;
|
|
93
93
|
name?: string;
|
|
94
94
|
}> & Readonly<{
|
|
95
|
-
"onUpdate:modelValue"?: ((value:
|
|
95
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
96
96
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
97
|
-
"update:modelValue": (value:
|
|
97
|
+
"update:modelValue": (value: any) => any;
|
|
98
98
|
}, string, {
|
|
99
99
|
size: import('./types').QRadioButtonSize;
|
|
100
100
|
orientation: import('./types').QRadioButtonOrientation;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS, QSelectProps } from './types';
|
|
2
|
-
import { Primitive } from '../../types/primitive';
|
|
3
2
|
import { nextTick } from 'vue';
|
|
4
3
|
type __VLS_Props = QSelectProps;
|
|
5
4
|
type __VLS_PublicProps = {
|
|
6
|
-
modelValue?:
|
|
5
|
+
modelValue?: any;
|
|
7
6
|
} & __VLS_Props;
|
|
8
7
|
declare function __VLS_template(): {
|
|
9
8
|
attrs: Partial<{}>;
|
|
@@ -92,18 +91,18 @@ declare function __VLS_template(): {
|
|
|
92
91
|
$: import('vue').ComponentInternalInstance;
|
|
93
92
|
$data: {};
|
|
94
93
|
$props: {
|
|
95
|
-
readonly modelValue?:
|
|
94
|
+
readonly modelValue?: any;
|
|
96
95
|
readonly id?: string | undefined;
|
|
97
96
|
readonly class?: string | unknown[] | undefined;
|
|
98
|
-
readonly highlighted?:
|
|
97
|
+
readonly highlighted?: any;
|
|
99
98
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
100
99
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
101
100
|
readonly itemValue?: string | undefined;
|
|
102
101
|
readonly itemLabel?: string | undefined;
|
|
103
102
|
readonly disabled?: boolean | undefined;
|
|
104
103
|
readonly selectable?: boolean | undefined;
|
|
105
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
106
|
-
readonly onClick?: ((key:
|
|
104
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
105
|
+
readonly onClick?: ((key: any) => any) | undefined;
|
|
107
106
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
108
107
|
$attrs: {
|
|
109
108
|
[x: string]: unknown;
|
|
@@ -117,7 +116,7 @@ declare function __VLS_template(): {
|
|
|
117
116
|
$data: {};
|
|
118
117
|
$props: {
|
|
119
118
|
readonly modelValue?: boolean | undefined;
|
|
120
|
-
readonly value:
|
|
119
|
+
readonly value: any;
|
|
121
120
|
readonly label: string;
|
|
122
121
|
readonly icon?: import('..').Icon | undefined;
|
|
123
122
|
readonly selectable?: boolean | undefined;
|
|
@@ -194,12 +193,12 @@ declare function __VLS_template(): {
|
|
|
194
193
|
$root: import('vue').ComponentPublicInstance | null;
|
|
195
194
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
196
195
|
$host: Element | null;
|
|
197
|
-
$emit: ((event: "update:modelValue", value:
|
|
196
|
+
$emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
|
|
198
197
|
$el: any;
|
|
199
198
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
200
|
-
modelValue?:
|
|
199
|
+
modelValue?: any;
|
|
201
200
|
} & import('../../types/component').QBaseComponentProps & {
|
|
202
|
-
highlighted?:
|
|
201
|
+
highlighted?: any;
|
|
203
202
|
items?: import('../QList/types').Item[];
|
|
204
203
|
groups?: import('../QList/types').Group[];
|
|
205
204
|
itemValue?: string;
|
|
@@ -207,17 +206,17 @@ declare function __VLS_template(): {
|
|
|
207
206
|
disabled?: boolean;
|
|
208
207
|
selectable?: boolean;
|
|
209
208
|
}> & Readonly<{
|
|
210
|
-
"onUpdate:modelValue"?: ((value:
|
|
211
|
-
onClick?: ((key:
|
|
209
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
210
|
+
onClick?: ((key: any) => any) | undefined;
|
|
212
211
|
}>, {
|
|
213
212
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
214
213
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
215
214
|
getFirstFocusableItemIndex: () => number;
|
|
216
215
|
getLastFocusableItemIndex: () => number;
|
|
217
216
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
218
|
-
"update:modelValue": (value:
|
|
217
|
+
"update:modelValue": (value: any) => any;
|
|
219
218
|
} & {
|
|
220
|
-
click: (key:
|
|
219
|
+
click: (key: any) => any;
|
|
221
220
|
}, string, {
|
|
222
221
|
groups: import('../QList/types').Group[];
|
|
223
222
|
itemValue: string;
|
|
@@ -247,9 +246,9 @@ declare function __VLS_template(): {
|
|
|
247
246
|
itemValue: string;
|
|
248
247
|
itemLabel: string;
|
|
249
248
|
}> & Omit<Readonly<{
|
|
250
|
-
modelValue?:
|
|
249
|
+
modelValue?: any;
|
|
251
250
|
} & import('../../types/component').QBaseComponentProps & {
|
|
252
|
-
highlighted?:
|
|
251
|
+
highlighted?: any;
|
|
253
252
|
items?: import('../QList/types').Item[];
|
|
254
253
|
groups?: import('../QList/types').Group[];
|
|
255
254
|
itemValue?: string;
|
|
@@ -257,8 +256,8 @@ declare function __VLS_template(): {
|
|
|
257
256
|
disabled?: boolean;
|
|
258
257
|
selectable?: boolean;
|
|
259
258
|
}> & Readonly<{
|
|
260
|
-
"onUpdate:modelValue"?: ((value:
|
|
261
|
-
onClick?: ((key:
|
|
259
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
260
|
+
onClick?: ((key: any) => any) | undefined;
|
|
262
261
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
263
262
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
264
263
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -281,14 +280,14 @@ declare function __VLS_template(): {
|
|
|
281
280
|
};
|
|
282
281
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
283
282
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
284
|
-
"update:modelValue": (value:
|
|
283
|
+
"update:modelValue": (value: any) => any;
|
|
285
284
|
} & {
|
|
286
285
|
"before-show": () => any;
|
|
287
286
|
"before-hide": () => any;
|
|
288
287
|
show: () => any;
|
|
289
288
|
hide: () => any;
|
|
290
289
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
291
|
-
"onUpdate:modelValue"?: ((value:
|
|
290
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
292
291
|
"onBefore-show"?: (() => any) | undefined;
|
|
293
292
|
"onBefore-hide"?: (() => any) | undefined;
|
|
294
293
|
onShow?: (() => any) | undefined;
|
|
@@ -296,9 +295,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
296
295
|
}>, {
|
|
297
296
|
icons: typeof DEFAULT_ICONS;
|
|
298
297
|
texts: typeof DEFAULT_TEXTS;
|
|
299
|
-
groups:
|
|
300
|
-
id: string;
|
|
301
|
-
})[];
|
|
298
|
+
groups: import('../QList/types').Group[];
|
|
302
299
|
itemValue: string;
|
|
303
300
|
itemLabel: string;
|
|
304
301
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -376,18 +373,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
376
373
|
$: import('vue').ComponentInternalInstance;
|
|
377
374
|
$data: {};
|
|
378
375
|
$props: {
|
|
379
|
-
readonly modelValue?:
|
|
376
|
+
readonly modelValue?: any;
|
|
380
377
|
readonly id?: string | undefined;
|
|
381
378
|
readonly class?: string | unknown[] | undefined;
|
|
382
|
-
readonly highlighted?:
|
|
379
|
+
readonly highlighted?: any;
|
|
383
380
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
384
381
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
385
382
|
readonly itemValue?: string | undefined;
|
|
386
383
|
readonly itemLabel?: string | undefined;
|
|
387
384
|
readonly disabled?: boolean | undefined;
|
|
388
385
|
readonly selectable?: boolean | undefined;
|
|
389
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
390
|
-
readonly onClick?: ((key:
|
|
386
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
387
|
+
readonly onClick?: ((key: any) => any) | undefined;
|
|
391
388
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
392
389
|
$attrs: {
|
|
393
390
|
[x: string]: unknown;
|
|
@@ -401,7 +398,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
401
398
|
$data: {};
|
|
402
399
|
$props: {
|
|
403
400
|
readonly modelValue?: boolean | undefined;
|
|
404
|
-
readonly value:
|
|
401
|
+
readonly value: any;
|
|
405
402
|
readonly label: string;
|
|
406
403
|
readonly icon?: import('..').Icon | undefined;
|
|
407
404
|
readonly selectable?: boolean | undefined;
|
|
@@ -478,12 +475,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
478
475
|
$root: import('vue').ComponentPublicInstance | null;
|
|
479
476
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
480
477
|
$host: Element | null;
|
|
481
|
-
$emit: ((event: "update:modelValue", value:
|
|
478
|
+
$emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
|
|
482
479
|
$el: any;
|
|
483
480
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
484
|
-
modelValue?:
|
|
481
|
+
modelValue?: any;
|
|
485
482
|
} & import('../../types/component').QBaseComponentProps & {
|
|
486
|
-
highlighted?:
|
|
483
|
+
highlighted?: any;
|
|
487
484
|
items?: import('../QList/types').Item[];
|
|
488
485
|
groups?: import('../QList/types').Group[];
|
|
489
486
|
itemValue?: string;
|
|
@@ -491,17 +488,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
491
488
|
disabled?: boolean;
|
|
492
489
|
selectable?: boolean;
|
|
493
490
|
}> & Readonly<{
|
|
494
|
-
"onUpdate:modelValue"?: ((value:
|
|
495
|
-
onClick?: ((key:
|
|
491
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
492
|
+
onClick?: ((key: any) => any) | undefined;
|
|
496
493
|
}>, {
|
|
497
494
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
498
495
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
499
496
|
getFirstFocusableItemIndex: () => number;
|
|
500
497
|
getLastFocusableItemIndex: () => number;
|
|
501
498
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
502
|
-
"update:modelValue": (value:
|
|
499
|
+
"update:modelValue": (value: any) => any;
|
|
503
500
|
} & {
|
|
504
|
-
click: (key:
|
|
501
|
+
click: (key: any) => any;
|
|
505
502
|
}, string, {
|
|
506
503
|
groups: import('../QList/types').Group[];
|
|
507
504
|
itemValue: string;
|
|
@@ -531,9 +528,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
531
528
|
itemValue: string;
|
|
532
529
|
itemLabel: string;
|
|
533
530
|
}> & Omit<Readonly<{
|
|
534
|
-
modelValue?:
|
|
531
|
+
modelValue?: any;
|
|
535
532
|
} & import('../../types/component').QBaseComponentProps & {
|
|
536
|
-
highlighted?:
|
|
533
|
+
highlighted?: any;
|
|
537
534
|
items?: import('../QList/types').Item[];
|
|
538
535
|
groups?: import('../QList/types').Group[];
|
|
539
536
|
itemValue?: string;
|
|
@@ -541,8 +538,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
541
538
|
disabled?: boolean;
|
|
542
539
|
selectable?: boolean;
|
|
543
540
|
}> & Readonly<{
|
|
544
|
-
"onUpdate:modelValue"?: ((value:
|
|
545
|
-
onClick?: ((key:
|
|
541
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
542
|
+
onClick?: ((key: any) => any) | undefined;
|
|
546
543
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
547
544
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
548
545
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAyHA;
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAyHA;AAuSC,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;WA4TT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoFmvB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAjE/4B;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8BqwB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArB94B,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"}
|