index.d.ts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. import type { ExtractPropTypes, ImgHTMLAttributes, Plugin } from 'vue';
  2. import { imageProps } from '../vc-image/src/Image';
  3. import PreviewGroup from './PreviewGroup';
  4. export type ImageProps = Partial<ExtractPropTypes<ReturnType<typeof imageProps>> & Omit<ImgHTMLAttributes, 'placeholder' | 'onClick'>>;
  5. export { imageProps };
  6. export { PreviewGroup as ImagePreviewGroup };
  7. declare const _default: {
  8. new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<Partial<{
  9. preview: boolean | import("../vc-image").ImagePreviewType;
  10. wrapperStyle: import("vue").CSSProperties;
  11. } & {
  12. onClick?: import("../_util/EventInterface").MouseEventHandler;
  13. onError?: OnErrorEventHandlerNonNull;
  14. prefixCls?: string;
  15. wrapperClassName?: string;
  16. placeholder?: any;
  17. rootClassName?: string;
  18. src?: string;
  19. previewPrefixCls?: string;
  20. previewMask?: false | (() => any);
  21. fallback?: string;
  22. } & Omit<ImgHTMLAttributes, "onClick" | "placeholder">>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<Partial<{
  23. preview: boolean | import("../vc-image").ImagePreviewType;
  24. wrapperStyle: import("vue").CSSProperties;
  25. } & {
  26. onClick?: import("../_util/EventInterface").MouseEventHandler;
  27. onError?: OnErrorEventHandlerNonNull;
  28. prefixCls?: string;
  29. wrapperClassName?: string;
  30. placeholder?: any;
  31. rootClassName?: string;
  32. src?: string;
  33. previewPrefixCls?: string;
  34. previewMask?: false | (() => any);
  35. fallback?: string;
  36. } & Omit<ImgHTMLAttributes, "onClick" | "placeholder">>>, {
  37. class?: any;
  38. placeholder?: any;
  39. inlist?: any;
  40. }, true, {}, {}, {
  41. P: {};
  42. B: {};
  43. D: {};
  44. C: {};
  45. M: {};
  46. Defaults: {};
  47. }, Readonly<Partial<{
  48. preview: boolean | import("../vc-image").ImagePreviewType;
  49. wrapperStyle: import("vue").CSSProperties;
  50. } & {
  51. onClick?: import("../_util/EventInterface").MouseEventHandler;
  52. onError?: OnErrorEventHandlerNonNull;
  53. prefixCls?: string;
  54. wrapperClassName?: string;
  55. placeholder?: any;
  56. rootClassName?: string;
  57. src?: string;
  58. previewPrefixCls?: string;
  59. previewMask?: false | (() => any);
  60. fallback?: string;
  61. } & Omit<ImgHTMLAttributes, "onClick" | "placeholder">>>, {}, {}, {}, {}, {
  62. class?: any;
  63. placeholder?: any;
  64. inlist?: any;
  65. }>;
  66. __isFragment?: never;
  67. __isTeleport?: never;
  68. __isSuspense?: never;
  69. } & import("vue").ComponentOptionsBase<Readonly<Partial<{
  70. preview: boolean | import("../vc-image").ImagePreviewType;
  71. wrapperStyle: import("vue").CSSProperties;
  72. } & {
  73. onClick?: import("../_util/EventInterface").MouseEventHandler;
  74. onError?: OnErrorEventHandlerNonNull;
  75. prefixCls?: string;
  76. wrapperClassName?: string;
  77. placeholder?: any;
  78. rootClassName?: string;
  79. src?: string;
  80. previewPrefixCls?: string;
  81. previewMask?: false | (() => any);
  82. fallback?: string;
  83. } & Omit<ImgHTMLAttributes, "onClick" | "placeholder">>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  84. class?: any;
  85. placeholder?: any;
  86. inlist?: any;
  87. }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
  88. readonly PreviewGroup: typeof PreviewGroup;
  89. };
  90. export default _default;