@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,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<{}>;
|
|
@@ -27,7 +26,7 @@ declare function __VLS_template(): {
|
|
|
27
26
|
readonly label?: string | undefined;
|
|
28
27
|
readonly for?: string | undefined;
|
|
29
28
|
readonly required?: boolean | undefined;
|
|
30
|
-
readonly size?: import('
|
|
29
|
+
readonly size?: import('..').QFieldSize | undefined;
|
|
31
30
|
readonly readonly?: boolean | undefined;
|
|
32
31
|
readonly disabled?: boolean | undefined;
|
|
33
32
|
readonly invalid?: boolean | undefined;
|
|
@@ -48,10 +47,10 @@ declare function __VLS_template(): {
|
|
|
48
47
|
$host: Element | null;
|
|
49
48
|
$emit: (event: string, ...args: any[]) => void;
|
|
50
49
|
$el: any;
|
|
51
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
50
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
52
51
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
53
52
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
54
|
-
size: import('
|
|
53
|
+
size: import('..').QFieldSize;
|
|
55
54
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
56
55
|
beforeCreate?: (() => void) | (() => void)[];
|
|
57
56
|
created?: (() => void) | (() => void)[];
|
|
@@ -73,8 +72,8 @@ declare function __VLS_template(): {
|
|
|
73
72
|
$nextTick: typeof nextTick;
|
|
74
73
|
$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;
|
|
75
74
|
} & Readonly<{
|
|
76
|
-
size: import('
|
|
77
|
-
}> & Omit<Readonly<import('
|
|
75
|
+
size: import('..').QFieldSize;
|
|
76
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
78
77
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
79
78
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
80
79
|
$slots: {
|
|
@@ -92,17 +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:
|
|
104
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
105
|
+
readonly onClick?: ((key: any) => any) | undefined;
|
|
106
106
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
107
107
|
$attrs: {
|
|
108
108
|
[x: string]: unknown;
|
|
@@ -115,16 +115,17 @@ declare function __VLS_template(): {
|
|
|
115
115
|
$: import('vue').ComponentInternalInstance;
|
|
116
116
|
$data: {};
|
|
117
117
|
$props: {
|
|
118
|
-
readonly
|
|
118
|
+
readonly modelValue?: boolean | undefined;
|
|
119
|
+
readonly value: any;
|
|
119
120
|
readonly label: string;
|
|
120
|
-
readonly icon?: import('
|
|
121
|
+
readonly icon?: import('..').Icon | undefined;
|
|
121
122
|
readonly selectable?: boolean | undefined;
|
|
122
|
-
readonly selected?: boolean | undefined;
|
|
123
123
|
readonly highlighted?: boolean | undefined;
|
|
124
124
|
readonly disabled?: boolean | undefined;
|
|
125
125
|
readonly description?: string | undefined;
|
|
126
126
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
127
|
-
readonly
|
|
127
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
128
|
+
readonly onClick?: (() => any) | undefined;
|
|
128
129
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
129
130
|
$attrs: {
|
|
130
131
|
[x: string]: unknown;
|
|
@@ -138,12 +139,17 @@ declare function __VLS_template(): {
|
|
|
138
139
|
$root: import('vue').ComponentPublicInstance | null;
|
|
139
140
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
140
141
|
$host: Element | null;
|
|
141
|
-
$emit: (event: "
|
|
142
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
142
143
|
$el: HTMLLIElement;
|
|
143
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
144
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
145
|
+
modelValue?: boolean;
|
|
146
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
147
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
148
|
+
onClick?: (() => any) | undefined;
|
|
149
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
|
+
"update:modelValue": (value: boolean) => any;
|
|
151
|
+
} & {
|
|
152
|
+
click: () => any;
|
|
147
153
|
}, string, {
|
|
148
154
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
149
155
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -168,8 +174,11 @@ declare function __VLS_template(): {
|
|
|
168
174
|
$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;
|
|
169
175
|
} & Readonly<{
|
|
170
176
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
171
|
-
}> & Omit<Readonly<
|
|
172
|
-
|
|
177
|
+
}> & Omit<Readonly<{
|
|
178
|
+
modelValue?: boolean;
|
|
179
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
180
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
181
|
+
onClick?: (() => any) | undefined;
|
|
173
182
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
174
183
|
$slots: {
|
|
175
184
|
prepend?(_: {}): any;
|
|
@@ -184,12 +193,12 @@ declare function __VLS_template(): {
|
|
|
184
193
|
$root: import('vue').ComponentPublicInstance | null;
|
|
185
194
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
186
195
|
$host: Element | null;
|
|
187
|
-
$emit: (event: "update:modelValue", value:
|
|
196
|
+
$emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
|
|
188
197
|
$el: any;
|
|
189
198
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
190
|
-
modelValue?:
|
|
199
|
+
modelValue?: any;
|
|
191
200
|
} & import('../../types/component').QBaseComponentProps & {
|
|
192
|
-
highlighted?:
|
|
201
|
+
highlighted?: any;
|
|
193
202
|
items?: import('../QList/types').Item[];
|
|
194
203
|
groups?: import('../QList/types').Group[];
|
|
195
204
|
itemValue?: string;
|
|
@@ -197,14 +206,17 @@ declare function __VLS_template(): {
|
|
|
197
206
|
disabled?: boolean;
|
|
198
207
|
selectable?: boolean;
|
|
199
208
|
}> & Readonly<{
|
|
200
|
-
"onUpdate:modelValue"?: ((value:
|
|
209
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
210
|
+
onClick?: ((key: any) => any) | undefined;
|
|
201
211
|
}>, {
|
|
202
212
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
203
213
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
204
214
|
getFirstFocusableItemIndex: () => number;
|
|
205
215
|
getLastFocusableItemIndex: () => number;
|
|
206
216
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
207
|
-
"update:modelValue": (value:
|
|
217
|
+
"update:modelValue": (value: any) => any;
|
|
218
|
+
} & {
|
|
219
|
+
click: (key: any) => any;
|
|
208
220
|
}, string, {
|
|
209
221
|
groups: import('../QList/types').Group[];
|
|
210
222
|
itemValue: string;
|
|
@@ -234,9 +246,9 @@ declare function __VLS_template(): {
|
|
|
234
246
|
itemValue: string;
|
|
235
247
|
itemLabel: string;
|
|
236
248
|
}> & Omit<Readonly<{
|
|
237
|
-
modelValue?:
|
|
249
|
+
modelValue?: any;
|
|
238
250
|
} & import('../../types/component').QBaseComponentProps & {
|
|
239
|
-
highlighted?:
|
|
251
|
+
highlighted?: any;
|
|
240
252
|
items?: import('../QList/types').Item[];
|
|
241
253
|
groups?: import('../QList/types').Group[];
|
|
242
254
|
itemValue?: string;
|
|
@@ -244,7 +256,8 @@ declare function __VLS_template(): {
|
|
|
244
256
|
disabled?: boolean;
|
|
245
257
|
selectable?: boolean;
|
|
246
258
|
}> & Readonly<{
|
|
247
|
-
"onUpdate:modelValue"?: ((value:
|
|
259
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
260
|
+
onClick?: ((key: any) => any) | undefined;
|
|
248
261
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
249
262
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
250
263
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -267,14 +280,14 @@ declare function __VLS_template(): {
|
|
|
267
280
|
};
|
|
268
281
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
269
282
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
270
|
-
"update:modelValue": (value:
|
|
283
|
+
"update:modelValue": (value: any) => any;
|
|
271
284
|
} & {
|
|
272
285
|
"before-show": () => any;
|
|
273
286
|
"before-hide": () => any;
|
|
274
287
|
show: () => any;
|
|
275
288
|
hide: () => any;
|
|
276
289
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
277
|
-
"onUpdate:modelValue"?: ((value:
|
|
290
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
278
291
|
"onBefore-show"?: (() => any) | undefined;
|
|
279
292
|
"onBefore-hide"?: (() => any) | undefined;
|
|
280
293
|
onShow?: (() => any) | undefined;
|
|
@@ -282,9 +295,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
282
295
|
}>, {
|
|
283
296
|
icons: typeof DEFAULT_ICONS;
|
|
284
297
|
texts: typeof DEFAULT_TEXTS;
|
|
285
|
-
groups:
|
|
286
|
-
id: string;
|
|
287
|
-
})[];
|
|
298
|
+
groups: import('../QList/types').Group[];
|
|
288
299
|
itemValue: string;
|
|
289
300
|
itemLabel: string;
|
|
290
301
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -297,7 +308,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
297
308
|
readonly label?: string | undefined;
|
|
298
309
|
readonly for?: string | undefined;
|
|
299
310
|
readonly required?: boolean | undefined;
|
|
300
|
-
readonly size?: import('
|
|
311
|
+
readonly size?: import('..').QFieldSize | undefined;
|
|
301
312
|
readonly readonly?: boolean | undefined;
|
|
302
313
|
readonly disabled?: boolean | undefined;
|
|
303
314
|
readonly invalid?: boolean | undefined;
|
|
@@ -318,10 +329,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
318
329
|
$host: Element | null;
|
|
319
330
|
$emit: (event: string, ...args: any[]) => void;
|
|
320
331
|
$el: any;
|
|
321
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
332
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
322
333
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
323
334
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
324
|
-
size: import('
|
|
335
|
+
size: import('..').QFieldSize;
|
|
325
336
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
326
337
|
beforeCreate?: (() => void) | (() => void)[];
|
|
327
338
|
created?: (() => void) | (() => void)[];
|
|
@@ -343,8 +354,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
343
354
|
$nextTick: typeof nextTick;
|
|
344
355
|
$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;
|
|
345
356
|
} & Readonly<{
|
|
346
|
-
size: import('
|
|
347
|
-
}> & Omit<Readonly<import('
|
|
357
|
+
size: import('..').QFieldSize;
|
|
358
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
348
359
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
349
360
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
350
361
|
$slots: {
|
|
@@ -362,17 +373,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
362
373
|
$: import('vue').ComponentInternalInstance;
|
|
363
374
|
$data: {};
|
|
364
375
|
$props: {
|
|
365
|
-
readonly modelValue?:
|
|
376
|
+
readonly modelValue?: any;
|
|
366
377
|
readonly id?: string | undefined;
|
|
367
378
|
readonly class?: string | unknown[] | undefined;
|
|
368
|
-
readonly highlighted?:
|
|
379
|
+
readonly highlighted?: any;
|
|
369
380
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
370
381
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
371
382
|
readonly itemValue?: string | undefined;
|
|
372
383
|
readonly itemLabel?: string | undefined;
|
|
373
384
|
readonly disabled?: boolean | undefined;
|
|
374
385
|
readonly selectable?: boolean | undefined;
|
|
375
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
386
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
387
|
+
readonly onClick?: ((key: any) => any) | undefined;
|
|
376
388
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
377
389
|
$attrs: {
|
|
378
390
|
[x: string]: unknown;
|
|
@@ -385,16 +397,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
385
397
|
$: import('vue').ComponentInternalInstance;
|
|
386
398
|
$data: {};
|
|
387
399
|
$props: {
|
|
388
|
-
readonly
|
|
400
|
+
readonly modelValue?: boolean | undefined;
|
|
401
|
+
readonly value: any;
|
|
389
402
|
readonly label: string;
|
|
390
|
-
readonly icon?: import('
|
|
403
|
+
readonly icon?: import('..').Icon | undefined;
|
|
391
404
|
readonly selectable?: boolean | undefined;
|
|
392
|
-
readonly selected?: boolean | undefined;
|
|
393
405
|
readonly highlighted?: boolean | undefined;
|
|
394
406
|
readonly disabled?: boolean | undefined;
|
|
395
407
|
readonly description?: string | undefined;
|
|
396
408
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
397
|
-
readonly
|
|
409
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
410
|
+
readonly onClick?: (() => any) | undefined;
|
|
398
411
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
399
412
|
$attrs: {
|
|
400
413
|
[x: string]: unknown;
|
|
@@ -408,12 +421,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
408
421
|
$root: import('vue').ComponentPublicInstance | null;
|
|
409
422
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
410
423
|
$host: Element | null;
|
|
411
|
-
$emit: (event: "
|
|
424
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
412
425
|
$el: HTMLLIElement;
|
|
413
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
-
|
|
426
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
427
|
+
modelValue?: boolean;
|
|
428
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
429
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
430
|
+
onClick?: (() => any) | undefined;
|
|
431
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
432
|
+
"update:modelValue": (value: boolean) => any;
|
|
433
|
+
} & {
|
|
434
|
+
click: () => any;
|
|
417
435
|
}, string, {
|
|
418
436
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
419
437
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -438,8 +456,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
438
456
|
$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;
|
|
439
457
|
} & Readonly<{
|
|
440
458
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
441
|
-
}> & Omit<Readonly<
|
|
442
|
-
|
|
459
|
+
}> & Omit<Readonly<{
|
|
460
|
+
modelValue?: boolean;
|
|
461
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
462
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
463
|
+
onClick?: (() => any) | undefined;
|
|
443
464
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
444
465
|
$slots: {
|
|
445
466
|
prepend?(_: {}): any;
|
|
@@ -454,12 +475,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
454
475
|
$root: import('vue').ComponentPublicInstance | null;
|
|
455
476
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
456
477
|
$host: Element | null;
|
|
457
|
-
$emit: (event: "update:modelValue", value:
|
|
478
|
+
$emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
|
|
458
479
|
$el: any;
|
|
459
480
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
460
|
-
modelValue?:
|
|
481
|
+
modelValue?: any;
|
|
461
482
|
} & import('../../types/component').QBaseComponentProps & {
|
|
462
|
-
highlighted?:
|
|
483
|
+
highlighted?: any;
|
|
463
484
|
items?: import('../QList/types').Item[];
|
|
464
485
|
groups?: import('../QList/types').Group[];
|
|
465
486
|
itemValue?: string;
|
|
@@ -467,14 +488,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
467
488
|
disabled?: boolean;
|
|
468
489
|
selectable?: boolean;
|
|
469
490
|
}> & Readonly<{
|
|
470
|
-
"onUpdate:modelValue"?: ((value:
|
|
491
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
492
|
+
onClick?: ((key: any) => any) | undefined;
|
|
471
493
|
}>, {
|
|
472
494
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
473
495
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
474
496
|
getFirstFocusableItemIndex: () => number;
|
|
475
497
|
getLastFocusableItemIndex: () => number;
|
|
476
498
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
477
|
-
"update:modelValue": (value:
|
|
499
|
+
"update:modelValue": (value: any) => any;
|
|
500
|
+
} & {
|
|
501
|
+
click: (key: any) => any;
|
|
478
502
|
}, string, {
|
|
479
503
|
groups: import('../QList/types').Group[];
|
|
480
504
|
itemValue: string;
|
|
@@ -504,9 +528,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
504
528
|
itemValue: string;
|
|
505
529
|
itemLabel: string;
|
|
506
530
|
}> & Omit<Readonly<{
|
|
507
|
-
modelValue?:
|
|
531
|
+
modelValue?: any;
|
|
508
532
|
} & import('../../types/component').QBaseComponentProps & {
|
|
509
|
-
highlighted?:
|
|
533
|
+
highlighted?: any;
|
|
510
534
|
items?: import('../QList/types').Item[];
|
|
511
535
|
groups?: import('../QList/types').Group[];
|
|
512
536
|
itemValue?: string;
|
|
@@ -514,7 +538,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
514
538
|
disabled?: boolean;
|
|
515
539
|
selectable?: boolean;
|
|
516
540
|
}> & Readonly<{
|
|
517
|
-
"onUpdate:modelValue"?: ((value:
|
|
541
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
542
|
+
onClick?: ((key: any) => any) | undefined;
|
|
518
543
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
519
544
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
520
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, mergeModels as D, useModel as H, ref as y, computed as b, watch as X, nextTick as j, createElementBlock as f, openBlock as t, Fragment as
|
|
1
|
+
import { defineComponent as P, mergeModels as D, useModel as H, ref as y, computed as b, watch as X, nextTick as j, createElementBlock as f, openBlock as t, Fragment as z, createVNode as k, unref as n, mergeProps as A, withModifiers as F, createSlots as G, withCtx as i, toDisplayString as O, createCommentVNode as g, createTextVNode as J, renderSlot as r, createBlock as h, normalizeProps as W, createElementVNode as Y } from "vue";
|
|
2
2
|
import { DEFAULT_TEXTS as Z, DEFAULT_ICONS as ee } from "./types.js";
|
|
3
3
|
import { QButton as le } from "../QButton/index.js";
|
|
4
4
|
import { QField as oe } from "../QField/index.js";
|
|
@@ -7,8 +7,8 @@ import { QList as te } from "../QList/index.js";
|
|
|
7
7
|
import { QOverlay as ne } from "../QOverlay/index.js";
|
|
8
8
|
import { QSpinnerLoader as ie } from "../QSpinnerLoader/index.js";
|
|
9
9
|
import { QChevron as se } from "../__internal__/QChevron/index.js";
|
|
10
|
-
import { QClearButton as
|
|
11
|
-
const
|
|
10
|
+
import { QClearButton as de } from "../__internal__/QClearButton/index.js";
|
|
11
|
+
const re = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "q-select__value"
|
|
14
14
|
}, ue = {
|
|
@@ -36,21 +36,21 @@ const de = {
|
|
|
36
36
|
itemLabel: { default: "label" },
|
|
37
37
|
clearable: { type: Boolean },
|
|
38
38
|
loading: { type: Boolean },
|
|
39
|
-
emptyValue: {
|
|
39
|
+
emptyValue: {},
|
|
40
40
|
icons: { default: () => ee },
|
|
41
41
|
texts: { default: () => Z }
|
|
42
42
|
}, {
|
|
43
|
-
modelValue: {
|
|
43
|
+
modelValue: {},
|
|
44
44
|
modelModifiers: {}
|
|
45
45
|
}),
|
|
46
46
|
emits: /* @__PURE__ */ D(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
|
|
47
|
-
setup(
|
|
48
|
-
const e =
|
|
47
|
+
setup(q, { emit: R }) {
|
|
48
|
+
const e = q, m = R, p = H(q, "modelValue"), o = y(!1), v = y(null), x = y(null), _ = y(null), M = b(() => s.value === void 0), s = b(
|
|
49
49
|
() => {
|
|
50
50
|
var l;
|
|
51
51
|
return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === p.value);
|
|
52
52
|
}
|
|
53
|
-
),
|
|
53
|
+
), N = b(
|
|
54
54
|
() => s.value ? s.value[e.itemLabel] : ""
|
|
55
55
|
), w = b(
|
|
56
56
|
() => e.clearable && !e.readonly && !e.disabled && !e.loading
|
|
@@ -59,51 +59,51 @@ const de = {
|
|
|
59
59
|
p.value = l, E();
|
|
60
60
|
}
|
|
61
61
|
function V() {
|
|
62
|
-
w.value && (B(e.emptyValue),
|
|
62
|
+
w.value && (B(e.emptyValue), Q());
|
|
63
63
|
}
|
|
64
64
|
function U(l) {
|
|
65
65
|
var a, u, c;
|
|
66
66
|
!((a = _.value) != null && a.contains(l.relatedTarget)) && !((c = (u = v.value) == null ? void 0 : u.fieldRef) != null && c.contains(l.relatedTarget)) && E();
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function L() {
|
|
69
69
|
o.value || (m("before-show"), o.value = !0);
|
|
70
70
|
}
|
|
71
71
|
function E() {
|
|
72
72
|
o.value && (m("before-hide"), o.value = !1);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
e.readonly || e.disabled || (o.value ? E() :
|
|
74
|
+
function $() {
|
|
75
|
+
e.readonly || e.disabled || (o.value ? E() : L());
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
!l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) &&
|
|
77
|
+
function C(l) {
|
|
78
|
+
!l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && L(), ["Escape", "Tab"].includes(l.key) && (o.value ? o.value = !1 : w.value && l.key === "Escape" && V()), l.key === "Delete" && e.clearable && V());
|
|
79
79
|
}
|
|
80
80
|
function I() {
|
|
81
81
|
var l;
|
|
82
|
-
e.loading ? (l = _.value) == null || l.focus() :
|
|
82
|
+
e.loading ? (l = _.value) == null || l.focus() : T(), m("show");
|
|
83
83
|
}
|
|
84
84
|
function K() {
|
|
85
|
-
|
|
85
|
+
Q(), m("hide");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Q() {
|
|
88
88
|
var l, a;
|
|
89
89
|
(a = (l = v.value) == null ? void 0 : l.fieldRef) == null || a.focus();
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function T() {
|
|
92
92
|
var l;
|
|
93
|
-
(l =
|
|
93
|
+
(l = x.value) == null || l.$el.focus();
|
|
94
94
|
}
|
|
95
95
|
return X(
|
|
96
96
|
() => e.loading,
|
|
97
97
|
(l) => {
|
|
98
|
-
!l && o.value && j(
|
|
98
|
+
!l && o.value && j(T);
|
|
99
99
|
}
|
|
100
100
|
), (l, a) => {
|
|
101
101
|
var u, c;
|
|
102
102
|
return t(), f(
|
|
103
|
-
|
|
103
|
+
z,
|
|
104
104
|
null,
|
|
105
105
|
[
|
|
106
|
-
k(n(oe),
|
|
106
|
+
k(n(oe), A({
|
|
107
107
|
id: e.id,
|
|
108
108
|
ref_key: "triggerEl",
|
|
109
109
|
ref: v,
|
|
@@ -127,12 +127,12 @@ const de = {
|
|
|
127
127
|
size: e.size,
|
|
128
128
|
invalid: e.invalid
|
|
129
129
|
}, l.$attrs, {
|
|
130
|
-
onClick:
|
|
131
|
-
onKeydown:
|
|
130
|
+
onClick: $,
|
|
131
|
+
onKeydown: F(C, ["stop"])
|
|
132
132
|
}), G({
|
|
133
133
|
append: i(() => [
|
|
134
|
-
|
|
135
|
-
w.value && p.value ? (t(), h(n(
|
|
134
|
+
r(l.$slots, "append"),
|
|
135
|
+
w.value && p.value ? (t(), h(n(de), {
|
|
136
136
|
key: 0,
|
|
137
137
|
icons: e.icons,
|
|
138
138
|
texts: e.texts,
|
|
@@ -142,12 +142,12 @@ const de = {
|
|
|
142
142
|
key: 1,
|
|
143
143
|
class: "q-select__chevron",
|
|
144
144
|
"aria-label": e.texts.showOptions,
|
|
145
|
-
variant: "
|
|
145
|
+
variant: "ghost",
|
|
146
146
|
color: "neutral",
|
|
147
147
|
borderless: "",
|
|
148
148
|
tabindex: "-1",
|
|
149
149
|
disabled: e.disabled,
|
|
150
|
-
onClick:
|
|
150
|
+
onClick: $
|
|
151
151
|
}, {
|
|
152
152
|
default: i(() => [
|
|
153
153
|
k(n(se), {
|
|
@@ -160,13 +160,13 @@ const de = {
|
|
|
160
160
|
}, 8, ["aria-label", "disabled"]))
|
|
161
161
|
]),
|
|
162
162
|
default: i(() => [
|
|
163
|
-
|
|
163
|
+
M.value ? (t(), f("span", ue, [
|
|
164
164
|
!e.readonly && !e.disabled ? (t(), f(
|
|
165
|
-
|
|
165
|
+
z,
|
|
166
166
|
{ key: 0 },
|
|
167
167
|
[
|
|
168
168
|
J(
|
|
169
|
-
|
|
169
|
+
O(e.texts.placeholder),
|
|
170
170
|
1
|
|
171
171
|
/* TEXT */
|
|
172
172
|
)
|
|
@@ -176,8 +176,8 @@ const de = {
|
|
|
176
176
|
)) : g("v-if", !0)
|
|
177
177
|
])) : (t(), f(
|
|
178
178
|
"span",
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
re,
|
|
180
|
+
O(N.value),
|
|
181
181
|
1
|
|
182
182
|
/* TEXT */
|
|
183
183
|
))
|
|
@@ -188,12 +188,12 @@ const de = {
|
|
|
188
188
|
(u = s.value) != null && u.icon || l.$slots.prepend ? {
|
|
189
189
|
name: "prepend",
|
|
190
190
|
fn: i(() => {
|
|
191
|
-
var
|
|
191
|
+
var d, S;
|
|
192
192
|
return [
|
|
193
|
-
|
|
194
|
-
(
|
|
193
|
+
r(l.$slots, "prepend"),
|
|
194
|
+
(d = s.value) != null && d.icon ? (t(), h(
|
|
195
195
|
n(ae),
|
|
196
|
-
W(
|
|
196
|
+
W(A({ key: 0 }, (S = s.value) == null ? void 0 : S.icon)),
|
|
197
197
|
null,
|
|
198
198
|
16
|
|
199
199
|
/* FULL_PROPS */
|
|
@@ -205,14 +205,14 @@ const de = {
|
|
|
205
205
|
l.$slots.extras ? {
|
|
206
206
|
name: "extras",
|
|
207
207
|
fn: i(() => [
|
|
208
|
-
|
|
208
|
+
r(l.$slots, "extras")
|
|
209
209
|
]),
|
|
210
210
|
key: "1"
|
|
211
211
|
} : void 0
|
|
212
212
|
]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size", "invalid"]),
|
|
213
213
|
k(n(ne), {
|
|
214
214
|
modelValue: o.value,
|
|
215
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
215
|
+
"onUpdate:modelValue": a[0] || (a[0] = (d) => o.value = d),
|
|
216
216
|
spy: "",
|
|
217
217
|
trigger: "manual",
|
|
218
218
|
placement: "bottom-start",
|
|
@@ -232,15 +232,15 @@ const de = {
|
|
|
232
232
|
class: "q-select__body",
|
|
233
233
|
tabindex: "-1",
|
|
234
234
|
onFocusout: U,
|
|
235
|
-
onKeydown:
|
|
235
|
+
onKeydown: F(C, ["stop"])
|
|
236
236
|
}, [
|
|
237
|
-
|
|
237
|
+
r(l.$slots, "body.prepend"),
|
|
238
238
|
e.loading ? (t(), f("div", fe, [
|
|
239
239
|
k(n(ie), { size: 24 })
|
|
240
240
|
])) : (t(), h(n(te), {
|
|
241
241
|
key: 1,
|
|
242
242
|
ref_key: "listRef",
|
|
243
|
-
ref:
|
|
243
|
+
ref: x,
|
|
244
244
|
class: "q-select__items",
|
|
245
245
|
selectable: "",
|
|
246
246
|
"model-value": p.value,
|
|
@@ -250,13 +250,13 @@ const de = {
|
|
|
250
250
|
"item-value": e.itemValue,
|
|
251
251
|
"onUpdate:modelValue": B
|
|
252
252
|
}, {
|
|
253
|
-
item: i(({ item:
|
|
254
|
-
|
|
253
|
+
item: i(({ item: d }) => [
|
|
254
|
+
r(l.$slots, "item", { item: d })
|
|
255
255
|
]),
|
|
256
256
|
_: 3
|
|
257
257
|
/* FORWARDED */
|
|
258
258
|
}, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
|
|
259
|
-
|
|
259
|
+
r(l.$slots, "body.append")
|
|
260
260
|
], 40, ce)
|
|
261
261
|
]),
|
|
262
262
|
_: 3
|