filepond-plugin-image-preview
Advanced tools
Comparing version 4.6.5 to 4.6.6
/*! | ||
* FilePondPluginImagePreview 4.6.5 | ||
* FilePondPluginImagePreview 4.6.6 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
/*! | ||
* FilePondPluginImagePreview 4.6.5 | ||
* FilePondPluginImagePreview 4.6.6 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
/*! | ||
* FilePondPluginImagePreview 4.6.5 | ||
* FilePondPluginImagePreview 4.6.6 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
{ | ||
"name": "filepond-plugin-image-preview", | ||
"version": "4.6.5", | ||
"version": "4.6.6", | ||
"description": "Image Preview Plugin for FilePond", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,35 +0,36 @@ | ||
declare module "filepond-plugin-image-preview" { | ||
const FilePondPluginImagePreview: FilePondPluginImagePreviewProps; | ||
export interface FilePondPluginImagePreviewProps { | ||
/** Enable or disable preview mode */ | ||
allowImagePreview?: boolean; | ||
// @ts-ignore | ||
import { FilePondOptions } from "filepond"; | ||
/** Minimum image preview height */ | ||
imagePreviewMinHeight?: number; | ||
declare module "filepond" { | ||
export interface FilePondOptions { | ||
/** Enable or disable preview mode */ | ||
allowImagePreview?: boolean; | ||
/** Maximum image preview height */ | ||
imagePreviewMaxHeight?: number; | ||
/** Minimum image preview height */ | ||
imagePreviewMinHeight?: number; | ||
/** Fixed image preview height, overrides min and max preview height */ | ||
imagePreviewHeight?: number | ||
/** Maximum image preview height */ | ||
imagePreviewMaxHeight?: number; | ||
/** Can be used to prevent loading of large images when createImageBitmap is not supported. | ||
* By default no maximum file size is defined, expects a string, like 2MB or 500KB. */ | ||
imagePreviewMaxFileSize?: string; | ||
/** Fixed image preview height, overrides min and max preview height */ | ||
imagePreviewHeight?: number; | ||
/** Set to 'grid' to render a transparency grid behind the image, set to a color value (for example '#f00') to set transparent image background color. | ||
* Please note that this is only for preview purposes, the background color or grid is not embedded in the output image. */ | ||
imagePreviewTransparencyIndicator?: string; | ||
/** Can be used to prevent loading of large images when createImageBitmap is not supported. | ||
* By default no maximum file size is defined, expects a string, like 2MB or 500KB. */ | ||
imagePreviewMaxFileSize?: string; | ||
/** Maximum file size for images to preview immediately, | ||
* if files are larger and the browser doesn’t support createImageBitmap the preview is queued till FilePond is in rest state. */ | ||
imagePreviewMaxInstantPreviewFileSize?: number; | ||
/** Set to 'grid' to render a transparency grid behind the image, set to a color value (for example '#f00') to set transparent image background color. | ||
* Please note that this is only for preview purposes, the background color or grid is not embedded in the output image. */ | ||
imagePreviewTransparencyIndicator?: string; | ||
/** Set to false to hide image markup in the preview panel */ | ||
imagePreviewMarkupShow?: boolean; | ||
/** Maximum file size for images to preview immediately, | ||
* if files are larger and the browser doesn’t support createImageBitmap the preview is queued till FilePond is in rest state. */ | ||
imagePreviewMaxInstantPreviewFileSize?: number; | ||
/** Use to filter markup items, useful to show only certain items and hide others till the image file is generated by the image transform plugin */ | ||
imagePreviewMarkupFilter?: (markupItem: any) => true; | ||
} | ||
export default FilePondPluginImagePreview; | ||
/** Set to false to hide image markup in the preview panel */ | ||
imagePreviewMarkupShow?: boolean; | ||
/** Use to filter markup items, useful to show only certain items and hide others till the image file is generated by the image transform plugin */ | ||
imagePreviewMarkupFilter?: (markupItem: any) => true; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215705