@soybeanjs/headless 0.3.0 → 0.3.1
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/accordion/context.js +1 -1
- package/dist/components/alert/alert-close.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/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.js +1 -1
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/context.d.ts +2 -2
- package/dist/components/collapsible/context.js +1 -1
- 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.js +1 -1
- 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 +4 -4
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/context.js +1 -1
- 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 +5 -5
- 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/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/form/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-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.js +1 -1
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +4 -4
- package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/link.vue.d.ts +4 -4
- package/dist/components/list/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.js +1 -1
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.js +1 -1
- 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.js +1 -1
- 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/context.js +1 -1
- 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-impl.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
- package/dist/components/number-input/context.d.ts +2 -2
- package/dist/components/number-input/number-input-control.js +1 -1
- package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
- package/dist/components/number-input/number-input-decrement.js +1 -1
- package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-increment.js +1 -1
- package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/pagination-ellipsis.js +1 -1
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.js +1 -1
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.js +1 -1
- 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.js +1 -1
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.js +1 -1
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
- package/dist/components/popover/popover-close.js +1 -1
- 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 +5 -5
- 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 +53 -53
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/portal/portal.vue.d.ts +3 -3
- 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.js +1 -1
- 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/context.js +1 -1
- package/dist/components/select/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content-impl.js +1 -1
- package/dist/components/select/select-content.vue.d.ts +8 -8
- package/dist/components/select/select-group-label.vue.d.ts +2 -2
- package/dist/components/select/select-group.vue.d.ts +2 -2
- package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
- package/dist/components/select/select-item-text.vue.d.ts +2 -2
- package/dist/components/select/select-item.js +1 -1
- 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.js +1 -1
- 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-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +7 -7
- package/dist/components/toast/toast-title.vue.d.ts +2 -2
- package/dist/components/toast/toast-viewport.js +1 -1
- package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
- package/dist/components/tooltip/context.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/composables/use-forward-element.d.ts +2 -2
- package/dist/composables/use-grace-area.js +1 -1
- package/dist/composables/use-image-loading-status.d.ts +2 -2
- package/dist/composables/use-image-loading-status.js +1 -1
- package/dist/composables/use-is-using-keyboard.d.ts +2 -2
- package/dist/composables/use-is-using-keyboard.js +1 -1
- 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/shared/focus.js +1 -1
- package/package.json +26 -26
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { BreadcrumbUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1027 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/breadcrumb/context.d.ts
|
|
7
|
-
declare const provideBreadcrumbUi: (ui:
|
|
7
|
+
declare const provideBreadcrumbUi: (ui: vue1027.ComputedRef<Partial<UiClass<BreadcrumbUiSlot>>>) => vue1027.ComputedRef<Partial<UiClass<BreadcrumbUiSlot>>>, useBreadcrumbUi: <S extends BreadcrumbUiSlot | undefined = undefined>(slot?: S | undefined) => S extends BreadcrumbUiSlot ? vue1027.ComputedRef<ClassValue> : vue1027.ComputedRef<Partial<UiClass<BreadcrumbUiSlot>>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { provideBreadcrumbUi };
|
|
@@ -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 vue253 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: vue253.DefineComponent<ButtonProps, {}, {}, {}, {}, vue253.ComponentOptionsMixin, vue253.ComponentOptionsMixin, {
|
|
12
12
|
click: (event: MouseEvent) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue253.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
14
14
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
as: AsTag |
|
|
17
|
-
}, {}, {}, {}, string,
|
|
16
|
+
as: AsTag | vue253.Component;
|
|
17
|
+
}, {}, {}, {}, string, vue253.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 vue190 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: vue190.DefineComponent<CardContentProps, {}, {}, {}, {}, vue190.ComponentOptionsMixin, vue190.ComponentOptionsMixin, {}, string, vue190.PublicProps, Readonly<CardContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue190.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 vue200 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: vue200.DefineComponent<CardDescriptionProps, {}, {}, {}, {}, vue200.ComponentOptionsMixin, vue200.ComponentOptionsMixin, {}, string, vue200.PublicProps, Readonly<CardDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue200.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 vue195 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: vue195.DefineComponent<CardFooterProps, {}, {}, {}, {}, vue195.ComponentOptionsMixin, vue195.ComponentOptionsMixin, {}, string, vue195.PublicProps, Readonly<CardFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue195.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 vue180 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: vue180.DefineComponent<CardHeaderProps, {}, {}, {}, {}, vue180.ComponentOptionsMixin, vue180.ComponentOptionsMixin, {}, string, vue180.PublicProps, Readonly<CardHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue180.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 vue175 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: vue175.DefineComponent<CardRootProps, {}, {}, {}, {}, vue175.ComponentOptionsMixin, vue175.ComponentOptionsMixin, {}, string, vue175.PublicProps, Readonly<CardRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue175.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 vue185 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: vue185.DefineComponent<CardTitleRootProps, {}, {}, {}, {}, vue185.ComponentOptionsMixin, vue185.ComponentOptionsMixin, {}, string, vue185.PublicProps, Readonly<CardTitleRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue185.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 vue170 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: vue170.DefineComponent<CardTitleProps, {}, {}, {}, {}, vue170.ComponentOptionsMixin, vue170.ComponentOptionsMixin, {}, string, vue170.PublicProps, Readonly<CardTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue170.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 vue205 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/card/context.d.ts
|
|
7
|
-
declare const provideCardUi: (ui:
|
|
7
|
+
declare const provideCardUi: (ui: vue205.ComputedRef<Partial<UiClass<CardUiSlot>>>) => vue205.ComputedRef<Partial<UiClass<CardUiSlot>>>, useCardUi: <S extends CardUiSlot | undefined = undefined>(slot?: S | undefined) => S extends CardUiSlot ? vue205.ComputedRef<ClassValue> : vue205.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 vue1755 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: vue1755.DefineComponent<CheckboxControlProps, {}, {}, {}, {}, vue1755.ComponentOptionsMixin, vue1755.ComponentOptionsMixin, {}, string, vue1755.PublicProps, Readonly<CheckboxControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1755.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 vue1748 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: vue1748.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
|
+
}>) => vue1748.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 vue1760 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: vue1760.DefineComponent<CheckboxIndicatorProps, {}, {}, {}, {}, vue1760.ComponentOptionsMixin, vue1760.ComponentOptionsMixin, {}, string, vue1760.PublicProps, Readonly<CheckboxIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1760.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1760.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 vue1766 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: vue1766.DefineComponent<LabelProps, {}, {}, {}, {}, vue1766.ComponentOptionsMixin, vue1766.ComponentOptionsMixin, {}, string, vue1766.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1766.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 vue1750 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: vue1750.DefineComponent<CheckboxRootProps, {}, {}, {}, {}, vue1750.ComponentOptionsMixin, vue1750.ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (value: CheckedState | null) => any;
|
|
17
|
-
}, string,
|
|
17
|
+
}, string, vue1750.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, vue1750.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 vue1771 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: vue1771.ComputedRef<Partial<UiClass<CheckboxUiSlot>>>) => vue1771.ComputedRef<Partial<UiClass<CheckboxUiSlot>>>, useCheckboxUi: <S extends CheckboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends CheckboxUiSlot ? vue1771.ComputedRef<ClassValue> : vue1771.ComputedRef<Partial<UiClass<CheckboxUiSlot>>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { provideCheckboxUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{usePresence as t}from"../../composables/use-presence.js";import{useCollapsibleRootContext as n,useCollapsibleUi as r}from"./context.js";import{Primitive as i}from"../primitive/primitive.js";import{collapsibleContentCssVars as a}from"./shared.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,nextTick as u,normalizeClass as d,onMounted as f,openBlock as p,renderSlot as m,shallowRef as h,unref as g,watch as _,withCtx as v}from"vue";var y=l({name:`CollapsibleContent`,__name:`collapsible-content`,props:{asChild:{type:Boolean},as:{},forceMount:{type:Boolean}},setup(l){let y=l,[b,x]=e(),{contentId:S,initContentId:C,open:w,dataDisabled:T,dataState:E,unmountOnHide:D}=n(`CollapsibleContent`),O=r(`content`),k=y.forceMount?h(!0):t(b,w,F),A={[a.width]:`0px`,[a.height]:`0px`},j=o(()=>k.value||w.value),M=w.value,N,P=o(()=>{if(!j.value)return D.value?``:`until-found`});function F(){let e=b.value;if(!e)return;let t=e.style;N
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{usePresence as t}from"../../composables/use-presence.js";import{useCollapsibleRootContext as n,useCollapsibleUi as r}from"./context.js";import{Primitive as i}from"../primitive/primitive.js";import{collapsibleContentCssVars as a}from"./shared.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,nextTick as u,normalizeClass as d,onMounted as f,openBlock as p,renderSlot as m,shallowRef as h,unref as g,watch as _,withCtx as v}from"vue";var y=l({name:`CollapsibleContent`,__name:`collapsible-content`,props:{asChild:{type:Boolean},as:{},forceMount:{type:Boolean}},setup(l){let y=l,[b,x]=e(),{contentId:S,initContentId:C,open:w,dataDisabled:T,dataState:E,unmountOnHide:D}=n(`CollapsibleContent`),O=r(`content`),k=y.forceMount?h(!0):t(b,w,F),A={[a.width]:`0px`,[a.height]:`0px`},j=o(()=>k.value||w.value),M=w.value,N,P=o(()=>{if(!j.value)return D.value?``:`until-found`});function F(){let e=b.value;if(!e)return;let t=e.style;N||(N={transitionDuration:t.transitionDuration,animationName:t.animationName}),t.transitionDuration=`0s`,t.animationName=`none`;let n=e.getBoundingClientRect();t.setProperty(a.width,`${n.width}px`),t.setProperty(a.height,`${n.height}px`),M||(t.transitionDuration=N.transitionDuration,t.animationName=N.animationName)}return _(j,async()=>{await u(),F()},{immediate:!0,flush:`post`}),C(),f(()=>{requestAnimationFrame(()=>{M=!1})}),(e,t)=>(p(),s(g(i),{id:g(S),ref:g(x),as:l.as,"as-child":l.asChild,class:d(g(O)),"data-disabled":g(T),"data-state":g(E),hidden:P.value,style:A},{default:v(()=>[!g(D)||j.value?m(e.$slots,`default`,{key:0}):c(`v-if`,!0)]),_:3},8,[`id`,`as`,`as-child`,`class`,`data-disabled`,`data-state`,`hidden`]))}});export{y as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CollapsibleContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1677 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: vue1677.DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, vue1677.ComponentOptionsMixin, vue1677.ComponentOptionsMixin, {}, string, vue1677.PublicProps, Readonly<CollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1677.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 vue1671 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: vue1671.DefineComponent<CollapsibleRootProps, {
|
|
12
|
+
open: vue1671.ShallowRef<boolean | undefined>;
|
|
13
|
+
}, {}, {}, {}, vue1671.ComponentOptionsMixin, vue1671.ComponentOptionsMixin, {
|
|
14
14
|
"update:open": (value: boolean) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue1671.PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
open: boolean;
|
|
19
19
|
defaultOpen: boolean;
|
|
20
20
|
unmountOnHide: boolean;
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue1671.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 vue1682 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: vue1682.DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, vue1682.ComponentOptionsMixin, vue1682.ComponentOptionsMixin, {}, string, vue1682.PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1682.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1682.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 vue1688 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: vue1688.ComputedRef<Partial<UiClass<CollapsibleUiSlot>>>) => vue1688.ComputedRef<Partial<UiClass<CollapsibleUiSlot>>>, useCollapsibleUi: <S extends CollapsibleUiSlot | undefined = undefined>(slot?: S | undefined) => S extends CollapsibleUiSlot ? vue1688.ComputedRef<ClassValue> : vue1688.ComputedRef<Partial<UiClass<CollapsibleUiSlot>>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { provideCollapsibleUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useUiContext as n}from"../../composables/use-ui-context.js";import{computed as r,shallowRef as i,useId as a}from"vue";const[o,s]=t(`CollapsibleRoot`,t=>{let{open:n,disabled:o,unmountOnHide:s}=t,c=()=>{o.value||(n.value=!n.value)},l=i(``);return{open:n,disabled:o,unmountOnHide:s,onOpenToggle:c,contentId:l,initContentId:()=>{l.value
|
|
1
|
+
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useUiContext as n}from"../../composables/use-ui-context.js";import{computed as r,shallowRef as i,useId as a}from"vue";const[o,s]=t(`CollapsibleRoot`,t=>{let{open:n,disabled:o,unmountOnHide:s}=t,c=()=>{o.value||(n.value=!n.value)},l=i(``);return{open:n,disabled:o,unmountOnHide:s,onOpenToggle:c,contentId:l,initContentId:()=>{l.value||(l.value=`soybean-collapsible-content-${a()}`)},dataDisabled:r(()=>o.value?``:void 0),dataState:r(()=>e(n.value))}}),[c,l]=n(`CollapsibleUi`);export{o as provideCollapsibleRootContext,c as provideCollapsibleUi,s as useCollapsibleRootContext,l as useCollapsibleUi};
|
|
@@ -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 vue1666 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: vue1666.DefineComponent<ConfigProviderProps, {}, {}, {}, {}, vue1666.ComponentOptionsMixin, vue1666.ComponentOptionsMixin, {}, string, vue1666.PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
|
|
12
12
|
nuxt: boolean;
|
|
13
13
|
dir: Direction;
|
|
14
14
|
locale: string;
|
|
15
15
|
nonce: string;
|
|
16
|
-
}, {}, {}, {}, string,
|
|
16
|
+
}, {}, {}, {}, string, vue1666.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 vue1661 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: vue1661.DefineComponent<ContextMenuContentProps, {}, {}, {}, {}, vue1661.ComponentOptionsMixin, vue1661.ComponentOptionsMixin, {
|
|
12
|
+
closeAutoFocus: (event: Event) => any;
|
|
12
13
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
15
|
+
entryFocus: (event: Event) => any;
|
|
14
16
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
17
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
18
|
openAutoFocus: (event: Event) => any;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}, string, vue1097.PublicProps, Readonly<ContextMenuContentProps> & Readonly<{
|
|
19
|
+
}, string, vue1661.PublicProps, Readonly<ContextMenuContentProps> & Readonly<{
|
|
20
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
21
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
21
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
23
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
22
24
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
23
25
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
24
26
|
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, vue1661.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 +1 @@
|
|
|
1
|
-
import{transformPropsToContext as e}from"../../shared/vue.js";import t from"../menu/menu-root.js";import{provideContextMenuRootContext as n}from"./context.js";import{createBlock as r,defineComponent as i,openBlock as a,ref as o,renderSlot as s,unref as c,watch as l,withCtx as u}from"vue";var d=i({name:`ContextMenuRoot`,inheritAttrs:!1,__name:`context-menu-root`,props:{pressOpenDelay:{default:700},dir:{},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(i,{emit:d}){let f=i,p=d,m=o(!1);return l(m,e=>{p(`update:open`,e)}),n({...e(f,[`dir`,`modal`,`pressOpenDelay`]),open:m}),(e,n)=>(a(),r(c(t),{open:m.value,"onUpdate:open":n[0]
|
|
1
|
+
import{transformPropsToContext as e}from"../../shared/vue.js";import t from"../menu/menu-root.js";import{provideContextMenuRootContext as n}from"./context.js";import{createBlock as r,defineComponent as i,openBlock as a,ref as o,renderSlot as s,unref as c,watch as l,withCtx as u}from"vue";var d=i({name:`ContextMenuRoot`,inheritAttrs:!1,__name:`context-menu-root`,props:{pressOpenDelay:{default:700},dir:{},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(i,{emit:d}){let f=i,p=d,m=o(!1);return l(m,e=>{p(`update:open`,e)}),n({...e(f,[`dir`,`modal`,`pressOpenDelay`]),open:m}),(e,n)=>(a(),r(c(t),{open:m.value,"onUpdate:open":n[0]||(n[0]=e=>m.value=e),dir:i.dir,modal:i.modal},{default:u(()=>[s(e.$slots,`default`,{open:m.value})]),_:3},8,[`open`,`dir`,`modal`]))}});export{d as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContextMenuRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1650 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: vue1650.DefineComponent<ContextMenuRootProps, {}, {}, {}, {}, vue1650.ComponentOptionsMixin, vue1650.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1650.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, vue1650.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{Primitive as e}from"../primitive/primitive.js";import t from"../popper/popper-anchor.js";import{useContextMenuRootContext as n}from"./context.js";import{Fragment as r,computed as i,createElementBlock as a,createVNode as o,defineComponent as s,mergeProps as c,nextTick as l,openBlock as u,ref as d,renderSlot as f,unref as p,useAttrs as m,withCtx as h}from"vue";var g=s({name:`ContextMenuTrigger`,inheritAttrs:!1,__name:`context-menu-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(s){let g=s,{dataState:_,pressOpenDelay:v,onOpenChange:y,setTriggerElement:b}=n(`ContextMenuTrigger`),x=m(),S=i(()=>g.disabled?``:void 0),C=d({x:0,y:0}),w=i(()=>({getBoundingClientRect:()=>({width:0,height:0,left:C.value.x,right:C.value.x,top:C.value.y,bottom:C.value.y,...C.value})})),T=null,E=()=>{T
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import t from"../popper/popper-anchor.js";import{useContextMenuRootContext as n}from"./context.js";import{Fragment as r,computed as i,createElementBlock as a,createVNode as o,defineComponent as s,mergeProps as c,nextTick as l,openBlock as u,ref as d,renderSlot as f,unref as p,useAttrs as m,withCtx as h}from"vue";var g=s({name:`ContextMenuTrigger`,inheritAttrs:!1,__name:`context-menu-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(s){let g=s,{dataState:_,pressOpenDelay:v,onOpenChange:y,setTriggerElement:b}=n(`ContextMenuTrigger`),x=m(),S=i(()=>g.disabled?``:void 0),C=d({x:0,y:0}),w=i(()=>({getBoundingClientRect:()=>({width:0,height:0,left:C.value.x,right:C.value.x,top:C.value.y,bottom:C.value.y,...C.value})})),T=null,E=()=>{T&&(window.clearTimeout(T),T=null)},D=e=>{let{clientX:t,clientY:n}=e;C.value={x:t,y:n},y(!0)},O=e=>e.pointerType!==`mouse`,k=async e=>{g.disabled||(await l(),!e.defaultPrevented&&(E(),D(e),e.preventDefault()))},A=async e=>{g.disabled||(await l(),!e.defaultPrevented&&O(e)&&(E(),T=window.setTimeout(()=>{D(e)},v.value)))},j=async e=>{g.disabled||(await l(),!e.defaultPrevented&&O(e)&&E())};return(n,i)=>(u(),a(r,null,[o(p(t),{as:`template`,reference:w.value},null,8,[`reference`]),o(p(e),c({ref:p(b)},{...g,...p(x)},{"data-disabled":S.value,"data-state":p(_),style:{WebkitTouchCallout:`none`,pointerEvents:`auto`},onContextmenu:k,onPointerdown:A,onPointermove:j,onPointercancel:j,onPointerup:j}),{default:h(()=>[f(n.$slots,`default`)]),_:3},16,[`data-disabled`,`data-state`])],64))}});export{g as default};
|
|
@@ -2,16 +2,16 @@ import { AsTag } from "../primitive/types.js";
|
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { MenuTriggerProps } from "../menu/types.js";
|
|
4
4
|
import "./types.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1655 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/context-menu/context-menu-trigger.vue.d.ts
|
|
8
8
|
declare var __VLS_18: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_18) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
as: AsTag |
|
|
14
|
-
}, {}, {}, {}, string,
|
|
12
|
+
declare const __VLS_base: vue1655.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue1655.ComponentOptionsMixin, vue1655.ComponentOptionsMixin, {}, string, vue1655.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {
|
|
13
|
+
as: AsTag | vue1655.Component;
|
|
14
|
+
}, {}, {}, {}, string, vue1655.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 & {
|
|
@@ -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 vue1414 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: vue1414.ComputedRef<Partial<UiClass<DialogUiSlot>>>) => vue1414.ComputedRef<Partial<UiClass<DialogUiSlot>>>, useDialogUi: <S extends DialogUiSlot | undefined = undefined>(slot?: S | undefined) => S extends DialogUiSlot ? vue1414.ComputedRef<ClassValue> : vue1414.ComputedRef<Partial<UiClass<DialogUiSlot>>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { provideDialogUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useForwardElement as n}from"../../composables/use-forward-element.js";import{useUiContext as r}from"../../composables/use-ui-context.js";import{computed as i,shallowRef as a,useId as o}from"vue";const[s,c]=t(`DialogRoot`,t=>{let[r,s]=n(),[c,l]=n(),{open:u,modal:d}=t,f=e=>{u.value=e},p=()=>{u.value=!u.value},m=i(()=>e(u.value)),h=a(``),g=()=>{h.value
|
|
1
|
+
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useForwardElement as n}from"../../composables/use-forward-element.js";import{useUiContext as r}from"../../composables/use-ui-context.js";import{computed as i,shallowRef as a,useId as o}from"vue";const[s,c]=t(`DialogRoot`,t=>{let[r,s]=n(),[c,l]=n(),{open:u,modal:d}=t,f=e=>{u.value=e},p=()=>{u.value=!u.value},m=i(()=>e(u.value)),h=a(``),g=()=>{h.value||(h.value=`soybean-dialog-content-${o()}`)},_=a(``),v=()=>{_.value||(_.value=`soybean-dialog-title-${o()}`)},y=a(``);return{open:u,onOpenChange:f,onOpenToggle:p,modal:d,dataState:m,triggerElement:r,setTriggerElement:s,contentElement:c,setContentElement:l,contentId:h,initContentId:g,titleId:_,initTitleId:v,descriptionId:y,initDescriptionId:()=>{y.value||(y.value=`soybean-dialog-description-${o()}`)}}}),[l,u]=r(`DialogUi`);export{s as provideDialogRootContext,l as provideDialogUi,c as useDialogRootContext,u as useDialogUi};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DialogCloseProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1394 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: vue1394.DefineComponent<DialogCloseProps, {}, {}, {}, {}, vue1394.ComponentOptionsMixin, vue1394.ComponentOptionsMixin, {}, string, vue1394.PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1394.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 & {
|