@quidgest/ui 0.15.7 → 0.15.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +90 -1
- package/dist/ui.esm.js +4463 -4443
- package/dist/ui.js +18 -18
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +755 -754
- package/dist/ui.scss +31 -2
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +34 -32
- package/esm/components/QButton/types.d.ts +1 -1
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QButtonToggle/types.d.ts.map +1 -1
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +28 -28
- package/esm/components/QCheckbox/index.d.ts +18 -1
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/index.js +6 -4
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +78 -53
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +53 -53
- package/esm/components/QCombobox/index.d.ts +55 -59
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -9
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +3 -0
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +15 -10
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +90 -59
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +39 -38
- package/esm/components/QDropdownMenu/index.d.ts +7 -4
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +4 -21
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +44 -24
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +97 -93
- package/esm/components/QList/QListItem.d.ts +12 -6
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +51 -49
- package/esm/components/QList/index.d.ts +60 -31
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +3 -8
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QMeter/types.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts +3 -4
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +7 -7
- package/esm/components/QRadioGroup/index.d.ts +8 -8
- package/esm/components/QSelect/QSelect.d.ts +86 -61
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +45 -45
- package/esm/components/QSelect/index.d.ts +55 -59
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -9
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QTextArea/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +10 -10
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +8 -8
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/components/index.js +63 -62
- package/esm/composables/defaults.js +4 -4
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/theme.js +5 -5
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +27 -25
- package/esm/composables/useColor/types.d.ts +9 -1
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/framework.d.ts +1 -1
- package/esm/framework.d.ts.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/templates/theme.d.ts.map +1 -1
- package/esm/utils/color.d.ts +6 -0
- package/esm/utils/color.d.ts.map +1 -1
- package/esm/utils/color.js +16 -12
- package/esm/utils/theme.d.ts +1 -1
- package/esm/utils/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,75 +1,77 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useId as
|
|
5
|
-
const
|
|
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
|
+
import { QIcon as r } from "../QIcon/index.js";
|
|
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 = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "q-list-item__check-container"
|
|
11
|
-
},
|
|
11
|
+
}, Q = /* @__PURE__ */ g({
|
|
12
12
|
__name: "QListItem",
|
|
13
|
-
props: {
|
|
14
|
-
value: {
|
|
13
|
+
props: /* @__PURE__ */ p({
|
|
14
|
+
value: {},
|
|
15
15
|
label: {},
|
|
16
16
|
icon: {},
|
|
17
17
|
selectable: { type: Boolean },
|
|
18
|
-
selected: { type: Boolean },
|
|
19
18
|
highlighted: { type: Boolean },
|
|
20
19
|
disabled: { type: Boolean },
|
|
21
20
|
description: {},
|
|
22
|
-
icons: { default: () =>
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
icons: { default: () => E }
|
|
22
|
+
}, {
|
|
23
|
+
modelValue: { type: Boolean },
|
|
24
|
+
modelModifiers: {}
|
|
25
|
+
}),
|
|
26
|
+
emits: /* @__PURE__ */ p(["click"], ["update:modelValue"]),
|
|
27
|
+
setup(m, { emit: k }) {
|
|
28
|
+
const e = m, b = k, l = q(m, "modelValue"), v = I();
|
|
29
|
+
function n() {
|
|
30
|
+
e.disabled || (b("click"), e.selectable && (l.value = !0));
|
|
29
31
|
}
|
|
30
32
|
function y(t) {
|
|
31
|
-
t.key === "Tab" &&
|
|
33
|
+
t.key === "Tab" && n(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), n());
|
|
32
34
|
}
|
|
33
|
-
return (t,
|
|
34
|
-
id: o(
|
|
35
|
+
return (t, $) => (i(), a("li", {
|
|
36
|
+
id: o(v),
|
|
35
37
|
"data-key": e.value,
|
|
36
38
|
role: "option",
|
|
37
39
|
tabindex: e.disabled ? void 0 : -2,
|
|
38
|
-
class:
|
|
40
|
+
class: V([
|
|
39
41
|
"q-list-item",
|
|
40
42
|
{
|
|
43
|
+
"q-list-item--selected": l.value,
|
|
41
44
|
"q-list-item--disabled": e.disabled,
|
|
42
|
-
"q-list-item--selected": e.selected,
|
|
43
45
|
"q-list-item--highlighted": e.highlighted
|
|
44
46
|
}
|
|
45
47
|
]),
|
|
46
48
|
"aria-label": e.label,
|
|
47
|
-
"aria-selected": e.disabled ? void 0 :
|
|
49
|
+
"aria-selected": e.disabled ? void 0 : l.value,
|
|
48
50
|
onKeydown: y,
|
|
49
|
-
onClick:
|
|
51
|
+
onClick: B(n, ["stop", "prevent"])
|
|
50
52
|
}, [
|
|
51
|
-
|
|
52
|
-
c("div",
|
|
53
|
-
c("div",
|
|
54
|
-
|
|
55
|
-
e.icon ? (i(),
|
|
56
|
-
o(
|
|
57
|
-
|
|
53
|
+
d(t.$slots, "prepend"),
|
|
54
|
+
c("div", P, [
|
|
55
|
+
c("div", w, [
|
|
56
|
+
d(t.$slots, "default", {}, () => [
|
|
57
|
+
e.icon ? (i(), u(
|
|
58
|
+
o(r),
|
|
59
|
+
f(_({ key: 0 }, e.icon)),
|
|
58
60
|
null,
|
|
59
61
|
16
|
|
60
62
|
/* FULL_PROPS */
|
|
61
|
-
)) :
|
|
62
|
-
|
|
63
|
-
" " +
|
|
63
|
+
)) : s("v-if", !0),
|
|
64
|
+
C(
|
|
65
|
+
" " + h(e.label),
|
|
64
66
|
1
|
|
65
67
|
/* TEXT */
|
|
66
68
|
)
|
|
67
69
|
])
|
|
68
70
|
]),
|
|
69
|
-
e.description ? (i(),
|
|
70
|
-
|
|
71
|
-
o(
|
|
72
|
-
|
|
71
|
+
e.description ? (i(), a("div", S, [
|
|
72
|
+
N(
|
|
73
|
+
o(r),
|
|
74
|
+
f(D(e.icons.description)),
|
|
73
75
|
null,
|
|
74
76
|
16
|
|
75
77
|
/* FULL_PROPS */
|
|
@@ -77,25 +79,25 @@ const D = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], E = { c
|
|
|
77
79
|
c(
|
|
78
80
|
"span",
|
|
79
81
|
null,
|
|
80
|
-
|
|
82
|
+
h(e.description),
|
|
81
83
|
1
|
|
82
84
|
/* TEXT */
|
|
83
85
|
)
|
|
84
|
-
])) :
|
|
86
|
+
])) : s("v-if", !0)
|
|
85
87
|
]),
|
|
86
|
-
|
|
87
|
-
e.selectable ? (i(),
|
|
88
|
-
|
|
89
|
-
o(
|
|
90
|
-
|
|
88
|
+
d(t.$slots, "append"),
|
|
89
|
+
e.selectable ? (i(), a("div", T, [
|
|
90
|
+
l.value ? (i(), u(
|
|
91
|
+
o(r),
|
|
92
|
+
_({ key: 0 }, e.icons.check, { class: "q-list-item__check" }),
|
|
91
93
|
null,
|
|
92
94
|
16
|
|
93
95
|
/* FULL_PROPS */
|
|
94
|
-
)) :
|
|
95
|
-
])) :
|
|
96
|
-
], 42,
|
|
96
|
+
)) : s("v-if", !0)
|
|
97
|
+
])) : s("v-if", !0)
|
|
98
|
+
], 42, M));
|
|
97
99
|
}
|
|
98
100
|
});
|
|
99
101
|
export {
|
|
100
|
-
|
|
102
|
+
Q as default
|
|
101
103
|
};
|
|
@@ -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,14 +11,17 @@ declare const QList: {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
selectable?: boolean;
|
|
13
13
|
}> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value:
|
|
14
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
15
|
+
onClick?: ((key: any) => any) | undefined;
|
|
15
16
|
}>, {
|
|
16
17
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
17
18
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
18
19
|
getFirstFocusableItemIndex: () => number;
|
|
19
20
|
getLastFocusableItemIndex: () => number;
|
|
20
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value:
|
|
22
|
+
"update:modelValue": (value: any) => any;
|
|
23
|
+
} & {
|
|
24
|
+
click: (key: any) => any;
|
|
22
25
|
}, import('vue').PublicProps, {
|
|
23
26
|
groups: import('./types').Group[];
|
|
24
27
|
itemValue: string;
|
|
@@ -29,16 +32,17 @@ declare const QList: {
|
|
|
29
32
|
$: import('vue').ComponentInternalInstance;
|
|
30
33
|
$data: {};
|
|
31
34
|
$props: {
|
|
32
|
-
readonly
|
|
35
|
+
readonly modelValue?: boolean | undefined;
|
|
36
|
+
readonly value: any;
|
|
33
37
|
readonly label: string;
|
|
34
38
|
readonly icon?: import('..').Icon | undefined;
|
|
35
39
|
readonly selectable?: boolean | undefined;
|
|
36
|
-
readonly selected?: boolean | undefined;
|
|
37
40
|
readonly highlighted?: boolean | undefined;
|
|
38
41
|
readonly disabled?: boolean | undefined;
|
|
39
42
|
readonly description?: string | undefined;
|
|
40
43
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
41
|
-
readonly
|
|
44
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
45
|
+
readonly onClick?: (() => any) | undefined;
|
|
42
46
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
43
47
|
$attrs: {
|
|
44
48
|
[x: string]: unknown;
|
|
@@ -52,12 +56,17 @@ declare const QList: {
|
|
|
52
56
|
$root: import('vue').ComponentPublicInstance | null;
|
|
53
57
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
54
58
|
$host: Element | null;
|
|
55
|
-
$emit: (event: "
|
|
59
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
56
60
|
$el: HTMLLIElement;
|
|
57
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
62
|
+
modelValue?: boolean;
|
|
63
|
+
} & QListItemProps> & Readonly<{
|
|
64
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
65
|
+
onClick?: (() => any) | undefined;
|
|
66
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
"update:modelValue": (value: boolean) => any;
|
|
68
|
+
} & {
|
|
69
|
+
click: () => any;
|
|
61
70
|
}, string, {
|
|
62
71
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
63
72
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -82,8 +91,11 @@ declare const QList: {
|
|
|
82
91
|
$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;
|
|
83
92
|
} & Readonly<{
|
|
84
93
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
85
|
-
}> & Omit<Readonly<
|
|
86
|
-
|
|
94
|
+
}> & Omit<Readonly<{
|
|
95
|
+
modelValue?: boolean;
|
|
96
|
+
} & QListItemProps> & Readonly<{
|
|
97
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
98
|
+
onClick?: (() => any) | undefined;
|
|
87
99
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
88
100
|
$slots: {
|
|
89
101
|
prepend?(_: {}): any;
|
|
@@ -99,9 +111,9 @@ declare const QList: {
|
|
|
99
111
|
M: {};
|
|
100
112
|
Defaults: {};
|
|
101
113
|
}, Readonly<{
|
|
102
|
-
modelValue?:
|
|
114
|
+
modelValue?: any;
|
|
103
115
|
} & import('../../types/component').QBaseComponentProps & {
|
|
104
|
-
highlighted?:
|
|
116
|
+
highlighted?: any;
|
|
105
117
|
items?: import('./types').Item[];
|
|
106
118
|
groups?: import('./types').Group[];
|
|
107
119
|
itemValue?: string;
|
|
@@ -109,7 +121,8 @@ declare const QList: {
|
|
|
109
121
|
disabled?: boolean;
|
|
110
122
|
selectable?: boolean;
|
|
111
123
|
}> & Readonly<{
|
|
112
|
-
"onUpdate:modelValue"?: ((value:
|
|
124
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
|
+
onClick?: ((key: any) => any) | undefined;
|
|
113
126
|
}>, {
|
|
114
127
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
115
128
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -124,9 +137,9 @@ declare const QList: {
|
|
|
124
137
|
__isTeleport?: never;
|
|
125
138
|
__isSuspense?: never;
|
|
126
139
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
127
|
-
modelValue?:
|
|
140
|
+
modelValue?: any;
|
|
128
141
|
} & import('../../types/component').QBaseComponentProps & {
|
|
129
|
-
highlighted?:
|
|
142
|
+
highlighted?: any;
|
|
130
143
|
items?: import('./types').Item[];
|
|
131
144
|
groups?: import('./types').Group[];
|
|
132
145
|
itemValue?: string;
|
|
@@ -134,14 +147,17 @@ declare const QList: {
|
|
|
134
147
|
disabled?: boolean;
|
|
135
148
|
selectable?: boolean;
|
|
136
149
|
}> & Readonly<{
|
|
137
|
-
"onUpdate:modelValue"?: ((value:
|
|
150
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
151
|
+
onClick?: ((key: any) => any) | undefined;
|
|
138
152
|
}>, {
|
|
139
153
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
140
154
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
141
155
|
getFirstFocusableItemIndex: () => number;
|
|
142
156
|
getLastFocusableItemIndex: () => number;
|
|
143
157
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
144
|
-
"update:modelValue": (value:
|
|
158
|
+
"update:modelValue": (value: any) => any;
|
|
159
|
+
} & {
|
|
160
|
+
click: (key: any) => any;
|
|
145
161
|
}, string, {
|
|
146
162
|
groups: import('./types').Group[];
|
|
147
163
|
itemValue: string;
|
|
@@ -159,10 +175,15 @@ declare const QList: {
|
|
|
159
175
|
};
|
|
160
176
|
});
|
|
161
177
|
declare const QListItem: {
|
|
162
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
178
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
179
|
+
modelValue?: boolean;
|
|
180
|
+
} & QListItemProps> & Readonly<{
|
|
181
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
182
|
+
onClick?: (() => any) | undefined;
|
|
183
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
184
|
+
"update:modelValue": (value: boolean) => any;
|
|
185
|
+
} & {
|
|
186
|
+
click: () => any;
|
|
166
187
|
}, import('vue').PublicProps, {
|
|
167
188
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
168
189
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLIElement, import('vue').ComponentProvideOptions, {
|
|
@@ -172,18 +193,26 @@ declare const QListItem: {
|
|
|
172
193
|
C: {};
|
|
173
194
|
M: {};
|
|
174
195
|
Defaults: {};
|
|
175
|
-
}, Readonly<
|
|
176
|
-
|
|
196
|
+
}, Readonly<{
|
|
197
|
+
modelValue?: boolean;
|
|
198
|
+
} & QListItemProps> & Readonly<{
|
|
199
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
200
|
+
onClick?: (() => any) | undefined;
|
|
177
201
|
}>, {}, {}, {}, {}, {
|
|
178
202
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
179
203
|
}>;
|
|
180
204
|
__isFragment?: never;
|
|
181
205
|
__isTeleport?: never;
|
|
182
206
|
__isSuspense?: never;
|
|
183
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
207
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
208
|
+
modelValue?: boolean;
|
|
209
|
+
} & QListItemProps> & Readonly<{
|
|
210
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
211
|
+
onClick?: (() => any) | undefined;
|
|
212
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
213
|
+
"update:modelValue": (value: boolean) => any;
|
|
214
|
+
} & {
|
|
215
|
+
click: () => any;
|
|
187
216
|
}, string, {
|
|
188
217
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
189
218
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCASg1yB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAT56yB,CAAA;AACrC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -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
|
*/
|
|
@@ -57,10 +56,6 @@ export type QListItemProps = {
|
|
|
57
56
|
* Indicates whether the item is selectable.
|
|
58
57
|
*/
|
|
59
58
|
selectable?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Whether this item is selected.
|
|
62
|
-
*/
|
|
63
|
-
selected?: boolean;
|
|
64
59
|
/**
|
|
65
60
|
* Whether this item is highlighted.
|
|
66
61
|
*/
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACvC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;IAE9D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -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,
|
|
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;IAEjB;;;;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;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IAEzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAO2mzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP9rzB,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,CAAA;AAGzB,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAA;IAEhB;;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,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACX,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,MAAM,SAAS,CAAA;AAKhB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA;AACrD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACX,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,MAAM,SAAS,CAAA;AAKhB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA;AACrD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;2BAc6rN,KAAK;;;;;;;;;cAA4J,KAAK;SAAiB,CAAC;CAdh1N,CAAA;AAC3D,QAAA,MAAM,kBAAkB;;;;;;6FAAuC,CAAA;AAC/D,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;EAAuC,CAAA;AAG/D,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAA;AAGlF,YAAY,EACX,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE9C,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD;;;OAGG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAE7B;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAE7B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAA;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GACxD,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,GAAG;IAChC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,GAAG;IACzD;;OAEG;IACH,KAAK,EAAE,kBAAkB,CAAA;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG;IAC3D;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa;;CAEQ,CAAA;AAGlC,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;
|