@uploadcare/file-uploader 1.15.0-alpha.3 → 1.15.0-alpha.5
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/abstract/ActivityBlock.d.ts.map +1 -1
- package/abstract/ActivityBlock.js +3 -0
- package/abstract/UploaderBlock.js +1 -1
- package/blocks/Config/Config.d.ts +1 -1
- package/blocks/Config/Config.d.ts.map +1 -1
- package/blocks/Config/initialConfig.js +3 -3
- package/blocks/Config/normalizeConfigValue.d.ts +2 -1
- package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
- package/blocks/Config/normalizeConfigValue.js +18 -109
- package/blocks/Config/validatorsType.d.ts +37 -0
- package/blocks/Config/validatorsType.d.ts.map +1 -0
- package/blocks/Config/validatorsType.js +134 -0
- package/blocks/DropArea/DropArea.d.ts +1 -0
- package/blocks/DropArea/DropArea.d.ts.map +1 -1
- package/blocks/DropArea/DropArea.js +20 -2
- package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
- package/blocks/ExternalSource/ExternalSource.js +0 -1
- package/blocks/FileItem/FileItem.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.js +12 -13
- package/blocks/FileItem/file-item.css +24 -0
- package/blocks/Modal/Modal.d.ts +0 -2
- package/blocks/Modal/Modal.d.ts.map +1 -1
- package/blocks/Modal/Modal.js +0 -2
- package/blocks/ProgressBar/progress-bar.css +1 -0
- package/blocks/SimpleBtn/SimpleBtn.js +1 -1
- package/blocks/Thumb/Thumb.d.ts +24 -0
- package/blocks/Thumb/Thumb.d.ts.map +1 -0
- package/blocks/Thumb/Thumb.js +45 -0
- package/blocks/Thumb/thumb.css +4 -0
- package/blocks/UploadList/UploadList.d.ts +2 -0
- package/blocks/UploadList/UploadList.d.ts.map +1 -1
- package/blocks/UploadList/UploadList.js +3 -1
- package/blocks/themes/uc-basic/common.css +1 -1
- package/blocks/themes/uc-basic/index.css +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.ssr.d.ts +51 -0
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +72 -12
- package/package.json +1 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +3 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +1 -1
- package/solutions/file-uploader/minimal/FileUploaderMinimal.js +63 -13
- package/solutions/file-uploader/minimal/index.css +15 -14
- package/solutions/file-uploader/minimal/index.d.ts +1 -16
- package/solutions/file-uploader/minimal/index.js +1 -18
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +1 -3
- package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
- package/solutions/file-uploader/regular/FileUploaderRegular.js +1 -15
- package/types/exported.d.ts +4 -3
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.js +4 -4
- package/web/uc-basic.min.css +1 -1
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.min.css +1 -1
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.css +1 -1
- package/web/uc-file-uploader-minimal.min.js +4 -4
- package/web/uc-file-uploader-regular.min.css +1 -1
- package/web/uc-file-uploader-regular.min.js +4 -4
package/types/exported.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { LocaleDefinition } from '../abstract/localeRegistry';
|
|
|
2
2
|
import type { complexConfigKeys } from '../blocks/Config/Config';
|
|
3
3
|
import type { FuncFileValidator, FuncCollectionValidator } from '../abstract/ValidationManager';
|
|
4
4
|
import type { CameraMode } from '../blocks/CameraSource/CameraSource';
|
|
5
|
+
import type { FilesViewMode } from '../blocks/UploadList/UploadList';
|
|
5
6
|
|
|
6
7
|
export type { FuncFileValidator, FuncCollectionValidator } from '../abstract/ValidationManager';
|
|
7
8
|
export type { UploaderPublicApi } from '../abstract/UploaderPublicApi';
|
|
@@ -279,11 +280,11 @@ export type ConfigType = {
|
|
|
279
280
|
*/
|
|
280
281
|
mediaRecorderOptions: MediaRecorderOptions | null;
|
|
281
282
|
|
|
282
|
-
|
|
283
|
+
filesViewMode: FilesViewMode;
|
|
283
284
|
|
|
284
|
-
|
|
285
|
+
gridShowFileNames: boolean;
|
|
285
286
|
|
|
286
|
-
|
|
287
|
+
cloudImageEditorAutoOpen: boolean;
|
|
287
288
|
};
|
|
288
289
|
export type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
|
|
289
290
|
export type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;
|