@quidgest/ui 0.16.28 → 0.16.30
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 +5777 -0
- package/dist/ui.esm.js +311 -307
- package/dist/ui.js +5 -5
- package/dist/ui.min.js +66 -66
- 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.d.ts +1 -0
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +9 -9
- package/esm/components/QBadgeIndicator/index.d.ts +3 -0
- package/esm/components/QBadgeIndicator/index.d.ts.map +1 -1
- 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/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.d.ts.map +1 -1
- package/esm/components/QDivider/QDivider.vue.js +43 -45
- 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/types.d.ts +41 -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,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
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QField/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/F,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACvC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QField/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/F,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACvC;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
|
@@ -28,8 +28,8 @@ const Y = ["id", "accept", "required", "readonly", "disabled"], ee = {
|
|
|
28
28
|
id: {},
|
|
29
29
|
class: {},
|
|
30
30
|
label: {},
|
|
31
|
-
for: {},
|
|
32
31
|
required: { type: Boolean },
|
|
32
|
+
for: {},
|
|
33
33
|
size: { default: "large" },
|
|
34
34
|
readonly: { type: Boolean },
|
|
35
35
|
disabled: { type: Boolean },
|
|
@@ -4,8 +4,8 @@ declare const QFileUpload: {
|
|
|
4
4
|
modelValue?: File;
|
|
5
5
|
} & import('../../types/component').QBaseComponentProps & {
|
|
6
6
|
label?: string;
|
|
7
|
-
for?: string;
|
|
8
7
|
required?: boolean;
|
|
8
|
+
for?: string;
|
|
9
9
|
} & {
|
|
10
10
|
size?: import('..').QFieldSize;
|
|
11
11
|
readonly?: boolean;
|
|
@@ -38,8 +38,8 @@ declare const QFileUpload: {
|
|
|
38
38
|
modelValue?: File;
|
|
39
39
|
} & import('../../types/component').QBaseComponentProps & {
|
|
40
40
|
label?: string;
|
|
41
|
-
for?: string;
|
|
42
41
|
required?: boolean;
|
|
42
|
+
for?: string;
|
|
43
43
|
} & {
|
|
44
44
|
size?: import('..').QFieldSize;
|
|
45
45
|
readonly?: boolean;
|
|
@@ -64,8 +64,8 @@ declare const QFileUpload: {
|
|
|
64
64
|
modelValue?: File;
|
|
65
65
|
} & import('../../types/component').QBaseComponentProps & {
|
|
66
66
|
label?: string;
|
|
67
|
-
for?: string;
|
|
68
67
|
required?: boolean;
|
|
68
|
+
for?: string;
|
|
69
69
|
} & {
|
|
70
70
|
size?: import('..').QFieldSize;
|
|
71
71
|
readonly?: boolean;
|
|
@@ -3,14 +3,20 @@ export type QFileUploadSize = 'large' | 'xlarge' | 'xxlarge' | 'block';
|
|
|
3
3
|
export type QFileUploadProps = QFieldProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Specifies the accepted file types.
|
|
6
|
+
*
|
|
7
|
+
* @category Behavior
|
|
6
8
|
*/
|
|
7
9
|
accept?: string | string[];
|
|
8
10
|
/**
|
|
9
11
|
* Custom icon configurations.
|
|
12
|
+
*
|
|
13
|
+
* @category Configuration
|
|
10
14
|
*/
|
|
11
15
|
icons?: typeof DEFAULT_ICONS;
|
|
12
16
|
/**
|
|
13
17
|
* Custom text configurations.
|
|
18
|
+
*
|
|
19
|
+
* @category Configuration
|
|
14
20
|
*/
|
|
15
21
|
texts?: typeof DEFAULT_TEXTS;
|
|
16
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAEtE,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAEtE,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAgBM,CAAA;AAGhC,eAAO,MAAM,aAAa;;;;;;;CAOQ,CAAA"}
|
|
@@ -1,46 +1,66 @@
|
|
|
1
1
|
export type QContainerProps = {
|
|
2
2
|
/**
|
|
3
3
|
* If true, container spans full width, otherwise constrained by breakpoints.
|
|
4
|
+
*
|
|
5
|
+
* @category Presentation
|
|
4
6
|
*/
|
|
5
7
|
fluid?: boolean;
|
|
6
8
|
};
|
|
7
9
|
export type QRowProps = {
|
|
8
10
|
/**
|
|
9
11
|
* Space between columns in pixels.
|
|
12
|
+
*
|
|
13
|
+
* @category Presentation
|
|
10
14
|
*/
|
|
11
15
|
gutter?: number;
|
|
12
16
|
/**
|
|
13
17
|
* Horizontal alignment.
|
|
18
|
+
*
|
|
19
|
+
* @category Presentation
|
|
14
20
|
*/
|
|
15
21
|
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
16
22
|
/**
|
|
17
23
|
* Vertical alignment.
|
|
24
|
+
*
|
|
25
|
+
* @category Presentation
|
|
18
26
|
*/
|
|
19
27
|
align?: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
20
28
|
};
|
|
21
29
|
export type QColProps = {
|
|
22
30
|
/**
|
|
23
31
|
* Number of columns (1–12) or 'auto'.
|
|
32
|
+
*
|
|
33
|
+
* @category Presentation
|
|
24
34
|
*/
|
|
25
35
|
cols?: number | 'auto';
|
|
26
36
|
/**
|
|
27
37
|
* Small breakpoint columns.
|
|
38
|
+
*
|
|
39
|
+
* @category Presentation
|
|
28
40
|
*/
|
|
29
41
|
sm?: number | 'auto';
|
|
30
42
|
/**
|
|
31
43
|
* Medium breakpoint columns.
|
|
44
|
+
*
|
|
45
|
+
* @category Presentation
|
|
32
46
|
*/
|
|
33
47
|
md?: number | 'auto';
|
|
34
48
|
/**
|
|
35
49
|
* Large breakpoint columns.
|
|
50
|
+
*
|
|
51
|
+
* @category Presentation
|
|
36
52
|
*/
|
|
37
53
|
lg?: number | 'auto';
|
|
38
54
|
/**
|
|
39
55
|
* Extra-large breakpoint columns.
|
|
56
|
+
*
|
|
57
|
+
* @category Presentation
|
|
40
58
|
*/
|
|
41
59
|
xl?: number | 'auto';
|
|
42
60
|
/**
|
|
43
61
|
* Extra-extra-large breakpoint columns.
|
|
62
|
+
*
|
|
63
|
+
* @category Presentation
|
|
44
64
|
*/
|
|
45
65
|
xxl?: number | 'auto';
|
|
46
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC7B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IAEtE;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAA;CAC3D,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB,CAAA"}
|
|
@@ -5,8 +5,8 @@ const s = ["id"], d = /* @__PURE__ */ t({
|
|
|
5
5
|
id: {},
|
|
6
6
|
class: {},
|
|
7
7
|
icon: {},
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
variant: {},
|
|
9
|
+
library: { default: "" }
|
|
10
10
|
},
|
|
11
11
|
setup(a) {
|
|
12
12
|
const r = a, i = n(() => r.variant ? `${r.library}-${r.variant}` : r.library), o = n(() => r.library && r.icon ? `${r.library}-${r.icon}` : r.icon);
|
|
@@ -5,37 +5,51 @@ export type QIconBaseProps = QBaseComponentProps & {
|
|
|
5
5
|
* - The classname containing the content of the font icon.
|
|
6
6
|
* - The URL of the image to be used as the icon.
|
|
7
7
|
* - The identifier of the SVG.
|
|
8
|
+
*
|
|
9
|
+
* @category Content
|
|
8
10
|
*/
|
|
9
11
|
icon: string;
|
|
10
12
|
};
|
|
11
13
|
export type QIconProps = QIconBaseProps & {
|
|
12
|
-
/**
|
|
13
|
-
* The type of resource.
|
|
14
|
-
*/
|
|
15
|
-
type?: 'svg' | 'font' | 'img';
|
|
16
14
|
/**
|
|
17
15
|
* The size of the icon, in pixels.
|
|
16
|
+
*
|
|
17
|
+
* @category Presentation
|
|
18
18
|
*/
|
|
19
19
|
size?: number;
|
|
20
20
|
/**
|
|
21
21
|
* Color value to control the icon's fill color.
|
|
22
|
+
*
|
|
23
|
+
* @category Presentation
|
|
22
24
|
*/
|
|
23
25
|
color?: string;
|
|
24
|
-
};
|
|
25
|
-
export type QIconFontProps = QIconBaseProps & {
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
27
|
+
* The type of resource.
|
|
28
|
+
*
|
|
29
|
+
* @category Configuration
|
|
28
30
|
*/
|
|
29
|
-
|
|
31
|
+
type?: 'svg' | 'font' | 'img';
|
|
32
|
+
};
|
|
33
|
+
export type QIconFontProps = QIconBaseProps & {
|
|
30
34
|
/**
|
|
31
35
|
* The icon variant.
|
|
36
|
+
*
|
|
37
|
+
* @category Presentation
|
|
32
38
|
*/
|
|
33
39
|
variant?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The name of the icon library.
|
|
42
|
+
*
|
|
43
|
+
* @category Configuration
|
|
44
|
+
*/
|
|
45
|
+
library?: string;
|
|
34
46
|
};
|
|
35
47
|
export type QIconImgProps = QIconBaseProps;
|
|
36
48
|
export type QIconSvgProps = QIconBaseProps & {
|
|
37
49
|
/**
|
|
38
50
|
* The name of the SVG bundle.
|
|
51
|
+
*
|
|
52
|
+
* @category Configuration
|
|
39
53
|
*/
|
|
40
54
|
bundle?: string;
|
|
41
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG;IACzC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC7C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,cAAc,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC5C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CACf,CAAA"}
|
|
@@ -3,10 +3,14 @@ import { Icon } from '../QIcon';
|
|
|
3
3
|
export type QInputGroupProps = QFieldProps & {
|
|
4
4
|
/**
|
|
5
5
|
* An icon to add at the start of the field group.
|
|
6
|
+
*
|
|
7
|
+
* @category Content
|
|
6
8
|
*/
|
|
7
9
|
prependIcon?: Icon;
|
|
8
10
|
/**
|
|
9
11
|
* An icon to add at the end of the field group.
|
|
12
|
+
*
|
|
13
|
+
* @category Content
|
|
10
14
|
*/
|
|
11
15
|
appendIcon?: Icon;
|
|
12
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAA;IAElB;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;CACjB,CAAA"}
|
|
@@ -2,16 +2,22 @@ import { QBaseComponentProps } from '../../types/component';
|
|
|
2
2
|
export type QLabelProps = QBaseComponentProps & {
|
|
3
3
|
/**
|
|
4
4
|
* The label of the input.
|
|
5
|
+
*
|
|
6
|
+
* @category Content
|
|
5
7
|
*/
|
|
6
8
|
label?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The form field associated with the label.
|
|
9
|
-
*/
|
|
10
|
-
for?: string;
|
|
11
9
|
/**
|
|
12
10
|
* If set to true, an asterisk (*) is displayed
|
|
13
11
|
* to indicate that the associated field is required.
|
|
12
|
+
*
|
|
13
|
+
* @category State
|
|
14
14
|
*/
|
|
15
15
|
required?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The form field associated with the label.
|
|
18
|
+
*
|
|
19
|
+
* @category Accessibility
|
|
20
|
+
*/
|
|
21
|
+
for?: string;
|
|
16
22
|
};
|
|
17
23
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA"}
|