36376b3bb69b576cbe4c74cc13f5027d68f15f4d299730e21f8fbc222ad1adb4adeb0874b93d77039a25c57b2e482ffacae6c11c3f43e51c6951947a4b2e98 1.5 KB

123456789101112131415161718192021222324
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. import type Popper from './popper.vue';
  3. declare const effects: readonly ["light", "dark"];
  4. declare const triggers: readonly ["click", "contextmenu", "hover", "focus"];
  5. export declare const Effect: {
  6. readonly LIGHT: "light";
  7. readonly DARK: "dark";
  8. };
  9. export declare const roleTypes: readonly ["dialog", "grid", "group", "listbox", "menu", "navigation", "tooltip", "tree"];
  10. export type PopperEffect = typeof effects[number] | (string & NonNullable<unknown>);
  11. export type PopperTrigger = typeof triggers[number];
  12. export declare const popperProps: {
  13. readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
  14. };
  15. export type PopperProps = ExtractPropTypes<typeof popperProps>;
  16. export type PopperPropsPublic = __ExtractPublicPropTypes<typeof popperProps>;
  17. export type PopperInstance = InstanceType<typeof Popper> & unknown;
  18. /** @deprecated use `popperProps` instead, and it will be deprecated in the next major version */
  19. export declare const usePopperProps: {
  20. readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
  21. };
  22. /** @deprecated use `PopperProps` instead, and it will be deprecated in the next major version */
  23. export type UsePopperProps = PopperProps;
  24. export {};