@quidgest/ui 0.15.9 → 0.16.1
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 +4 -1
- package/dist/ui.css +11 -12
- package/dist/ui.esm.js +3758 -3654
- package/dist/ui.js +26 -26
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +748 -741
- package/dist/ui.scss +34 -31
- package/esm/components/QAccordion/QAccordion.d.ts +4 -3
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +21 -17
- package/esm/components/QAccordion/QAccordionItem.d.ts +19 -0
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -0
- package/esm/components/QAccordion/QAccordionItem.vue.js +42 -0
- package/esm/components/QAccordion/QAccordionItem.vue2.js +4 -0
- package/esm/components/QAccordion/index.d.ts +35 -15
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/index.js +6 -4
- package/esm/components/QAccordion/types.d.ts +25 -5
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +9 -11
- package/esm/components/QButton/types.d.ts +0 -4
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +60 -65
- package/esm/components/QCollapsible/index.d.ts +14 -14
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +16 -18
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +59 -57
- package/esm/components/QCombobox/index.d.ts +11 -9
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +16 -16
- package/esm/components/QList/QList.d.ts +9 -9
- package/esm/components/QList/QListItem.d.ts +1 -1
- package/esm/components/QList/index.d.ts +10 -10
- package/esm/components/QOverlay/QOverlay.vue.js +15 -16
- package/esm/components/QOverlay/index.d.ts +0 -3
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +0 -4
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +31 -34
- package/esm/components/QRadioGroup/QRadioButton.vue.js +3 -3
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +1 -1
- package/esm/components/QSelect/QSelect.d.ts +16 -16
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +58 -56
- package/esm/components/QSelect/index.d.ts +11 -8
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/{QButtonToggle/QButtonToggle.d.ts → QToggle/QToggle.d.ts} +11 -9
- package/esm/components/QToggle/QToggle.d.ts.map +1 -0
- package/esm/components/QToggle/QToggle.vue.js +40 -0
- package/esm/components/QToggle/QToggle.vue2.js +4 -0
- package/esm/components/QToggle/index.d.ts +71 -0
- package/esm/components/QToggle/index.d.ts.map +1 -0
- package/esm/components/{QButtonToggle → QToggle}/index.js +3 -3
- package/esm/components/QToggle/types.d.ts +3 -0
- package/esm/components/QToggle/types.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +28 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +49 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue2.js +4 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +19 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +44 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +4 -0
- package/esm/components/QToggleGroup/index.d.ts +75 -0
- package/esm/components/QToggleGroup/index.d.ts.map +1 -0
- package/esm/components/QToggleGroup/index.js +8 -0
- package/esm/components/QToggleGroup/types.d.ts +19 -0
- package/esm/components/QToggleGroup/types.d.ts.map +1 -0
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +42 -40
- package/esm/components/index.d.ts +2 -1
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +83 -79
- package/esm/composables/{group.d.ts → useGroup/index.d.ts} +11 -3
- package/esm/composables/useGroup/index.d.ts.map +1 -0
- package/esm/composables/useGroup/index.js +38 -0
- package/esm/index.d.ts +4 -1
- package/package.json +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +0 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +0 -62
- package/esm/components/QButtonToggle/QButtonToggle.vue2.js +0 -4
- package/esm/components/QButtonToggle/index.d.ts +0 -51
- package/esm/components/QButtonToggle/index.d.ts.map +0 -1
- package/esm/components/QButtonToggle/types.d.ts +0 -29
- package/esm/components/QButtonToggle/types.d.ts.map +0 -1
- package/esm/composables/group.d.ts.map +0 -1
- package/esm/composables/group.js +0 -31
|
@@ -57,8 +57,8 @@ declare function __VLS_template(): {
|
|
|
57
57
|
readonly disabled?: boolean | undefined;
|
|
58
58
|
readonly description?: string | undefined;
|
|
59
59
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
60
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
61
60
|
readonly onClick?: (() => any) | undefined;
|
|
61
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
62
62
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
63
63
|
$attrs: {
|
|
64
64
|
[x: string]: unknown;
|
|
@@ -72,13 +72,13 @@ declare function __VLS_template(): {
|
|
|
72
72
|
$root: import('vue').ComponentPublicInstance | null;
|
|
73
73
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
74
74
|
$host: Element | null;
|
|
75
|
-
$emit: ((event: "
|
|
75
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
76
76
|
$el: HTMLLIElement;
|
|
77
77
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
78
78
|
modelValue?: boolean;
|
|
79
79
|
} & import('./types').QListItemProps> & Readonly<{
|
|
80
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
81
80
|
onClick?: (() => any) | undefined;
|
|
81
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
82
82
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
83
|
"update:modelValue": (value: boolean) => any;
|
|
84
84
|
} & {
|
|
@@ -110,8 +110,8 @@ declare function __VLS_template(): {
|
|
|
110
110
|
}> & Omit<Readonly<{
|
|
111
111
|
modelValue?: boolean;
|
|
112
112
|
} & import('./types').QListItemProps> & Readonly<{
|
|
113
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
114
113
|
onClick?: (() => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
115
115
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
116
116
|
$slots: {
|
|
117
117
|
prepend?(_: {}): any;
|
|
@@ -133,8 +133,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
133
133
|
} & {
|
|
134
134
|
click: (key: any) => any;
|
|
135
135
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
136
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
137
136
|
onClick?: ((key: any) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
138
138
|
}>, {
|
|
139
139
|
groups: Group[];
|
|
140
140
|
itemValue: string;
|
|
@@ -154,8 +154,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
154
154
|
readonly disabled?: boolean | undefined;
|
|
155
155
|
readonly description?: string | undefined;
|
|
156
156
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
157
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
158
157
|
readonly onClick?: (() => any) | undefined;
|
|
158
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
159
159
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
160
160
|
$attrs: {
|
|
161
161
|
[x: string]: unknown;
|
|
@@ -169,13 +169,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
169
169
|
$root: import('vue').ComponentPublicInstance | null;
|
|
170
170
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
171
171
|
$host: Element | null;
|
|
172
|
-
$emit: ((event: "
|
|
172
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
173
173
|
$el: HTMLLIElement;
|
|
174
174
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
175
175
|
modelValue?: boolean;
|
|
176
176
|
} & import('./types').QListItemProps> & Readonly<{
|
|
177
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
178
177
|
onClick?: (() => any) | undefined;
|
|
178
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
179
179
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
180
180
|
"update:modelValue": (value: boolean) => any;
|
|
181
181
|
} & {
|
|
@@ -207,8 +207,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
207
207
|
}> & Omit<Readonly<{
|
|
208
208
|
modelValue?: boolean;
|
|
209
209
|
} & import('./types').QListItemProps> & Readonly<{
|
|
210
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
211
210
|
onClick?: (() => any) | undefined;
|
|
211
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
212
212
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
213
213
|
$slots: {
|
|
214
214
|
prepend?(_: {}): any;
|
|
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
19
19
|
} & {
|
|
20
20
|
click: () => any;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
22
|
onClick?: (() => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
icons: typeof DEFAULT_ICONS;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
@@ -11,8 +11,8 @@ declare const QList: {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
selectable?: boolean;
|
|
13
13
|
}> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
15
14
|
onClick?: ((key: any) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
18
18
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -41,8 +41,8 @@ declare const QList: {
|
|
|
41
41
|
readonly disabled?: boolean | undefined;
|
|
42
42
|
readonly description?: string | undefined;
|
|
43
43
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
44
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
45
44
|
readonly onClick?: (() => any) | undefined;
|
|
45
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
46
46
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
47
47
|
$attrs: {
|
|
48
48
|
[x: string]: unknown;
|
|
@@ -56,13 +56,13 @@ declare const QList: {
|
|
|
56
56
|
$root: import('vue').ComponentPublicInstance | null;
|
|
57
57
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
58
58
|
$host: Element | null;
|
|
59
|
-
$emit: ((event: "
|
|
59
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
60
60
|
$el: HTMLLIElement;
|
|
61
61
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
62
62
|
modelValue?: boolean;
|
|
63
63
|
} & QListItemProps> & Readonly<{
|
|
64
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
65
64
|
onClick?: (() => any) | undefined;
|
|
65
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
66
66
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
67
|
"update:modelValue": (value: boolean) => any;
|
|
68
68
|
} & {
|
|
@@ -94,8 +94,8 @@ declare const QList: {
|
|
|
94
94
|
}> & Omit<Readonly<{
|
|
95
95
|
modelValue?: boolean;
|
|
96
96
|
} & QListItemProps> & Readonly<{
|
|
97
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
98
97
|
onClick?: (() => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
99
99
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
100
100
|
$slots: {
|
|
101
101
|
prepend?(_: {}): any;
|
|
@@ -121,8 +121,8 @@ declare const QList: {
|
|
|
121
121
|
disabled?: boolean;
|
|
122
122
|
selectable?: boolean;
|
|
123
123
|
}> & Readonly<{
|
|
124
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
124
|
onClick?: ((key: any) => any) | undefined;
|
|
125
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
127
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
128
128
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -147,8 +147,8 @@ declare const QList: {
|
|
|
147
147
|
disabled?: boolean;
|
|
148
148
|
selectable?: boolean;
|
|
149
149
|
}> & Readonly<{
|
|
150
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
151
150
|
onClick?: ((key: any) => any) | undefined;
|
|
151
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
152
152
|
}>, {
|
|
153
153
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
154
154
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -178,8 +178,8 @@ declare const QListItem: {
|
|
|
178
178
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
179
179
|
modelValue?: boolean;
|
|
180
180
|
} & QListItemProps> & Readonly<{
|
|
181
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
182
181
|
onClick?: (() => any) | undefined;
|
|
182
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
183
183
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
184
184
|
"update:modelValue": (value: boolean) => any;
|
|
185
185
|
} & {
|
|
@@ -196,8 +196,8 @@ declare const QListItem: {
|
|
|
196
196
|
}, Readonly<{
|
|
197
197
|
modelValue?: boolean;
|
|
198
198
|
} & QListItemProps> & Readonly<{
|
|
199
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
200
199
|
onClick?: (() => any) | undefined;
|
|
200
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
201
201
|
}>, {}, {}, {}, {}, {
|
|
202
202
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
203
203
|
}>;
|
|
@@ -207,8 +207,8 @@ declare const QListItem: {
|
|
|
207
207
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
208
208
|
modelValue?: boolean;
|
|
209
209
|
} & QListItemProps> & Readonly<{
|
|
210
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
211
210
|
onClick?: (() => any) | undefined;
|
|
211
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
212
212
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
213
213
|
"update:modelValue": (value: boolean) => any;
|
|
214
214
|
} & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ue, mergeModels as I, useModel as ce, computed as d, reactive as P, watch as V, ref as _, nextTick as g, onMounted as fe, onBeforeUnmount as pe, createElementBlock as k, openBlock as u, Fragment as ve, createBlock as B, createCommentVNode as m, Teleport as me, createVNode as
|
|
1
|
+
import { defineComponent as ue, mergeModels as I, useModel as ce, computed as d, reactive as P, watch as V, ref as _, nextTick as g, onMounted as fe, onBeforeUnmount as pe, createElementBlock as k, openBlock as u, Fragment as ve, createBlock as B, createCommentVNode as m, Teleport as me, createVNode as T, Transition as z, withCtx as L, normalizeClass as F, normalizeStyle as Q, unref as C, createElementVNode as ye, mergeProps as he, renderSlot as we } from "vue";
|
|
2
2
|
import { QDismissibleLayer as ge } from "../QDismissibleLayer/index.js";
|
|
3
3
|
import { QFocusTrap as ke } from "../QFocusTrap/index.js";
|
|
4
4
|
import { QRemoveScrollBar as Le } from "../QRemoveScrollBar/index.js";
|
|
5
5
|
import { getSideFromPlacement as Ee, computePosition as be } from "../../composables/overlay.js";
|
|
6
6
|
import { useTheme as _e } from "../../composables/theme.js";
|
|
7
7
|
import { getElement as Be } from "../../utils/getElement.js";
|
|
8
|
-
const
|
|
8
|
+
const Te = ["id"], Ce = ["role"], Ae = /* @__PURE__ */ ue({
|
|
9
9
|
inheritAttrs: !1,
|
|
10
10
|
__name: "QOverlay",
|
|
11
11
|
props: /* @__PURE__ */ I({
|
|
@@ -28,7 +28,6 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
28
28
|
spy: { type: Boolean },
|
|
29
29
|
transition: { default: "fade" },
|
|
30
30
|
trigger: { default: "click" },
|
|
31
|
-
closeOnContentClick: { type: Boolean },
|
|
32
31
|
width: { default: "auto" },
|
|
33
32
|
focusTrap: { type: Boolean }
|
|
34
33
|
}, {
|
|
@@ -46,7 +45,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
46
45
|
"q-overlay--inverted": t.appearance === "inverted"
|
|
47
46
|
},
|
|
48
47
|
t.class
|
|
49
|
-
]), f = d(() => t.anchor === void 0),
|
|
48
|
+
]), f = d(() => t.anchor === void 0), D = d(() => r.value && !t.nonModal), j = d(() => (r.value || o.animating) && t.scrollLock), G = d(() => !t.inline && (r.value || o.animating)), o = P({
|
|
50
49
|
animating: !1,
|
|
51
50
|
top: 0,
|
|
52
51
|
left: 0,
|
|
@@ -100,7 +99,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
100
99
|
function w() {
|
|
101
100
|
R(0);
|
|
102
101
|
}
|
|
103
|
-
function
|
|
102
|
+
function O() {
|
|
104
103
|
R(t.delay);
|
|
105
104
|
}
|
|
106
105
|
function R(e) {
|
|
@@ -173,7 +172,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
173
172
|
e.addEventListener("click", w);
|
|
174
173
|
break;
|
|
175
174
|
case "hover":
|
|
176
|
-
e.addEventListener("mouseenter",
|
|
175
|
+
e.addEventListener("mouseenter", O), e.addEventListener("mouseleave", c), e.addEventListener("focusin", w), e.addEventListener("focusout", c);
|
|
177
176
|
break;
|
|
178
177
|
}
|
|
179
178
|
}
|
|
@@ -185,7 +184,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
185
184
|
e.removeEventListener("click", w);
|
|
186
185
|
break;
|
|
187
186
|
case "hover":
|
|
188
|
-
e.removeEventListener("mouseenter",
|
|
187
|
+
e.removeEventListener("mouseenter", O), e.removeEventListener("mouseleave", c), e.removeEventListener("focusin", w), e.removeEventListener("focusout", c);
|
|
189
188
|
break;
|
|
190
189
|
}
|
|
191
190
|
}
|
|
@@ -216,12 +215,12 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
216
215
|
disabled: !G.value,
|
|
217
216
|
to: t.attach
|
|
218
217
|
}, [
|
|
219
|
-
|
|
218
|
+
T(z, {
|
|
220
219
|
name: "fade",
|
|
221
220
|
appear: ""
|
|
222
221
|
}, {
|
|
223
222
|
default: L(() => [
|
|
224
|
-
|
|
223
|
+
D.value ? (u(), k(
|
|
225
224
|
"div",
|
|
226
225
|
{
|
|
227
226
|
key: 0,
|
|
@@ -239,7 +238,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
239
238
|
_: 1
|
|
240
239
|
/* STABLE */
|
|
241
240
|
}),
|
|
242
|
-
|
|
241
|
+
T(z, {
|
|
243
242
|
name: t.transition,
|
|
244
243
|
appear: "",
|
|
245
244
|
onEnter: K,
|
|
@@ -257,13 +256,13 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
257
256
|
class: F(W.value),
|
|
258
257
|
style: Q(H.value)
|
|
259
258
|
}, [
|
|
260
|
-
C(
|
|
259
|
+
T(C(ge), {
|
|
261
260
|
onDismiss: oe,
|
|
262
261
|
onInteractOutside: ne,
|
|
263
262
|
onPointerDownOutside: te
|
|
264
263
|
}, {
|
|
265
264
|
default: L(() => [
|
|
266
|
-
E.value ? (u(), B(
|
|
265
|
+
E.value ? (u(), B(C(ke), {
|
|
267
266
|
key: 0,
|
|
268
267
|
disabled: t.nonModal || !r.value,
|
|
269
268
|
options: { fallbackFocus: E.value }
|
|
@@ -274,7 +273,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
274
273
|
ref: h,
|
|
275
274
|
class: "q-overlay__content",
|
|
276
275
|
tabindex: "-1",
|
|
277
|
-
role:
|
|
276
|
+
role: D.value ? "dialog" : void 0
|
|
278
277
|
}, e.$attrs), [
|
|
279
278
|
t.arrow ? (u(), k(
|
|
280
279
|
"div",
|
|
@@ -291,7 +290,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
291
290
|
/* STYLE */
|
|
292
291
|
)) : m("v-if", !0),
|
|
293
292
|
we(e.$slots, "default")
|
|
294
|
-
], 16,
|
|
293
|
+
], 16, Ce)
|
|
295
294
|
]),
|
|
296
295
|
_: 3
|
|
297
296
|
/* FORWARDED */
|
|
@@ -300,13 +299,13 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
|
|
|
300
299
|
_: 3
|
|
301
300
|
/* FORWARDED */
|
|
302
301
|
})
|
|
303
|
-
], 14,
|
|
302
|
+
], 14, Te)) : m("v-if", !0)
|
|
304
303
|
]),
|
|
305
304
|
_: 3
|
|
306
305
|
/* FORWARDED */
|
|
307
306
|
}, 8, ["name"])
|
|
308
307
|
], 8, ["disabled", "to"])),
|
|
309
|
-
j.value ? (u(), B(
|
|
308
|
+
j.value ? (u(), B(C(Le), { key: 0 })) : m("v-if", !0)
|
|
310
309
|
],
|
|
311
310
|
64
|
|
312
311
|
/* STABLE_FRAGMENT */
|
|
@@ -20,7 +20,6 @@ declare const QOverlay: {
|
|
|
20
20
|
spy?: boolean;
|
|
21
21
|
transition?: string;
|
|
22
22
|
trigger?: import('../../composables/overlay').Trigger;
|
|
23
|
-
closeOnContentClick?: boolean;
|
|
24
23
|
width?: "auto" | "anchor";
|
|
25
24
|
focusTrap?: boolean;
|
|
26
25
|
}> & Readonly<{
|
|
@@ -73,7 +72,6 @@ declare const QOverlay: {
|
|
|
73
72
|
spy?: boolean;
|
|
74
73
|
transition?: string;
|
|
75
74
|
trigger?: import('../../composables/overlay').Trigger;
|
|
76
|
-
closeOnContentClick?: boolean;
|
|
77
75
|
width?: "auto" | "anchor";
|
|
78
76
|
focusTrap?: boolean;
|
|
79
77
|
}> & Readonly<{
|
|
@@ -114,7 +112,6 @@ declare const QOverlay: {
|
|
|
114
112
|
spy?: boolean;
|
|
115
113
|
transition?: string;
|
|
116
114
|
trigger?: import('../../composables/overlay').Trigger;
|
|
117
|
-
closeOnContentClick?: boolean;
|
|
118
115
|
width?: "auto" | "anchor";
|
|
119
116
|
focusTrap?: boolean;
|
|
120
117
|
}> & Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA;AAGnB,YAAY,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -78,10 +78,6 @@ export type QOverlayProps = QBaseComponentProps & {
|
|
|
78
78
|
* The method to trigger the overlay.
|
|
79
79
|
*/
|
|
80
80
|
trigger?: Trigger;
|
|
81
|
-
/**
|
|
82
|
-
* Whether to close the overlay when its content is clicked.
|
|
83
|
-
*/
|
|
84
|
-
closeOnContentClick?: boolean;
|
|
85
81
|
/**
|
|
86
82
|
* The width of the overlay.
|
|
87
83
|
* Either is automatic, based on the overlay content,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAA;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
|
|
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;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IAEzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as p, mergeModels as u, useModel as f, computed as h, createBlock as d, openBlock as r, unref as
|
|
1
|
+
import { defineComponent as p, mergeModels as u, useModel as f, computed as h, createBlock as d, openBlock as r, unref as i, withCtx as v, createElementVNode as c, createElementBlock as y, createCommentVNode as m, createVNode as g, toDisplayString as B } from "vue";
|
|
2
2
|
import { QMeter as _ } from "../QMeter/index.js";
|
|
3
|
-
import { QOverlay as
|
|
4
|
-
import
|
|
5
|
-
const w = { class: "q-password-field__meter" },
|
|
3
|
+
import { QOverlay as V } from "../QOverlay/index.js";
|
|
4
|
+
import k from "./QPasswordFieldMessages.vue.js";
|
|
5
|
+
const w = { class: "q-password-field__meter" }, M = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "q-password-field__meter-score"
|
|
8
|
-
},
|
|
8
|
+
}, N = /* @__PURE__ */ p({
|
|
9
9
|
inheritAttrs: !1,
|
|
10
10
|
__name: "QPasswordFieldMeterOverlay",
|
|
11
11
|
props: /* @__PURE__ */ u({
|
|
@@ -28,7 +28,6 @@ const w = { class: "q-password-field__meter" }, C = {
|
|
|
28
28
|
spy: { type: Boolean },
|
|
29
29
|
transition: {},
|
|
30
30
|
trigger: {},
|
|
31
|
-
closeOnContentClick: { type: Boolean },
|
|
32
31
|
width: {},
|
|
33
32
|
focusTrap: { type: Boolean },
|
|
34
33
|
messages: {},
|
|
@@ -55,7 +54,7 @@ const w = { class: "q-password-field__meter" }, C = {
|
|
|
55
54
|
}
|
|
56
55
|
return o.levels[o.levels.length - 1];
|
|
57
56
|
});
|
|
58
|
-
return (t, l) => (r(), d(
|
|
57
|
+
return (t, l) => (r(), d(i(V), {
|
|
59
58
|
modelValue: n.value,
|
|
60
59
|
"onUpdate:modelValue": l[0] || (l[0] = (e) => n.value = e),
|
|
61
60
|
trigger: "manual",
|
|
@@ -67,14 +66,14 @@ const w = { class: "q-password-field__meter" }, C = {
|
|
|
67
66
|
default: v(() => {
|
|
68
67
|
var e;
|
|
69
68
|
return [
|
|
70
|
-
|
|
71
|
-
s.value ? (r(), y("div",
|
|
72
|
-
g(
|
|
69
|
+
c("div", w, [
|
|
70
|
+
s.value ? (r(), y("div", M, [
|
|
71
|
+
g(i(_), {
|
|
73
72
|
"model-value": o.score,
|
|
74
73
|
max: 1,
|
|
75
74
|
color: s.value.color
|
|
76
75
|
}, null, 8, ["model-value", "color"]),
|
|
77
|
-
|
|
76
|
+
c(
|
|
78
77
|
"span",
|
|
79
78
|
null,
|
|
80
79
|
B(s.value.label),
|
|
@@ -82,7 +81,7 @@ const w = { class: "q-password-field__meter" }, C = {
|
|
|
82
81
|
/* TEXT */
|
|
83
82
|
)
|
|
84
83
|
])) : m("v-if", !0),
|
|
85
|
-
(e = t.messages) != null && e.length ? (r(), d(
|
|
84
|
+
(e = t.messages) != null && e.length ? (r(), d(k, {
|
|
86
85
|
key: 1,
|
|
87
86
|
messages: t.messages
|
|
88
87
|
}, null, 8, ["messages"])) : m("v-if", !0)
|
|
@@ -95,5 +94,5 @@ const w = { class: "q-password-field__meter" }, C = {
|
|
|
95
94
|
}
|
|
96
95
|
});
|
|
97
96
|
export {
|
|
98
|
-
|
|
97
|
+
N as default
|
|
99
98
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue"],"names":[],"mappings":"AAkCA;AA6DC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,KAAK,WAAW,GAAG,aAAa,CAAC;AAuBlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;wBAbtB,GAAG;kCACO,GAAG;iCACJ,GAAG;yBACX,GAAG;;;;EAe/B;AAYD,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,12 +1,9 @@
|
|
|
1
|
-
import { defineComponent as c, mergeModels as m, useModel as u, createBlock as h, openBlock as o, unref as f, normalizeClass as y, withCtx as
|
|
1
|
+
import { defineComponent as c, mergeModels as m, useModel as u, createBlock as h, openBlock as o, unref as f, normalizeClass as y, withCtx as _, createElementVNode as d, createElementBlock as l, createCommentVNode as v, renderSlot as a, Fragment as k, toDisplayString as i } from "vue";
|
|
2
2
|
import { QOverlay as B } from "../QOverlay/index.js";
|
|
3
|
-
const V = {
|
|
3
|
+
const V = { class: "q-popover__content" }, g = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "q-popover__header"
|
|
6
|
-
}, $ = { class: "q-popover__title" }, b = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "q-popover__body"
|
|
9
|
-
}, g = ["innerHTML"], w = { key: 1 }, C = /* @__PURE__ */ c({
|
|
6
|
+
}, $ = { class: "q-popover__title" }, b = ["innerHTML"], w = { key: 1 }, C = /* @__PURE__ */ c({
|
|
10
7
|
inheritAttrs: !1,
|
|
11
8
|
__name: "QPopover",
|
|
12
9
|
props: /* @__PURE__ */ m({
|
|
@@ -26,12 +23,12 @@ const V = {
|
|
|
26
23
|
modelModifiers: {}
|
|
27
24
|
}),
|
|
28
25
|
emits: ["update:modelValue"],
|
|
29
|
-
setup(
|
|
30
|
-
const e =
|
|
31
|
-
return (t,
|
|
26
|
+
setup(n) {
|
|
27
|
+
const e = n, s = u(n, "modelValue");
|
|
28
|
+
return (t, r) => (o(), h(f(B), {
|
|
32
29
|
id: e.id,
|
|
33
|
-
modelValue:
|
|
34
|
-
"onUpdate:modelValue":
|
|
30
|
+
modelValue: s.value,
|
|
31
|
+
"onUpdate:modelValue": r[0] || (r[0] = (p) => s.value = p),
|
|
35
32
|
class: y(["q-popover", e.class]),
|
|
36
33
|
trigger: "click",
|
|
37
34
|
anchor: e.anchor,
|
|
@@ -41,32 +38,32 @@ const V = {
|
|
|
41
38
|
disabled: e.disabled,
|
|
42
39
|
placement: e.placement
|
|
43
40
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
|
|
46
|
-
t.$slots.header ?
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
41
|
+
default: _(() => [
|
|
42
|
+
d("div", V, [
|
|
43
|
+
e.title || t.$slots.header ? (o(), l("div", g, [
|
|
44
|
+
t.$slots.header ? a(t.$slots, "header", { key: 0 }) : (o(), l(
|
|
45
|
+
k,
|
|
46
|
+
{ key: 1 },
|
|
47
|
+
[
|
|
48
|
+
a(t.$slots, "header.prepend"),
|
|
49
|
+
d(
|
|
50
|
+
"h4",
|
|
51
|
+
$,
|
|
52
|
+
i(e.title),
|
|
53
|
+
1
|
|
54
|
+
/* TEXT */
|
|
55
|
+
),
|
|
56
|
+
a(t.$slots, "header.append")
|
|
57
|
+
],
|
|
58
|
+
64
|
|
59
|
+
/* STABLE_FRAGMENT */
|
|
60
|
+
))
|
|
61
|
+
])) : v("v-if", !0),
|
|
65
62
|
a(t.$slots, "default", {}, () => [
|
|
66
63
|
e.html ? (o(), l("span", {
|
|
67
64
|
key: 0,
|
|
68
65
|
innerHTML: e.text
|
|
69
|
-
}, null, 8,
|
|
66
|
+
}, null, 8, b)) : (o(), l(
|
|
70
67
|
"span",
|
|
71
68
|
w,
|
|
72
69
|
i(e.text),
|
|
@@ -74,7 +71,7 @@ const V = {
|
|
|
74
71
|
/* TEXT */
|
|
75
72
|
))
|
|
76
73
|
])
|
|
77
|
-
])
|
|
74
|
+
])
|
|
78
75
|
]),
|
|
79
76
|
_: 3
|
|
80
77
|
/* FORWARDED */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, computed as r, createBlock as b, openBlock as f, unref as o, normalizeClass as v, createSlots as y, withCtx as d, createElementVNode as g, renderSlot as i, createCommentVNode as q, mergeProps as B } from "vue";
|
|
2
2
|
import { QLabel as h } from "../QLabel/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useId as C } from "../../composables/uid.js";
|
|
4
|
+
import { useGroupItem as k } from "../../composables/useGroup/index.js";
|
|
5
5
|
const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "QRadioButton",
|
|
@@ -21,7 +21,7 @@ const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m(
|
|
|
21
21
|
name: {}
|
|
22
22
|
},
|
|
23
23
|
setup(s) {
|
|
24
|
-
const e = s, n =
|
|
24
|
+
const e = s, n = C(e.id), t = k(e.value);
|
|
25
25
|
if (!t)
|
|
26
26
|
throw new Error("QRadioButton must be used inside a QRadioGroup");
|
|
27
27
|
const u = r(() => e.labelPlacement === "start" ? "append" : "prepend"), p = r(() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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
|
-
import { useGroup as $ } from "../../composables/group.js";
|
|
5
4
|
import { useId as c } from "../../composables/uid.js";
|
|
5
|
+
import { useGroup as $ } from "../../composables/useGroup/index.js";
|
|
6
6
|
const C = ["id"], M = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "q-field__extras"
|