@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
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import { Align, Placement
|
|
2
|
-
import {
|
|
1
|
+
import { Align, Placement as Placement$1 } from "../../types/common.js";
|
|
2
|
+
import { PopperPositionerProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1173 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
|
-
import * as
|
|
6
|
+
import * as _floating_ui_dom0 from "@floating-ui/dom";
|
|
7
|
+
import * as _floating_ui_utils0 from "@floating-ui/utils";
|
|
7
8
|
|
|
8
|
-
//#region src/components/popper/popper-
|
|
9
|
+
//#region src/components/popper/popper-positioner.vue.d.ts
|
|
9
10
|
declare var __VLS_1: {};
|
|
10
11
|
type __VLS_Slots = {} & {
|
|
11
12
|
default?: (props: typeof __VLS_1) => any;
|
|
12
13
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue1173.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1173.ComponentOptionsMixin, vue1173.ComponentOptionsMixin, {
|
|
14
15
|
placed: () => any;
|
|
15
|
-
}, string,
|
|
16
|
+
}, string, vue1173.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
|
|
16
17
|
onPlaced?: (() => any) | undefined;
|
|
17
18
|
}>, {
|
|
18
|
-
|
|
19
|
-
style: string | false | CSSProperties | vue549.StyleValue[] | null;
|
|
19
|
+
style: string | false | CSSProperties | vue1173.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
|
-
onFocus: (payload: FocusEvent) => void;
|
|
26
24
|
onProgress: (payload: ProgressEvent<EventTarget>) => void;
|
|
27
25
|
onFullscreenchange: (payload: Event) => void;
|
|
28
26
|
onFullscreenerror: (payload: Event) => void;
|
|
@@ -56,6 +54,8 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
|
|
|
56
54
|
onDurationchange: (payload: Event) => void;
|
|
57
55
|
onEmptied: (payload: Event) => void;
|
|
58
56
|
onEnded: (payload: Event) => void;
|
|
57
|
+
onError: (payload: Event) => void;
|
|
58
|
+
onFocus: (payload: FocusEvent) => void;
|
|
59
59
|
onFocusin: (payload: FocusEvent) => void;
|
|
60
60
|
onFocusout: (payload: FocusEvent) => void;
|
|
61
61
|
onFormdata: (payload: FormDataEvent) => void;
|
|
@@ -111,15 +111,16 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
|
|
|
111
111
|
onVolumechange: (payload: Event) => void;
|
|
112
112
|
onWaiting: (payload: Event) => void;
|
|
113
113
|
onWheel: (payload: WheelEvent) => void;
|
|
114
|
+
dir: string;
|
|
114
115
|
onDragexit: (payload: DragEvent) => void;
|
|
115
116
|
onEncrypted: (payload: MediaEncryptedEvent) => void;
|
|
116
117
|
innerHTML: string;
|
|
117
118
|
class: any;
|
|
118
119
|
accesskey: string;
|
|
119
|
-
contenteditable:
|
|
120
|
+
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
120
121
|
draggable: boolean | "true" | "false";
|
|
121
|
-
enterkeyhint: "done" | "next" | "
|
|
122
|
-
enterKeyHint: "done" | "next" | "
|
|
122
|
+
enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
123
|
+
enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
123
124
|
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
124
125
|
id: string;
|
|
125
126
|
inert: boolean | "true" | "false";
|
|
@@ -150,7 +151,7 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
|
|
|
150
151
|
results: string | number;
|
|
151
152
|
security: string;
|
|
152
153
|
unselectable: "on" | "off";
|
|
153
|
-
inputmode: "
|
|
154
|
+
inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
154
155
|
is: string;
|
|
155
156
|
exportparts: string;
|
|
156
157
|
part: string;
|
|
@@ -167,7 +168,7 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
|
|
|
167
168
|
'aria-describedby': string;
|
|
168
169
|
'aria-details': string;
|
|
169
170
|
'aria-disabled': boolean | "true" | "false";
|
|
170
|
-
'aria-dropeffect': "link" | "
|
|
171
|
+
'aria-dropeffect': "link" | "copy" | "none" | "execute" | "move" | "popup";
|
|
171
172
|
'aria-errormessage': string;
|
|
172
173
|
'aria-expanded': boolean | "true" | "false";
|
|
173
174
|
'aria-flowto': string;
|
|
@@ -189,7 +190,7 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
|
|
|
189
190
|
'aria-posinset': string | number;
|
|
190
191
|
'aria-pressed': (boolean | "true" | "false") | "mixed";
|
|
191
192
|
'aria-readonly': boolean | "true" | "false";
|
|
192
|
-
'aria-relevant': "
|
|
193
|
+
'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
193
194
|
'aria-required': boolean | "true" | "false";
|
|
194
195
|
'aria-roledescription': string;
|
|
195
196
|
'aria-rowcount': string | number;
|
|
@@ -202,26 +203,25 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
|
|
|
202
203
|
'aria-valuemin': string | number;
|
|
203
204
|
'aria-valuenow': string | number;
|
|
204
205
|
'aria-valuetext': string;
|
|
205
|
-
|
|
206
|
-
placement: Placement;
|
|
207
|
-
side: Side;
|
|
206
|
+
side: _floating_ui_utils0.Side;
|
|
208
207
|
sideOffset: number;
|
|
209
|
-
sideFlip: boolean;
|
|
210
208
|
align: Align;
|
|
209
|
+
arrowPadding: number;
|
|
210
|
+
updatePositionStrategy: "optimized" | "always";
|
|
211
|
+
placement: Placement$1;
|
|
212
|
+
sideFlip: boolean;
|
|
211
213
|
alignOffset: number;
|
|
212
214
|
alignFlip: boolean;
|
|
213
215
|
avoidCollisions: boolean;
|
|
214
216
|
collisionBoundary: Element | null | Array<Element | null>;
|
|
215
|
-
collisionPadding:
|
|
216
|
-
arrowPadding: number;
|
|
217
|
+
collisionPadding: _floating_ui_utils0.Padding;
|
|
217
218
|
sticky: "partial" | "always";
|
|
218
219
|
hideWhenDetached: boolean;
|
|
219
220
|
positionStrategy: "absolute" | "fixed";
|
|
220
|
-
updatePositionStrategy: "optimized" | "always";
|
|
221
221
|
disableUpdateOnLayoutShift: boolean;
|
|
222
222
|
prioritizePosition: boolean;
|
|
223
|
-
reference:
|
|
224
|
-
}, {}, {}, {}, string,
|
|
223
|
+
reference: _floating_ui_dom0.ReferenceElement;
|
|
224
|
+
}, {}, {}, {}, string, vue1173.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 vue1163 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: vue1163.DefineComponent<{}, {}, {}, {}, {}, vue1163.ComponentOptionsMixin, vue1163.ComponentOptionsMixin, {}, string, vue1163.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1163.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 +1 @@
|
|
|
1
|
-
import{isNullish as e}from"../../shared/guard.js";import{arrow as t,flip as n,hide as r,limitShift as i,offset as a,shift as o,size as s}from"@floating-ui/
|
|
1
|
+
import{isNullish as e}from"../../shared/guard.js";import{arrow as t,flip as n,hide as r,limitShift as i,offset as a,shift as o,size as s}from"@floating-ui/dom";import{getAlignment as c,getSide as l}from"@floating-ui/utils";const u={transformOrigin:`--soybean-popper-transform-origin`,availableWidth:`--soybean-popper-available-width`,availableHeight:`--soybean-popper-available-height`,anchorWidth:`--soybean-popper-anchor-width`,anchorHeight:`--soybean-popper-anchor-height`};function d(){return{placement:void 0,side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionPadding:0,collisionBoundary:()=>[],sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1}}const f={start:`0%`,center:`50%`,end:`100%`},p={bottom:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({arrowHeight:e})=>`${-e}px`},top:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({floatingHeight:e,arrowHeight:t})=>`${e+t}px`},right:{getX:({arrowHeight:e})=>`${-e}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`},left:{getX:({floatingWidth:e,arrowHeight:t})=>`${e+t}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`}};function m(e,d){let{sideOffset:m=0,alignOffset:g=0,sideFlip:_,alignFlip:v,prioritizePosition:y,sticky:b,avoidCollisions:x,arrowPadding:S,hideWhenDetached:C}=e,w=h(e),T=[a(()=>({mainAxis:m+(d?.clientHeight??0),crossAxis:g,alignmentAxis:g}))];if(x){let e=[o({mainAxis:!0,crossAxis:!!y,limiter:b===`partial`?i():void 0,...w})],t=n({mainAxis:_,crossAxis:v,...w});y?e.unshift(t):e.push(t),T.push(...e)}return T.push(s({...w,apply:({elements:{floating:e},rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference;e.style.setProperty(u.availableWidth,`${n}px`),e.style.setProperty(u.availableHeight,`${r}px`),e.style.setProperty(u.anchorWidth,`${i}px`),e.style.setProperty(u.anchorHeight,`${a}px`)}})),d&&T.push(t({element:d,padding:S}),{name:`transformOrigin`,fn(e){let{placement:t,rects:n,middlewareData:r}=e,i=r.arrow?.centerOffset!==0,{width:a,height:o}=d.getBoundingClientRect(),s=i?0:a,u=i?0:o,m=l(t),h=f[c(t)??`center`],g=(r.arrow?.x??0)+s/2,_=(r.arrow?.y??0)+u/2,v=p[m],y={isArrowHidden:i,noArrowAlign:h,arrowXCenter:g,arrowYCenter:_,arrowHeight:o,floatingWidth:n.floating.width,floatingHeight:n.floating.height};return{data:{x:v.getX(y),y:v.getY(y)}}}}),C&&T.push(r({strategy:`referenceHidden`,...w})),T.filter(Boolean)}function h(t){let{collisionPadding:n,collisionBoundary:r}=t,i={top:1,right:1,bottom:1,left:1};typeof n==`number`?(i.top+=n,i.right+=n,i.bottom+=n,i.left+=n):n&&(i.top+=n.top??0,i.right+=n.right??0,i.bottom+=n.bottom??0,i.left+=n.left??0);let a=Array.isArray(r)?r:[r],o=a.length>0;return{padding:i,boundary:a.filter(t=>!e(t)),altBoundary:o}}function g(e,t){let n=e;return t!==`center`&&(n+=`-${t}`),n}export{d as createPopperPositionerDefaultProps,m as getFloatingUiMiddleware,g as getPlacement,u as popperCssVars};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Align,
|
|
1
|
+
import { Align, ClassValue, Placement as Placement$1 } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { PrimitiveProps } from "../primitive/types.js";
|
|
4
|
-
import { ArrowProps } from "../arrow/types.js";
|
|
5
4
|
import { ComputedRef, HTMLAttributes } from "vue";
|
|
6
|
-
import { ReferenceElement } from "@floating-ui/
|
|
5
|
+
import { Padding, ReferenceElement, Side } from "@floating-ui/dom";
|
|
7
6
|
|
|
8
7
|
//#region src/components/popper/types.d.ts
|
|
9
8
|
interface PopperAnchorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
@@ -13,13 +12,7 @@ interface PopperAnchorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttrib
|
|
|
13
12
|
*/
|
|
14
13
|
reference?: ReferenceElement;
|
|
15
14
|
}
|
|
16
|
-
interface
|
|
17
|
-
/**
|
|
18
|
-
* The function to set the floating element.
|
|
19
|
-
*
|
|
20
|
-
* @param el - The floating element.
|
|
21
|
-
*/
|
|
22
|
-
floatingRef?: (el: HTMLElement) => void;
|
|
15
|
+
interface PopperPositionerProps extends /** @vue-ignore */HTMLAttributes {
|
|
23
16
|
/**
|
|
24
17
|
* The placement of the floating element.
|
|
25
18
|
*
|
|
@@ -27,7 +20,7 @@ interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
27
20
|
*
|
|
28
21
|
* @defaultValue undefined
|
|
29
22
|
*/
|
|
30
|
-
placement?: Placement;
|
|
23
|
+
placement?: Placement$1;
|
|
31
24
|
/**
|
|
32
25
|
* The preferred side of the trigger to render against when open. Will be reversed when collisions occur and
|
|
33
26
|
* avoidCollisions is enabled.
|
|
@@ -85,7 +78,7 @@ interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
85
78
|
*
|
|
86
79
|
* @defaultValue 0
|
|
87
80
|
*/
|
|
88
|
-
collisionPadding?:
|
|
81
|
+
collisionPadding?: Padding;
|
|
89
82
|
/**
|
|
90
83
|
* The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it
|
|
91
84
|
* from overflowing the corners.
|
|
@@ -136,10 +129,12 @@ interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
136
129
|
*/
|
|
137
130
|
reference?: ReferenceElement;
|
|
138
131
|
}
|
|
139
|
-
|
|
140
|
-
|
|
132
|
+
interface PopperPopupProps extends /** @vue-ignore */HTMLAttributes {}
|
|
133
|
+
interface PopperArrowProps extends /** @vue-ignore */HTMLAttributes {}
|
|
134
|
+
type PopperThemeSlot = 'positioner' | 'popup' | 'arrow';
|
|
135
|
+
type PopperUi = Partial<Record<PopperThemeSlot, ClassValue>>;
|
|
141
136
|
interface PopperThemeContextParams {
|
|
142
137
|
ui: ComputedRef<PopperUi>;
|
|
143
138
|
}
|
|
144
139
|
//#endregion
|
|
145
|
-
export { PopperAnchorProps,
|
|
140
|
+
export { PopperAnchorProps, PopperArrowProps, PopperPopupProps, PopperPositionerProps, PopperThemeContextParams, PopperThemeSlot, PopperUi };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PortalProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue33 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: vue33.DefineComponent<PortalProps, {}, {}, {}, {}, vue33.ComponentOptionsMixin, vue33.ComponentOptionsMixin, {}, string, vue33.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
|
|
10
10
|
to: string | HTMLElement;
|
|
11
|
-
}, {}, {}, {}, string,
|
|
11
|
+
}, {}, {}, {}, string, vue33.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 vue0 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/primitive/primitive.d.ts
|
|
5
|
-
declare const Primitive:
|
|
5
|
+
declare const Primitive: vue0.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue0.PublicProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Primitive };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioGroupControlProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue724 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio-group-control.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -10,7 +10,7 @@ declare var __VLS_8: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_8) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue724.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue724.ComponentOptionsMixin, vue724.ComponentOptionsMixin, {}, string, vue724.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue724.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { RadioGroupIndicatorProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue729 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/radio-group/radio-group-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: vue729.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue729.ComponentOptionsMixin, vue729.ComponentOptionsMixin, {}, string, vue729.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue729.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue729.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 { RadioGroupItemProps, RadioSelectEvent } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue719 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio-group-item.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -8,11 +8,11 @@ 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: vue719.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue719.ComponentOptionsMixin, vue719.ComponentOptionsMixin, {
|
|
12
12
|
select: (event: RadioSelectEvent) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue719.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
|
|
14
14
|
onSelect?: ((event: RadioSelectEvent) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue719.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LabelProps } from "../label/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue735 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-group-label.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: vue735.DefineComponent<LabelProps, {}, {}, {}, {}, vue735.ComponentOptionsMixin, vue735.ComponentOptionsMixin, {}, string, vue735.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue735.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,13 +1,13 @@
|
|
|
1
1
|
import { AcceptableBooleanValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { RadioGroupRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue717 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/radio-group/radio-group-root.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends AcceptableBooleanValue>(__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<RadioGroupRootProps<T> & {
|
|
8
|
+
props: vue717.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<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>(__VLS_props: NonN
|
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
21
|
-
}>) =>
|
|
21
|
+
}>) => vue717.VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -3,26 +3,26 @@ import { RovingFocusGroupProps } from "./types.js";
|
|
|
3
3
|
import { CollectionItemData } from "../../composables/use-collection.js";
|
|
4
4
|
import "../../composables/index.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue1770 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/roving-focus/roving-focus-group.vue.d.ts
|
|
9
9
|
declare var __VLS_8: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_8) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue1770.DefineComponent<RovingFocusGroupProps, {
|
|
14
14
|
getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
|
|
15
|
-
}, {}, {}, {},
|
|
15
|
+
}, {}, {}, {}, vue1770.ComponentOptionsMixin, vue1770.ComponentOptionsMixin, {
|
|
16
16
|
entryFocus: (event: Event) => any;
|
|
17
17
|
"update:currentTabStopId": (value: string | null | undefined) => any;
|
|
18
|
-
}, string,
|
|
18
|
+
}, string, vue1770.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
|
|
19
19
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
20
|
"onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
orientation: DataOrientation;
|
|
23
23
|
loop: boolean;
|
|
24
24
|
preventScrollOnEntryFocus: boolean;
|
|
25
|
-
}, {}, {}, {}, string,
|
|
25
|
+
}, {}, {}, {}, string, vue1770.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,14 +1,14 @@
|
|
|
1
1
|
import { RovingFocusItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1775 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/roving-focus/roving-focus-item.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: vue1775.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue1775.ComponentOptionsMixin, vue1775.ComponentOptionsMixin, {}, string, vue1775.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
|
|
10
10
|
focusable: boolean;
|
|
11
|
-
}, {}, {}, {}, string,
|
|
11
|
+
}, {}, {}, {}, string, vue1775.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{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useDirection as a}from"../../composables/use-direction.js";import{
|
|
1
|
+
import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useDirection as a}from"../../composables/use-direction.js";import{computed as o,ref as s,shallowRef as c,useId as l}from"vue";const[u,d]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=o(()=>t(n.value)),u=a(e.dir),d=c(``),f=()=>{d.value||=`soybean-select-content-${l()}`},p=c(),m=e=>{p.value=e},h=c(),g=e=>{h.value=e},_=s(new Set),v=o(()=>Array.from(_.value)),y=o(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=c({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:u,contentId:d,initContentId:f,triggerElement:p,onTriggerElementChange:m,valueElement:h,onValueElementChange:g,optionsSet:_,onOptionAdd:b,onOptionRemove:x,options:v,nativeSelectKey:y,triggerPointerDownPosition:S,setTriggerPointerDownPosition:C,resetTriggerPointerDownPosition:w}}),{provideCollectionContext:f,useCollectionContext:p,useCollectionItem:m}=i(`Select`),[h,g]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i,popupElement:a}=t,o=c(!1),s=c(),l=e=>{s.value=e},u=!1,d=!1,f=c(),p=(t,n,i)=>{let a=!u&&!i;(e(r.value,n)||a)&&(f.value=t)},m=c(),h=(t,n,a)=>{let o=!u&&!a,s=e(r.value,n);if(i.value){if(d)return;(s||o)&&(m.value=t,s&&(d=!0))}else (s||o)&&(m.value=t);o&&(u=!0)},g=()=>{a.value?.focus()};function _(){!m.value||!a.value||n([m.value,a.value])}return{...t,isPositioned:o,viewportElement:s,onViewportElementChange:l,selectedItemElement:m,onSelectedItemElementChange:h,onItemElementLeave:g,selectedItemTextElement:f,onSelectedItemTextElementChange:p,focusSelectedItem:_}}),[_,v]=r(`SelectGroup`,()=>{let e=c(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${l()}`}}}),[y,b]=r(`SelectItem`,e=>{let t=c(e.textValue.value??``),n=c(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=c(``),a=()=>{i.value||=`soybean-select-item-text-${l()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[x,S]=r(`SelectPopupElement`,()=>{let e=c();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[C,w]=r(`SelectItemAlignedPosition`,e=>e),[T,E]=r(`SelectTheme`,e=>e);export{f as provideCollectionContext,h as provideSelectContentContext,_ as provideSelectGroupContext,C as provideSelectItemAlignedPositionContext,y as provideSelectItemContext,x as provideSelectPopupElementContext,u as provideSelectRootContext,T as provideSelectThemeContext,p as useCollectionContext,m as useCollectionItem,g as useSelectContentContext,v as useSelectGroupContext,w as useSelectItemAlignedPositionContext,b as useSelectItemContext,S as useSelectPopupElementContext,d as useSelectRootContext,E as useSelectThemeContext};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PortalProps } from "../portal/types.js";
|
|
2
2
|
import { _default as _default$7 } from "../portal/portal.vue.js";
|
|
3
|
-
import {
|
|
4
|
-
import { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectThemeSlot, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectValueProps, SelectViewportProps } from "./types.js";
|
|
3
|
+
import { PopperArrowProps } from "../popper/types.js";
|
|
4
|
+
import { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPopupProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectThemeSlot, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectValueProps, SelectViewportProps } from "./types.js";
|
|
5
5
|
import { _default as _default$8 } from "./select-root.vue.js";
|
|
6
6
|
import { _default as _default$1 } from "./select-content.vue.js";
|
|
7
7
|
import { _default as _default$15 } from "./select-viewport.vue.js";
|
|
@@ -18,4 +18,4 @@ import { _default } from "./select-arrow.vue.js";
|
|
|
18
18
|
import { _default as _default$10 } from "./select-scroll-up-button.vue.js";
|
|
19
19
|
import { _default as _default$9 } from "./select-scroll-down-button.vue.js";
|
|
20
20
|
import { provideSelectThemeContext } from "./context.js";
|
|
21
|
-
export { _default as SelectArrow, type
|
|
21
|
+
export { _default as SelectArrow, type PopperArrowProps as SelectArrowProps, _default$1 as SelectContent, type SelectContentEmits, type SelectContentProps, _default$2 as SelectGroup, _default$3 as SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, _default$4 as SelectItem, type SelectItemEmits, type SelectItemEvent, _default$5 as SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, _default$6 as SelectItemText, type SelectItemTextProps, type SelectPopupProps, _default$7 as SelectPortal, type PortalProps as SelectPortalProps, type SelectPosition, _default$8 as SelectRoot, type SelectRootEmits, type SelectRootProps, _default$9 as SelectScrollDownButton, type SelectScrollDownButtonProps, _default$10 as SelectScrollUpButton, type SelectScrollUpButtonProps, _default$11 as SelectSeparator, type SelectSeparatorProps, type SelectThemeSlot, _default$12 as SelectTrigger, _default$13 as SelectTriggerIcon, type SelectTriggerIconProps, type SelectTriggerProps, type SelectUi, _default$14 as SelectValue, type SelectValueProps, _default$15 as SelectViewport, type SelectViewportProps, provideSelectThemeContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../popper/popper-arrow.js";import{useSelectContentContext as t,useSelectRootContext as n}from"./context.js";import{computed as
|
|
1
|
+
import e from"../popper/popper-arrow.js";import{useSelectContentContext as t,useSelectRootContext as n,useSelectThemeContext as r}from"./context.js";import{computed as i,createBlock as a,createCommentVNode as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";var p=s({name:`SelectArrow`,__name:`select-arrow`,setup(s){let{open:p}=n(`SelectArrow`),{position:m}=t(`SelectArrow`),h=r(),g=i(()=>h?.ui?.value?.arrow),_=i(()=>p.value&&m.value===`popper`);return(t,n)=>_.value?(l(),a(d(e),{key:0,class:c(g.value)},{default:f(()=>[u(t.$slots,`default`)]),_:3},8,[`class`])):o(`v-if`,!0)}});export{p as default};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PopperArrowProps } from "../popper/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1606 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/select/select-arrow.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: vue1606.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1606.ComponentOptionsMixin, vue1606.ComponentOptionsMixin, {}, string, vue1606.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1606.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 & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../visually-hidden/visually-hidden.js";import{useSelectRootContext as t}from"./context.js";import{createBlock as n,createElementVNode as r,defineComponent as i,mergeProps as a,openBlock as o,ref as s,renderSlot as c,unref as l,watch as u,withCtx as d}from"vue";var f=i({name:`SelectBubbleSelect`,__name:`select-bubble-select`,props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(i){let f=i,{onModelValueChange:p}=t(`SelectBubbleSelect`),m=s(),h=e=>{p(e.target.value)};return u(()=>f.value,(e,t)=>{if(!m.value||e===t)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(!r)return;let i=new Event(`change`,{bubbles:!0});r.call(m.value,e),m.value.dispatchEvent(i)}),(t,i)=>(o(),n(l(e),{"as-child":``},{default:d(()=>[r(`select`,a({ref_key:`selectElement`,ref:m},f,{onInput:h}),[c(t.$slots,`default`)],16)]),_:3}))}});export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tryFocusFirst as e}from"../../shared/focus.js";import{useBodyScrollLock as t}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as n}from"../../composables/use-dismissable-layer.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import{
|
|
1
|
+
import{tryFocusFirst as e}from"../../shared/focus.js";import{useBodyScrollLock as t}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as n}from"../../composables/use-dismissable-layer.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import{useFocusGuards as ee}from"../../composables/use-focus-guards.js";import{useFocusScope as te}from"../../composables/use-focus-scope.js";import{useHideOthers as i}from"../../composables/use-hide-others.js";import{useOmitProps as a}from"../../composables/use-props.js";import{useTypeahead as o}from"../../composables/use-typeahead.js";import s from"../popper/popper-positioner.js";import{provideSelectContentContext as c,useCollectionContext as l,useSelectPopupElementContext as u,useSelectRootContext as d,useSelectThemeContext as ne}from"./context.js";import{CONTENT_MARGIN as f}from"./shared.js";import re from"./select-popper-popup.js";import ie from"./select-item-aligned-popup.js";import ae from"./select-item-aligned-positioner.js";import{computed as p,createBlock as m,createVNode as h,defineComponent as g,mergeProps as _,normalizeClass as v,onWatcherCleanup as y,openBlock as b,renderSlot as x,unref as S,watch as C,watchEffect as w,withCtx as T,withModifiers as E}from"vue";var D=g({name:`SelectContentImpl`,__name:`select-content-impl`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{default:`start`},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{default:f},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(f,{emit:g}){let D=f,O=g,k=ne(),A=p(()=>k?.ui?.value?.positioner),j=p(()=>k?.ui?.value?.popup),{onOpenChange:M,dataState:N,modelValue:P,isMultiple:F,dir:I,contentId:L,triggerElement:R,triggerPointerDownPosition:z,resetTriggerPointerDownPosition:B}=d(`SelectContentImpl`),{onPopupElementChange:V}=u(`SelectContentImpl`),{onContainerElementChange:H,getOrderedItems:U,getOrderedElements:W}=l(`SelectContentImpl`),[G,K]=r(),[q,J]=r(e=>{V(e),H(e)}),{search:oe,handleTypeaheadSearch:se}=o(),{pointerEvents:ce}=n(G,{disableOutsidePointerEvents:!0,onEscapeKeyDown:e=>{O(`escapeKeyDown`,e)},onPointerDownOutside:e=>{O(`pointerDownOutside`,e)},onFocusOutside:e=>{e.preventDefault()},onDismiss:()=>{M(!1)}}),{onKeydown:le}=te(G,{onOpenAutoFocus:e=>{e.preventDefault()},onCloseAutoFocus:e=>{O(`closeAutoFocus`,e),!e.defaultPrevented&&(R.value?.focus({preventScroll:!0}),e.preventDefault())}}),{isPositioned:Y,focusSelectedItem:X}=c({position:p(()=>D.position),modelValue:P,isMultiple:F,search:oe,popupElement:q}),ue=a(D,[`position`,`bodyLock`,`popupProps`]),Z=p(()=>({display:`flex`,flexDirection:`column`,outline:`none`,pointerEvents:ce.value})),Q=t=>{le(t);let n=t.ctrlKey||t.altKey||t.metaKey;if(t.key===`Tab`&&t.preventDefault(),!n&&t.key.length===1&&se(t.key,U()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(t.key)){let n=[...W()];if([`ArrowUp`,`End`].includes(t.key)&&(n=n.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(t.key)){let e=t.target,r=n.indexOf(e);n=n.slice(r+1)}setTimeout(()=>{e(n)}),t.preventDefault()}},$=()=>{Y.value=!0};return ee(),i(q),C(Y,()=>{X()}),w(()=>{D.bodyLock&&y(t())}),w(()=>{if(!q.value)return;let e={x:0,y:0},t=t=>{let{x:n,y:r}=z.value??{x:0,y:0};e={x:Math.abs(Math.round(t.pageX)-n),y:Math.abs(Math.round(t.pageY)-r)}},n=n=>{n.pointerType!==`touch`&&(e.x<=10&&e.y<=10?n.preventDefault():q.value?.contains(n.target)||M(!1),document.removeEventListener(`pointermove`,t),B())};z.value!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),y(()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})})}),(e,t)=>f.position===`popper`?(b(),m(S(s),_({key:0,ref:S(K)},S(ue),{class:A.value,onContextmenu:t[0]||=E(()=>{},[`prevent`]),onPlaced:$,onKeydown:Q}),{default:T(()=>[h(re,_({id:S(L),ref:S(J)},f.popupProps,{class:j.value,"data-dismissable-layer":``,"data-state":S(N),dir:S(I),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`class`,`data-state`,`dir`,`style`])]),_:3},16,[`class`])):(b(),m(ae,{key:1,ref:S(K),class:v(A.value),onContextmenu:t[1]||=E(()=>{},[`prevent`]),onPlaced:$,onKeydown:Q},{default:T(()=>[h(ie,_({id:S(L),ref:S(J)},f.popupProps,{class:j.value,"data-dismissable-layer":``,"data-state":S(N),dir:S(I),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`class`,`data-state`,`dir`,`style`])]),_:3},8,[`class`]))}});export{D as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{usePresence as t}from"../../composables/use-presence.js";import{useOmitProps as n}from"../../composables/use-props.js";import{provideSelectPopupElementContext as r,useSelectRootContext as i}from"./context.js";import a from"./select-content-impl.js";import o from"./select-teleport-provider.js";import{Teleport as s,createBlock as c,createCommentVNode as l,createElementBlock as u,createVNode as d,defineComponent as f,mergeProps as p,onMounted as m,openBlock as h,ref as g,renderSlot as _,shallowRef as v,toHandlers as y,unref as b,useAttrs as x,withCtx as S}from"vue";const C={key:1};var w=f({name:`SelectContent`,inheritAttrs:!1,__name:`select-content`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},forceMount:{type:Boolean}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(f,{emit:w}){let T=f,E=w,D=n(T,[`forceMount`],x()),O=e(E),{open:k}=i(`SelectContent`),{popupElement:A}=r(),j=T.forceMount?v(!0):t(A,k),M=g();return m(()=>{M.value=new DocumentFragment}),(e,t)=>b(j)?(h(),c(a,p({key:0},b(D),y(b(O))),{default:S(()=>[_(e.$slots,`default`)]),_:3},16)):M.value?(h(),u(`div`,C,[(h(),c(s,{to:M.value},[d(o,{position:f.position,"popup-element":b(A)},{default:S(()=>[_(e.$slots,`default`)]),_:3},8,[`position`,`popup-element`])],8,[`to`]))])):l(`v-if`,!0)}});export{w as default};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { SelectContentProps, SelectPosition } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1549 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select-content.vue.d.ts
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_8: {}, __VLS_22: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_22) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
14
|
-
closeAutoFocus: (event: Event) => any;
|
|
13
|
+
declare const __VLS_base: vue1549.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue1549.ComponentOptionsMixin, vue1549.ComponentOptionsMixin, {
|
|
15
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16
15
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
closeAutoFocus: (event: Event) => any;
|
|
17
|
+
}, string, vue1549.PublicProps, Readonly<SelectContentProps> & Readonly<{
|
|
19
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
19
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
20
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
position: SelectPosition;
|
|
23
|
-
bodyLock: boolean;
|
|
24
22
|
avoidCollisions: boolean;
|
|
25
23
|
prioritizePosition: boolean;
|
|
26
|
-
|
|
24
|
+
position: SelectPosition;
|
|
25
|
+
bodyLock: boolean;
|
|
26
|
+
}, {}, {}, {}, string, vue1549.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SelectGroupLabelProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1580 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-group-label.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1580.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue1580.ComponentOptionsMixin, vue1580.ComponentOptionsMixin, {}, string, vue1580.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1580.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 { SelectGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1575 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select-group.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1575.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue1575.ComponentOptionsMixin, vue1575.ComponentOptionsMixin, {}, string, vue1575.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1575.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 & {
|