@quidgest/ui 0.15.7 → 0.15.8
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 +4453 -4433
- 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 +53 -25
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +37 -37
- package/esm/components/QCombobox/index.d.ts +24 -10
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- 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 +4 -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 +66 -34
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +36 -35
- 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 +39 -18
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +98 -94
- 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 +52 -50
- package/esm/components/QList/index.d.ts +48 -19
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +0 -4
- 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/QSelect/QSelect.d.ts +61 -33
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +14 -14
- package/esm/components/QSelect/index.d.ts +24 -10
- package/esm/components/QSelect/index.d.ts.map +1 -1
- 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
|
@@ -248,7 +248,7 @@ declare function __VLS_template(): {
|
|
|
248
248
|
$host: Element | null;
|
|
249
249
|
$emit: (event: "click", event: Event) => void;
|
|
250
250
|
$el: HTMLButtonElement;
|
|
251
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
251
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QButtonProps> & Readonly<{
|
|
252
252
|
onClick?: ((event: Event) => any) | undefined;
|
|
253
253
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
254
254
|
click: (event: Event) => any;
|
|
@@ -282,7 +282,7 @@ declare function __VLS_template(): {
|
|
|
282
282
|
color: string;
|
|
283
283
|
variant: import('../QButton/types').QButtonVariant;
|
|
284
284
|
iconPos: import('../QButton/types').QButtonIconPosition;
|
|
285
|
-
}> & Omit<Readonly<import('
|
|
285
|
+
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
286
286
|
onClick?: ((event: Event) => any) | undefined;
|
|
287
287
|
}>, "size" | "color" | "variant" | "iconPos"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
288
288
|
$slots: {
|
|
@@ -305,6 +305,7 @@ declare function __VLS_template(): {
|
|
|
305
305
|
readonly disabled?: boolean | undefined;
|
|
306
306
|
readonly selectable?: boolean | undefined;
|
|
307
307
|
readonly "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
308
|
+
readonly onClick?: ((key: Primitive) => any) | undefined;
|
|
308
309
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
309
310
|
$attrs: {
|
|
310
311
|
[x: string]: unknown;
|
|
@@ -317,16 +318,17 @@ declare function __VLS_template(): {
|
|
|
317
318
|
$: import('vue').ComponentInternalInstance;
|
|
318
319
|
$data: {};
|
|
319
320
|
$props: {
|
|
321
|
+
readonly modelValue?: boolean | undefined;
|
|
320
322
|
readonly value: Primitive;
|
|
321
323
|
readonly label: string;
|
|
322
324
|
readonly icon?: import('..').Icon | undefined;
|
|
323
325
|
readonly selectable?: boolean | undefined;
|
|
324
|
-
readonly selected?: boolean | undefined;
|
|
325
326
|
readonly highlighted?: boolean | undefined;
|
|
326
327
|
readonly disabled?: boolean | undefined;
|
|
327
328
|
readonly description?: string | undefined;
|
|
328
329
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
329
|
-
readonly
|
|
330
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
331
|
+
readonly onClick?: (() => any) | undefined;
|
|
330
332
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
331
333
|
$attrs: {
|
|
332
334
|
[x: string]: unknown;
|
|
@@ -340,12 +342,17 @@ declare function __VLS_template(): {
|
|
|
340
342
|
$root: import('vue').ComponentPublicInstance | null;
|
|
341
343
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
342
344
|
$host: Element | null;
|
|
343
|
-
$emit: (event: "
|
|
345
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
344
346
|
$el: HTMLLIElement;
|
|
345
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
|
|
347
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
348
|
+
modelValue?: boolean;
|
|
349
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
350
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
351
|
+
onClick?: (() => any) | undefined;
|
|
352
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
353
|
+
"update:modelValue": (value: boolean) => any;
|
|
354
|
+
} & {
|
|
355
|
+
click: () => any;
|
|
349
356
|
}, string, {
|
|
350
357
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
351
358
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -370,8 +377,11 @@ declare function __VLS_template(): {
|
|
|
370
377
|
$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;
|
|
371
378
|
} & Readonly<{
|
|
372
379
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
373
|
-
}> & Omit<Readonly<
|
|
374
|
-
|
|
380
|
+
}> & Omit<Readonly<{
|
|
381
|
+
modelValue?: boolean;
|
|
382
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
383
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
384
|
+
onClick?: (() => any) | undefined;
|
|
375
385
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
376
386
|
$slots: {
|
|
377
387
|
prepend?(_: {}): any;
|
|
@@ -386,7 +396,7 @@ declare function __VLS_template(): {
|
|
|
386
396
|
$root: import('vue').ComponentPublicInstance | null;
|
|
387
397
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
388
398
|
$host: Element | null;
|
|
389
|
-
$emit: (event: "update:modelValue", value: Primitive) => void;
|
|
399
|
+
$emit: ((event: "update:modelValue", value: Primitive) => void) & ((event: "click", key: Primitive) => void);
|
|
390
400
|
$el: any;
|
|
391
401
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
392
402
|
modelValue?: Primitive;
|
|
@@ -400,6 +410,7 @@ declare function __VLS_template(): {
|
|
|
400
410
|
selectable?: boolean;
|
|
401
411
|
}> & Readonly<{
|
|
402
412
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
413
|
+
onClick?: ((key: Primitive) => any) | undefined;
|
|
403
414
|
}>, {
|
|
404
415
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
405
416
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -407,6 +418,8 @@ declare function __VLS_template(): {
|
|
|
407
418
|
getLastFocusableItemIndex: () => number;
|
|
408
419
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
409
420
|
"update:modelValue": (value: Primitive) => any;
|
|
421
|
+
} & {
|
|
422
|
+
click: (key: Primitive) => any;
|
|
410
423
|
}, string, {
|
|
411
424
|
groups: import('../QList/types').Group[];
|
|
412
425
|
itemValue: string;
|
|
@@ -447,6 +460,7 @@ declare function __VLS_template(): {
|
|
|
447
460
|
selectable?: boolean;
|
|
448
461
|
}> & Readonly<{
|
|
449
462
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
463
|
+
onClick?: ((key: Primitive) => any) | undefined;
|
|
450
464
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
451
465
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
452
466
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -878,7 +892,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
878
892
|
showOptions: string;
|
|
879
893
|
clearValue: string;
|
|
880
894
|
};
|
|
881
|
-
groups: (import('
|
|
895
|
+
groups: (import('..').QListItemGroupProps & {
|
|
882
896
|
id: string;
|
|
883
897
|
})[];
|
|
884
898
|
itemValue: string;
|
|
@@ -1112,7 +1126,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1112
1126
|
$host: Element | null;
|
|
1113
1127
|
$emit: (event: "click", event: Event) => void;
|
|
1114
1128
|
$el: HTMLButtonElement;
|
|
1115
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
1129
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QButtonProps> & Readonly<{
|
|
1116
1130
|
onClick?: ((event: Event) => any) | undefined;
|
|
1117
1131
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1118
1132
|
click: (event: Event) => any;
|
|
@@ -1146,7 +1160,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1146
1160
|
color: string;
|
|
1147
1161
|
variant: import('../QButton/types').QButtonVariant;
|
|
1148
1162
|
iconPos: import('../QButton/types').QButtonIconPosition;
|
|
1149
|
-
}> & Omit<Readonly<import('
|
|
1163
|
+
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
1150
1164
|
onClick?: ((event: Event) => any) | undefined;
|
|
1151
1165
|
}>, "size" | "color" | "variant" | "iconPos"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1152
1166
|
$slots: {
|
|
@@ -1169,6 +1183,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1169
1183
|
readonly disabled?: boolean | undefined;
|
|
1170
1184
|
readonly selectable?: boolean | undefined;
|
|
1171
1185
|
readonly "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
1186
|
+
readonly onClick?: ((key: Primitive) => any) | undefined;
|
|
1172
1187
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1173
1188
|
$attrs: {
|
|
1174
1189
|
[x: string]: unknown;
|
|
@@ -1181,16 +1196,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1181
1196
|
$: import('vue').ComponentInternalInstance;
|
|
1182
1197
|
$data: {};
|
|
1183
1198
|
$props: {
|
|
1199
|
+
readonly modelValue?: boolean | undefined;
|
|
1184
1200
|
readonly value: Primitive;
|
|
1185
1201
|
readonly label: string;
|
|
1186
1202
|
readonly icon?: import('..').Icon | undefined;
|
|
1187
1203
|
readonly selectable?: boolean | undefined;
|
|
1188
|
-
readonly selected?: boolean | undefined;
|
|
1189
1204
|
readonly highlighted?: boolean | undefined;
|
|
1190
1205
|
readonly disabled?: boolean | undefined;
|
|
1191
1206
|
readonly description?: string | undefined;
|
|
1192
1207
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
1193
|
-
readonly
|
|
1208
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1209
|
+
readonly onClick?: (() => any) | undefined;
|
|
1194
1210
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1195
1211
|
$attrs: {
|
|
1196
1212
|
[x: string]: unknown;
|
|
@@ -1204,12 +1220,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1204
1220
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1205
1221
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1206
1222
|
$host: Element | null;
|
|
1207
|
-
$emit: (event: "
|
|
1223
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
1208
1224
|
$el: HTMLLIElement;
|
|
1209
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
1210
|
-
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1225
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
1226
|
+
modelValue?: boolean;
|
|
1227
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
1228
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1229
|
+
onClick?: (() => any) | undefined;
|
|
1230
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1231
|
+
"update:modelValue": (value: boolean) => any;
|
|
1232
|
+
} & {
|
|
1233
|
+
click: () => any;
|
|
1213
1234
|
}, string, {
|
|
1214
1235
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
1215
1236
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -1234,8 +1255,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1234
1255
|
$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;
|
|
1235
1256
|
} & Readonly<{
|
|
1236
1257
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
1237
|
-
}> & Omit<Readonly<
|
|
1238
|
-
|
|
1258
|
+
}> & Omit<Readonly<{
|
|
1259
|
+
modelValue?: boolean;
|
|
1260
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
1261
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1262
|
+
onClick?: (() => any) | undefined;
|
|
1239
1263
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1240
1264
|
$slots: {
|
|
1241
1265
|
prepend?(_: {}): any;
|
|
@@ -1250,7 +1274,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1250
1274
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1251
1275
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1252
1276
|
$host: Element | null;
|
|
1253
|
-
$emit: (event: "update:modelValue", value: Primitive) => void;
|
|
1277
|
+
$emit: ((event: "update:modelValue", value: Primitive) => void) & ((event: "click", key: Primitive) => void);
|
|
1254
1278
|
$el: any;
|
|
1255
1279
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
1256
1280
|
modelValue?: Primitive;
|
|
@@ -1264,6 +1288,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1264
1288
|
selectable?: boolean;
|
|
1265
1289
|
}> & Readonly<{
|
|
1266
1290
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
1291
|
+
onClick?: ((key: Primitive) => any) | undefined;
|
|
1267
1292
|
}>, {
|
|
1268
1293
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
1269
1294
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1271,6 +1296,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1271
1296
|
getLastFocusableItemIndex: () => number;
|
|
1272
1297
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1273
1298
|
"update:modelValue": (value: Primitive) => any;
|
|
1299
|
+
} & {
|
|
1300
|
+
click: (key: Primitive) => any;
|
|
1274
1301
|
}, string, {
|
|
1275
1302
|
groups: import('../QList/types').Group[];
|
|
1276
1303
|
itemValue: string;
|
|
@@ -1311,6 +1338,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1311
1338
|
selectable?: boolean;
|
|
1312
1339
|
}> & Readonly<{
|
|
1313
1340
|
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
1341
|
+
onClick?: ((key: Primitive) => any) | undefined;
|
|
1314
1342
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
1315
1343
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
1316
1344
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA0HA;AAskBC,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAA;AAYtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA0HA;AAskBC,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAA;AAYtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG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yBAC3C,GAAE,6DACN,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAFN,GAAE,8CAA+C,GAAE,yBAC3C,GAAE,6DACN,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAFN,GAAE,8CAA+C,GAAE,yBAC3C,GAAE,6DACN,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAobT,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"}
|
|
@@ -7,7 +7,7 @@ import { QSpinnerLoader as he } from "../QSpinnerLoader/index.js";
|
|
|
7
7
|
import { QTextField as ge } from "../QTextField/index.js";
|
|
8
8
|
import { QChevron as ke } from "../__internal__/QChevron/index.js";
|
|
9
9
|
import { QClearButton as Ie } from "../__internal__/QClearButton/index.js";
|
|
10
|
-
const
|
|
10
|
+
const we = ["data-key"], xe = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "q-select__loader"
|
|
13
13
|
}, Ve = {
|
|
@@ -48,8 +48,8 @@ const xe = ["data-key"], we = {
|
|
|
48
48
|
searchModifiers: {}
|
|
49
49
|
}),
|
|
50
50
|
emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
|
|
51
|
-
setup(
|
|
52
|
-
const l =
|
|
51
|
+
setup(w, { expose: W, emit: X }) {
|
|
52
|
+
const l = w, x = X, d = S(w, "modelValue"), i = S(w, "open"), u = S(w, "search"), a = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
|
|
53
53
|
ue(h);
|
|
54
54
|
const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
|
|
55
55
|
var e;
|
|
@@ -60,14 +60,14 @@ const xe = ["data-key"], we = {
|
|
|
60
60
|
var e;
|
|
61
61
|
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
|
|
62
62
|
}), _ = m(() => y.value === void 0), C = m(() => {
|
|
63
|
-
const e =
|
|
63
|
+
const e = a.value;
|
|
64
64
|
if (e !== void 0 && p.value[e])
|
|
65
65
|
return p.value[e];
|
|
66
66
|
}), G = m(() => {
|
|
67
67
|
var t;
|
|
68
|
-
if (
|
|
68
|
+
if (a.value === void 0)
|
|
69
69
|
return;
|
|
70
|
-
const e = (t = s.value) == null ? void 0 : t.getItem(
|
|
70
|
+
const e = (t = s.value) == null ? void 0 : t.getItem(a.value);
|
|
71
71
|
return e == null ? void 0 : e.id;
|
|
72
72
|
}), J = m(() => {
|
|
73
73
|
var e;
|
|
@@ -82,16 +82,16 @@ const xe = ["data-key"], we = {
|
|
|
82
82
|
u.value !== e && (u.value = e);
|
|
83
83
|
}
|
|
84
84
|
function D() {
|
|
85
|
-
i.value || l.readonly || l.disabled || (
|
|
85
|
+
i.value || l.readonly || l.disabled || (x("before-show"), i.value = !0, E());
|
|
86
86
|
}
|
|
87
87
|
function F() {
|
|
88
|
-
i.value && (
|
|
88
|
+
i.value && (x("before-hide"), i.value = !1, a.value = void 0);
|
|
89
89
|
}
|
|
90
90
|
function Y() {
|
|
91
91
|
i.value ? F() : U();
|
|
92
92
|
}
|
|
93
93
|
function Z() {
|
|
94
|
-
q.value && (d.value = l.emptyValue,
|
|
94
|
+
q.value && (d.value = l.emptyValue, a.value = void 0, E());
|
|
95
95
|
}
|
|
96
96
|
function U() {
|
|
97
97
|
if (D(), y.value !== void 0) {
|
|
@@ -100,17 +100,17 @@ const xe = ["data-key"], we = {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function ee(e) {
|
|
103
|
-
var t,
|
|
103
|
+
var t, o;
|
|
104
104
|
if (!(!e.key || l.readonly || l.disabled))
|
|
105
105
|
if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
|
|
106
106
|
h(), i.value && F();
|
|
107
107
|
else if (["ArrowDown", "ArrowUp"].includes(e.key))
|
|
108
108
|
i.value ? I(() => {
|
|
109
|
-
if (
|
|
109
|
+
if (a.value === void 0)
|
|
110
110
|
$();
|
|
111
111
|
else {
|
|
112
112
|
const n = e.key === "ArrowDown" ? "next" : "prev";
|
|
113
|
-
te(
|
|
113
|
+
te(a.value, n);
|
|
114
114
|
}
|
|
115
115
|
}) : (D(), I(() => {
|
|
116
116
|
e.key === "ArrowDown" ? $() : le();
|
|
@@ -118,31 +118,31 @@ const xe = ["data-key"], we = {
|
|
|
118
118
|
else if (e.key === "Enter") {
|
|
119
119
|
if (C.value === void 0) return;
|
|
120
120
|
Q(C.value[l.itemValue]);
|
|
121
|
-
} else e.key === "Home" ?
|
|
121
|
+
} else e.key === "Home" ? a.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? a.value = (o = s.value) == null ? void 0 : o.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && D();
|
|
122
122
|
}
|
|
123
123
|
function $() {
|
|
124
124
|
var e, t;
|
|
125
125
|
if (_.value)
|
|
126
|
-
|
|
126
|
+
a.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
|
|
127
127
|
else {
|
|
128
|
-
const
|
|
128
|
+
const o = p.value.findIndex(
|
|
129
129
|
(n) => n[l.itemValue] === d.value
|
|
130
130
|
);
|
|
131
|
-
|
|
131
|
+
o === -1 ? a.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : a.value = o;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
function le() {
|
|
135
135
|
var e;
|
|
136
|
-
|
|
136
|
+
a.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
|
|
137
137
|
}
|
|
138
138
|
function te(e, t) {
|
|
139
|
-
var
|
|
140
|
-
|
|
139
|
+
var o;
|
|
140
|
+
a.value = (o = s.value) == null ? void 0 : o.getAdjacentItemIndex(e, t);
|
|
141
141
|
}
|
|
142
142
|
function N(e) {
|
|
143
143
|
var B, z, P, R;
|
|
144
|
-
const t = ((B = V == null ? void 0 : V.value) == null ? void 0 : B.$el) === e.relatedTarget,
|
|
145
|
-
if (t || n ||
|
|
144
|
+
const t = ((B = V == null ? void 0 : V.value) == null ? void 0 : B.$el) === e.relatedTarget, o = (P = (z = c == null ? void 0 : c.value) == null ? void 0 : z.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = L == null ? void 0 : L.value) == null ? void 0 : R.contains(e.relatedTarget);
|
|
145
|
+
if (t || n || o) {
|
|
146
146
|
e.preventDefault(), e.stopPropagation();
|
|
147
147
|
return;
|
|
148
148
|
}
|
|
@@ -152,30 +152,30 @@ const xe = ["data-key"], we = {
|
|
|
152
152
|
var e, t;
|
|
153
153
|
(t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function oe() {
|
|
156
156
|
E();
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
|
|
158
|
+
function ae() {
|
|
159
|
+
x("show");
|
|
160
160
|
}
|
|
161
161
|
function ne() {
|
|
162
|
-
|
|
162
|
+
x("hide");
|
|
163
163
|
}
|
|
164
164
|
function O(e) {
|
|
165
|
-
var
|
|
166
|
-
const t = (
|
|
165
|
+
var o;
|
|
166
|
+
const t = (o = s.value) == null ? void 0 : o.getItem(e);
|
|
167
167
|
s.value && (s.value.$el.scrollTop = t == null ? void 0 : t.offsetTop);
|
|
168
168
|
}
|
|
169
169
|
return k(d, h), k(
|
|
170
170
|
() => l.items,
|
|
171
171
|
(e, t) => {
|
|
172
172
|
if (!_.value) {
|
|
173
|
-
const
|
|
174
|
-
u.value === (
|
|
173
|
+
const o = t == null ? void 0 : t.find((n) => n[l.itemValue] === d.value);
|
|
174
|
+
u.value === (o == null ? void 0 : o[l.itemLabel]) && h();
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
{ deep: !0 }
|
|
178
|
-
), k(
|
|
178
|
+
), k(a, (e) => {
|
|
179
179
|
e !== void 0 && O(e);
|
|
180
180
|
}), k(u, (e) => {
|
|
181
181
|
e && i.value && l.selectionMode === "automatic" && I($);
|
|
@@ -187,7 +187,7 @@ const xe = ["data-key"], we = {
|
|
|
187
187
|
), W({
|
|
188
188
|
triggerEl: c
|
|
189
189
|
}), (e, t) => {
|
|
190
|
-
var
|
|
190
|
+
var o;
|
|
191
191
|
return b(), T(
|
|
192
192
|
se,
|
|
193
193
|
null,
|
|
@@ -244,7 +244,7 @@ const xe = ["data-key"], we = {
|
|
|
244
244
|
ref: V,
|
|
245
245
|
class: "q-combobox__chevron",
|
|
246
246
|
"aria-label": l.texts.showOptions,
|
|
247
|
-
variant: "
|
|
247
|
+
variant: "ghost",
|
|
248
248
|
color: "neutral",
|
|
249
249
|
borderless: "",
|
|
250
250
|
tabindex: "-1",
|
|
@@ -288,8 +288,8 @@ const xe = ["data-key"], we = {
|
|
|
288
288
|
placement: "bottom-start",
|
|
289
289
|
width: "anchor",
|
|
290
290
|
offset: 4,
|
|
291
|
-
anchor: (
|
|
292
|
-
onEnter:
|
|
291
|
+
anchor: (o = c.value) == null ? void 0 : o.$el,
|
|
292
|
+
onEnter: ae,
|
|
293
293
|
onLeave: ne
|
|
294
294
|
}, {
|
|
295
295
|
default: r(() => {
|
|
@@ -304,7 +304,7 @@ const xe = ["data-key"], we = {
|
|
|
304
304
|
onFocusout: N
|
|
305
305
|
}, [
|
|
306
306
|
f(e.$slots, "body.prepend"),
|
|
307
|
-
l.loading ? (b(), T("div",
|
|
307
|
+
l.loading ? (b(), T("div", xe, [
|
|
308
308
|
M(v(he), { size: 24 })
|
|
309
309
|
])) : p.value.length ? (b(), A(v(be), {
|
|
310
310
|
key: 1,
|
|
@@ -318,7 +318,7 @@ const xe = ["data-key"], we = {
|
|
|
318
318
|
groups: e.groups,
|
|
319
319
|
"item-label": l.itemLabel,
|
|
320
320
|
"item-value": l.itemValue,
|
|
321
|
-
onMouseup:
|
|
321
|
+
onMouseup: oe,
|
|
322
322
|
"onUpdate:modelValue": Q
|
|
323
323
|
}, {
|
|
324
324
|
item: r(({ item: B }) => [
|
|
@@ -334,7 +334,7 @@ const xe = ["data-key"], we = {
|
|
|
334
334
|
/* TEXT */
|
|
335
335
|
)),
|
|
336
336
|
f(e.$slots, "body.append")
|
|
337
|
-
], 40,
|
|
337
|
+
], 40, we)
|
|
338
338
|
];
|
|
339
339
|
}),
|
|
340
340
|
_: 3
|
|
@@ -719,6 +719,7 @@ declare const QCombobox: {
|
|
|
719
719
|
readonly disabled?: boolean | undefined;
|
|
720
720
|
readonly selectable?: boolean | undefined;
|
|
721
721
|
readonly "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
722
|
+
readonly onClick?: ((key: import('../../types/primitive').Primitive) => any) | undefined;
|
|
722
723
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
723
724
|
$attrs: {
|
|
724
725
|
[x: string]: unknown;
|
|
@@ -731,16 +732,17 @@ declare const QCombobox: {
|
|
|
731
732
|
$: import('vue').ComponentInternalInstance;
|
|
732
733
|
$data: {};
|
|
733
734
|
$props: {
|
|
735
|
+
readonly modelValue?: boolean | undefined;
|
|
734
736
|
readonly value: import('../../types/primitive').Primitive;
|
|
735
737
|
readonly label: string;
|
|
736
738
|
readonly icon?: import('..').Icon | undefined;
|
|
737
739
|
readonly selectable?: boolean | undefined;
|
|
738
|
-
readonly selected?: boolean | undefined;
|
|
739
740
|
readonly highlighted?: boolean | undefined;
|
|
740
741
|
readonly disabled?: boolean | undefined;
|
|
741
742
|
readonly description?: string | undefined;
|
|
742
743
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
743
|
-
readonly
|
|
744
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
745
|
+
readonly onClick?: (() => any) | undefined;
|
|
744
746
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
745
747
|
$attrs: {
|
|
746
748
|
[x: string]: unknown;
|
|
@@ -754,12 +756,17 @@ declare const QCombobox: {
|
|
|
754
756
|
$root: import('vue').ComponentPublicInstance | null;
|
|
755
757
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
756
758
|
$host: Element | null;
|
|
757
|
-
$emit: (event: "
|
|
759
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
|
|
758
760
|
$el: HTMLLIElement;
|
|
759
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
760
|
-
|
|
761
|
-
}
|
|
762
|
-
|
|
761
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
762
|
+
modelValue?: boolean;
|
|
763
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
764
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
765
|
+
onClick?: (() => any) | undefined;
|
|
766
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
767
|
+
"update:modelValue": (value: boolean) => any;
|
|
768
|
+
} & {
|
|
769
|
+
click: () => any;
|
|
763
770
|
}, string, {
|
|
764
771
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
765
772
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -784,8 +791,11 @@ declare const QCombobox: {
|
|
|
784
791
|
$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;
|
|
785
792
|
} & Readonly<{
|
|
786
793
|
icons: typeof import('../QList/types').DEFAULT_ICONS;
|
|
787
|
-
}> & Omit<Readonly<
|
|
788
|
-
|
|
794
|
+
}> & Omit<Readonly<{
|
|
795
|
+
modelValue?: boolean;
|
|
796
|
+
} & import('..').QListItemProps> & Readonly<{
|
|
797
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
798
|
+
onClick?: (() => any) | undefined;
|
|
789
799
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
790
800
|
$slots: {
|
|
791
801
|
prepend?(_: {}): any;
|
|
@@ -800,7 +810,7 @@ declare const QCombobox: {
|
|
|
800
810
|
$root: import('vue').ComponentPublicInstance | null;
|
|
801
811
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
802
812
|
$host: Element | null;
|
|
803
|
-
$emit: (event: "update:modelValue", value: import('../../types/primitive').Primitive) => void;
|
|
813
|
+
$emit: ((event: "update:modelValue", value: import('../../types/primitive').Primitive) => void) & ((event: "click", key: import('../../types/primitive').Primitive) => void);
|
|
804
814
|
$el: any;
|
|
805
815
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
806
816
|
modelValue?: import('../../types/primitive').Primitive;
|
|
@@ -814,6 +824,7 @@ declare const QCombobox: {
|
|
|
814
824
|
selectable?: boolean;
|
|
815
825
|
}> & Readonly<{
|
|
816
826
|
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
827
|
+
onClick?: ((key: import('../../types/primitive').Primitive) => any) | undefined;
|
|
817
828
|
}>, {
|
|
818
829
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
819
830
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -821,6 +832,8 @@ declare const QCombobox: {
|
|
|
821
832
|
getLastFocusableItemIndex: () => number;
|
|
822
833
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
823
834
|
"update:modelValue": (value: import('../../types/primitive').Primitive) => any;
|
|
835
|
+
} & {
|
|
836
|
+
click: (key: import('../../types/primitive').Primitive) => any;
|
|
824
837
|
}, string, {
|
|
825
838
|
groups: import('../QList/types').Group[];
|
|
826
839
|
itemValue: string;
|
|
@@ -861,6 +874,7 @@ declare const QCombobox: {
|
|
|
861
874
|
selectable?: boolean;
|
|
862
875
|
}> & Readonly<{
|
|
863
876
|
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
877
|
+
onClick?: ((key: import('../../types/primitive').Primitive) => any) | undefined;
|
|
864
878
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
865
879
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
866
880
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAI2vzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,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AAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJn1zB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;QAGlD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAClB,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,mBAAmB,GAAG;QAC/B,EAAE,EAAE,MAAM,CAAA;KACV,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;IAEtB;;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/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,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;;;;;;;CAOM,CAAA;AAGhC,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,IAAI,IAAI,CAAA;KAAE,CAAA;IAErB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;CACnB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,YAAY,CAW/C,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,IAE1B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Primitive } from '../../types/primitive';
|
|
1
2
|
import { QDropdownMenuProps } from './types';
|
|
2
3
|
type __VLS_Props = QDropdownMenuProps;
|
|
3
4
|
type __VLS_PublicProps = {
|
|
@@ -5,7 +6,10 @@ type __VLS_PublicProps = {
|
|
|
5
6
|
} & __VLS_Props;
|
|
6
7
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
|
+
} & {
|
|
10
|
+
select: (item: Primitive) => any;
|
|
8
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
onSelect?: ((item: Primitive) => any) | undefined;
|
|
9
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
15
|
export default _default;
|