@webiny/app-file-manager 6.3.0 → 6.4.0-beta.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.
Files changed (1132) hide show
  1. package/app.js +48 -14
  2. package/app.js.map +1 -1
  3. package/domain/constants.js +7 -0
  4. package/domain/constants.js.map +1 -0
  5. package/domain/permissionsSchema.js +28 -17
  6. package/domain/permissionsSchema.js.map +1 -1
  7. package/domain/tagsHelpers.js +25 -0
  8. package/domain/tagsHelpers.js.map +1 -0
  9. package/domain/types.d.ts +34 -0
  10. package/domain/types.js +0 -0
  11. package/features/deleteFile/DeleteFile.test.js +150 -0
  12. package/features/deleteFile/DeleteFile.test.js.map +1 -0
  13. package/features/deleteFile/DeleteFileGateway.d.ts +11 -0
  14. package/features/deleteFile/DeleteFileGateway.js +23 -0
  15. package/features/deleteFile/DeleteFileGateway.js.map +1 -0
  16. package/features/deleteFile/DeleteFileRepository.d.ts +12 -0
  17. package/features/deleteFile/DeleteFileRepository.js +26 -0
  18. package/features/deleteFile/DeleteFileRepository.js.map +1 -0
  19. package/features/deleteFile/DeleteFileUseCase.d.ts +10 -0
  20. package/features/deleteFile/DeleteFileUseCase.js +34 -0
  21. package/features/deleteFile/DeleteFileUseCase.js.map +1 -0
  22. package/features/deleteFile/abstractions.d.ts +36 -0
  23. package/features/deleteFile/abstractions.js +7 -0
  24. package/features/deleteFile/abstractions.js.map +1 -0
  25. package/features/deleteFile/feature.d.ts +3 -0
  26. package/features/deleteFile/feature.js +21 -0
  27. package/features/deleteFile/feature.js.map +1 -0
  28. package/features/deleteFile/index.d.ts +3 -0
  29. package/features/deleteFile/index.js +2 -0
  30. package/features/fileModel/FileModelProvider.d.ts +12 -0
  31. package/features/fileModel/FileModelProvider.js +21 -0
  32. package/features/fileModel/FileModelProvider.js.map +1 -0
  33. package/features/fileModel/GetFileModelGqlGateway.d.ts +12 -0
  34. package/features/fileModel/GetFileModelGqlGateway.js +38 -0
  35. package/features/fileModel/GetFileModelGqlGateway.js.map +1 -0
  36. package/features/fileModel/GetFileModelRepository.d.ts +14 -0
  37. package/features/fileModel/GetFileModelRepository.js +32 -0
  38. package/features/fileModel/GetFileModelRepository.js.map +1 -0
  39. package/features/fileModel/abstractions.d.ts +24 -0
  40. package/features/fileModel/abstractions.js +7 -0
  41. package/features/fileModel/abstractions.js.map +1 -0
  42. package/features/fileModel/feature.d.ts +1 -0
  43. package/features/fileModel/feature.js +15 -0
  44. package/features/fileModel/feature.js.map +1 -0
  45. package/features/fileModel/index.d.ts +2 -0
  46. package/features/fileModel/index.js +2 -0
  47. package/features/fileUploader/FileUploader.d.ts +22 -0
  48. package/features/fileUploader/FileUploader.js +239 -0
  49. package/features/fileUploader/FileUploader.js.map +1 -0
  50. package/features/fileUploader/FileUploader.test.js +425 -0
  51. package/features/fileUploader/FileUploader.test.js.map +1 -0
  52. package/features/fileUploader/abstractions.d.ts +51 -0
  53. package/features/fileUploader/abstractions.js +5 -0
  54. package/features/fileUploader/abstractions.js.map +1 -0
  55. package/features/fileUploader/feature.d.ts +3 -0
  56. package/features/fileUploader/feature.js +17 -0
  57. package/features/fileUploader/feature.js.map +1 -0
  58. package/features/fileUploader/index.d.ts +3 -0
  59. package/features/fileUploader/index.js +2 -0
  60. package/features/getFile/GetFileGateway.js +17 -16
  61. package/features/getFile/GetFileGateway.js.map +1 -1
  62. package/features/getFile/GetFileRepository.js +13 -10
  63. package/features/getFile/GetFileRepository.js.map +1 -1
  64. package/features/getFile/GetFileUseCase.js +28 -25
  65. package/features/getFile/GetFileUseCase.js.map +1 -1
  66. package/features/getFile/abstractions.js +4 -12
  67. package/features/getFile/abstractions.js.map +1 -1
  68. package/features/getFile/feature.js +15 -14
  69. package/features/getFile/feature.js.map +1 -1
  70. package/features/getFile/index.js +1 -3
  71. package/features/listFiles/ListFiles.test.js +192 -0
  72. package/features/listFiles/ListFiles.test.js.map +1 -0
  73. package/features/listFiles/ListFilesGateway.d.ts +11 -0
  74. package/features/listFiles/ListFilesGateway.js +32 -0
  75. package/features/listFiles/ListFilesGateway.js.map +1 -0
  76. package/features/listFiles/ListFilesRepository.d.ts +12 -0
  77. package/features/listFiles/ListFilesRepository.js +26 -0
  78. package/features/listFiles/ListFilesRepository.js.map +1 -0
  79. package/features/listFiles/ListFilesUseCase.d.ts +10 -0
  80. package/features/listFiles/ListFilesUseCase.js +28 -0
  81. package/features/listFiles/ListFilesUseCase.js.map +1 -0
  82. package/features/listFiles/abstractions.d.ts +45 -0
  83. package/features/listFiles/abstractions.js +7 -0
  84. package/features/listFiles/abstractions.js.map +1 -0
  85. package/features/listFiles/feature.d.ts +3 -0
  86. package/features/listFiles/feature.js +21 -0
  87. package/features/listFiles/feature.js.map +1 -0
  88. package/features/listFiles/index.d.ts +3 -0
  89. package/features/listFiles/index.js +2 -0
  90. package/features/permissions/abstractions.d.ts +2 -2
  91. package/features/permissions/abstractions.js +2 -1
  92. package/features/permissions/abstractions.js.map +1 -1
  93. package/features/permissions/feature.d.ts +2 -2
  94. package/features/permissions/feature.js +2 -1
  95. package/features/permissions/feature.js.map +1 -1
  96. package/features/resolveImageTool/ResolveImageTool.js +49 -0
  97. package/features/resolveImageTool/ResolveImageTool.js.map +1 -0
  98. package/features/resolveImageTool/feature.js +11 -0
  99. package/features/resolveImageTool/feature.js.map +1 -0
  100. package/features/settings/GetSettings.test.d.ts +1 -0
  101. package/features/settings/GetSettings.test.js +92 -0
  102. package/features/settings/GetSettings.test.js.map +1 -0
  103. package/features/settings/GetSettingsGateway.d.ts +12 -0
  104. package/features/settings/GetSettingsGateway.js +43 -0
  105. package/features/settings/GetSettingsGateway.js.map +1 -0
  106. package/features/settings/GetSettingsRepository.d.ts +14 -0
  107. package/features/settings/GetSettingsRepository.js +34 -0
  108. package/features/settings/GetSettingsRepository.js.map +1 -0
  109. package/features/settings/GetSettingsUseCase.d.ts +11 -0
  110. package/features/settings/GetSettingsUseCase.js +18 -0
  111. package/features/settings/GetSettingsUseCase.js.map +1 -0
  112. package/features/settings/SaveSettingsGateway.d.ts +12 -0
  113. package/features/settings/SaveSettingsGateway.js +50 -0
  114. package/features/settings/SaveSettingsGateway.js.map +1 -0
  115. package/features/settings/abstractions.d.ts +31 -0
  116. package/features/settings/abstractions.js +8 -0
  117. package/features/settings/abstractions.js.map +1 -0
  118. package/features/settings/feature.d.ts +3 -0
  119. package/features/settings/feature.js +23 -0
  120. package/features/settings/feature.js.map +1 -0
  121. package/features/settings/index.d.ts +3 -0
  122. package/features/settings/index.js +2 -0
  123. package/features/shared/FILE_FIELDS.js +30 -1
  124. package/features/shared/FILE_FIELDS.js.map +1 -1
  125. package/features/shared/FilesListCache.d.ts +1 -0
  126. package/features/shared/FilesListCache.js +1 -0
  127. package/features/shared/abstractions.d.ts +6 -0
  128. package/features/shared/abstractions.js +5 -0
  129. package/features/shared/abstractions.js.map +1 -0
  130. package/features/shared/feature.d.ts +4 -0
  131. package/features/shared/feature.js +17 -0
  132. package/features/shared/feature.js.map +1 -0
  133. package/features/shared/index.d.ts +4 -0
  134. package/features/shared/index.js +3 -0
  135. package/features/shared/types.js +0 -3
  136. package/features/tags/ListTags.test.d.ts +1 -0
  137. package/features/tags/ListTags.test.js +126 -0
  138. package/features/tags/ListTags.test.js.map +1 -0
  139. package/features/tags/ListTagsGateway.d.ts +11 -0
  140. package/features/tags/ListTagsGateway.js +23 -0
  141. package/features/tags/ListTagsGateway.js.map +1 -0
  142. package/features/tags/ListTagsRepository.d.ts +12 -0
  143. package/features/tags/ListTagsRepository.js +25 -0
  144. package/features/tags/ListTagsRepository.js.map +1 -0
  145. package/features/tags/ListTagsUseCase.d.ts +10 -0
  146. package/features/tags/ListTagsUseCase.js +20 -0
  147. package/features/tags/ListTagsUseCase.js.map +1 -0
  148. package/features/tags/abstractions.d.ts +32 -0
  149. package/features/tags/abstractions.js +7 -0
  150. package/features/tags/abstractions.js.map +1 -0
  151. package/features/tags/feature.d.ts +3 -0
  152. package/features/tags/feature.js +21 -0
  153. package/features/tags/feature.js.map +1 -0
  154. package/features/tags/index.d.ts +3 -0
  155. package/features/tags/index.js +2 -0
  156. package/features/updateFile/UpdateFile.test.d.ts +1 -0
  157. package/features/updateFile/UpdateFile.test.js +258 -0
  158. package/features/updateFile/UpdateFile.test.js.map +1 -0
  159. package/features/updateFile/UpdateFileGateway.d.ts +12 -0
  160. package/features/updateFile/UpdateFileGateway.js +25 -0
  161. package/features/updateFile/UpdateFileGateway.js.map +1 -0
  162. package/features/updateFile/UpdateFileRepository.d.ts +13 -0
  163. package/features/updateFile/UpdateFileRepository.js +30 -0
  164. package/features/updateFile/UpdateFileRepository.js.map +1 -0
  165. package/features/updateFile/UpdateFileUseCase.d.ts +10 -0
  166. package/features/updateFile/UpdateFileUseCase.js +38 -0
  167. package/features/updateFile/UpdateFileUseCase.js.map +1 -0
  168. package/features/updateFile/abstractions.d.ts +53 -0
  169. package/features/updateFile/abstractions.js +7 -0
  170. package/features/updateFile/abstractions.js.map +1 -0
  171. package/features/updateFile/feature.d.ts +3 -0
  172. package/features/updateFile/feature.js +21 -0
  173. package/features/updateFile/feature.js.map +1 -0
  174. package/features/updateFile/index.d.ts +3 -0
  175. package/features/updateFile/index.js +2 -0
  176. package/index.d.ts +3 -8
  177. package/index.js +3 -10
  178. package/modules/Enterprise/HandleWebsocketMessages.js +46 -50
  179. package/modules/Enterprise/HandleWebsocketMessages.js.map +1 -1
  180. package/modules/Enterprise/components/ThreatScanInProgressFileBody.js +19 -20
  181. package/modules/Enterprise/components/ThreatScanInProgressFileBody.js.map +1 -1
  182. package/modules/Enterprise/components/ThreatScanInProgressTableCell.js +15 -27
  183. package/modules/Enterprise/components/ThreatScanInProgressTableCell.js.map +1 -1
  184. package/modules/Enterprise/constants.js +3 -2
  185. package/modules/Enterprise/constants.js.map +1 -1
  186. package/modules/Enterprise/index.js +21 -31
  187. package/modules/Enterprise/index.js.map +1 -1
  188. package/modules/FileManagerRoutes.d.ts +2 -0
  189. package/modules/FileManagerRoutes.js +31 -0
  190. package/modules/FileManagerRoutes.js.map +1 -0
  191. package/modules/FileModelModule.d.ts +2 -0
  192. package/modules/FileModelModule.js +18 -0
  193. package/modules/FileModelModule.js.map +1 -0
  194. package/modules/HeadlessCms/fileField.js +38 -34
  195. package/modules/HeadlessCms/fileField.js.map +1 -1
  196. package/modules/HeadlessCms/fileRenderer/fileField.js +43 -61
  197. package/modules/HeadlessCms/fileRenderer/fileField.js.map +1 -1
  198. package/modules/HeadlessCms/fileRenderer/fileFields.js +60 -92
  199. package/modules/HeadlessCms/fileRenderer/fileFields.js.map +1 -1
  200. package/modules/HeadlessCms/fileRenderer/utils.js +13 -4
  201. package/modules/HeadlessCms/fileRenderer/utils.js.map +1 -1
  202. package/modules/HeadlessCms/index.js +6 -5
  203. package/modules/HeadlessCms/index.js.map +1 -1
  204. package/modules/SecurityPermissions.js +11 -14
  205. package/modules/SecurityPermissions.js.map +1 -1
  206. package/modules/Settings/assets/icons/folder-open.js +19 -0
  207. package/modules/Settings/assets/icons/folder-open.js.map +1 -0
  208. package/modules/Settings/graphql.js +6 -5
  209. package/modules/Settings/graphql.js.map +1 -1
  210. package/modules/Settings/index.js +23 -28
  211. package/modules/Settings/index.js.map +1 -1
  212. package/modules/Settings/views/FileManagerSettings.js +121 -139
  213. package/modules/Settings/views/FileManagerSettings.js.map +1 -1
  214. package/package.json +23 -25
  215. package/presentation/FileActions/FileDetails/CopyUrl.js +19 -0
  216. package/presentation/FileActions/FileDetails/CopyUrl.js.map +1 -0
  217. package/presentation/FileActions/FileDetails/DeleteImage.js +24 -0
  218. package/presentation/FileActions/FileDetails/DeleteImage.js.map +1 -0
  219. package/presentation/FileActions/FileDetails/Download.js +19 -0
  220. package/presentation/FileActions/FileDetails/Download.js.map +1 -0
  221. package/presentation/FileActions/FileDetails/MoveToFolder.js +16 -0
  222. package/presentation/FileActions/FileDetails/MoveToFolder.js.map +1 -0
  223. package/presentation/FileActions/Grid/Delete.js +23 -0
  224. package/presentation/FileActions/Grid/Delete.js.map +1 -0
  225. package/presentation/FileActions/Grid/Download.js +19 -0
  226. package/presentation/FileActions/Grid/Download.js.map +1 -0
  227. package/presentation/FileActions/Grid/MoveToFolder.js +16 -0
  228. package/presentation/FileActions/Grid/MoveToFolder.js.map +1 -0
  229. package/presentation/FileActions/Grid/Settings.js +23 -0
  230. package/presentation/FileActions/Grid/Settings.js.map +1 -0
  231. package/presentation/FileActions/index.js +39 -0
  232. package/presentation/FileActions/index.js.map +1 -0
  233. package/presentation/FileDetails/FileDetailsPresenter.d.ts +28 -0
  234. package/presentation/FileDetails/FileDetailsPresenter.js +138 -0
  235. package/presentation/FileDetails/FileDetailsPresenter.js.map +1 -0
  236. package/presentation/FileDetails/FileDetailsPresenter.test.d.ts +1 -0
  237. package/presentation/FileDetails/FileDetailsPresenter.test.js +280 -0
  238. package/presentation/FileDetails/FileDetailsPresenter.test.js.map +1 -0
  239. package/presentation/FileDetails/abstractions.d.ts +22 -0
  240. package/presentation/FileDetails/abstractions.js +5 -0
  241. package/presentation/FileDetails/abstractions.js.map +1 -0
  242. package/presentation/FileDetails/components/ActionButton.js +15 -0
  243. package/presentation/FileDetails/components/ActionButton.js.map +1 -0
  244. package/presentation/FileDetails/components/Actions.js +13 -0
  245. package/presentation/FileDetails/components/Actions.js.map +1 -0
  246. package/presentation/FileDetails/components/Content.js +20 -0
  247. package/presentation/FileDetails/components/Content.js.map +1 -0
  248. package/presentation/FileDetails/components/CreatedOn.js +21 -0
  249. package/presentation/FileDetails/components/CreatedOn.js.map +1 -0
  250. package/presentation/FileDetails/components/Description.js +16 -0
  251. package/presentation/FileDetails/components/Description.js.map +1 -0
  252. package/presentation/FileDetails/components/FileDetailsDrawer.d.ts +4 -0
  253. package/presentation/FileDetails/components/FileDetailsDrawer.js +73 -0
  254. package/presentation/FileDetails/components/FileDetailsDrawer.js.map +1 -0
  255. package/presentation/FileDetails/components/Preview.js +15 -0
  256. package/presentation/FileDetails/components/Preview.js.map +1 -0
  257. package/presentation/FileDetails/components/Thumbnail.js +12 -0
  258. package/presentation/FileDetails/components/Thumbnail.js.map +1 -0
  259. package/presentation/FileDetails/feature.d.ts +3 -0
  260. package/presentation/FileDetails/feature.js +17 -0
  261. package/presentation/FileDetails/feature.js.map +1 -0
  262. package/presentation/FileDetails/index.d.ts +3 -0
  263. package/presentation/FileDetails/index.js +2 -0
  264. package/presentation/FileList/FileListDataSource.d.ts +20 -0
  265. package/presentation/FileList/FileListDataSource.js +122 -0
  266. package/presentation/FileList/FileListDataSource.js.map +1 -0
  267. package/presentation/FileList/FileListPresenter.test.d.ts +1 -0
  268. package/presentation/FileList/FileListPresenter.test.js +406 -0
  269. package/presentation/FileList/FileListPresenter.test.js.map +1 -0
  270. package/presentation/FileList/FileManagerPresenter.d.ts +43 -0
  271. package/presentation/FileList/FileManagerPresenter.js +213 -0
  272. package/presentation/FileList/FileManagerPresenter.js.map +1 -0
  273. package/presentation/FileList/FileManagerPresenterProvider.d.ts +9 -0
  274. package/presentation/FileList/FileManagerPresenterProvider.js +13 -0
  275. package/presentation/FileList/FileManagerPresenterProvider.js.map +1 -0
  276. package/presentation/FileList/abstractions.d.ts +75 -0
  277. package/presentation/FileList/abstractions.js +5 -0
  278. package/presentation/FileList/abstractions.js.map +1 -0
  279. package/presentation/FileList/components/BottomInfoBar/BottomInfoBar.js +12 -0
  280. package/presentation/FileList/components/BottomInfoBar/BottomInfoBar.js.map +1 -0
  281. package/presentation/FileList/components/BottomInfoBar/ListStatus.js +20 -0
  282. package/presentation/FileList/components/BottomInfoBar/ListStatus.js.map +1 -0
  283. package/presentation/FileList/components/BottomInfoBar/SupportedFileTypes.js +56 -0
  284. package/presentation/FileList/components/BottomInfoBar/SupportedFileTypes.js.map +1 -0
  285. package/presentation/FileList/components/BottomInfoBar/index.js +1 -0
  286. package/presentation/FileList/components/BulkActions/ActionEdit.types.d.ts +2 -0
  287. package/presentation/FileList/components/BulkActions/ActionEdit.types.js +0 -0
  288. package/presentation/FileList/components/BulkActions/ActionEditPresenter.d.ts +35 -0
  289. package/presentation/FileList/components/BulkActions/ActionEditPresenter.js +55 -0
  290. package/presentation/FileList/components/BulkActions/ActionEditPresenter.js.map +1 -0
  291. package/presentation/FileList/components/BulkActions/ActionEditPresenter.test.d.ts +1 -0
  292. package/presentation/FileList/components/BulkActions/ActionEditPresenter.test.js +170 -0
  293. package/presentation/FileList/components/BulkActions/ActionEditPresenter.test.js.map +1 -0
  294. package/presentation/FileList/components/BulkActions/BatchEditorDialog/AddOperation.js +15 -0
  295. package/presentation/FileList/components/BulkActions/BatchEditorDialog/AddOperation.js.map +1 -0
  296. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditor.d.ts +15 -0
  297. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditor.js +44 -0
  298. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditor.js.map +1 -0
  299. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialog.d.ts +15 -0
  300. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialog.js +52 -0
  301. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialog.js.map +1 -0
  302. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialogPresenter.d.ts +61 -0
  303. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialogPresenter.js +111 -0
  304. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialogPresenter.js.map +1 -0
  305. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialogPresenter.test.d.ts +1 -0
  306. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialogPresenter.test.js +372 -0
  307. package/presentation/FileList/components/BulkActions/BatchEditorDialog/BatchEditorDialogPresenter.test.js.map +1 -0
  308. package/presentation/FileList/components/BulkActions/BatchEditorDialog/FieldRenderer.d.ts +8 -0
  309. package/presentation/FileList/components/BulkActions/BatchEditorDialog/FieldRenderer.js +31 -0
  310. package/presentation/FileList/components/BulkActions/BatchEditorDialog/FieldRenderer.js.map +1 -0
  311. package/presentation/FileList/components/BulkActions/BatchEditorDialog/Operation.d.ts +11 -0
  312. package/presentation/FileList/components/BulkActions/BatchEditorDialog/Operation.js +33 -0
  313. package/presentation/FileList/components/BulkActions/BatchEditorDialog/Operation.js.map +1 -0
  314. package/presentation/FileList/components/BulkActions/BatchEditorDialog/index.js +1 -0
  315. package/presentation/FileList/components/BulkActions/BulkActionBar.d.ts +5 -0
  316. package/presentation/FileList/components/BulkActions/BulkActionBar.js +42 -0
  317. package/presentation/FileList/components/BulkActions/BulkActionBar.js.map +1 -0
  318. package/presentation/FileList/components/BulkActions/BulkActionDelete.d.ts +4 -0
  319. package/presentation/FileList/components/BulkActions/BulkActionDelete.js +65 -0
  320. package/presentation/FileList/components/BulkActions/BulkActionDelete.js.map +1 -0
  321. package/presentation/FileList/components/BulkActions/BulkActionEdit.d.ts +4 -0
  322. package/presentation/FileList/components/BulkActions/BulkActionEdit.js +105 -0
  323. package/presentation/FileList/components/BulkActions/BulkActionEdit.js.map +1 -0
  324. package/presentation/FileList/components/BulkActions/BulkActionMove.d.ts +4 -0
  325. package/presentation/FileList/components/BulkActions/BulkActionMove.js +87 -0
  326. package/presentation/FileList/components/BulkActions/BulkActionMove.js.map +1 -0
  327. package/presentation/FileList/components/BulkActions/GraphQLInputMapper.d.ts +23 -0
  328. package/presentation/FileList/components/BulkActions/GraphQLInputMapper.js +40 -0
  329. package/presentation/FileList/components/BulkActions/GraphQLInputMapper.js.map +1 -0
  330. package/presentation/FileList/components/BulkActions/GraphQLInputMapper.test.d.ts +1 -0
  331. package/presentation/FileList/components/BulkActions/GraphQLInputMapper.test.js +319 -0
  332. package/presentation/FileList/components/BulkActions/GraphQLInputMapper.test.js.map +1 -0
  333. package/presentation/FileList/components/BulkActions/domain/Batch.js +32 -0
  334. package/presentation/FileList/components/BulkActions/domain/Batch.js.map +1 -0
  335. package/presentation/FileList/components/BulkActions/domain/BatchMapper.js +14 -0
  336. package/presentation/FileList/components/BulkActions/domain/BatchMapper.js.map +1 -0
  337. package/presentation/FileList/components/BulkActions/domain/Field.js +49 -0
  338. package/presentation/FileList/components/BulkActions/domain/Field.js.map +1 -0
  339. package/presentation/FileList/components/BulkActions/domain/FieldMapper.js +21 -0
  340. package/presentation/FileList/components/BulkActions/domain/FieldMapper.js.map +1 -0
  341. package/presentation/FileList/components/BulkActions/domain/index.js +4 -0
  342. package/presentation/FileList/components/BulkActions/index.d.ts +5 -0
  343. package/presentation/FileList/components/BulkActions/index.js +5 -0
  344. package/presentation/FileList/components/BulkActions/useBulkActionWorker.d.ts +16 -0
  345. package/presentation/FileList/components/BulkActions/useBulkActionWorker.js +43 -0
  346. package/presentation/FileList/components/BulkActions/useBulkActionWorker.js.map +1 -0
  347. package/presentation/FileList/components/Empty/Empty.js +20 -0
  348. package/presentation/FileList/components/Empty/Empty.js.map +1 -0
  349. package/presentation/FileList/components/Empty/index.js +1 -0
  350. package/presentation/FileList/components/FileDropArea/FileDropArea.js +63 -0
  351. package/presentation/FileList/components/FileDropArea/FileDropArea.js.map +1 -0
  352. package/presentation/FileList/components/FileDropArea/index.js +1 -0
  353. package/presentation/FileList/components/FileDropPlaceholder/FileDropPlaceholder.js +11 -0
  354. package/presentation/FileList/components/FileDropPlaceholder/FileDropPlaceholder.js.map +1 -0
  355. package/presentation/FileList/components/FileDropPlaceholder/index.js +1 -0
  356. package/presentation/FileList/components/FilePicker/FilePicker.d.ts +11 -0
  357. package/presentation/FileList/components/FilePicker/FilePicker.js +28 -0
  358. package/presentation/FileList/components/FilePicker/FilePicker.js.map +1 -0
  359. package/presentation/FileList/components/Filters/FilterByType.js +39 -0
  360. package/presentation/FileList/components/Filters/FilterByType.js.map +1 -0
  361. package/presentation/FileList/components/Filters/SubFoldersToggle.d.ts +9 -0
  362. package/presentation/FileList/components/Filters/SubFoldersToggle.js +25 -0
  363. package/presentation/FileList/components/Filters/SubFoldersToggle.js.map +1 -0
  364. package/presentation/FileList/components/Filters/TagsFilter.d.ts +9 -0
  365. package/presentation/FileList/components/Filters/TagsFilter.js +86 -0
  366. package/presentation/FileList/components/Filters/TagsFilter.js.map +1 -0
  367. package/presentation/FileList/components/Filters/TypeFilter.d.ts +8 -0
  368. package/presentation/FileList/components/Filters/TypeFilter.js +46 -0
  369. package/presentation/FileList/components/Filters/TypeFilter.js.map +1 -0
  370. package/presentation/FileList/components/Filters/index.d.ts +3 -0
  371. package/presentation/FileList/components/Filters/index.js +3 -0
  372. package/presentation/FileList/components/Grid/ActionButton.d.ts +9 -0
  373. package/presentation/FileList/components/Grid/ActionButton.js +24 -0
  374. package/presentation/FileList/components/Grid/ActionButton.js.map +1 -0
  375. package/presentation/FileList/components/Grid/File.d.ts +32 -0
  376. package/presentation/FileList/components/Grid/File.js +84 -0
  377. package/presentation/FileList/components/Grid/File.js.map +1 -0
  378. package/presentation/FileList/components/Grid/FileGrid.d.ts +9 -0
  379. package/presentation/FileList/components/Grid/FileGrid.js +168 -0
  380. package/presentation/FileList/components/Grid/FileGrid.js.map +1 -0
  381. package/presentation/FileList/components/Grid/FileGrid.test.d.ts +1 -0
  382. package/presentation/FileList/components/Grid/FileGrid.test.js +387 -0
  383. package/presentation/FileList/components/Grid/FileGrid.test.js.map +1 -0
  384. package/presentation/FileList/components/Grid/index.d.ts +1 -0
  385. package/presentation/FileList/components/Grid/index.js +1 -0
  386. package/presentation/FileList/components/Header/FileManagerHeader.d.ts +7 -0
  387. package/presentation/FileList/components/Header/FileManagerHeader.js +114 -0
  388. package/presentation/FileList/components/Header/FileManagerHeader.js.map +1 -0
  389. package/presentation/FileList/components/LayoutSwitch/LayoutSwitch.js +24 -0
  390. package/presentation/FileList/components/LayoutSwitch/LayoutSwitch.js.map +1 -0
  391. package/presentation/FileList/components/LayoutSwitch/index.js +1 -0
  392. package/presentation/FileList/components/NoPermissions/NoPermissions.js +27 -0
  393. package/presentation/FileList/components/NoPermissions/NoPermissions.js.map +1 -0
  394. package/presentation/FileList/components/NoPermissions/index.js +1 -0
  395. package/presentation/FileList/components/NoResults/NoResults.js +21 -0
  396. package/presentation/FileList/components/NoResults/NoResults.js.map +1 -0
  397. package/presentation/FileList/components/NoResults/index.js +1 -0
  398. package/presentation/FileList/components/Search/SearchBar.d.ts +9 -0
  399. package/presentation/FileList/components/Search/SearchBar.js +33 -0
  400. package/presentation/FileList/components/Search/SearchBar.js.map +1 -0
  401. package/presentation/FileList/components/Search/index.d.ts +1 -0
  402. package/presentation/FileList/components/Search/index.js +1 -0
  403. package/presentation/FileList/components/Table/Actions/CopyFile.js +21 -0
  404. package/presentation/FileList/components/Table/Actions/CopyFile.js.map +1 -0
  405. package/presentation/FileList/components/Table/Actions/DeleteFile.js +24 -0
  406. package/presentation/FileList/components/Table/Actions/DeleteFile.js.map +1 -0
  407. package/presentation/FileList/components/Table/Actions/EditFile.js +19 -0
  408. package/presentation/FileList/components/Table/Actions/EditFile.js.map +1 -0
  409. package/presentation/FileList/components/Table/Actions/MoveFile.js +19 -0
  410. package/presentation/FileList/components/Table/Actions/MoveFile.js.map +1 -0
  411. package/presentation/FileList/components/Table/Actions/index.js +4 -0
  412. package/presentation/FileList/components/Table/Cells/CellActions.js +28 -0
  413. package/presentation/FileList/components/Table/Cells/CellActions.js.map +1 -0
  414. package/presentation/FileList/components/Table/Cells/CellAuthor.js +10 -0
  415. package/presentation/FileList/components/Table/Cells/CellAuthor.js.map +1 -0
  416. package/presentation/FileList/components/Table/Cells/CellCreated.js +13 -0
  417. package/presentation/FileList/components/Table/Cells/CellCreated.js.map +1 -0
  418. package/presentation/FileList/components/Table/Cells/CellModified.js +13 -0
  419. package/presentation/FileList/components/Table/Cells/CellModified.js.map +1 -0
  420. package/presentation/FileList/components/Table/Cells/CellName.d.ts +16 -0
  421. package/presentation/FileList/components/Table/Cells/CellName.js +59 -0
  422. package/presentation/FileList/components/Table/Cells/CellName.js.map +1 -0
  423. package/presentation/FileList/components/Table/Cells/CellSize.js +14 -0
  424. package/presentation/FileList/components/Table/Cells/CellSize.js.map +1 -0
  425. package/presentation/FileList/components/Table/Cells/CellThumbnail.js +12 -0
  426. package/presentation/FileList/components/Table/Cells/CellThumbnail.js.map +1 -0
  427. package/presentation/FileList/components/Table/Cells/CellType.js +11 -0
  428. package/presentation/FileList/components/Table/Cells/CellType.js.map +1 -0
  429. package/presentation/FileList/components/Table/Cells/index.js +7 -0
  430. package/presentation/FileList/components/Table/FileTable.d.ts +12 -0
  431. package/presentation/FileList/components/Table/FileTable.js +79 -0
  432. package/presentation/FileList/components/Table/FileTable.js.map +1 -0
  433. package/presentation/FileList/components/Table/FileTable.test.d.ts +1 -0
  434. package/presentation/FileList/components/Table/FileTable.test.js +365 -0
  435. package/presentation/FileList/components/Table/FileTable.test.js.map +1 -0
  436. package/presentation/FileList/components/Table/index.d.ts +4 -0
  437. package/presentation/FileList/components/Table/index.js +3 -0
  438. package/presentation/FileList/components/TagsList/Empty.js +8 -0
  439. package/presentation/FileList/components/TagsList/Empty.js.map +1 -0
  440. package/presentation/FileList/components/TagsList/FilterSelect.js +38 -0
  441. package/presentation/FileList/components/TagsList/FilterSelect.js.map +1 -0
  442. package/presentation/FileList/components/TagsList/FilterStatus.js +25 -0
  443. package/presentation/FileList/components/TagsList/FilterStatus.js.map +1 -0
  444. package/presentation/FileList/components/TagsList/Tag.js +11 -0
  445. package/presentation/FileList/components/TagsList/Tag.js.map +1 -0
  446. package/presentation/FileList/components/TagsList/Tags.js +30 -0
  447. package/presentation/FileList/components/TagsList/Tags.js.map +1 -0
  448. package/presentation/FileList/components/TagsList/TagsList.js +24 -0
  449. package/presentation/FileList/components/TagsList/TagsList.js.map +1 -0
  450. package/presentation/FileList/components/TagsList/index.js +1 -0
  451. package/presentation/FileList/components/Thumbnail/Thumbnail.js +12 -0
  452. package/presentation/FileList/components/Thumbnail/Thumbnail.js.map +1 -0
  453. package/presentation/FileList/components/Thumbnail/index.js +1 -0
  454. package/presentation/FileList/components/Upload/DropZone.d.ts +19 -0
  455. package/presentation/FileList/components/Upload/DropZone.js +96 -0
  456. package/presentation/FileList/components/Upload/DropZone.js.map +1 -0
  457. package/presentation/FileList/components/Upload/UploadProgress.d.ts +9 -0
  458. package/presentation/FileList/components/Upload/UploadProgress.js +45 -0
  459. package/presentation/FileList/components/Upload/UploadProgress.js.map +1 -0
  460. package/presentation/FileList/components/Upload/index.d.ts +2 -0
  461. package/presentation/FileList/components/Upload/index.js +2 -0
  462. package/presentation/FileList/feature.d.ts +3 -0
  463. package/presentation/FileList/feature.js +17 -0
  464. package/presentation/FileList/feature.js.map +1 -0
  465. package/presentation/FileList/index.d.ts +5 -0
  466. package/presentation/FileList/index.js +3 -0
  467. package/presentation/FileManager/FileManagerRenderer.d.ts +2 -0
  468. package/presentation/FileManager/FileManagerRenderer.js +33 -0
  469. package/presentation/FileManager/FileManagerRenderer.js.map +1 -0
  470. package/presentation/FileManager/FileManagerView.d.ts +12 -0
  471. package/presentation/FileManager/FileManagerView.js +242 -0
  472. package/presentation/FileManager/FileManagerView.js.map +1 -0
  473. package/presentation/FileManager/OverlayContext.d.ts +14 -0
  474. package/presentation/FileManager/OverlayContext.js +11 -0
  475. package/presentation/FileManager/OverlayContext.js.map +1 -0
  476. package/presentation/Settings/SettingsPresenter.d.ts +14 -0
  477. package/presentation/Settings/SettingsPresenter.js +78 -0
  478. package/presentation/Settings/SettingsPresenter.js.map +1 -0
  479. package/presentation/Settings/components/SettingsView.d.ts +4 -0
  480. package/presentation/Settings/components/SettingsView.js +45 -0
  481. package/presentation/Settings/components/SettingsView.js.map +1 -0
  482. package/presentation/adapters/toFolderDto.d.ts +3 -0
  483. package/presentation/adapters/toFolderDto.js +30 -0
  484. package/presentation/adapters/toFolderDto.js.map +1 -0
  485. package/presentation/config/DefaultFileManagerConfig.d.ts +2 -0
  486. package/presentation/config/DefaultFileManagerConfig.js +118 -0
  487. package/presentation/config/DefaultFileManagerConfig.js.map +1 -0
  488. package/presentation/config/FileManagerViewConfig.d.ts +248 -0
  489. package/presentation/config/FileManagerViewConfig.js +74 -0
  490. package/presentation/config/FileManagerViewConfig.js.map +1 -0
  491. package/presentation/config/configComponents/Browser/BulkAction.d.ts +26 -0
  492. package/presentation/config/configComponents/Browser/BulkAction.js +57 -0
  493. package/presentation/config/configComponents/Browser/BulkAction.js.map +1 -0
  494. package/presentation/config/configComponents/Browser/BulkEditField.js +24 -0
  495. package/presentation/config/configComponents/Browser/BulkEditField.js.map +1 -0
  496. package/presentation/config/configComponents/Browser/FileAction.js +11 -0
  497. package/presentation/config/configComponents/Browser/FileAction.js.map +1 -0
  498. package/presentation/config/configComponents/Browser/Filter.js +37 -0
  499. package/presentation/config/configComponents/Browser/Filter.js.map +1 -0
  500. package/presentation/config/configComponents/Browser/FilterByTags.js +14 -0
  501. package/presentation/config/configComponents/Browser/FilterByTags.js.map +1 -0
  502. package/presentation/config/configComponents/Browser/FiltersToWhere.js +13 -0
  503. package/presentation/config/configComponents/Browser/FiltersToWhere.js.map +1 -0
  504. package/presentation/config/configComponents/Browser/FolderAction.js +10 -0
  505. package/presentation/config/configComponents/Browser/FolderAction.js.map +1 -0
  506. package/presentation/config/configComponents/Browser/FolderDropConfirmation.js +7 -0
  507. package/presentation/config/configComponents/Browser/FolderDropConfirmation.js.map +1 -0
  508. package/presentation/config/configComponents/Browser/FolderFieldDecorator.js +11 -0
  509. package/presentation/config/configComponents/Browser/FolderFieldDecorator.js.map +1 -0
  510. package/presentation/config/configComponents/Browser/Grid/Action.js +33 -0
  511. package/presentation/config/configComponents/Browser/Grid/Action.js.map +1 -0
  512. package/presentation/config/configComponents/Browser/Grid/Thumbnail.js +28 -0
  513. package/presentation/config/configComponents/Browser/Grid/Thumbnail.js.map +1 -0
  514. package/presentation/config/configComponents/Browser/Grid/index.js +0 -0
  515. package/presentation/config/configComponents/Browser/Table/Column.d.ts +32 -0
  516. package/presentation/config/configComponents/Browser/Table/Column.js +13 -0
  517. package/presentation/config/configComponents/Browser/Table/Column.js.map +1 -0
  518. package/presentation/config/configComponents/Browser/Table/Thumbnail.js +28 -0
  519. package/presentation/config/configComponents/Browser/Table/Thumbnail.js.map +1 -0
  520. package/presentation/config/configComponents/Browser/Table/index.d.ts +56 -0
  521. package/presentation/config/configComponents/Browser/Table/index.js +11 -0
  522. package/presentation/config/configComponents/Browser/Table/index.js.map +1 -0
  523. package/presentation/config/configComponents/Browser/index.d.ts +189 -0
  524. package/presentation/config/configComponents/Browser/index.js +47 -0
  525. package/presentation/config/configComponents/Browser/index.js.map +1 -0
  526. package/presentation/config/configComponents/FileDetails/Action.js +30 -0
  527. package/presentation/config/configComponents/FileDetails/Action.js.map +1 -0
  528. package/presentation/config/configComponents/FileDetails/Thumbnail.js +25 -0
  529. package/presentation/config/configComponents/FileDetails/Thumbnail.js.map +1 -0
  530. package/presentation/config/configComponents/FileDetails/Width.js +13 -0
  531. package/presentation/config/configComponents/FileDetails/Width.js.map +1 -0
  532. package/presentation/config/configComponents/FileDetails/index.d.ts +52 -0
  533. package/presentation/config/configComponents/FileDetails/index.js +16 -0
  534. package/presentation/config/configComponents/FileDetails/index.js.map +1 -0
  535. package/presentation/config/fields/AccessControl.js +38 -0
  536. package/presentation/config/fields/AccessControl.js.map +1 -0
  537. package/presentation/config/fields/Tags.js +32 -0
  538. package/presentation/config/fields/Tags.js.map +1 -0
  539. package/presentation/config/fields/index.d.ts +2 -0
  540. package/presentation/config/fields/index.js +2 -0
  541. package/presentation/config/fields/useAccessControlField.js +21 -0
  542. package/presentation/config/fields/useAccessControlField.js.map +1 -0
  543. package/presentation/config/fields/useFileOrUndefined.js +13 -0
  544. package/presentation/config/fields/useFileOrUndefined.js.map +1 -0
  545. package/presentation/config/getThumbnailRenderer.d.ts +4 -0
  546. package/presentation/config/getThumbnailRenderer.js +16 -0
  547. package/presentation/config/getThumbnailRenderer.js.map +1 -0
  548. package/presentation/config/outputFileSelectionError.js +27 -0
  549. package/presentation/config/outputFileSelectionError.js.map +1 -0
  550. package/presentation/config/thumbnailRenderers/FilePreviewDefaultRenderer.js +11 -0
  551. package/presentation/config/thumbnailRenderers/FilePreviewDefaultRenderer.js.map +1 -0
  552. package/presentation/config/thumbnailRenderers/FilePreviewImageRenderer.js +18 -0
  553. package/presentation/config/thumbnailRenderers/FilePreviewImageRenderer.js.map +1 -0
  554. package/presentation/config/thumbnailRenderers/GridItemDefaultRenderer.js +11 -0
  555. package/presentation/config/thumbnailRenderers/GridItemDefaultRenderer.js.map +1 -0
  556. package/presentation/config/thumbnailRenderers/GridItemImageRenderer.js +18 -0
  557. package/presentation/config/thumbnailRenderers/GridItemImageRenderer.js.map +1 -0
  558. package/presentation/config/thumbnailRenderers/TableItemDefaultRenderer.js +18 -0
  559. package/presentation/config/thumbnailRenderers/TableItemDefaultRenderer.js.map +1 -0
  560. package/presentation/config/thumbnailRenderers/TableItemImageRenderer.js +18 -0
  561. package/presentation/config/thumbnailRenderers/TableItemImageRenderer.js.map +1 -0
  562. package/presentation/contexts/FileProvider.d.ts +12 -0
  563. package/presentation/contexts/FileProvider.js +13 -0
  564. package/presentation/contexts/FileProvider.js.map +1 -0
  565. package/presentation/hooks/useCopyFile.d.ts +11 -0
  566. package/presentation/hooks/useCopyFile.js +24 -0
  567. package/presentation/hooks/useCopyFile.js.map +1 -0
  568. package/presentation/hooks/useDeleteFile.d.ts +9 -0
  569. package/presentation/hooks/useDeleteFile.js +35 -0
  570. package/presentation/hooks/useDeleteFile.js.map +1 -0
  571. package/presentation/hooks/useFile.d.ts +2 -0
  572. package/presentation/hooks/useFile.js +10 -0
  573. package/presentation/hooks/useFile.js.map +1 -0
  574. package/presentation/hooks/useMoveFileToFolder.d.ts +2 -0
  575. package/presentation/hooks/useMoveFileToFolder.js +36 -0
  576. package/presentation/hooks/useMoveFileToFolder.js.map +1 -0
  577. package/routes.d.ts +3 -0
  578. package/routes.js +13 -5
  579. package/routes.js.map +1 -1
  580. package/static/svg/folder-open.ae8d0fac.svg +1 -0
  581. package/BatchFileUploader.d.ts +0 -34
  582. package/BatchFileUploader.js +0 -87
  583. package/BatchFileUploader.js.map +0 -1
  584. package/components/BottomInfoBar/BottomInfoBar.js +0 -13
  585. package/components/BottomInfoBar/BottomInfoBar.js.map +0 -1
  586. package/components/BottomInfoBar/ListStatus.js +0 -23
  587. package/components/BottomInfoBar/ListStatus.js.map +0 -1
  588. package/components/BottomInfoBar/SupportedFileTypes.js +0 -62
  589. package/components/BottomInfoBar/SupportedFileTypes.js.map +0 -1
  590. package/components/BottomInfoBar/index.js +0 -3
  591. package/components/BottomInfoBar/index.js.map +0 -1
  592. package/components/BulkActions/ActionDelete.d.ts +0 -4
  593. package/components/BulkActions/ActionDelete.js +0 -80
  594. package/components/BulkActions/ActionDelete.js.map +0 -1
  595. package/components/BulkActions/ActionEdit/ActionEdit.d.ts +0 -4
  596. package/components/BulkActions/ActionEdit/ActionEdit.js +0 -62
  597. package/components/BulkActions/ActionEdit/ActionEdit.js.map +0 -1
  598. package/components/BulkActions/ActionEdit/ActionEdit.types.d.ts +0 -2
  599. package/components/BulkActions/ActionEdit/ActionEdit.types.js +0 -3
  600. package/components/BulkActions/ActionEdit/ActionEdit.types.js.map +0 -1
  601. package/components/BulkActions/ActionEdit/ActionEditPresenter.d.ts +0 -35
  602. package/components/BulkActions/ActionEdit/ActionEditPresenter.js +0 -55
  603. package/components/BulkActions/ActionEdit/ActionEditPresenter.js.map +0 -1
  604. package/components/BulkActions/ActionEdit/ActionEditPresenter.test.js +0 -159
  605. package/components/BulkActions/ActionEdit/ActionEditPresenter.test.js.map +0 -1
  606. package/components/BulkActions/ActionEdit/BatchEditorDialog/AddOperation.js +0 -19
  607. package/components/BulkActions/ActionEdit/BatchEditorDialog/AddOperation.js.map +0 -1
  608. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditor.d.ts +0 -15
  609. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditor.js +0 -44
  610. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditor.js.map +0 -1
  611. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialog.d.ts +0 -15
  612. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialog.js +0 -54
  613. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialog.js.map +0 -1
  614. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.d.ts +0 -61
  615. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.js +0 -140
  616. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.js.map +0 -1
  617. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.test.js +0 -337
  618. package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.test.js.map +0 -1
  619. package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.d.ts +0 -8
  620. package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.js +0 -33
  621. package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.js.map +0 -1
  622. package/components/BulkActions/ActionEdit/BatchEditorDialog/Operation.d.ts +0 -11
  623. package/components/BulkActions/ActionEdit/BatchEditorDialog/Operation.js +0 -41
  624. package/components/BulkActions/ActionEdit/BatchEditorDialog/Operation.js.map +0 -1
  625. package/components/BulkActions/ActionEdit/BatchEditorDialog/index.js +0 -3
  626. package/components/BulkActions/ActionEdit/BatchEditorDialog/index.js.map +0 -1
  627. package/components/BulkActions/ActionEdit/GraphQLInputMapper.d.ts +0 -46
  628. package/components/BulkActions/ActionEdit/GraphQLInputMapper.js +0 -44
  629. package/components/BulkActions/ActionEdit/GraphQLInputMapper.js.map +0 -1
  630. package/components/BulkActions/ActionEdit/GraphQLInputMapper.test.js +0 -270
  631. package/components/BulkActions/ActionEdit/GraphQLInputMapper.test.js.map +0 -1
  632. package/components/BulkActions/ActionEdit/domain/Batch.js +0 -29
  633. package/components/BulkActions/ActionEdit/domain/Batch.js.map +0 -1
  634. package/components/BulkActions/ActionEdit/domain/BatchMapper.js +0 -13
  635. package/components/BulkActions/ActionEdit/domain/BatchMapper.js.map +0 -1
  636. package/components/BulkActions/ActionEdit/domain/Field.js +0 -47
  637. package/components/BulkActions/ActionEdit/domain/Field.js.map +0 -1
  638. package/components/BulkActions/ActionEdit/domain/FieldMapper.js +0 -22
  639. package/components/BulkActions/ActionEdit/domain/FieldMapper.js.map +0 -1
  640. package/components/BulkActions/ActionEdit/domain/index.js +0 -6
  641. package/components/BulkActions/ActionEdit/domain/index.js.map +0 -1
  642. package/components/BulkActions/ActionEdit/index.d.ts +0 -1
  643. package/components/BulkActions/ActionEdit/index.js +0 -3
  644. package/components/BulkActions/ActionEdit/index.js.map +0 -1
  645. package/components/BulkActions/ActionEdit/useActionEditWorker.d.ts +0 -7
  646. package/components/BulkActions/ActionEdit/useActionEditWorker.js +0 -73
  647. package/components/BulkActions/ActionEdit/useActionEditWorker.js.map +0 -1
  648. package/components/BulkActions/ActionMove.d.ts +0 -4
  649. package/components/BulkActions/ActionMove.js +0 -91
  650. package/components/BulkActions/ActionMove.js.map +0 -1
  651. package/components/BulkActions/BulkActions.d.ts +0 -3
  652. package/components/BulkActions/BulkActions.js +0 -46
  653. package/components/BulkActions/BulkActions.js.map +0 -1
  654. package/components/BulkActions/index.d.ts +0 -4
  655. package/components/BulkActions/index.js +0 -6
  656. package/components/BulkActions/index.js.map +0 -1
  657. package/components/EditFileUsingUrl/EditFileUsingUrl.d.ts +0 -14
  658. package/components/EditFileUsingUrl/EditFileUsingUrl.js +0 -53
  659. package/components/EditFileUsingUrl/EditFileUsingUrl.js.map +0 -1
  660. package/components/EditFileUsingUrl/EditFileUsingUrlPresenter.d.ts +0 -18
  661. package/components/EditFileUsingUrl/EditFileUsingUrlPresenter.js +0 -43
  662. package/components/EditFileUsingUrl/EditFileUsingUrlPresenter.js.map +0 -1
  663. package/components/EditFileUsingUrl/EditFileUsingUrlRepository.d.ts +0 -17
  664. package/components/EditFileUsingUrl/EditFileUsingUrlRepository.js +0 -39
  665. package/components/EditFileUsingUrl/EditFileUsingUrlRepository.js.map +0 -1
  666. package/components/EditFileUsingUrl/GetFileByUrl.d.ts +0 -10
  667. package/components/EditFileUsingUrl/GetFileByUrl.js +0 -27
  668. package/components/EditFileUsingUrl/GetFileByUrl.js.map +0 -1
  669. package/components/EditFileUsingUrl/Loading.d.ts +0 -18
  670. package/components/EditFileUsingUrl/Loading.js +0 -42
  671. package/components/EditFileUsingUrl/Loading.js.map +0 -1
  672. package/components/EditFileUsingUrl/UpdateFile.d.ts +0 -10
  673. package/components/EditFileUsingUrl/UpdateFile.js +0 -10
  674. package/components/EditFileUsingUrl/UpdateFile.js.map +0 -1
  675. package/components/EditFileUsingUrl/getFileByUrl.graphql.d.ts +0 -2
  676. package/components/EditFileUsingUrl/getFileByUrl.graphql.js +0 -19
  677. package/components/EditFileUsingUrl/getFileByUrl.graphql.js.map +0 -1
  678. package/components/EditFileUsingUrl/index.d.ts +0 -1
  679. package/components/EditFileUsingUrl/index.js +0 -3
  680. package/components/EditFileUsingUrl/index.js.map +0 -1
  681. package/components/Empty/Empty.js +0 -27
  682. package/components/Empty/Empty.js.map +0 -1
  683. package/components/Empty/index.js +0 -3
  684. package/components/Empty/index.js.map +0 -1
  685. package/components/FileDetails/FileDetails.d.ts +0 -11
  686. package/components/FileDetails/FileDetails.js +0 -141
  687. package/components/FileDetails/FileDetails.js.map +0 -1
  688. package/components/FileDetails/FileDetailsProvider.d.ts +0 -16
  689. package/components/FileDetails/FileDetailsProvider.js +0 -21
  690. package/components/FileDetails/FileDetailsProvider.js.map +0 -1
  691. package/components/FileDetails/components/ActionButton.js +0 -23
  692. package/components/FileDetails/components/ActionButton.js.map +0 -1
  693. package/components/FileDetails/components/Actions.js +0 -14
  694. package/components/FileDetails/components/Actions.js.map +0 -1
  695. package/components/FileDetails/components/BaseFields.d.ts +0 -7
  696. package/components/FileDetails/components/BaseFields.js +0 -29
  697. package/components/FileDetails/components/BaseFields.js.map +0 -1
  698. package/components/FileDetails/components/Content.js +0 -35
  699. package/components/FileDetails/components/Content.js.map +0 -1
  700. package/components/FileDetails/components/CreatedOn.js +0 -22
  701. package/components/FileDetails/components/CreatedOn.js.map +0 -1
  702. package/components/FileDetails/components/Description.js +0 -23
  703. package/components/FileDetails/components/Description.js.map +0 -1
  704. package/components/FileDetails/components/Extensions.d.ts +0 -7
  705. package/components/FileDetails/components/Extensions.js +0 -36
  706. package/components/FileDetails/components/Extensions.js.map +0 -1
  707. package/components/FileDetails/components/Preview.js +0 -12
  708. package/components/FileDetails/components/Preview.js.map +0 -1
  709. package/components/FileDetails/components/Thumbnail.js +0 -16
  710. package/components/FileDetails/components/Thumbnail.js.map +0 -1
  711. package/components/FileDetails/index.d.ts +0 -1
  712. package/components/FileDetails/index.js +0 -3
  713. package/components/FileDetails/index.js.map +0 -1
  714. package/components/FileDropArea/FileDropArea.js +0 -69
  715. package/components/FileDropArea/FileDropArea.js.map +0 -1
  716. package/components/FileDropArea/index.js +0 -3
  717. package/components/FileDropArea/index.js.map +0 -1
  718. package/components/FileDropPlaceholder/FileDropPlaceholder.js +0 -12
  719. package/components/FileDropPlaceholder/FileDropPlaceholder.js.map +0 -1
  720. package/components/FileDropPlaceholder/index.js +0 -3
  721. package/components/FileDropPlaceholder/index.js.map +0 -1
  722. package/components/Filters/Filters.d.ts +0 -2
  723. package/components/Filters/Filters.js +0 -26
  724. package/components/Filters/Filters.js.map +0 -1
  725. package/components/Filters/index.d.ts +0 -1
  726. package/components/Filters/index.js +0 -3
  727. package/components/Filters/index.js.map +0 -1
  728. package/components/Grid/ActionButton.d.ts +0 -9
  729. package/components/Grid/ActionButton.js +0 -28
  730. package/components/Grid/ActionButton.js.map +0 -1
  731. package/components/Grid/File.d.ts +0 -32
  732. package/components/Grid/File.js +0 -85
  733. package/components/Grid/File.js.map +0 -1
  734. package/components/Grid/Grid.d.ts +0 -21
  735. package/components/Grid/Grid.js +0 -71
  736. package/components/Grid/Grid.js.map +0 -1
  737. package/components/Grid/Thumbnail.js +0 -16
  738. package/components/Grid/Thumbnail.js.map +0 -1
  739. package/components/Grid/index.d.ts +0 -1
  740. package/components/Grid/index.js +0 -3
  741. package/components/Grid/index.js.map +0 -1
  742. package/components/Header/Actions.d.ts +0 -5
  743. package/components/Header/Actions.js +0 -99
  744. package/components/Header/Actions.js.map +0 -1
  745. package/components/Header/Header.d.ts +0 -9
  746. package/components/Header/Header.js +0 -21
  747. package/components/Header/Header.js.map +0 -1
  748. package/components/Header/Title.d.ts +0 -2
  749. package/components/Header/Title.js +0 -55
  750. package/components/Header/Title.js.map +0 -1
  751. package/components/Header/index.d.ts +0 -1
  752. package/components/Header/index.js +0 -3
  753. package/components/Header/index.js.map +0 -1
  754. package/components/LayoutSwitch/LayoutSwitch.js +0 -22
  755. package/components/LayoutSwitch/LayoutSwitch.js.map +0 -1
  756. package/components/LayoutSwitch/index.js +0 -3
  757. package/components/LayoutSwitch/index.js.map +0 -1
  758. package/components/NoPermissions/NoPermissions.js +0 -28
  759. package/components/NoPermissions/NoPermissions.js.map +0 -1
  760. package/components/NoPermissions/index.js +0 -3
  761. package/components/NoPermissions/index.js.map +0 -1
  762. package/components/NoResults/NoResults.js +0 -22
  763. package/components/NoResults/NoResults.js.map +0 -1
  764. package/components/NoResults/index.js +0 -3
  765. package/components/NoResults/index.js.map +0 -1
  766. package/components/SearchWidget/SearchWidget.d.ts +0 -2
  767. package/components/SearchWidget/SearchWidget.js +0 -30
  768. package/components/SearchWidget/SearchWidget.js.map +0 -1
  769. package/components/SearchWidget/index.d.ts +0 -1
  770. package/components/SearchWidget/index.js +0 -3
  771. package/components/SearchWidget/index.js.map +0 -1
  772. package/components/Table/Actions/CopyFile.js +0 -26
  773. package/components/Table/Actions/CopyFile.js.map +0 -1
  774. package/components/Table/Actions/DeleteFile.js +0 -33
  775. package/components/Table/Actions/DeleteFile.js.map +0 -1
  776. package/components/Table/Actions/EditFile.js +0 -24
  777. package/components/Table/Actions/EditFile.js.map +0 -1
  778. package/components/Table/Actions/MoveFile.js +0 -22
  779. package/components/Table/Actions/MoveFile.js.map +0 -1
  780. package/components/Table/Actions/index.js +0 -6
  781. package/components/Table/Actions/index.js.map +0 -1
  782. package/components/Table/Cells/CellActions.js +0 -37
  783. package/components/Table/Cells/CellActions.js.map +0 -1
  784. package/components/Table/Cells/CellAuthor.js +0 -16
  785. package/components/Table/Cells/CellAuthor.js.map +0 -1
  786. package/components/Table/Cells/CellCreated.js +0 -19
  787. package/components/Table/Cells/CellCreated.js.map +0 -1
  788. package/components/Table/Cells/CellModified.js +0 -19
  789. package/components/Table/Cells/CellModified.js.map +0 -1
  790. package/components/Table/Cells/CellName.d.ts +0 -16
  791. package/components/Table/Cells/CellName.js +0 -70
  792. package/components/Table/Cells/CellName.js.map +0 -1
  793. package/components/Table/Cells/CellSize.js +0 -20
  794. package/components/Table/Cells/CellSize.js.map +0 -1
  795. package/components/Table/Cells/CellThumbnail.js +0 -16
  796. package/components/Table/Cells/CellThumbnail.js.map +0 -1
  797. package/components/Table/Cells/CellType.js +0 -17
  798. package/components/Table/Cells/CellType.js.map +0 -1
  799. package/components/Table/Cells/index.js +0 -9
  800. package/components/Table/Cells/index.js.map +0 -1
  801. package/components/Table/Table.d.ts +0 -10
  802. package/components/Table/Table.js +0 -35
  803. package/components/Table/Table.js.map +0 -1
  804. package/components/Table/index.d.ts +0 -3
  805. package/components/Table/index.js +0 -5
  806. package/components/Table/index.js.map +0 -1
  807. package/components/TagsList/Empty.js +0 -11
  808. package/components/TagsList/Empty.js.map +0 -1
  809. package/components/TagsList/FilterSelect.js +0 -28
  810. package/components/TagsList/FilterSelect.js.map +0 -1
  811. package/components/TagsList/FilterStatus.js +0 -27
  812. package/components/TagsList/FilterStatus.js.map +0 -1
  813. package/components/TagsList/Tag.js +0 -16
  814. package/components/TagsList/Tag.js.map +0 -1
  815. package/components/TagsList/Tags.js +0 -32
  816. package/components/TagsList/Tags.js.map +0 -1
  817. package/components/TagsList/TagsList.js +0 -31
  818. package/components/TagsList/TagsList.js.map +0 -1
  819. package/components/TagsList/index.js +0 -3
  820. package/components/TagsList/index.js.map +0 -1
  821. package/components/Thumbnail/Thumbnail.d.ts +0 -2
  822. package/components/Thumbnail/Thumbnail.js +0 -16
  823. package/components/Thumbnail/Thumbnail.js.map +0 -1
  824. package/components/Thumbnail/index.js +0 -3
  825. package/components/Thumbnail/index.js.map +0 -1
  826. package/components/UploadStatus/UploadStatus.d.ts +0 -8
  827. package/components/UploadStatus/UploadStatus.js +0 -38
  828. package/components/UploadStatus/UploadStatus.js.map +0 -1
  829. package/components/UploadStatus/index.d.ts +0 -1
  830. package/components/UploadStatus/index.js +0 -3
  831. package/components/UploadStatus/index.js.map +0 -1
  832. package/components/fields/AccessControl.js +0 -49
  833. package/components/fields/AccessControl.js.map +0 -1
  834. package/components/fields/Description.d.ts +0 -2
  835. package/components/fields/Description.js +0 -25
  836. package/components/fields/Description.js.map +0 -1
  837. package/components/fields/Name.d.ts +0 -2
  838. package/components/fields/Name.js +0 -29
  839. package/components/fields/Name.js.map +0 -1
  840. package/components/fields/Tags.js +0 -39
  841. package/components/fields/Tags.js.map +0 -1
  842. package/components/fields/index.d.ts +0 -4
  843. package/components/fields/index.js +0 -6
  844. package/components/fields/index.js.map +0 -1
  845. package/components/fields/useAccessControlField.js +0 -26
  846. package/components/fields/useAccessControlField.js.map +0 -1
  847. package/components/fields/useFileOrUndefined.js +0 -12
  848. package/components/fields/useFileOrUndefined.js.map +0 -1
  849. package/constants.js +0 -6
  850. package/constants.js.map +0 -1
  851. package/contexts/FileProvider.d.ts +0 -13
  852. package/contexts/FileProvider.js +0 -22
  853. package/contexts/FileProvider.js.map +0 -1
  854. package/features/getFile/index.js.map +0 -1
  855. package/features/shared/types.js.map +0 -1
  856. package/hooks/useCopyFile.d.ts +0 -11
  857. package/hooks/useCopyFile.js +0 -25
  858. package/hooks/useCopyFile.js.map +0 -1
  859. package/hooks/useDeleteFile.d.ts +0 -9
  860. package/hooks/useDeleteFile.js +0 -41
  861. package/hooks/useDeleteFile.js.map +0 -1
  862. package/hooks/useFile.d.ts +0 -2
  863. package/hooks/useFile.js +0 -11
  864. package/hooks/useFile.js.map +0 -1
  865. package/hooks/useFileDetails.d.ts +0 -2
  866. package/hooks/useFileDetails.js +0 -11
  867. package/hooks/useFileDetails.js.map +0 -1
  868. package/hooks/useFileModel.d.ts +0 -1
  869. package/hooks/useFileModel.js +0 -11
  870. package/hooks/useFileModel.js.map +0 -1
  871. package/hooks/useMoveFileToFolder.d.ts +0 -2
  872. package/hooks/useMoveFileToFolder.js +0 -32
  873. package/hooks/useMoveFileToFolder.js.map +0 -1
  874. package/index.js.map +0 -1
  875. package/modules/FileManagerApiProvider/FileManagerApiContext/FileManagerApiContext.d.ts +0 -43
  876. package/modules/FileManagerApiProvider/FileManagerApiContext/FileManagerApiContext.js +0 -227
  877. package/modules/FileManagerApiProvider/FileManagerApiContext/FileManagerApiContext.js.map +0 -1
  878. package/modules/FileManagerApiProvider/FileManagerApiContext/FileModelContext.d.ts +0 -6
  879. package/modules/FileManagerApiProvider/FileManagerApiContext/FileModelContext.js +0 -25
  880. package/modules/FileManagerApiProvider/FileManagerApiContext/FileModelContext.js.map +0 -1
  881. package/modules/FileManagerApiProvider/FileManagerApiContext/getFileGraphQLSelection.d.ts +0 -2
  882. package/modules/FileManagerApiProvider/FileManagerApiContext/getFileGraphQLSelection.js +0 -33
  883. package/modules/FileManagerApiProvider/FileManagerApiContext/getFileGraphQLSelection.js.map +0 -1
  884. package/modules/FileManagerApiProvider/FileManagerApiContext/getFileUploader.d.ts +0 -2
  885. package/modules/FileManagerApiProvider/FileManagerApiContext/getFileUploader.js +0 -10
  886. package/modules/FileManagerApiProvider/FileManagerApiContext/getFileUploader.js.map +0 -1
  887. package/modules/FileManagerApiProvider/FileManagerApiContext/index.d.ts +0 -3
  888. package/modules/FileManagerApiProvider/FileManagerApiContext/index.js +0 -5
  889. package/modules/FileManagerApiProvider/FileManagerApiContext/index.js.map +0 -1
  890. package/modules/FileManagerApiProvider/FileManagerApiContext/useFileManagerApi.d.ts +0 -3
  891. package/modules/FileManagerApiProvider/FileManagerApiContext/useFileManagerApi.js +0 -11
  892. package/modules/FileManagerApiProvider/FileManagerApiContext/useFileManagerApi.js.map +0 -1
  893. package/modules/FileManagerApiProvider/graphql.d.ts +0 -124
  894. package/modules/FileManagerApiProvider/graphql.js +0 -118
  895. package/modules/FileManagerApiProvider/graphql.js.map +0 -1
  896. package/modules/FileManagerApiProvider/index.d.ts +0 -2
  897. package/modules/FileManagerApiProvider/index.js +0 -18
  898. package/modules/FileManagerApiProvider/index.js.map +0 -1
  899. package/modules/FileManagerRenderer/FileActions/FileDetails/CopyUrl.js +0 -24
  900. package/modules/FileManagerRenderer/FileActions/FileDetails/CopyUrl.js.map +0 -1
  901. package/modules/FileManagerRenderer/FileActions/FileDetails/DeleteImage.js +0 -35
  902. package/modules/FileManagerRenderer/FileActions/FileDetails/DeleteImage.js.map +0 -1
  903. package/modules/FileManagerRenderer/FileActions/FileDetails/Download.js +0 -24
  904. package/modules/FileManagerRenderer/FileActions/FileDetails/Download.js.map +0 -1
  905. package/modules/FileManagerRenderer/FileActions/FileDetails/MoveToFolder.js +0 -19
  906. package/modules/FileManagerRenderer/FileActions/FileDetails/MoveToFolder.js.map +0 -1
  907. package/modules/FileManagerRenderer/FileActions/Grid/Delete.js +0 -29
  908. package/modules/FileManagerRenderer/FileActions/Grid/Delete.js.map +0 -1
  909. package/modules/FileManagerRenderer/FileActions/Grid/Download.js +0 -24
  910. package/modules/FileManagerRenderer/FileActions/Grid/Download.js.map +0 -1
  911. package/modules/FileManagerRenderer/FileActions/Grid/MoveToFolder.js +0 -19
  912. package/modules/FileManagerRenderer/FileActions/Grid/MoveToFolder.js.map +0 -1
  913. package/modules/FileManagerRenderer/FileActions/Grid/Settings.js +0 -23
  914. package/modules/FileManagerRenderer/FileActions/Grid/Settings.js.map +0 -1
  915. package/modules/FileManagerRenderer/FileActions/index.js +0 -43
  916. package/modules/FileManagerRenderer/FileActions/index.js.map +0 -1
  917. package/modules/FileManagerRenderer/FileManagerView/FileManagerView.d.ts +0 -5
  918. package/modules/FileManagerRenderer/FileManagerView/FileManagerView.js +0 -280
  919. package/modules/FileManagerRenderer/FileManagerView/FileManagerView.js.map +0 -1
  920. package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.d.ts +0 -281
  921. package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.js +0 -59
  922. package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.js.map +0 -1
  923. package/modules/FileManagerRenderer/FileManagerView/LeftSidebar.d.ts +0 -8
  924. package/modules/FileManagerRenderer/FileManagerView/LeftSidebar.js +0 -47
  925. package/modules/FileManagerRenderer/FileManagerView/LeftSidebar.js.map +0 -1
  926. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkAction.d.ts +0 -26
  927. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkAction.js +0 -66
  928. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkAction.js.map +0 -1
  929. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkEditField.js +0 -26
  930. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkEditField.js.map +0 -1
  931. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FileAction.js +0 -14
  932. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FileAction.js.map +0 -1
  933. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Filter.js +0 -44
  934. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Filter.js.map +0 -1
  935. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FilterByTags.js +0 -17
  936. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FilterByTags.js.map +0 -1
  937. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FiltersToWhere.js +0 -16
  938. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FiltersToWhere.js.map +0 -1
  939. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderAction.js +0 -13
  940. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderAction.js.map +0 -1
  941. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderDropConfirmation.js +0 -10
  942. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderDropConfirmation.js.map +0 -1
  943. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderFieldDecorator.js +0 -16
  944. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderFieldDecorator.js.map +0 -1
  945. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Action.js +0 -38
  946. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Action.js.map +0 -1
  947. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Thumbnail.js +0 -30
  948. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Thumbnail.js.map +0 -1
  949. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/index.js +0 -3
  950. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/index.js.map +0 -1
  951. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Column.d.ts +0 -32
  952. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Column.js +0 -16
  953. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Column.js.map +0 -1
  954. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Thumbnail.js +0 -30
  955. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Thumbnail.js.map +0 -1
  956. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/index.d.ts +0 -56
  957. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/index.js +0 -10
  958. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/index.js.map +0 -1
  959. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.d.ts +0 -189
  960. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.js +0 -46
  961. package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.js.map +0 -1
  962. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Action.js +0 -35
  963. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Action.js.map +0 -1
  964. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.d.ts +0 -39
  965. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.js +0 -44
  966. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.js.map +0 -1
  967. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.d.ts +0 -8
  968. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js +0 -25
  969. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js.map +0 -1
  970. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/GroupFields.d.ts +0 -5
  971. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/GroupFields.js +0 -16
  972. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/GroupFields.js.map +0 -1
  973. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Thumbnail.js +0 -27
  974. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Thumbnail.js.map +0 -1
  975. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Width.js +0 -16
  976. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Width.js.map +0 -1
  977. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.d.ts +0 -86
  978. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.js +0 -23
  979. package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.js.map +0 -1
  980. package/modules/FileManagerRenderer/FileManagerView/formatFileItem.d.ts +0 -6
  981. package/modules/FileManagerRenderer/FileManagerView/formatFileItem.js +0 -19
  982. package/modules/FileManagerRenderer/FileManagerView/formatFileItem.js.map +0 -1
  983. package/modules/FileManagerRenderer/FileManagerView/getThumbnailRenderer.d.ts +0 -4
  984. package/modules/FileManagerRenderer/FileManagerView/getThumbnailRenderer.js +0 -21
  985. package/modules/FileManagerRenderer/FileManagerView/getThumbnailRenderer.js.map +0 -1
  986. package/modules/FileManagerRenderer/FileManagerView/index.d.ts +0 -13
  987. package/modules/FileManagerRenderer/FileManagerView/index.js +0 -77
  988. package/modules/FileManagerRenderer/FileManagerView/index.js.map +0 -1
  989. package/modules/FileManagerRenderer/FileManagerView/outputFileSelectionError.js +0 -30
  990. package/modules/FileManagerRenderer/FileManagerView/outputFileSelectionError.js.map +0 -1
  991. package/modules/FileManagerRenderer/FileManagerViewProvider/FileManagerViewContext.d.ts +0 -89
  992. package/modules/FileManagerRenderer/FileManagerViewProvider/FileManagerViewContext.js +0 -459
  993. package/modules/FileManagerRenderer/FileManagerViewProvider/FileManagerViewContext.js.map +0 -1
  994. package/modules/FileManagerRenderer/FileManagerViewProvider/index.d.ts +0 -2
  995. package/modules/FileManagerRenderer/FileManagerViewProvider/index.js +0 -4
  996. package/modules/FileManagerRenderer/FileManagerViewProvider/index.js.map +0 -1
  997. package/modules/FileManagerRenderer/FileManagerViewProvider/setSelection.d.ts +0 -31
  998. package/modules/FileManagerRenderer/FileManagerViewProvider/setSelection.js +0 -100
  999. package/modules/FileManagerRenderer/FileManagerViewProvider/setSelection.js.map +0 -1
  1000. package/modules/FileManagerRenderer/FileManagerViewProvider/state.d.ts +0 -33
  1001. package/modules/FileManagerRenderer/FileManagerViewProvider/state.js +0 -34
  1002. package/modules/FileManagerRenderer/FileManagerViewProvider/state.js.map +0 -1
  1003. package/modules/FileManagerRenderer/FileManagerViewProvider/useFileManagerView.d.ts +0 -3
  1004. package/modules/FileManagerRenderer/FileManagerViewProvider/useFileManagerView.js +0 -11
  1005. package/modules/FileManagerRenderer/FileManagerViewProvider/useFileManagerView.js.map +0 -1
  1006. package/modules/FileManagerRenderer/FileManagerViewProvider/useListFiles.d.ts +0 -24
  1007. package/modules/FileManagerRenderer/FileManagerViewProvider/useListFiles.js +0 -153
  1008. package/modules/FileManagerRenderer/FileManagerViewProvider/useListFiles.js.map +0 -1
  1009. package/modules/FileManagerRenderer/FileManagerViewProvider/useTags.d.ts +0 -11
  1010. package/modules/FileManagerRenderer/FileManagerViewProvider/useTags.js +0 -89
  1011. package/modules/FileManagerRenderer/FileManagerViewProvider/useTags.js.map +0 -1
  1012. package/modules/FileManagerRenderer/filters/FilterByType.js +0 -32
  1013. package/modules/FileManagerRenderer/filters/FilterByType.js.map +0 -1
  1014. package/modules/FileManagerRenderer/index.d.ts +0 -2
  1015. package/modules/FileManagerRenderer/index.js +0 -140
  1016. package/modules/FileManagerRenderer/index.js.map +0 -1
  1017. package/modules/ThumbnailRenderers/FilePreviewDefaultRenderer.js +0 -12
  1018. package/modules/ThumbnailRenderers/FilePreviewDefaultRenderer.js.map +0 -1
  1019. package/modules/ThumbnailRenderers/FilePreviewImageRenderer.js +0 -19
  1020. package/modules/ThumbnailRenderers/FilePreviewImageRenderer.js.map +0 -1
  1021. package/modules/ThumbnailRenderers/GridItemDefaultRenderer.js +0 -12
  1022. package/modules/ThumbnailRenderers/GridItemDefaultRenderer.js.map +0 -1
  1023. package/modules/ThumbnailRenderers/GridItemImageRenderer.js +0 -19
  1024. package/modules/ThumbnailRenderers/GridItemImageRenderer.js.map +0 -1
  1025. package/modules/ThumbnailRenderers/TableItemDefaultRenderer.js +0 -19
  1026. package/modules/ThumbnailRenderers/TableItemDefaultRenderer.js.map +0 -1
  1027. package/modules/ThumbnailRenderers/TableItemImageRenderer.js +0 -19
  1028. package/modules/ThumbnailRenderers/TableItemImageRenderer.js.map +0 -1
  1029. package/presentation/resolveImageTool/ResolveImageTool.js +0 -48
  1030. package/presentation/resolveImageTool/ResolveImageTool.js.map +0 -1
  1031. package/presentation/resolveImageTool/feature.js +0 -10
  1032. package/presentation/resolveImageTool/feature.js.map +0 -1
  1033. package/tagsHelpers.js +0 -35
  1034. package/tagsHelpers.js.map +0 -1
  1035. package/types.d.ts +0 -78
  1036. package/types.js +0 -3
  1037. package/types.js.map +0 -1
  1038. /package/{constants.d.ts → domain/constants.d.ts} +0 -0
  1039. /package/{tagsHelpers.d.ts → domain/tagsHelpers.d.ts} +0 -0
  1040. /package/{components/BulkActions/ActionEdit/ActionEditPresenter.test.d.ts → features/deleteFile/DeleteFile.test.d.ts} +0 -0
  1041. /package/{components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.test.d.ts → features/fileUploader/FileUploader.test.d.ts} +0 -0
  1042. /package/{components/BulkActions/ActionEdit/GraphQLInputMapper.test.d.ts → features/listFiles/ListFiles.test.d.ts} +0 -0
  1043. /package/{presentation → features}/resolveImageTool/ResolveImageTool.d.ts +0 -0
  1044. /package/{presentation → features}/resolveImageTool/feature.d.ts +0 -0
  1045. /package/{modules/FileManagerRenderer → presentation}/FileActions/FileDetails/CopyUrl.d.ts +0 -0
  1046. /package/{modules/FileManagerRenderer → presentation}/FileActions/FileDetails/DeleteImage.d.ts +0 -0
  1047. /package/{modules/FileManagerRenderer → presentation}/FileActions/FileDetails/Download.d.ts +0 -0
  1048. /package/{modules/FileManagerRenderer → presentation}/FileActions/FileDetails/MoveToFolder.d.ts +0 -0
  1049. /package/{modules/FileManagerRenderer → presentation}/FileActions/Grid/Delete.d.ts +0 -0
  1050. /package/{modules/FileManagerRenderer → presentation}/FileActions/Grid/Download.d.ts +0 -0
  1051. /package/{modules/FileManagerRenderer → presentation}/FileActions/Grid/MoveToFolder.d.ts +0 -0
  1052. /package/{modules/FileManagerRenderer → presentation}/FileActions/Grid/Settings.d.ts +0 -0
  1053. /package/{modules/FileManagerRenderer → presentation}/FileActions/index.d.ts +0 -0
  1054. /package/{components → presentation}/FileDetails/components/ActionButton.d.ts +0 -0
  1055. /package/{components → presentation}/FileDetails/components/Actions.d.ts +0 -0
  1056. /package/{components → presentation}/FileDetails/components/Content.d.ts +0 -0
  1057. /package/{components → presentation}/FileDetails/components/CreatedOn.d.ts +0 -0
  1058. /package/{components → presentation}/FileDetails/components/Description.d.ts +0 -0
  1059. /package/{components → presentation}/FileDetails/components/Preview.d.ts +0 -0
  1060. /package/{components → presentation}/FileDetails/components/Thumbnail.d.ts +0 -0
  1061. /package/{components → presentation/FileList/components}/BottomInfoBar/BottomInfoBar.d.ts +0 -0
  1062. /package/{components → presentation/FileList/components}/BottomInfoBar/ListStatus.d.ts +0 -0
  1063. /package/{components → presentation/FileList/components}/BottomInfoBar/SupportedFileTypes.d.ts +0 -0
  1064. /package/{components → presentation/FileList/components}/BottomInfoBar/index.d.ts +0 -0
  1065. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/BatchEditorDialog/AddOperation.d.ts +0 -0
  1066. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/BatchEditorDialog/index.d.ts +0 -0
  1067. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/domain/Batch.d.ts +0 -0
  1068. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/domain/BatchMapper.d.ts +0 -0
  1069. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/domain/Field.d.ts +0 -0
  1070. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/domain/FieldMapper.d.ts +0 -0
  1071. /package/{components/BulkActions/ActionEdit → presentation/FileList/components/BulkActions}/domain/index.d.ts +0 -0
  1072. /package/{components → presentation/FileList/components}/Empty/Empty.d.ts +0 -0
  1073. /package/{components → presentation/FileList/components}/Empty/index.d.ts +0 -0
  1074. /package/{components → presentation/FileList/components}/FileDropArea/FileDropArea.d.ts +0 -0
  1075. /package/{components → presentation/FileList/components}/FileDropArea/index.d.ts +0 -0
  1076. /package/{components → presentation/FileList/components}/FileDropPlaceholder/FileDropPlaceholder.d.ts +0 -0
  1077. /package/{components → presentation/FileList/components}/FileDropPlaceholder/index.d.ts +0 -0
  1078. /package/{modules/FileManagerRenderer/filters → presentation/FileList/components/Filters}/FilterByType.d.ts +0 -0
  1079. /package/{components → presentation/FileList/components}/LayoutSwitch/LayoutSwitch.d.ts +0 -0
  1080. /package/{components → presentation/FileList/components}/LayoutSwitch/index.d.ts +0 -0
  1081. /package/{components → presentation/FileList/components}/NoPermissions/NoPermissions.d.ts +0 -0
  1082. /package/{components → presentation/FileList/components}/NoPermissions/index.d.ts +0 -0
  1083. /package/{components → presentation/FileList/components}/NoResults/NoResults.d.ts +0 -0
  1084. /package/{components → presentation/FileList/components}/NoResults/index.d.ts +0 -0
  1085. /package/{components → presentation/FileList/components}/Table/Actions/CopyFile.d.ts +0 -0
  1086. /package/{components → presentation/FileList/components}/Table/Actions/DeleteFile.d.ts +0 -0
  1087. /package/{components → presentation/FileList/components}/Table/Actions/EditFile.d.ts +0 -0
  1088. /package/{components → presentation/FileList/components}/Table/Actions/MoveFile.d.ts +0 -0
  1089. /package/{components → presentation/FileList/components}/Table/Actions/index.d.ts +0 -0
  1090. /package/{components → presentation/FileList/components}/Table/Cells/CellActions.d.ts +0 -0
  1091. /package/{components → presentation/FileList/components}/Table/Cells/CellAuthor.d.ts +0 -0
  1092. /package/{components → presentation/FileList/components}/Table/Cells/CellCreated.d.ts +0 -0
  1093. /package/{components → presentation/FileList/components}/Table/Cells/CellModified.d.ts +0 -0
  1094. /package/{components → presentation/FileList/components}/Table/Cells/CellSize.d.ts +0 -0
  1095. /package/{components → presentation/FileList/components}/Table/Cells/CellThumbnail.d.ts +0 -0
  1096. /package/{components → presentation/FileList/components}/Table/Cells/CellType.d.ts +0 -0
  1097. /package/{components → presentation/FileList/components}/Table/Cells/index.d.ts +0 -0
  1098. /package/{components → presentation/FileList/components}/TagsList/Empty.d.ts +0 -0
  1099. /package/{components → presentation/FileList/components}/TagsList/FilterSelect.d.ts +0 -0
  1100. /package/{components → presentation/FileList/components}/TagsList/FilterStatus.d.ts +0 -0
  1101. /package/{components → presentation/FileList/components}/TagsList/Tag.d.ts +0 -0
  1102. /package/{components → presentation/FileList/components}/TagsList/Tags.d.ts +0 -0
  1103. /package/{components → presentation/FileList/components}/TagsList/TagsList.d.ts +0 -0
  1104. /package/{components → presentation/FileList/components}/TagsList/index.d.ts +0 -0
  1105. /package/{components/Grid → presentation/FileList/components/Thumbnail}/Thumbnail.d.ts +0 -0
  1106. /package/{components → presentation/FileList/components}/Thumbnail/index.d.ts +0 -0
  1107. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/BulkEditField.d.ts +0 -0
  1108. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/FileAction.d.ts +0 -0
  1109. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/Filter.d.ts +0 -0
  1110. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/FilterByTags.d.ts +0 -0
  1111. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/FiltersToWhere.d.ts +0 -0
  1112. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/FolderAction.d.ts +0 -0
  1113. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/FolderDropConfirmation.d.ts +0 -0
  1114. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/FolderFieldDecorator.d.ts +0 -0
  1115. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/Grid/Action.d.ts +0 -0
  1116. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/Grid/Thumbnail.d.ts +0 -0
  1117. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/Grid/index.d.ts +0 -0
  1118. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/Browser/Table/Thumbnail.d.ts +0 -0
  1119. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/FileDetails/Action.d.ts +0 -0
  1120. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/FileDetails/Thumbnail.d.ts +0 -0
  1121. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/configComponents/FileDetails/Width.d.ts +0 -0
  1122. /package/{components → presentation/config}/fields/AccessControl.d.ts +0 -0
  1123. /package/{components → presentation/config}/fields/Tags.d.ts +0 -0
  1124. /package/{components → presentation/config}/fields/useAccessControlField.d.ts +0 -0
  1125. /package/{components → presentation/config}/fields/useFileOrUndefined.d.ts +0 -0
  1126. /package/{modules/FileManagerRenderer/FileManagerView → presentation/config}/outputFileSelectionError.d.ts +0 -0
  1127. /package/{modules/ThumbnailRenderers → presentation/config/thumbnailRenderers}/FilePreviewDefaultRenderer.d.ts +0 -0
  1128. /package/{modules/ThumbnailRenderers → presentation/config/thumbnailRenderers}/FilePreviewImageRenderer.d.ts +0 -0
  1129. /package/{modules/ThumbnailRenderers → presentation/config/thumbnailRenderers}/GridItemDefaultRenderer.d.ts +0 -0
  1130. /package/{modules/ThumbnailRenderers → presentation/config/thumbnailRenderers}/GridItemImageRenderer.d.ts +0 -0
  1131. /package/{modules/ThumbnailRenderers → presentation/config/thumbnailRenderers}/TableItemDefaultRenderer.d.ts +0 -0
  1132. /package/{modules/ThumbnailRenderers → presentation/config/thumbnailRenderers}/TableItemImageRenderer.d.ts +0 -0
@@ -0,0 +1,74 @@
1
+ import react, { useMemo } from "react";
2
+ import { createConfigurableComponent } from "@webiny/react-properties";
3
+ import { Browser } from "./configComponents/Browser/index.js";
4
+ import { FileDetails } from "./configComponents/FileDetails/index.js";
5
+ import { getThumbnailRenderer } from "./getThumbnailRenderer.js";
6
+ import { CompositionScope } from "@webiny/react-composition";
7
+ import { useAcoConfig } from "@webiny/app-aco";
8
+ const base = createConfigurableComponent("FileManagerView");
9
+ const ScopedFileManagerViewConfig = ({ children })=>/*#__PURE__*/ react.createElement(CompositionScope, {
10
+ name: "fm"
11
+ }, /*#__PURE__*/ react.createElement(base.Config, null, children));
12
+ ScopedFileManagerViewConfig.displayName = "FileManagerViewConfig";
13
+ const FileManagerViewConfig = Object.assign(base.Config, {
14
+ Browser: Browser,
15
+ FileDetails: FileDetails
16
+ });
17
+ const FileManagerViewWithConfig = base.WithConfig;
18
+ function useFileManagerConfig() {
19
+ const config = base.useConfig();
20
+ const acoConfig = useAcoConfig(config);
21
+ const browser = config.browser || {};
22
+ const fileDetailsActions = [
23
+ ...config.fileDetails?.actions || []
24
+ ];
25
+ const fileDetailsThumbnails = [
26
+ ...config.fileDetails?.thumbnails || []
27
+ ];
28
+ const finalConfig = useMemo(()=>({
29
+ getThumbnailRenderer: getThumbnailRenderer,
30
+ browser: {
31
+ ...browser,
32
+ table: {
33
+ ...browser.table,
34
+ cellThumbnails: [
35
+ ...browser.table?.cellThumbnails || []
36
+ ]
37
+ },
38
+ grid: {
39
+ itemActions: [
40
+ ...browser.grid?.itemActions || []
41
+ ],
42
+ itemThumbnails: [
43
+ ...browser.grid?.itemThumbnails || []
44
+ ]
45
+ },
46
+ bulkActions: [
47
+ ...browser.bulkActions || []
48
+ ],
49
+ bulkEditFields: [
50
+ ...browser.bulkEditFields || []
51
+ ],
52
+ filterByTags: browser.filterByTags ?? false,
53
+ filters: [
54
+ ...browser.filters || []
55
+ ],
56
+ filtersToWhere: [
57
+ ...browser.filtersToWhere || []
58
+ ],
59
+ folder: acoConfig.folder,
60
+ file: acoConfig.record
61
+ },
62
+ fileDetails: {
63
+ actions: fileDetailsActions,
64
+ thumbnails: fileDetailsThumbnails,
65
+ width: config.fileDetails?.width ?? "1000px"
66
+ }
67
+ }), [
68
+ config
69
+ ]);
70
+ return finalConfig;
71
+ }
72
+ export { FileManagerViewConfig, FileManagerViewWithConfig, useFileManagerConfig };
73
+
74
+ //# sourceMappingURL=FileManagerViewConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/FileManagerViewConfig.js","sources":["../../../src/presentation/config/FileManagerViewConfig.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { createConfigurableComponent } from \"@webiny/react-properties\";\nimport type { BrowserConfig } from \"./configComponents/Browser/index.js\";\nimport { Browser } from \"./configComponents/Browser/index.js\";\nimport type { FileDetailsConfig } from \"./configComponents/FileDetails/index.js\";\nimport { FileDetails } from \"./configComponents/FileDetails/index.js\";\nimport { getThumbnailRenderer } from \"./getThumbnailRenderer.js\";\nimport { CompositionScope } from \"@webiny/react-composition\";\nimport { useAcoConfig } from \"@webiny/app-aco\";\n\nconst base = createConfigurableComponent<FileManagerViewConfigData>(\"FileManagerView\");\n\nconst ScopedFileManagerViewConfig = ({ children }: { children: React.ReactNode }) => {\n return (\n <CompositionScope name={\"fm\"}>\n <base.Config>{children}</base.Config>\n </CompositionScope>\n );\n};\n\nScopedFileManagerViewConfig.displayName = \"FileManagerViewConfig\";\n\nexport const FileManagerViewConfig = Object.assign(base.Config, { Browser, FileDetails });\nexport const FileManagerViewWithConfig = base.WithConfig;\n\ninterface FileManagerViewConfigData {\n browser: BrowserConfig;\n fileDetails: FileDetailsConfig;\n}\n\nexport function useFileManagerConfig() {\n const config = base.useConfig();\n const acoConfig = useAcoConfig(config);\n\n const browser = config.browser || {};\n\n const fileDetailsActions = [...(config.fileDetails?.actions || [])];\n const fileDetailsThumbnails = [...(config.fileDetails?.thumbnails || [])];\n\n const finalConfig = useMemo(\n () => ({\n getThumbnailRenderer,\n browser: {\n ...browser,\n table: {\n ...browser.table,\n cellThumbnails: [...(browser.table?.cellThumbnails || [])]\n },\n grid: {\n itemActions: [...(browser.grid?.itemActions || [])],\n itemThumbnails: [...(browser.grid?.itemThumbnails || [])]\n },\n bulkActions: [...(browser.bulkActions || [])],\n bulkEditFields: [...(browser.bulkEditFields || [])],\n filterByTags: browser.filterByTags ?? false,\n filters: [...(browser.filters || [])],\n filtersToWhere: [...(browser.filtersToWhere || [])],\n folder: acoConfig.folder,\n file: acoConfig.record\n },\n fileDetails: {\n actions: fileDetailsActions,\n thumbnails: fileDetailsThumbnails,\n width: config.fileDetails?.width ?? \"1000px\"\n }\n }),\n [config]\n );\n\n return finalConfig;\n}\n"],"names":["base","createConfigurableComponent","ScopedFileManagerViewConfig","children","CompositionScope","FileManagerViewConfig","Object","Browser","FileDetails","FileManagerViewWithConfig","useFileManagerConfig","config","acoConfig","useAcoConfig","browser","fileDetailsActions","fileDetailsThumbnails","finalConfig","useMemo","getThumbnailRenderer"],"mappings":";;;;;;;AAUA,MAAMA,OAAOC,4BAAuD;AAEpE,MAAMC,8BAA8B,CAAC,EAAEC,QAAQ,EAAiC,GACrE,WAAP,GACI,oBAACC,kBAAgBA;QAAC,MAAM;qBACpB,oBAACJ,KAAK,MAAM,QAAEG;AAK1BD,4BAA4B,WAAW,GAAG;AAEnC,MAAMG,wBAAwBC,OAAO,MAAM,CAACN,KAAK,MAAM,EAAE;IAAEO,SAAOA;IAAEC,aAAWA;AAAC;AAChF,MAAMC,4BAA4BT,KAAK,UAAU;AAOjD,SAASU;IACZ,MAAMC,SAASX,KAAK,SAAS;IAC7B,MAAMY,YAAYC,aAAaF;IAE/B,MAAMG,UAAUH,OAAO,OAAO,IAAI,CAAC;IAEnC,MAAMI,qBAAqB;WAAKJ,OAAO,WAAW,EAAE,WAAW,EAAE;KAAE;IACnE,MAAMK,wBAAwB;WAAKL,OAAO,WAAW,EAAE,cAAc,EAAE;KAAE;IAEzE,MAAMM,cAAcC,QAChB,IAAO;YACHC,sBAAoBA;YACpB,SAAS;gBACL,GAAGL,OAAO;gBACV,OAAO;oBACH,GAAGA,QAAQ,KAAK;oBAChB,gBAAgB;2BAAKA,QAAQ,KAAK,EAAE,kBAAkB,EAAE;qBAAE;gBAC9D;gBACA,MAAM;oBACF,aAAa;2BAAKA,QAAQ,IAAI,EAAE,eAAe,EAAE;qBAAE;oBACnD,gBAAgB;2BAAKA,QAAQ,IAAI,EAAE,kBAAkB,EAAE;qBAAE;gBAC7D;gBACA,aAAa;uBAAKA,QAAQ,WAAW,IAAI,EAAE;iBAAE;gBAC7C,gBAAgB;uBAAKA,QAAQ,cAAc,IAAI,EAAE;iBAAE;gBACnD,cAAcA,QAAQ,YAAY,IAAI;gBACtC,SAAS;uBAAKA,QAAQ,OAAO,IAAI,EAAE;iBAAE;gBACrC,gBAAgB;uBAAKA,QAAQ,cAAc,IAAI,EAAE;iBAAE;gBACnD,QAAQF,UAAU,MAAM;gBACxB,MAAMA,UAAU,MAAM;YAC1B;YACA,aAAa;gBACT,SAASG;gBACT,YAAYC;gBACZ,OAAOL,OAAO,WAAW,EAAE,SAAS;YACxC;QACJ,IACA;QAACA;KAAO;IAGZ,OAAOM;AACX"}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import type { CallbackParams } from "@webiny/app-admin";
3
+ import type { FileItem } from "../../../../domain/types.js";
4
+ export interface BulkActionConfig {
5
+ name: string;
6
+ element: React.ReactElement;
7
+ }
8
+ export interface BulkActionProps {
9
+ name: string;
10
+ remove?: boolean;
11
+ before?: string;
12
+ after?: string;
13
+ element?: React.ReactElement;
14
+ }
15
+ export declare const BaseBulkAction: ({ name, after, before, remove, element }: BulkActionProps) => React.JSX.Element;
16
+ export declare const BulkAction: (({ name, after, before, remove, element }: BulkActionProps) => React.JSX.Element) & {
17
+ useButtons: () => import("@webiny/app-admin/components/Buttons/useButtons").ButtonsProviderContext;
18
+ useWorker: () => {
19
+ items: import("@webiny/sdk/index").FmFile[];
20
+ process: (callback: (items: FileItem[]) => void) => void;
21
+ processInSeries: (callback: ({ item, allItems, report }: CallbackParams<FileItem>) => Promise<void>, chunkSize?: number) => Promise<void>;
22
+ resetItems: () => void;
23
+ results: import("@webiny/app-admin").Result[];
24
+ };
25
+ useDialog: () => import("@webiny/app-admin").UseDialogWithReportResponse;
26
+ };
@@ -0,0 +1,57 @@
1
+ import react, { useCallback, useEffect, useRef } from "react";
2
+ import { Worker, useButtons, useDialogWithReport } from "@webiny/app-admin";
3
+ import { Property, useIdGenerator } from "@webiny/react-properties";
4
+ import { useFileManagerPresenter } from "../../../FileList/FileManagerPresenterProvider.js";
5
+ const BaseBulkAction = ({ name, after, before, remove = false, element })=>{
6
+ const getId = useIdGenerator("bulkAction");
7
+ const placeAfter = void 0 !== after ? getId(after) : void 0;
8
+ const placeBefore = void 0 !== before ? getId(before) : void 0;
9
+ return /*#__PURE__*/ react.createElement(Property, {
10
+ id: "browser",
11
+ name: "browser"
12
+ }, /*#__PURE__*/ react.createElement(Property, {
13
+ id: getId(name),
14
+ name: "bulkActions",
15
+ remove: remove,
16
+ array: true,
17
+ before: placeBefore,
18
+ after: placeAfter
19
+ }, /*#__PURE__*/ react.createElement(Property, {
20
+ id: getId(name, "name"),
21
+ name: "name",
22
+ value: name
23
+ }), element ? /*#__PURE__*/ react.createElement(Property, {
24
+ id: getId(name, "element"),
25
+ name: "element",
26
+ value: element
27
+ }) : null));
28
+ };
29
+ const useWorker = ()=>{
30
+ const { vm, actions } = useFileManagerPresenter();
31
+ const { current: worker } = useRef(new Worker());
32
+ const selected = vm.list.rows.filter((f)=>vm.list.selection.selectedIds.has(f.id));
33
+ useEffect(()=>{
34
+ worker.items = selected;
35
+ }, [
36
+ selected.length
37
+ ]);
38
+ const resetItems = useCallback(()=>{
39
+ worker.items = [];
40
+ actions.selection.deselectAll();
41
+ }, []);
42
+ return {
43
+ items: selected,
44
+ process: (callback)=>worker.process(callback),
45
+ processInSeries: async (callback, chunkSize)=>worker.processInSeries(callback, chunkSize),
46
+ resetItems: resetItems,
47
+ results: worker.results
48
+ };
49
+ };
50
+ const BulkAction = Object.assign(BaseBulkAction, {
51
+ useButtons: useButtons,
52
+ useWorker: useWorker,
53
+ useDialog: useDialogWithReport
54
+ });
55
+ export { BaseBulkAction, BulkAction };
56
+
57
+ //# sourceMappingURL=BulkAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/BulkAction.js","sources":["../../../../../src/presentation/config/configComponents/Browser/BulkAction.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useRef } from \"react\";\nimport type { CallbackParams } from \"@webiny/app-admin\";\nimport { useButtons, useDialogWithReport, Worker } from \"@webiny/app-admin\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\nimport { useFileManagerPresenter } from \"~/presentation/FileList/FileManagerPresenterProvider.js\";\nimport type { FileItem } from \"~/domain/types.js\";\n\nexport interface BulkActionConfig {\n name: string;\n element: React.ReactElement;\n}\n\nexport interface BulkActionProps {\n name: string;\n remove?: boolean;\n before?: string;\n after?: string;\n element?: React.ReactElement;\n}\n\nexport const BaseBulkAction = ({\n name,\n after = undefined,\n before = undefined,\n remove = false,\n element\n}: BulkActionProps) => {\n const getId = useIdGenerator(\"bulkAction\");\n\n const placeAfter = after !== undefined ? getId(after) : undefined;\n const placeBefore = before !== undefined ? getId(before) : undefined;\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property\n id={getId(name)}\n name={\"bulkActions\"}\n remove={remove}\n array={true}\n before={placeBefore}\n after={placeAfter}\n >\n <Property id={getId(name, \"name\")} name={\"name\"} value={name} />\n {element ? (\n <Property id={getId(name, \"element\")} name={\"element\"} value={element} />\n ) : null}\n </Property>\n </Property>\n );\n};\n\nconst useWorker = () => {\n const { vm, actions } = useFileManagerPresenter();\n const { current: worker } = useRef(new Worker<FileItem>());\n\n const selected = vm.list.rows.filter(f => vm.list.selection.selectedIds.has(f.id));\n\n useEffect(() => {\n worker.items = selected;\n }, [selected.length]);\n\n const resetItems = useCallback(() => {\n worker.items = [];\n actions.selection.deselectAll();\n }, []);\n\n return {\n items: selected,\n process: (callback: (items: FileItem[]) => void) => worker.process(callback),\n processInSeries: async (\n callback: ({ item, allItems, report }: CallbackParams<FileItem>) => Promise<void>,\n chunkSize?: number\n ) => worker.processInSeries(callback, chunkSize),\n resetItems: resetItems,\n results: worker.results\n };\n};\n\nexport const BulkAction = Object.assign(BaseBulkAction, {\n useButtons,\n useWorker,\n useDialog: useDialogWithReport\n});\n"],"names":["BaseBulkAction","name","after","before","remove","element","getId","useIdGenerator","placeAfter","undefined","placeBefore","Property","useWorker","vm","actions","useFileManagerPresenter","worker","useRef","Worker","selected","f","useEffect","resetItems","useCallback","callback","chunkSize","BulkAction","Object","useButtons","useDialogWithReport"],"mappings":";;;;AAoBO,MAAMA,iBAAiB,CAAC,EAC3BC,IAAI,EACJC,KAAiB,EACjBC,MAAkB,EAClBC,SAAS,KAAK,EACdC,OAAO,EACO;IACd,MAAMC,QAAQC,eAAe;IAE7B,MAAMC,aAAaN,AAAUO,WAAVP,QAAsBI,MAAMJ,SAASO;IACxD,MAAMC,cAAcP,AAAWM,WAAXN,SAAuBG,MAAMH,UAAUM;IAE3D,OAAO,WAAP,GACI,oBAACE,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QACL,IAAIL,MAAML;QACV,MAAM;QACN,QAAQG;QACR,OAAO;QACP,QAAQM;QACR,OAAOF;qBAEP,oBAACG,UAAQA;QAAC,IAAIL,MAAML,MAAM;QAAS,MAAM;QAAQ,OAAOA;QACvDI,UAAU,WAAVA,GACG,oBAACM,UAAQA;QAAC,IAAIL,MAAML,MAAM;QAAY,MAAM;QAAW,OAAOI;SAC9D;AAIpB;AAEA,MAAMO,YAAY;IACd,MAAM,EAAEC,EAAE,EAAEC,OAAO,EAAE,GAAGC;IACxB,MAAM,EAAE,SAASC,MAAM,EAAE,GAAGC,OAAO,IAAIC;IAEvC,MAAMC,WAAWN,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAACO,CAAAA,IAAKP,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,CAACO,EAAE,EAAE;IAEhFC,UAAU;QACNL,OAAO,KAAK,GAAGG;IACnB,GAAG;QAACA,SAAS,MAAM;KAAC;IAEpB,MAAMG,aAAaC,YAAY;QAC3BP,OAAO,KAAK,GAAG,EAAE;QACjBF,QAAQ,SAAS,CAAC,WAAW;IACjC,GAAG,EAAE;IAEL,OAAO;QACH,OAAOK;QACP,SAAS,CAACK,WAA0CR,OAAO,OAAO,CAACQ;QACnE,iBAAiB,OACbA,UACAC,YACCT,OAAO,eAAe,CAACQ,UAAUC;QACtC,YAAYH;QACZ,SAASN,OAAO,OAAO;IAC3B;AACJ;AAEO,MAAMU,aAAaC,OAAO,MAAM,CAAC3B,gBAAgB;IACpD4B,YAAUA;IACVhB,WAAAA;IACA,WAAWiB;AACf"}
@@ -0,0 +1,24 @@
1
+ import react from "react";
2
+ import { Property, useIdGenerator } from "@webiny/react-properties";
3
+ const BulkEditField = ({ name, element })=>{
4
+ const getId = useIdGenerator("bulkEditField");
5
+ return /*#__PURE__*/ react.createElement(Property, {
6
+ id: "browser",
7
+ name: "browser"
8
+ }, /*#__PURE__*/ react.createElement(Property, {
9
+ id: getId(name),
10
+ name: "bulkEditFields",
11
+ array: true
12
+ }, /*#__PURE__*/ react.createElement(Property, {
13
+ id: getId(name, "name"),
14
+ name: "name",
15
+ value: name
16
+ }), /*#__PURE__*/ react.createElement(Property, {
17
+ id: getId(name, "element"),
18
+ name: "element",
19
+ value: element
20
+ })));
21
+ };
22
+ export { BulkEditField };
23
+
24
+ //# sourceMappingURL=BulkEditField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/BulkEditField.js","sources":["../../../../../src/presentation/config/configComponents/Browser/BulkEditField.tsx"],"sourcesContent":["import React from \"react\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\n\nexport interface BulkEditFieldConfig {\n name: string;\n element: React.ReactElement;\n}\n\nexport interface BulkEditFieldProps {\n name: string;\n element: React.ReactElement;\n}\n\nexport const BulkEditField = ({ name, element }: BulkEditFieldProps) => {\n const getId = useIdGenerator(\"bulkEditField\");\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property id={getId(name)} name={\"bulkEditFields\"} array={true}>\n <Property id={getId(name, \"name\")} name={\"name\"} value={name} />\n <Property id={getId(name, \"element\")} name={\"element\"} value={element} />\n </Property>\n </Property>\n );\n};\n"],"names":["BulkEditField","name","element","getId","useIdGenerator","Property"],"mappings":";;AAaO,MAAMA,gBAAgB,CAAC,EAAEC,IAAI,EAAEC,OAAO,EAAsB;IAC/D,MAAMC,QAAQC,eAAe;IAE7B,OAAO,WAAP,GACI,oBAACC,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QAAC,IAAIF,MAAMF;QAAO,MAAM;QAAkB,OAAO;qBACtD,oBAACI,UAAQA;QAAC,IAAIF,MAAMF,MAAM;QAAS,MAAM;QAAQ,OAAOA;sBACxD,oBAACI,UAAQA;QAAC,IAAIF,MAAMF,MAAM;QAAY,MAAM;QAAW,OAAOC;;AAI9E"}
@@ -0,0 +1,11 @@
1
+ import react from "react";
2
+ import { AcoConfig } from "@webiny/app-aco";
3
+ const { Record: Record } = AcoConfig;
4
+ const BaseFileAction = (props)=>/*#__PURE__*/ react.createElement(Record.Action, props);
5
+ const FileAction = Object.assign(BaseFileAction, {
6
+ OptionsMenuItem: Record.Action.OptionsMenuItem,
7
+ OptionsMenuLink: Record.Action.OptionsMenuLink
8
+ });
9
+ export { FileAction };
10
+
11
+ //# sourceMappingURL=FileAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/FileAction.js","sources":["../../../../../src/presentation/config/configComponents/Browser/FileAction.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type RecordActionConfig } from \"@webiny/app-aco\";\n\nconst { Record } = AcoConfig;\n\nexport type { RecordActionConfig as FileActionConfig };\n\ntype FileActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;\n\nconst BaseFileAction = (props: FileActionProps) => {\n return <Record.Action {...props} />;\n};\n\nexport const FileAction = Object.assign(BaseFileAction, {\n OptionsMenuItem: Record.Action.OptionsMenuItem,\n OptionsMenuLink: Record.Action.OptionsMenuLink\n});\n"],"names":["Record","AcoConfig","BaseFileAction","props","FileAction","Object"],"mappings":";;AAGA,MAAM,EAAEA,QAAAA,MAAM,EAAE,GAAGC;AAMnB,MAAMC,iBAAiB,CAACC,QACb,WAAP,GAAO,oBAACH,OAAO,MAAM,EAAKG;AAGvB,MAAMC,aAAaC,OAAO,MAAM,CAACH,gBAAgB;IACpD,iBAAiBF,OAAO,MAAM,CAAC,eAAe;IAC9C,iBAAiBA,OAAO,MAAM,CAAC,eAAe;AAClD"}
@@ -0,0 +1,37 @@
1
+ import react from "react";
2
+ import { Property, useIdGenerator } from "@webiny/react-properties";
3
+ import { createDecoratorFactory, makeDecoratable } from "@webiny/app-admin";
4
+ const BaseFilter = makeDecoratable("Filter", ({ name, element, after, before, remove = false })=>{
5
+ const getId = useIdGenerator("filter");
6
+ const placeAfter = void 0 !== after ? getId(after) : void 0;
7
+ const placeBefore = void 0 !== before ? getId(before) : void 0;
8
+ return /*#__PURE__*/ react.createElement(Property, {
9
+ id: "browser",
10
+ name: "browser"
11
+ }, /*#__PURE__*/ react.createElement(Property, {
12
+ id: getId(name),
13
+ name: "filters",
14
+ remove: remove,
15
+ array: true,
16
+ before: placeBefore,
17
+ after: placeAfter
18
+ }, /*#__PURE__*/ react.createElement(Property, {
19
+ id: getId(name, "name"),
20
+ name: "name",
21
+ value: name
22
+ }), element ? /*#__PURE__*/ react.createElement(Property, {
23
+ id: getId(name, "element"),
24
+ name: "element",
25
+ value: element
26
+ }) : null));
27
+ });
28
+ const createDecorator = createDecoratorFactory()(BaseFilter, (decoratorProps, componentProps)=>{
29
+ if ("*" === decoratorProps.name) return true;
30
+ return decoratorProps.name === componentProps.name;
31
+ });
32
+ const Filter = Object.assign(BaseFilter, {
33
+ createDecorator: createDecorator
34
+ });
35
+ export { Filter };
36
+
37
+ //# sourceMappingURL=Filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/Filter.js","sources":["../../../../../src/presentation/config/configComponents/Browser/Filter.tsx"],"sourcesContent":["import React from \"react\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\nimport { createDecoratorFactory, makeDecoratable } from \"@webiny/app-admin\";\n\nexport interface FilterConfig {\n name: string;\n element: React.ReactElement;\n}\n\nexport interface FilterProps {\n name: string;\n element?: React.ReactElement<unknown>;\n remove?: boolean;\n before?: string;\n after?: string;\n}\n\nconst BaseFilter = makeDecoratable(\n \"Filter\",\n ({ name, element, after = undefined, before = undefined, remove = false }: FilterProps) => {\n const getId = useIdGenerator(\"filter\");\n\n const placeAfter = after !== undefined ? getId(after) : undefined;\n const placeBefore = before !== undefined ? getId(before) : undefined;\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property\n id={getId(name)}\n name={\"filters\"}\n remove={remove}\n array={true}\n before={placeBefore}\n after={placeAfter}\n >\n <Property id={getId(name, \"name\")} name={\"name\"} value={name} />\n {element ? (\n <Property id={getId(name, \"element\")} name={\"element\"} value={element} />\n ) : null}\n </Property>\n </Property>\n );\n }\n);\n\nconst createDecorator = createDecoratorFactory<{ name: string }>()(\n BaseFilter,\n (decoratorProps, componentProps) => {\n if (decoratorProps.name === \"*\") {\n return true;\n }\n\n return decoratorProps.name === componentProps.name;\n }\n);\n\nexport const Filter = Object.assign(BaseFilter, { createDecorator });\n"],"names":["BaseFilter","makeDecoratable","name","element","after","before","remove","getId","useIdGenerator","placeAfter","undefined","placeBefore","Property","createDecorator","createDecoratorFactory","decoratorProps","componentProps","Filter","Object"],"mappings":";;;AAiBA,MAAMA,aAAaC,gBACf,UACA,CAAC,EAAEC,IAAI,EAAEC,OAAO,EAAEC,KAAiB,EAAEC,MAAkB,EAAEC,SAAS,KAAK,EAAe;IAClF,MAAMC,QAAQC,eAAe;IAE7B,MAAMC,aAAaL,AAAUM,WAAVN,QAAsBG,MAAMH,SAASM;IACxD,MAAMC,cAAcN,AAAWK,WAAXL,SAAuBE,MAAMF,UAAUK;IAE3D,OAAO,WAAP,GACI,oBAACE,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QACL,IAAIL,MAAML;QACV,MAAM;QACN,QAAQI;QACR,OAAO;QACP,QAAQK;QACR,OAAOF;qBAEP,oBAACG,UAAQA;QAAC,IAAIL,MAAML,MAAM;QAAS,MAAM;QAAQ,OAAOA;QACvDC,UAAU,WAAVA,GACG,oBAACS,UAAQA;QAAC,IAAIL,MAAML,MAAM;QAAY,MAAM;QAAW,OAAOC;SAC9D;AAIpB;AAGJ,MAAMU,kBAAkBC,yBACpBd,YACA,CAACe,gBAAgBC;IACb,IAAID,AAAwB,QAAxBA,eAAe,IAAI,EACnB,OAAO;IAGX,OAAOA,eAAe,IAAI,KAAKC,eAAe,IAAI;AACtD;AAGG,MAAMC,SAASC,OAAO,MAAM,CAAClB,YAAY;IAAEa,iBAAAA;AAAgB"}
@@ -0,0 +1,14 @@
1
+ import react from "react";
2
+ import { Property } from "@webiny/react-properties";
3
+ const FilterByTags = ({ remove })=>/*#__PURE__*/ react.createElement(Property, {
4
+ id: "browser",
5
+ name: "browser"
6
+ }, /*#__PURE__*/ react.createElement(Property, {
7
+ id: "filterByTags",
8
+ name: "filterByTags",
9
+ value: true,
10
+ remove: remove
11
+ }));
12
+ export { FilterByTags };
13
+
14
+ //# sourceMappingURL=FilterByTags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/FilterByTags.js","sources":["../../../../../src/presentation/config/configComponents/Browser/FilterByTags.tsx"],"sourcesContent":["import React from \"react\";\nimport { Property } from \"@webiny/react-properties\";\n\nexport interface FilterByTagProps {\n remove?: boolean;\n}\n\nexport const FilterByTags = ({ remove }: FilterByTagProps) => {\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property id=\"filterByTags\" name={\"filterByTags\"} value={true} remove={remove} />\n </Property>\n );\n};\n"],"names":["FilterByTags","remove","Property"],"mappings":";;AAOO,MAAMA,eAAe,CAAC,EAAEC,MAAM,EAAoB,GAC9C,WAAP,GACI,oBAACC,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QAAC,IAAG;QAAe,MAAM;QAAgB,OAAO;QAAM,QAAQD"}
@@ -0,0 +1,13 @@
1
+ import react from "react";
2
+ import { Property } from "@webiny/react-properties";
3
+ const FiltersToWhere = ({ converter })=>/*#__PURE__*/ react.createElement(Property, {
4
+ id: "browser",
5
+ name: "browser"
6
+ }, /*#__PURE__*/ react.createElement(Property, {
7
+ name: "filtersToWhere",
8
+ array: true,
9
+ value: converter
10
+ }));
11
+ export { FiltersToWhere };
12
+
13
+ //# sourceMappingURL=FiltersToWhere.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/FiltersToWhere.js","sources":["../../../../../src/presentation/config/configComponents/Browser/FiltersToWhere.tsx"],"sourcesContent":["import React from \"react\";\nimport { Property } from \"@webiny/react-properties\";\n\nexport interface FiltersToWhereConverter {\n (filters: Record<string, any>): Record<string, any>;\n}\n\nexport const FiltersToWhere = ({ converter }: { converter: FiltersToWhereConverter }) => {\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property name={\"filtersToWhere\"} array={true} value={converter} />\n </Property>\n );\n};\n"],"names":["FiltersToWhere","converter","Property"],"mappings":";;AAOO,MAAMA,iBAAiB,CAAC,EAAEC,SAAS,EAA0C,GACzE,WAAP,GACI,oBAACC,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QAAC,MAAM;QAAkB,OAAO;QAAM,OAAOD"}
@@ -0,0 +1,10 @@
1
+ import react from "react";
2
+ import { AcoConfig } from "@webiny/app-aco";
3
+ const { Folder: Folder } = AcoConfig;
4
+ const BaseFolderAction = (props)=>/*#__PURE__*/ react.createElement(Folder.Action, props);
5
+ const FolderAction = Object.assign(BaseFolderAction, {
6
+ OptionsMenuItem: Folder.Action.OptionsMenuItem
7
+ });
8
+ export { FolderAction };
9
+
10
+ //# sourceMappingURL=FolderAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/FolderAction.js","sources":["../../../../../src/presentation/config/configComponents/Browser/FolderAction.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type FolderActionConfig } from \"@webiny/app-aco\";\n\nconst { Folder } = AcoConfig;\n\nexport type { FolderActionConfig };\n\ntype FolderActionProps = React.ComponentProps<typeof AcoConfig.Folder.Action>;\n\nconst BaseFolderAction = (props: FolderActionProps) => {\n return <Folder.Action {...props} />;\n};\n\nexport const FolderAction = Object.assign(BaseFolderAction, {\n OptionsMenuItem: Folder.Action.OptionsMenuItem\n});\n"],"names":["Folder","AcoConfig","BaseFolderAction","props","FolderAction","Object"],"mappings":";;AAGA,MAAM,EAAEA,QAAAA,MAAM,EAAE,GAAGC;AAMnB,MAAMC,mBAAmB,CAACC,QACf,WAAP,GAAO,oBAACH,OAAO,MAAM,EAAKG;AAGvB,MAAMC,eAAeC,OAAO,MAAM,CAACH,kBAAkB;IACxD,iBAAiBF,OAAO,MAAM,CAAC,eAAe;AAClD"}
@@ -0,0 +1,7 @@
1
+ import react from "react";
2
+ import { AcoConfig } from "@webiny/app-aco";
3
+ const { Folder: Folder } = AcoConfig;
4
+ const FolderDropConfirmation = (props)=>/*#__PURE__*/ react.createElement(Folder.DropConfirmation, props);
5
+ export { FolderDropConfirmation };
6
+
7
+ //# sourceMappingURL=FolderDropConfirmation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/FolderDropConfirmation.js","sources":["../../../../../src/presentation/config/configComponents/Browser/FolderDropConfirmation.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig } from \"@webiny/app-aco\";\n\nconst { Folder } = AcoConfig;\n\ntype FolderDropConfirmationProps = React.ComponentProps<typeof AcoConfig.Folder.DropConfirmation>;\n\nexport const FolderDropConfirmation = (props: FolderDropConfirmationProps) => {\n return <Folder.DropConfirmation {...props} />;\n};\n"],"names":["Folder","AcoConfig","FolderDropConfirmation","props"],"mappings":";;AAGA,MAAM,EAAEA,QAAAA,MAAM,EAAE,GAAGC;AAIZ,MAAMC,yBAAyB,CAACC,QAC5B,WAAP,GAAO,oBAACH,OAAO,gBAAgB,EAAKG"}
@@ -0,0 +1,11 @@
1
+ import { useFoldersType } from "@webiny/app-aco";
2
+ const shouldDecorateFolderField = (decoratorProps, componentProps)=>{
3
+ const { id } = decoratorProps;
4
+ const type = useFoldersType();
5
+ if ("FmFile" !== type) return false;
6
+ if (id) return "*" === id ? true : id === componentProps.field.id;
7
+ return true;
8
+ };
9
+ export { shouldDecorateFolderField };
10
+
11
+ //# sourceMappingURL=FolderFieldDecorator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/FolderFieldDecorator.js","sources":["../../../../../src/presentation/config/configComponents/Browser/FolderFieldDecorator.tsx"],"sourcesContent":["import type React from \"react\";\nimport type { FieldElement } from \"@webiny/app-headless-cms-common\";\nimport { useFoldersType } from \"@webiny/app-aco\";\n\nexport type FieldProps = React.ComponentProps<typeof FieldElement>;\n\nexport type FolderFieldDecoratorProps = {\n id?: string;\n};\n\nexport const shouldDecorateFolderField = (\n decoratorProps: FolderFieldDecoratorProps,\n componentProps: FieldProps\n) => {\n const { id } = decoratorProps;\n const type = useFoldersType();\n\n if (type !== \"FmFile\") {\n return false;\n }\n\n if (id) {\n return id === \"*\" ? true : id === componentProps.field.id;\n }\n\n return true;\n};\n"],"names":["shouldDecorateFolderField","decoratorProps","componentProps","id","type","useFoldersType"],"mappings":";AAUO,MAAMA,4BAA4B,CACrCC,gBACAC;IAEA,MAAM,EAAEC,EAAE,EAAE,GAAGF;IACf,MAAMG,OAAOC;IAEb,IAAID,AAAS,aAATA,MACA,OAAO;IAGX,IAAID,IACA,OAAOA,AAAO,QAAPA,KAAa,OAAOA,OAAOD,eAAe,KAAK,CAAC,EAAE;IAG7D,OAAO;AACX"}
@@ -0,0 +1,33 @@
1
+ import react from "react";
2
+ import { Property, useIdGenerator } from "@webiny/react-properties";
3
+ import { makeDecoratable } from "@webiny/app-admin";
4
+ const Action = makeDecoratable("Action", ({ name, element, after, before, remove = false })=>{
5
+ const getId = useIdGenerator("browser:grid:action");
6
+ const placeAfter = void 0 !== after ? getId(after) : void 0;
7
+ const placeBefore = void 0 !== before ? getId(before) : void 0;
8
+ return /*#__PURE__*/ react.createElement(Property, {
9
+ id: "browser",
10
+ name: "browser"
11
+ }, /*#__PURE__*/ react.createElement(Property, {
12
+ id: "grid",
13
+ name: "grid"
14
+ }, /*#__PURE__*/ react.createElement(Property, {
15
+ id: getId(name),
16
+ name: "itemActions",
17
+ array: true,
18
+ before: placeBefore,
19
+ after: placeAfter,
20
+ remove: remove
21
+ }, /*#__PURE__*/ react.createElement(Property, {
22
+ id: getId(name, "name"),
23
+ name: "name",
24
+ value: name
25
+ }), element ? /*#__PURE__*/ react.createElement(Property, {
26
+ id: getId(name, "element"),
27
+ name: "element",
28
+ value: element
29
+ }) : null)));
30
+ });
31
+ export { Action };
32
+
33
+ //# sourceMappingURL=Action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/Grid/Action.js","sources":["../../../../../../src/presentation/config/configComponents/Browser/Grid/Action.tsx"],"sourcesContent":["import React from \"react\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\nimport { makeDecoratable } from \"@webiny/app-admin\";\n\nexport interface ActionConfig {\n name: string;\n element: React.ReactElement;\n}\n\nexport interface ActionProps {\n name: string;\n element?: React.ReactElement<unknown>;\n remove?: boolean;\n before?: string;\n after?: string;\n}\n\nexport const Action = makeDecoratable(\n \"Action\",\n ({ name, element, after = undefined, before = undefined, remove = false }: ActionProps) => {\n const getId = useIdGenerator(\"browser:grid:action\");\n const placeAfter = after !== undefined ? getId(after) : undefined;\n const placeBefore = before !== undefined ? getId(before) : undefined;\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property id=\"grid\" name={\"grid\"}>\n <Property\n id={getId(name)}\n name={\"itemActions\"}\n array={true}\n before={placeBefore}\n after={placeAfter}\n remove={remove}\n >\n <Property id={getId(name, \"name\")} name={\"name\"} value={name} />\n {element ? (\n <Property\n id={getId(name, \"element\")}\n name={\"element\"}\n value={element}\n />\n ) : null}\n </Property>\n </Property>\n </Property>\n );\n }\n);\n"],"names":["Action","makeDecoratable","name","element","after","before","remove","getId","useIdGenerator","placeAfter","undefined","placeBefore","Property"],"mappings":";;;AAiBO,MAAMA,SAASC,gBAClB,UACA,CAAC,EAAEC,IAAI,EAAEC,OAAO,EAAEC,KAAiB,EAAEC,MAAkB,EAAEC,SAAS,KAAK,EAAe;IAClF,MAAMC,QAAQC,eAAe;IAC7B,MAAMC,aAAaL,AAAUM,WAAVN,QAAsBG,MAAMH,SAASM;IACxD,MAAMC,cAAcN,AAAWK,WAAXL,SAAuBE,MAAMF,UAAUK;IAE3D,OAAO,WAAP,GACI,oBAACE,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QAAC,IAAG;QAAO,MAAM;qBACtB,oBAACA,UAAQA;QACL,IAAIL,MAAML;QACV,MAAM;QACN,OAAO;QACP,QAAQS;QACR,OAAOF;QACP,QAAQH;qBAER,oBAACM,UAAQA;QAAC,IAAIL,MAAML,MAAM;QAAS,MAAM;QAAQ,OAAOA;QACvDC,UAAU,WAAVA,GACG,oBAACS,UAAQA;QACL,IAAIL,MAAML,MAAM;QAChB,MAAM;QACN,OAAOC;SAEX;AAKxB"}
@@ -0,0 +1,28 @@
1
+ import react from "react";
2
+ import { makeDecoratable } from "@webiny/react-composition";
3
+ import { Property, useIdGenerator } from "@webiny/react-properties";
4
+ const Thumbnail = makeDecoratable("Thumbnail", ({ type, element })=>{
5
+ const getId = useIdGenerator("browser:grid:thumbnail");
6
+ return /*#__PURE__*/ react.createElement(Property, {
7
+ id: "browser",
8
+ name: "browser"
9
+ }, /*#__PURE__*/ react.createElement(Property, {
10
+ id: "grid",
11
+ name: "grid"
12
+ }, /*#__PURE__*/ react.createElement(Property, {
13
+ id: getId(type),
14
+ name: "itemThumbnails",
15
+ array: true
16
+ }, /*#__PURE__*/ react.createElement(Property, {
17
+ id: getId(type, "type"),
18
+ name: "type",
19
+ value: type
20
+ }), /*#__PURE__*/ react.createElement(Property, {
21
+ id: getId(type, "element"),
22
+ name: "element",
23
+ value: element
24
+ }))));
25
+ });
26
+ export { Thumbnail };
27
+
28
+ //# sourceMappingURL=Thumbnail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/Grid/Thumbnail.js","sources":["../../../../../../src/presentation/config/configComponents/Browser/Grid/Thumbnail.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\n\nexport interface ThumbnailConfig {\n type: string;\n element: React.JSX.Element;\n}\n\nexport interface RendererProps {\n type: string;\n element: React.JSX.Element;\n}\n\nexport const Thumbnail = makeDecoratable(\"Thumbnail\", ({ type, element }: RendererProps) => {\n const getId = useIdGenerator(\"browser:grid:thumbnail\");\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property id=\"grid\" name={\"grid\"}>\n <Property id={getId(type)} name={\"itemThumbnails\"} array={true}>\n <Property id={getId(type, \"type\")} name={\"type\"} value={type} />\n <Property id={getId(type, \"element\")} name={\"element\"} value={element} />\n </Property>\n </Property>\n </Property>\n );\n});\n"],"names":["Thumbnail","makeDecoratable","type","element","getId","useIdGenerator","Property"],"mappings":";;;AAcO,MAAMA,YAAYC,gBAAgB,aAAa,CAAC,EAAEC,IAAI,EAAEC,OAAO,EAAiB;IACnF,MAAMC,QAAQC,eAAe;IAE7B,OAAO,WAAP,GACI,oBAACC,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QAAC,IAAG;QAAO,MAAM;qBACtB,oBAACA,UAAQA;QAAC,IAAIF,MAAMF;QAAO,MAAM;QAAkB,OAAO;qBACtD,oBAACI,UAAQA;QAAC,IAAIF,MAAMF,MAAM;QAAS,MAAM;QAAQ,OAAOA;sBACxD,oBAACI,UAAQA;QAAC,IAAIF,MAAMF,MAAM;QAAY,MAAM;QAAW,OAAOC;;AAKlF"}
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ import { AcoConfig, type TableColumnConfig as ColumnConfig } from "@webiny/app-aco";
3
+ import type { TableItem } from "../../../../../domain/types.js";
4
+ export type { ColumnConfig };
5
+ type ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;
6
+ export declare const Column: ((props: ColumnProps) => React.JSX.Element) & {
7
+ original: (props: ColumnProps) => React.JSX.Element;
8
+ originalName: string;
9
+ displayName: string;
10
+ } & {
11
+ original: ((props: ColumnProps) => React.JSX.Element) & {
12
+ original: (props: ColumnProps) => React.JSX.Element;
13
+ originalName: string;
14
+ displayName: string;
15
+ };
16
+ originalName: string;
17
+ displayName: string;
18
+ } & {
19
+ createDecorator: (decorator: import("@webiny/react-composition").ComponentDecorator<((props: ColumnProps) => React.JSX.Element) & {
20
+ original: (props: ColumnProps) => React.JSX.Element;
21
+ originalName: string;
22
+ displayName: string;
23
+ }>) => (props: unknown) => React.JSX.Element;
24
+ } & {
25
+ useTableRow: {
26
+ (): import("@webiny/app-aco").TableRowContextData<TableItem>;
27
+ <TUserRow>(): import("@webiny/app-aco").TableRowContextData<TableItem & {
28
+ data: TUserRow;
29
+ }>;
30
+ };
31
+ isFolderRow: (row: import("@webiny/app-aco").TableRow) => row is import("@webiny/app-aco").FolderTableRow;
32
+ };
@@ -0,0 +1,13 @@
1
+ import react from "react";
2
+ import { AcoConfig } from "@webiny/app-aco";
3
+ import { makeDecoratable } from "@webiny/react-composition";
4
+ const { Table: Table } = AcoConfig;
5
+ const BaseColumnComponent = (props)=>/*#__PURE__*/ react.createElement(Table.Column, props);
6
+ const BaseColumn = makeDecoratable("Column", BaseColumnComponent);
7
+ const Column = Object.assign(BaseColumn, {
8
+ useTableRow: Table.Column.createUseTableRow(),
9
+ isFolderRow: Table.Column.isFolderRow
10
+ });
11
+ export { Column };
12
+
13
+ //# sourceMappingURL=Column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/Table/Column.js","sources":["../../../../../../src/presentation/config/configComponents/Browser/Table/Column.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableColumnConfig as ColumnConfig } from \"@webiny/app-aco\";\nimport type { TableItem } from \"~/domain/types.js\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\n\nconst { Table } = AcoConfig;\n\nexport type { ColumnConfig };\n\ntype ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;\n\nconst BaseColumnComponent = (props: ColumnProps) => {\n return <Table.Column {...props} />;\n};\n\nconst BaseColumn = makeDecoratable(\"Column\", BaseColumnComponent);\n\nexport const Column = Object.assign(BaseColumn, {\n useTableRow: Table.Column.createUseTableRow<TableItem>(),\n isFolderRow: Table.Column.isFolderRow\n});\n"],"names":["Table","AcoConfig","BaseColumnComponent","props","BaseColumn","makeDecoratable","Column","Object"],"mappings":";;;AAKA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMlB,MAAMC,sBAAsB,CAACC,QAClB,WAAP,GAAO,oBAACH,MAAM,MAAM,EAAKG;AAG7B,MAAMC,aAAaC,gBAAgB,UAAUH;AAEtC,MAAMI,SAASC,OAAO,MAAM,CAACH,YAAY;IAC5C,aAAaJ,MAAM,MAAM,CAAC,iBAAiB;IAC3C,aAAaA,MAAM,MAAM,CAAC,WAAW;AACzC"}
@@ -0,0 +1,28 @@
1
+ import react from "react";
2
+ import { makeDecoratable } from "@webiny/react-composition";
3
+ import { Property, useIdGenerator } from "@webiny/react-properties";
4
+ const Thumbnail = makeDecoratable("Thumbnail", ({ type, element })=>{
5
+ const getId = useIdGenerator("browser:table:thumbnail");
6
+ return /*#__PURE__*/ react.createElement(Property, {
7
+ id: "browser",
8
+ name: "browser"
9
+ }, /*#__PURE__*/ react.createElement(Property, {
10
+ id: "table",
11
+ name: "table"
12
+ }, /*#__PURE__*/ react.createElement(Property, {
13
+ id: getId(type),
14
+ name: "cellThumbnails",
15
+ array: true
16
+ }, /*#__PURE__*/ react.createElement(Property, {
17
+ id: getId(type, "type"),
18
+ name: "type",
19
+ value: type
20
+ }), /*#__PURE__*/ react.createElement(Property, {
21
+ id: getId(type, "element"),
22
+ name: "element",
23
+ value: element
24
+ }))));
25
+ });
26
+ export { Thumbnail };
27
+
28
+ //# sourceMappingURL=Thumbnail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/Table/Thumbnail.js","sources":["../../../../../../src/presentation/config/configComponents/Browser/Table/Thumbnail.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\n\nexport interface ThumbnailConfig {\n type: string;\n element: React.JSX.Element;\n}\n\nexport interface RendererProps {\n type: string;\n element: React.JSX.Element;\n}\n\nexport const Thumbnail = makeDecoratable(\"Thumbnail\", ({ type, element }: RendererProps) => {\n const getId = useIdGenerator(\"browser:table:thumbnail\");\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property id=\"table\" name={\"table\"}>\n <Property id={getId(type)} name={\"cellThumbnails\"} array={true}>\n <Property id={getId(type, \"type\")} name={\"type\"} value={type} />\n <Property id={getId(type, \"element\")} name={\"element\"} value={element} />\n </Property>\n </Property>\n </Property>\n );\n});\n"],"names":["Thumbnail","makeDecoratable","type","element","getId","useIdGenerator","Property"],"mappings":";;;AAcO,MAAMA,YAAYC,gBAAgB,aAAa,CAAC,EAAEC,IAAI,EAAEC,OAAO,EAAiB;IACnF,MAAMC,QAAQC,eAAe;IAE7B,OAAO,WAAP,GACI,oBAACC,UAAQA;QAAC,IAAG;QAAU,MAAM;qBACzB,oBAACA,UAAQA;QAAC,IAAG;QAAQ,MAAM;qBACvB,oBAACA,UAAQA;QAAC,IAAIF,MAAMF;QAAO,MAAM;QAAkB,OAAO;qBACtD,oBAACI,UAAQA;QAAC,IAAIF,MAAMF,MAAM;QAAS,MAAM;QAAQ,OAAOA;sBACxD,oBAACI,UAAQA;QAAC,IAAIF,MAAMF,MAAM;QAAY,MAAM;QAAW,OAAOC;;AAKlF"}
@@ -0,0 +1,56 @@
1
+ import type { ColumnConfig } from "./Column.js";
2
+ import type { ThumbnailConfig } from "./Thumbnail.js";
3
+ export interface TableConfig {
4
+ columns: ColumnConfig[];
5
+ cellThumbnails: ThumbnailConfig[];
6
+ }
7
+ export declare const Table: {
8
+ Column: ((props: import("@webiny/app-aco/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
9
+ original: (props: import("@webiny/app-aco/config/table/Column.js").ColumnProps) => import("react").JSX.Element;
10
+ originalName: string;
11
+ displayName: string;
12
+ } & {
13
+ original: ((props: import("@webiny/app-aco/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
14
+ original: (props: import("@webiny/app-aco/config/table/Column.js").ColumnProps) => import("react").JSX.Element;
15
+ originalName: string;
16
+ displayName: string;
17
+ };
18
+ originalName: string;
19
+ displayName: string;
20
+ } & {
21
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: import("@webiny/app-aco/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
22
+ original: (props: import("@webiny/app-aco/config/table/Column.js").ColumnProps) => import("react").JSX.Element;
23
+ originalName: string;
24
+ displayName: string;
25
+ }>) => (props: unknown) => React.JSX.Element;
26
+ } & {
27
+ useTableRow: {
28
+ (): import("@webiny/app-aco/index.js").TableRowContextData<import("../../../../../domain/types.js").TableItem>;
29
+ <TUserRow>(): import("@webiny/app-aco/index.js").TableRowContextData<import("../../../../../domain/types.js").TableItem & {
30
+ data: TUserRow;
31
+ }>;
32
+ };
33
+ isFolderRow: (row: import("@webiny/app-aco/table.types.js").TableRow) => row is import("@webiny/app-aco/table.types.js").FolderTableRow;
34
+ };
35
+ Cell: {
36
+ Thumbnail: (({ type, element }: import("./Thumbnail.js").RendererProps) => import("react").JSX.Element) & {
37
+ original: ({ type, element }: import("./Thumbnail.js").RendererProps) => import("react").JSX.Element;
38
+ originalName: string;
39
+ displayName: string;
40
+ } & {
41
+ original: (({ type, element }: import("./Thumbnail.js").RendererProps) => import("react").JSX.Element) & {
42
+ original: ({ type, element }: import("./Thumbnail.js").RendererProps) => import("react").JSX.Element;
43
+ originalName: string;
44
+ displayName: string;
45
+ };
46
+ originalName: string;
47
+ displayName: string;
48
+ } & {
49
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ type, element }: import("./Thumbnail.js").RendererProps) => import("react").JSX.Element) & {
50
+ original: ({ type, element }: import("./Thumbnail.js").RendererProps) => import("react").JSX.Element;
51
+ originalName: string;
52
+ displayName: string;
53
+ }>) => (props: unknown) => React.JSX.Element;
54
+ };
55
+ };
56
+ };
@@ -0,0 +1,11 @@
1
+ import { Column } from "./Column.js";
2
+ import { Thumbnail } from "./Thumbnail.js";
3
+ const Table = {
4
+ Column: Column,
5
+ Cell: {
6
+ Thumbnail: Thumbnail
7
+ }
8
+ };
9
+ export { Table };
10
+
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/config/configComponents/Browser/Table/index.js","sources":["../../../../../../src/presentation/config/configComponents/Browser/Table/index.ts"],"sourcesContent":["import type { ColumnConfig } from \"./Column.js\";\nimport { Column } from \"./Column.js\";\nimport type { ThumbnailConfig } from \"./Thumbnail.js\";\nimport { Thumbnail } from \"./Thumbnail.js\";\n\nexport interface TableConfig {\n columns: ColumnConfig[];\n cellThumbnails: ThumbnailConfig[];\n}\n\nexport const Table = {\n Column,\n Cell: {\n Thumbnail\n }\n};\n"],"names":["Table","Column","Thumbnail"],"mappings":";;AAUO,MAAMA,QAAQ;IACjBC,QAAMA;IACN,MAAM;QACFC,WAASA;IACb;AACJ"}