@soybeanjs/headless 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/accordion/context.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/context.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 +2 -2
- 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/avatar/context.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/badge/context.d.ts +2 -2
- 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.js +1 -1
- 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/breadcrumb/context.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/card/context.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/checkbox/context.d.ts +2 -2
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/context.d.ts +2 -2
- 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.js +1 -1
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +5 -6
- package/dist/components/context-menu/context.js +1 -1
- package/dist/components/context-menu/index.d.ts +3 -3
- package/dist/components/context-menu/types.d.ts +7 -1
- package/dist/components/dialog/context.d.ts +2 -2
- 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 +6 -6
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/form/context.d.ts +2 -2
- 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.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/context.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/label/label.vue.d.ts +2 -2
- package/dist/components/layout/context.d.ts +2 -2
- package/dist/components/layout/layout-content.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.js +1 -1
- package/dist/components/link/link.vue.d.ts +5 -5
- package/dist/components/link/types.d.ts +28 -6
- package/dist/components/list/context.d.ts +2 -2
- 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/context.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/context.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/context.d.ts +2 -2
- 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.js +1 -1
- 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 +6 -6
- 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/context.d.ts +2 -2
- 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/page-tabs/context.d.ts +10 -0
- package/dist/components/page-tabs/context.js +1 -0
- package/dist/components/page-tabs/index.d.ts +7 -0
- package/dist/components/page-tabs/index.js +1 -0
- package/dist/components/page-tabs/page-tabs-close.js +1 -0
- package/dist/components/page-tabs/page-tabs-close.vue.d.ts +18 -0
- package/dist/components/page-tabs/page-tabs-item.js +1 -0
- package/dist/components/page-tabs/page-tabs-item.vue.d.ts +24 -0
- package/dist/components/page-tabs/page-tabs-pin.js +1 -0
- package/dist/components/page-tabs/page-tabs-pin.vue.d.ts +18 -0
- package/dist/components/page-tabs/page-tabs-root.js +12 -0
- package/dist/components/page-tabs/page-tabs-root.vue.d.ts +31 -0
- package/dist/components/page-tabs/types.d.ts +64 -0
- package/dist/components/pagination/context.d.ts +2 -2
- 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-popup.vue.d.ts +2 -2
- package/dist/components/popover/popover-positioner.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 +2 -2
- 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 +50 -50
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/primitive/primitive.d.ts +2 -2
- package/dist/components/radio-group/context.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/context.d.ts +2 -2
- 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 +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/context.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/slot/slot.d.ts +2 -2
- package/dist/components/switch/context.d.ts +2 -2
- 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/context.d.ts +2 -2
- 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/context.d.ts +2 -2
- 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 +6 -6
- 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 +2 -2
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
- 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-collection.d.ts +6 -6
- package/dist/composables/use-dismissable-layer.d.ts +2 -2
- package/dist/composables/use-exposed-element.d.ts +2 -2
- package/dist/composables/use-forward-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-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/constants/components.d.ts +1 -0
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +89 -82
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +165 -155
- package/dist/namespaced/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AcceptableBooleanValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuRadioGroupProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1613 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-radio-group.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends AcceptableBooleanValue>(__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: vue1613.PublicProps & __VLS_PrettifyLocal<MenuRadioGroupProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
|
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
21
|
-
}>) =>
|
|
21
|
+
}>) => vue1613.VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MenuRadioItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1582 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-radio-item.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
@@ -8,11 +8,11 @@ declare var __VLS_10: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1582.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1582.ComponentOptionsMixin, vue1582.ComponentOptionsMixin, {
|
|
12
12
|
select: (event: Event) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1582.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
|
|
14
14
|
onSelect?: ((event: Event) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue1582.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,5 +1,5 @@
|
|
|
1
1
|
import { MenuRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1557 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-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: vue1557.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1557.ComponentOptionsMixin, vue1557.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1557.PublicProps, Readonly<MenuRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
17
|
modal: boolean;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue1557.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,32 +2,32 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuSubContentProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1603 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/menu/menu-sub-content.vue.d.ts
|
|
8
8
|
declare var __VLS_14: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_14) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1603.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1603.ComponentOptionsMixin, vue1603.ComponentOptionsMixin, {
|
|
13
13
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
|
-
entryFocus: (event: Event) => any;
|
|
15
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
16
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
17
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
18
|
-
closeAutoFocus: (event: Event) => any;
|
|
19
17
|
openAutoFocus: (event: Event) => any;
|
|
20
|
-
|
|
18
|
+
closeAutoFocus: (event: Event) => any;
|
|
19
|
+
entryFocus: (event: Event) => any;
|
|
20
|
+
}, string, vue1603.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
|
|
21
21
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
22
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
23
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
24
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
25
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
26
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
25
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
prioritizePosition: boolean;
|
|
30
|
-
}, {}, {}, {}, string,
|
|
30
|
+
}, {}, {}, {}, string, vue1603.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MenuSubTriggerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1615 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-sub-trigger.vue.d.ts
|
|
5
5
|
declare var __VLS_19: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_19) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1615.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1615.ComponentOptionsMixin, vue1615.ComponentOptionsMixin, {}, string, vue1615.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1615.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 { MenuSubProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1608 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-sub.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: vue1608.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1608.ComponentOptionsMixin, vue1608.ComponentOptionsMixin, {
|
|
10
10
|
"update:open": (value: boolean) => any;
|
|
11
|
-
}, string,
|
|
11
|
+
}, string, vue1608.PublicProps, Readonly<MenuSubProps> & Readonly<{
|
|
12
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
open: boolean;
|
|
15
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, vue1608.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 & {
|
|
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
|
|
|
2
2
|
import "../../composables/index.js";
|
|
3
3
|
import { NavigationMenuUiSlot } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1118 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/navigation-menu/context.d.ts
|
|
8
8
|
|
|
9
|
-
declare const provideNavigationMenuUi: (ui:
|
|
9
|
+
declare const provideNavigationMenuUi: (ui: vue1118.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue1118.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue1118.ComputedRef<ClassValue> : vue1118.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { provideNavigationMenuUi };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { NavigationMenuContentProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1093 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
|
|
7
7
|
declare var __VLS_17: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_17) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1093.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue1093.ComponentOptionsMixin, vue1093.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
14
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
15
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1093.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
|
|
17
17
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
18
18
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
19
19
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
20
20
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string,
|
|
21
|
+
}>, {}, {}, {}, {}, string, vue1093.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuIndicatorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1113 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-indicator.vue.d.ts
|
|
5
5
|
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1113.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue1113.ComponentOptionsMixin, vue1113.ComponentOptionsMixin, {}, string, vue1113.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1113.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,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1108 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-item.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: vue1108.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue1108.ComponentOptionsMixin, vue1108.ComponentOptionsMixin, {}, string, vue1108.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1108.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 +1 @@
|
|
|
1
|
-
import{useOmitProps as e}from"../../composables/use-props.js";import t from"../link/link.js";import{useCollectionItem as n,useNavigationMenuRootContext as r,useNavigationMenuUi as i}from"./context.js";import{EVENT_ROOT_CONTENT_DISMISS as a,LINK_SELECT as o}from"./shared.js";import{computed as s,createBlock as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";var _=l({name:`NavigationMenuLink`,__name:`navigation-menu-link`,props:{active:{type:Boolean},to:{},
|
|
1
|
+
import{useOmitProps as e}from"../../composables/use-props.js";import t from"../link/link.js";import{useCollectionItem as n,useNavigationMenuRootContext as r,useNavigationMenuUi as i}from"./context.js";import{EVENT_ROOT_CONTENT_DISMISS as a,LINK_SELECT as o}from"./shared.js";import{computed as s,createBlock as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";var _=l({name:`NavigationMenuLink`,__name:`navigation-menu-link`,props:{active:{type:Boolean},to:{},replace:{type:Boolean},href:{},disabled:{type:Boolean},activeClass:{},exactActiveClass:{},inactiveClass:{},prefetchedClass:{},external:{type:Boolean},ariaCurrentValue:{},viewTransition:{type:Boolean},target:{},rel:{},noRel:{type:Boolean},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},trailingSlash:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(l,{emit:_}){let v=l,y=_,{isRoot:b}=r(`NavigationMenuLink`),x=i(),S=s(()=>b?x.value?.link:x.value?.subLink),{itemProps:C,setItemElement:w}=n(),T=e(v,[`active`],C),E=async e=>{let t=new CustomEvent(o,{bubbles:!0,cancelable:!0,detail:{originalEvent:e}});if(y(`select`,t),t.defaultPrevented||e.metaKey)return;let n=new CustomEvent(a,{bubbles:!0,cancelable:!0});e.target?.dispatchEvent(n)};return(e,n)=>(p(),c(t,d(h(T),{ref:h(w),class:S.value,"data-active":l.active?``:void 0,"aria-current":l.active?`page`:void 0,onClick:E}),{default:g(t=>[m(e.$slots,`default`,f(u(t)))]),_:3},16,[`class`,`data-active`,`aria-current`]))}});export{_ as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NavigationMenuLinkProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1103 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-link.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
@@ -10,15 +10,15 @@ declare var __VLS_10: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_10) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue1103.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue1103.ComponentOptionsMixin, vue1103.ComponentOptionsMixin, {
|
|
14
14
|
select: (payload: CustomEvent<{
|
|
15
15
|
originalEvent: Event;
|
|
16
16
|
}>) => any;
|
|
17
|
-
}, string,
|
|
17
|
+
}, string, vue1103.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
|
|
18
18
|
onSelect?: ((payload: CustomEvent<{
|
|
19
19
|
originalEvent: Event;
|
|
20
20
|
}>) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string,
|
|
21
|
+
}>, {}, {}, {}, {}, string, vue1103.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1083 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-list.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: vue1083.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue1083.ComponentOptionsMixin, vue1083.ComponentOptionsMixin, {}, string, vue1083.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1083.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,7 +1,7 @@
|
|
|
1
1
|
import { DataOrientation, Direction } from "../../types/common.js";
|
|
2
2
|
import { NavigationMenuRootProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1078 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-root.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {
|
|
@@ -10,17 +10,17 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue1078.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1078.ComponentOptionsMixin, vue1078.ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue1078.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
dir: Direction;
|
|
19
18
|
orientation: DataOrientation;
|
|
19
|
+
dir: Direction;
|
|
20
|
+
unmountOnHide: boolean;
|
|
20
21
|
delayDuration: number;
|
|
21
22
|
skipDelayDuration: number;
|
|
22
|
-
|
|
23
|
-
}, {}, {}, {}, string, vue492.ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
}, {}, {}, {}, string, vue1078.ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuSubListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1088 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-sub-list.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: vue1088.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue1088.ComponentOptionsMixin, vue1088.ComponentOptionsMixin, {}, string, vue1088.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1088.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,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NavigationMenuTriggerProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1072 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-trigger.vue.d.ts
|
|
7
7
|
declare var __VLS_13: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_13) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1072.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue1072.ComponentOptionsMixin, vue1072.ComponentOptionsMixin, {}, string, vue1072.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1072.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1072.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,16 +1,16 @@
|
|
|
1
1
|
import { Align } from "../../types/common.js";
|
|
2
2
|
import { NavigationMenuViewportProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1098 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-viewport.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: vue1098.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue1098.ComponentOptionsMixin, vue1098.ComponentOptionsMixin, {}, string, vue1098.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {
|
|
12
12
|
align: Align;
|
|
13
|
-
}, {}, {}, {}, string,
|
|
13
|
+
}, {}, {}, {}, string, vue1098.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,10 +1,10 @@
|
|
|
1
1
|
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { NumberInputUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1264 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/context.d.ts
|
|
7
7
|
|
|
8
|
-
declare const provideNumberInputUi: (ui:
|
|
8
|
+
declare const provideNumberInputUi: (ui: vue1264.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>) => vue1264.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>, useNumberInputUi: <S extends NumberInputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NumberInputUiSlot ? vue1264.ComputedRef<ClassValue> : vue1264.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { provideNumberInputUi };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NumberInputControlProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1361 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/number-input/number-input-control.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue1361.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue1361.ComponentOptionsMixin, vue1361.ComponentOptionsMixin, {}, string, vue1361.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1361.ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NumberInputDecrementProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1258 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/number-input-decrement.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: vue1258.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue1258.ComponentOptionsMixin, vue1258.ComponentOptionsMixin, {}, string, vue1258.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1258.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1258.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,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NumberInputIncrementProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1252 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/number-input-increment.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: vue1252.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue1252.ComponentOptionsMixin, vue1252.ComponentOptionsMixin, {}, string, vue1252.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1252.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1252.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,5 +1,5 @@
|
|
|
1
1
|
import { NumberInputRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1356 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/number-input/number-input-root.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,15 +9,15 @@ declare var __VLS_1: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1356.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue1356.ComponentOptionsMixin, vue1356.ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (val: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1356.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
modelValue: number | null;
|
|
18
18
|
step: number;
|
|
19
19
|
stepSnapping: boolean;
|
|
20
|
-
}, {}, {}, {}, string,
|
|
20
|
+
}, {}, {}, {}, string, vue1356.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
|
+
import { PageTabsUiSlot } from "./types.js";
|
|
3
|
+
import "../../index.js";
|
|
4
|
+
import * as vue1050 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/page-tabs/context.d.ts
|
|
7
|
+
|
|
8
|
+
declare const providePageTabsUi: (ui: vue1050.ComputedRef<Partial<UiClass<PageTabsUiSlot>>>) => vue1050.ComputedRef<Partial<UiClass<PageTabsUiSlot>>>, usePageTabsUi: <S extends PageTabsUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PageTabsUiSlot ? vue1050.ComputedRef<ClassValue> : vue1050.ComputedRef<Partial<UiClass<PageTabsUiSlot>>>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { providePageTabsUi };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";const[n,r]=e(`PageTabsRoot`,e=>{let{modelValue:t,pins:n,values:r,...i}=e,a=e=>{t.value=e},o=e=>r.value.includes(e),s=e=>{r.value.includes(e)||r.value.push(e)},c=e=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)};return{modelValue:t,onModelValueChange:a,isValueExists:o,pins:n,addTabItem:s,removeTabItem:c,onCloseTab:e=>{let n=t.value===e,i;if(n){let t=r.value.indexOf(e);i=r.value[t+1]??r.value[t-1]??void 0}c(e),n&&(t.value=i)},onPinTab:e=>{n.value.includes(e)||(n.value=[...n.value,e])},onUnpinTab:e=>{n.value.indexOf(e)!==-1&&(n.value=n.value.filter(t=>t!==e))},...i}}),[i,a]=e(`PageTabsItem`,e=>e),[o,s]=t(`PageTabsUi`);export{i as providePageTabsItemContext,n as providePageTabsRootContext,o as providePageTabsUi,a as usePageTabsItemContext,r as usePageTabsRootContext,s as usePageTabsUi};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PageTabsCloseProps, PageTabsItemEmits, PageTabsItemProps, PageTabsPinProps, PageTabsRootEmits, PageTabsRootProps, PageTabsUi, PageTabsUiSlot } from "./types.js";
|
|
2
|
+
import { _default as _default$3 } from "./page-tabs-root.vue.js";
|
|
3
|
+
import { _default as _default$1 } from "./page-tabs-item.vue.js";
|
|
4
|
+
import { _default } from "./page-tabs-close.vue.js";
|
|
5
|
+
import { _default as _default$2 } from "./page-tabs-pin.vue.js";
|
|
6
|
+
import { providePageTabsUi } from "./context.js";
|
|
7
|
+
export { _default as PageTabsClose, type PageTabsCloseProps, _default$1 as PageTabsItem, type PageTabsItemEmits, type PageTabsItemProps, _default$2 as PageTabsPin, type PageTabsPinProps, _default$3 as PageTabsRoot, type PageTabsRootEmits, type PageTabsRootProps, type PageTabsUi, type PageTabsUiSlot, providePageTabsUi };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{providePageTabsUi as e}from"./context.js";import t from"./page-tabs-root.js";import n from"./page-tabs-item.js";import r from"./page-tabs-close.js";import i from"./page-tabs-pin.js";export{r as PageTabsClose,n as PageTabsItem,i as PageTabsPin,t as PageTabsRoot,e as providePageTabsUi};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{usePageTabsItemContext as t,usePageTabsUi as n}from"./context.js";import{createBlock as r,createCommentVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u,withModifiers as d}from"vue";var f=a({name:`PageTabsClose`,__name:`page-tabs-close`,props:{asChild:{type:Boolean},as:{}},setup(a){let f=n(`close`),{closable:p,pinned:m,onClose:h}=t(`PageTabsClose`);return(t,n)=>l(p)&&!l(m)?(s(),r(l(e),{key:0,as:a.as,"as-child":a.asChild,class:o(l(f)),onClick:d(l(h),[`stop`])},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`onClick`])):i(`v-if`,!0)}});export{f as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PageTabsCloseProps } from "./types.js";
|
|
2
|
+
import * as vue1040 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/page-tabs/page-tabs-close.vue.d.ts
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue1040.DefineComponent<PageTabsCloseProps, {}, {}, {}, {}, vue1040.ComponentOptionsMixin, vue1040.ComponentOptionsMixin, {}, string, vue1040.PublicProps, Readonly<PageTabsCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1040.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{transformPropsToContext as e}from"../../shared/vue.js";import{providePageTabsItemContext as t,usePageTabsRootContext as n,usePageTabsUi as r}from"./context.js";import{computed as i,createCommentVNode as a,createElementBlock as o,defineComponent as s,normalizeClass as c,onBeforeMount as l,onBeforeUnmount as u,openBlock as d,renderSlot as f,unref as p}from"vue";const m=[`data-value`,`data-active`,`data-pinned`];var h=s({name:`PageTabsItem`,__name:`page-tabs-item`,props:{value:{},closable:{type:Boolean,default:!0}},emits:[`close`],setup(s,{emit:h}){let g=s,_=h,v=r(`item`),{modelValue:y,onModelValueChange:b,middleClickClose:x,isValueExists:S,pins:C,addTabItem:w,removeTabItem:T,onCloseTab:E,beforeClose:D,onPinTab:O,onUnpinTab:k}=n(`PageTabsItem`),A=i(()=>S(g.value)),j=i(()=>y.value===g.value),M=i(()=>C.value.includes(g.value)),N=()=>{j.value||b(g.value)},P=e=>{e.button===1&&x.value&&(e.preventDefault(),F())},F=async()=>{!g.closable||M.value||await D(g.value)&&(E(g.value),_(`close`))},I=()=>{M.value?k(g.value):O(g.value)};return t({...e(g,[`closable`]),pinned:M,onClose:F,onPin:I}),l(()=>{w(g.value)}),u(()=>{T(g.value)}),(e,t)=>A.value?(d(),o(`button`,{key:0,class:c(p(v)),"data-value":s.value,"data-active":j.value,"data-pinned":M.value,onClick:N,onMousedown:P},[f(e.$slots,`default`)],42,m)):a(`v-if`,!0)}});export{h as default};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PageTabsItemProps } from "./types.js";
|
|
2
|
+
import * as vue1035 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/page-tabs/page-tabs-item.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: vue1035.DefineComponent<PageTabsItemProps, {}, {}, {}, {}, vue1035.ComponentOptionsMixin, vue1035.ComponentOptionsMixin, {} & {
|
|
10
|
+
close: () => any;
|
|
11
|
+
}, string, vue1035.PublicProps, Readonly<PageTabsItemProps> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
closable: boolean;
|
|
15
|
+
}, {}, {}, {}, string, vue1035.ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{usePageTabsItemContext as t,usePageTabsUi as n}from"./context.js";import{createBlock as r,createCommentVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u,withModifiers as d}from"vue";var f=a({name:`PageTabsPin`,__name:`page-tabs-pin`,props:{asChild:{type:Boolean},as:{}},setup(a){let f=n(`pin`),{pinned:p,onPin:m}=t(`PageTabsPin`);return(t,n)=>l(p)?(s(),r(l(e),{key:0,as:a.as,"as-child":a.asChild,class:o(l(f)),onClick:d(l(m),[`stop`])},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`onClick`])):i(`v-if`,!0)}});export{f as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PageTabsPinProps } from "./types.js";
|
|
2
|
+
import * as vue1045 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/page-tabs/page-tabs-pin.vue.d.ts
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue1045.DefineComponent<PageTabsPinProps, {}, {}, {}, {}, vue1045.ComponentOptionsMixin, vue1045.ComponentOptionsMixin, {}, string, vue1045.PublicProps, Readonly<PageTabsPinProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1045.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,12 @@
|
|
|
1
|
+
import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{Primitive as n}from"../primitive/primitive.js";import{providePageTabsRootContext as r,usePageTabsUi as i}from"./context.js";import{computed as a,createElementBlock as o,createTextVNode as s,createVNode as c,defineComponent as l,normalizeClass as u,openBlock as d,ref as f,renderSlot as p,toDisplayString as m,unref as h,useTemplateRef as g,watchEffect as _,withCtx as v}from"vue";var y=l({name:`PageTabsRoot`,__name:`page-tabs-root`,props:{modelValue:{default:void 0},defaultValue:{},pins:{default:void 0},defaultPins:{default:()=>[]},beforeClose:{type:Function,default:()=>!0},middleClickClose:{type:Boolean}},emits:[`update:modelValue`,`update:pins`],setup(l,{emit:y}){let b=l,x=y,S=i(`root`),C=t(()=>b.modelValue,e=>{x(`update:modelValue`,e)},b.defaultValue),w=t(()=>b.pins,e=>{x(`update:pins`,e??[])},b.defaultPins),T=f([]),E=g(`rootRef`),D=a(()=>E.value?E.value.offsetWidth/2:0),O=e=>{E.value&&(E.value.scrollLeft+=e.deltaY)};return _(()=>{if(!E.value||!D.value||!C.value)return;let e=E.value.querySelector(`[data-value="${C.value}"]`);if(!e)return;let t=e.offsetLeft+e.offsetWidth/2-D.value;E.value.scrollTo({left:t,behavior:`smooth`})}),r({...e(b,[`middleClickClose`]),modelValue:C,pins:w,values:T,beforeClose:b.beforeClose}),(e,t)=>(d(),o(`div`,{ref_key:`rootRef`,ref:E,class:u([h(S),`page-tabs-root`]),onWheel:O},[p(e.$slots,`default`),c(h(n),{as:`style`},{default:v(()=>[s(m(`
|
|
2
|
+
.page-tabs-root {
|
|
3
|
+
overflow-x: auto;
|
|
4
|
+
overflow-y: hidden;
|
|
5
|
+
-ms-overflow-style: none;
|
|
6
|
+
scrollbar-width: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.page-tabs-root::-webkit-scrollbar {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
`))]),_:1})],34))}});export{y as default};
|