@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,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NumberInputDecrementProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1346 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/number-input-decrement.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1346.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue1346.ComponentOptionsMixin, vue1346.ComponentOptionsMixin, {}, string, vue1346.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1346.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1346.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NumberInputIncrementProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1340 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/number-input-increment.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1340.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue1340.ComponentOptionsMixin, vue1340.ComponentOptionsMixin, {}, string, vue1340.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1340.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1340.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NumberInputRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1330 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/number-input/number-input-root.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,15 +9,15 @@ declare var __VLS_1: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1330.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue1330.ComponentOptionsMixin, vue1330.ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (val: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1330.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
modelValue: number | null;
|
|
18
18
|
step: number;
|
|
19
19
|
stepSnapping: boolean;
|
|
20
|
-
}, {}, {}, {}, string,
|
|
20
|
+
}, {}, {}, {}, string, vue1330.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationEllipsisProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue401 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-ellipsis.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: vue401.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue401.ComponentOptionsMixin, vue401.ComponentOptionsMixin, {}, string, vue401.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue401.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue416 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-first.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: vue416.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue416.ComponentOptionsMixin, vue416.ComponentOptionsMixin, {}, string, vue416.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue416.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue421 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-last.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: vue421.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue421.ComponentOptionsMixin, vue421.ComponentOptionsMixin, {}, string, vue421.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue421.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 { PaginationListItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue386 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-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: vue386.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue386.ComponentOptionsMixin, vue386.ComponentOptionsMixin, {}, string, vue386.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue386.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Pages, PaginationListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue396 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-list.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -8,7 +8,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: vue396.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue396.ComponentOptionsMixin, vue396.ComponentOptionsMixin, {}, string, vue396.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue396.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,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue411 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-next.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: vue411.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue411.ComponentOptionsMixin, vue411.ComponentOptionsMixin, {}, string, vue411.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue411.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue406 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-prev.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: vue406.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue406.ComponentOptionsMixin, vue406.ComponentOptionsMixin, {}, string, vue406.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue406.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaginationRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue391 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-root.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,16 +9,16 @@ 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: vue391.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue391.ComponentOptionsMixin, vue391.ComponentOptionsMixin, {
|
|
13
13
|
"update:page": (value: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue391.PublicProps, Readonly<PaginationRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
defaultPage: number;
|
|
18
18
|
total: number;
|
|
19
19
|
siblingCount: number;
|
|
20
20
|
showEdges: boolean;
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue391.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{computed as n,shallowRef as r,useId as i}from"vue";const[a,o]=t(`PopoverRoot`,t=>{let{open:a,modal:o}=t,s=e=>{a.value=e},c=()=>{a.value=!a.value},l=n(()=>e(a.value)),u=r(),d=e=>{u.value=e},f=r(``),p=()=>{f.value||=`soybean-popover-trigger-${i()}`},m=r(),h=e=>{m.value=e},g=r(``);return{open:a,onOpenChange:s,onOpenToggle:c,modal:o,dataState:l,triggerElement:u,onTriggerElementChange:d,triggerId:f,initTriggerId:p,
|
|
1
|
+
import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{computed as n,shallowRef as r,useId as i}from"vue";const[a,o]=t(`PopoverRoot`,t=>{let{open:a,modal:o}=t,s=e=>{a.value=e},c=()=>{a.value=!a.value},l=n(()=>e(a.value)),u=r(),d=e=>{u.value=e},f=r(``),p=()=>{f.value||=`soybean-popover-trigger-${i()}`},m=r(),h=e=>{m.value=e},g=r(``);return{open:a,onOpenChange:s,onOpenToggle:c,modal:o,dataState:l,triggerElement:u,onTriggerElementChange:d,triggerId:f,initTriggerId:p,popupElement:m,onPopupElementChange:h,popupId:g,initPopupId:()=>{g.value||=`soybean-popover-popup-${i()}`},hasCustomAnchor:r(!1)}});export{a as providePopoverRootContext,o as usePopoverRootContext};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PortalProps } from "../portal/types.js";
|
|
2
2
|
import { _default as _default$4 } from "../portal/portal.vue.js";
|
|
3
|
-
import {
|
|
4
|
-
import { PopperAnchorProps, PopperThemeSlot, PopperUi } from "../popper/types.js";
|
|
3
|
+
import { PopperAnchorProps, PopperArrowProps, PopperThemeSlot, PopperUi } from "../popper/types.js";
|
|
5
4
|
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
6
|
-
import { PopoverCloseProps,
|
|
7
|
-
import { _default as _default$
|
|
5
|
+
import { PopoverCloseProps, PopoverPopupProps, PopoverPositionerEmits, PopoverPositionerProps, PopoverRootEmits, PopoverRootProps, PopoverTriggerProps } from "./types.js";
|
|
6
|
+
import { _default as _default$6 } from "./popover-root.vue.js";
|
|
8
7
|
import { _default } from "./popover-anchor.vue.js";
|
|
9
8
|
import { _default as _default$2 } from "./popover-close.vue.js";
|
|
10
|
-
import { _default as _default$
|
|
11
|
-
import { _default as _default$
|
|
9
|
+
import { _default as _default$5 } from "./popover-positioner.vue.js";
|
|
10
|
+
import { _default as _default$3 } from "./popover-popup.vue.js";
|
|
11
|
+
import { _default as _default$7 } from "./popover-trigger.vue.js";
|
|
12
12
|
import { providePopperThemeContext } from "../popper/context.js";
|
|
13
|
-
export { _default as PopoverAnchor, type PopperAnchorProps as PopoverAnchorProps, _default$1 as PopoverArrow, type
|
|
13
|
+
export { _default as PopoverAnchor, type PopperAnchorProps as PopoverAnchorProps, _default$1 as PopoverArrow, type PopperArrowProps as PopoverArrowProps, _default$2 as PopoverClose, type PopoverCloseProps, _default$3 as PopoverPopup, type PopoverPopupProps, _default$4 as PopoverPortal, type PortalProps as PopoverPortalProps, _default$5 as PopoverPositioner, type PopoverPositionerEmits, type PopoverPositionerProps, _default$6 as PopoverRoot, type PopoverRootEmits, type PopoverRootProps, type PopperThemeSlot as PopoverThemeSlot, _default$7 as PopoverTrigger, type PopoverTriggerProps, type PopperUi as PopoverUi, providePopperThemeContext as providePopoverThemeContext };
|
|
@@ -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"./popover-root.js";import i from"./popover-anchor.js";import a from"./popover-close.js";import o from"./popover-
|
|
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"./popover-root.js";import i from"./popover-anchor.js";import a from"./popover-close.js";import o from"./popover-positioner.js";import s from"./popover-popup.js";import c from"./popover-trigger.js";export{i as PopoverAnchor,n as PopoverArrow,a as PopoverClose,s as PopoverPopup,e as PopoverPortal,o as PopoverPositioner,r as PopoverRoot,c as PopoverTrigger,t as providePopoverThemeContext};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1456 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover-anchor.vue.d.ts
|
|
6
6
|
declare var __VLS_8: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_8) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_base:
|
|
10
|
+
declare const __VLS_base: vue1456.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1456.ComponentOptionsMixin, vue1456.ComponentOptionsMixin, {}, string, vue1456.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1456.ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { PopoverCloseProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1466 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-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: vue1466.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1466.ComponentOptionsMixin, vue1466.ComponentOptionsMixin, {}, string, vue1466.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1466.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1466.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 & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{popperCssVars as t}from"../popper/shared.js";import n from"../popper/popper-popup.js";import{usePopoverRootContext as r}from"./context.js";import{popoverCssVars as i}from"./shared.js";import{createBlock as a,defineComponent as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";var d=o({name:`PopoverPopup`,__name:`popover-popup`,setup(o){let{dataState:d,triggerId:f,popupId:p,initPopupId:m,onPopupElementChange:h}=r(`PopoverPopup`),[g,_]=e(h),v={[i.transformOrigin]:`var(${t.transformOrigin})`,[i.availableWidth]:`var(${t.availableWidth})`,[i.availableHeight]:`var(${t.availableHeight})`,[i.anchorWidth]:`var(${t.anchorWidth})`,[i.anchorHeight]:`var(${t.anchorHeight})`};return m(),(e,t)=>(s(),a(l(n),{id:l(p),ref:l(_),"aria-labelledby":l(f),"data-dismissable-layer":``,"data-state":l(d),role:`dialog`,tabindex:`-1`,style:v},{default:u(()=>[c(e.$slots,`default`)]),_:3},8,[`id`,`aria-labelledby`,`data-state`]))}});export{d as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PopoverPopupProps } from "./types.js";
|
|
2
|
+
import * as vue1477 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/popover/popover-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: vue1477.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1477.ComponentOptionsMixin, vue1477.ComponentOptionsMixin, {}, string, vue1477.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1477.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{useBodyScrollLock as e}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as t}from"../../composables/use-dismissable-layer.js";import{useForwardElement as n}from"../../composables/use-forward-element.js";import{useFocusGuards as r}from"../../composables/use-focus-guards.js";import{useFocusScope as i}from"../../composables/use-focus-scope.js";import{useHideOthers as a}from"../../composables/use-hide-others.js";import{useOmitProps as o}from"../../composables/use-props.js";import s from"../popper/popper-positioner.js";import{usePopoverRootContext as c}from"./context.js";import{createBlock as l,defineComponent as u,mergeProps as d,onWatcherCleanup as f,openBlock as p,renderSlot as m,unref as h,watchEffect as g,watchPostEffect as _,withCtx as v}from"vue";var y=u({name:`PopoverPositionerImpl`,__name:`popover-positioner-impl`,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:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(u,{emit:y}){let b=u,x=y,{modal:S,popupElement:C,onOpenChange:w}=c(`PopoverPositionerImpl`),[T,E]=n(),{pointerEvents:D}=t(T,{disableOutsidePointerEvents:()=>b.disableOutsidePointerEvents,onEscapeKeyDown:e=>{x(`escapeKeyDown`,e)},onPointerDownOutside:e=>{x(`pointerDownOutside`,e)},onFocusOutside:e=>{x(`focusOutside`,e)},onInteractOutside:e=>{x(`interactOutside`,e)},onDismiss:()=>{w(!1)}}),{onKeydown:O}=i(T,{trapped:()=>b.trapFocus,loop:!0,onOpenAutoFocus:e=>{x(`openAutoFocus`,e)},onCloseAutoFocus:e=>{x(`closeAutoFocus`,e)}}),k=o(b,[`disableOutsidePointerEvents`,`trapFocus`]);return r(),a(T,S),g(()=>{S.value&&f(e())}),_(()=>{C.value&&D.value&&(C.value.style.pointerEvents=D.value)}),(e,t)=>(p(),l(h(s),d(h(k),{ref:h(E),onKeydown:h(O)}),{default:v(()=>[m(e.$slots,`default`)]),_:3},16,[`onKeydown`]))}});export{y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{usePopupEvents as t}from"../../composables/use-popup-events.js";import{usePresence as n}from"../../composables/use-presence.js";import{useOmitProps as r}from"../../composables/use-props.js";import{usePopoverRootContext as i}from"./context.js";import a from"./popover-positioner-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:`PopoverPositioner`,__name:`popover-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`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(l,{emit:_}){let v=l,y=r(v,[`forceMount`]),b=e(_),{popupElement:x,open:S,modal:C,triggerElement:w}=i(`PopoverPositioner`),T=v.forceMount?p(!0):n(x,S),E=o(()=>C.value&&S.value),{onPointerDownOutside:D,onFocusOutside:O,onInteractOutside:k,onCloseAutoFocus:A}=t({modal:C,triggerElement:w});return(e,t)=>h(T)?(d(),s(a,u({key:0},h(y),{"trap-focus":E.value},m(h(b)),{onPointerDownOutside:h(D),onFocusOutside:h(O),onInteractOutside:h(k),onCloseAutoFocus:h(A)}),{default:g(()=>[f(e.$slots,`default`)]),_:3},16,[`trap-focus`,`onPointerDownOutside`,`onFocusOutside`,`onInteractOutside`,`onCloseAutoFocus`])):c(`v-if`,!0)}});export{_ as default};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPositionerProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1472 from "vue";
|
|
5
5
|
|
|
6
|
-
//#region src/components/popover/popover-
|
|
7
|
-
declare var
|
|
6
|
+
//#region src/components/popover/popover-positioner.vue.d.ts
|
|
7
|
+
declare var __VLS_13: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_13) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
closeAutoFocus: (event: Event) => any;
|
|
11
|
+
declare const __VLS_base: vue1472.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1472.ComponentOptionsMixin, vue1472.ComponentOptionsMixin, {
|
|
13
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
15
14
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
16
15
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
17
16
|
openAutoFocus: (event: Event) => any;
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
closeAutoFocus: (event: Event) => any;
|
|
18
|
+
}, string, vue1472.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
|
|
20
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
21
20
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
22
21
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
23
22
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
24
23
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
25
|
-
|
|
24
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, vue1472.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import n from"../popper/popper-root.js";import{providePopoverRootContext as r}from"./context.js";import{createBlock as i,defineComponent as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=a({name:`PopoverRoot`,inheritAttrs:!1,__name:`popover-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean}},emits:[`update:open`],setup(a,{emit:u}){let d=a,f=u,p=t(()=>d.open,e=>{f(`update:open`,e??!1)},d.defaultOpen),m=()=>{p.value=!1};return r({...e(d,[`modal`]),open:p}),(e,t)=>(o(),i(c(n),null,{default:l(()=>[s(e.$slots,`default`,{open:c(p),close:m})]),_:3}))}});export{u as default};
|
|
1
|
+
import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import n from"../popper/popper-root.js";import{providePopoverRootContext as r}from"./context.js";import{createBlock as i,defineComponent as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=a({name:`PopoverRoot`,inheritAttrs:!1,__name:`popover-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!1}},emits:[`update:open`],setup(a,{emit:u}){let d=a,f=u,p=t(()=>d.open,e=>{f(`update:open`,e??!1)},d.defaultOpen),m=()=>{p.value=!1};return r({...e(d,[`modal`]),open:p}),(e,t)=>(o(),i(c(n),null,{default:l(()=>[s(e.$slots,`default`,{open:c(p),close:m})]),_:3}))}});export{u as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopoverRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1702 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover/popover-root.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -9,14 +9,15 @@ declare var __VLS_8: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_8) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1702.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1702.ComponentOptionsMixin, vue1702.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1702.PublicProps, Readonly<PopoverRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
open: boolean;
|
|
18
18
|
defaultOpen: boolean;
|
|
19
|
-
|
|
19
|
+
modal: boolean;
|
|
20
|
+
}, {}, {}, {}, string, vue1702.ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
22
|
declare const _default: typeof __VLS_export;
|
|
22
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import n from"../popper/popper-anchor.js";import{usePopoverRootContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,openBlock as s,renderSlot as c,resolveDynamicComponent as l,unref as u,withCtx as d}from"vue";var f=o({name:`PopoverTrigger`,__name:`popover-trigger`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(o){let f=o,{open:p,onOpenToggle:m,dataState:h,
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import n from"../popper/popper-anchor.js";import{usePopoverRootContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,openBlock as s,renderSlot as c,resolveDynamicComponent as l,unref as u,withCtx as d}from"vue";var f=o({name:`PopoverTrigger`,__name:`popover-trigger`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(o){let f=o,{open:p,onOpenToggle:m,dataState:h,popupId:g,initTriggerId:_,onTriggerElementChange:v,hasCustomAnchor:y}=r(`PopoverTrigger`),[b,x]=e(v),S=i(()=>f.as===`button`?`button`:void 0);return _(),(e,r)=>(s(),a(l(u(y)?u(t):u(n)),{ref:u(x),as:o.as,"as-child":o.asChild,type:S.value,"aria-haspopup":`dialog`,"aria-expanded":u(p)||!1,"aria-controls":u(p)?u(g):void 0,"data-state":u(h),onClick:u(m)},{default:d(()=>[c(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}});export{f as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { PopoverTriggerProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1482 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-trigger.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1482.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1482.ComponentOptionsMixin, vue1482.ComponentOptionsMixin, {}, string, vue1482.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1482.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1482.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,17 +1,18 @@
|
|
|
1
|
-
import { ForceMountProps } from "../../types/component.js";
|
|
1
|
+
import { DismissableLayerEmits, FocusScopeEmits, ForceMountProps } from "../../types/component.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { PrimitiveProps } from "../primitive/types.js";
|
|
4
|
-
import {
|
|
5
|
-
import { PopperAnchorProps,
|
|
4
|
+
import { DialogRootEmits, DialogRootProps } from "../dialog/types.js";
|
|
5
|
+
import { PopperAnchorProps, PopperPopupProps, PopperPositionerProps } from "../popper/types.js";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, ShallowRef } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/popover/types.d.ts
|
|
9
9
|
interface PopoverRootProps extends DialogRootProps {}
|
|
10
10
|
type PopoverRootEmits = DialogRootEmits;
|
|
11
11
|
interface PopoverCloseProps extends PrimitiveProps, /** @vue-ignore */ButtonHTMLAttributes {}
|
|
12
|
-
type
|
|
13
|
-
interface
|
|
14
|
-
type
|
|
12
|
+
type PopoverPositionerImplEmits = DismissableLayerEmits & FocusScopeEmits;
|
|
13
|
+
interface PopoverPositionerProps extends PopperPositionerProps, ForceMountProps {}
|
|
14
|
+
type PopoverPositionerEmits = PopoverPositionerImplEmits;
|
|
15
|
+
interface PopoverPopupProps extends PopperPopupProps {}
|
|
15
16
|
interface PopoverTriggerProps extends PrimitiveProps, /** @vue-ignore */ButtonHTMLAttributes {}
|
|
16
17
|
//#endregion
|
|
17
|
-
export { PopoverCloseProps,
|
|
18
|
+
export { PopoverCloseProps, PopoverPopupProps, PopoverPositionerEmits, PopoverPositionerProps, PopoverRootEmits, PopoverRootProps, PopoverTriggerProps };
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
import { PopperThemeContextParams } from "./types.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import "../../index.js";
|
|
3
|
+
import "vue";
|
|
4
|
+
import { ReferenceElement } from "@floating-ui/dom";
|
|
5
|
+
import "@floating-ui/utils";
|
|
4
6
|
|
|
5
7
|
//#region src/components/popper/context.d.ts
|
|
6
|
-
|
|
7
|
-
anchorElement: vue560.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
8
|
-
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
9
|
-
}, usePopperRootContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: {
|
|
10
|
-
anchorElement: vue560.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
11
|
-
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
12
|
-
} | undefined) => N extends null | undefined ? {
|
|
13
|
-
anchorElement: vue560.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
14
|
-
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
15
|
-
} | null : {
|
|
16
|
-
anchorElement: vue560.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
17
|
-
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
18
|
-
};
|
|
8
|
+
|
|
19
9
|
declare const providePopperThemeContext: (params: PopperThemeContextParams) => PopperThemeContextParams, usePopperThemeContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: PopperThemeContextParams | undefined) => N extends null | undefined ? PopperThemeContextParams | null : PopperThemeContextParams;
|
|
20
10
|
//#endregion
|
|
21
|
-
export {
|
|
11
|
+
export { providePopperThemeContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useContext as e}from"../../composables/use-context.js";import{
|
|
1
|
+
import{useContext as e}from"../../composables/use-context.js";import{shallowRef as t}from"vue";const[n,r]=e(`PopperRoot`,()=>{let e=t(),n=t=>{e.value=t},r=t();return{popupElement:e,onPopupElementChange:n,anchorElement:r,onAnchorElementChange:e=>{r.value=e}}}),[i,a]=e(`PopperPositioner`,e=>{let n=t(null),r=e=>{n.value=e??null};return{...e,arrowElement:n,onArrowElementChange:r}}),[o,s]=e(`PopperTheme`,e=>e);export{i as providePopperPositionerContext,n as providePopperRootContext,o as providePopperThemeContext,a as usePopperPositionerContext,r as usePopperRootContext,s as usePopperThemeContext};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PopperAnchorProps, PopperContentProps, PopperThemeSlot, PopperUi } from "./types.js";
|
|
1
|
+
import { PopperAnchorProps, PopperArrowProps, PopperPopupProps, PopperPositionerProps, PopperThemeSlot, PopperUi } from "./types.js";
|
|
3
2
|
import { _default } from "./popper-anchor.vue.js";
|
|
4
3
|
import { _default as _default$1 } from "./popper-arrow.vue.js";
|
|
5
|
-
import {
|
|
6
|
-
import { _default as _default$
|
|
7
|
-
import { _default as _default$
|
|
8
|
-
|
|
4
|
+
import { providePopperThemeContext } from "./context.js";
|
|
5
|
+
import { _default as _default$4 } from "./popper-root.vue.js";
|
|
6
|
+
import { _default as _default$3 } from "./popper-positioner.vue.js";
|
|
7
|
+
import { _default as _default$2 } from "./popper-popup.vue.js";
|
|
8
|
+
export { _default as PopperAnchor, type PopperAnchorProps, _default$1 as PopperArrow, type PopperArrowProps, _default$2 as PopperPopup, type PopperPopupProps, _default$3 as PopperPositioner, type PopperPositionerProps, _default$4 as PopperRoot, type PopperThemeSlot, type PopperUi, providePopperThemeContext as providePopoverThemeContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{providePopperThemeContext as e}from"./context.js";import t from"./popper-anchor.js";import n from"./popper-arrow.js";import r from"./popper-root.js";import i from"./popper-positioner.js";import a from"./popper-popup.js";export{t as PopperAnchor,n as PopperArrow,a as PopperPopup,i as PopperPositioner,r as PopperRoot,e as providePopoverThemeContext};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1529 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popper/popper-anchor.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: vue1529.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1529.ComponentOptionsMixin, vue1529.ComponentOptionsMixin, {}, string, vue1529.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1529.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OPPOSITE_SIDE as e}from"../../constants/common.js";import t from"../arrow/arrow.js";import{
|
|
1
|
+
import{OPPOSITE_SIDE as e}from"../../constants/common.js";import t from"../arrow/arrow.js";import{usePopperPositionerContext as n,usePopperThemeContext as r}from"./context.js";import{computed as i,createElementBlock as a,createVNode as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,unref as d}from"vue";var f=s({name:`PopperArrow`,__name:`popper-arrow`,setup(s){let f=r(),p=i(()=>f?.ui?.value?.arrow),{setArrowElement:m,arrowX:h,arrowY:g,arrowCentered:_,placedSide:v}=n(`PopperArrow`),y={top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`},b={top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`},x=i(()=>e[v.value]),S=i(()=>({position:`absolute`,left:h.value?`${h.value}px`:void 0,top:g.value?`${g.value}px`:void 0,[x.value]:0,transformOrigin:y[v.value],transform:b[v.value],visibility:_.value?void 0:`hidden`}));return(e,n)=>(u(),a(`span`,{ref:d(m),class:c(p.value),style:l(S.value)},[o(d(t))],6))}});export{f as default};
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import * as vue564 from "vue";
|
|
1
|
+
import { PopperArrowProps } from "./types.js";
|
|
2
|
+
import * as vue1461 from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/popper/popper-arrow.vue.d.ts
|
|
6
|
-
declare
|
|
7
|
-
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof __VLS_7) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: vue564.DefineComponent<ArrowProps, {}, {}, {}, {}, vue564.ComponentOptionsMixin, vue564.ComponentOptionsMixin, {}, string, vue564.PublicProps, Readonly<ArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue564.ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const __VLS_export: vue1461.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1461.ComponentOptionsMixin, vue1461.ComponentOptionsMixin, {}, string, vue1461.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1461.ComponentProvideOptions, false, {}, any>;
|
|
12
6
|
declare const _default: typeof __VLS_export;
|
|
13
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
7
|
//#endregion
|
|
19
8
|
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{usePopperPositionerContext as t,usePopperRootContext as n,usePopperThemeContext as r}from"./context.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,normalizeStyle as c,openBlock as l,renderSlot as u,unref as d}from"vue";const f=[`data-side`,`data-align`];var p=o({name:`PopperPopup`,__name:`popper-popup`,setup(o){let p=r(),m=i(()=>p?.ui?.value?.popup),{onPopupElementChange:h}=n(`PopperPopup`),{placedSide:g,placedAlign:_,isPositioned:v}=t(`PopperPopup`),[y,b]=e(h),x=i(()=>({animation:v.value?void 0:`none`}));return(e,t)=>(l(),a(`div`,{ref:d(b),class:s(m.value),"data-soybean-popper-popup":``,"data-side":d(g),"data-align":d(_),style:c(x.value)},[u(e.$slots,`default`)],14,f))}});export{p as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PopperPopupProps } from "./types.js";
|
|
2
|
+
import * as vue1540 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/popper/popper-popup.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue1540.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1540.ComponentOptionsMixin, vue1540.ComponentOptionsMixin, {}, string, vue1540.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1540.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 };
|