image.d.ts 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import type { ExtractPropTypes } from 'vue';
  2. export declare const imageProps: {
  3. readonly hideOnClickModal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  4. readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  5. readonly fit: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
  6. readonly loading: {
  7. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
  8. readonly required: false;
  9. readonly validator: ((val: unknown) => boolean) | undefined;
  10. __epPropKey: true;
  11. };
  12. readonly lazy: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  13. readonly scrollContainer: {
  14. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement | undefined) & {}) | (() => string | HTMLElement | undefined) | ((new (...args: any[]) => (string | HTMLElement | undefined) & {}) | (() => string | HTMLElement | undefined))[], unknown, unknown>>;
  15. readonly required: false;
  16. readonly validator: ((val: unknown) => boolean) | undefined;
  17. __epPropKey: true;
  18. };
  19. readonly previewSrcList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
  20. readonly previewTeleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  21. readonly zIndex: {
  22. readonly type: import("vue").PropType<number>;
  23. readonly required: false;
  24. readonly validator: ((val: unknown) => boolean) | undefined;
  25. __epPropKey: true;
  26. };
  27. readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  28. readonly infinite: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  29. readonly closeOnPressEscape: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  30. readonly zoomRate: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
  31. };
  32. export declare type ImageProps = ExtractPropTypes<typeof imageProps>;
  33. export declare const imageEmits: {
  34. load: (evt: Event) => boolean;
  35. error: (evt: Event) => boolean;
  36. switch: (val: number) => boolean;
  37. close: () => boolean;
  38. show: () => boolean;
  39. };
  40. export declare type ImageEmits = typeof imageEmits;