@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,6 +1,6 @@
|
|
|
1
1
|
declare const QSelect: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
-
modelValue?:
|
|
3
|
+
modelValue?: any;
|
|
4
4
|
} & import('../../types/component').QBaseComponentProps & {
|
|
5
5
|
label?: string;
|
|
6
6
|
for?: string;
|
|
@@ -12,27 +12,23 @@ declare const QSelect: {
|
|
|
12
12
|
required?: boolean;
|
|
13
13
|
invalid?: boolean;
|
|
14
14
|
} & {
|
|
15
|
-
items?:
|
|
16
|
-
|
|
17
|
-
})[];
|
|
18
|
-
groups?: (import('..').QListItemGroupProps & {
|
|
19
|
-
id: string;
|
|
20
|
-
})[];
|
|
15
|
+
items?: import('../QList/types').Item[];
|
|
16
|
+
groups?: import('../QList/types').Group[];
|
|
21
17
|
itemValue?: string;
|
|
22
18
|
itemLabel?: string;
|
|
23
19
|
clearable?: boolean;
|
|
24
20
|
loading?: boolean;
|
|
25
|
-
emptyValue?:
|
|
21
|
+
emptyValue?: any;
|
|
26
22
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
27
23
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
28
24
|
}> & Readonly<{
|
|
29
|
-
"onUpdate:modelValue"?: ((value:
|
|
25
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
26
|
"onBefore-show"?: (() => any) | undefined;
|
|
31
27
|
"onBefore-hide"?: (() => any) | undefined;
|
|
32
28
|
onShow?: (() => any) | undefined;
|
|
33
29
|
onHide?: (() => any) | undefined;
|
|
34
30
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
-
"update:modelValue": (value:
|
|
31
|
+
"update:modelValue": (value: any) => any;
|
|
36
32
|
} & {
|
|
37
33
|
"before-show": () => any;
|
|
38
34
|
"before-hide": () => any;
|
|
@@ -41,9 +37,7 @@ declare const QSelect: {
|
|
|
41
37
|
}, import('vue').PublicProps, {
|
|
42
38
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
43
39
|
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
44
|
-
groups:
|
|
45
|
-
id: string;
|
|
46
|
-
})[];
|
|
40
|
+
groups: import('../QList/types').Group[];
|
|
47
41
|
itemValue: string;
|
|
48
42
|
itemLabel: string;
|
|
49
43
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -121,17 +115,18 @@ declare const QSelect: {
|
|
|
121
115
|
$: import('vue').ComponentInternalInstance;
|
|
122
116
|
$data: {};
|
|
123
117
|
$props: {
|
|
124
|
-
readonly modelValue?:
|
|
118
|
+
readonly modelValue?: any;
|
|
125
119
|
readonly id?: string | undefined;
|
|
126
120
|
readonly class?: string | unknown[] | undefined;
|
|
127
|
-
readonly highlighted?:
|
|
121
|
+
readonly highlighted?: any;
|
|
128
122
|
readonly items?: import('../QList/types').Item[] | undefined;
|
|
129
123
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
130
124
|
readonly itemValue?: string | undefined;
|
|
131
125
|
readonly itemLabel?: string | undefined;
|
|
132
126
|
readonly disabled?: boolean | undefined;
|
|
133
127
|
readonly selectable?: boolean | undefined;
|
|
134
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
128
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
129
|
+
readonly onClick?: ((key: any) => any) | undefined;
|
|
135
130
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
136
131
|
$attrs: {
|
|
137
132
|
[x: string]: unknown;
|
|
@@ -144,16 +139,17 @@ declare const QSelect: {
|
|
|
144
139
|
$: import('vue').ComponentInternalInstance;
|
|
145
140
|
$data: {};
|
|
146
141
|
$props: {
|
|
147
|
-
readonly
|
|
142
|
+
readonly modelValue?: boolean | undefined;
|
|
143
|
+
readonly value: any;
|
|
148
144
|
readonly label: string;
|
|
149
145
|
readonly icon?: import('..').Icon | undefined;
|
|
150
146
|
readonly selectable?: boolean | undefined;
|
|
151
|
-
readonly selected?: boolean | undefined;
|
|
152
147
|
readonly highlighted?: boolean | undefined;
|
|
153
148
|
readonly disabled?: boolean | undefined;
|
|
154
149
|
readonly description?: string | undefined;
|
|
155
150
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
156
|
-
readonly
|
|
151
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
152
|
+
readonly onClick?: (() => any) | undefined;
|
|
157
153
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
158
154
|
$attrs: {
|
|
159
155
|
[x: string]: unknown;
|
|
@@ -167,12 +163,17 @@ declare const QSelect: {
|
|
|
167
163
|
$root: import('vue').ComponentPublicInstance | null;
|
|
168
164
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
169
165
|
$host: Element | null;
|
|
170
|
-
$emit: (event: "
|
|
166
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
171
167
|
$el: HTMLLIElement;
|
|
172
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
|
|
168
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
169
|
+
modelValue?: boolean;
|
|
170
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
171
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
172
|
+
onClick?: (() => any) | undefined;
|
|
173
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
174
|
+
"update:modelValue": (value: boolean) => any;
|
|
175
|
+
} & {
|
|
176
|
+
click: () => any;
|
|
176
177
|
}, string, {
|
|
177
178
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
178
179
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -197,8 +198,11 @@ declare const QSelect: {
|
|
|
197
198
|
$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;
|
|
198
199
|
} & Readonly<{
|
|
199
200
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
200
|
-
}> & Omit<Readonly<
|
|
201
|
-
|
|
201
|
+
}> & Omit<Readonly<{
|
|
202
|
+
modelValue?: boolean;
|
|
203
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
204
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
205
|
+
onClick?: (() => any) | undefined;
|
|
202
206
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
203
207
|
$slots: {
|
|
204
208
|
prepend?(_: {}): any;
|
|
@@ -213,12 +217,12 @@ declare const QSelect: {
|
|
|
213
217
|
$root: import('vue').ComponentPublicInstance | null;
|
|
214
218
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
215
219
|
$host: Element | null;
|
|
216
|
-
$emit: (event: "update:modelValue", value:
|
|
220
|
+
$emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
|
|
217
221
|
$el: any;
|
|
218
222
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
219
|
-
modelValue?:
|
|
223
|
+
modelValue?: any;
|
|
220
224
|
} & import('../../types/component').QBaseComponentProps & {
|
|
221
|
-
highlighted?:
|
|
225
|
+
highlighted?: any;
|
|
222
226
|
items?: import('../QList/types').Item[];
|
|
223
227
|
groups?: import('../QList/types').Group[];
|
|
224
228
|
itemValue?: string;
|
|
@@ -226,14 +230,17 @@ declare const QSelect: {
|
|
|
226
230
|
disabled?: boolean;
|
|
227
231
|
selectable?: boolean;
|
|
228
232
|
}> & Readonly<{
|
|
229
|
-
"onUpdate:modelValue"?: ((value:
|
|
233
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
234
|
+
onClick?: ((key: any) => any) | undefined;
|
|
230
235
|
}>, {
|
|
231
236
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
232
237
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
233
238
|
getFirstFocusableItemIndex: () => number;
|
|
234
239
|
getLastFocusableItemIndex: () => number;
|
|
235
240
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
236
|
-
"update:modelValue": (value:
|
|
241
|
+
"update:modelValue": (value: any) => any;
|
|
242
|
+
} & {
|
|
243
|
+
click: (key: any) => any;
|
|
237
244
|
}, string, {
|
|
238
245
|
groups: import('../QList/types').Group[];
|
|
239
246
|
itemValue: string;
|
|
@@ -263,9 +270,9 @@ declare const QSelect: {
|
|
|
263
270
|
itemValue: string;
|
|
264
271
|
itemLabel: string;
|
|
265
272
|
}> & Omit<Readonly<{
|
|
266
|
-
modelValue?:
|
|
273
|
+
modelValue?: any;
|
|
267
274
|
} & import('../../types/component').QBaseComponentProps & {
|
|
268
|
-
highlighted?:
|
|
275
|
+
highlighted?: any;
|
|
269
276
|
items?: import('../QList/types').Item[];
|
|
270
277
|
groups?: import('../QList/types').Group[];
|
|
271
278
|
itemValue?: string;
|
|
@@ -273,7 +280,8 @@ declare const QSelect: {
|
|
|
273
280
|
disabled?: boolean;
|
|
274
281
|
selectable?: boolean;
|
|
275
282
|
}> & Readonly<{
|
|
276
|
-
"onUpdate:modelValue"?: ((value:
|
|
283
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
284
|
+
onClick?: ((key: any) => any) | undefined;
|
|
277
285
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
278
286
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
279
287
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -299,7 +307,7 @@ declare const QSelect: {
|
|
|
299
307
|
M: {};
|
|
300
308
|
Defaults: {};
|
|
301
309
|
}, Readonly<{
|
|
302
|
-
modelValue?:
|
|
310
|
+
modelValue?: any;
|
|
303
311
|
} & import('../../types/component').QBaseComponentProps & {
|
|
304
312
|
label?: string;
|
|
305
313
|
for?: string;
|
|
@@ -311,21 +319,17 @@ declare const QSelect: {
|
|
|
311
319
|
required?: boolean;
|
|
312
320
|
invalid?: boolean;
|
|
313
321
|
} & {
|
|
314
|
-
items?:
|
|
315
|
-
|
|
316
|
-
})[];
|
|
317
|
-
groups?: (import('..').QListItemGroupProps & {
|
|
318
|
-
id: string;
|
|
319
|
-
})[];
|
|
322
|
+
items?: import('../QList/types').Item[];
|
|
323
|
+
groups?: import('../QList/types').Group[];
|
|
320
324
|
itemValue?: string;
|
|
321
325
|
itemLabel?: string;
|
|
322
326
|
clearable?: boolean;
|
|
323
327
|
loading?: boolean;
|
|
324
|
-
emptyValue?:
|
|
328
|
+
emptyValue?: any;
|
|
325
329
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
326
330
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
327
331
|
}> & Readonly<{
|
|
328
|
-
"onUpdate:modelValue"?: ((value:
|
|
332
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
329
333
|
"onBefore-show"?: (() => any) | undefined;
|
|
330
334
|
"onBefore-hide"?: (() => any) | undefined;
|
|
331
335
|
onShow?: (() => any) | undefined;
|
|
@@ -333,9 +337,7 @@ declare const QSelect: {
|
|
|
333
337
|
}>, {}, {}, {}, {}, {
|
|
334
338
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
335
339
|
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
336
|
-
groups:
|
|
337
|
-
id: string;
|
|
338
|
-
})[];
|
|
340
|
+
groups: import('../QList/types').Group[];
|
|
339
341
|
itemValue: string;
|
|
340
342
|
itemLabel: string;
|
|
341
343
|
}>;
|
|
@@ -343,7 +345,7 @@ declare const QSelect: {
|
|
|
343
345
|
__isTeleport?: never;
|
|
344
346
|
__isSuspense?: never;
|
|
345
347
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
346
|
-
modelValue?:
|
|
348
|
+
modelValue?: any;
|
|
347
349
|
} & import('../../types/component').QBaseComponentProps & {
|
|
348
350
|
label?: string;
|
|
349
351
|
for?: string;
|
|
@@ -355,27 +357,23 @@ declare const QSelect: {
|
|
|
355
357
|
required?: boolean;
|
|
356
358
|
invalid?: boolean;
|
|
357
359
|
} & {
|
|
358
|
-
items?:
|
|
359
|
-
|
|
360
|
-
})[];
|
|
361
|
-
groups?: (import('..').QListItemGroupProps & {
|
|
362
|
-
id: string;
|
|
363
|
-
})[];
|
|
360
|
+
items?: import('../QList/types').Item[];
|
|
361
|
+
groups?: import('../QList/types').Group[];
|
|
364
362
|
itemValue?: string;
|
|
365
363
|
itemLabel?: string;
|
|
366
364
|
clearable?: boolean;
|
|
367
365
|
loading?: boolean;
|
|
368
|
-
emptyValue?:
|
|
366
|
+
emptyValue?: any;
|
|
369
367
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
370
368
|
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
371
369
|
}> & Readonly<{
|
|
372
|
-
"onUpdate:modelValue"?: ((value:
|
|
370
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
373
371
|
"onBefore-show"?: (() => any) | undefined;
|
|
374
372
|
"onBefore-hide"?: (() => any) | undefined;
|
|
375
373
|
onShow?: (() => any) | undefined;
|
|
376
374
|
onHide?: (() => any) | undefined;
|
|
377
375
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
378
|
-
"update:modelValue": (value:
|
|
376
|
+
"update:modelValue": (value: any) => any;
|
|
379
377
|
} & {
|
|
380
378
|
"before-show": () => any;
|
|
381
379
|
"before-hide": () => any;
|
|
@@ -384,9 +382,7 @@ declare const QSelect: {
|
|
|
384
382
|
}, string, {
|
|
385
383
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
386
384
|
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
387
|
-
groups:
|
|
388
|
-
id: string;
|
|
389
|
-
})[];
|
|
385
|
+
groups: import('../QList/types').Group[];
|
|
390
386
|
itemValue: string;
|
|
391
387
|
itemLabel: string;
|
|
392
388
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO
|
|
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"}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import { QFieldProps } from '../QField';
|
|
2
|
-
import {
|
|
3
|
-
import { Primitive } from '../../types/primitive';
|
|
2
|
+
import { Group, Item } from '../QList/types';
|
|
4
3
|
export type QSelectProps = QFieldProps & {
|
|
5
4
|
/**
|
|
6
5
|
* The list of available items for selection.
|
|
7
6
|
*/
|
|
8
|
-
items?:
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
})[];
|
|
7
|
+
items?: Item[];
|
|
11
8
|
/**
|
|
12
9
|
* The item groups used for organizing the available items.
|
|
13
10
|
*/
|
|
14
|
-
groups?:
|
|
15
|
-
id: string;
|
|
16
|
-
})[];
|
|
11
|
+
groups?: Group[];
|
|
17
12
|
/**
|
|
18
13
|
* Property on each item that contains its value.
|
|
19
14
|
*/
|
|
@@ -34,7 +29,7 @@ export type QSelectProps = QFieldProps & {
|
|
|
34
29
|
* The value to be used in comparisons,
|
|
35
30
|
* used to check if the field has a selected item.
|
|
36
31
|
*/
|
|
37
|
-
emptyValue?:
|
|
32
|
+
emptyValue?: any;
|
|
38
33
|
/**
|
|
39
34
|
* Custom icon configurations.
|
|
40
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACxC;;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,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG;IACxD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACvD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAA;IAEpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAA;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
|
|
@@ -22,7 +22,7 @@ declare function __VLS_template(): {
|
|
|
22
22
|
readonly label?: string | undefined;
|
|
23
23
|
readonly for?: string | undefined;
|
|
24
24
|
readonly required?: boolean | undefined;
|
|
25
|
-
readonly size?: import('
|
|
25
|
+
readonly size?: import('..').QFieldSize | undefined;
|
|
26
26
|
readonly readonly?: boolean | undefined;
|
|
27
27
|
readonly disabled?: boolean | undefined;
|
|
28
28
|
readonly invalid?: boolean | undefined;
|
|
@@ -43,10 +43,10 @@ declare function __VLS_template(): {
|
|
|
43
43
|
$host: Element | null;
|
|
44
44
|
$emit: (event: string, ...args: any[]) => void;
|
|
45
45
|
$el: any;
|
|
46
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
46
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
47
47
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
48
48
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
49
|
-
size: import('
|
|
49
|
+
size: import('..').QFieldSize;
|
|
50
50
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
51
51
|
beforeCreate?: (() => void) | (() => void)[];
|
|
52
52
|
created?: (() => void) | (() => void)[];
|
|
@@ -68,8 +68,8 @@ declare function __VLS_template(): {
|
|
|
68
68
|
$nextTick: typeof import('vue').nextTick;
|
|
69
69
|
$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;
|
|
70
70
|
} & Readonly<{
|
|
71
|
-
size: import('
|
|
72
|
-
}> & Omit<Readonly<import('
|
|
71
|
+
size: import('..').QFieldSize;
|
|
72
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
73
73
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
74
74
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
75
75
|
$slots: {
|
|
@@ -109,7 +109,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
109
109
|
readonly label?: string | undefined;
|
|
110
110
|
readonly for?: string | undefined;
|
|
111
111
|
readonly required?: boolean | undefined;
|
|
112
|
-
readonly size?: import('
|
|
112
|
+
readonly size?: import('..').QFieldSize | undefined;
|
|
113
113
|
readonly readonly?: boolean | undefined;
|
|
114
114
|
readonly disabled?: boolean | undefined;
|
|
115
115
|
readonly invalid?: boolean | undefined;
|
|
@@ -130,10 +130,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
130
130
|
$host: Element | null;
|
|
131
131
|
$emit: (event: string, ...args: any[]) => void;
|
|
132
132
|
$el: any;
|
|
133
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
133
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QFieldProps> & Readonly<{}>, {
|
|
134
134
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
135
135
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
136
|
-
size: import('
|
|
136
|
+
size: import('..').QFieldSize;
|
|
137
137
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
138
138
|
beforeCreate?: (() => void) | (() => void)[];
|
|
139
139
|
created?: (() => void) | (() => void)[];
|
|
@@ -155,8 +155,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
155
155
|
$nextTick: typeof import('vue').nextTick;
|
|
156
156
|
$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;
|
|
157
157
|
} & Readonly<{
|
|
158
|
-
size: import('
|
|
159
|
-
}> & Omit<Readonly<import('
|
|
158
|
+
size: import('..').QFieldSize;
|
|
159
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
|
|
160
160
|
fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
161
161
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
162
162
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QTextField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/QTextField.vue"],"names":[],"mappings":"AAoDA;AAgIC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,KAAK,WAAW,GAAG,eAAe,CAAC;AAoEpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmIT,OAAO,IAA6B;;iCAjBb,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACH,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"QTextField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/QTextField.vue"],"names":[],"mappings":"AAoDA;AAgIC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,KAAK,WAAW,GAAG,eAAe,CAAC;AAoEpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmIT,OAAO,IAA6B;;iCAjBb,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACH,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqEytc,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;EAnD92c;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+Bouc,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;OArB72c,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAK9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAK9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO2ozB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPluzB,CAAA;AAG/C,OAAO,EAAE,UAAU,EAAE,CAAA;AAGrB,YAAY,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTextField/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QThemeProvider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QThemeProvider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACvD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTooltip/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTooltip/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAA;IAEjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QChevron/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QChevron/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, createBlock as i, openBlock as n, unref as o, normalizeClass as m, withCtx as u, createVNode as p, normalizeProps as d, guardReactiveProps as f } from "vue";
|
|
2
2
|
import { DEFAULT_TEXTS as _, DEFAULT_ICONS as x } from "./types.js";
|
|
3
3
|
import { QButton as C } from "../../QButton/index.js";
|
|
4
4
|
import { QIcon as b } from "../../QIcon/index.js";
|
|
5
|
-
const
|
|
5
|
+
const Q = /* @__PURE__ */ s({
|
|
6
6
|
__name: "QClearButton",
|
|
7
7
|
props: {
|
|
8
8
|
id: {},
|
|
@@ -11,16 +11,16 @@ const h = /* @__PURE__ */ i({
|
|
|
11
11
|
texts: { default: () => _ }
|
|
12
12
|
},
|
|
13
13
|
emits: ["click"],
|
|
14
|
-
setup(
|
|
15
|
-
const e =
|
|
14
|
+
setup(a, { emit: r }) {
|
|
15
|
+
const e = a, l = r;
|
|
16
16
|
function c(t) {
|
|
17
17
|
l("click", t);
|
|
18
18
|
}
|
|
19
|
-
return (t, k) => (
|
|
19
|
+
return (t, k) => (n(), i(o(C), {
|
|
20
20
|
id: e.id,
|
|
21
21
|
class: m(["q-clear-btn", e.class]),
|
|
22
22
|
"aria-label": e.texts.clearValue,
|
|
23
|
-
variant: "
|
|
23
|
+
variant: "ghost",
|
|
24
24
|
color: "neutral",
|
|
25
25
|
borderless: "",
|
|
26
26
|
tabindex: "-1",
|
|
@@ -28,7 +28,7 @@ const h = /* @__PURE__ */ i({
|
|
|
28
28
|
}, {
|
|
29
29
|
default: u(() => [
|
|
30
30
|
p(
|
|
31
|
-
|
|
31
|
+
o(b),
|
|
32
32
|
d(f(e.icons.clear)),
|
|
33
33
|
null,
|
|
34
34
|
16
|
|
@@ -41,5 +41,5 @@ const h = /* @__PURE__ */ i({
|
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
Q as default
|
|
45
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QClearButton/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QClearButton/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;CAEQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|