@soybeanjs/headless 0.0.7 → 0.0.8
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.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.vue.d.ts +4 -4
- 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 +5 -5
- 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/link.vue.d.ts +5 -5
- 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 +6 -6
- 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 +6 -5
- 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 +5 -5
- 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} +26 -26
- 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 +4 -4
- 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 +10 -10
- 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/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 +71 -69
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +376 -370
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useSelectPopupElementContext as t}from"./context.js";import{createElementBlock as n,defineComponent as r,openBlock as i,renderSlot as a,unref as o}from"vue";var s=r({name:`SelectItemAlignedPopup`,__name:`select-item-aligned-popup`,setup(r){let{onPopupElementChange:s}=t(`SelectItemAlignedPopup`),[c,l]=e(s);return(e,t)=>(i(),n(`div`,{ref:o(l),style:{"box-sizing":`border-box`,"max-height":`100%`}},[a(e.$slots,`default`)],512))}});export{s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{clamp as e}from"../../shared/value.js";import{provideSelectItemAlignedPositionContext as t,useCollectionContext as n,useSelectContentContext as r,useSelectPopupElementContext as i,useSelectRootContext as a}from"./context.js";import{CONTENT_MARGIN as o}from"./shared.js";import{createElementBlock as s,defineComponent as c,nextTick as l,normalizeStyle as u,onMounted as d,openBlock as f,renderSlot as p,shallowRef as m}from"vue";import{useResizeObserver as h}from"@vueuse/core";var g=c({name:`SelectItemAlignedPosition`,__name:`select-item-aligned-positioner`,emits:[`placed`],setup(c,{emit:g}){let _=g,{dir:v,triggerElement:y,valueElement:b}=a(`SelectItemAlignedPosition`),{viewportElement:x,selectedItemElement:S,selectedItemTextElement:C,focusSelectedItem:w}=r(`SelectItemAlignedPosition`),{getOrderedElements:T}=n(`SelectItemAlignedPosition`),E=m(),{popupElement:D}=i(`SelectItemAlignedPosition`),O=m(!1),k=!0;function A(){if(!y.value||!b.value||!E.value||!D.value||!x.value||!S.value||!C.value)return;let t=y.value.getBoundingClientRect(),n=D.value.getBoundingClientRect(),r=b.value.getBoundingClientRect(),i=C.value.getBoundingClientRect();if(v.value!==`rtl`){let a=i.left-n.left,s=r.left-a,c=t.left-s,l=t.width+c,u=Math.max(l,n.width),d=window.innerWidth-o,f=e(s,o,Math.max(o,d-u));E.value.style.minWidth=`${l}px`,E.value.style.left=`${f}px`}else{let a=n.right-i.right,s=window.innerWidth-r.right-a,c=window.innerWidth-t.right-s,l=t.width+c,u=Math.max(l,n.width),d=window.innerWidth-o,f=e(s,o,Math.max(o,d-u));E.value.style.minWidth=`${l}px`,E.value.style.right=`${f}px`}let a=T(),s=window.innerHeight-o*2,c=x.value.scrollHeight,l=window.getComputedStyle(D.value),u=Number.parseInt(l.borderTopWidth,10),d=Number.parseInt(l.paddingTop,10),f=Number.parseInt(l.borderBottomWidth,10),p=Number.parseInt(l.paddingBottom,10),m=u+d+c+p+f,h=Math.min(S.value.offsetHeight*5,m),g=window.getComputedStyle(x.value),w=Number.parseInt(g.paddingTop,10),k=Number.parseInt(g.paddingBottom,10),A=t.top+t.height/2-o,j=s-A,M=S.value.offsetHeight/2,N=S.value.offsetTop+M,P=u+d+N,F=m-P;if(P<=A){let e=S.value===a[a.length-1];E.value.style.bottom=`0px`;let t=D.value.clientHeight-x.value.offsetTop-x.value.offsetHeight,n=P+Math.max(j,M+(e?k:0)+t+f);E.value.style.height=`${n}px`}else{let e=S.value===a[0];E.value.style.top=`0px`;let t=Math.max(A,u+x.value.offsetTop+(e?w:0)+M)+F;E.value.style.height=`${t}px`,x.value.scrollTop=P-A+x.value.offsetTop}E.value.style.margin=`${o}px 0`,E.value.style.minHeight=`${h}px`,E.value.style.maxHeight=`${s}px`,_(`placed`),requestAnimationFrame(()=>{O.value=!0})}let j=m(``),M=()=>{D.value&&(j.value=window.getComputedStyle(D.value).zIndex)};function N(e){!e||!k||(A(),w(),k=!1)}return t({positionerElement:E,shouldExpandOnScroll:O,onScrollButtonChange:N}),h(y,()=>{A()}),d(async()=>{await l(),A(),M()}),(e,t)=>(f(),s(`div`,{ref_key:`positionerElement`,ref:E,style:u([{display:`flex`,"flex-direction":`column`,position:`fixed`},{zIndex:j.value}])},[p(e.$slots,`default`)],4))}});export{g as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { SelectItemIndicatorProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1595 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select-item-indicator.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1595.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue1595.ComponentOptionsMixin, vue1595.ComponentOptionsMixin, {}, string, vue1595.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1595.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1595.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 { SelectItemTextProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1590 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-item-text.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: vue1590.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue1590.ComponentOptionsMixin, vue1590.ComponentOptionsMixin, {}, string, vue1590.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1590.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 { DefinedValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { SelectItemEvent, SelectItemProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1565 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select-item.vue.d.ts
|
|
7
7
|
declare var __VLS_17: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_17) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1565.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue1565.ComponentOptionsMixin, vue1565.ComponentOptionsMixin, {
|
|
12
12
|
select: (event: SelectItemEvent<DefinedValue>) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1565.PublicProps, Readonly<SelectItemProps> & Readonly<{
|
|
14
14
|
onSelect?: ((event: SelectItemEvent<DefinedValue>) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue1565.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 & {
|
|
@@ -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{useSelectPopupElementContext as r}from"./context.js";import{selectCssVars 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:`SelectPopperPopup`,__name:`select-popper-popup`,setup(o){let{onPopupElementChange:d}=r(`SelectPopperPopup`),[f,p]=e(d),m={boxSizing:`border-box`,[i.popupTransformOrigin]:`var(${t.transformOrigin})`,[i.popupAvailableWidth]:`var(${t.availableWidth})`,[i.popupAvailableHeight]:`var(${t.availableHeight})`,[i.triggerWidth]:`var(${t.anchorWidth})`,[i.triggerHeight]:`var(${t.anchorHeight})`};return(e,t)=>(s(),a(l(n),{ref:l(p),style:m},{default:u(()=>[c(e.$slots,`default`)]),_:3},512))}});export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import{useSelection as i}from"../../composables/use-selection.js";import a from"../popper/popper-root.js";import{provideCollectionContext as o,provideSelectRootContext as s}from"./context.js";import c from"./bubble-select.js";import{Fragment as l,computed as u,createBlock as d,createCommentVNode as f,createElementBlock as p,defineComponent as m,mergeProps as h,openBlock as g,renderList as _,renderSlot as v,unref as y,withCtx as b}from"vue";const x={key:0,value:``};var S=m({name:`SelectRoot`,inheritAttrs:!1,__name:`select-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},dir:{},autocomplete:{},disabled:{type:Boolean},modelValue:{default:void 0},defaultValue:{},multiple:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:open`],setup(m,{emit:S}){let C=m,w=S,{modelValue:T,isMultiple:E,onModelValueChange:D,isEmptyModelValue:O}=i(C,e=>{w(`update:modelValue`,e)}),k=r(()=>C.open,e=>{w(`update:open`,e)},C.defaultOpen),{triggerElement:A,options:j,nativeSelectKey:M}=s({...n(C,[`dir`,`autocomplete`,`disabled`,`required`]),open:k,modelValue:T,onModelValueChange:D,isMultiple:E,isEmptyModelValue:O});o();let N=u(()=>t(A.value));return(t,n)=>(g(),d(y(a),null,{default:b(()=>[v(t.$slots,`default`,{modelValue:y(T),open:!!y(k)}),N.value?(g(),d(c,{key:y(M),"aria-hidden":`true`,tabindex:`-1`,multiple:m.multiple,required:m.required,name:m.name,autocomplete:m.autocomplete,disabled:m.disabled,value:y(T)},{default:b(()=>[y(e)(y(T))?(g(),p(`option`,x)):f(`v-if`,!0),(g(!0),p(l,null,_(y(j),e=>(g(),p(`option`,h({key:e.value??``},{ref_for:!0},e),null,16))),128))]),_:1},8,[`multiple`,`required`,`name`,`autocomplete`,`disabled`,`value`])):f(`v-if`,!0)]),_:3}))}});export{S as default};
|
|
1
|
+
import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import{useSelection as i}from"../../composables/use-selection.js";import a from"../popper/popper-root.js";import{provideCollectionContext as o,provideSelectRootContext as s}from"./context.js";import c from"./select-bubble-select.js";import{Fragment as l,computed as u,createBlock as d,createCommentVNode as f,createElementBlock as p,defineComponent as m,mergeProps as h,openBlock as g,renderList as _,renderSlot as v,unref as y,withCtx as b}from"vue";const x={key:0,value:``};var S=m({name:`SelectRoot`,inheritAttrs:!1,__name:`select-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},dir:{},autocomplete:{},disabled:{type:Boolean},modelValue:{default:void 0},defaultValue:{},multiple:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:open`],setup(m,{emit:S}){let C=m,w=S,{modelValue:T,isMultiple:E,onModelValueChange:D,isEmptyModelValue:O}=i(C,e=>{w(`update:modelValue`,e)}),k=r(()=>C.open,e=>{w(`update:open`,e)},C.defaultOpen),{triggerElement:A,options:j,nativeSelectKey:M}=s({...n(C,[`dir`,`autocomplete`,`disabled`,`required`]),open:k,modelValue:T,onModelValueChange:D,isMultiple:E,isEmptyModelValue:O});o();let N=u(()=>t(A.value));return(t,n)=>(g(),d(y(a),null,{default:b(()=>[v(t.$slots,`default`,{modelValue:y(T),open:!!y(k)}),N.value?(g(),d(c,{key:y(M),"aria-hidden":`true`,tabindex:`-1`,multiple:m.multiple,required:m.required,name:m.name,autocomplete:m.autocomplete,disabled:m.disabled,value:y(T)},{default:b(()=>[y(e)(y(T))?(g(),p(`option`,x)):f(`v-if`,!0),(g(!0),p(l,null,_(y(j),e=>(g(),p(`option`,h({key:e.value??``},{ref_for:!0},e),null,16))),128))]),_:1},8,[`multiple`,`required`,`name`,`autocomplete`,`disabled`,`value`])):f(`v-if`,!0)]),_:3}))}});export{S as default};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { DefinedValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { SelectRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1542 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(__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<SelectRootProps<T, M> & {
|
|
9
|
-
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
8
|
+
props: vue1542.PublicProps & __VLS_PrettifyLocal<SelectRootProps<T, M> & {
|
|
10
9
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
|
-
|
|
10
|
+
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
14
14
|
expose: (exposed: {}) => void;
|
|
15
15
|
attrs: any;
|
|
16
16
|
slots: {
|
|
17
17
|
default?: (props: {
|
|
18
|
-
modelValue: (M extends true ? T[] : T) | undefined;
|
|
18
|
+
modelValue: ((M extends true ? T[] : T) & (DefinedValue | DefinedValue[])) | undefined;
|
|
19
19
|
open: boolean;
|
|
20
20
|
}) => any;
|
|
21
21
|
};
|
|
22
|
-
emit: ((evt: "update:
|
|
23
|
-
}>) =>
|
|
22
|
+
emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void);
|
|
23
|
+
}>) => vue1542.VNode & {
|
|
24
24
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SelectScrollDownButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1627 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-scroll-down-button.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1627.DefineComponent<SelectScrollDownButtonProps, {}, {}, {}, {}, vue1627.ComponentOptionsMixin, vue1627.ComponentOptionsMixin, {}, string, vue1627.PublicProps, Readonly<SelectScrollDownButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1627.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 { SelectScrollUpButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1585 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-scroll-up-button.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1585.DefineComponent<SelectScrollUpButtonProps, {}, {}, {}, {}, vue1585.ComponentOptionsMixin, vue1585.ComponentOptionsMixin, {}, string, vue1585.PublicProps, Readonly<SelectScrollUpButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1585.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 { SelectSeparatorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1601 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-separator.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: vue1601.DefineComponent<SelectSeparatorProps, {}, {}, {}, {}, vue1601.ComponentOptionsMixin, vue1601.ComponentOptionsMixin, {}, string, vue1601.PublicProps, Readonly<SelectSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1601.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{provideSelectContentContext as e,useSelectRootContext as t}from"./context.js";import{computed as n,defineComponent as r,renderSlot as i,shallowRef as a}from"vue";var o=r({name:`SelectTeleportProvider`,__name:`select-teleport-provider`,props:{position:{}},setup(r){let o=r,{modelValue:s,isMultiple:c}=t(`SelectTeleportProvider`);return e({search:a(``),position:n(()=>o.position),modelValue:s,isMultiple:c}),(e,t)=>i(e.$slots,`default`)}});export{o as default};
|
|
1
|
+
import{provideSelectContentContext as e,useSelectRootContext as t}from"./context.js";import{computed as n,defineComponent as r,renderSlot as i,shallowRef as a}from"vue";var o=r({name:`SelectTeleportProvider`,__name:`select-teleport-provider`,props:{popupElement:{},position:{}},setup(r){let o=r,{modelValue:s,isMultiple:c}=t(`SelectTeleportProvider`);return e({search:a(``),position:n(()=>o.position),modelValue:s,isMultiple:c,popupElement:n(()=>o.popupElement)}),(e,t)=>i(e.$slots,`default`)}});export{o as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SelectTriggerIconProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1544 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-trigger-icon.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: vue1544.DefineComponent<SelectTriggerIconProps, {}, {}, {}, {}, vue1544.ComponentOptionsMixin, vue1544.ComponentOptionsMixin, {}, string, vue1544.PublicProps, Readonly<SelectTriggerIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1544.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { SelectTriggerProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1559 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select-trigger.vue.d.ts
|
|
7
7
|
declare var __VLS_19: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_19) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1559.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue1559.ComponentOptionsMixin, vue1559.ComponentOptionsMixin, {}, string, vue1559.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1559.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1559.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,7 +1,7 @@
|
|
|
1
1
|
import { DefinedValue, MaybeArray } from "../../types/common.js";
|
|
2
2
|
import { SelectValueProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1570 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select-value.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {
|
|
@@ -12,9 +12,9 @@ declare var __VLS_1: {
|
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
default?: (props: typeof __VLS_1) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_base:
|
|
15
|
+
declare const __VLS_base: vue1570.DefineComponent<SelectValueProps, {}, {}, {}, {}, vue1570.ComponentOptionsMixin, vue1570.ComponentOptionsMixin, {}, string, vue1570.PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {
|
|
16
16
|
placeholder: string;
|
|
17
|
-
}, {}, {}, {}, string,
|
|
17
|
+
}, {}, {}, {}, string, vue1570.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,4 +1,4 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useNonce as t}from"../../composables/use-nonce.js";import{Primitive as n}from"../primitive/primitive.js";import{useSelectContentContext as r,useSelectItemAlignedPositionContext as i,useSelectThemeContext as a}from"./context.js";import{CONTENT_MARGIN as o}from"./shared.js";import{Fragment as s,computed as c,createElementBlock as l,createElementVNode as u,createTextVNode as d,createVNode as f,defineComponent as p,mergeProps as m,openBlock as h,renderSlot as g,toDisplayString as _,unref as v,useAttrs as y,withCtx as b}from"vue";var x=p({name:`SelectViewport`,inheritAttrs:!1,__name:`select-viewport`,props:{nonce:{}},setup(p){let x=p,S=y(),{onViewportElementChange:C}=r(`SelectViewport`),[w,T]=e(C),E=i(),D=t(()=>x.nonce),O=a(),k=c(()=>O?.ui?.value?.viewport),A=0;function j(e){let t=e.currentTarget,{
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useNonce as t}from"../../composables/use-nonce.js";import{Primitive as n}from"../primitive/primitive.js";import{useSelectContentContext as r,useSelectItemAlignedPositionContext as i,useSelectThemeContext as a}from"./context.js";import{CONTENT_MARGIN as o}from"./shared.js";import{Fragment as s,computed as c,createElementBlock as l,createElementVNode as u,createTextVNode as d,createVNode as f,defineComponent as p,mergeProps as m,openBlock as h,renderSlot as g,toDisplayString as _,unref as v,useAttrs as y,withCtx as b}from"vue";var x=p({name:`SelectViewport`,inheritAttrs:!1,__name:`select-viewport`,props:{nonce:{}},setup(p){let x=p,S=y(),{onViewportElementChange:C}=r(`SelectViewport`),[w,T]=e(C),E=i(),D=t(()=>x.nonce),O=a(),k=c(()=>O?.ui?.value?.viewport),A=0;function j(e){let t=e.currentTarget,{positionerElement:n,shouldExpandOnScroll:r}=E??{};if(!n?.value||!r?.value){A=t.scrollTop;return}let i=Math.abs(A-t.scrollTop);if(i<=0)return;let a=window.innerHeight-o*2,s=Number.parseFloat(n.value.style.minHeight),c=Number.parseFloat(n.value.style.height),l=Math.max(s,c);if(l<a){let e=l+i,r=Math.min(a,e),o=e-r;n.value.style.height=`${r}px`,n.value.style.bottom===`0px`&&(t.scrollTop=o>0?o:0,n.value.style.justifyContent=`flex-end`)}A=t.scrollTop}return(e,t)=>(h(),l(s,null,[u(`div`,m(v(S),{ref:v(T),class:k.value,"data-soybean-select-viewport":``,role:`presentation`,style:`position:relative;flex:1;overflow:hidden auto;`,onScroll:j}),[g(e.$slots,`default`)],16),f(v(n),{as:`style`,nonce:v(D)},{default:b(()=>[d(_(`
|
|
2
2
|
[data-soybean-select-viewport] {
|
|
3
3
|
scrollbar-width: none;
|
|
4
4
|
-ms-overflow-style: none;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SelectViewportProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1554 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-viewport.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: vue1554.DefineComponent<SelectViewportProps, {}, {}, {}, {}, vue1554.ComponentOptionsMixin, vue1554.ComponentOptionsMixin, {}, string, vue1554.PublicProps, Readonly<SelectViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1554.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{isNullish as e}from"../../shared/guard.js";const t={
|
|
1
|
+
import{isNullish as e}from"../../shared/guard.js";const t={popupTransformOrigin:`--soybean-select-popup-transform-origin`,popupAvailableWidth:`--soybean-select-popup-available-width`,popupAvailableHeight:`--soybean-select-popup-available-height`,triggerWidth:`--soybean-select-trigger-width`,triggerHeight:`--soybean-select-trigger-height`},n=[` `,`Enter`,`ArrowUp`,`ArrowDown`],r=[` `,`Enter`],i=10,a=`select.select`;function o(t){return e(t)||t===``||Array.isArray(t)&&t.length===0}export{i as CONTENT_MARGIN,n as OPEN_KEYS,r as SELECTION_KEYS,a as SELECT_EVENT,t as selectCssVars,o as shouldShowPlaceholder};
|
|
@@ -3,8 +3,7 @@ import { PointerDownOutsideEvent } from "../../types/event.js";
|
|
|
3
3
|
import { ForceMountProps, FormFieldCommonProps } from "../../types/component.js";
|
|
4
4
|
import "../../types/index.js";
|
|
5
5
|
import { PrimitiveProps } from "../primitive/types.js";
|
|
6
|
-
import {
|
|
7
|
-
import { PopperAnchorProps, PopperContentProps } from "../popper/types.js";
|
|
6
|
+
import { PopperAnchorProps, PopperArrowProps, PopperPositionerProps } from "../popper/types.js";
|
|
8
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
9
8
|
|
|
10
9
|
//#region src/components/select/types.d.ts
|
|
@@ -27,8 +26,9 @@ type SelectRootEmits<T extends DefinedValue = DefinedValue, M extends boolean =
|
|
|
27
26
|
/** Event handler called when the open state of the context menu changes. */
|
|
28
27
|
'update:open': [value: boolean];
|
|
29
28
|
};
|
|
29
|
+
interface SelectPopupProps extends /** @vue-ignore */HTMLAttributes {}
|
|
30
30
|
type SelectPosition = 'item-aligned' | 'popper';
|
|
31
|
-
interface SelectContentImplProps extends
|
|
31
|
+
interface SelectContentImplProps extends PopperPositionerProps {
|
|
32
32
|
/**
|
|
33
33
|
* The positioning mode to use
|
|
34
34
|
*
|
|
@@ -43,6 +43,7 @@ interface SelectContentImplProps extends PopperContentProps {
|
|
|
43
43
|
* @defaultValue true
|
|
44
44
|
*/
|
|
45
45
|
bodyLock?: boolean;
|
|
46
|
+
popupProps?: SelectPopupProps;
|
|
46
47
|
}
|
|
47
48
|
type SelectContentImplEmits = {
|
|
48
49
|
closeAutoFocus: [event: Event];
|
|
@@ -95,10 +96,10 @@ interface SelectSeparatorProps extends /** @vue-ignore */HTMLAttributes {}
|
|
|
95
96
|
interface SelectScrollButtonImplProps extends PrimitiveProps, /** @vue-ignore */ButtonHTMLAttributes {}
|
|
96
97
|
interface SelectScrollDownButtonProps extends SelectScrollButtonImplProps {}
|
|
97
98
|
interface SelectScrollUpButtonProps extends SelectScrollButtonImplProps {}
|
|
98
|
-
type SelectThemeSlot = 'trigger' | 'triggerIcon' | 'value' | '
|
|
99
|
+
type SelectThemeSlot = 'trigger' | 'triggerIcon' | 'value' | 'positioner' | 'popup' | 'viewport' | 'group' | 'groupLabel' | 'item' | 'itemText' | 'itemIndicator' | 'separator' | 'scrollUpButton' | 'scrollDownButton' | 'arrow';
|
|
99
100
|
type SelectUi = Record<SelectThemeSlot, ClassValue>;
|
|
100
101
|
interface SelectThemeContextParams {
|
|
101
102
|
ui: ComputedRef<SelectUi>;
|
|
102
103
|
}
|
|
103
104
|
//#endregion
|
|
104
|
-
export { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectThemeContextParams, SelectThemeSlot, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectValueProps, SelectViewportProps };
|
|
105
|
+
export { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPopupProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectThemeContextParams, SelectThemeSlot, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectValueProps, SelectViewportProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SeparatorLabelProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue367 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator/separator-label.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue367.DefineComponent<SeparatorLabelProps, {}, {}, {}, {}, vue367.ComponentOptionsMixin, vue367.ComponentOptionsMixin, {}, string, vue367.PublicProps, Readonly<SeparatorLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue367.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,17 +1,17 @@
|
|
|
1
1
|
import { DataOrientation } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { SeparatorRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue362 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/separator/separator-root.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: vue362.DefineComponent<SeparatorRootProps, {}, {}, {}, {}, vue362.ComponentOptionsMixin, vue362.ComponentOptionsMixin, {}, string, vue362.PublicProps, Readonly<SeparatorRootProps> & Readonly<{}>, {
|
|
12
12
|
orientation: DataOrientation;
|
|
13
13
|
decorative: boolean;
|
|
14
|
-
}, {}, {}, {}, string,
|
|
14
|
+
}, {}, {}, {}, string, vue362.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 & {
|
|
@@ -18,7 +18,7 @@ interface SeparatorRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
18
18
|
decorative?: boolean;
|
|
19
19
|
}
|
|
20
20
|
type SeparatorThemeSlot = 'root' | 'label';
|
|
21
|
-
type SeparatorUi = Record<SeparatorThemeSlot, ClassValue
|
|
21
|
+
type SeparatorUi = Partial<Record<SeparatorThemeSlot, ClassValue>>;
|
|
22
22
|
interface SeparatorThemeContextParams {
|
|
23
23
|
ui: ComputedRef<SeparatorUi>;
|
|
24
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue21 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/slot/slot.d.ts
|
|
4
|
-
declare const Slot:
|
|
4
|
+
declare const Slot: vue21.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue21.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Slot };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AcceptableBooleanValue } from "../../types/common.js";
|
|
2
2
|
import { SwitchControlProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue327 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/switch-control.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {
|
|
@@ -10,7 +10,7 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue327.DefineComponent<SwitchControlProps, {}, {}, {}, {}, vue327.ComponentOptionsMixin, vue327.ComponentOptionsMixin, {}, string, vue327.PublicProps, Readonly<SwitchControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue327.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AcceptableBooleanValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { SwitchRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue291 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/switch-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends AcceptableBooleanValue = 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<SwitchRootProps<T> & {
|
|
8
|
+
props: vue291.PublicProps & __VLS_PrettifyLocal<SwitchRootProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
10
|
-
}> &
|
|
10
|
+
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
12
12
|
} ? P : {});
|
|
13
13
|
expose: (exposed: {}) => void;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
21
|
-
}>) =>
|
|
21
|
+
}>) => vue291.VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { SwitchThumbProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue293 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/switch-thumb.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue293.DefineComponent<SwitchThumbProps, {}, {}, {}, {}, vue293.ComponentOptionsMixin, vue293.ComponentOptionsMixin, {}, string, vue293.PublicProps, Readonly<SwitchThumbProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue293.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue293.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 { TabsContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1300 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tabs/tabs-content.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: vue1300.DefineComponent<TabsContentProps, {}, {}, {}, {}, vue1300.ComponentOptionsMixin, vue1300.ComponentOptionsMixin, {}, string, vue1300.PublicProps, Readonly<TabsContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1300.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 { TabsIndicatorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1305 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tabs/tabs-indicator.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: vue1305.DefineComponent<TabsIndicatorProps, {}, {}, {}, {}, vue1305.ComponentOptionsMixin, vue1305.ComponentOptionsMixin, {}, string, vue1305.PublicProps, Readonly<TabsIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1305.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 { TabsListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1310 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tabs/tabs-list.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: vue1310.DefineComponent<TabsListProps, {}, {}, {}, {}, vue1310.ComponentOptionsMixin, vue1310.ComponentOptionsMixin, {}, string, vue1310.PublicProps, Readonly<TabsListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1310.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,7 +1,7 @@
|
|
|
1
1
|
import { AcceptableValue, DataOrientation, DefinedValue } from "../../types/common.js";
|
|
2
2
|
import { TabsActivationMode, TabsRootProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1295 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/tabs-root.vue.d.ts
|
|
7
7
|
type __VLS_Props = TabsRootProps;
|
|
@@ -11,9 +11,9 @@ declare var __VLS_1: {
|
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
12
|
default?: (props: typeof __VLS_1) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue1295.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (payload: NonNullable<AcceptableValue>) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1295.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((payload: NonNullable<AcceptableValue>) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
modelValue: DefinedValue | null;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_base: vue792.DefineComponent<__VLS_Props, {}, {}, {}, {}, vu
|
|
|
21
21
|
loop: boolean;
|
|
22
22
|
unmountOnHide: boolean;
|
|
23
23
|
activationMode: TabsActivationMode;
|
|
24
|
-
}, {}, {}, {}, string,
|
|
24
|
+
}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { TabsTriggerProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1315 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/tabs-trigger.vue.d.ts
|
|
7
7
|
declare var __VLS_18: {
|
|
@@ -10,10 +10,10 @@ declare var __VLS_18: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_18) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
14
|
-
as: AsTag |
|
|
13
|
+
declare const __VLS_base: vue1315.DefineComponent<TabsTriggerProps, {}, {}, {}, {}, vue1315.ComponentOptionsMixin, vue1315.ComponentOptionsMixin, {}, string, vue1315.PublicProps, Readonly<TabsTriggerProps> & Readonly<{}>, {
|
|
14
|
+
as: AsTag | vue1315.Component;
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
}, {}, {}, {}, string,
|
|
16
|
+
}, {}, {}, {}, string, vue1315.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue347 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tag/tag.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: vue347.DefineComponent<TagProps, {}, {}, {}, {}, vue347.ComponentOptionsMixin, vue347.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (open: boolean) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue347.PublicProps, Readonly<TagProps> & Readonly<{
|
|
15
15
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
open: boolean;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue347.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,8 +1,8 @@
|
|
|
1
1
|
import { TextareaControlProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue332 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: vue332.DefineComponent<TextareaControlProps, {}, {}, {}, {}, vue332.ComponentOptionsMixin, vue332.ComponentOptionsMixin, {}, string, vue332.PublicProps, Readonly<TextareaControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue332.ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default };
|