1.0.0:first commit

This commit is contained in:
2026-03-26 01:23:19 +08:00
commit f8d5b11567
23562 changed files with 2853775 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { PopperProps } from "../../popper/src/popper.js";
import "../../popper/index.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 };