index.d.ts 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. export declare const ElTeleport: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  2. readonly container: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
  3. readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  4. readonly style: {
  5. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
  6. readonly required: false;
  7. readonly validator: ((val: unknown) => boolean) | undefined;
  8. __epPropKey: true;
  9. };
  10. readonly zIndex: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2000", boolean>;
  11. }, {
  12. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  13. readonly container: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
  14. readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  15. readonly style: {
  16. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
  17. readonly required: false;
  18. readonly validator: ((val: unknown) => boolean) | undefined;
  19. __epPropKey: true;
  20. };
  21. readonly zIndex: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2000", boolean>;
  22. }>> & {
  23. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  24. }>>;
  25. ns: {
  26. namespace: import("vue").Ref<string>;
  27. b: (blockSuffix?: string) => string;
  28. e: (element?: string | undefined) => string;
  29. m: (modifier?: string | undefined) => string;
  30. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  31. em: (element?: string | undefined, modifier?: string | undefined) => string;
  32. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  33. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  34. is: {
  35. (name: string, state: boolean | undefined): string;
  36. (name: string): string;
  37. };
  38. cssVar: (object: Record<string, string>) => Record<string, string>;
  39. cssVarName: (name: string) => string;
  40. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  41. cssVarBlockName: (name: string) => string;
  42. };
  43. containerRef: import("vue").Ref<HTMLElement | undefined>;
  44. containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
  45. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  46. readonly container: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
  47. readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  48. readonly style: {
  49. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
  50. readonly required: false;
  51. readonly validator: ((val: unknown) => boolean) | undefined;
  52. __epPropKey: true;
  53. };
  54. readonly zIndex: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2000", boolean>;
  55. }>>, {
  56. readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  57. readonly zIndex: string;
  58. readonly container: string;
  59. }>> & Record<string, any>;
  60. export default ElTeleport;
  61. export * from './src/teleport';