@soybeanjs/headless 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
- package/dist/components/accordion/accordion-root.vue.d.ts +4 -4
- package/dist/components/accordion/accordion-trigger.js +1 -1
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/alert/alert-close.vue.d.ts +2 -2
- package/dist/components/alert/alert-content.vue.d.ts +2 -2
- package/dist/components/alert/alert-description.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.vue.d.ts +4 -4
- package/dist/components/alert/alert-title.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-content.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 -18
- package/dist/components/arrow/index.d.ts +1 -2
- package/dist/components/arrow/index.js +1 -1
- package/dist/components/arrow/types.d.ts +1 -15
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
- package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
- package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
- package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
- package/dist/components/badge/badge-content.vue.d.ts +2 -2
- package/dist/components/badge/badge-root.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/card/card-content.vue.d.ts +2 -2
- package/dist/components/card/card-description.vue.d.ts +2 -2
- package/dist/components/card/card-footer.vue.d.ts +2 -2
- package/dist/components/card/card-header.vue.d.ts +2 -2
- package/dist/components/card/card-root.vue.d.ts +2 -2
- package/dist/components/card/card-title-root.vue.d.ts +2 -2
- package/dist/components/card/card-title.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
- package/dist/components/collapsible/collapsible-trigger.js +1 -1
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/types.d.ts +4 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.js +1 -1
- package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +6 -6
- package/dist/components/context-menu/index.d.ts +3 -4
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content-impl.js +1 -1
- package/dist/components/dialog/dialog-content.js +1 -1
- package/dist/components/dialog/dialog-content.vue.d.ts +8 -8
- 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/dialog/types.d.ts +1 -1
- package/dist/components/dropdown-menu/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/index.d.ts +3 -4
- package/dist/components/form/form-description.vue.d.ts +2 -2
- package/dist/components/form/form-error.vue.d.ts +2 -2
- package/dist/components/form/form-field-array.vue.d.ts +2 -2
- package/dist/components/form/form-field.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/input-control.vue.d.ts +2 -2
- package/dist/components/input/input-root.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +2 -2
- package/dist/components/label/label.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 +4 -4
- 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 +5 -5
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +6 -5
- package/dist/components/link/types.d.ts +6 -1
- package/dist/components/list/list-content.vue.d.ts +2 -2
- package/dist/components/list/list-description.vue.d.ts +2 -2
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list-root.vue.d.ts +2 -2
- package/dist/components/list/list-title.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.vue.d.ts +6 -6
- 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 +8 -8
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +3 -4
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +4 -4
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +6 -6
- package/dist/components/menu/menu-content-impl.js +1 -1
- package/dist/components/menu/menu-content.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +11 -11
- 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 +6 -6
- package/dist/components/menu/menu-radio-group.vue.d.ts +4 -4
- package/dist/components/menu/menu-radio-item.vue.d.ts +6 -6
- package/dist/components/menu/menu-root.js +1 -1
- 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 +10 -10
- package/dist/components/menu/menu-sub-trigger.js +1 -1
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub.js +1 -1
- package/dist/components/menu/menu-sub.vue.d.ts +4 -4
- package/dist/components/menu/shared.js +1 -1
- package/dist/components/menu/types.d.ts +7 -12
- package/dist/components/navigation-menu/navigation-menu-content-impl.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +6 -6
- package/dist/components/navigation-menu/navigation-menu-indicator.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +6 -6
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +7 -6
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
- 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/navigation-menu/types.d.ts +3 -1
- package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
- package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/index.d.ts +7 -7
- package/dist/components/popover/index.js +1 -1
- 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.js +1 -0
- package/dist/components/popover/popover-popup.vue.d.ts +18 -0
- package/dist/components/popover/popover-positioner-impl.js +1 -0
- package/dist/components/popover/popover-positioner.js +1 -0
- package/dist/components/popover/{popover-content.vue.d.ts → popover-positioner.vue.d.ts} +10 -10
- package/dist/components/popover/popover-root.js +1 -1
- package/dist/components/popover/popover-root.vue.d.ts +5 -4
- package/dist/components/popover/popover-trigger.js +1 -1
- package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
- package/dist/components/popover/types.d.ts +8 -7
- package/dist/components/popper/context.d.ts +6 -16
- package/dist/components/popper/context.js +1 -1
- package/dist/components/popper/index.d.ts +6 -6
- package/dist/components/popper/index.js +1 -1
- package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
- package/dist/components/popper/popper-arrow.js +1 -1
- package/dist/components/popper/popper-arrow.vue.d.ts +3 -14
- package/dist/components/popper/popper-popup.js +1 -0
- package/dist/components/popper/popper-popup.vue.d.ts +18 -0
- package/dist/components/popper/popper-positioner.js +1 -0
- package/dist/components/popper/{popper-content.vue.d.ts → popper-positioner.vue.d.ts} +24 -24
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/popper/shared.js +1 -1
- package/dist/components/popper/types.d.ts +10 -15
- package/dist/components/portal/portal.vue.d.ts +3 -3
- package/dist/components/primitive/primitive.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 +4 -4
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
- package/dist/components/select/context.js +1 -1
- package/dist/components/select/index.d.ts +3 -3
- package/dist/components/select/select-arrow.js +1 -1
- package/dist/components/select/select-arrow.vue.d.ts +3 -3
- package/dist/components/select/select-bubble-select.js +1 -0
- package/dist/components/select/select-content-impl.js +1 -1
- package/dist/components/select/select-content.js +1 -1
- package/dist/components/select/select-content.vue.d.ts +11 -11
- 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-aligned-popup.js +1 -0
- package/dist/components/select/select-item-aligned-positioner.js +1 -0
- 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-popper-popup.js +1 -0
- package/dist/components/select/select-root.js +1 -1
- package/dist/components/select/select-root.vue.d.ts +7 -7
- package/dist/components/select/select-scroll-down-button.vue.d.ts +4 -4
- package/dist/components/select/select-scroll-up-button.vue.d.ts +4 -4
- package/dist/components/select/select-separator.vue.d.ts +2 -2
- package/dist/components/select/select-teleport-provider.js +1 -1
- 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.js +1 -1
- package/dist/components/select/select-viewport.vue.d.ts +2 -2
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/types.d.ts +6 -5
- 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/separator/types.d.ts +1 -1
- package/dist/components/slot/slot.d.ts +2 -2
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.vue.d.ts +4 -4
- package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
- package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
- package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
- package/dist/components/toast/toast-action.vue.d.ts +4 -4
- package/dist/components/toast/toast-close.vue.d.ts +4 -4
- package/dist/components/toast/toast-description.vue.d.ts +2 -2
- package/dist/components/toast/toast-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +7 -7
- 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/context.js +1 -1
- package/dist/components/tooltip/index.d.ts +7 -7
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip-popup.js +1 -0
- package/dist/components/tooltip/tooltip-popup.vue.d.ts +18 -0
- package/dist/components/tooltip/tooltip-positioner-impl.js +1 -0
- package/dist/components/tooltip/tooltip-positioner.js +1 -0
- package/dist/components/tooltip/{tooltip-content.vue.d.ts → tooltip-positioner.vue.d.ts} +8 -8
- package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
- package/dist/components/tooltip/types.d.ts +7 -6
- package/dist/components/tree/tree-item.vue.d.ts +7 -7
- package/dist/components/tree/tree-root.vue.d.ts +4 -4
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +6 -6
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +4 -4
- package/dist/components/tree-menu/context.d.ts +8 -0
- package/dist/components/tree-menu/context.js +1 -0
- package/dist/components/tree-menu/index.d.ts +11 -0
- package/dist/components/tree-menu/index.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-collapsible.js +1 -0
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-group-label.js +1 -0
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +18 -0
- package/dist/components/tree-menu/tree-menu-group-root.js +1 -0
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +18 -0
- package/dist/components/tree-menu/tree-menu-group.js +1 -0
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-item.js +1 -0
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-root.js +1 -0
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +31 -0
- package/dist/components/tree-menu/tree-menu-sub.js +1 -0
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +22 -0
- package/dist/components/tree-menu/types.d.ts +74 -0
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
- package/dist/composables/index.d.ts +4 -2
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-collection.d.ts +6 -6
- package/dist/composables/use-direction.d.ts +2 -2
- package/dist/composables/use-dismissable-layer.d.ts +6 -15
- package/dist/composables/use-dismissable-layer.js +1 -1
- package/dist/composables/use-exposed-element.d.ts +2 -2
- package/dist/composables/use-floating.d.ts +86 -0
- package/dist/composables/use-floating.js +1 -0
- package/dist/composables/use-focus-scope.d.ts +0 -3
- package/dist/composables/use-focus-scope.js +1 -1
- package/dist/composables/use-forward-element.d.ts +2 -2
- package/dist/composables/use-grace-area.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-is-using-keyboard.d.ts +2 -2
- package/dist/composables/use-kbd.d.ts +2 -2
- package/dist/composables/use-locale.d.ts +2 -2
- package/dist/composables/use-nonce.d.ts +2 -2
- package/dist/composables/use-popup-events.d.ts +23 -0
- package/dist/composables/use-popup-events.js +1 -0
- 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.js +1 -1
- package/dist/index.d.ts +83 -70
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +395 -371
- package/dist/namespaced/index.js +1 -1
- package/dist/shared/event.js +1 -1
- package/package.json +12 -32
- package/dist/components/arrow/context.d.ts +0 -8
- package/dist/components/arrow/context.js +0 -1
- package/dist/components/dialog/shared.js +0 -1
- package/dist/components/popover/popover-content-impl.js +0 -1
- package/dist/components/popover/popover-content.js +0 -1
- package/dist/components/popper/popper-content.js +0 -1
- package/dist/components/select/bubble-select.js +0 -1
- package/dist/components/select/select-item-aligned-position.js +0 -1
- package/dist/components/select/select-popper-position.js +0 -1
- package/dist/components/tooltip/tooltip-content-impl.js +0 -1
- package/dist/components/tooltip/tooltip-content.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LayoutTriggerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1237 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layout/layout-trigger.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
@@ -8,7 +8,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: vue1237.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue1237.ComponentOptionsMixin, vue1237.ComponentOptionsMixin, {}, string, vue1237.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1237.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LinkProps } from "./types.js";
|
|
1
|
+
import { LinkBaseProps, LinkExtraProps, LinkProps } from "./types.js";
|
|
2
2
|
import { _default } from "./link.vue.js";
|
|
3
|
-
export { _default as Link, type LinkProps };
|
|
3
|
+
export { _default as Link, type LinkBaseProps, type LinkExtraProps, type LinkProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useConfigProvider as e}from"../config-provider/context.js";import{Primitive as t}from"../primitive/primitive.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,resolveComponent as c,resolveDynamicComponent as l,unref as u,useAttrs as d,withCtx as f}from"vue";var p=i({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},href:{},disabled:{type:Boolean,default:void 0},inactiveClass:{},external:{type:Boolean,default:void 0},target:{},rel:{},noRel:{type:Boolean,default:void 0},prefetchedClass:{},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},replace:{type:Boolean,default:void 0}},setup(i){let p=i,m=d(),{nuxt:h}=e(`Link`),g=n(()=>h.value?c(`NuxtLink`):c(`RouterLink`)),_=n(()=>!!(p.external||p.disabled||typeof p.to==`string`&&p.to.startsWith(`http`)||!p.to&&p.href||!p.to&&!p.href)),v=n(()=>p.target?p.target:_.value?`_blank`:`_self`),y=n(()=>{let e=p.to||p.href;return{...p,...m,target:v.value,to:_.value?void 0:e,href:!_.value&&h.value?void 0:e,"data-disabled":p.disabled?``:void 0,"aria-disabled":p.disabled?`true`:void 0,role:p.disabled?`link`:void 0,tabindex:p.disabled?`-1`:p.tabindex}}),b=e=>{p.disabled&&(e.preventDefault(),e.stopPropagation())};return(e,n)=>_.value?(o(),r(u(t),a({key:0},y.value,{onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!0})]),_:3},16)):(o(),r(l(g.value),a({key:1},y.value,{onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!1})]),_:3},16))}});export{p as default};
|
|
1
|
+
import{useConfigProvider as e}from"../config-provider/context.js";import{Primitive as t}from"../primitive/primitive.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,resolveComponent as c,resolveDynamicComponent as l,unref as u,useAttrs as d,withCtx as f}from"vue";var p=i({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},href:{},disabled:{type:Boolean,default:void 0},inactiveClass:{},external:{type:Boolean,default:void 0},target:{},rel:{default:`noopener noreferrer`},noRel:{type:Boolean,default:void 0},prefetchedClass:{},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},replace:{type:Boolean,default:void 0}},setup(i){let p=i,m=d(),{nuxt:h}=e(`Link`),g=n(()=>h.value?c(`NuxtLink`):c(`RouterLink`)),_=n(()=>!!(p.external||p.disabled||typeof p.to==`string`&&p.to.startsWith(`http`)||!p.to&&p.href||!p.to&&!p.href)),v=n(()=>p.target?p.target:_.value?`_blank`:`_self`),y=n(()=>{let e=p.to||p.href;return{...p,...m,target:v.value,to:_.value?void 0:e,href:!_.value&&h.value?void 0:e,"data-disabled":p.disabled?``:void 0,"aria-disabled":p.disabled?`true`:void 0,role:p.disabled?`link`:void 0,tabindex:p.disabled?`-1`:p.tabindex}}),b=e=>{p.disabled&&(e.preventDefault(),e.stopPropagation())};return(e,n)=>_.value?(o(),r(u(t),a({key:0},y.value,{onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!0})]),_:3},16)):(o(),r(l(g.value),a({key:1},y.value,{onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!1})]),_:3},16))}});export{p as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
|
-
import "../primitive/index.js";
|
|
3
2
|
import { LinkProps } from "./types.js";
|
|
4
|
-
import
|
|
3
|
+
import "../primitive/index.js";
|
|
4
|
+
import * as vue454 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/link/link.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {
|
|
@@ -14,16 +14,17 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
default?: (props: typeof __VLS_21) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue454.DefineComponent<LinkProps, {}, {}, {}, {}, vue454.ComponentOptionsMixin, vue454.ComponentOptionsMixin, {}, string, vue454.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
18
|
+
as: AsTag | vue454.Component;
|
|
18
19
|
replace: boolean;
|
|
19
|
-
as: AsTag | vue373.Component;
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
viewTransition: boolean;
|
|
22
22
|
external: boolean;
|
|
23
|
+
rel: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | (string & {}) | null;
|
|
23
24
|
noRel: boolean;
|
|
24
25
|
prefetch: boolean;
|
|
25
26
|
noPrefetch: boolean;
|
|
26
|
-
}, {}, {}, {}, string,
|
|
27
|
+
}, {}, {}, {}, string, vue454.ComponentProvideOptions, false, {}, any>;
|
|
27
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
29
|
declare const _default: typeof __VLS_export;
|
|
29
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -30,6 +30,8 @@ interface LinkProps extends PrimitiveProps, Omit<RouterLinkProps, 'to'>, /** @vu
|
|
|
30
30
|
target?: '_blank' | '_parent' | '_self' | '_top' | (string & {}) | null;
|
|
31
31
|
/**
|
|
32
32
|
* A rel attribute value to apply on the link. Defaults to "noopener noreferrer" for external links.
|
|
33
|
+
*
|
|
34
|
+
* @default 'noopener noreferrer'
|
|
33
35
|
*/
|
|
34
36
|
rel?: 'noopener' | 'noreferrer' | 'nofollow' | 'sponsored' | 'ugc' | (string & {}) | null;
|
|
35
37
|
/**
|
|
@@ -61,5 +63,8 @@ interface LinkProps extends PrimitiveProps, Omit<RouterLinkProps, 'to'>, /** @vu
|
|
|
61
63
|
*/
|
|
62
64
|
trailingSlash?: 'append' | 'remove';
|
|
63
65
|
}
|
|
66
|
+
type LinkBasePropsKey = Extract<keyof LinkProps, 'to' | 'href' | 'external' | 'target'>;
|
|
67
|
+
interface LinkBaseProps extends Pick<LinkProps, LinkBasePropsKey> {}
|
|
68
|
+
interface LinkExtraProps extends Omit<LinkProps, LinkBasePropsKey> {}
|
|
64
69
|
//#endregion
|
|
65
|
-
export { LinkProps };
|
|
70
|
+
export { LinkBaseProps, LinkExtraProps, LinkProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ListContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue43 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-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: vue43.DefineComponent<ListContentProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.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 { ListDescriptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue53 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-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: vue53.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue53.ComponentOptionsMixin, vue53.ComponentOptionsMixin, {}, string, vue53.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue53.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 { ListItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue38 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-item.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue38.DefineComponent<ListItemProps, {}, {}, {}, {}, vue38.ComponentOptionsMixin, vue38.ComponentOptionsMixin, {}, string, vue38.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue38.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 { ListRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue58 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-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: vue58.DefineComponent<ListRootProps, {}, {}, {}, {}, vue58.ComponentOptionsMixin, vue58.ComponentOptionsMixin, {}, string, vue58.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue58.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 { ListTitleProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue48 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-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: vue48.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue48.ComponentOptionsMixin, vue48.ComponentOptionsMixin, {}, string, vue48.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue48.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 { ListboxContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue469 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-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: vue469.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.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,22 +1,22 @@
|
|
|
1
1
|
import { ListboxFilterProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue460 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-filter.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
6
6
|
clear: () => void;
|
|
7
|
-
},
|
|
7
|
+
}, __VLS_21: {
|
|
8
8
|
clear: () => void;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
leading?: (props: typeof __VLS_10) => any;
|
|
12
12
|
} & {
|
|
13
|
-
trailing?: (props: typeof
|
|
13
|
+
trailing?: (props: typeof __VLS_21) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_base:
|
|
15
|
+
declare const __VLS_base: vue460.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue460.ComponentOptionsMixin, vue460.ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (value: string) => any;
|
|
17
|
-
}, string,
|
|
17
|
+
}, string, vue460.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
|
|
18
18
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue460.ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ListboxGroupLabelProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue486 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-group-label.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: vue486.DefineComponent<ListboxGroupLabelProps, {}, {}, {}, {}, vue486.ComponentOptionsMixin, vue486.ComponentOptionsMixin, {}, string, vue486.PublicProps, Readonly<ListboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue486.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 { ListboxGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue553 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-group.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: vue553.DefineComponent<ListboxGroupProps, {}, {}, {}, {}, vue553.ComponentOptionsMixin, vue553.ComponentOptionsMixin, {}, string, vue553.PublicProps, Readonly<ListboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue553.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ListboxItemIndicatorProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue480 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/listbox-item-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: vue480.DefineComponent<ListboxItemIndicatorProps, {}, {}, {}, {}, vue480.ComponentOptionsMixin, vue480.ComponentOptionsMixin, {}, string, vue480.PublicProps, Readonly<ListboxItemIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue480.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue480.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 & {
|
|
@@ -3,20 +3,20 @@ import "../../types/index.js";
|
|
|
3
3
|
import { AsTag } from "../primitive/types.js";
|
|
4
4
|
import "../primitive/index.js";
|
|
5
5
|
import { ListboxItemProps } from "./types.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue474 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/listbox/listbox-item.vue.d.ts
|
|
9
9
|
declare var __VLS_12: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_12) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue474.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue474.ComponentOptionsMixin, vue474.ComponentOptionsMixin, {
|
|
14
14
|
select: (event: SelectEvent<string>) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue474.PublicProps, Readonly<ListboxItemProps> & Readonly<{
|
|
16
16
|
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
as: AsTag |
|
|
19
|
-
}, {}, {}, {}, string,
|
|
18
|
+
as: AsTag | vue474.Component;
|
|
19
|
+
}, {}, {}, {}, string, vue474.ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { CollectionItemData } from "../../composables/use-collection.js";
|
|
2
2
|
import "../../composables/index.js";
|
|
3
3
|
import { ListboxCollectionItemData, ListboxRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue465 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/listbox-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props: __VLS_PrettifyLocal<ListboxRootProps<M> & {
|
|
8
|
+
props: vue465.PublicProps & __VLS_PrettifyLocal<ListboxRootProps<M> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
10
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
11
10
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
12
12
|
onLeave?: ((event: Event) => any) | undefined;
|
|
13
|
-
}> &
|
|
13
|
+
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
15
15
|
} ? P : {});
|
|
16
|
-
expose: (exposed:
|
|
17
|
-
highlightedElement:
|
|
16
|
+
expose: (exposed: vue465.ShallowUnwrapRef<{
|
|
17
|
+
highlightedElement: vue465.ShallowRef<HTMLElement | null, HTMLElement | null>;
|
|
18
18
|
highlightItem: (value: string) => void;
|
|
19
19
|
highlightFirstItem: () => void;
|
|
20
20
|
highlightSelected: (event?: Event) => Promise<void>;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
26
26
|
modelValue: (M extends true ? string[] : string) | undefined;
|
|
27
27
|
}) => any;
|
|
28
28
|
};
|
|
29
|
-
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
30
|
-
}>) =>
|
|
29
|
+
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void);
|
|
30
|
+
}>) => vue465.VNode & {
|
|
31
31
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
32
32
|
};
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ListboxVirtualizerProps, ListboxVirtualizerSlots } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue558 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-virtualizer.vue.d.ts
|
|
5
5
|
type __VLS_Slots = ListboxVirtualizerSlots;
|
|
6
|
-
declare const __VLS_base:
|
|
6
|
+
declare const __VLS_base: vue558.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue558.ComponentOptionsMixin, vue558.ComponentOptionsMixin, {}, string, vue558.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue558.ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDisclosureState as e}from"../../shared/value.js";import{isPointerInGraceArea as t}from"../../shared/geometry.js";import{useContext as n}from"../../composables/use-context.js";import{useDirection as r}from"../../composables/use-direction.js";import{
|
|
1
|
+
import{getDisclosureState as e}from"../../shared/value.js";import{isPointerInGraceArea as t}from"../../shared/geometry.js";import{useContext as n}from"../../composables/use-context.js";import{useDirection as r}from"../../composables/use-direction.js";import{provideSeparatorThemeContext as i}from"../separator/context.js";import{providePopperThemeContext as a}from"../popper/context.js";import{computed as o,ref as s,shallowRef as c,useId as l}from"vue";const[u,d]=n(`Menu`,t=>{let{isRoot:n,open:r}=t,i=e=>{r.value=e},a=o(()=>e(r.value)),s=n?`data-soybean-menu-popup`:`data-soybean-menu-sub-popup`,u=c(),d=e=>{u.value=e},f=c(),p=e=>{f.value=e},m=n?`soybean-menu`:`soybean-menu-sub`,h=c(``),g=()=>{h.value||=`${m}-popup-${l()}`},_=c(``);return{isRoot:n,open:r,onOpenChange:i,dataState:a,dataPopupAttr:s,popupElement:u,onPopupElementChange:d,triggerElement:f,onTriggerElementChange:p,popupId:h,initPopupId:g,triggerId:_,initTriggerId:()=>{_.value||=`${m}-trigger-${l()}`}}}),[f,p]=n(`MenuRoot`,e=>{let t=r(e.dir);return{...e,dir:t}}),[m,h]=n(`MenuContent`,e=>{let{popupElement:n}=e,r=c(``),i=s(null),a=c(0),o=c(`right`),l=s(null),u=e=>{l.value=e},d=()=>{l.value=null},f=e=>{let n=o.value===l.value?.side,r=t(e,l.value?.area);return n&&r};return{searchRef:r,currentItemId:i,popupElement:n,pointerSide:o,pointerGraceTimer:a,pointerGraceIntent:l,onPointerGraceIntentChange:u,resetPointerGraceIntent:d,onItemEnter:f,onItemLeave:e=>{f(e)||(n.value?.focus(),i.value=null)},onTriggerLeave:f}}),[g,_]=n(`MenuCheckboxGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value||=[],t.value.includes(e)?t.value=t.value.filter(t=>t!==e):t.value.push(e)};return{...e,onModelValueChange:n}}),[v,y]=n(`MenuRadioGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value=e};return{...e,onModelValueChange:n}}),[b,x]=n(`MenuItemIndicator`,e=>e),[S,C]=n(`MenuTheme`,e=>(a({ui:o(()=>({arrow:e.ui.value.arrow}))}),i({ui:o(()=>({root:e.ui.value.separator}))}),e));export{g as provideMenuCheckboxGroupContext,m as provideMenuContentContext,u as provideMenuContext,b as provideMenuItemIndicatorContext,v as provideMenuRadioGroupContext,f as provideMenuRootContext,S as provideMenuThemeContext,_ as useMenuCheckboxGroupContext,h as useMenuContentContext,d as useMenuContext,x as useMenuItemIndicatorContext,y as useMenuRadioGroupContext,p as useMenuRootContext,C as useMenuThemeContext};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PortalProps } from "../portal/types.js";
|
|
2
2
|
import { _default as _default$9 } from "../portal/portal.vue.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuContentEmits, MenuContentProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuRootEmits, MenuRootProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuThemeSlot, MenuTriggerProps, MenuUi } from "./types.js";
|
|
3
|
+
import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
4
|
+
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuContentEmits, MenuContentProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuRootEmits, MenuRootProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuThemeSlot, MenuTriggerProps, MenuUi } from "./types.js";
|
|
6
5
|
import { SeparatorRootProps } from "../separator/types.js";
|
|
7
6
|
import { _default as _default$13 } from "../separator/separator-root.vue.js";
|
|
8
7
|
import { _default } from "../popper/popper-anchor.vue.js";
|
|
@@ -21,4 +20,4 @@ import { _default as _default$10 } from "./menu-radio-group.vue.js";
|
|
|
21
20
|
import { _default as _default$11 } from "./menu-radio-item.vue.js";
|
|
22
21
|
import { _default as _default$8 } from "./menu-item-indicator.vue.js";
|
|
23
22
|
import { provideMenuThemeContext, useMenuThemeContext } from "./context.js";
|
|
24
|
-
export { _default as MenuAnchor, type PopperAnchorProps as MenuAnchorProps, _default$1 as MenuArrow, type
|
|
23
|
+
export { _default as MenuAnchor, type PopperAnchorProps as MenuAnchorProps, _default$1 as MenuArrow, type PopperArrowProps as MenuArrowProps, _default$2 as MenuCheckboxGroup, type MenuCheckboxGroupEmits, type MenuCheckboxGroupProps, _default$3 as MenuCheckboxItem, type MenuCheckboxItemEmits, type MenuCheckboxItemProps, _default$4 as MenuContent, type MenuContentEmits, type MenuContentProps, _default$5 as MenuGroup, _default$6 as MenuGroupLabel, type MenuGroupLabelProps, type MenuGroupProps, _default$7 as MenuItem, type MenuItemEmits, _default$8 as MenuItemIndicator, type MenuItemIndicatorProps, type MenuItemProps, type MenuPopupProps, _default$9 as MenuPortal, type PortalProps as MenuPortalProps, _default$10 as MenuRadioGroup, type MenuRadioGroupEmits, type MenuRadioGroupProps, _default$11 as MenuRadioItem, type MenuRadioItemEmits, type MenuRadioItemProps, _default$12 as MenuRoot, type MenuRootEmits, type MenuRootProps, _default$13 as MenuSeparator, type SeparatorRootProps as MenuSeparatorProps, _default$14 as MenuSub, _default$15 as MenuSubContent, type MenuSubContentEmits, type MenuSubContentProps, type MenuSubEmits, type MenuSubProps, _default$16 as MenuSubTrigger, type MenuSubTriggerProps, type MenuThemeSlot, type MenuTriggerProps, type MenuUi, provideMenuThemeContext, useMenuThemeContext };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DefinedValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuCheckboxGroupProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1606 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-checkbox-group.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: __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
|
|
8
|
+
props: vue1606.PublicProps & __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
|
-
}> &
|
|
10
|
+
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
12
12
|
} ? P : {});
|
|
13
13
|
expose: (exposed: {}) => void;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: (evt: "update:modelValue", value: T[]) => void;
|
|
21
|
-
}>) =>
|
|
21
|
+
}>) => vue1606.VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { CheckedState } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuCheckboxItemProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1608 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-checkbox-item.vue.d.ts
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_10: {
|
|
8
8
|
modelValue: CheckedState;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_10) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue1608.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1608.ComponentOptionsMixin, vue1608.ComponentOptionsMixin, {
|
|
14
14
|
select: (event: Event) => any;
|
|
15
15
|
"update:modelValue": (value: CheckedState) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1608.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
|
|
17
17
|
onSelect?: ((event: Event) => any) | undefined;
|
|
18
18
|
"onUpdate:modelValue"?: ((value: CheckedState) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue1608.ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as
|
|
1
|
+
import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as ee}from"../../shared/focus.js";import{isMouseEvent as r}from"../../shared/event.js";import{useBodyScrollLock as i}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as a}from"../../composables/use-dismissable-layer.js";import{useForwardElement as o}from"../../composables/use-forward-element.js";import{useFocusGuards as s}from"../../composables/use-focus-guards.js";import{useFocusScope as c}from"../../composables/use-focus-scope.js";import{useHideOthers as l}from"../../composables/use-hide-others.js";import{useOmitProps as te}from"../../composables/use-props.js";import{useTypeahead as ne}from"../../composables/use-typeahead.js";import u from"../roving-focus/roving-focus-group.js";import{popperCssVars as d}from"../popper/shared.js";import re from"../popper/popper-positioner.js";import ie from"../popper/popper-popup.js";import{provideMenuContentContext as f,useMenuContext as p,useMenuRootContext as m,useMenuThemeContext as h}from"./context.js";import{FIRST_LAST_KEYS as g,LAST_KEYS as _,MENU_POPUP_DATA_ATTRIBUTE as v,menuCssVars as y,subMenuCssVars as b}from"./shared.js";import{computed as x,createBlock as ae,createVNode as S,defineComponent as C,isRef as w,mergeProps as T,onWatcherCleanup as E,openBlock as D,renderSlot as O,unref as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=C({name:`MenuContentImpl`,__name:`menu-content-impl`,props:{popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(C,{emit:N}){let P=C,F=N,{modal:I,dir:L,isUsingKeyboard:R}=m(`MenuContentImpl`),{isRoot:z,dataState:B,popupId:V,triggerId:H,dataPopupAttr:oe,initPopupId:U,onOpenChange:W,onPopupElementChange:G}=p(`MenuContentImpl`),[K,q]=o(),[J,se]=o(e=>{G(e)}),{currentItemId:Y,searchRef:ce,pointerSide:le}=f({popupElement:J}),X=h(),Z=x(()=>z?X?.ui?.value?.positioner:X?.ui?.value?.subPositioner),ue=x(()=>z?X?.ui?.value?.popup:X?.ui?.value?.subPopup),{handleTypeaheadSearch:de}=ne(),Q=A(`rovingFocusGroupRef`),{pointerEvents:fe}=a(J,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{z&&W(!1)}}),{onKeydown:pe}=c(K,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),J.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),me=te(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`,`popupProps`]),he=x(()=>({...P.popupProps,[oe]:``})),ge=x(()=>{let e=z?y:b;return{[e.popupTransformOrigin]:`var(${d.transformOrigin})`,[e.popupAvailableWidth]:`var(${d.availableWidth})`,[e.popupAvailableHeight]:`var(${d.availableHeight})`,[e.triggerWidth]:`var(${d.anchorWidth})`,[e.triggerHeight]:`var(${d.anchorHeight})`,pointerEvents:fe.value}}),_e=e=>{F(`entryFocus`,e),R.value||e.preventDefault()},ve=r=>{if(pe(r),r.defaultPrevented)return;let i=r.target.closest(`[${v}]`)===r.currentTarget,a=r.ctrlKey||r.altKey||r.metaKey,o=r.key.length===1,s=t(r,n(),J.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:L.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(s){s.focus();return}if(r.code===`Space`)return;let c=Q.value?.getItems()??[];if(i&&(r.key===`Tab`&&r.preventDefault(),!a&&o&&de(r.key,c)),r.target!==J.value||!g.includes(r.key))return;r.preventDefault();let l=[...c.map(e=>e.element)];_.includes(r.key)&&l.reverse(),ee(l)};function ye(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(ce.value=``)}let $=0;function be(e){if(!r(e))return;let t=e.target,n=$!==e.clientX;(e?.currentTarget)?.contains(t)&&n&&(le.value=e.clientX>$?`right`:`left`,$=e.clientX)}return U(),s(),l(K,()=>I.value&&z),j(()=>{P.disableOutsidePointerEvents&&E(i())}),(e,t)=>(D(),ae(k(u),{ref_key:`rovingFocusGroupRef`,ref:Q,"current-tab-stop-id":k(Y),"onUpdate:currentTabStopId":t[0]||=e=>w(Y)?Y.value=e:null,"as-child":``,orientation:`vertical`,dir:k(L),loop:C.loop,onEntryFocus:_e},{default:M(()=>[S(k(re),T(k(me),{ref:k(q),class:Z.value,onKeydown:ve,onBlur:ye,onPointermove:be}),{default:M(()=>[S(k(ie),T(he.value,{id:k(V),ref:k(se),class:ue.value,"aria-labelledby":k(H),"aria-orientation":`vertical`,"data-dismissable-layer":``,"data-state":k(B),dir:k(L),role:`menu`,tabindex:`-1`,style:ge.value}),{default:M(()=>[O(e.$slots,`default`)]),_:3},16,[`id`,`class`,`aria-labelledby`,`data-state`,`dir`,`style`])]),_:3},16,[`class`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{usePresence as t}from"../../composables/use-presence.js";import{useOmitProps as n}from"../../composables/use-props.js";import{useMenuContext as r,useMenuRootContext as i}from"./context.js";import a from"./menu-content-impl.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,mergeProps as u,openBlock as d,renderSlot as f,shallowRef as p,toHandlers as m,unref as h,withCtx as g}from"vue";var _=l({name:`MenuContent`,__name:`menu-content`,props:{popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(l,{emit:_}){let v=l,y=_,b=n(v,[`forceMount`]),x=e(y),{open:S,popupElement:C}=r(`MenuContent`),{modal:w}=i(`MenuContent`),T=v.forceMount?p(!0):t(C,S),E=o(()=>w.value&&S.value),D=e=>{w.value&&e.preventDefault()};return(e,t)=>h(T)?(d(),s(a,u({key:0},h(b),{"trap-focus":E.value,"disable-outside-pointer-events":E.value},m(h(x)),{onFocusOutside:D}),{default:g(()=>[f(e.$slots,`default`)]),_:3},16,[`trap-focus`,`disable-outside-pointer-events`])):c(`v-if`,!0)}});export{_ as default};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { MenuContentProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1571 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/menu/menu-content.vue.d.ts
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_10: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_10) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
closeAutoFocus: (event: Event) => any;
|
|
12
|
+
declare const __VLS_base: vue1571.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1571.ComponentOptionsMixin, vue1571.ComponentOptionsMixin, {
|
|
14
13
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
16
|
-
entryFocus: (event: Event) => any;
|
|
17
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
18
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
17
|
+
entryFocus: (event: Event) => any;
|
|
19
18
|
openAutoFocus: (event: Event) => any;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
closeAutoFocus: (event: Event) => any;
|
|
20
|
+
}, string, vue1571.PublicProps, Readonly<MenuContentProps> & Readonly<{
|
|
22
21
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
24
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
25
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
26
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
25
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
27
26
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
|
-
|
|
27
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, vue1571.ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MenuGroupLabelProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1596 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-group-label.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: vue1596.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1596.ComponentOptionsMixin, vue1596.ComponentOptionsMixin, {}, string, vue1596.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1596.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 { MenuGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1591 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-group.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: vue1591.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1591.ComponentOptionsMixin, vue1591.ComponentOptionsMixin, {}, string, vue1591.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1591.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { MenuItemIndicatorProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1620 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-item-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: vue1620.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1620.ComponentOptionsMixin, vue1620.ComponentOptionsMixin, {}, string, vue1620.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1620.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1620.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 & {
|