Merge branch 'develop' into feature/add-new-link-dialog

This commit is contained in:
Nikita Gopienko 2023-09-12 17:01:30 +03:00
commit 772b730eba
64 changed files with 2174 additions and 386 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "أنت على وشك حذف هذا الملف. هل أنت متأكد أنك تريد الاستمرار؟",
"DeleteFolder": "أنت على وشك حذف هذا المجلد. هل أنت متأكد أنك تريد الاستمرار؟",
"DeleteItems": "أنت على وشك حذف هذه العناصر. هل أنت متأكد أنك تريد الاستمرار؟",
"DeleteFile": "أنت على وشك حذف هذا الملف.",
"DeleteFolder": "أنت على وشك حذف هذا المجلد.",
"DeleteItems": "أنت على وشك حذف هذه العناصر. ",
"DeleteRoom": "أنت على وشك حذف هذه الغرفة. لن تكون قادرًا على استعادته.",
"DeleteRooms": "أنت على وشك حذف هذه الغرف. لن تتمكن من استعادتها.",
"MoveToTrashButton": "انقل الى سلة المهملات",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "تحديد الكل كمقروء",
"NewFiles": "ملفات جديدة"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Bu faylı silmək üzrəsiniz. Davam etmək istədiyinizə əminsiniz?",
"DeleteFolder": "Bu qovluğu silmək üzrəsiniz. Davam etmək istədiyinizə əminsiniz?",
"DeleteItems": "Bu elementləri silmək üzrəsiniz. Davam etmək istədiyinizə əminsiniz?",
"DeleteFile": "Bu faylı silmək üzrəsiniz.",
"DeleteFolder": "Bu qovluğu silmək üzrəsiniz.",
"DeleteItems": "Bu elementləri silmək üzrəsiniz. ",
"DeleteRoom": "Siz bu otağı silmək üzrəsiniz. Siz onu bərpa edə bilməzsiniz.",
"DeleteRooms": "Bu otaqları silmək üzrəsiniz. Onları bərpa edə bilməzsiniz.",
"MoveToTrashButton": "Zibil qutusuna yerləşdir",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Hər elementi oxunulmuş kimi seçmək",
"NewFiles": "Yeni fayllar"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "На път сте да изтриете този файл. Сигурни ли сте, че искате да продължите?",
"DeleteFolder": "На път сте да изтриете тази папка. Сигурни ли сте, че искате да продължите?",
"DeleteItems": "На път сте да изтриете тези елементи. Сигурни ли сте, че искате да продължите?",
"DeleteFile": "На път сте да изтриете този файл.",
"DeleteFolder": "На път сте да изтриете тази папка.",
"DeleteItems": "На път сте да изтриете тези елементи. ",
"DeleteRoom": "На път сте да изтриете тази стая. Няма да можете да възстановите тези данни.",
"DeleteRooms": "На път сте да изтриете тези стаи. Няма да можете да ги възстановите.",
"MoveToTrashButton": "Премести в Кошчето",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Маркирай всички като прочетени",
"NewFiles": "Нови файлове"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Chystáte se odstranit tento soubor. Určitě chcete pokračovat?",
"DeleteFolder": "Chystáte se odstranit tuto složku. Určitě chcete pokračovat?",
"DeleteItems": "Chystáte se odstranit tyto položky. Určitě chcete pokračovat?",
"DeleteFile": "Chystáte se odstranit tento soubor.",
"DeleteFolder": "Chystáte se odstranit tuto složku.",
"DeleteItems": "Chystáte se odstranit tyto položky. ",
"DeleteRoom": "Chystáte se odstranit tuto místnost. Nebudete ji moci obnovit.",
"DeleteRooms": "Tyto místnosti se chystáte smazat. Nebudete je moci obnovit.",
"MoveToTrashButton": "Přesunout do koše",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Označit všechny jako přečtené",
"NewFiles": "Nové soubory"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Sie möchten diese Datei löschen. Fortfahren?",
"DeleteFolder": "Sie möchten diesen Ordner löschen. Fortfahren?",
"DeleteItems": "Sie löschen diese Objekte. Fortfahren?",
"DeleteFile": "Sie möchten diese Datei löschen.",
"DeleteFolder": "Sie möchten diesen Ordner löschen. ",
"DeleteItems": "Sie löschen diese Objekte. ",
"DeleteRoom": "Sie löschen diesen Raum. Dies kann nicht rückgängig gemacht.",
"DeleteRooms": "Sie möchten diese Räume löschen. Dies kann nicht rückgängig gemacht.",
"MoveToTrashButton": "In den Papierkorb verschieben",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Alle als gelesen markieren",
"NewFiles": "Neue Dateien"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Πρόκειται να διαγράψετε αυτό το αρχείο. Θέλετε σίγουρα να συνεχίσετε;",
"DeleteFolder": "Πρόκειται να διαγράψετε αυτόν τον φάκελο. Θέλετε σίγουρα να συνεχίσετε;",
"DeleteItems": "Πρόκειται να διαγράψετε αυτά τα στοιχεία. Θέλετε σίγουρα να συνεχίσετε;",
"DeleteFile": "Πρόκειται να διαγράψετε αυτό το αρχείο.",
"DeleteFolder": "Πρόκειται να διαγράψετε αυτόν τον φάκελο.",
"DeleteItems": "Πρόκειται να διαγράψετε αυτά τα στοιχεία. ",
"DeleteRoom": "Πρόκειται να διαγράψετε αυτό το δωμάτιο. Δεν θα μπορέσετε να το επαναφέρετε.",
"DeleteRooms": "Πρόκειται να διαγράψετε αυτά τα δωμάτια. Δεν θα μπορέσετε να τα επαναφέρετε.",
"MoveToTrashButton": "Μετακίνηση στον Κάδο απορριμμάτων",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Σήμανση όλων ως αναγνωσμένων",
"NewFiles": "Νέα αρχεία"
}

View File

@ -1,9 +1,14 @@
{
"DeleteFile": "You are about to delete this file. Are you sure you want to continue?",
"DeleteFolder": "You are about to delete this folder. Are you sure you want to continue?",
"DeleteItems": "You are about to delete these items. Are you sure you want to continue?",
"DeleteFile": "You are about to delete this file.",
"DeleteFolder": "You are about to delete this folder.",
"DeleteItems": "You are about to delete these items.",
"DeleteItemsSharedNote": "Please note that if you have shared them with someone, they will become unavailable.",
"DeleteRoom": "You are about to delete this room. You wont be able to restore it.",
"DeleteRooms": "You are about to delete these rooms. You wont be able to restore them.",
"DeleteSharedNote": "Please note that if you have shared it with someone, it will become unavailable.",
"FilePermanentlyDeleted": "The file will be permanently deleted in 30 days.",
"FolderPermanentlyDeleted": "The folder will be permanently deleted in 30 days.",
"ItemsPermanentlyDeleted": "Items will be permanently deleted in 30 days.",
"MoveToTrashButton": "Move to Trash",
"MoveToTrashFile": "You are about to delete this file. Please note that if you have shared it with someone, it will become unavailable. The file will be permanently deleted in 30 days. Are you sure you want to continue?",
"MoveToTrashFolder": "You are about to delete this folder. Please note that if you have shared it with someone, it will become unavailable. Are you sure you want to continue?",
@ -12,5 +17,6 @@
"MoveToTrashTitle": "Move to Trash?",
"UnsubscribeButton": "Unsubscribe",
"UnsubscribeNote": "Are you sure you want to unsubscribe from the selected items from the list?",
"UnsubscribeTitle": "Unsubscribe confirmation"
"UnsubscribeTitle": "Unsubscribe confirmation",
"WantToContinue": "Are you sure you want to continue?"
}

View File

@ -1,4 +1,5 @@
{
"AddedToClipboard": "Items added to clipboard",
"AddMembersDescription": "You can add new team members manually or invite them via link.",
"AddNewExternalLink": "Add new external link",
"AddNewLink": "Add new link",
@ -158,6 +159,5 @@
"ViewTiles": "Tiles",
"WantToRestoreTheRoom": "All external links in this room will become active, and its contents will be available to everyone with the link. Do you want to restore the room?",
"WantToRestoreTheRooms": "All external links in restored rooms will become active, and their contents will be available to everyone with the room links. Do you want to restore the rooms?",
"WithSubfolders": "With subfolders",
"AddedToClipboard": "Items added to clipboard"
"WithSubfolders": "With subfolders"
}

View File

@ -5,6 +5,7 @@
"HotkeysChangeView": "Switch between grid and list view",
"HotkeysClearAll": "Clear all selections",
"HotkeysClose": "Close/Undo action",
"HotkeysCopySelected": "Copy selected items to the clipboard",
"HotkeysCreateDocument": "Create document",
"HotkeysCreateFolder": "Create folder",
"HotkeysCreateForm": "Create blank form template",
@ -12,6 +13,7 @@
"HotkeysCreatePresentation": "Create presentation",
"HotkeysCreateSpreadsheet": "Create spreadsheet",
"HotkeysCreatingObjects": "Creating items",
"HotkeysCutSelected": "Cut selected items to the clipboard",
"HotkeysEnterKey": "Enter",
"HotkeysExtendSelectionDown": "Extend selection down",
"HotkeysExtendSelectionLeft": "Extend selection left",
@ -25,6 +27,7 @@
"HotkeysMoveUp": "Move up without changing selection",
"HotkeysNavigation": "Navigation",
"HotkeysOpen": "Open selected item/Confirm action",
"HotkeysPasteSelected": "Paste selected items from the clipboard",
"HotkeysPlayPause": "Play/Pause",
"HotkeysRedoLastUndoneAction": "Redo the last undone action",
"HotkeysRemove": "Remove selected items",
@ -40,9 +43,6 @@
"HotkeysUndoLastAction": "Undo the last action",
"HotkeysUploadFile": "Upload file",
"HotkeysUploadingObjects": "Uploading items",
"HotkeysCopySelected": "Copy selected items to the clipboard",
"HotkeysPasteSelected": "Paste selected items from the clipboard",
"HotkeysCutSelected": "Cut selected items to the clipboard",
"HotkeysZoomIn": "Zoom in",
"HotkeysZoomOut": "Zoom out"
}

View File

@ -1,4 +1,4 @@
{
"MarkAsRead": "Mark all as read",
"NewFiles": "New files"
"NewFiles": "New files",
"Viewed": "Viewed"
}

View File

@ -7,8 +7,8 @@
"AccessRightsUsersFromList": "{{users}} from the list",
"AddAllowedIP": "Add allowed IP address",
"AdditionalResources": "Additional resources",
"AdditionalResourcesSubtitle": "Configure the display of links to helpful resources for your users.",
"AdditionalResourcesDescription": "Choose whether you want to display links to additional resources in DocSpace menu.",
"AdditionalResourcesSubtitle": "Configure the display of links to helpful resources for your users.",
"AddTrustedDomain": "Add trusted domain",
"Admins": "Admins",
"AdminsMessage": "Administrator Message Settings",

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Está a punto de eliminar este archivo. ¿Está seguro de que desea continuar?",
"DeleteFolder": "Está a punto de eliminar esta carpeta. ¿Está seguro de que desea continuar?",
"DeleteItems": "Está a punto de eliminar estos elementos. ¿Está seguro de que desea continuar?",
"DeleteFile": "Está a punto de eliminar este archivo.",
"DeleteFolder": "Está a punto de eliminar esta carpeta. ",
"DeleteItems": "Está a punto de eliminar estos elementos. ",
"DeleteRoom": "Está a punto de eliminar esta sala. No podrá restaurarla.",
"DeleteRooms": "Está a punto de eliminar estas salas. No podrá restaurarlas.",
"MoveToTrashButton": "Mover a la papelera",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Marcar todo como leído",
"NewFiles": "Nuevos archivos"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Olet poistamassa tätä tiedostoa. Haluatko varmasti jatkaa?",
"DeleteFolder": "Olet poistamassa tätä kansiota. Haluatko varmasti jatkaa?",
"DeleteItems": "Olet poistamassa nämä kohteet. Haluatko varmasti jatkaa?",
"DeleteFile": "Olet poistamassa tätä tiedostoa.",
"DeleteFolder": "Olet poistamassa tätä kansiota. ",
"DeleteItems": "Olet poistamassa nämä kohteet. ",
"DeleteRoom": "Olet poistamassa tätä huonetta. Et voi enää palauttaa sitä.",
"DeleteRooms": "Olet poistamassa nämä huoneet. Et pysty palauttamaan niitä.",
"MoveToTrashButton": "Siirrä roskakoriin",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Merkitse kaikki luetuksi",
"NewFiles": "Uusia tiedostoja"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Vous êtes sur le point de supprimer ce fichier. Êtes-vous sûr de vouloir continuer ?",
"DeleteFolder": "Vous êtes sur le point de supprimer ce dossier. Êtes-vous sûr de vouloir continuer ?",
"DeleteItems": "Vous êtes sur le point de supprimer ces éléments. Êtes-vous sûr de vouloir continuer ?",
"DeleteFile": "Vous êtes sur le point de supprimer ce fichier.",
"DeleteFolder": "Vous êtes sur le point de supprimer ce dossier. ",
"DeleteItems": "Vous êtes sur le point de supprimer ces éléments. ",
"DeleteRoom": "Vous êtes sur le point de supprimer cette salle. Vous ne pourrez pas la restaurer.",
"DeleteRooms": "Vous êtes sur le point de supprimer ces salles. Vous ne pourrez pas les restaurer.",
"MoveToTrashButton": "Mettre dans la corbeille",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "tout marquer comme lu",
"NewFiles": "Nouveaux fichiers"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Դուք պատրաստվում եք ջնջել այս ֆայլը: Վստա՞հ եք, որ ցանկանում եք շարունակել:",
"DeleteFolder": "Դուք պատրաստվում եք ջնջել այս թղթապանակը: Վստա՞հ եք, որ ցանկանում եք շարունակել:",
"DeleteItems": "Դուք պատրաստվում եք ջնջել այս տարրերը: Վստա՞հ եք, որ ցանկանում եք շարունակել:",
"DeleteFile": "Դուք պատրաստվում եք ջնջել այս ֆայլը:",
"DeleteFolder": "Դուք պատրաստվում եք ջնջել այս թղթապանակը: ",
"DeleteItems": "Դուք պատրաստվում եք ջնջել այս տարրերը: ",
"DeleteRoom": "Դուք պատրաստվում եք ջնջել այս սենյակը: Դուք չեք կարողանա վերականգնել այն.",
"DeleteRooms": "Դուք պատրաստվում եք ջնջել այս սենյակները: Դուք չեք կարողանա վերականգնել դրանք:",
"MoveToTrashButton": "Տեղափոխել աղբարկղ",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Նշել բոլորը որպես կարդացված",
"NewFiles": "Նոր ֆայլեր"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Stai per eliminare questo file. Sei sicuro di voler continuare?",
"DeleteFolder": "Stai per eliminare questa cartella. Sei sicuro di voler continuare?",
"DeleteItems": "Stai per eliminare questi elementi. Sei sicuro di voler continuare?",
"DeleteFile": "Stai per eliminare questo file.",
"DeleteFolder": "Stai per eliminare questa cartella. ",
"DeleteItems": "Stai per eliminare questi elementi. ",
"DeleteRoom": "Stai per eliminare questa stanza. Non sarai in grado di ripristinarla.",
"DeleteRooms": "Stai per eliminare queste stanze. Non sarai in grado di ripristinarli.",
"MoveToTrashButton": "Spostare nel Cestino",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Segna tutto come letto",
"NewFiles": "Nuovi file"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "このファイルを削除しようとしています。このまま続けますか?",
"DeleteFolder": "このフォルダを削除しようとしています。このまま続けますか?",
"DeleteItems": "この項目を削除しようとしています。このまま続けますか?",
"DeleteFile": "このファイルを削除しようとしています。",
"DeleteFolder": "このフォルダを削除しようとしています。",
"DeleteItems": "この項目を削除しようとしています。",
"DeleteRoom": "このルームを削除しようとしています。復元することはできません。",
"DeleteRooms": "このルームを削除しようとしています。復元することはできません。",
"MoveToTrashButton": "ゴミ箱への移動",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "すべてを既読にする",
"NewFiles": "新規ファイル"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "이 파일을 삭제하려고 합니다. 정말로 계속하시겠습니까?",
"DeleteFolder": "이 폴더를 삭제하려고 합니다. 정말로 계속하시겠습니까?",
"DeleteItems": "이 항목을 삭제하려고 합니다. 정말로 계속하시겠습니까?",
"DeleteFile": "이 파일을 삭제하려고 합니다. ",
"DeleteFolder": "이 폴더를 삭제하려고 합니다. ",
"DeleteItems": "이 항목을 삭제하려고 합니다. ",
"DeleteRoom": "이 방을 삭제하려고 합니다. 삭제하면 복원할 수 없습니다.",
"DeleteRooms": "이 방을 삭제하려고 합니다. 삭제하면 복원할 수 없습니다.",
"MoveToTrashButton": "휴지통에 넣기",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "모두 읽은 것으로 표시",
"NewFiles": "새 파일"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "ທ່ານກຳລັງຈະລຶບໄຟລ໌ນີ້. ທ່ານແນ່ໃຈບໍ່ວ່າຕ້ອງການສືບຕໍ່?",
"DeleteFolder": "ທ່ານກຳລັງຈະລຶບໂຟນເດີນີ້. ທ່ານແນ່ໃຈບໍ່ວ່າຕ້ອງການສືບຕໍ່?",
"DeleteItems": "ທ່ານກຳລັງຈະລຶບລາຍການເຫຼົ່ານີ້. ທ່ານແນ່ໃຈບໍ່ວ່າຕ້ອງການສືບຕໍ່?",
"DeleteFile": "ທ່ານກຳລັງຈະລຶບໄຟລ໌ນີ້. ",
"DeleteFolder": "ທ່ານກຳລັງຈະລຶບໂຟນເດີນີ້. ",
"DeleteItems": "ທ່ານກຳລັງຈະລຶບລາຍການເຫຼົ່ານີ້. ",
"DeleteRoom": "ທ່ານກຳລັງຈະລຶບຫ້ອງນີ້. ທ່ານຈະບໍ່ສາມາດກູ້ມັນຄືນມາໄດ້.",
"DeleteRooms": "ທ່ານກຳລັງຈະລຶບຫ້ອງເຫຼົ່ານີ້. ທ່ານຈະບໍ່ສາມາດກູ້ພວກມັນຄືນມາໄດ້.",
"MoveToTrashButton": "ຍ້າຍລົງຖັງຂີ້ເຫຍື້ອ",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "ໝາຍທຸກຢ່າງທີ່ອ່ານແລ້ວ",
"NewFiles": "ເອກະສານໄໝ່"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Jūs gatavojaties izdzēst šo failu. Vai tiešām vēlaties turpināt?",
"DeleteFolder": "Jūs gatavojaties izdzēst šo mapi. Vai tiešām vēlaties turpināt?",
"DeleteItems": "Jūs gatavojaties izdzēst šos vienumus. Vai tiešām vēlaties turpināt?",
"DeleteFile": "Jūs gatavojaties izdzēst šo failu. ",
"DeleteFolder": "Jūs gatavojaties izdzēst šo mapi. ",
"DeleteItems": "Jūs gatavojaties izdzēst šos vienumus. ",
"DeleteRoom": "Jūs gatavojaties izdzēst šo telpu. Jūs nevarēsiet to atjaunot.",
"DeleteRooms": "Jūs gatavojaties izdzēst šīs telpas. Jūs nevarēsiet tos atjaunot.",
"MoveToTrashButton": "Pārvietot uz miskasti",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Atzīmēt visu kā izlasītu",
"NewFiles": "Jauni faili"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "U staat op het punt dit bestand te verwijderen. Weet u zeker dat u door wilt gaan?",
"DeleteFolder": "U staat op het punt deze map te verwijderen. Weet u zeker dat u door wilt gaan?",
"DeleteItems": "U staat op het punt deze items te verwijderen. Weet u zeker dat u door wilt gaan?",
"DeleteFile": "U staat op het punt dit bestand te verwijderen. ",
"DeleteFolder": "U staat op het punt deze map te verwijderen. ",
"DeleteItems": "U staat op het punt deze items te verwijderen. ",
"DeleteRoom": "U staat op het punt deze kamer te verwijderen. U kunt dit niet meer herstellen.",
"DeleteRooms": "U staat op het punt deze kamers te verwijderen. U kunt ze niet meer herstellen.",
"MoveToTrashButton": "Verplaats naar Prullenbak",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Alles als gelezen markeren",
"NewFiles": "Nieuwe bestanden"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Zamierzasz usunąć ten plik. Czy na pewno chcesz kontynuować?",
"DeleteFolder": "Zamierzasz usunąć ten katalog. Czy na pewno chcesz kontynuować?",
"DeleteItems": "Zamierzasz usunąć te pozycje. Czy na pewno chcesz kontynuować?",
"DeleteFile": "Zamierzasz usunąć ten plik. ",
"DeleteFolder": "Zamierzasz usunąć ten katalog. ",
"DeleteItems": "Zamierzasz usunąć te pozycje. ",
"DeleteRoom": "Zamierzasz usunąć ten pokój. Nie będziesz w stanie go odzyskać.",
"DeleteRooms": "Zamierzasz usunąć te pokoje. Nie będziesz w stanie ich odzyskać.",
"MoveToTrashButton": "Przenieś do kosza",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Oznacz wszystkie jako przeczytane",
"NewFiles": "Nowe pliki"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Você está prestes a excluir este arquivo. Você tem certeza que quer continuar?",
"DeleteFolder": "Você está prestes a excluir esta pasta. Você tem certeza que quer continuar?",
"DeleteItems": "Você está prestes a excluir esses itens. Você tem certeza que quer continuar?",
"DeleteFile": "Você está prestes a excluir este arquivo. ",
"DeleteFolder": "Você está prestes a excluir esta pasta. ",
"DeleteItems": "Você está prestes a excluir esses itens. ",
"DeleteRoom": "Você está prestes a excluir esta sala. Você não será capaz de restaurá-lo.",
"DeleteRooms": "Você está prestes a excluir estas salas. Você não poderá restaurá-los.",
"MoveToTrashButton": "Mover para a lixeira",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Marcar tudo como lido",
"NewFiles": "Novos arquivos"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Este está prestes a apagar este ficheiro. Tem a certeza de que quer continuar?",
"DeleteFolder": "Está prestes a eliminar esta pasta. Tem a certeza que quer continuar?",
"DeleteItems": "Está prestes a eliminar estes itens. Tem a certeza que quer continuar?",
"DeleteFile": "Este está prestes a apagar este ficheiro. ",
"DeleteFolder": "Está prestes a eliminar esta pasta. ",
"DeleteItems": "Está prestes a eliminar estes itens. ",
"DeleteRoom": "Está prestes a apagar esta sala. Não será possível restaurá-la.",
"DeleteRooms": "Está prestes a eliminar estas salas. Não será possível restaurá-las.",
"MoveToTrashButton": "Mover para o Lixo",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Marcar tudo como lido",
"NewFiles": "Novos ficheiros"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Sunteţi pe cale să ştergeţi acest fişier. Sigur doriţi să continuați?",
"DeleteFolder": "Sunteţi pe cale să ştergeţi acest dosar. Sigur doriţi să continuați?",
"DeleteItems": "Sunteţi pe cale să ştergeţi aceste elemente. Sigur doriţi să continuați?",
"DeleteFile": "Sunteţi pe cale să ştergeţi acest fişier. ",
"DeleteFolder": "Sunteţi pe cale să ştergeţi acest dosar. ",
"DeleteItems": "Sunteţi pe cale să ştergeţi aceste elemente. ",
"DeleteRoom": "Sunteţi pe cale să ştergeţi această sală. Nu o veţi putea restaura.",
"DeleteRooms": "Sunteţi pe cale să ştergeţi aceste săli. Nu le veţi putea restaura.",
"MoveToTrashButton": "Mutare la Coșul de gunoi",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Marchează ca citite",
"NewFiles": "Fișiere noi"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Вы собираетесь удалить этот файл. Вы уверены, что хотите продолжить?",
"DeleteFolder": "Вы собираетесь удалить эту папку. Вы уверены, что хотите продолжить?",
"DeleteItems": "Вы собираетесь удалить эти элементы. Вы уверены, что хотите продолжить?",
"DeleteFile": "Вы собираетесь удалить этот файл. ",
"DeleteFolder": "Вы собираетесь удалить эту папку. ",
"DeleteItems": "Вы собираетесь удалить эти элементы. ",
"DeleteRoom": "Вы собираетесь удалить эту комнату? Вы не сможете восстановить ее.",
"DeleteRooms": "Вы собираетесь удалить эти комнаты? Вы не сможете восстановить их.",
"MoveToTrashButton": "Переместить в корзину",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Пометить всё прочтённым",
"NewFiles": "Новые файлы"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Chystáte sa vymazať tento súbor. Ste si istý, že chcete pokračovať?",
"DeleteFolder": "Chystáte sa vymazať tento priečinok. Ste si istý, že chcete pokračovať?",
"DeleteItems": "Chystáte sa vymazať tieto položky. Ste si istý, že chcete pokračovať?",
"DeleteFile": "Chystáte sa vymazať tento súbor. ",
"DeleteFolder": "Chystáte sa vymazať tento priečinok. ",
"DeleteItems": "Chystáte sa vymazať tieto položky. ",
"DeleteRoom": "Chystáte sa vymazať túto miestnosť. Nemôžete ju obnoviť.",
"DeleteRooms": "Chystáte sa vymazať tieto miestnosti. Nemôžete ich obnoviť.",
"MoveToTrashButton": "Presunúť do koša",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Označiť všetko ako prečítané",
"NewFiles": "Nové súbory"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Izbrisali boste to datoteko. Ste prepričani, da želite nadaljevati?",
"DeleteFolder": "To mapo boste izbrisali. Ste prepričani, da želite nadaljevati?",
"DeleteItems": "Izbrisali boste te elemente. Ste prepričani, da želite nadaljevati?",
"DeleteFile": "Izbrisali boste to datoteko. ",
"DeleteFolder": "To mapo boste izbrisali. ",
"DeleteItems": "Izbrisali boste te elemente. ",
"DeleteRoom": "Izbrisali boste to sobo. Ne boste je mogli obnoviti.",
"DeleteRooms": "Izbrisali boste te sobe. Ne boste jih mogli obnoviti.",
"MoveToTrashButton": "Premakni v koš",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Označi za prebrano",
"NewFiles": "Nove datoteke"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Bu dosyayı silmek üzeresiniz. Devam etmek istediğinizden emin misiniz?",
"DeleteFolder": "Bu klasörü silmek üzeresiniz. Devam etmek istediğinizden emin misiniz?",
"DeleteItems": "Bu öğeleri silmek üzeresiniz. Devam etmek istediğinizden emin misiniz?",
"DeleteFile": "Bu dosyayı silmek üzeresiniz. ",
"DeleteFolder": "Bu klasörü silmek üzeresiniz. ",
"DeleteItems": "Bu öğeleri silmek üzeresiniz. ",
"DeleteRoom": "Bu odayı silmek üzeresiniz. Onu geri yükleyemezsiniz.",
"DeleteRooms": "Bu odaları silmek üzeresiniz. Onları geri yükleyemezsiniz.",
"MoveToTrashButton": "Çöp Kutusuna Taşı",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Tümünü okundu olarak işaretle",
"NewFiles": "Yeni dosyalar"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Ви збираєтеся видалити цей файл. Ви впевнені, що бажаєте продовжити?",
"DeleteFolder": "Ви збираєтеся видалити цю папку. Ви впевнені, що бажаєте продовжити?",
"DeleteItems": "Ви збираєтеся видалити ці елементи. Ви впевнені, що бажаєте продовжити?",
"DeleteFile": "Ви збираєтеся видалити цей файл. ",
"DeleteFolder": "Ви збираєтеся видалити цю папку. ",
"DeleteItems": "Ви збираєтеся видалити ці елементи. ",
"DeleteRoom": "Ви збираєтеся видалити цю кімнату. Ви не зможете її відновити.",
"DeleteRooms": "Ви збираєтеся видалити ці кімнати. Ви не зможете їх відновити.",
"MoveToTrashButton": "Перемістити до кошика",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Позначити всі як прочитані",
"NewFiles": "Нові файли"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "Bạn sắp xóa tập tin này. Bạn có chắc chắn muốn tiếp tục không?",
"DeleteFolder": "Bạn sắp xóa thư mục này. Bạn có chắc chắn muốn tiếp tục không?",
"DeleteItems": "Bạn sắp xóa các mục này. Bạn có chắc chắn muốn tiếp tục không?",
"DeleteFile": "Bạn sắp xóa tập tin này. ",
"DeleteFolder": "Bạn sắp xóa thư mục này. ",
"DeleteItems": "Bạn sắp xóa các mục này. ",
"DeleteRoom": "Bạn sắp xóa phòng này. Bạn sẽ không thể khôi phục nó.",
"DeleteRooms": "Bạn sắp xóa các phòng này. Bạn sẽ không thể khôi phục chúng.",
"MoveToTrashButton": "Chuyển vào Thùng rác",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "Đánh dấu đã đọc",
"NewFiles": "Tệp mới"
}

View File

@ -1,7 +1,7 @@
{
"DeleteFile": "您即将删除此文件。确定要继续吗?",
"DeleteFolder": "您即将删除此文件夹。确定要继续吗?",
"DeleteItems": "您即将删除这些项目。确定要继续吗?",
"DeleteFile": "您即将删除此文件。",
"DeleteFolder": "您即将删除此文件夹。",
"DeleteItems": "您即将删除这些项目。",
"DeleteRoom": "您即将删除此房间。您将无法使其恢复。",
"DeleteRooms": "您即将删除这些房间。您将无法使其恢复。",
"MoveToTrashButton": "移至垃圾箱",

View File

@ -1,4 +1,3 @@
{
"MarkAsRead": "全部标记为已读",
"NewFiles": "新文件"
}

View File

@ -127,27 +127,69 @@ const DeleteDialogComponent = (props) => {
}
if (isRecycleBinFolder) {
return isSingle
? isFolder
? t("DeleteFolder")
: t("DeleteFile")
: t("DeleteItems");
return isSingle ? (
isFolder ? (
t("DeleteFolder")
) : (
<>
<>{t("DeleteFile")} </>
<>{t("FilePermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
)
) : (
<>
<>{t("DeleteItems")} </>
<>{t("ItemsPermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
);
}
if (isPersonalRoom) {
return isSingle
? isFolder
? t("MoveToTrashFolderFromPersonal")
: t("DeleteFile")
: t("DeleteItems");
return isSingle ? (
isFolder ? (
<>
<>{t("DeleteFolder")} </>
<>{t("FolderPermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
) : (
<>
<>{t("DeleteFile")} </>
<>{t("FilePermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
)
) : (
<>
<>{t("DeleteItems")} </>
<>{t("ItemsPermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
);
}
if (isRoom) {
return isSingle
? isFolder
? t("MoveToTrashFolder")
: t("MoveToTrashFile")
: t("MoveToTrashItems");
return isSingle ? (
isFolder ? (
<>
<>{t("DeleteFolder")} </>
<>{t("DeleteSharedNote")} </>
<>{t("FolderPermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
) : (
t("MoveToTrashFile")
)
) : (
<>
<>{t("DeleteItems")} </>
<>{t("DeleteItemsSharedNote")} </>
<>{t("ItemsPermanentlyDeleted")} </>
<>{t("WantToContinue")}</>
</>
);
}
};

View File

@ -1,6 +1,5 @@
import React from "react";
import { useState, useEffect, useMemo } from "react";
import Backdrop from "@docspace/components/backdrop";
import Link from "@docspace/components/link";
import Loader from "@docspace/components/loader";
import Text from "@docspace/components/text";
import Heading from "@docspace/components/heading";
@ -9,6 +8,8 @@ import Row from "@docspace/components/row";
import Button from "@docspace/components/button";
import { withTranslation } from "react-i18next";
import toastr from "@docspace/components/toast/toastr";
import Portal from "@docspace/components/portal";
import { isMobileOnly } from "react-device-detect";
import { ReactSVG } from "react-svg";
import {
StyledAsidePanel,
@ -17,6 +18,7 @@ import {
StyledBody,
StyledFooter,
StyledSharingBody,
StyledLink,
} from "../StyledPanels";
import { inject, observer } from "mobx-react";
import { combineUrl } from "@docspace/common/utils";
@ -31,104 +33,110 @@ import FilesFilter from "@docspace/common/api/files/filter";
const SharingBodyStyle = { height: `calc(100vh - 156px)` };
class NewFilesPanel extends React.Component {
state = { readingFiles: [], inProgress: false };
const NewFilesPanel = (props) => {
const {
setNewFilesPanelVisible,
getIcon,
getFolderIcon,
newFiles,
markAsRead,
setMediaViewerData,
addFileToRecentlyViewed,
playlist,
currentFolderId,
setIsLoading,
t,
visible,
isLoading,
} = props;
onClose = () => {
if (this.state.inProgress) return;
this.props.setNewFilesPanelVisible(false);
const [listFiles, setListFiles] = useState(newFiles);
const [inProgress, setInProgress] = useState(false);
const [currentOpenFileId, setCurrentOpenFileId] = useState(null);
const onClose = () => {
if (inProgress) return;
setNewFilesPanelVisible(false);
};
getItemIcon = (item) => {
const getItemIcon = (item) => {
const extension = item.fileExst;
const icon = extension
? this.props.getIcon(24, extension)
: this.props.getFolderIcon(item.providerKey, 24);
? getIcon(24, extension)
: getFolderIcon(item.providerKey, 24);
const svgLoader = () => <div style={{ width: "24px" }} />;
return (
<ReactSVG
beforeInjection={(svg) => svg.setAttribute("style", "margin-top: 4px")}
src={icon}
loading={this.svgLoader}
loading={svgLoader}
/>
);
};
onMarkAsRead = () => {
const { inProgress, readingFiles } = this.state;
const onMarkAsRead = () => {
if (inProgress) return;
this.setState({ inProgress: true });
setInProgress(true);
const files = [];
const folders = [];
for (let item of this.props.newFiles) {
for (let item of listFiles) {
if (item.fileExst) files.push(item);
else folders.push(item);
}
const fileIds = files
.filter((f) => !readingFiles.includes(f.id.toString()))
.map((f) => f.id);
const fileIds = files.map((f) => f.id);
const folderIds = folders.map((f) => f.id);
const folderIds = folders
.filter((f) => !readingFiles.includes(f.id.toString()))
.map((f) => f.id);
this.props
.markAsRead(folderIds, fileIds)
//.then(() => this.setNewBadgeCount())
markAsRead(folderIds, fileIds)
.then(() => {
const { hasNew, refreshFiles } = this.props;
return Promise.resolve(); //hasNew ? refreshFiles() :
})
.catch((err) => toastr.error(err))
.finally(() => {
this.setState({ inProgress: false }, () => {
this.onClose();
});
setInProgress(false);
onClose();
});
};
onNewFileClick = (e) => {
if (this.state.inProgress) return;
const onNewFileClick = (e) => {
if (inProgress) return;
this.setState({ inProgress: true });
setInProgress(true);
const { id, extension: fileExst } = e.target.dataset;
const { /* updateFolderBadge, */ markAsRead, newFiles, refreshFiles } =
this.props;
const readingFiles = this.state.readingFiles;
setCurrentOpenFileId(id);
const fileIds = fileExst ? [id] : [];
const folderIds = fileExst ? [] : [id];
const item = newFiles.find((file) => file.id.toString() === id);
if (readingFiles.includes(id)) {
this.setState({ inProgress: false });
return this.onFileClick(item);
}
markAsRead(folderIds, fileIds, item)
.then(() => {
//updateFolderBadge(folderId, 1);
onFileClick(item);
readingFiles.push(id);
this.setState({ readingFiles, inProgress: false });
const newListFiles = listFiles.filter(
(file) => file.id.toString() !== id
);
this.onFileClick(item);
setListFiles(newListFiles);
if (!newListFiles.length) onClose();
})
.then(() => {
// refreshFiles();
.catch((err) => {
toastr.error(err);
})
.catch((err) => toastr.error(err));
.finally(() => {
setInProgress(false);
setCurrentOpenFileId(null);
});
};
onFileClick = (item) => {
const onFileClick = (item) => {
const {
id,
fileExst,
@ -139,15 +147,6 @@ class NewFilesPanel extends React.Component {
title,
} = item;
const {
setMediaViewerData,
addFileToRecentlyViewed,
playlist,
currentFolderId,
setIsLoading,
} = this.props;
if (!fileExst) {
const categoryType = getCategoryTypeByFolderType(rootFolderType, id);
@ -162,9 +161,8 @@ class NewFilesPanel extends React.Component {
window.DocSpace.navigate(`${url}?${filter.toUrlParams()}`, { state });
this.setState({ inProgress: false }, () => {
this.onClose();
});
setInProgress(false);
onClose();
} else {
const canEdit = [5, 6, 7].includes(fileType); //TODO: maybe dirty
@ -208,21 +206,20 @@ class NewFilesPanel extends React.Component {
const url = getCategoryUrl(categoryType, item.folderId);
const filter = FilesFilter.getDefault();
filter.folder = id;
filter.folder = item.folderId;
window.DocSpace.navigate(`${url}?${filter.toUrlParams()}`, { state });
const mediaItem = { visible: true, id };
setMediaViewerData(mediaItem);
this.setState({ inProgress: false }, () => {
this.onClose();
});
setInProgress(false);
onClose();
} else {
const mediaItem = { visible: true, id };
setMediaViewerData(mediaItem);
return this.onClose();
return onClose();
}
return;
@ -232,142 +229,102 @@ class NewFilesPanel extends React.Component {
}
};
// setNewBadgeCount = () => {
// const {
// newFilesIds,
// updateFoldersBadge,
// updateFilesBadge,
// updateRootBadge,
// updateFolderBadge,
// pathParts,
// newFiles,
// } = this.props;
const filesListNode = useMemo(() => {
return listFiles.map((file) => {
const element = getItemIcon(file);
// const { readingFiles } = this.state;
// const filesCount = newFiles.filter(
// (f) => !readingFiles.includes(f.id.toString())
// ).length;
// updateRootBadge(+newFilesIds[0], filesCount);
// if (newFilesIds.length <= 1) {
// if (pathParts[0] === +newFilesIds[0]) {
// updateFoldersBadge();
// updateFilesBadge();
// }
// } else {
// updateFolderBadge(newFilesIds[newFilesIds.length - 1], filesCount);
// }
//};
render() {
//console.log("NewFiles panel render");
const { t, visible, isLoading, newFiles, theme } = this.props;
const { inProgress } = this.state;
const zIndex = 310;
return (
<StyledAsidePanel visible={visible}>
<Backdrop
onClick={this.onClose}
visible={visible}
zIndex={zIndex}
isAside={true}
/>
<Aside
className="header_aside-panel"
visible={visible}
onClose={this.onClose}
return (
<Row
key={file.id}
element={element}
inProgress={currentOpenFileId === file.id.toString()}
>
<StyledContent>
<StyledHeaderContent>
<Heading
className="files-operations-header"
size="medium"
truncate
>
{t("NewFiles")}
</Heading>
</StyledHeaderContent>
{!isLoading ? (
<StyledBody className="files-operations-body">
<StyledSharingBody stype="mediumBlack" style={SharingBodyStyle}>
{newFiles.map((file) => {
const element = this.getItemIcon(file);
<StyledLink
onClick={onNewFileClick}
containerWidth="100%"
type="page"
fontWeight={600}
isTextOverflow
truncate
title={file.title}
fontSize="14px"
className="files-new-link"
data-id={file.id}
data-extension={file.fileExst}
>
{file.title}
</StyledLink>
</Row>
);
});
}, [onNewFileClick, getItemIcon, currentOpenFileId]);
return (
<Row key={file.id} element={element}>
<Link
onClick={this.onNewFileClick}
containerWidth="100%"
type="page"
fontWeight={600}
color={theme.filesPanels.color}
isTextOverflow
truncate
title={file.title}
fontSize="14px"
className="files-new-link"
data-id={file.id}
data-extension={file.fileExst}
>
{file.title}
</Link>
</Row>
);
})}
</StyledSharingBody>
</StyledBody>
) : (
<div key="loader" className="panel-loader-wrapper">
<Loader type="oval" size="16px" className="panel-loader" />
<Text as="span">{`${t("Common:LoadingProcessing")} ${t(
"Common:LoadingDescription"
)}`}</Text>
</div>
)}
<StyledFooter>
<Button
className="new_files_panel-button new_file_panel-first-button"
label={t("MarkAsRead")}
size="normal"
primary
onClick={this.onMarkAsRead}
isLoading={inProgress}
/>
<Button
className="new_files_panel-button"
label={t("Common:CloseButton")}
size="normal"
isDisabled={inProgress}
onClick={this.onClose}
/>
</StyledFooter>
</StyledContent>
</Aside>
</StyledAsidePanel>
);
}
}
const element = (
<StyledAsidePanel visible={visible}>
<Backdrop
onClick={onClose}
visible={visible}
zIndex={310}
isAside={true}
/>
<Aside className="header_aside-panel" visible={visible} onClose={onClose}>
<StyledContent>
<StyledHeaderContent>
<Heading className="files-operations-header" size="medium" truncate>
{t("NewFiles")}
</Heading>
</StyledHeaderContent>
{!isLoading ? (
<StyledBody className="files-operations-body">
<StyledSharingBody stype="mediumBlack" style={SharingBodyStyle}>
{filesListNode}
</StyledSharingBody>
</StyledBody>
) : (
<div key="loader" className="panel-loader-wrapper">
<Loader type="oval" size="16px" className="panel-loader" />
<Text as="span">{`${t("Common:LoadingProcessing")} ${t(
"Common:LoadingDescription"
)}`}</Text>
</div>
)}
<StyledFooter>
<Button
className="new_files_panel-button new_file_panel-first-button"
label={t("Viewed")}
size="normal"
primary
onClick={onMarkAsRead}
isLoading={inProgress}
/>
<Button
className="new_files_panel-button"
label={t("Common:CloseButton")}
size="normal"
isDisabled={inProgress}
onClick={onClose}
/>
</StyledFooter>
</StyledContent>
</Aside>
</StyledAsidePanel>
);
return isMobileOnly ? <Portal element={element} /> : element;
};
export default inject(
({
auth,
filesStore,
mediaViewerDataStore,
treeFoldersStore,
filesActionsStore,
selectedFolderStore,
dialogsStore,
settingsStore,
clientLoadingStore,
}) => {
const {
addFileToRecentlyViewed,
hasNew,
refreshFiles,
} = filesStore;
const { addFileToRecentlyViewed, hasNew, refreshFiles } = filesStore;
const { setIsSectionFilterLoading, isLoading } = clientLoadingStore;
@ -375,7 +332,6 @@ export default inject(
setIsSectionFilterLoading(param);
};
//const { updateRootBadge } = treeFoldersStore;
const { playlist, setMediaViewerData, setCurrentItem } =
mediaViewerDataStore;
const { getIcon, getFolderIcon } = settingsStore;
@ -395,22 +351,18 @@ export default inject(
newFiles,
newFilesIds,
isLoading,
playlist,
setCurrentItem,
currentFolderId,
setMediaViewerData,
addFileToRecentlyViewed,
getIcon,
getFolderIcon,
markAsRead,
setNewFilesPanelVisible,
theme: auth.settingsStore.theme,
hasNew,
refreshFiles,
setIsLoading,
};
}

View File

@ -1,12 +1,13 @@
import styled, { css } from "styled-components";
import Scrollbar from "@docspace/components/scrollbar";
import Link from "@docspace/components/link";
import { desktop, mobile, tablet } from "@docspace/components/utils/device";
import { isMobile, isMobileOnly } from "react-device-detect";
import { Base } from "@docspace/components/themes";
const PanelStyles = css`
.panel_combo-box {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: 10px;
@ -16,7 +17,7 @@ const PanelStyles = css`
`}
.optionalBlock {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 4px;
@ -53,7 +54,7 @@ const StyledAsidePanel = styled.div`
width: 100%;
font-weight: 700;
margin: 14px 0;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding-left: 10px;
@ -64,7 +65,7 @@ const StyledAsidePanel = styled.div`
}
.upload_panel-header {
font-weight: 700;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding: 19px 17px 19px auto;
@ -78,7 +79,8 @@ const StyledAsidePanel = styled.div`
position: fixed;
left: 0;
right: 0;
background-color: ${props => props.theme.filesPanels.aside.backgroundColor};
background-color: ${(props) =>
props.theme.filesPanels.aside.backgroundColor};
height: ${isMobile ? "55px" : "48px"};
}
.upload-panel_header-content::after {
@ -86,7 +88,7 @@ const StyledAsidePanel = styled.div`
width: 100%;
max-width: 468px;
height: 1px;
background: ${props => props.theme.filesPanels.sharing.borderBottom};
background: ${(props) => props.theme.filesPanels.sharing.borderBottom};
content: "";
top: 48px;
width: calc(100% - 32px);
@ -98,12 +100,12 @@ const StyledAsidePanel = styled.div`
.modal-dialog-aside {
padding: 0;
transform: translateX(${props => (props.visible ? "0" : "500px")});
transform: translateX(${(props) => (props.visible ? "0" : "500px")});
width: 500px;
@media (max-width: 550px) {
width: 320px;
transform: translateX(${props => (props.visible ? "0" : "320px")});
transform: translateX(${(props) => (props.visible ? "0" : "320px")});
}
}
@ -117,7 +119,7 @@ const StyledVersionHistoryPanel = styled.div`
.version-history-modal-dialog {
transition: unset;
transform: translateX(${props => (props.visible ? "0" : "480px")});
transform: translateX(${(props) => (props.visible ? "0" : "480px")});
width: 480px;
max-width: 480px;
}
@ -125,7 +127,7 @@ const StyledVersionHistoryPanel = styled.div`
.version-history-panel-header {
margin-bottom: 12px;
height: 53px;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: 0px;
@ -141,8 +143,8 @@ const StyledVersionHistoryPanel = styled.div`
}
.version-history-panel-body {
padding-bottom: ${props => (props.isLoading ? "0px" : null)};
${props =>
padding-bottom: ${(props) => (props.isLoading ? "0px" : null)};
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: 16px;
@ -155,7 +157,7 @@ const StyledVersionHistoryPanel = styled.div`
box-sizing: border-box;
.version-comment-wrapper {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: 85px;
@ -166,7 +168,7 @@ const StyledVersionHistoryPanel = styled.div`
}
.version_edit-comment {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding-right: 7px;
@ -189,10 +191,11 @@ const StyledContent = styled.div`
position: relative;
width: 100%;
height: 100%;
background-color: ${props => props.theme.filesPanels.content.backgroundColor};
background-color: ${(props) =>
props.theme.filesPanels.content.backgroundColor};
.upload-panel_header-content {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 0 !important;
@ -203,7 +206,7 @@ const StyledContent = styled.div`
}
.header_aside-panel-plus-icon {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: auto;
@ -216,7 +219,7 @@ const StyledContent = styled.div`
.sharing-access-combo-box-icon {
height: 16px;
path {
fill: ${props =>
fill: ${(props) =>
props.isDisabled
? props.theme.filesPanels.content.disabledFill
: props.theme.filesPanels.content.fill};
@ -232,7 +235,7 @@ const StyledContent = styled.div`
.panel-loader-wrapper {
margin-top: 8px;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding-right: 32px;
@ -243,7 +246,7 @@ const StyledContent = styled.div`
}
.panel-loader {
display: inline;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 10px;
@ -255,7 +258,7 @@ const StyledContent = styled.div`
.layout-progress-bar {
position: fixed;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
left: 15px;
@ -278,7 +281,7 @@ const StyledHeaderContent = styled.div`
align-items: center;
padding: 0 16px;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: -16px;
@ -287,11 +290,11 @@ const StyledHeaderContent = styled.div`
margin-right: -16px;
`}
border-bottom: ${props => props.theme.filesPanels.sharing.borderBottom};
border-bottom: ${(props) => props.theme.filesPanels.sharing.borderBottom};
.upload_panel-icons-container {
display: flex;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: auto;
@ -322,7 +325,7 @@ StyledHeaderContent.defaultProps = { theme: Base };
const StyledBody = styled.div`
&.files-operations-body {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding: 0 16px 0 0;
@ -335,7 +338,7 @@ const StyledBody = styled.div`
height: calc(100vh - 125px);
.styled-element {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: -2px;
@ -392,7 +395,7 @@ const StyledBody = styled.div`
.sharing-access-combo-box-icon {
path {
fill: ${props => props.theme.filesPanels.body.fill};
fill: ${(props) => props.theme.filesPanels.body.fill};
}
}
`;
@ -423,7 +426,7 @@ const StyledSharingBody = styled(Scrollbar)`
}
.sharing-row {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding-right: 16px;
@ -464,7 +467,7 @@ const StyledSharingBody = styled(Scrollbar)`
}
.sharing_panel-link-combo-box {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: auto;
@ -486,7 +489,7 @@ const StyledSharingBody = styled(Scrollbar)`
}
.sharing_panel-owner-icon {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding-left: 19px;
@ -497,7 +500,7 @@ const StyledSharingBody = styled(Scrollbar)`
}
.sharing_panel-remove-icon {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: auto;
@ -517,7 +520,7 @@ const StyledSharingBody = styled(Scrollbar)`
}
.panel_combo-box {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: 0px;
@ -570,6 +573,10 @@ const StyledSharingBody = styled(Scrollbar)`
font-size: 13px;
}
}
.row-loader {
margin-left: 4px;
}
`;
const StyledFooter = styled.div`
@ -581,8 +588,9 @@ const StyledFooter = styled.div`
margin: auto;
left: 0;
right: 0;
background-color: ${props => props.theme.filesPanels.footer.backgroundColor};
border-top: ${props => props.theme.filesPanels.footer.borderTop};
background-color: ${(props) =>
props.theme.filesPanels.footer.backgroundColor};
border-top: ${(props) => props.theme.filesPanels.footer.borderTop};
box-sizing: border-box;
.sharing_panel-checkbox {
@ -592,7 +600,7 @@ const StyledFooter = styled.div`
}
.checkbox {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 6px;
@ -604,7 +612,7 @@ const StyledFooter = styled.div`
}
.sharing_panel-button {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: auto;
@ -615,7 +623,7 @@ const StyledFooter = styled.div`
}
.new_file_panel-first-button {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 8px;
@ -647,7 +655,7 @@ const StyledFooter = styled.div`
StyledFooter.defaultProps = { theme: Base };
const StyledLinkRow = styled.div`
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: -16px;
@ -657,11 +665,12 @@ const StyledLinkRow = styled.div`
`}
padding: 0 16px;
box-sizing: border-box;
background-color: ${props => props.theme.filesPanels.linkRow.backgroundColor};
background-color: ${(props) =>
props.theme.filesPanels.linkRow.backgroundColor};
.sharing-access-combo-box-icon {
path {
fill: ${props =>
fill: ${(props) =>
props.isDisabled
? props.theme.filesPanels.linkRow.disabledFill
: props.theme.filesPanels.linkRow.fill};
@ -675,7 +684,7 @@ const StyledLinkRow = styled.div`
a {
text-decoration: none;
${props =>
${(props) =>
props.isDisabled &&
css`
:hover {
@ -687,7 +696,7 @@ const StyledLinkRow = styled.div`
}
.link-row {
${props => !props.withToggle && "border-bottom:none;"}
${(props) => !props.withToggle && "border-bottom:none;"}
}
.sharing-row__toggle-button {
@ -734,7 +743,7 @@ const StyledModalRowContainer = styled.div`
}
.panel_combo-box {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: 0px;
@ -751,7 +760,7 @@ const StyledModalRowContainer = styled.div`
}
.optionalBlock {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 4px;
@ -770,7 +779,7 @@ const StyledModalRowContainer = styled.div`
.sharing-access-combo-box-icon {
height: 16px;
path {
fill: ${props =>
fill: ${(props) =>
props.isDisabled
? props.theme.filesPanels.modalRow.disabledFill
: props.theme.filesPanels.modalRow.fill};
@ -797,7 +806,7 @@ const StyledModalRowContainer = styled.div`
position: absolute;
z-index: 1;
margin: 8px;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
left: 0px;
@ -811,7 +820,7 @@ const StyledModalRowContainer = styled.div`
display: flex;
.embedding-panel_link {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 8px;
@ -831,7 +840,7 @@ const StyledModalRowContainer = styled.div`
display: flex;
.embedding-panel_input {
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 8px;
@ -855,7 +864,7 @@ const StyledModalRowContainer = styled.div`
position: absolute;
z-index: 1;
margin: 8px;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
left: 0;
@ -867,7 +876,7 @@ const StyledModalRowContainer = styled.div`
.panel-loader-wrapper {
margin-top: 8px;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
padding-right: 32px;
@ -878,7 +887,7 @@ const StyledModalRowContainer = styled.div`
}
.panel-loader {
display: inline;
${props =>
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-left: 10px;
@ -896,6 +905,10 @@ const StyledModalRowContainer = styled.div`
}
`;
const StyledLink = styled(Link)`
color: ${(props) => props.theme.filesPanels.color};
`;
StyledModalRowContainer.defaultProps = { theme: Base };
export {
@ -909,4 +922,5 @@ export {
StyledFooter,
StyledLinkRow,
StyledModalRowContainer,
StyledLink,
};

View File

@ -144,13 +144,14 @@ class Row extends React.Component {
/>
</StyledCheckbox>
)}
{mode == "default" && renderElement && (
<StyledElement onClick={onRowClick} className="styled-element">
{element}
</StyledElement>
)}
</>
)}
{mode == "default" && renderElement && (
<StyledElement onClick={onRowClick} className="styled-element">
{element}
</StyledElement>
)}
<StyledContent onClick={onRowClick} className="row_content">
{children}