@quidgest/ui 0.13.2 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest/components.json +4 -0
- package/dist/ui.css +77 -0
- package/dist/ui.esm.js +1134 -912
- package/dist/ui.js +6 -6
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +96 -87
- package/dist/ui.scss +86 -4
- package/esm/components/QBadge/QBadge.d.ts +10 -35
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +19 -22
- package/esm/components/QBadge/index.d.ts +3 -139
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts +30 -0
- package/esm/components/QBadge/types.d.ts.map +1 -0
- package/esm/components/QBadge/types.js +8 -0
- package/esm/components/QButton/QButton.d.ts +8 -50
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/index.d.ts +3 -197
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +47 -0
- package/esm/components/QButton/types.d.ts.map +1 -0
- package/esm/components/QButtonGroup/QButtonGroup.d.ts +7 -21
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/index.d.ts +3 -79
- package/esm/components/QButtonGroup/index.d.ts.map +1 -1
- package/esm/components/QButtonGroup/types.d.ts +19 -0
- package/esm/components/QButtonGroup/types.d.ts.map +1 -0
- package/esm/components/QButtonToggle/QButtonToggle.d.ts +6 -33
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/index.d.ts +3 -115
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/types.d.ts +32 -0
- package/esm/components/QButtonToggle/types.d.ts.map +1 -0
- package/esm/components/QCombobox/QCombobox.d.ts +266 -144
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +52 -62
- package/esm/components/QCombobox/index.d.ts +3 -1075
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +92 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -0
- package/esm/components/QCombobox/types.js +14 -0
- package/esm/components/QDialog/QDialog.d.ts +18 -93
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +45 -61
- package/esm/components/QDialog/index.d.ts +3 -267
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +82 -0
- package/esm/components/QDialog/types.d.ts.map +1 -0
- package/esm/components/QDialog/types.js +23 -0
- package/esm/components/QField/QField.d.ts +15 -47
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/index.d.ts +3 -168
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QField/types.d.ts +37 -0
- package/esm/components/QField/types.d.ts.map +1 -0
- package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
- package/esm/components/QIcon/InlineSvg.js +6 -13
- package/esm/components/QIcon/QIcon.d.ts +3 -19
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +2 -2
- package/esm/components/QIcon/QIconFont.d.ts +2 -22
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +9 -9
- package/esm/components/QIcon/QIconImg.d.ts +3 -27
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +3 -3
- package/esm/components/QIcon/QIconSvg.d.ts +4 -36
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +9 -9
- package/esm/components/QIcon/index.d.ts +9 -156
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/types.d.ts +40 -0
- package/esm/components/QIcon/types.d.ts.map +1 -0
- package/esm/components/QInputGroup/QInputGroup.d.ts +12 -42
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/index.d.ts +3 -153
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/types.d.ts +35 -0
- package/esm/components/QInputGroup/types.d.ts.map +1 -0
- package/esm/components/QLineLoader/QLineLoader.d.ts +2 -6
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/index.d.ts +3 -13
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +7 -0
- package/esm/components/QLineLoader/types.d.ts.map +1 -0
- package/esm/components/QList/QList.d.ts +11 -52
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QListItem.d.ts +10 -53
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +22 -28
- package/esm/components/QList/QListItemGroup.d.ts +7 -13
- package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
- package/esm/components/QList/index.d.ts +7 -452
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +102 -0
- package/esm/components/QList/types.d.ts.map +1 -0
- package/esm/components/QList/types.js +11 -0
- package/esm/components/QOverlay/QOverlay.d.ts +33 -118
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +1 -2
- package/esm/components/QOverlay/index.d.ts +3 -339
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +88 -0
- package/esm/components/QOverlay/types.d.ts.map +1 -0
- package/esm/components/QPopover/QPopover.d.ts +17 -58
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +25 -24
- package/esm/components/QPopover/index.d.ts +3 -180
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +44 -0
- package/esm/components/QPopover/types.d.ts.map +1 -0
- package/esm/components/QPropertyList/QPropertyList.d.ts +70 -0
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -0
- package/esm/components/QPropertyList/QPropertyList.vue.js +146 -0
- package/esm/components/QPropertyList/QPropertyList.vue2.js +4 -0
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts +48 -0
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -0
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +72 -0
- package/esm/components/QPropertyList/QPropertyListGroup.vue2.js +4 -0
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts +53 -0
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -0
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +45 -0
- package/esm/components/QPropertyList/QPropertyListPanel.vue2.js +4 -0
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +29 -0
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -0
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +64 -0
- package/esm/components/QPropertyList/QPropertyListRow.vue2.js +4 -0
- package/esm/components/QPropertyList/index.d.ts +13 -0
- package/esm/components/QPropertyList/index.d.ts.map +1 -0
- package/esm/components/QPropertyList/index.js +12 -0
- package/esm/components/QPropertyList/types.d.ts +101 -0
- package/esm/components/QPropertyList/types.d.ts.map +1 -0
- package/esm/components/QPropertyList/types.js +14 -0
- package/esm/components/QSelect/QSelect.d.ts +25 -102
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +80 -91
- package/esm/components/QSelect/index.d.ts +3 -369
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +80 -0
- package/esm/components/QSelect/types.d.ts.map +1 -0
- package/esm/components/QSelect/types.js +14 -0
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -14
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/index.d.ts +3 -31
- package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/types.d.ts +15 -0
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -0
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -10
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +6 -6
- package/esm/components/QSpinnerLoader/index.d.ts +3 -22
- package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/types.d.ts +11 -0
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -0
- package/esm/components/QTextField/QTextField.d.ts +13 -61
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/index.d.ts +3 -229
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/types.d.ts +51 -0
- package/esm/components/QTextField/types.d.ts.map +1 -0
- package/esm/components/QThemeProvider/QThemeProvider.d.ts +6 -8
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/index.d.ts +3 -37
- package/esm/components/QThemeProvider/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts +7 -0
- package/esm/components/QThemeProvider/types.d.ts.map +1 -0
- package/esm/components/QTooltip/QTooltip.d.ts +30 -94
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/index.d.ts +3 -279
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts +67 -0
- package/esm/components/QTooltip/types.d.ts.map +1 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +42 -37
- package/esm/composables/defaults.js +3 -6
- package/esm/index.d.ts +4 -0
- package/esm/utils/color.js +1 -2
- package/esm/utils/setupPropsProxy.js +2 -4
- package/package.json +35 -36
|
@@ -1,38 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Icon } from '../QIcon';
|
|
1
|
+
import { QInputGroupProps } from './types';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* The label of the field.
|
|
11
|
-
*/
|
|
12
|
-
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* If set to true, an asterisk (*) is displayed
|
|
15
|
-
* to indicate that the field is required.
|
|
16
|
-
*/
|
|
17
|
-
required?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* An icon to add at the start of the field group.
|
|
20
|
-
*/
|
|
21
|
-
prependIcon?: Icon;
|
|
22
|
-
/**
|
|
23
|
-
* An icon to add at the end of the field group.
|
|
24
|
-
*/
|
|
25
|
-
appendIcon?: Icon;
|
|
26
|
-
/**
|
|
27
|
-
* The size category of the field.
|
|
28
|
-
*/
|
|
29
|
-
size?: QFieldSize;
|
|
30
|
-
/**
|
|
31
|
-
* Custom set of classes to apply to the component.
|
|
32
|
-
*/
|
|
33
|
-
class?: string | unknown[];
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
prepend?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
append?(_: {}): any;
|
|
7
|
+
extras?(_: {}): any;
|
|
34
8
|
};
|
|
35
|
-
declare const
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QInputGroupProps>, {
|
|
36
10
|
id: undefined;
|
|
37
11
|
label: string;
|
|
38
12
|
prependIcon: undefined;
|
|
@@ -47,18 +21,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
47
21
|
size: string;
|
|
48
22
|
class: undefined;
|
|
49
23
|
}>>>, {
|
|
50
|
-
size: QFieldSize;
|
|
24
|
+
size: import('../QField').QFieldSize;
|
|
51
25
|
class: string | unknown[];
|
|
52
26
|
label: string;
|
|
53
27
|
id: string;
|
|
54
|
-
prependIcon: Icon;
|
|
55
|
-
appendIcon: Icon;
|
|
56
|
-
}, {}
|
|
57
|
-
|
|
58
|
-
default?(_: {}): any;
|
|
59
|
-
append?(_: {}): any;
|
|
60
|
-
extras?(_: {}): any;
|
|
61
|
-
}>;
|
|
28
|
+
prependIcon: import('../QIcon').Icon;
|
|
29
|
+
appendIcon: import('../QIcon').Icon;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
62
32
|
export default _default;
|
|
63
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
34
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QInputGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/QInputGroup.vue"],"names":[],"mappings":"AA+BA;
|
|
1
|
+
{"version":3,"file":"QInputGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/QInputGroup.vue"],"names":[],"mappings":"AA+BA;AAOC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAiChD,iBAAS,cAAc;qBAsJO,GAAG;qBACH,GAAG;oBACJ,GAAG;oBACH,GAAG;EAG/B;AAUD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;MAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,155 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type: import('vue').PropType<import('..').QFieldSize>;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
class: {
|
|
8
|
-
type: import('vue').PropType<string | unknown[]>;
|
|
9
|
-
default: undefined;
|
|
10
|
-
};
|
|
11
|
-
label: {
|
|
12
|
-
type: import('vue').PropType<string>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
required: {
|
|
16
|
-
type: import('vue').PropType<boolean>;
|
|
17
|
-
};
|
|
18
|
-
id: {
|
|
19
|
-
type: import('vue').PropType<string>;
|
|
20
|
-
default: undefined;
|
|
21
|
-
};
|
|
22
|
-
prependIcon: {
|
|
23
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
24
|
-
default: undefined;
|
|
25
|
-
};
|
|
26
|
-
appendIcon: {
|
|
27
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
28
|
-
default: undefined;
|
|
29
|
-
};
|
|
30
|
-
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
-
size: {
|
|
32
|
-
type: import('vue').PropType<import('..').QFieldSize>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
class: {
|
|
36
|
-
type: import('vue').PropType<string | unknown[]>;
|
|
37
|
-
default: undefined;
|
|
38
|
-
};
|
|
39
|
-
label: {
|
|
40
|
-
type: import('vue').PropType<string>;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
required: {
|
|
44
|
-
type: import('vue').PropType<boolean>;
|
|
45
|
-
};
|
|
46
|
-
id: {
|
|
47
|
-
type: import('vue').PropType<string>;
|
|
48
|
-
default: undefined;
|
|
49
|
-
};
|
|
50
|
-
prependIcon: {
|
|
51
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
appendIcon: {
|
|
55
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
|
-
}>>, {
|
|
59
|
-
size: import('..').QFieldSize;
|
|
60
|
-
class: string | unknown[];
|
|
61
|
-
label: string;
|
|
62
|
-
id: string;
|
|
63
|
-
prependIcon: import('..').Icon;
|
|
64
|
-
appendIcon: import('..').Icon;
|
|
65
|
-
}, true, {}, {}, {
|
|
66
|
-
P: {};
|
|
67
|
-
B: {};
|
|
68
|
-
D: {};
|
|
69
|
-
C: {};
|
|
70
|
-
M: {};
|
|
71
|
-
Defaults: {};
|
|
72
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
73
|
-
size: {
|
|
74
|
-
type: import('vue').PropType<import('..').QFieldSize>;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
class: {
|
|
78
|
-
type: import('vue').PropType<string | unknown[]>;
|
|
79
|
-
default: undefined;
|
|
80
|
-
};
|
|
81
|
-
label: {
|
|
82
|
-
type: import('vue').PropType<string>;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
required: {
|
|
86
|
-
type: import('vue').PropType<boolean>;
|
|
87
|
-
};
|
|
88
|
-
id: {
|
|
89
|
-
type: import('vue').PropType<string>;
|
|
90
|
-
default: undefined;
|
|
91
|
-
};
|
|
92
|
-
prependIcon: {
|
|
93
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
94
|
-
default: undefined;
|
|
95
|
-
};
|
|
96
|
-
appendIcon: {
|
|
97
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
98
|
-
default: undefined;
|
|
99
|
-
};
|
|
100
|
-
}>>, {}, {}, {}, {}, {
|
|
101
|
-
size: import('..').QFieldSize;
|
|
102
|
-
class: string | unknown[];
|
|
103
|
-
label: string;
|
|
104
|
-
id: string;
|
|
105
|
-
prependIcon: import('..').Icon;
|
|
106
|
-
appendIcon: import('..').Icon;
|
|
107
|
-
}>;
|
|
108
|
-
__isFragment?: undefined;
|
|
109
|
-
__isTeleport?: undefined;
|
|
110
|
-
__isSuspense?: undefined;
|
|
111
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
112
|
-
size: {
|
|
113
|
-
type: import('vue').PropType<import('..').QFieldSize>;
|
|
114
|
-
default: string;
|
|
115
|
-
};
|
|
116
|
-
class: {
|
|
117
|
-
type: import('vue').PropType<string | unknown[]>;
|
|
118
|
-
default: undefined;
|
|
119
|
-
};
|
|
120
|
-
label: {
|
|
121
|
-
type: import('vue').PropType<string>;
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
required: {
|
|
125
|
-
type: import('vue').PropType<boolean>;
|
|
126
|
-
};
|
|
127
|
-
id: {
|
|
128
|
-
type: import('vue').PropType<string>;
|
|
129
|
-
default: undefined;
|
|
130
|
-
};
|
|
131
|
-
prependIcon: {
|
|
132
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
133
|
-
default: undefined;
|
|
134
|
-
};
|
|
135
|
-
appendIcon: {
|
|
136
|
-
type: import('vue').PropType<import('..').Icon>;
|
|
137
|
-
default: undefined;
|
|
138
|
-
};
|
|
139
|
-
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
140
|
-
size: import('..').QFieldSize;
|
|
141
|
-
class: string | unknown[];
|
|
142
|
-
label: string;
|
|
143
|
-
id: string;
|
|
144
|
-
prependIcon: import('..').Icon;
|
|
145
|
-
appendIcon: import('..').Icon;
|
|
146
|
-
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
147
|
-
$slots: {
|
|
148
|
-
prepend?(_: {}): any;
|
|
149
|
-
default?(_: {}): any;
|
|
150
|
-
append?(_: {}): any;
|
|
151
|
-
extras?(_: {}): any;
|
|
152
|
-
};
|
|
153
|
-
});
|
|
1
|
+
import { default as _QInputGroup } from './QInputGroup';
|
|
2
|
+
|
|
3
|
+
declare const QInputGroup: typeof _QInputGroup;
|
|
154
4
|
export { QInputGroup };
|
|
155
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAK5C,QAAA,MAAM,WAAW,EAAoC,OAAO,YAAY,CAAA;AAGxE,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { QFieldSize } from '../QField';
|
|
2
|
+
import { Icon } from '../QIcon';
|
|
3
|
+
|
|
4
|
+
export type QInputGroupProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The field unique identifier.
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The label of the field.
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* If set to true, an asterisk (*) is displayed
|
|
15
|
+
* to indicate that the field is required.
|
|
16
|
+
*/
|
|
17
|
+
required?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* An icon to add at the start of the field group.
|
|
20
|
+
*/
|
|
21
|
+
prependIcon?: Icon;
|
|
22
|
+
/**
|
|
23
|
+
* An icon to add at the end of the field group.
|
|
24
|
+
*/
|
|
25
|
+
appendIcon?: Icon;
|
|
26
|
+
/**
|
|
27
|
+
* The size category of the field.
|
|
28
|
+
*/
|
|
29
|
+
size?: QFieldSize;
|
|
30
|
+
/**
|
|
31
|
+
* Custom set of classes to apply to the component.
|
|
32
|
+
*/
|
|
33
|
+
class?: string | unknown[];
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Custom set of classes to apply to the component.
|
|
4
|
-
*/
|
|
5
|
-
class?: string | unknown[];
|
|
6
|
-
};
|
|
1
|
+
import { QLineLoaderProps } from './types';
|
|
2
|
+
|
|
7
3
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QLineLoaderProps>, {
|
|
8
4
|
class: undefined;
|
|
9
5
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QLineLoaderProps>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QLineLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/QLineLoader.vue"],"names":[],"mappings":"AAGA;
|
|
1
|
+
{"version":3,"file":"QLineLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/QLineLoader.vue"],"names":[],"mappings":"AAGA;AAGC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;;;;;AAmDhD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default: undefined;
|
|
5
|
-
};
|
|
6
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
-
class: {
|
|
8
|
-
type: import('vue').PropType<string | unknown[]>;
|
|
9
|
-
default: undefined;
|
|
10
|
-
};
|
|
11
|
-
}>>, {
|
|
12
|
-
class: string | unknown[];
|
|
13
|
-
}, {}>;
|
|
1
|
+
import { default as _QLineLoader } from './QLineLoader';
|
|
2
|
+
|
|
3
|
+
declare const QLineLoader: typeof _QLineLoader;
|
|
14
4
|
export { QLineLoader };
|
|
15
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/index.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAK5C,QAAA,MAAM,WAAW,EAAoC,OAAO,YAAY,CAAA;AAGxE,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA"}
|
|
@@ -1,49 +1,6 @@
|
|
|
1
|
+
import { Group } from './types';
|
|
1
2
|
import { Primitive } from '../../types/primitive';
|
|
2
|
-
import { QListItemGroupProps, QListItemProps } from '.';
|
|
3
3
|
|
|
4
|
-
type Item = Omit<QListItemProps, 'value' | 'label'> & {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
7
|
-
type Group = QListItemGroupProps & {
|
|
8
|
-
/**
|
|
9
|
-
* Whether the entire item group is disabled.
|
|
10
|
-
*/
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export type QListProps = {
|
|
14
|
-
/**
|
|
15
|
-
* The value of the currently highlighted item.
|
|
16
|
-
*/
|
|
17
|
-
highlighted?: Primitive;
|
|
18
|
-
/**
|
|
19
|
-
* The list of available items for selection.
|
|
20
|
-
*/
|
|
21
|
-
items: Item[];
|
|
22
|
-
/**
|
|
23
|
-
* The item groups used for organizing the available items.
|
|
24
|
-
*/
|
|
25
|
-
groups?: Group[];
|
|
26
|
-
/**
|
|
27
|
-
* The property of each item object that holds its value.
|
|
28
|
-
*/
|
|
29
|
-
itemValue?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The property of each item object that holds its title.
|
|
32
|
-
*/
|
|
33
|
-
itemLabel?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Indicates whether the list is disabled.
|
|
36
|
-
*/
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Custom set of classes to apply to the component.
|
|
40
|
-
*/
|
|
41
|
-
class?: string | unknown[];
|
|
42
|
-
/**
|
|
43
|
-
* Indicates whether the list items are selectable.
|
|
44
|
-
*/
|
|
45
|
-
selectable?: boolean;
|
|
46
|
-
};
|
|
47
4
|
/**
|
|
48
5
|
* Focuses on the HTML element at the specified index among the child elements.
|
|
49
6
|
*
|
|
@@ -79,7 +36,12 @@ declare function getLastFocusableItemIndex(): number;
|
|
|
79
36
|
* @returns The index of the adjacent focusable item or the index of the active item if at the edge.
|
|
80
37
|
*/
|
|
81
38
|
declare function getAdjacentItemIndex(idx: number, direction: 'next' | 'prev'): number;
|
|
82
|
-
declare
|
|
39
|
+
declare function __VLS_template(): {
|
|
40
|
+
item?(_: {
|
|
41
|
+
item: import('./types').Item;
|
|
42
|
+
}): any;
|
|
43
|
+
};
|
|
44
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
83
45
|
modelValue: import('vue').PropType<any>;
|
|
84
46
|
class: {
|
|
85
47
|
type: import('vue').PropType<string | unknown[]>;
|
|
@@ -93,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
93
55
|
default: undefined;
|
|
94
56
|
};
|
|
95
57
|
items: {
|
|
96
|
-
type: import('vue').PropType<Item[]>;
|
|
58
|
+
type: import('vue').PropType<import('./types').Item[]>;
|
|
97
59
|
required: true;
|
|
98
60
|
};
|
|
99
61
|
groups: {
|
|
@@ -131,7 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
131
93
|
default: undefined;
|
|
132
94
|
};
|
|
133
95
|
items: {
|
|
134
|
-
type: import('vue').PropType<Item[]>;
|
|
96
|
+
type: import('vue').PropType<import('./types').Item[]>;
|
|
135
97
|
required: true;
|
|
136
98
|
};
|
|
137
99
|
groups: {
|
|
@@ -155,11 +117,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
155
117
|
groups: Group[];
|
|
156
118
|
itemValue: string;
|
|
157
119
|
itemLabel: string;
|
|
158
|
-
}, {}
|
|
159
|
-
|
|
160
|
-
item: Item;
|
|
161
|
-
}): any;
|
|
162
|
-
}>;
|
|
120
|
+
}, {}>;
|
|
121
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
163
122
|
export default _default;
|
|
164
123
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
165
124
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AAmCA;AAMC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AAmCA;AAMC,OAAO,KAAK,EAAE,KAAK,EAAc,MAAM,SAAS,CAAA;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAqJlD;;;;;;GAMG;AACH,iBAAS,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,GAAE,OAAe,GAAG,IAAI,CAGxE;AAmBD,iBAAS,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAIrD;AAaD;;;;;;GAMG;AACH,iBAAS,0BAA0B,IAAI,MAAM,CAO5C;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,IAAI,MAAM,CAO3C;AAoCD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAuB7E;AA2DF,iBAAS,cAAc;;;QAoFI,GAAG;EAG7B;AAuBD,QAAA,MAAM,eAAe;gBApHT,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;;;;;;;;;kBAiI8J,IAAI;;;;;;;;;;;;;;;;;;;;;;;;gBAjI7L,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;;;;;;;;;kBAiI8J,IAAI;;;;;;;;;;;;;;;;;;;;;;;MAHvM,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,56 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QListItemProps } from './types';
|
|
2
2
|
import { Primitive } from '../../types/primitive';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
icon?: Icon;
|
|
7
|
-
selected?: boolean;
|
|
8
|
-
group?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export type QListItemProps = {
|
|
12
|
-
/**
|
|
13
|
-
* The value of the item.
|
|
14
|
-
*/
|
|
15
|
-
value: Primitive;
|
|
16
|
-
/**
|
|
17
|
-
* The label of the item.
|
|
18
|
-
*/
|
|
19
|
-
label: string;
|
|
20
|
-
/**
|
|
21
|
-
* The icon of the item.
|
|
22
|
-
*/
|
|
23
|
-
icon?: Icon;
|
|
24
|
-
/**
|
|
25
|
-
* Whether this item is selected.
|
|
26
|
-
*/
|
|
27
|
-
selected?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Whether this item is highlighted.
|
|
30
|
-
*/
|
|
31
|
-
highlighted?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the item is disabled.
|
|
34
|
-
*/
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* The description of the item.
|
|
38
|
-
*/
|
|
39
|
-
description?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The internal elements of the component
|
|
42
|
-
*/
|
|
43
|
-
internals?: Internals;
|
|
44
|
-
};
|
|
45
|
-
declare const DEFAULT_ICONS: Record<string, Icon>;
|
|
46
|
-
type Internals = {
|
|
47
|
-
icons: typeof DEFAULT_ICONS;
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
48
6
|
};
|
|
49
|
-
declare const
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QListItemProps>, {
|
|
50
8
|
icon: undefined;
|
|
51
9
|
description: undefined;
|
|
52
10
|
internals: () => {
|
|
53
|
-
icons: Record<string, Icon>;
|
|
11
|
+
icons: Record<string, import('../QIcon').Icon>;
|
|
54
12
|
};
|
|
55
13
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
14
|
select: (value: Primitive) => void;
|
|
@@ -58,17 +16,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
58
16
|
icon: undefined;
|
|
59
17
|
description: undefined;
|
|
60
18
|
internals: () => {
|
|
61
|
-
icons: Record<string, Icon>;
|
|
19
|
+
icons: Record<string, import('../QIcon').Icon>;
|
|
62
20
|
};
|
|
63
21
|
}>>> & {
|
|
64
22
|
onSelect?: ((value: Primitive) => any) | undefined;
|
|
65
23
|
}, {
|
|
66
|
-
icon: Icon;
|
|
67
|
-
internals: Internals;
|
|
24
|
+
icon: import('../QIcon').Icon;
|
|
25
|
+
internals: import('./types').Internals;
|
|
68
26
|
description: string;
|
|
69
|
-
}, {}
|
|
70
|
-
|
|
71
|
-
}>;
|
|
27
|
+
}, {}>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
72
29
|
export default _default;
|
|
73
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
74
31
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AA4CA;AAMC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AA4CA;AAMC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AA8CnD,iBAAS,cAAc;qBA+IO,GAAG;EAGhC;AAaD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;MAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as b, openBlock as i, createElementBlock as c, unref as o, normalizeClass as y, withModifiers as k, createElementVNode as l, renderSlot as g, createBlock as d, normalizeProps as r, mergeProps as m, createCommentVNode as n, createTextVNode as q, toDisplayString as p, createVNode as B, guardReactiveProps as N } from "vue";
|
|
2
2
|
import { QIcon as a } from "../QIcon/index.js";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { DEFAULT_ICONS as S } from "./types.js";
|
|
4
|
+
import { useId as C } from "../../composables/uid.js";
|
|
5
|
+
const x = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], D = { class: "q-list-item__container" }, E = { class: "q-list-item__content" }, I = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "q-list-item__description"
|
|
7
|
-
},
|
|
8
|
-
check: {
|
|
9
|
-
icon: "check"
|
|
10
|
-
},
|
|
11
|
-
description: {
|
|
12
|
-
icon: "information-outline"
|
|
13
|
-
}
|
|
14
|
-
}, K = /* @__PURE__ */ v({
|
|
8
|
+
}, P = { class: "q-list-item__check-container" }, L = /* @__PURE__ */ b({
|
|
15
9
|
__name: "QListItem",
|
|
16
10
|
props: {
|
|
17
11
|
value: { type: [String, Number, Boolean, Symbol] },
|
|
@@ -21,23 +15,23 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
|
|
|
21
15
|
highlighted: { type: Boolean },
|
|
22
16
|
disabled: { type: Boolean },
|
|
23
17
|
description: { default: void 0 },
|
|
24
|
-
internals: { default: () => ({ icons:
|
|
18
|
+
internals: { default: () => ({ icons: S }) }
|
|
25
19
|
},
|
|
26
20
|
emits: ["select"],
|
|
27
21
|
setup(u, { emit: _ }) {
|
|
28
|
-
const e = u, f = _, h =
|
|
29
|
-
function
|
|
22
|
+
const e = u, f = _, h = C();
|
|
23
|
+
function s() {
|
|
30
24
|
e.disabled || f("select", e.value);
|
|
31
25
|
}
|
|
32
|
-
function
|
|
33
|
-
t.key === "Tab" &&
|
|
26
|
+
function v(t) {
|
|
27
|
+
t.key === "Tab" && s(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), s());
|
|
34
28
|
}
|
|
35
29
|
return (t, V) => (i(), c("li", {
|
|
36
30
|
id: o(h),
|
|
37
31
|
"data-key": e.value,
|
|
38
32
|
role: "option",
|
|
39
33
|
tabindex: e.disabled ? void 0 : -2,
|
|
40
|
-
class:
|
|
34
|
+
class: y([
|
|
41
35
|
"q-list-item",
|
|
42
36
|
{
|
|
43
37
|
"q-list-item--disabled": e.disabled,
|
|
@@ -47,11 +41,11 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
|
|
|
47
41
|
]),
|
|
48
42
|
"aria-label": e.label,
|
|
49
43
|
"aria-selected": e.disabled ? void 0 : e.selected,
|
|
50
|
-
onKeydown:
|
|
51
|
-
onClick:
|
|
44
|
+
onKeydown: v,
|
|
45
|
+
onClick: k(s, ["stop", "prevent"])
|
|
52
46
|
}, [
|
|
53
|
-
l("div",
|
|
54
|
-
l("div",
|
|
47
|
+
l("div", D, [
|
|
48
|
+
l("div", E, [
|
|
55
49
|
g(t.$slots, "default", {}, () => [
|
|
56
50
|
e.icon ? (i(), d(
|
|
57
51
|
o(a),
|
|
@@ -59,7 +53,7 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
|
|
|
59
53
|
null,
|
|
60
54
|
16
|
|
61
55
|
/* FULL_PROPS */
|
|
62
|
-
)) :
|
|
56
|
+
)) : n("v-if", !0),
|
|
63
57
|
q(
|
|
64
58
|
" " + p(e.label),
|
|
65
59
|
1
|
|
@@ -67,7 +61,7 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
|
|
|
67
61
|
)
|
|
68
62
|
])
|
|
69
63
|
]),
|
|
70
|
-
e.description ? (i(), c("div",
|
|
64
|
+
e.description ? (i(), c("div", I, [
|
|
71
65
|
B(
|
|
72
66
|
o(a),
|
|
73
67
|
r(N(e.internals.icons.description)),
|
|
@@ -82,20 +76,20 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
|
|
|
82
76
|
1
|
|
83
77
|
/* TEXT */
|
|
84
78
|
)
|
|
85
|
-
])) :
|
|
79
|
+
])) : n("v-if", !0)
|
|
86
80
|
]),
|
|
87
|
-
l("div",
|
|
81
|
+
l("div", P, [
|
|
88
82
|
e.selected ? (i(), d(
|
|
89
83
|
o(a),
|
|
90
84
|
m({ key: 0 }, e.internals.icons.check, { class: "q-list-item__check" }),
|
|
91
85
|
null,
|
|
92
86
|
16
|
|
93
87
|
/* FULL_PROPS */
|
|
94
|
-
)) :
|
|
88
|
+
)) : n("v-if", !0)
|
|
95
89
|
])
|
|
96
|
-
], 42,
|
|
90
|
+
], 42, x));
|
|
97
91
|
}
|
|
98
92
|
});
|
|
99
93
|
export {
|
|
100
|
-
|
|
94
|
+
L as default
|
|
101
95
|
};
|