@quidgest/ui 0.14.14 → 0.14.15
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/ui.css +89 -48
- package/dist/ui.esm.js +3279 -3171
- package/dist/ui.js +16 -16
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +656 -647
- package/dist/ui.scss +99 -57
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +26 -13
- package/esm/components/QAccordion/index.d.ts +15 -3
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +13 -3
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +2 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +33 -27
- package/esm/components/QBadge/index.d.ts +6 -3
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts +13 -5
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +19 -14
- package/esm/components/QBadgeIndicator/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/types.d.ts +6 -4
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +2 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +17 -15
- package/esm/components/QButton/index.d.ts +6 -6
- package/esm/components/QButton/types.d.ts +6 -7
- 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 +19 -24
- package/esm/components/QButtonGroup/types.d.ts +2 -5
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +24 -22
- package/esm/components/QButtonToggle/index.d.ts +21 -3
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/types.d.ts +4 -7
- package/esm/components/QButtonToggle/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts +2 -2
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +48 -46
- package/esm/components/QCard/index.d.ts +6 -6
- package/esm/components/QCard/types.d.ts +6 -7
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +2 -2
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +72 -78
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +9 -7
- package/esm/components/QCheckbox/index.d.ts +21 -21
- package/esm/components/QCheckbox/types.d.ts +10 -15
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -2
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +12 -9
- package/esm/components/QCollapsible/index.d.ts +33 -6
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +15 -15
- 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 +16 -15
- package/esm/components/QColorPicker/index.d.ts +27 -3
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +2 -9
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +209 -75
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +64 -68
- package/esm/components/QCombobox/index.d.ts +331 -89
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +14 -51
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QCombobox/types.js +3 -3
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +2 -1
- package/esm/components/QDateTimePicker/index.d.ts +51 -3
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +2 -31
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +36 -37
- package/esm/components/QDialog/index.d.ts +39 -6
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +14 -21
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +4 -3
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +60 -26
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +68 -63
- package/esm/components/QDropdownMenu/index.d.ts +27 -3
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +3 -6
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +34 -35
- package/esm/components/QField/types.d.ts +2 -9
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +2 -1
- package/esm/components/QFileUpload/index.d.ts +39 -6
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFileUpload/types.d.ts +3 -30
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts +2 -2
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +7 -5
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +12 -16
- package/esm/components/QIcon/QIconImg.d.ts +2 -2
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +8 -6
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +12 -10
- package/esm/components/QIcon/index.d.ts +4 -4
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/types.d.ts +6 -8
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +21 -18
- package/esm/components/QInputGroup/types.d.ts +2 -23
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.d.ts +1 -2
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +10 -14
- package/esm/components/QLineLoader/index.d.ts +1 -1
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +2 -6
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +3 -3
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +30 -26
- package/esm/components/QList/index.d.ts +35 -11
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +3 -6
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +51 -55
- package/esm/components/QOverlay/index.d.ts +63 -6
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +2 -5
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +23 -20
- package/esm/components/QPopover/index.d.ts +36 -6
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +2 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts +2 -2
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +126 -115
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts +2 -2
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +19 -17
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +19 -14
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +6 -3
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +33 -23
- package/esm/components/QPropertyList/index.d.ts +8 -7
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +35 -21
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +63 -29
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +49 -48
- package/esm/components/QSelect/index.d.ts +104 -24
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +10 -39
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +20 -23
- package/esm/components/QSkeletonLoader/types.d.ts +2 -1
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +13 -17
- package/esm/components/QSpinnerLoader/types.d.ts +2 -5
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +2 -2
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +27 -30
- package/esm/components/QTextField/index.d.ts +40 -4
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/types.d.ts +2 -40
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.vue.js +13 -16
- package/esm/components/QThemeProvider/types.d.ts +2 -1
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +2 -2
- package/esm/components/QTooltip/index.d.ts +45 -6
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts +2 -9
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.vue.js +19 -11
- package/esm/components/__internal__/QChevron/index.d.ts +6 -2
- package/esm/components/__internal__/QChevron/index.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts +2 -5
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +23 -18
- package/esm/components/__internal__/QClearButton/types.d.ts +2 -5
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/composables/group.d.ts +88 -8
- package/esm/composables/group.d.ts.map +1 -1
- package/esm/composables/group.js +19 -22
- package/esm/composables/uid.d.ts +3 -2
- package/esm/composables/uid.d.ts.map +1 -1
- package/esm/composables/uid.js +5 -4
- package/esm/types/component.d.ts +18 -0
- package/esm/types/component.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { QSpinnerLoader as
|
|
3
|
-
|
|
4
|
-
const B = { class: "q-card__header" }, A = {
|
|
1
|
+
import { defineComponent as k, computed as d, useAttrs as _, createBlock as u, openBlock as o, resolveDynamicComponent as q, normalizeClass as y, withCtx as C, createElementBlock as a, unref as T, Fragment as i, createCommentVNode as s, createElementVNode as n, renderSlot as l, createTextVNode as p, toDisplayString as f } from "vue";
|
|
2
|
+
import { QSpinnerLoader as D } from "../QSpinnerLoader/index.js";
|
|
3
|
+
const N = { class: "q-card__header" }, g = {
|
|
5
4
|
key: 0,
|
|
6
5
|
class: "q-card__header-content"
|
|
7
|
-
},
|
|
6
|
+
}, B = { class: "q-card__header-text" }, A = {
|
|
8
7
|
key: 0,
|
|
9
8
|
class: "q-card__title",
|
|
10
9
|
role: "cell"
|
|
11
|
-
},
|
|
10
|
+
}, R = {
|
|
12
11
|
key: 1,
|
|
13
12
|
class: "q-card__subtitle",
|
|
14
13
|
role: "cell"
|
|
15
|
-
},
|
|
14
|
+
}, w = { class: "q-card__content" }, P = {
|
|
16
15
|
key: 0,
|
|
17
16
|
class: "q-card__footer"
|
|
18
|
-
},
|
|
17
|
+
}, S = /* @__PURE__ */ k({
|
|
19
18
|
__name: "QCard",
|
|
20
19
|
props: {
|
|
21
20
|
id: {},
|
|
21
|
+
class: {},
|
|
22
22
|
title: {},
|
|
23
23
|
subtitle: {},
|
|
24
24
|
href: {},
|
|
@@ -29,55 +29,57 @@ const B = { class: "q-card__header" }, A = {
|
|
|
29
29
|
elevation: { default: "none" },
|
|
30
30
|
width: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const e =
|
|
34
|
-
const t = e.width ? `q-card--${e.width}` : void 0, c = e.variant && e.variant !== "default" ? `q-card--${e.variant}` : void 0,
|
|
32
|
+
setup(h) {
|
|
33
|
+
const e = h, v = d(() => {
|
|
34
|
+
const t = e.width ? `q-card--${e.width}` : void 0, c = e.variant && e.variant !== "default" ? `q-card--${e.variant}` : void 0, E = e.elevation && e.elevation !== "none" ? `q-card--elevation-${e.elevation}` : void 0;
|
|
35
35
|
return [
|
|
36
36
|
"q-card",
|
|
37
37
|
t,
|
|
38
38
|
c,
|
|
39
|
-
|
|
39
|
+
E,
|
|
40
40
|
{
|
|
41
|
-
"q-card--clickable":
|
|
41
|
+
"q-card--clickable": b.value,
|
|
42
42
|
"q-card--loading": e.loading,
|
|
43
43
|
"q-card--borderless": e.borderless,
|
|
44
44
|
"q-card--disabled": e.disabled
|
|
45
|
-
}
|
|
45
|
+
},
|
|
46
|
+
e.class
|
|
46
47
|
];
|
|
47
|
-
}),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
}), $ = _(), b = d(() => !!$.onClick || e.href), r = d(() => e.disabled || e.loading);
|
|
49
|
+
function m(t) {
|
|
50
|
+
r.value && t.stopImmediatePropagation();
|
|
51
|
+
}
|
|
52
|
+
return (t, c) => (o(), u(q(e.href ? "a" : "div"), {
|
|
53
|
+
id: e.id,
|
|
54
|
+
class: y(v.value),
|
|
55
|
+
href: e.href && !r.value ? e.href : void 0,
|
|
56
|
+
onClick: m
|
|
55
57
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
e.loading ? (o(), u(
|
|
58
|
+
default: C(() => [
|
|
59
|
+
e.loading ? (o(), u(T(D), {
|
|
58
60
|
key: 0,
|
|
59
61
|
size: 36
|
|
60
|
-
})) : (o(),
|
|
62
|
+
})) : (o(), a(
|
|
61
63
|
i,
|
|
62
64
|
{ key: 1 },
|
|
63
65
|
[
|
|
64
66
|
s(" HEADER "),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
n("div", N, [
|
|
68
|
+
l(t.$slots, "header", {}, () => [
|
|
67
69
|
s(" HEADER: PREPEND "),
|
|
68
|
-
|
|
70
|
+
l(t.$slots, "header.prepend"),
|
|
69
71
|
s(" HEADER CONTENT "),
|
|
70
|
-
t.$slots.title || e.title || t.$slots.subtitle || e.subtitle ? (o(),
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
t.$slots.title || e.title || t.$slots.subtitle || e.subtitle ? (o(), a("div", g, [
|
|
73
|
+
l(t.$slots, "header.content.prepend"),
|
|
74
|
+
n("div", B, [
|
|
73
75
|
s(" TITLE "),
|
|
74
|
-
t.$slots.title || e.title ? (o(),
|
|
75
|
-
t.$slots.title ?
|
|
76
|
+
t.$slots.title || e.title ? (o(), a("p", A, [
|
|
77
|
+
t.$slots.title ? l(t.$slots, "title", { key: 0 }) : (o(), a(
|
|
76
78
|
i,
|
|
77
79
|
{ key: 1 },
|
|
78
80
|
[
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
p(
|
|
82
|
+
f(t.$props.title),
|
|
81
83
|
1
|
|
82
84
|
/* TEXT */
|
|
83
85
|
)
|
|
@@ -87,13 +89,13 @@ const B = { class: "q-card__header" }, A = {
|
|
|
87
89
|
))
|
|
88
90
|
])) : s("v-if", !0),
|
|
89
91
|
s(" SUBTITLE "),
|
|
90
|
-
t.$slots.subtitle || e.subtitle ? (o(),
|
|
91
|
-
t.$slots.subtitle ?
|
|
92
|
+
t.$slots.subtitle || e.subtitle ? (o(), a("p", R, [
|
|
93
|
+
t.$slots.subtitle ? l(t.$slots, "subtitle", { key: 0 }) : (o(), a(
|
|
92
94
|
i,
|
|
93
95
|
{ key: 1 },
|
|
94
96
|
[
|
|
95
|
-
|
|
96
|
-
|
|
97
|
+
p(
|
|
98
|
+
f(t.$props.subtitle),
|
|
97
99
|
1
|
|
98
100
|
/* TEXT */
|
|
99
101
|
)
|
|
@@ -103,19 +105,19 @@ const B = { class: "q-card__header" }, A = {
|
|
|
103
105
|
))
|
|
104
106
|
])) : s("v-if", !0)
|
|
105
107
|
]),
|
|
106
|
-
|
|
108
|
+
l(t.$slots, "header.content.append")
|
|
107
109
|
])) : s("v-if", !0),
|
|
108
110
|
s(" HEADER: APPEND "),
|
|
109
|
-
|
|
111
|
+
l(t.$slots, "header.append")
|
|
110
112
|
])
|
|
111
113
|
]),
|
|
112
114
|
s(" CONTENT "),
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
n("div", w, [
|
|
116
|
+
l(t.$slots, "default")
|
|
115
117
|
]),
|
|
116
118
|
s(" FOOTER "),
|
|
117
|
-
t.$slots.footer ? (o(),
|
|
118
|
-
|
|
119
|
+
t.$slots.footer ? (o(), a("div", P, [
|
|
120
|
+
l(t.$slots, "footer")
|
|
119
121
|
])) : s("v-if", !0)
|
|
120
122
|
],
|
|
121
123
|
64
|
|
@@ -128,5 +130,5 @@ const B = { class: "q-card__header" }, A = {
|
|
|
128
130
|
}
|
|
129
131
|
});
|
|
130
132
|
export {
|
|
131
|
-
|
|
133
|
+
S as default
|
|
132
134
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { QCardProps } from './types';
|
|
2
2
|
declare const QCard: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<QCardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
4
|
-
variant:
|
|
5
|
-
elevation:
|
|
4
|
+
variant: import('./types').QCardVariant;
|
|
5
|
+
elevation: import('./types').QCardElevation;
|
|
6
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
7
|
P: {};
|
|
8
8
|
B: {};
|
|
@@ -11,15 +11,15 @@ declare const QCard: {
|
|
|
11
11
|
M: {};
|
|
12
12
|
Defaults: {};
|
|
13
13
|
}, Readonly<QCardProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
14
|
-
variant:
|
|
15
|
-
elevation:
|
|
14
|
+
variant: import('./types').QCardVariant;
|
|
15
|
+
elevation: import('./types').QCardElevation;
|
|
16
16
|
}>;
|
|
17
17
|
__isFragment?: never;
|
|
18
18
|
__isTeleport?: never;
|
|
19
19
|
__isSuspense?: never;
|
|
20
20
|
} & import('vue').ComponentOptionsBase<Readonly<QCardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
21
|
-
variant:
|
|
22
|
-
elevation:
|
|
21
|
+
variant: import('./types').QCardVariant;
|
|
22
|
+
elevation: import('./types').QCardElevation;
|
|
23
23
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
24
24
|
$slots: {
|
|
25
25
|
header?(_: {}): any;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
+
export type QCardVariant = 'default' | 'background' | 'title-background' | 'minor';
|
|
3
|
+
export type QCardElevation = 'none' | 'low' | 'medium' | 'high';
|
|
1
4
|
export type QCardWidth = 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'block';
|
|
2
|
-
export type QCardProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The card unique identifier.
|
|
5
|
-
*/
|
|
6
|
-
id?: string;
|
|
5
|
+
export type QCardProps = QBaseComponentProps & {
|
|
7
6
|
/**
|
|
8
7
|
* The title of the card.
|
|
9
8
|
*/
|
|
@@ -31,11 +30,11 @@ export type QCardProps = {
|
|
|
31
30
|
/**
|
|
32
31
|
* The styling variant of the card.
|
|
33
32
|
*/
|
|
34
|
-
variant?:
|
|
33
|
+
variant?: QCardVariant;
|
|
35
34
|
/**
|
|
36
35
|
* The elevation provides levels of shadow depth.
|
|
37
36
|
*/
|
|
38
|
-
elevation?:
|
|
37
|
+
elevation?: QCardElevation;
|
|
39
38
|
/**
|
|
40
39
|
* The width of the card
|
|
41
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCard/types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAE5E,MAAM,MAAM,UAAU,GAAG
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCard/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,kBAAkB,GAAG,OAAO,CAAA;AAElF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE/D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAE5E,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAA;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAA;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA"}
|
|
@@ -18,10 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
size:
|
|
21
|
+
size: import('./types').QCheckboxLabelSize;
|
|
22
22
|
color: string;
|
|
23
23
|
icons: typeof DEFAULT_ICONS;
|
|
24
|
-
labelPlacement:
|
|
24
|
+
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
27
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAiDA;AA0GC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAI7C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,WAAW,GAAG,cAAc,CAAC;AA+CnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkGT,OAAO,IAA6B;;wBAZtB,GAAG;wBACF,GAAG;;;;EAgB/B;AAeD,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"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { QIcon as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as y, mergeModels as x, useModel as v, computed as _, createElementBlock as q, openBlock as a, Fragment as g, createElementVNode as o, normalizeClass as $, createBlock as n, createCommentVNode as i, createSlots as u, withCtx as m, renderSlot as b, mergeProps as h, withKeys as k, withModifiers as d, unref as B } from "vue";
|
|
2
|
+
import { QIcon as C } from "../QIcon/index.js";
|
|
3
|
+
import p from "./QCheckboxLabel.vue.js";
|
|
4
|
+
import { DEFAULT_ICONS as w } from "./types.js";
|
|
5
|
+
const V = ["id"], M = ["aria-checked", "disabled", "onKeydown"], P = ["checked", "disabled"], S = /* @__PURE__ */ y({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
7
|
__name: "QCheckbox",
|
|
8
|
-
props: /* @__PURE__ */
|
|
9
|
-
label: {},
|
|
8
|
+
props: /* @__PURE__ */ x({
|
|
10
9
|
id: {},
|
|
10
|
+
class: {},
|
|
11
|
+
label: {},
|
|
11
12
|
labelPlacement: { default: "right" },
|
|
12
13
|
disabled: { type: Boolean },
|
|
13
14
|
readonly: { type: Boolean },
|
|
14
15
|
indeterminate: { type: Boolean },
|
|
15
16
|
color: { default: "primary" },
|
|
16
17
|
size: { default: "regular" },
|
|
17
|
-
|
|
18
|
-
icons: { default: () => M }
|
|
18
|
+
icons: { default: () => w }
|
|
19
19
|
}, {
|
|
20
20
|
modelValue: { type: Boolean },
|
|
21
21
|
modelModifiers: {}
|
|
22
22
|
}),
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup(r) {
|
|
25
|
-
const e = r, l =
|
|
25
|
+
const e = r, l = v(r, "modelValue"), f = _(() => [
|
|
26
26
|
"q-checkbox",
|
|
27
27
|
`q-checkbox--${e.size}`,
|
|
28
28
|
`q-checkbox--${e.color}`,
|
|
@@ -37,80 +37,74 @@ const P = ["id", "aria-checked", "disabled", "onKeydown"], z = ["checked", "disa
|
|
|
37
37
|
function s() {
|
|
38
38
|
!e.disabled && !e.readonly && (l.value = !l.value);
|
|
39
39
|
}
|
|
40
|
-
return (
|
|
41
|
-
|
|
40
|
+
return (t, c) => (a(), q(
|
|
41
|
+
g,
|
|
42
42
|
null,
|
|
43
43
|
[
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
e.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
]), 1032, ["label"])) : d("v-if", !0)
|
|
102
|
-
],
|
|
103
|
-
2
|
|
104
|
-
/* CLASS */
|
|
105
|
-
),
|
|
106
|
-
t("input", {
|
|
44
|
+
o("label", {
|
|
45
|
+
id: e.id,
|
|
46
|
+
class: $(f.value)
|
|
47
|
+
}, [
|
|
48
|
+
e.labelPlacement !== "right" ? (a(), n(p, {
|
|
49
|
+
key: 0,
|
|
50
|
+
label: e.label
|
|
51
|
+
}, u({
|
|
52
|
+
_: 2
|
|
53
|
+
/* DYNAMIC */
|
|
54
|
+
}, [
|
|
55
|
+
t.$slots.extras ? {
|
|
56
|
+
name: "extras",
|
|
57
|
+
fn: m(() => [
|
|
58
|
+
b(t.$slots, "extras")
|
|
59
|
+
]),
|
|
60
|
+
key: "0"
|
|
61
|
+
} : void 0
|
|
62
|
+
]), 1032, ["label"])) : i("v-if", !0),
|
|
63
|
+
o("button", h({
|
|
64
|
+
role: "checkbox",
|
|
65
|
+
type: "button",
|
|
66
|
+
class: "q-checkbox__input",
|
|
67
|
+
"aria-checked": e.indeterminate ? "mixed" : l.value,
|
|
68
|
+
disabled: e.disabled || e.readonly,
|
|
69
|
+
onClick: d(s, ["prevent"]),
|
|
70
|
+
onKeydown: [
|
|
71
|
+
k(d(s, ["prevent"]), ["space"]),
|
|
72
|
+
c[0] || (c[0] = k(d(() => {
|
|
73
|
+
}, ["prevent"]), ["enter"]))
|
|
74
|
+
]
|
|
75
|
+
}, t.$attrs), [
|
|
76
|
+
l.value || t.indeterminate ? (a(), n(
|
|
77
|
+
B(C),
|
|
78
|
+
h({ key: 0 }, l.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }),
|
|
79
|
+
null,
|
|
80
|
+
16
|
|
81
|
+
/* FULL_PROPS */
|
|
82
|
+
)) : i("v-if", !0)
|
|
83
|
+
], 16, M),
|
|
84
|
+
e.labelPlacement === "right" ? (a(), n(p, {
|
|
85
|
+
key: 1,
|
|
86
|
+
label: e.label
|
|
87
|
+
}, u({
|
|
88
|
+
_: 2
|
|
89
|
+
/* DYNAMIC */
|
|
90
|
+
}, [
|
|
91
|
+
t.$slots.extras ? {
|
|
92
|
+
name: "extras",
|
|
93
|
+
fn: m(() => [
|
|
94
|
+
b(t.$slots, "extras")
|
|
95
|
+
]),
|
|
96
|
+
key: "0"
|
|
97
|
+
} : void 0
|
|
98
|
+
]), 1032, ["label"])) : i("v-if", !0)
|
|
99
|
+
], 10, V),
|
|
100
|
+
o("input", {
|
|
107
101
|
type: "checkbox",
|
|
108
102
|
tabindex: "-1",
|
|
109
103
|
"aria-hidden": "true",
|
|
110
104
|
class: "q-checkbox__native-input",
|
|
111
105
|
checked: !!l.value,
|
|
112
106
|
disabled: e.disabled || e.readonly
|
|
113
|
-
}, null, 8,
|
|
107
|
+
}, null, 8, P)
|
|
114
108
|
],
|
|
115
109
|
64
|
|
116
110
|
/* STABLE_FRAGMENT */
|
|
@@ -118,5 +112,5 @@ const P = ["id", "aria-checked", "disabled", "onKeydown"], z = ["checked", "disa
|
|
|
118
112
|
}
|
|
119
113
|
});
|
|
120
114
|
export {
|
|
121
|
-
|
|
115
|
+
S as default
|
|
122
116
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { defineComponent as r, createElementBlock as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as r, createElementBlock as t, openBlock as o, createElementVNode as l, toDisplayString as n, renderSlot as c } from "vue";
|
|
2
|
+
const i = { key: 0 }, p = { class: "q-field__extras" }, _ = { key: 1 }, b = /* @__PURE__ */ r({
|
|
3
3
|
__name: "QCheckboxLabel",
|
|
4
4
|
props: {
|
|
5
|
+
id: {},
|
|
6
|
+
class: {},
|
|
5
7
|
label: {}
|
|
6
8
|
},
|
|
7
9
|
setup(a) {
|
|
8
10
|
const e = a;
|
|
9
|
-
return (
|
|
11
|
+
return (s, d) => s.$slots.extras ? (o(), t("div", i, [
|
|
10
12
|
l(
|
|
11
13
|
"span",
|
|
12
14
|
null,
|
|
@@ -14,12 +16,12 @@ const p = { key: 0 }, _ = { class: "q-field__extras" }, i = { key: 1 }, b = /* @
|
|
|
14
16
|
1
|
|
15
17
|
/* TEXT */
|
|
16
18
|
),
|
|
17
|
-
l("div",
|
|
18
|
-
c(
|
|
19
|
+
l("div", p, [
|
|
20
|
+
c(s.$slots, "extras")
|
|
19
21
|
])
|
|
20
|
-
])) : (o(),
|
|
22
|
+
])) : (o(), t(
|
|
21
23
|
"span",
|
|
22
|
-
|
|
24
|
+
_,
|
|
23
25
|
n(e.label),
|
|
24
26
|
1
|
|
25
27
|
/* TEXT */
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
declare const QCheckbox: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
3
|
modelValue?: boolean;
|
|
4
|
-
} & import('
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
5
|
+
label?: string;
|
|
6
|
+
} & {
|
|
7
|
+
labelPlacement?: import('./types').QCheckboxLabelPlacement;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
readonly?: boolean;
|
|
9
10
|
indeterminate?: boolean;
|
|
10
11
|
color?: string;
|
|
11
|
-
size?:
|
|
12
|
-
class?: string | unknown[];
|
|
12
|
+
size?: import('./types').QCheckboxLabelSize;
|
|
13
13
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
14
14
|
}> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: boolean) => any;
|
|
18
18
|
}, import('vue').PublicProps, {
|
|
19
|
-
size:
|
|
19
|
+
size: import('./types').QCheckboxLabelSize;
|
|
20
20
|
color: string;
|
|
21
21
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
22
|
-
labelPlacement:
|
|
22
|
+
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
23
23
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
24
|
P: {};
|
|
25
25
|
B: {};
|
|
@@ -29,48 +29,48 @@ declare const QCheckbox: {
|
|
|
29
29
|
Defaults: {};
|
|
30
30
|
}, Readonly<{
|
|
31
31
|
modelValue?: boolean;
|
|
32
|
-
} & import('
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
33
|
+
label?: string;
|
|
34
|
+
} & {
|
|
35
|
+
labelPlacement?: import('./types').QCheckboxLabelPlacement;
|
|
35
36
|
disabled?: boolean;
|
|
36
37
|
readonly?: boolean;
|
|
37
38
|
indeterminate?: boolean;
|
|
38
39
|
color?: string;
|
|
39
|
-
size?:
|
|
40
|
-
class?: string | unknown[];
|
|
40
|
+
size?: import('./types').QCheckboxLabelSize;
|
|
41
41
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
42
42
|
}> & Readonly<{
|
|
43
43
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
44
44
|
}>, {}, {}, {}, {}, {
|
|
45
|
-
size:
|
|
45
|
+
size: import('./types').QCheckboxLabelSize;
|
|
46
46
|
color: string;
|
|
47
47
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
48
|
-
labelPlacement:
|
|
48
|
+
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
49
49
|
}>;
|
|
50
50
|
__isFragment?: never;
|
|
51
51
|
__isTeleport?: never;
|
|
52
52
|
__isSuspense?: never;
|
|
53
53
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
54
54
|
modelValue?: boolean;
|
|
55
|
-
} & import('
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
56
|
+
label?: string;
|
|
57
|
+
} & {
|
|
58
|
+
labelPlacement?: import('./types').QCheckboxLabelPlacement;
|
|
58
59
|
disabled?: boolean;
|
|
59
60
|
readonly?: boolean;
|
|
60
61
|
indeterminate?: boolean;
|
|
61
62
|
color?: string;
|
|
62
|
-
size?:
|
|
63
|
-
class?: string | unknown[];
|
|
63
|
+
size?: import('./types').QCheckboxLabelSize;
|
|
64
64
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
65
65
|
}> & Readonly<{
|
|
66
66
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
67
67
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
68
68
|
"update:modelValue": (value: boolean) => any;
|
|
69
69
|
}, string, {
|
|
70
|
-
size:
|
|
70
|
+
size: import('./types').QCheckboxLabelSize;
|
|
71
71
|
color: string;
|
|
72
72
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
73
|
-
labelPlacement:
|
|
73
|
+
labelPlacement: import('./types').QCheckboxLabelPlacement;
|
|
74
74
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
75
75
|
$slots: {
|
|
76
76
|
extras?(_: {}): any;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
+
export type QCheckboxLabelProps = QBaseComponentProps & {
|
|
2
3
|
/**
|
|
3
|
-
* The
|
|
4
|
+
* The text content of the checkbox.
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
|
+
label?: string;
|
|
7
|
+
};
|
|
8
|
+
export type QCheckboxLabelPlacement = 'left' | 'right';
|
|
9
|
+
export type QCheckboxLabelSize = 'small' | 'regular' | 'large';
|
|
10
|
+
export type QCheckboxProps = QCheckboxLabelProps & {
|
|
6
11
|
/**
|
|
7
12
|
* The placement of the label shown.
|
|
8
13
|
*/
|
|
9
|
-
labelPlacement?:
|
|
14
|
+
labelPlacement?: QCheckboxLabelPlacement;
|
|
10
15
|
/**
|
|
11
16
|
* If true, the checkbox is disabled and cannot be interacted with.
|
|
12
17
|
*/
|
|
@@ -26,22 +31,12 @@ export type QCheckboxProps = QCheckboxLabelProps & {
|
|
|
26
31
|
/**
|
|
27
32
|
* The size of the checkbox, either 'regular', 'small' or 'large.
|
|
28
33
|
*/
|
|
29
|
-
size?:
|
|
30
|
-
/**
|
|
31
|
-
* Custom set of classes to apply to the component.
|
|
32
|
-
*/
|
|
33
|
-
class?: string | unknown[];
|
|
34
|
+
size?: QCheckboxLabelSize;
|
|
34
35
|
/**
|
|
35
36
|
* Custom icon configurations.
|
|
36
37
|
*/
|
|
37
38
|
icons?: typeof DEFAULT_ICONS;
|
|
38
39
|
};
|
|
39
|
-
export type QCheckboxLabelProps = {
|
|
40
|
-
/**
|
|
41
|
-
* The text content of the checkbox.
|
|
42
|
-
*/
|
|
43
|
-
label?: string;
|
|
44
|
-
};
|
|
45
40
|
export declare const DEFAULT_ICONS: {
|
|
46
41
|
checked: {
|
|
47
42
|
icon: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9D,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;OAEG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAA;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|