@soybeanjs/headless 0.0.6 → 0.0.7
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/components/accordion/accordion-content.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
- package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/alert/alert-close.vue.d.ts +2 -2
- package/dist/components/alert/alert-content.vue.d.ts +2 -2
- package/dist/components/alert/alert-description.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.vue.d.ts +4 -4
- package/dist/components/alert/alert-title.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- package/dist/components/arrow/arrow.vue.d.ts +5 -5
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
- package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
- package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
- package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
- package/dist/components/badge/badge-content.vue.d.ts +2 -2
- package/dist/components/badge/badge-root.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/card/card-content.vue.d.ts +2 -2
- package/dist/components/card/card-description.vue.d.ts +2 -2
- package/dist/components/card/card-footer.vue.d.ts +2 -2
- package/dist/components/card/card-header.vue.d.ts +2 -2
- package/dist/components/card/card-root.vue.d.ts +2 -2
- package/dist/components/card/card-title-root.vue.d.ts +2 -2
- package/dist/components/card/card-title.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
- package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
- package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/form/form-description.vue.d.ts +2 -2
- package/dist/components/form/form-error.vue.d.ts +2 -2
- package/dist/components/form/form-field-array.vue.d.ts +2 -2
- package/dist/components/form/form-field.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/input-control.vue.d.ts +2 -2
- package/dist/components/input/input-root.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +2 -2
- package/dist/components/layout/layout-footer.vue.d.ts +2 -2
- package/dist/components/layout/layout-header.vue.d.ts +2 -2
- package/dist/components/layout/layout-main.vue.d.ts +2 -2
- package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +4 -4
- package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/link.vue.d.ts +4 -4
- package/dist/components/list/list-content.vue.d.ts +2 -2
- package/dist/components/list/list-description.vue.d.ts +2 -2
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list-root.vue.d.ts +2 -2
- package/dist/components/list/list-title.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
- package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
- package/dist/components/menu/menu-group.vue.d.ts +2 -2
- package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
- package/dist/components/menu/menu-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-root.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
- package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
- package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
- package/dist/components/popover/popover-close.vue.d.ts +4 -4
- package/dist/components/popover/popover-content.vue.d.ts +6 -6
- package/dist/components/popover/popover-root.vue.d.ts +4 -4
- package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
- package/dist/components/popper/context.d.ts +5 -5
- package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
- package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
- package/dist/components/popper/popper-content.vue.d.ts +9 -9
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
- package/dist/components/select/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content.vue.d.ts +8 -8
- package/dist/components/select/select-group-label.vue.d.ts +2 -2
- package/dist/components/select/select-group.vue.d.ts +2 -2
- package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
- package/dist/components/select/select-item-text.vue.d.ts +2 -2
- package/dist/components/select/select-item.vue.d.ts +4 -4
- package/dist/components/select/select-root.vue.d.ts +5 -5
- package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
- package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
- package/dist/components/select/select-separator.vue.d.ts +2 -2
- package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
- package/dist/components/select/select-trigger.vue.d.ts +4 -4
- package/dist/components/select/select-value.vue.d.ts +3 -3
- package/dist/components/select/select-viewport.vue.d.ts +2 -2
- package/dist/components/separator/separator-label.vue.d.ts +2 -2
- package/dist/components/separator/separator-root.vue.d.ts +3 -3
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.vue.d.ts +3 -3
- package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
- package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
- package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
- package/dist/components/toast/toast-action.vue.d.ts +4 -4
- package/dist/components/toast/toast-close.vue.d.ts +4 -4
- package/dist/components/toast/toast-description.vue.d.ts +2 -2
- package/dist/components/toast/toast-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +5 -5
- package/dist/components/toast/toast-title.vue.d.ts +2 -2
- package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-content.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
- package/dist/components/tree/tree-item.vue.d.ts +5 -5
- package/dist/components/tree/tree-root.vue.d.ts +3 -3
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +4 -4
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
- package/dist/composables/use-image-loading-status.d.ts +2 -2
- package/dist/composables/use-is-using-keyboard.d.ts +2 -2
- package/dist/composables/use-kbd.d.ts +2 -2
- package/dist/composables/use-locale.d.ts +2 -2
- package/dist/composables/use-nonce.d.ts +2 -2
- package/dist/composables/use-presence.d.ts +2 -2
- package/dist/composables/use-props.d.ts +3 -3
- package/dist/composables/use-selection.d.ts +4 -4
- package/dist/composables/use-selection.js +1 -1
- package/package.json +3 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ToastCloseProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1001 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-close.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1001.DefineComponent<ToastCloseProps, {}, {}, {}, {}, vue1001.ComponentOptionsMixin, vue1001.ComponentOptionsMixin, {}, string, vue1001.PublicProps, Readonly<ToastCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1001.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1001.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ToastDescriptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue970 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/toast/toast-description.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue970.DefineComponent<ToastDescriptionProps, {}, {}, {}, {}, vue970.ComponentOptionsMixin, vue970.ComponentOptionsMixin, {}, string, vue970.PublicProps, Readonly<ToastDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue970.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SwipeDirection } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { ToastProviderProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue954 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-provider.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue954.DefineComponent<ToastProviderProps, {}, {}, {}, {}, vue954.ComponentOptionsMixin, vue954.ComponentOptionsMixin, {}, string, vue954.PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
|
|
12
12
|
label: string;
|
|
13
13
|
duration: number;
|
|
14
14
|
swipeDirection: SwipeDirection;
|
|
15
15
|
swipeThreshold: number;
|
|
16
|
-
}, {}, {}, {}, string,
|
|
16
|
+
}, {}, {}, {}, string, vue954.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,7 +3,7 @@ import "../../types/index.js";
|
|
|
3
3
|
import { AsTag } from "../primitive/types.js";
|
|
4
4
|
import "../primitive/index.js";
|
|
5
5
|
import { ToastLiveType, ToastRootProps } from "./types.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue1013 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/toast/toast-root.vue.d.ts
|
|
9
9
|
declare var __VLS_22: {
|
|
@@ -13,7 +13,7 @@ declare var __VLS_22: {
|
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
default?: (props: typeof __VLS_22) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue1013.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue1013.ComponentOptionsMixin, vue1013.ComponentOptionsMixin, {
|
|
17
17
|
pause: () => any;
|
|
18
18
|
"update:open": (value: boolean) => any;
|
|
19
19
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_base: vue234.DefineComponent<ToastRootProps, {}, {}, {}, {},
|
|
|
22
22
|
swipeMove: (event: SwipeEvent) => any;
|
|
23
23
|
swipeCancel: (event: SwipeEvent) => any;
|
|
24
24
|
swipeEnd: (event: SwipeEvent) => any;
|
|
25
|
-
}, string,
|
|
25
|
+
}, string, vue1013.PublicProps, Readonly<ToastRootProps> & Readonly<{
|
|
26
26
|
onPause?: (() => any) | undefined;
|
|
27
27
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
28
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -33,10 +33,10 @@ declare const __VLS_base: vue234.DefineComponent<ToastRootProps, {}, {}, {}, {},
|
|
|
33
33
|
onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
open: boolean;
|
|
36
|
-
as: AsTag |
|
|
36
|
+
as: AsTag | vue1013.Component;
|
|
37
37
|
defaultOpen: boolean;
|
|
38
38
|
liveType: ToastLiveType;
|
|
39
|
-
}, {}, {}, {}, string,
|
|
39
|
+
}, {}, {}, {}, string, vue1013.ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
41
|
declare const _default: typeof __VLS_export;
|
|
42
42
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ToastTitleProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue959 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/toast/toast-title.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue959.DefineComponent<ToastTitleProps, {}, {}, {}, {}, vue959.ComponentOptionsMixin, vue959.ComponentOptionsMixin, {}, string, vue959.PublicProps, Readonly<ToastTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue959.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ToastViewportProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1007 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-viewport.vue.d.ts
|
|
7
7
|
declare var __VLS_14: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_14) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1007.DefineComponent<ToastViewportProps, {}, {}, {}, {}, vue1007.ComponentOptionsMixin, vue1007.ComponentOptionsMixin, {}, string, vue1007.PublicProps, Readonly<ToastViewportProps> & Readonly<{}>, {
|
|
12
12
|
label: string | ((hotkey: string) => string);
|
|
13
|
-
as: AsTag |
|
|
13
|
+
as: AsTag | vue1007.Component;
|
|
14
14
|
hotkey: string[];
|
|
15
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, vue1007.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { TooltipContentProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue743 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/tooltip-content.vue.d.ts
|
|
7
7
|
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue743.DefineComponent<TooltipContentProps, {}, {}, {}, {}, vue743.ComponentOptionsMixin, vue743.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue743.PublicProps, Readonly<TooltipContentProps> & Readonly<{
|
|
15
15
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16
16
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string,
|
|
17
|
+
}>, {}, {}, {}, {}, string, vue743.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue732 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tooltip/tooltip-root.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -8,14 +8,14 @@ declare var __VLS_8: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue732.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue732.ComponentOptionsMixin, vue732.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue732.PublicProps, Readonly<TooltipRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
17
|
defaultOpen: boolean;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue732.ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,16 +2,16 @@ import { AsTag } from "../primitive/types.js";
|
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
4
4
|
import "./types.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue737 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tooltip/tooltip-trigger.vue.d.ts
|
|
8
8
|
declare var __VLS_8: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_8) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
as: AsTag |
|
|
14
|
-
}, {}, {}, {}, string,
|
|
12
|
+
declare const __VLS_base: vue737.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue737.ComponentOptionsMixin, vue737.ComponentOptionsMixin, {}, string, vue737.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
|
|
13
|
+
as: AsTag | vue737.Component;
|
|
14
|
+
}, {}, {}, {}, string, vue737.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,7 +3,7 @@ import "../../types/index.js";
|
|
|
3
3
|
import { AsTag } from "../primitive/types.js";
|
|
4
4
|
import "../primitive/index.js";
|
|
5
5
|
import { TreeItemProps } from "./types.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue764 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/tree/tree-item.vue.d.ts
|
|
9
9
|
declare var __VLS_18: {
|
|
@@ -15,15 +15,15 @@ declare var __VLS_18: {
|
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
16
|
default?: (props: typeof __VLS_18) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base:
|
|
18
|
+
declare const __VLS_base: vue764.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue764.ComponentOptionsMixin, vue764.ComponentOptionsMixin, {
|
|
19
19
|
select: (event: TreeSelectEvent<string>) => any;
|
|
20
20
|
toggle: (event: TreeToggleEvent<string>) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue764.PublicProps, Readonly<TreeItemProps> & Readonly<{
|
|
22
22
|
onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
|
|
23
23
|
onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
as: AsTag |
|
|
26
|
-
}, {}, {}, {}, string,
|
|
25
|
+
as: AsTag | vue764.Component;
|
|
26
|
+
}, {}, {}, {}, string, vue764.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { MaybeArray } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { FlattenedItem, TreeItemData, TreeRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue775 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree/tree-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
10
10
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
11
|
-
}> &
|
|
11
|
+
}> & vue775.PublicProps & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
14
14
|
expose: (exposed: {}) => void;
|
|
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
23
23
|
}) => any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
26
|
-
}>) =>
|
|
26
|
+
}>) => vue775.VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TreeSelectEvent, TreeToggleEvent } from "../../types/event.js";
|
|
2
2
|
import { TreeVirtualizerItemProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue770 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree/tree-virtualizer-item.vue.d.ts
|
|
7
7
|
declare var __VLS_12: {
|
|
@@ -13,13 +13,13 @@ declare var __VLS_12: {
|
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
default?: (props: typeof __VLS_12) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue770.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue770.ComponentOptionsMixin, vue770.ComponentOptionsMixin, {
|
|
17
17
|
select: (event: TreeSelectEvent<string>) => any;
|
|
18
18
|
toggle: (event: TreeToggleEvent<string>) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue770.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
|
|
20
20
|
onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
|
|
21
21
|
onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string,
|
|
22
|
+
}>, {}, {}, {}, {}, string, vue770.ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybeArray } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { FlattenedItem, TreeItemData, TreeVirtualizerRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue762 from "vue";
|
|
5
5
|
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tree/tree-virtualizer-root.vue.d.ts
|
|
@@ -9,7 +9,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
9
9
|
props: __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
11
11
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
12
|
-
}> &
|
|
12
|
+
}> & vue762.PublicProps & (typeof globalThis extends {
|
|
13
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
14
14
|
} ? P : {});
|
|
15
15
|
expose: (exposed: {}) => void;
|
|
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
23
23
|
}) => any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
26
|
-
}>) =>
|
|
26
|
+
}>) => vue762.VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VirtualizerContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue469 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/virtualizer/virtualizer-content.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_3) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue469.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VirtualizerItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue464 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/virtualizer/virtualizer-item.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue464.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue464.ComponentOptionsMixin, vue464.ComponentOptionsMixin, {}, string, vue464.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue464.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { VirtualizerRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue474 from "vue";
|
|
3
3
|
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
4
4
|
|
|
5
5
|
//#region src/components/virtualizer/virtualizer-root.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props: __VLS_PrettifyLocal<VirtualizerRootProps<T>> &
|
|
7
|
+
props: __VLS_PrettifyLocal<VirtualizerRootProps<T>> & vue474.PublicProps & (typeof globalThis extends {
|
|
8
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
9
9
|
} ? P : {});
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNull
|
|
|
16
16
|
}) => any;
|
|
17
17
|
};
|
|
18
18
|
emit: {};
|
|
19
|
-
}>) =>
|
|
19
|
+
}>) => vue474.VNode & {
|
|
20
20
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
21
|
};
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { VisuallyHiddenInputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue754 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/visually-hidden/visually-hidden-input.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: __VLS_PrettifyLocal<VisuallyHiddenInputProps<T>> &
|
|
6
|
+
props: __VLS_PrettifyLocal<VisuallyHiddenInputProps<T>> & vue754.PublicProps & (typeof globalThis extends {
|
|
7
7
|
__VLS_PROPS_FALLBACK: infer P;
|
|
8
8
|
} ? P : {});
|
|
9
9
|
expose: (exposed: {}) => void;
|
|
10
10
|
attrs: any;
|
|
11
|
-
slots:
|
|
11
|
+
slots: {};
|
|
12
12
|
emit: {};
|
|
13
|
-
}>) =>
|
|
13
|
+
}>) => vue754.VNode & {
|
|
14
14
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { VisuallyHiddenFeature, VisuallyHiddenProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue748 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/visually-hidden/visually-hidden.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
11
|
+
declare const __VLS_base: vue748.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue748.ComponentOptionsMixin, vue748.ComponentOptionsMixin, {}, string, vue748.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue748.Component;
|
|
13
13
|
feature: VisuallyHiddenFeature;
|
|
14
|
-
}, {}, {}, {}, string,
|
|
14
|
+
}, {}, {}, {}, string, vue748.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ImageLoadingStatus } from "../types/dom.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue12 from "vue";
|
|
4
4
|
import { ImgHTMLAttributes, MaybeRefOrGetter } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/composables/use-image-loading-status.d.ts
|
|
@@ -15,6 +15,6 @@ interface ImageLoadingOptions {
|
|
|
15
15
|
* @param options - Additional image loading options
|
|
16
16
|
* @returns Reactive loading status
|
|
17
17
|
*/
|
|
18
|
-
declare function useImageLoadingStatus(options: ImageLoadingOptions):
|
|
18
|
+
declare function useImageLoadingStatus(options: ImageLoadingOptions): vue12.ShallowRef<ImageLoadingStatus, ImageLoadingStatus>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { useImageLoadingStatus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue13 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/composables/use-is-using-keyboard.d.ts
|
|
4
|
-
declare function useIsUsingKeyboard():
|
|
4
|
+
declare function useIsUsingKeyboard(): vue13.ComputedRef<boolean>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useIsUsingKeyboard };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { KbdKey } from "../types/common.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue14 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-kbd.d.ts
|
|
6
6
|
declare const kbdMap: Record<KbdKey, string>;
|
|
7
7
|
declare function useKbdKey(): {
|
|
8
|
-
macOS:
|
|
8
|
+
macOS: vue14.ComputedRef<"" | RegExpMatchArray | null>;
|
|
9
9
|
getKeyboardKey: (value?: KbdKey | (string & {})) => string | undefined;
|
|
10
10
|
};
|
|
11
11
|
declare const useKbd: typeof useKbdKey;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue16 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/use-locale.d.ts
|
|
5
|
-
declare function useLocale(locale?: MaybeRefOrGetter<string | undefined>):
|
|
5
|
+
declare function useLocale(locale?: MaybeRefOrGetter<string | undefined>): vue16.ComputedRef<string>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { useLocale };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue15 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/use-nonce.d.ts
|
|
5
|
-
declare function useNonce(nonce?: MaybeRefOrGetter<string | undefined>):
|
|
5
|
+
declare function useNonce(nonce?: MaybeRefOrGetter<string | undefined>): vue15.ComputedRef<string | undefined>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { useNonce };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue17 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter, Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/use-presence.d.ts
|
|
5
|
-
declare function usePresence(elRef: Ref<HTMLElement | null | undefined>, present: MaybeRefOrGetter<boolean | undefined>, onChange?: (value: boolean) => void):
|
|
5
|
+
declare function usePresence(elRef: Ref<HTMLElement | null | undefined>, present: MaybeRefOrGetter<boolean | undefined>, onChange?: (value: boolean) => void): vue17.ComputedRef<boolean>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { usePresence };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue18 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/use-props.d.ts
|
|
5
|
-
declare function usePickProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]):
|
|
6
|
-
declare function useOmitProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]):
|
|
5
|
+
declare function usePickProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue18.ComputedRef<Pick<T, K>>;
|
|
6
|
+
declare function useOmitProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue18.ComputedRef<Omit<T, K>>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { useOmitProps, usePickProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DefinedValue, SelectionProps } from "../types/common.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue20 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-selection.d.ts
|
|
6
6
|
declare function useSelection<M extends boolean = false, N extends DefinedValue = string>(props: SelectionProps<M, N>, onUpdateModelValue: (value: NonNullable<SelectionProps<M, N>['modelValue']>) => void): {
|
|
7
|
-
modelValue:
|
|
7
|
+
modelValue: vue20.ShallowRef<(M extends true ? N[] : N) | undefined>;
|
|
8
8
|
onModelValueChange: (value: N) => void;
|
|
9
|
-
isMultiple:
|
|
10
|
-
isEmptyModelValue:
|
|
9
|
+
isMultiple: vue20.ComputedRef<boolean>;
|
|
10
|
+
isEmptyModelValue: vue20.ComputedRef<boolean>;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
13
|
export { useSelection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isNullish as e}from"../shared/guard.js";import{useControllableState as t}from"./use-controllable-state.js";import{computed as n}from"vue";function r(r,i){let a=n(()=>!!r.multiple),o=t(()=>r.modelValue,e=>{i(e)},s());function s(){return e(r.defaultValue)?
|
|
1
|
+
import{isNullish as e}from"../shared/guard.js";import{useControllableState as t}from"./use-controllable-state.js";import{computed as n}from"vue";function r(r,i){let a=n(()=>!!r.multiple||r.multiple===``),o=t(()=>r.modelValue,e=>{i(e)},s());function s(){return e(r.defaultValue)?a.value?[]:void 0:r.defaultValue}return{modelValue:o,onModelValueChange:e=>{if(!a.value){o.value=o.value===e?void 0:e;return}let t=[...o.value??[]];t=t.includes(e)?t.filter(t=>t!==e):[...t,e],o.value=t},isMultiple:a,isEmptyModelValue:n(()=>a.value&&Array.isArray(o.value)?o.value?.length===0:e(o.value))}}export{r as useSelection};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/headless",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"description": "SoybeanHeadless is a collection unstyled components for Vue 3. It is designed to be lightweight and easy to use.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Soybean",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@internationalized/date": "^3.10.0",
|
|
97
97
|
"@internationalized/number": "^3.6.5",
|
|
98
98
|
"@standard-schema/spec": "^1.0.0",
|
|
99
|
-
"@tanstack/vue-virtual": "^3.13.
|
|
99
|
+
"@tanstack/vue-virtual": "^3.13.13",
|
|
100
100
|
"@vue/shared": "^3.5.25",
|
|
101
101
|
"@vueuse/core": "^14.1.0",
|
|
102
102
|
"@vueuse/integrations": "^14.1.0",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@nuxt/kit": "^4.2.1",
|
|
112
|
-
"tsdown": "0.17.
|
|
112
|
+
"tsdown": "0.17.2",
|
|
113
113
|
"typescript": "5.9.3",
|
|
114
114
|
"unplugin-vue": "7.1.0",
|
|
115
115
|
"unplugin-vue-jsx": "0.8.1",
|