index.d.ts 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. export declare const ElEmpty: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  2. readonly image: {
  3. readonly type: StringConstructor;
  4. readonly default: "";
  5. };
  6. readonly imageSize: NumberConstructor;
  7. readonly description: {
  8. readonly type: StringConstructor;
  9. readonly default: "";
  10. };
  11. }, {
  12. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  13. readonly image: {
  14. readonly type: StringConstructor;
  15. readonly default: "";
  16. };
  17. readonly imageSize: NumberConstructor;
  18. readonly description: {
  19. readonly type: StringConstructor;
  20. readonly default: "";
  21. };
  22. }>> & {
  23. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  24. }>>;
  25. t: import("../..").Translator;
  26. ns: {
  27. namespace: import("vue").Ref<string>;
  28. b: (blockSuffix?: string) => string;
  29. e: (element?: string | undefined) => string;
  30. m: (modifier?: string | undefined) => string;
  31. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  32. em: (element?: string | undefined, modifier?: string | undefined) => string;
  33. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  34. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  35. is: {
  36. (name: string, state: boolean | undefined): string;
  37. (name: string): string;
  38. };
  39. cssVar: (object: Record<string, string>) => Record<string, string>;
  40. cssVarName: (name: string) => string;
  41. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  42. cssVarBlockName: (name: string) => string;
  43. };
  44. emptyDescription: import("vue").ComputedRef<string>;
  45. imageStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
  46. ImgEmpty: import("vue").DefineComponent<{}, {
  47. ns: {
  48. namespace: import("vue").Ref<string>;
  49. b: (blockSuffix?: string) => string;
  50. e: (element?: string | undefined) => string;
  51. m: (modifier?: string | undefined) => string;
  52. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  53. em: (element?: string | undefined, modifier?: string | undefined) => string;
  54. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  55. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  56. is: {
  57. (name: string, state: boolean | undefined): string;
  58. (name: string): string;
  59. };
  60. cssVar: (object: Record<string, string>) => Record<string, string>;
  61. cssVarName: (name: string) => string;
  62. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  63. cssVarBlockName: (name: string) => string;
  64. };
  65. id: number;
  66. }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
  67. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  68. readonly image: {
  69. readonly type: StringConstructor;
  70. readonly default: "";
  71. };
  72. readonly imageSize: NumberConstructor;
  73. readonly description: {
  74. readonly type: StringConstructor;
  75. readonly default: "";
  76. };
  77. }>>, {
  78. readonly description: string;
  79. readonly image: string;
  80. }>> & Record<string, any>;
  81. export default ElEmpty;
  82. export * from './src/empty';