This commit is contained in:
2025-09-19 14:25:20 +08:00
parent 269893a435
commit fbf3f77229
24949 changed files with 2839404 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import type { CollapseItemProps } from './collapse-item';
export declare const useCollapseItem: (props: CollapseItemProps) => {
focusing: import("vue").Ref<boolean>;
id: import("vue").ComputedRef<number>;
isActive: import("vue").ComputedRef<boolean | undefined>;
handleFocus: () => void;
handleHeaderClick: (e: MouseEvent) => void;
handleEnterClick: (e: KeyboardEvent) => void;
};
export declare const useCollapseItemDOM: (props: CollapseItemProps, { focusing, isActive, id }: Partial<ReturnType<typeof useCollapseItem>>) => {
itemTitleKls: import("vue").ComputedRef<string[]>;
arrowKls: import("vue").ComputedRef<string[]>;
headKls: import("vue").ComputedRef<(string | {
focusing: boolean | undefined;
})[]>;
rootKls: import("vue").ComputedRef<string[]>;
itemWrapperKls: import("vue").ComputedRef<string>;
itemContentKls: import("vue").ComputedRef<string>;
scopedContentId: import("vue").ComputedRef<string>;
scopedHeadId: import("vue").ComputedRef<string>;
};