index.d.ts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. export declare const ElDivider: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  2. readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
  3. readonly contentPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "center", unknown, "center", boolean>;
  4. readonly borderStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "solid", boolean>;
  5. }, {
  6. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  7. readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
  8. readonly contentPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "center", unknown, "center", boolean>;
  9. readonly borderStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "solid", boolean>;
  10. }>> & {
  11. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  12. }>>;
  13. ns: {
  14. namespace: import("vue").Ref<string>;
  15. b: (blockSuffix?: string) => string;
  16. e: (element?: string | undefined) => string;
  17. m: (modifier?: string | undefined) => string;
  18. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  19. em: (element?: string | undefined, modifier?: string | undefined) => string;
  20. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  21. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  22. is: {
  23. (name: string, state: boolean | undefined): string;
  24. (name: string): string;
  25. };
  26. cssVar: (object: Record<string, string>) => Record<string, string>;
  27. cssVarName: (name: string) => string;
  28. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  29. cssVarBlockName: (name: string) => string;
  30. };
  31. dividerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
  32. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  33. readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
  34. readonly contentPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "center", unknown, "center", boolean>;
  35. readonly borderStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "solid", boolean>;
  36. }>>, {
  37. readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
  38. readonly borderStyle: string;
  39. readonly contentPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "center", unknown>;
  40. }>> & Record<string, any>;
  41. export default ElDivider;
  42. export * from './src/divider';