@osmandvc/react-upload-control 0.3.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +190 -262
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1 -2
- package/dist/providers/UploadedFilesManager.d.ts +2 -2
- package/dist/providers/UploadedFilesProvider.d.ts +0 -1
- package/dist/providers/index.d.ts +2 -2
- package/dist/types.d.ts +10 -11
- package/package.json +35 -41
- package/dist/FileUploadContainer.d.ts +0 -9
- package/dist/FileUploadControl.d.ts +0 -5
- package/dist/actions/FileDeleteAllButton.d.ts +0 -1
- package/dist/actions/FileItemActions.d.ts +0 -7
- package/dist/actions/FileUploadAllButton.d.ts +0 -1
- package/dist/actions/index.d.ts +0 -3
- package/dist/components/camera/custom-react-webcam.d.ts +0 -58
- package/dist/components/camera/frames/WebcamFrameA4.d.ts +0 -20
- package/dist/components/camera/frames/index.d.ts +0 -1
- package/dist/components/camera/index.d.ts +0 -1
- package/dist/components/camera/use-webcam.d.ts +0 -34
- package/dist/components/file-drop/FileDropArea.d.ts +0 -2
- package/dist/components/file-drop/FileDropLarge.d.ts +0 -6
- package/dist/components/file-drop/FileDropSmall.d.ts +0 -6
- package/dist/components/file-list/FileList.d.ts +0 -2
- package/dist/components/file-list/FileListActions.d.ts +0 -1
- package/dist/components/file-list/FileListContainer.d.ts +0 -6
- package/dist/components/file-list/FileListItem.d.ts +0 -3
- package/dist/components/index.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/use-mobile-detect.d.ts +0 -9
- package/dist/hooks/use-state-machine.d.ts +0 -21
- package/dist/index.js.LICENSE.txt +0 -33
- package/dist/loaders/FileLoaderActions.d.ts +0 -2
- package/dist/loaders/FileLoaderCamera.d.ts +0 -2
- package/dist/loaders/FileLoaderFileSystem.d.ts +0 -2
- package/dist/loaders/index.d.ts +0 -3
- package/dist/ui/button/Button.d.ts +0 -18
- package/dist/ui/button/index.d.ts +0 -1
- package/dist/ui/card/Card.d.ts +0 -8
- package/dist/ui/card/index.d.ts +0 -1
- package/dist/ui/dialog/Dialog.d.ts +0 -19
- package/dist/ui/dialog/index.d.ts +0 -1
- package/dist/ui/icons/index.d.ts +0 -1
- package/dist/ui/image-zoom/index.d.ts +0 -3
- package/dist/ui/progress/Progress.d.ts +0 -4
- package/dist/ui/progress/index.d.ts +0 -1
- package/dist/ui/select/Select.d.ts +0 -13
- package/dist/ui/select/index.d.ts +0 -1
- package/dist/ui/seperator/Seperator.d.ts +0 -4
- package/dist/ui/seperator/index.d.ts +0 -1
- package/dist/ui/tooltip/Tooltip.d.ts +0 -7
- package/dist/ui/tooltip/index.d.ts +0 -1
- package/dist/utils/api-mocker.d.ts +0 -2
- package/dist/utils/cn.d.ts +0 -2
- package/dist/utils/date/index.d.ts +0 -1
- package/dist/utils/error-handling.d.ts +0 -3
- package/dist/utils/file-types.d.ts +0 -36
- package/dist/utils/image-processing/blob-to-base64.d.ts +0 -1
- package/dist/utils/image-processing/canvas-utils.d.ts +0 -7
- package/dist/utils/image-processing/index.d.ts +0 -3
- package/dist/utils/image-processing/load-image.d.ts +0 -3
- package/dist/utils/index.d.ts +0 -6
- package/dist/utils/is-filedrop-error.d.ts +0 -2
package/dist/utils/cn.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare function addUniqueTimestamp(s: string): string;
|
@@ -1,36 +0,0 @@
|
|
1
|
-
export declare const SUPPORTED_EXTENSIONS_OBJECT: {
|
2
|
-
".pdf": string;
|
3
|
-
".jpg": string;
|
4
|
-
".jpeg": string;
|
5
|
-
".png": string;
|
6
|
-
".doc": string;
|
7
|
-
".dot": string;
|
8
|
-
".docx": string;
|
9
|
-
".dotx": string;
|
10
|
-
".docm": string;
|
11
|
-
".dotm": string;
|
12
|
-
".xls": string;
|
13
|
-
".xlt": string;
|
14
|
-
".xla": string;
|
15
|
-
".xlsx": string;
|
16
|
-
".xltx": string;
|
17
|
-
".xlsm": string;
|
18
|
-
".xltm": string;
|
19
|
-
".xlam": string;
|
20
|
-
".xlsb": string;
|
21
|
-
".ppt": string;
|
22
|
-
".pot": string;
|
23
|
-
".pps": string;
|
24
|
-
".ppa": string;
|
25
|
-
".pptx": string;
|
26
|
-
".potx": string;
|
27
|
-
".ppsx": string;
|
28
|
-
".ppam": string;
|
29
|
-
".pptm": string;
|
30
|
-
".potm": string;
|
31
|
-
".ppsm": string;
|
32
|
-
};
|
33
|
-
export declare const SUPPORTED_EXTENSIONS: string[];
|
34
|
-
export declare const SUPPORTED_MIME_OBJECT: any;
|
35
|
-
export declare const SUPPORTED_MIME_TYPES: string[];
|
36
|
-
export declare const SUPPORTED_FILE_LIST: string;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function blobToBase64(blob: Blob): Promise<string>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
interface ReturnProps {
|
2
|
-
canvas: HTMLCanvasElement;
|
3
|
-
context: CanvasRenderingContext2D;
|
4
|
-
}
|
5
|
-
export declare function getScaledCanvas(img: HTMLImageElement | HTMLCanvasElement, scale?: number, imageSmoothingEnabled?: boolean): ReturnProps;
|
6
|
-
export declare function getRotatedImageCanvas(image: HTMLImageElement, angle?: 0 | 90 | 180 | 270): HTMLCanvasElement;
|
7
|
-
export {};
|
package/dist/utils/index.d.ts
DELETED