@quidgest/ui 0.16.20 → 0.16.22
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 +249 -1
- package/dist/ui.esm.js +5242 -4967
- package/dist/ui.js +19 -19
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +789 -765
- package/dist/ui.scss +221 -2
- package/esm/components/QCarousel/QCarousel.d.ts +44 -0
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -0
- package/esm/components/QCarousel/QCarousel.vue.js +355 -0
- package/esm/components/QCarousel/QCarousel.vue2.js +4 -0
- package/esm/components/QCarousel/constants.d.ts +14 -0
- package/esm/components/QCarousel/constants.d.ts.map +1 -0
- package/esm/components/QCarousel/constants.js +16 -0
- package/esm/components/QCarousel/index.d.ts +119 -0
- package/esm/components/QCarousel/index.d.ts.map +1 -0
- package/esm/components/QCarousel/index.js +6 -0
- package/esm/components/QCarousel/types.d.ts +79 -0
- package/esm/components/QCarousel/types.d.ts.map +1 -0
- package/esm/components/QCombobox/QCombobox.d.ts +22 -72
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +19 -44
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +18 -68
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QGrid/QRow.d.ts +1 -1
- package/esm/components/QGrid/index.d.ts +3 -3
- package/esm/components/QList/QList.d.ts +5 -10
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +94 -96
- package/esm/components/QList/index.d.ts +10 -48
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +5 -1
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +22 -72
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +18 -18
- package/esm/components/QSelect/index.d.ts +19 -44
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts +1 -1
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QToggleGroup/types.d.ts +1 -1
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +90 -88
- package/esm/composables/useGroup/index.d.ts +4 -2
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +26 -24
- package/esm/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import { QListProps, QListItemProps, QListItemGroupProps } from './types';
|
|
2
2
|
declare const QList: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
-
modelValue?: any;
|
|
5
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
6
|
-
highlighted?: any;
|
|
7
|
-
items?: import('./types').Item[];
|
|
8
|
-
groups?: import('./types').Group[];
|
|
9
|
-
itemValue?: string;
|
|
10
|
-
itemLabel?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
selectable?: boolean;
|
|
13
|
-
multiple?: boolean;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
}> & Readonly<{
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<QListProps> & Readonly<{
|
|
16
4
|
onClick?: ((key: any) => any) | undefined;
|
|
17
|
-
"onUpdate:modelValue"?: ((
|
|
5
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
18
6
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
19
7
|
}>, {
|
|
20
8
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -22,10 +10,9 @@ declare const QList: {
|
|
|
22
10
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
23
11
|
getFirstFocusableItemIndex: () => number;
|
|
24
12
|
getLastFocusableItemIndex: () => number;
|
|
25
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (value: any) => any;
|
|
27
|
-
} & {
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
14
|
click: (key: any) => any;
|
|
15
|
+
"update:modelValue": (val: any) => any;
|
|
29
16
|
"mouseenter:item": (key: any) => any;
|
|
30
17
|
}, import('vue').PublicProps, {
|
|
31
18
|
groups: import('./types').Group[];
|
|
@@ -115,21 +102,9 @@ declare const QList: {
|
|
|
115
102
|
C: {};
|
|
116
103
|
M: {};
|
|
117
104
|
Defaults: {};
|
|
118
|
-
}, Readonly<{
|
|
119
|
-
modelValue?: any;
|
|
120
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
121
|
-
highlighted?: any;
|
|
122
|
-
items?: import('./types').Item[];
|
|
123
|
-
groups?: import('./types').Group[];
|
|
124
|
-
itemValue?: string;
|
|
125
|
-
itemLabel?: string;
|
|
126
|
-
disabled?: boolean;
|
|
127
|
-
selectable?: boolean;
|
|
128
|
-
multiple?: boolean;
|
|
129
|
-
required?: boolean;
|
|
130
|
-
}> & Readonly<{
|
|
105
|
+
}, Readonly<QListProps> & Readonly<{
|
|
131
106
|
onClick?: ((key: any) => any) | undefined;
|
|
132
|
-
"onUpdate:modelValue"?: ((
|
|
107
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
133
108
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
134
109
|
}>, {
|
|
135
110
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -145,21 +120,9 @@ declare const QList: {
|
|
|
145
120
|
__isFragment?: never;
|
|
146
121
|
__isTeleport?: never;
|
|
147
122
|
__isSuspense?: never;
|
|
148
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
149
|
-
modelValue?: any;
|
|
150
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
151
|
-
highlighted?: any;
|
|
152
|
-
items?: import('./types').Item[];
|
|
153
|
-
groups?: import('./types').Group[];
|
|
154
|
-
itemValue?: string;
|
|
155
|
-
itemLabel?: string;
|
|
156
|
-
disabled?: boolean;
|
|
157
|
-
selectable?: boolean;
|
|
158
|
-
multiple?: boolean;
|
|
159
|
-
required?: boolean;
|
|
160
|
-
}> & Readonly<{
|
|
123
|
+
} & import('vue').ComponentOptionsBase<Readonly<QListProps> & Readonly<{
|
|
161
124
|
onClick?: ((key: any) => any) | undefined;
|
|
162
|
-
"onUpdate:modelValue"?: ((
|
|
125
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
163
126
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
164
127
|
}>, {
|
|
165
128
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -167,10 +130,9 @@ declare const QList: {
|
|
|
167
130
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
168
131
|
getFirstFocusableItemIndex: () => number;
|
|
169
132
|
getLastFocusableItemIndex: () => number;
|
|
170
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
171
|
-
"update:modelValue": (value: any) => any;
|
|
172
|
-
} & {
|
|
133
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
173
134
|
click: (key: any) => any;
|
|
135
|
+
"update:modelValue": (val: any) => any;
|
|
174
136
|
"mouseenter:item": (key: any) => any;
|
|
175
137
|
}, string, {
|
|
176
138
|
groups: import('./types').Group[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCASg1yB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAT56yB,CAAA;AACrC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -10,6 +10,10 @@ export type Group = QListItemGroupProps & {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
};
|
|
12
12
|
export type QListProps = QBaseComponentProps & {
|
|
13
|
+
/**
|
|
14
|
+
* The value of the selected item.
|
|
15
|
+
*/
|
|
16
|
+
modelValue?: any;
|
|
13
17
|
/**
|
|
14
18
|
* The value of the currently highlighted item.
|
|
15
19
|
*/
|
|
@@ -39,7 +43,7 @@ export type QListProps = QBaseComponentProps & {
|
|
|
39
43
|
*/
|
|
40
44
|
selectable?: boolean;
|
|
41
45
|
/**
|
|
42
|
-
* Indicates
|
|
46
|
+
* Indicates whether multiple options can be selected.
|
|
43
47
|
*/
|
|
44
48
|
multiple?: boolean;
|
|
45
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;OAEG;IAEH,WAAW,CAAC,EAAE,GAAG,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IAEH,KAAK,EAAE,GAAG,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;OAEG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;OAEG;IAEH,WAAW,CAAC,EAAE,GAAG,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IAEH,KAAK,EAAE,GAAG,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|
|
@@ -91,9 +91,9 @@ declare function __VLS_template(): {
|
|
|
91
91
|
$: import('vue').ComponentInternalInstance;
|
|
92
92
|
$data: {};
|
|
93
93
|
$props: {
|
|
94
|
-
readonly modelValue?: any;
|
|
95
94
|
readonly id?: string | undefined;
|
|
96
95
|
readonly class?: string | unknown[] | undefined;
|
|
96
|
+
readonly modelValue?: any;
|
|
97
97
|
readonly highlighted?: any;
|
|
98
98
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
99
99
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
@@ -104,7 +104,7 @@ declare function __VLS_template(): {
|
|
|
104
104
|
readonly multiple?: boolean | undefined;
|
|
105
105
|
readonly required?: boolean | undefined;
|
|
106
106
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
107
|
-
readonly "onUpdate:modelValue"?: ((
|
|
107
|
+
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
108
108
|
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
109
109
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
110
110
|
$attrs: {
|
|
@@ -196,23 +196,11 @@ declare function __VLS_template(): {
|
|
|
196
196
|
$root: import('vue').ComponentPublicInstance | null;
|
|
197
197
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
198
198
|
$host: Element | null;
|
|
199
|
-
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue",
|
|
199
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", val: any) => void) & ((event: "mouseenter:item", key: any) => void);
|
|
200
200
|
$el: any;
|
|
201
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
202
|
-
modelValue?: any;
|
|
203
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
204
|
-
highlighted?: any;
|
|
205
|
-
items?: import('../QList/types').Item[];
|
|
206
|
-
groups?: import('../QList/types').Group[];
|
|
207
|
-
itemValue?: string;
|
|
208
|
-
itemLabel?: string;
|
|
209
|
-
disabled?: boolean;
|
|
210
|
-
selectable?: boolean;
|
|
211
|
-
multiple?: boolean;
|
|
212
|
-
required?: boolean;
|
|
213
|
-
}> & Readonly<{
|
|
201
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QListProps> & Readonly<{
|
|
214
202
|
onClick?: ((key: any) => any) | undefined;
|
|
215
|
-
"onUpdate:modelValue"?: ((
|
|
203
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
216
204
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
217
205
|
}>, {
|
|
218
206
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -220,10 +208,9 @@ declare function __VLS_template(): {
|
|
|
220
208
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
221
209
|
getFirstFocusableItemIndex: () => number;
|
|
222
210
|
getLastFocusableItemIndex: () => number;
|
|
223
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
224
|
-
"update:modelValue": (value: any) => any;
|
|
225
|
-
} & {
|
|
211
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
226
212
|
click: (key: any) => any;
|
|
213
|
+
"update:modelValue": (val: any) => any;
|
|
227
214
|
"mouseenter:item": (key: any) => any;
|
|
228
215
|
}, string, {
|
|
229
216
|
groups: import('../QList/types').Group[];
|
|
@@ -253,21 +240,9 @@ declare function __VLS_template(): {
|
|
|
253
240
|
groups: import('../QList/types').Group[];
|
|
254
241
|
itemValue: string;
|
|
255
242
|
itemLabel: string;
|
|
256
|
-
}> & Omit<Readonly<{
|
|
257
|
-
modelValue?: any;
|
|
258
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
259
|
-
highlighted?: any;
|
|
260
|
-
items?: import('../QList/types').Item[];
|
|
261
|
-
groups?: import('../QList/types').Group[];
|
|
262
|
-
itemValue?: string;
|
|
263
|
-
itemLabel?: string;
|
|
264
|
-
disabled?: boolean;
|
|
265
|
-
selectable?: boolean;
|
|
266
|
-
multiple?: boolean;
|
|
267
|
-
required?: boolean;
|
|
268
|
-
}> & Readonly<{
|
|
243
|
+
}> & Omit<Readonly<import('..').QListProps> & Readonly<{
|
|
269
244
|
onClick?: ((key: any) => any) | undefined;
|
|
270
|
-
"onUpdate:modelValue"?: ((
|
|
245
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
271
246
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
272
247
|
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
273
248
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -295,16 +270,16 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
295
270
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
296
271
|
"update:modelValue": (value: any) => any;
|
|
297
272
|
} & {
|
|
273
|
+
hide: () => any;
|
|
274
|
+
show: () => any;
|
|
298
275
|
"before-show": () => any;
|
|
299
276
|
"before-hide": () => any;
|
|
300
|
-
show: () => any;
|
|
301
|
-
hide: () => any;
|
|
302
277
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
303
278
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
279
|
+
onHide?: (() => any) | undefined;
|
|
280
|
+
onShow?: (() => any) | undefined;
|
|
304
281
|
"onBefore-show"?: (() => any) | undefined;
|
|
305
282
|
"onBefore-hide"?: (() => any) | undefined;
|
|
306
|
-
onShow?: (() => any) | undefined;
|
|
307
|
-
onHide?: (() => any) | undefined;
|
|
308
283
|
}>, {
|
|
309
284
|
icons: typeof DEFAULT_ICONS;
|
|
310
285
|
texts: typeof DEFAULT_TEXTS;
|
|
@@ -386,9 +361,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
386
361
|
$: import('vue').ComponentInternalInstance;
|
|
387
362
|
$data: {};
|
|
388
363
|
$props: {
|
|
389
|
-
readonly modelValue?: any;
|
|
390
364
|
readonly id?: string | undefined;
|
|
391
365
|
readonly class?: string | unknown[] | undefined;
|
|
366
|
+
readonly modelValue?: any;
|
|
392
367
|
readonly highlighted?: any;
|
|
393
368
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
394
369
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
@@ -399,7 +374,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
399
374
|
readonly multiple?: boolean | undefined;
|
|
400
375
|
readonly required?: boolean | undefined;
|
|
401
376
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
402
|
-
readonly "onUpdate:modelValue"?: ((
|
|
377
|
+
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
403
378
|
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
404
379
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
405
380
|
$attrs: {
|
|
@@ -491,23 +466,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
491
466
|
$root: import('vue').ComponentPublicInstance | null;
|
|
492
467
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
493
468
|
$host: Element | null;
|
|
494
|
-
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue",
|
|
469
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", val: any) => void) & ((event: "mouseenter:item", key: any) => void);
|
|
495
470
|
$el: any;
|
|
496
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
497
|
-
modelValue?: any;
|
|
498
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
499
|
-
highlighted?: any;
|
|
500
|
-
items?: import('../QList/types').Item[];
|
|
501
|
-
groups?: import('../QList/types').Group[];
|
|
502
|
-
itemValue?: string;
|
|
503
|
-
itemLabel?: string;
|
|
504
|
-
disabled?: boolean;
|
|
505
|
-
selectable?: boolean;
|
|
506
|
-
multiple?: boolean;
|
|
507
|
-
required?: boolean;
|
|
508
|
-
}> & Readonly<{
|
|
471
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QListProps> & Readonly<{
|
|
509
472
|
onClick?: ((key: any) => any) | undefined;
|
|
510
|
-
"onUpdate:modelValue"?: ((
|
|
473
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
511
474
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
512
475
|
}>, {
|
|
513
476
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -515,10 +478,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
515
478
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
516
479
|
getFirstFocusableItemIndex: () => number;
|
|
517
480
|
getLastFocusableItemIndex: () => number;
|
|
518
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
519
|
-
"update:modelValue": (value: any) => any;
|
|
520
|
-
} & {
|
|
481
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
521
482
|
click: (key: any) => any;
|
|
483
|
+
"update:modelValue": (val: any) => any;
|
|
522
484
|
"mouseenter:item": (key: any) => any;
|
|
523
485
|
}, string, {
|
|
524
486
|
groups: import('../QList/types').Group[];
|
|
@@ -548,21 +510,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
548
510
|
groups: import('../QList/types').Group[];
|
|
549
511
|
itemValue: string;
|
|
550
512
|
itemLabel: string;
|
|
551
|
-
}> & Omit<Readonly<{
|
|
552
|
-
modelValue?: any;
|
|
553
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
554
|
-
highlighted?: any;
|
|
555
|
-
items?: import('../QList/types').Item[];
|
|
556
|
-
groups?: import('../QList/types').Group[];
|
|
557
|
-
itemValue?: string;
|
|
558
|
-
itemLabel?: string;
|
|
559
|
-
disabled?: boolean;
|
|
560
|
-
selectable?: boolean;
|
|
561
|
-
multiple?: boolean;
|
|
562
|
-
required?: boolean;
|
|
563
|
-
}> & Readonly<{
|
|
513
|
+
}> & Omit<Readonly<import('..').QListProps> & Readonly<{
|
|
564
514
|
onClick?: ((key: any) => any) | undefined;
|
|
565
|
-
"onUpdate:modelValue"?: ((
|
|
515
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
566
516
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
567
517
|
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
568
518
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoIA;AA6TC,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;AA6KjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoIA;AA6TC,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;AA6KjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqEG,GAAG,8CAGd,GAAE,yBAAyB,GAAG,6DAC/B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAJS,GAAG,8CAGd,GAAE,yBAAyB,GAAG,6DAC/B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAJS,GAAG,8CAGd,GAAE,yBAAyB,GAAG,6DAC/B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAtDhC;AAmCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAcqB,GAAG,8CAGd,GAAE,yBAAyB,GAAG,6DAC/B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAJS,GAAG,8CAGd,GAAE,yBAAyB,GAAG,6DAC/B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAJS,GAAG,8CAGd,GAAE,yBAAyB,GAAG,6DAC/B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAT/B,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,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as H, mergeModels as R, useModel as X, ref as h, computed as k, watch as j, nextTick as G, createElementBlock as p, openBlock as t, Fragment as A, createVNode as g, unref as i, normalizeClass as J, createSlots as W, withCtx as s, withDirectives as Y, toDisplayString as F, createCommentVNode as _, createTextVNode as Z, createElementVNode as K, mergeProps as M, vModelText as ee, renderSlot as
|
|
1
|
+
import { defineComponent as H, mergeModels as R, useModel as X, ref as h, computed as k, watch as j, nextTick as G, createElementBlock as p, openBlock as t, Fragment as A, createVNode as g, unref as i, normalizeClass as J, createSlots as W, withCtx as s, withDirectives as Y, toDisplayString as F, createCommentVNode as _, createTextVNode as Z, createElementVNode as K, mergeProps as M, vModelText as ee, renderSlot as d, createBlock as w, normalizeProps as le, withModifiers as oe } from "vue";
|
|
2
2
|
import { DEFAULT_TEXTS as ae, DEFAULT_ICONS as te } from "./types.js";
|
|
3
3
|
import { QButton as ne } from "../QButton/index.js";
|
|
4
4
|
import { QField as ie } from "../QField/index.js";
|
|
5
5
|
import { QIcon as se } from "../QIcon/index.js";
|
|
6
|
-
import { QList as
|
|
7
|
-
import { QOverlay as
|
|
6
|
+
import { QList as re } from "../QList/index.js";
|
|
7
|
+
import { QOverlay as de } from "../QOverlay/index.js";
|
|
8
8
|
import { QSpinnerLoader as ue } from "../QSpinnerLoader/index.js";
|
|
9
9
|
import { QChevron as ce } from "../__internal__/QChevron/index.js";
|
|
10
10
|
import { QClearButton as fe } from "../__internal__/QClearButton/index.js";
|
|
@@ -46,13 +46,13 @@ const pe = {
|
|
|
46
46
|
}),
|
|
47
47
|
emits: /* @__PURE__ */ R(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
|
|
48
48
|
setup(C, { emit: O }) {
|
|
49
|
-
const e = C, m = O, v = X(C, "modelValue"), a = h(!1), y = h(null), B = h(null), V = h(null), D = k(() =>
|
|
49
|
+
const e = C, m = O, v = X(C, "modelValue"), a = h(!1), y = h(null), B = h(null), V = h(null), D = k(() => r.value === void 0), r = k(
|
|
50
50
|
() => {
|
|
51
51
|
var l;
|
|
52
52
|
return (l = e.items) == null ? void 0 : l.find((o) => o[e.itemValue] === v.value);
|
|
53
53
|
}
|
|
54
54
|
), q = k(
|
|
55
|
-
() =>
|
|
55
|
+
() => r.value ? r.value[e.itemLabel] : ""
|
|
56
56
|
), u = k(
|
|
57
57
|
() => e.clearable && !e.readonly && !e.disabled && !e.loading
|
|
58
58
|
);
|
|
@@ -133,7 +133,7 @@ const pe = {
|
|
|
133
133
|
onKeydown: E
|
|
134
134
|
}, W({
|
|
135
135
|
append: s(() => [
|
|
136
|
-
|
|
136
|
+
d(l.$slots, "append"),
|
|
137
137
|
u.value && v.value ? (t(), w(i(fe), {
|
|
138
138
|
key: 0,
|
|
139
139
|
icons: e.icons,
|
|
@@ -201,15 +201,15 @@ const pe = {
|
|
|
201
201
|
_: 2
|
|
202
202
|
/* DYNAMIC */
|
|
203
203
|
}, [
|
|
204
|
-
(c =
|
|
204
|
+
(c = r.value) != null && c.icon || l.$slots.prepend ? {
|
|
205
205
|
name: "prepend",
|
|
206
206
|
fn: s(() => {
|
|
207
207
|
var n, z;
|
|
208
208
|
return [
|
|
209
|
-
|
|
210
|
-
(n =
|
|
209
|
+
d(l.$slots, "prepend"),
|
|
210
|
+
(n = r.value) != null && n.icon ? (t(), w(
|
|
211
211
|
i(se),
|
|
212
|
-
le(M({ key: 0 }, (z =
|
|
212
|
+
le(M({ key: 0 }, (z = r.value) == null ? void 0 : z.icon)),
|
|
213
213
|
null,
|
|
214
214
|
16
|
|
215
215
|
/* FULL_PROPS */
|
|
@@ -221,12 +221,12 @@ const pe = {
|
|
|
221
221
|
l.$slots.extras ? {
|
|
222
222
|
name: "extras",
|
|
223
223
|
fn: s(() => [
|
|
224
|
-
|
|
224
|
+
d(l.$slots, "extras")
|
|
225
225
|
]),
|
|
226
226
|
key: "1"
|
|
227
227
|
} : void 0
|
|
228
228
|
]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size", "invalid"]),
|
|
229
|
-
g(i(
|
|
229
|
+
g(i(de), {
|
|
230
230
|
modelValue: a.value,
|
|
231
231
|
"onUpdate:modelValue": o[1] || (o[1] = (n) => a.value = n),
|
|
232
232
|
spy: "",
|
|
@@ -251,16 +251,16 @@ const pe = {
|
|
|
251
251
|
onFocusout: U,
|
|
252
252
|
onKeydown: oe(E, ["stop"])
|
|
253
253
|
}, [
|
|
254
|
-
|
|
254
|
+
d(l.$slots, "body.prepend"),
|
|
255
255
|
e.loading ? (t(), p("div", be, [
|
|
256
256
|
g(i(ue), { size: 24 })
|
|
257
|
-
])) : (t(), w(i(
|
|
257
|
+
])) : (t(), w(i(re), {
|
|
258
258
|
key: 1,
|
|
259
259
|
ref_key: "listRef",
|
|
260
260
|
ref: B,
|
|
261
261
|
class: "q-select__items",
|
|
262
262
|
selectable: "",
|
|
263
|
-
required:
|
|
263
|
+
required: e.required,
|
|
264
264
|
"model-value": v.value,
|
|
265
265
|
items: e.items,
|
|
266
266
|
groups: l.groups,
|
|
@@ -269,12 +269,12 @@ const pe = {
|
|
|
269
269
|
"onUpdate:modelValue": L
|
|
270
270
|
}, {
|
|
271
271
|
item: s(({ item: n }) => [
|
|
272
|
-
|
|
272
|
+
d(l.$slots, "item", { item: n })
|
|
273
273
|
]),
|
|
274
274
|
_: 3
|
|
275
275
|
/* FORWARDED */
|
|
276
|
-
}, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
|
|
277
|
-
|
|
276
|
+
}, 8, ["required", "model-value", "items", "groups", "item-label", "item-value"])),
|
|
277
|
+
d(l.$slots, "body.append")
|
|
278
278
|
], 40, ye)
|
|
279
279
|
]),
|
|
280
280
|
_: 3
|
|
@@ -24,17 +24,17 @@ declare const QSelect: {
|
|
|
24
24
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
25
25
|
}> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
27
|
+
onHide?: (() => any) | undefined;
|
|
28
|
+
onShow?: (() => any) | undefined;
|
|
27
29
|
"onBefore-show"?: (() => any) | undefined;
|
|
28
30
|
"onBefore-hide"?: (() => any) | undefined;
|
|
29
|
-
onShow?: (() => any) | undefined;
|
|
30
|
-
onHide?: (() => any) | undefined;
|
|
31
31
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
32
|
"update:modelValue": (value: any) => any;
|
|
33
33
|
} & {
|
|
34
|
+
hide: () => any;
|
|
35
|
+
show: () => any;
|
|
34
36
|
"before-show": () => any;
|
|
35
37
|
"before-hide": () => any;
|
|
36
|
-
show: () => any;
|
|
37
|
-
hide: () => any;
|
|
38
38
|
}, import('vue').PublicProps, {
|
|
39
39
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
40
40
|
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
@@ -116,9 +116,9 @@ declare const QSelect: {
|
|
|
116
116
|
$: import('vue').ComponentInternalInstance;
|
|
117
117
|
$data: {};
|
|
118
118
|
$props: {
|
|
119
|
-
readonly modelValue?: any;
|
|
120
119
|
readonly id?: string | undefined;
|
|
121
120
|
readonly class?: string | unknown[] | undefined;
|
|
121
|
+
readonly modelValue?: any;
|
|
122
122
|
readonly highlighted?: any;
|
|
123
123
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
124
124
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
@@ -129,7 +129,7 @@ declare const QSelect: {
|
|
|
129
129
|
readonly multiple?: boolean | undefined;
|
|
130
130
|
readonly required?: boolean | undefined;
|
|
131
131
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
132
|
-
readonly "onUpdate:modelValue"?: ((
|
|
132
|
+
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
133
133
|
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
134
134
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
135
135
|
$attrs: {
|
|
@@ -221,23 +221,11 @@ declare const QSelect: {
|
|
|
221
221
|
$root: import('vue').ComponentPublicInstance | null;
|
|
222
222
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
223
223
|
$host: Element | null;
|
|
224
|
-
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue",
|
|
224
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", val: any) => void) & ((event: "mouseenter:item", key: any) => void);
|
|
225
225
|
$el: any;
|
|
226
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
227
|
-
modelValue?: any;
|
|
228
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
229
|
-
highlighted?: any;
|
|
230
|
-
items?: import('../QList/types').Item[];
|
|
231
|
-
groups?: import('../QList/types').Group[];
|
|
232
|
-
itemValue?: string;
|
|
233
|
-
itemLabel?: string;
|
|
234
|
-
disabled?: boolean;
|
|
235
|
-
selectable?: boolean;
|
|
236
|
-
multiple?: boolean;
|
|
237
|
-
required?: boolean;
|
|
238
|
-
}> & Readonly<{
|
|
226
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QListProps> & Readonly<{
|
|
239
227
|
onClick?: ((key: any) => any) | undefined;
|
|
240
|
-
"onUpdate:modelValue"?: ((
|
|
228
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
241
229
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
242
230
|
}>, {
|
|
243
231
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -245,10 +233,9 @@ declare const QSelect: {
|
|
|
245
233
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
246
234
|
getFirstFocusableItemIndex: () => number;
|
|
247
235
|
getLastFocusableItemIndex: () => number;
|
|
248
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
249
|
-
"update:modelValue": (value: any) => any;
|
|
250
|
-
} & {
|
|
236
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
251
237
|
click: (key: any) => any;
|
|
238
|
+
"update:modelValue": (val: any) => any;
|
|
252
239
|
"mouseenter:item": (key: any) => any;
|
|
253
240
|
}, string, {
|
|
254
241
|
groups: import('../QList/types').Group[];
|
|
@@ -278,21 +265,9 @@ declare const QSelect: {
|
|
|
278
265
|
groups: import('../QList/types').Group[];
|
|
279
266
|
itemValue: string;
|
|
280
267
|
itemLabel: string;
|
|
281
|
-
}> & Omit<Readonly<{
|
|
282
|
-
modelValue?: any;
|
|
283
|
-
} & import('../../types/component').QBaseComponentProps & {
|
|
284
|
-
highlighted?: any;
|
|
285
|
-
items?: import('../QList/types').Item[];
|
|
286
|
-
groups?: import('../QList/types').Group[];
|
|
287
|
-
itemValue?: string;
|
|
288
|
-
itemLabel?: string;
|
|
289
|
-
disabled?: boolean;
|
|
290
|
-
selectable?: boolean;
|
|
291
|
-
multiple?: boolean;
|
|
292
|
-
required?: boolean;
|
|
293
|
-
}> & Readonly<{
|
|
268
|
+
}> & Omit<Readonly<import('..').QListProps> & Readonly<{
|
|
294
269
|
onClick?: ((key: any) => any) | undefined;
|
|
295
|
-
"onUpdate:modelValue"?: ((
|
|
270
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
296
271
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
297
272
|
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
298
273
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -345,10 +320,10 @@ declare const QSelect: {
|
|
|
345
320
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
346
321
|
}> & Readonly<{
|
|
347
322
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
323
|
+
onHide?: (() => any) | undefined;
|
|
324
|
+
onShow?: (() => any) | undefined;
|
|
348
325
|
"onBefore-show"?: (() => any) | undefined;
|
|
349
326
|
"onBefore-hide"?: (() => any) | undefined;
|
|
350
|
-
onShow?: (() => any) | undefined;
|
|
351
|
-
onHide?: (() => any) | undefined;
|
|
352
327
|
}>, {}, {}, {}, {}, {
|
|
353
328
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
354
329
|
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
@@ -384,17 +359,17 @@ declare const QSelect: {
|
|
|
384
359
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
385
360
|
}> & Readonly<{
|
|
386
361
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
362
|
+
onHide?: (() => any) | undefined;
|
|
363
|
+
onShow?: (() => any) | undefined;
|
|
387
364
|
"onBefore-show"?: (() => any) | undefined;
|
|
388
365
|
"onBefore-hide"?: (() => any) | undefined;
|
|
389
|
-
onShow?: (() => any) | undefined;
|
|
390
|
-
onHide?: (() => any) | undefined;
|
|
391
366
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
392
367
|
"update:modelValue": (value: any) => any;
|
|
393
368
|
} & {
|
|
369
|
+
hide: () => any;
|
|
370
|
+
show: () => any;
|
|
394
371
|
"before-show": () => any;
|
|
395
372
|
"before-hide": () => any;
|
|
396
|
-
show: () => any;
|
|
397
|
-
hide: () => any;
|
|
398
373
|
}, string, {
|
|
399
374
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
400
375
|
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAIuwzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAIuwzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJj2zB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -23,9 +23,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
+
wrap: "soft" | "hard" | "off";
|
|
26
27
|
resize: "none" | "both" | "horizontal" | "vertical";
|
|
27
28
|
rows: number;
|
|
28
|
-
wrap: "soft" | "hard" | "off";
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
30
|
textareaRef: HTMLTextAreaElement;
|
|
31
31
|
}, any>;
|
|
@@ -24,9 +24,9 @@ declare const QTextArea: {
|
|
|
24
24
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
25
|
"update:modelValue": (value: string) => any;
|
|
26
26
|
}, import('vue').PublicProps, {
|
|
27
|
+
wrap: "soft" | "hard" | "off";
|
|
27
28
|
resize: "none" | "both" | "horizontal" | "vertical";
|
|
28
29
|
rows: number;
|
|
29
|
-
wrap: "soft" | "hard" | "off";
|
|
30
30
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
31
31
|
textareaRef: HTMLTextAreaElement;
|
|
32
32
|
}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -59,9 +59,9 @@ declare const QTextArea: {
|
|
|
59
59
|
}> & Readonly<{
|
|
60
60
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
61
61
|
}>, {}, {}, {}, {}, {
|
|
62
|
+
wrap: "soft" | "hard" | "off";
|
|
62
63
|
resize: "none" | "both" | "horizontal" | "vertical";
|
|
63
64
|
rows: number;
|
|
64
|
-
wrap: "soft" | "hard" | "off";
|
|
65
65
|
}>;
|
|
66
66
|
__isFragment?: never;
|
|
67
67
|
__isTeleport?: never;
|
|
@@ -91,9 +91,9 @@ declare const QTextArea: {
|
|
|
91
91
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
92
92
|
"update:modelValue": (value: string) => any;
|
|
93
93
|
}, string, {
|
|
94
|
+
wrap: "soft" | "hard" | "off";
|
|
94
95
|
resize: "none" | "both" | "horizontal" | "vertical";
|
|
95
96
|
rows: number;
|
|
96
|
-
wrap: "soft" | "hard" | "off";
|
|
97
97
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
98
98
|
$slots: {
|
|
99
99
|
'label.prepend'?(_: {}): any;
|
|
@@ -2,7 +2,7 @@ import { QButtonProps } from '../QButton';
|
|
|
2
2
|
import { QButtonGroupProps } from '../QButtonGroup/types';
|
|
3
3
|
export type QToggleGroupProps = QButtonGroupProps & {
|
|
4
4
|
/**
|
|
5
|
-
* Indicates
|
|
5
|
+
* Indicates whether multiple options can be selected.
|
|
6
6
|
*/
|
|
7
7
|
multiple?: boolean;
|
|
8
8
|
/**
|