index.d.ts 2.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. export declare const ElCard: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  2. readonly header: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  3. readonly bodyStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
  4. readonly shadow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "always" | "never", unknown, "always", boolean>;
  5. }, {
  6. ns: {
  7. namespace: import("vue").Ref<string>;
  8. b: (blockSuffix?: string) => string;
  9. e: (element?: string | undefined) => string;
  10. m: (modifier?: string | undefined) => string;
  11. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  12. em: (element?: string | undefined, modifier?: string | undefined) => string;
  13. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  14. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  15. is: {
  16. (name: string, state: boolean | undefined): string;
  17. (name: string): string;
  18. };
  19. cssVar: (object: Record<string, string>) => Record<string, string>;
  20. cssVarName: (name: string) => string;
  21. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  22. cssVarBlockName: (name: string) => string;
  23. };
  24. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  25. readonly header: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  26. readonly bodyStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
  27. readonly shadow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "always" | "never", unknown, "always", boolean>;
  28. }>>, {
  29. readonly header: string;
  30. readonly bodyStyle: import("vue").StyleValue;
  31. readonly shadow: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown>;
  32. }>> & Record<string, any>;
  33. export default ElCard;
  34. export * from './src/card';
  35. export type { CardInstance } from './src/instance';