@soybeanjs/headless 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
- package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/accordion/context.d.ts +2 -2
- package/dist/components/accordion/context.js +1 -1
- package/dist/components/alert/alert-close.js +1 -1
- package/dist/components/alert/alert-close.vue.d.ts +2 -2
- package/dist/components/alert/alert-content.vue.d.ts +2 -2
- package/dist/components/alert/alert-description.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.vue.d.ts +4 -4
- package/dist/components/alert/alert-title.vue.d.ts +2 -2
- package/dist/components/alert/context.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- package/dist/components/arrow/arrow.js +1 -1
- package/dist/components/arrow/arrow.vue.d.ts +2 -2
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
- package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
- package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
- package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +2 -2
- package/dist/components/badge/badge-content.vue.d.ts +2 -2
- package/dist/components/badge/badge-root.vue.d.ts +4 -4
- package/dist/components/badge/context.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/breadcrumb/context.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/card/card-content.vue.d.ts +2 -2
- package/dist/components/card/card-description.vue.d.ts +2 -2
- package/dist/components/card/card-footer.vue.d.ts +2 -2
- package/dist/components/card/card-header.vue.d.ts +2 -2
- package/dist/components/card/card-root.vue.d.ts +2 -2
- package/dist/components/card/card-title-root.vue.d.ts +2 -2
- package/dist/components/card/card-title.vue.d.ts +2 -2
- package/dist/components/card/context.d.ts +2 -2
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
- package/dist/components/checkbox/context.d.ts +2 -2
- package/dist/components/collapsible/collapsible-content.js +1 -1
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/context.d.ts +2 -2
- package/dist/components/collapsible/context.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-root.js +1 -1
- package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
- package/dist/components/context-menu/context-menu-trigger.js +1 -1
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/context.js +1 -1
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
- package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-root.vue.d.ts +5 -5
- package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/form/context.d.ts +2 -2
- package/dist/components/form/form-description.vue.d.ts +2 -2
- package/dist/components/form/form-error.vue.d.ts +2 -2
- package/dist/components/form/form-field.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/input-control.vue.d.ts +2 -2
- package/dist/components/input/input-root.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +2 -2
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/context.d.ts +2 -2
- package/dist/components/layout/layout-footer.vue.d.ts +2 -2
- package/dist/components/layout/layout-header.vue.d.ts +2 -2
- package/dist/components/layout/layout-main.vue.d.ts +2 -2
- package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
- package/dist/components/layout/layout-rail.js +1 -1
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +4 -4
- package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/link.vue.d.ts +4 -4
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/list-content.vue.d.ts +2 -2
- package/dist/components/list/list-description.vue.d.ts +2 -2
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list-root.vue.d.ts +2 -2
- package/dist/components/list/list-title.vue.d.ts +2 -2
- package/dist/components/listbox/context.d.ts +2 -2
- package/dist/components/listbox/listbox-content.js +1 -1
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.js +1 -1
- package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
- package/dist/components/listbox/listbox-root.js +1 -1
- package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-content-impl.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
- package/dist/components/menu/menu-group.vue.d.ts +2 -2
- package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
- package/dist/components/menu/menu-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-root.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub-content.js +1 -1
- package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub.vue.d.ts +4 -4
- package/dist/components/navigation-menu/context.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
- package/dist/components/number-input/context.d.ts +2 -2
- package/dist/components/number-input/number-input-control.js +1 -1
- package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
- package/dist/components/number-input/number-input-decrement.js +1 -1
- package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-increment.js +1 -1
- package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/pagination-ellipsis.js +1 -1
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.js +1 -1
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.js +1 -1
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-next.js +1 -1
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.js +1 -1
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
- package/dist/components/popover/popover-close.js +1 -1
- package/dist/components/popover/popover-close.vue.d.ts +4 -4
- package/dist/components/popover/popover-popup.vue.d.ts +2 -2
- package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
- package/dist/components/popover/popover-root.vue.d.ts +5 -5
- package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
- package/dist/components/popper/context.d.ts +2 -2
- package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
- package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
- package/dist/components/popper/popper-popup.vue.d.ts +2 -2
- package/dist/components/popper/popper-positioner.vue.d.ts +53 -53
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/portal/portal.vue.d.ts +3 -3
- package/dist/components/primitive/primitive.d.ts +2 -2
- package/dist/components/radio-group/context.d.ts +2 -2
- package/dist/components/radio-group/radio-group-control.js +1 -1
- package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
- package/dist/components/select/context.d.ts +2 -2
- package/dist/components/select/context.js +1 -1
- package/dist/components/select/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content-impl.js +1 -1
- package/dist/components/select/select-content.vue.d.ts +8 -8
- package/dist/components/select/select-group-label.vue.d.ts +2 -2
- package/dist/components/select/select-group.vue.d.ts +2 -2
- package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
- package/dist/components/select/select-item-text.vue.d.ts +2 -2
- package/dist/components/select/select-item.js +1 -1
- package/dist/components/select/select-item.vue.d.ts +4 -4
- package/dist/components/select/select-root.vue.d.ts +5 -5
- package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
- package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
- package/dist/components/select/select-separator.vue.d.ts +2 -2
- package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
- package/dist/components/select/select-trigger.vue.d.ts +4 -4
- package/dist/components/select/select-value.vue.d.ts +3 -3
- package/dist/components/select/select-viewport.vue.d.ts +2 -2
- package/dist/components/separator/context.d.ts +2 -2
- package/dist/components/separator/separator-label.vue.d.ts +2 -2
- package/dist/components/separator/separator-root.vue.d.ts +3 -3
- package/dist/components/slot/slot.d.ts +2 -2
- package/dist/components/switch/context.d.ts +2 -2
- package/dist/components/switch/switch-control.js +1 -1
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.vue.d.ts +3 -3
- package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
- package/dist/components/tabs/context.d.ts +2 -2
- package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
- package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/context.d.ts +2 -2
- package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
- package/dist/components/toast/toast-action.vue.d.ts +4 -4
- package/dist/components/toast/toast-close.vue.d.ts +4 -4
- package/dist/components/toast/toast-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +7 -7
- package/dist/components/toast/toast-title.vue.d.ts +2 -2
- package/dist/components/toast/toast-viewport.js +1 -1
- package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
- package/dist/components/tooltip/context.js +1 -1
- package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
- package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
- package/dist/components/tree/tree-item.js +1 -1
- package/dist/components/tree/tree-item.vue.d.ts +5 -5
- package/dist/components/tree/tree-root.vue.d.ts +3 -3
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
- package/dist/components/tree-menu/context.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
- package/dist/composables/use-collection.js +1 -1
- package/dist/composables/use-forward-element.d.ts +2 -2
- package/dist/composables/use-grace-area.js +1 -1
- package/dist/composables/use-image-loading-status.d.ts +2 -2
- package/dist/composables/use-image-loading-status.js +1 -1
- package/dist/composables/use-is-using-keyboard.d.ts +2 -2
- package/dist/composables/use-is-using-keyboard.js +1 -1
- package/dist/composables/use-kbd.d.ts +2 -2
- package/dist/composables/use-presence.d.ts +2 -2
- package/dist/composables/use-props.d.ts +3 -3
- package/dist/composables/use-selection.d.ts +4 -4
- package/dist/shared/focus.js +1 -1
- package/package.json +26 -26
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue975 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: vue975.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue975.ComponentOptionsMixin, vue975.ComponentOptionsMixin, {}, string, vue975.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue975.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{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationLast`,__name:`pagination-last`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationLast`),h=t(`last`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(p.value)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Last Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]
|
|
1
|
+
import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationLast`,__name:`pagination-last`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationLast`),h=t(`last`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(p.value)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Last Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`Last page`,-1))])],10,u))}});export{d as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue965 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: vue965.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue965.ComponentOptionsMixin, vue965.ComponentOptionsMixin, {}, string, vue965.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue965.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 vue960 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: vue960.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue960.ComponentOptionsMixin, vue960.ComponentOptionsMixin, {}, string, vue960.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue960.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 vue980 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: vue980.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue980.ComponentOptionsMixin, vue980.ComponentOptionsMixin, {}, string, vue980.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue980.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 +1 @@
|
|
|
1
|
-
import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationNext`,__name:`pagination-next`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationNext`),h=t(`next`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(d.value+1)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Next Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]
|
|
1
|
+
import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationNext`,__name:`pagination-next`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationNext`),h=t(`next`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(d.value+1)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Next Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`Next page`,-1))])],10,u))}});export{d as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue955 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: vue955.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue955.ComponentOptionsMixin, vue955.ComponentOptionsMixin, {}, string, vue955.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue955.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{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationPrev`,__name:`pagination-prev`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationPrev`),m=t(`prev`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(d.value-1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`Previous Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]
|
|
1
|
+
import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationPrev`,__name:`pagination-prev`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationPrev`),m=t(`prev`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(d.value-1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`Previous Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`Prev page`,-1))])],10,u))}});export{d as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue950 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: vue950.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue950.ComponentOptionsMixin, vue950.ComponentOptionsMixin, {}, string, vue950.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue950.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 vue1017 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: vue1017.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue1017.ComponentOptionsMixin, vue1017.ComponentOptionsMixin, {
|
|
13
13
|
"update:page": (value: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1017.PublicProps, Readonly<PaginationRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
defaultPage: number;
|
|
18
17
|
total: number;
|
|
19
18
|
siblingCount: number;
|
|
20
19
|
showEdges: boolean;
|
|
21
|
-
|
|
20
|
+
defaultPage: number;
|
|
21
|
+
}, {}, {}, {}, string, vue1017.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
|
|
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||(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||(g.value=`soybean-popover-popup-${i()}`)},hasCustomAnchor:r(!1)}});export{a as providePopoverRootContext,o as usePopoverRootContext};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1083 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: vue1083.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1083.ComponentOptionsMixin, vue1083.ComponentOptionsMixin, {}, string, vue1083.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1083.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 +1 @@
|
|
|
1
|
-
import{Primitive as e}from"../primitive/primitive.js";import{usePopoverRootContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";var l=i({name:`PopoverClose`,__name:`popover-close`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(i){let l=i,{onOpenChange:u}=t(`PopoverClose`),d=n(()=>l.as===`button`?`button`:void 0);return(t,n)=>(a(),r(s(e),{as:i.as,"as-child":i.asChild,type:d.value,onClick:n[0]
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{usePopoverRootContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";var l=i({name:`PopoverClose`,__name:`popover-close`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(i){let l=i,{onOpenChange:u}=t(`PopoverClose`),d=n(()=>l.as===`button`?`button`:void 0);return(t,n)=>(a(),r(s(e),{as:i.as,"as-child":i.asChild,type:d.value,onClick:n[0]||(n[0]=e=>s(u)(!1))},{default:c(()=>[o(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`]))}});export{l as default};
|
|
@@ -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 vue1066 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: vue1066.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1066.ComponentOptionsMixin, vue1066.ComponentOptionsMixin, {}, string, vue1066.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1066.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1066.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 { PopoverPopupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1088 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover/popover-popup.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: vue1088.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1088.ComponentOptionsMixin, vue1088.ComponentOptionsMixin, {}, string, vue1088.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1088.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,28 +1,28 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { PopoverPositionerProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1061 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-positioner.vue.d.ts
|
|
7
7
|
declare var __VLS_13: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_13) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1061.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1061.ComponentOptionsMixin, vue1061.ComponentOptionsMixin, {
|
|
12
|
+
closeAutoFocus: (event: Event) => any;
|
|
12
13
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
17
|
openAutoFocus: (event: Event) => any;
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
}, string, vue1061.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
|
|
19
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
20
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
21
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
21
22
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
22
23
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
23
24
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
|
-
|
|
25
|
-
}>, {}, {}, {}, {}, string, vue1615.ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
}>, {}, {}, {}, {}, string, vue1061.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,5 +1,5 @@
|
|
|
1
1
|
import { PopoverRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1072 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover/popover-root.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -9,15 +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: vue1072.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1072.ComponentOptionsMixin, vue1072.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1072.PublicProps, Readonly<PopoverRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
open: boolean;
|
|
18
|
-
modal: boolean;
|
|
19
18
|
defaultOpen: boolean;
|
|
20
|
-
|
|
19
|
+
modal: boolean;
|
|
20
|
+
}, {}, {}, {}, string, vue1072.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,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 vue1077 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: vue1077.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1077.ComponentOptionsMixin, vue1077.ComponentOptionsMixin, {}, string, vue1077.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1077.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1077.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 { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { PopperUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1098 from "vue";
|
|
5
5
|
import { ReferenceElement } from "@floating-ui/dom";
|
|
6
6
|
import "@floating-ui/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/components/popper/context.d.ts
|
|
9
9
|
|
|
10
|
-
declare const providePopperUi: (ui:
|
|
10
|
+
declare const providePopperUi: (ui: vue1098.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue1098.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue1098.ComputedRef<ClassValue> : vue1098.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { providePopperUi };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1175 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: vue1175.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1175.ComponentOptionsMixin, vue1175.ComponentOptionsMixin, {}, string, vue1175.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1175.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,8 +1,8 @@
|
|
|
1
1
|
import { PopperArrowProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1093 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popper/popper-arrow.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue1093.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1093.ComponentOptionsMixin, vue1093.ComponentOptionsMixin, {}, string, vue1093.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1093.ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PopperPopupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1150 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popper/popper-popup.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: vue1150.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1150.ComponentOptionsMixin, vue1150.ComponentOptionsMixin, {}, string, vue1150.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1150.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,28 +1,28 @@
|
|
|
1
1
|
import { Align, Placement as Placement$1 } from "../../types/common.js";
|
|
2
2
|
import { PopperPositionerProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1138 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
6
|
import * as _floating_ui_dom0 from "@floating-ui/dom";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _floating_ui_utils3 from "@floating-ui/utils";
|
|
8
8
|
|
|
9
9
|
//#region src/components/popper/popper-positioner.vue.d.ts
|
|
10
10
|
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: vue1138.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1138.ComponentOptionsMixin, vue1138.ComponentOptionsMixin, {
|
|
15
15
|
placed: () => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1138.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
|
|
17
17
|
onPlaced?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
style: string | false | CSSProperties |
|
|
19
|
+
style: string | false | CSSProperties | vue1138.StyleValue[] | null;
|
|
20
20
|
title: string;
|
|
21
21
|
contextmenu: string;
|
|
22
22
|
onInput: (payload: InputEvent) => void;
|
|
23
23
|
onSelect: (payload: Event) => void;
|
|
24
|
-
onError: (payload: Event) => void;
|
|
25
24
|
onFocus: (payload: FocusEvent) => void;
|
|
25
|
+
onError: (payload: Event) => void;
|
|
26
26
|
onProgress: (payload: ProgressEvent<EventTarget>) => void;
|
|
27
27
|
onFullscreenchange: (payload: Event) => void;
|
|
28
28
|
onFullscreenerror: (payload: Event) => void;
|
|
@@ -115,46 +115,11 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
|
|
|
115
115
|
onEncrypted: (payload: MediaEncryptedEvent) => void;
|
|
116
116
|
innerHTML: string;
|
|
117
117
|
class: any;
|
|
118
|
-
|
|
119
|
-
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
120
|
-
dir: string;
|
|
121
|
-
draggable: boolean | "true" | "false";
|
|
122
|
-
enterkeyhint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
|
|
123
|
-
enterKeyHint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
|
|
124
|
-
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
118
|
+
color: string;
|
|
125
119
|
id: string;
|
|
126
|
-
inert: boolean | "true" | "false";
|
|
127
120
|
lang: string;
|
|
128
|
-
placeholder: string;
|
|
129
|
-
spellcheck: boolean | "true" | "false";
|
|
130
|
-
tabindex: string | number;
|
|
131
|
-
translate: "yes" | "no";
|
|
132
|
-
radiogroup: string;
|
|
133
121
|
role: string;
|
|
134
|
-
|
|
135
|
-
datatype: string;
|
|
136
|
-
inlist: any;
|
|
137
|
-
prefix: string;
|
|
138
|
-
property: string;
|
|
139
|
-
resource: string;
|
|
140
|
-
typeof: string;
|
|
141
|
-
vocab: string;
|
|
142
|
-
autocapitalize: string;
|
|
143
|
-
autocorrect: string;
|
|
144
|
-
autosave: string;
|
|
145
|
-
color: string;
|
|
146
|
-
itemprop: string;
|
|
147
|
-
itemscope: boolean | "true" | "false";
|
|
148
|
-
itemtype: string;
|
|
149
|
-
itemid: string;
|
|
150
|
-
itemref: string;
|
|
151
|
-
results: string | number;
|
|
152
|
-
security: string;
|
|
153
|
-
unselectable: "on" | "off";
|
|
154
|
-
inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
155
|
-
is: string;
|
|
156
|
-
exportparts: string;
|
|
157
|
-
part: string;
|
|
122
|
+
tabindex: string | number;
|
|
158
123
|
'aria-activedescendant': string;
|
|
159
124
|
'aria-atomic': boolean | "true" | "false";
|
|
160
125
|
'aria-autocomplete': "list" | "none" | "inline" | "both";
|
|
@@ -164,7 +129,7 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
|
|
|
164
129
|
'aria-colindex': string | number;
|
|
165
130
|
'aria-colspan': string | number;
|
|
166
131
|
'aria-controls': string;
|
|
167
|
-
'aria-current': "time" |
|
|
132
|
+
'aria-current': "time" | (boolean | "true" | "false") | "page" | "step" | "location" | "date";
|
|
168
133
|
'aria-describedby': string;
|
|
169
134
|
'aria-details': string;
|
|
170
135
|
'aria-disabled': boolean | "true" | "false";
|
|
@@ -190,7 +155,7 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
|
|
|
190
155
|
'aria-posinset': string | number;
|
|
191
156
|
'aria-pressed': (boolean | "true" | "false") | "mixed";
|
|
192
157
|
'aria-readonly': boolean | "true" | "false";
|
|
193
|
-
'aria-relevant': "
|
|
158
|
+
'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
|
|
194
159
|
'aria-required': boolean | "true" | "false";
|
|
195
160
|
'aria-roledescription': string;
|
|
196
161
|
'aria-rowcount': string | number;
|
|
@@ -203,25 +168,60 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
|
|
|
203
168
|
'aria-valuemin': string | number;
|
|
204
169
|
'aria-valuenow': string | number;
|
|
205
170
|
'aria-valuetext': string;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
171
|
+
accesskey: string;
|
|
172
|
+
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
173
|
+
dir: string;
|
|
174
|
+
draggable: boolean | "true" | "false";
|
|
175
|
+
enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
176
|
+
enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
177
|
+
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
178
|
+
inert: boolean | "true" | "false";
|
|
179
|
+
placeholder: string;
|
|
180
|
+
spellcheck: boolean | "true" | "false";
|
|
181
|
+
translate: "yes" | "no";
|
|
182
|
+
radiogroup: string;
|
|
183
|
+
about: string;
|
|
184
|
+
datatype: string;
|
|
185
|
+
inlist: any;
|
|
186
|
+
prefix: string;
|
|
187
|
+
property: string;
|
|
188
|
+
resource: string;
|
|
189
|
+
typeof: string;
|
|
190
|
+
vocab: string;
|
|
191
|
+
autocapitalize: string;
|
|
192
|
+
autocorrect: string;
|
|
193
|
+
autosave: string;
|
|
194
|
+
itemprop: string;
|
|
195
|
+
itemscope: boolean | "true" | "false";
|
|
196
|
+
itemtype: string;
|
|
197
|
+
itemid: string;
|
|
198
|
+
itemref: string;
|
|
199
|
+
results: string | number;
|
|
200
|
+
security: string;
|
|
201
|
+
unselectable: "off" | "on";
|
|
202
|
+
inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
203
|
+
is: string;
|
|
204
|
+
exportparts: string;
|
|
205
|
+
part: string;
|
|
206
|
+
reference: _floating_ui_dom0.ReferenceElement;
|
|
211
207
|
placement: Placement$1;
|
|
208
|
+
side: _floating_ui_utils3.Side;
|
|
209
|
+
sideOffset: number;
|
|
212
210
|
sideFlip: boolean;
|
|
211
|
+
align: Align;
|
|
213
212
|
alignOffset: number;
|
|
214
213
|
alignFlip: boolean;
|
|
215
214
|
avoidCollisions: boolean;
|
|
216
215
|
collisionBoundary: Element | null | Array<Element | null>;
|
|
217
|
-
collisionPadding:
|
|
216
|
+
collisionPadding: _floating_ui_utils3.Padding;
|
|
217
|
+
arrowPadding: number;
|
|
218
218
|
sticky: "partial" | "always";
|
|
219
219
|
hideWhenDetached: boolean;
|
|
220
220
|
positionStrategy: "absolute" | "fixed";
|
|
221
|
+
updatePositionStrategy: "optimized" | "always";
|
|
221
222
|
disableUpdateOnLayoutShift: boolean;
|
|
222
223
|
prioritizePosition: boolean;
|
|
223
|
-
|
|
224
|
-
}, {}, {}, {}, string, vue1527.ComponentProvideOptions, false, {}, any>;
|
|
224
|
+
}, {}, {}, {}, string, vue1138.ComponentProvideOptions, false, {}, any>;
|
|
225
225
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
226
226
|
declare const _default: typeof __VLS_export;
|
|
227
227
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue1170 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/popper/popper-root.vue.d.ts
|
|
4
4
|
declare var __VLS_1: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_1) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_base:
|
|
8
|
+
declare const __VLS_base: vue1170.DefineComponent<{}, {}, {}, {}, {}, vue1170.ComponentOptionsMixin, vue1170.ComponentOptionsMixin, {}, string, vue1170.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1170.ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PortalProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue30 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/portal/portal.vue.d.ts
|
|
5
5
|
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue30.DefineComponent<PortalProps, {}, {}, {}, {}, vue30.ComponentOptionsMixin, vue30.ComponentOptionsMixin, {}, string, vue30.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
|
|
10
10
|
to: string | HTMLElement;
|
|
11
|
-
}, {}, {}, {}, string,
|
|
11
|
+
}, {}, {}, {}, string, vue30.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,7 +1,7 @@
|
|
|
1
1
|
import { PrimitiveProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue16 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/primitive/primitive.d.ts
|
|
5
|
-
declare const Primitive:
|
|
5
|
+
declare const Primitive: vue16.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue16.PublicProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Primitive };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { RadioGroupUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue743 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/radio-group/context.d.ts
|
|
7
7
|
|
|
8
|
-
declare const provideRadioGroupUi: (ui:
|
|
8
|
+
declare const provideRadioGroupUi: (ui: vue743.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue743.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue743.ComputedRef<ClassValue> : vue743.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { provideRadioGroupUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getAriaLabel as e}from"../../shared/dom.js";import{isFormControl as t}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as n}from"../../shared/event.js";import r from"../roving-focus/roving-focus-item.js";import{useRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createElementVNode as l,defineComponent as u,normalizeClass as d,onBeforeMount as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,useAttrs as _,useTemplateRef as v,watchEffect as y,withCtx as b,withKeys as x,withModifiers as S}from"vue";const C=[`id`,`disabled`,`aria-checked`,`aria-label`,`data-disabled`,`data-state`,`value`,`required`,`name`];var w=u({name:`RadioGroupControl`,__name:`radio-group-control`,props:{id:{}},setup(u){let w=u,T=_(),E=o(`control`),D=v(`controlElement`),O=a(`RadioGroupControl`),{value:k,disabled:A,name:j,required:M,checked:N,dataState:P,onSelect:F,initControlId:I}=i(`RadioGroupControl`),L=s(()=>t(D.value)),R=s(()=>e(D.value,w.id,T[`aria-label`])),z=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],B=!1;function V(e){z.includes(e.key)&&(B=!0)}function H(){B=!1}function U(e){w.disabled||n(`radio.select`,t=>{F(t),!t?.defaultPrevented&&(O.modelValue.value=k.value,L.value&&e.stopPropagation())},{originalEvent:e,value:k.value})}function W(){setTimeout(()=>{B&&D.value?.click()},0)}return y(()=>{w.id&&I(w.id)}),p(()=>{document.addEventListener(`keydown`,V),document.addEventListener(`keyup`,H)}),f(()=>{document.removeEventListener(`keydown`,V),document.removeEventListener(`keyup`,H)}),(e,t)=>(m(),c(g(r),{"as-child":``,checked:g(N),focusable:!g(A),active:g(N)},{default:b(()=>[l(`button`,{id:u.id,ref_key:`controlElement`,ref:D,class:d(g(E)),role:`radio`,type:`button`,disabled:g(A),"aria-checked":g(N),"aria-label":R.value,"data-disabled":g(A)?``:void 0,"data-state":g(P),value:String(g(k)),required:g(M),name:g(j),onClick:S(U,[`stop`]),onKeydown:t[0]
|
|
1
|
+
import{getAriaLabel as e}from"../../shared/dom.js";import{isFormControl as t}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as n}from"../../shared/event.js";import r from"../roving-focus/roving-focus-item.js";import{useRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createElementVNode as l,defineComponent as u,normalizeClass as d,onBeforeMount as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,useAttrs as _,useTemplateRef as v,watchEffect as y,withCtx as b,withKeys as x,withModifiers as S}from"vue";const C=[`id`,`disabled`,`aria-checked`,`aria-label`,`data-disabled`,`data-state`,`value`,`required`,`name`];var w=u({name:`RadioGroupControl`,__name:`radio-group-control`,props:{id:{}},setup(u){let w=u,T=_(),E=o(`control`),D=v(`controlElement`),O=a(`RadioGroupControl`),{value:k,disabled:A,name:j,required:M,checked:N,dataState:P,onSelect:F,initControlId:I}=i(`RadioGroupControl`),L=s(()=>t(D.value)),R=s(()=>e(D.value,w.id,T[`aria-label`])),z=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],B=!1;function V(e){z.includes(e.key)&&(B=!0)}function H(){B=!1}function U(e){w.disabled||n(`radio.select`,t=>{F(t),!t?.defaultPrevented&&(O.modelValue.value=k.value,L.value&&e.stopPropagation())},{originalEvent:e,value:k.value})}function W(){setTimeout(()=>{B&&D.value?.click()},0)}return y(()=>{w.id&&I(w.id)}),p(()=>{document.addEventListener(`keydown`,V),document.addEventListener(`keyup`,H)}),f(()=>{document.removeEventListener(`keydown`,V),document.removeEventListener(`keyup`,H)}),(e,t)=>(m(),c(g(r),{"as-child":``,checked:g(N),focusable:!g(A),active:g(N)},{default:b(()=>[l(`button`,{id:u.id,ref_key:`controlElement`,ref:D,class:d(g(E)),role:`radio`,type:`button`,disabled:g(A),"aria-checked":g(N),"aria-label":R.value,"data-disabled":g(A)?``:void 0,"data-state":g(P),value:String(g(k)),required:g(M),name:g(j),onClick:S(U,[`stop`]),onKeydown:t[0]||(t[0]=x(S(()=>{},[`prevent`]),[`enter`])),onFocus:W},[h(e.$slots,`default`,{checked:g(N),required:g(M),disabled:g(A)})],42,C)]),_:3},8,[`checked`,`focusable`,`active`]))}});export{w as default};
|