@quidgest/ui 0.24.0 → 0.26.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 +34 -0
- package/dist/json/api.json +54 -9
- package/dist/ui.css +239 -192
- package/dist/ui.esm.js +582 -575
- package/dist/ui.js +540 -533
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +540 -533
- package/dist/ui.scss +300 -260
- package/esm/components/QBadge/constants.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +3 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +68 -40
- package/esm/components/QButton/index.d.ts +8 -5
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +8 -0
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.d.ts +2 -2
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/esm/components/QCarousel/constants.d.ts.map +1 -1
- package/esm/components/QCarousel/index.d.ts +6 -6
- package/esm/components/QCarousel/types.d.ts +2 -2
- package/esm/components/QCarousel/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/constants.d.ts.map +1 -1
- package/esm/components/QCollapsible/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +34 -28
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +26 -23
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +3 -3
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +54 -36
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/index.d.ts +27 -18
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +3 -3
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDefaultsProvider/types.d.ts +2 -2
- package/esm/components/QDefaultsProvider/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +3 -3
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/constants.d.ts +4 -4
- package/esm/components/QDialog/constants.d.ts.map +1 -1
- package/esm/components/QDialog/index.d.ts +12 -12
- package/esm/components/QDialog/types.d.ts +5 -5
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +9 -9
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -1
- package/esm/components/QDismissibleLayer/index.d.ts +20 -20
- package/esm/components/QDismissibleLayer/types.d.ts +2 -2
- package/esm/components/QDismissibleLayer/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -2
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +20 -20
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/constants.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/index.d.ts +8 -8
- package/esm/components/QDropdownMenu/types.d.ts +3 -3
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/constants.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +4 -4
- package/esm/components/QIcon/types.d.ts +1 -2
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/types.d.ts +3 -3
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +6 -6
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/constants.d.ts.map +1 -1
- package/esm/components/QList/index.d.ts +6 -6
- package/esm/components/QList/types.d.ts +6 -6
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QObfuscation/constants.d.ts.map +1 -1
- package/esm/components/QOverflow/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/index.d.ts +3 -3
- package/esm/components/QPasswordField/types.d.ts +4 -4
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +38 -38
- package/esm/components/QPhoneField/index.d.ts +19 -19
- package/esm/components/QPropertyList/QPropertyList.d.ts +1 -1
- package/esm/components/QPropertyList/constants.d.ts.map +1 -1
- package/esm/components/QPropertyList/index.d.ts +3 -3
- package/esm/components/QPropertyList/types.d.ts +2 -2
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +2 -2
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/index.d.ts +3 -3
- package/esm/components/QRemoveScrollBar/types.d.ts +2 -2
- package/esm/components/QRemoveScrollBar/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts +3 -3
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QSection/QSection.d.ts +2 -0
- package/esm/components/QSection/QSection.d.ts.map +1 -1
- package/esm/components/QSection/QSection.vue.js +18 -14
- package/esm/components/QSection/index.d.ts +2 -0
- package/esm/components/QSection/index.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +18 -18
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/index.d.ts +18 -18
- package/esm/components/QSelect/types.d.ts +3 -3
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +5 -5
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +2 -2
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +6 -0
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/context.d.ts +6 -6
- package/esm/components/QSidebar/context.d.ts.map +1 -1
- package/esm/components/QSidebar/index.d.ts +5 -2
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/types.d.ts +2 -2
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +18 -12
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +106 -112
- package/esm/components/QTabs/context.d.ts +5 -5
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +9 -6
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +9 -7
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +11 -9
- package/esm/components/QThemeProvider/types.d.ts +2 -2
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QToast/QToaster.vue.js +1 -1
- package/esm/components/QToast/constants.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +1 -0
- package/esm/components/QToggle/index.d.ts +3 -0
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -0
- package/esm/components/QTooltip/index.d.ts +3 -3
- package/esm/components/QTooltip/types.d.ts +2 -2
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/constants.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/constants.d.ts.map +1 -1
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +1 -1
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +1 -1
- package/esm/composables/defaults.d.ts +7 -7
- package/esm/composables/defaults.d.ts.map +1 -1
- package/esm/composables/index.d.ts +3 -3
- package/esm/composables/index.d.ts.map +1 -1
- package/esm/composables/theme.d.ts +20 -20
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/useColor/index.d.ts +24 -9
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +17 -10
- package/esm/composables/useColor/types.d.ts +3 -3
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +3 -3
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/composables/useDialog/types.d.ts +3 -3
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDismissibleLayerStack/index.d.ts +2 -2
- package/esm/composables/useDismissibleLayerStack/index.d.ts.map +1 -1
- package/esm/composables/useEnabledSelection/index.d.ts +33 -0
- package/esm/composables/useEnabledSelection/index.d.ts.map +1 -0
- package/esm/composables/useEnabledSelection/index.js +15 -0
- package/esm/composables/useGroup/index.d.ts +6 -6
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useToast/index.d.ts +3 -3
- package/esm/composables/useToast/index.d.ts.map +1 -1
- package/esm/composables/useToast/types.d.ts +3 -3
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.d.ts +6 -6
- package/esm/framework.d.ts.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/symbols/dismissibleLayer.d.ts +2 -2
- package/esm/symbols/dismissibleLayer.d.ts.map +1 -1
- package/esm/templates/theme.d.ts +3 -3
- package/esm/templates/theme.d.ts.map +1 -1
- package/esm/utils/color/merge.d.ts +3 -3
- package/esm/utils/color/merge.d.ts.map +1 -1
- package/esm/utils/color/theme-colors.d.ts +2 -2
- package/esm/utils/color/theme-colors.d.ts.map +1 -1
- package/esm/utils/color/types.d.ts +2 -2
- package/esm/utils/color/types.d.ts.map +1 -1
- package/esm/utils/theme.d.ts +9 -9
- package/esm/utils/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;CAIY,CAAA;AAEtC,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -10,11 +10,12 @@ declare function __VLS_template(): {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<QButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
-
click: (event:
|
|
13
|
+
click: (event: MouseEvent) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<QButtonProps> & Readonly<{
|
|
15
|
-
onClick?: ((event:
|
|
15
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
variant: import('./types').QButtonVariant;
|
|
18
|
+
effect: import('./types').QButtonEffect;
|
|
18
19
|
color: string;
|
|
19
20
|
iconPos: import('./types').QButtonIconPosition;
|
|
20
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
@@ -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":"AAqCA;AAyLC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AA4ItC,iBAAS,cAAc;WAsET,OAAO,IAA6B;;yBAXrB,GAAG;wBACJ,GAAG;;;;EAe9B;AAiBD,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"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { QSpinnerLoader as e } from "../QSpinnerLoader/index.js";
|
|
2
2
|
import { useColor as t } from "../../composables/useColor/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, openBlock as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, toRef as _, unref as v, withModifiers as y } from "vue";
|
|
4
4
|
//#region src/components/QButton/QButton.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
5
|
+
var b = [
|
|
6
6
|
"id",
|
|
7
7
|
"disabled",
|
|
8
8
|
"tabindex"
|
|
9
|
-
],
|
|
9
|
+
], x = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "q-button__spinner"
|
|
12
|
-
},
|
|
12
|
+
}, S = { class: "q-button__content" }, C = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "q-button__append"
|
|
15
|
-
},
|
|
15
|
+
}, w = ["onAnimationend"], T = /*@__PURE__*/ l({
|
|
16
16
|
__name: "QButton",
|
|
17
17
|
props: {
|
|
18
18
|
id: {},
|
|
@@ -26,58 +26,86 @@ var _ = [
|
|
|
26
26
|
size: {},
|
|
27
27
|
iconPos: { default: "start" },
|
|
28
28
|
pill: { type: Boolean },
|
|
29
|
+
effect: { default: "none" },
|
|
29
30
|
disabled: { type: Boolean },
|
|
30
31
|
loading: { type: Boolean },
|
|
31
32
|
tabindex: {}
|
|
32
33
|
},
|
|
33
34
|
emits: ["click"],
|
|
34
|
-
setup(
|
|
35
|
-
let
|
|
36
|
-
function
|
|
37
|
-
|
|
35
|
+
setup(l, { emit: T }) {
|
|
36
|
+
let E = l, D = T, O = r(() => E.disabled || E.loading), k = p([]), A = 0;
|
|
37
|
+
function j(e) {
|
|
38
|
+
let t = e.currentTarget.getBoundingClientRect(), n = Math.hypot(t.width, t.height) * 2, r = e.clientX !== 0 || e.clientY !== 0, i = e.clientX - t.left, a = e.clientY - t.top, o = r && i >= 0 && i <= t.width && a >= 0 && a <= t.height, s = o ? i : t.width / 2, c = o ? a : t.height / 2;
|
|
39
|
+
k.value.push({
|
|
40
|
+
id: A++,
|
|
41
|
+
x: s - n / 2,
|
|
42
|
+
y: c - n / 2,
|
|
43
|
+
size: n
|
|
44
|
+
});
|
|
38
45
|
}
|
|
39
|
-
|
|
40
|
-
|
|
46
|
+
function M(e) {
|
|
47
|
+
k.value = k.value.filter((t) => t.id !== e);
|
|
48
|
+
}
|
|
49
|
+
function N(e) {
|
|
50
|
+
O.value || (E.effect === "ripple" && j(e), D("click", e));
|
|
51
|
+
}
|
|
52
|
+
let { style: P } = t(_(E, "color")), F = r(() => {
|
|
53
|
+
let e = E.color === "background" ? "q-button--background" : void 0, t = E.size === "small" || E.size === "large" ? `q-button--${E.size}` : void 0, n = E.iconPos === "start" ? void 0 : `q-button--icon-${E.iconPos}`;
|
|
41
54
|
return [
|
|
42
55
|
"q-button",
|
|
43
|
-
`q-button--${
|
|
56
|
+
`q-button--${E.variant}`,
|
|
44
57
|
e,
|
|
45
58
|
t,
|
|
46
59
|
n,
|
|
47
60
|
{
|
|
48
|
-
"q-button--labeled":
|
|
49
|
-
"q-button--borderless":
|
|
50
|
-
"q-button--elevated":
|
|
51
|
-
"q-button--block":
|
|
52
|
-
"q-button--loading":
|
|
53
|
-
"q-button--pill":
|
|
61
|
+
"q-button--labeled": E.label,
|
|
62
|
+
"q-button--borderless": E.borderless,
|
|
63
|
+
"q-button--elevated": E.elevated,
|
|
64
|
+
"q-button--block": E.block,
|
|
65
|
+
"q-button--loading": E.loading,
|
|
66
|
+
"q-button--pill": E.pill
|
|
54
67
|
},
|
|
55
|
-
|
|
68
|
+
E.class
|
|
56
69
|
];
|
|
57
|
-
}),
|
|
58
|
-
if (!(
|
|
59
|
-
"--q-button-main-color":
|
|
60
|
-
"--q-button-main-color-rgb":
|
|
61
|
-
"--q-button-on-main-color":
|
|
62
|
-
"--q-button-hover-color":
|
|
63
|
-
"--q-button-hover-color-rgb":
|
|
64
|
-
"--q-button-on-hover-color":
|
|
70
|
+
}), I = r(() => {
|
|
71
|
+
if (!(E.color === "background" || !P.value)) return {
|
|
72
|
+
"--q-button-main-color": P.value.mainColor,
|
|
73
|
+
"--q-button-main-color-rgb": P.value.mainColorRgb,
|
|
74
|
+
"--q-button-on-main-color": P.value.onMainColor,
|
|
75
|
+
"--q-button-hover-color": P.value.hoverColor,
|
|
76
|
+
"--q-button-hover-color-rgb": P.value.hoverColorRgb,
|
|
77
|
+
"--q-button-on-hover-color": P.value.onHoverColor
|
|
65
78
|
};
|
|
66
79
|
});
|
|
67
|
-
return (t,
|
|
68
|
-
id:
|
|
80
|
+
return (t, r) => (f(), a("button", {
|
|
81
|
+
id: E.id,
|
|
69
82
|
type: "button",
|
|
70
|
-
class:
|
|
71
|
-
disabled:
|
|
72
|
-
tabindex:
|
|
73
|
-
style:
|
|
74
|
-
onClick:
|
|
75
|
-
}, [
|
|
76
|
-
f(
|
|
77
|
-
o("
|
|
78
|
-
|
|
79
|
-
|
|
83
|
+
class: u(F.value),
|
|
84
|
+
disabled: O.value,
|
|
85
|
+
tabindex: E.tabindex,
|
|
86
|
+
style: d(I.value),
|
|
87
|
+
onClick: y(N, ["stop", "prevent"])
|
|
88
|
+
}, [
|
|
89
|
+
E.loading ? (f(), a("div", x, [c(v(e))])) : i("v-if", !0),
|
|
90
|
+
o("span", S, [
|
|
91
|
+
h(t.$slots, "default"),
|
|
92
|
+
s(" " + g(E.label) + " ", 1),
|
|
93
|
+
t.$slots.append ? (f(), a("span", C, [h(t.$slots, "append")])) : i("v-if", !0)
|
|
94
|
+
]),
|
|
95
|
+
(f(!0), a(n, null, m(k.value, (e) => (f(), a("span", {
|
|
96
|
+
key: e.id,
|
|
97
|
+
class: "q-button__ripple",
|
|
98
|
+
style: d({
|
|
99
|
+
left: `${e.x}px`,
|
|
100
|
+
top: `${e.y}px`,
|
|
101
|
+
width: `${e.size}px`,
|
|
102
|
+
height: `${e.size}px`
|
|
103
|
+
}),
|
|
104
|
+
"aria-hidden": "true",
|
|
105
|
+
onAnimationend: (t) => M(e.id)
|
|
106
|
+
}, null, 44, w))), 128))
|
|
107
|
+
], 14, b));
|
|
80
108
|
}
|
|
81
109
|
});
|
|
82
110
|
//#endregion
|
|
83
|
-
export {
|
|
111
|
+
export { T as default };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
declare const QButton: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QButtonProps> & Readonly<{
|
|
3
|
-
onClick?: ((event:
|
|
3
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
4
4
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
-
click: (event:
|
|
5
|
+
click: (event: MouseEvent) => any;
|
|
6
6
|
}, import('vue').PublicProps, {
|
|
7
7
|
variant: import('./types').QButtonVariant;
|
|
8
|
+
effect: import('./types').QButtonEffect;
|
|
8
9
|
color: string;
|
|
9
10
|
iconPos: import('./types').QButtonIconPosition;
|
|
10
11
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
|
@@ -15,9 +16,10 @@ declare const QButton: {
|
|
|
15
16
|
M: {};
|
|
16
17
|
Defaults: {};
|
|
17
18
|
}, Readonly<import('./types').QButtonProps> & Readonly<{
|
|
18
|
-
onClick?: ((event:
|
|
19
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, {
|
|
20
21
|
variant: import('./types').QButtonVariant;
|
|
22
|
+
effect: import('./types').QButtonEffect;
|
|
21
23
|
color: string;
|
|
22
24
|
iconPos: import('./types').QButtonIconPosition;
|
|
23
25
|
}>;
|
|
@@ -25,11 +27,12 @@ declare const QButton: {
|
|
|
25
27
|
__isTeleport?: never;
|
|
26
28
|
__isSuspense?: never;
|
|
27
29
|
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QButtonProps> & Readonly<{
|
|
28
|
-
onClick?: ((event:
|
|
30
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
31
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
30
|
-
click: (event:
|
|
32
|
+
click: (event: MouseEvent) => any;
|
|
31
33
|
}, string, {
|
|
32
34
|
variant: import('./types').QButtonVariant;
|
|
35
|
+
effect: import('./types').QButtonEffect;
|
|
33
36
|
color: string;
|
|
34
37
|
iconPos: import('./types').QButtonIconPosition;
|
|
35
38
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -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,7 @@
|
|
|
1
1
|
import { QBaseComponentProps, QComponentSize } from '../../types/component';
|
|
2
2
|
export type QButtonVariant = 'bold' | 'tonal' | 'outlined' | 'ghost' | 'text';
|
|
3
3
|
export type QButtonIconPosition = 'start' | 'end' | 'top' | 'bottom';
|
|
4
|
+
export type QButtonEffect = 'ripple' | 'none';
|
|
4
5
|
export type QButtonProps = QBaseComponentProps & {
|
|
5
6
|
/**
|
|
6
7
|
* The text content of the button.
|
|
@@ -59,6 +60,13 @@ export type QButtonProps = QBaseComponentProps & {
|
|
|
59
60
|
* @category Presentation
|
|
60
61
|
*/
|
|
61
62
|
pill?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The visual feedback effect played from the pointer position on click.
|
|
65
|
+
* Set to `'ripple'` to enable it.
|
|
66
|
+
*
|
|
67
|
+
* @category Presentation
|
|
68
|
+
*/
|
|
69
|
+
effect?: QButtonEffect;
|
|
62
70
|
/**
|
|
63
71
|
* If true, the button is disabled and cannot be interacted with.
|
|
64
72
|
*
|
|
@@ -1 +1 @@
|
|
|
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;A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,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;;;;;OAKG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;IAEtB;;;;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,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
2
|
-
import { QCarouselProps,
|
|
2
|
+
import { QCarouselProps, QCarouselSlide } from '.';
|
|
3
3
|
type __VLS_Props = QCarouselProps;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
'currentSlide'?: number;
|
|
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
26
26
|
}>, {
|
|
27
27
|
icons: typeof DEFAULT_ICONS;
|
|
28
28
|
texts: typeof DEFAULT_TEXTS;
|
|
29
|
-
slides:
|
|
29
|
+
slides: QCarouselSlide[];
|
|
30
30
|
autoCycleInterval: number;
|
|
31
31
|
autoCyclePause: "hover" | "false";
|
|
32
32
|
ride: "carousel" | "false";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCarousel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/QCarousel.vue"],"names":[],"mappings":"AA+IA;AAueC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1D,OAAO,KAAK,EAAkB,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"QCarousel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/QCarousel.vue"],"names":[],"mappings":"AA+IA;AAueC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1D,OAAO,KAAK,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAKvE,KAAK,WAAW,GAAG,cAAc,CAAC;AAqVnC,KAAK,iBAAiB,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAqQT,OAAO,IAA6B;;uBAVtB,GAAG;;;;EAe9B;AA4BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;wFASnB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;CAOY,CAAA;AAGtC,eAAO,MAAM,aAAa;;;;CAIQ,CAAA"}
|
|
@@ -2,7 +2,7 @@ declare const QCarousel: {
|
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
3
|
currentSlide?: number;
|
|
4
4
|
} & import('../..').QBaseComponentProps & {
|
|
5
|
-
slides?: import('./types').
|
|
5
|
+
slides?: import('./types').QCarouselSlide[];
|
|
6
6
|
showIndicators?: boolean;
|
|
7
7
|
showControls?: boolean;
|
|
8
8
|
autoCycleInterval?: number;
|
|
@@ -27,7 +27,7 @@ declare const QCarousel: {
|
|
|
27
27
|
}, import('vue').PublicProps, {
|
|
28
28
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
29
29
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
30
|
-
slides: import('./types').
|
|
30
|
+
slides: import('./types').QCarouselSlide[];
|
|
31
31
|
autoCycleInterval: number;
|
|
32
32
|
autoCyclePause: "hover" | "false";
|
|
33
33
|
ride: "carousel" | "false";
|
|
@@ -44,7 +44,7 @@ declare const QCarousel: {
|
|
|
44
44
|
}, Readonly<{
|
|
45
45
|
currentSlide?: number;
|
|
46
46
|
} & import('../..').QBaseComponentProps & {
|
|
47
|
-
slides?: import('./types').
|
|
47
|
+
slides?: import('./types').QCarouselSlide[];
|
|
48
48
|
showIndicators?: boolean;
|
|
49
49
|
showControls?: boolean;
|
|
50
50
|
autoCycleInterval?: number;
|
|
@@ -64,7 +64,7 @@ declare const QCarousel: {
|
|
|
64
64
|
}>, {}, {}, {}, {}, {
|
|
65
65
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
66
66
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
67
|
-
slides: import('./types').
|
|
67
|
+
slides: import('./types').QCarouselSlide[];
|
|
68
68
|
autoCycleInterval: number;
|
|
69
69
|
autoCyclePause: "hover" | "false";
|
|
70
70
|
ride: "carousel" | "false";
|
|
@@ -78,7 +78,7 @@ declare const QCarousel: {
|
|
|
78
78
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
79
79
|
currentSlide?: number;
|
|
80
80
|
} & import('../..').QBaseComponentProps & {
|
|
81
|
-
slides?: import('./types').
|
|
81
|
+
slides?: import('./types').QCarouselSlide[];
|
|
82
82
|
showIndicators?: boolean;
|
|
83
83
|
showControls?: boolean;
|
|
84
84
|
autoCycleInterval?: number;
|
|
@@ -103,7 +103,7 @@ declare const QCarousel: {
|
|
|
103
103
|
}, string, {
|
|
104
104
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
105
105
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
106
|
-
slides: import('./types').
|
|
106
|
+
slides: import('./types').QCarouselSlide[];
|
|
107
107
|
autoCycleInterval: number;
|
|
108
108
|
autoCyclePause: "hover" | "false";
|
|
109
109
|
ride: "carousel" | "false";
|
|
@@ -3,7 +3,7 @@ import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents a single slide in the carousel.
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type QCarouselSlide = {
|
|
7
7
|
/** Unique identifier for the slide */
|
|
8
8
|
id: string;
|
|
9
9
|
/** Optional title text displayed on the slide */
|
|
@@ -24,7 +24,7 @@ export type QCarouselProps = QBaseComponentProps & {
|
|
|
24
24
|
*
|
|
25
25
|
* @category Content
|
|
26
26
|
*/
|
|
27
|
-
slides?:
|
|
27
|
+
slides?: QCarouselSlide[];
|
|
28
28
|
/**
|
|
29
29
|
* Whether to show slide indicators (dots) below the carousel.
|
|
30
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D;;GAEG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/types.ts"],"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AAqB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAA;IAEtD;;;;;OAKG;IACH,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAA;IAErD;;;;OAIG;IACH,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,CAAA;CAC3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;CAOY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa;;;;CAEY,CAAA;AAEtC;;GAEG;AACH,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
17
17
|
extras?(_: {}): any;
|
|
18
18
|
'body.prepend'?(_: {}): any;
|
|
19
19
|
item?(_: {
|
|
20
|
-
item: import('..').
|
|
20
|
+
item: import('..').QListItemData;
|
|
21
21
|
}): any;
|
|
22
22
|
'body.append'?(_: {}): any;
|
|
23
23
|
};
|
|
@@ -251,10 +251,11 @@ declare function __VLS_template(): {
|
|
|
251
251
|
readonly size?: import('../..').QComponentSize | undefined;
|
|
252
252
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
253
253
|
readonly pill?: boolean | undefined;
|
|
254
|
+
readonly effect?: import('..').QButtonEffect | undefined;
|
|
254
255
|
readonly disabled?: boolean | undefined;
|
|
255
256
|
readonly loading?: boolean | undefined;
|
|
256
257
|
readonly tabindex?: number | undefined;
|
|
257
|
-
readonly onClick?: ((event:
|
|
258
|
+
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
258
259
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
259
260
|
$attrs: import('vue').Attrs;
|
|
260
261
|
$refs: {
|
|
@@ -266,14 +267,15 @@ declare function __VLS_template(): {
|
|
|
266
267
|
$root: import('vue').ComponentPublicInstance | null;
|
|
267
268
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
268
269
|
$host: Element | null;
|
|
269
|
-
$emit: (event: "click", event:
|
|
270
|
+
$emit: (event: "click", event: MouseEvent) => void;
|
|
270
271
|
$el: HTMLButtonElement;
|
|
271
272
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QButtonProps> & Readonly<{
|
|
272
|
-
onClick?: ((event:
|
|
273
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
273
274
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
274
|
-
click: (event:
|
|
275
|
+
click: (event: MouseEvent) => any;
|
|
275
276
|
}, string, {
|
|
276
277
|
variant: import('..').QButtonVariant;
|
|
278
|
+
effect: import('..').QButtonEffect;
|
|
277
279
|
color: string;
|
|
278
280
|
iconPos: import('..').QButtonIconPosition;
|
|
279
281
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -298,11 +300,12 @@ declare function __VLS_template(): {
|
|
|
298
300
|
$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
301
|
} & Readonly<{
|
|
300
302
|
variant: import('..').QButtonVariant;
|
|
303
|
+
effect: import('..').QButtonEffect;
|
|
301
304
|
color: string;
|
|
302
305
|
iconPos: import('..').QButtonIconPosition;
|
|
303
306
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
304
|
-
onClick?: ((event:
|
|
305
|
-
}>, "variant" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
307
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
308
|
+
}>, "variant" | "effect" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
306
309
|
$slots: {
|
|
307
310
|
default?(_: {}): any;
|
|
308
311
|
append?(_: {}): any;
|
|
@@ -317,8 +320,8 @@ declare function __VLS_template(): {
|
|
|
317
320
|
readonly class?: string | unknown[] | undefined;
|
|
318
321
|
readonly modelValue?: any;
|
|
319
322
|
readonly highlighted?: any;
|
|
320
|
-
readonly items?: import('..').
|
|
321
|
-
readonly groups?: import('..').
|
|
323
|
+
readonly items?: import('..').QListItemData[] | undefined;
|
|
324
|
+
readonly groups?: import('..').QListItemGroupData[] | undefined;
|
|
322
325
|
readonly selectable?: boolean | undefined;
|
|
323
326
|
readonly selectOnTab?: boolean | undefined;
|
|
324
327
|
readonly multiple?: boolean | undefined;
|
|
@@ -342,7 +345,7 @@ declare function __VLS_template(): {
|
|
|
342
345
|
readonly modelValue?: boolean | undefined;
|
|
343
346
|
readonly value: any;
|
|
344
347
|
readonly label: string;
|
|
345
|
-
readonly icon?: import('..').
|
|
348
|
+
readonly icon?: import('..').QIconProps | undefined;
|
|
346
349
|
readonly description?: string | undefined;
|
|
347
350
|
readonly selectable?: boolean | undefined;
|
|
348
351
|
readonly selectOnTab?: boolean | undefined;
|
|
@@ -436,7 +439,7 @@ declare function __VLS_template(): {
|
|
|
436
439
|
click: (key: any) => any;
|
|
437
440
|
"mouseenter:item": (key: any) => any;
|
|
438
441
|
}, string, {
|
|
439
|
-
groups: import('..').
|
|
442
|
+
groups: import('..').QListItemGroupData[];
|
|
440
443
|
selectOnTab: boolean;
|
|
441
444
|
itemValue: string;
|
|
442
445
|
itemLabel: string;
|
|
@@ -461,7 +464,7 @@ declare function __VLS_template(): {
|
|
|
461
464
|
$nextTick: typeof nextTick;
|
|
462
465
|
$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;
|
|
463
466
|
} & Readonly<{
|
|
464
|
-
groups: import('..').
|
|
467
|
+
groups: import('..').QListItemGroupData[];
|
|
465
468
|
selectOnTab: boolean;
|
|
466
469
|
itemValue: string;
|
|
467
470
|
itemLabel: string;
|
|
@@ -479,11 +482,11 @@ declare function __VLS_template(): {
|
|
|
479
482
|
$slots: {
|
|
480
483
|
default?(_: {}): any;
|
|
481
484
|
item?(_: {
|
|
482
|
-
item: import('..').
|
|
485
|
+
item: import('..').QListItemData;
|
|
483
486
|
element: HTMLLIElement | undefined;
|
|
484
487
|
}): any;
|
|
485
488
|
'item.append'?(_: {
|
|
486
|
-
item: import('..').
|
|
489
|
+
item: import('..').QListItemData;
|
|
487
490
|
element: HTMLLIElement | undefined;
|
|
488
491
|
}): any;
|
|
489
492
|
};
|
|
@@ -906,7 +909,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
906
909
|
showOptions: string;
|
|
907
910
|
clearValue: string;
|
|
908
911
|
};
|
|
909
|
-
groups: import('..').
|
|
912
|
+
groups: import('..').QListItemGroupData[];
|
|
910
913
|
itemValue: string;
|
|
911
914
|
itemLabel: string;
|
|
912
915
|
selectionMode: "manual" | "automatic";
|
|
@@ -1141,10 +1144,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1141
1144
|
readonly size?: import('../..').QComponentSize | undefined;
|
|
1142
1145
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
1143
1146
|
readonly pill?: boolean | undefined;
|
|
1147
|
+
readonly effect?: import('..').QButtonEffect | undefined;
|
|
1144
1148
|
readonly disabled?: boolean | undefined;
|
|
1145
1149
|
readonly loading?: boolean | undefined;
|
|
1146
1150
|
readonly tabindex?: number | undefined;
|
|
1147
|
-
readonly onClick?: ((event:
|
|
1151
|
+
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1148
1152
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1149
1153
|
$attrs: import('vue').Attrs;
|
|
1150
1154
|
$refs: {
|
|
@@ -1156,14 +1160,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1156
1160
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1157
1161
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1158
1162
|
$host: Element | null;
|
|
1159
|
-
$emit: (event: "click", event:
|
|
1163
|
+
$emit: (event: "click", event: MouseEvent) => void;
|
|
1160
1164
|
$el: HTMLButtonElement;
|
|
1161
1165
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QButtonProps> & Readonly<{
|
|
1162
|
-
onClick?: ((event:
|
|
1166
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1163
1167
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1164
|
-
click: (event:
|
|
1168
|
+
click: (event: MouseEvent) => any;
|
|
1165
1169
|
}, string, {
|
|
1166
1170
|
variant: import('..').QButtonVariant;
|
|
1171
|
+
effect: import('..').QButtonEffect;
|
|
1167
1172
|
color: string;
|
|
1168
1173
|
iconPos: import('..').QButtonIconPosition;
|
|
1169
1174
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -1188,11 +1193,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1188
1193
|
$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;
|
|
1189
1194
|
} & Readonly<{
|
|
1190
1195
|
variant: import('..').QButtonVariant;
|
|
1196
|
+
effect: import('..').QButtonEffect;
|
|
1191
1197
|
color: string;
|
|
1192
1198
|
iconPos: import('..').QButtonIconPosition;
|
|
1193
1199
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
1194
|
-
onClick?: ((event:
|
|
1195
|
-
}>, "variant" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1200
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1201
|
+
}>, "variant" | "effect" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1196
1202
|
$slots: {
|
|
1197
1203
|
default?(_: {}): any;
|
|
1198
1204
|
append?(_: {}): any;
|
|
@@ -1207,8 +1213,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1207
1213
|
readonly class?: string | unknown[] | undefined;
|
|
1208
1214
|
readonly modelValue?: any;
|
|
1209
1215
|
readonly highlighted?: any;
|
|
1210
|
-
readonly items?: import('..').
|
|
1211
|
-
readonly groups?: import('..').
|
|
1216
|
+
readonly items?: import('..').QListItemData[] | undefined;
|
|
1217
|
+
readonly groups?: import('..').QListItemGroupData[] | undefined;
|
|
1212
1218
|
readonly selectable?: boolean | undefined;
|
|
1213
1219
|
readonly selectOnTab?: boolean | undefined;
|
|
1214
1220
|
readonly multiple?: boolean | undefined;
|
|
@@ -1232,7 +1238,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1232
1238
|
readonly modelValue?: boolean | undefined;
|
|
1233
1239
|
readonly value: any;
|
|
1234
1240
|
readonly label: string;
|
|
1235
|
-
readonly icon?: import('..').
|
|
1241
|
+
readonly icon?: import('..').QIconProps | undefined;
|
|
1236
1242
|
readonly description?: string | undefined;
|
|
1237
1243
|
readonly selectable?: boolean | undefined;
|
|
1238
1244
|
readonly selectOnTab?: boolean | undefined;
|
|
@@ -1326,7 +1332,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1326
1332
|
click: (key: any) => any;
|
|
1327
1333
|
"mouseenter:item": (key: any) => any;
|
|
1328
1334
|
}, string, {
|
|
1329
|
-
groups: import('..').
|
|
1335
|
+
groups: import('..').QListItemGroupData[];
|
|
1330
1336
|
selectOnTab: boolean;
|
|
1331
1337
|
itemValue: string;
|
|
1332
1338
|
itemLabel: string;
|
|
@@ -1351,7 +1357,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1351
1357
|
$nextTick: typeof nextTick;
|
|
1352
1358
|
$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;
|
|
1353
1359
|
} & Readonly<{
|
|
1354
|
-
groups: import('..').
|
|
1360
|
+
groups: import('..').QListItemGroupData[];
|
|
1355
1361
|
selectOnTab: boolean;
|
|
1356
1362
|
itemValue: string;
|
|
1357
1363
|
itemLabel: string;
|
|
@@ -1369,11 +1375,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1369
1375
|
$slots: {
|
|
1370
1376
|
default?(_: {}): any;
|
|
1371
1377
|
item?(_: {
|
|
1372
|
-
item: import('..').
|
|
1378
|
+
item: import('..').QListItemData;
|
|
1373
1379
|
element: HTMLLIElement | undefined;
|
|
1374
1380
|
}): any;
|
|
1375
1381
|
'item.append'?(_: {
|
|
1376
|
-
item: import('..').
|
|
1382
|
+
item: import('..').QListItemData;
|
|
1377
1383
|
element: HTMLLIElement | undefined;
|
|
1378
1384
|
}): any;
|
|
1379
1385
|
};
|
|
@@ -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,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCATI,GACrD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG
|
|
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;AAY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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/constants.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/constants.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGY,CAAA"}
|