index.d.ts 3.1 KB

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