@quidgest/ui 0.22.0 → 0.23.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/CHANGELOG.md +25 -0
- package/dist/json/api.json +197 -85
- package/dist/ui.css +2054 -1250
- package/dist/ui.esm.js +770 -751
- package/dist/ui.js +701 -682
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +701 -682
- package/dist/ui.scss +1048 -880
- package/esm/components/QBadge/QBadge.d.ts +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +14 -7
- package/esm/components/QBadge/index.d.ts +3 -3
- package/esm/components/QBadge/types.d.ts +11 -4
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +0 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +10 -4
- package/esm/components/QButton/index.d.ts +0 -3
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +11 -4
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -0
- package/esm/components/QButtonGroup/types.d.ts +9 -1
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +0 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +2 -2
- package/esm/components/QCheckbox/index.d.ts +3 -6
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +4 -3
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +1 -1
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +6 -8
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +1 -1
- package/esm/components/QCombobox/index.d.ts +3 -4
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +18 -24
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/index.d.ts +9 -12
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +6 -1
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/QDialogProvider.vue.js +1 -0
- package/esm/components/QDialog/index.d.ts +3 -0
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +14 -0
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +1 -1
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +9 -4
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +1 -0
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +0 -1
- package/esm/components/QOverflow/QOverflow.d.ts +21 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +109 -96
- package/esm/components/QOverflow/index.d.ts +12 -3
- package/esm/components/QOverflow/index.d.ts.map +1 -1
- package/esm/components/QOverflow/types.d.ts +11 -2
- package/esm/components/QOverflow/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +0 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +90 -90
- package/esm/components/QOverlay/index.d.ts +0 -3
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +5 -3
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +20 -16
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/index.d.ts +10 -8
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +1 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QProgress/QProgress.vue.js +29 -33
- package/esm/components/QRadioGroup/QRadioButton.d.ts +0 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
- package/esm/components/QRadioGroup/QRadioGroup.d.ts +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +55 -46
- package/esm/components/QRadioGroup/index.d.ts +9 -36
- package/esm/components/QRadioGroup/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/types.d.ts +15 -24
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/constants.d.ts +1 -1
- package/esm/components/QRemoveScrollBar/constants.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/constants.js +1 -1
- package/esm/components/QSelect/QSelect.d.ts +20 -16
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +9 -1
- package/esm/components/QSelect/index.d.ts +10 -8
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +0 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +2 -2
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +2 -1
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +12 -6
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
- package/esm/components/QSidebar/index.d.ts +6 -6
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/types.d.ts +3 -1
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.d.ts +3 -2
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +34 -26
- package/esm/components/QSwitch/index.d.ts +5 -4
- package/esm/components/QSwitch/index.d.ts.map +1 -1
- package/esm/components/QSwitch/types.d.ts +4 -2
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +6 -8
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.d.ts +177 -2
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +127 -106
- package/esm/components/QTabs/context.d.ts +2 -1
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +91 -5
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +2 -1
- package/esm/components/QToggle/index.d.ts +6 -3
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -0
- package/esm/components/QToggleGroup/index.d.ts +3 -0
- package/esm/components/QToggleGroup/index.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts +1 -1
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +1 -1
- package/esm/composables/useSafeTriangle/index.d.ts +1 -1
- package/esm/composables/useSafeTriangle/index.d.ts.map +1 -1
- package/esm/templates/theme.js +11 -11
- package/esm/types/component.d.ts +7 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/utils/color/theme-colors.d.ts +5 -5
- package/esm/utils/density.d.ts +12 -0
- package/esm/utils/density.d.ts.map +1 -0
- package/esm/utils/density.js +23 -0
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/index.d.ts.map +1 -1
- package/esm/utils/index.js +6 -2
- package/esm/{composables → utils}/overlay.d.ts +12 -0
- package/esm/utils/overlay.d.ts.map +1 -0
- package/esm/{composables → utils}/overlay.js +10 -2
- package/esm/utils/safeTriangle.d.ts +1 -1
- package/esm/utils/safeTriangle.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm/composables/overlay.d.ts.map +0 -1
|
@@ -15,11 +15,11 @@ declare const __VLS_component: import('vue').DefineComponent<QBadgeProps, {}, {}
|
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<QBadgeProps> & Readonly<{
|
|
16
16
|
"onClick:remove"?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
size: import('./types').QBadgeSize;
|
|
19
18
|
variant: import('./types').QBadgeVariant;
|
|
20
19
|
color: string;
|
|
21
20
|
icons: typeof DEFAULT_ICONS;
|
|
22
21
|
texts: typeof DEFAULT_TEXTS;
|
|
22
|
+
focusable: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"AA0CA;AAqJC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAW1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAqGrC,iBAAS,cAAc;WAyIT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;;;;EAehC;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -16,16 +16,20 @@ var T = ["id"], E = {
|
|
|
16
16
|
variant: { default: "tonal" },
|
|
17
17
|
color: { default: "primary" },
|
|
18
18
|
pill: { type: Boolean },
|
|
19
|
-
size: {
|
|
19
|
+
size: {},
|
|
20
20
|
disabled: { type: Boolean },
|
|
21
21
|
removable: { type: Boolean },
|
|
22
|
+
focusable: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !0
|
|
25
|
+
},
|
|
22
26
|
icons: { default: () => r },
|
|
23
27
|
texts: { default: () => i }
|
|
24
28
|
},
|
|
25
29
|
emits: ["click:remove"],
|
|
26
30
|
setup(r, { emit: i }) {
|
|
27
31
|
let f = r, O = i, k = C(), A = o(() => !!k.onClick), j = o(() => {
|
|
28
|
-
let e = f.size === "
|
|
32
|
+
let e = f.size === "small" || f.size === "large" ? `q-badge--${f.size}` : void 0;
|
|
29
33
|
return [
|
|
30
34
|
{ "q-badge--pill": f.pill },
|
|
31
35
|
e,
|
|
@@ -46,15 +50,16 @@ var T = ["id"], E = {
|
|
|
46
50
|
"--q-badge-hover-color": N.value.hoverColor,
|
|
47
51
|
"--q-badge-on-hover-color": N.value.onHoverColor
|
|
48
52
|
};
|
|
49
|
-
}), F = o(() => k.onClick), I = o(() => ({
|
|
53
|
+
}), F = o(() => k.onClick), I = o(() => f.focusable ? void 0 : -1), L = o(() => ({
|
|
50
54
|
class: "q-badge__remove",
|
|
51
55
|
variant: f.variant,
|
|
52
56
|
color: f.color,
|
|
53
57
|
ariaLabel: f.texts.removeText,
|
|
54
58
|
title: f.texts.removeText,
|
|
55
|
-
disabled: f.disabled
|
|
59
|
+
disabled: f.disabled,
|
|
60
|
+
...f.focusable ? {} : { tabindex: -1 }
|
|
56
61
|
}));
|
|
57
|
-
function
|
|
62
|
+
function R() {
|
|
58
63
|
O("click:remove");
|
|
59
64
|
}
|
|
60
65
|
return (e, r) => A.value ? (v(), s(b(f.removable ? S(a) : "span"), {
|
|
@@ -66,6 +71,7 @@ var T = ["id"], E = {
|
|
|
66
71
|
variant: f.variant,
|
|
67
72
|
color: f.color,
|
|
68
73
|
disabled: f.disabled,
|
|
74
|
+
tabindex: I.value,
|
|
69
75
|
onClick: F.value
|
|
70
76
|
}, {
|
|
71
77
|
default: w(() => [y(e.$slots, "default")]),
|
|
@@ -74,8 +80,9 @@ var T = ["id"], E = {
|
|
|
74
80
|
"variant",
|
|
75
81
|
"color",
|
|
76
82
|
"disabled",
|
|
83
|
+
"tabindex",
|
|
77
84
|
"onClick"
|
|
78
|
-
]), f.removable ? (v(), s(S(t), m({ key: 0 },
|
|
85
|
+
]), f.removable ? (v(), s(S(t), m({ key: 0 }, L.value, { onClick: R }), {
|
|
79
86
|
default: w(() => [d(S(n), g(p(f.icons.remove)), null, 16)]),
|
|
80
87
|
_: 1
|
|
81
88
|
}, 16)) : c("v-if", !0)]),
|
|
@@ -85,7 +92,7 @@ var T = ["id"], E = {
|
|
|
85
92
|
id: f.id,
|
|
86
93
|
class: h(M.value),
|
|
87
94
|
style: _(P.value)
|
|
88
|
-
}, [f.variant === "tonal" ? (v(), l("div", E)) : c("v-if", !0), u("span", null, [u("div", D, [y(e.$slots, "default")]), f.removable ? (v(), s(S(t), m({ key: 0 },
|
|
95
|
+
}, [f.variant === "tonal" ? (v(), l("div", E)) : c("v-if", !0), u("span", null, [u("div", D, [y(e.$slots, "default")]), f.removable ? (v(), s(S(t), m({ key: 0 }, L.value, { onClick: R }), {
|
|
89
96
|
default: w(() => [d(S(n), g(p(f.icons.remove)), null, 16)]),
|
|
90
97
|
_: 1
|
|
91
98
|
}, 16)) : c("v-if", !0)])], 14, T));
|
|
@@ -4,11 +4,11 @@ declare const QBadge: {
|
|
|
4
4
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
5
|
"click:remove": () => any;
|
|
6
6
|
}, import('vue').PublicProps, {
|
|
7
|
-
size: import('./types').QBadgeSize;
|
|
8
7
|
variant: import('./types').QBadgeVariant;
|
|
9
8
|
color: string;
|
|
10
9
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
11
10
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
11
|
+
focusable: boolean;
|
|
12
12
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
13
13
|
P: {};
|
|
14
14
|
B: {};
|
|
@@ -19,11 +19,11 @@ declare const QBadge: {
|
|
|
19
19
|
}, Readonly<import('./types').QBadgeProps> & Readonly<{
|
|
20
20
|
"onClick:remove"?: (() => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, {
|
|
22
|
-
size: import('./types').QBadgeSize;
|
|
23
22
|
variant: import('./types').QBadgeVariant;
|
|
24
23
|
color: string;
|
|
25
24
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
26
25
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
26
|
+
focusable: boolean;
|
|
27
27
|
}>;
|
|
28
28
|
__isFragment?: never;
|
|
29
29
|
__isTeleport?: never;
|
|
@@ -33,11 +33,11 @@ declare const QBadge: {
|
|
|
33
33
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
34
|
"click:remove": () => any;
|
|
35
35
|
}, string, {
|
|
36
|
-
size: import('./types').QBadgeSize;
|
|
37
36
|
variant: import('./types').QBadgeVariant;
|
|
38
37
|
color: string;
|
|
39
38
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
40
39
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
40
|
+
focusable: boolean;
|
|
41
41
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
42
42
|
$slots: {
|
|
43
43
|
default?(_: {}): any;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
2
|
-
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
+
import { QBaseComponentProps, QComponentSize } from '../../types/component';
|
|
3
3
|
export type QBadgeVariant = 'tonal' | 'bold' | 'outlined';
|
|
4
|
-
export type QBadgeSize = 'default' | 'large';
|
|
5
4
|
export type QBadgeProps = QBaseComponentProps & {
|
|
6
5
|
/**
|
|
7
6
|
* Specifies the visual style of the badge.
|
|
@@ -24,11 +23,12 @@ export type QBadgeProps = QBaseComponentProps & {
|
|
|
24
23
|
*/
|
|
25
24
|
pill?: boolean;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
26
|
+
* Local chrome size. Multiplies the inherited global density scale
|
|
27
|
+
* (`small` ×0.8, `medium` ×1, `large` ×1.2). Omit to inherit global density only.
|
|
28
28
|
*
|
|
29
29
|
* @category Presentation
|
|
30
30
|
*/
|
|
31
|
-
size?:
|
|
31
|
+
size?: QComponentSize;
|
|
32
32
|
/**
|
|
33
33
|
* Whether the badge is disabled.
|
|
34
34
|
*
|
|
@@ -41,6 +41,13 @@ export type QBadgeProps = QBaseComponentProps & {
|
|
|
41
41
|
* @category State
|
|
42
42
|
*/
|
|
43
43
|
removable?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* When `false`, the badge and its remove control are excluded from the tab order.
|
|
46
|
+
* Pointer activation still works. Use inside composite widgets (e.g. QSelect values).
|
|
47
|
+
*
|
|
48
|
+
* @category Behavior
|
|
49
|
+
*/
|
|
50
|
+
focusable?: boolean;
|
|
44
51
|
/**
|
|
45
52
|
* Custom icon configurations.
|
|
46
53
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEhF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -14,7 +14,6 @@ declare const __VLS_component: import('vue').DefineComponent<QButtonProps, {}, {
|
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<QButtonProps> & Readonly<{
|
|
15
15
|
onClick?: ((event: Event) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
size: import('./types').QButtonSize;
|
|
18
17
|
variant: import('./types').QButtonVariant;
|
|
19
18
|
color: string;
|
|
20
19
|
iconPos: import('./types').QButtonIconPosition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAyBA;AAiHC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AA+EtC,iBAAS,cAAc;WAsDT,OAAO,IAA6B;;yBAXrB,GAAG;wBACJ,GAAG;;;;EAe9B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,11 @@ import { QSpinnerLoader as e } from "../QSpinnerLoader/index.js";
|
|
|
2
2
|
import { useColor as t } from "../../composables/useColor/index.js";
|
|
3
3
|
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderSlot as f, toDisplayString as p, toRef as m, unref as h, withModifiers as g } from "vue";
|
|
4
4
|
//#region src/components/QButton/QButton.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var _ = [
|
|
5
|
+
var _ = [
|
|
6
|
+
"id",
|
|
7
|
+
"disabled",
|
|
8
|
+
"tabindex"
|
|
9
|
+
], v = {
|
|
6
10
|
key: 0,
|
|
7
11
|
class: "q-button__spinner"
|
|
8
12
|
}, y = { class: "q-button__content" }, b = {
|
|
@@ -19,11 +23,12 @@ var _ = ["id", "disabled"], v = {
|
|
|
19
23
|
borderless: { type: Boolean },
|
|
20
24
|
elevated: { type: Boolean },
|
|
21
25
|
block: { type: Boolean },
|
|
22
|
-
size: {
|
|
26
|
+
size: {},
|
|
23
27
|
iconPos: { default: "start" },
|
|
24
28
|
pill: { type: Boolean },
|
|
25
29
|
disabled: { type: Boolean },
|
|
26
|
-
loading: { type: Boolean }
|
|
30
|
+
loading: { type: Boolean },
|
|
31
|
+
tabindex: {}
|
|
27
32
|
},
|
|
28
33
|
emits: ["click"],
|
|
29
34
|
setup(c, { emit: x }) {
|
|
@@ -32,7 +37,7 @@ var _ = ["id", "disabled"], v = {
|
|
|
32
37
|
w.value || C("click", e);
|
|
33
38
|
}
|
|
34
39
|
let { style: E } = t(m(S, "color")), D = n(() => {
|
|
35
|
-
let e = S.color === "background" ? "q-button--background" : void 0, t = S.size === "
|
|
40
|
+
let e = S.color === "background" ? "q-button--background" : void 0, t = S.size === "small" || S.size === "large" ? `q-button--${S.size}` : void 0, n = S.iconPos === "start" ? void 0 : `q-button--icon-${S.iconPos}`;
|
|
36
41
|
return [
|
|
37
42
|
"q-button",
|
|
38
43
|
`q-button--${S.variant}`,
|
|
@@ -64,6 +69,7 @@ var _ = ["id", "disabled"], v = {
|
|
|
64
69
|
type: "button",
|
|
65
70
|
class: l(D.value),
|
|
66
71
|
disabled: w.value,
|
|
72
|
+
tabindex: S.tabindex,
|
|
67
73
|
style: u(O.value),
|
|
68
74
|
onClick: g(T, ["stop", "prevent"])
|
|
69
75
|
}, [S.loading ? (d(), i("div", v, [s(h(e))])) : r("v-if", !0), a("span", y, [
|
|
@@ -4,7 +4,6 @@ declare const QButton: {
|
|
|
4
4
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
5
|
click: (event: Event) => any;
|
|
6
6
|
}, import('vue').PublicProps, {
|
|
7
|
-
size: import('./types').QButtonSize;
|
|
8
7
|
variant: import('./types').QButtonVariant;
|
|
9
8
|
color: string;
|
|
10
9
|
iconPos: import('./types').QButtonIconPosition;
|
|
@@ -18,7 +17,6 @@ declare const QButton: {
|
|
|
18
17
|
}, Readonly<import('./types').QButtonProps> & Readonly<{
|
|
19
18
|
onClick?: ((event: Event) => any) | undefined;
|
|
20
19
|
}>, {}, {}, {}, {}, {
|
|
21
|
-
size: import('./types').QButtonSize;
|
|
22
20
|
variant: import('./types').QButtonVariant;
|
|
23
21
|
color: string;
|
|
24
22
|
iconPos: import('./types').QButtonIconPosition;
|
|
@@ -31,7 +29,6 @@ declare const QButton: {
|
|
|
31
29
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
30
|
click: (event: Event) => any;
|
|
33
31
|
}, string, {
|
|
34
|
-
size: import('./types').QButtonSize;
|
|
35
32
|
variant: import('./types').QButtonVariant;
|
|
36
33
|
color: string;
|
|
37
34
|
iconPos: import('./types').QButtonIconPosition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { QBaseComponentProps } from '../../types/component';
|
|
1
|
+
import { QBaseComponentProps, QComponentSize } from '../../types/component';
|
|
2
2
|
export type QButtonVariant = 'bold' | 'tonal' | 'outlined' | 'ghost' | 'text';
|
|
3
|
-
export type QButtonSize = 'small' | 'regular';
|
|
4
3
|
export type QButtonIconPosition = 'start' | 'end' | 'top' | 'bottom';
|
|
5
4
|
export type QButtonProps = QBaseComponentProps & {
|
|
6
5
|
/**
|
|
@@ -42,11 +41,12 @@ export type QButtonProps = QBaseComponentProps & {
|
|
|
42
41
|
*/
|
|
43
42
|
block?: boolean;
|
|
44
43
|
/**
|
|
45
|
-
*
|
|
44
|
+
* Local chrome size. Multiplies the inherited global density scale
|
|
45
|
+
* (`small` ×0.8, `medium` ×1, `large` ×1.2). Omit to inherit global density only.
|
|
46
46
|
*
|
|
47
47
|
* @category Presentation
|
|
48
48
|
*/
|
|
49
|
-
size?:
|
|
49
|
+
size?: QComponentSize;
|
|
50
50
|
/**
|
|
51
51
|
* The position of the button icon.
|
|
52
52
|
*
|
|
@@ -71,5 +71,12 @@ export type QButtonProps = QBaseComponentProps & {
|
|
|
71
71
|
* @category State
|
|
72
72
|
*/
|
|
73
73
|
loading?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Native tab order. Use `-1` to keep the control operable by pointer
|
|
76
|
+
* while excluding it from sequential keyboard focus.
|
|
77
|
+
*
|
|
78
|
+
* @category Behavior
|
|
79
|
+
*/
|
|
80
|
+
tabindex?: number;
|
|
74
81
|
};
|
|
75
82
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEhF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAA;AAE7E,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEpE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IAExB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAeA;
|
|
1
|
+
{"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAeA;AA0CC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAkB3C,iBAAS,cAAc;WAiCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,11 +9,13 @@ var s = ["id"], c = /*@__PURE__*/ n({
|
|
|
9
9
|
block: { type: Boolean },
|
|
10
10
|
borderless: { type: Boolean },
|
|
11
11
|
elevated: { type: Boolean },
|
|
12
|
+
size: {},
|
|
12
13
|
disabled: { type: Boolean }
|
|
13
14
|
},
|
|
14
15
|
setup(n) {
|
|
15
16
|
let c = n;
|
|
16
17
|
return e({ QButton: {
|
|
18
|
+
size: o(c, "size"),
|
|
17
19
|
disabled: o(c, "disabled"),
|
|
18
20
|
borderless: o(c, "borderless")
|
|
19
21
|
} }), (e, n) => (i(), t("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QBaseComponentProps } from '../../types/component';
|
|
1
|
+
import { QBaseComponentProps, QComponentSize } from '../../types/component';
|
|
2
2
|
export type QButtonGroupProps = QBaseComponentProps & {
|
|
3
3
|
/**
|
|
4
4
|
* If true, the button group spans the full width of its container.
|
|
@@ -18,6 +18,14 @@ export type QButtonGroupProps = QBaseComponentProps & {
|
|
|
18
18
|
* @category Presentation
|
|
19
19
|
*/
|
|
20
20
|
elevated?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Local chrome size. Multiplies the inherited global density scale
|
|
23
|
+
* (`small` ×0.8, `medium` ×1, `large` ×1.2). Omit to inherit global density only.
|
|
24
|
+
* Propagated to child `QButton` instances via defaults.
|
|
25
|
+
*
|
|
26
|
+
* @category Presentation
|
|
27
|
+
*/
|
|
28
|
+
size?: QComponentSize;
|
|
21
29
|
/**
|
|
22
30
|
* If true, the button group is disabled and cannot be interacted with.
|
|
23
31
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEhF,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
|
|
@@ -22,7 +22,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
23
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
size: import('./types').QCheckboxLabelSize;
|
|
26
25
|
color: string;
|
|
27
26
|
icons: typeof DEFAULT_ICONS;
|
|
28
27
|
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAmEA;
|
|
1
|
+
{"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAmEA;AAwJC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAKvC,KAAK,WAAW,GAAG,cAAc,CAAC;AA0EnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA4HT,OAAO,IAA6B;;wBAdtB,GAAG;wBACF,GAAG;;;;;;;EAkB/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -31,7 +31,7 @@ var w = [
|
|
|
31
31
|
labelPosition: {},
|
|
32
32
|
labelPlacement: { default: "right" },
|
|
33
33
|
color: { default: "primary" },
|
|
34
|
-
size: {
|
|
34
|
+
size: {},
|
|
35
35
|
disabled: { type: Boolean },
|
|
36
36
|
readonly: { type: Boolean },
|
|
37
37
|
indeterminate: { type: Boolean },
|
|
@@ -49,7 +49,7 @@ var w = [
|
|
|
49
49
|
setup(n) {
|
|
50
50
|
let u = n, d = v(n, "modelValue"), E = t(g(u, "id")), D = y("inputEl"), O = y("buttonEl"), k = i(() => [
|
|
51
51
|
"q-checkbox",
|
|
52
|
-
`q-checkbox--${u.size}
|
|
52
|
+
u.size === "small" || u.size === "large" ? `q-checkbox--${u.size}` : void 0,
|
|
53
53
|
`q-checkbox--${u.color}`,
|
|
54
54
|
{
|
|
55
55
|
"q-checkbox--readonly": u.readonly,
|
|
@@ -9,7 +9,7 @@ declare const QCheckbox: {
|
|
|
9
9
|
} & {
|
|
10
10
|
labelPlacement?: import('./types').QCheckboxLabelPlacement;
|
|
11
11
|
color?: string;
|
|
12
|
-
size?: import('
|
|
12
|
+
size?: import('../../types/component').QComponentSize;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
readonly?: boolean;
|
|
15
15
|
indeterminate?: boolean;
|
|
@@ -21,7 +21,6 @@ declare const QCheckbox: {
|
|
|
21
21
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
22
|
"update:modelValue": (value: boolean) => any;
|
|
23
23
|
}, import('vue').PublicProps, {
|
|
24
|
-
size: import('./types').QCheckboxLabelSize;
|
|
25
24
|
color: string;
|
|
26
25
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
27
26
|
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
@@ -46,7 +45,7 @@ declare const QCheckbox: {
|
|
|
46
45
|
} & {
|
|
47
46
|
labelPlacement?: import('./types').QCheckboxLabelPlacement;
|
|
48
47
|
color?: string;
|
|
49
|
-
size?: import('
|
|
48
|
+
size?: import('../../types/component').QComponentSize;
|
|
50
49
|
disabled?: boolean;
|
|
51
50
|
readonly?: boolean;
|
|
52
51
|
indeterminate?: boolean;
|
|
@@ -56,7 +55,6 @@ declare const QCheckbox: {
|
|
|
56
55
|
}> & Readonly<{
|
|
57
56
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
58
57
|
}>, {}, {}, {}, {}, {
|
|
59
|
-
size: import('./types').QCheckboxLabelSize;
|
|
60
58
|
color: string;
|
|
61
59
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
62
60
|
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
@@ -75,7 +73,7 @@ declare const QCheckbox: {
|
|
|
75
73
|
} & {
|
|
76
74
|
labelPlacement?: import('./types').QCheckboxLabelPlacement;
|
|
77
75
|
color?: string;
|
|
78
|
-
size?: import('
|
|
76
|
+
size?: import('../../types/component').QComponentSize;
|
|
79
77
|
disabled?: boolean;
|
|
80
78
|
readonly?: boolean;
|
|
81
79
|
indeterminate?: boolean;
|
|
@@ -87,7 +85,6 @@ declare const QCheckbox: {
|
|
|
87
85
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
88
86
|
"update:modelValue": (value: boolean) => any;
|
|
89
87
|
}, string, {
|
|
90
|
-
size: import('./types').QCheckboxLabelSize;
|
|
91
88
|
color: string;
|
|
92
89
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
93
90
|
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DEFAULT_ICONS } from './constants';
|
|
2
|
+
import { QComponentSize } from '../../types/component';
|
|
2
3
|
import { QLabelProps } from '../QLabel';
|
|
3
4
|
export type QCheckboxLabelProps = QLabelProps;
|
|
4
5
|
export type QCheckboxLabelPlacement = 'left' | 'right';
|
|
5
|
-
export type QCheckboxLabelSize = 'small' | 'regular' | 'large';
|
|
6
6
|
export type QCheckboxProps = QCheckboxLabelProps & {
|
|
7
7
|
/**
|
|
8
8
|
* The placement of the label shown.
|
|
@@ -17,11 +17,12 @@ export type QCheckboxProps = QCheckboxLabelProps & {
|
|
|
17
17
|
*/
|
|
18
18
|
color?: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Local chrome size. Multiplies the inherited global density scale
|
|
21
|
+
* (`small` ×0.8, `medium` ×1, `large` ×1.2). Omit to inherit global density only.
|
|
21
22
|
*
|
|
22
23
|
* @category Presentation
|
|
23
24
|
*/
|
|
24
|
-
size?:
|
|
25
|
+
size?: QComponentSize;
|
|
25
26
|
/**
|
|
26
27
|
* If true, the checkbox is disabled and cannot be interacted with.
|
|
27
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAA;IAExC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { QBaseComponentProps } from '../../types/component';
|
|
|
2
2
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
3
3
|
export type QCollapsibleVariant = 'default' | 'border-bottom';
|
|
4
4
|
export type QCollapsibleWidth = 'fit-content' | 'block';
|
|
5
|
-
export type QCollapsibleSpacing = '
|
|
5
|
+
export type QCollapsibleSpacing = 'tight' | 'comfortable' | 'relaxed';
|
|
6
6
|
export type QCollapsibleProps = QBaseComponentProps & {
|
|
7
7
|
/**
|
|
8
8
|
* The title of the collapsible.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,eAAe,CAAA;AAE7D,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,OAAO,CAAA;AAEvD,MAAM,MAAM,mBAAmB,GAAG,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,eAAe,CAAA;AAE7D,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,OAAO,CAAA;AAEvD,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,CAAA;AAErE,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAA;IAEzB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -248,11 +248,12 @@ declare function __VLS_template(): {
|
|
|
248
248
|
readonly borderless?: boolean | undefined;
|
|
249
249
|
readonly elevated?: boolean | undefined;
|
|
250
250
|
readonly block?: boolean | undefined;
|
|
251
|
-
readonly size?: import('
|
|
251
|
+
readonly size?: import('../../types/component').QComponentSize | undefined;
|
|
252
252
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
253
253
|
readonly pill?: boolean | undefined;
|
|
254
254
|
readonly disabled?: boolean | undefined;
|
|
255
255
|
readonly loading?: boolean | undefined;
|
|
256
|
+
readonly tabindex?: number | undefined;
|
|
256
257
|
readonly onClick?: ((event: Event) => any) | undefined;
|
|
257
258
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
258
259
|
$attrs: import('vue').Attrs;
|
|
@@ -272,7 +273,6 @@ declare function __VLS_template(): {
|
|
|
272
273
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
273
274
|
click: (event: Event) => any;
|
|
274
275
|
}, string, {
|
|
275
|
-
size: import('..').QButtonSize;
|
|
276
276
|
variant: import('..').QButtonVariant;
|
|
277
277
|
color: string;
|
|
278
278
|
iconPos: import('..').QButtonIconPosition;
|
|
@@ -297,13 +297,12 @@ declare function __VLS_template(): {
|
|
|
297
297
|
$nextTick: typeof nextTick;
|
|
298
298
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
299
299
|
} & Readonly<{
|
|
300
|
-
size: import('..').QButtonSize;
|
|
301
300
|
variant: import('..').QButtonVariant;
|
|
302
301
|
color: string;
|
|
303
302
|
iconPos: import('..').QButtonIconPosition;
|
|
304
303
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
305
304
|
onClick?: ((event: Event) => any) | undefined;
|
|
306
|
-
}>, "
|
|
305
|
+
}>, "variant" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
307
306
|
$slots: {
|
|
308
307
|
default?(_: {}): any;
|
|
309
308
|
append?(_: {}): any;
|
|
@@ -1139,11 +1138,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1139
1138
|
readonly borderless?: boolean | undefined;
|
|
1140
1139
|
readonly elevated?: boolean | undefined;
|
|
1141
1140
|
readonly block?: boolean | undefined;
|
|
1142
|
-
readonly size?: import('
|
|
1141
|
+
readonly size?: import('../../types/component').QComponentSize | undefined;
|
|
1143
1142
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
1144
1143
|
readonly pill?: boolean | undefined;
|
|
1145
1144
|
readonly disabled?: boolean | undefined;
|
|
1146
1145
|
readonly loading?: boolean | undefined;
|
|
1146
|
+
readonly tabindex?: number | undefined;
|
|
1147
1147
|
readonly onClick?: ((event: Event) => any) | undefined;
|
|
1148
1148
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1149
1149
|
$attrs: import('vue').Attrs;
|
|
@@ -1163,7 +1163,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1163
1163
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1164
1164
|
click: (event: Event) => any;
|
|
1165
1165
|
}, string, {
|
|
1166
|
-
size: import('..').QButtonSize;
|
|
1167
1166
|
variant: import('..').QButtonVariant;
|
|
1168
1167
|
color: string;
|
|
1169
1168
|
iconPos: import('..').QButtonIconPosition;
|
|
@@ -1188,13 +1187,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1188
1187
|
$nextTick: typeof nextTick;
|
|
1189
1188
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1190
1189
|
} & Readonly<{
|
|
1191
|
-
size: import('..').QButtonSize;
|
|
1192
1190
|
variant: import('..').QButtonVariant;
|
|
1193
1191
|
color: string;
|
|
1194
1192
|
iconPos: import('..').QButtonIconPosition;
|
|
1195
1193
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
1196
1194
|
onClick?: ((event: Event) => any) | undefined;
|
|
1197
|
-
}>, "
|
|
1195
|
+
}>, "variant" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1198
1196
|
$slots: {
|
|
1199
1197
|
default?(_: {}): any;
|
|
1200
1198
|
append?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA6HA;AAslBC,OAAO,EAAE,aAAa,EAAiB,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAGvC,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAE/D,KAAK,WAAW,GAAG,cAAc,CAAC;AAodnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,WAAW,CAAC;AAOhB,iBAAS,cAAc;WAuVT,OAAO,IAA6B;;iCAvBZ,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAhZc,
|
|
1
|
+
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA6HA;AAslBC,OAAO,EAAE,aAAa,EAAiB,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAGvC,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAE/D,KAAK,WAAW,GAAG,cAAc,CAAC;AAodnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,WAAW,CAAC;AAOhB,iBAAS,cAAc;WAuVT,OAAO,IAA6B;;iCAvBZ,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAhZc,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4ZhD;AAsCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA5cgC,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6c/C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|