@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,20 +1,20 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ButtonProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue123 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/button/button.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:
|
|
11
|
+
declare const __VLS_base: vue123.DefineComponent<ButtonProps, {}, {}, {}, {}, vue123.ComponentOptionsMixin, vue123.ComponentOptionsMixin, {
|
|
12
12
|
click: (event: MouseEvent) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue123.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
14
14
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
as: AsTag |
|
|
17
|
-
}, {}, {}, {}, string,
|
|
16
|
+
as: AsTag | vue123.Component;
|
|
17
|
+
}, {}, {}, {}, string, vue123.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,12 +1,12 @@
|
|
|
1
1
|
import { CardContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue2010 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-content.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: vue2010.DefineComponent<CardContentProps, {}, {}, {}, {}, vue2010.ComponentOptionsMixin, vue2010.ComponentOptionsMixin, {}, string, vue2010.PublicProps, Readonly<CardContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2010.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 { CardDescriptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue2005 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-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: vue2005.DefineComponent<CardDescriptionProps, {}, {}, {}, {}, vue2005.ComponentOptionsMixin, vue2005.ComponentOptionsMixin, {}, string, vue2005.PublicProps, Readonly<CardDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2005.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 { CardFooterProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue2015 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-footer.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: vue2015.DefineComponent<CardFooterProps, {}, {}, {}, {}, vue2015.ComponentOptionsMixin, vue2015.ComponentOptionsMixin, {}, string, vue2015.PublicProps, Readonly<CardFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2015.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 { CardHeaderProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue2000 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-header.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: vue2000.DefineComponent<CardHeaderProps, {}, {}, {}, {}, vue2000.ComponentOptionsMixin, vue2000.ComponentOptionsMixin, {}, string, vue2000.PublicProps, Readonly<CardHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2000.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 { CardRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1990 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-root.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: vue1990.DefineComponent<CardRootProps, {}, {}, {}, {}, vue1990.ComponentOptionsMixin, vue1990.ComponentOptionsMixin, {}, string, vue1990.PublicProps, Readonly<CardRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1990.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 { CardTitleRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1995 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-title-root.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: vue1995.DefineComponent<CardTitleRootProps, {}, {}, {}, {}, vue1995.ComponentOptionsMixin, vue1995.ComponentOptionsMixin, {}, string, vue1995.PublicProps, Readonly<CardTitleRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1995.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 { CardTitleProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1985 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card-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: vue1985.DefineComponent<CardTitleProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<CardTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.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,9 +1,9 @@
|
|
|
1
1
|
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { CardUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue2020 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/card/context.d.ts
|
|
7
|
-
declare const provideCardUi: (ui:
|
|
7
|
+
declare const provideCardUi: (ui: vue2020.ComputedRef<Partial<UiClass<CardUiSlot>>>) => vue2020.ComputedRef<Partial<UiClass<CardUiSlot>>>, useCardUi: <S extends CardUiSlot | undefined = undefined>(slot?: S | undefined) => S extends CardUiSlot ? vue2020.ComputedRef<ClassValue> : vue2020.ComputedRef<Partial<UiClass<CardUiSlot>>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { provideCardUi };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckedState } from "../../types/common.js";
|
|
2
2
|
import { CheckboxControlProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue136 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/checkbox/checkbox-control.vue.d.ts
|
|
7
7
|
declare var __VLS_11: {
|
|
@@ -11,7 +11,7 @@ declare var __VLS_11: {
|
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
12
|
default?: (props: typeof __VLS_11) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue136.DefineComponent<CheckboxControlProps, {}, {}, {}, {}, vue136.ComponentOptionsMixin, vue136.ComponentOptionsMixin, {}, string, vue136.PublicProps, Readonly<CheckboxControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue136.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DefinedValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { CheckboxGroupRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue129 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/checkbox/checkbox-group-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__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: vue129.PublicProps & __VLS_PrettifyLocal<CheckboxGroupRootProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
16
16
|
default?: (props: {}) => any;
|
|
17
17
|
};
|
|
18
18
|
emit: (evt: "update:modelValue", value: T[]) => void;
|
|
19
|
-
}>) =>
|
|
19
|
+
}>) => vue129.VNode & {
|
|
20
20
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
21
|
};
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { CheckboxIndicatorProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue141 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/checkbox/checkbox-indicator.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue141.DefineComponent<CheckboxIndicatorProps, {}, {}, {}, {}, vue141.ComponentOptionsMixin, vue141.ComponentOptionsMixin, {}, string, vue141.PublicProps, Readonly<CheckboxIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue141.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue141.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,13 +1,13 @@
|
|
|
1
1
|
import { LabelProps } from "../label/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue147 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox/checkbox-label.vue.d.ts
|
|
6
6
|
declare var __VLS_8: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_8) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_base:
|
|
10
|
+
declare const __VLS_base: vue147.DefineComponent<LabelProps, {}, {}, {}, {}, vue147.ComponentOptionsMixin, vue147.ComponentOptionsMixin, {}, string, vue147.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue147.ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,7 +2,7 @@ import { CheckedState, DefinedValue } from "../../types/common.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { CheckboxRootProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue131 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/checkbox/checkbox-root.vue.d.ts
|
|
8
8
|
declare var __VLS_1: {
|
|
@@ -12,14 +12,14 @@ declare var __VLS_1: {
|
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
default?: (props: typeof __VLS_1) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_base:
|
|
15
|
+
declare const __VLS_base: vue131.DefineComponent<CheckboxRootProps, {}, {}, {}, {}, vue131.ComponentOptionsMixin, vue131.ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (value: CheckedState | null) => any;
|
|
17
|
-
}, string,
|
|
17
|
+
}, string, vue131.PublicProps, Readonly<CheckboxRootProps> & Readonly<{
|
|
18
18
|
"onUpdate:modelValue"?: ((value: CheckedState | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
value: DefinedValue;
|
|
21
21
|
modelValue: CheckedState | null;
|
|
22
|
-
}, {}, {}, {}, string,
|
|
22
|
+
}, {}, {}, {}, string, vue131.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,10 +1,10 @@
|
|
|
1
1
|
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { CheckboxUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue152 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/checkbox/context.d.ts
|
|
7
7
|
|
|
8
|
-
declare const provideCheckboxUi: (ui:
|
|
8
|
+
declare const provideCheckboxUi: (ui: vue152.ComputedRef<Partial<UiClass<CheckboxUiSlot>>>) => vue152.ComputedRef<Partial<UiClass<CheckboxUiSlot>>>, useCheckboxUi: <S extends CheckboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends CheckboxUiSlot ? vue152.ComputedRef<ClassValue> : vue152.ComputedRef<Partial<UiClass<CheckboxUiSlot>>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { provideCheckboxUi };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CollapsibleContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1811 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/collapsible/collapsible-content.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: vue1811.DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<CollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.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,5 +1,5 @@
|
|
|
1
1
|
import { CollapsibleRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1850 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/collapsible/collapsible-root.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -8,17 +8,17 @@ declare var __VLS_8: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
open:
|
|
13
|
-
}, {}, {}, {},
|
|
11
|
+
declare const __VLS_base: vue1850.DefineComponent<CollapsibleRootProps, {
|
|
12
|
+
open: vue1850.ShallowRef<boolean | undefined>;
|
|
13
|
+
}, {}, {}, {}, vue1850.ComponentOptionsMixin, vue1850.ComponentOptionsMixin, {
|
|
14
14
|
"update:open": (value: boolean) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue1850.PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
open: boolean;
|
|
19
|
-
defaultOpen: boolean;
|
|
20
19
|
unmountOnHide: boolean;
|
|
21
|
-
|
|
20
|
+
defaultOpen: boolean;
|
|
21
|
+
}, {}, {}, {}, string, vue1850.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,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import { CollapsibleTriggerProps } from "./types.js";
|
|
3
3
|
import "../primitive/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1816 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/collapsible/collapsible-trigger.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: vue1816.DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, vue1816.ComponentOptionsMixin, vue1816.ComponentOptionsMixin, {}, string, vue1816.PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1816.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1816.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 & {
|
|
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { CollapsibleUiSlot } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1822 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/collapsible/context.d.ts
|
|
8
8
|
|
|
9
|
-
declare const provideCollapsibleUi: (ui:
|
|
9
|
+
declare const provideCollapsibleUi: (ui: vue1822.ComputedRef<Partial<UiClass<CollapsibleUiSlot>>>) => vue1822.ComputedRef<Partial<UiClass<CollapsibleUiSlot>>>, useCollapsibleUi: <S extends CollapsibleUiSlot | undefined = undefined>(slot?: S | undefined) => S extends CollapsibleUiSlot ? vue1822.ComputedRef<ClassValue> : vue1822.ComputedRef<Partial<UiClass<CollapsibleUiSlot>>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { provideCollapsibleUi };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Direction } from "../../types/common.js";
|
|
2
2
|
import { ConfigProviderProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1946 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/config-provider/config-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: vue1946.DefineComponent<ConfigProviderProps, {}, {}, {}, {}, vue1946.ComponentOptionsMixin, vue1946.ComponentOptionsMixin, {}, string, vue1946.PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
|
|
12
12
|
nuxt: boolean;
|
|
13
13
|
dir: Direction;
|
|
14
14
|
locale: string;
|
|
15
15
|
nonce: string;
|
|
16
|
-
}, {}, {}, {}, string,
|
|
16
|
+
}, {}, {}, {}, string, vue1946.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 & {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { ContextMenuContentProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1522 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/context-menu/context-menu-content.vue.d.ts
|
|
7
7
|
declare var __VLS_11: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_11) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1522.DefineComponent<ContextMenuContentProps, {}, {}, {}, {}, vue1522.ComponentOptionsMixin, vue1522.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
|
-
entryFocus: (event: Event) => any;
|
|
14
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
15
14
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
16
15
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
17
|
-
closeAutoFocus: (event: Event) => any;
|
|
18
16
|
openAutoFocus: (event: Event) => any;
|
|
19
|
-
|
|
17
|
+
closeAutoFocus: (event: Event) => any;
|
|
18
|
+
entryFocus: (event: Event) => any;
|
|
19
|
+
}, string, vue1522.PublicProps, Readonly<ContextMenuContentProps> & Readonly<{
|
|
20
20
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
21
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
22
21
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
23
22
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
24
23
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
25
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
24
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
25
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
avoidCollisions: boolean;
|
|
29
|
-
}, {}, {}, {}, string,
|
|
29
|
+
}, {}, {}, {}, string, vue1522.ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContextMenuRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1538 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/context-menu/context-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: vue1538.DefineComponent<ContextMenuRootProps, {}, {}, {}, {}, vue1538.ComponentOptionsMixin, vue1538.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1538.PublicProps, Readonly<ContextMenuRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
modal: boolean;
|
|
17
17
|
pressOpenDelay: number;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue1538.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 & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import n from"../popper/popper-anchor.js";import{useContextMenuRootContext as r}from"./context.js";import{Fragment as i,computed as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createVNode as l,defineComponent as u,mergeProps as d,nextTick as f,onWatcherCleanup as p,openBlock as m,ref as h,renderSlot as g,unref as _,useAttrs as v,watchEffect as y,withCtx as b}from"vue";var x=u({name:`ContextMenuTrigger`,inheritAttrs:!1,__name:`context-menu-trigger`,props:{reference:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(u){let x=u,{dataState:S,pressOpenDelay:C,onOpenChange:w,triggerElement:T,onTriggerElementChange:E}=r(`ContextMenuTrigger`),[D,O]=e(e=>{E(e)}),k=v(),A=a(()=>x.disabled?``:void 0),j=h({x:0,y:0}),M=a(()=>({getBoundingClientRect:()=>({width:0,height:0,left:j.value.x,right:j.value.x,top:j.value.y,bottom:j.value.y,...j.value})})),N=null,P=()=>{N&&(window.clearTimeout(N),N=null)},F=e=>{let{clientX:t,clientY:n}=e;j.value={x:t,y:n},w(!0)},I=e=>e.pointerType!==`mouse`,L=async e=>{x.disabled||(await f(),!e.defaultPrevented&&(P(),F(e),e.preventDefault()))},R=async e=>{x.disabled||(await f(),!e.defaultPrevented&&I(e)&&(P(),N=window.setTimeout(()=>{F(e)},C.value)))},z=async e=>{x.disabled||(await f(),!e.defaultPrevented&&I(e)&&P())};return y(()=>{x.reference&&(E(x.reference),x.reference.addEventListener(`contextmenu`,L),x.reference.addEventListener(`pointerdown`,R),x.reference.addEventListener(`pointermove`,z),x.reference.addEventListener(`pointercancel`,z),x.reference.addEventListener(`pointerup`,z),p(()=>{x.reference?.removeEventListener(`contextmenu`,L),x.reference?.removeEventListener(`pointerdown`,R),x.reference?.removeEventListener(`pointermove`,z),x.reference?.removeEventListener(`pointercancel`,z),x.reference?.removeEventListener(`pointerup`,z)}))}),(e,r)=>(m(),c(i,null,[l(_(n),{as:`template`,reference:M.value},null,8,[`reference`]),u.reference?s(`v-if`,!0):(m(),o(_(t),d({key:0,ref:_(O)},{...x,..._(k)},{"data-disabled":A.value,"data-state":_(S),style:{WebkitTouchCallout:`none`,pointerEvents:`auto`},onContextmenu:L,onPointerdown:R,onPointermove:z,onPointercancel:z,onPointerup:z}),{default:b(()=>[g(e.$slots,`default`)]),_:3},16,[`data-disabled`,`data-state`]))],64))}});export{x as default};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import * as vue1324 from "vue";
|
|
3
|
+
import { ContextMenuTriggerProps } from "./types.js";
|
|
4
|
+
import * as vue1527 from "vue";
|
|
6
5
|
|
|
7
6
|
//#region src/components/context-menu/context-menu-trigger.vue.d.ts
|
|
8
7
|
declare var __VLS_18: {};
|
|
9
8
|
type __VLS_Slots = {} & {
|
|
10
9
|
default?: (props: typeof __VLS_18) => any;
|
|
11
10
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
as: AsTag |
|
|
14
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1527.DefineComponent<ContextMenuTriggerProps, {}, {}, {}, {}, vue1527.ComponentOptionsMixin, vue1527.ComponentOptionsMixin, {}, string, vue1527.PublicProps, Readonly<ContextMenuTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1527.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1527.ComponentProvideOptions, false, {}, any>;
|
|
15
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
15
|
declare const _default: typeof __VLS_export;
|
|
17
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{
|
|
1
|
+
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useDirection as n}from"../config-provider/context.js";import{computed as r,shallowRef as i}from"vue";const[a,o]=t(`ContextMenuRoot`,t=>{let{open:a}=t,o=e=>{a.value=e},s=n(t.dir),c=r(()=>e(a.value)),l=i(null),u=e=>{l.value=e};return{...t,dir:s,dataState:c,onOpenChange:o,triggerElement:l,onTriggerElementChange:u}});export{a as provideContextMenuRootContext,o as useContextMenuRootContext};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PortalProps } from "../portal/types.js";
|
|
2
2
|
import { _default as _default$9 } from "../portal/portal.vue.js";
|
|
3
3
|
import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
4
|
-
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps,
|
|
5
|
-
import { ContextMenuContentEmits, ContextMenuContentProps, ContextMenuRootEmits, ContextMenuRootProps } from "./types.js";
|
|
4
|
+
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuUi, MenuUiSlot } from "../menu/types.js";
|
|
5
|
+
import { ContextMenuContentEmits, ContextMenuContentProps, ContextMenuRootEmits, ContextMenuRootProps, ContextMenuTriggerProps } from "./types.js";
|
|
6
6
|
import { _default as _default$12 } from "./context-menu-root.vue.js";
|
|
7
7
|
import { _default as _default$17 } from "./context-menu-trigger.vue.js";
|
|
8
8
|
import { _default } from "../popper/popper-anchor.vue.js";
|
|
@@ -22,4 +22,4 @@ import { _default as _default$2 } from "../menu/menu-checkbox-group.vue.js";
|
|
|
22
22
|
import { _default as _default$10 } from "../menu/menu-radio-group.vue.js";
|
|
23
23
|
import "../menu/index.js";
|
|
24
24
|
import { _default as _default$4 } from "./context-menu-content.vue.js";
|
|
25
|
-
export { _default as ContextMenuAnchor, type PopperAnchorProps as ContextMenuAnchorProps, _default$1 as ContextMenuArrow, type PopperArrowProps as ContextMenuArrowProps, _default$2 as ContextMenuCheckboxGroup, type MenuCheckboxGroupEmits as ContextMenuCheckboxGroupEmits, type MenuCheckboxGroupProps as ContextMenuCheckboxGroupProps, _default$3 as ContextMenuCheckboxItem, type MenuCheckboxItemEmits as ContextMenuCheckboxItemEmits, type MenuCheckboxItemProps as ContextMenuCheckboxItemProps, _default$4 as ContextMenuContent, type ContextMenuContentEmits, type ContextMenuContentProps, _default$5 as ContextMenuGroup, _default$6 as ContextMenuGroupLabel, type MenuGroupLabelProps as ContextMenuGroupLabelProps, type MenuGroupProps as ContextMenuGroupProps, _default$7 as ContextMenuItem, type MenuItemEmits as ContextMenuItemEmits, _default$8 as ContextMenuItemIndicator, type MenuItemIndicatorProps as ContextMenuItemIndicatorProps, type MenuItemProps as ContextMenuItemProps, type MenuPopupProps as ContextMenuPopupProps, _default$9 as ContextMenuPortal, type PortalProps as ContextMenuPortalProps, _default$10 as ContextMenuRadioGroup, type MenuRadioGroupEmits as ContextMenuRadioGroupEmits, type MenuRadioGroupProps as ContextMenuRadioGroupProps, _default$11 as ContextMenuRadioItem, type MenuRadioItemEmits as ContextMenuRadioItemEmits, type MenuRadioItemProps as ContextMenuRadioItemProps, _default$12 as ContextMenuRoot, type ContextMenuRootEmits, type ContextMenuRootProps, _default$13 as ContextMenuSeparator, type SeparatorRootProps as ContextMenuSeparatorProps, _default$14 as ContextMenuSub, _default$15 as ContextMenuSubContent, type MenuSubContentEmits as ContextMenuSubContentEmits, type MenuSubContentProps as ContextMenuSubContentProps, type MenuSubEmits as ContextMenuSubEmits, type MenuSubProps as ContextMenuSubProps, _default$16 as ContextMenuSubTrigger, type MenuSubTriggerProps as ContextMenuSubTriggerProps, _default$17 as ContextMenuTrigger, type
|
|
25
|
+
export { _default as ContextMenuAnchor, type PopperAnchorProps as ContextMenuAnchorProps, _default$1 as ContextMenuArrow, type PopperArrowProps as ContextMenuArrowProps, _default$2 as ContextMenuCheckboxGroup, type MenuCheckboxGroupEmits as ContextMenuCheckboxGroupEmits, type MenuCheckboxGroupProps as ContextMenuCheckboxGroupProps, _default$3 as ContextMenuCheckboxItem, type MenuCheckboxItemEmits as ContextMenuCheckboxItemEmits, type MenuCheckboxItemProps as ContextMenuCheckboxItemProps, _default$4 as ContextMenuContent, type ContextMenuContentEmits, type ContextMenuContentProps, _default$5 as ContextMenuGroup, _default$6 as ContextMenuGroupLabel, type MenuGroupLabelProps as ContextMenuGroupLabelProps, type MenuGroupProps as ContextMenuGroupProps, _default$7 as ContextMenuItem, type MenuItemEmits as ContextMenuItemEmits, _default$8 as ContextMenuItemIndicator, type MenuItemIndicatorProps as ContextMenuItemIndicatorProps, type MenuItemProps as ContextMenuItemProps, type MenuPopupProps as ContextMenuPopupProps, _default$9 as ContextMenuPortal, type PortalProps as ContextMenuPortalProps, _default$10 as ContextMenuRadioGroup, type MenuRadioGroupEmits as ContextMenuRadioGroupEmits, type MenuRadioGroupProps as ContextMenuRadioGroupProps, _default$11 as ContextMenuRadioItem, type MenuRadioItemEmits as ContextMenuRadioItemEmits, type MenuRadioItemProps as ContextMenuRadioItemProps, _default$12 as ContextMenuRoot, type ContextMenuRootEmits, type ContextMenuRootProps, _default$13 as ContextMenuSeparator, type SeparatorRootProps as ContextMenuSeparatorProps, _default$14 as ContextMenuSub, _default$15 as ContextMenuSubContent, type MenuSubContentEmits as ContextMenuSubContentEmits, type MenuSubContentProps as ContextMenuSubContentProps, type MenuSubEmits as ContextMenuSubEmits, type MenuSubProps as ContextMenuSubProps, _default$16 as ContextMenuSubTrigger, type MenuSubTriggerProps as ContextMenuSubTriggerProps, _default$17 as ContextMenuTrigger, type ContextMenuTriggerProps, type MenuUi as ContextMenuUi, type MenuUiSlot as ContextMenuUiSlot };
|
|
@@ -14,5 +14,11 @@ interface ContextMenuRootProps extends Omit<MenuRootProps, 'open' | 'defaultOpen
|
|
|
14
14
|
type ContextMenuRootEmits = MenuRootEmits;
|
|
15
15
|
type ContextMenuContentProps = Omit<MenuContentProps, 'side' | 'sideOffset' | 'align' | 'arrowPadding' | 'updatePositionStrategy'>;
|
|
16
16
|
type ContextMenuContentEmits = MenuContentEmits;
|
|
17
|
+
interface ContextMenuTriggerProps extends MenuTriggerProps {
|
|
18
|
+
/**
|
|
19
|
+
* The reference element for the context menu trigger.
|
|
20
|
+
*/
|
|
21
|
+
reference?: HTMLElement | null;
|
|
22
|
+
}
|
|
17
23
|
//#endregion
|
|
18
|
-
export { ContextMenuContentEmits, ContextMenuContentProps, ContextMenuRootEmits, ContextMenuRootProps };
|
|
24
|
+
export { ContextMenuContentEmits, ContextMenuContentProps, ContextMenuRootEmits, ContextMenuRootProps, ContextMenuTriggerProps };
|
|
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { DialogUiSlot } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue246 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/dialog/context.d.ts
|
|
8
8
|
|
|
9
|
-
declare const provideDialogUi: (ui:
|
|
9
|
+
declare const provideDialogUi: (ui: vue246.ComputedRef<Partial<UiClass<DialogUiSlot>>>) => vue246.ComputedRef<Partial<UiClass<DialogUiSlot>>>, useDialogUi: <S extends DialogUiSlot | undefined = undefined>(slot?: S | undefined) => S extends DialogUiSlot ? vue246.ComputedRef<ClassValue> : vue246.ComputedRef<Partial<UiClass<DialogUiSlot>>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { provideDialogUi };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DialogCloseProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue236 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dialog/dialog-close.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue236.DefineComponent<DialogCloseProps, {}, {}, {}, {}, vue236.ComponentOptionsMixin, vue236.ComponentOptionsMixin, {}, string, vue236.PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue236.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 & {
|