@quidgest/ui 0.7.9 → 0.7.11
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/index.d.ts +285 -21
- package/dist/ui.esm.js +756 -735
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +4 -4
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.js +30 -30
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
2
|
import type { Component } from 'vue';
|
|
3
|
+
import { ComponentCustomProperties } from 'vue';
|
|
3
4
|
import { ComponentCustomProps } from 'vue';
|
|
5
|
+
import { ComponentInternalInstance } from 'vue';
|
|
6
|
+
import { ComponentOptionsBase } from 'vue';
|
|
4
7
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
-
import
|
|
8
|
+
import { ComponentPublicInstance } from 'vue';
|
|
6
9
|
import { ComputedRef } from 'vue';
|
|
10
|
+
import { DebuggerEvent } from 'vue';
|
|
7
11
|
import { DefineComponent } from 'vue';
|
|
8
12
|
import type { Directive } from 'vue';
|
|
9
13
|
import { ExtractPropTypes } from 'vue';
|
|
14
|
+
import { nextTick } from 'vue';
|
|
10
15
|
import type { ObjectDirective } from 'vue';
|
|
11
16
|
import type { Plugin as Plugin_2 } from 'vue';
|
|
12
17
|
import { PropType } from 'vue';
|
|
13
18
|
import { Ref } from 'vue';
|
|
19
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
20
|
+
import { Slot } from 'vue';
|
|
14
21
|
import { VNodeProps } from 'vue';
|
|
22
|
+
import { WatchOptions } from 'vue';
|
|
23
|
+
import { WatchStopHandle } from 'vue';
|
|
15
24
|
|
|
16
25
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
26
|
|
|
@@ -410,6 +419,18 @@ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
|
410
419
|
};
|
|
411
420
|
};
|
|
412
421
|
|
|
422
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
423
|
+
new (): {
|
|
424
|
+
$slots: S;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
429
|
+
new (): {
|
|
430
|
+
$slots: S;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
|
|
413
434
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
414
435
|
new (): {
|
|
415
436
|
$slots: S;
|
|
@@ -553,7 +574,7 @@ declare const _default_10: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithD
|
|
|
553
574
|
|
|
554
575
|
declare const _default_11: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
555
576
|
|
|
556
|
-
declare const _default_12: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_11<QListProps>, {
|
|
577
|
+
declare const _default_12: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_11<QListProps>, {
|
|
557
578
|
modelValue: undefined;
|
|
558
579
|
highlighted: undefined;
|
|
559
580
|
groups: () => never[];
|
|
@@ -578,14 +599,16 @@ declare const _default_12: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsT
|
|
|
578
599
|
}, {
|
|
579
600
|
modelValue: Primitive;
|
|
580
601
|
highlighted: Primitive;
|
|
581
|
-
groups:
|
|
582
|
-
id: string;
|
|
583
|
-
})[];
|
|
602
|
+
groups: Group[];
|
|
584
603
|
itemValue: string;
|
|
585
604
|
itemLabel: string;
|
|
586
|
-
}, {}
|
|
605
|
+
}, {}>, {
|
|
606
|
+
item?(_: {
|
|
607
|
+
item: Item;
|
|
608
|
+
}): any;
|
|
609
|
+
}>;
|
|
587
610
|
|
|
588
|
-
declare const _default_13: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_12<QListItemProps>, {
|
|
611
|
+
declare const _default_13: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_12<QListItemProps>, {
|
|
589
612
|
icon: undefined;
|
|
590
613
|
icons: () => Record<string, Icon>;
|
|
591
614
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -598,9 +621,11 @@ declare const _default_13: DefineComponent<__VLS_WithDefaults_10<__VLS_TypeProps
|
|
|
598
621
|
}, {
|
|
599
622
|
icon: Icon;
|
|
600
623
|
icons: Record<string, Icon>;
|
|
601
|
-
}, {}
|
|
624
|
+
}, {}>, {
|
|
625
|
+
default?(_: {}): any;
|
|
626
|
+
}>;
|
|
602
627
|
|
|
603
|
-
declare const _default_14:
|
|
628
|
+
declare const _default_14: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_13<QListItemGroupProps>, {
|
|
604
629
|
title: string;
|
|
605
630
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_13<QListItemGroupProps>, {
|
|
606
631
|
title: string;
|
|
@@ -610,7 +635,7 @@ declare const _default_14: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_WithD
|
|
|
610
635
|
default?(_: {}): any;
|
|
611
636
|
}>;
|
|
612
637
|
|
|
613
|
-
declare const _default_15:
|
|
638
|
+
declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_14<{
|
|
614
639
|
/**
|
|
615
640
|
* Determines whether the overlay is open or not.
|
|
616
641
|
*/
|
|
@@ -779,7 +804,7 @@ declare const _default_15: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_WithD
|
|
|
779
804
|
default?(_: {}): any;
|
|
780
805
|
}>;
|
|
781
806
|
|
|
782
|
-
declare const _default_16:
|
|
807
|
+
declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<{
|
|
783
808
|
/**
|
|
784
809
|
* Determines whether the popover is open or not.
|
|
785
810
|
*/
|
|
@@ -888,7 +913,7 @@ declare const _default_16: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithD
|
|
|
888
913
|
body?(_: {}): any;
|
|
889
914
|
}>;
|
|
890
915
|
|
|
891
|
-
declare const _default_17:
|
|
916
|
+
declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<{
|
|
892
917
|
/**
|
|
893
918
|
* The value of the component.
|
|
894
919
|
*/
|
|
@@ -1076,6 +1101,11 @@ declare const _default_17: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_With
|
|
|
1076
1101
|
};
|
|
1077
1102
|
}, {}>, {
|
|
1078
1103
|
"body.prepend"?(_: {}): any;
|
|
1104
|
+
item?(_: {
|
|
1105
|
+
item: Omit<QListItemProps, "label" | "value"> & {
|
|
1106
|
+
[key: string]: any;
|
|
1107
|
+
};
|
|
1108
|
+
}): any;
|
|
1079
1109
|
"body.append"?(_: {}): any;
|
|
1080
1110
|
}>;
|
|
1081
1111
|
|
|
@@ -1097,7 +1127,7 @@ declare const _default_18: DefineComponent<__VLS_WithDefaults_15<__VLS_TypeProps
|
|
|
1097
1127
|
size: number;
|
|
1098
1128
|
}, {}>;
|
|
1099
1129
|
|
|
1100
|
-
declare const _default_19:
|
|
1130
|
+
declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<QTextFieldProps>, {
|
|
1101
1131
|
modelValue: string;
|
|
1102
1132
|
id: () => string;
|
|
1103
1133
|
placeholder: string;
|
|
@@ -1127,8 +1157,8 @@ declare const _default_19: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
1127
1157
|
type: string;
|
|
1128
1158
|
label: string;
|
|
1129
1159
|
modelValue: string;
|
|
1130
|
-
role: string;
|
|
1131
1160
|
id: string;
|
|
1161
|
+
role: string;
|
|
1132
1162
|
maxLength: number;
|
|
1133
1163
|
placeholder: string;
|
|
1134
1164
|
}, {}>, {
|
|
@@ -1280,6 +1310,7 @@ declare const _default_3: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_TypePr
|
|
|
1280
1310
|
declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<QComboboxProps>, {
|
|
1281
1311
|
modelValue: undefined;
|
|
1282
1312
|
id: () => string;
|
|
1313
|
+
placeholder: string;
|
|
1283
1314
|
selectionMode: string;
|
|
1284
1315
|
filterMode: string;
|
|
1285
1316
|
label: string;
|
|
@@ -1291,7 +1322,225 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1291
1322
|
noData: string;
|
|
1292
1323
|
};
|
|
1293
1324
|
icons: () => Record<string, Icon>;
|
|
1294
|
-
}>, {
|
|
1325
|
+
}>, {
|
|
1326
|
+
triggerEl: Ref<({
|
|
1327
|
+
$: ComponentInternalInstance;
|
|
1328
|
+
$data: {};
|
|
1329
|
+
$props: Partial<{
|
|
1330
|
+
size: QFieldSize;
|
|
1331
|
+
type: string;
|
|
1332
|
+
label: string;
|
|
1333
|
+
modelValue: string;
|
|
1334
|
+
id: string;
|
|
1335
|
+
role: string;
|
|
1336
|
+
maxLength: number;
|
|
1337
|
+
placeholder: string;
|
|
1338
|
+
}> & Omit<{
|
|
1339
|
+
readonly type: string;
|
|
1340
|
+
readonly label: string;
|
|
1341
|
+
readonly modelValue: string;
|
|
1342
|
+
readonly id: string;
|
|
1343
|
+
readonly placeholder: string;
|
|
1344
|
+
readonly size?: QFieldSize | undefined;
|
|
1345
|
+
readonly disabled?: boolean | undefined;
|
|
1346
|
+
readonly required?: boolean | undefined;
|
|
1347
|
+
readonly role?: string | undefined;
|
|
1348
|
+
readonly maxLength?: number | undefined;
|
|
1349
|
+
readonly readonly?: boolean | undefined;
|
|
1350
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1351
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
1352
|
+
size: {
|
|
1353
|
+
type: PropType<QFieldSize>;
|
|
1354
|
+
default: undefined;
|
|
1355
|
+
};
|
|
1356
|
+
type: {
|
|
1357
|
+
type: PropType<string>;
|
|
1358
|
+
default: string;
|
|
1359
|
+
};
|
|
1360
|
+
label: {
|
|
1361
|
+
type: PropType<string>;
|
|
1362
|
+
default: string;
|
|
1363
|
+
};
|
|
1364
|
+
disabled: {
|
|
1365
|
+
type: PropType<boolean>;
|
|
1366
|
+
};
|
|
1367
|
+
modelValue: {
|
|
1368
|
+
type: PropType<string>;
|
|
1369
|
+
default: string;
|
|
1370
|
+
};
|
|
1371
|
+
required: {
|
|
1372
|
+
type: PropType<boolean>;
|
|
1373
|
+
};
|
|
1374
|
+
id: {
|
|
1375
|
+
type: PropType<string>;
|
|
1376
|
+
default: () => string;
|
|
1377
|
+
};
|
|
1378
|
+
role: {
|
|
1379
|
+
type: PropType<string>;
|
|
1380
|
+
default: undefined;
|
|
1381
|
+
};
|
|
1382
|
+
maxLength: {
|
|
1383
|
+
type: PropType<number>;
|
|
1384
|
+
default: undefined;
|
|
1385
|
+
};
|
|
1386
|
+
placeholder: {
|
|
1387
|
+
type: PropType<string>;
|
|
1388
|
+
default: string;
|
|
1389
|
+
};
|
|
1390
|
+
readonly: {
|
|
1391
|
+
type: PropType<boolean>;
|
|
1392
|
+
};
|
|
1393
|
+
}>> & {
|
|
1394
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1395
|
+
}, "size" | "type" | "label" | "modelValue" | "id" | "role" | "maxLength" | "placeholder">;
|
|
1396
|
+
$attrs: {
|
|
1397
|
+
[x: string]: unknown;
|
|
1398
|
+
};
|
|
1399
|
+
$refs: {
|
|
1400
|
+
[x: string]: unknown;
|
|
1401
|
+
};
|
|
1402
|
+
$slots: Readonly<{
|
|
1403
|
+
[name: string]: Slot<any> | undefined;
|
|
1404
|
+
}>;
|
|
1405
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1406
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1407
|
+
$emit: (event: "update:modelValue", value: string) => void;
|
|
1408
|
+
$el: any;
|
|
1409
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
1410
|
+
size: {
|
|
1411
|
+
type: PropType<QFieldSize>;
|
|
1412
|
+
default: undefined;
|
|
1413
|
+
};
|
|
1414
|
+
type: {
|
|
1415
|
+
type: PropType<string>;
|
|
1416
|
+
default: string;
|
|
1417
|
+
};
|
|
1418
|
+
label: {
|
|
1419
|
+
type: PropType<string>;
|
|
1420
|
+
default: string;
|
|
1421
|
+
};
|
|
1422
|
+
disabled: {
|
|
1423
|
+
type: PropType<boolean>;
|
|
1424
|
+
};
|
|
1425
|
+
modelValue: {
|
|
1426
|
+
type: PropType<string>;
|
|
1427
|
+
default: string;
|
|
1428
|
+
};
|
|
1429
|
+
required: {
|
|
1430
|
+
type: PropType<boolean>;
|
|
1431
|
+
};
|
|
1432
|
+
id: {
|
|
1433
|
+
type: PropType<string>;
|
|
1434
|
+
default: () => string;
|
|
1435
|
+
};
|
|
1436
|
+
role: {
|
|
1437
|
+
type: PropType<string>;
|
|
1438
|
+
default: undefined;
|
|
1439
|
+
};
|
|
1440
|
+
maxLength: {
|
|
1441
|
+
type: PropType<number>;
|
|
1442
|
+
default: undefined;
|
|
1443
|
+
};
|
|
1444
|
+
placeholder: {
|
|
1445
|
+
type: PropType<string>;
|
|
1446
|
+
default: string;
|
|
1447
|
+
};
|
|
1448
|
+
readonly: {
|
|
1449
|
+
type: PropType<boolean>;
|
|
1450
|
+
};
|
|
1451
|
+
}>> & {
|
|
1452
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1453
|
+
}, {
|
|
1454
|
+
fieldRef: ComputedRef<HTMLElement | null | undefined>;
|
|
1455
|
+
inputRef: Ref<HTMLElement | null>;
|
|
1456
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1457
|
+
"update:modelValue": (value: string) => void;
|
|
1458
|
+
}, string, {
|
|
1459
|
+
size: QFieldSize;
|
|
1460
|
+
type: string;
|
|
1461
|
+
label: string;
|
|
1462
|
+
modelValue: string;
|
|
1463
|
+
id: string;
|
|
1464
|
+
role: string;
|
|
1465
|
+
maxLength: number;
|
|
1466
|
+
placeholder: string;
|
|
1467
|
+
}, {}, string, {}> & {
|
|
1468
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1469
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
1470
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
1471
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1472
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
1473
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
1474
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
1475
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
1476
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
1477
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
1478
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
1479
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1480
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
1481
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
1482
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
1483
|
+
};
|
|
1484
|
+
$forceUpdate: () => void;
|
|
1485
|
+
$nextTick: typeof nextTick;
|
|
1486
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1487
|
+
} & Omit<Readonly<ExtractPropTypes<{
|
|
1488
|
+
size: {
|
|
1489
|
+
type: PropType<QFieldSize>;
|
|
1490
|
+
default: undefined;
|
|
1491
|
+
};
|
|
1492
|
+
type: {
|
|
1493
|
+
type: PropType<string>;
|
|
1494
|
+
default: string;
|
|
1495
|
+
};
|
|
1496
|
+
label: {
|
|
1497
|
+
type: PropType<string>;
|
|
1498
|
+
default: string;
|
|
1499
|
+
};
|
|
1500
|
+
disabled: {
|
|
1501
|
+
type: PropType<boolean>;
|
|
1502
|
+
};
|
|
1503
|
+
modelValue: {
|
|
1504
|
+
type: PropType<string>;
|
|
1505
|
+
default: string;
|
|
1506
|
+
};
|
|
1507
|
+
required: {
|
|
1508
|
+
type: PropType<boolean>;
|
|
1509
|
+
};
|
|
1510
|
+
id: {
|
|
1511
|
+
type: PropType<string>;
|
|
1512
|
+
default: () => string;
|
|
1513
|
+
};
|
|
1514
|
+
role: {
|
|
1515
|
+
type: PropType<string>;
|
|
1516
|
+
default: undefined;
|
|
1517
|
+
};
|
|
1518
|
+
maxLength: {
|
|
1519
|
+
type: PropType<number>;
|
|
1520
|
+
default: undefined;
|
|
1521
|
+
};
|
|
1522
|
+
placeholder: {
|
|
1523
|
+
type: PropType<string>;
|
|
1524
|
+
default: string;
|
|
1525
|
+
};
|
|
1526
|
+
readonly: {
|
|
1527
|
+
type: PropType<boolean>;
|
|
1528
|
+
};
|
|
1529
|
+
}>> & {
|
|
1530
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1531
|
+
}, "fieldRef" | "inputRef"> & ShallowUnwrapRef<{
|
|
1532
|
+
fieldRef: ComputedRef<HTMLElement | null | undefined>;
|
|
1533
|
+
inputRef: Ref<HTMLElement | null>;
|
|
1534
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1535
|
+
$slots: {
|
|
1536
|
+
"label.prepend"?(_: {}): any;
|
|
1537
|
+
"label.append"?(_: {}): any;
|
|
1538
|
+
prepend?(_: {}): any;
|
|
1539
|
+
append?(_: {}): any;
|
|
1540
|
+
extras?(_: {}): any;
|
|
1541
|
+
};
|
|
1542
|
+
}) | null>;
|
|
1543
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1295
1544
|
"update:modelValue": (value: Primitive | undefined) => void;
|
|
1296
1545
|
"update:inputValue": (value: string) => void;
|
|
1297
1546
|
"before-show": () => void;
|
|
@@ -1301,6 +1550,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1301
1550
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<QComboboxProps>, {
|
|
1302
1551
|
modelValue: undefined;
|
|
1303
1552
|
id: () => string;
|
|
1553
|
+
placeholder: string;
|
|
1304
1554
|
selectionMode: string;
|
|
1305
1555
|
filterMode: string;
|
|
1306
1556
|
label: string;
|
|
@@ -1330,6 +1580,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1330
1580
|
itemValue: string;
|
|
1331
1581
|
itemLabel: string;
|
|
1332
1582
|
id: string;
|
|
1583
|
+
placeholder: string;
|
|
1333
1584
|
selectionMode: "manual" | "automatic";
|
|
1334
1585
|
filterMode: "manual" | "builtin";
|
|
1335
1586
|
texts: {
|
|
@@ -1342,6 +1593,11 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1342
1593
|
append?(_: {}): any;
|
|
1343
1594
|
extras?(_: {}): any;
|
|
1344
1595
|
"body.prepend"?(_: {}): any;
|
|
1596
|
+
item?(_: {
|
|
1597
|
+
item: Omit<QListItemProps, "label" | "value"> & {
|
|
1598
|
+
[key: string]: any;
|
|
1599
|
+
};
|
|
1600
|
+
}): any;
|
|
1345
1601
|
"body.append"?(_: {}): any;
|
|
1346
1602
|
}>;
|
|
1347
1603
|
|
|
@@ -1518,6 +1774,10 @@ declare function getItem(idx: number): HTMLElement | undefined;
|
|
|
1518
1774
|
*/
|
|
1519
1775
|
declare function getLastFocusableItemIndex(): number;
|
|
1520
1776
|
|
|
1777
|
+
declare type Group = QListItemGroupProps & {
|
|
1778
|
+
id: string;
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1521
1781
|
declare interface HTMLElementWithClickOutsideEvent extends HTMLElement {
|
|
1522
1782
|
clickOutsideEvent: (event: Event) => void;
|
|
1523
1783
|
}
|
|
@@ -1581,6 +1841,10 @@ export declare type IQTextField = typeof _default_19;
|
|
|
1581
1841
|
|
|
1582
1842
|
export declare type IQTooltip = typeof _default_20;
|
|
1583
1843
|
|
|
1844
|
+
declare type Item = Omit<QListItemProps, 'value' | 'label'> & {
|
|
1845
|
+
[key: string]: any;
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1584
1848
|
declare type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
1585
1849
|
|
|
1586
1850
|
declare type Primitive = string | number | boolean | symbol;
|
|
@@ -1697,6 +1961,10 @@ declare type QComboboxProps = {
|
|
|
1697
1961
|
* The field unique identifier.
|
|
1698
1962
|
*/
|
|
1699
1963
|
id?: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* The placeholder text for the combobox.
|
|
1966
|
+
*/
|
|
1967
|
+
placeholder?: string;
|
|
1700
1968
|
/**
|
|
1701
1969
|
* The nature of the autocomplete and selection mechanism.
|
|
1702
1970
|
*/
|
|
@@ -1923,15 +2191,11 @@ export declare type QListProps = {
|
|
|
1923
2191
|
/**
|
|
1924
2192
|
* The list of available items for selection.
|
|
1925
2193
|
*/
|
|
1926
|
-
items:
|
|
1927
|
-
[key: string]: any;
|
|
1928
|
-
})[];
|
|
2194
|
+
items: Item[];
|
|
1929
2195
|
/**
|
|
1930
2196
|
* The item groups used for organizing the available items.
|
|
1931
2197
|
*/
|
|
1932
|
-
groups?:
|
|
1933
|
-
id: string;
|
|
1934
|
-
})[];
|
|
2198
|
+
groups?: Group[];
|
|
1935
2199
|
/**
|
|
1936
2200
|
* The property of each item object that holds its value.
|
|
1937
2201
|
*/
|