@quidgest/ui 0.7.22 → 0.8.0
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 +97 -61
- package/dist/ui.css +75 -68
- package/dist/ui.esm.js +987 -1003
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +5 -4
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +99 -111
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +107 -98
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
|
46
46
|
|
|
47
47
|
declare type __VLS_NonUndefinedable_20<T> = T extends undefined ? never : T;
|
|
48
48
|
|
|
49
|
+
declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
50
|
+
|
|
49
51
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
50
52
|
|
|
51
53
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -249,6 +251,15 @@ declare type __VLS_TypePropsToRuntimeProps_20<T> = {
|
|
|
249
251
|
};
|
|
250
252
|
};
|
|
251
253
|
|
|
254
|
+
declare type __VLS_TypePropsToRuntimeProps_21<T> = {
|
|
255
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
256
|
+
type: PropType<__VLS_NonUndefinedable_21<T[K]>>;
|
|
257
|
+
} : {
|
|
258
|
+
type: PropType<T[K]>;
|
|
259
|
+
required: true;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
|
|
252
263
|
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
253
264
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
254
265
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -456,6 +467,12 @@ declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
|
456
467
|
};
|
|
457
468
|
};
|
|
458
469
|
|
|
470
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
471
|
+
new (): {
|
|
472
|
+
$slots: S;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
|
|
459
476
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
460
477
|
new (): {
|
|
461
478
|
$slots: S;
|
|
@@ -506,7 +523,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
506
523
|
|
|
507
524
|
declare type Appearance = 'regular' | 'inverted';
|
|
508
525
|
|
|
509
|
-
|
|
526
|
+
declare type AppThemes = {
|
|
510
527
|
defaultTheme: string;
|
|
511
528
|
themes: Array<{
|
|
512
529
|
name: string;
|
|
@@ -521,14 +538,9 @@ declare type ColorScheme = {
|
|
|
521
538
|
primaryDark: string;
|
|
522
539
|
onPrimary: string;
|
|
523
540
|
secondary: string;
|
|
524
|
-
secondaryLight: string;
|
|
525
|
-
secondaryDark: string;
|
|
526
541
|
onSecondary: string;
|
|
527
542
|
highlight: string;
|
|
528
543
|
onHighlight: string;
|
|
529
|
-
background: string;
|
|
530
|
-
onBackground: string;
|
|
531
|
-
container: string;
|
|
532
544
|
info: string;
|
|
533
545
|
infoLight: string;
|
|
534
546
|
infoDark: string;
|
|
@@ -545,6 +557,12 @@ declare type ColorScheme = {
|
|
|
545
557
|
dangerLight: string;
|
|
546
558
|
dangerDark: string;
|
|
547
559
|
onDanger: string;
|
|
560
|
+
background: string;
|
|
561
|
+
onBackground: string;
|
|
562
|
+
container: string;
|
|
563
|
+
neutral: string;
|
|
564
|
+
neutralLight: string;
|
|
565
|
+
neutralDark: string;
|
|
548
566
|
};
|
|
549
567
|
|
|
550
568
|
declare type ComponentDefaults = Record<string | symbol, unknown>;
|
|
@@ -575,14 +593,14 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
575
593
|
}>;
|
|
576
594
|
|
|
577
595
|
declare const _default_10: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_10<QInputGroupProps>, {
|
|
578
|
-
id:
|
|
596
|
+
id: undefined;
|
|
579
597
|
label: string;
|
|
580
598
|
prependIcon: undefined;
|
|
581
599
|
appendIcon: undefined;
|
|
582
600
|
size: string;
|
|
583
601
|
class: undefined;
|
|
584
602
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_10<QInputGroupProps>, {
|
|
585
|
-
id:
|
|
603
|
+
id: undefined;
|
|
586
604
|
label: string;
|
|
587
605
|
prependIcon: undefined;
|
|
588
606
|
appendIcon: undefined;
|
|
@@ -746,11 +764,6 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
746
764
|
* The placement of the popover.
|
|
747
765
|
*/
|
|
748
766
|
placement?: Placement | undefined;
|
|
749
|
-
/**
|
|
750
|
-
* Whether to spy on the real-time position of the anchor,
|
|
751
|
-
* to keep the position of the popover up-to-date at all times.
|
|
752
|
-
*/
|
|
753
|
-
spy?: boolean | undefined;
|
|
754
767
|
/**
|
|
755
768
|
* The text of the popover.
|
|
756
769
|
*/
|
|
@@ -764,7 +777,6 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
764
777
|
attach: string;
|
|
765
778
|
html: boolean;
|
|
766
779
|
placement: string;
|
|
767
|
-
spy: boolean;
|
|
768
780
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<{
|
|
769
781
|
/**
|
|
770
782
|
* Determines whether the popover is open or not.
|
|
@@ -795,11 +807,6 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
795
807
|
* The placement of the popover.
|
|
796
808
|
*/
|
|
797
809
|
placement?: Placement | undefined;
|
|
798
|
-
/**
|
|
799
|
-
* Whether to spy on the real-time position of the anchor,
|
|
800
|
-
* to keep the position of the popover up-to-date at all times.
|
|
801
|
-
*/
|
|
802
|
-
spy?: boolean | undefined;
|
|
803
810
|
/**
|
|
804
811
|
* The text of the popover.
|
|
805
812
|
*/
|
|
@@ -813,13 +820,11 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
813
820
|
attach: string;
|
|
814
821
|
html: boolean;
|
|
815
822
|
placement: string;
|
|
816
|
-
spy: boolean;
|
|
817
823
|
}>>>, {
|
|
818
824
|
html: boolean;
|
|
819
825
|
arrow: boolean;
|
|
820
826
|
attach: string;
|
|
821
827
|
placement: Placement;
|
|
822
|
-
spy: boolean;
|
|
823
828
|
}, {}>, {
|
|
824
829
|
header?(_: {}): any;
|
|
825
830
|
body?(_: {}): any;
|
|
@@ -899,7 +904,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
899
904
|
class?: string | unknown[] | undefined;
|
|
900
905
|
}>, {
|
|
901
906
|
modelValue: undefined;
|
|
902
|
-
id:
|
|
907
|
+
id: undefined;
|
|
903
908
|
label: string;
|
|
904
909
|
icons: () => Record<string, Icon>;
|
|
905
910
|
groups: () => never[];
|
|
@@ -990,7 +995,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
990
995
|
class?: string | unknown[] | undefined;
|
|
991
996
|
}>, {
|
|
992
997
|
modelValue: undefined;
|
|
993
|
-
id:
|
|
998
|
+
id: undefined;
|
|
994
999
|
label: string;
|
|
995
1000
|
icons: () => Record<string, Icon>;
|
|
996
1001
|
groups: () => never[];
|
|
@@ -1023,6 +1028,9 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
1023
1028
|
placeholder: string;
|
|
1024
1029
|
};
|
|
1025
1030
|
}, {}>, {
|
|
1031
|
+
prepend?(_: {}): any;
|
|
1032
|
+
append?(_: {}): any;
|
|
1033
|
+
extras?(_: {}): any;
|
|
1026
1034
|
"body.prepend"?(_: {}): any;
|
|
1027
1035
|
item?(_: {
|
|
1028
1036
|
item: any;
|
|
@@ -1043,7 +1051,7 @@ declare const _default_18: DefineComponent<__VLS_WithDefaults_16<__VLS_TypeProps
|
|
|
1043
1051
|
|
|
1044
1052
|
declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<QTextFieldProps>, {
|
|
1045
1053
|
modelValue: string;
|
|
1046
|
-
id:
|
|
1054
|
+
id: undefined;
|
|
1047
1055
|
placeholder: string;
|
|
1048
1056
|
label: string;
|
|
1049
1057
|
size: undefined;
|
|
@@ -1058,7 +1066,7 @@ declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_With
|
|
|
1058
1066
|
"update:modelValue": (value: string) => void;
|
|
1059
1067
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<QTextFieldProps>, {
|
|
1060
1068
|
modelValue: string;
|
|
1061
|
-
id:
|
|
1069
|
+
id: undefined;
|
|
1062
1070
|
placeholder: string;
|
|
1063
1071
|
label: string;
|
|
1064
1072
|
size: undefined;
|
|
@@ -1087,19 +1095,20 @@ declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_With
|
|
|
1087
1095
|
}>;
|
|
1088
1096
|
|
|
1089
1097
|
declare const _default_2: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<QButtonGroupProps>, {
|
|
1090
|
-
bStyle: undefined;
|
|
1091
1098
|
class: undefined;
|
|
1092
1099
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<QButtonGroupProps>, {
|
|
1093
|
-
bStyle: undefined;
|
|
1094
1100
|
class: undefined;
|
|
1095
1101
|
}>>>, {
|
|
1096
1102
|
class: string | unknown[];
|
|
1097
|
-
bStyle: "primary" | "secondary" | "danger";
|
|
1098
1103
|
}, {}>, {
|
|
1099
1104
|
default?(_: {}): any;
|
|
1100
1105
|
}>;
|
|
1101
1106
|
|
|
1102
|
-
declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<
|
|
1107
|
+
declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_TypePropsToRuntimeProps_20<QThemeProviderProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_20<QThemeProviderProps>>>, {}, {}>, {
|
|
1108
|
+
default?(_: {}): any;
|
|
1109
|
+
}>;
|
|
1110
|
+
|
|
1111
|
+
declare const _default_21: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_21<{
|
|
1103
1112
|
/**
|
|
1104
1113
|
* Determines whether the tooltip is open or not.
|
|
1105
1114
|
*/
|
|
@@ -1156,7 +1165,7 @@ declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_With
|
|
|
1156
1165
|
*/
|
|
1157
1166
|
class?: string | unknown[] | undefined;
|
|
1158
1167
|
}>, {
|
|
1159
|
-
id:
|
|
1168
|
+
id: undefined;
|
|
1160
1169
|
appearance: string;
|
|
1161
1170
|
arrow: boolean;
|
|
1162
1171
|
attach: string;
|
|
@@ -1165,7 +1174,7 @@ declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_With
|
|
|
1165
1174
|
placement: string;
|
|
1166
1175
|
trigger: string;
|
|
1167
1176
|
class: undefined;
|
|
1168
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<
|
|
1177
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_21<{
|
|
1169
1178
|
/**
|
|
1170
1179
|
* Determines whether the tooltip is open or not.
|
|
1171
1180
|
*/
|
|
@@ -1222,7 +1231,7 @@ declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_With
|
|
|
1222
1231
|
*/
|
|
1223
1232
|
class?: string | unknown[] | undefined;
|
|
1224
1233
|
}>, {
|
|
1225
|
-
id:
|
|
1234
|
+
id: undefined;
|
|
1226
1235
|
appearance: string;
|
|
1227
1236
|
arrow: boolean;
|
|
1228
1237
|
attach: string;
|
|
@@ -1257,7 +1266,7 @@ declare const _default_3: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_TypePr
|
|
|
1257
1266
|
|
|
1258
1267
|
declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<QComboboxProps>, {
|
|
1259
1268
|
modelValue: undefined;
|
|
1260
|
-
id:
|
|
1269
|
+
id: undefined;
|
|
1261
1270
|
placeholder: string;
|
|
1262
1271
|
selectionMode: string;
|
|
1263
1272
|
filterMode: string;
|
|
@@ -1289,12 +1298,12 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1289
1298
|
readonly type: string;
|
|
1290
1299
|
readonly label: string;
|
|
1291
1300
|
readonly modelValue: string;
|
|
1292
|
-
readonly id: string;
|
|
1293
1301
|
readonly placeholder: string;
|
|
1294
1302
|
readonly size?: QFieldSize | undefined;
|
|
1295
1303
|
readonly class?: string | unknown[] | undefined;
|
|
1296
1304
|
readonly disabled?: boolean | undefined;
|
|
1297
1305
|
readonly required?: boolean | undefined;
|
|
1306
|
+
readonly id?: string | undefined;
|
|
1298
1307
|
readonly role?: string | undefined;
|
|
1299
1308
|
readonly maxLength?: number | undefined;
|
|
1300
1309
|
readonly readonly?: boolean | undefined;
|
|
@@ -1328,7 +1337,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1328
1337
|
};
|
|
1329
1338
|
id: {
|
|
1330
1339
|
type: PropType<string>;
|
|
1331
|
-
default:
|
|
1340
|
+
default: undefined;
|
|
1332
1341
|
};
|
|
1333
1342
|
role: {
|
|
1334
1343
|
type: PropType<string>;
|
|
@@ -1390,7 +1399,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1390
1399
|
};
|
|
1391
1400
|
id: {
|
|
1392
1401
|
type: PropType<string>;
|
|
1393
|
-
default:
|
|
1402
|
+
default: undefined;
|
|
1394
1403
|
};
|
|
1395
1404
|
role: {
|
|
1396
1405
|
type: PropType<string>;
|
|
@@ -1473,7 +1482,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1473
1482
|
};
|
|
1474
1483
|
id: {
|
|
1475
1484
|
type: PropType<string>;
|
|
1476
|
-
default:
|
|
1485
|
+
default: undefined;
|
|
1477
1486
|
};
|
|
1478
1487
|
role: {
|
|
1479
1488
|
type: PropType<string>;
|
|
@@ -1497,6 +1506,9 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1497
1506
|
inputRef: Ref<HTMLElement | null>;
|
|
1498
1507
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1499
1508
|
$slots: {
|
|
1509
|
+
/**
|
|
1510
|
+
* Handles the enter event for the overlay element.
|
|
1511
|
+
*/
|
|
1500
1512
|
"label.prepend"?(_: {}): any;
|
|
1501
1513
|
"label.append"?(_: {}): any;
|
|
1502
1514
|
prepend?(_: {}): any;
|
|
@@ -1513,7 +1525,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1513
1525
|
hide: () => void;
|
|
1514
1526
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<QComboboxProps>, {
|
|
1515
1527
|
modelValue: undefined;
|
|
1516
|
-
id:
|
|
1528
|
+
id: undefined;
|
|
1517
1529
|
placeholder: string;
|
|
1518
1530
|
selectionMode: string;
|
|
1519
1531
|
filterMode: string;
|
|
@@ -1566,15 +1578,17 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1566
1578
|
}>;
|
|
1567
1579
|
|
|
1568
1580
|
declare const _default_5: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<QFieldProps>, {
|
|
1569
|
-
id:
|
|
1581
|
+
id: undefined;
|
|
1570
1582
|
label: string;
|
|
1583
|
+
for: undefined;
|
|
1571
1584
|
size: string;
|
|
1572
1585
|
class: undefined;
|
|
1573
1586
|
}>, {
|
|
1574
1587
|
fieldRef: Ref<HTMLElement | null>;
|
|
1575
1588
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<QFieldProps>, {
|
|
1576
|
-
id:
|
|
1589
|
+
id: undefined;
|
|
1577
1590
|
label: string;
|
|
1591
|
+
for: undefined;
|
|
1578
1592
|
size: string;
|
|
1579
1593
|
class: undefined;
|
|
1580
1594
|
}>>>, {
|
|
@@ -1582,6 +1596,7 @@ declare const _default_5: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDe
|
|
|
1582
1596
|
class: string | unknown[];
|
|
1583
1597
|
label: string;
|
|
1584
1598
|
id: string;
|
|
1599
|
+
for: string;
|
|
1585
1600
|
}, {}>, {
|
|
1586
1601
|
"label.prepend"?(_: {}): any;
|
|
1587
1602
|
"label.append"?(_: {}): any;
|
|
@@ -1830,7 +1845,9 @@ export declare type IQSpinnerLoader = InstanceType<typeof _default_18>;
|
|
|
1830
1845
|
|
|
1831
1846
|
export declare type IQTextField = InstanceType<typeof _default_19>;
|
|
1832
1847
|
|
|
1833
|
-
export declare type
|
|
1848
|
+
export declare type IQThemeProvider = InstanceType<typeof _default_20>;
|
|
1849
|
+
|
|
1850
|
+
export declare type IQTooltip = InstanceType<typeof _default_21>;
|
|
1834
1851
|
|
|
1835
1852
|
declare type Item = Omit<QListItemProps, 'value' | 'label'> & {
|
|
1836
1853
|
[key: string]: any;
|
|
@@ -1840,15 +1857,20 @@ declare type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1840
1857
|
|
|
1841
1858
|
declare type Primitive = string | number | boolean | symbol;
|
|
1842
1859
|
|
|
1860
|
+
/**
|
|
1861
|
+
* Provides a theme with the specified name using the current theme configuration.
|
|
1862
|
+
*
|
|
1863
|
+
* @param name - The name of the theme to provide.
|
|
1864
|
+
*
|
|
1865
|
+
* @returns The active theme.
|
|
1866
|
+
*/
|
|
1867
|
+
export declare function provideTheme(name: string): ThemeInstance;
|
|
1868
|
+
|
|
1843
1869
|
export declare const QButton: IQButton;
|
|
1844
1870
|
|
|
1845
1871
|
export declare const QButtonGroup: IQButtonGroup;
|
|
1846
1872
|
|
|
1847
1873
|
declare type QButtonGroupProps = {
|
|
1848
|
-
/**
|
|
1849
|
-
* The style of the button group.
|
|
1850
|
-
*/
|
|
1851
|
-
bStyle?: 'primary' | 'secondary' | 'danger';
|
|
1852
1874
|
/**
|
|
1853
1875
|
* If true, the button group is disabled and cannot be interacted with.
|
|
1854
1876
|
*/
|
|
@@ -1946,7 +1968,7 @@ declare type QButtonToggleProps = {
|
|
|
1946
1968
|
/**
|
|
1947
1969
|
* Indicates if options can be deselected.
|
|
1948
1970
|
*/
|
|
1949
|
-
|
|
1971
|
+
required?: boolean;
|
|
1950
1972
|
/**
|
|
1951
1973
|
* Custom set of classes to apply to the component.
|
|
1952
1974
|
*/
|
|
@@ -2051,7 +2073,11 @@ export declare type QFieldProps = {
|
|
|
2051
2073
|
*/
|
|
2052
2074
|
label?: string;
|
|
2053
2075
|
/**
|
|
2054
|
-
* The
|
|
2076
|
+
* The form field associated with the label.
|
|
2077
|
+
*/
|
|
2078
|
+
for?: string;
|
|
2079
|
+
/**
|
|
2080
|
+
* The size category of the field.
|
|
2055
2081
|
*/
|
|
2056
2082
|
size?: QFieldSize;
|
|
2057
2083
|
/**
|
|
@@ -2236,7 +2262,7 @@ export declare const QOverlay: IQOverlay;
|
|
|
2236
2262
|
|
|
2237
2263
|
declare type QOverlayProps = {
|
|
2238
2264
|
/**
|
|
2239
|
-
* Determines whether the overlay is
|
|
2265
|
+
* Determines whether the overlay is visible or not.
|
|
2240
2266
|
*/
|
|
2241
2267
|
modelValue?: boolean;
|
|
2242
2268
|
/**
|
|
@@ -2266,10 +2292,6 @@ declare type QOverlayProps = {
|
|
|
2266
2292
|
* The delay in milliseconds before showing the overlay.
|
|
2267
2293
|
*/
|
|
2268
2294
|
delay?: number;
|
|
2269
|
-
/**
|
|
2270
|
-
* Whether the overlay is disabled.
|
|
2271
|
-
*/
|
|
2272
|
-
disabled?: boolean;
|
|
2273
2295
|
/**
|
|
2274
2296
|
* Offset the overlay in the given amount of pixels.
|
|
2275
2297
|
*/
|
|
@@ -2375,27 +2397,41 @@ declare type QTextFieldProps = {
|
|
|
2375
2397
|
class?: string | unknown[];
|
|
2376
2398
|
};
|
|
2377
2399
|
|
|
2400
|
+
export declare const QThemeProvider: IQThemeProvider;
|
|
2401
|
+
|
|
2402
|
+
declare type QThemeProviderProps = {
|
|
2403
|
+
/**
|
|
2404
|
+
* The theme to apply to the downstream components.
|
|
2405
|
+
*/
|
|
2406
|
+
theme: string;
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2378
2409
|
export declare const QTooltip: IQTooltip;
|
|
2379
2410
|
|
|
2380
2411
|
declare type Selector = string | HTMLElement | ComponentPublicInstance;
|
|
2381
2412
|
|
|
2382
2413
|
declare type Texts = typeof DEFAULT_TEXTS;
|
|
2383
2414
|
|
|
2384
|
-
declare type
|
|
2385
|
-
activeTheme: string;
|
|
2386
|
-
themes: ThemeDefinition[];
|
|
2387
|
-
};
|
|
2388
|
-
|
|
2389
|
-
export declare type ThemeDefinition = {
|
|
2415
|
+
declare type ThemeDefinition = {
|
|
2390
2416
|
name: string;
|
|
2391
2417
|
mode: ThemeMode;
|
|
2392
|
-
|
|
2418
|
+
scheme: ColorScheme;
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
declare type ThemeInstance = {
|
|
2422
|
+
activeTheme: Ref<string>;
|
|
2423
|
+
themes: ThemeDefinition[];
|
|
2393
2424
|
};
|
|
2394
2425
|
|
|
2395
|
-
|
|
2426
|
+
declare type ThemeMode = 'light' | 'dark';
|
|
2396
2427
|
|
|
2397
2428
|
declare type Trigger = 'hover' | 'click' | 'manual';
|
|
2398
2429
|
|
|
2399
|
-
|
|
2430
|
+
/**
|
|
2431
|
+
* Custom hook for accessing the theme configuration in context.
|
|
2432
|
+
*
|
|
2433
|
+
* @returns The current theme configuration.
|
|
2434
|
+
*/
|
|
2435
|
+
export declare function useTheme(): ThemeInstance;
|
|
2400
2436
|
|
|
2401
2437
|
export { }
|