前端初始化

This commit is contained in:
“hsc”
2026-08-21 15:27:51 +08:00
commit ef029340f2
14411 changed files with 2275932 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { PopperProps } from "../../popper/src/popper.js";
import { ComputedRef, InjectionKey, Ref } from "vue";
//#region ../../packages/components/dropdown/src/tokens.d.ts
type ElDropdownInjectionContext = {
contentRef: Ref<HTMLElement | undefined>;
role: ComputedRef<PopperProps['role']>;
triggerId: ComputedRef<string>;
isUsingKeyboard: Ref<boolean>;
onItemLeave: (e: PointerEvent) => void;
onItemEnter: (e: PointerEvent) => void;
handleClose: () => void;
};
declare const DROPDOWN_INJECTION_KEY: InjectionKey<ElDropdownInjectionContext>;
declare const DROPDOWN_INSTANCE_INJECTION_KEY = "elDropdown";
//#endregion
export { DROPDOWN_INJECTION_KEY, DROPDOWN_INSTANCE_INJECTION_KEY, ElDropdownInjectionContext };