@quidgest/ui 0.15.2 → 0.15.4
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 -0
- package/dist/ui.css +111 -6
- package/dist/ui.esm.js +6988 -5987
- package/dist/ui.js +33 -26
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1141 -990
- package/dist/ui.scss +119 -9
- package/esm/components/QCombobox/QCombobox.d.ts +18 -14
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +1 -1
- package/esm/components/QCombobox/index.d.ts +29 -17
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +1 -1
- package/esm/components/QDateTimePicker/index.d.ts +3 -0
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +2 -2
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +51 -50
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +35 -0
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -0
- package/esm/components/QDismissibleLayer/QDismissibleLayer.vue.js +50 -0
- package/esm/components/QDismissibleLayer/QDismissibleLayer.vue2.js +4 -0
- package/esm/components/QDismissibleLayer/index.d.ts +53 -0
- package/esm/components/QDismissibleLayer/index.d.ts.map +1 -0
- package/esm/components/QDismissibleLayer/index.js +6 -0
- package/esm/components/QDismissibleLayer/types.d.ts +25 -0
- package/esm/components/QDismissibleLayer/types.d.ts.map +1 -0
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +0 -4
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +10 -15
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +10 -15
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +72 -117
- package/esm/components/QDropdownMenu/index.d.ts +0 -3
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +11 -10
- package/esm/components/QFileUpload/QFileUpload.vue.js +1 -1
- package/esm/components/QFileUpload/index.d.ts +3 -0
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFocusTrap/QFocusTrap.d.ts +28 -0
- package/esm/components/QFocusTrap/QFocusTrap.d.ts.map +1 -0
- package/esm/components/QFocusTrap/QFocusTrap.vue.js +32 -0
- package/esm/components/QFocusTrap/QFocusTrap.vue2.js +4 -0
- package/esm/components/QFocusTrap/index.d.ts +38 -0
- package/esm/components/QFocusTrap/index.d.ts.map +1 -0
- package/esm/components/QFocusTrap/index.js +6 -0
- package/esm/components/QFocusTrap/types.d.ts +6 -0
- package/esm/components/QFocusTrap/types.d.ts.map +1 -0
- package/esm/components/QInputGroup/QInputGroup.vue.js +1 -1
- package/esm/components/QLabel/QLabel.d.ts +1 -0
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +28 -13
- package/esm/components/QLabel/index.d.ts +1 -0
- package/esm/components/QLabel/index.d.ts.map +1 -1
- package/esm/components/QLabel/types.d.ts +5 -0
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +0 -9
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +97 -82
- package/esm/components/QList/index.d.ts +0 -3
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QMeter/QMeter.vue.js +14 -13
- package/esm/components/QMeter/index.d.ts +2 -0
- package/esm/components/QMeter/index.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +2 -0
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +197 -148
- package/esm/components/QOverlay/index.d.ts +4 -0
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +6 -1
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +8 -4
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +6 -5
- package/esm/components/QPasswordField/index.d.ts +4 -2
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +23 -23
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +6 -2
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +20 -20
- package/esm/components/QPropertyList/index.d.ts +9 -2
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts +24 -0
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -0
- package/esm/components/QRadioGroup/QRadioButton.vue.js +78 -0
- package/esm/components/QRadioGroup/QRadioButton.vue2.js +4 -0
- package/esm/components/QRadioGroup/QRadioGroup.d.ts +32 -0
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -0
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +79 -0
- package/esm/components/QRadioGroup/QRadioGroup.vue2.js +4 -0
- package/esm/components/QRadioGroup/index.d.ts +108 -0
- package/esm/components/QRadioGroup/index.d.ts.map +1 -0
- package/esm/components/QRadioGroup/index.js +8 -0
- package/esm/components/QRadioGroup/types.d.ts +65 -0
- package/esm/components/QRadioGroup/types.d.ts.map +1 -0
- package/esm/components/QSelect/QSelect.d.ts +4 -8
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +107 -126
- package/esm/components/QSelect/index.d.ts +5 -4
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +1 -1
- package/esm/components/QTextArea/index.d.ts +3 -0
- package/esm/components/QTextArea/index.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +2 -2
- package/esm/components/QTextField/QTextField.vue.js +1 -1
- package/esm/components/QTextField/index.d.ts +4 -1
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/index.d.ts +3 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +67 -60
- package/esm/composables/group.d.ts.map +1 -1
- package/esm/composables/group.js +1 -1
- package/esm/index.d.ts +4 -0
- package/esm/utils/merge.d.ts.map +1 -1
- package/esm/utils/merge.js +12 -16
- package/esm/vendors/@vueuse/core/index.js +173 -67
- package/esm/vendors/@vueuse/integrations/useFocusTrap/component.js +24 -0
- package/esm/vendors/@vueuse/shared/index.js +36 -15
- package/esm/vendors/focus-trap/dist/focus-trap.esm.js +473 -0
- package/esm/vendors/tabbable/dist/index.esm.js +202 -0
- package/package.json +3 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const QRadioButton: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
size: import('./types').QRadioButtonSize;
|
|
4
|
+
color: string;
|
|
5
|
+
labelPlacement: import('./types').QRadioButtonLabelPlacement;
|
|
6
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<import('./types').QRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
14
|
+
size: import('./types').QRadioButtonSize;
|
|
15
|
+
color: string;
|
|
16
|
+
labelPlacement: import('./types').QRadioButtonLabelPlacement;
|
|
17
|
+
}>;
|
|
18
|
+
__isFragment?: never;
|
|
19
|
+
__isTeleport?: never;
|
|
20
|
+
__isSuspense?: never;
|
|
21
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
22
|
+
size: import('./types').QRadioButtonSize;
|
|
23
|
+
color: string;
|
|
24
|
+
labelPlacement: import('./types').QRadioButtonLabelPlacement;
|
|
25
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
26
|
+
$slots: {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
default?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
});
|
|
31
|
+
declare const QRadioGroup: {
|
|
32
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
33
|
+
modelValue?: import('../../types/primitive').Primitive;
|
|
34
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
35
|
+
label?: string;
|
|
36
|
+
for?: string;
|
|
37
|
+
required?: boolean;
|
|
38
|
+
} & {
|
|
39
|
+
orientation?: import('./types').QRadioButtonOrientation;
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
readonly?: boolean;
|
|
42
|
+
size?: import('./types').QRadioButtonSize;
|
|
43
|
+
invalid?: boolean;
|
|
44
|
+
name?: string;
|
|
45
|
+
}> & Readonly<{
|
|
46
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (value: import('../../types/primitive').Primitive) => any;
|
|
49
|
+
}, import('vue').PublicProps, {
|
|
50
|
+
size: import('./types').QRadioButtonSize;
|
|
51
|
+
orientation: import('./types').QRadioButtonOrientation;
|
|
52
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
53
|
+
P: {};
|
|
54
|
+
B: {};
|
|
55
|
+
D: {};
|
|
56
|
+
C: {};
|
|
57
|
+
M: {};
|
|
58
|
+
Defaults: {};
|
|
59
|
+
}, Readonly<{
|
|
60
|
+
modelValue?: import('../../types/primitive').Primitive;
|
|
61
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
62
|
+
label?: string;
|
|
63
|
+
for?: string;
|
|
64
|
+
required?: boolean;
|
|
65
|
+
} & {
|
|
66
|
+
orientation?: import('./types').QRadioButtonOrientation;
|
|
67
|
+
disabled?: boolean;
|
|
68
|
+
readonly?: boolean;
|
|
69
|
+
size?: import('./types').QRadioButtonSize;
|
|
70
|
+
invalid?: boolean;
|
|
71
|
+
name?: string;
|
|
72
|
+
}> & Readonly<{
|
|
73
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
74
|
+
}>, {}, {}, {}, {}, {
|
|
75
|
+
size: import('./types').QRadioButtonSize;
|
|
76
|
+
orientation: import('./types').QRadioButtonOrientation;
|
|
77
|
+
}>;
|
|
78
|
+
__isFragment?: never;
|
|
79
|
+
__isTeleport?: never;
|
|
80
|
+
__isSuspense?: never;
|
|
81
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
82
|
+
modelValue?: import('../../types/primitive').Primitive;
|
|
83
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
84
|
+
label?: string;
|
|
85
|
+
for?: string;
|
|
86
|
+
required?: boolean;
|
|
87
|
+
} & {
|
|
88
|
+
orientation?: import('./types').QRadioButtonOrientation;
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
readonly?: boolean;
|
|
91
|
+
size?: import('./types').QRadioButtonSize;
|
|
92
|
+
invalid?: boolean;
|
|
93
|
+
name?: string;
|
|
94
|
+
}> & Readonly<{
|
|
95
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
96
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
97
|
+
"update:modelValue": (value: import('../../types/primitive').Primitive) => any;
|
|
98
|
+
}, string, {
|
|
99
|
+
size: import('./types').QRadioButtonSize;
|
|
100
|
+
orientation: import('./types').QRadioButtonOrientation;
|
|
101
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
102
|
+
$slots: {
|
|
103
|
+
default?(_: {}): any;
|
|
104
|
+
extras?(_: {}): any;
|
|
105
|
+
};
|
|
106
|
+
});
|
|
107
|
+
export { QRadioButton, QRadioGroup };
|
|
108
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { QLabelProps } from '../QLabel';
|
|
2
|
+
export type QRadioButtonOrientation = 'vertical' | 'horizontal';
|
|
3
|
+
export type QRadioButtonSize = 'small' | 'regular' | 'large';
|
|
4
|
+
export type QRadioGroupProps = QLabelProps & {
|
|
5
|
+
/**
|
|
6
|
+
* The orientation of the radio button group shown.
|
|
7
|
+
*/
|
|
8
|
+
orientation?: QRadioButtonOrientation;
|
|
9
|
+
/**
|
|
10
|
+
* If true, the radio button is disabled and cannot be interacted with.
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* If set to true, the radio button is read-only.
|
|
15
|
+
*/
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The size of the checkbox, either 'regular', 'small' or 'large'.
|
|
19
|
+
*/
|
|
20
|
+
size?: QRadioButtonSize;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates whether the provided value fails the validation criteria.
|
|
23
|
+
*/
|
|
24
|
+
invalid?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The name for each radio buttons in radio group.
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
};
|
|
30
|
+
export type QRadioButtonLabelPlacement = 'start' | 'end';
|
|
31
|
+
export type QRadioButtonProps = QLabelProps & {
|
|
32
|
+
/**
|
|
33
|
+
* The placement of the label shown.
|
|
34
|
+
*/
|
|
35
|
+
labelPlacement?: QRadioButtonLabelPlacement;
|
|
36
|
+
/**
|
|
37
|
+
* If true, the radio button is disabled and cannot be interacted with.
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* If set to true, the radio button is read-only.
|
|
42
|
+
*/
|
|
43
|
+
readonly?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Applies specified color to the control
|
|
46
|
+
*/
|
|
47
|
+
color?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Defined the value for the radio button.
|
|
50
|
+
*/
|
|
51
|
+
value: string;
|
|
52
|
+
/**
|
|
53
|
+
* The size of the checkbox, either 'regular', 'small' or 'large'.
|
|
54
|
+
*/
|
|
55
|
+
size?: QRadioButtonSize;
|
|
56
|
+
/**
|
|
57
|
+
* Indicates whether the provided value fails the validation criteria.
|
|
58
|
+
*/
|
|
59
|
+
invalid?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The name for each radio buttons in radio group.
|
|
62
|
+
*/
|
|
63
|
+
name?: string;
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,YAAY,CAAA;AAE/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;OAEG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAA;IAErC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,KAAK,CAAA;AAExD,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC7C;;OAEG;IACH,cAAc,CAAC,EAAE,0BAA0B,CAAA;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -26,10 +26,10 @@ declare function __VLS_template(): {
|
|
|
26
26
|
readonly class?: string | unknown[] | undefined;
|
|
27
27
|
readonly label?: string | undefined;
|
|
28
28
|
readonly for?: string | undefined;
|
|
29
|
+
readonly required?: boolean | undefined;
|
|
29
30
|
readonly size?: import('../QField').QFieldSize | undefined;
|
|
30
31
|
readonly readonly?: boolean | undefined;
|
|
31
32
|
readonly disabled?: boolean | undefined;
|
|
32
|
-
readonly required?: boolean | undefined;
|
|
33
33
|
readonly invalid?: boolean | undefined;
|
|
34
34
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
35
35
|
$attrs: {
|
|
@@ -199,7 +199,6 @@ declare function __VLS_template(): {
|
|
|
199
199
|
}> & Readonly<{
|
|
200
200
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
201
201
|
}>, {
|
|
202
|
-
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
203
202
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
204
203
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
205
204
|
getFirstFocusableItemIndex: () => number;
|
|
@@ -246,8 +245,7 @@ declare function __VLS_template(): {
|
|
|
246
245
|
selectable?: boolean;
|
|
247
246
|
}> & Readonly<{
|
|
248
247
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
249
|
-
}>, "
|
|
250
|
-
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
248
|
+
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
251
249
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
252
250
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
253
251
|
getFirstFocusableItemIndex: () => number;
|
|
@@ -298,10 +296,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
298
296
|
readonly class?: string | unknown[] | undefined;
|
|
299
297
|
readonly label?: string | undefined;
|
|
300
298
|
readonly for?: string | undefined;
|
|
299
|
+
readonly required?: boolean | undefined;
|
|
301
300
|
readonly size?: import('../QField').QFieldSize | undefined;
|
|
302
301
|
readonly readonly?: boolean | undefined;
|
|
303
302
|
readonly disabled?: boolean | undefined;
|
|
304
|
-
readonly required?: boolean | undefined;
|
|
305
303
|
readonly invalid?: boolean | undefined;
|
|
306
304
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
307
305
|
$attrs: {
|
|
@@ -471,7 +469,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
471
469
|
}> & Readonly<{
|
|
472
470
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
473
471
|
}>, {
|
|
474
|
-
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
475
472
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
476
473
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
477
474
|
getFirstFocusableItemIndex: () => number;
|
|
@@ -518,8 +515,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
518
515
|
selectable?: boolean;
|
|
519
516
|
}> & Readonly<{
|
|
520
517
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
521
|
-
}>, "
|
|
522
|
-
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
518
|
+
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
523
519
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
524
520
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
525
521
|
getFirstFocusableItemIndex: () => 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;AAsSC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AAgKjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA4TT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoFkrB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAjE90B;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8BosB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArB70B,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,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DEFAULT_TEXTS as
|
|
3
|
-
import { QButton as
|
|
4
|
-
import { QField as
|
|
5
|
-
import { QIcon as
|
|
6
|
-
import { QList as
|
|
7
|
-
import { QOverlay as
|
|
8
|
-
import { QSpinnerLoader as
|
|
9
|
-
import { QChevron as
|
|
10
|
-
import { QClearButton as
|
|
11
|
-
const
|
|
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 N, createVNode as k, unref as n, mergeProps as z, withModifiers as A, createSlots as G, withCtx as i, toDisplayString as F, createCommentVNode as g, createTextVNode as J, renderSlot as d, createBlock as h, normalizeProps as W, createElementVNode as Y } from "vue";
|
|
2
|
+
import { DEFAULT_TEXTS as Z, DEFAULT_ICONS as ee } from "./types.js";
|
|
3
|
+
import { QButton as le } from "../QButton/index.js";
|
|
4
|
+
import { QField as oe } from "../QField/index.js";
|
|
5
|
+
import { QIcon as ae } from "../QIcon/index.js";
|
|
6
|
+
import { QList as te } from "../QList/index.js";
|
|
7
|
+
import { QOverlay as ne } from "../QOverlay/index.js";
|
|
8
|
+
import { QSpinnerLoader as ie } from "../QSpinnerLoader/index.js";
|
|
9
|
+
import { QChevron as se } from "../__internal__/QChevron/index.js";
|
|
10
|
+
import { QClearButton as re } from "../__internal__/QClearButton/index.js";
|
|
11
|
+
const de = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "q-select__value"
|
|
14
|
-
},
|
|
14
|
+
}, ue = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "q-select__placeholder"
|
|
17
|
-
},
|
|
17
|
+
}, ce = ["data-key"], fe = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "q-select__loader"
|
|
20
|
-
},
|
|
20
|
+
}, Ve = /* @__PURE__ */ P({
|
|
21
21
|
inheritAttrs: !1,
|
|
22
22
|
__name: "QSelect",
|
|
23
|
-
props: /* @__PURE__ */
|
|
23
|
+
props: /* @__PURE__ */ D({
|
|
24
24
|
id: {},
|
|
25
25
|
class: {},
|
|
26
26
|
label: {},
|
|
27
27
|
for: {},
|
|
28
|
+
required: { type: Boolean },
|
|
28
29
|
size: {},
|
|
29
30
|
readonly: { type: Boolean },
|
|
30
31
|
disabled: { type: Boolean },
|
|
31
|
-
required: { type: Boolean },
|
|
32
32
|
invalid: { type: Boolean },
|
|
33
33
|
items: {},
|
|
34
34
|
groups: { default: () => [] },
|
|
@@ -37,95 +37,76 @@ const fe = {
|
|
|
37
37
|
clearable: { type: Boolean },
|
|
38
38
|
loading: { type: Boolean },
|
|
39
39
|
emptyValue: { type: [String, Number, Boolean, Symbol] },
|
|
40
|
-
icons: { default: () =>
|
|
41
|
-
texts: { default: () =>
|
|
40
|
+
icons: { default: () => ee },
|
|
41
|
+
texts: { default: () => Z }
|
|
42
42
|
}, {
|
|
43
43
|
modelValue: { type: [String, Number, Boolean, Symbol] },
|
|
44
44
|
modelModifiers: {}
|
|
45
45
|
}),
|
|
46
|
-
emits: /* @__PURE__ */
|
|
47
|
-
setup(
|
|
48
|
-
const e =
|
|
46
|
+
emits: /* @__PURE__ */ D(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
|
|
47
|
+
setup(x, { emit: O }) {
|
|
48
|
+
const e = x, m = O, p = H(x, "modelValue"), o = y(!1), v = y(null), q = y(null), _ = y(null), R = b(() => s.value === void 0), s = b(
|
|
49
49
|
() => {
|
|
50
50
|
var l;
|
|
51
|
-
return (l = e.items) == null ? void 0 : l.find((
|
|
51
|
+
return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === p.value);
|
|
52
52
|
}
|
|
53
|
-
),
|
|
54
|
-
() =>
|
|
55
|
-
),
|
|
53
|
+
), M = b(
|
|
54
|
+
() => s.value ? s.value[e.itemLabel] : ""
|
|
55
|
+
), w = b(
|
|
56
56
|
() => e.clearable && !e.readonly && !e.disabled && !e.loading
|
|
57
57
|
);
|
|
58
58
|
function B(l) {
|
|
59
|
-
|
|
59
|
+
p.value = l, E();
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
|
|
61
|
+
function V() {
|
|
62
|
+
w.value && (B(e.emptyValue), C());
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
var
|
|
66
|
-
!((
|
|
64
|
+
function U(l) {
|
|
65
|
+
var a, u, c;
|
|
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
|
|
69
|
-
|
|
68
|
+
function S() {
|
|
69
|
+
o.value || (m("before-show"), o.value = !0);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
|
|
71
|
+
function E() {
|
|
72
|
+
o.value && (m("before-hide"), o.value = !1);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
e.readonly || e.disabled || (
|
|
74
|
+
function L() {
|
|
75
|
+
e.readonly || e.disabled || (o.value ? E() : S());
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
var o;
|
|
80
|
-
if (!(!l.key || e.readonly || e.disabled)) {
|
|
81
|
-
if (window.clearTimeout($), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && C(), ["Escape", "Tab"].includes(l.key) && (t.value ? t.value = !1 : E.value && l.key === "Escape" && x()), l.key === "Delete" && e.clearable && x(), /^[a-z]$/i.test(l.key)) {
|
|
82
|
-
w.value += l.key.toLowerCase();
|
|
83
|
-
const s = ((o = e.items) == null ? void 0 : o.length) || 0;
|
|
84
|
-
for (let a = 0; a < s; a++)
|
|
85
|
-
if (e.items[a][e.itemLabel].toLowerCase().startsWith(w.value)) {
|
|
86
|
-
W(a);
|
|
87
|
-
break;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
$ = window.setTimeout(function() {
|
|
91
|
-
w.value = "";
|
|
92
|
-
}, 500);
|
|
93
|
-
}
|
|
77
|
+
function $(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) && S(), ["Escape", "Tab"].includes(l.key) && (o.value ? o.value = !1 : w.value && l.key === "Escape" && V()), l.key === "Delete" && e.clearable && V());
|
|
94
79
|
}
|
|
95
|
-
function
|
|
80
|
+
function I() {
|
|
96
81
|
var l;
|
|
97
|
-
e.loading ? (l =
|
|
82
|
+
e.loading ? (l = _.value) == null || l.focus() : Q(), m("show");
|
|
98
83
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
84
|
+
function K() {
|
|
85
|
+
C(), m("hide");
|
|
101
86
|
}
|
|
102
|
-
function
|
|
103
|
-
var l,
|
|
104
|
-
(
|
|
87
|
+
function C() {
|
|
88
|
+
var l, a;
|
|
89
|
+
(a = (l = v.value) == null ? void 0 : l.fieldRef) == null || a.focus();
|
|
105
90
|
}
|
|
106
|
-
function
|
|
91
|
+
function Q() {
|
|
107
92
|
var l;
|
|
108
|
-
(l =
|
|
109
|
-
}
|
|
110
|
-
function W(l) {
|
|
111
|
-
var o;
|
|
112
|
-
(o = _.value) == null || o.focusItem(l);
|
|
93
|
+
(l = q.value) == null || l.$el.focus();
|
|
113
94
|
}
|
|
114
|
-
return
|
|
95
|
+
return X(
|
|
115
96
|
() => e.loading,
|
|
116
97
|
(l) => {
|
|
117
|
-
!l &&
|
|
98
|
+
!l && o.value && j(Q);
|
|
118
99
|
}
|
|
119
|
-
), (l,
|
|
120
|
-
var
|
|
121
|
-
return
|
|
100
|
+
), (l, a) => {
|
|
101
|
+
var u, c;
|
|
102
|
+
return t(), f(
|
|
122
103
|
N,
|
|
123
104
|
null,
|
|
124
105
|
[
|
|
125
|
-
k(
|
|
106
|
+
k(n(oe), z({
|
|
126
107
|
id: e.id,
|
|
127
108
|
ref_key: "triggerEl",
|
|
128
|
-
ref:
|
|
109
|
+
ref: v,
|
|
129
110
|
label: e.label,
|
|
130
111
|
required: e.required,
|
|
131
112
|
role: "combobox",
|
|
@@ -141,23 +122,23 @@ const fe = {
|
|
|
141
122
|
readonly: e.readonly,
|
|
142
123
|
disabled: e.disabled,
|
|
143
124
|
"data-loading": e.loading,
|
|
144
|
-
"aria-expanded":
|
|
125
|
+
"aria-expanded": o.value,
|
|
145
126
|
"aria-haspopup": "listbox",
|
|
146
127
|
size: e.size,
|
|
147
128
|
invalid: e.invalid
|
|
148
129
|
}, l.$attrs, {
|
|
149
|
-
onClick:
|
|
150
|
-
onKeydown:
|
|
151
|
-
}),
|
|
152
|
-
append:
|
|
153
|
-
|
|
154
|
-
|
|
130
|
+
onClick: L,
|
|
131
|
+
onKeydown: A($, ["stop"])
|
|
132
|
+
}), G({
|
|
133
|
+
append: i(() => [
|
|
134
|
+
d(l.$slots, "append"),
|
|
135
|
+
w.value && p.value ? (t(), h(n(re), {
|
|
155
136
|
key: 0,
|
|
156
137
|
icons: e.icons,
|
|
157
138
|
texts: e.texts,
|
|
158
|
-
onClick:
|
|
139
|
+
onClick: V
|
|
159
140
|
}, null, 8, ["icons", "texts"])) : g("v-if", !0),
|
|
160
|
-
e.readonly ? g("v-if", !0) : (
|
|
141
|
+
e.readonly ? g("v-if", !0) : (t(), h(n(le), {
|
|
161
142
|
key: 1,
|
|
162
143
|
class: "q-select__chevron",
|
|
163
144
|
"aria-label": e.texts.showOptions,
|
|
@@ -166,11 +147,11 @@ const fe = {
|
|
|
166
147
|
borderless: "",
|
|
167
148
|
tabindex: "-1",
|
|
168
149
|
disabled: e.disabled,
|
|
169
|
-
onClick:
|
|
150
|
+
onClick: L
|
|
170
151
|
}, {
|
|
171
|
-
default:
|
|
172
|
-
k(
|
|
173
|
-
"model-value":
|
|
152
|
+
default: i(() => [
|
|
153
|
+
k(n(se), {
|
|
154
|
+
"model-value": o.value,
|
|
174
155
|
icons: e.icons
|
|
175
156
|
}, null, 8, ["model-value", "icons"])
|
|
176
157
|
]),
|
|
@@ -178,14 +159,14 @@ const fe = {
|
|
|
178
159
|
/* STABLE */
|
|
179
160
|
}, 8, ["aria-label", "disabled"]))
|
|
180
161
|
]),
|
|
181
|
-
default:
|
|
182
|
-
|
|
183
|
-
!e.readonly && !e.disabled ? (
|
|
162
|
+
default: i(() => [
|
|
163
|
+
R.value ? (t(), f("span", ue, [
|
|
164
|
+
!e.readonly && !e.disabled ? (t(), f(
|
|
184
165
|
N,
|
|
185
166
|
{ key: 0 },
|
|
186
167
|
[
|
|
187
|
-
|
|
188
|
-
|
|
168
|
+
J(
|
|
169
|
+
F(e.texts.placeholder),
|
|
189
170
|
1
|
|
190
171
|
/* TEXT */
|
|
191
172
|
)
|
|
@@ -193,10 +174,10 @@ const fe = {
|
|
|
193
174
|
64
|
|
194
175
|
/* STABLE_FRAGMENT */
|
|
195
176
|
)) : g("v-if", !0)
|
|
196
|
-
])) : (
|
|
177
|
+
])) : (t(), f(
|
|
197
178
|
"span",
|
|
198
|
-
|
|
199
|
-
|
|
179
|
+
de,
|
|
180
|
+
F(M.value),
|
|
200
181
|
1
|
|
201
182
|
/* TEXT */
|
|
202
183
|
))
|
|
@@ -204,15 +185,15 @@ const fe = {
|
|
|
204
185
|
_: 2
|
|
205
186
|
/* DYNAMIC */
|
|
206
187
|
}, [
|
|
207
|
-
(
|
|
188
|
+
(u = s.value) != null && u.icon || l.$slots.prepend ? {
|
|
208
189
|
name: "prepend",
|
|
209
|
-
fn:
|
|
210
|
-
var r,
|
|
190
|
+
fn: i(() => {
|
|
191
|
+
var r, T;
|
|
211
192
|
return [
|
|
212
|
-
|
|
213
|
-
(r =
|
|
214
|
-
|
|
215
|
-
|
|
193
|
+
d(l.$slots, "prepend"),
|
|
194
|
+
(r = s.value) != null && r.icon ? (t(), h(
|
|
195
|
+
n(ae),
|
|
196
|
+
W(z({ key: 0 }, (T = s.value) == null ? void 0 : T.icon)),
|
|
216
197
|
null,
|
|
217
198
|
16
|
|
218
199
|
/* FULL_PROPS */
|
|
@@ -223,60 +204,60 @@ const fe = {
|
|
|
223
204
|
} : void 0,
|
|
224
205
|
l.$slots.extras ? {
|
|
225
206
|
name: "extras",
|
|
226
|
-
fn:
|
|
227
|
-
|
|
207
|
+
fn: i(() => [
|
|
208
|
+
d(l.$slots, "extras")
|
|
228
209
|
]),
|
|
229
210
|
key: "1"
|
|
230
211
|
} : void 0
|
|
231
212
|
]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size", "invalid"]),
|
|
232
|
-
k(
|
|
233
|
-
modelValue:
|
|
234
|
-
"onUpdate:modelValue":
|
|
213
|
+
k(n(ne), {
|
|
214
|
+
modelValue: o.value,
|
|
215
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => o.value = r),
|
|
235
216
|
spy: "",
|
|
236
217
|
trigger: "manual",
|
|
237
218
|
placement: "bottom-start",
|
|
238
219
|
width: "anchor",
|
|
239
220
|
"scroll-lock": "",
|
|
240
|
-
anchor: (
|
|
221
|
+
anchor: (c = v.value) == null ? void 0 : c.$el,
|
|
241
222
|
offset: 2,
|
|
242
|
-
onEnter:
|
|
243
|
-
onLeave:
|
|
223
|
+
onEnter: I,
|
|
224
|
+
onLeave: K
|
|
244
225
|
}, {
|
|
245
|
-
default:
|
|
246
|
-
|
|
226
|
+
default: i(() => [
|
|
227
|
+
Y("div", {
|
|
247
228
|
ref_key: "contentRef",
|
|
248
|
-
ref:
|
|
229
|
+
ref: _,
|
|
249
230
|
"data-testid": "combobox-dropdown",
|
|
250
231
|
"data-key": e.id,
|
|
251
232
|
class: "q-select__body",
|
|
252
233
|
tabindex: "-1",
|
|
253
|
-
onFocusout:
|
|
254
|
-
onKeydown:
|
|
234
|
+
onFocusout: U,
|
|
235
|
+
onKeydown: A($, ["stop"])
|
|
255
236
|
}, [
|
|
256
|
-
|
|
257
|
-
e.loading ? (
|
|
258
|
-
k(
|
|
259
|
-
])) : (
|
|
237
|
+
d(l.$slots, "body.prepend"),
|
|
238
|
+
e.loading ? (t(), f("div", fe, [
|
|
239
|
+
k(n(ie), { size: 24 })
|
|
240
|
+
])) : (t(), h(n(te), {
|
|
260
241
|
key: 1,
|
|
261
242
|
ref_key: "listRef",
|
|
262
|
-
ref:
|
|
243
|
+
ref: q,
|
|
263
244
|
class: "q-select__items",
|
|
264
245
|
selectable: "",
|
|
265
|
-
"model-value":
|
|
246
|
+
"model-value": p.value,
|
|
266
247
|
items: e.items,
|
|
267
248
|
groups: l.groups,
|
|
268
249
|
"item-label": e.itemLabel,
|
|
269
250
|
"item-value": e.itemValue,
|
|
270
251
|
"onUpdate:modelValue": B
|
|
271
252
|
}, {
|
|
272
|
-
item:
|
|
273
|
-
|
|
253
|
+
item: i(({ item: r }) => [
|
|
254
|
+
d(l.$slots, "item", { item: r })
|
|
274
255
|
]),
|
|
275
256
|
_: 3
|
|
276
257
|
/* FORWARDED */
|
|
277
258
|
}, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
|
|
278
|
-
|
|
279
|
-
], 40,
|
|
259
|
+
d(l.$slots, "body.append")
|
|
260
|
+
], 40, ce)
|
|
280
261
|
]),
|
|
281
262
|
_: 3
|
|
282
263
|
/* FORWARDED */
|
|
@@ -289,5 +270,5 @@ const fe = {
|
|
|
289
270
|
}
|
|
290
271
|
});
|
|
291
272
|
export {
|
|
292
|
-
|
|
273
|
+
Ve as default
|
|
293
274
|
};
|