@quidgest/ui 0.16.27 → 0.16.29
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/json/api.json +5776 -0
- package/dist/ui.esm.js +798 -789
- package/dist/ui.js +10 -10
- package/dist/ui.min.js +47 -47
- package/dist/ui.scss +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +2 -2
- package/esm/components/QAccordion/types.d.ts +10 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.d.ts +1 -1
- package/esm/components/QAvatar/QAvatar.vue.js +3 -3
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QAvatar/types.d.ts +20 -8
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +1 -1
- package/esm/components/QBadge/types.d.ts +18 -4
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +2 -2
- package/esm/components/QBadgeIndicator/types.d.ts +11 -5
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +3 -3
- package/esm/components/QButton/types.d.ts +30 -8
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -2
- package/esm/components/QButtonGroup/types.d.ts +12 -4
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +3 -3
- package/esm/components/QCard/types.d.ts +26 -8
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCarousel/types.d.ts +55 -11
- package/esm/components/QCarousel/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +3 -3
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +2 -2
- package/esm/components/QCheckbox/index.d.ts +9 -9
- package/esm/components/QCheckbox/types.d.ts +23 -9
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +2 -2
- package/esm/components/QCollapsible/index.d.ts +6 -6
- package/esm/components/QCollapsible/types.d.ts +23 -7
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +20 -16
- package/esm/components/QColorPicker/types.d.ts +14 -0
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +28 -28
- package/esm/components/QCombobox/QCombobox.vue.js +4 -4
- package/esm/components/QCombobox/index.d.ts +43 -43
- package/esm/components/QCombobox/types.d.ts +34 -12
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +4 -4
- package/esm/components/QDateTimePicker/index.d.ts +12 -12
- package/esm/components/QDateTimePicker/types.d.ts +29 -13
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDefaultsProvider/types.d.ts +2 -0
- package/esm/components/QDefaultsProvider/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.vue.js +5 -5
- package/esm/components/QDialog/index.d.ts +15 -15
- package/esm/components/QDialog/types.d.ts +46 -18
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDivider/QDivider.vue.js +10 -8
- package/esm/components/QDivider/types.d.ts +6 -1
- package/esm/components/QDivider/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +6 -6
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +9 -9
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +6 -6
- package/esm/components/QDropdownMenu/index.d.ts +12 -12
- package/esm/components/QDropdownMenu/types.d.ts +51 -21
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +1 -1
- package/esm/components/QField/types.d.ts +10 -0
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +1 -1
- package/esm/components/QFileUpload/index.d.ts +3 -3
- package/esm/components/QFileUpload/types.d.ts +6 -0
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QGrid/types.d.ts +20 -0
- package/esm/components/QGrid/types.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +2 -2
- package/esm/components/QIcon/QIconFont.vue.js +2 -2
- package/esm/components/QIcon/types.d.ts +22 -8
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +1 -1
- package/esm/components/QInputGroup/types.d.ts +4 -0
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +2 -2
- package/esm/components/QLabel/types.d.ts +10 -4
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +4 -0
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +2 -2
- package/esm/components/QList/QList.vue.js +4 -4
- package/esm/components/QList/QListItem.vue.js +1 -1
- package/esm/components/QList/index.d.ts +1 -1
- package/esm/components/QList/types.d.ts +54 -14
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QMeter/QMeter.vue.js +3 -3
- package/esm/components/QMeter/index.d.ts +4 -4
- package/esm/components/QMeter/types.d.ts +10 -4
- package/esm/components/QMeter/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +2 -2
- package/esm/components/QOverlay/QOverlay.vue.js +9 -9
- package/esm/components/QOverlay/index.d.ts +30 -30
- package/esm/components/QOverlay/types.d.ts +74 -34
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +8 -8
- package/esm/components/QPasswordField/QPasswordField.vue.js +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +8 -8
- package/esm/components/QPasswordField/index.d.ts +4 -4
- package/esm/components/QPasswordField/types.d.ts +12 -0
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +4 -4
- package/esm/components/QPopover/index.d.ts +12 -12
- package/esm/components/QPopover/types.d.ts +32 -14
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +1 -0
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +42 -43
- package/esm/components/QPropertyList/index.d.ts +1 -0
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +45 -5
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +6 -6
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +5 -5
- package/esm/components/QRadioGroup/index.d.ts +12 -12
- package/esm/components/QRadioGroup/types.d.ts +57 -27
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +2 -2
- package/esm/components/QRemoveScrollBar/types.d.ts +10 -6
- package/esm/components/QRemoveScrollBar/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +10 -10
- package/esm/components/QSelect/QSelect.vue.js +4 -4
- package/esm/components/QSelect/index.d.ts +17 -17
- package/esm/components/QSelect/types.d.ts +30 -10
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +13 -13
- package/esm/components/QSidebar/index.d.ts +1 -1
- package/esm/components/QSidebar/types.d.ts +29 -9
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +2 -2
- package/esm/components/QSkeletonLoader/types.d.ts +10 -4
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/types.d.ts +2 -0
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +3 -3
- package/esm/components/QSwitch/index.d.ts +4 -4
- package/esm/components/QSwitch/types.d.ts +24 -8
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +1 -1
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QTextArea/types.d.ts +14 -0
- package/esm/components/QTextArea/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +2 -2
- package/esm/components/QTextField/QTextField.vue.js +1 -1
- package/esm/components/QTextField/index.d.ts +4 -4
- package/esm/components/QTextField/types.d.ts +10 -0
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts +2 -0
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +4 -4
- package/esm/components/QToast/types.d.ts +34 -12
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +3 -3
- package/esm/components/QToggle/index.d.ts +6 -6
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +2 -2
- package/esm/components/QToggleGroup/index.d.ts +3 -3
- package/esm/components/QToggleGroup/types.d.ts +6 -0
- package/esm/components/QToggleGroup/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +5 -5
- package/esm/components/QTooltip/index.d.ts +12 -12
- package/esm/components/QTooltip/types.d.ts +40 -16
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts +2 -0
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/types.d.ts +4 -0
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +12 -12
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/types/component.d.ts +4 -0
- package/esm/types/component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export type QDefaultsProviderProps = QBaseComponentProps & {
|
|
|
7
7
|
/**
|
|
8
8
|
* The default configuration values to provide to child components.
|
|
9
9
|
* These values will be **merged with each component's own defaults**.
|
|
10
|
+
*
|
|
11
|
+
* @category Configuration
|
|
10
12
|
*/
|
|
11
13
|
defaults: Defaults;
|
|
12
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG;IAC1D
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG;IAC1D;;;;;OAKG;IACH,QAAQ,EAAE,QAAQ,CAAA;CAClB,CAAA"}
|
|
@@ -32,8 +32,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
32
32
|
html: boolean;
|
|
33
33
|
icon: import('..').Icon;
|
|
34
34
|
icons: typeof DEFAULT_ICONS;
|
|
35
|
-
attach: string;
|
|
36
35
|
backdropBlur: boolean;
|
|
36
|
+
attach: string;
|
|
37
37
|
buttons: DialogButton[];
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -34,15 +34,15 @@ const j = {
|
|
|
34
34
|
text: {},
|
|
35
35
|
icon: { default: () => w },
|
|
36
36
|
buttons: { default: () => H },
|
|
37
|
+
backdropBlur: { type: Boolean, default: !0 },
|
|
38
|
+
size: { default: "small" },
|
|
39
|
+
centerVertically: { type: Boolean },
|
|
37
40
|
attach: { default: "body" },
|
|
38
41
|
inline: { type: Boolean },
|
|
39
|
-
backdropBlur: { type: Boolean, default: !0 },
|
|
40
42
|
dismissible: { type: Boolean },
|
|
41
43
|
html: { type: Boolean, default: !0 },
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
centerVertically: { type: Boolean },
|
|
45
|
-
input: {}
|
|
44
|
+
input: {},
|
|
45
|
+
icons: { default: () => P }
|
|
46
46
|
}, {
|
|
47
47
|
modelValue: { type: Boolean },
|
|
48
48
|
modelModifiers: {}
|
|
@@ -7,15 +7,15 @@ declare const QDialog: {
|
|
|
7
7
|
text?: string;
|
|
8
8
|
icon?: import('..').Icon;
|
|
9
9
|
buttons?: DialogButton[];
|
|
10
|
+
backdropBlur?: boolean;
|
|
11
|
+
size?: import('./types').QDialogSize;
|
|
12
|
+
centerVertically?: boolean;
|
|
10
13
|
attach?: string;
|
|
11
14
|
inline?: boolean;
|
|
12
|
-
backdropBlur?: boolean;
|
|
13
15
|
dismissible?: boolean;
|
|
14
16
|
html?: boolean;
|
|
15
|
-
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
16
|
-
size?: import('./types').QDialogSize;
|
|
17
|
-
centerVertically?: boolean;
|
|
18
17
|
input?: import('./types').QDialogInputOption;
|
|
18
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
19
19
|
}> & Readonly<{
|
|
20
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
21
|
onEnter?: (() => any) | undefined;
|
|
@@ -30,8 +30,8 @@ declare const QDialog: {
|
|
|
30
30
|
html: boolean;
|
|
31
31
|
icon: import('..').Icon;
|
|
32
32
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
33
|
-
attach: string;
|
|
34
33
|
backdropBlur: boolean;
|
|
34
|
+
attach: string;
|
|
35
35
|
buttons: DialogButton[];
|
|
36
36
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
37
37
|
P: {};
|
|
@@ -47,15 +47,15 @@ declare const QDialog: {
|
|
|
47
47
|
text?: string;
|
|
48
48
|
icon?: import('..').Icon;
|
|
49
49
|
buttons?: DialogButton[];
|
|
50
|
+
backdropBlur?: boolean;
|
|
51
|
+
size?: import('./types').QDialogSize;
|
|
52
|
+
centerVertically?: boolean;
|
|
50
53
|
attach?: string;
|
|
51
54
|
inline?: boolean;
|
|
52
|
-
backdropBlur?: boolean;
|
|
53
55
|
dismissible?: boolean;
|
|
54
56
|
html?: boolean;
|
|
55
|
-
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
56
|
-
size?: import('./types').QDialogSize;
|
|
57
|
-
centerVertically?: boolean;
|
|
58
57
|
input?: import('./types').QDialogInputOption;
|
|
58
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
59
59
|
}> & Readonly<{
|
|
60
60
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
61
61
|
onEnter?: (() => any) | undefined;
|
|
@@ -65,8 +65,8 @@ declare const QDialog: {
|
|
|
65
65
|
html: boolean;
|
|
66
66
|
icon: import('..').Icon;
|
|
67
67
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
68
|
-
attach: string;
|
|
69
68
|
backdropBlur: boolean;
|
|
69
|
+
attach: string;
|
|
70
70
|
buttons: DialogButton[];
|
|
71
71
|
}>;
|
|
72
72
|
__isFragment?: never;
|
|
@@ -79,15 +79,15 @@ declare const QDialog: {
|
|
|
79
79
|
text?: string;
|
|
80
80
|
icon?: import('..').Icon;
|
|
81
81
|
buttons?: DialogButton[];
|
|
82
|
+
backdropBlur?: boolean;
|
|
83
|
+
size?: import('./types').QDialogSize;
|
|
84
|
+
centerVertically?: boolean;
|
|
82
85
|
attach?: string;
|
|
83
86
|
inline?: boolean;
|
|
84
|
-
backdropBlur?: boolean;
|
|
85
87
|
dismissible?: boolean;
|
|
86
88
|
html?: boolean;
|
|
87
|
-
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
88
|
-
size?: import('./types').QDialogSize;
|
|
89
|
-
centerVertically?: boolean;
|
|
90
89
|
input?: import('./types').QDialogInputOption;
|
|
90
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
91
91
|
}> & Readonly<{
|
|
92
92
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
93
93
|
onEnter?: (() => any) | undefined;
|
|
@@ -102,8 +102,8 @@ declare const QDialog: {
|
|
|
102
102
|
html: boolean;
|
|
103
103
|
icon: import('..').Icon;
|
|
104
104
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
105
|
-
attach: string;
|
|
106
105
|
backdropBlur: boolean;
|
|
106
|
+
attach: string;
|
|
107
107
|
buttons: DialogButton[];
|
|
108
108
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
109
109
|
$slots: {
|
|
@@ -5,58 +5,84 @@ export type QDialogSize = 'small' | 'medium' | 'large' | 'xlarge';
|
|
|
5
5
|
export type QDialogProps = QBaseComponentProps & {
|
|
6
6
|
/**
|
|
7
7
|
* The title of the dialog window.
|
|
8
|
+
*
|
|
9
|
+
* @category Content
|
|
8
10
|
*/
|
|
9
11
|
title?: string;
|
|
10
12
|
/**
|
|
11
13
|
* The text of the dialog window.
|
|
14
|
+
*
|
|
15
|
+
* @category Content
|
|
12
16
|
*/
|
|
13
17
|
text?: string;
|
|
14
18
|
/**
|
|
15
19
|
* The icon of the dialog window.
|
|
20
|
+
*
|
|
21
|
+
* @category Content
|
|
16
22
|
*/
|
|
17
23
|
icon?: Icon;
|
|
18
24
|
/**
|
|
19
25
|
* The buttons to interact with the dialog window.
|
|
26
|
+
*
|
|
27
|
+
* @category Content
|
|
20
28
|
*/
|
|
21
29
|
buttons?: DialogButton[];
|
|
30
|
+
/**
|
|
31
|
+
* Applies a backdrop blur effect behind the dialog window.
|
|
32
|
+
*
|
|
33
|
+
* @category Presentation
|
|
34
|
+
*/
|
|
35
|
+
backdropBlur?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The size category of the dialog.
|
|
38
|
+
*
|
|
39
|
+
* @category Presentation
|
|
40
|
+
*/
|
|
41
|
+
size?: QDialogSize;
|
|
42
|
+
/**
|
|
43
|
+
* Whether to vertically align the dialog to the center (true) or top (false).
|
|
44
|
+
*
|
|
45
|
+
* @category Presentation
|
|
46
|
+
*/
|
|
47
|
+
centerVertically?: boolean;
|
|
22
48
|
/**
|
|
23
49
|
* The DOM element the tooltip should be teleported to.
|
|
24
50
|
* Defaults to the body of the document.
|
|
51
|
+
*
|
|
52
|
+
* @category Behavior
|
|
25
53
|
*/
|
|
26
54
|
attach?: string;
|
|
27
55
|
/**
|
|
28
56
|
* Whether to disable teleport.
|
|
29
57
|
* If enabled, the prop `attach` is ignored.
|
|
58
|
+
*
|
|
59
|
+
* @category Behavior
|
|
30
60
|
*/
|
|
31
61
|
inline?: boolean;
|
|
32
62
|
/**
|
|
33
|
-
*
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* True if the dialog window can be closed, false otherwise
|
|
63
|
+
* True if the dialog window can be closed, false otherwise.
|
|
64
|
+
*
|
|
65
|
+
* @category Behavior
|
|
38
66
|
*/
|
|
39
67
|
dismissible?: boolean;
|
|
40
68
|
/**
|
|
41
69
|
* Whether the window's content is treated as HTML.
|
|
70
|
+
*
|
|
71
|
+
* @category Behavior
|
|
42
72
|
*/
|
|
43
73
|
html?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Custom icon configurations.
|
|
46
|
-
*/
|
|
47
|
-
icons?: typeof DEFAULT_ICONS;
|
|
48
|
-
/**
|
|
49
|
-
* The size category of the dialog.
|
|
50
|
-
*/
|
|
51
|
-
size?: QDialogSize;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to vertically align the dialog to the center (true) or top (false)
|
|
54
|
-
*/
|
|
55
|
-
centerVertically?: boolean;
|
|
56
74
|
/**
|
|
57
75
|
* The input control configuration.
|
|
76
|
+
*
|
|
77
|
+
* @category Configuration
|
|
58
78
|
*/
|
|
59
79
|
input?: QDialogInputOption;
|
|
80
|
+
/**
|
|
81
|
+
* Custom icon configurations.
|
|
82
|
+
*
|
|
83
|
+
* @category Configuration
|
|
84
|
+
*/
|
|
85
|
+
icons?: typeof DEFAULT_ICONS;
|
|
60
86
|
};
|
|
61
87
|
export type DialogButton = {
|
|
62
88
|
/**
|
|
@@ -100,7 +126,9 @@ export type QDialogInputOption = {
|
|
|
100
126
|
};
|
|
101
127
|
export type QDialogProviderProps = {
|
|
102
128
|
/**
|
|
103
|
-
* Whether to inline the dialogs
|
|
129
|
+
* Whether to inline the dialogs.
|
|
130
|
+
*
|
|
131
|
+
* @category Behavior
|
|
104
132
|
*/
|
|
105
133
|
inline?: boolean;
|
|
106
134
|
};
|
|
@@ -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,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD
|
|
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,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAElB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAE1B;;;;OAIG;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,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAA;IAEnC;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAA;CACjD,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CAChB,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,27 +1,29 @@
|
|
|
1
|
-
import { defineComponent as v, computed as
|
|
1
|
+
import { defineComponent as v, computed as t, useSlots as u, createElementBlock as d, openBlock as o, normalizeClass as c, createCommentVNode as p, Fragment as m, createElementVNode as i, renderSlot as _ } from "vue";
|
|
2
2
|
const f = { class: "q-divider__label" }, C = /* @__PURE__ */ v({
|
|
3
3
|
__name: "QDivider",
|
|
4
4
|
props: {
|
|
5
|
+
id: {},
|
|
6
|
+
class: {},
|
|
5
7
|
direction: { default: "horizontal" },
|
|
6
8
|
inset: { type: Boolean }
|
|
7
9
|
},
|
|
8
10
|
setup(r) {
|
|
9
|
-
const
|
|
11
|
+
const l = r, s = t(() => !!u().default), n = t(() => [
|
|
10
12
|
"q-divider",
|
|
11
|
-
`q-divider--${
|
|
13
|
+
`q-divider--${l.direction}`,
|
|
12
14
|
{
|
|
13
|
-
"q-divider--inset":
|
|
14
|
-
"q-divider--labeled":
|
|
15
|
+
"q-divider--inset": l.inset,
|
|
16
|
+
"q-divider--labeled": s.value
|
|
15
17
|
}
|
|
16
18
|
]);
|
|
17
19
|
return (a, e) => (o(), d(
|
|
18
20
|
"div",
|
|
19
21
|
{
|
|
20
|
-
class:
|
|
22
|
+
class: c(n.value),
|
|
21
23
|
role: "separator"
|
|
22
24
|
},
|
|
23
25
|
[
|
|
24
|
-
|
|
26
|
+
s.value ? (o(), d(
|
|
25
27
|
m,
|
|
26
28
|
{ key: 0 },
|
|
27
29
|
[
|
|
@@ -45,7 +47,7 @@ const f = { class: "q-divider__label" }, C = /* @__PURE__ */ v({
|
|
|
45
47
|
],
|
|
46
48
|
64
|
|
47
49
|
/* STABLE_FRAGMENT */
|
|
48
|
-
)) :
|
|
50
|
+
)) : p("v-if", !0)
|
|
49
51
|
],
|
|
50
52
|
2
|
|
51
53
|
/* CLASS */
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
+
export type QDividerProps = QBaseComponentProps & {
|
|
2
3
|
/**
|
|
3
4
|
* Orientation of the divider.
|
|
5
|
+
*
|
|
6
|
+
* @category Presentation
|
|
4
7
|
*/
|
|
5
8
|
direction?: 'horizontal' | 'vertical';
|
|
6
9
|
/**
|
|
7
10
|
* If true, applies inset margin.
|
|
11
|
+
*
|
|
12
|
+
* @category Presentation
|
|
8
13
|
*/
|
|
9
14
|
inset?: boolean;
|
|
10
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAErC;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA"}
|
|
@@ -7,15 +7,15 @@ const M = /* @__PURE__ */ d({
|
|
|
7
7
|
id: {},
|
|
8
8
|
class: {},
|
|
9
9
|
activator: {},
|
|
10
|
+
itemValue: {},
|
|
11
|
+
itemLabel: {},
|
|
12
|
+
items: {},
|
|
13
|
+
groups: {},
|
|
10
14
|
appearance: {},
|
|
11
|
-
inline: { type: Boolean },
|
|
12
|
-
delay: {},
|
|
13
15
|
placement: {},
|
|
14
16
|
transition: {},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
itemValue: {},
|
|
18
|
-
itemLabel: {},
|
|
17
|
+
inline: { type: Boolean },
|
|
18
|
+
delay: {},
|
|
19
19
|
trigger: {},
|
|
20
20
|
depth: {},
|
|
21
21
|
icons: {}
|
|
@@ -27,12 +27,12 @@ declare function __VLS_template(): {
|
|
|
27
27
|
readonly highlighted?: any;
|
|
28
28
|
readonly items?: Item[] | undefined;
|
|
29
29
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
30
|
-
readonly itemValue?: string | undefined;
|
|
31
|
-
readonly itemLabel?: string | undefined;
|
|
32
|
-
readonly disabled?: boolean | undefined;
|
|
33
30
|
readonly selectable?: boolean | undefined;
|
|
34
31
|
readonly multiple?: boolean | undefined;
|
|
32
|
+
readonly disabled?: boolean | undefined;
|
|
35
33
|
readonly required?: boolean | undefined;
|
|
34
|
+
readonly itemValue?: string | undefined;
|
|
35
|
+
readonly itemLabel?: string | undefined;
|
|
36
36
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
37
37
|
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
38
38
|
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
@@ -52,10 +52,10 @@ declare function __VLS_template(): {
|
|
|
52
52
|
readonly value: any;
|
|
53
53
|
readonly label: string;
|
|
54
54
|
readonly icon?: import('..').Icon | undefined;
|
|
55
|
+
readonly description?: string | undefined;
|
|
55
56
|
readonly selectable?: boolean | undefined;
|
|
56
57
|
readonly highlighted?: boolean | undefined;
|
|
57
58
|
readonly disabled?: boolean | undefined;
|
|
58
|
-
readonly description?: string | undefined;
|
|
59
59
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
60
60
|
readonly onClick?: (() => any) | undefined;
|
|
61
61
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -218,9 +218,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
218
218
|
itemValue: string;
|
|
219
219
|
itemLabel: string;
|
|
220
220
|
appearance: import('../../composables/overlay').Appearance;
|
|
221
|
-
delay: number;
|
|
222
221
|
offset: number;
|
|
223
222
|
crossOffset: number;
|
|
223
|
+
delay: number;
|
|
224
224
|
trigger: import('../../composables/overlay').Trigger;
|
|
225
225
|
depth: number;
|
|
226
226
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -234,12 +234,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
234
234
|
readonly highlighted?: any;
|
|
235
235
|
readonly items?: Item[] | undefined;
|
|
236
236
|
readonly groups?: import('../QList/types').Group[] | undefined;
|
|
237
|
-
readonly itemValue?: string | undefined;
|
|
238
|
-
readonly itemLabel?: string | undefined;
|
|
239
|
-
readonly disabled?: boolean | undefined;
|
|
240
237
|
readonly selectable?: boolean | undefined;
|
|
241
238
|
readonly multiple?: boolean | undefined;
|
|
239
|
+
readonly disabled?: boolean | undefined;
|
|
242
240
|
readonly required?: boolean | undefined;
|
|
241
|
+
readonly itemValue?: string | undefined;
|
|
242
|
+
readonly itemLabel?: string | undefined;
|
|
243
243
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
244
244
|
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
245
245
|
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
@@ -259,10 +259,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
259
259
|
readonly value: any;
|
|
260
260
|
readonly label: string;
|
|
261
261
|
readonly icon?: import('..').Icon | undefined;
|
|
262
|
+
readonly description?: string | undefined;
|
|
262
263
|
readonly selectable?: boolean | undefined;
|
|
263
264
|
readonly highlighted?: boolean | undefined;
|
|
264
265
|
readonly disabled?: boolean | undefined;
|
|
265
|
-
readonly description?: string | undefined;
|
|
266
266
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
267
267
|
readonly onClick?: (() => any) | undefined;
|
|
268
268
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -12,15 +12,15 @@ const te = {
|
|
|
12
12
|
id: {},
|
|
13
13
|
class: {},
|
|
14
14
|
activator: {},
|
|
15
|
+
itemValue: { default: "key" },
|
|
16
|
+
itemLabel: { default: "label" },
|
|
17
|
+
items: {},
|
|
18
|
+
groups: { default: () => [] },
|
|
15
19
|
appearance: { default: "regular" },
|
|
16
|
-
inline: { type: Boolean },
|
|
17
|
-
delay: { default: 500 },
|
|
18
20
|
placement: { default: "bottom-start" },
|
|
19
21
|
transition: { default: "fade" },
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
itemValue: { default: "key" },
|
|
23
|
-
itemLabel: { default: "label" },
|
|
22
|
+
inline: { type: Boolean },
|
|
23
|
+
delay: { default: 500 },
|
|
24
24
|
trigger: { default: "hover" },
|
|
25
25
|
depth: { default: 0 },
|
|
26
26
|
icons: { default: () => ee },
|
|
@@ -2,15 +2,15 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
|
|
|
2
2
|
modelValue?: boolean;
|
|
3
3
|
} & import('../../types/component').QBaseComponentProps & {
|
|
4
4
|
activator?: import('../../utils/getElement').Selector;
|
|
5
|
+
itemValue?: string;
|
|
6
|
+
itemLabel?: string;
|
|
7
|
+
items?: import('../QList/types').Item[];
|
|
8
|
+
groups?: import('../QList/types').Group[];
|
|
5
9
|
appearance?: import('../../composables/overlay').Appearance;
|
|
6
|
-
inline?: boolean;
|
|
7
|
-
delay?: number;
|
|
8
10
|
placement?: import('../../composables/overlay').Placement;
|
|
9
11
|
transition?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
itemValue?: string;
|
|
13
|
-
itemLabel?: string;
|
|
12
|
+
inline?: boolean;
|
|
13
|
+
delay?: number;
|
|
14
14
|
trigger?: import('../../composables/overlay').Trigger;
|
|
15
15
|
depth?: number;
|
|
16
16
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
@@ -22,15 +22,15 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
|
|
|
22
22
|
modelValue?: boolean;
|
|
23
23
|
} & import('../../types/component').QBaseComponentProps & {
|
|
24
24
|
activator?: import('../../utils/getElement').Selector;
|
|
25
|
+
itemValue?: string;
|
|
26
|
+
itemLabel?: string;
|
|
27
|
+
items?: import('../QList/types').Item[];
|
|
28
|
+
groups?: import('../QList/types').Group[];
|
|
25
29
|
appearance?: import('../../composables/overlay').Appearance;
|
|
26
|
-
inline?: boolean;
|
|
27
|
-
delay?: number;
|
|
28
30
|
placement?: import('../../composables/overlay').Placement;
|
|
29
31
|
transition?: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
itemValue?: string;
|
|
33
|
-
itemLabel?: string;
|
|
32
|
+
inline?: boolean;
|
|
33
|
+
delay?: number;
|
|
34
34
|
trigger?: import('../../composables/overlay').Trigger;
|
|
35
35
|
depth?: number;
|
|
36
36
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
@@ -5,66 +5,96 @@ import { Group, Item } from '../QList/types';
|
|
|
5
5
|
export type QDropdownMenuProps = QBaseComponentProps & {
|
|
6
6
|
/**
|
|
7
7
|
* The DOM element used to activate the dropdown menu.
|
|
8
|
+
*
|
|
9
|
+
* @category Identification
|
|
8
10
|
*/
|
|
9
11
|
activator?: Selector;
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
13
|
+
* Property on each item that contains its value.
|
|
14
|
+
*
|
|
15
|
+
* @category Identification
|
|
14
16
|
*/
|
|
15
|
-
|
|
17
|
+
itemValue?: string;
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
19
|
+
* Property on each item that contains its title.
|
|
20
|
+
*
|
|
21
|
+
* @category Identification
|
|
18
22
|
*/
|
|
19
|
-
|
|
23
|
+
itemLabel?: string;
|
|
20
24
|
/**
|
|
21
|
-
* The
|
|
25
|
+
* The list of available items for selection.
|
|
26
|
+
*
|
|
27
|
+
* @category Content
|
|
22
28
|
*/
|
|
23
|
-
|
|
29
|
+
items?: Item[];
|
|
24
30
|
/**
|
|
25
|
-
* The
|
|
31
|
+
* The item groups used for organizing the available items.
|
|
32
|
+
*
|
|
33
|
+
* @category Content
|
|
26
34
|
*/
|
|
27
|
-
|
|
35
|
+
groups?: Group[];
|
|
28
36
|
/**
|
|
29
|
-
* The
|
|
37
|
+
* The appearance of the dropdown menu.
|
|
38
|
+
* 'regular' uses body text color for background and body background color for text.
|
|
39
|
+
* 'inverted' matches body color scheme.
|
|
40
|
+
*
|
|
41
|
+
* @category Presentation
|
|
30
42
|
*/
|
|
31
|
-
|
|
43
|
+
appearance?: Appearance;
|
|
32
44
|
/**
|
|
33
|
-
* The
|
|
45
|
+
* The placement of the dropdown menu.
|
|
46
|
+
*
|
|
47
|
+
* @category Presentation
|
|
34
48
|
*/
|
|
35
|
-
|
|
49
|
+
placement?: Placement;
|
|
36
50
|
/**
|
|
37
|
-
* The
|
|
51
|
+
* The name of the transition to apply.
|
|
52
|
+
*
|
|
53
|
+
* @category Presentation
|
|
38
54
|
*/
|
|
39
|
-
|
|
55
|
+
transition?: string;
|
|
40
56
|
/**
|
|
41
|
-
*
|
|
57
|
+
* Whether to disable teleport.
|
|
58
|
+
*
|
|
59
|
+
* @category Behavior
|
|
42
60
|
*/
|
|
43
|
-
|
|
61
|
+
inline?: boolean;
|
|
44
62
|
/**
|
|
45
|
-
*
|
|
63
|
+
* The delay in milliseconds before showing the dropdown menu.
|
|
64
|
+
*
|
|
65
|
+
* @category Behavior
|
|
46
66
|
*/
|
|
47
|
-
|
|
67
|
+
delay?: number;
|
|
48
68
|
/**
|
|
49
69
|
* The method to trigger the dropdown submenus.
|
|
70
|
+
*
|
|
71
|
+
* @category Behavior
|
|
50
72
|
*/
|
|
51
73
|
trigger?: Trigger;
|
|
52
74
|
/**
|
|
53
|
-
* Depth for recursive nesting
|
|
75
|
+
* Depth for recursive nesting.
|
|
76
|
+
*
|
|
77
|
+
* @category Behavior
|
|
54
78
|
*/
|
|
55
79
|
depth?: number;
|
|
56
80
|
/**
|
|
57
81
|
* Custom icon configurations.
|
|
82
|
+
*
|
|
83
|
+
* @category Configuration
|
|
58
84
|
*/
|
|
59
85
|
icons?: typeof DEFAULT_ICONS;
|
|
60
86
|
};
|
|
61
87
|
export type QDropdownMenuContentProps = QDropdownMenuProps & {
|
|
62
88
|
/**
|
|
63
89
|
* Offset the dropdown menu in the given amount of pixels.
|
|
90
|
+
*
|
|
91
|
+
* @category Presentation
|
|
64
92
|
*/
|
|
65
93
|
offset?: number;
|
|
66
94
|
/**
|
|
67
95
|
* Offset the dropdown menu in the given amount of pixels (opposite to the main axis).
|
|
96
|
+
*
|
|
97
|
+
* @category Presentation
|
|
68
98
|
*/
|
|
69
99
|
crossOffset?: number;
|
|
70
100
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD;;;;OAIG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAA;IAEpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,GAAG;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|
|
@@ -3,23 +3,33 @@ export type QFieldSize = 'mini' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxl
|
|
|
3
3
|
export type QFieldProps = QLabelProps & {
|
|
4
4
|
/**
|
|
5
5
|
* The size category of the field.
|
|
6
|
+
*
|
|
7
|
+
* @category Presentation
|
|
6
8
|
*/
|
|
7
9
|
size?: QFieldSize;
|
|
8
10
|
/**
|
|
9
11
|
* Whether the input is readonly.
|
|
12
|
+
*
|
|
13
|
+
* @category State
|
|
10
14
|
*/
|
|
11
15
|
readonly?: boolean;
|
|
12
16
|
/**
|
|
13
17
|
* Whether the input is disabled.
|
|
18
|
+
*
|
|
19
|
+
* @category State
|
|
14
20
|
*/
|
|
15
21
|
disabled?: boolean;
|
|
16
22
|
/**
|
|
17
23
|
* If set to true, an asterisk (*) is displayed
|
|
18
24
|
* to indicate that the field is required.
|
|
25
|
+
*
|
|
26
|
+
* @category State
|
|
19
27
|
*/
|
|
20
28
|
required?: boolean;
|
|
21
29
|
/**
|
|
22
30
|
* Whether the input is invalid.
|
|
31
|
+
*
|
|
32
|
+
* @category State
|
|
23
33
|
*/
|
|
24
34
|
invalid?: boolean;
|
|
25
35
|
};
|