@zydon/common 1.0.20 → 1.0.22
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/dist/App.d.ts.map +1 -1
- package/dist/assets/illustrations/BackgroundIllustration.d.ts +4 -0
- package/dist/assets/illustrations/BackgroundIllustration.d.ts.map +1 -0
- package/dist/assets/illustrations/UploadIllustration.d.ts +5 -0
- package/dist/assets/illustrations/UploadIllustration.d.ts.map +1 -0
- package/dist/assets/illustrations/index.d.ts +2 -0
- package/dist/assets/illustrations/index.d.ts.map +1 -0
- package/dist/components/ColorPickerInput/index.d.ts.map +1 -1
- package/dist/components/Image/index.d.ts.map +1 -1
- package/dist/components/ImageCropModal/index.d.ts.map +1 -1
- package/dist/components/ImageCropModal/props.d.ts +1 -0
- package/dist/components/ImageCropModal/props.d.ts.map +1 -1
- package/dist/components/UploadWithCropField/index.d.ts +5 -0
- package/dist/components/UploadWithCropField/index.d.ts.map +1 -0
- package/dist/components/UploadWithCropField/props.d.ts +14 -0
- package/dist/components/UploadWithCropField/props.d.ts.map +1 -0
- package/dist/components/animate/DialogAnimate.d.ts +9 -0
- package/dist/components/animate/DialogAnimate.d.ts.map +1 -0
- package/dist/components/animate/FabButtonAnimate.d.ts +8 -0
- package/dist/components/animate/FabButtonAnimate.d.ts.map +1 -0
- package/dist/components/animate/IconButtonAnimate.d.ts +5 -0
- package/dist/components/animate/IconButtonAnimate.d.ts.map +1 -0
- package/dist/components/animate/MotionContainer.d.ts +11 -0
- package/dist/components/animate/MotionContainer.d.ts.map +1 -0
- package/dist/components/animate/MotionLazyContainer.d.ts +7 -0
- package/dist/components/animate/MotionLazyContainer.d.ts.map +1 -0
- package/dist/components/animate/MotionViewport.d.ts +11 -0
- package/dist/components/animate/MotionViewport.d.ts.map +1 -0
- package/dist/components/animate/TextAnimate.d.ts +10 -0
- package/dist/components/animate/TextAnimate.d.ts.map +1 -0
- package/dist/components/animate/index.d.ts +9 -0
- package/dist/components/animate/index.d.ts.map +1 -0
- package/dist/components/animate/types.d.ts +27 -0
- package/dist/components/animate/types.d.ts.map +1 -0
- package/dist/components/animate/variants/actions.d.ts +6 -0
- package/dist/components/animate/variants/actions.d.ts.map +1 -0
- package/dist/components/animate/variants/background.d.ts +105 -0
- package/dist/components/animate/variants/background.d.ts.map +1 -0
- package/dist/components/animate/variants/bounce.d.ts +137 -0
- package/dist/components/animate/variants/bounce.d.ts.map +1 -0
- package/dist/components/animate/variants/container.d.ts +20 -0
- package/dist/components/animate/variants/container.d.ts.map +1 -0
- package/dist/components/animate/variants/fade.d.ts +218 -0
- package/dist/components/animate/variants/fade.d.ts.map +1 -0
- package/dist/components/animate/variants/flip.d.ts +76 -0
- package/dist/components/animate/variants/flip.d.ts.map +1 -0
- package/dist/components/animate/variants/index.d.ts +13 -0
- package/dist/components/animate/variants/index.d.ts.map +1 -0
- package/dist/components/animate/variants/path.d.ts +15 -0
- package/dist/components/animate/variants/path.d.ts.map +1 -0
- package/dist/components/animate/variants/rotate.d.ts +40 -0
- package/dist/components/animate/variants/rotate.d.ts.map +1 -0
- package/dist/components/animate/variants/scale.d.ts +76 -0
- package/dist/components/animate/variants/scale.d.ts.map +1 -0
- package/dist/components/animate/variants/slide.d.ts +156 -0
- package/dist/components/animate/variants/slide.d.ts.map +1 -0
- package/dist/components/animate/variants/transition.d.ts +14 -0
- package/dist/components/animate/variants/transition.d.ts.map +1 -0
- package/dist/components/animate/variants/zoom.d.ts +200 -0
- package/dist/components/animate/variants/zoom.d.ts.map +1 -0
- package/dist/components/file-thumbnail/DownloadButton.d.ts +7 -0
- package/dist/components/file-thumbnail/DownloadButton.d.ts.map +1 -0
- package/dist/components/file-thumbnail/FileThumbnail.d.ts +14 -0
- package/dist/components/file-thumbnail/FileThumbnail.d.ts.map +1 -0
- package/dist/components/file-thumbnail/index.d.ts +4 -0
- package/dist/components/file-thumbnail/index.d.ts.map +1 -0
- package/dist/components/file-thumbnail/types.d.ts +6 -0
- package/dist/components/file-thumbnail/types.d.ts.map +1 -0
- package/dist/components/file-thumbnail/utils.d.ts +25 -0
- package/dist/components/file-thumbnail/utils.d.ts.map +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/upload/Upload.d.ts +5 -0
- package/dist/components/upload/Upload.d.ts.map +1 -0
- package/dist/components/upload/UploadAvatar.d.ts +5 -0
- package/dist/components/upload/UploadAvatar.d.ts.map +1 -0
- package/dist/components/upload/UploadBox.d.ts +5 -0
- package/dist/components/upload/UploadBox.d.ts.map +1 -0
- package/dist/components/upload/UploadWithCrop.d.ts +15 -0
- package/dist/components/upload/UploadWithCrop.d.ts.map +1 -0
- package/dist/components/upload/errors/RejectionFiles.d.ts +8 -0
- package/dist/components/upload/errors/RejectionFiles.d.ts.map +1 -0
- package/dist/components/upload/preview/AvatarPreview.d.ts +8 -0
- package/dist/components/upload/preview/AvatarPreview.d.ts.map +1 -0
- package/dist/components/upload/preview/MultiFilePreview.d.ts +5 -0
- package/dist/components/upload/preview/MultiFilePreview.d.ts.map +1 -0
- package/dist/components/upload/preview/SingleFilePreview.d.ts +8 -0
- package/dist/components/upload/preview/SingleFilePreview.d.ts.map +1 -0
- package/dist/features-1dce9d76.js +3424 -0
- package/dist/hooks/useUpload.d.ts +11 -0
- package/dist/hooks/useUpload.d.ts.map +1 -0
- package/dist/index-610c51c6.js +28605 -0
- package/dist/index.js +77 -22837
- package/dist/index.umd.cjs +185 -61
- package/dist/types/upload.d.ts +28 -0
- package/dist/types/upload.d.ts.map +1 -0
- package/dist/utils/formatNumber.d.ts +8 -0
- package/dist/utils/formatNumber.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +5 -1
- package/dist/components/upload/UploadWithCrop/index.d.ts +0 -4
- package/dist/components/upload/UploadWithCrop/index.d.ts.map +0 -1
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { VariantsType } from '../types';
|
|
2
|
+
export declare const varZoom: (props?: VariantsType) => {
|
|
3
|
+
in: {
|
|
4
|
+
initial: {
|
|
5
|
+
scale: number;
|
|
6
|
+
opacity: number;
|
|
7
|
+
};
|
|
8
|
+
animate: {
|
|
9
|
+
scale: number;
|
|
10
|
+
opacity: number;
|
|
11
|
+
transition: {
|
|
12
|
+
duration: number;
|
|
13
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
exit: {
|
|
17
|
+
scale: number;
|
|
18
|
+
opacity: number;
|
|
19
|
+
transition: {
|
|
20
|
+
duration: number;
|
|
21
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
inUp: {
|
|
26
|
+
initial: {
|
|
27
|
+
scale: number;
|
|
28
|
+
opacity: number;
|
|
29
|
+
translateY: number;
|
|
30
|
+
};
|
|
31
|
+
animate: {
|
|
32
|
+
scale: number;
|
|
33
|
+
opacity: number;
|
|
34
|
+
translateY: number;
|
|
35
|
+
transition: {
|
|
36
|
+
duration: number;
|
|
37
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
exit: {
|
|
41
|
+
scale: number;
|
|
42
|
+
opacity: number;
|
|
43
|
+
translateY: number;
|
|
44
|
+
transition: {
|
|
45
|
+
duration: number;
|
|
46
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
inDown: {
|
|
51
|
+
initial: {
|
|
52
|
+
scale: number;
|
|
53
|
+
opacity: number;
|
|
54
|
+
translateY: number;
|
|
55
|
+
};
|
|
56
|
+
animate: {
|
|
57
|
+
scale: number;
|
|
58
|
+
opacity: number;
|
|
59
|
+
translateY: number;
|
|
60
|
+
transition: {
|
|
61
|
+
duration: number;
|
|
62
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
exit: {
|
|
66
|
+
scale: number;
|
|
67
|
+
opacity: number;
|
|
68
|
+
translateY: number;
|
|
69
|
+
transition: {
|
|
70
|
+
duration: number;
|
|
71
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
inLeft: {
|
|
76
|
+
initial: {
|
|
77
|
+
scale: number;
|
|
78
|
+
opacity: number;
|
|
79
|
+
translateX: number;
|
|
80
|
+
};
|
|
81
|
+
animate: {
|
|
82
|
+
scale: number;
|
|
83
|
+
opacity: number;
|
|
84
|
+
translateX: number;
|
|
85
|
+
transition: {
|
|
86
|
+
duration: number;
|
|
87
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
exit: {
|
|
91
|
+
scale: number;
|
|
92
|
+
opacity: number;
|
|
93
|
+
translateX: number;
|
|
94
|
+
transition: {
|
|
95
|
+
duration: number;
|
|
96
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
inRight: {
|
|
101
|
+
initial: {
|
|
102
|
+
scale: number;
|
|
103
|
+
opacity: number;
|
|
104
|
+
translateX: number;
|
|
105
|
+
};
|
|
106
|
+
animate: {
|
|
107
|
+
scale: number;
|
|
108
|
+
opacity: number;
|
|
109
|
+
translateX: number;
|
|
110
|
+
transition: {
|
|
111
|
+
duration: number;
|
|
112
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
exit: {
|
|
116
|
+
scale: number;
|
|
117
|
+
opacity: number;
|
|
118
|
+
translateX: number;
|
|
119
|
+
transition: {
|
|
120
|
+
duration: number;
|
|
121
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
out: {
|
|
126
|
+
initial: {
|
|
127
|
+
scale: number;
|
|
128
|
+
opacity: number;
|
|
129
|
+
};
|
|
130
|
+
animate: {
|
|
131
|
+
scale: number;
|
|
132
|
+
opacity: number;
|
|
133
|
+
transition: {
|
|
134
|
+
duration: number;
|
|
135
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
outUp: {
|
|
140
|
+
initial: {
|
|
141
|
+
scale: number;
|
|
142
|
+
opacity: number;
|
|
143
|
+
};
|
|
144
|
+
animate: {
|
|
145
|
+
scale: number;
|
|
146
|
+
opacity: number;
|
|
147
|
+
translateY: number;
|
|
148
|
+
transition: {
|
|
149
|
+
duration: number;
|
|
150
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
outDown: {
|
|
155
|
+
initial: {
|
|
156
|
+
scale: number;
|
|
157
|
+
opacity: number;
|
|
158
|
+
};
|
|
159
|
+
animate: {
|
|
160
|
+
scale: number;
|
|
161
|
+
opacity: number;
|
|
162
|
+
translateY: number;
|
|
163
|
+
transition: {
|
|
164
|
+
duration: number;
|
|
165
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
outLeft: {
|
|
170
|
+
initial: {
|
|
171
|
+
scale: number;
|
|
172
|
+
opacity: number;
|
|
173
|
+
};
|
|
174
|
+
animate: {
|
|
175
|
+
scale: number;
|
|
176
|
+
opacity: number;
|
|
177
|
+
translateX: number;
|
|
178
|
+
transition: {
|
|
179
|
+
duration: number;
|
|
180
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
outRight: {
|
|
185
|
+
initial: {
|
|
186
|
+
scale: number;
|
|
187
|
+
opacity: number;
|
|
188
|
+
};
|
|
189
|
+
animate: {
|
|
190
|
+
scale: number;
|
|
191
|
+
opacity: number;
|
|
192
|
+
translateX: number;
|
|
193
|
+
transition: {
|
|
194
|
+
duration: number;
|
|
195
|
+
ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
//# sourceMappingURL=zoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zoom.d.ts","sourceRoot":"","sources":["../../../../src/components/animate/variants/zoom.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAMxC,eAAO,MAAM,OAAO,WAAY,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqH3C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloadButton.d.ts","sourceRoot":"","sources":["../../../src/components/file-thumbnail/DownloadButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,KAAK,GAAG;IACX,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkCnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
import { SxProps } from '@mui/material';
|
|
4
|
+
type FileIconProps = {
|
|
5
|
+
file: File | string;
|
|
6
|
+
tooltip?: boolean;
|
|
7
|
+
imageView?: boolean;
|
|
8
|
+
onDownload?: VoidFunction;
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
imgSx?: SxProps<Theme>;
|
|
11
|
+
};
|
|
12
|
+
declare const FileThumbnail: React.FC<FileIconProps>;
|
|
13
|
+
export default FileThumbnail;
|
|
14
|
+
//# sourceMappingURL=FileThumbnail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/file-thumbnail/FileThumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAgB,OAAO,EAAS,MAAM,eAAe,CAAC;AAK7D,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgE1C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/file-thumbnail/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/file-thumbnail/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAW,SAAQ,IAAI;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ExtendFile } from './types';
|
|
2
|
+
export declare function fileFormat(fileUrl: string | undefined): string;
|
|
3
|
+
export declare function fileThumb(fileUrl: string): string;
|
|
4
|
+
export declare function fileTypeByUrl(fileUrl?: string): string;
|
|
5
|
+
export declare function fileNameByUrl(fileUrl: string): string | undefined;
|
|
6
|
+
export declare function fileData(file: ExtendFile | string): {
|
|
7
|
+
key: string;
|
|
8
|
+
preview: string;
|
|
9
|
+
name: string | undefined;
|
|
10
|
+
type: string;
|
|
11
|
+
size?: undefined;
|
|
12
|
+
path?: undefined;
|
|
13
|
+
lastModified?: undefined;
|
|
14
|
+
lastModifiedDate?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
key: string | undefined;
|
|
17
|
+
name: string;
|
|
18
|
+
size: number;
|
|
19
|
+
path: string | undefined;
|
|
20
|
+
type: string;
|
|
21
|
+
preview: string | undefined;
|
|
22
|
+
lastModified: number;
|
|
23
|
+
lastModifiedDate: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/file-thumbnail/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAgBrC,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,UA0CrD;AAID,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,UA4CxC;AAID,wBAAgB,aAAa,CAAC,OAAO,SAAK,UAEzC;AAID,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,sBAE5C;AAID,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM;;;;;;;;;;;;;;;;;;EAsBjD"}
|
|
@@ -19,6 +19,9 @@ export type { PortalProps } from './Portal/props';
|
|
|
19
19
|
export type { ScrollbarProps } from './Scrollbar/props';
|
|
20
20
|
export type { ThemeProviderProps } from './ThemeProvider/props';
|
|
21
21
|
export type { TimePickerProps } from './TimePicker/props';
|
|
22
|
+
export type { UploadProps } from '../types/upload';
|
|
23
|
+
export type { UploadWithCropFieldProps } from './UploadWithCropField/props';
|
|
24
|
+
export * from './animate';
|
|
22
25
|
export { default as ColorPickerField } from './ColorPickerField';
|
|
23
26
|
export { default as ColorPickerInput } from './ColorPickerInput';
|
|
24
27
|
export { default as Common } from './Common';
|
|
@@ -33,6 +36,7 @@ export { default as Field } from './Field';
|
|
|
33
36
|
export { default as Form } from './Form';
|
|
34
37
|
export { default as Iconify } from './Iconify';
|
|
35
38
|
export { default as Image } from './Image';
|
|
39
|
+
export { default as ImageCropModal } from './ImageCropModal';
|
|
36
40
|
export { default as Label } from './Label';
|
|
37
41
|
export { default as MenuPopover } from './MenuPopover';
|
|
38
42
|
export { NavSectionMini, NavSectionVertical, NavSectionHorizontal, } from './nav-section';
|
|
@@ -41,4 +45,9 @@ export { default as Portal } from './Portal';
|
|
|
41
45
|
export { default as Scrollbar } from './Scrollbar';
|
|
42
46
|
export { default as ThemeProvider } from './ThemeProvider';
|
|
43
47
|
export { default as TimePicker } from './TimePicker';
|
|
48
|
+
export { default as Upload } from './upload/Upload';
|
|
49
|
+
export { default as UploadAvatar } from './upload/UploadAvatar';
|
|
50
|
+
export { default as UploadBox } from './upload/UploadBox';
|
|
51
|
+
export { default as UploadWithCrop } from './upload/UploadWithCrop';
|
|
52
|
+
export { default as UploadWithCropField } from './UploadWithCropField';
|
|
44
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,YAAY,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EACV,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,sBAAsB,CAA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O,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Upload.d.ts","sourceRoot":"","sources":["../../../src/components/upload/Upload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAkF3C,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2IjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/upload/UploadAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAqC3C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuFvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadBox.d.ts","sourceRoot":"","sources":["../../../src/components/upload/UploadBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAsB3C,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuCpC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UploadProps } from '../../types/upload';
|
|
3
|
+
interface UploadWithCropProps extends UploadProps {
|
|
4
|
+
onFileCropped(file?: File): void;
|
|
5
|
+
aspect: number;
|
|
6
|
+
size: {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
};
|
|
10
|
+
label: string;
|
|
11
|
+
image?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const UploadWithCrop: React.FC<UploadWithCropProps>;
|
|
14
|
+
export default UploadWithCrop;
|
|
15
|
+
//# sourceMappingURL=UploadWithCrop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadWithCrop.d.ts","sourceRoot":"","sources":["../../../src/components/upload/UploadWithCrop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAI3C,UAAU,mBAAoB,SAAQ,WAAW;IAC/C,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgEjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RejectionFiles.d.ts","sourceRoot":"","sources":["../../../../src/components/upload/errors/RejectionFiles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C,KAAK,KAAK,GAAG;IACX,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAuCnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/upload/preview/AvatarPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAqBlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiFilePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/upload/preview/MultiFilePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+G3C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomFile } from '../../../types/upload';
|
|
3
|
+
type Props = {
|
|
4
|
+
file: CustomFile | string | null;
|
|
5
|
+
};
|
|
6
|
+
declare const SingleFilePreview: React.FC<Props>;
|
|
7
|
+
export default SingleFilePreview;
|
|
8
|
+
//# sourceMappingURL=SingleFilePreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingleFilePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/upload/preview/SingleFilePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkCtC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|