vue-composable-ui 1.1.0 → 1.1.2
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/{combobox.vue_vue_type_script_setup_true_lang-ChCbDl0x.js → combobox.vue_vue_type_script_setup_true_lang-sMngTuXu.js} +10 -10
- package/dist/{comboboxHiddenInput.vue_vue_type_script_setup_true_lang-Ba-UPd-M.js → comboboxHiddenInput.vue_vue_type_script_setup_true_lang-BtODyQnH.js} +2 -2
- package/dist/{comboboxInput.vue_vue_type_script_setup_true_lang-D3KIXNRO.js → comboboxInput.vue_vue_type_script_setup_true_lang-Be5FBBbM.js} +3 -3
- package/dist/{comboboxOption.vue_vue_type_script_setup_true_lang-C9FIG5ye.js → comboboxOption.vue_vue_type_script_setup_true_lang-DmF_EaqI.js} +4 -4
- package/dist/comboboxOptions.vue_vue_type_script_setup_true_lang-DN0tz5dv.js +20 -0
- package/dist/composable-ui.js +22 -22
- package/dist/composable-ui10.js +1 -1
- package/dist/composable-ui11.js +1 -1
- package/dist/composable-ui12.js +1 -1
- package/dist/composable-ui13.js +1 -1
- package/dist/composable-ui14.js +1 -1
- package/dist/composable-ui15.js +1 -1
- package/dist/composable-ui16.js +1 -1
- package/dist/composable-ui17.js +1 -1
- package/dist/composable-ui18.js +2 -29
- package/dist/composable-ui19.js +5 -2
- package/dist/composable-ui2.js +2 -28
- package/dist/composable-ui20.js +53 -2
- package/dist/composable-ui21.js +29 -2
- package/dist/composable-ui22.js +132 -91
- package/dist/composable-ui23.js +90 -132
- package/dist/composable-ui25.js +28 -5
- package/dist/composable-ui3.js +2 -53
- package/dist/composable-ui4.js +1 -1
- package/dist/composable-ui5.js +1 -1
- package/dist/composable-ui6.js +1 -1
- package/dist/composable-ui7.js +1 -1
- package/dist/composable-ui8.js +1 -1
- package/dist/composable-ui9.js +1 -1
- package/dist/{listbox.vue_vue_type_script_setup_true_lang-BJS1g6K9.js → listbox.vue_vue_type_script_setup_true_lang-OvzuliPQ.js} +8 -8
- package/dist/{listboxOption.vue_vue_type_script_setup_true_lang-DMkQ_ZA_.js → listboxOption.vue_vue_type_script_setup_true_lang-BhQm7GxW.js} +3 -3
- package/dist/{menu.vue_vue_type_script_setup_true_lang-BTGGj0FY.js → menu.vue_vue_type_script_setup_true_lang-B0Jm9v_v.js} +9 -9
- package/dist/{menuItem.vue_vue_type_script_setup_true_lang-CSWsvc1p.js → menuItem.vue_vue_type_script_setup_true_lang-IZgj64N4.js} +4 -4
- package/dist/{menuItems.vue_vue_type_script_setup_true_lang-DZL1uyoq.js → menuItems.vue_vue_type_script_setup_true_lang-DQV-lU_A.js} +5 -5
- package/dist/{popover.vue_vue_type_script_setup_true_lang-C13ARHho.js → popover.vue_vue_type_script_setup_true_lang-D1gc6B-4.js} +2 -2
- package/dist/popoverDialog.vue_vue_type_script_setup_true_lang-ApsJsSDN.js +30 -0
- package/dist/{tab.vue_vue_type_script_setup_true_lang-BSckMUwj.js → tab.vue_vue_type_script_setup_true_lang-C12uJKqo.js} +3 -3
- package/dist/{tabContainer.vue_vue_type_script_setup_true_lang-YfrBXoWm.js → tabContainer.vue_vue_type_script_setup_true_lang-yqy32Zx5.js} +4 -4
- package/dist/{tabList.vue_vue_type_script_setup_true_lang-DLoNOwJ7.js → tabList.vue_vue_type_script_setup_true_lang-BjKRcoyi.js} +3 -3
- package/dist/{tabPanel.vue_vue_type_script_setup_true_lang-DZfMk_Sn.js → tabPanel.vue_vue_type_script_setup_true_lang-DwEwu3p7.js} +4 -4
- package/dist/{tooltip.vue_vue_type_script_setup_true_lang-CXxwHtxF.js → tooltip.vue_vue_type_script_setup_true_lang-kslDnoRH.js} +5 -5
- package/dist/types/components/combobox/combobox.vue.d.ts +8 -6
- package/dist/types/components/combobox/comboboxHiddenInput.vue.d.ts +2 -1
- package/dist/types/components/combobox/comboboxInput.vue.d.ts +4 -3
- package/dist/types/components/combobox/comboboxOption.vue.d.ts +3 -2
- package/dist/types/components/combobox/comboboxOptions.vue.d.ts +3 -2
- package/dist/types/components/listbox/listbox.vue.d.ts +5 -3
- package/dist/types/components/listbox/listboxOption.vue.d.ts +3 -2
- package/dist/types/components/menu/menu.vue.d.ts +5 -3
- package/dist/types/components/menu/menuItem.vue.d.ts +3 -2
- package/dist/types/components/menu/menuItems.vue.d.ts +3 -2
- package/dist/types/components/popover/popover.vue.d.ts +3 -2
- package/dist/types/components/popover/popoverDialog.vue.d.ts +3 -2
- package/dist/types/components/tabs/tab.vue.d.ts +3 -2
- package/dist/types/components/tabs/tabContainer.vue.d.ts +5 -4
- package/dist/types/components/tabs/tabList.vue.d.ts +3 -2
- package/dist/types/components/tabs/tabPanel.vue.d.ts +3 -2
- package/dist/types/components/tooltip.vue.d.ts +5 -4
- package/dist/types/main.d.ts +1 -1
- package/package.json +5 -5
- package/dist/comboboxOptions.vue_vue_type_script_setup_true_lang-DLv4KjF8.js +0 -20
- package/dist/popoverDialog.vue_vue_type_script_setup_true_lang-C2z6To-6.js +0 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as g, useSlots as b, ref as E, useId as k, onMounted as w, onBeforeUnmount as $,
|
|
2
|
-
import { usePopover as C } from "./composable-
|
|
1
|
+
import { defineComponent as g, useSlots as b, ref as E, useId as k, onMounted as w, onBeforeUnmount as $, openBlock as a, createElementBlock as p, Fragment as L, renderSlot as f, createBlock as T, Teleport as _, unref as m, mergeProps as h, createTextVNode as B, toDisplayString as S, createCommentVNode as A } from "vue";
|
|
2
|
+
import { usePopover as C } from "./composable-ui23.js";
|
|
3
3
|
const I = ["id"], P = /* @__PURE__ */ g({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "tooltip",
|
|
@@ -66,16 +66,16 @@ const I = ["id"], P = /* @__PURE__ */ g({
|
|
|
66
66
|
}), (e, x) => (a(), p(L, null, [
|
|
67
67
|
f(e.$slots, "default", { attrs: y }),
|
|
68
68
|
(a(), T(_, { to: "body" }, [
|
|
69
|
-
m(i) ? (a(), p("div",
|
|
69
|
+
m(i) ? (a(), p("div", h({
|
|
70
70
|
key: 0,
|
|
71
71
|
ref_key: "popupEl",
|
|
72
72
|
ref: d,
|
|
73
73
|
id: m(n)
|
|
74
74
|
}, e.$attrs, { role: "tooltip" }), [
|
|
75
75
|
f(e.$slots, "content", {}, () => [
|
|
76
|
-
S(
|
|
76
|
+
B(S(l.text), 1)
|
|
77
77
|
])
|
|
78
|
-
], 16, I)) :
|
|
78
|
+
], 16, I)) : A("", !0)
|
|
79
79
|
]))
|
|
80
80
|
], 64));
|
|
81
81
|
}
|
|
@@ -5,14 +5,15 @@ type __VLS_Props = {
|
|
|
5
5
|
name?: string;
|
|
6
6
|
formValue?: (item: any) => Record<string, string> | string;
|
|
7
7
|
};
|
|
8
|
-
type
|
|
8
|
+
type __VLS_ModelProps = {
|
|
9
9
|
modelValue?: any;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
+
declare var __VLS_11: {
|
|
12
13
|
popoverId: string;
|
|
13
14
|
isOpen: boolean;
|
|
14
15
|
toggle: () => void;
|
|
15
|
-
displayValue:
|
|
16
|
+
displayValue: string;
|
|
16
17
|
attrs: {
|
|
17
18
|
id: string;
|
|
18
19
|
"aria-controls": string | undefined;
|
|
@@ -23,9 +24,9 @@ declare var __VLS_9: {
|
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
26
|
type __VLS_Slots = {} & {
|
|
26
|
-
default?: (props: typeof
|
|
27
|
+
default?: (props: typeof __VLS_11) => any;
|
|
27
28
|
};
|
|
28
|
-
declare const
|
|
29
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
30
|
"update:modelValue": (value: any) => any;
|
|
30
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
32
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -33,7 +34,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
33
34
|
displayValue: (value: any) => string;
|
|
34
35
|
formValue: (item: any) => Record<string, string> | string;
|
|
35
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
-
declare const
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
37
39
|
export default _default;
|
|
38
40
|
type __VLS_WithSlots<T, S> = T & {
|
|
39
41
|
new (): {
|
|
@@ -2,5 +2,6 @@ type __VLS_Props = {
|
|
|
2
2
|
name: string;
|
|
3
3
|
value: any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string | undefined) => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
8
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -10,8 +10,9 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
17
18
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,14 +2,15 @@ type __VLS_Props = {
|
|
|
2
2
|
orientation?: "horizontal" | "vertical";
|
|
3
3
|
loop?: boolean;
|
|
4
4
|
};
|
|
5
|
-
type
|
|
5
|
+
type __VLS_ModelProps = {
|
|
6
6
|
modelValue?: any;
|
|
7
7
|
};
|
|
8
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
9
|
declare var __VLS_1: {};
|
|
9
10
|
type __VLS_Slots = {} & {
|
|
10
11
|
default?: (props: typeof __VLS_1) => any;
|
|
11
12
|
};
|
|
12
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
14
|
"update:modelValue": (value: any) => any;
|
|
14
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
16
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -17,7 +18,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
17
18
|
loop: boolean;
|
|
18
19
|
orientation: "horizontal" | "vertical";
|
|
19
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
25
|
new (): {
|
|
@@ -10,8 +10,9 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
17
18
|
new (): {
|
|
@@ -6,9 +6,10 @@ type __VLS_Props = {
|
|
|
6
6
|
position?: "fixed" | "absolute";
|
|
7
7
|
};
|
|
8
8
|
declare function onActivatorKeyDown(evt: KeyboardEvent): void;
|
|
9
|
-
type
|
|
9
|
+
type __VLS_ModelProps = {
|
|
10
10
|
modelValue?: any;
|
|
11
11
|
};
|
|
12
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
13
|
declare var __VLS_1: {
|
|
13
14
|
attrs: {
|
|
14
15
|
id: string;
|
|
@@ -24,7 +25,7 @@ declare var __VLS_1: {
|
|
|
24
25
|
type __VLS_Slots = {} & {
|
|
25
26
|
default?: (props: typeof __VLS_1) => any;
|
|
26
27
|
};
|
|
27
|
-
declare const
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
29
|
"update:modelValue": (value: any) => any;
|
|
29
30
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
31
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -33,7 +34,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
33
34
|
align: "top" | "bottom" | "left" | "right" | "center" | "stretch";
|
|
34
35
|
position: "fixed" | "absolute";
|
|
35
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
-
declare const
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
37
39
|
export default _default;
|
|
38
40
|
type __VLS_WithSlots<T, S> = T & {
|
|
39
41
|
new (): {
|
|
@@ -10,12 +10,13 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
select: (value: any) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
16
|
onSelect?: ((value: any) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
21
22
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -23,7 +23,7 @@ declare var __VLS_1: {
|
|
|
23
23
|
type __VLS_Slots = {} & {
|
|
24
24
|
default?: (props: typeof __VLS_1) => any;
|
|
25
25
|
};
|
|
26
|
-
declare const
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
27
|
role: "dialog" | "listbox" | "menu" | "tree" | "grid";
|
|
28
28
|
direction: "up" | "down" | "left" | "right";
|
|
29
29
|
align: "top" | "bottom" | "left" | "right" | "center" | "stretch";
|
|
@@ -31,7 +31,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
31
31
|
closeOnOutsideClick: boolean;
|
|
32
32
|
closeOnInsideClick: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
declare const
|
|
34
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
35
36
|
export default _default;
|
|
36
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
37
38
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -7,8 +7,9 @@ declare var __VLS_1: {};
|
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_1) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string | number;
|
|
3
3
|
};
|
|
4
4
|
declare var __VLS_1: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_1) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: string | number | undefined) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
@@ -5,10 +5,11 @@ declare var __VLS_1: {};
|
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_1) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
9
|
orientation: "horizontal" | "vertical";
|
|
10
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -5,8 +5,9 @@ declare var __VLS_1: {};
|
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_1) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
12
13
|
new (): {
|
|
@@ -16,16 +16,17 @@ declare var __VLS_1: {
|
|
|
16
16
|
onblur: typeof close;
|
|
17
17
|
onkeydown: typeof onKeyDown;
|
|
18
18
|
};
|
|
19
|
-
},
|
|
19
|
+
}, __VLS_9: {};
|
|
20
20
|
type __VLS_Slots = {} & {
|
|
21
21
|
default?: (props: typeof __VLS_1) => any;
|
|
22
22
|
} & {
|
|
23
|
-
content?: (props: typeof
|
|
23
|
+
content?: (props: typeof __VLS_9) => any;
|
|
24
24
|
};
|
|
25
|
-
declare const
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
26
|
direction: "up" | "down" | "left" | "right";
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
29
30
|
export default _default;
|
|
30
31
|
type __VLS_WithSlots<T, S> = T & {
|
|
31
32
|
new (): {
|
package/dist/types/main.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { useList } from "./composables/list";
|
|
|
3
3
|
export { useListOption } from "./composables/listOption";
|
|
4
4
|
export { useFormControl } from "./composables/formControl";
|
|
5
5
|
export { useHTMLElement } from "./utils/element";
|
|
6
|
-
export { useValidation } from "./utils/validation";
|
|
6
|
+
export { useValidation, type Validator } from "./utils/validation";
|
|
7
7
|
export * from "./components/injectionKeys";
|
|
8
8
|
export { default as Listbox } from "./components/listbox/listbox.vue";
|
|
9
9
|
export { default as ListboxOption } from "./components/listbox/listboxOption.vue";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-composable-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"vue": "^3.5.12"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@release-it/conventional-changelog": "^
|
|
41
|
-
"@types/node": "^
|
|
40
|
+
"@release-it/conventional-changelog": "^11.0.1",
|
|
41
|
+
"@types/node": "^26.0.0",
|
|
42
42
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
43
|
-
"glob": "^
|
|
44
|
-
"release-it": "^
|
|
43
|
+
"glob": "^13.0.6",
|
|
44
|
+
"release-it": "^20.2.0",
|
|
45
45
|
"sass": "^1.69.5",
|
|
46
46
|
"typescript": "^5.0.2",
|
|
47
47
|
"vite": "^7.0.6",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, inject as r, createElementBlock as i, createCommentVNode as c, unref as e, openBlock as m, renderSlot as s } from "vue";
|
|
2
|
-
import { injectCombobox as p } from "./composable-ui25.js";
|
|
3
|
-
const d = ["id"], f = /* @__PURE__ */ n({
|
|
4
|
-
__name: "comboboxOptions",
|
|
5
|
-
setup(b) {
|
|
6
|
-
const o = r(p);
|
|
7
|
-
if (!o)
|
|
8
|
-
throw new Error("Combobox injectable context is not provided");
|
|
9
|
-
return (t, l) => e(o).isOpen.value ? (m(), i("div", {
|
|
10
|
-
key: 0,
|
|
11
|
-
id: e(o).popoverId,
|
|
12
|
-
role: "listbox"
|
|
13
|
-
}, [
|
|
14
|
-
s(t.$slots, "default")
|
|
15
|
-
], 8, d)) : c("", !0);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
f as _
|
|
20
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, inject as a, createElementBlock as i, createCommentVNode as c, unref as r, openBlock as l, renderSlot as p } from "vue";
|
|
2
|
-
import { injectPopover as d } from "./composable-ui25.js";
|
|
3
|
-
const s = ["id", "role", "aria-labelledby"], v = /* @__PURE__ */ n({
|
|
4
|
-
__name: "popoverDialog",
|
|
5
|
-
setup(u) {
|
|
6
|
-
const e = a(d);
|
|
7
|
-
if (!e)
|
|
8
|
-
throw new Error("Popover injectable context is not provided");
|
|
9
|
-
function t(o) {
|
|
10
|
-
switch (o.code) {
|
|
11
|
-
case "Escape":
|
|
12
|
-
e.close();
|
|
13
|
-
break;
|
|
14
|
-
default:
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
o.preventDefault();
|
|
18
|
-
}
|
|
19
|
-
return (o, f) => r(e).isOpen.value ? (l(), i("div", {
|
|
20
|
-
key: 0,
|
|
21
|
-
onKeydown: t,
|
|
22
|
-
id: r(e).popoverId,
|
|
23
|
-
role: r(e).role,
|
|
24
|
-
"aria-labelledby": r(e).activatorId,
|
|
25
|
-
tabindex: "-1"
|
|
26
|
-
}, [
|
|
27
|
-
p(o.$slots, "default")
|
|
28
|
-
], 40, s)) : c("", !0);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
v as _
|
|
33
|
-
};
|