@soybeanjs/headless 0.0.8 → 0.0.9
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.js +1 -1
- 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 +4 -4
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- 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.js +1 -1
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/types.d.ts +4 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
- 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 +4 -4
- 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 +6 -6
- 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/index.d.ts +2 -2
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +5 -4
- package/dist/components/link/types.d.ts +6 -1
- 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 +6 -6
- 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 +6 -6
- 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 +5 -5
- 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 +5 -5
- 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-popup.vue.d.ts +2 -2
- package/dist/components/popover/popover-positioner.vue.d.ts +4 -4
- 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/popper-anchor.vue.d.ts +2 -2
- package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
- package/dist/components/popper/popper-popup.vue.d.ts +2 -2
- package/dist/components/popper/popper-positioner.vue.d.ts +11 -11
- 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 +5 -5
- 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 +4 -4
- 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 +3 -3
- 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 +8 -8
- 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-popup.vue.d.ts +2 -2
- package/dist/components/tooltip/tooltip-positioner.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/tree-menu/context.d.ts +8 -0
- package/dist/components/tree-menu/context.js +1 -0
- package/dist/components/tree-menu/index.d.ts +11 -0
- package/dist/components/tree-menu/index.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-collapsible.js +1 -0
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-group-label.js +1 -0
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +18 -0
- package/dist/components/tree-menu/tree-menu-group-root.js +1 -0
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +18 -0
- package/dist/components/tree-menu/tree-menu-group.js +1 -0
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-item.js +1 -0
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-root.js +1 -0
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +31 -0
- package/dist/components/tree-menu/tree-menu-sub.js +1 -0
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +22 -0
- package/dist/components/tree-menu/types.d.ts +74 -0
- 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 +3 -3
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
- package/dist/composables/use-dismissable-layer.d.ts +2 -2
- package/dist/composables/use-exposed-element.d.ts +2 -2
- 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-props.d.ts +3 -3
- package/dist/composables/use-selection.d.ts +4 -4
- package/dist/index.d.ts +21 -10
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +25 -7
- package/dist/namespaced/index.js +1 -1
- package/package.json +1 -1
|
@@ -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 vue1832 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: vue1832.DefineComponent<ToastCloseProps, {}, {}, {}, {}, vue1832.ComponentOptionsMixin, vue1832.ComponentOptionsMixin, {}, string, vue1832.PublicProps, Readonly<ToastCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1832.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1832.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 vue1849 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: vue1849.DefineComponent<ToastDescriptionProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<ToastDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.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 vue1821 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: vue1821.DefineComponent<ToastProviderProps, {}, {}, {}, {}, vue1821.ComponentOptionsMixin, vue1821.ComponentOptionsMixin, {}, string, vue1821.PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
|
|
12
12
|
label: string;
|
|
13
13
|
duration: number;
|
|
14
14
|
swipeDirection: SwipeDirection;
|
|
15
15
|
swipeThreshold: number;
|
|
16
|
-
}, {}, {}, {}, string,
|
|
16
|
+
}, {}, {}, {}, string, vue1821.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 vue1826 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/toast/toast-root.vue.d.ts
|
|
9
9
|
declare var __VLS_23: {
|
|
@@ -13,30 +13,30 @@ declare var __VLS_23: {
|
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
default?: (props: typeof __VLS_23) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue1826.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue1826.ComponentOptionsMixin, vue1826.ComponentOptionsMixin, {
|
|
17
17
|
pause: () => any;
|
|
18
|
+
"update:open": (value: boolean) => any;
|
|
18
19
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
19
20
|
resume: () => any;
|
|
20
21
|
swipeStart: (event: SwipeEvent) => any;
|
|
21
22
|
swipeMove: (event: SwipeEvent) => any;
|
|
22
23
|
swipeCancel: (event: SwipeEvent) => any;
|
|
23
24
|
swipeEnd: (event: SwipeEvent) => any;
|
|
24
|
-
|
|
25
|
-
}, string, vue106.PublicProps, Readonly<ToastRootProps> & Readonly<{
|
|
25
|
+
}, string, vue1826.PublicProps, Readonly<ToastRootProps> & Readonly<{
|
|
26
26
|
onPause?: (() => any) | undefined;
|
|
27
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
28
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
28
29
|
onResume?: (() => any) | undefined;
|
|
29
30
|
onSwipeStart?: ((event: SwipeEvent) => any) | undefined;
|
|
30
31
|
onSwipeMove?: ((event: SwipeEvent) => any) | undefined;
|
|
31
32
|
onSwipeCancel?: ((event: SwipeEvent) => any) | undefined;
|
|
32
33
|
onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
|
|
33
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
as: AsTag |
|
|
35
|
+
as: AsTag | vue1826.Component;
|
|
36
36
|
open: boolean;
|
|
37
|
-
liveType: ToastLiveType;
|
|
38
37
|
defaultOpen: boolean;
|
|
39
|
-
|
|
38
|
+
liveType: ToastLiveType;
|
|
39
|
+
}, {}, {}, {}, string, vue1826.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 vue1838 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: vue1838.DefineComponent<ToastTitleProps, {}, {}, {}, {}, vue1838.ComponentOptionsMixin, vue1838.ComponentOptionsMixin, {}, string, vue1838.PublicProps, Readonly<ToastTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1838.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 vue1815 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: vue1815.DefineComponent<ToastViewportProps, {}, {}, {}, {}, vue1815.ComponentOptionsMixin, vue1815.ComponentOptionsMixin, {}, string, vue1815.PublicProps, Readonly<ToastViewportProps> & Readonly<{}>, {
|
|
12
12
|
label: string | ((hotkey: string) => string);
|
|
13
|
-
as: AsTag |
|
|
13
|
+
as: AsTag | vue1815.Component;
|
|
14
14
|
hotkey: string[];
|
|
15
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, vue1815.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,12 +1,12 @@
|
|
|
1
1
|
import { TooltipPopupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1556 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tooltip/tooltip-popup.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: vue1556.DefineComponent<TooltipPopupProps, {}, {}, {}, {}, vue1556.ComponentOptionsMixin, vue1556.ComponentOptionsMixin, {}, string, vue1556.PublicProps, Readonly<TooltipPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1556.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,20 +1,20 @@
|
|
|
1
1
|
import { PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { TooltipPositionerProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1561 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/tooltip-positioner.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:
|
|
11
|
+
declare const __VLS_base: vue1561.DefineComponent<TooltipPositionerProps, {}, {}, {}, {}, vue1561.ComponentOptionsMixin, vue1561.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1561.PublicProps, Readonly<TooltipPositionerProps> & Readonly<{
|
|
15
15
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16
16
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string,
|
|
17
|
+
}>, {}, {}, {}, {}, string, vue1561.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 vue1545 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: vue1545.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue1545.ComponentOptionsMixin, vue1545.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1545.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, vue1545.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 vue1550 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: vue1550.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1550.ComponentOptionsMixin, vue1550.ComponentOptionsMixin, {}, string, vue1550.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
|
|
13
|
+
as: AsTag | vue1550.Component;
|
|
14
|
+
}, {}, {}, {}, string, vue1550.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 vue257 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/tree/tree-item.vue.d.ts
|
|
9
9
|
declare var __VLS_19: {
|
|
@@ -15,15 +15,15 @@ declare var __VLS_19: {
|
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
16
|
default?: (props: typeof __VLS_19) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base:
|
|
18
|
+
declare const __VLS_base: vue257.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue257.ComponentOptionsMixin, vue257.ComponentOptionsMixin, {
|
|
19
19
|
select: (event: TreeSelectEvent<string>) => any;
|
|
20
20
|
toggle: (event: TreeToggleEvent<string>) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue257.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 | vue257.Component;
|
|
26
|
+
}, {}, {}, {}, string, vue257.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,11 +1,11 @@
|
|
|
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 vue255 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
|
-
props:
|
|
8
|
+
props: vue255.PublicProps & __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
|
}> & (typeof globalThis extends {
|
|
@@ -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
|
+
}>) => vue255.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 vue250 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree/tree-virtualizer-item.vue.d.ts
|
|
7
7
|
declare var __VLS_14: {
|
|
@@ -13,13 +13,13 @@ declare var __VLS_14: {
|
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
default?: (props: typeof __VLS_14) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue250.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue250.ComponentOptionsMixin, vue250.ComponentOptionsMixin, {
|
|
17
17
|
select: (event: TreeSelectEvent<string>) => any;
|
|
18
18
|
toggle: (event: TreeToggleEvent<string>) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue250.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
|
|
20
20
|
onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
|
|
21
21
|
onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string,
|
|
22
|
+
}>, {}, {}, {}, {}, string, vue250.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,12 +1,12 @@
|
|
|
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 vue248 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
|
|
8
8
|
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<{
|
|
9
|
-
props:
|
|
9
|
+
props: vue248.PublicProps & __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
|
}> & (typeof globalThis extends {
|
|
@@ -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
|
+
}>) => vue248.VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TreeMenuThemeContextParams } from "./types.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/context.d.ts
|
|
5
|
+
|
|
6
|
+
declare const provideTreeMenuThemeContext: (params: TreeMenuThemeContextParams) => TreeMenuThemeContextParams, useTreeMenuThemeContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: TreeMenuThemeContextParams | undefined) => N extends null | undefined ? TreeMenuThemeContextParams | null : TreeMenuThemeContextParams;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useContext as e}from"../../composables/use-context.js";const[t,n]=e(`TreeMenuRoot`,e=>{let{modelValue:t,expanded:n,collapsed:r}=e,i=e=>{t.value=e},a=e=>{n.value=e},o=e=>{n.value.includes(e)?n.value=n.value.filter(t=>t!==e):n.value=[...n.value,e]},s=e=>{r.value=e};return{...e,onModelValueChange:i,onExpandedChange:a,onExpandedToggle:o,onCollapsedChange:s}}),[r,i]=e(`TreeMenuItem`,e=>e),[a,o]=e(`TreeMenuTheme`,e=>e);export{r as provideTreeMenuItemContext,t as provideTreeMenuRootContext,a as provideTreeMenuThemeContext,i as useTreeMenuItemContext,n as useTreeMenuRootContext,o as useTreeMenuThemeContext};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TreeMenuBaseItemProps, TreeMenuButtonProps, TreeMenuCollapsedState, TreeMenuCollapsibleProps, TreeMenuGroupLabelProps, TreeMenuGroupProps, TreeMenuGroupRootProps, TreeMenuItemProps, TreeMenuRootEmits, TreeMenuRootProps, TreeMenuSubProps, TreeMenuThemeSlot, TreeMenuUi } from "./types.js";
|
|
2
|
+
import { _default as _default$6 } from "./tree-menu-root.vue.js";
|
|
3
|
+
import { _default as _default$4 } from "./tree-menu-group-root.vue.js";
|
|
4
|
+
import { _default as _default$2 } from "./tree-menu-group.vue.js";
|
|
5
|
+
import { _default as _default$3 } from "./tree-menu-group-label.vue.js";
|
|
6
|
+
import { _default as _default$5 } from "./tree-menu-item.vue.js";
|
|
7
|
+
import { _default } from "./tree-menu-button.vue.js";
|
|
8
|
+
import { _default as _default$1 } from "./tree-menu-collapsible.vue.js";
|
|
9
|
+
import { _default as _default$7 } from "./tree-menu-sub.vue.js";
|
|
10
|
+
import { provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext } from "./context.js";
|
|
11
|
+
export { type TreeMenuBaseItemProps, _default as TreeMenuButton, type TreeMenuButtonProps, type TreeMenuCollapsedState, _default$1 as TreeMenuCollapsible, type TreeMenuCollapsibleProps, _default$2 as TreeMenuGroup, _default$3 as TreeMenuGroupLabel, type TreeMenuGroupLabelProps, type TreeMenuGroupProps, _default$4 as TreeMenuGroupRoot, type TreeMenuGroupRootProps, _default$5 as TreeMenuItem, type TreeMenuItemProps, _default$6 as TreeMenuRoot, type TreeMenuRootEmits, type TreeMenuRootProps, _default$7 as TreeMenuSub, type TreeMenuSubProps, type TreeMenuThemeSlot, type TreeMenuUi, provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{provideTreeMenuThemeContext as e,useTreeMenuRootContext as t,useTreeMenuThemeContext as n}from"./context.js";import r from"./tree-menu-root.js";import i from"./tree-menu-group-root.js";import a from"./tree-menu-group.js";import o from"./tree-menu-group-label.js";import s from"./tree-menu-item.js";import c from"./tree-menu-button.js";import l from"./tree-menu-collapsible.js";import u from"./tree-menu-sub.js";export{c as TreeMenuButton,l as TreeMenuCollapsible,a as TreeMenuGroup,o as TreeMenuGroupLabel,i as TreeMenuGroupRoot,s as TreeMenuItem,r as TreeMenuRoot,u as TreeMenuSub,e as provideTreeMenuThemeContext,t as useTreeMenuRootContext,n as useTreeMenuThemeContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuItemContext as t,useTreeMenuThemeContext as n}from"./context.js";import{computed as r,createBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";var d=a({name:`TreeMenuButton`,__name:`tree-menu-button`,props:{disabledActive:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(a){let d=a,f=n(),p=r(()=>f?.value?.button),{isActive:m,onActive:h}=t(`TreeMenuButton`),g=()=>{d.disabledActive||h()};return(t,n)=>(s(),i(l(e),{as:a.as,"as-child":a.asChild,class:o(p.value),"data-active":l(m),onClick:g},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-active`]))}});export{d as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuButtonProps } from "./types.js";
|
|
4
|
+
import * as vue861 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-button.vue.d.ts
|
|
7
|
+
declare var __VLS_10: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_10) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue861.DefineComponent<TreeMenuButtonProps, {}, {}, {}, {}, vue861.ComponentOptionsMixin, vue861.ComponentOptionsMixin, {}, string, vue861.PublicProps, Readonly<TreeMenuButtonProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue861.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue861.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../collapsible/collapsible-root.js";import t from"../collapsible/collapsible-content.js";import n from"../collapsible/collapsible-trigger.js";import{useTreeMenuItemContext as r,useTreeMenuThemeContext as i}from"./context.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,normalizeClass as l,openBlock as u,renderSlot as d,unref as f,withCtx as p}from"vue";var m=c({name:`TreeMenuCollapsible`,__name:`tree-menu-collapsible`,props:{disabledCollapsible:{type:Boolean},asChild:{type:Boolean},as:{}},setup(c){let{isExpanded:m,onExpandedToggle:h}=r(`TreeMenuCollapsible`),g=i(),_=a(()=>g?.value?.collapsibleContent);return(r,i)=>(u(),o(f(e),{as:c.as,open:f(m),"onUpdate:open":f(h)},{default:p(()=>[s(f(n),{"as-child":``,"disabled-collapsible":c.disabledCollapsible},{default:p(()=>[d(r.$slots,`trigger`)]),_:3},8,[`disabled-collapsible`]),d(r.$slots,`extra`),s(f(t),{class:l(_.value)},{default:p(()=>[d(r.$slots,`default`)]),_:3},8,[`class`])]),_:3},8,[`as`,`open`,`onUpdate:open`]))}});export{m as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TreeMenuCollapsibleProps } from "./types.js";
|
|
2
|
+
import * as vue885 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-collapsible.vue.d.ts
|
|
5
|
+
declare var __VLS_16: {}, __VLS_18: {}, __VLS_26: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
trigger?: (props: typeof __VLS_16) => any;
|
|
8
|
+
} & {
|
|
9
|
+
extra?: (props: typeof __VLS_18) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_26) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: vue885.DefineComponent<TreeMenuCollapsibleProps, {}, {}, {}, {}, vue885.ComponentOptionsMixin, vue885.ComponentOptionsMixin, {}, string, vue885.PublicProps, Readonly<TreeMenuCollapsibleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue885.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTreeMenuThemeContext as e}from"./context.js";import{computed as t,createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o}from"vue";var s=r({name:`TreeMenuGroupLabel`,__name:`tree-menu-group-label`,setup(r){let s=e(),c=t(()=>s?.value?.groupLabel);return(e,t)=>(a(),n(`div`,{class:i(c.value)},[o(e.$slots,`default`)],2))}});export{s as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TreeMenuGroupLabelProps } from "./types.js";
|
|
2
|
+
import * as vue856 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-group-label.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue856.DefineComponent<TreeMenuGroupLabelProps, {}, {}, {}, {}, vue856.ComponentOptionsMixin, vue856.ComponentOptionsMixin, {}, string, vue856.PublicProps, Readonly<TreeMenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue856.ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTreeMenuThemeContext as e}from"./context.js";import{computed as t,createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o}from"vue";var s=r({name:`TreeMenuGroupRoot`,__name:`tree-menu-group-root`,setup(r){let s=e(),c=t(()=>s?.value?.groupRoot);return(e,t)=>(a(),n(`div`,{class:i(c.value)},[o(e.$slots,`default`)],2))}});export{s as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TreeMenuGroupRootProps } from "./types.js";
|
|
2
|
+
import * as vue845 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-group-root.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue845.DefineComponent<TreeMenuGroupRootProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TreeMenuGroupRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuThemeContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`TreeMenuGroup`,__name:`tree-menu-group`,props:{asChild:{type:Boolean},as:{default:`ul`}},setup(i){let u=t(),d=n(()=>u?.value?.group);return(t,n)=>(o(),r(c(e),{as:i.as,"as-child":i.asChild,class:a(d.value),role:`group`},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}});export{u as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuGroupProps } from "./types.js";
|
|
4
|
+
import * as vue850 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-group.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue850.DefineComponent<TreeMenuGroupProps, {}, {}, {}, {}, vue850.ComponentOptionsMixin, vue850.ComponentOptionsMixin, {}, string, vue850.PublicProps, Readonly<TreeMenuGroupProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue850.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue850.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{provideTreeMenuItemContext as t,useTreeMenuRootContext as n,useTreeMenuThemeContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";var f=o({name:`TreeMenuItem`,__name:`tree-menu-item`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`li`}},setup(o){let f=o,{modelValue:p,expanded:m,onExpandedToggle:h,onModelValueChange:g}=n(`TreeMenuItem`),_=r(),v=i(()=>_?.value?.item),y=i(()=>p.value===f.value),b=i(()=>m.value?.includes(f.value));return t({value:f.value,isActive:y,isExpanded:b,onExpandedToggle:()=>{f.disabled||h(f.value)},onActive:()=>{f.disabled||g(f.value)}}),(t,n)=>(c(),a(u(e),{as:o.as,"as-child":o.asChild,class:s(v.value),"data-disabled":o.disabled?``:void 0,"data-active":y.value},{default:d(()=>[l(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-disabled`,`data-active`]))}});export{f as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuItemProps } from "./types.js";
|
|
4
|
+
import * as vue867 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-item.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue867.DefineComponent<TreeMenuItemProps, {}, {}, {}, {}, vue867.ComponentOptionsMixin, vue867.ComponentOptionsMixin, {}, string, vue867.PublicProps, Readonly<TreeMenuItemProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue867.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue867.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useControllableState as e}from"../../composables/use-controllable-state.js";import{provideTreeMenuRootContext as t,useTreeMenuThemeContext as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,watch as l}from"vue";const u=[`data-state`];var d=a({name:`TreeMenuRoot`,__name:`tree-menu-root`,props:{modelValue:{},defaultValue:{default:``},expanded:{},defaultExpanded:{default:()=>[]},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:!1}},emits:[`update:modelValue`,`update:expanded`,`update:collapsed`],setup(a,{emit:d}){let f=a,p=d,m=n(),h=r(()=>m?.value?.root),g=e(()=>f.modelValue,e=>{p(`update:modelValue`,e)},f.defaultValue),_=e(()=>f.expanded,e=>{p(`update:expanded`,e??[])},f.defaultExpanded),v=e(()=>f.collapsed,e=>{p(`update:collapsed`,e??!1)},f.defaultCollapsed),y=r(()=>v.value?`collapsed`:`expanded`),b=null;return l(v,e=>{if(e){b=[..._.value??[]],_.value=[];return}b?.length&&(_.value=[...b],b=null)}),t({modelValue:g,expanded:_,collapsed:v}),(e,t)=>(s(),i(`div`,{class:o(h.value),"data-state":y.value},[c(e.$slots,`default`)],10,u))}});export{d as default};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TreeMenuRootProps } from "./types.js";
|
|
2
|
+
import * as vue840 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-root.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue840.DefineComponent<TreeMenuRootProps, {}, {}, {}, {}, vue840.ComponentOptionsMixin, vue840.ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
"update:expanded": (value: string[]) => any;
|
|
12
|
+
"update:collapsed": (value: boolean) => any;
|
|
13
|
+
}, string, vue840.PublicProps, Readonly<TreeMenuRootProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
16
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
defaultValue: string;
|
|
19
|
+
defaultExpanded: string[];
|
|
20
|
+
collapsed: boolean;
|
|
21
|
+
defaultCollapsed: boolean;
|
|
22
|
+
}, {}, {}, {}, string, vue840.ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuThemeContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`TreeMenuSub`,__name:`tree-menu-sub`,props:{asChild:{type:Boolean},as:{default:`ul`}},setup(i){let u=t(),d=n(()=>u?.value?.sub);return(t,n)=>(o(),r(c(e),{as:i.as,"as-child":i.asChild,class:a(d.value),role:`group`},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}});export{u as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuSubProps } from "./types.js";
|
|
4
|
+
import * as vue890 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-sub.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue890.DefineComponent<TreeMenuSubProps, {}, {}, {}, {}, vue890.ComponentOptionsMixin, vue890.ComponentOptionsMixin, {}, string, vue890.PublicProps, Readonly<TreeMenuSubProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue890.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue890.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|