@webiny/app-file-manager 6.0.0-beta.0 → 6.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BatchFileUploader.d.ts +2 -2
- package/BatchFileUploader.js +75 -112
- package/BatchFileUploader.js.map +1 -1
- package/README.md +7 -28
- package/app.js +9 -14
- package/app.js.map +1 -1
- package/components/BottomInfoBar/BottomInfoBar.d.ts +3 -3
- package/components/BottomInfoBar/BottomInfoBar.js +14 -17
- package/components/BottomInfoBar/BottomInfoBar.js.map +1 -1
- package/components/BottomInfoBar/ListStatus.js +17 -21
- package/components/BottomInfoBar/ListStatus.js.map +1 -1
- package/components/BottomInfoBar/SupportedFileTypes.d.ts +4 -2
- package/components/BottomInfoBar/SupportedFileTypes.js +37 -26
- package/components/BottomInfoBar/SupportedFileTypes.js.map +1 -1
- package/components/BottomInfoBar/index.d.ts +1 -1
- package/components/BottomInfoBar/index.js +1 -16
- package/components/BottomInfoBar/index.js.map +1 -1
- package/components/BulkActions/ActionDelete.js +70 -71
- package/components/BulkActions/ActionDelete.js.map +1 -1
- package/components/BulkActions/ActionEdit/ActionEdit.js +38 -45
- package/components/BulkActions/ActionEdit/ActionEdit.js.map +1 -1
- package/components/BulkActions/ActionEdit/ActionEdit.types.d.ts +2 -2
- package/components/BulkActions/ActionEdit/ActionEdit.types.js +1 -5
- package/components/BulkActions/ActionEdit/ActionEdit.types.js.map +1 -1
- package/components/BulkActions/ActionEdit/ActionEditPresenter.d.ts +1 -1
- package/components/BulkActions/ActionEdit/ActionEditPresenter.js +45 -80
- package/components/BulkActions/ActionEdit/ActionEditPresenter.js.map +1 -1
- package/components/BulkActions/ActionEdit/ActionEditPresenter.test.js +16 -19
- package/components/BulkActions/ActionEdit/ActionEditPresenter.test.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/AddOperation.js +15 -18
- package/components/BulkActions/ActionEdit/BatchEditorDialog/AddOperation.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditor.d.ts +2 -2
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditor.js +33 -54
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditor.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialog.d.ts +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialog.js +36 -46
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialog.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.d.ts +5 -10
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.js +125 -173
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.test.js +58 -49
- package/components/BulkActions/ActionEdit/BatchEditorDialog/BatchEditorDialogPresenter.test.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.d.ts +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.js +20 -28
- package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/Operation.d.ts +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/Operation.js +34 -46
- package/components/BulkActions/ActionEdit/BatchEditorDialog/Operation.js.map +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/index.d.ts +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/index.js +1 -16
- package/components/BulkActions/ActionEdit/BatchEditorDialog/index.js.map +1 -1
- package/components/BulkActions/ActionEdit/GraphQLInputMapper.d.ts +15 -10
- package/components/BulkActions/ActionEdit/GraphQLInputMapper.js +41 -51
- package/components/BulkActions/ActionEdit/GraphQLInputMapper.js.map +1 -1
- package/components/BulkActions/ActionEdit/GraphQLInputMapper.test.js +90 -77
- package/components/BulkActions/ActionEdit/GraphQLInputMapper.test.js.map +1 -1
- package/components/BulkActions/ActionEdit/domain/Batch.js +23 -38
- package/components/BulkActions/ActionEdit/domain/Batch.js.map +1 -1
- package/components/BulkActions/ActionEdit/domain/BatchMapper.d.ts +1 -1
- package/components/BulkActions/ActionEdit/domain/BatchMapper.js +10 -27
- package/components/BulkActions/ActionEdit/domain/BatchMapper.js.map +1 -1
- package/components/BulkActions/ActionEdit/domain/Field.d.ts +2 -2
- package/components/BulkActions/ActionEdit/domain/Field.js +31 -53
- package/components/BulkActions/ActionEdit/domain/Field.js.map +1 -1
- package/components/BulkActions/ActionEdit/domain/FieldMapper.d.ts +1 -1
- package/components/BulkActions/ActionEdit/domain/FieldMapper.js +18 -41
- package/components/BulkActions/ActionEdit/domain/FieldMapper.js.map +1 -1
- package/components/BulkActions/ActionEdit/domain/index.d.ts +4 -4
- package/components/BulkActions/ActionEdit/domain/index.js +4 -49
- package/components/BulkActions/ActionEdit/domain/index.js.map +1 -1
- package/components/BulkActions/ActionEdit/index.d.ts +1 -1
- package/components/BulkActions/ActionEdit/index.js +1 -16
- package/components/BulkActions/ActionEdit/index.js.map +1 -1
- package/components/BulkActions/ActionEdit/useActionEditWorker.d.ts +2 -2
- package/components/BulkActions/ActionEdit/useActionEditWorker.js +44 -48
- package/components/BulkActions/ActionEdit/useActionEditWorker.js.map +1 -1
- package/components/BulkActions/ActionMove.js +64 -61
- package/components/BulkActions/ActionMove.js.map +1 -1
- package/components/BulkActions/BulkActions.js +35 -38
- package/components/BulkActions/BulkActions.js.map +1 -1
- package/components/BulkActions/index.d.ts +4 -4
- package/components/BulkActions/index.js +4 -43
- package/components/BulkActions/index.js.map +1 -1
- package/components/EditFileUsingUrl/EditFileUsingUrl.d.ts +1 -1
- package/components/EditFileUsingUrl/EditFileUsingUrl.js +31 -43
- package/components/EditFileUsingUrl/EditFileUsingUrl.js.map +1 -1
- package/components/EditFileUsingUrl/EditFileUsingUrlPresenter.d.ts +2 -2
- package/components/EditFileUsingUrl/EditFileUsingUrlPresenter.js +39 -49
- package/components/EditFileUsingUrl/EditFileUsingUrlPresenter.js.map +1 -1
- package/components/EditFileUsingUrl/EditFileUsingUrlRepository.d.ts +2 -2
- package/components/EditFileUsingUrl/EditFileUsingUrlRepository.js +32 -49
- package/components/EditFileUsingUrl/EditFileUsingUrlRepository.js.map +1 -1
- package/components/EditFileUsingUrl/GetFileByUrl.d.ts +4 -4
- package/components/EditFileUsingUrl/GetFileByUrl.js +22 -34
- package/components/EditFileUsingUrl/GetFileByUrl.js.map +1 -1
- package/components/EditFileUsingUrl/Loading.js +30 -53
- package/components/EditFileUsingUrl/Loading.js.map +1 -1
- package/components/EditFileUsingUrl/UpdateFile.d.ts +4 -4
- package/components/EditFileUsingUrl/UpdateFile.js +6 -19
- package/components/EditFileUsingUrl/UpdateFile.js.map +1 -1
- package/components/EditFileUsingUrl/getFileByUrl.graphql.d.ts +1 -1
- package/components/EditFileUsingUrl/getFileByUrl.graphql.js +16 -13
- package/components/EditFileUsingUrl/getFileByUrl.graphql.js.map +1 -1
- package/components/EditFileUsingUrl/index.d.ts +1 -1
- package/components/EditFileUsingUrl/index.js +1 -16
- package/components/EditFileUsingUrl/index.js.map +1 -1
- package/components/Empty/Empty.d.ts +1 -1
- package/components/Empty/Empty.js +18 -23
- package/components/Empty/Empty.js.map +1 -1
- package/components/Empty/index.d.ts +1 -1
- package/components/Empty/index.js +1 -16
- package/components/Empty/index.js.map +1 -1
- package/components/FileDetails/FileDetails.d.ts +2 -2
- package/components/FileDetails/FileDetails.js +116 -140
- package/components/FileDetails/FileDetails.js.map +1 -1
- package/components/FileDetails/FileDetailsProvider.d.ts +1 -1
- package/components/FileDetails/FileDetailsProvider.js +11 -17
- package/components/FileDetails/FileDetailsProvider.js.map +1 -1
- package/components/FileDetails/components/ActionButton.d.ts +2 -1
- package/components/FileDetails/components/ActionButton.js +17 -24
- package/components/FileDetails/components/ActionButton.js.map +1 -1
- package/components/FileDetails/components/Actions.js +11 -34
- package/components/FileDetails/components/Actions.js.map +1 -1
- package/components/FileDetails/components/BaseFields.d.ts +1 -1
- package/components/FileDetails/components/BaseFields.js +14 -22
- package/components/FileDetails/components/BaseFields.js.map +1 -1
- package/components/FileDetails/components/Content.d.ts +2 -1
- package/components/FileDetails/components/Content.js +28 -41
- package/components/FileDetails/components/Content.js.map +1 -1
- package/components/FileDetails/components/CreatedOn.js +19 -52
- package/components/FileDetails/components/CreatedOn.js.map +1 -1
- package/components/FileDetails/components/Description.d.ts +2 -0
- package/components/FileDetails/components/Description.js +23 -0
- package/components/FileDetails/components/Description.js.map +1 -0
- package/components/FileDetails/components/Extensions.d.ts +1 -1
- package/components/FileDetails/components/Extensions.js +19 -50
- package/components/FileDetails/components/Extensions.js.map +1 -1
- package/components/FileDetails/components/Preview.js +9 -27
- package/components/FileDetails/components/Preview.js.map +1 -1
- package/components/FileDetails/components/Thumbnail.js +13 -18
- package/components/FileDetails/components/Thumbnail.js.map +1 -1
- package/components/FileDetails/index.d.ts +1 -1
- package/components/FileDetails/index.js +1 -16
- package/components/FileDetails/index.js.map +1 -1
- package/components/FileDropArea/FileDropArea.d.ts +9 -0
- package/components/FileDropArea/FileDropArea.js +69 -0
- package/components/FileDropArea/FileDropArea.js.map +1 -0
- package/components/FileDropArea/index.d.ts +1 -0
- package/components/FileDropArea/index.js +3 -0
- package/components/FileDropArea/index.js.map +1 -0
- package/components/FileDropPlaceholder/FileDropPlaceholder.d.ts +2 -0
- package/components/FileDropPlaceholder/FileDropPlaceholder.js +12 -0
- package/components/FileDropPlaceholder/FileDropPlaceholder.js.map +1 -0
- package/components/FileDropPlaceholder/index.d.ts +1 -0
- package/components/FileDropPlaceholder/index.js +3 -0
- package/components/FileDropPlaceholder/index.js.map +1 -0
- package/components/Filters/Filters.js +26 -0
- package/components/Filters/Filters.js.map +1 -0
- package/components/Filters/index.d.ts +1 -0
- package/components/Filters/index.js +3 -0
- package/components/Filters/index.js.map +1 -0
- package/components/Grid/ActionButton.d.ts +2 -1
- package/components/Grid/ActionButton.js +24 -21
- package/components/Grid/ActionButton.js.map +1 -1
- package/components/Grid/File.d.ts +23 -7
- package/components/Grid/File.js +77 -52
- package/components/Grid/File.js.map +1 -1
- package/components/Grid/Grid.d.ts +7 -4
- package/components/Grid/Grid.js +60 -67
- package/components/Grid/Grid.js.map +1 -1
- package/components/Grid/Thumbnail.js +13 -18
- package/components/Grid/Thumbnail.js.map +1 -1
- package/components/Grid/index.d.ts +1 -1
- package/components/Grid/index.js +1 -16
- package/components/Grid/index.js.map +1 -1
- package/components/Header/Actions.d.ts +5 -0
- package/components/Header/Actions.js +99 -0
- package/components/Header/Actions.js.map +1 -0
- package/components/Header/Header.d.ts +9 -0
- package/components/Header/Header.js +21 -0
- package/components/Header/Header.js.map +1 -0
- package/components/Header/Title.d.ts +2 -0
- package/components/Header/Title.js +55 -0
- package/components/Header/Title.js.map +1 -0
- package/components/Header/index.d.ts +1 -0
- package/components/Header/index.js +3 -0
- package/components/Header/index.js.map +1 -0
- package/components/ImageEditor/ImageEditor.d.ts +45 -0
- package/components/ImageEditor/ImageEditor.js +218 -0
- package/components/ImageEditor/ImageEditor.js.map +1 -0
- package/components/ImageEditor/ImageEditorDialog.d.ts +16 -0
- package/components/ImageEditor/ImageEditorDialog.js +53 -0
- package/components/ImageEditor/ImageEditorDialog.js.map +1 -0
- package/components/ImageEditor/index.d.ts +1 -0
- package/components/ImageEditor/index.js +3 -0
- package/components/ImageEditor/index.js.map +1 -0
- package/components/ImageEditor/toolbar/crop.d.ts +4 -0
- package/components/ImageEditor/toolbar/crop.js +67 -0
- package/components/ImageEditor/toolbar/crop.js.map +1 -0
- package/components/ImageEditor/toolbar/filter.d.ts +3 -0
- package/components/ImageEditor/toolbar/filter.js +167 -0
- package/components/ImageEditor/toolbar/filter.js.map +1 -0
- package/components/ImageEditor/toolbar/flip.d.ts +4 -0
- package/components/ImageEditor/toolbar/flip.js +94 -0
- package/components/ImageEditor/toolbar/flip.js.map +1 -0
- package/components/ImageEditor/toolbar/index.d.ts +4 -0
- package/components/ImageEditor/toolbar/index.js +6 -0
- package/components/ImageEditor/toolbar/index.js.map +1 -0
- package/components/ImageEditor/toolbar/rotate.d.ts +4 -0
- package/components/ImageEditor/toolbar/rotate.js +93 -0
- package/components/ImageEditor/toolbar/rotate.js.map +1 -0
- package/components/ImageEditor/toolbar/types.d.ts +32 -0
- package/components/ImageEditor/toolbar/types.js +3 -0
- package/components/ImageEditor/toolbar/types.js.map +1 -0
- package/components/LayoutSwitch/LayoutSwitch.js +18 -29
- package/components/LayoutSwitch/LayoutSwitch.js.map +1 -1
- package/components/LayoutSwitch/index.d.ts +1 -1
- package/components/LayoutSwitch/index.js +1 -16
- package/components/LayoutSwitch/index.js.map +1 -1
- package/components/NoPermissions/NoPermissions.d.ts +2 -0
- package/components/NoPermissions/NoPermissions.js +28 -0
- package/components/NoPermissions/NoPermissions.js.map +1 -0
- package/components/NoPermissions/index.d.ts +1 -0
- package/components/NoPermissions/index.js +3 -0
- package/components/NoPermissions/index.js.map +1 -0
- package/components/NoResults/NoResults.js +19 -15
- package/components/NoResults/NoResults.js.map +1 -1
- package/components/NoResults/index.d.ts +1 -1
- package/components/NoResults/index.js +1 -16
- package/components/NoResults/index.js.map +1 -1
- package/components/SearchWidget/SearchWidget.js +30 -0
- package/components/SearchWidget/SearchWidget.js.map +1 -0
- package/components/SearchWidget/index.d.ts +1 -0
- package/components/SearchWidget/index.js +3 -0
- package/components/SearchWidget/index.js.map +1 -0
- package/components/Table/Actions/CopyFile.js +19 -22
- package/components/Table/Actions/CopyFile.js.map +1 -1
- package/components/Table/Actions/DeleteFile.js +23 -25
- package/components/Table/Actions/DeleteFile.js.map +1 -1
- package/components/Table/Actions/EditFile.js +18 -23
- package/components/Table/Actions/EditFile.js.map +1 -1
- package/components/Table/Actions/MoveFile.js +15 -19
- package/components/Table/Actions/MoveFile.js.map +1 -1
- package/components/Table/Actions/index.d.ts +4 -4
- package/components/Table/Actions/index.js +4 -49
- package/components/Table/Actions/index.js.map +1 -1
- package/components/Table/Cells/CellActions.js +25 -30
- package/components/Table/Cells/CellActions.js.map +1 -1
- package/components/Table/Cells/CellAuthor.js +13 -14
- package/components/Table/Cells/CellAuthor.js.map +1 -1
- package/components/Table/Cells/CellCreated.js +15 -16
- package/components/Table/Cells/CellCreated.js.map +1 -1
- package/components/Table/Cells/CellModified.js +15 -16
- package/components/Table/Cells/CellModified.js.map +1 -1
- package/components/Table/Cells/CellName.d.ts +4 -4
- package/components/Table/Cells/CellName.js +55 -48
- package/components/Table/Cells/CellName.js.map +1 -1
- package/components/Table/Cells/CellSize.js +13 -18
- package/components/Table/Cells/CellSize.js.map +1 -1
- package/components/Table/Cells/CellThumbnail.d.ts +2 -0
- package/components/Table/Cells/CellThumbnail.js +16 -0
- package/components/Table/Cells/CellThumbnail.js.map +1 -0
- package/components/Table/Cells/CellType.js +12 -17
- package/components/Table/Cells/CellType.js.map +1 -1
- package/components/Table/Cells/index.d.ts +7 -7
- package/components/Table/Cells/index.js +7 -82
- package/components/Table/Cells/index.js.map +1 -1
- package/components/Table/Table.d.ts +4 -4
- package/components/Table/Table.js +23 -21
- package/components/Table/Table.js.map +1 -1
- package/components/Table/index.d.ts +3 -3
- package/components/Table/index.js +3 -38
- package/components/Table/index.js.map +1 -1
- package/{modules/FileManagerRenderer/FileManagerView/components → components}/TagsList/Empty.d.ts +1 -1
- package/components/TagsList/Empty.js +11 -0
- package/components/TagsList/Empty.js.map +1 -0
- package/components/TagsList/FilterSelect.d.ts +2 -0
- package/components/TagsList/FilterSelect.js +28 -0
- package/components/TagsList/FilterSelect.js.map +1 -0
- package/components/TagsList/FilterStatus.d.ts +7 -0
- package/components/TagsList/FilterStatus.js +27 -0
- package/components/TagsList/FilterStatus.js.map +1 -0
- package/{modules/FileManagerRenderer/FileManagerView/components → components}/TagsList/Tag.d.ts +2 -2
- package/components/TagsList/Tag.js +16 -0
- package/components/TagsList/Tag.js.map +1 -0
- package/components/TagsList/Tags.d.ts +8 -0
- package/components/TagsList/Tags.js +32 -0
- package/components/TagsList/Tags.js.map +1 -0
- package/{modules/FileManagerRenderer/FileManagerView/components → components}/TagsList/TagsList.d.ts +1 -1
- package/components/TagsList/TagsList.js +31 -0
- package/components/TagsList/TagsList.js.map +1 -0
- package/components/TagsList/index.d.ts +1 -0
- package/components/TagsList/index.js +3 -0
- package/components/TagsList/index.js.map +1 -0
- package/components/Thumbnail/Thumbnail.d.ts +2 -0
- package/components/Thumbnail/Thumbnail.js +16 -0
- package/components/Thumbnail/Thumbnail.js.map +1 -0
- package/components/Thumbnail/index.d.ts +1 -0
- package/components/Thumbnail/index.js +3 -0
- package/components/Thumbnail/index.js.map +1 -0
- package/components/UploadStatus/UploadStatus.d.ts +3 -1
- package/components/UploadStatus/UploadStatus.js +33 -32
- package/components/UploadStatus/UploadStatus.js.map +1 -1
- package/components/UploadStatus/index.d.ts +1 -1
- package/components/UploadStatus/index.js +1 -16
- package/components/UploadStatus/index.js.map +1 -1
- package/components/fields/AccessControl.js +31 -31
- package/components/fields/AccessControl.js.map +1 -1
- package/components/fields/Name.js +21 -23
- package/components/fields/Name.js.map +1 -1
- package/components/fields/Tags.js +30 -30
- package/components/fields/Tags.js.map +1 -1
- package/components/fields/index.d.ts +3 -4
- package/components/fields/index.js +3 -49
- package/components/fields/index.js.map +1 -1
- package/components/fields/useAccessControlField.d.ts +1 -2
- package/components/fields/useAccessControlField.js +9 -21
- package/components/fields/useAccessControlField.js.map +1 -1
- package/components/fields/useFileOrUndefined.js +4 -10
- package/components/fields/useFileOrUndefined.js.map +1 -1
- package/constants.d.ts +2 -2
- package/constants.js +4 -16
- package/constants.js.map +1 -1
- package/contexts/FileProvider.d.ts +1 -1
- package/contexts/FileProvider.js +12 -18
- package/contexts/FileProvider.js.map +1 -1
- package/hooks/useCopyFile.d.ts +1 -1
- package/hooks/useCopyFile.js +18 -24
- package/hooks/useCopyFile.js.map +1 -1
- package/hooks/useDeleteFile.d.ts +1 -1
- package/hooks/useDeleteFile.js +35 -62
- package/hooks/useDeleteFile.js.map +1 -1
- package/hooks/useFile.d.ts +1 -1
- package/hooks/useFile.js +5 -12
- package/hooks/useFile.js.map +1 -1
- package/hooks/useFileDetails.d.ts +1 -1
- package/hooks/useFileDetails.js +5 -12
- package/hooks/useFileDetails.js.map +1 -1
- package/hooks/useFileModel.js +5 -12
- package/hooks/useFileModel.js.map +1 -1
- package/hooks/useMoveFileToFolder.d.ts +1 -1
- package/hooks/useMoveFileToFolder.js +19 -21
- package/hooks/useMoveFileToFolder.js.map +1 -1
- package/index.d.ts +8 -8
- package/index.js +8 -101
- package/index.js.map +1 -1
- package/modules/Enterprise/HandleWebsocketMessages.d.ts +1 -0
- package/modules/Enterprise/HandleWebsocketMessages.js +57 -0
- package/modules/Enterprise/HandleWebsocketMessages.js.map +1 -0
- package/modules/Enterprise/components/ThreatScanInProgressFileBody.d.ts +2 -0
- package/modules/Enterprise/components/ThreatScanInProgressFileBody.js +23 -0
- package/modules/Enterprise/components/ThreatScanInProgressFileBody.js.map +1 -0
- package/modules/Enterprise/components/ThreatScanInProgressTableCell.d.ts +6 -0
- package/modules/Enterprise/components/ThreatScanInProgressTableCell.js +32 -0
- package/modules/Enterprise/components/ThreatScanInProgressTableCell.js.map +1 -0
- package/modules/Enterprise/constants.d.ts +3 -0
- package/modules/Enterprise/constants.js +5 -0
- package/modules/Enterprise/constants.js.map +1 -0
- package/modules/Enterprise/index.d.ts +2 -0
- package/modules/Enterprise/index.js +40 -0
- package/modules/Enterprise/index.js.map +1 -0
- package/modules/FileManagerApiProvider/FileManagerApiContext/FileManagerApiContext.d.ts +2 -3
- package/modules/FileManagerApiProvider/FileManagerApiContext/FileManagerApiContext.js +138 -129
- package/modules/FileManagerApiProvider/FileManagerApiContext/FileManagerApiContext.js.map +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/FileModelContext.d.ts +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/FileModelContext.js +14 -25
- package/modules/FileManagerApiProvider/FileManagerApiContext/FileModelContext.js.map +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/getFileGraphQLSelection.d.ts +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/getFileGraphQLSelection.js +28 -11
- package/modules/FileManagerApiProvider/FileManagerApiContext/getFileGraphQLSelection.js.map +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/getFileUploader.d.ts +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/getFileUploader.js +3 -9
- package/modules/FileManagerApiProvider/FileManagerApiContext/getFileUploader.js.map +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/index.d.ts +3 -3
- package/modules/FileManagerApiProvider/FileManagerApiContext/index.js +3 -26
- package/modules/FileManagerApiProvider/FileManagerApiContext/index.js.map +1 -1
- package/modules/FileManagerApiProvider/FileManagerApiContext/useFileManagerApi.d.ts +2 -2
- package/modules/FileManagerApiProvider/FileManagerApiContext/useFileManagerApi.js +4 -11
- package/modules/FileManagerApiProvider/FileManagerApiContext/useFileManagerApi.js.map +1 -1
- package/modules/FileManagerApiProvider/graphql.d.ts +8 -9
- package/modules/FileManagerApiProvider/graphql.js +116 -27
- package/modules/FileManagerApiProvider/graphql.js.map +1 -1
- package/modules/FileManagerApiProvider/index.js +11 -17
- package/modules/FileManagerApiProvider/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/FileDetails/CopyUrl.js +18 -25
- package/modules/FileManagerRenderer/FileActions/FileDetails/CopyUrl.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/FileDetails/DeleteImage.js +26 -39
- package/modules/FileManagerRenderer/FileActions/FileDetails/DeleteImage.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/FileDetails/Download.js +15 -23
- package/modules/FileManagerRenderer/FileActions/FileDetails/Download.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/FileDetails/EditImage.js +48 -59
- package/modules/FileManagerRenderer/FileActions/FileDetails/EditImage.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/FileDetails/MoveToFolder.js +14 -22
- package/modules/FileManagerRenderer/FileActions/FileDetails/MoveToFolder.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/Grid/Delete.d.ts +2 -0
- package/modules/FileManagerRenderer/FileActions/Grid/Delete.js +29 -0
- package/modules/FileManagerRenderer/FileActions/Grid/Delete.js.map +1 -0
- package/modules/FileManagerRenderer/FileActions/Grid/Download.js +16 -19
- package/modules/FileManagerRenderer/FileActions/Grid/Download.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/Grid/MoveToFolder.js +14 -17
- package/modules/FileManagerRenderer/FileActions/Grid/MoveToFolder.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/Grid/Settings.js +15 -18
- package/modules/FileManagerRenderer/FileActions/Grid/Settings.js.map +1 -1
- package/modules/FileManagerRenderer/FileActions/index.js +33 -38
- package/modules/FileManagerRenderer/FileActions/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/FileManagerView.js +168 -233
- package/modules/FileManagerRenderer/FileManagerView/FileManagerView.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.d.ts +216 -63
- package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.js +55 -48
- package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/LeftSidebar.d.ts +1 -1
- package/modules/FileManagerRenderer/FileManagerView/LeftSidebar.js +42 -48
- package/modules/FileManagerRenderer/FileManagerView/LeftSidebar.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkAction.d.ts +2 -2
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkAction.js +34 -45
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkAction.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkEditField.js +11 -17
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/BulkEditField.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FileAction.d.ts +5 -5
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FileAction.js +8 -22
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FileAction.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Filter.d.ts +20 -4
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Filter.js +20 -29
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Filter.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FilterByTags.js +7 -13
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FilterByTags.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FiltersToWhere.js +7 -13
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FiltersToWhere.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderAction.d.ts +4 -4
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderAction.js +8 -22
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderAction.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderDropConfirmation.d.ts +5 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderDropConfirmation.js +10 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderDropConfirmation.js.map +1 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderFieldDecorator.d.ts +7 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderFieldDecorator.js +16 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/FolderFieldDecorator.js.map +1 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Action.d.ts +15 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Action.js +18 -27
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Action.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Thumbnail.d.ts +15 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Thumbnail.js +13 -19
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/Thumbnail.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/index.d.ts +2 -2
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/index.js +1 -5
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Grid/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Column.d.ts +29 -6
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Column.js +10 -22
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Column.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Thumbnail.d.ts +28 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Thumbnail.js +30 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/Thumbnail.js.map +1 -0
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/index.d.ts +50 -5
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/index.js +7 -9
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Table/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.d.ts +148 -41
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.js +40 -31
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Action.d.ts +15 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Action.js +17 -26
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Action.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.d.ts +20 -4
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.js +20 -29
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.d.ts +3 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js +16 -24
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/GroupFields.js +8 -14
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/GroupFields.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Thumbnail.d.ts +15 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Thumbnail.js +12 -18
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Thumbnail.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Width.js +8 -14
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Width.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.d.ts +58 -19
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.js +15 -21
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/formatFileItem.d.ts +6 -0
- package/modules/FileManagerRenderer/FileManagerView/formatFileItem.js +19 -0
- package/modules/FileManagerRenderer/FileManagerView/formatFileItem.js.map +1 -0
- package/modules/FileManagerRenderer/FileManagerView/getThumbnailRenderer.d.ts +1 -1
- package/modules/FileManagerRenderer/FileManagerView/getThumbnailRenderer.js +7 -16
- package/modules/FileManagerRenderer/FileManagerView/getThumbnailRenderer.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/index.d.ts +1 -1
- package/modules/FileManagerRenderer/FileManagerView/index.js +55 -64
- package/modules/FileManagerRenderer/FileManagerView/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/outputFileSelectionError.d.ts +1 -1
- package/modules/FileManagerRenderer/FileManagerView/outputFileSelectionError.js +6 -17
- package/modules/FileManagerRenderer/FileManagerView/outputFileSelectionError.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/FileManagerViewContext.d.ts +30 -15
- package/modules/FileManagerRenderer/FileManagerViewProvider/FileManagerViewContext.js +300 -310
- package/modules/FileManagerRenderer/FileManagerViewProvider/FileManagerViewContext.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/index.d.ts +2 -2
- package/modules/FileManagerRenderer/FileManagerViewProvider/index.js +2 -27
- package/modules/FileManagerRenderer/FileManagerViewProvider/index.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/setSelection.d.ts +7 -5
- package/modules/FileManagerRenderer/FileManagerViewProvider/setSelection.js +30 -45
- package/modules/FileManagerRenderer/FileManagerViewProvider/setSelection.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/state.d.ts +5 -3
- package/modules/FileManagerRenderer/FileManagerViewProvider/state.js +5 -9
- package/modules/FileManagerRenderer/FileManagerViewProvider/state.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/useFileManagerView.d.ts +2 -2
- package/modules/FileManagerRenderer/FileManagerViewProvider/useFileManagerView.js +4 -10
- package/modules/FileManagerRenderer/FileManagerViewProvider/useFileManagerView.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/useListFiles.d.ts +7 -7
- package/modules/FileManagerRenderer/FileManagerViewProvider/useListFiles.js +92 -92
- package/modules/FileManagerRenderer/FileManagerViewProvider/useListFiles.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/useTags.d.ts +1 -1
- package/modules/FileManagerRenderer/FileManagerViewProvider/useTags.js +63 -81
- package/modules/FileManagerRenderer/FileManagerViewProvider/useTags.js.map +1 -1
- package/modules/FileManagerRenderer/filters/FilterByType.js +9 -16
- package/modules/FileManagerRenderer/filters/FilterByType.js.map +1 -1
- package/modules/FileManagerRenderer/index.js +87 -84
- package/modules/FileManagerRenderer/index.js.map +1 -1
- package/modules/HeadlessCms/fileField.d.ts +1 -1
- package/modules/HeadlessCms/fileField.js +13 -21
- package/modules/HeadlessCms/fileField.js.map +1 -1
- package/modules/HeadlessCms/fileRenderer/fileField.d.ts +1 -1
- package/modules/HeadlessCms/fileRenderer/fileField.js +50 -92
- package/modules/HeadlessCms/fileRenderer/fileField.js.map +1 -1
- package/modules/HeadlessCms/fileRenderer/fileFields.d.ts +1 -1
- package/modules/HeadlessCms/fileRenderer/fileFields.js +78 -148
- package/modules/HeadlessCms/fileRenderer/fileFields.js.map +1 -1
- package/modules/HeadlessCms/fileRenderer/utils.d.ts +1 -11
- package/modules/HeadlessCms/fileRenderer/utils.js +3 -53
- package/modules/HeadlessCms/fileRenderer/utils.js.map +1 -1
- package/modules/HeadlessCms/index.js +8 -14
- package/modules/HeadlessCms/index.js.map +1 -1
- package/modules/SecurityPermissions.d.ts +2 -0
- package/modules/SecurityPermissions.js +36 -0
- package/modules/SecurityPermissions.js.map +1 -0
- package/modules/Settings/graphql.js +32 -15
- package/modules/Settings/graphql.js.map +1 -1
- package/modules/Settings/index.js +34 -32
- package/modules/Settings/index.js.map +1 -1
- package/modules/Settings/views/FileManagerSettings.js +146 -113
- package/modules/Settings/views/FileManagerSettings.js.map +1 -1
- package/modules/ThumbnailRenderers/FilePreviewDefaultRenderer.d.ts +2 -0
- package/modules/ThumbnailRenderers/FilePreviewDefaultRenderer.js +12 -0
- package/modules/ThumbnailRenderers/FilePreviewDefaultRenderer.js.map +1 -0
- package/modules/ThumbnailRenderers/FilePreviewImageRenderer.d.ts +2 -0
- package/modules/ThumbnailRenderers/FilePreviewImageRenderer.js +19 -0
- package/modules/ThumbnailRenderers/FilePreviewImageRenderer.js.map +1 -0
- package/modules/ThumbnailRenderers/GridItemDefaultRenderer.d.ts +2 -0
- package/modules/ThumbnailRenderers/GridItemDefaultRenderer.js +12 -0
- package/modules/ThumbnailRenderers/GridItemDefaultRenderer.js.map +1 -0
- package/modules/ThumbnailRenderers/GridItemImageRenderer.d.ts +2 -0
- package/modules/ThumbnailRenderers/GridItemImageRenderer.js +19 -0
- package/modules/ThumbnailRenderers/GridItemImageRenderer.js.map +1 -0
- package/modules/ThumbnailRenderers/TableItemDefaultRenderer.d.ts +2 -0
- package/modules/ThumbnailRenderers/TableItemDefaultRenderer.js +19 -0
- package/modules/ThumbnailRenderers/TableItemDefaultRenderer.js.map +1 -0
- package/modules/ThumbnailRenderers/TableItemImageRenderer.d.ts +2 -0
- package/modules/ThumbnailRenderers/TableItemImageRenderer.js +19 -0
- package/modules/ThumbnailRenderers/TableItemImageRenderer.js.map +1 -0
- package/package.json +32 -43
- package/routes.d.ts +4 -0
- package/routes.js +9 -0
- package/routes.js.map +1 -0
- package/tagsHelpers.d.ts +1 -1
- package/tagsHelpers.js +31 -37
- package/tagsHelpers.js.map +1 -1
- package/types.d.ts +55 -12
- package/types.js +1 -12
- package/types.js.map +1 -1
- package/components/BottomInfoBar/styled.d.ts +0 -21
- package/components/BottomInfoBar/styled.js +0 -81
- package/components/BottomInfoBar/styled.js.map +0 -1
- package/components/BulkActions/ActionEdit/ActionEdit.styled.d.ts +0 -28
- package/components/BulkActions/ActionEdit/ActionEdit.styled.js +0 -77
- package/components/BulkActions/ActionEdit/ActionEdit.styled.js.map +0 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/RemoveOperation.d.ts +0 -7
- package/components/BulkActions/ActionEdit/BatchEditorDialog/RemoveOperation.js +0 -26
- package/components/BulkActions/ActionEdit/BatchEditorDialog/RemoveOperation.js.map +0 -1
- package/components/BulkActions/BulkActions.styled.d.ts +0 -13
- package/components/BulkActions/BulkActions.styled.js +0 -46
- package/components/BulkActions/BulkActions.styled.js.map +0 -1
- package/components/DropFilesHere/DropFilesHere.d.ts +0 -8
- package/components/DropFilesHere/DropFilesHere.js +0 -28
- package/components/DropFilesHere/DropFilesHere.js.map +0 -1
- package/components/DropFilesHere/index.d.ts +0 -1
- package/components/DropFilesHere/index.js +0 -18
- package/components/DropFilesHere/index.js.map +0 -1
- package/components/DropFilesHere/styled.d.ts +0 -22
- package/components/DropFilesHere/styled.js +0 -61
- package/components/DropFilesHere/styled.js.map +0 -1
- package/components/FileDetails/components/Flex.d.ts +0 -7
- package/components/FileDetails/components/Flex.js +0 -48
- package/components/FileDetails/components/Flex.js.map +0 -1
- package/components/FileDetails/components/Footer.d.ts +0 -2
- package/components/FileDetails/components/Footer.js +0 -40
- package/components/FileDetails/components/Footer.js.map +0 -1
- package/components/FileDetails/components/Header.d.ts +0 -2
- package/components/FileDetails/components/Header.js +0 -40
- package/components/FileDetails/components/Header.js.map +0 -1
- package/components/FileDetails/components/PreviewMeta.d.ts +0 -2
- package/components/FileDetails/components/PreviewMeta.js +0 -31
- package/components/FileDetails/components/PreviewMeta.js.map +0 -1
- package/components/FileDetails/components/TypeAndSize.d.ts +0 -2
- package/components/FileDetails/components/TypeAndSize.js +0 -67
- package/components/FileDetails/components/TypeAndSize.js.map +0 -1
- package/components/Grid/styled.d.ts +0 -41
- package/components/Grid/styled.js +0 -137
- package/components/Grid/styled.js.map +0 -1
- package/components/NoPermission/NoPermission.d.ts +0 -2
- package/components/NoPermission/NoPermission.js +0 -25
- package/components/NoPermission/NoPermission.js.map +0 -1
- package/components/NoPermission/index.d.ts +0 -1
- package/components/NoPermission/index.js +0 -18
- package/components/NoPermission/index.js.map +0 -1
- package/components/NoPermission/styled.d.ts +0 -24
- package/components/NoPermission/styled.js +0 -97
- package/components/NoPermission/styled.js.map +0 -1
- package/components/NoResults/styled.d.ts +0 -5
- package/components/NoResults/styled.js +0 -25
- package/components/NoResults/styled.js.map +0 -1
- package/components/Table/Cells/Cells.styled.d.ts +0 -12
- package/components/Table/Cells/Cells.styled.js +0 -54
- package/components/Table/Cells/Cells.styled.js.map +0 -1
- package/components/Title/Title.d.ts +0 -5
- package/components/Title/Title.js +0 -21
- package/components/Title/Title.js.map +0 -1
- package/components/Title/index.d.ts +0 -1
- package/components/Title/index.js +0 -18
- package/components/Title/index.js.map +0 -1
- package/components/Title/styled.d.ts +0 -4
- package/components/Title/styled.js +0 -26
- package/components/Title/styled.js.map +0 -1
- package/components/UploadStatus/assets/check.svg +0 -3
- package/components/UploadStatus/assets/loading.svg +0 -17
- package/components/UploadStatus/styled.d.ts +0 -39
- package/components/UploadStatus/styled.js +0 -127
- package/components/UploadStatus/styled.js.map +0 -1
- package/components/fields/Aliases.d.ts +0 -2
- package/components/fields/Aliases.js +0 -136
- package/components/fields/Aliases.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/NavigateFolderProvider.d.ts +0 -4
- package/modules/FileManagerRenderer/FileManagerView/NavigateFolderProvider.js +0 -37
- package/modules/FileManagerRenderer/FileManagerView/NavigateFolderProvider.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/Filters.js +0 -33
- package/modules/FileManagerRenderer/FileManagerView/components/Filters.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/SearchWidget.js +0 -98
- package/modules/FileManagerRenderer/FileManagerView/components/SearchWidget.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/Empty.js +0 -19
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/Empty.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/Tag.js +0 -29
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/Tag.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/TagsList.js +0 -74
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/TagsList.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/index.d.ts +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/index.js +0 -18
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/index.js.map +0 -1
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/styled.d.ts +0 -21
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/styled.js +0 -61
- package/modules/FileManagerRenderer/FileManagerView/components/TagsList/styled.js.map +0 -1
- package/modules/HeadlessCms/fileRenderer/File.d.ts +0 -10
- package/modules/HeadlessCms/fileRenderer/File.js +0 -86
- package/modules/HeadlessCms/fileRenderer/File.js.map +0 -1
- package/modules/Settings/plugins/installation.d.ts +0 -3
- package/modules/Settings/plugins/installation.js +0 -96
- package/modules/Settings/plugins/installation.js.map +0 -1
- package/modules/Settings/plugins/permissionRenderer/FileManagerPermissions.d.ts +0 -14
- package/modules/Settings/plugins/permissionRenderer/FileManagerPermissions.js +0 -232
- package/modules/Settings/plugins/permissionRenderer/FileManagerPermissions.js.map +0 -1
- package/modules/Settings/plugins/permissionRenderer/index.d.ts +0 -3
- package/modules/Settings/plugins/permissionRenderer/index.js +0 -29
- package/modules/Settings/plugins/permissionRenderer/index.js.map +0 -1
- package/modules/ThumbnailRenderers/DefaultRenderer.d.ts +0 -2
- package/modules/ThumbnailRenderers/DefaultRenderer.js +0 -25
- package/modules/ThumbnailRenderers/DefaultRenderer.js.map +0 -1
- package/modules/ThumbnailRenderers/ImageRenderer.d.ts +0 -2
- package/modules/ThumbnailRenderers/ImageRenderer.js +0 -29
- package/modules/ThumbnailRenderers/ImageRenderer.js.map +0 -1
- /package/{modules/FileManagerRenderer/FileManagerView/components → components/Filters}/Filters.d.ts +0 -0
- /package/{modules/FileManagerRenderer/FileManagerView/components → components/SearchWidget}/SearchWidget.d.ts +0 -0
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.DialogContainer = exports.ButtonIcon = exports.BatchEditorContainer = exports.AddOperationInner = exports.ActionEditFormContainer = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _add = require("@material-design-icons/svg/round/add.svg");
|
|
10
|
-
var _Dialog = require("@webiny/ui/Dialog");
|
|
11
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
12
|
-
var ActionEditFormContainer = exports.ActionEditFormContainer = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
13
|
-
target: "e8q9yhg4"
|
|
14
|
-
} : {
|
|
15
|
-
target: "e8q9yhg4",
|
|
16
|
-
label: "ActionEditFormContainer"
|
|
17
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
18
|
-
name: "14tb8mr",
|
|
19
|
-
styles: "margin:-24px!important"
|
|
20
|
-
} : {
|
|
21
|
-
name: "14tb8mr",
|
|
22
|
-
styles: "margin:-24px!important",
|
|
23
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGlvbkVkaXQuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJaUQiLCJmaWxlIjoiQWN0aW9uRWRpdC5zdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBSZWFjdENvbXBvbmVudCBhcyBBZGRJY29uIH0gZnJvbSBcIkBtYXRlcmlhbC1kZXNpZ24taWNvbnMvc3ZnL3JvdW5kL2FkZC5zdmdcIjtcbmltcG9ydCB7IERpYWxvZyB9IGZyb20gXCJAd2ViaW55L3VpL0RpYWxvZ1wiO1xuXG5leHBvcnQgY29uc3QgQWN0aW9uRWRpdEZvcm1Db250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIG1hcmdpbjogLTI0cHggIWltcG9ydGFudDtcbmA7XG5cbmV4cG9ydCBjb25zdCBEaWFsb2dDb250YWluZXIgPSBzdHlsZWQoRGlhbG9nKWBcbiAgICB6LWluZGV4OiAyMjtcblxuICAgIC5tZGMtZGlhbG9nX19zdXJmYWNlIHtcbiAgICAgICAgd2lkdGg6IDgwMHB4O1xuICAgICAgICBtaW4td2lkdGg6IDgwMHB4O1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBCYXRjaEVkaXRvckNvbnRhaW5lciA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBBZGRPcGVyYXRpb25Jbm5lciA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMjRweCAwIDA7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuYDtcblxuaW50ZXJmYWNlIEJ1dHRvbkljb25Qcm9wcyB7XG4gICAgZGlzYWJsZWQ/OiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgQnV0dG9uSWNvbiA9IHN0eWxlZChBZGRJY29uKTxCdXR0b25JY29uUHJvcHM+YFxuICAgIGZpbGw6ICR7cHJvcHMgPT5cbiAgICAgICAgcHJvcHMuZGlzYWJsZWQgPyBcInZhcigtLW1kYy10aGVtZS10ZXh0LWhpbnQtb24tbGlnaHQpXCIgOiBcInZhcigtLW1kYy10aGVtZS1wcmltYXJ5KVwifTtcbiAgICB3aWR0aDogMThweDtcbiAgICBtYXJnaW4tcmlnaHQ6IDhweDtcbmA7XG4iXX0= */",
|
|
24
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
25
|
-
});
|
|
26
|
-
var DialogContainer = exports.DialogContainer = /*#__PURE__*/(0, _base.default)(_Dialog.Dialog, process.env.NODE_ENV === "production" ? {
|
|
27
|
-
target: "e8q9yhg3"
|
|
28
|
-
} : {
|
|
29
|
-
target: "e8q9yhg3",
|
|
30
|
-
label: "DialogContainer"
|
|
31
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
32
|
-
name: "yn24gc",
|
|
33
|
-
styles: "z-index:22;.mdc-dialog__surface{width:800px;min-width:800px;}"
|
|
34
|
-
} : {
|
|
35
|
-
name: "yn24gc",
|
|
36
|
-
styles: "z-index:22;.mdc-dialog__surface{width:800px;min-width:800px;}",
|
|
37
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGlvbkVkaXQuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRNkMiLCJmaWxlIjoiQWN0aW9uRWRpdC5zdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBSZWFjdENvbXBvbmVudCBhcyBBZGRJY29uIH0gZnJvbSBcIkBtYXRlcmlhbC1kZXNpZ24taWNvbnMvc3ZnL3JvdW5kL2FkZC5zdmdcIjtcbmltcG9ydCB7IERpYWxvZyB9IGZyb20gXCJAd2ViaW55L3VpL0RpYWxvZ1wiO1xuXG5leHBvcnQgY29uc3QgQWN0aW9uRWRpdEZvcm1Db250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIG1hcmdpbjogLTI0cHggIWltcG9ydGFudDtcbmA7XG5cbmV4cG9ydCBjb25zdCBEaWFsb2dDb250YWluZXIgPSBzdHlsZWQoRGlhbG9nKWBcbiAgICB6LWluZGV4OiAyMjtcblxuICAgIC5tZGMtZGlhbG9nX19zdXJmYWNlIHtcbiAgICAgICAgd2lkdGg6IDgwMHB4O1xuICAgICAgICBtaW4td2lkdGg6IDgwMHB4O1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBCYXRjaEVkaXRvckNvbnRhaW5lciA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBBZGRPcGVyYXRpb25Jbm5lciA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMjRweCAwIDA7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuYDtcblxuaW50ZXJmYWNlIEJ1dHRvbkljb25Qcm9wcyB7XG4gICAgZGlzYWJsZWQ/OiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgQnV0dG9uSWNvbiA9IHN0eWxlZChBZGRJY29uKTxCdXR0b25JY29uUHJvcHM+YFxuICAgIGZpbGw6ICR7cHJvcHMgPT5cbiAgICAgICAgcHJvcHMuZGlzYWJsZWQgPyBcInZhcigtLW1kYy10aGVtZS10ZXh0LWhpbnQtb24tbGlnaHQpXCIgOiBcInZhcigtLW1kYy10aGVtZS1wcmltYXJ5KVwifTtcbiAgICB3aWR0aDogMThweDtcbiAgICBtYXJnaW4tcmlnaHQ6IDhweDtcbmA7XG4iXX0= */",
|
|
38
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
39
|
-
});
|
|
40
|
-
var BatchEditorContainer = exports.BatchEditorContainer = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
41
|
-
target: "e8q9yhg2"
|
|
42
|
-
} : {
|
|
43
|
-
target: "e8q9yhg2",
|
|
44
|
-
label: "BatchEditorContainer"
|
|
45
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
46
|
-
name: "vxuddk",
|
|
47
|
-
styles: "padding:24px"
|
|
48
|
-
} : {
|
|
49
|
-
name: "vxuddk",
|
|
50
|
-
styles: "padding:24px",
|
|
51
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGlvbkVkaXQuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQjhDIiwiZmlsZSI6IkFjdGlvbkVkaXQuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgUmVhY3RDb21wb25lbnQgYXMgQWRkSWNvbiB9IGZyb20gXCJAbWF0ZXJpYWwtZGVzaWduLWljb25zL3N2Zy9yb3VuZC9hZGQuc3ZnXCI7XG5pbXBvcnQgeyBEaWFsb2cgfSBmcm9tIFwiQHdlYmlueS91aS9EaWFsb2dcIjtcblxuZXhwb3J0IGNvbnN0IEFjdGlvbkVkaXRGb3JtQ29udGFpbmVyID0gc3R5bGVkLmRpdmBcbiAgICBtYXJnaW46IC0yNHB4ICFpbXBvcnRhbnQ7XG5gO1xuXG5leHBvcnQgY29uc3QgRGlhbG9nQ29udGFpbmVyID0gc3R5bGVkKERpYWxvZylgXG4gICAgei1pbmRleDogMjI7XG5cbiAgICAubWRjLWRpYWxvZ19fc3VyZmFjZSB7XG4gICAgICAgIHdpZHRoOiA4MDBweDtcbiAgICAgICAgbWluLXdpZHRoOiA4MDBweDtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgQmF0Y2hFZGl0b3JDb250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IDI0cHg7XG5gO1xuXG5leHBvcnQgY29uc3QgQWRkT3BlcmF0aW9uSW5uZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IDI0cHggMCAwO1xuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbmA7XG5cbmludGVyZmFjZSBCdXR0b25JY29uUHJvcHMge1xuICAgIGRpc2FibGVkPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IEJ1dHRvbkljb24gPSBzdHlsZWQoQWRkSWNvbik8QnV0dG9uSWNvblByb3BzPmBcbiAgICBmaWxsOiAke3Byb3BzID0+XG4gICAgICAgIHByb3BzLmRpc2FibGVkID8gXCJ2YXIoLS1tZGMtdGhlbWUtdGV4dC1oaW50LW9uLWxpZ2h0KVwiIDogXCJ2YXIoLS1tZGMtdGhlbWUtcHJpbWFyeSlcIn07XG4gICAgd2lkdGg6IDE4cHg7XG4gICAgbWFyZ2luLXJpZ2h0OiA4cHg7XG5gO1xuIl19 */",
|
|
52
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
53
|
-
});
|
|
54
|
-
var AddOperationInner = exports.AddOperationInner = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
55
|
-
target: "e8q9yhg1"
|
|
56
|
-
} : {
|
|
57
|
-
target: "e8q9yhg1",
|
|
58
|
-
label: "AddOperationInner"
|
|
59
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
60
|
-
name: "hrku3p",
|
|
61
|
-
styles: "padding:24px 0 0;text-align:center"
|
|
62
|
-
} : {
|
|
63
|
-
name: "hrku3p",
|
|
64
|
-
styles: "padding:24px 0 0;text-align:center",
|
|
65
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGlvbkVkaXQuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQjJDIiwiZmlsZSI6IkFjdGlvbkVkaXQuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgUmVhY3RDb21wb25lbnQgYXMgQWRkSWNvbiB9IGZyb20gXCJAbWF0ZXJpYWwtZGVzaWduLWljb25zL3N2Zy9yb3VuZC9hZGQuc3ZnXCI7XG5pbXBvcnQgeyBEaWFsb2cgfSBmcm9tIFwiQHdlYmlueS91aS9EaWFsb2dcIjtcblxuZXhwb3J0IGNvbnN0IEFjdGlvbkVkaXRGb3JtQ29udGFpbmVyID0gc3R5bGVkLmRpdmBcbiAgICBtYXJnaW46IC0yNHB4ICFpbXBvcnRhbnQ7XG5gO1xuXG5leHBvcnQgY29uc3QgRGlhbG9nQ29udGFpbmVyID0gc3R5bGVkKERpYWxvZylgXG4gICAgei1pbmRleDogMjI7XG5cbiAgICAubWRjLWRpYWxvZ19fc3VyZmFjZSB7XG4gICAgICAgIHdpZHRoOiA4MDBweDtcbiAgICAgICAgbWluLXdpZHRoOiA4MDBweDtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgQmF0Y2hFZGl0b3JDb250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IDI0cHg7XG5gO1xuXG5leHBvcnQgY29uc3QgQWRkT3BlcmF0aW9uSW5uZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IDI0cHggMCAwO1xuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbmA7XG5cbmludGVyZmFjZSBCdXR0b25JY29uUHJvcHMge1xuICAgIGRpc2FibGVkPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IEJ1dHRvbkljb24gPSBzdHlsZWQoQWRkSWNvbik8QnV0dG9uSWNvblByb3BzPmBcbiAgICBmaWxsOiAke3Byb3BzID0+XG4gICAgICAgIHByb3BzLmRpc2FibGVkID8gXCJ2YXIoLS1tZGMtdGhlbWUtdGV4dC1oaW50LW9uLWxpZ2h0KVwiIDogXCJ2YXIoLS1tZGMtdGhlbWUtcHJpbWFyeSlcIn07XG4gICAgd2lkdGg6IDE4cHg7XG4gICAgbWFyZ2luLXJpZ2h0OiA4cHg7XG5gO1xuIl19 */",
|
|
66
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
67
|
-
});
|
|
68
|
-
var ButtonIcon = exports.ButtonIcon = /*#__PURE__*/(0, _base.default)(_add.ReactComponent, process.env.NODE_ENV === "production" ? {
|
|
69
|
-
target: "e8q9yhg0"
|
|
70
|
-
} : {
|
|
71
|
-
target: "e8q9yhg0",
|
|
72
|
-
label: "ButtonIcon"
|
|
73
|
-
})("fill:", function (props) {
|
|
74
|
-
return props.disabled ? "var(--mdc-theme-text-hint-on-light)" : "var(--mdc-theme-primary)";
|
|
75
|
-
}, ";width:18px;margin-right:8px;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGlvbkVkaXQuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4QjBEIiwiZmlsZSI6IkFjdGlvbkVkaXQuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgUmVhY3RDb21wb25lbnQgYXMgQWRkSWNvbiB9IGZyb20gXCJAbWF0ZXJpYWwtZGVzaWduLWljb25zL3N2Zy9yb3VuZC9hZGQuc3ZnXCI7XG5pbXBvcnQgeyBEaWFsb2cgfSBmcm9tIFwiQHdlYmlueS91aS9EaWFsb2dcIjtcblxuZXhwb3J0IGNvbnN0IEFjdGlvbkVkaXRGb3JtQ29udGFpbmVyID0gc3R5bGVkLmRpdmBcbiAgICBtYXJnaW46IC0yNHB4ICFpbXBvcnRhbnQ7XG5gO1xuXG5leHBvcnQgY29uc3QgRGlhbG9nQ29udGFpbmVyID0gc3R5bGVkKERpYWxvZylgXG4gICAgei1pbmRleDogMjI7XG5cbiAgICAubWRjLWRpYWxvZ19fc3VyZmFjZSB7XG4gICAgICAgIHdpZHRoOiA4MDBweDtcbiAgICAgICAgbWluLXdpZHRoOiA4MDBweDtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgQmF0Y2hFZGl0b3JDb250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IDI0cHg7XG5gO1xuXG5leHBvcnQgY29uc3QgQWRkT3BlcmF0aW9uSW5uZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IDI0cHggMCAwO1xuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbmA7XG5cbmludGVyZmFjZSBCdXR0b25JY29uUHJvcHMge1xuICAgIGRpc2FibGVkPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IEJ1dHRvbkljb24gPSBzdHlsZWQoQWRkSWNvbik8QnV0dG9uSWNvblByb3BzPmBcbiAgICBmaWxsOiAke3Byb3BzID0+XG4gICAgICAgIHByb3BzLmRpc2FibGVkID8gXCJ2YXIoLS1tZGMtdGhlbWUtdGV4dC1oaW50LW9uLWxpZ2h0KVwiIDogXCJ2YXIoLS1tZGMtdGhlbWUtcHJpbWFyeSlcIn07XG4gICAgd2lkdGg6IDE4cHg7XG4gICAgbWFyZ2luLXJpZ2h0OiA4cHg7XG5gO1xuIl19 */"));
|
|
76
|
-
|
|
77
|
-
//# sourceMappingURL=ActionEdit.styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_add","require","_Dialog","_EMOTION_STRINGIFIED_CSS_ERROR__","ActionEditFormContainer","exports","_base","default","process","env","NODE_ENV","target","label","name","styles","map","toString","DialogContainer","Dialog","BatchEditorContainer","AddOperationInner","ButtonIcon","AddIcon","props","disabled"],"sources":["ActionEdit.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { ReactComponent as AddIcon } from \"@material-design-icons/svg/round/add.svg\";\nimport { Dialog } from \"@webiny/ui/Dialog\";\n\nexport const ActionEditFormContainer = styled.div`\n margin: -24px !important;\n`;\n\nexport const DialogContainer = styled(Dialog)`\n z-index: 22;\n\n .mdc-dialog__surface {\n width: 800px;\n min-width: 800px;\n }\n`;\n\nexport const BatchEditorContainer = styled.div`\n padding: 24px;\n`;\n\nexport const AddOperationInner = styled.div`\n padding: 24px 0 0;\n text-align: center;\n`;\n\ninterface ButtonIconProps {\n disabled?: boolean;\n}\n\nexport const ButtonIcon = styled(AddIcon)<ButtonIconProps>`\n fill: ${props =>\n props.disabled ? \"var(--mdc-theme-text-hint-on-light)\" : \"var(--mdc-theme-primary)\"};\n width: 18px;\n margin-right: 8px;\n`;\n"],"mappings":";;;;;;;;AACA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAA2C,SAAAE,iCAAA;AAEpC,IAAMC,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,oBAAAE,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAEnC;AAEM,IAAMc,eAAe,GAAAZ,OAAA,CAAAY,eAAA,gBAAG,IAAAX,KAAA,CAAAC,OAAA,EAAOW,cAAM,EAAAV,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAO5C;AAEM,IAAMgB,oBAAoB,GAAAd,OAAA,CAAAc,oBAAA,oBAAAb,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAEhC;AAEM,IAAMiB,iBAAiB,GAAAf,OAAA,CAAAe,iBAAA,oBAAAd,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAG7B;AAMM,IAAMkB,UAAU,GAAAhB,OAAA,CAAAgB,UAAA,gBAAG,IAAAf,KAAA,CAAAC,OAAA,EAAOe,mBAAO,EAAAd,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,UAC7B,UAAAW,KAAK;EAAA,OACTA,KAAK,CAACC,QAAQ,GAAG,qCAAqC,GAAG,0BAA0B;AAAA,sCAAAhB,OAAA,CAAAC,GAAA,CAAAC,QAAA,o7CAG1F","ignoreList":[]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.RemoveOperation = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _delete = require("@material-design-icons/svg/outlined/delete.svg");
|
|
10
|
-
var _Button = require("@webiny/ui/Button");
|
|
11
|
-
var _Tooltip = require("@webiny/ui/Tooltip");
|
|
12
|
-
var RemoveOperation = exports.RemoveOperation = function RemoveOperation(_ref) {
|
|
13
|
-
var onClick = _ref.onClick,
|
|
14
|
-
disabled = _ref.disabled;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
|
|
16
|
-
content: "Remove operation",
|
|
17
|
-
placement: "bottom"
|
|
18
|
-
}, /*#__PURE__*/_react.default.createElement(_Button.IconButton, {
|
|
19
|
-
label: "Remove operation",
|
|
20
|
-
icon: /*#__PURE__*/_react.default.createElement(_delete.ReactComponent, null),
|
|
21
|
-
onClick: onClick,
|
|
22
|
-
disabled: disabled
|
|
23
|
-
}));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=RemoveOperation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_delete","_Button","_Tooltip","RemoveOperation","exports","_ref","onClick","disabled","default","createElement","Tooltip","content","placement","IconButton","label","icon","ReactComponent"],"sources":["RemoveOperation.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ReactComponent as DeleteIcon } from \"@material-design-icons/svg/outlined/delete.svg\";\nimport { IconButton } from \"@webiny/ui/Button\";\nimport { Tooltip } from \"@webiny/ui/Tooltip\";\n\ninterface RemoveOperationProps {\n onClick: () => void;\n disabled: boolean;\n}\n\nexport const RemoveOperation = ({ onClick, disabled }: RemoveOperationProps) => {\n return (\n <Tooltip content={\"Remove operation\"} placement={\"bottom\"}>\n <IconButton\n label={\"Remove operation\"}\n icon={<DeleteIcon />}\n onClick={onClick}\n disabled={disabled}\n />\n </Tooltip>\n );\n};\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAOO,IAAMI,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAG,SAAlBA,eAAeA,CAAAE,IAAA,EAAoD;EAAA,IAA9CC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;EAC/C,oBACIV,MAAA,CAAAW,OAAA,CAAAC,aAAA,CAACP,QAAA,CAAAQ,OAAO;IAACC,OAAO,EAAE,kBAAmB;IAACC,SAAS,EAAE;EAAS,gBACtDf,MAAA,CAAAW,OAAA,CAAAC,aAAA,CAACR,OAAA,CAAAY,UAAU;IACPC,KAAK,EAAE,kBAAmB;IAC1BC,IAAI,eAAElB,MAAA,CAAAW,OAAA,CAAAC,aAAA,CAACT,OAAA,CAAAgB,cAAU,MAAE,CAAE;IACrBV,OAAO,EAAEA,OAAQ;IACjBC,QAAQ,EAAEA;EAAS,CACtB,CACI,CAAC;AAElB,CAAC","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const BulkActionsContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const BulkActionsInner: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const ButtonsContainer: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.ButtonsContainer = exports.BulkActionsInner = exports.BulkActionsContainer = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _appAdmin = require("@webiny/app-admin");
|
|
10
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11
|
-
var BulkActionsContainer = exports.BulkActionsContainer = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
12
|
-
target: "e19j6q732"
|
|
13
|
-
} : {
|
|
14
|
-
target: "e19j6q732",
|
|
15
|
-
label: "BulkActionsContainer"
|
|
16
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
17
|
-
name: "31dgdi",
|
|
18
|
-
styles: "width:100%;height:64px;background-color:var(--mdc-theme-surface);border-bottom:1px solid rgba(0, 0, 0, 0.12)"
|
|
19
|
-
} : {
|
|
20
|
-
name: "31dgdi",
|
|
21
|
-
styles: "width:100%;height:64px;background-color:var(--mdc-theme-surface);border-bottom:1px solid rgba(0, 0, 0, 0.12)",
|
|
22
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1bGtBY3Rpb25zLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRzhDIiwiZmlsZSI6IkJ1bGtBY3Rpb25zLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IEJ1dHRvbkNvbnRhaW5lciB9IGZyb20gXCJAd2ViaW55L2FwcC1hZG1pblwiO1xuXG5leHBvcnQgY29uc3QgQnVsa0FjdGlvbnNDb250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogNjRweDtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1tZGMtdGhlbWUtc3VyZmFjZSk7XG4gICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwgMCwgMCwgMC4xMik7XG5gO1xuXG5leHBvcnQgY29uc3QgQnVsa0FjdGlvbnNJbm5lciA9IHN0eWxlZC5kaXZgXG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgcGFkZGluZzogMCAxMnB4IDAgMTZweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBCdXR0b25zQ29udGFpbmVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICAke0J1dHRvbkNvbnRhaW5lcn0ge1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgfVxuYDtcbiJdfQ== */",
|
|
23
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
|
-
});
|
|
25
|
-
var BulkActionsInner = exports.BulkActionsInner = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
26
|
-
target: "e19j6q731"
|
|
27
|
-
} : {
|
|
28
|
-
target: "e19j6q731",
|
|
29
|
-
label: "BulkActionsInner"
|
|
30
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
31
|
-
name: "182dpry",
|
|
32
|
-
styles: "height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 16px"
|
|
33
|
-
} : {
|
|
34
|
-
name: "182dpry",
|
|
35
|
-
styles: "height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 16px",
|
|
36
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1bGtBY3Rpb25zLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVTBDIiwiZmlsZSI6IkJ1bGtBY3Rpb25zLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IEJ1dHRvbkNvbnRhaW5lciB9IGZyb20gXCJAd2ViaW55L2FwcC1hZG1pblwiO1xuXG5leHBvcnQgY29uc3QgQnVsa0FjdGlvbnNDb250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogNjRweDtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1tZGMtdGhlbWUtc3VyZmFjZSk7XG4gICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwgMCwgMCwgMC4xMik7XG5gO1xuXG5leHBvcnQgY29uc3QgQnVsa0FjdGlvbnNJbm5lciA9IHN0eWxlZC5kaXZgXG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgcGFkZGluZzogMCAxMnB4IDAgMTZweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBCdXR0b25zQ29udGFpbmVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICAke0J1dHRvbkNvbnRhaW5lcn0ge1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgfVxuYDtcbiJdfQ== */",
|
|
37
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
38
|
-
});
|
|
39
|
-
var ButtonsContainer = exports.ButtonsContainer = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
40
|
-
target: "e19j6q730"
|
|
41
|
-
} : {
|
|
42
|
-
target: "e19j6q730",
|
|
43
|
-
label: "ButtonsContainer"
|
|
44
|
-
})("display:flex;align-items:center;", _appAdmin.ButtonContainer, "{margin:0;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1bGtBY3Rpb25zLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0IwQyIsImZpbGUiOiJCdWxrQWN0aW9ucy5zdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBCdXR0b25Db250YWluZXIgfSBmcm9tIFwiQHdlYmlueS9hcHAtYWRtaW5cIjtcblxuZXhwb3J0IGNvbnN0IEJ1bGtBY3Rpb25zQ29udGFpbmVyID0gc3R5bGVkLmRpdmBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IDY0cHg7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tbWRjLXRoZW1lLXN1cmZhY2UpO1xuICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCByZ2JhKDAsIDAsIDAsIDAuMTIpO1xuYDtcblxuZXhwb3J0IGNvbnN0IEJ1bGtBY3Rpb25zSW5uZXIgPSBzdHlsZWQuZGl2YFxuICAgIGhlaWdodDogMTAwJTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIHBhZGRpbmc6IDAgMTJweCAwIDE2cHg7XG5gO1xuXG5leHBvcnQgY29uc3QgQnV0dG9uc0NvbnRhaW5lciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgJHtCdXR0b25Db250YWluZXJ9IHtcbiAgICAgICAgbWFyZ2luOiAwO1xuICAgIH1cbmA7XG4iXX0= */"));
|
|
45
|
-
|
|
46
|
-
//# sourceMappingURL=BulkActions.styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_appAdmin","require","_EMOTION_STRINGIFIED_CSS_ERROR__","BulkActionsContainer","exports","_base","default","process","env","NODE_ENV","target","label","name","styles","map","toString","BulkActionsInner","ButtonsContainer","ButtonContainer"],"sources":["BulkActions.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { ButtonContainer } from \"@webiny/app-admin\";\n\nexport const BulkActionsContainer = styled.div`\n width: 100%;\n height: 64px;\n background-color: var(--mdc-theme-surface);\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n`;\n\nexport const BulkActionsInner = styled.div`\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 12px 0 16px;\n`;\n\nexport const ButtonsContainer = styled.div`\n display: flex;\n align-items: center;\n\n ${ButtonContainer} {\n margin: 0;\n }\n`;\n"],"mappings":";;;;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAAoD,SAAAC,iCAAA;AAE7C,IAAMC,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,oBAAAE,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAKhC;AAEM,IAAMc,gBAAgB,GAAAZ,OAAA,CAAAY,gBAAA,oBAAAX,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAM5B;AAEM,IAAMe,gBAAgB,GAAAb,OAAA,CAAAa,gBAAA,oBAAAZ,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,uCAIvBO,yBAAe,mBAAAX,OAAA,CAAAC,GAAA,CAAAC,QAAA,olCAGpB","ignoreList":[]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface DropFilesHereProps {
|
|
3
|
-
onDragLeave?: (event?: React.DragEvent<HTMLElement>) => void;
|
|
4
|
-
onDrop?: (event?: React.DragEvent<HTMLElement>) => void;
|
|
5
|
-
empty?: boolean;
|
|
6
|
-
onClick?: (event?: React.MouseEvent<HTMLElement>) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const DropFilesHere: ({ empty, onClick }: DropFilesHereProps) => React.JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.DropFilesHere = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _i18n = require("@webiny/app/i18n");
|
|
11
|
-
var _Icon = require("@webiny/ui/Icon");
|
|
12
|
-
var _styled = require("./styled");
|
|
13
|
-
var _templateObject;
|
|
14
|
-
var t = _i18n.i18n.ns("app-admin/file-manager/components/drop-files-here");
|
|
15
|
-
var DropFilesHere = exports.DropFilesHere = function DropFilesHere(_ref) {
|
|
16
|
-
var empty = _ref.empty,
|
|
17
|
-
onClick = _ref.onClick;
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement(_styled.DropFilesHereWrapper, {
|
|
19
|
-
empty: empty,
|
|
20
|
-
onClick: onClick
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement(_styled.DropFilesHereInner, {
|
|
22
|
-
empty: empty
|
|
23
|
-
}, /*#__PURE__*/_react.default.createElement(_styled.DropFilesHereIconWrapper, null, /*#__PURE__*/_react.default.createElement(_Icon.Icon, {
|
|
24
|
-
icon: /*#__PURE__*/_react.default.createElement(_styled.DropFilesHereIcon, null)
|
|
25
|
-
}), /*#__PURE__*/_react.default.createElement("div", null, t(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["Drop files here"])))))));
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=DropFilesHere.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_i18n","_Icon","_styled","_templateObject","t","i18n","ns","DropFilesHere","exports","_ref","empty","onClick","default","createElement","DropFilesHereWrapper","DropFilesHereInner","DropFilesHereIconWrapper","Icon","icon","DropFilesHereIcon","_taggedTemplateLiteral2"],"sources":["DropFilesHere.tsx"],"sourcesContent":["import React from \"react\";\nimport { i18n } from \"@webiny/app/i18n\";\nimport { Icon } from \"@webiny/ui/Icon\";\n\nimport {\n DropFilesHereWrapper,\n DropFilesHereInner,\n DropFilesHereIcon,\n DropFilesHereIconWrapper\n} from \"./styled\";\n\nconst t = i18n.ns(\"app-admin/file-manager/components/drop-files-here\");\n\nexport interface DropFilesHereProps {\n onDragLeave?: (event?: React.DragEvent<HTMLElement>) => void;\n onDrop?: (event?: React.DragEvent<HTMLElement>) => void;\n empty?: boolean;\n onClick?: (event?: React.MouseEvent<HTMLElement>) => void;\n}\n\nexport const DropFilesHere = ({ empty, onClick }: DropFilesHereProps) => {\n return (\n <DropFilesHereWrapper empty={empty} onClick={onClick}>\n <DropFilesHereInner empty={empty}>\n <DropFilesHereIconWrapper>\n <Icon icon={<DropFilesHereIcon />} />\n <div>{t`Drop files here`}</div>\n </DropFilesHereIconWrapper>\n </DropFilesHereInner>\n </DropFilesHereWrapper>\n );\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AAKkB,IAAAI,eAAA;AAElB,IAAMC,CAAC,GAAGC,UAAI,CAACC,EAAE,CAAC,mDAAmD,CAAC;AAS/D,IAAMC,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,SAAhBA,aAAaA,CAAAE,IAAA,EAA+C;EAAA,IAAzCC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;EAC1C,oBACId,MAAA,CAAAe,OAAA,CAAAC,aAAA,CAACX,OAAA,CAAAY,oBAAoB;IAACJ,KAAK,EAAEA,KAAM;IAACC,OAAO,EAAEA;EAAQ,gBACjDd,MAAA,CAAAe,OAAA,CAAAC,aAAA,CAACX,OAAA,CAAAa,kBAAkB;IAACL,KAAK,EAAEA;EAAM,gBAC7Bb,MAAA,CAAAe,OAAA,CAAAC,aAAA,CAACX,OAAA,CAAAc,wBAAwB,qBACrBnB,MAAA,CAAAe,OAAA,CAAAC,aAAA,CAACZ,KAAA,CAAAgB,IAAI;IAACC,IAAI,eAAErB,MAAA,CAAAe,OAAA,CAAAC,aAAA,CAACX,OAAA,CAAAiB,iBAAiB,MAAE;EAAE,CAAE,CAAC,eACrCtB,MAAA,CAAAe,OAAA,CAAAC,aAAA,cAAMT,CAAC,CAAAD,eAAA,KAAAA,eAAA,OAAAiB,uBAAA,CAAAR,OAAA,wBAAuB,CACR,CACV,CACF,CAAC;AAE/B,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DropFilesHere";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _DropFilesHere = require("./DropFilesHere");
|
|
7
|
-
Object.keys(_DropFilesHere).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _DropFilesHere[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _DropFilesHere[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_DropFilesHere","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["index.tsx"],"sourcesContent":["export * from \"./DropFilesHere\";\n"],"mappings":";;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type DropFilesHereWrapperProps = {
|
|
3
|
-
empty?: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare const DropFilesHereWrapper: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
-
} & DropFilesHereWrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const DropFilesHereInner: import("@emotion/styled").StyledComponent<{
|
|
10
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
|
-
} & DropFilesHereWrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
-
export declare const DropFilesHereIconWrapper: import("@emotion/styled").StyledComponent<{
|
|
14
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
16
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
-
export declare const DropFilesHereIcon: import("@emotion/styled").StyledComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
18
|
-
alt?: string | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
}, {}, {}>;
|
|
22
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.DropFilesHereWrapper = exports.DropFilesHereInner = exports.DropFilesHereIconWrapper = exports.DropFilesHereIcon = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _cloud_upload = require("@material-design-icons/svg/filled/cloud_upload.svg");
|
|
10
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11
|
-
var DropFilesHereWrapper = exports.DropFilesHereWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
12
|
-
target: "e1dajg7m3"
|
|
13
|
-
} : {
|
|
14
|
-
target: "e1dajg7m3",
|
|
15
|
-
label: "DropFilesHereWrapper"
|
|
16
|
-
})("pointer-events:", function (_ref) {
|
|
17
|
-
var empty = _ref.empty;
|
|
18
|
-
return empty ? "all" : "none";
|
|
19
|
-
}, ";margin:0 auto;padding-top:0;height:calc(100vh - 95px);z-index:100;width:100%;position:absolute;background:", function (_ref2) {
|
|
20
|
-
var empty = _ref2.empty;
|
|
21
|
-
return empty ? "transparent" : "var(--mdc-theme-text-hint-on-light)";
|
|
22
|
-
}, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTzRFIiwiZmlsZSI6InN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFJlYWN0Q29tcG9uZW50IGFzIFVwbG9hZEljb24gfSBmcm9tIFwiQG1hdGVyaWFsLWRlc2lnbi1pY29ucy9zdmcvZmlsbGVkL2Nsb3VkX3VwbG9hZC5zdmdcIjtcblxudHlwZSBEcm9wRmlsZXNIZXJlV3JhcHBlclByb3BzID0ge1xuICAgIGVtcHR5PzogYm9vbGVhbjtcbn07XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlV3JhcHBlciA9IHN0eWxlZChcImRpdlwiKTxEcm9wRmlsZXNIZXJlV3JhcHBlclByb3BzPmBcbiAgICBwb2ludGVyLWV2ZW50czogJHsoeyBlbXB0eSB9KSA9PiAoZW1wdHkgPyBcImFsbFwiIDogXCJub25lXCIpfTtcbiAgICBtYXJnaW46IDAgYXV0bztcbiAgICBwYWRkaW5nLXRvcDogMDtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwdmggLSA5NXB4KTtcbiAgICB6LWluZGV4OiAxMDA7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGJhY2tncm91bmQ6ICR7KHsgZW1wdHkgfSkgPT4gKGVtcHR5ID8gXCJ0cmFuc3BhcmVudFwiIDogXCJ2YXIoLS1tZGMtdGhlbWUtdGV4dC1oaW50LW9uLWxpZ2h0KVwiKX07XG5gO1xuXG5leHBvcnQgY29uc3QgRHJvcEZpbGVzSGVyZUlubmVyID0gc3R5bGVkKFwiZGl2XCIpPERyb3BGaWxlc0hlcmVXcmFwcGVyUHJvcHM+YFxuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICB3aWR0aDogMzAwcHg7XG4gICAgaGVpZ2h0OiAzMDBweDtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkeyh7IGVtcHR5IH0pID0+XG4gICAgICAgIGVtcHR5ID8gXCJ2YXIoLS1tZGMtdGhlbWUtc3VyZmFjZSlcIiA6IFwidmFyKC0tbWRjLXRoZW1lLWJhY2tncm91bmQpXCJ9O1xuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgbGVmdDogNTAlO1xuICAgIHRvcDogNTAlO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtNTAlKSB0cmFuc2xhdGVZKC01MCUpO1xuYDtcblxuZXhwb3J0IGNvbnN0IERyb3BGaWxlc0hlcmVJY29uV3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgdG9wOiA5MHB4O1xuICAgIHdpZHRoOiAzMDBweDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBjb2xvcjogdmFyKC0tbWRjLXRoZW1lLW9uLXN1cmZhY2UpO1xuYDtcblxuZXhwb3J0IGNvbnN0IERyb3BGaWxlc0hlcmVJY29uID0gc3R5bGVkKFVwbG9hZEljb24pYFxuICAgIHdpZHRoOiAxMDBweCAhaW1wb3J0YW50O1xuICAgIGhlaWdodDogYXV0bztcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgY29sb3I6IHZhcigtLW1kYy10aGVtZS1vbi1zdXJmYWNlKTtcbmA7XG4iXX0= */"));
|
|
23
|
-
var DropFilesHereInner = exports.DropFilesHereInner = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
24
|
-
target: "e1dajg7m2"
|
|
25
|
-
} : {
|
|
26
|
-
target: "e1dajg7m2",
|
|
27
|
-
label: "DropFilesHereInner"
|
|
28
|
-
})("text-align:center;width:300px;height:300px;background-color:", function (_ref3) {
|
|
29
|
-
var empty = _ref3.empty;
|
|
30
|
-
return empty ? "var(--mdc-theme-surface)" : "var(--mdc-theme-background)";
|
|
31
|
-
}, ";border-radius:50%;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0IwRSIsImZpbGUiOiJzdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBSZWFjdENvbXBvbmVudCBhcyBVcGxvYWRJY29uIH0gZnJvbSBcIkBtYXRlcmlhbC1kZXNpZ24taWNvbnMvc3ZnL2ZpbGxlZC9jbG91ZF91cGxvYWQuc3ZnXCI7XG5cbnR5cGUgRHJvcEZpbGVzSGVyZVdyYXBwZXJQcm9wcyA9IHtcbiAgICBlbXB0eT86IGJvb2xlYW47XG59O1xuXG5leHBvcnQgY29uc3QgRHJvcEZpbGVzSGVyZVdyYXBwZXIgPSBzdHlsZWQoXCJkaXZcIik8RHJvcEZpbGVzSGVyZVdyYXBwZXJQcm9wcz5gXG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgZW1wdHkgfSkgPT4gKGVtcHR5ID8gXCJhbGxcIiA6IFwibm9uZVwiKX07XG4gICAgbWFyZ2luOiAwIGF1dG87XG4gICAgcGFkZGluZy10b3A6IDA7XG4gICAgaGVpZ2h0OiBjYWxjKDEwMHZoIC0gOTVweCk7XG4gICAgei1pbmRleDogMTAwO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBiYWNrZ3JvdW5kOiAkeyh7IGVtcHR5IH0pID0+IChlbXB0eSA/IFwidHJhbnNwYXJlbnRcIiA6IFwidmFyKC0tbWRjLXRoZW1lLXRleHQtaGludC1vbi1saWdodClcIil9O1xuYDtcblxuZXhwb3J0IGNvbnN0IERyb3BGaWxlc0hlcmVJbm5lciA9IHN0eWxlZChcImRpdlwiKTxEcm9wRmlsZXNIZXJlV3JhcHBlclByb3BzPmBcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgd2lkdGg6IDMwMHB4O1xuICAgIGhlaWdodDogMzAwcHg7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHsoeyBlbXB0eSB9KSA9PlxuICAgICAgICBlbXB0eSA/IFwidmFyKC0tbWRjLXRoZW1lLXN1cmZhY2UpXCIgOiBcInZhcigtLW1kYy10aGVtZS1iYWNrZ3JvdW5kKVwifTtcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGxlZnQ6IDUwJTtcbiAgICB0b3A6IDUwJTtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSkgdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlSWNvbldyYXBwZXIgPSBzdHlsZWQoXCJkaXZcIilgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHRvcDogOTBweDtcbiAgICB3aWR0aDogMzAwcHg7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgY29sb3I6IHZhcigtLW1kYy10aGVtZS1vbi1zdXJmYWNlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlSWNvbiA9IHN0eWxlZChVcGxvYWRJY29uKWBcbiAgICB3aWR0aDogMTAwcHggIWltcG9ydGFudDtcbiAgICBoZWlnaHQ6IGF1dG87XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIGNvbG9yOiB2YXIoLS1tZGMtdGhlbWUtb24tc3VyZmFjZSk7XG5gO1xuIl19 */"));
|
|
32
|
-
var DropFilesHereIconWrapper = exports.DropFilesHereIconWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
33
|
-
target: "e1dajg7m1"
|
|
34
|
-
} : {
|
|
35
|
-
target: "e1dajg7m1",
|
|
36
|
-
label: "DropFilesHereIconWrapper"
|
|
37
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
38
|
-
name: "prcr04",
|
|
39
|
-
styles: "position:absolute;top:90px;width:300px;display:flex;flex-direction:column;align-items:center;color:var(--mdc-theme-on-surface)"
|
|
40
|
-
} : {
|
|
41
|
-
name: "prcr04",
|
|
42
|
-
styles: "position:absolute;top:90px;width:300px;display:flex;flex-direction:column;align-items:center;color:var(--mdc-theme-on-surface)",
|
|
43
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0JxRCIsImZpbGUiOiJzdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBSZWFjdENvbXBvbmVudCBhcyBVcGxvYWRJY29uIH0gZnJvbSBcIkBtYXRlcmlhbC1kZXNpZ24taWNvbnMvc3ZnL2ZpbGxlZC9jbG91ZF91cGxvYWQuc3ZnXCI7XG5cbnR5cGUgRHJvcEZpbGVzSGVyZVdyYXBwZXJQcm9wcyA9IHtcbiAgICBlbXB0eT86IGJvb2xlYW47XG59O1xuXG5leHBvcnQgY29uc3QgRHJvcEZpbGVzSGVyZVdyYXBwZXIgPSBzdHlsZWQoXCJkaXZcIik8RHJvcEZpbGVzSGVyZVdyYXBwZXJQcm9wcz5gXG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgZW1wdHkgfSkgPT4gKGVtcHR5ID8gXCJhbGxcIiA6IFwibm9uZVwiKX07XG4gICAgbWFyZ2luOiAwIGF1dG87XG4gICAgcGFkZGluZy10b3A6IDA7XG4gICAgaGVpZ2h0OiBjYWxjKDEwMHZoIC0gOTVweCk7XG4gICAgei1pbmRleDogMTAwO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBiYWNrZ3JvdW5kOiAkeyh7IGVtcHR5IH0pID0+IChlbXB0eSA/IFwidHJhbnNwYXJlbnRcIiA6IFwidmFyKC0tbWRjLXRoZW1lLXRleHQtaGludC1vbi1saWdodClcIil9O1xuYDtcblxuZXhwb3J0IGNvbnN0IERyb3BGaWxlc0hlcmVJbm5lciA9IHN0eWxlZChcImRpdlwiKTxEcm9wRmlsZXNIZXJlV3JhcHBlclByb3BzPmBcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgd2lkdGg6IDMwMHB4O1xuICAgIGhlaWdodDogMzAwcHg7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHsoeyBlbXB0eSB9KSA9PlxuICAgICAgICBlbXB0eSA/IFwidmFyKC0tbWRjLXRoZW1lLXN1cmZhY2UpXCIgOiBcInZhcigtLW1kYy10aGVtZS1iYWNrZ3JvdW5kKVwifTtcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGxlZnQ6IDUwJTtcbiAgICB0b3A6IDUwJTtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSkgdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlSWNvbldyYXBwZXIgPSBzdHlsZWQoXCJkaXZcIilgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHRvcDogOTBweDtcbiAgICB3aWR0aDogMzAwcHg7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgY29sb3I6IHZhcigtLW1kYy10aGVtZS1vbi1zdXJmYWNlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlSWNvbiA9IHN0eWxlZChVcGxvYWRJY29uKWBcbiAgICB3aWR0aDogMTAwcHggIWltcG9ydGFudDtcbiAgICBoZWlnaHQ6IGF1dG87XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIGNvbG9yOiB2YXIoLS1tZGMtdGhlbWUtb24tc3VyZmFjZSk7XG5gO1xuIl19 */",
|
|
44
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
45
|
-
});
|
|
46
|
-
var DropFilesHereIcon = exports.DropFilesHereIcon = /*#__PURE__*/(0, _base.default)(_cloud_upload.ReactComponent, process.env.NODE_ENV === "production" ? {
|
|
47
|
-
target: "e1dajg7m0"
|
|
48
|
-
} : {
|
|
49
|
-
target: "e1dajg7m0",
|
|
50
|
-
label: "DropFilesHereIcon"
|
|
51
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
52
|
-
name: "1w6rjw4",
|
|
53
|
-
styles: "width:100px!important;height:auto;display:inline-block;color:var(--mdc-theme-on-surface)"
|
|
54
|
-
} : {
|
|
55
|
-
name: "1w6rjw4",
|
|
56
|
-
styles: "width:100px!important;height:auto;display:inline-block;color:var(--mdc-theme-on-surface)",
|
|
57
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUNtRCIsImZpbGUiOiJzdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBSZWFjdENvbXBvbmVudCBhcyBVcGxvYWRJY29uIH0gZnJvbSBcIkBtYXRlcmlhbC1kZXNpZ24taWNvbnMvc3ZnL2ZpbGxlZC9jbG91ZF91cGxvYWQuc3ZnXCI7XG5cbnR5cGUgRHJvcEZpbGVzSGVyZVdyYXBwZXJQcm9wcyA9IHtcbiAgICBlbXB0eT86IGJvb2xlYW47XG59O1xuXG5leHBvcnQgY29uc3QgRHJvcEZpbGVzSGVyZVdyYXBwZXIgPSBzdHlsZWQoXCJkaXZcIik8RHJvcEZpbGVzSGVyZVdyYXBwZXJQcm9wcz5gXG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgZW1wdHkgfSkgPT4gKGVtcHR5ID8gXCJhbGxcIiA6IFwibm9uZVwiKX07XG4gICAgbWFyZ2luOiAwIGF1dG87XG4gICAgcGFkZGluZy10b3A6IDA7XG4gICAgaGVpZ2h0OiBjYWxjKDEwMHZoIC0gOTVweCk7XG4gICAgei1pbmRleDogMTAwO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBiYWNrZ3JvdW5kOiAkeyh7IGVtcHR5IH0pID0+IChlbXB0eSA/IFwidHJhbnNwYXJlbnRcIiA6IFwidmFyKC0tbWRjLXRoZW1lLXRleHQtaGludC1vbi1saWdodClcIil9O1xuYDtcblxuZXhwb3J0IGNvbnN0IERyb3BGaWxlc0hlcmVJbm5lciA9IHN0eWxlZChcImRpdlwiKTxEcm9wRmlsZXNIZXJlV3JhcHBlclByb3BzPmBcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgd2lkdGg6IDMwMHB4O1xuICAgIGhlaWdodDogMzAwcHg7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHsoeyBlbXB0eSB9KSA9PlxuICAgICAgICBlbXB0eSA/IFwidmFyKC0tbWRjLXRoZW1lLXN1cmZhY2UpXCIgOiBcInZhcigtLW1kYy10aGVtZS1iYWNrZ3JvdW5kKVwifTtcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGxlZnQ6IDUwJTtcbiAgICB0b3A6IDUwJTtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSkgdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlSWNvbldyYXBwZXIgPSBzdHlsZWQoXCJkaXZcIilgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHRvcDogOTBweDtcbiAgICB3aWR0aDogMzAwcHg7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgY29sb3I6IHZhcigtLW1kYy10aGVtZS1vbi1zdXJmYWNlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEcm9wRmlsZXNIZXJlSWNvbiA9IHN0eWxlZChVcGxvYWRJY29uKWBcbiAgICB3aWR0aDogMTAwcHggIWltcG9ydGFudDtcbiAgICBoZWlnaHQ6IGF1dG87XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIGNvbG9yOiB2YXIoLS1tZGMtdGhlbWUtb24tc3VyZmFjZSk7XG5gO1xuIl19 */",
|
|
58
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_cloud_upload","require","_EMOTION_STRINGIFIED_CSS_ERROR__","DropFilesHereWrapper","exports","_base","default","process","env","NODE_ENV","target","label","_ref","empty","_ref2","DropFilesHereInner","_ref3","DropFilesHereIconWrapper","name","styles","map","toString","DropFilesHereIcon","UploadIcon"],"sources":["styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { ReactComponent as UploadIcon } from \"@material-design-icons/svg/filled/cloud_upload.svg\";\n\ntype DropFilesHereWrapperProps = {\n empty?: boolean;\n};\n\nexport const DropFilesHereWrapper = styled(\"div\")<DropFilesHereWrapperProps>`\n pointer-events: ${({ empty }) => (empty ? \"all\" : \"none\")};\n margin: 0 auto;\n padding-top: 0;\n height: calc(100vh - 95px);\n z-index: 100;\n width: 100%;\n position: absolute;\n background: ${({ empty }) => (empty ? \"transparent\" : \"var(--mdc-theme-text-hint-on-light)\")};\n`;\n\nexport const DropFilesHereInner = styled(\"div\")<DropFilesHereWrapperProps>`\n text-align: center;\n width: 300px;\n height: 300px;\n background-color: ${({ empty }) =>\n empty ? \"var(--mdc-theme-surface)\" : \"var(--mdc-theme-background)\"};\n border-radius: 50%;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n`;\n\nexport const DropFilesHereIconWrapper = styled(\"div\")`\n position: absolute;\n top: 90px;\n width: 300px;\n display: flex;\n flex-direction: column;\n align-items: center;\n color: var(--mdc-theme-on-surface);\n`;\n\nexport const DropFilesHereIcon = styled(UploadIcon)`\n width: 100px !important;\n height: auto;\n display: inline-block;\n color: var(--mdc-theme-on-surface);\n`;\n"],"mappings":";;;;;;;;AACA,IAAAA,aAAA,GAAAC,OAAA;AAAkG,SAAAC,iCAAA;AAM3F,IAAMC,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,gBAAG,IAAAE,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,oBAC3B,UAAAC,IAAA;EAAA,IAAGC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQA,KAAK,GAAG,KAAK,GAAG,MAAM;AAAA,CAAC,iHAO3C,UAAAC,KAAA;EAAA,IAAGD,KAAK,GAAAC,KAAA,CAALD,KAAK;EAAA,OAAQA,KAAK,GAAG,aAAa,GAAG,qCAAqC;AAAA,CAAC,SAAAN,OAAA,CAAAC,GAAA,CAAAC,QAAA,gmEAC/F;AAEM,IAAMM,kBAAkB,GAAAX,OAAA,CAAAW,kBAAA,gBAAG,IAAAV,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,iEAIvB,UAAAK,KAAA;EAAA,IAAGH,KAAK,GAAAG,KAAA,CAALH,KAAK;EAAA,OACxBA,KAAK,GAAG,0BAA0B,GAAG,6BAA6B;AAAA,2GAAAN,OAAA,CAAAC,GAAA,CAAAC,QAAA,gmEAMzE;AAEM,IAAMQ,wBAAwB,GAAAb,OAAA,CAAAa,wBAAA,gBAAG,IAAAZ,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAS,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAnB;AAAA,EAQpD;AAEM,IAAMoB,iBAAiB,GAAAlB,OAAA,CAAAkB,iBAAA,gBAAG,IAAAjB,KAAA,CAAAC,OAAA,EAAOiB,4BAAU,EAAAhB,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAS,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAnB;AAAA,EAKlD","ignoreList":[]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.FlexRow = exports.FlexColumn = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11
|
-
var Row = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
12
|
-
target: "ek6axac1"
|
|
13
|
-
} : {
|
|
14
|
-
target: "ek6axac1",
|
|
15
|
-
label: "Row"
|
|
16
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
17
|
-
name: "ho1qnd",
|
|
18
|
-
styles: "display:flex;flex-direction:row"
|
|
19
|
-
} : {
|
|
20
|
-
name: "ho1qnd",
|
|
21
|
-
styles: "display:flex;flex-direction:row",
|
|
22
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdzQiIsImZpbGUiOiJGbGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuXG5jb25zdCBSb3cgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbmA7XG5cbmNvbnN0IENvbHVtbiA9IHN0eWxlZC5kaXZgXG4gICAgZmxleC1ncm93OiAxO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZsZXhSb3cgPSAoeyBjaGlsZHJlbiB9OiB7IGNoaWxkcmVuOiBSZWFjdC5SZWFjdE5vZGUgfSkgPT4ge1xuICAgIHJldHVybiA8Um93PntjaGlsZHJlbn08L1Jvdz47XG59O1xuXG5leHBvcnQgY29uc3QgRmxleENvbHVtbiA9ICh7IGNoaWxkcmVuIH06IHsgY2hpbGRyZW46IFJlYWN0LlJlYWN0Tm9kZSB9KSA9PiB7XG4gICAgcmV0dXJuIDxDb2x1bW4+e2NoaWxkcmVufTwvQ29sdW1uPjtcbn07XG4iXX0= */",
|
|
23
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
|
-
});
|
|
25
|
-
var Column = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
26
|
-
target: "ek6axac0"
|
|
27
|
-
} : {
|
|
28
|
-
target: "ek6axac0",
|
|
29
|
-
label: "Column"
|
|
30
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
31
|
-
name: "1ff36h2",
|
|
32
|
-
styles: "flex-grow:1"
|
|
33
|
-
} : {
|
|
34
|
-
name: "1ff36h2",
|
|
35
|
-
styles: "flex-grow:1",
|
|
36
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVF5QiIsImZpbGUiOiJGbGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuXG5jb25zdCBSb3cgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbmA7XG5cbmNvbnN0IENvbHVtbiA9IHN0eWxlZC5kaXZgXG4gICAgZmxleC1ncm93OiAxO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZsZXhSb3cgPSAoeyBjaGlsZHJlbiB9OiB7IGNoaWxkcmVuOiBSZWFjdC5SZWFjdE5vZGUgfSkgPT4ge1xuICAgIHJldHVybiA8Um93PntjaGlsZHJlbn08L1Jvdz47XG59O1xuXG5leHBvcnQgY29uc3QgRmxleENvbHVtbiA9ICh7IGNoaWxkcmVuIH06IHsgY2hpbGRyZW46IFJlYWN0LlJlYWN0Tm9kZSB9KSA9PiB7XG4gICAgcmV0dXJuIDxDb2x1bW4+e2NoaWxkcmVufTwvQ29sdW1uPjtcbn07XG4iXX0= */",
|
|
37
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
38
|
-
});
|
|
39
|
-
var FlexRow = exports.FlexRow = function FlexRow(_ref) {
|
|
40
|
-
var children = _ref.children;
|
|
41
|
-
return /*#__PURE__*/_react.default.createElement(Row, null, children);
|
|
42
|
-
};
|
|
43
|
-
var FlexColumn = exports.FlexColumn = function FlexColumn(_ref2) {
|
|
44
|
-
var children = _ref2.children;
|
|
45
|
-
return /*#__PURE__*/_react.default.createElement(Column, null, children);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
//# sourceMappingURL=Flex.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_EMOTION_STRINGIFIED_CSS_ERROR__","Row","_base","default","process","env","NODE_ENV","target","label","name","styles","map","toString","Column","FlexRow","exports","_ref","children","createElement","FlexColumn","_ref2"],"sources":["Flex.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport React from \"react\";\n\nconst Row = styled.div`\n display: flex;\n flex-direction: row;\n`;\n\nconst Column = styled.div`\n flex-grow: 1;\n`;\n\nexport const FlexRow = ({ children }: { children: React.ReactNode }) => {\n return <Row>{children}</Row>;\n};\n\nexport const FlexColumn = ({ children }: { children: React.ReactNode }) => {\n return <Column>{children}</Column>;\n};\n"],"mappings":";;;;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAC,iCAAA;AAE1B,IAAMC,GAAG,oBAAAC,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAZ;AAAA,EAGR;AAED,IAAMa,MAAM,oBAAAX,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAZ;AAAA,EAEX;AAEM,IAAMc,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,SAAVA,OAAOA,CAAAE,IAAA,EAAoD;EAAA,IAA9CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAC9B,oBAAOpB,MAAA,CAAAM,OAAA,CAAAe,aAAA,CAACjB,GAAG,QAAEgB,QAAc,CAAC;AAChC,CAAC;AAEM,IAAME,UAAU,GAAAJ,OAAA,CAAAI,UAAA,GAAG,SAAbA,UAAUA,CAAAC,KAAA,EAAoD;EAAA,IAA9CH,QAAQ,GAAAG,KAAA,CAARH,QAAQ;EACjC,oBAAOpB,MAAA,CAAAM,OAAA,CAAAe,aAAA,CAACL,MAAM,QAAEI,QAAiB,CAAC;AACtC,CAAC","ignoreList":[]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.Footer = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _SimpleForm = require("@webiny/app-admin/components/SimpleForm");
|
|
11
|
-
var _Button = require("@webiny/ui/Button");
|
|
12
|
-
var _form = require("@webiny/form");
|
|
13
|
-
var _useFileDetails2 = require("../../../hooks/useFileDetails");
|
|
14
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
15
|
-
var SimpleFormFooterStyled = /*#__PURE__*/(0, _base.default)(_SimpleForm.SimpleFormFooter, process.env.NODE_ENV === "production" ? {
|
|
16
|
-
target: "echg8m60"
|
|
17
|
-
} : {
|
|
18
|
-
target: "echg8m60",
|
|
19
|
-
label: "SimpleFormFooterStyled"
|
|
20
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
21
|
-
name: "1f60if8",
|
|
22
|
-
styles: "justify-content:flex-end"
|
|
23
|
-
} : {
|
|
24
|
-
name: "1f60if8",
|
|
25
|
-
styles: "justify-content:flex-end",
|
|
26
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZvb3Rlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT3VEIiwiZmlsZSI6IkZvb3Rlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFNpbXBsZUZvcm1Gb290ZXIgfSBmcm9tIFwiQHdlYmlueS9hcHAtYWRtaW4vY29tcG9uZW50cy9TaW1wbGVGb3JtXCI7XG5pbXBvcnQgeyBCdXR0b25EZWZhdWx0LCBCdXR0b25QcmltYXJ5IH0gZnJvbSBcIkB3ZWJpbnkvdWkvQnV0dG9uXCI7XG5pbXBvcnQgeyB1c2VGb3JtIH0gZnJvbSBcIkB3ZWJpbnkvZm9ybVwiO1xuaW1wb3J0IHsgdXNlRmlsZURldGFpbHMgfSBmcm9tIFwifi9ob29rcy91c2VGaWxlRGV0YWlsc1wiO1xuXG5jb25zdCBTaW1wbGVGb3JtRm9vdGVyU3R5bGVkID0gc3R5bGVkKFNpbXBsZUZvcm1Gb290ZXIpYFxuICAgIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG5gO1xuXG5leHBvcnQgY29uc3QgRm9vdGVyID0gKCkgPT4ge1xuICAgIGNvbnN0IHsgY2xvc2UgfSA9IHVzZUZpbGVEZXRhaWxzKCk7XG4gICAgY29uc3QgZm9ybSA9IHVzZUZvcm0oKTtcblxuICAgIHJldHVybiAoXG4gICAgICAgIDxTaW1wbGVGb3JtRm9vdGVyU3R5bGVkPlxuICAgICAgICAgICAgPEJ1dHRvbkRlZmF1bHQgb25DbGljaz17Y2xvc2V9PkNhbmNlbDwvQnV0dG9uRGVmYXVsdD5cbiAgICAgICAgICAgIDxCdXR0b25QcmltYXJ5IG9uQ2xpY2s9e2Zvcm0uc3VibWl0fT5TYXZlIEZpbGU8L0J1dHRvblByaW1hcnk+XG4gICAgICAgIDwvU2ltcGxlRm9ybUZvb3RlclN0eWxlZD5cbiAgICApO1xufTtcbiJdfQ== */",
|
|
27
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
28
|
-
});
|
|
29
|
-
var Footer = exports.Footer = function Footer() {
|
|
30
|
-
var _useFileDetails = (0, _useFileDetails2.useFileDetails)(),
|
|
31
|
-
close = _useFileDetails.close;
|
|
32
|
-
var form = (0, _form.useForm)();
|
|
33
|
-
return /*#__PURE__*/_react.default.createElement(SimpleFormFooterStyled, null, /*#__PURE__*/_react.default.createElement(_Button.ButtonDefault, {
|
|
34
|
-
onClick: close
|
|
35
|
-
}, "Cancel"), /*#__PURE__*/_react.default.createElement(_Button.ButtonPrimary, {
|
|
36
|
-
onClick: form.submit
|
|
37
|
-
}, "Save File"));
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
//# sourceMappingURL=Footer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_SimpleForm","_Button","_form","_useFileDetails2","_EMOTION_STRINGIFIED_CSS_ERROR__","SimpleFormFooterStyled","_base","default","SimpleFormFooter","process","env","NODE_ENV","target","label","name","styles","map","toString","Footer","exports","_useFileDetails","useFileDetails","close","form","useForm","createElement","ButtonDefault","onClick","ButtonPrimary","submit"],"sources":["Footer.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"@emotion/styled\";\nimport { SimpleFormFooter } from \"@webiny/app-admin/components/SimpleForm\";\nimport { ButtonDefault, ButtonPrimary } from \"@webiny/ui/Button\";\nimport { useForm } from \"@webiny/form\";\nimport { useFileDetails } from \"~/hooks/useFileDetails\";\n\nconst SimpleFormFooterStyled = styled(SimpleFormFooter)`\n justify-content: flex-end;\n`;\n\nexport const Footer = () => {\n const { close } = useFileDetails();\n const form = useForm();\n\n return (\n <SimpleFormFooterStyled>\n <ButtonDefault onClick={close}>Cancel</ButtonDefault>\n <ButtonPrimary onClick={form.submit}>Save File</ButtonPrimary>\n </SimpleFormFooterStyled>\n );\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAAwD,SAAAK,iCAAA;AAExD,IAAMC,sBAAsB,gBAAG,IAAAC,KAAA,CAAAC,OAAA,EAAOC,4BAAgB,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAEtD;AAEM,IAAMc,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG,SAATA,MAAMA,CAAA,EAAS;EACxB,IAAAE,eAAA,GAAkB,IAAAC,+BAAc,EAAC,CAAC;IAA1BC,KAAK,GAAAF,eAAA,CAALE,KAAK;EACb,IAAMC,IAAI,GAAG,IAAAC,aAAO,EAAC,CAAC;EAEtB,oBACI3B,MAAA,CAAAU,OAAA,CAAAkB,aAAA,CAACpB,sBAAsB,qBACnBR,MAAA,CAAAU,OAAA,CAAAkB,aAAA,CAACxB,OAAA,CAAAyB,aAAa;IAACC,OAAO,EAAEL;EAAM,GAAC,QAAqB,CAAC,eACrDzB,MAAA,CAAAU,OAAA,CAAAkB,aAAA,CAACxB,OAAA,CAAA2B,aAAa;IAACD,OAAO,EAAEJ,IAAI,CAACM;EAAO,GAAC,WAAwB,CACzC,CAAC;AAEjC,CAAC","ignoreList":[]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.Header = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _close = require("@material-design-icons/svg/outlined/close.svg");
|
|
11
|
-
var _Button = require("@webiny/ui/Button");
|
|
12
|
-
var _SimpleForm = require("@webiny/app-admin/components/SimpleForm");
|
|
13
|
-
var _useFileDetails2 = require("../../../hooks/useFileDetails");
|
|
14
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
15
|
-
var CloseButton = /*#__PURE__*/(0, _base.default)(_Button.IconButton, process.env.NODE_ENV === "production" ? {
|
|
16
|
-
target: "e1e01brf0"
|
|
17
|
-
} : {
|
|
18
|
-
target: "e1e01brf0",
|
|
19
|
-
label: "CloseButton"
|
|
20
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
21
|
-
name: "1zok93",
|
|
22
|
-
styles: "position:absolute;top:15px"
|
|
23
|
-
} : {
|
|
24
|
-
name: "1zok93",
|
|
25
|
-
styles: "position:absolute;top:15px",
|
|
26
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhlYWRlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT3NDIiwiZmlsZSI6IkhlYWRlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFJlYWN0Q29tcG9uZW50IGFzIENsb3NlSWNvbiB9IGZyb20gXCJAbWF0ZXJpYWwtZGVzaWduLWljb25zL3N2Zy9vdXRsaW5lZC9jbG9zZS5zdmdcIjtcbmltcG9ydCB7IEljb25CdXR0b24gfSBmcm9tIFwiQHdlYmlueS91aS9CdXR0b25cIjtcbmltcG9ydCB7IFNpbXBsZUZvcm1IZWFkZXIgfSBmcm9tIFwiQHdlYmlueS9hcHAtYWRtaW4vY29tcG9uZW50cy9TaW1wbGVGb3JtXCI7XG5pbXBvcnQgeyB1c2VGaWxlRGV0YWlscyB9IGZyb20gXCJ+L2hvb2tzL3VzZUZpbGVEZXRhaWxzXCI7XG5cbmNvbnN0IENsb3NlQnV0dG9uID0gc3R5bGVkKEljb25CdXR0b24pYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB0b3A6IDE1cHg7XG5gO1xuXG5leHBvcnQgY29uc3QgSGVhZGVyID0gKCkgPT4ge1xuICAgIGNvbnN0IHsgY2xvc2UgfSA9IHVzZUZpbGVEZXRhaWxzKCk7XG5cbiAgICByZXR1cm4gKFxuICAgICAgICA8U2ltcGxlRm9ybUhlYWRlciB0aXRsZT17XCJGaWxlIGRldGFpbHNcIn0+XG4gICAgICAgICAgICA8Q2xvc2VCdXR0b24gaWNvbj17PENsb3NlSWNvbiAvPn0gb25DbGljaz17Y2xvc2V9IC8+XG4gICAgICAgIDwvU2ltcGxlRm9ybUhlYWRlcj5cbiAgICApO1xufTtcbiJdfQ== */",
|
|
27
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
28
|
-
});
|
|
29
|
-
var Header = exports.Header = function Header() {
|
|
30
|
-
var _useFileDetails = (0, _useFileDetails2.useFileDetails)(),
|
|
31
|
-
close = _useFileDetails.close;
|
|
32
|
-
return /*#__PURE__*/_react.default.createElement(_SimpleForm.SimpleFormHeader, {
|
|
33
|
-
title: "File details"
|
|
34
|
-
}, /*#__PURE__*/_react.default.createElement(CloseButton, {
|
|
35
|
-
icon: /*#__PURE__*/_react.default.createElement(_close.ReactComponent, null),
|
|
36
|
-
onClick: close
|
|
37
|
-
}));
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_close","_Button","_SimpleForm","_useFileDetails2","_EMOTION_STRINGIFIED_CSS_ERROR__","CloseButton","_base","default","IconButton","process","env","NODE_ENV","target","label","name","styles","map","toString","Header","exports","_useFileDetails","useFileDetails","close","createElement","SimpleFormHeader","title","icon","ReactComponent","onClick"],"sources":["Header.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"@emotion/styled\";\nimport { ReactComponent as CloseIcon } from \"@material-design-icons/svg/outlined/close.svg\";\nimport { IconButton } from \"@webiny/ui/Button\";\nimport { SimpleFormHeader } from \"@webiny/app-admin/components/SimpleForm\";\nimport { useFileDetails } from \"~/hooks/useFileDetails\";\n\nconst CloseButton = styled(IconButton)`\n position: absolute;\n top: 15px;\n`;\n\nexport const Header = () => {\n const { close } = useFileDetails();\n\n return (\n <SimpleFormHeader title={\"File details\"}>\n <CloseButton icon={<CloseIcon />} onClick={close} />\n </SimpleFormHeader>\n );\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAAwD,SAAAK,iCAAA;AAExD,IAAMC,WAAW,gBAAG,IAAAC,KAAA,CAAAC,OAAA,EAAOC,kBAAU,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAGrC;AAEM,IAAMc,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG,SAATA,MAAMA,CAAA,EAAS;EACxB,IAAAE,eAAA,GAAkB,IAAAC,+BAAc,EAAC,CAAC;IAA1BC,KAAK,GAAAF,eAAA,CAALE,KAAK;EAEb,oBACIzB,MAAA,CAAAU,OAAA,CAAAgB,aAAA,CAACrB,WAAA,CAAAsB,gBAAgB;IAACC,KAAK,EAAE;EAAe,gBACpC5B,MAAA,CAAAU,OAAA,CAAAgB,aAAA,CAAClB,WAAW;IAACqB,IAAI,eAAE7B,MAAA,CAAAU,OAAA,CAAAgB,aAAA,CAACvB,MAAA,CAAA2B,cAAS,MAAE,CAAE;IAACC,OAAO,EAAEN;EAAM,CAAE,CACrC,CAAC;AAE3B,CAAC","ignoreList":[]}
|