@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
|
@@ -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"}
|
|
@@ -3,10 +3,14 @@ export type QLineLoaderProps = QBaseComponentProps & {
|
|
|
3
3
|
/**
|
|
4
4
|
* Specifies the loader height.
|
|
5
5
|
* This value is automatically clamped to the range of 4 to 12.
|
|
6
|
+
*
|
|
7
|
+
* @category Presentation
|
|
6
8
|
*/
|
|
7
9
|
height?: number;
|
|
8
10
|
/**
|
|
9
11
|
* Whether to show the loader in a rounded style.
|
|
12
|
+
*
|
|
13
|
+
* @category Presentation
|
|
10
14
|
*/
|
|
11
15
|
rounded?: boolean;
|
|
12
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG;IACpD
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG;IACpD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
|
@@ -55,10 +55,10 @@ declare function __VLS_template(): {
|
|
|
55
55
|
readonly value: any;
|
|
56
56
|
readonly label: string;
|
|
57
57
|
readonly icon?: import('..').Icon | undefined;
|
|
58
|
+
readonly description?: string | undefined;
|
|
58
59
|
readonly selectable?: boolean | undefined;
|
|
59
60
|
readonly highlighted?: boolean | undefined;
|
|
60
61
|
readonly disabled?: boolean | undefined;
|
|
61
|
-
readonly description?: string | undefined;
|
|
62
62
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
63
63
|
readonly onClick?: (() => any) | undefined;
|
|
64
64
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -154,10 +154,10 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
|
|
|
154
154
|
readonly value: any;
|
|
155
155
|
readonly label: string;
|
|
156
156
|
readonly icon?: import('..').Icon | undefined;
|
|
157
|
+
readonly description?: string | undefined;
|
|
157
158
|
readonly selectable?: boolean | undefined;
|
|
158
159
|
readonly highlighted?: boolean | undefined;
|
|
159
160
|
readonly disabled?: boolean | undefined;
|
|
160
|
-
readonly description?: string | undefined;
|
|
161
161
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
162
162
|
readonly onClick?: (() => any) | undefined;
|
|
163
163
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -10,12 +10,12 @@ const oe = /* @__PURE__ */ N({
|
|
|
10
10
|
highlighted: {},
|
|
11
11
|
items: {},
|
|
12
12
|
groups: { default: () => [] },
|
|
13
|
-
itemValue: { default: "key" },
|
|
14
|
-
itemLabel: { default: "label" },
|
|
15
|
-
disabled: { type: Boolean },
|
|
16
13
|
selectable: { type: Boolean },
|
|
17
14
|
multiple: { type: Boolean },
|
|
18
|
-
|
|
15
|
+
disabled: { type: Boolean },
|
|
16
|
+
required: { type: Boolean },
|
|
17
|
+
itemValue: { default: "key" },
|
|
18
|
+
itemLabel: { default: "label" }
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:modelValue", "click", "mouseenter:item"],
|
|
21
21
|
setup(R, { expose: G, emit: O }) {
|
|
@@ -15,10 +15,10 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
|
|
|
15
15
|
value: {},
|
|
16
16
|
label: {},
|
|
17
17
|
icon: {},
|
|
18
|
+
description: {},
|
|
18
19
|
selectable: { type: Boolean },
|
|
19
20
|
highlighted: { type: Boolean },
|
|
20
21
|
disabled: { type: Boolean },
|
|
21
|
-
description: {},
|
|
22
22
|
icons: { default: () => D }
|
|
23
23
|
}, {
|
|
24
24
|
modelValue: { type: Boolean },
|
|
@@ -28,10 +28,10 @@ declare const QList: {
|
|
|
28
28
|
readonly value: any;
|
|
29
29
|
readonly label: string;
|
|
30
30
|
readonly icon?: import('..').Icon | undefined;
|
|
31
|
+
readonly description?: string | undefined;
|
|
31
32
|
readonly selectable?: boolean | undefined;
|
|
32
33
|
readonly highlighted?: boolean | undefined;
|
|
33
34
|
readonly disabled?: boolean | undefined;
|
|
34
|
-
readonly description?: string | undefined;
|
|
35
35
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
36
36
|
readonly onClick?: (() => any) | undefined;
|
|
37
37
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -12,86 +12,126 @@ export type Group = QListItemGroupProps & {
|
|
|
12
12
|
export type QListProps = QBaseComponentProps & {
|
|
13
13
|
/**
|
|
14
14
|
* The value of the selected item.
|
|
15
|
+
*
|
|
16
|
+
* @category Content
|
|
15
17
|
*/
|
|
16
18
|
modelValue?: any;
|
|
17
19
|
/**
|
|
18
20
|
* The value of the currently highlighted item.
|
|
21
|
+
*
|
|
22
|
+
* @category Content
|
|
19
23
|
*/
|
|
20
24
|
highlighted?: any;
|
|
21
25
|
/**
|
|
22
26
|
* The list of available items for selection.
|
|
27
|
+
*
|
|
28
|
+
* @category Content
|
|
23
29
|
*/
|
|
24
30
|
items?: Item[];
|
|
25
31
|
/**
|
|
26
32
|
* The item groups used for organizing the available items.
|
|
33
|
+
*
|
|
34
|
+
* @category Content
|
|
27
35
|
*/
|
|
28
36
|
groups?: Group[];
|
|
29
37
|
/**
|
|
30
|
-
*
|
|
38
|
+
* Indicates whether the list items are selectable.
|
|
39
|
+
*
|
|
40
|
+
* @category Behavior
|
|
31
41
|
*/
|
|
32
|
-
|
|
42
|
+
selectable?: boolean;
|
|
33
43
|
/**
|
|
34
|
-
*
|
|
44
|
+
* Indicates whether multiple options can be selected.
|
|
45
|
+
*
|
|
46
|
+
* @category Behavior
|
|
35
47
|
*/
|
|
36
|
-
|
|
48
|
+
multiple?: boolean;
|
|
37
49
|
/**
|
|
38
50
|
* Indicates whether the list is disabled.
|
|
51
|
+
*
|
|
52
|
+
* @category State
|
|
39
53
|
*/
|
|
40
54
|
disabled?: boolean;
|
|
41
55
|
/**
|
|
42
|
-
* Indicates
|
|
56
|
+
* Indicates if there should be at least one option selected.
|
|
57
|
+
*
|
|
58
|
+
* @category State
|
|
43
59
|
*/
|
|
44
|
-
|
|
60
|
+
required?: boolean;
|
|
45
61
|
/**
|
|
46
|
-
*
|
|
62
|
+
* The property of each item object that holds its value.
|
|
63
|
+
*
|
|
64
|
+
* @category Configuration
|
|
47
65
|
*/
|
|
48
|
-
|
|
66
|
+
itemValue?: string;
|
|
49
67
|
/**
|
|
50
|
-
*
|
|
68
|
+
* The property of each item object that holds its title.
|
|
69
|
+
*
|
|
70
|
+
* @category Configuration
|
|
51
71
|
*/
|
|
52
|
-
|
|
72
|
+
itemLabel?: string;
|
|
53
73
|
};
|
|
54
74
|
export type QListItemProps = {
|
|
55
75
|
/**
|
|
56
76
|
* The value of the item.
|
|
77
|
+
*
|
|
78
|
+
* @category Identification
|
|
57
79
|
*/
|
|
58
80
|
value: any;
|
|
59
81
|
/**
|
|
60
82
|
* The label of the item.
|
|
83
|
+
*
|
|
84
|
+
* @category Content
|
|
61
85
|
*/
|
|
62
86
|
label: string;
|
|
63
87
|
/**
|
|
64
88
|
* The icon of the item.
|
|
89
|
+
*
|
|
90
|
+
* @category Content
|
|
65
91
|
*/
|
|
66
92
|
icon?: Icon;
|
|
93
|
+
/**
|
|
94
|
+
* The description of the item.
|
|
95
|
+
*
|
|
96
|
+
* @category Content
|
|
97
|
+
*/
|
|
98
|
+
description?: string;
|
|
67
99
|
/**
|
|
68
100
|
* Indicates whether the item is selectable.
|
|
101
|
+
*
|
|
102
|
+
* @category Behavior
|
|
69
103
|
*/
|
|
70
104
|
selectable?: boolean;
|
|
71
105
|
/**
|
|
72
106
|
* Whether this item is highlighted.
|
|
107
|
+
*
|
|
108
|
+
* @category State
|
|
73
109
|
*/
|
|
74
110
|
highlighted?: boolean;
|
|
75
111
|
/**
|
|
76
112
|
* Whether the item is disabled.
|
|
113
|
+
*
|
|
114
|
+
* @category State
|
|
77
115
|
*/
|
|
78
116
|
disabled?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* The description of the item.
|
|
81
|
-
*/
|
|
82
|
-
description?: string;
|
|
83
117
|
/**
|
|
84
118
|
* Custom icon configurations.
|
|
119
|
+
*
|
|
120
|
+
* @category Configuration
|
|
85
121
|
*/
|
|
86
122
|
icons?: typeof DEFAULT_ICONS;
|
|
87
123
|
};
|
|
88
124
|
export type QListItemGroupProps = {
|
|
89
125
|
/**
|
|
90
126
|
* The id of the group.
|
|
127
|
+
*
|
|
128
|
+
* @category Identification
|
|
91
129
|
*/
|
|
92
130
|
id: string;
|
|
93
131
|
/**
|
|
94
132
|
* The title of the group.
|
|
133
|
+
*
|
|
134
|
+
* @category Content
|
|
95
135
|
*/
|
|
96
136
|
title?: string;
|
|
97
137
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;;;OAIG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;;;OAIG;IAEH,WAAW,CAAC,EAAE,GAAG,CAAA;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;;;OAIG;IAEH,KAAK,EAAE,GAAG,CAAA;IAEV;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|
|
@@ -7,11 +7,11 @@ const M = ["id"], C = { class: "q-meter__labels" }, V = { class: "q-meter__track
|
|
|
7
7
|
id: {},
|
|
8
8
|
class: {},
|
|
9
9
|
label: {},
|
|
10
|
-
for: {},
|
|
11
10
|
required: { type: Boolean },
|
|
12
|
-
|
|
11
|
+
for: {},
|
|
13
12
|
valueLabel: {},
|
|
14
|
-
color: {}
|
|
13
|
+
color: {},
|
|
14
|
+
max: { default: 100 }
|
|
15
15
|
}, {
|
|
16
16
|
modelValue: { default: 0 },
|
|
17
17
|
modelModifiers: {}
|
|
@@ -3,24 +3,24 @@ declare const QMeter: import('vue').DefineComponent<{
|
|
|
3
3
|
modelValue?: number;
|
|
4
4
|
} & import('../../types/component').QBaseComponentProps & {
|
|
5
5
|
label?: string;
|
|
6
|
-
for?: string;
|
|
7
6
|
required?: boolean;
|
|
7
|
+
for?: string;
|
|
8
8
|
} & {
|
|
9
|
-
max?: number;
|
|
10
9
|
valueLabel?: string | ((value: number, max: number) => string);
|
|
11
10
|
color?: string;
|
|
11
|
+
max?: number;
|
|
12
12
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (value: number) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<{
|
|
15
15
|
modelValue?: number;
|
|
16
16
|
} & import('../../types/component').QBaseComponentProps & {
|
|
17
17
|
label?: string;
|
|
18
|
-
for?: string;
|
|
19
18
|
required?: boolean;
|
|
19
|
+
for?: string;
|
|
20
20
|
} & {
|
|
21
|
-
max?: number;
|
|
22
21
|
valueLabel?: string | ((value: number, max: number) => string);
|
|
23
22
|
color?: string;
|
|
23
|
+
max?: number;
|
|
24
24
|
}> & Readonly<{
|
|
25
25
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
26
26
|
}>, {
|
|
@@ -4,17 +4,23 @@ import { QLabelProps } from '../QLabel';
|
|
|
4
4
|
* @extends {QLabelProps}
|
|
5
5
|
*/
|
|
6
6
|
export type QMeterProps = QLabelProps & {
|
|
7
|
-
/**
|
|
8
|
-
* Maximum value for the meter.
|
|
9
|
-
*/
|
|
10
|
-
max?: number;
|
|
11
7
|
/**
|
|
12
8
|
* Label to display next to the meter value.
|
|
9
|
+
*
|
|
10
|
+
* @category Content
|
|
13
11
|
*/
|
|
14
12
|
valueLabel?: string | ((value: number, max: number) => string);
|
|
15
13
|
/**
|
|
16
14
|
* Color value to control the meter's fill color.
|
|
15
|
+
*
|
|
16
|
+
* @category Presentation
|
|
17
17
|
*/
|
|
18
18
|
color?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Maximum value for the meter.
|
|
21
|
+
*
|
|
22
|
+
* @category Configuration
|
|
23
|
+
*/
|
|
24
|
+
max?: number;
|
|
19
25
|
};
|
|
20
26
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACvC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACvC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;IAE9D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
|
@@ -30,10 +30,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
30
30
|
width: "auto" | "anchor";
|
|
31
31
|
placement: import('../../composables/overlay').Placement;
|
|
32
32
|
appearance: import('../../composables/overlay').Appearance;
|
|
33
|
-
attach: string;
|
|
34
|
-
delay: number;
|
|
35
33
|
offset: number;
|
|
36
34
|
crossOffset: number;
|
|
35
|
+
attach: string;
|
|
36
|
+
delay: number;
|
|
37
37
|
trigger: import('../../composables/overlay').Trigger;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
39
39
|
overlayContainerRef: HTMLDivElement;
|