@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.
Files changed (60) hide show
  1. package/abstract/ActivityBlock.d.ts.map +1 -1
  2. package/abstract/ActivityBlock.js +3 -0
  3. package/abstract/UploaderBlock.js +1 -1
  4. package/blocks/Config/Config.d.ts +1 -1
  5. package/blocks/Config/Config.d.ts.map +1 -1
  6. package/blocks/Config/initialConfig.js +3 -3
  7. package/blocks/Config/normalizeConfigValue.d.ts +2 -1
  8. package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
  9. package/blocks/Config/normalizeConfigValue.js +18 -109
  10. package/blocks/Config/validatorsType.d.ts +37 -0
  11. package/blocks/Config/validatorsType.d.ts.map +1 -0
  12. package/blocks/Config/validatorsType.js +134 -0
  13. package/blocks/DropArea/DropArea.d.ts +1 -0
  14. package/blocks/DropArea/DropArea.d.ts.map +1 -1
  15. package/blocks/DropArea/DropArea.js +20 -2
  16. package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
  17. package/blocks/ExternalSource/ExternalSource.js +0 -1
  18. package/blocks/FileItem/FileItem.d.ts.map +1 -1
  19. package/blocks/FileItem/FileItem.js +12 -13
  20. package/blocks/FileItem/file-item.css +24 -0
  21. package/blocks/Modal/Modal.d.ts +0 -2
  22. package/blocks/Modal/Modal.d.ts.map +1 -1
  23. package/blocks/Modal/Modal.js +0 -2
  24. package/blocks/ProgressBar/progress-bar.css +1 -0
  25. package/blocks/SimpleBtn/SimpleBtn.js +1 -1
  26. package/blocks/Thumb/Thumb.d.ts +24 -0
  27. package/blocks/Thumb/Thumb.d.ts.map +1 -0
  28. package/blocks/Thumb/Thumb.js +45 -0
  29. package/blocks/Thumb/thumb.css +4 -0
  30. package/blocks/UploadList/UploadList.d.ts +2 -0
  31. package/blocks/UploadList/UploadList.d.ts.map +1 -1
  32. package/blocks/UploadList/UploadList.js +3 -1
  33. package/blocks/themes/uc-basic/common.css +1 -1
  34. package/blocks/themes/uc-basic/index.css +1 -0
  35. package/index.d.ts +1 -0
  36. package/index.js +1 -0
  37. package/index.ssr.d.ts +51 -0
  38. package/index.ssr.d.ts.map +1 -1
  39. package/index.ssr.js +72 -12
  40. package/package.json +1 -1
  41. package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +3 -1
  42. package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +1 -1
  43. package/solutions/file-uploader/minimal/FileUploaderMinimal.js +63 -13
  44. package/solutions/file-uploader/minimal/index.css +15 -14
  45. package/solutions/file-uploader/minimal/index.d.ts +1 -16
  46. package/solutions/file-uploader/minimal/index.js +1 -18
  47. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +1 -3
  48. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
  49. package/solutions/file-uploader/regular/FileUploaderRegular.js +1 -15
  50. package/types/exported.d.ts +4 -3
  51. package/web/file-uploader.iife.min.js +4 -4
  52. package/web/file-uploader.min.js +4 -4
  53. package/web/uc-basic.min.css +1 -1
  54. package/web/uc-cloud-image-editor.min.js +4 -4
  55. package/web/uc-file-uploader-inline.min.css +1 -1
  56. package/web/uc-file-uploader-inline.min.js +4 -4
  57. package/web/uc-file-uploader-minimal.min.css +1 -1
  58. package/web/uc-file-uploader-minimal.min.js +4 -4
  59. package/web/uc-file-uploader-regular.min.css +1 -1
  60. package/web/uc-file-uploader-regular.min.js +4 -4
@@ -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
- displayUploadList: string;
283
+ filesViewMode: FilesViewMode;
283
284
 
284
- enableFileName: boolean;
285
+ gridShowFileNames: boolean;
285
286
 
286
- usePreviewImage: boolean;
287
+ cloudImageEditorAutoOpen: boolean;
287
288
  };
288
289
  export type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
289
290
  export type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;