@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,8 +1,8 @@
|
|
|
1
1
|
import { TextareaControlProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue273 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea-control.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue273.DefineComponent<TextareaControlProps, {}, {}, {}, {}, vue273.ComponentOptionsMixin, vue273.ComponentOptionsMixin, {}, string, vue273.PublicProps, Readonly<TextareaControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue273.ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextareaCounterProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue268 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea-counter.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,7 +9,7 @@ declare var __VLS_1: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue268.DefineComponent<TextareaCounterProps, {}, {}, {}, {}, vue268.ComponentOptionsMixin, vue268.ComponentOptionsMixin, {}, string, vue268.PublicProps, Readonly<TextareaCounterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue268.ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextareaRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue263 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea-root.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,13 +9,13 @@ declare var __VLS_1: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue263.DefineComponent<TextareaRootProps, {}, {}, {}, {}, vue263.ComponentOptionsMixin, vue263.ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue263.PublicProps, Readonly<TextareaRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
modelValue: string;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue263.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,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ToastActionProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1843 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-action.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: vue1843.DefineComponent<ToastActionProps, {}, {}, {}, {}, vue1843.ComponentOptionsMixin, vue1843.ComponentOptionsMixin, {}, string, vue1843.PublicProps, Readonly<ToastActionProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1843.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1843.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ToastCloseProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1832 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-close.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1832.DefineComponent<ToastCloseProps, {}, {}, {}, {}, vue1832.ComponentOptionsMixin, vue1832.ComponentOptionsMixin, {}, string, vue1832.PublicProps, Readonly<ToastCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1832.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1832.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ToastDescriptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1849 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/toast/toast-description.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1849.DefineComponent<ToastDescriptionProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<ToastDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SwipeDirection } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { ToastProviderProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1821 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-provider.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1821.DefineComponent<ToastProviderProps, {}, {}, {}, {}, vue1821.ComponentOptionsMixin, vue1821.ComponentOptionsMixin, {}, string, vue1821.PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
|
|
12
12
|
label: string;
|
|
13
13
|
duration: number;
|
|
14
14
|
swipeDirection: SwipeDirection;
|
|
15
15
|
swipeThreshold: number;
|
|
16
|
-
}, {}, {}, {}, string,
|
|
16
|
+
}, {}, {}, {}, string, vue1821.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,17 +3,17 @@ import "../../types/index.js";
|
|
|
3
3
|
import { AsTag } from "../primitive/types.js";
|
|
4
4
|
import "../primitive/index.js";
|
|
5
5
|
import { ToastLiveType, ToastRootProps } from "./types.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue1826 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/toast/toast-root.vue.d.ts
|
|
9
|
-
declare var
|
|
9
|
+
declare var __VLS_23: {
|
|
10
10
|
remaining: number;
|
|
11
11
|
duration: number;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
|
-
default?: (props: typeof
|
|
14
|
+
default?: (props: typeof __VLS_23) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue1826.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue1826.ComponentOptionsMixin, vue1826.ComponentOptionsMixin, {
|
|
17
17
|
pause: () => any;
|
|
18
18
|
"update:open": (value: boolean) => any;
|
|
19
19
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_base: vue1013.DefineComponent<ToastRootProps, {}, {}, {}, {}
|
|
|
22
22
|
swipeMove: (event: SwipeEvent) => any;
|
|
23
23
|
swipeCancel: (event: SwipeEvent) => any;
|
|
24
24
|
swipeEnd: (event: SwipeEvent) => any;
|
|
25
|
-
}, string,
|
|
25
|
+
}, string, vue1826.PublicProps, Readonly<ToastRootProps> & Readonly<{
|
|
26
26
|
onPause?: (() => any) | undefined;
|
|
27
27
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
28
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -32,11 +32,11 @@ declare const __VLS_base: vue1013.DefineComponent<ToastRootProps, {}, {}, {}, {}
|
|
|
32
32
|
onSwipeCancel?: ((event: SwipeEvent) => any) | undefined;
|
|
33
33
|
onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
+
as: AsTag | vue1826.Component;
|
|
35
36
|
open: boolean;
|
|
36
|
-
as: AsTag | vue1013.Component;
|
|
37
37
|
defaultOpen: boolean;
|
|
38
38
|
liveType: ToastLiveType;
|
|
39
|
-
}, {}, {}, {}, string,
|
|
39
|
+
}, {}, {}, {}, string, vue1826.ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
41
|
declare const _default: typeof __VLS_export;
|
|
42
42
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ToastTitleProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1838 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/toast/toast-title.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1838.DefineComponent<ToastTitleProps, {}, {}, {}, {}, vue1838.ComponentOptionsMixin, vue1838.ComponentOptionsMixin, {}, string, vue1838.PublicProps, Readonly<ToastTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1838.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { ToastViewportProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1815 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/toast-viewport.vue.d.ts
|
|
7
7
|
declare var __VLS_14: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_14) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1815.DefineComponent<ToastViewportProps, {}, {}, {}, {}, vue1815.ComponentOptionsMixin, vue1815.ComponentOptionsMixin, {}, string, vue1815.PublicProps, Readonly<ToastViewportProps> & Readonly<{}>, {
|
|
12
12
|
label: string | ((hotkey: string) => string);
|
|
13
|
-
as: AsTag |
|
|
13
|
+
as: AsTag | vue1815.Component;
|
|
14
14
|
hotkey: string[];
|
|
15
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, vue1815.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useContext as e}from"../../composables/use-context.js";import{computed as t,shallowRef as n,useId as r}from"vue";const[i,a]=e(`TooltipOpenDelayed`,e=>{let{skipDelayDuration:t}=e,r=n(!0),i=n(!1),a=null,o=()=>{a&&=(clearTimeout(a),null)},s=()=>{o(),a=setTimeout(()=>{r.value=!0},t.value)};return{skipDelayDuration:t,isOpenDelayed:r,isPointerInTransitRef:i,onOpen:()=>{o(),r.value=!1},onClose:()=>{s()}}}),[o,s]=e(`TooltipRoot`,e=>{let{open:i,delayDuration:a,isOpenDelayed:o,disableHoverableContent:s}=e,c=n(``),l=()=>{c.value||=`soybean-tooltip-
|
|
1
|
+
import{useContext as e}from"../../composables/use-context.js";import{computed as t,shallowRef as n,useId as r}from"vue";const[i,a]=e(`TooltipOpenDelayed`,e=>{let{skipDelayDuration:t}=e,r=n(!0),i=n(!1),a=null,o=()=>{a&&=(clearTimeout(a),null)},s=()=>{o(),a=setTimeout(()=>{r.value=!0},t.value)};return{skipDelayDuration:t,isOpenDelayed:r,isPointerInTransitRef:i,onOpen:()=>{o(),r.value=!1},onClose:()=>{s()}}}),[o,s]=e(`TooltipRoot`,e=>{let{open:i,delayDuration:a,isOpenDelayed:o,disableHoverableContent:s}=e,c=n(``),l=()=>{c.value||=`soybean-tooltip-popup-${r()}`},u=n(!1),d=t(()=>i.value?u.value?`delayed-open`:`instant-open`:`closed`),f=n(),p=e=>{f.value=e},m=n(),h=e=>{m.value=e},g=null,_=()=>{g&&=(clearTimeout(g),null)},v=()=>{_(),g=setTimeout(()=>{u.value=!0,i.value=!0},a.value)},y=()=>{_(),u.value=!1,i.value=!0},b=()=>{_(),i.value=!1},x=()=>{v()},S=()=>{o.value?x():y()},C=()=>{s.value?b():_()};return{...e,dataState:d,popupId:c,initPopupId:l,popupElement:f,onPopupElementChange:p,triggerElement:m,onTriggerElementChange:h,onTriggerEnter:S,onTriggerLeave:C,onOpen:y,onClose:b}});export{i as provideTooltipOpenDelayedContext,o as provideTooltipRootContext,a as useTooltipOpenDelayedContext,s as useTooltipRootContext};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PortalProps } from "../portal/types.js";
|
|
2
2
|
import { _default as _default$2 } from "../portal/portal.vue.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { TooltipContentEmits, TooltipContentProps, TooltipDataState, TooltipProviderProps, TooltipRootEmits, TooltipRootProps } from "./types.js";
|
|
3
|
+
import { PopperAnchorProps, PopperArrowProps, PopperThemeSlot, PopperUi } from "../popper/types.js";
|
|
4
|
+
import { TooltipDataState, TooltipPopupProps, TooltipPositionerEmits, TooltipPositionerProps, TooltipProviderProps, TooltipRootEmits, TooltipRootProps } from "./types.js";
|
|
6
5
|
import { _default } from "../popper/popper-arrow.vue.js";
|
|
7
6
|
import { providePopperThemeContext } from "../popper/context.js";
|
|
8
|
-
import { _default as _default$
|
|
9
|
-
import { _default as _default$
|
|
10
|
-
import { _default as _default$1 } from "./tooltip-
|
|
11
|
-
|
|
7
|
+
import { _default as _default$4 } from "./tooltip-root.vue.js";
|
|
8
|
+
import { _default as _default$5 } from "./tooltip-trigger.vue.js";
|
|
9
|
+
import { _default as _default$1 } from "./tooltip-popup.vue.js";
|
|
10
|
+
import { _default as _default$3 } from "./tooltip-positioner.vue.js";
|
|
11
|
+
export { _default as TooltipArrow, type PopperArrowProps as TooltipArrowProps, type TooltipDataState, _default$1 as TooltipPopup, type TooltipPopupProps, _default$2 as TooltipPortal, type PortalProps as TooltipPortalProps, _default$3 as TooltipPositioner, type TooltipPositionerEmits, type TooltipPositionerProps, type TooltipProviderProps, _default$4 as TooltipRoot, type TooltipRootEmits, type TooltipRootProps, type PopperThemeSlot as TooltipThemeSlot, _default$5 as TooltipTrigger, type PopperAnchorProps as TooltipTriggerProps, type PopperUi as TooltipUi, providePopperThemeContext as provideTooltipThemeContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../portal/portal.js";import{providePopperThemeContext as t}from"../popper/context.js";import n from"../popper/popper-arrow.js";import r from"./tooltip-root.js";import i from"./tooltip-trigger.js";import a from"./tooltip-
|
|
1
|
+
import e from"../portal/portal.js";import{providePopperThemeContext as t}from"../popper/context.js";import n from"../popper/popper-arrow.js";import r from"./tooltip-root.js";import i from"./tooltip-trigger.js";import a from"./tooltip-popup.js";import o from"./tooltip-positioner.js";export{n as TooltipArrow,a as TooltipPopup,e as TooltipPortal,o as TooltipPositioner,r as TooltipRoot,i as TooltipTrigger,t as provideTooltipThemeContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getAriaLabelByVNodeList as e}from"../../shared/dom.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import n from"../visually-hidden/visually-hidden.js";import{popperCssVars as r}from"../popper/shared.js";import i from"../popper/popper-popup.js";import{useTooltipRootContext as a}from"./context.js";import{tooltipCssVars as o}from"./shared.js";import{computed as s,createBlock as c,createTextVNode as l,createVNode as u,defineComponent as d,openBlock as f,renderSlot as p,toDisplayString as m,unref as h,useSlots as g,withCtx as _}from"vue";var v=d({name:`TooltipPopup`,__name:`tooltip-popup`,props:{ariaLabel:{}},setup(d){let v=d,y=g(),b=s(()=>y.default?.()),{popupId:x,dataState:S,initPopupId:C,onPopupElementChange:w}=a(`TooltipPopup`),[,T]=t(w),E={[o.transformOrigin]:`var(${r.transformOrigin})`,[o.availableWidth]:`var(${r.availableWidth})`,[o.availableHeight]:`var(${r.availableHeight})`,[o.anchorWidth]:`var(${r.anchorWidth})`,[o.anchorHeight]:`var(${r.anchorHeight})`},D=s(()=>v.ariaLabel?v.ariaLabel:e(b.value));return C(),(e,t)=>(f(),c(h(i),{ref:h(T),"data-dismissable-layer":``,"data-state":h(S),style:E},{default:_(()=>[p(e.$slots,`default`),u(h(n),{id:h(x),role:`tooltip`},{default:_(()=>[l(m(D.value),1)]),_:1},8,[`id`])]),_:3},8,[`data-state`]))}});export{v as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TooltipPopupProps } from "./types.js";
|
|
2
|
+
import * as vue1556 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tooltip/tooltip-popup.vue.d.ts
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue1556.DefineComponent<TooltipPopupProps, {}, {}, {}, {}, vue1556.ComponentOptionsMixin, vue1556.ComponentOptionsMixin, {}, string, vue1556.PublicProps, Readonly<TooltipPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1556.ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useDismissableLayer as e}from"../../composables/use-dismissable-layer.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{useGraceArea as n}from"../../composables/use-grace-area.js";import r from"../popper/popper-positioner.js";import{useTooltipOpenDelayedContext as i,useTooltipRootContext as a}from"./context.js";import{TOOLTIP_OPEN as o}from"./shared.js";import{createBlock as s,defineComponent as c,mergeProps as l,onWatcherCleanup as u,openBlock as d,renderSlot as f,unref as p,watchPostEffect as m,withCtx as h}from"vue";var g=c({name:`TooltipPositionerImpl`,__name:`tooltip-positioner-impl`,props:{placement:{},side:{default:`top`},sideOffset:{default:0},sideFlip:{type:Boolean},align:{default:`center`},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:`partial`},hideWhenDetached:{type:Boolean,default:!1},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(c,{emit:g}){let _=c,v=g,{isPointerInTransitRef:y}=i(`TooltipPositionerImpl`),{triggerElement:b,popupElement:x,disableClosingTrigger:S,disableHoverableContent:C,onClose:w}=a(`TooltipPositionerImpl`),[T,E]=t();n({triggerElement:b,areaElement:T,onPointerInTransitChange:e=>{y.value=e},onPointerExit:()=>{w()},disabled:C});let{pointerEvents:D}=e(T,{disableOutsidePointerEvents:!1,onEscapeKeyDown:e=>{v(`escapeKeyDown`,e)},onPointerDownOutside:e=>{S.value&&b.value?.contains(e.target)&&e.preventDefault(),v(`pointerDownOutside`,e)},onFocusOutside:e=>{e.preventDefault()},onDismiss:()=>{w()}});return m(()=>{let e=e=>{e.target?.contains(b.value)&&w()};window.addEventListener(`scroll`,e),window.addEventListener(o,w),u(()=>{window.removeEventListener(`scroll`,e),window.removeEventListener(o,w)})}),m(()=>{x.value&&D.value&&(x.value.style.pointerEvents=D.value)}),(e,t)=>(d(),s(p(r),l(_,{ref:p(E)}),{default:h(()=>[f(e.$slots,`default`)]),_:3},16))}});export{g as default};
|
|
@@ -0,0 +1 @@
|
|
|
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{useTooltipRootContext as r}from"./context.js";import i from"./tooltip-positioner-impl.js";import{createBlock as a,createCommentVNode as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,shallowRef as d,toHandlers as f,unref as p,withCtx as m}from"vue";var h=s({name:`TooltipPositioner`,__name:`tooltip-positioner`,props:{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}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(s,{emit:h}){let g=s,_=h,v=n(g,[`forceMount`]),y=e(_),{popupElement:b,open:x}=r(`TooltipPositioner`),S=g.forceMount?d(!0):t(b,x);return(e,t)=>p(S)?(l(),a(i,c({key:0},p(v),f(p(y))),{default:m(()=>[u(e.$slots,`default`)]),_:3},16)):o(`v-if`,!0)}});export{h as default};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
|
-
import {
|
|
2
|
+
import { TooltipPositionerProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1561 from "vue";
|
|
5
5
|
|
|
6
|
-
//#region src/components/tooltip/tooltip-
|
|
7
|
-
declare var
|
|
6
|
+
//#region src/components/tooltip/tooltip-positioner.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1561.DefineComponent<TooltipPositionerProps, {}, {}, {}, {}, vue1561.ComponentOptionsMixin, vue1561.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1561.PublicProps, Readonly<TooltipPositionerProps> & Readonly<{
|
|
15
15
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16
16
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string,
|
|
17
|
+
}>, {}, {}, {}, {}, string, vue1561.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1545 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tooltip/tooltip-root.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -8,14 +8,14 @@ declare var __VLS_8: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1545.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue1545.ComponentOptionsMixin, vue1545.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1545.PublicProps, Readonly<TooltipRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
17
|
defaultOpen: boolean;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue1545.ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import t from"../popper/popper-anchor.js";import{useTooltipOpenDelayedContext as n,useTooltipRootContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,mergeProps as s,openBlock as c,renderSlot as l,toHandlers as u,unref as d,withCtx as f}from"vue";var p=o({name:`TooltipTrigger`,__name:`tooltip-trigger`,props:{reference:{},asChild:{type:Boolean},as:{default:`button`}},setup(o){let{isPointerInTransitRef:p}=n(`TooltipTrigger`),{open:m,disabled:h,
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import t from"../popper/popper-anchor.js";import{useTooltipOpenDelayedContext as n,useTooltipRootContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,mergeProps as s,openBlock as c,renderSlot as l,toHandlers as u,unref as d,withCtx as f}from"vue";var p=o({name:`TooltipTrigger`,__name:`tooltip-trigger`,props:{reference:{},asChild:{type:Boolean},as:{default:`button`}},setup(o){let{isPointerInTransitRef:p}=n(`TooltipTrigger`),{open:m,disabled:h,popupId:g,dataState:_,disableClosingTrigger:v,ignoreNonKeyboardFocus:y,onTriggerElementChange:b,onOpen:x,onClose:S,onTriggerEnter:C,onTriggerLeave:w}=r(`TooltipTrigger`),[T,E]=e(b),D=!1,O=!1,k=()=>{setTimeout(()=>{D=!1},1)},A=()=>{m.value&&!v.value&&S(),D=!0,document.addEventListener(`pointerup`,k,{once:!0})},j=e=>{e.pointerType!==`touch`&&!O&&!p.value&&(C(),O=!0)},M=()=>{w(),O=!1},N=e=>{D||y.value&&!e.target.matches?.(`:focus-visible`)||x()},P=()=>{S()},F=()=>{v.value||S()},I=i(()=>h.value?{}:{click:F,focus:N,pointermove:j,pointerleave:M,pointerdown:A,blur:P});return(e,n)=>(c(),a(d(t),s({ref:d(E),as:o.as,"as-child":o.asChild,reference:o.reference,"aria-describedby":d(m)?d(g):void 0,"data-state":d(_),"data-grace-area-trigger":``},u(I.value)),{default:f(()=>[l(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`reference`,`aria-describedby`,`data-state`]))}});export{p as default};
|
|
@@ -2,16 +2,16 @@ import { AsTag } from "../primitive/types.js";
|
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
4
4
|
import "./types.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1550 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tooltip/tooltip-trigger.vue.d.ts
|
|
8
8
|
declare var __VLS_8: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_8) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
as: AsTag |
|
|
14
|
-
}, {}, {}, {}, string,
|
|
12
|
+
declare const __VLS_base: vue1550.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1550.ComponentOptionsMixin, vue1550.ComponentOptionsMixin, {}, string, vue1550.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
|
|
13
|
+
as: AsTag | vue1550.Component;
|
|
14
|
+
}, {}, {}, {}, string, vue1550.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DismissableLayerEmits, ForceMountProps } from "../../types/component.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
|
-
import { PopperAnchorProps,
|
|
3
|
+
import { PopperAnchorProps, PopperPopupProps, PopperPositionerProps } from "../popper/types.js";
|
|
4
4
|
import { Ref, ShallowRef } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/types.d.ts
|
|
@@ -55,7 +55,11 @@ interface TooltipRootEmits {
|
|
|
55
55
|
'update:open': [value: boolean];
|
|
56
56
|
}
|
|
57
57
|
type TooltipDataState = 'closed' | 'delayed-open' | 'instant-open';
|
|
58
|
-
interface
|
|
58
|
+
interface TooltipPositionerImplProps extends PopperPositionerProps {}
|
|
59
|
+
type TooltipPositionerImplEmits = Pick<DismissableLayerEmits, 'escapeKeyDown' | 'pointerDownOutside'>;
|
|
60
|
+
interface TooltipPositionerProps extends TooltipPositionerImplProps, ForceMountProps {}
|
|
61
|
+
type TooltipPositionerEmits = TooltipPositionerImplEmits;
|
|
62
|
+
interface TooltipPopupProps extends PopperPopupProps {
|
|
59
63
|
/**
|
|
60
64
|
* By default, screen readers will announce the content inside the component.
|
|
61
65
|
*
|
|
@@ -64,8 +68,5 @@ interface TooltipContentImplProps extends PopperContentProps {
|
|
|
64
68
|
*/
|
|
65
69
|
ariaLabel?: string;
|
|
66
70
|
}
|
|
67
|
-
type TooltipContentImplEmits = Pick<DismissableLayerEmits, 'escapeKeyDown' | 'pointerDownOutside'>;
|
|
68
|
-
interface TooltipContentProps extends TooltipContentImplProps, ForceMountProps {}
|
|
69
|
-
type TooltipContentEmits = TooltipContentImplEmits;
|
|
70
71
|
//#endregion
|
|
71
|
-
export {
|
|
72
|
+
export { TooltipDataState, TooltipPopupProps, TooltipPositionerEmits, TooltipPositionerProps, TooltipProviderProps, TooltipRootEmits, TooltipRootProps };
|
|
@@ -3,27 +3,27 @@ import "../../types/index.js";
|
|
|
3
3
|
import { AsTag } from "../primitive/types.js";
|
|
4
4
|
import "../primitive/index.js";
|
|
5
5
|
import { TreeItemProps } from "./types.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue257 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/tree/tree-item.vue.d.ts
|
|
9
|
-
declare var
|
|
9
|
+
declare var __VLS_19: {
|
|
10
10
|
isExpanded: boolean;
|
|
11
11
|
isSelected: boolean;
|
|
12
12
|
isIndeterminate: boolean | undefined;
|
|
13
13
|
hasChildren: boolean;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
|
-
default?: (props: typeof
|
|
16
|
+
default?: (props: typeof __VLS_19) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base:
|
|
18
|
+
declare const __VLS_base: vue257.DefineComponent<TreeItemProps, {}, {}, {}, {}, vue257.ComponentOptionsMixin, vue257.ComponentOptionsMixin, {
|
|
19
19
|
select: (event: TreeSelectEvent<string>) => any;
|
|
20
20
|
toggle: (event: TreeToggleEvent<string>) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue257.PublicProps, Readonly<TreeItemProps> & Readonly<{
|
|
22
22
|
onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
|
|
23
23
|
onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
as: AsTag |
|
|
26
|
-
}, {}, {}, {}, string,
|
|
25
|
+
as: AsTag | vue257.Component;
|
|
26
|
+
}, {}, {}, {}, string, vue257.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { MaybeArray } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { FlattenedItem, TreeItemData, TreeRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue255 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree/tree-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props: __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
|
|
8
|
+
props: vue255.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
10
10
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
11
|
-
}> &
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
14
14
|
expose: (exposed: {}) => void;
|
|
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
23
23
|
}) => any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
26
|
-
}>) =>
|
|
26
|
+
}>) => vue255.VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { TreeSelectEvent, TreeToggleEvent } from "../../types/event.js";
|
|
2
2
|
import { TreeVirtualizerItemProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue250 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree/tree-virtualizer-item.vue.d.ts
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_14: {
|
|
8
8
|
isExpanded: boolean;
|
|
9
9
|
isSelected: boolean;
|
|
10
10
|
isIndeterminate: boolean | undefined;
|
|
11
11
|
hasChildren: boolean;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
|
-
default?: (props: typeof
|
|
14
|
+
default?: (props: typeof __VLS_14) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue250.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue250.ComponentOptionsMixin, vue250.ComponentOptionsMixin, {
|
|
17
17
|
select: (event: TreeSelectEvent<string>) => any;
|
|
18
18
|
toggle: (event: TreeToggleEvent<string>) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue250.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
|
|
20
20
|
onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
|
|
21
21
|
onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string,
|
|
22
|
+
}>, {}, {}, {}, {}, string, vue250.ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { MaybeArray } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { FlattenedItem, TreeItemData, TreeVirtualizerRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue248 from "vue";
|
|
5
5
|
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tree/tree-virtualizer-root.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
|
-
props: __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
|
|
9
|
+
props: vue248.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
11
11
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
12
|
-
}> &
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
14
14
|
} ? P : {});
|
|
15
15
|
expose: (exposed: {}) => void;
|
|
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
23
23
|
}) => any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
26
|
-
}>) =>
|
|
26
|
+
}>) => vue248.VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TreeMenuThemeContextParams } from "./types.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/context.d.ts
|
|
5
|
+
|
|
6
|
+
declare const provideTreeMenuThemeContext: (params: TreeMenuThemeContextParams) => TreeMenuThemeContextParams, useTreeMenuThemeContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: TreeMenuThemeContextParams | undefined) => N extends null | undefined ? TreeMenuThemeContextParams | null : TreeMenuThemeContextParams;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useContext as e}from"../../composables/use-context.js";const[t,n]=e(`TreeMenuRoot`,e=>{let{modelValue:t,expanded:n,collapsed:r}=e,i=e=>{t.value=e},a=e=>{n.value=e},o=e=>{n.value.includes(e)?n.value=n.value.filter(t=>t!==e):n.value=[...n.value,e]},s=e=>{r.value=e};return{...e,onModelValueChange:i,onExpandedChange:a,onExpandedToggle:o,onCollapsedChange:s}}),[r,i]=e(`TreeMenuItem`,e=>e),[a,o]=e(`TreeMenuTheme`,e=>e);export{r as provideTreeMenuItemContext,t as provideTreeMenuRootContext,a as provideTreeMenuThemeContext,i as useTreeMenuItemContext,n as useTreeMenuRootContext,o as useTreeMenuThemeContext};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TreeMenuBaseItemProps, TreeMenuButtonProps, TreeMenuCollapsedState, TreeMenuCollapsibleProps, TreeMenuGroupLabelProps, TreeMenuGroupProps, TreeMenuGroupRootProps, TreeMenuItemProps, TreeMenuRootEmits, TreeMenuRootProps, TreeMenuSubProps, TreeMenuThemeSlot, TreeMenuUi } from "./types.js";
|
|
2
|
+
import { _default as _default$6 } from "./tree-menu-root.vue.js";
|
|
3
|
+
import { _default as _default$4 } from "./tree-menu-group-root.vue.js";
|
|
4
|
+
import { _default as _default$2 } from "./tree-menu-group.vue.js";
|
|
5
|
+
import { _default as _default$3 } from "./tree-menu-group-label.vue.js";
|
|
6
|
+
import { _default as _default$5 } from "./tree-menu-item.vue.js";
|
|
7
|
+
import { _default } from "./tree-menu-button.vue.js";
|
|
8
|
+
import { _default as _default$1 } from "./tree-menu-collapsible.vue.js";
|
|
9
|
+
import { _default as _default$7 } from "./tree-menu-sub.vue.js";
|
|
10
|
+
import { provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext } from "./context.js";
|
|
11
|
+
export { type TreeMenuBaseItemProps, _default as TreeMenuButton, type TreeMenuButtonProps, type TreeMenuCollapsedState, _default$1 as TreeMenuCollapsible, type TreeMenuCollapsibleProps, _default$2 as TreeMenuGroup, _default$3 as TreeMenuGroupLabel, type TreeMenuGroupLabelProps, type TreeMenuGroupProps, _default$4 as TreeMenuGroupRoot, type TreeMenuGroupRootProps, _default$5 as TreeMenuItem, type TreeMenuItemProps, _default$6 as TreeMenuRoot, type TreeMenuRootEmits, type TreeMenuRootProps, _default$7 as TreeMenuSub, type TreeMenuSubProps, type TreeMenuThemeSlot, type TreeMenuUi, provideTreeMenuThemeContext, useTreeMenuRootContext, useTreeMenuThemeContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{provideTreeMenuThemeContext as e,useTreeMenuRootContext as t,useTreeMenuThemeContext as n}from"./context.js";import r from"./tree-menu-root.js";import i from"./tree-menu-group-root.js";import a from"./tree-menu-group.js";import o from"./tree-menu-group-label.js";import s from"./tree-menu-item.js";import c from"./tree-menu-button.js";import l from"./tree-menu-collapsible.js";import u from"./tree-menu-sub.js";export{c as TreeMenuButton,l as TreeMenuCollapsible,a as TreeMenuGroup,o as TreeMenuGroupLabel,i as TreeMenuGroupRoot,s as TreeMenuItem,r as TreeMenuRoot,u as TreeMenuSub,e as provideTreeMenuThemeContext,t as useTreeMenuRootContext,n as useTreeMenuThemeContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuItemContext as t,useTreeMenuThemeContext as n}from"./context.js";import{computed as r,createBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";var d=a({name:`TreeMenuButton`,__name:`tree-menu-button`,props:{disabledActive:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(a){let d=a,f=n(),p=r(()=>f?.value?.button),{isActive:m,onActive:h}=t(`TreeMenuButton`),g=()=>{d.disabledActive||h()};return(t,n)=>(s(),i(l(e),{as:a.as,"as-child":a.asChild,class:o(p.value),"data-active":l(m),onClick:g},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-active`]))}});export{d as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuButtonProps } from "./types.js";
|
|
4
|
+
import * as vue861 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-button.vue.d.ts
|
|
7
|
+
declare var __VLS_10: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_10) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue861.DefineComponent<TreeMenuButtonProps, {}, {}, {}, {}, vue861.ComponentOptionsMixin, vue861.ComponentOptionsMixin, {}, string, vue861.PublicProps, Readonly<TreeMenuButtonProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue861.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue861.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|