@soybeanjs/headless 0.3.3 → 0.4.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/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.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- 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.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
- 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.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/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
- 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 +5 -6
- package/dist/components/context-menu/context.js +1 -1
- package/dist/components/context-menu/index.d.ts +3 -3
- package/dist/components/context-menu/types.d.ts +7 -1
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
- 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/dropdown-menu/dropdown-menu-content.vue.d.ts +6 -6
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
- 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/layout/context.d.ts +2 -2
- package/dist/components/layout/layout-content.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 +2 -2
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +5 -5
- 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.js +1 -1
- package/dist/components/link/link.vue.d.ts +5 -5
- package/dist/components/link/types.d.ts +28 -6
- 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.vue.d.ts +2 -2
- 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.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/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.vue.d.ts +6 -6
- 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.vue.d.ts +6 -6
- 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.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
- 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 +4 -4
- 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.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/page-tabs/context.d.ts +10 -0
- package/dist/components/page-tabs/context.js +1 -0
- package/dist/components/page-tabs/hooks.js +1 -0
- package/dist/components/page-tabs/index.d.ts +7 -0
- package/dist/components/page-tabs/index.js +1 -0
- package/dist/components/page-tabs/page-tabs-close.js +1 -0
- package/dist/components/page-tabs/page-tabs-close.vue.d.ts +18 -0
- package/dist/components/page-tabs/page-tabs-item.js +1 -0
- package/dist/components/page-tabs/page-tabs-item.vue.d.ts +24 -0
- package/dist/components/page-tabs/page-tabs-pin.js +1 -0
- package/dist/components/page-tabs/page-tabs-pin.vue.d.ts +18 -0
- package/dist/components/page-tabs/page-tabs-root.js +12 -0
- package/dist/components/page-tabs/page-tabs-root.vue.d.ts +36 -0
- package/dist/components/page-tabs/types.d.ts +89 -0
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
- 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 +4 -4
- package/dist/components/popover/popover-root.vue.d.ts +4 -4
- 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 +18 -18
- 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.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 +5 -5
- 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/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content.vue.d.ts +4 -4
- 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.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.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 +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/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-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 +5 -5
- 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/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.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.d.ts +6 -6
- package/dist/composables/use-dismissable-layer.d.ts +2 -2
- package/dist/composables/use-exposed-element.d.ts +2 -2
- package/dist/composables/use-forward-element.d.ts +2 -2
- 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-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.d.ts +1 -0
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +89 -82
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +165 -155
- package/dist/namespaced/index.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { MaybePromise } from "../../types/common.js";
|
|
2
|
+
import { PageTabsOperations, PageTabsRootProps } from "./types.js";
|
|
3
|
+
import "../../index.js";
|
|
4
|
+
import * as vue1621 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/page-tabs/page-tabs-root.vue.d.ts
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue1621.DefineComponent<PageTabsRootProps, {
|
|
12
|
+
operations: PageTabsOperations;
|
|
13
|
+
}, {}, {}, {}, vue1621.ComponentOptionsMixin, vue1621.ComponentOptionsMixin, {} & {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
"update:values": (values: string[]) => any;
|
|
16
|
+
"update:pins": (value: string[]) => any;
|
|
17
|
+
}, string, vue1621.PublicProps, Readonly<PageTabsRootProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
"onUpdate:values"?: ((values: string[]) => any) | undefined;
|
|
20
|
+
"onUpdate:pins"?: ((value: string[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
values: string[];
|
|
23
|
+
modelValue: string;
|
|
24
|
+
beforeClose: (value: string) => MaybePromise<boolean | void>;
|
|
25
|
+
pins: string[];
|
|
26
|
+
residents: string[];
|
|
27
|
+
}, {}, {}, {}, string, vue1621.ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { _default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { MaybePromise, UiClass } from "../../types/common.js";
|
|
2
|
+
import "../../types/index.js";
|
|
3
|
+
import { PrimitiveProps } from "../primitive/types.js";
|
|
4
|
+
import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/page-tabs/types.d.ts
|
|
7
|
+
interface PageTabsRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
8
|
+
/**
|
|
9
|
+
* The active tab value.
|
|
10
|
+
*/
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The tab values.
|
|
14
|
+
*/
|
|
15
|
+
values?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* The pinned tab values.
|
|
18
|
+
*/
|
|
19
|
+
pins?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* The resident tab values. cannot be closed, pinned, or unpinned.
|
|
22
|
+
*/
|
|
23
|
+
residents?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* Callback invoked before closing the tab. Return `false` or a promise that resolves to `false` to prevent closing.
|
|
26
|
+
*/
|
|
27
|
+
beforeClose?: (value: string) => MaybePromise<boolean | void>;
|
|
28
|
+
/**
|
|
29
|
+
* Whether middle-clicking a tab closes it.
|
|
30
|
+
*/
|
|
31
|
+
middleClickClose?: boolean;
|
|
32
|
+
}
|
|
33
|
+
type PageTabsRootEmits = {
|
|
34
|
+
/**
|
|
35
|
+
* Emitted when the active tab change.
|
|
36
|
+
*/
|
|
37
|
+
(e: 'update:modelValue', value: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Emitted when the tab values change.
|
|
40
|
+
*/
|
|
41
|
+
(e: 'update:values', values: string[]): void;
|
|
42
|
+
/**
|
|
43
|
+
* Emitted when the pinned tabs change.
|
|
44
|
+
*/
|
|
45
|
+
(e: 'update:pins', value: string[]): void;
|
|
46
|
+
};
|
|
47
|
+
interface PageTabsItemProps extends /** @vue-ignore */HTMLAttributes {
|
|
48
|
+
/**
|
|
49
|
+
* The unique value of the tab.
|
|
50
|
+
*/
|
|
51
|
+
value: string;
|
|
52
|
+
}
|
|
53
|
+
type PageTabsItemEmits = {
|
|
54
|
+
/**
|
|
55
|
+
* Emitted when the tab is requested to be closed.
|
|
56
|
+
*/
|
|
57
|
+
(e: 'close'): void;
|
|
58
|
+
/**
|
|
59
|
+
* Emitted when the tab is requested to be pinned.
|
|
60
|
+
*/
|
|
61
|
+
(e: 'pin', pinned: boolean): void;
|
|
62
|
+
};
|
|
63
|
+
interface PageTabsCloseProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
64
|
+
interface PageTabsPinProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
65
|
+
type PageTabsUiSlot = 'root' | 'item' | 'close' | 'pin';
|
|
66
|
+
type PageTabsUi = UiClass<PageTabsUiSlot>;
|
|
67
|
+
interface PageTabsOperations {
|
|
68
|
+
setActiveTab: (value: string) => void;
|
|
69
|
+
addTab: (value: string) => void;
|
|
70
|
+
removeTab: (value: string) => void;
|
|
71
|
+
isTabPinned: (value: string) => boolean;
|
|
72
|
+
pinTab: (value: string) => void;
|
|
73
|
+
unpinTab: (value: string) => void;
|
|
74
|
+
togglePinTab: (value: string) => void;
|
|
75
|
+
closeTab: (value: string, onClose?: (() => void) | undefined) => Promise<void>;
|
|
76
|
+
closeLeftTabs: (value: string) => void;
|
|
77
|
+
closeRightTabs: (value: string) => void;
|
|
78
|
+
closeOtherTabs: (value: string) => void;
|
|
79
|
+
closeAllTabs: () => void;
|
|
80
|
+
canPinTab: (value: string) => boolean;
|
|
81
|
+
canUnpinTab: (value: string) => boolean;
|
|
82
|
+
canCloseTab: (value: string) => boolean;
|
|
83
|
+
canCloseLeftTabs: (value: string) => boolean;
|
|
84
|
+
canCloseRightTabs: (value: string) => boolean;
|
|
85
|
+
canCloseOtherTabs: (value: string) => boolean;
|
|
86
|
+
canCloseAllTabs: () => boolean;
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { PageTabsCloseProps, PageTabsItemEmits, PageTabsItemProps, PageTabsOperations, PageTabsPinProps, PageTabsRootEmits, PageTabsRootProps, PageTabsUi, PageTabsUiSlot };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ClassValue, UiClass } from "../../types/common.js";
|
|
2
2
|
import { PaginationUiSlot } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1334 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/context.d.ts
|
|
7
7
|
|
|
8
|
-
declare const providePaginationUi: (ui:
|
|
8
|
+
declare const providePaginationUi: (ui: vue1334.ComputedRef<Partial<UiClass<PaginationUiSlot>>>) => vue1334.ComputedRef<Partial<UiClass<PaginationUiSlot>>>, usePaginationUi: <S extends PaginationUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PaginationUiSlot ? vue1334.ComputedRef<ClassValue> : vue1334.ComputedRef<Partial<UiClass<PaginationUiSlot>>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { providePaginationUi };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationEllipsisProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1319 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-ellipsis.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1319.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue1319.ComponentOptionsMixin, vue1319.ComponentOptionsMixin, {}, string, vue1319.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1319.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1309 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: vue1309.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1309.ComponentOptionsMixin, vue1309.ComponentOptionsMixin, {}, string, vue1309.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1309.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1314 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: vue1314.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1314.ComponentOptionsMixin, vue1314.ComponentOptionsMixin, {}, string, vue1314.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1314.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 vue1294 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: vue1294.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue1294.ComponentOptionsMixin, vue1294.ComponentOptionsMixin, {}, string, vue1294.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1294.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 vue1304 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: vue1304.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue1304.ComponentOptionsMixin, vue1304.ComponentOptionsMixin, {}, string, vue1304.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1304.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1329 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: vue1329.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1329.ComponentOptionsMixin, vue1329.ComponentOptionsMixin, {}, string, vue1329.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1329.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1324 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: vue1324.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1324.ComponentOptionsMixin, vue1324.ComponentOptionsMixin, {}, string, vue1324.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1324.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 vue1299 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: vue1299.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue1299.ComponentOptionsMixin, vue1299.ComponentOptionsMixin, {
|
|
13
13
|
"update:page": (value: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1299.PublicProps, Readonly<PaginationRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
defaultPage: number;
|
|
18
18
|
total: number;
|
|
19
19
|
siblingCount: number;
|
|
20
20
|
showEdges: boolean;
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue1299.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,13 +1,13 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1262 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: vue1262.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1262.ComponentOptionsMixin, vue1262.ComponentOptionsMixin, {}, string, vue1262.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1262.ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { PopoverCloseProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1288 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: vue1288.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1288.ComponentOptionsMixin, vue1288.ComponentOptionsMixin, {}, string, vue1288.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1288.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1288.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 vue1277 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: vue1277.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1277.ComponentOptionsMixin, vue1277.ComponentOptionsMixin, {}, string, vue1277.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1277.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 vue1267 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: vue1267.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1267.ComponentOptionsMixin, vue1267.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
14
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
15
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
16
|
openAutoFocus: (event: Event) => any;
|
|
17
17
|
closeAutoFocus: (event: Event) => any;
|
|
18
|
-
}, string,
|
|
18
|
+
}, string, vue1267.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
|
|
19
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
20
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
21
21
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
22
22
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
23
23
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
24
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string,
|
|
25
|
+
}>, {}, {}, {}, {}, string, vue1267.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 vue1272 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: vue1272.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1272.ComponentOptionsMixin, vue1272.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue1272.PublicProps, Readonly<PopoverRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
open: boolean;
|
|
18
18
|
defaultOpen: boolean;
|
|
19
19
|
modal: boolean;
|
|
20
|
-
}, {}, {}, {}, string,
|
|
20
|
+
}, {}, {}, {}, string, vue1272.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 vue1282 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: vue1282.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1282.ComponentOptionsMixin, vue1282.ComponentOptionsMixin, {}, string, vue1282.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1282.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1282.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 vue865 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: vue865.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue865.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue865.ComputedRef<ClassValue> : vue865.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 vue1782 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: vue1782.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1782.ComponentOptionsMixin, vue1782.ComponentOptionsMixin, {}, string, vue1782.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1782.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 vue860 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: vue860.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue860.ComponentOptionsMixin, vue860.ComponentOptionsMixin, {}, string, vue860.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue860.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 vue1828 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: vue1828.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1828.ComponentOptionsMixin, vue1828.ComponentOptionsMixin, {}, string, vue1828.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1828.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,27 +1,26 @@
|
|
|
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 vue1935 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: vue1935.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1935.ComponentOptionsMixin, vue1935.ComponentOptionsMixin, {
|
|
15
15
|
placed: () => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1935.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
|
|
17
17
|
onPlaced?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
style: string | false | CSSProperties |
|
|
19
|
+
style: string | false | CSSProperties | vue1935.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
|
onProgress: (payload: ProgressEvent<EventTarget>) => void;
|
|
26
25
|
onFullscreenchange: (payload: Event) => void;
|
|
27
26
|
onFullscreenerror: (payload: Event) => void;
|
|
@@ -55,6 +54,7 @@ declare const __VLS_base: vue45.DefineComponent<PopperPositionerProps, {}, {}, {
|
|
|
55
54
|
onDurationchange: (payload: Event) => void;
|
|
56
55
|
onEmptied: (payload: Event) => void;
|
|
57
56
|
onEnded: (payload: Event) => void;
|
|
57
|
+
onError: (payload: Event) => void;
|
|
58
58
|
onFocus: (payload: FocusEvent) => void;
|
|
59
59
|
onFocusin: (payload: FocusEvent) => void;
|
|
60
60
|
onFocusout: (payload: FocusEvent) => void;
|
|
@@ -119,8 +119,8 @@ declare const __VLS_base: vue45.DefineComponent<PopperPositionerProps, {}, {}, {
|
|
|
119
119
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
120
120
|
dir: string;
|
|
121
121
|
draggable: boolean | "true" | "false";
|
|
122
|
-
enterkeyhint: "done" | "next" | "
|
|
123
|
-
enterKeyHint: "done" | "next" | "
|
|
122
|
+
enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
123
|
+
enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
124
124
|
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
125
125
|
id: string;
|
|
126
126
|
inert: boolean | "true" | "false";
|
|
@@ -151,7 +151,7 @@ declare const __VLS_base: vue45.DefineComponent<PopperPositionerProps, {}, {}, {
|
|
|
151
151
|
results: string | number;
|
|
152
152
|
security: string;
|
|
153
153
|
unselectable: "on" | "off";
|
|
154
|
-
inputmode: "
|
|
154
|
+
inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
155
155
|
is: string;
|
|
156
156
|
exportparts: string;
|
|
157
157
|
part: string;
|
|
@@ -168,7 +168,7 @@ declare const __VLS_base: vue45.DefineComponent<PopperPositionerProps, {}, {}, {
|
|
|
168
168
|
'aria-describedby': string;
|
|
169
169
|
'aria-details': string;
|
|
170
170
|
'aria-disabled': boolean | "true" | "false";
|
|
171
|
-
'aria-dropeffect': "link" | "
|
|
171
|
+
'aria-dropeffect': "link" | "copy" | "none" | "execute" | "move" | "popup";
|
|
172
172
|
'aria-errormessage': string;
|
|
173
173
|
'aria-expanded': boolean | "true" | "false";
|
|
174
174
|
'aria-flowto': string;
|
|
@@ -203,25 +203,25 @@ declare const __VLS_base: vue45.DefineComponent<PopperPositionerProps, {}, {}, {
|
|
|
203
203
|
'aria-valuemin': string | number;
|
|
204
204
|
'aria-valuenow': string | number;
|
|
205
205
|
'aria-valuetext': string;
|
|
206
|
-
|
|
207
|
-
placement: Placement$1;
|
|
208
|
-
side: _floating_ui_utils0.Side;
|
|
206
|
+
side: _floating_ui_utils3.Side;
|
|
209
207
|
sideOffset: number;
|
|
210
|
-
sideFlip: boolean;
|
|
211
208
|
align: Align;
|
|
209
|
+
arrowPadding: number;
|
|
210
|
+
updatePositionStrategy: "optimized" | "always";
|
|
211
|
+
placement: Placement$1;
|
|
212
|
+
sideFlip: boolean;
|
|
212
213
|
alignOffset: number;
|
|
213
214
|
alignFlip: boolean;
|
|
214
215
|
avoidCollisions: boolean;
|
|
215
216
|
collisionBoundary: Element | null | Array<Element | null>;
|
|
216
|
-
collisionPadding:
|
|
217
|
-
arrowPadding: number;
|
|
217
|
+
collisionPadding: _floating_ui_utils3.Padding;
|
|
218
218
|
sticky: "partial" | "always";
|
|
219
219
|
hideWhenDetached: boolean;
|
|
220
220
|
positionStrategy: "absolute" | "fixed";
|
|
221
|
-
updatePositionStrategy: "optimized" | "always";
|
|
222
221
|
disableUpdateOnLayoutShift: boolean;
|
|
223
222
|
prioritizePosition: boolean;
|
|
224
|
-
|
|
223
|
+
reference: _floating_ui_dom0.ReferenceElement;
|
|
224
|
+
}, {}, {}, {}, string, vue1935.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 vue1930 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: vue1930.DefineComponent<{}, {}, {}, {}, {}, vue1930.ComponentOptionsMixin, vue1930.ComponentOptionsMixin, {}, string, vue1930.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1930.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 & {
|