diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json
index d9317939..e42dd44e 100644
--- a/_locales/ar/messages.json
+++ b/_locales/ar/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "الرسائل الأصلية موجودة, اسحب للأعلى لتحميلها.",
"recording": "تسجيل",
"you": "انت",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BCHat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "صوت",
"video": "فيديو",
"photo": "صورة",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "صيغة المفتاح خاطئة",
"emptyGroupNameError": "اكتب اسم المجموعة من فضلك",
"editProfileModalTitle": "الملف الشخصي",
+ "linkYourBns": "ربط Bns الخاص بك",
+ "readMoreAboutBNS": "إقرأ المزيد عن BNS",
+ "bnsVerified": "تم التحقق من BNS ",
+ "linkBNS": "وصلة BNS",
+ "bnsName": "اسم BNS",
+ "enterBnsName": "اكتب اسم BNS",
+ "verify": "يؤكد",
+ "verified": "تم التحقق",
+ "link": "وصلة",
+ "bnsLinkedSuccessfully": "BNS تم ربطها بنجاح",
"groupNamePlaceholder": "اسم المجموعة",
"inviteContacts": "أُدعوا المتصلين",
"addModerators": "أضِف مديرين",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "معطل",
"notificationForConvo_mentions_only": "فقط عندما يتم ذكر اسم",
"onionPathIndicatorTitle": "مسار",
- "onionPathIndicatorDescription": "يقوم BChat باخفاء عنوانك IP بتمرير الرسائل عبر عدة خوادم في الشبكة اللامركزية. هذه هي الدول التي يمر عبرها اتصالك:",
+ "onionPathIndicatorDescription": "يقوم BChat باخفاء عنوانك IP بتمرير الرسائل عبر عدة خوادم في الشبكة اللامركزية. هذه هي الدول التي يمر عبرها اتصالك",
"unknownCountry": "بلد مجهول",
"device": "جهاز",
"destination": "الوجهة",
@@ -464,6 +474,11 @@
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
- "bns":"Bns",
- "paymentID":"Payment ID"
-}
+ "bns": "Bns",
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+}
\ No newline at end of file
diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json
index 01d78792..a0228e46 100644
--- a/_locales/bg/messages.json
+++ b/_locales/bg/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Исходное сообщение найдено, но не загружено. Прокрутите вверх, чтобы загрузить его.",
"recording": "Recording",
"you": "Вы",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Для отправки аудиосообщений разрешите BChat доступ к микрофону.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Аудио",
"video": "Видео",
"photo": "Фото",
@@ -319,6 +319,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Пожалуйста, введите название группы",
"editProfileModalTitle": "Аккаунт",
+ "linkYourBns": "Свържете вашите Bns",
+ "readMoreAboutBNS": "Прочетете повече за BNS",
+ "bnsVerified": "BNS Проверен",
+ "linkBNS": "Линк BNS",
+ "bnsName": "Име на BNS",
+ "enterBnsName": "Въведете BNS име",
+ "verify": "проверявам",
+ "verified": "Проверен",
+ "link": "Връзка",
+ "bnsLinkedSuccessfully": "BNS е свързан успешно",
"groupNamePlaceholder": "Название Группы",
"inviteContacts": "Пригласить Друзей В BChat",
"addModerators": "Add Moderators",
@@ -351,7 +361,7 @@
"linkDevice": "Привязать устройство",
"restoreUsingRecoveryPhrase": "Восстановите свой аккаунт",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "Новый Диалог",
@@ -397,12 +407,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in Beldex decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in Beldex decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -449,7 +459,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -460,11 +470,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/ca/messages.json b/_locales/ca/messages.json
index 717466a3..9aa893db 100644
--- a/_locales/ca/messages.json
+++ b/_locales/ca/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "S'ha trobat el missatge original, però no s'ha carregat. Desplaceu-vos amunt per a carregar-lo.",
"recording": "S'està gravant",
"you": "Vós",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Per enviar missatges d'àudio, permeteu que el BChat Desktop tingui accés al micròfon.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Àudio",
"video": "Vídeo",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "El format Pubkey no és vàlid",
"emptyGroupNameError": "Introdueix nom de grup, si us plau",
"editProfileModalTitle": "Perfil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nom del grup",
"inviteContacts": "Convida contactes",
"addModerators": "Afegir Moderador(s)",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Inhabilitat",
"notificationForConvo_mentions_only": "Només mencions",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json
index de17b97d..a0438555 100644
--- a/_locales/cs/messages.json
+++ b/_locales/cs/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Původní zpráva byla nalezena, ale nebyla načtena. Posuňte nahoru pro načtení.",
"recording": "Recording",
"you": "Vy",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Pro posílání audio zpráv potřebuje BChat Desktop přístup k mikrofonu.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Zvuk",
"video": "Video",
"photo": "Fotografie",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/da/messages.json b/_locales/da/messages.json
index 748136b0..5eba226b 100644
--- a/_locales/da/messages.json
+++ b/_locales/da/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original besked fundet, men ikke indlæst. Rul op for at indlæse den.",
"recording": "Optagelse",
"you": "Dig",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "For at sende talebeskeder skal du lade BChat Desktop få adgang til din mikrofon.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Lyd",
"video": "Video",
"photo": "Billede",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,15 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/de/messages.json b/_locales/de/messages.json
index 17f6344c..b2e1efb6 100644
--- a/_locales/de/messages.json
+++ b/_locales/de/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Originalnachricht gefunden, aber nicht geladen. Scrolle zum Laden nach oben.",
"recording": "Aufnahme",
"you": "Du",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Erlaube BChat zum Versenden von Sprachnachrichten Zugriff auf dein Mikrofon.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Ungültiges Pubkey Format",
"emptyGroupNameError": "Bitte geben Sie einen Gruppennamen ein.",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Gruppenname",
"inviteContacts": "Freunde Einladen",
"addModerators": "Moderator hinzufügen",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Deaktiviert",
"notificationForConvo_mentions_only": "Nur Erwähnungen",
"onionPathIndicatorTitle": "Pfad",
- "onionPathIndicatorDescription": "BChat verbirgt deine IP-Adresse, indem deine Nachrichten über mehrere Dienstknoten im dezentralen BChat-Netzwerk weitergeleitet werden. Dies sind die Länder, durch die deine Verbindung derzeit weitergeleitet wird:",
+ "onionPathIndicatorDescription": "BChat verbirgt deine IP-Adresse, indem deine Nachrichten über mehrere Dienstknoten im dezentralen BChat-Netzwerk weitergeleitet werden. Dies sind die Länder, durch die deine Verbindung derzeit weitergeleitet wird",
"unknownCountry": "Unbekanntes Land",
"device": "Gerät",
"destination": "Zielort",
@@ -465,5 +475,10 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/el/messages.json b/_locales/el/messages.json
index e5c832db..32ac12d7 100644
--- a/_locales/el/messages.json
+++ b/_locales/el/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Το αρχικό μήνυμα βρέθηκε, αλλά δεν φορτώθηκε. Μετακινηθείτε προς τα επάνω για να το φορτώσετε.",
"recording": "Recording",
"you": "Εσείς",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Για να στείλετε μηνύματα ήχου, επιτρέψτε στο BChat Desktop να έχει πρόσβαση στο μικρόφωνό σας.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Ήχος",
"video": "Βίντεο",
"photo": "Φωτογραφία ",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 863f6d78..5888f1da 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -3,12 +3,12 @@
"priority": "Priority",
"contact": "Contact",
"address": "Address",
- "notes": "Notes (optional)",
+ "notes": "Notes",
"optional": "(optional)",
"transactions": "Transactions",
"filter": "Filter",
"filterPlaceHolder": "Enter ID or amount",
- "disclaimerForgotPassword":"When you used this forgot password option, your wallet will sync from the block height $daemonHeight$. This is the block height at which your wallet was created",
+ "disclaimerForgotPassword": "When you used this forgot password option, your wallet will sync from the block height $daemonHeight$. This is the block height at which your wallet was created",
"addressBook": "Address Book",
"copyErrorAndQuit": "Copy error and quit",
"copyAddress": "Copy Address",
@@ -35,11 +35,11 @@
"unknown": "Unknown",
"receiveBDX": "Receive BDX",
"hintReceiveBDX": "Enter amount to generate a QR and receive BDX",
- "enterWalletPassword": "Enter Wallet Password",
+ "enterWalletPassword": "Wallet Password",
"forgotPassword": "Forgot Password",
"databaseError": "Database Error",
"resetDatabase": "Reset Database",
- "transactionInitiated":"Transaction Initiated Successfully",
+ "transactionInitiated": "Transaction Initiated Successfully",
"mainMenuFile": "&File",
"mainMenuEdit": "&Edit",
"mainMenuView": "&View",
@@ -54,9 +54,8 @@
"editMenuCut": "Cut",
"editMenuCopy": "Copy",
"editMenuPaste": "Paste",
- "wallet":"Wallet",
- "walletNode":"Wallet Node",
-
+ "wallet": "Wallet",
+ "walletNode": "Wallet Node",
"editMenuDeleteContact": "Delete Contact",
"editMenuDeleteGroup": "Delete Group",
"editMenuSelectAll": "Select all",
@@ -74,7 +73,7 @@
"joinSocialGroupAfterInvitationConfirmationDesc": "Are you sure you want to join the $roomName$ social group?",
"enterBchatIDOrBNSName": "Enter BChat ID",
"BchatID": "BChat ID",
- "scanQr": "Scan QR Code",
+ "scanQr": "Scan QR to start the Chat",
"emptyChatScreen": "Much empty. Such wow. Get some friends to BChat!",
"profileBeldexAddres": "Beldex Address",
"loading": "Loading...",
@@ -124,12 +123,12 @@
"originalMessageNotFound": "Original message not found",
"you": "You",
"audioPermissionNeededTitle": "Microphone Access Required",
- "audioPermissionNeeded": "You can enable microphone access permission in the Privacy Settings",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
"cannotUpdate": "Cannot Update",
- "localDeamonheadetcntent":"Wallet will connect to a local node to make all transactions",
+ "localDeamonheadetcntent": "Wallet will connect to a local node to make all transactions",
"cannotUpdateDetail": "BChat Desktop failed to update, but there is a new version available. Please go to https://bchat.beldex.io/ and install the new version manually, then either contact support or file a bug about this problem.",
"ok": "OK",
"cancel": "Cancel",
@@ -141,7 +140,6 @@
"deleteJustForMe": "Delete message for me",
"deleteForEveryone": "Delete for everyone",
"deleteMessagesQuestion": "This will permanently delete the selected $count$ messages.",
-
"deleteMessageQuestion": "This will permanently delete the selected messages.",
"deleteMessages": "Delete Messages",
"deleted": "$count$ deleted",
@@ -149,7 +147,7 @@
"from": "From:",
"to": "To:",
"send": "Send",
- "sent":"Sent",
+ "sent": "Sent",
"received": "Receive",
"pending": "Pending",
"failed": "Failed",
@@ -158,23 +156,23 @@
"mnode": "Mnode",
"gov": "Gov",
"stake": "Stake",
- "sendMessage": "Write a message...",
+ "sendMessage": "Type a message...",
"groupMembers": "Group Members",
"moreInformation": "More Info",
"resend": "Resend",
"recipientAddress": "Recipient address",
"transactionFee": "Transaction fee",
- "paymentID":"Payment ID",
+ "paymentID": "Payment ID",
"dateTime": "Date & Time",
- "enterSeed":"Enter Seed",
+ "enterSeed": "Enter your recover seed",
"deleteConversationConfirmation": "Permanently delete the messages in this conversation?",
"clearAllData": "Clear Data",
"deleteAccountWarning": "This will permanently erase all your account data. Do you wish to clear data on this device or completely earse your account?",
"deleteContactConfirmation": "Are you sure you want to delete this conversation?",
"quoteThumbnailAlt": "Thumbnail of image from quoted message",
- "almostThere":"Almost there..",
- "walletSyncingNow":"Your wallet is syncing now",
- "blocksRemaining":"Blocks remaining..",
+ "almostThere": "Almost there..",
+ "walletSyncingNow": "Your wallet is syncing now",
+ "blocksRemaining": "Blocks remaining..",
"imageAttachmentAlt": "Image attached to message",
"videoAttachmentAlt": "Screenshot of video attached to message",
"lightboxImageAlt": "Image sent in conversation",
@@ -186,7 +184,6 @@
"saveLogToDesktop": "Save log to desktop",
"saved": "Saved",
"connectWallet": "Connect Wallet",
-
"tookAScreenshot": "$name$ took a screenshot",
"savedTheFile": "Media saved by $name$",
"linkPreviewsTitle": "Enable Link Previews",
@@ -202,21 +199,21 @@
"typingIndicatorsSettingTitle": "Typing Indicators",
"typingIndicatorsSettingDescription": "Enabling this option will allow the recipient to see that a message is being typed (applied to all chats).",
"zoomFactorSettingTitle": "Zoom Level",
- "chatFontSize":"Chat Font Size",
+ "chatFontSize": "Font Size",
"pruneSettingTitle": "Shear Old Social Group Messages",
"pruneSettingDescription": "Enabling this option will cut back messages that are older than 6 months.",
"pruningSocialgroupDialogTitle": "social group pruning",
"pruningSocialgroupDialogMessage": "Pruning old social group messages improves performance. Enable pruning for social group messages older than 6 months?",
"pruningSocialgroupDialogSubMessage": "You can change this setting in the BChat settings menu",
"enable": "Enable",
- "payYouChat":"Pay As You Chat",
- "EnablepaySettingsChat":"Enable pay as you chat from Settings -> Chat -> Pay As You Chat to use this option",
- "warningWalletPassword":"When you enable 'Pay As You Chat,' you will see a 'connect wallet' option at the top of the chat window.",
- "chatWithWallet":"Pay As You Chat",
- "chatWithWalletDisc":"You will be able to pay BDX as you chat, when this option is enabled",
+ "payYouChat": "Pay As You Chat",
+ "EnablepaySettingsChat": "Enable pay as you chat from Settings -> Chat -> Pay As You Chat to use this option",
+ "warningWalletPassword": "When you enable 'Pay As You Chat,' you will see a 'connect wallet' option at the top of the chat window.",
+ "chatWithWallet": "Pay As You Chat",
+ "chatWithWalletDisc": "You will be able to pay BDX as you chat, when this option is enabled",
"keepDisabled": "Keep disabled",
- "typing":"typing",
- "notificationPreview":"Preview",
+ "typing": "typing",
+ "notificationPreview": "Preview",
"notificationSettingsDialog": "Notification content",
"disableNotifications": "Mute notifications",
"nameAndMessage": "Name and content",
@@ -229,7 +226,7 @@
"notificationMostRecent": "Most recent:",
"sendFailed": "Send Failed",
"mediaMessage": "Media message",
- "notificationSound":"Notification sound",
+ "notificationSound": "Notification sound",
"messageBody": "Message body",
"messageBodyMissing": "Please enter a text or attach files to send.",
"unblockToSend": "Unblock this contact to send a message.",
@@ -238,17 +235,17 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
- "timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
- "timerOption_1_hour": "1 hour",
- "timerOption_6_hours": "6 hours",
- "timerOption_12_hours": "12 hours",
- "timerOption_1_day": "1 day",
- "timerOption_1_week": "1 week",
+ "timerOption_5_seconds": "5 Sec",
+ "timerOption_10_seconds": "10 Sec",
+ "timerOption_30_seconds": "30 Sec",
+ "timerOption_1_minute": "1 Min",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
+ "timerOption_1_hour": "1 Hour",
+ "timerOption_6_hours": "6 Hours",
+ "timerOption_12_hours": "12 Hours",
+ "timerOption_1_day": "1 Day",
+ "timerOption_1_week": "1 Week",
"transactionDetails": "Transaction Details",
"disappearingMessages": "Disappearing Messages",
"changeNickname": "Change Nickname",
@@ -274,12 +271,11 @@
"noteToSelf": "Note to Self",
"hideMenuBarTitle": "Hide Menu Bar",
"hideMenuBarDescription": "Toggle system menu bar visibility",
- "startConversation": "Start New Chat",
+ "startConversation": "Start a New Chat",
"shareBchatIdDiscription": "Enter your friend's BChat ID to connect with them.",
"invalidNumberError": "Invalid BChat ID or BNS Name",
"failedResolveOns": "Failed to resolve BNS name",
"autoUpdateSettingTitle": "Auto Update",
-
"autoUpdateSettingDescription": "Enabling this will let BChat automatically check updates and notify you.",
"autoUpdateNewVersionTitle": "BChat update available",
"autoUpdateNewVersionMessage": "There is a new version of BChat available.",
@@ -300,7 +296,7 @@
"multipleKickedFromTheGroup": "$name$ were removed from the group.",
"blockUser": "Block",
"unblockUser": "Unblock",
- "unblockUserSelect":"Unblock Selected",
+ "unblockUserSelect": "Unblock Selected",
"unblocked": "Unblocked",
"blocked": "Blocked",
"blockedSettingsTitle": "Blocked Contacts",
@@ -335,19 +331,19 @@
"removeAccountPasswordDescription": "Remove the password associated with your account",
"oldPasswordAndNewPasswordSame": "Please enter a password that you have not used before.",
"removePasswordDisc": "Enter your password",
- "enterPassword": "Enter your new password",
- "confirmPassword": "Confirm your new password",
+ "enterPassword": "Enter wallet password",
+ "confirmPassword": "Confirm the password",
"showRecoveryPhrasePasswordRequest": "Kindly enter your password ",
"recoveryPhraseSavePromptMain": "Your recovery phrase is the master key to your BChat ID — you can use it to restore your BChat ID if you lose access to your device. Store your recovery phrase in a safe place, and don't give it to anyone.",
"invalidSocialGroupUrl": "Invalid URL",
"copiedToClipboard": "Copied to clipboard",
"passwordViewTitle": "Type In Your Password",
"unlock": "Unlock",
- "password": "Password",
+ "password": "Enter Password",
"setPassword": "Set Password",
"changePassword": "Change Password",
"removePassword": "Remove Password",
- "changewalletPassword": "Change wallet Password",
+ "newwalletPassword": "New Wallet password",
"maxPasswordAttempts": "Invalid Password. Would you like to reset the database?",
"typeInOldPassword": "Please type in your old password",
"invalidOldPassword": "Old password is invalid",
@@ -376,7 +372,17 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
- "groupNamePlaceholder": "Secret Group",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
+ "groupNamePlaceholder": "Enter group name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
"removeModerators": "Remove Moderators",
@@ -389,7 +395,7 @@
"noModeratorsToRemove": "no moderators to remove",
"onlyAdminCanRemoveMembers": "You are not the creator",
"onlyAdminCanRemoveMembersDesc": "Only the creator of the group can remove users",
- "createAccount": "Create account",
+ "createAccount": "Create Account",
"startInTrayTitle": "Run In Background",
"startInTrayDescription": "After closing the window, BChat runs in the background",
"yourUniqueBchatID": "Say hello to your BChat ID",
@@ -410,7 +416,7 @@
"saveYourRecoveryPhrase": "Save your recovery seed! Only your recovery seed can be used to recover your account on another device.",
"copyToContinueRecovery": "Copy the recovery seed to continue.",
"enterRecoveryPhrase": "Enter your recovery seed",
- "displayName": "Pick your display name",
+ "displayName": "Display Name",
"yourBchatName": "Your BChat ID is like your username. You can share it with your friends to begin a conversation.",
"beldexAddress": "Beldex Address",
"beldexAddressConnection": "Your BChat address is connected to your BChat ID. You can use this address to receive BDX.",
@@ -423,15 +429,15 @@
"restore": "Restore",
"restoreFromSeed": "Restore from seed",
"invalidRestoreDate": "Invalid restore date",
- "signIn": "Restore account",
+ "signIn": "Restore Account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Display Name",
"welcome": "Hi,Welcome to BChat",
- "chatId": "Chat Id",
+ "bChatID": "BChat ID",
"newBchat": "New BChat",
- "searchFor...": "Search people, messages and groups",
+ "searchFor...": "Search people and groups",
"enterBchatID": "Enter a BChat ID or BNS Name",
"enterBchatIDOfRecipient": "Enter BChat ID or BNS name of recipient",
"usersCanShareTheir...": "Users can share their BChat ID by going into their account settings and tapping \"Share BChat ID\", or by sharing their QR code.",
@@ -443,7 +449,7 @@
"displayNameEmpty": "Please enter a display name",
"members": "$count$ members",
"joinSocialGroup": "Join Social Group",
- "newSecretGroup": "Create Secret Group",
+ "newSecretGroup": "Secret Group",
"createSecretGroupNamePrompt": "Secret Group Name",
"createSecretGroupPlaceholder": "Enter a Secret Group Name",
"openSocialURL": "Social Group URL",
@@ -456,7 +462,7 @@
"noBlockedContacts": "No blocked contacts Yet!",
"userAddedToModerators": "User added to moderator list",
"userRemovedFromModerators": "User removed from moderator list",
- "orJoinOneOfThese": "Or join here.",
+ "orJoinOneOfThese": "or Join here",
"noContactsYet": "No contacts yet!",
"helpUsTranslateBchat": "Help us Translate BChat",
"translation": "Translation",
@@ -473,12 +479,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat masks your IP by routing your messages through the masternodes on the Beldex decentralized network. Your messages are currently being routed through nodes in the following countries:",
+ "onionPathIndicatorDescription": "BChat masks your IP by routing your messages through the masternodes on the Beldex decentralized network. Your messages are currently being routed through nodes in the following countries",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -525,8 +531,8 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
- "callMissedTitle": "Call missed",
+ "callMissed": "Missed call",
+ "callMissedTitle": "Call Missed!",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
"noAudioOutputFound": "No audio output found",
@@ -535,8 +541,8 @@
"callMissedNotApproved": "Call missed from '$name$' as you haven't approved this conversation yet. Send a message to them first.",
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
@@ -565,15 +571,22 @@
"seedFieldEmpty": "Seed field cannot be empty",
"notEnoughBalance": "Not enough unlocked balance",
"emptyAddressBook": "No addresses in book",
- "emptyContact": "There are no contacts",
+ "emptyContact": "No Contacts to show!",
"emptyTransaction": "No Transactions yet!",
"emptyTransactionDiscription": "After your first transaction, you will be able to view it here.",
"noPendingTransaction": "There are no pending transactions ",
"noOutgoingTransaction": "There are no outgoing transactions.",
"noIncomingTransaction": "There are no incoming transactions.",
"noFailedTransaction": "There are no failed transactions ",
- "walletSyncingDiscription": "Your wallet is currently syncing",
- "searchEmptyTransaction":"No transactions found.",
- "NodeTestResult":"Test Result",
- "bns":"Bns"
-}
+ "walletSyncingDiscription": "Please wait while wallet getting synced",
+ "searchEmptyTransaction": "No transactions found.",
+ "NodeTestResult": "Test Result",
+ "bns": "Bns",
+ "bnsNameAndIDNotMatch": "Your BNS name and ID does not match. Try again",
+ "bnsNameverified": "Your BNS name is verified",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+}
\ No newline at end of file
diff --git a/_locales/eo/messages.json b/_locales/eo/messages.json
index befb42e7..b2f0f45d 100644
--- a/_locales/eo/messages.json
+++ b/_locales/eo/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Origina mesaĝo trovebla sed ne ŝargita. Rulumu supren por ŝargi ĝin.",
"recording": "Recording",
"you": "Vi",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Por sendi aŭdajn mesaĝojn, donu al BChat Desktop permeson uzi vian mikrofonon.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Sono",
"video": "Videaĵo",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/es/messages.json b/_locales/es/messages.json
index ececf152..1e444bed 100644
--- a/_locales/es/messages.json
+++ b/_locales/es/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Se ha encontrado el mensaje original pero no se ha cargado. Desliza para cargar el mensaje.",
"recording": "Grabando",
"you": "Tú",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Para enviar notas de voz y hacer llamadas, permite a BChat acceder al micrófono.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Vídeo",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Formato de Clave Pública inválido",
"emptyGroupNameError": "Por favor, ingresa un nombre de grupo",
"editProfileModalTitle": "Perfil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nombre Del Grupo",
"inviteContacts": "Invitar Amigos",
"addModerators": "Añadir Moderadores",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Desactivado",
"notificationForConvo_mentions_only": "Solo menciones",
"onionPathIndicatorTitle": "Ruta",
- "onionPathIndicatorDescription": "BChat esconde tu IP haciendo pasar tus mensajes a través de los Nodos de servicio de la red descentralizada de BChat. Estos son los países par los que tus mensajes están viajando actualmente:",
+ "onionPathIndicatorDescription": "BChat esconde tu IP haciendo pasar tus mensajes a través de los Nodos de servicio de la red descentralizada de BChat. Estos son los países par los que tus mensajes están viajando actualmente",
"unknownCountry": "País desconocido",
"device": "Dispositivo",
"destination": "Destinatario",
@@ -465,5 +475,10 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/es_419/messages.json b/_locales/es_419/messages.json
index 11103837..5779ed4d 100644
--- a/_locales/es_419/messages.json
+++ b/_locales/es_419/messages.json
@@ -70,7 +70,7 @@
"unableToLoadAttachment": "Sorry, there was an error setting your attachment.",
"offline": "Offline",
"checkNetworkConnection": "Check your network connection.",
- "attemptingReconnection": "Attempting reconnect in $reconnect_duration_in_seconds$ seconds",
+ "attemptingReconnection": "Attempting reconnect in $reconnect_duration_in_seconds$ sec",
"submitDebugLog": "Registro de depuración",
"debugLog": "Registro de Depuración",
"showDebugLog": "Mostrar Registro de Depuración",
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "Tú",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/et/messages.json b/_locales/et/messages.json
index cd2170ef..ae22d7be 100644
--- a/_locales/et/messages.json
+++ b/_locales/et/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Algne sõnum on leitud, kuid mitte laaditud. Keri üles selle laadimiseks.",
"recording": "Recording",
"you": "Sina",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Audiosõnumite saatmiseks luba BChat Desktopil mikrofoni kasutada.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/fa/messages.json b/_locales/fa/messages.json
index 8fc839a0..110fe66a 100644
--- a/_locales/fa/messages.json
+++ b/_locales/fa/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "پیام اصلی پیدا شد، اما بارگذاری نشد. برای بارگذاری به سمت بالا حرکت کنید",
"recording": "درحال ضبط",
"you": "شما",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "برای فرستادن پیام های صوتی، به BChat Desktop اجازه دسترسی به میکروفون خود را بدهید.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "صوت",
"video": "ویدیو",
"photo": "تصویر",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "فرمت Pubkey نامعتبر",
"emptyGroupNameError": "لطفا یک نام برای گروه وارد کنید",
"editProfileModalTitle": "نمایه",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "نام گروه",
"inviteContacts": "دعوت مخاطبین",
"addModerators": "اضافه کردن مدیر",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "غیرفعال شده",
"notificationForConvo_mentions_only": "فقط منشن شده ها",
"onionPathIndicatorTitle": "مسیر",
- "onionPathIndicatorDescription": "اپ BChat آیپی شما را با استفاده از فرستادن پیامهایتان از طریق چندین سرویسِ گره در شبکه غیرمتمرکز BChat مخفی میکند. اینها کشورهایی هستند که اتصال شما در حال حاضر از طریق آن فراخوانی میشوند:",
+ "onionPathIndicatorDescription": "اپ BChat آیپی شما را با استفاده از فرستادن پیامهایتان از طریق چندین سرویسِ گره در شبکه غیرمتمرکز BChat مخفی میکند. اینها کشورهایی هستند که اتصال شما در حال حاضر از طریق آن فراخوانی میشوند",
"unknownCountry": "کشور ناشناخته",
"device": "دستگاه",
"destination": "مقصد",
@@ -465,5 +475,10 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json
index e63bb719..10cfa13e 100644
--- a/_locales/fi/messages.json
+++ b/_locales/fi/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Alkuperäinen viesti löytyi, mutta sitä ei ole ladattu. Kelaa ylöspäin ladataksesi sen.",
"recording": "Nauhoitetaan",
"you": "Sinä",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Lähettääksesi ääniviestejä myönnä BChat Desktopille mikrofonin käyttöoikeus.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Äänitiedosto",
"video": "Video",
"photo": "Kuva",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Väärä julkisen avaimen muoto",
"emptyGroupNameError": "Syötä ryhmän nimi",
"editProfileModalTitle": "Profiili",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Ryhmän nimi",
"inviteContacts": "Kutsu yhteystietoja",
"addModerators": "Lisää valvojia",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Poistettu käytöstä",
"notificationForConvo_mentions_only": "Vain maininnat",
"onionPathIndicatorTitle": "Polku",
- "onionPathIndicatorDescription": "BChat piilottaa IP -osoitteesi ohjaamalla viestisi useiden välittäjäreleiden läpi BChatin hajautetussa verkossa. Tässä ovat maat joiden kautta viestisi tällähetkellä kulkevat:",
+ "onionPathIndicatorDescription": "BChat piilottaa IP -osoitteesi ohjaamalla viestisi useiden välittäjäreleiden läpi BChatin hajautetussa verkossa. Tässä ovat maat joiden kautta viestisi tällähetkellä kulkevat",
"unknownCountry": "Tuntematon maa/alue",
"device": "Laite",
"destination": "Kohde",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/fil/messages.json b/_locales/fil/messages.json
index 6db7f408..0cf71947 100644
--- a/_locales/fil/messages.json
+++ b/_locales/fil/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "You",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json
index c5d5eb74..1ecde22a 100644
--- a/_locales/fr/messages.json
+++ b/_locales/fr/messages.json
@@ -98,7 +98,7 @@
"recording": "Enregistrement",
"you": "Vous",
"audioPermissionNeededTitle": "Accès au microphone nécessaire",
- "audioPermissionNeeded": "Vous pouvez autoriser l'accès au microphone via: Paramètres (icon roue dentée) => Confidentialité.",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Contenu audio",
"video": "Vidéo",
"photo": "Photo",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Format de clé publique non valide",
"emptyGroupNameError": "Veuillez saisir un nom de groupe",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nom du groupe",
"inviteContacts": "Inviter des amis",
"addModerators": "Ajouter un modérateur",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Désactivées",
"notificationForConvo_mentions_only": "Mentions seulement",
"onionPathIndicatorTitle": "Chemin",
- "onionPathIndicatorDescription": "BChat cache votre adresse IP en envoyant vos messages via plusieurs Nœuds de Service dans le réseau décentralisé de BChat. Voici les pays via lesquels votre connexion est actuellement transmise :",
+ "onionPathIndicatorDescription": "BChat cache votre adresse IP en envoyant vos messages via plusieurs Nœuds de Service dans le réseau décentralisé de BChat. Voici les pays via lesquels votre connexion est actuellement transmise",
"unknownCountry": "Pays inconnu",
"device": "Appareil",
"destination": "Destination",
@@ -465,5 +475,10 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/he/messages.json b/_locales/he/messages.json
index 51b9020d..c1ca82d3 100644
--- a/_locales/he/messages.json
+++ b/_locales/he/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "הודעה מקורית נמצאה, אבל לא נטענה. גלול למעלה כדי לטעון אותה.",
"recording": "Recording",
"you": "אתה",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "כדי לשלוח הודעות קוליות, התר אל BChat Desktop עבודה לקבל גישה אל המיקרופון שלך.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "שמע",
"video": "וידיאו",
"photo": "תצלום",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/hi/messages.json b/_locales/hi/messages.json
index 6e2218e6..15e9ec9b 100644
--- a/_locales/hi/messages.json
+++ b/_locales/hi/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "मूल्य सन्देश मिला है, परन्तु लोड नहीं हुआ। लोड करने के लिए ऊपर स्क्रॉल कीजिये",
"recording": "रिकॉर्डिंग",
"you": "आप",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "ऑडियो",
"video": "वीडियो",
"photo": "फ़ोटो",
@@ -189,8 +189,8 @@
"timerOption_10_seconds": "10 सेकंड",
"timerOption_30_seconds": "30 सेकंड",
"timerOption_1_minute": "1 मिनट",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 घंटा",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/hr/messages.json b/_locales/hr/messages.json
index f2fc37f6..62d5a7c9 100644
--- a/_locales/hr/messages.json
+++ b/_locales/hr/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "You",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -189,8 +189,8 @@
"timerOption_10_seconds": "10 sekundi",
"timerOption_30_seconds": "30 sekundi",
"timerOption_1_minute": "1 minuta",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 sat",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/hu/messages.json b/_locales/hu/messages.json
index dcd5595f..299b293d 100644
--- a/_locales/hu/messages.json
+++ b/_locales/hu/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Az eredeti üzenet ugyan fellelhető, de még nincs betöltve. Görgess fel a betöltéséhez!",
"recording": "Rögzítés",
"you": "Te",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Hangüzenetek küldéséhez engedélyezd, hogy a BChat Desktop hozzáférjen mikrofonodhoz",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Hang",
"video": "Videó",
"photo": "Kép",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Érvénytelen Publikus kulcs formátum",
"emptyGroupNameError": "Add meg a csoport nevét",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Csoportnév",
"inviteContacts": "Barátok meghívása",
"addModerators": "Moderátor hozzáadása",
@@ -350,7 +360,7 @@
"linkDevice": "Eszköz társítása",
"restoreUsingRecoveryPhrase": "Fiókod visszaállítása",
"or": "vagy",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Üdvözöl a BChat",
"newBchat": "Új beszélgetés",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Letiltva",
"notificationForConvo_mentions_only": "Csak említések",
"onionPathIndicatorTitle": "Útvonal",
- "onionPathIndicatorDescription": "A BChat elrejti IP címét azzal, hogy az üzeneteket a BChat decentralizált hálózatának több szolgáltatási csomópontján vezeti keresztül. Ezek azok az országok, ahol a kapcsolat jelenleg átmegy:",
+ "onionPathIndicatorDescription": "A BChat elrejti IP címét azzal, hogy az üzeneteket a BChat decentralizált hálózatának több szolgáltatási csomópontján vezeti keresztül. Ezek azok az országok, ahol a kapcsolat jelenleg átmegy",
"unknownCountry": "Ismeretlen ország",
"device": "Eszköz",
"destination": "Cél",
@@ -465,5 +475,10 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/id/messages.json b/_locales/id/messages.json
index 6addd7b4..93c3510d 100644
--- a/_locales/id/messages.json
+++ b/_locales/id/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Pesan asli ditemukan, tapi tidak dapat dimuat. Gulir ke atas untuk memuatnya.",
"recording": "Merekam",
"you": "Anda",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Untuk mengirim pesan suara, izinkan BChat mengakses mikrofon Anda.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Suara",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Masukkan nama grup",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nama grup",
"inviteContacts": "Undang teman",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Tautkan perangkat",
"restoreUsingRecoveryPhrase": "Kembalikan akun",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "BChat baru",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/it/messages.json b/_locales/it/messages.json
index d10ae897..f223cf90 100644
--- a/_locales/it/messages.json
+++ b/_locales/it/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Messaggio originale trovato, ma non caricato. Scorri verso l'alto per caricarlo.",
"recording": "Registrazione",
"you": "Tu",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Per poter mandare un messaggio audio, permetti a BChat di accedere al tuo microfono.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Formato Pubkey non valido",
"emptyGroupNameError": "Inserisci un nome per il gruppo",
"editProfileModalTitle": "Profilo",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nome Del Gruppo",
"inviteContacts": "Invita Amici",
"addModerators": "Aggiungi Moderatori",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Non attivo",
"notificationForConvo_mentions_only": "Solo menzioni",
"onionPathIndicatorTitle": "Percorso",
- "onionPathIndicatorDescription": "La Bchate nasconde il tuo IP facendo rimbalzare i messaggi attraverso diversi nodi di servizio nella sua rete decentralizzata. Questi sono i paesi in cui la connessione viene rimbalzata attualmente:",
+ "onionPathIndicatorDescription": "La Bchate nasconde il tuo IP facendo rimbalzare i messaggi attraverso diversi nodi di servizio nella sua rete decentralizzata. Questi sono i paesi in cui la connessione viene rimbalzata attualmente",
"unknownCountry": "Stato sconosciuto",
"device": "Dispositivo",
"destination": "Destinazione",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json
index dd690ca6..04f25103 100644
--- a/_locales/ja/messages.json
+++ b/_locales/ja/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "元のメッセージを見つけたが、ロードされていません。ロードするのにスクロールアップして下さい。",
"recording": "記録中",
"you": "あなた",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "音声メッセージを送るには、BChatのマイクへのアクセスを許可してください。",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "音声",
"video": "動画",
"photo": "写真",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "無効な公開鍵フォーマットです",
"emptyGroupNameError": "グループ名を入力してください",
"editProfileModalTitle": "プロフィール",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "グループ名",
"inviteContacts": "友達にオススメする",
"addModerators": "モデレータを追加",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/ka/messages.json b/_locales/ka/messages.json
index 148699b5..5ea4fe43 100644
--- a/_locales/ka/messages.json
+++ b/_locales/ka/messages.json
@@ -98,7 +98,7 @@
"recording": "ჩანაწერი",
"you": "თქვენ",
"audioPermissionNeededTitle": "Microphone Access Required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "აუდიო",
"video": "ვიდეო",
"photo": "ფოტო",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/km/messages.json b/_locales/km/messages.json
index 753dceac..50752734 100644
--- a/_locales/km/messages.json
+++ b/_locales/km/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "រកឃើញសារដើម ប៉ុន្តែមិនអាចផ្ទុក។ រំកិលចុះក្រោម ដើម្បីផ្ទុកវា។",
"recording": "Recording",
"you": "អ្នក",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "ដើម្បីបញ្ជូនសារសំឡេង អនុញ្ញាតឲ្យSignal Desktop ចូលប្រើប្រាស់ម៉ៃក្រូហ្វូនរបស់អ្នក។",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "សំឡេង",
"video": "វីដេអូ",
"photo": "រូបភាព",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/kn/messages.json b/_locales/kn/messages.json
index 89f4a206..1e396ab6 100644
--- a/_locales/kn/messages.json
+++ b/_locales/kn/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "You",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json
index 10f338bd..165993ca 100644
--- a/_locales/ko/messages.json
+++ b/_locales/ko/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "원본 메시지를 찾았으나 로딩이 안 되어있습니다. 위로 스크롤하여 로딩하십시오.",
"recording": "녹음 중",
"you": "당신",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "오디오",
"video": "동영상",
"photo": "사진",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/lt/messages.json b/_locales/lt/messages.json
index 22a385d0..9c3f1310 100644
--- a/_locales/lt/messages.json
+++ b/_locales/lt/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Pradinė žinutė rasta, tačiau neįkelta. Slinkite žemyn, norėdami ją įkelti.",
"recording": "Recording",
"you": "Jūs",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Norėdami siųsti garso žinutes, suteikite BChat Desktop prieigą prie savo mikrofono.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Garso įrašas",
"video": "Vaizdo įrašas",
"photo": "Nuotrauka",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Susieti įrenginį",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message.",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/mk/messages.json b/_locales/mk/messages.json
index 95f1e407..f32ad7b9 100644
--- a/_locales/mk/messages.json
+++ b/_locales/mk/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "You",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/nb/messages.json b/_locales/nb/messages.json
index 89f4a206..1e396ab6 100644
--- a/_locales/nb/messages.json
+++ b/_locales/nb/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "You",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json
index 1f91156d..1a1eca06 100644
--- a/_locales/nl/messages.json
+++ b/_locales/nl/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Oorspronkelijk bericht gevonden, maar niet opgehaald. Scroll naar boven om het op te halen.",
"recording": "Opname",
"you": "Jij",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Om een audiobericht te versturen moet je BChat Desktop toegang tot de microfoon geven.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Geluid",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Ongeldig Pubkey formaat",
"emptyGroupNameError": "Vul a. u. b een groepsnaam in",
"editProfileModalTitle": "Profiel",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Groepsnaam",
"inviteContacts": "Contactpersonen uitnodigen",
"addModerators": "Moderatoren toevoegen",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Gedeactiveerd",
"notificationForConvo_mentions_only": "Alleen vermeldingen,",
"onionPathIndicatorTitle": "Pad",
- "onionPathIndicatorDescription": "BChat verbergt uw IP door uw berichten te verzenden via meerdere Master Nodes in het gedecentraliseerde BChat netwerk. Uw verbinding wordt momenteel verzonden via deze landen:",
+ "onionPathIndicatorDescription": "BChat verbergt uw IP door uw berichten te verzenden via meerdere Master Nodes in het gedecentraliseerde BChat netwerk. Uw verbinding wordt momenteel verzonden via deze landen",
"unknownCountry": "Onbekend land",
"device": "Apparaat",
"destination": "Bestemming",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/no/messages.json b/_locales/no/messages.json
index 39772f4a..e2b8c0ed 100644
--- a/_locales/no/messages.json
+++ b/_locales/no/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Opprinnelig beskjed funnet, men ikke lastet inn. Rull oppover for å laste den.",
"recording": "Tar opp",
"you": "Du",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Du kan aktivere mikrofontilgang under: Innstillinger (Tannhjulssymbol) => Personvern",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Lyd",
"video": "Video",
"photo": "Fotografi",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Ugyldig format på offentlig nøkkel",
"emptyGroupNameError": "Vennligst skriv inn et gruppenavn",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Gruppenavn",
"inviteContacts": "Innby kontakter",
"addModerators": "Legg til ordstyrere",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Deaktivert",
"notificationForConvo_mentions_only": "Kun omtaler",
"onionPathIndicatorTitle": "Sti",
- "onionPathIndicatorDescription": "BChat skjuler IPen din ved å la beskjedene dine passere gjennom flere tjenesteknutepunkter i BChats desentraliserte nettverk. Dette er landene forbindelsen din nå passerer gjennom:",
+ "onionPathIndicatorDescription": "BChat skjuler IPen din ved å la beskjedene dine passere gjennom flere tjenesteknutepunkter i BChats desentraliserte nettverk. Dette er landene forbindelsen din nå passerer gjennom",
"unknownCountry": "Ukjent land",
"device": "Enhet",
"destination": "Mål",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/pa/messages.json b/_locales/pa/messages.json
index 89f4a206..1e396ab6 100644
--- a/_locales/pa/messages.json
+++ b/_locales/pa/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "You",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json
index d51e413c..08c83988 100644
--- a/_locales/pl/messages.json
+++ b/_locales/pl/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Znaleziono oryginalną wiadomość, ale nie została załadowana. Przewiń w górę, aby załadować.",
"recording": "Nagrywanie",
"you": "Ty",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Aby wysyłać wiadomości głosowe, zezwól BChat na dostęp do mikrofonu.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Dźwięk",
"video": "Wideo",
"photo": "Zdjęcie",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Nieprawidłowy format Pubkey",
"emptyGroupNameError": "Wpisz nazwę grupy",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nazwa grupy",
"inviteContacts": "Zaproś znajomych",
"addModerators": "Dodaj moderatorów",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Wyłączone",
"notificationForConvo_mentions_only": "Tylko wzmianki",
"onionPathIndicatorTitle": "Ścieżka",
- "onionPathIndicatorDescription": "BChat ukrywa Twój adres IP, odbijając wiadomości przez kilka węzłów usług w zdecentralizowanej sieci BChat. Oto kraje, w których obecnie Twoje połączenie jest odbijane:",
+ "onionPathIndicatorDescription": "BChat ukrywa Twój adres IP, odbijając wiadomości przez kilka węzłów usług w zdecentralizowanej sieci BChat. Oto kraje, w których obecnie Twoje połączenie jest odbijane",
"unknownCountry": "Nieznany kraj",
"device": "Urządzenie",
"destination": "Miejsce docelowe",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json
index 5bd977e5..b0d024cd 100644
--- a/_locales/pt_BR/messages.json
+++ b/_locales/pt_BR/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Mensagem original encontrada. Role para cima para carregar.",
"recording": "Gravando",
"you": "Você",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Para enviar mensagens de áudio permita ao BChat acessar o microfone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Áudio",
"video": "Vídeo",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Formato de Pubkey Inválido",
"emptyGroupNameError": "Digite um nome de grupo",
"editProfileModalTitle": "Perfil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nome Do Grupo",
"inviteContacts": "Convidar Amigos",
"addModerators": "Adicionar moderadores",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Desabilitado",
"notificationForConvo_mentions_only": "Apenas menções",
"onionPathIndicatorTitle": "Caminho",
- "onionPathIndicatorDescription": "O BChat oculta seu IP ao enviar suas mensagens através de vários Nós de Serviço na rede descentralizada do BChat. Estes são os países pelos quais sua conexão está sendo ricocheteada no momento:",
+ "onionPathIndicatorDescription": "O BChat oculta seu IP ao enviar suas mensagens através de vários Nós de Serviço na rede descentralizada do BChat. Estes são os países pelos quais sua conexão está sendo ricocheteada no momento",
"unknownCountry": "País desconhecido",
"device": "Dispositivo",
"destination": "Destino",
@@ -465,5 +475,10 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json
index 89e972c0..4854a614 100644
--- a/_locales/pt_PT/messages.json
+++ b/_locales/pt_PT/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "A mensagem original foi encontrada mas não carregada. Mova o texto para cima para a carregar.",
"recording": "Recording",
"you": "Você",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Para enviar mensagens de áudio, permita que o BChat aceda ao seu microfone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Áudio",
"video": "Vídeo",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Nome do Grupo",
"inviteContacts": "Convidar Contactos",
"addModerators": "Adicionar Moderadores",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,16 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
}
\ No newline at end of file
diff --git a/_locales/ro/messages.json b/_locales/ro/messages.json
index 93d7b2b6..8eaf1583 100644
--- a/_locales/ro/messages.json
+++ b/_locales/ro/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Mesaj original găsit, dar neîncărcat. Scroll-ează în sus pentru a-l încărca.",
"recording": "Se înregistrează",
"you": "Tu",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Pentru a trimite mesaje audio, permite aplicației BChat Desktop accesul la microfonul tău.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Poză",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Formatul de număr Pubkey nu este valid",
"emptyGroupNameError": "Te rugăm să introduci un nume de grup",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Numele Grupului",
"inviteContacts": "Invită contacte",
"addModerators": "Adaugă moderatori",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Dezactivat",
"notificationForConvo_mentions_only": "Doar mențiuni",
"onionPathIndicatorTitle": "Cale",
- "onionPathIndicatorDescription": "BChat îți ascunde IP-ul prin înregistrarea mesajelor prin intermediul mai multor Noduri de Servicii din rețeaua descentralizată a BChat. Acestea sunt țările prin care conexiunea dvs. este în curs de a fi conectată prin:",
+ "onionPathIndicatorDescription": "BChat îți ascunde IP-ul prin înregistrarea mesajelor prin intermediul mai multor Noduri de Servicii din rețeaua descentralizată a BChat. Acestea sunt țările prin care conexiunea dvs. este în curs de a fi conectată prin",
"unknownCountry": "Țară necunoscută",
"device": "Dispozitiv",
"destination": "Destinație",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json
index 8beaa36f..2fccbe13 100644
--- a/_locales/ru/messages.json
+++ b/_locales/ru/messages.json
@@ -98,7 +98,7 @@
"recording": "Идет запись",
"you": "Вы",
"audioPermissionNeededTitle": "Требуется доступ к микрофону",
- "audioPermissionNeeded": "Для отправки аудиосообщений разрешите BChat доступ к микрофону (Настройки > Конфиденциальность)",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Аудио",
"video": "Видео",
"photo": "Фото",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Неверный формат данных",
"emptyGroupNameError": "Пожалуйста, введите название группы",
"editProfileModalTitle": "Аккаунт",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Название группы",
"inviteContacts": "Пригласить друзей в BChat",
"addModerators": "Добавить модераторов",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Выключено",
"notificationForConvo_mentions_only": "Только упоминания",
"onionPathIndicatorTitle": "Путь",
- "onionPathIndicatorDescription": "BChat скрывает ваш IP, перенаправляя ваши сообщения через несколько сервисных узлов своей децентрализованной сети. Страны, через которые в данный момент проходит ваше подключение:",
+ "onionPathIndicatorDescription": "BChat скрывает ваш IP, перенаправляя ваши сообщения через несколько сервисных узлов своей децентрализованной сети. Страны, через которые в данный момент проходит ваше подключение",
"unknownCountry": "Неизвестная страна",
"device": "Устройство",
"destination": "Назначение",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/si/messages.json b/_locales/si/messages.json
index bf6269f7..b7514adf 100644
--- a/_locales/si/messages.json
+++ b/_locales/si/messages.json
@@ -98,7 +98,7 @@
"recording": "Recording",
"you": "ඔබ",
"audioPermissionNeededTitle": "ශබ්දවාහිනියට ප්රවේශය අවශ්යයි",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "ශ්රව්ය",
"video": "දෘශ්ය",
"photo": "Photo",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "සමූහ නාමයක් ඇතුල් කරන්න",
"editProfileModalTitle": "පැතිකඩ",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "සමූහයේ නම",
"inviteContacts": "සබඳතාවන්ට ආරාධනා කරන්න",
"addModerators": "Add Moderators",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "අබල කර ඇත",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "නොදන්නා රටකි",
"device": "උපාංගය",
"destination": "Destination",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/sk/messages.json b/_locales/sk/messages.json
index 0d8c9361..c81507d0 100644
--- a/_locales/sk/messages.json
+++ b/_locales/sk/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Pôvodná správa sa našla, ale ešte nebola načítaná. Pre načítanie sa posuňte vyššie.",
"recording": "Nahrávanie",
"you": "Vy",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Pre posielanie zvukových správ, povoľte aplikácii BChat Desktop prístup k mikrofónu.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Zvuk",
"video": "Video",
"photo": "Fotka",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Nesprávny Formát Pubkey",
"emptyGroupNameError": "Prosím zadajte meno skupiny",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Meno Skupiny",
"inviteContacts": "Pozvať Kontakty",
"addModerators": "Pridať Moderátorov",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Vypnuté",
"notificationForConvo_mentions_only": "Iba zmienky",
"onionPathIndicatorTitle": "Cesta",
- "onionPathIndicatorDescription": "BChat skryje Vašu IP adresu tým, že vaše správy sa odrazia cez niekoľko Servisných Uzlov v decentralizovanej sieti BChat. Toto sú krajiny cez ktoré sa Vaše spojenie práve odráža:",
+ "onionPathIndicatorDescription": "BChat skryje Vašu IP adresu tým, že vaše správy sa odrazia cez niekoľko Servisných Uzlov v decentralizovanej sieti BChat. Toto sú krajiny cez ktoré sa Vaše spojenie práve odráža",
"unknownCountry": "Neznáma Krajina",
"device": "Zariadenie",
"destination": "Cieľ",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/sl/messages.json b/_locales/sl/messages.json
index df9fc37b..edde0f56 100644
--- a/_locales/sl/messages.json
+++ b/_locales/sl/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Izvorno sporočilo je bilo najdeno, vendar še ni naloženo. Če ga želite naložiti, se pomaknite navzgor.",
"recording": "Snemanje",
"you": "Vi",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Za pošiljanje glasovnih sporočil potrebuje aplikacija BChat Desktop dostop do vašega mikrofona.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Zvok",
"video": "Video",
"photo": "Slika",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/sq/messages.json b/_locales/sq/messages.json
index 0e4482e2..b74a33ac 100644
--- a/_locales/sq/messages.json
+++ b/_locales/sq/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Mesazhi origjinal u gjet, por s’u ngarkua dot. Rrëshqitni më poshtë që të ngarkohet.",
"recording": "Recording",
"you": "Ju",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Për të dërguar mesazhe audio, lejojeni BChat-in për Desktop të përdorë mikrofonin tuaj.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/sr/messages.json b/_locales/sr/messages.json
index 7de717cb..435c13b2 100644
--- a/_locales/sr/messages.json
+++ b/_locales/sr/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Originalna poruka je pronađena, ali nije učitana. Skrolujte nagore da biste je učitali.",
"recording": "Snimanje",
"you": "Ti",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Zvuk",
"video": "Video",
"photo": "Fotografija",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Nevažeći format Pubkey-a",
"emptyGroupNameError": "Unesite naziv grupe",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Naziv grupe",
"inviteContacts": "Pozovite kontakte",
"addModerators": "Dodaj moderatora",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Onemogućeno",
"notificationForConvo_mentions_only": "Samo pominjanja",
"onionPathIndicatorTitle": "Putanja",
- "onionPathIndicatorDescription": "BChat sakriva vašu IP adresu prebacivanjem poruka kroz nekoliko uslužnih čvorova u svojoj decentralizovanoj mreži. Ovo su zemlje kroz koje se trenutno uspostavlja vaša veza:",
+ "onionPathIndicatorDescription": "BChat sakriva vašu IP adresu prebacivanjem poruka kroz nekoliko uslužnih čvorova u svojoj decentralizovanoj mreži. Ovo su zemlje kroz koje se trenutno uspostavlja vaša veza",
"unknownCountry": "Nepoznata zemlja",
"device": "Uređaj",
"destination": "Odrеdištе",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json
index 89239d23..ac483be2 100644
--- a/_locales/sv/messages.json
+++ b/_locales/sv/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Originalmeddelande hittades, men lästes inte in. Skrolla upp för att läsa in det.",
"recording": "Spelar in ",
"you": "Du",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Om du vill skicka röstmeddelanden måste BChat Desktop ha tillgång till din mikrofon.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Ljud",
"video": "Video",
"photo": "Foto",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Ogiltigt Pub-nyckel format",
"emptyGroupNameError": "Ange ett gruppnamn",
"editProfileModalTitle": "Profil",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Gruppnamn",
"inviteContacts": "Bjud in vänner",
"addModerators": "Lägg till moderator",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Inaktiverad",
"notificationForConvo_mentions_only": "Endast omnämnd",
"onionPathIndicatorTitle": "Väg",
- "onionPathIndicatorDescription": "BChat döljer din IP-adress genom att dirigera dina meddelanden genom flera Tjänstnoder i BChats decentraliserade nätverk. Detta är de länder som din anslutning går igenom just nu:",
+ "onionPathIndicatorDescription": "BChat döljer din IP-adress genom att dirigera dina meddelanden genom flera Tjänstnoder i BChats decentraliserade nätverk. Detta är de länder som din anslutning går igenom just nu",
"unknownCountry": "Okänt land",
"device": "Enhet",
"destination": "Mål",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/ta/messages.json b/_locales/ta/messages.json
index 3a71cd43..bc0cc0d3 100644
--- a/_locales/ta/messages.json
+++ b/_locales/ta/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "நீங்கள்",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "கேட்பொலி",
"video": "காணொளி",
"photo": "புகைப்படம்",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "OFF",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/th/messages.json b/_locales/th/messages.json
index 6e3ae13b..179cfe23 100644
--- a/_locales/th/messages.json
+++ b/_locales/th/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "คุณ",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "เพื่อจะส่งข้อความเสียง ต้องอนุญาตให้ BChat Desktop ใช้งานไมโครโฟนของคุณ",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "เสียง",
"video": "วิดีโอ",
"photo": "รูปภาพ",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/tr/messages.json b/_locales/tr/messages.json
index 9250ed1b..3cf78794 100644
--- a/_locales/tr/messages.json
+++ b/_locales/tr/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "İletinin aslı bulundu, ama yüklenmedi. Yüklemek için yukarıya kaydırın.",
"recording": "Kayıtlar",
"you": "Siz",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "Sesli iletiler göndermek için, BChat Desktop'ın mikrofonunuza erişimine izin verin.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Ses",
"video": "Video",
"photo": "Fotoğraf",
@@ -319,6 +319,16 @@
"emptyGroupNameError": "Lütfen bir grup adı giriniz",
"editProfileModalTitle": "Profil",
"groupNamePlaceholder": "Grup Adı",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"inviteContacts": "Kişileri Davet Et",
"addModerators": "Moderatör ekle",
"removeModerators": "Moderatörleri sil",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "Devre dışı",
"notificationForConvo_mentions_only": "Sadece bahsetmeler",
"onionPathIndicatorTitle": "Yol",
- "onionPathIndicatorDescription": "BChat, mesajlarınızı BChat'ın merkezi olmayan ağındaki birkaç Hizmet Düğümü üzerinden geri göndererek IP'nizi gizler. Şu anda bağlantınızın geri döndüğü ülkeler şunlardır:",
+ "onionPathIndicatorDescription": "BChat, mesajlarınızı BChat'ın merkezi olmayan ağındaki birkaç Hizmet Düğümü üzerinden geri göndererek IP'nizi gizler. Şu anda bağlantınızın geri döndüğü ülkeler şunlardır",
"unknownCountry": "Bilinmeyen Ülke",
"device": "Cihaz",
"destination": "Hedef",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/uk/messages.json b/_locales/uk/messages.json
index fbaaee9f..13828d05 100644
--- a/_locales/uk/messages.json
+++ b/_locales/uk/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Оригінальне повідомлення знайдено, але не завантажено. Прокрутіть вгору, щоб завантажити його.",
"recording": "Запис",
"you": "Ви",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Аудіо",
"video": "Відео",
"photo": "Фото",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/uz/messages.json b/_locales/uz/messages.json
index a8755f69..7fad592c 100644
--- a/_locales/uz/messages.json
+++ b/_locales/uz/messages.json
@@ -98,7 +98,7 @@
"recording": "Recording",
"you": "You",
"audioPermissionNeededTitle": "Microphone Access Required",
- "audioPermissionNeeded": "You can enable microphone access under: Settings (Gear icon) => Privacy",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Audio",
"video": "Video",
"photo": "Photo",
@@ -185,12 +185,12 @@
"timerSetOnSync": "Updated disappearing message timer to $time$",
"theyChangedTheTimer": "$name$ activated disappearing messages. Messages will now disappear after $time$",
"timerOption_0_seconds": "Off",
- "timerOption_5_seconds": "5 seconds",
- "timerOption_10_seconds": "10 seconds",
- "timerOption_30_seconds": "30 seconds",
+ "timerOption_5_seconds": "5 sec",
+ "timerOption_10_seconds": "10 sec",
+ "timerOption_30_seconds": "30 sec",
"timerOption_1_minute": "1 minute",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 hour",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/vi/messages.json b/_locales/vi/messages.json
index b23884a4..99686125 100644
--- a/_locales/vi/messages.json
+++ b/_locales/vi/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "Original message found, but not loaded. Scroll up to load it.",
"recording": "Recording",
"you": "Bạn",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "To send audio messages, allow BChat Desktop to access your microphone.",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "Âm thanh",
"video": "Đoạn phim",
"photo": "Photo",
@@ -189,8 +189,8 @@
"timerOption_10_seconds": "10 giây",
"timerOption_30_seconds": "30 giây",
"timerOption_1_minute": "1 phút",
- "timerOption_5_minutes": "5 minutes",
- "timerOption_30_minutes": "30 minutes",
+ "timerOption_5_minutes": "5 Min",
+ "timerOption_30_minutes": "30 Min",
"timerOption_1_hour": "1 giờ",
"timerOption_6_hours": "6 hours",
"timerOption_12_hours": "12 hours",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Vui lòng nhập tên nhóm",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Tên nhóm",
"inviteContacts": "Mời bạn bè",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Liên kết Thiết bị",
"restoreUsingRecoveryPhrase": "Khôi phục lại tài khoản của bạn",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "BChat mới",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Không thể bắt đầu cuộc gọi mới",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -460,10 +470,16 @@
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
"startedACall": "Bạn đã gọi $name$",
- "answeredACall": "Call with $name$",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json
index 5004a8ad..39c937bd 100644
--- a/_locales/zh_CN/messages.json
+++ b/_locales/zh_CN/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "原始消息可用,但尚未加载。向上滑动可加载。",
"recording": "录音中",
"you": "您",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "发送音频消息前,请先允许 BChat Desktop访问您的麦克风。",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "音频",
"video": "视频",
"photo": "照片",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "无效的公钥格式",
"emptyGroupNameError": "请输入群组名称",
"editProfileModalTitle": "资料",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "群组名称",
"inviteContacts": "邀请好友",
"addModerators": "添加管理员",
@@ -396,7 +406,7 @@
"notificationForConvo_disabled": "关闭",
"notificationForConvo_mentions_only": "仅当被提及时",
"onionPathIndicatorTitle": "路径",
- "onionPathIndicatorDescription": "BChat会通过其去中心化网络中的多个服务节点跳转消息以隐藏IP。以下国家是您目前的消息连接跳转服务节点所在地:",
+ "onionPathIndicatorDescription": "BChat会通过其去中心化网络中的多个服务节点跳转消息以隐藏IP。以下国家是您目前的消息连接跳转服务节点所在地",
"unknownCountry": "未知国家",
"device": "设备",
"destination": "目的地",
@@ -465,5 +475,11 @@
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json
index ec6951ab..4cd11acd 100644
--- a/_locales/zh_TW/messages.json
+++ b/_locales/zh_TW/messages.json
@@ -97,8 +97,8 @@
"messageFoundButNotLoaded": "找到了原始訊息,但未載入,向上滑動以進行載入。",
"recording": "錄製中",
"you": "你",
- "audioPermissionNeededTitle": "Microphone access required",
- "audioPermissionNeeded": "要傳送語音訊息,須授權 Siganl 桌面版可以使用您設備的麥克風。 ",
+ "audioPermissionNeededTitle": "Record Permission Required!",
+ "audioPermissionNeeded": "Allow Recorder to access voice recording?",
"audio": "聲音",
"video": "影片",
"photo": "照片",
@@ -318,6 +318,16 @@
"invalidPubkeyFormat": "Invalid Pubkey Format",
"emptyGroupNameError": "Please enter a group name",
"editProfileModalTitle": "Profile",
+ "linkYourBns": "Link Your BNS",
+ "readMoreAboutBNS": "Read more about BNS",
+ "bnsVerified": "BNS Verified ",
+ "linkBNS": "Link BNS",
+ "bnsName": "BNS Name",
+ "enterBnsName": "Enter BNS Name",
+ "verify": "Verify",
+ "verified": "Verified",
+ "link": "Link",
+ "bnsLinkedSuccessfully": "BNS Linked Successfully!",
"groupNamePlaceholder": "Group Name",
"inviteContacts": "Invite Contacts",
"addModerators": "Add Moderators",
@@ -350,7 +360,7 @@
"linkDevice": "Link Device",
"restoreUsingRecoveryPhrase": "Restore your account",
"or": "or",
- "ByUsingThisMaster...": "Terms of Service ",
+ "ByUsingThisMaster...": "Terms & Conditions ",
"beginYourBchat": "Begin your BChat.",
"welcomeToYourBchat": "Welcome to your BChat",
"newBchat": "New BChat",
@@ -396,12 +406,12 @@
"notificationForConvo_disabled": "Disabled",
"notificationForConvo_mentions_only": "Mentions Only",
"onionPathIndicatorTitle": "Path",
- "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through:",
+ "onionPathIndicatorDescription": "BChat hides your IP by bouncing your messages through several Master Nodes in BChat's decentralized network. These are the countries your connection is currently being bounced through",
"unknownCountry": "Unknown Country",
"device": "You",
"destination": "Destination",
"learnMore": "Learn more",
- "linkVisitWarningTitle": "Open this link in your browser?",
+ "linkVisitWarningTitle": "Open Link?",
"linkVisitWarningMessage": "Are you sure you want to open $url$ in your browser?",
"open": "Open",
"audioMessageAutoplayTitle": "Autoplay Audio Message",
@@ -448,7 +458,7 @@
"cameraPermissionNeeded": "Allow 'Voice & Video Calls' under privacy settings to make a call.",
"unableToCall": "Cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call",
- "callMissed": "Missed call from $name$",
+ "callMissed": "Missed call",
"callMissedTitle": "Call missed",
"noCameraFound": "No camera found",
"noAudioInputFound": "No audio input found",
@@ -459,11 +469,17 @@
"callMediaPermissionsDescription": "Enabling this option will allow you to receive voice and video calls.",
"callMediaPermissionsDialogContent": "The current implementation of voice/video calls will expose your IP address to the Beldex servers and the calling/called user.",
"menuCall": "Call",
- "startedACall": "You called $name$",
- "answeredACall": "Call with $name$",
+ "startedACall": "Outgoing call",
+ "answeredACall": "Incoming call",
"trimDatabase": "Trim Database",
"trimDatabaseDescription": "Reduces your message database size to your last 10,000 messages.",
"trimDatabaseConfirmationBody": "Are you sure you want to delete your $deleteAmount$ oldest received messages?",
"bns": "Bns",
- "paymentID":"Payment ID"
+ "paymentID": "Payment ID",
+ "allow": "Allow",
+ "deny": "Deny",
+ "openLink": "Open Link",
+ "changeWalletPassword":"Change Wallet password",
+ "enterNewWalletPassword":"Enter New Wallet Password"
+
}
\ No newline at end of file
diff --git a/background.html b/background.html
index 33dd3281..7697a2b0 100644
--- a/background.html
+++ b/background.html
@@ -32,8 +32,8 @@
diff --git a/build/notarize.js b/build/notarize.js
index 8bdeb006..af02a32d 100644
--- a/build/notarize.js
+++ b/build/notarize.js
@@ -1,4 +1,4 @@
-const { notarize } = require('electron-notarize');
+const { notarize } = require("@electron/notarize");
/*
Pre-requisites: https://github.com/electron/electron-notarize#prerequisites
@@ -30,10 +30,12 @@ exports.default = async function notarizing(context) {
const options = {
appBundleId: 'bchat.desktop',
+ tool: "notarytool",
appPath: `${appOutDir}/${appName}.app`,
appleId: SIGNING_APPLE_ID,
appleIdPassword: SIGNING_APP_PASSWORD,
+ teamId: SIGNING_TEAM_ID
};
if (!isEmpty(SIGNING_TEAM_ID)) options.ascProvider = SIGNING_TEAM_ID;
return notarize(options);
-};
+};
\ No newline at end of file
diff --git a/fonts/OpenSans-ExtraBold.ttf b/fonts/OpenSans-ExtraBold.ttf
new file mode 100644
index 00000000..4eb33935
Binary files /dev/null and b/fonts/OpenSans-ExtraBold.ttf differ
diff --git a/fonts/OpenSans-Light.ttf b/fonts/OpenSans-Light.ttf
new file mode 100644
index 00000000..ea175cc3
Binary files /dev/null and b/fonts/OpenSans-Light.ttf differ
diff --git a/fonts/OpenSans_Condensed-SemiBold.ttf b/fonts/OpenSans_Condensed-SemiBold.ttf
new file mode 100644
index 00000000..75bcd43c
Binary files /dev/null and b/fonts/OpenSans_Condensed-SemiBold.ttf differ
diff --git a/images/bchat/Call_permission.svg b/images/bchat/Call_permission.svg
new file mode 100644
index 00000000..772d17e4
--- /dev/null
+++ b/images/bchat/Call_permission.svg
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/Load_animation.gif b/images/bchat/Load_animation.gif
index 3383b0aa..442587c5 100644
Binary files a/images/bchat/Load_animation.gif and b/images/bchat/Load_animation.gif differ
diff --git a/images/bchat/Loading__white_theme.gif b/images/bchat/Loading__white_theme.gif
new file mode 100644
index 00000000..d76755a7
Binary files /dev/null and b/images/bchat/Loading__white_theme.gif differ
diff --git a/images/bchat/Pay_as_you_chat_white.svg b/images/bchat/Pay_as_you_chat_white.svg
new file mode 100644
index 00000000..26f9bf57
--- /dev/null
+++ b/images/bchat/Pay_as_you_chat_white.svg
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/bgBlurLogo.png b/images/bchat/bgBlurLogo.png
new file mode 100644
index 00000000..9469d58b
Binary files /dev/null and b/images/bchat/bgBlurLogo.png differ
diff --git a/images/bchat/calendar.svg b/images/bchat/calendar.svg
new file mode 100644
index 00000000..c69d16c3
--- /dev/null
+++ b/images/bchat/calendar.svg
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/images/bchat/connect_wallet_dark.gif b/images/bchat/connect_wallet_dark.gif
new file mode 100644
index 00000000..ff894886
Binary files /dev/null and b/images/bchat/connect_wallet_dark.gif differ
diff --git a/images/bchat/connect_wallet_white.gif b/images/bchat/connect_wallet_white.gif
new file mode 100644
index 00000000..353fcd89
Binary files /dev/null and b/images/bchat/connect_wallet_white.gif differ
diff --git a/images/bchat/empty_address_book_White.svg b/images/bchat/empty_address_book_White.svg
new file mode 100644
index 00000000..e031b710
--- /dev/null
+++ b/images/bchat/empty_address_book_White.svg
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/empty_address_book_dark.svg b/images/bchat/empty_address_book_dark.svg
index a3d1ad9a..f05171c3 100644
--- a/images/bchat/empty_address_book_dark.svg
+++ b/images/bchat/empty_address_book_dark.svg
@@ -1,167 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/empty_address_book_white.svg b/images/bchat/empty_address_book_white.svg
deleted file mode 100644
index ed099829..00000000
--- a/images/bchat/empty_address_book_white.svg
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/images/bchat/empty_transaction_list.svg b/images/bchat/empty_transaction_list.svg
index eaaf048a..c576e99e 100644
--- a/images/bchat/empty_transaction_list.svg
+++ b/images/bchat/empty_transaction_list.svg
@@ -1,37 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/insufficientBalance.svg b/images/bchat/insufficientBalance.svg
new file mode 100644
index 00000000..f7cd6021
--- /dev/null
+++ b/images/bchat/insufficientBalance.svg
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/insufficientBalanceWhite.svg b/images/bchat/insufficientBalanceWhite.svg
new file mode 100644
index 00000000..95fcff2a
--- /dev/null
+++ b/images/bchat/insufficientBalanceWhite.svg
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/linked_bns.gif b/images/bchat/linked_bns.gif
new file mode 100644
index 00000000..3aa45f29
Binary files /dev/null and b/images/bchat/linked_bns.gif differ
diff --git a/images/bchat/linked_bns_white.gif b/images/bchat/linked_bns_white.gif
new file mode 100644
index 00000000..b61f6e8f
Binary files /dev/null and b/images/bchat/linked_bns_white.gif differ
diff --git a/images/bchat/loginPageAddress.png b/images/bchat/loginPageAddress.png
new file mode 100644
index 00000000..97470190
Binary files /dev/null and b/images/bchat/loginPageAddress.png differ
diff --git a/images/bchat/loginPagePassword.png b/images/bchat/loginPagePassword.png
new file mode 100644
index 00000000..dcc13ebb
Binary files /dev/null and b/images/bchat/loginPagePassword.png differ
diff --git a/images/bchat/loginPageSeed.png b/images/bchat/loginPageSeed.png
new file mode 100644
index 00000000..67849b4a
Binary files /dev/null and b/images/bchat/loginPageSeed.png differ
diff --git a/images/bchat/loginpage.png b/images/bchat/loginpage.png
new file mode 100644
index 00000000..db9032d1
Binary files /dev/null and b/images/bchat/loginpage.png differ
diff --git a/images/bchat/message_send_loading_dark_theme.gif b/images/bchat/message_send_loading_dark_theme.gif
new file mode 100644
index 00000000..82a7b285
Binary files /dev/null and b/images/bchat/message_send_loading_dark_theme.gif differ
diff --git a/images/bchat/message_send_loading_white_theme.gif b/images/bchat/message_send_loading_white_theme.gif
new file mode 100644
index 00000000..1e4aac11
Binary files /dev/null and b/images/bchat/message_send_loading_white_theme.gif differ
diff --git a/images/bchat/no_con_scrt_grp_dark_theme.svg b/images/bchat/no_con_scrt_grp_dark_theme.svg
deleted file mode 100644
index 30b637f1..00000000
--- a/images/bchat/no_con_scrt_grp_dark_theme.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/images/bchat/no_contact_scrt_grp.svg b/images/bchat/no_contact_scrt_grp.svg
deleted file mode 100644
index fe48dfa3..00000000
--- a/images/bchat/no_contact_scrt_grp.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/images/bchat/no_mediaDarkTheme.svg b/images/bchat/no_mediaDarkTheme.svg
index 65fbf625..2e717b49 100644
--- a/images/bchat/no_mediaDarkTheme.svg
+++ b/images/bchat/no_mediaDarkTheme.svg
@@ -1,124 +1,126 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/no_mediaWhiteTheme.svg b/images/bchat/no_mediaWhiteTheme.svg
index 57cb5489..41fedc6d 100644
--- a/images/bchat/no_mediaWhiteTheme.svg
+++ b/images/bchat/no_mediaWhiteTheme.svg
@@ -1,124 +1,156 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/no_tx_history_dark.svg b/images/bchat/no_tx_history_dark.svg
index 5096bbd6..c576e99e 100644
--- a/images/bchat/no_tx_history_dark.svg
+++ b/images/bchat/no_tx_history_dark.svg
@@ -1,37 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/passwordIcon.svg b/images/bchat/passwordIcon.svg
new file mode 100644
index 00000000..8a773810
--- /dev/null
+++ b/images/bchat/passwordIcon.svg
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/passwordIconWhite.svg b/images/bchat/passwordIconWhite.svg
new file mode 100644
index 00000000..7d0f5f57
--- /dev/null
+++ b/images/bchat/passwordIconWhite.svg
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/paste.svg b/images/bchat/paste.svg
deleted file mode 100644
index 271d7887..00000000
--- a/images/bchat/paste.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/images/bchat/recoveryPhrase.svg b/images/bchat/recoveryPhrase.svg
new file mode 100644
index 00000000..d2310a6d
--- /dev/null
+++ b/images/bchat/recoveryPhrase.svg
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/recoveryPhraseLight.svg b/images/bchat/recoveryPhraseLight.svg
new file mode 100644
index 00000000..dd54f046
--- /dev/null
+++ b/images/bchat/recoveryPhraseLight.svg
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/images/bchat/splash.gif b/images/bchat/splash.gif
new file mode 100644
index 00000000..c9cc3095
Binary files /dev/null and b/images/bchat/splash.gif differ
diff --git a/images/bchat/wallet_syncing_dark.svg b/images/bchat/wallet_syncing_dark.svg
deleted file mode 100644
index e5f267c9..00000000
--- a/images/bchat/wallet_syncing_dark.svg
+++ /dev/null
@@ -1,248 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/images/bchat/wallet_syncing_white.svg b/images/bchat/wallet_syncing_white.svg
deleted file mode 100644
index e4635994..00000000
--- a/images/bchat/wallet_syncing_white.svg
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/images/bchat/walletinchat.svg b/images/bchat/walletinchat.svg
index a4ae1053..fe7c2deb 100644
--- a/images/bchat/walletinchat.svg
+++ b/images/bchat/walletinchat.svg
@@ -1,9 +1,11 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/images/wallet/Password_image.svg b/images/wallet/Password_image.svg
deleted file mode 100644
index 824753e3..00000000
--- a/images/wallet/Password_image.svg
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/images/wallet/Password_image_white.svg b/images/wallet/Password_image_white.svg
deleted file mode 100644
index 2bb77af9..00000000
--- a/images/wallet/Password_image_white.svg
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/package.json b/package.json
index 749b7474..ece28f53 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "bchat-desktop",
"productName": "BChat",
"description": "Private messaging from your desktop",
- "version": "2.4.0",
+ "version": "2.5.0",
"license": "GPL-3.0",
"author": {
"name": "Beldex team",
@@ -136,9 +136,11 @@
"sanitize.css": "^12.0.1",
"semver": "5.4.1",
"styled-components": "5.1.1",
- "uuid": "3.3.2"
+ "uuid": "3.3.2",
+ "wavesurfer.js": "^7.8.6"
},
"devDependencies": {
+ "@electron/notarize": "^2.3.2",
"@playwright/test": "1.16.3",
"@types/backbone": "1.4.2",
"@types/better-sqlite3": "7.4.0",
@@ -190,7 +192,6 @@
"crypto-browserify": "^3.12.0",
"electron": "^17.1.2",
"electron-builder": "23.0.2",
- "electron-notarize": "^0.2.0",
"esbuild": "^0.14.29",
"eslint": "4.14.0",
"eslint-config-airbnb-base": "12.1.0",
diff --git a/preload.js b/preload.js
index 5add2056..6d92dace 100644
--- a/preload.js
+++ b/preload.js
@@ -42,7 +42,11 @@ const ipc = ipcRenderer;
const localeMessages = ipc.sendSync('locale-data');
window.updateZoomFactor = () => {
- const zoomFactor = window.getSettingValue('zoom-factor-setting') || 100;
+ let zoomFactor = window.getSettingValue('zoom-factor-setting') || 100;
+
+ if (window.screen.width <= 1440) {
+ zoomFactor = zoomFactor - 15;
+ }
window.setZoomFactor(zoomFactor / 100);
};
@@ -176,6 +180,16 @@ window.setSettingValue = async (settingID, value) => {
await Storage.put(settingID, value);
};
+
+window.getLocalValue = (localId) => {
+ const bchatVal = Storage.get(localId);
+ return bchatVal;
+};
+window.setLocalValue = async (localId, value) => {
+ // For auto updating we need to pass the value to the main process
+ await Storage.put(localId, value);
+};
+
window.getMediaPermissions = () => ipc.sendSync('get-media-permissions');
window.setMediaPermissions = value => {
ipc.send('set-media-permissions', !!value);
@@ -236,7 +250,7 @@ window.ReactDOM = require('react-dom');
window.clipboard = clipboard;
window.networkType = 'mainnet';
-
+// window.networkType = 'testnet';
if (window.networkType == 'mainnet') {
window.getSeedNodeList = () =>
process.env.NODE_ENV == 'development'
@@ -245,18 +259,18 @@ if (window.networkType == 'mainnet') {
'https://publicnode2.rpcnode.stream:443',
'https://publicnode3.rpcnode.stream:443',
'https://publicnode4.rpcnode.stream:443',
- 'https://publicnode5.rpcnode.stream:443',
+ // 'https://publicnode5.rpcnode.stream:443',
]
: [
'https://publicnode1.rpcnode.stream:443',
'https://publicnode2.rpcnode.stream:443',
'https://publicnode3.rpcnode.stream:443',
'https://publicnode4.rpcnode.stream:443',
- 'https://publicnode5.rpcnode.stream:443',
+ // 'https://publicnode5.rpcnode.stream:443',
];
const remotes = [
-
+
{
host: 'publicnode1.rpcnode.stream',
port: '29095',
diff --git a/protos/SignalService.proto b/protos/SignalService.proto
index e234a8f2..d027fa7d 100644
--- a/protos/SignalService.proto
+++ b/protos/SignalService.proto
@@ -6,14 +6,17 @@ message Envelope {
enum Type {
BCHAT_MESSAGE = 6;
CLOSED_GROUP_MESSAGE = 7;
+
}
+
// @required
required Type type = 1;
optional string source = 2;
// @required
required uint64 timestamp = 5;
optional bytes content = 8;
+ optional bool isBnsHolder = 9;
}
message TypingMessage {
diff --git a/stylesheets/_avatar.scss b/stylesheets/_avatar.scss
index b08f7034..08a2a138 100644
--- a/stylesheets/_avatar.scss
+++ b/stylesheets/_avatar.scss
@@ -7,12 +7,16 @@ $borderAvatarColor: unquote(
position: relative;
vertical-align: middle;
display: inline-block;
- border-radius: 50%;
+ // border-radius: 50%;
flex-shrink: 0;
+ // border-radius: 7px;
+ overflow: hidden;
+ border-radius: 12px;
img {
object-fit: cover;
- border-radius: 27%;
+ // border-radius: 27%;
+ border-radius: 7px;
border: 1px solid $borderAvatarColor;
}
}
@@ -50,16 +54,26 @@ $borderAvatarColor: unquote(
}
}
-.module-avatar__icon-closed .module-avatar--64,
-.module-avatar--64 {
- height: 64px;
- width: 64px;
+.module-avatar__icon-closed .module-avatar--60,
+.module-avatar--60 {
+ height:60px;
+ width: 60px;
img {
- height: 64px;
- width: 64px;
+ height: 60px;
+ width: 60px;
}
}
+// .module-avatar__icon-closed .module-avatar--64,
+// .module-avatar--64 {
+// height: 64px;
+// width: 64px;
+
+// img {
+// height: 64px;
+// width: 64px;
+// }
+// }
.module-avatar__icon-closed .module-avatar--80,
.module-avatar--80 {
@@ -67,8 +81,8 @@ $borderAvatarColor: unquote(
width: 85px;
img {
- height: 80px;
- width: 80px;
+ height: 85px;
+ width: 85px;
}
}
@@ -83,6 +97,11 @@ $borderAvatarColor: unquote(
}
.module-avatar__icon-closed {
+ .module-avatar:first-child{
+ z-index: 1;
+ // box-shadow: 3px 3px 0px 0px rgba(0,0,0 ,75%);
+ box-shadow: 2px 2px 2px 0px var(--color-chatHeader);
+ }
.module-avatar:last-child {
position: absolute;
right: 0px;
@@ -97,3 +116,13 @@ $borderAvatarColor: unquote(
filter: grayscale(0.7);
}
}
+.module-avatar-verify-wrapper {
+ position: relative;
+ border: 2px solid #00bd40;
+ border-radius: 14px;
+ transition: 0.25s;
+ &-verify-tag {
+ transition: 0.25s;
+ position: absolute;
+ }
+}
diff --git a/stylesheets/_bchat.scss b/stylesheets/_bchat.scss
index bb254143..8ff4286b 100644
--- a/stylesheets/_bchat.scss
+++ b/stylesheets/_bchat.scss
@@ -1,4 +1,4 @@
-$onionPathLineColor: #d1d1d1;
+$onionPathLineColor: #ebebeb;
#root {
height: 100%;
@@ -7,6 +7,8 @@ $onionPathLineColor: #d1d1d1;
.subtle {
opacity: $bchat-subtle-factor;
width: 290px;
+ line-height: 20px;
+ text-align: initial;
}
.soft {
@@ -70,7 +72,15 @@ textarea {
position: relative;
}
-.button-group > div {
+.grey-border {
+ width: 70%;
+ height: 0.5px;
+ background: #6f6f6f;
+ margin: 10px 0;
+ opacity: 0.3;
+}
+
+.button-group>div {
display: inline-flex;
margin-inline-start: 5px;
margin-inline-end: 5px;
@@ -102,181 +112,324 @@ textarea {
cursor: default;
}
- &.default,
- &.square,
- &.brand {
- color: var(--color-foreground-primary);
+ &.default {
+ min-width: 165px;
+ height: 70px;
+ align-items: center;
+ padding: 0px $bchat-margin-lg;
+ font-size: $bchat-font-lg;
+ font-weight: 600;
+ border-radius: 13px;
- // &:not(.disabled):hover {
- // // opacity: 0.8;
- // }
+ &.primary {
+ background-color: #008e00;
+ color: #f0f0f0;
+ }
- &.green,
- &.white,
- &.primary,
- &.secondary,
- &.success,
- &.danger,
- &.warning {
- &.disabled {
- // filter: brightness(60%);
- background-color: var(--color-disableBtn);
- color: var(--color-disableTxt);
- cursor: not-allowed;
- }
+ &.disabled {
+ background-color: #2e333d;
+ color: #858598;
}
- &.green {
- // background-image: var(--button-color);
- background-color: var(--button-color);
+ &.secondary {
+ background: var(--color-secondary-btn-bg);
+ // color: #f0f0f0;
+ }
- color: var(--color-text-opposite);
- font-family: $bchat-font-poppin-semibold;
- &:hover {
- background-color: $bchat-button-hovor-color;
- color: white;
- }
+ &.danger {
+ background-color: #ff3e3e;
+ color: #f0f0f0;
}
- &.white {
+ &.enable {
+ background-color: var(--color-enable-btn-bg);
color: var(--color-text);
- background-color: var(--color-cancelBtn-bg);
- &:hover {
- background-color: var(--color-leave-button);
- }
}
+ }
+
+ &.default-outline {
+ min-width: 165px;
+ height: 70px;
+ align-items: center;
+ padding: 0px $bchat-margin-lg;
+ font-size: $bchat-font-lg;
+ font-weight: 600;
+
+ border-radius: 13px;
&.primary {
- background-color: var(--color-background-primary);
- color: var(--color-text);
- border-radius: 10px;
+ border: 1px solid $bchat-button-green-color;
+ color: #f0f0f0;
+ }
+ }
- &:hover {
- background-color: var(--color-leave-button);
- }
+ // &.default,
+ // &.square,
+ // &.brand {
+ // color: var(--color-foreground-primary);
- .bchat-icon {
- fill: var(--color-foreground-primary);
- }
+ // &:not(.disabled):hover {
+ // // opacity: 0.8;
+ // }
+
+ // &.green,
+ // &.white,
+ // &.primary,
+ // &.secondary,
+ // &.success,
+ // &.danger,
+ // &.warning {
+ // &.disabled {
+ // // filter: brightness(60%);
+ // background-color: var(--color-disableBtn);
+ // color: var(--color-disableTxt);
+ // cursor: not-allowed;
+ // }
+ // }
+
+ // &.green {
+ // // background-image: var(--button-color);
+ // background-color:$bchat-button-green-color;
+
+ // color: var(--color-text-opposite) ;
+ // font-family: $bchat-font-poppin-semibold;
+ // height: 60px;
+ // // &:hover {
+ // // background-color: $bchat-button-hovor-color;
+ // // color: white;
+ // // }
+ // }
+
+ // &.white {
+ // color: var(--color-text);
+ // background-color: var(--color-cancelBtn-bg);
+ // &:hover {
+ // background-color: var(--color-leave-button);
+ // }
+ // }
+
+ // &.primary {
+ // background-color: var(--color-background-primary);
+ // color: var(--color-text);
+ // border-radius: 10px;
+
+ // &:hover {
+ // background-color: var(--color-leave-button);
+ // }
+
+ // .bchat-icon {
+ // fill: var(--color-foreground-primary);
+ // }
+ // }
+
+ // &.secondary {
+ // background-color: $bchat-color-secondary;
+ // }
+
+ // &.success {
+ // // background-color: $bchat-color-success;
+ // background-color: #1f1f29;
+ // color: white;
+ // }
+
+ // &.danger {
+ // // background-color: $bchat-color-danger;
+ // background-color: #e22b2b;
+ // color: #ffffff;
+ // &:hover {
+ // background-color: #ff2727;
+ // }
+ // }
+
+ // &.danger-alt {
+ // background-color: $bchat-color-danger-alt;
+ // }
+
+ // &.warning {
+ // background-color: $bchat-color-warning;
+ // }
+ // }
+
+ // &.brand-outline,
+ // &.default-outline,
+ // &.square-outline {
+ // border: none;
+
+ // &.green {
+ // @include transparent-background(white);
+ // // background-image: var(--button-color);
+ // // background-color: $bchat-button-green-color;
+
+ // color:#F0F0F0;
+ // }
+
+ // &.white {
+ // @include transparent-background(var(--color-text));
+ // // background-color:var(--color-body-bg);
+ // box-shadow: 0px 0px 6px 0px #19192424;
+ // &:hover {
+ // background-color: $bchat-button-gray-hover-color;
+ // }
+ // }
+
+ // &.primary {
+ // @include transparent-background($bchat-color-primary);
+ // }
+
+ // &.secondary {
+ // @include transparent-background($bchat-color-secondary);
+ // }
+
+ // &.danger {
+ // @include transparent-background($bchat-color-danger);
+ // }
+
+ // &.warning {
+ // @include transparent-background($bchat-color-warning-alt);
+ // }
+
+ // &.warning,
+ // &.danger,
+ // &.secondary,
+ // &.primary,
+ // &.white,
+ // &.green {
+
+ // &.disabled {
+ // filter: brightness(60%);
+
+ // &:hover {
+ // filter: brightness(60%);
+ // }
+ // }
+ // }
+ // }
+
+ &.brand {
+ min-width: 200px;
+ height: 60px;
+ align-items: center;
+ padding: 0px $bchat-margin-lg;
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 500;
+ border-radius: 16px;
+
+ &.primary {
+ background: #108d32;
+ color: #f0f0f0;
}
&.secondary {
- background-color: $bchat-color-secondary;
+ background: var(--color-secondary-btn-bg);
+ // color: #f0f0f0;
}
- &.success {
- // background-color: $bchat-color-success;
- background-color: #1f1f29;
- color: white;
+ &.disabled {
+ background-color: var(--color-disableBtn);
+ color: var(--color-disableTxt);
+ cursor: not-allowed;
+ }
+
+ &.enable {
+ background-color: #202329;
+ color: #108d32;
}
&.danger {
- // background-color: $bchat-color-danger;
- background-color: #e22b2b;
- color: #ffffff;
+ background: var(--color-secondary-btn-bg);
+ color: #ff3e3e;
+
&:hover {
- background-color: #ff2727;
+ background-color: #ff3e3e;
+ color: #f0f0f0;
}
}
- &.danger-alt {
- background-color: $bchat-color-danger-alt;
+ &.red {
+ background-color: #ff3e3e;
+ color: #f0f0f0;
}
- &.warning {
- background-color: $bchat-color-warning;
- }
+ // &:not(.disabled):hover {
+ // color: var(--color-text);
+ // border-color: var(--color-text);
+ // }
}
- &.brand-outline,
- &.default-outline,
- &.square-outline {
- border: none;
+ &.medium {
+ min-width: 200px;
+ height: 50px;
+ align-items: center;
+ padding: 0px $bchat-margin-lg;
+ border-radius: 16px;
+ font-size: 16px;
+ font-weight: 300;
- &.green {
- @include transparent-background(var(--color-button-green));
- // background-image: var(--button-color);
- background-color: var(--button-color);
+ &.secondary {
+ background: var(--color-secondary-btn-bg);
+ // color: #f0f0f0;
+ }
- color: white;
+ &.danger {
+ background: var(--color-secondary-btn-bg);
+ color: #ff3e3e;
}
- &.white {
- @include transparent-background(var(--color-text));
- // background-color:var(--color-body-bg);
- box-shadow: 0px 0px 6px 0px #19192424;
- &:hover {
- background-color: $bchat-button-gray-hover-color;
- }
+ &.success {
+ color: #f0f0f0;
+ background: #2f8fff;
}
&.primary {
- @include transparent-background($bchat-color-primary);
+ color: #f0f0f0;
+ background: #108d32;
}
- &.secondary {
- @include transparent-background($bchat-color-secondary);
+ &.red {
+ background-color: #ff3e3e;
+ color: #f0f0f0;
}
+ }
- &.danger {
- @include transparent-background($bchat-color-danger);
- }
+ &.default-outline,
+ &.default,
+ &.brand,
+ &.medium {
+ &.secondary:hover:not(.disabled) {
- &.warning {
- @include transparent-background($bchat-color-warning-alt);
+ background-color: var(--color-secondary-btn-hover-bg);
}
- &.warning,
- &.danger,
- &.secondary,
- &.primary,
- &.white,
- &.green {
- &.disabled {
- filter: brightness(60%);
-
- &:hover {
- filter: brightness(60%);
- }
- }
+ &.primary:hover:not(.disabled) {
+ background-color: var(--color-primary-btn-hover-bg);
}
- }
-
- &.brand {
- min-width: 165px;
- height: 60px;
- align-items: center;
- padding: 0px $bchat-margin-lg;
- font-size: $bchat-font-md;
- font-family: $bchat-font-poppins-bold;
- border-radius: 13px;
- &:not(.disabled):hover {
- color: var(--color-text);
- border-color: var(--color-text);
+ &.success:hover {
+ filter: brightness(80%);
}
}
- &.default,
- &.square,
- &.default-outline,
- &.square-outline {
- border-radius: 7px;
- height: 33px;
- padding: 0px 18px;
- font-size: $bchat-font-sm;
- font-family: $bchat-font-poppin-semibold;
- }
+ // &.default,
+ // &.square,
+ // &.default-outline,
+ // &.square-outline {
+ // border-radius: 7px;
+ // height: 33px;
+ // padding: 0px 18px;
+ // font-size: $bchat-font-sm;
+ // font-family: $bchat-font-poppin-semibold;
+ // }
- &.square,
- &.square-outline {
- border-radius: 7px;
- font-family: $bchat-font-poppin-semibold;
- }
+ // &.square,
+ // &.square-outline {
+ // border-radius: 7px;
+ // font-family: $bchat-font-poppin-semibold;
+ // }
- & > *:hover:not(svg) {
- filter: brightness(80%);
- }
+ // & > *:hover:not(svg) {
+ // filter: brightness(80%);
+ // }
}
.bchat-label {
@@ -318,21 +471,36 @@ textarea {
display: inline-block;
position: relative;
transform: translateZ(0);
-
- // &:hover {
- // color: #159b24;
- // width: 30px;
- // height: 30px;
- // background-color: $bchat-button-gray-hover-color;
- // border-radius: 20px;
- // }
-
transition: opacity $bchat-transition-duration;
+ padding: 5px;
- &.no-opacity {
- color: #159b24;
- background: white;
+ &:hover {
+ border-radius: 8px;
+ background: var(--color-icon-btn-hover);
+ color: var(--color-text);
}
+
+ // &.no-opacity {
+ // color: #159b24;
+ // background: white;
+ // }
+}
+
+.bchat-btn-struct {
+ display: flex;
+ align-items: center;
+ width: 200px;
+ // background-color: $bchat-button-green-color;
+ background-color: var(--color-disableBtn);
+ height: 55px;
+ color: #108d32;
+ /* text-align: center; */
+ justify-content: center;
+ min-width: 165px;
+ border-radius: 12px;
+ font-size: 20px;
+ font-weight: 500;
+ font-family: $bchat-font-default;
}
/* CONVERSATION AND MESSAGES */
@@ -366,23 +534,25 @@ textarea {
.module-conversation-header__title {
flex-direction: column;
+ align-items: flex-start;
}
.module-conversation-header__title-flex {
flex-direction: row;
- .threedot-option {
- width: 38px;
- height: 35px;
- display: flex;
- justify-content: center;
- align-items: center;
- padding-bottom: 2px;
- &:hover {
- background-color: var(--color-profile-close);
- border-radius: 20px;
- }
- }
+ // .threedot-option {
+ // width: 38px;
+ // height: 35px;
+ // display: flex;
+ // justify-content: center;
+ // align-items: center;
+ // padding-bottom: 2px;
+ // cursor: pointer;
+ // &:hover {
+ // background-color: var(--color-profile-close);
+ // border-radius: 20px;
+ // }
+ // }
}
.module-conversation__user__profile-name,
@@ -392,8 +562,8 @@ textarea {
.module-message__author-avatar {
position: relative;
- margin-inline-end: 20px;
- padding-top: 5px;
+ margin-inline-end: 10px;
+ // padding-top: 5px;
padding-inline-end: 4px;
}
@@ -427,7 +597,7 @@ pre {
position: relative;
display: inline-block;
overflow: hidden;
- min-width: 30px;
+ min-width: 93px;
// To limit messages with things forcing them wider, like long attachment names
max-width: calc(100vw - 380px - 100px);
align-items: center;
@@ -443,10 +613,11 @@ label {
position: relative;
overflow: hidden;
- border-top-left-radius: $bchat_message-container-border-radius;
- border-bottom-left-radius: $bchat_message-container-border-radius;
- border-top-right-radius: 5px;
- border-bottom-right-radius: 5px;
+ // border-top-left-radius: $bchat_message-container-border-radius;
+ // border-bottom-left-radius: $bchat_message-container-border-radius;
+ // border-top-right-radius: 5px;
+ // border-bottom-right-radius: 5px;
+ padding: 10px 10px 0;
}
.module-message__container--outgoing--first-of-series {
@@ -467,6 +638,46 @@ label {
}
}
+.audio-message {
+
+ // height: 40px;
+ .timer {
+ width: 60px;
+ font-size: 14px;
+ font-style: normal;
+ font-weight: 600;
+ line-height: normal;
+ padding-left: 10px;
+ }
+
+ .timer-outgoing {
+ color: #f0f0f0;
+ }
+
+ .play-speed-btn {
+ width: 36px;
+ height: 22px;
+ flex-shrink: 0;
+ border-radius: 12px;
+ background: #004f16;
+ color: #f0f0f0;
+ // font-family: Poppins;
+ font-size: 12px;
+ font-style: normal;
+ font-weight: 600;
+ line-height: normal;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ }
+
+ .play-speed-btn-incoming {
+ background-color: var(--color-speedPlay-bg);
+ color: var(--color-text);
+ }
+}
+
.module-conversation-header {
position: relative;
padding: 0px $bchat-margin-lg 0px $bchat-margin-sm;
@@ -487,7 +698,6 @@ label {
.Toastify__toast {
background: var(--color-toast-success);
- font-family: $bchat-font-poppin-medium;
// background: linear-gradient(--color-cell-background);
@@ -503,25 +713,25 @@ label {
}
@mixin set-toast-theme($color) {
- border: 1x solid #919191 !important;
- background: $color;
- border-radius: 15px;
+ border-radius: 16px;
+ border-left: 4px solid $color;
+ background: var(--color-toast-bg);
}
&--success {
- @include set-toast-theme(var(--color-toast-success));
+ @include set-toast-theme(#00a638);
}
&--info {
- @include set-toast-theme(var(--color-toast-success));
+ @include set-toast-theme(#2f8fff);
}
&--warning {
- @include set-toast-theme(var(--color-toast-error));
+ @include set-toast-theme(#f0af13);
}
&--error {
- @include set-toast-theme(var(--color-toast-error));
+ @include set-toast-theme(#ff3e3e);
}
.Toastify__progress-bar {
@@ -535,47 +745,55 @@ label {
min-width: 300px;
border-radius: 18px;
box-sizing: border-box;
- max-height: 70vh;
+ // max-height: 70vh;
max-width: calc(min(70vw, 800px));
- font-family: $bchat-font-default;
- background-color: var(--color-smModal-bg);
+ // background-color: var(--color-smModal-bg);
+ background-color: var(--color-modal-bg);
color: var(--color-text);
- border: var(--border-bchat);
+ // border: var(--border-bchat);
box-shadow: var(--color-bchat-shadow);
overflow: hidden;
display: flex;
flex-direction: column;
+ position: relative;
&__header {
display: flex;
flex-direction: row;
- justify-content: space-between;
- align-items: center;
+ // justify-content: space-between;
+ // align-items: center;
- padding: $bchat-margin-lg;
+ padding: 25px;
padding-bottom: 0px;
font-family: $bchat-font-poppins-bold;
- text-align: center;
+ // text-align: center;
line-height: 18px;
- font-size: $bchat-font-md;
- font-weight: bold;
+ font-size: $bchat-font-h3;
+ font-weight: 500;
+ margin-top: 10px;
&.reverse {
flex-direction: row-reverse;
- .bchat-modal__header__close > div {
+ .bchat-modal__header__close>div {
float: right;
}
- .bchat-modal__header__icons > div {
+ .bchat-modal__header__icons>div {
float: left;
padding-inline-start: 0px;
padding-inline-end: 10px;
}
}
+ &__iconHeader {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
&__icons,
&__close {
display: flex;
@@ -583,6 +801,7 @@ label {
width: 30px;
height: 30px;
margin-right: 20px;
+
&:hover {
background-color: var(--color-profile-close);
border-radius: 20px;
@@ -597,28 +816,32 @@ label {
float: right;
}
- &__close > div {
+ &__close>div {
float: left;
padding: $bchat-margin-xs;
margin: 0px;
}
- &__icons > div {
+ &__icons>div {
float: right;
padding-inline-start: 10px;
}
}
&__body {
- padding: 0px $bchat-margin-lg 0px $bchat-margin-lg;
+ padding: 0px $bchat-margin-sm 0px $bchat-margin-xs;
font-family: $bchat-font-default;
line-height: $bchat-font-md;
font-size: $bchat-font-md;
overflow-y: auto;
overflow-x: hidden;
-
+ max-height: 65vh;
+ // ::-webkit-scrollbar {
+ // display: none;
+ // }
.message {
text-align: center;
+
}
.bchat-id-editable {
@@ -632,28 +855,103 @@ label {
width: 100%;
}
- &__box {
- background-color: var(--color-settingIndication);
- width: 70%;
+ &__seedPhrase {
display: flex;
- flex-direction: column;
align-items: center;
- margin: 200px auto;
justify-content: center;
- border-radius: 15px;
- padding: 0 6%;
+ height: 95%;
+
+ .box {
+ padding: 0 6%;
+ }
+
+ .subLayer {
+ // margin: 200px auto;
+ width: 55%;
+ background-color: var(--color-settingIndication);
+ // display: flex;
+ // flex-direction: column;
+ border-radius: 15px;
+ overflow: hidden;
+
+ .subText {
+ color: #f0af13;
+ font-weight: 500;
+ font-size: 16px;
+ margin-bottom: 25px;
+ }
+ }
}
+ // &__box {
+ // // background-color: var(--color-settingIndication);
+ // // width: 70%;
+ // // display: flex;
+ // // flex-direction: column;
+ // // align-items: center;
+ // // margin: 200px auto;
+ // // justify-content: center;
+ // // border-radius: 15px;
+ // padding: 0 6%;
+ // }
+
+ // &__subLayer {
+ // // margin: 200px auto;
+ // width: 70%;
+ // background-color: var(--color-settingIndication);
+ // // display: flex;
+ // // flex-direction: column;
+ // border-radius: 15px;
+ // overflow: hidden;
+
+ // .subText {
+ // color: #F0AF13;
+ // font-weight: 500;
+ // font-size: 16px;
+ // margin-bottom: 25px;
+ // }
+ // }
+
&__centered {
display: flex;
flex-direction: column;
align-items: center;
// to allow new lines
- white-space: pre-wrap;
+ // white-space: pre-wrap;
+ // overflow-y: auto;
+ overflow-x: hidden;
+ // max-height: 513px;
+ padding: 0px $bchat-margin-md 0px $bchat-margin-md;
+ }
+
+ &__deleteAccountModal {
+ width: 550px;
+ text-align: left;
+
+ .fontSemiBold {
+ font-family: $bchat-font-default;
+ font-weight: 400;
+ font-size: 15px;
+ line-height: 20px;
+ color: #a7a7ba;
+ text-align: left;
+ display: inline-grid;
+ }
+
+ .buttons {
+ height: 110px;
+ width: 100%;
+ display: flex;
+ flex-direction: row;
+ // justify-content: space-between;
+ align-items: center;
+ }
}
&__description {
- font-family: $bchat-font-poppin-semibold;
+ font-size: 22px;
+ font-weight: 700;
+ margin-bottom: 10px;
}
&__button-group {
@@ -676,6 +974,7 @@ label {
border-radius: 5px;
box-shadow: var(--color-bchat-shadow);
}
+
.copyIconBtn:hover {
transform: scale(1.1);
color: #1ced23;
@@ -696,6 +995,7 @@ label {
.bchat-button.brand-outline {
height: 45px;
}
+
.bchat-button.brand-outline.primary {
background-color: var(--color-walcancelBtn);
box-shadow: var(--color-bchat-shadow);
@@ -709,6 +1009,7 @@ label {
}
}
}
+
// .bchat-button.default.primary
// {
// background-image: var(--button-color);
@@ -722,10 +1023,16 @@ label {
&__text-highlight {
// @include text-highlight($bchat-color-green);
- font-family: $bchat-font-poppin-medium;
+ // font-family: $bchat-font-poppin-medium;
font-size: $bchat-font-lg;
- color: var(--color-seed);
font-style: normal;
+ font-weight: 400;
+ background-color: var(--color-recovery-seed-bg);
+ border: 1px solid var(--color-search-border);
+ border-radius: 14px;
+ padding: 30px;
+ margin-top: 15px;
+ white-space: none;
}
&-recovery-key {
@@ -748,6 +1055,7 @@ label {
&__input-group {
width: 87%;
}
+
&-walletPassword {
align-items: center;
display: flex;
@@ -762,6 +1070,7 @@ label {
// background-color: #2d2d3b;
// background-color: var(--color-WalcontentBg);
border-radius: 10px;
+
&-walletImg {
width: 25%;
height: 103px;
@@ -771,10 +1080,12 @@ label {
// background-image: url('../images/wallet/Password_image.svg');
background-image: var(--img-walPassword);
}
+
&-headerBox {
display: flex;
align-items: center;
justify-content: center;
+
span {
font-family: $bchat-font-poppins-bold;
margin-left: 10px;
@@ -785,6 +1096,7 @@ label {
&-inputBox {
margin: 0 auto;
width: 73%;
+
input {
outline: none;
border: none;
@@ -793,6 +1105,7 @@ label {
text-align: center;
}
}
+
&-loader,
&-forgotpasswordLoader {
width: 500px;
@@ -804,16 +1117,19 @@ label {
display: flex;
align-items: center;
}
+
&-forgotpasswordLoader {
width: 590px;
height: 476px;
}
+
&-forgotTxt {
text-align: center;
color: #1bb51e;
font-size: 12px;
text-decoration: underline;
}
+
.bchat-button.brand-outline.green {
width: 33%;
margin: auto;
@@ -824,176 +1140,370 @@ label {
}
&-imgConfirmBox {
- width: 380px;
- margin: 20px 20px 10px;
+ width: 400px;
+ margin: 35px 20px 25px;
+ font-family: $bchat-font-default;
+
&-header {
- font-family: $bchat-font-poppin-semibold;
font-size: 16px;
+ font-weight: 700;
}
+
&-message {
- font-family: $bchat-font-poppin-light;
line-height: 20px;
+ color: #a7a7ba;
+
span {
- font-family: $bchat-font-poppin-semibold;
+ color: var(--color-text);
font-size: 14px;
}
}
}
-}
-
-.bchat-modal__body {
- display: flex;
- flex-direction: column;
-}
-.walletPassword .bchat-modal__body {
- padding: 0;
-}
-.walletPassword .exitBtn {
- display: flex;
- justify-content: flex-end;
- margin-right: 12px;
- margin-top: 10px;
+ &-bchatConfirm {
+ width: 425px;
+ margin: 0px 0px 25px 5px;
+ font-family: $bchat-font-default;
+ font-size: 16px;
+ text-align: left;
+ }
- article
- {
- display: flex;
- width: 30px;
- height: 30px;
- justify-content: center;
- align-items: center;
+ &__walletModel {
+ width: 390px;
+ margin: 10px 10px 25px;
+ // font-family: 'Poppins';
+ background-color: var(--color-confirm-modal-inner-bg);
+ border-radius: 16px;
+ padding: 20px 20px 0px;
+ max-height: 300px;
+ overflow-x: hidden;
}
-}
-.walletPassword .exitBtn article:hover {
- background-color: var(--color-profile-close);
- border-radius: 20px;
-}
-.blurBg {
- filter: blur(10px);
-}
-.bchat-confirm {
- &-wrapper {
- .bchat-modal__body .bchat-modal__centered {
- // margin: $bchat-margin-lg;
- // margin-top: 30px;
- // margin-bottom: 30px;
- text-align: center;
- // margin-top: 8px;
- font-family: $bchat-font-poppin-regular;
- font-size: 14px;
- &-display {
- user-select: text;
- text-align: center;
- word-break: break-all;
- font-size: $bchat-font-md;
- // padding: 0px $bchat-margin-lg;
- // background-color: var(--color-composeMsgInput);
- background-color: var(--color-background-primary);
- border-radius: 10px;
- padding: 10px 10px 10px 14px;
- font-family: $bchat-font-default;
- font-weight: 100;
- color: #0bb70f;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-direction: row;
- width: 100%;
- min-height: 60px;
- box-shadow: var(--color-bchat-shadow);
+ &-setPasswordAccess {
+ width: 400px;
+ margin: 40px 10px 25px;
+ font-family: $bchat-font-default;
- font-size: $bchat-font-md;
- // padding: 0px $bchat-margin-sm;
- margin: 17px 0px 0;
- }
+ .contentbox {
+ text-align: left;
+ // width: 60%;
+ // width: 414px;
+ // background-color: var(--color-WalcontentBg);
+ // padding: 21px 30px;
+ // border-radius: 10px;
+ // margin: 0px 15px;
+ }
- &-display-icon {
- // background:url('../images/bchat/copy_icon.svg');
- display: flex;
- justify-content: center;
- align-items: center;
- // background-repeat: no-repeat;
- width: 40px;
- height: 40px;
- position: relative;
- // background-color: var(--color-composeMsgInput);
- background-color: var(--color-copyIconBg);
- background-size: 16px;
- border-radius: 30px;
- background-position: center;
- cursor: pointer;
- color: var(--color-copyIcon);
- }
- &-display-icon:hover {
- transform: scale(1.1);
- color: #1ced23;
- }
+ .header {
+ font-family: $bchat-font-default;
+ font-weight: 500;
+ font-size: 20px;
+ }
+
+ .fontSemiBold {
+ font-family: $bchat-font-default;
+ font-weight: 400;
+ font-size: 15px;
+ line-height: 20px;
+ color: #a7a7ba;
+ }
+
+ .span {
+ color: var(--color-text);
+ }
+
+ // .bchat-button.brand.green {
+ // width: 168px;
+ // height: 40px;
+ // border-radius: 5px;
+ // }
+
+ // .flexCenter {
+ // display: flex;
+ // justify-content: center;
+ // }
+ }
+
+ &-setPassword {
+ // width: 425px;
+ margin: 10px 0px 15px;
+ font-family: $bchat-font-default;
+
+ .contentbox {
+ text-align: left;
+ // width: 60%;
+ // width: 414px;
+ // background-color: var(--color-WalcontentBg);
+ // padding: 21px 30px;
+ // border-radius: 10px;
+ // margin: 0px 15px;
+ }
+
+ .header {
+ font-family: $bchat-font-default;
+ font-weight: 500;
+ font-size: 20px;
+ }
+
+ .bchat-input-with-label-container input {
+ border: 1px solid var(--color-search-border);
+ background: var(--color-input-background);
+ }
+
+ .fontSemiBold {
+ font-family: $bchat-font-default;
+ font-weight: 400;
+ font-size: 15px;
+ line-height: 20px;
+ color: #a7a7ba;
+ }
+
+ .span {
+ color: white;
+ }
+
+ // .bchat-button.brand.green {
+ // width: 168px;
+ // height: 40px;
+ // border-radius: 5px;
+ // }
+
+ // .flexCenter {
+ // display: flex;
+ // justify-content: center;
+ // }
+ }
+
+ &-footer {
+ height: 110px;
+ width: 100%;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ background-color: var(--color-modal-footer);
+ align-items: center;
+ }
+}
+
+.buttons {
+ display: flex;
+ width: 180px;
+ margin: auto 0;
+ // background-color: #2e333d;
+ font-weight: 600;
+ border: none;
+ border-radius: 12px;
+ font-size: 12px;
+ // font-family: 'Poppins';
+}
+
+.bchat-modal__body {
+ display: flex;
+ flex-direction: column;
+}
+
+.walletPassword .bchat-modal__body {
+ padding: 0;
+}
+
+.walletPassword .exitBtn {
+ display: flex;
+ justify-content: flex-end;
+ margin-right: 12px;
+ margin-top: 10px;
+
+ article {
+ display: flex;
+ width: 30px;
+ height: 30px;
+ justify-content: center;
+ align-items: center;
+ }
+}
+
+.walletPassword .exitBtn article:hover {
+ background-color: var(--color-profile-close);
+ border-radius: 20px;
+}
+
+.blurBg {
+ filter: blur(10px);
+}
+
+.bchat-confirm {
+ &-wrapper {
+ .bchat-modal__body .bchat-modal__centered {
+ // margin: $bchat-margin-lg;
+ // margin-top: 30px;
+ // margin-bottom: 30px;
+ text-align: center;
+ // margin-top: 8px;
+ font-family: $bchat-font-default;
+ // font-size: 14px;
+
+ // &-display {
+ // user-select: text;
+ // text-align: center;
+ // word-break: break-all;
+ // font-size: $bchat-font-md;
+ // // padding: 0px $bchat-margin-lg;
+ // // background-color: var(--color-composeMsgInput);
+ // background-color: var(--color-background-primary);
+ // border-radius: 10px;
+ // padding: 10px 10px 10px 14px;
+ // font-family: $bchat-font-default;
+ // font-weight: 100;
+ // color: #0bb70f;
+ // display: flex;
+ // justify-content: space-between;
+ // align-items: center;
+ // flex-direction: row;
+ // width: 100%;
+ // min-height: 60px;
+ // box-shadow: var(--color-bchat-shadow);
+
+ // font-size: $bchat-font-md;
+ // // padding: 0px $bchat-margin-sm;
+ // margin: 17px 0px 0;
+ // }
+
+ // &-display-icon {
+ // // background:url('../images/bchat/copy_icon.svg');
+ // display: flex;
+ // justify-content: center;
+ // align-items: center;
+ // // background-repeat: no-repeat;
+ // width: 40px;
+ // height: 40px;
+ // position: relative;
+ // // background-color: var(--color-composeMsgInput);
+ // background-size: 16px;
+ // border-radius: 30px;
+ // background-position: center;
+ // cursor: pointer;
+ // }
+
+ // &-display-icon:hover {
+ // transform: scale(1.1);
+ // color: #1ced23;
+ // }
&-walletModalContent {
align-items: center;
- justify-content: center;
+ // justify-content: center;
width: 100%;
- height: 38px;
- font-family: 'poppin-semibold';
+ height: 45px;
+ font-family: $bchat-font-default;
display: flex;
border-radius: 10px;
+ padding-left: 15px;
+ font-size: 16px;
+
+ &-circle,
+ .selected {
+ width: 18px;
+ height: 18px;
+ border: 2px solid var(--color-radio-icon);
+ border-radius: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 10px;
+
+ &:hover {
+ border: 2px solid #008e00;
+ }
+ }
+
+ .selected {
+ border: 2px solid var(--color-accent);
+ }
}
- &-walletModalContent:hover {
- // background-color: #444455;
- background-color: var(--color-walPopuphover);
+ &-walletModalContent:hover {
+ background-color: var(--color-confirm-modal-hover-bg);
cursor: pointer;
}
+
.isSelect {
- background-color: #2879fb;
+ // background-color: #2879fb;
+ background-color: var(--color-icon-btn-hover);
cursor: pointer;
- color: #fff;
+ // color: #f0f0f0;
+ // height: 45px;
}
&-sendConfirm_content {
text-align: initial;
// width: 300px;
// width: 511px;
- width: 355px;
+
+ width: 600px;
+
+ .box-wrapper {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ padding: 19px;
+ }
.senderBox {
display: flex;
&-address {
- width: 96%;
padding-top: 5px;
- font-size: 13px;
- font-family: 'poppin-light';
+ color: #108d32;
+ font-size: 16px;
+ /* font-style: normal; */
+ font-weight: 400;
line-height: 20px;
}
+
&-details {
width: 79%;
- font-size: 14px;
- font-family: $bchat-font-poppin-light;
- line-height: 17px;
- }
- &-addressColor {
- color: var(--color-confirmAddress);
+
+ // color: #f0f0f0;
+ // font-family: Poppins;
+ font-size: 16px;
+ // font-style: normal;
+ font-weight: 600;
+ // line-height: 26px; /* 162.5% */
}
}
+
&-probTitle {
// width: 100px;
- font-family: $bchat-font-poppin-semibold;
- font-size: 15px;
+ // font-family: $bchat-font-poppin-semibold;
+ font-size: 16px;
+ // font-weight: 600;
+ color: var(--color-modal-disable-txt);
+ width: 150px;
}
&-subHeader {
- font-family: $bchat-font-poppin-light;
+ font-size: 16px;
+ // font-style: normal;
+ font-weight: 400;
+ text-align: start;
+ // line-height: normal;
}
+
&-passwordBox {
- border-bottom: 1px solid #444455;
- width: 358px;
- padding-top: 20px;
+ width: 420px;
+ height: 70px;
+ flex-shrink: 0;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-input-background);
+ display: flex;
+ padding: 0 13px;
+
input {
- text-align: center;
+ // text-align: center;
+ background-color: unset;
}
}
+
&-errorTxt {
height: 16px;
color: red;
@@ -1015,23 +1525,26 @@ label {
}
.bchat-toggle {
- width: 50px;
- height: 22px;
+ // width: 50px;
+ // height: 22px;
+ width: 65px;
+ height: 36px;
/* border: 1.5px solid #e5e5ea; */
- border-radius: 11px;
+ border-radius: 50px;
position: relative;
cursor: pointer;
background-color: var(--color-toggleOff);
- box-shadow: var(--color-bchat-shadow);
+ // box-shadow: var(--color-bchat-shadow);
+ // background-color: #363645;
.knob {
position: absolute;
- top: -2px;
- left: -2.5px;
+ top: 5px;
+ left: 5.5px;
height: 25px;
width: 25px;
border-radius: 28px;
- background-color: #ececec;
+ background-color: var(--color-toggle-btn);
box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.05), 0 3px 1px 0 rgba(0, 0, 0, 0.05),
0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05);
@@ -1045,8 +1558,9 @@ label {
.knob {
transform: translateX(20px);
- background-color: $bchat-color-green;
- left: 10px;
+ // background-color: $bchat-color-green;
+ background-color: #4e8e35;
+ left: 14px;
}
}
}
@@ -1056,19 +1570,25 @@ label {
z-index: 30;
min-width: 215 px;
box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
- background: var(--color-cell-background);
- border-radius: 10px;
- font-family: $bchat-font-poppin-medium;
+ border-radius: 16px;
+ background-color: var(--color-context-menu-bg);
+ // background: #1b1e23;
+ // background: var(--color-cell-background);
+ // border-radius: 10px;
.react-contexify__item {
- background: var(--color-cell-background);
+ // background: var(--color-cell-background);
+ margin: 5px 15px;
+ font-size: 16px;
+ font-weight: 300;
}
- .react-contexify__item:not(.react-contexify__item--disabled):hover
- > .react-contexify__item__content {
- background: var(--color-composeMsgIconBG);
+ .react-contexify__item:not(.react-contexify__item--disabled):hover>.react-contexify__item__content {
+ border-radius: 14px;
+ // background: #333842;
// color: var(--color-text-menu-highlighted);
- color: '#fff';
+ background-color: var(--color-context-menu-hover-bg);
+ color: var(--color-text);
}
.react-contexify__item__content {
@@ -1080,7 +1600,7 @@ label {
top: 0px !important; // height of an item element
.react-contexify__item__content {
- justify-content: center;
+ justify-content: start;
}
}
@@ -1102,12 +1622,17 @@ label {
padding: 0px $bchat-margin-md;
font-size: $bchat-font-sm;
- color: var(--color-text);
- background: var(--color-composeMsgInput);
+ // color: var(--color-text);
+ // background: var(--color-composeMsgInput);
// background: var(--color-cell-background);
+ border-radius: 16px;
+ background: #2e333d;
+ color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 300;
&:hover {
- background: var(--color-clickable-hovered);
+ opacity: 0.9;
}
}
@@ -1169,13 +1694,13 @@ label {
}
}
- &:hover {
- background: var(--color-clickable-hovered);
+ // &:hover {
+ // background: var(--color-clickable-hovered);
- .bchat-icon {
- opacity: 1;
- }
- }
+ // .bchat-icon {
+ // opacity: 1;
+ // }
+ // }
}
.image-upload-section {
@@ -1183,7 +1708,7 @@ label {
align-items: center;
justify-content: center;
position: absolute;
- cursor: pointer;
+ // cursor: pointer;
width: 85px;
height: 85px;
border-radius: 100%;
@@ -1200,32 +1725,54 @@ label {
// }
}
+.camera {
+ background-color: var(--color-modal-icon-bg);
+ border-radius: 20px;
+ width: 34px;
+ height: 34px;
+ position: relative;
+ justify-content: center;
+ background-size: 32px;
+ top: 29px;
+ left: 10px;
+ align-items: center;
+ display: flex;
+ cursor: pointer;
+
+ &:hover {
+ background-color: var(--color-camera-hover-bg);
+ }
+}
+
.qr-image {
display: flex;
justify-content: center;
- border-radius: 30px;
- // margin-bottom: 45px;
- width: 58%;
-
- // background: white;
- padding: 0.2rem;
+ background-color: var(--color-qr-outer-bg);
+ border: 0.73px solid var(--color-search-border);
+ height: 161px;
+ width: 161px;
+ border-radius: 12px;
svg {
- width: 212px !important;
- height: 193px !important;
- // border-radius: 6px;
+ width: 130px !important;
+ height: 135px !important;
+ border-radius: 5px;
// padding: $bchat-margin-xs;
// background-color: $bchat-color-white;
}
}
.qr-box-view {
- width: 100%;
+ width: 415px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
+ font-family: $bchat-font-default;
+ font-weight: 400;
+ color: #a7a7ba;
+ // margin-top: 5px;
}
.qr-center-icon {
@@ -1236,14 +1783,16 @@ label {
}
.profile-header {
- font-family: $bchat-font-poppin-semibold;
+ // font-family: $bchat-font-poppin-semibold;
font-size: 12px;
+ font-weight: 600;
}
.profile-value {
width: 86%;
- font-family: $bchat-font-poppin-medium;
+ // font-family: $bchat-font-poppin-medium;
font-size: 14px;
+ font-weight: 600;
}
.conversation-loader {
@@ -1252,7 +1801,7 @@ label {
left: 50%;
margin: -40px 0 0 -40px;
- & > div {
+ &>div {
display: block;
}
}
@@ -1275,20 +1824,60 @@ label {
// width: calc(100vw - 417px);
// height: 30px;
// bottom: 0;
- background-color: var(--color-walSyncbar);
+ // background-color: var(--color-walSyncbar);
// &-subParent {
// padding: 0 18px;
// }
- &-statusTxt {
- font-size: 12px;
+ height: 50px;
+ border-radius: 10px;
+ background: var(--color-walSyncbar);
+ overflow: hidden;
+
+ .per-Wrapper {
+ // color: #f0f0f0;
+ font-weight: 600;
+ border-radius: 33px;
+ background: var(--color-wallet-status-txt-Bg);
+ padding: 0px 15px;
+ margin-right: 10px;
+ display: flex;
+ align-items: center;
+ }
+
+ &-statusTxt-wrapper {
+ .txt {
+ // color: #f0f0f0;
+ font-weight: 400;
+ border-radius: 33px;
+ background: var(--color-wallet-status-txt-Bg);
+ padding: 5px 15px;
+ margin-right: 10px;
+ }
+
&-greenTxt {
- color: #00bf25;
+ color: #f0f0f0;
+ font-weight: 600;
}
}
+
&-statusvalue {
- font-size: 12px;
- color: #9393b1;
+ // font-size: 12px;
+ // color: #9393b1;
+ padding: 3px 10px;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+
+ .type-txt {
+ color: var(--color-modal-disable-txt);
+ font-weight: 400;
+ }
+
+ .type-value {
+ // color: #f0f0f0;
+ font-size: 12px;
+ font-weight: 600;
+ }
}
&-balance {
@@ -1296,6 +1885,7 @@ label {
font-size: 12px;
font-family: $bchat-font-poppin-semibold;
}
+
&-unlocked-Balance {
color: #0093ff;
font-size: 12px;
@@ -1309,42 +1899,75 @@ label {
}
}
+.wallet-contact-left-pane-wrapper {
+ min-width: 300px;
+ width: 24vw;
+ max-width: 420px;
+ height: 100vh;
+ background-color: var(--color-left-pane-bg);
+}
+
+.address-book-wrapper {
+ background-color: var(--color-wallet-inner-bg);
+ border-radius: 16px;
+}
+
.addressBook {
+ padding: 15px;
+
&-header {
&-txt {
- font-family: $bchat-font-poppin-semibold;
- margin-left: 10px;
- font-size: 15px;
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 600;
+ line-height: 25px;
+ /* 125% */
}
}
+
&-wholeBox {
- height: calc(83vh - 30px);
+ overflow: auto;
+
&-contentBox {
- background-color: var(--color-WalcontentBg);
+ // background-color: var(--color-WalcontentBg);
border-radius: 10px;
- padding: 15px;
+ // padding: 6px 15px;
+ padding: 6px 15px 6px 0;
display: flex;
justify-content: space-between;
- &-nameBtn {
- display: inline-block;
- min-width: 130px;
- background-color: #159b24;
- padding: 4px 27px;
- border-radius: 3px;
- /* margin-bottom: 10px; */
- font-family: 'poppin-semibold';
- color: #fff;
- }
+
+ // &-nameBtn {
+ // display: inline-block;
+ // min-width: 130px;
+ // background-color: #159b24;
+ // padding: 4px 27px;
+ // border-radius: 3px;
+ // /* margin-bottom: 10px; */
+ // // font-family: 'poppin-semibold';
+ // color: #fff;
+ // }
+
.contact {
- font-family: $bchat-font-poppin-medium;
+ // font-family: $bchat-font-poppin-medium;
background-color: unset;
padding: unset;
color: unset;
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 400;
}
+
&-addresstxt {
- font-family: $bchat-font-poppin-light;
- font-size: 11px;
- margin-right: 12px;
+ // font-family: $bchat-font-poppin-light;
+ // font-size: 11px;
+ // margin-right: 12px;
+
+ // overflow: hidden;
+ color: var(--color-last-msg-txt);
+ // text-overflow: ellipsis;
+ // white-space: nowrap;
+ // font-size: 14px;
+ font-weight: 300;
}
.avatarBox {
@@ -1353,39 +1976,13 @@ label {
align-items: center;
margin-right: 10px;
}
+
// .ellipse {
// width: 321px;
// white-space: nowrap;
// overflow: hidden;
// text-overflow: ellipsis;
// }
-
- &-sendBtn,
- &-copyBtn {
- width: 100px;
- background-color: #2879fb;
- height: 40px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 5px;
- font-family: $bchat-font-poppin-semibold;
- cursor: pointer;
- }
- &-sendBtn {
- color: #fff;
-
- &:hover {
- background-color: #0b9fff;
- }
- }
- &-copyBtn {
- background-color: var(--color-walAddressBookCopy);
- margin-left: 10px;
- &:hover {
- background-color: var(--color-addressbook-copy-hover);
- }
- }
}
}
@@ -1393,20 +1990,38 @@ label {
margin: 0 auto;
background-image: var(--image-EmptyAddressBook);
// height: 100%;
- height: 80%;
+ height: 42%;
+ // height: 27%;
+
width: 100%;
background-repeat: no-repeat;
background-position: center;
background-size: 90% 98%;
&-content {
- font-family: $bchat-font-poppin-medium;
- // font-size: 15px;
- color: var(--color-disableText);
- // padding-top: 50%;
- margin: 0;
+ .address-txt {
+ color: #a7a7ba;
+ font-family: $bchat-font-open-sans;
+ font-size: 18px;
+ text-align: center;
+ font-style: normal;
+ font-weight: 600;
+ line-height: normal;
+ }
+
+ .address-hint-txt {
+ color: #82828d;
+ text-align: center;
+ font-weight: 400;
+ }
}
}
+
+ .partition:not(:last-child) {
+ border-bottom: 0.5px solid var(--color-search-border);
+ border-radius: unset;
+ }
+
}
.bchat-settings {
@@ -1418,19 +2033,47 @@ label {
&-list {
overflow-y: auto;
overflow-x: hidden;
- padding: 15px 15px 0 15px;
+ margin: 15px 15px 0 15px;
height: 100%;
+ .bgWrapper {
+ border-radius: 16px;
+ background: var(--color-settings-right-pane-option);
+ }
+
+ .hopes {
+ display: flex;
+ justify-content: center;
+ margin: auto;
+ width: 85%;
+ height: 100%;
+
+ .layer {
+ display: flex;
+ flex-direction: column;
+ width: 90%;
+ // height: 72%;
+ margin: auto;
+ justify-content: center;
+ // background-color: #202329;
+ background-color: var(--color-hop-bg);
+ padding: 30px;
+ border-radius: 16px;
+ }
+ }
+
.noBlockedContacts {
width: 100%;
+ height: 100%;
text-align: center;
margin: 0 auto;
- font-family: 'poppin-semibold';
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
- color: var(--color-disableText);
+ color: #858598;
+ font-size: 24px;
+ font-weight: 400;
.noBlockedContacts-img {
width: 500px;
@@ -1438,7 +2081,7 @@ label {
background-image: var(--image-BlockedContact);
background-repeat: no-repeat;
background-size: contain;
- margin-top: 16%;
+ // margin-top: 16%;
}
}
}
@@ -1450,19 +2093,21 @@ label {
align-items: center;
height: $main-view-header-height;
background-color: var(--color-chatHeader);
+ border-bottom: 1px solid var(--color-setting-header-border);
+ // background: #131313;
&-title {
- line-height: $main-view-header-height;
- font-weight: bold;
- font-size: $bchat-font-lg;
+ // line-height: $main-view-header-height;
text-align: center;
flex-grow: 1;
+ font-size: 24px;
+ font-weight: 600;
}
- &-selectionBox {
- width: 94px;
- padding-left: 7px;
- }
+ // &-selectionBox {
+ // width: 94px;
+ // padding-left: 7px;
+ // }
.bchat-button,
.bchat-icon-button {
@@ -1473,14 +2118,15 @@ label {
&-item {
font-size: $bchat-font-md;
padding: $bchat-margin-lg;
- margin-bottom: 4px;
- border-radius: 10px;
- background-color: var(--color-settingIndication);
- color: var(--color-text);
-
- &:hover {
- background-color: var(--color-settings-options-hover);
- }
+ // margin-bottom: 4px;
+ // border-radius: 10px;
+ // background-color: var(--color-settingIndication);
+ // color: var(--color-text);
+ border-bottom: 0.5px solid var(--color-settings-right-pane-option-border);
+
+ // &:hover {
+ // background-color: var(--color-settings-options-hover);
+ // }
&.inline {
display: flex;
@@ -1498,17 +2144,24 @@ label {
}
&__title {
- line-height: 1.7;
- font-size: $bchat-font-lg;
- font-family: $bchat-font-poppin-semibold;
+ // line-height: 1.7;
+ // font-size: $bchat-font-lg;
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 400;
+ // font-family: $bchat-font-poppin-semibold;
}
&__description {
- font-family: $bchat-font-poppin-regular;
- font-size: $bchat-font-sm;
+ // font-family: $bchat-font-poppin-regular;
+ // font-size: $bchat-font-sm;
font-weight: 100;
max-width: 700px;
@include bchat-color-subtle(var(--color-text));
+
+ color: #a7a7ba;
+ font-size: 16px;
+ font-weight: 400;
}
&__content {
@@ -1522,28 +2175,30 @@ label {
transition: $bchat-transition-duration;
}
- .active {
- background-color: var(--color-inbox-background);
- }
+ // .active {
+ // background-color: var(--color-inbox-background);
+ // }
}
&__dropdownValue,
&-font-Change {
- width: 82px;
- height: 30px;
- border-radius: 4px;
- background-color: var(--color-inboxBgColor);
+ width: 100px;
+ height: 45px;
+ border-radius: 12px;
+ /* background-color: var(--color-inboxBgColor); */
+ background-color: var(--color-conversation-item-selected);
display: flex;
align-items: center;
justify-content: space-around;
padding-left: 10px;
cursor: pointer;
}
+
&-font-Change {
width: 110px;
padding: 0 0px 0 10px;
justify-content: space-around;
- height: 30px;
+ // height: 30px;
}
.react-select-container {
@@ -1559,34 +2214,58 @@ label {
&-circle,
.selected {
- width: 15px;
- height: 15px;
- border: 1px groove #ebebeb;
+ width: 20px;
+ height: 20px;
+ border: 2px solid var(--color-radio-icon);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
+
&:hover {
- border: 1px groove #008e00;
+ border: 2px solid #008e00;
}
}
+
.selected {
- border: 1px solid var(--color-accent);
+ border: 2px solid var(--color-accent);
}
+
&-title {
- font-family: $bchat-font-poppin-medium;
+ // font-family: $bchat-font-poppin-medium;
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 400;
}
}
}
+ &-item:last-child {
+ border-bottom: unset;
+ }
+
+ .notification-setting {
+ .notify-option-wrapper {
+ border-radius: 16px;
+ // background: #202329;
+ background: var(--color-settings-right-pane-option);
+ overflow: hidden;
+ }
+
+ .bchat-settings-item {
+ border: unset;
+ background: var(--color-settings-right-pane-option);
+ border-radius: 16px;
+ }
+ }
+
&-view {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
- background-color: var(--color-rightpaneSetting);
}
&__version-info {
@@ -1615,40 +2294,53 @@ label {
flex-grow: 1;
&-box {
- padding: 45px 60px;
- display: flex;
- flex-direction: column;
- align-items: center;
+ width: 500px;
- max-width: 90%;
- width: 600px;
+ .subBox {
+ padding: 20px 35px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
- background: var(--color-cell-background);
- color: var(--color-text);
+ // max-width: 90%;
+ // width: 600px;
- border: 1px solid $bchat-shade-8;
- border-radius: 5px;
+ background: var(--color-settingIndication);
+ // color: #858598;
+
+ // border: 1px solid $bchat-shade-8;
+ border-radius: 5px;
+ }
- h3 {
- padding: 0px;
- margin-bottom: $bchat-margin-lg;
+ .password {
+ font-size: 22px;
+ font-weight: 700;
+ margin-bottom: 15px;
+ }
+
+ .subtext {
+ font-size: 22px;
+ margin-bottom: 15px;
+ font-weight: 700;
}
input {
width: 100%;
background: var(--color-input-background);
- color: var(--color-text);
-
+ color: #858598;
+ height: 65px;
padding: $bchat-margin-xs $bchat-margin-md;
- margin-bottom: $bchat-margin-lg;
+ // margin-bottom: $bchat-margin-lg;
+ // outline: none;
+ border: 1px solid var(--color-search-border);
+ border-radius: 16px;
+ // text-align: center;
+ font-size: $bchat-font-h4;
+ // letter-spacing: 5px;
+ // font-family: $bchat-font-default;
outline: none;
- border: none;
- border-radius: 2px;
- text-align: center;
- font-size: $bchat-font-xl;
- letter-spacing: 5px;
- font-family: $bchat-font-default;
}
+
.confirm-Button {
.bchat-button.brand {
min-width: 165px;
@@ -1658,7 +2350,7 @@ label {
font-size: 14px;
font-family: 'Poppins';
border-radius: 13px;
- background-color: var(--button-color);
+ background-color: $bchat-button-green-color;
}
}
}
@@ -1669,27 +2361,29 @@ label {
display: flex;
flex-direction: row;
padding-inline-end: 16px;
- padding: 10px 0;
+ padding: 10px 15px;
padding-inline-start: 16px;
align-items: center;
- background-color: var(--color-settingIndication);
- margin-bottom: 2px;
+ background-color: var(--color-blockUserBg);
+ // background-color: #202329;
+ font-family: $bchat-font-default;
+ margin-bottom: 6px;
border-radius: 10px;
}
&-profileName {
- font-family: $bchat-font-poppin-semibold;
font-size: $bchat-font-lg;
+ font-weight: 500;
}
&-acceptButton {
- background-color: $bchat-button-color;
+ background-color: $bchat-button-green-color;
color: white;
padding: 8px 25px;
border-radius: 8px;
- font-family: $bchat-font-poppin-semibold;
margin-right: 20px;
cursor: pointer;
+
&:hover {
background-color: #00ce04;
}
@@ -1733,44 +2427,52 @@ label {
}
}
- &-warnUnsetpass {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: #0000001f;
- &-contentbox {
- text-align: center;
- // width: 60%;
- width: 414px;
- background-color: var(--color-WalcontentBg);
- padding: 21px 30px;
- border-radius: 10px;
- margin: 0px 15px;
- }
- .fontSemiBold {
- font-family: $bchat-font-poppin-semibold;
- font-size: 14px;
- &:hover {
- background-color: var(--color-walletPriorityHover);
- }
- }
- .bchat-button.brand.green {
- width: 168px;
- height: 40px;
- border-radius: 5px;
- }
- .flexCenter {
- display: flex;
- justify-content: center;
- }
- }
+ // &-warnUnsetpass {
+ // width: 100%;
+ // height: 100%;
+ // display: flex;
+ // align-items: center;
+ // justify-content: center;
+ // background-color: #0000001f;
+
+ // &-contentbox {
+ // text-align: left;
+ // // width: 60%;
+ // width: 414px;
+ // background-color: var(--color-WalcontentBg);
+ // padding: 21px 30px;
+ // border-radius: 10px;
+ // margin: 0px 15px;
+ // }
+
+ // .header {
+ // font-family: $bchat-font-default;
+ // font-weight: 500;
+ // font-size: 20px;
+ // }
+
+ // .fontSemiBold {
+ // font-family: $bchat-font-default;
+ // font-weight: 500;
+ // font-size: 14px;
+
+ // .bchat-button.brand.green {
+ // width: 168px;
+ // height: 40px;
+ // border-radius: 5px;
+ // }
+
+ // .flexCenter {
+ // display: flex;
+ // justify-content: center;
+ // }
+ // }
.wallet {
.marginLeft {
margin-left: 10px;
}
+
.marginRight {
margin-right: 10px;
}
@@ -1778,61 +2480,117 @@ label {
.font-medium {
font-family: $bchat-font-poppin-medium;
}
+
.flexCenter {
display: flex;
align-items: center;
}
+
&-header {
display: flex;
width: 100%;
justify-content: space-between;
+ height: 70px;
+ border-bottom: 1px solid #202329;
+
&-left-side,
&-right-side {
display: flex;
align-items: center;
}
+
+ &-left-side {
+ .header-txt {
+ margin-left: 10px;
+ // color: #f0f0f0;
+ font-size: 22px;
+ font-weight: 400;
+ }
+ }
}
+
&-button {
- background-color: var(--color-WalcontentBg);
- border-radius: 50px;
- padding: 10px 14px;
+ // background-color: var(--color-WalcontentBg);
+ // border-radius: 50px;
+ // padding: 10px 14px;
+ padding: 14px 18px;
cursor: pointer;
- &:hover {
- background-color: var(--color-WalcontentBgHover);
- }
+ border-radius: 16px;
+ background: var(--color-secondary-btn-bg);
+ }
+
+ &-button:hover {
+ background-color: var(--color-secondary-btn-hover-bg);
}
+
&-squarBox-bala,
&-squarBox-tran {
- background-color: var(--color-WalcontentBg);
- border-radius: 10px;
- padding: 17px 30px 17px 30px;
+ // background-color: var(--color-WalcontentBg);
+ // border-radius: 10px;
+ // padding: 17px 30px 17px 30px;
+ border-radius: 16px;
+ background: var(--color-wallet-inner-bg);
+ padding: 15px;
}
+
&-squarBox-bala {
- width: 63%;
+ .innerWrapper {
+ border-radius: 16px;
+ background: var(--color-wallet-status-txt-Bg);
+ padding: 15px;
+ }
+
.flexWrap {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
}
+
&-squarBox-tran {
- width: 35.4%;
+ // width: 35.4%;
+ background-color: unset;
+ }
+
+ &-btn-wrapper {
+ border-radius: 16px;
+ background: var(--color-modal-bg);
+ padding: 10px 0;
}
+
&-contentSpace {
- height: calc(100vh - 170px);
+ // height: calc(100vh - 200px);
overflow: auto;
}
+
&-left-balance-Sec {
- font-family: $bchat-font-poppin-semibold;
&-balanceTxt {
- font-size: 22px;
+ // color: #ebebeb;
+ font-size: 24px;
+ font-weight: 700;
}
- &-fiatCurrency {
- font-size: 14px;
- color: #8f8fa2;
+
+ // &-fiatCurrency {
+ // font-size: 14px;
+ // color: #8f8fa2;
+ // }
+ .currencyExt {
+ border-radius: 33px;
+ background: var(--color-wallet-inner-bg);
+ color: var(--color-hop-txt);
+ font-weight: 600;
+ padding: 2px 15px;
+ }
+
+ .currencyVal {
+ color: var(--color-hop-txt);
+ font-size: 18px;
+ font-weight: 700;
+ margin-left: 10px;
}
}
+
&-right-Button-Sec {
&-fetch-btn {
background-color: #2879fb;
@@ -1845,37 +2603,45 @@ label {
font-family: 'poppin-medium';
font-size: 10px;
}
+
&-unlockbal-box {
- background-color: var(--color-walunlockbal);
- height: 60px;
- display: flex;
- align-items: center;
- border-radius: 10px;
- margin-top: 5px;
- padding: 0 20px;
+ // height: 60px;
+ // display: flex;
+ // align-items: center;
+ // border-radius: 10px;
+ // margin-top: 5px;
+ // padding: 0 20px;
&--Text {
- font-size: 11px;
- margin-right: 10px;
- }
- &--verticalLine {
- border-left: 2px solid #afafc194;
- height: 27px;
+ // font-size: 11px;
+ // margin-right: 10px;
+
+ color: var(--color-wallet-unbalance-label);
+ font-size: 18px;
+ font-weight: 400;
}
+
.unBalance {
- font-size: 16px;
- margin-left: 10px;
- text-align: center;
- font-family: 'poppin-semibold';
- }
- .bdx {
- font-family: 'poppin-semibold';
- font-size: 18px;
- color: #a2a2af;
- margin-left: 7px;
+ // font-size: 16px;
+ // margin-left: 10px;
+ // text-align: center;
+ // font-family: 'poppin-semibold';
+ // color: #a7a7ba;
+ color: var(--color-hop-txt);
+ text-align: right;
+ font-size: 22px;
+ font-weight: 600;
}
+
+ // .bdx {
+ // font-family: 'poppin-semibold';
+ // font-size: 18px;
+ // color: #a2a2af;
+ // margin-left: 7px;
+ // }
}
}
+
&-walletPassword {
align-items: center;
display: flex;
@@ -1897,10 +2663,12 @@ label {
margin: auto;
background-image: var(--img-walPassword);
}
+
&-headerBox {
display: flex;
align-items: center;
justify-content: center;
+
span {
font-family: $bchat-font-poppins-bold;
margin-left: 10px;
@@ -1911,6 +2679,7 @@ label {
&-inputBox {
margin: 0 auto;
width: 73%;
+
input {
outline: none;
border: none;
@@ -1919,6 +2688,7 @@ label {
text-align: center;
}
}
+
&-loader,
&-forgotpasswordLoader {
width: 500px;
@@ -1930,16 +2700,19 @@ label {
display: flex;
align-items: center;
}
+
&-forgotpasswordLoader {
width: 590px;
height: 476px;
}
+
&-forgotTxt {
text-align: center;
color: #1bb51e;
font-size: 12px;
text-decoration: underline;
}
+
.bchat-button.brand-outline.green {
width: 33%;
margin: auto;
@@ -1948,6 +2721,7 @@ label {
}
}
}
+
&-progressSync {
&-presentage {
text-align: center;
@@ -1955,11 +2729,13 @@ label {
font-size: 20px;
color: #128b17;
}
+
&-barBg {
width: 100%;
height: 10px;
background-color: var(--color-walSyncbar);
padding-top: 2px;
+
.bar {
background-color: #1bb51e;
width: 40%;
@@ -1967,109 +2743,94 @@ label {
margin-top: 1px;
}
}
+
&-reloadTxt {
text-align: center;
font-family: $bchat-font-poppin-semibold;
font-size: 14px;
}
+
&-bRemaing {
text-align: center;
}
}
+
&-myAddress-Box {
display: flex;
- // justify-content: space-between;
+ width: 100%;
+ padding: 15px;
+ border-radius: 12px;
+ background: var(--color-wallet-inner-bg);
+ justify-content: space-between;
align-items: center;
- // justify-content: space-between;
+
&-content {
- // width: 90%;
- // // height: 38px;
- // height: 50px;
- // // background-color: #1c1c26;
- // background-color: var(--color-walInputBg);
- // border-radius: 10px;
- // display: flex;
- // justify-content: center;
- // align-items: center;
- // // padding: 15px;
- // font-family: $bchat-font-poppin-light;
- // font-size: 12px;
- // padding: 8px;
- // width: 87%;
- // width: 90%;
- width: 200px;
- /* height: 50px; */
- background-color: var(--color-walInputBg);
- border-radius: 10px;
- /* display: flex; */
- /* justify-content: center; */
- /* align-items: center; */
- font-family: 'poppin-light';
- font-size: 12px;
- padding: 15px 8px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
+ width: 88%;
margin-right: 10px;
- /* cursor: pointer; */
- // margin-right: 13px;
+
+ .addres-title {
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 600;
+ }
+
+ .address-txt {
+ color: #108d32;
+ font-size: 16px;
+ font-weight: 400;
+ }
}
&-copyIcon-box {
display: flex;
justify-content: center;
align-items: center;
- // width: 30px;
- // height: 30px;
- width: 35px;
- height: 35px;
- position: relative;
- // background-color: #fff;
- background-color: var(--button-color);
-
- background-size: 16px;
- border-radius: 30px;
- background-position: center;
+ width: 40px;
+ height: 40px;
+ background-color: var(--color-secondary-btn-bg);
+ border-radius: 12px;
cursor: pointer;
- // color: var(--color-copyIcon);
- color: #fff;
}
+
&-copyIcon-box:hover {
// transform: scale(1.1);
// color: #1ced23;
- background-color: #29b52f;
+ background-color: var(--color-secondary-btn-hover-bg);
}
}
+
&-sendForm {
// background-color: #303041;
- background-color: var(--color-WalcontentBg);
+ // background-color: var(--color-WalcontentBg);
width: 100%;
border-radius: 10px;
padding: 15px;
+
&-label {
// width: 77px;
// width: calc(20% + 30px);
width: 90px;
+ color: var(--color-text);
+ /* font-family: Poppins; */
+ font-size: 18px;
+ /* font-style: normal; */
+ font-weight: 400;
}
+
&-inputBox {
width: 100%;
// height: 60px;
// background-color: #1c1c26;
- background-color: var(--color-walInputBg);
- border-radius: 10px;
+ // background-color: var(--color-walInputBg);
+ // border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
padding: 8px;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
- .priortyBox {
- width: 90%;
- // height: 40px;
- height: 55px;
- display: flex;
- align-items: center;
- }
select {
width: 100%;
border: none;
@@ -2086,26 +2847,30 @@ label {
// -webkit-padding-start: 2px;
// -webkit-user-select: none;
}
+
option {
background-color: var(--color-walInputBg);
padding: 8px;
+
i {
padding: 8px;
height: 40px;
}
}
+
.bchat-button.brand.green {
height: 35px;
border-radius: 6px;
width: 139px;
}
+
input {
border: none;
outline: none;
width: 100%;
height: 40px;
- font-family: $bchat-font-poppin-light;
- font-size: 12px;
+ font-size: 18px;
+ font-weight: 400;
}
// input::-webkit-outer-spin-button,
@@ -2114,21 +2879,43 @@ label {
// margin: 0;
// }
}
+
+ &-priorty-wrapper {
+ border-radius: 16px;
+ background: var(--color-modal-bg);
+ width: 110px;
+ height: 46px;
+ flex-shrink: 0;
+ margin-left: 10px;
+ display: flex;
+ /* justify-content: center; */
+ align-items: center;
+ padding: 15px;
+
+ .txt {
+ color: var(--color-hop-txt);
+ font-size: 18px;
+ font-weight: 500;
+ margin-left: 5px;
+ }
+ }
+
&-textArea {
width: 100%;
border: 0px;
height: 100px;
resize: none;
outline: none;
- font-family: $bchat-font-poppin-light;
- font-size: 12px;
+ font-size: 18px;
+ font-weight: 400;
}
+
&-sendBtnBox {
display: flex;
justify-content: center;
align-items: center;
- height: 100%;
width: 100%;
+
.bchat-button.brand.green {
width: 10px;
height: 44px;
@@ -2137,72 +2924,73 @@ label {
}
&-receivedForm {
- // background-color: #303041;
- background-color: var(--color-WalcontentBg);
- // height: 58%;
- display: flex;
+ align-items: center;
width: 100%;
- border-radius: 10px;
- // padding: 40px;
- padding: 59px 40px;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ padding: 15px;
+
+ &-title {
+ color: var(--color-text);
+ font-size: 18px;
+ font-weight: 600;
+ margin: 0;
+ }
+
&-qrBox {
// width: 210px;
// height: 210px;
padding: 15px;
- background-color: var(--color-walQrOutline);
- border-radius: 10px;
+ // border-radius: 10px;
+ border-radius: 16px;
+ background: var(--color-qr-outer-bg);
&-qrView {
display: flex;
justify-content: center;
/* border-radius: 30px; */
- width: 210px;
- height: 210px;
+ width: 177px;
+ height: 185px;
padding: 0.2rem;
- background-color: #fff;
+ background-color: #d9d9d9;
+ border-radius: 16px;
+ overflow: hidden;
}
}
+
&-rightSide {
- margin-left: 26px;
+ // margin-left: 26px;
+ width: 100%;
+
&-Title {
font-size: 28px;
- font-family: $bchat-font-poppins-bold;
}
+
&-label {
- color: #8f8fa2;
- font-family: $bchat-font-poppin-regular;
- margin-bottom: 5px;
+ // color: #f0f0f0;
+ font-size: 17px;
+ font-weight: 400;
}
+
&-input {
border: none;
outline: none;
width: 100%;
- // background-color: #1c1c26;
- background-color: var(--color-walInputBg);
- height: 50px;
- border-radius: 10px;
+ height: 70px;
padding-left: 20px;
- }
- &-btn {
- // background-color: #128b17;
- background-color: var(--button-color);
- font-family: $bchat-font-poppin-semibold;
- width: 157px;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 39px;
- border-radius: 6px;
- cursor: pointer;
- color: #fff;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
}
}
}
+
&-forgotPassword {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
+
&-content-Box {
display: flex;
flex-direction: column;
@@ -2216,15 +3004,18 @@ label {
background-color: var(--color-WalcontentBg);
border-radius: 10px;
margin: 5% 0px;
+
&-title {
text-align: center;
font-size: 18px;
font-family: $bchat-font-poppins-bold;
padding-top: 20px;
}
+
&-seed {
display: flex;
flex-direction: row;
+
textarea {
border: none;
outline: none;
@@ -2241,25 +3032,7 @@ label {
border-radius: 10px;
}
}
- &-paste-icon {
- background: url('../images/bchat/paste.svg') no-repeat;
- width: 35px;
- height: 35px;
- background-color: var(--color-inboxBgColor);
- background-size: 14px;
- border-radius: 35px;
- background-position: center;
- left: 10px;
- top: 19px;
- position: relative;
- cursor: pointer;
- box-shadow: var(--color-bchat-shadow);
- }
- &-paste-icon:hover {
- // transform: scale(1.1);
- background-color: var(--color-wallet-copy-hover);
- // color: #1ced23;
- }
+
&-password {
input {
border: none;
@@ -2276,6 +3049,7 @@ label {
padding: 10px;
}
}
+
&-disClaimerBox {
// width: 86%;
// padding-top: 12px;
@@ -2289,19 +3063,29 @@ label {
&-settings {
&-tabBox {
- // background-color: #2d2d3b;
- background-color: var(--color-WalcontentBg);
+ background-color: #202329;
+ // background-color: var(--color-WalcontentBg);
padding: 20px;
border-radius: 10px;
+ background-color: var(--color-settings-right-pane-option);
&-disableText {
- color: #a1a1bc;
+ color: #a7a7ba;
padding-right: 12px;
}
+
+ &-title {
+ font-family: $bchat-font-default;
+ font-size: 18px;
+ font-weight: 500;
+ }
+
&-subtle {
- font-family: $bchat-font-poppin-semibold;
+ font-family: $bchat-font-default;
font-size: 16px;
+ font-weight: 400;
}
+
&-checkBox {
display: block;
border: 2px solid var(--color-text);
@@ -2309,22 +3093,28 @@ label {
height: 15px;
border-radius: 3px;
}
+
.subBox {
padding: 0px 10px;
border-radius: 7px;
+
&:hover {
- background-color: var(--color-settings-options-hover);
+ // background-color: var(--color-settings-options-hover);
+ background-color: var(--color-context-menu-bg);
+ // background-color: #1b1e23;
}
}
}
&-nodeSetting {
&-contentBox {
- // background-color: #303041;
- background-color: var(--color-WalcontentBg);
+ // background-color: #202329;
+ background-color: var(--color-settings-right-pane-option);
+ // background-color: var(--color-WalcontentBg);
border-radius: 10px;
- padding: 15px;
+ padding: 25px 20px 20px;
}
+
&-FlexBox {
display: flex;
justify-content: center;
@@ -2334,67 +3124,102 @@ label {
&-outlineCircle {
border: 2px solid var(--color-text);
/* padding: 2px; */
- width: 20px;
- height: 20px;
- padding: 0;
+ width: 19px;
+ height: 19px;
+ padding: 3px;
border-radius: 36px;
display: flex;
justify-content: center;
align-items: center;
}
+
+ &-radio-label {
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 400;
+ }
}
+
// .bchat-modal__centered {
// text-align: unset;
// align-items: unset;
// }
&-notesTxt {
- font-family: $bchat-font-poppin-light;
+ color: #a7a7ba;
+ font-size: 18px;
+ font-weight: 400;
}
+
&-dropDownHeaderTxt {
- font-family: $bchat-font-poppin-semibold;
- color: var(--color-walletNodeHeader);
- font-size: 16px;
+ background-color: var(--color-conversation-item-selected);
+ padding: 20px;
+ border-radius: 16px;
+ height: 50px;
+ align-items: center;
+
+ .text {
+ font-size: 14px;
+ font-weight: 300;
+ }
}
+
&-horizontalLine {
background-color: #707070;
width: 100%;
height: 1.5px;
}
+
&-dropDownModal,
&-sendDropDown {
position: absolute;
// background-color: #1c1c26;
- background-color: var(--color-walInputBg);
+ // background-color: var(--color-walInputBg);
width: 95%;
- top: 2px;
- padding: 19px;
- border-radius: 10px;
+ top: 2px;
+ // padding: 19px;
+ // border-radius: 10px;
box-shadow: 1px -1px 10px #00000074;
// max-height: 140px;
max-height: 171px;
overflow: auto;
+ padding: 15px;
+ border-radius: 16px;
+ background: var(--color-context-menu-bg);
&-items {
margin-bottom: 5px;
display: flex;
align-items: baseline;
padding: 10px 19px;
- &:hover {
- background-color: var(--color-walletPriorityHover);
- }
}
- }
- &-dropDownModal {
- padding: 19px 0px;
+
+ &-items:hover {
+ border-radius: 16px;
+ background: var(--color-context-menu-hover-bg);
+ }
}
&-sendDropDown {
- width: 97%;
- top: 4px;
- padding: 18px;
+ width: 186px;
+ top: 7px;
+ right: -10px;
+ max-height: 260px;
+ padding: 14px;
+ font-weight: 300;
+ z-index: 1;
+
.dropDownItem {
cursor: pointer;
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 300;
+ padding: 10px;
+
+ &-selected {
+ border-radius: 16px;
+ background: var(--color-context-menu-hover-bg);
+ }
&-checkedCircle {
display: inline-block;
@@ -2404,134 +3229,151 @@ label {
border-radius: 10px;
margin-right: 5px;
}
+
&-blockAndMargin {
display: inline-block;
margin-right: 5px;
}
}
+
.fontSemiBold {
- font-family: $bchat-font-poppin-semibold;
+ font-weight: 600;
margin-bottom: 8px;
}
+
.fontRegular {
- font-family: $bchat-font-poppin-regular;
font-weight: 100;
}
}
+
&-remoteContentBox {
display: flex;
align-items: center;
- width: 45%;
+ width: 50%;
&-content-hidden-Box {
display: none;
transition: display 2s;
}
+
.d-block {
display: block;
}
&-labelTxt {
// width: 20%;
- width: 97px;
- margin-right: 10px;
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 500;
+ width: 163px;
}
+
&-inputBox {
border: none;
outline: none;
- width: 80%;
+ width: 57%;
// background-color: #1c1c26;
- background-color: var(--color-walInputBg);
+ // background-color: var(--color-walInputBg);
- height: 50px;
+ height: 60px;
border-radius: 10px;
padding-left: 20px;
display: flex;
justify-content: flex-end;
+
+ align-items: center;
+ border-radius: 16px;
+ background-color: var(--color-conversation-item-selected);
+
&-dropDownBtn {
display: flex;
width: 30px;
height: 30px;
- background-color: #0d9e14;
+ // background-color: #0d9e14;
justify-content: center;
align-items: center;
- margin-top: 10px;
+ // margin-top: 10px;
margin-right: 10px;
- border-radius: 5px;
- color: #fff;
+ // border-radius: 5px;
+ // color: #fff;
cursor: pointer;
}
- &-input {
+
+ &-dropdown {
border: none;
outline: none;
width: 88%;
// background-color: #1c1c26;
- background-color: var(--color-walInputBg);
+ // background-color: var(--color-walInputBg);
height: 50px;
border-radius: 10px;
padding-left: 20px;
text-overflow: ellipsis;
}
+
+ &-input {
+ border: none;
+ outline: none;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background-color: var(--color-conversation-item-selected);
+ height: 60px;
+ padding: 15px;
+ width: 57%;
+ }
}
+
&-warning-box {
text-align: center;
margin-top: 14px;
- font-size: 12px;
height: 28px;
.result {
- font-family: 'poppin-semibold';
- }
- }
- &-btnBox {
- .bchat-button.default.primary,
- .bchat-button.default.green,
- .bchat-button.default.disable {
- width: 125px;
- height: 45px;
+ // font-family: 'poppin-semibold';
+ border-radius: 33px;
+ background: var(--color-setting-wallet-beta-bg);
+ padding: 6px 15px;
+ color: #108d32;
+ font-weight: 600;
+ margin-right: 5px;
}
- .bchat-button.default.primary {
- background-color: #2879fb;
- // margin-right: 30px;
- color: white;
- &:hover {
- background-color: #0b9fff;
- }
+
+ .result-msg {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ // background: #202329;
+ padding: 6px 15px;
+ color: #a7a7ba;
+ font-size: 14px;
+ font-weight: 400;
+ margin-right: 5px;
}
- .bchat-button.default.disable {
- background-color: var(--color-disableBtn);
- // margin-right: 30px;
- color: var(--color-disableTxt);
- cursor: not-allowed;
+
+ .error-msg {
+ // color: #f0f0f0;
+ font-size: 13px;
+ font-weight: 600;
+ color: var(--color-text);
}
}
}
}
- &-modalBtnGrp {
- .bchat-button.brand-outline.primary,
- .bchat-button.brand-outline.green .bchat-button.brand {
- height: 35px;
- border-radius: 6px;
- min-width: 110px;
- }
- .bchat-button.brand-outline {
- height: 35px;
- border-radius: 6px;
- min-width: 110px;
- }
- }
}
- &-syncStatusBox {
- position: absolute;
- width: calc(100vw - 417px);
- height: 30px;
- bottom: 0;
- background-color: var(--color-walSyncbar);
- }
+ // &-syncStatusBox {
+ // position: absolute;
+ // width: calc(100vw - 417px);
+ // height: 45px;
+ // background-color: var(--color-walSyncbar);
+ /* bottom: 0; */
+ /* background-color: var(--color-walSyncbar); */
+ // border-radius: 16px;
+ // background: #202329;
+ // }
&-syncStatus {
+
// position: relative;
// height: 30px;
// // width: 66.5%;
@@ -2542,86 +3384,103 @@ label {
&-statusTxt {
font-size: 12px;
+
&-greenTxt {
color: #00bf25;
}
}
+
&-statusvalue {
font-size: 12px;
color: #9393b1;
}
}
+
&-syncing {
- width: 100%;
- // height: 85%;
- height: 82%;
+ text-align: center;
+ // width: 46%;
+ // height: 32%;
// background-position: center;
- background-size: 98% 98%;
- margin: 0 auto;
- background-image: var(--image-walletSyncing);
- background-repeat: no-repeat;
+ // background-size: 98% 98%;
+ // margin: 0 auto;
+ // background-repeat: no-repeat;
+
+ &-title {
+ color: var(--color-noTxn-txt);
+ font-family: $bchat-font-open-sans;
+ font-size: 18px;
+ font-weight: 600;
+ margin: 0;
+ text-align: center;
+ padding: 0;
+ }
&-content {
- font-family: 'poppin-regular';
- color: #82828d;
- font-size: 13px;
+ color: #858598;
+ font-size: 14px;
+ font-weight: 300;
+ margin: 0;
text-align: center;
- // padding-top: 324px;
- // padding-top: 280px;
}
}
&-Transaction {
- // background-color: #303041;
- background-color: var(--color-WalcontentBg);
- /* width: 49.4%; */
- width: calc(100vw - 417px);
- border-radius: 10px;
padding: 15px;
- // height: 58%;
- height: 61%;
- // overflow-y: auto;
- margin-bottom: 10px;
+ // height: 66%;
+ margin-bottom: 5px;
+ border-radius: 16px;
+ background: var(--color-wallet-inner-bg);
+ // height: calc(100vh - 446px);
+ height: calc(100vh - 460px);
&-title {
display: flex;
align-items: center;
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 600;
+ }
+
+ &-filter-wrapper {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ padding: 0 15px;
}
&-filterInput {
// width: 315px;
- width: 200px;
+ width: 150px;
border: none;
outline: none;
height: 40px;
// background-color: #1c1c26;
- padding-left: 13px;
- background-color: var(--color-walInputBg);
- border-radius: 10px;
- margin-left: 10px;
+ // padding-left: 13px;
+ margin-right: 10px;
}
- &-filterWithIcon {
- // background-color: #1c1c26;
- background-color: var(--color-walInputBg);
+ &-filterWithIcon {
width: 150px;
height: 40px;
- border-radius: 10px;
- // margin-left: 20px;
margin-left: 15px;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ padding: 5px 15px;
&-inputBox {
display: inline-block;
width: 80%;
height: 100%;
- padding: 10px 10px 10px 15px;
- // text-align: center;
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 600;
}
}
+
&-parentBox {
- height: 84%;
+ height: 82%;
overflow-y: auto;
}
+
&-empty-parentBox {
width: 100%;
height: 100%;
@@ -2629,6 +3488,7 @@ label {
flex-direction: column;
justify-content: center;
}
+
&-all {
width: 240px;
// height: 190px;
@@ -2658,6 +3518,7 @@ label {
background-image: var(--image-failedTransHistory);
background-repeat: no-repeat;
}
+
&-search {
// width: 300px;
// height: 200px;
@@ -2666,6 +3527,7 @@ label {
background-image: var(--image-emptySearch);
// background-repeat: no-repeat;
}
+
&-outgoing {
// width: 300px;
// height: 200px;
@@ -2674,6 +3536,7 @@ label {
background-image: var(--image-outgoingTransHistory);
// background-repeat: no-repeat;
}
+
&-incoming {
background-image: var(--image-incomingTransHistory);
}
@@ -2688,109 +3551,145 @@ label {
}
&-content {
- font-family: 'poppin-medium';
- color: #82828d;
- margin-top: 6px;
- margin-left: 10px;
- // padding-top: 146px;
- font-size: 16px;
- // padding-top: 112px;
+ color: var(--color-noTxn-txt);
+ /* text-align: right; */
+ font-family: $bchat-font-open-sans;
+ font-size: 18px;
+ font-weight: 600;
+ text-align: center;
}
+
&-subContent {
- font-family: 'poppin-regular';
- color: #82828d;
- font-size: 13px;
+ color: #858598;
+ text-align: center;
+ font-size: 14px;
+ font-weight: 400;
}
&-contentBox {
// background-color: #1c1c26;
- background-color: var(--color-walInputBg);
+ // background-color: var(--color-walInputBg);
padding: 15px;
- border-radius: 10px;
- margin-bottom: 5px;
+ // border-radius: 10px;
+ border-bottom: 1px solid var(--color-search-border);
+ padding-top: 0;
+
&-sendIndicationBox {
display: flex;
// width: 15%;
- width: 110px;
+ // width: 110px;
/* text-align: center; */
flex-direction: column;
align-items: center;
- justify-content: center;
+ // justify-content: center;
div {
font-size: 12px;
margin-top: 3px;
}
}
- &-verticalline {
- width: 1.5px;
- height: 100%;
- background-color: #afafc194;
- }
+
&-balanceBox {
// width: 605px;
- width: 67%;
- margin-left: 20px;
- font-size: 12px;
- font-family: $bchat-font-poppin-light;
+ // width: 75%;
+ margin-left: 15px;
+
+
&-amount {
- color: #69697c;
- font-size: 18px;
- font-family: $bchat-font-poppins-bold;
cursor: pointer;
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 700;
}
+
&-address {
- // width: 584px;
- white-space: nowrap;
overflow: hidden;
+ color: #858598;
text-overflow: ellipsis;
- cursor: pointer;
- padding-top: 6px;
+ white-space: nowrap;
+ font-weight: 400;
+ width: 15vw;
}
+
&-address:hover {
color: var(--button-color);
text-decoration: underline;
}
}
+
&-dateandheight {
display: flex;
flex-direction: column;
// justify-content: center;
- width: 181px;
+ // width: 242px;
&-month {
- font-size: 14px;
- font-family: $bchat-font-poppin-semibold;
+ // color: #f0f0f0;
+ text-align: right;
+ font-size: 16px;
+ font-weight: 400;
}
+
&-height {
+ color: #858598;
+ text-align: right;
+ font-weight: 400;
+ }
+
+ &-title,
+ &-content {
font-size: 12px;
- // color: #69697c;
- font-family: $bchat-font-poppin-light;
- // padding-top: 10px;
+ font-weight: 400;
+ line-height: 20px;
+ }
+
+ &-title {
+ color: #838894;
+ }
+
+ &-content {
+ color: var(--color-text);
}
}
}
+ &-contentBox:hover {
+ border-radius: 16px;
+ background: var(--color-clickable-hovered);
+ }
+
&-recipitentBox {
&-adddressBox {
// width: 601px;
width: 40%;
padding-right: 10px;
- font-family: $bchat-font-poppin-semibold;
- overflow-wrap: break-word;
+ word-break: break-all;
+ color: #858598;
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 21px;
&-address {
- font-family: $bchat-font-poppin-light;
- font-size: 12px;
+ // font-family: $bchat-font-poppin-light;
+ // font-size: 12px;
+ color: var(--color-text);
}
}
+
+ &-transactionFee-header,
+ &-transactionFee-text {
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 20px;
+ }
+
&-transactionFee-header {
- font-family: $bchat-font-poppin-semibold;
+ color: #858598;
}
+
&-transactionFee-text {
- font-family: $bchat-font-poppin-light;
- font-size: 12px;
+ color: var(--color-text);
}
}
}
@@ -2802,7 +3701,8 @@ label {
width: $bchat-modal-size-sm;
height: $bchat-modal-size-sm;
padding: $bchat-margin-xs;
- background-color: $bchat-color-white;
+ background-color: #d9d9d9;
+ margin: auto 0;
// border-radius: 5px;
}
@@ -2852,11 +3752,11 @@ label {
transition: $bchat-transition-duration;
}
- input:hover + label:before {
+ input:hover+label:before {
background: var(--color-accent);
}
- input:checked + label:before {
+ input:checked+label:before {
background: var(--color-accent);
}
}
@@ -2876,9 +3776,9 @@ label {
overflow-y: auto;
padding: 0px 5px 20px 5px;
- &.bchat-id-editable-textarea:placeholder-shown {
- padding: 10px 5px 0px 5px;
- }
+ // &.bchat-id-editable-textarea:placeholder-shown {
+ // padding: 10px 5px 0px 5px;
+ // }
&.group-id-editable-textarea {
margin-top: 15px;
@@ -2890,9 +3790,9 @@ input {
user-select: text;
}
-.contact-selection-list {
- width: 20vw;
-}
+// .contact-selection-list {
+// width: 20vw;
+// }
.bchat-confirm-wrapper {
position: absolute;
@@ -2903,24 +3803,45 @@ input {
.bchat-modal {
margin: auto auto;
}
+
+ .model-layer {
+ display: flex;
+ flex-direction: row;
+ }
+
+ .mediaPermission {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ width: 60px;
+ height: 60px;
+ background-color: var(--color-modal-icon-bg);
+ border-radius: 10px;
+ margin-left: 25px;
+ margin-top: 30px;
+ border-radius: 30px;
+ }
}
.onion__description {
- width: 62%;
- // margin: 0 auto;
- font-family: $bchat-font-poppin-medium;
- text-align: center;
- font-size: $bchat-font-h4;
- color: #82828d;
+ margin-bottom: 10px;
+ color: var(--color-hop-txt);
+ font-size: 20px;
+ font-weight: 400;
}
.onion__node-list {
display: flex;
flex-direction: column;
- margin: $bchat-margin-sm;
- align-items: center;
+ font-family: 'Poppins';
+ margin: 10px 0px 0px;
min-width: 10vw;
position: relative;
+ // background-color: #2e333d;
+ background-color: var(--color-conversation-item-selected);
+ padding: 20px 30px 0px;
+ border-radius: 16px;
.onion__node {
display: flex;
@@ -2946,27 +3867,47 @@ input {
}
.onion__node__country {
- // margin: $bchat-margin-lg ;
+ // // margin: $bchat-margin-lg ;
margin: 11px 14px;
min-width: 150px;
- font-size: 16px;
- font-family: $bchat-font-poppin-regular;
+ // font-size: 16px;
+ // font-family: $bchat-font-default;
+ // font-weight: 400;
height: 50px;
+
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 500;
+ height: 70px;
+
+ &:nth-child(1) {
+ height: 32px;
+ }
+
+ .ip-country {
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 400;
+ }
}
.onion__growing-icon {
flex-grow: 1;
display: flex;
align-items: center;
- padding-bottom: 27px;
+ padding-bottom: 40px;
+
+ &:nth-child(1) {
+ padding-bottom: 2px;
+ }
}
.onion__vertical-line {
background: $onionPathLineColor;
position: absolute;
- height: calc(100% - 2 * 42px);
- margin: 27px calc(100% / 2 - 1px);
- width: 1px;
+ height: calc(100% - 2 * 44px);
+ margin: 27px calc(100% / 2 - 0px);
+ width: 0.5px;
}
}
@@ -2990,49 +3931,19 @@ input {
width: 40px;
border-radius: 50%;
opacity: 1;
- background-color: var(--color-cell-background);
+ // background-color: var(--color-cell-background);
+
+ background-color: #2f8fff;
box-shadow: var(--color-bchat-shadow);
- svg path {
- transition: $bchat-transition-duration;
- opacity: 0.6;
- fill: var(--color-text);
- }
+ // svg path {
+ // transition: $bchat-transition-duration;
+ // opacity: 0.6;
+ // fill: var(--color-text);
+ // }
&:hover svg path {
- opacity: 1;
- }
- }
- .downArrow {
- .bchat-icon-button {
- background-color: var(--color-downArrowBg);
- svg path {
- fill: var(--color-downArrow);
- }
- }
- .bchat-icon-button {
- &:hover {
- background-color: #128b17;
- svg path {
- fill: white;
- }
- }
- }
- .bchat-icon-button:hover + .downArrow-unreadCountBox {
- background-color: #ffffff;
- color: #000;
- }
-
- &-unreadCountBox {
- position: fixed;
- background-color: #159b24;
- padding: 0px 6px;
- font-size: 10px;
- border-radius: 8px;
- right: 16px;
- bottom: 67px;
- font-family: $bchat-font-poppin-semibold;
- color: white;
+ opacity: 0.6;
}
}
}
@@ -3043,6 +3954,7 @@ input {
width: 100%;
// max-height: 400px;
overflow-y: auto;
+ height: 53%;
// margin: auto 0 auto 0;
// border: var(--border-bchat);
// border-bottom: var(--border-bchat);
@@ -3055,15 +3967,16 @@ input {
}
&__no-contacts {
- font-family: $bchat-font-poppin-medium;
+ // font-family: $bchat-font-poppin-medium;
// background: var(--color-cell-background);
text-align: center;
padding: 20px;
margin: 35% 0 0 0;
}
+
&__addImg {
- width: 111px;
- height: 103px;
+ width: 170px;
+ height: 182px;
background-image: var(--image-EmptyContact);
background-repeat: no-repeat;
background-size: contain;
@@ -3072,16 +3985,73 @@ input {
}
}
+.floated-downArrow {
+ // .bchat-icon-button {
+ // background-color: var(--color-downArrowBg);
+
+ // svg path {
+ // fill: var(--color-downArrow);
+ // }
+ // }
+
+ // .bchat-icon-button {
+ // &:hover {
+ // background-color: #128b17;
+
+ // svg path {
+ // fill: white;
+ // }
+ // }
+ // }
+ &-btn-wrapper {
+ background-color: var(--color-downArrowBg);
+ height: 40px;
+ width: 40px;
+ border-radius: 50px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ position: relative;
+
+ &:hover {
+ background-color: #128b17;
+
+ svg path {
+ fill: white;
+ }
+ }
+ }
+
+ .floated-downArrow-btn-wrapper+.downArrow-unreadCountBox {
+ background-color: #ffffff;
+ color: #000;
+ }
+
+ &-unreadCountBox {
+ position: absolute;
+ background-color: #159b24;
+ padding: 0px 6px;
+ font-size: 10px;
+ border-radius: 8px;
+ right: 6px;
+ top: 41px;
+ font-weight: 600;
+ color: white;
+ }
+}
+
.create-group-name-input {
- display: flex;
- justify-content: center;
- width: 100%;
+ // display: flex;
+ // justify-content: center;
+ // width: 100%;
.bchat-id-editable {
- height: 60px !important;
+ height: 80px !important;
textarea {
padding-bottom: 0px !important;
+ height: 40px;
}
&-disabled {
@@ -3097,56 +4067,62 @@ input {
.bchat-member-item,
.bchat-blockedMember-item {
- cursor: pointer;
+ // cursor: pointer;
flex-shrink: 0;
font-family: $bchat-font-default;
- padding: 0px $bchat-margin-lg;
- height: 60px;
+ padding: 0px $bchat-margin-md;
+ height: 70px;
display: flex;
justify-content: space-between;
+ align-items: center;
transition: $bchat-transition-duration;
+ cursor: pointer;
// border:var(--color-bchat-border);
- border-bottom: var(--color-bchat-border);
+ // border-bottom: var(--color-bchat-border);
&:not(:last-child) {
border-bottom: var(--border-bchat);
+ margin-bottom: 6px;
}
&.selected {
background-color: var(--color-conversation-item-selected) !important;
+ border-radius: 16px;
+ // background-color: #202329;
}
&.zombie {
opacity: 0.5;
}
- &__checkmark,
- &__checkmarkbox {
- width: 20px;
- height: 20px;
- border: 1px solid var(--color-text);
- border-radius: 10px;
- margin: auto 0;
- padding: 2px;
- // opacity: 0;
- transition: $bchat-transition-duration;
+ // &__checkmark,
+ // &__checkmarkbox {
+ // width: 23px;
+ // height: 23px;
+ // border: 2px solid #bcbdbe;
+ // border-radius: 6px;
+ // margin: auto 0;
+ // // opacity: 0;
+ // transition: $bchat-transition-duration;
+
+ // &.selected {
+ // opacity: 1;
+ // border: unset;
+
+ // svg {
+ // fill: var(--color-accent) !important;
+ // }
+ // }
+ // }
- &.selected {
- opacity: 1;
- border: 2px solid green;
+ // &__checkmarkbox {
+ // // border-radius: 2px;
+ // border: 1.5px solid #f0f0f0;
- svg {
- fill: var(--color-accent) !important;
- }
- }
- }
- &__checkmarkbox {
- border-radius: 2px;
- border: 3px solid var(--color-disableBorder);
- &.selected {
- border: unset;
- }
- }
+ // &.selected {
+ // border: unset;
+ // }
+ // }
&__info {
display: flex;
@@ -3161,16 +4137,17 @@ input {
display: flex;
align-items: center;
- &:hover {
- border: 1px solid #008e00;
- }
+ // &:hover {
+ // border: 1px solid #008e00;
+ // }
}
&__name {
- font-weight: bold;
margin-inline-start: $bchat-margin-md;
margin-inline-end: $bchat-margin-md;
- font-family: $bchat-font-poppin-medium;
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 400;
}
&__pubkey {
@@ -3178,38 +4155,63 @@ input {
opacity: 0.8;
}
- &__avatar > div {
+ &__avatar>div {
margin-bottom: 0px !important;
}
+
+ &_admin-txt {
+ width: 58px;
+ display: flex;
+ align-items: center;
+ color: #108d32;
+ font-size: 14px;
+ font-weight: 500;
+ }
}
+
.bchat-member-item {
&:hover {
- background-color: var(--color-clickable-hovered);
+ border-radius: 16px;
+ // background: #2e333d;
+ background-color: var(--color-conversation-item-selected);
}
}
+
.bchat-blockedMember-item {
background-color: var(--color-blockUserBg);
+ // background-color: #202329;
border-radius: 15px;
+
.selected {
background-color: var(--color-blockseletedUserBg);
}
+
&__name {
- font-weight: normal;
- font-family: $bchat-font-poppin-semibold;
- margin-inline-start: 10px;
+ font-size: $bchat-font-lg;
+ font-weight: 500;
}
+
&-selectionBox {
display: flex;
width: 119px;
justify-content: flex-end;
- padding-right: 30px;
+ // padding-right: 30px;
}
+
&-btnBox {
display: flex;
justify-content: center;
align-items: center;
+
+ .btnSize {
+ width: 45px;
+ height: 45px;
+ font-weight: 400;
+ font-size: 16px;
+ }
}
}
+
.module-message-detail {
.module-message {
pointer-events: none;
@@ -3237,3 +4239,18 @@ input {
}
}
}
+
+.menu {
+ &:hover {
+ color: var(--color-context-menu-hover-bg);
+ }
+}
+
+.submenu {
+ display: flex;
+ width: 100%;
+
+ &:hover {
+ color: var(--color-context-menu-hover-bg);
+ }
+}
\ No newline at end of file
diff --git a/stylesheets/_bchat_constants.scss b/stylesheets/_bchat_constants.scss
index 4eae01b4..ac1dfea8 100644
--- a/stylesheets/_bchat_constants.scss
+++ b/stylesheets/_bchat_constants.scss
@@ -2,73 +2,102 @@
// /////////////////// Fonts ////////////////////
// //////////////////////////////////////////////
-$bchat-font-default: 'poppin-medium';
+$bchat-font-default: 'Poppins';
$bchat-font-poppins-bold: 'Poppins';
$bchat-font-mono: 'SpaceMono';
$bchat-font-poppin-semibold: 'poppin-semibold';
$bchat-font-poppin-light: 'poppin-light';
$bchat-font-poppin-medium: 'poppin-medium';
$bchat-font-poppin-regular: 'poppin-regular';
-
-@font-face {
- font-family: $bchat-font-mono;
- src: url('../fonts/SpaceMono-Regular.ttf') format('truetype');
-}
+$bchat-font-open-sans:'OpenSans';
+// $bchat-font-open-sans-light:'OpenSans-light';
+// @font-face {
+// font-family: $bchat-font-mono;
+// src: url('../fonts/SpaceMono-Regular.ttf') format('truetype');
+// }
// Roboto is an open replacement for $bchat-font-default
+// @font-face {
+// font-family: $bchat-font-default;
+// src: url('../fonts/Roboto-Regular.ttf') format('truetype');
+// font-weight: 300;
+// }
+// @font-face {
+// font-family: $bchat-font-default;
+// src: url('../fonts/Roboto-Italic.ttf') format('truetype');
+// font-style: italic;
+// font-weight: 300;
+// }
+// @font-face {
+// font-family: $bchat-font-default;
+// src: url('../fonts/Roboto-Bold.ttf') format('truetype');
+// font-weight: 600;
+// }
+// @font-face {
+// font-family: $bchat-font-default;
+// src: url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
+// font-weight: 600;
+// font-style: italic;
+// }
+
+// Accented font
@font-face {
- font-family: $bchat-font-default;
- src: url('../fonts/Roboto-Regular.ttf') format('truetype');
- font-weight: 300;
-}
-@font-face {
- font-family: $bchat-font-default;
- src: url('../fonts/Roboto-Italic.ttf') format('truetype');
- font-style: italic;
+ font-family:$bchat-font-open-sans;
+ src: url('../fonts/OpenSans-Light.ttf') format('truetype');
+ line-height: 1.4rem;
font-weight: 300;
}
@font-face {
- font-family: $bchat-font-default;
- src: url('../fonts/Roboto-Bold.ttf') format('truetype');
+ font-family:$bchat-font-open-sans;
+ src: url('../fonts/OpenSans_Condensed-SemiBold.ttf') format('truetype');
+ line-height: 1.4rem;
font-weight: 600;
}
@font-face {
- font-family: $bchat-font-default;
- src: url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
- font-weight: 600;
- font-style: italic;
+ font-family: $bchat-font-open-sans;
+ src: url('../fonts/OpenSans-ExtraBold.ttf') format('truetype');
+ line-height: 1.4rem;
+ font-weight: 800;
}
-// Accented font
+
+// popins font includes
+
@font-face {
- font-family: $bchat-font-poppins-bold;
- src: url('../fonts/Poppins-Bold.ttf') format('truetype');
+ font-family:$bchat-font-default;
+ src: url('../fonts/Poppins-Light.ttf') format('truetype');
line-height: 1.4rem;
- font-weight: bold;
+ font-weight: 300;
}
+
@font-face {
- font-family: $bchat-font-poppin-semibold;
- src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
+ font-family: $bchat-font-default;
+ src: url('../fonts/Poppins-Regular.ttf') format('truetype');
line-height: 1.4rem;
+ font-weight: 400;
}
@font-face {
- font-family: $bchat-font-poppin-light;
- src: url('../fonts/Poppins-Light.ttf') format('truetype');
+ font-family: $bchat-font-default;
+ src: url('../fonts/Poppins-Medium.ttf') format('truetype');
line-height: 1.4rem;
+ font-weight: 500;
}
@font-face {
- font-family: $bchat-font-poppin-regular;
- src: url('../fonts/Poppins-Regular.ttf') format('truetype');
+ font-family: $bchat-font-default;
+ src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
line-height: 1.4rem;
+ font-weight: 600;
}
-
@font-face {
- font-family: $bchat-font-poppin-medium;
- src: url('../fonts/Poppins-Medium.ttf') format('truetype');
+ font-family: $bchat-font-default;
+ src: url('../fonts/Poppins-Bold.ttf') format('truetype');
line-height: 1.4rem;
+ font-weight: 700;
}
+
+
// //////////////////////////////////////////////
// ////////////////// Colors ////////////////////
// //////////////////////////////////////////////
@@ -143,15 +172,15 @@ $bchat-font-h4: 16px;
// Button
-$bchat-button-color: #00a803;
+$bchat-button-green-color: #00A638;
$bchat-button-hovor-color: #00a705;
$bchat-button-gray-color: #403e4b;
$bchat-button-gray-hover-color: #52505f;
// Mixins
@mixin fontAccentBold {
- font-weight: bold;
- font-family: $bchat-font-poppins-bold;
+ font-weight: 700;
+
}
@mixin text-highlight($color) {
@@ -199,13 +228,13 @@ $bchat-subtle-factor: 0.6;
// Default Components
$bchat-search-input-height: 34px;
// $main-view-header-height: 63px;
-$main-view-header-height: 67px;
+$main-view-header-height: 70px;
$bchat-left-pane-width: 300px;
// Various Components
$bchat-modal-size-sm: 220px;
-$bchat-modal-size-md: 400px;
+$bchat-modal-size-md: 450px;
$bchat-modal-size-lg: 650px;
$bchat_message-container-border-radius: 13px;
@@ -215,6 +244,7 @@ $bchat-margin-xs: 5px;
$bchat-margin-sm: 10px;
$bchat-margin-md: 15px;
$bchat-margin-lg: 20px;
+$bchat-margin-xl: 30px;
// Animations
$bchat-transition-duration: 0.25s;
@@ -232,7 +262,7 @@ $bchat-transition-duration: 0.25s;
// ///////////////// Various ////////////////////
// //////////////////////////////////////////////
-$composition-container-height: 60px;
+$composition-container-height: 70px;
//////////////////////////////////////////////
// ///////////////// placeholder ////////////////////
diff --git a/stylesheets/_bchat_conversation.scss b/stylesheets/_bchat_conversation.scss
index 93e23d5c..4ecc9081 100644
--- a/stylesheets/_bchat_conversation.scss
+++ b/stylesheets/_bchat_conversation.scss
@@ -62,45 +62,41 @@
justify-content: center;
width: 100%;
- svg {
- color: var(--color-chatIcons);
- }
- .connectWalletBtn {
- display: flex;
- width: 155px;
- justify-content: space-evenly;
- align-items: center;
- font-size: 10px;
- font-family: $bchat-font-poppin-medium;
- background-color: #128817;
- color: white;
- height: 35px;
- border-radius: 10px;
- margin-right: 14px;
- cursor: pointer;
-
- }
- .connectWalletBtn:hover
- {
- background-color: #00a705;
- }
-
- .call {
- // margin-top: 10px;
- margin-right: 14px;
- padding-left: 14px;
- display: flex;
- justify-content: center;
- justify-items: center;
- align-items: center;
- width: 35px;
- height: 35px;
+ // .connectWalletBtn {
+ // display: flex;
+ // width: 155px;
+ // justify-content: space-evenly;
+ // align-items: center;
+ // font-size: 10px;
+ // font-family: $bchat-font-poppin-medium;
+ // background-color: #128817;
+ // color: white;
+ // height: 35px;
+ // border-radius: 10px;
+ // margin-right: 14px;
+ // cursor: pointer;
+ // }
+ // .connectWalletBtn:hover {
+ // background-color: #00a705;
+ // }
- &:hover {
- background-color: var(--color-profile-close);
- border-radius: 20px;
- }
- }
+ // .call {
+ // // margin-top: 10px;
+ // margin-right: 14px;
+ // padding-left: 14px;
+ // display: flex;
+ // justify-content: center;
+ // justify-items: center;
+ // align-items: center;
+ // width: 35px;
+ // height: 35px;
+ // cursor: pointer;
+
+ // &:hover {
+ // background-color: var(--color-profile-close);
+ // border-radius: 20px;
+ // }
+ // }
}
.message-selection-overlay {
@@ -113,7 +109,7 @@
align-items: center;
justify-content: space-between;
height: $main-view-header-height;
- background: var(--color-cell-background);
+ background: var(--color-chat-multi-select-bg);
z-index: 93;
.close-button {
@@ -121,27 +117,20 @@
padding-right: 10px;
}
- .bchat-button.default.danger {
- display: flex;
- border-radius: 10px;
- background-color: var(--color-inboxBgColor);
- color: red;
- }
- .bchat-button.default.red {
- display: flex;
- color: #ffffff;
- background-color: red;
- border-radius: 10px;
+ .seleted-count {
+ width: 160px;
+ // color: #F0F0F0;
+ font-size: 18px;
+ font-weight: 400;
}
}
- .message-selection-overlay div[role='button'] {
- display: inline-block;
- }
+ // .message-selection-overlay div[role='button'] {
+ // display: inline-block;
+ // }
.message-selection-overlay .button-group {
display: flex;
- width: 97%;
justify-content: center;
}
}
@@ -150,8 +139,8 @@
flex-grow: 1;
display: flex;
flex-direction: column;
- max-width: calc(100vw - 380px);
- background: var(--image-BgDoodle);
+ // max-width: calc(100vw - 380px);
+ // background: var(--image-BgDoodle);
// background-repeat: no-repeat;
// background-position: center;
background-size: 100%;
@@ -160,7 +149,7 @@
// background-image: url("../images/bchat/doodle_white.svg");
.bchat-conversation-doodle {
- background-image: var(--image-BgDoodle);
+ // background-image: var(--image-BgDoodle);
width: '100%';
height: '100%';
}
@@ -214,6 +203,79 @@
background: var(--color-inbox-background);
}
}
+ .pinned-msg {
+ border-radius: 10px;
+ background: var(--color-invite-card-icon-bg);
+ margin: 15px;
+ padding: 10px 15px;
+ .msg-title {
+ font-size: 14px;
+ font-style: normal;
+ font-weight: 600;
+ line-height: normal;
+ margin-left: 5px;
+ }
+ .msg-sub-title {
+ color: #a7a7ba;
+ font-size: 12px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: normal;
+ margin-left: 5px;
+ }
+ }
+}
+
+.voiceCall {
+ // height: 350px;
+ width: 534px;
+ margin: 10px 0;
+ max-height: 450px;
+
+ .local-video {
+ position: relative;
+ z-index: 1;
+ }
+}
+
+.videoCall {
+ margin: 10px 0px;
+ position: absolute;
+ z-index: 10;
+ /* width: 750px; */
+ display: flex;
+ top: 1%;
+
+ .remote-video {
+ // background-color: aliceblue;
+ height: 500px;
+ width: 619px;
+ border-radius: 20px;
+ }
+
+ .local-video {
+ // background-color: green;
+ width: 229px;
+ height: 300px;
+ margin: auto 10px;
+ border-radius: 20px;
+ }
+}
+
+.hangingBtn {
+ width: 60px;
+ height: 60px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ color: #fff;
+ border-radius: 50px;
+ margin: 10px 10px;
+ cursor: pointer;
+}
+
+.hangingBtn:hover {
+ opacity: 0.8;
}
.messages-container {
@@ -230,76 +292,138 @@
.composition-container {
display: flex;
justify-content: center;
- align-items: center;
+ // align-items: center;
+ align-items: flex-end;
padding: 0px $bchat-margin-md;
min-height: min-content;
- background: var(--color-composeMsgBg);
- border-top: var(--border-bchat);
+ // border-top: var(--border-bchat);
z-index: 1;
- .bchat-icon-button {
- // margin-right: $bchat-margin-sm;
+ // .bchat-icon-button {
+ // // margin-right: $bchat-margin-sm;
- display: flex;
- justify-content: center;
- align-items: center;
- // opacity: 0.7;
+ // display: flex;
+ // justify-content: center;
+ // align-items: center;
+ // opacity: 0.7;
- // &:hover {
- // opacity: 1;
- // filter: brightness(0.9);
+ // &:hover {
+ // opacity: 1;
+ // filter: brightness(0.9);
- // transition: $bchat-transition-duration;
- // }
+ // transition: $bchat-transition-duration;
+ // }
- .send {
- padding: $bchat-margin-xs;
- border-radius: 50%;
- height: 30px;
- width: 30px;
- }
- }
+ // .send {
+ // padding: $bchat-margin-xs;
+ // border-radius: 50%;
+ // height: 30px;
+ // width: 30px;
+ // }
+ // }
.attachment-box {
- background-color: var(--color-composeMsgIconBG);
- padding: 8px 13px;
- color: #85858f;
+ padding: 17px 8px;
+ // color: #85858f;
border-radius: 10px;
+ margin-bottom: 5px;
+ cursor: pointer;
+ // &-icon {
+ // width: 25px;
+ // height: 25px;
+ // padding: 2px;
+ // }
- &-icon {
- width: 25px;
- height: 25px;
- padding: 2px;
+ &:hover {
+ background-color: var(--color-icon-btn-hover);
+ color: var(--color-text);
}
+ }
+
+ .recorded-btn {
+ border-radius: 16px;
+ padding: 15px 13px;
+ background: #2f8fff;
+ margin-bottom: 5px;
&:hover {
- background-color: #20a1ff;
+ opacity: 0.9;
+ color: white;
}
}
.send-message-input {
- width: 80%;
+ // width: 80%;
+ width: 100%;
cursor: text;
- display: flex;
- align-items: center;
- flex-grow: 1;
- min-height: 43px;
+ /* display: flex; */
+ /* align-items: center; */
+ /* flex-grow: 1; */
+ /* min-height: 60px; */
padding: 5px 0;
- z-index: 1;
- background-color: inherit;
- margin-left: 27px;
- background: var(--color-composeMsgInput);
+ /* z-index: 1; */
+ /* margin-left: 27px; */
+ border-radius: 16px;
+ background-color: var(--color-composeMsgInput);
margin: 5px 7px;
border-radius: 10px;
- padding-left: 20px;
- box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
+ padding: 0 20px;
+ position: relative;
+ // box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 20%);
+
+ .wallet-sync-box,
+ .amount-tap-box {
+ border-radius: 16px;
+ border: 2px solid #108d32;
+ background-color: var(--color-wallet-Sync-box-bg);
+ width: 254px;
+ height: 66px;
+ flex-shrink: 0;
+ position: absolute;
+ right: 0px;
+ top: -74px;
+ display: none;
+ align-items: center;
+ justify-content: center;
+ padding: 15px;
+ z-index: 2;
+
+ .sync-txt {
+ // color: #f0f0f0;
+ font-family: $bchat-font-open-sans;
+ font-size: 18px;
+ font-weight: 600;
+ margin-right: 21px;
+ }
- svg {
- color: var(--color-composeMsgRecordIcon);
+ .inner-perc-txt {
+ // color: #f0f0f0;
+ text-align: center;
+ font-size: 12px;
+ font-weight: 700;
+ }
}
- svg:hover {
- transform: scale(1.1);
+
+ .amount-tap-box {
+ display: block;
+ min-width: 224px;
+ width: unset;
+ cursor: pointer;
+ .sync-txt {
+ margin-right: unset;
+ }
}
+
+ .coin-logo-wrapper {
+ cursor: pointer;
+ padding: 7px;
+ border-radius: 26px;
+ border: 2px solid #888a8d;
+ }
+
+ // svg:hover {
+ // transform: scale(1.1);
+ // }
ul {
max-height: 70vh;
overflow: auto;
@@ -333,6 +457,10 @@
letter-spacing: 0.5px;
color: rgba(0, 0, 0, 0);
}
+
+ .circular-bar-wrapper:hover + .wallet-sync-box {
+ display: flex;
+ }
}
}
@@ -429,24 +557,27 @@
}
.send-message-button {
- background-color: #128b17;
- border-radius: 10px;
+ border-radius: 16px;
+ background: #108d32;
/* padding: 8px; */
cursor: pointer;
- animation: fadein 0.25s;
+ // animation: fadein 0.25s;
// width: 47px;
- width: 90px;
- height: 50px;
+ // width: 90px;
+ // height: 50px;
display: flex;
justify-content: center;
align-items: center;
- animation: fadein $bchat-transition-duration;
+ margin-bottom: 5px;
+ color: white;
+
+ // animation: fadein $bchat-transition-duration;
// padding-left: 15px;
- .text {
- font-family: $bchat-font-poppin-medium;
- margin-left: 3px;
- color: #ffffff;
- }
+ // .text {
+ // font-family: $bchat-font-poppin-medium;
+ // margin-left: 3px;
+ // color: #ffffff;
+ // }
&---scale {
animation: scaling 2s ease-in-out;
@@ -476,6 +607,11 @@
&:hover {
background-color: #00a705;
}
+ .bchat-icon-button:hover {
+ background: #1a973c;
+ color: white;
+ // color: var(--color-text);
+ }
}
.bchat-recording {
@@ -492,37 +628,40 @@
padding: 10px;
display: flex;
width: 100%;
- margin-right: 12px;
+ border-radius: 10px;
+ margin: 5px 7px;
+ // background: #202329;
background-color: var(--color-composeMsgInput);
- margin-left: 13px;
- height: 47px;
- border-radius: 13px;
+ margin-left: 12px;
+ height: 60px;
+ // border-radius: 13px;
justify-content: space-between;
+ align-items: center;
}
&--actions {
display: flex;
align-items: center;
- width: $actions-element-size;
- height: $actions-element-size;
+ // width: $actions-element-size;
+ // height: $actions-element-size;
border-radius: 50%;
- margin-right: 50px;
+ // margin-right: 50px;
- .bchat-button {
- animation: fadein $bchat-transition-duration;
- }
+ // .bchat-button {
+ // animation: fadein $bchat-transition-duration;
+ // }
- .bchat-icon-button {
- animation: fadein $bchat-transition-duration;
- border-radius: 50%;
- width: $actions-element-size;
- height: $actions-element-size;
- margin-right: var(--margins-sm);
+ // .bchat-icon-button {
+ // // animation: fadein $bchat-transition-duration;
+ // border-radius: 50%;
+ // // width: $actions-element-size;
+ // // height: $actions-element-size;
+ // // margin-right: var(--margins-sm);
- .play {
- margin-left: 4px;
- }
- }
+ // .play {
+ // margin-left: 4px;
+ // }
+ // }
}
&--visualisation {
@@ -587,14 +726,33 @@
}
}
+ &-micIcon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 35px;
+ height: 35px;
+ margin-right: 10px;
+ color: var(--color-icon);
+ background-color: var(--color-disappear-time-hover);
+ border-radius: 10px;
+ }
+
+ &-wrapper {
+ border: 1px solid red;
+ padding: 3px;
+ border-radius: 36px;
+ margin-right: 10px;
+ }
+
&-light {
height: 15px;
width: 15px;
border-radius: 50%;
- background-color: $bchat-color-success;
- margin: 0 $bchat-margin-sm;
+ background-color: #ff3e3e;
+ // margin: 0 $bchat-margin-sm;
- @include pulse-color($bchat-color-success, 1s, infinite);
+ // @include pulse-color($bchat-color-success, 1s, infinite);
}
}
}
diff --git a/stylesheets/_bchat_group_panel.scss b/stylesheets/_bchat_group_panel.scss
index 6cf51bc3..137be013 100644
--- a/stylesheets/_bchat_group_panel.scss
+++ b/stylesheets/_bchat_group_panel.scss
@@ -1,48 +1,74 @@
.group-settings {
display: flex;
flex-direction: column;
- height: 94vh;
- // width: -webkit-fill-available;
+ height: 100vh;
+ /* width: 25vw; */
+ min-width: 300px;
width: 25vw;
- background: var(--color-cell-background);
+ max-width: 420px;
+ // background: var(--color-cell-background);
// background: #181821;
- border-left: var(--border-bchat);
+ // background: #131313;
+ border:1px solid var(--color-profile-info-border);
align-items: center;
+ padding: 15px;
+ background: var(--color-inbox-background);
&-header {
- margin-top: $bchat-margin-lg;
- margin-inline-start: $bchat-margin-sm;
- margin-inline-end: $bchat-margin-sm;
+ // margin-top: $bchat-margin-lg;
+ // margin-inline-start: $bchat-margin-sm;
+ // margin-inline-end: $bchat-margin-sm;
width: -webkit-fill-available;
- display: flex;
- flex-direction: row;
+ // display: flex;
+ // flex-direction: row;
flex-shrink: 0;
- &-avatarBox {
- width: 86%;
- text-align: center;
- padding-left: 17%;
+ &-title-wrapper{
+ background-color: var(--color-profile-header-bg);
+ border-radius: 16px;
+ }
+ &-titleTxt {
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 400;
+ }
+ &-avatarBox {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
p {
- font-family: $bchat-font-poppin-semibold;
- font-size: 24px;
margin: 0;
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 600;
}
}
&-chatIdBox {
- text-align: center;
+ border-radius: 12px;
+ border: 1px solid var(--color-search-border);
+ padding: 20px;
p {
- font-family: $bchat-font-poppin-medium;
+ margin: 0;
+ // color: #f0f0f0;
font-size: 18px;
- margin-top: 30px;
- margin-bottom: 0;
+ font-weight: 500;
}
- div {
- width: 85%;
- margin: 0 auto;
+ .id-wrapper {
color: #159b24;
+ border-radius: 16px;
+ border: 1px solid var(--color-chatId-border);
+ background: var(--color-profile-id-bg);
+ padding: 15px;
+ .txt {
+ width: 90%;
+ color: #108d32;
+ font-size: 16px;
+ font-weight: 500;
+ line-height: 30px;
+ }
}
}
@@ -68,6 +94,7 @@
display: flex;
justify-content: center;
width: 100%;
+ align-items: center;
h2 {
margin-right: 10px;
@@ -77,7 +104,15 @@
h2 {
word-break: break-word;
max-width: 82%;
+ font-size: 18px;
+ /* font-style: normal; */
+ font-weight: 600;
+ margin: 0;
+ }
+ &-media-txt {
+ color:var(--color-profile-info-media-title);
font-size: 16px;
+ font-weight: 500;
}
.description {
@@ -95,23 +130,28 @@
&-item {
display: flex;
align-items: center;
- min-height: 3rem;
- font-size: 0.8rem;
- color: var(--color-text);
- background: var(--color-cell-background);
+ min-height: 2rem;
+ // font-size: 0.8rem;
+ // color: var(--color-text);
+ // background: var(--color-cell-background);
// background: #181821;
// border-top: var(--border-bchat);
- border-bottom: var(--color-bchat-border);
+ // border-bottom: var(--color-bchat-border);
// border-bottom: var(--border-bchat);
- width: -webkit-fill-available;
- padding: 0 $bchat-margin-md;
+ // width: -webkit-fill-available;
+ // padding: 0 5px;
transition: $bchat-transition-duration;
- cursor: pointer;
+ // cursor: pointer;
+ color: var(--color-text);
+ /* font-family: Poppins; */
+ font-size: 18px;
+ /* font-style: normal; */
+ font-weight: 500;
- &:hover {
- background: var(--color-clickable-hovered);
- }
+ // &:hover {
+ // background: var(--color-clickable-hovered);
+ // }
}
// no double border (top and bottom) between two elements
@@ -119,6 +159,143 @@
border-top: none;
}
+ .profile-name {
+ display: flex;
+ // margin-top: $bchat-margin-sm;
+ // margin-bottom: $bchat-margin-sm;
+ justify-content: center;
+ // width: 100%;
+ // font-family: $bchat-font-default;
+ font-weight: 400;
+ align-items: center;
+
+ .inputBox {
+ display: flex;
+ // width: 200px;
+ padding-left: 45px;
+ }
+
+ .saveIcon {
+ // width: 35px;
+ color: var(--color-accent);
+ cursor: pointer;
+ // margin: auto 0;
+ margin-left: 7px;
+ }
+
+ input {
+ height: 42px;
+ border-radius: 16px;
+ text-align: center;
+ font-size: $bchat-font-md;
+ background: var(--color-input-background);
+ color: var(--color-text);
+ border: 1px solid #46465d;
+ outline: none;
+ }
+
+ &-uneditable {
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+ width: 100%;
+ margin-right: 25px;
+ font-family: $bchat-font-default;
+
+ p {
+ font-size: 16px;
+ padding: 0px $bchat-margin-sm;
+ margin-left: 33px;
+ line-height: 22px;
+ }
+
+ .qr-icon-btn {
+ width: 30px;
+ height: 30px;
+ // left: 103px;
+ position: relative;
+ cursor: pointer;
+
+ &:hover {
+ color: #128b17;
+ }
+ }
+
+ .bchat-icon-button {
+ padding: 0px;
+ }
+ }
+ }
+ .disppear-wrapper {
+ width: 100%;
+ height: 50px;
+ align-items: center;
+ display: flex;
+ justify-content: space-between;
+ border-radius: 16px;
+ background: var(--color-profile-id-bg);
+ margin-top: 15px;
+ padding: 0 15px;
+ // color: #f0f0f0;
+ cursor: pointer;
+ }
+ .disappear-option {
+ display: grid;
+ grid-template-columns: auto auto auto auto;
+ gap: 7px;
+ margin: 15px 0;
+ text-align: left;
+ span {
+ padding:0 10px;
+ color: #a7a7ba;
+ font-size: 16px;
+ font-weight: 400;
+ }
+ span:hover {
+ border-radius: 16px;
+ background: var(--color-disappear-time-hover);
+ cursor: pointer;
+ }
+ }
+ .hr-line {
+ width: 100%;
+ height: 4px;
+ background:var(--color-modal-footer);
+ margin-bottom: 15px;
+ }
+ .grp_btn_wrapper {
+ width: 100%;
+ border-radius: 12px;
+ border: 1px solid #202329;
+ /* background: #131313; */
+ padding: 10px;
+ margin: 15px 0px;
+
+ .add-btn {
+ border-radius: 50px;
+ background: #108d32;
+ color: #f0f0f0;
+ font-size: 12px;
+ font-weight: 500;
+ padding: 5px 7px 5px 0;
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+ }
+ .list-wrapper {
+ padding-top: 10px;
+ max-height: 294px;
+ overflow: auto;
+ .bchat-member-item {
+ height: 60px;
+ }
+ .bchat-member-item:hover {
+ background: unset !important;
+ cursor: default;
+ }
+ }
+ }
+
// bottom button
.bchat-button.square-outline.danger {
margin-top: auto;
@@ -139,10 +316,24 @@
text-align: center;
}
+ .grp_more_member {
+ .module-media-gallery__content {
+ height: 191px !important;
+ }
+ }
+ .img-wrapper {
+ .module-media-gallery__content {
+ overflow-y: hidden;
+ height: 303px;
+ }
+ }
+
.module-attachment-section__items {
&-media {
display: grid;
grid-template-columns: repeat(3, 1fr);
+ row-gap: 15px;
+ column-gap: 15px;
width: 100%;
}
@@ -168,15 +359,16 @@
&--active {
border-bottom: none;
opacity: 1;
-
- &:after {
- content: ''; /* This is necessary for the pseudo element to work. */
- display: block;
- margin: 0 auto;
- width: 70%;
- padding-top: 0.5rem;
- border-bottom: var(--border-unread);
- }
+ border-radius: 16px;
+ background: var(--color-profile-header-bg);
+ // &:after {
+ // content: ''; /* This is necessary for the pseudo element to work. */
+ // display: block;
+ // margin: 0 auto;
+ // width: 70%;
+ // padding-top: 0.5rem;
+ // border-bottom: var(--border-unread);
+ // }
}
}
@@ -186,14 +378,16 @@
.module-media-grid-item__image,
.module-media-grid-item {
- height: calc(
- 30vw / 4
- ); //.group-settings is 22vw and we want three rows with some space so divide it by 4
- width: calc(
- 29vw / 4
- ); //.group-settings is 22vw and we want three rows with some space so divide it by 4
+ // height: calc(
+ // 30vw / 4
+ // ); //.group-settings is 22vw and we want three rows with some space so divide it by 4
+ // width: calc(
+ // 29vw / 4
+ // ); //.group-settings is 22vw and we want three rows with some space so divide it by 4
// margin: auto;
- border-radius: 5px;
+ height: calc(22vw / 4);
+ width: calc(26vw / 4);
+ border-radius: 8px;
}
}
}
@@ -210,7 +404,8 @@
bottom: 10px;
border-radius: 10px;
color: red;
- font-family: $bchat-font-poppin-medium;
+ // font-family: $bchat-font-poppin-medium;
+ font-weight: 500;
cursor: pointer;
&:hover {
diff --git a/stylesheets/_bchat_left_pane.scss b/stylesheets/_bchat_left_pane.scss
index e71823fb..727792fd 100644
--- a/stylesheets/_bchat_left_pane.scss
+++ b/stylesheets/_bchat_left_pane.scss
@@ -1,20 +1,31 @@
$bchat-compose-margin: 20px;
.gutter {
- width: 380px !important;
+ // width: 380px !important;
transition: none;
- background: var(--color-cell-background);
+ // background: var(--color-cell-background);
+}
+
+.d-none {
+ display: none !important;
}
.module-conversation {
+
// default conversation list item text color
&__user__profile {
+
&-number,
&-name {
- font-weight: bold;
- font-size: 15px;
-
- color: var(--color-text-subtle);
+ // font-weight: bold;bchat-noMsgRequest
+ // font-size: 15px;
+
+ // color: var(--color-text-subtle);
+ // color: #f0f0f0;
+ font-size: 18px;
+ // font-style: normal;
+ font-weight: 400;
+ // line-height: normal;
}
}
@@ -23,17 +34,21 @@ $bchat-compose-margin: 20px;
&:hover {
background: var(--color-clickable-hovered);
- box-shadow: var(--color-Bchat-shadow);
+ // box-shadow: var(--color-Bchat-shadow);
// background: #242431;
+ border-radius: 16px;
+ // background: #2e333d;
}
&--is-selected {
background: var(--color-conversation-item-selected);
+ border-radius: 16px;
+ // background: #2e333d;
.module-conversation__user__profile-number,
- .module-conversation__user__profile-name,
+ // .module-conversation__user__profile-name,
.module-conversation-list-item__message__text {
- color: var(--color-text);
+ color: var(--color-last-msg-txt);
}
}
@@ -41,43 +56,62 @@ $bchat-compose-margin: 20px;
// border-left: var(--border-unread);
background: var(--color-conversation-item-has-unread);
// background-color: #39394A;
- margin-bottom: 2px;
+ // margin-bottom: 2px;
// border-radius: 10px;
- padding-left: 6px;
+ // padding-left: 6px;
// border-top: 1px solid #1c1c26;
- border-bottom: 1px solid var(--color-borderBottomColor);
+ // border-bottom: 1px solid var(--color-borderBottomColor);
// border-bottom: 1px solid #1c1c26;
+ border-radius: 16px;
+
+ // background: #2e333d;
.verticalLine {
- width: 5px;
+ // width: 5px;
// background-color: #128B17;
- margin-right: 5px;
+ // margin-right: 5px;
height: 100%;
border-radius: 20px;
}
}
+ &_unread-count_wrapper {
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-end;
+ /* width: 17%; */
+ flex-shrink: 0;
+ flex: 4;
+ }
+
&__unread-count {
// color: var(--color-text);
/* background: var(--color-clickable-hovered); */
- color: white;
- background-color: #128b17;
- position: relative;
+ // color: white;
+ // background-color: #128b17;
+ // position: relative;
// font-weight: 700 !important;
- box-shadow: none !important;
+ // box-shadow: none !important;
margin: 0 !important;
- flex-shrink: 0;
+ // flex-shrink: 0;
// left: 68%;
- top: -2px;
+ // top: -2px;
/* margin-top: 13px; */
- width: 25px;
- height: 25px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 30px;
- font-size: 9px;
- font-family: $bchat-font-poppin-medium;
+ // width: 25px;
+ // height: 25px;
+ // display: flex;
+ // justify-content: center;
+ // align-items: center;
+ // border-radius: 30px;
+ // font-size: 9px;
+
+ border-radius: 22px;
+ background: #108d32;
+ flex-shrink: 0;
+ color: #f0f0f0;
+ font-size: 12px;
+ font-weight: 600;
+ padding: 1px 10px;
}
&__header__date,
@@ -87,11 +121,11 @@ $bchat-compose-margin: 20px;
}
&__message__text {
- color: $bchat-shade-17;
+ color: var(--color-last-msg-txt);
text-align: left;
&--has-unread {
- color: var(--color-text);
+ color: var(--color-last-msg-txt);
}
}
@@ -108,13 +142,87 @@ $bchat-compose-margin: 20px;
}
}
+.offline-msg {
+ margin: 11px;
+ // border: 1px solid #4b4b64;
+ height: 50px;
+ display: flex;
+ /* justify-content: center; */
+ align-items: center;
+ padding: 10px;
+ border-radius: 6px;
+ background-color: var(--color-offline-content-bg);
+
+ .txt {
+ font-size: 11px;
+ margin-left: 11px;
+ // color: #a7a7ba;
+ }
+}
+
+.connection-Wrapper {
+ margin: 10px;
+ font-size: 16px;
+ padding: 30px 15px;
+ border-radius: 16px;
+
+ .dotIcon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #108D32;
+ margin-right: 10px;
+ }
+
+ // color: #3bd110;
+ // .dots {
+ // display: flex;
+ // justify-content: space-between;
+ // width: 30px;
+ // margin-left: 5px;
+ // }
+
+ .dot {
+ width: 6px;
+ height: 6px;
+ background-color: #a4a6a9;
+ border-radius: 50%;
+ animation: dot-blink 1.5s infinite ease-in-out;
+ }
+
+ .dot:nth-child(1) {
+ animation-delay: 0s;
+ }
+
+ .dot:nth-child(2) {
+ animation-delay: 0.3s;
+ }
+
+ .dot:nth-child(3) {
+ animation-delay: 0.6s;
+ }
+
+ @keyframes dot-blink {
+
+ 0%,
+ 80%,
+ 100% {
+ opacity: 0;
+ }
+
+ 40% {
+ opacity: 1;
+ }
+ }
+}
+
.module-left-pane {
// width: $bchat-left-pane-width;
position: relative;
height: 100vh;
flex-shrink: 0;
// background: var(--color-inbox-background);
- background-color: var(--color-overlayBg);
+ // background-color: var(--color-overlayBg);
@include placeholder {
color: #7e7e8d;
@@ -124,10 +232,12 @@ $bchat-compose-margin: 20px;
display: flex;
height: 100vh;
}
+
.addContactFloating {
position: absolute;
bottom: 75px;
left: 313px;
+
&-content {
width: 50px;
height: 50px;
@@ -138,11 +248,13 @@ $bchat-compose-margin: 20px;
align-items: center;
border-radius: 44px;
cursor: pointer;
+
&:hover {
background-color: $bchat-button-hovor-color;
}
}
}
+
&__header {
display: flex;
flex-direction: row;
@@ -158,11 +270,16 @@ $bchat-compose-margin: 20px;
// background-color: #F2F2F2;
&__title {
+ display: flex;
padding: 0 var(--margins-sm);
flex-grow: 1;
color: var(--color-text);
font-family: $bchat-font-poppin-semibold;
font-size: 22px;
+
+ .bchat-icon-button {
+ cursor: unset;
+ }
}
&_gearIcon {
@@ -178,7 +295,7 @@ $bchat-compose-margin: 20px;
background-size: contain;
cursor: pointer;
background-repeat: no-repeat;
- margin-top: 7px;
+ // margin-top: 7px;
margin-right: 18px;
}
@@ -223,90 +340,210 @@ $bchat-compose-margin: 20px;
&__chatHeader {
position: relative;
left: 12px;
- font-family: $bchat-font-default;
- font-size: 24px;
- font-weight: bold;
+ /* font-family: "Poppins"; */
+ /* font-size: 24px; */
+ /* font-weight: bold; */
+ color: #108d32;
+ font-size: 28px;
+ font-weight: 700;
+ margin: 40px 0px 5px 5px;
}
&__subHeader {
text-align: center;
- font-family: $bchat-font-poppin-medium;
- font-size: $bchat-font-h4;
margin-bottom: 10px;
+ border-radius: 13px;
+ border: 1px solid var(--color-search-border);
+ background-color: var(--color-left-pane-bg);
+ color: #108d32;
+ font-size: 24px;
+ font-weight: 700;
+ width: 141px;
+ position: absolute;
+ top: -42px;
+ left: 30%;
}
&-overlay {
// background: var(--color-left-pane-overlay-background);
-
+ background-color: var(--color-left-pane-bg);
display: flex;
flex-direction: column;
flex-grow: 1;
// align-items: center;
overflow-y: auto;
overflow-x: hidden;
+ min-width: 300px;
+ width: 25vw;
+ max-width: 420px;
+ position: relative;
+
+ // background: #202329;
&-loadingWrapper {
position: absolute;
width: 100%;
- height: 91%;
- background-color:rgba(0, 0, 0, 0.6);
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.6);
display: flex;
+ z-index: 99;
+ left: 0;
+ top: 0;
}
+
&-closed {
&--header {
- font-family: $bchat-font-poppins-bold;
- font-size: 22px;
- justify-content: flex-start;
- width: 87%;
- margin-left: 20px;
- margin-top: 30px;
+ font-size: 24px;
+ // justify-content: flex-start;
+ // width: 87%;
+ // margin-left: 20px;
+ // margin-top: 30px;
}
&--subHeader {
- display: flex;
- justify-content: flex-start;
- font-family: $bchat-font-poppin-regular;
+ // color: #f0f0f0;
font-size: 18px;
- width: 88%;
- margin: 30px 0 8px 20px;
+ font-weight: 400;
+ // display: flex;
+ // justify-content: flex-start;
+ // font-family: $bchat-font-poppin-regular;
+ // font-size: 18px;
+ // width: 88%;
+ // margin: 30px 0 8px 20px;
// margin-top: 13px;
// margin-left: 20px;
// margin-bottom: 8px;
}
+
+ &--search-label {
+ color: #a7a7ba;
+ font-size: 18px;
+ font-weight: 500;
+ }
+ }
+
+ .bchatId_input_wrapper {
+ padding: 15px;
+ border-radius: 16px;
+ border: 2px solid var(--color-search-border);
+ // background: #202329;
+ margin: 15px;
+ }
+
+ .ourDetails_wrapper {
+ border-radius: 16px;
+ border: 2px solid var(--color-search-border);
+ background-color: var(--color-left-pane-bg);
+ margin: 15px;
+ padding: 15px;
+ position: relative;
+
+ .avatar-Wrapper {
+ display: flex;
+ align-items: center;
+ }
+
+ .profile-name {
+ margin-left: 15px;
+ // color: #f0f0f0;
+ font-size: 24px;
+ font-weight: 700;
+ word-break: break-all;
+ }
+
+ .label-txt {
+ color: #a7a7ba;
+ font-size: 16px;
+ font-weight: 500;
+ }
+
+ .id-Wrapper {
+ border-radius: 16px;
+ border: 1px solid var(--color-profile-id-border);
+ background: var(--color-profile-id-bg);
+ display: flex;
+ padding: 10px;
+
+ p {
+ color: #108d32;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ font-weight: 500;
+ font-size: 16px;
+ }
+
+ .blue-color {
+ color: #2d81ff;
+ }
+ }
+
+ .back-btn-txt {
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 500;
+ margin-left: 5px;
+ }
+
+ .qr-wrapper {
+ border-radius: 15.147px;
+ // border: 0.947px solid #4b4b64;
+ // background: #282836;
+ padding: 10px;
+
+ // width: 70%;
+ }
+
+ .qr-txt {
+ color: #a7a7ba;
+ font-size: 18px;
+ font-weight: 400;
+ }
}
&-open {
&hint-message {
width: 100%;
- margin: 10px auto 0px;
- font-size: 14px;
- color: #6e6e84;
- padding: 15px 34px 15px 20px;
- font-family: $bchat-font-poppin-regular;
- line-height: 1.8;
+ // margin: 10px auto 0px;
+ // font-size: 14px;
+ // color: #6e6e84;
+ // padding: 15px 34px 15px 20px;
+ // font-family: $bchat-font-poppin-regular;
+ // line-height: 1.8;
+ color: #858598;
+ font-size: 15px;
+ font-weight: 400;
+ padding: 5px;
}
&-title {
margin-top: 53px;
- margin-left: 20px;
margin-bottom: 10px;
- font-family: $bchat-font-poppin-medium;
+ color: #a7a7ba;
+ font-size: 18px;
+ font-weight: 500;
}
}
::placeholder {
- font-family: $bchat-font-poppin-medium;
+ color: #858598;
+ font-family: $bchat-font-default;
+ font-weight: 400;
}
.buttonBox {
- // width: 100%;
- width: 378px;
+ width: 100%;
+ // padding: 0 90px;
+ display: flex;
+ justify-content: center;
+ // justify-items: center;
+ // width: 378px;
// background-color: var(--color-overlayBg);
- padding: 0 0;
- text-align: center;
- margin: 5px auto;
- z-index: 1;
- padding-top: 10px;
+ // padding: 0 0;
+ // text-align: center;
+ // margin: 5px auto;
+ // z-index: 1;
+ // padding-top: 10px;
.bchat-button.brand-outline.danger {
width: 79%;
@@ -317,23 +554,28 @@ $bchat-compose-margin: 20px;
}
}
- .nextButton {
- width: 79%;
- height: 50px;
- border: none;
- border-radius: 10px;
- color: #fff;
- font-family: $bchat-font-poppin-semibold;
- // background-image: var(--button-color);
- background-color: var(--button-color);
-
- margin: 15px auto;
-
- &:hover {
- background-color: $bchat-button-hovor-color;
- }
+ .messageRequestButton {
+ display: flex;
+ justify-content: center;
}
+ // .nextButton {
+ // width: 79%;
+ // height: 50px;
+ // border: none;
+ // border-radius: 10px;
+ // color: #fff;
+ // font-family: $bchat-font-poppin-semibold;
+ // // background-image: var(--button-color);
+ // background-color: var(--button-color);
+
+ // margin: 15px auto;
+
+ // &:hover {
+ // background-color: $bchat-button-hovor-color;
+ // }
+ // }
+
.bchat-icon .exit {
padding: 13px;
}
@@ -381,10 +623,10 @@ $bchat-compose-margin: 20px;
align-self: flex-start;
}
- .bchat-search-input {
- margin: 10px $bchat-compose-margin 0 $bchat-compose-margin;
- width: -webkit-fill-available;
- }
+ // .bchat-search-input {
+ // margin: 10px $bchat-compose-margin 0 $bchat-compose-margin;
+ // width: -webkit-fill-available;
+ // }
.bchat-description-long {
font-size: $bchat-font-sm;
@@ -394,31 +636,31 @@ $bchat-compose-margin: 20px;
color: var(--color-HintMessageText);
}
- .bchat-id-editable {
- width: 90%;
- background-color: var(--color-inboxBgColor);
- margin: 0 auto;
- border: none;
- margin-bottom: 10px;
- box-shadow: var(--color-bchat-shadow);
-
- textarea::-webkit-inner-spin-button {
- margin: 0px 20px;
- width: -webkit-fill-available;
- flex-shrink: 0;
- }
- }
+ // .bchat-id-editable {
+ // width: 90%;
+ // background-color: var(--color-inboxBgColor);
+ // margin: 0 auto;
+ // border: none;
+ // margin-bottom: 10px;
+ // box-shadow: var(--color-bchat-shadow);
+
+ // textarea::-webkit-inner-spin-button {
+ // margin: 0px 20px;
+ // width: -webkit-fill-available;
+ // flex-shrink: 0;
+ // }
+ // }
.bchat-id-editable-disabled {
border: none;
}
- .bchat-button {
- width: fit-content;
- margin-top: 1rem;
- margin-bottom: 3rem;
- flex-shrink: 0;
- }
+ // .bchat-button {
+ // width: fit-content;
+ // margin-top: 1rem;
+ // margin-bottom: 3rem;
+ // flex-shrink: 0;
+ // }
.bchat-noMsgRequest-box {
width: 100%;
@@ -426,6 +668,13 @@ $bchat-compose-margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
+
+ .content-txt {
+ color: #858598;
+ text-align: center;
+ font-size: 24px;
+ font-weight: 400;
+ }
}
.bchat-noMsgRequest {
@@ -441,6 +690,7 @@ $bchat-compose-margin: 20px;
margin: 0 auto;
margin-bottom: 23px;
}
+
.bchat-noMsgRequest-leftPane {
display: flex;
width: 291px;
@@ -461,12 +711,18 @@ $bchat-compose-margin: 20px;
display: flex;
flex-direction: column;
// flex-grow: 1;
- height: 82.8%;
+ height: 100%;
transition: none;
- background: var(--color-left-pane-overlay-background);
+ // background: var(--color-left-pane-overlay-background);
// text-align: center;
justify-content: center;
+ min-width: 300px;
+ width: 25vw;
+ // height: 96vh;
+ max-width: 420px;
+ padding: 15px;
+
.bchatEmptyScrBox {
display: flex;
flex-direction: column;
@@ -474,15 +730,15 @@ $bchat-compose-margin: 20px;
height: 100%;
}
- .addContactImg {
- width: 111px;
- height: 103px;
- background-image: var(--image-AddContact);
- background-repeat: no-repeat;
- background-size: contain;
- /* text-align: center; */
- margin: 0 auto;
- }
+ // .addContactImg {
+ // width: 111px;
+ // height: 103px;
+ // background-image: var(--image-AddContact);
+ // background-repeat: no-repeat;
+ // background-size: contain;
+ // /* text-align: center; */
+ // margin: 0 auto;
+ // }
.left-pane-contact-bottom-buttons .bchat-button {
vertical-align: middle;
@@ -490,21 +746,22 @@ $bchat-compose-margin: 20px;
text-align: center;
}
- .nextButton {
- width: 79%;
- height: 50px;
- border: none;
- border-radius: 10px;
- color: #fff;
- font-family: $bchat-font-poppin-semibold;
- // background-image: var(--button-color);
- background-color: var(--button-color);
- margin: 15px auto;
-
- &:hover {
- background-color: $bchat-button-hovor-color;
- }
- }
+ // .nextButton {
+ // width: 79%;
+ // height: 50px;
+ // border: none;
+ // border-radius: 10px;
+ // color: #fff;
+ // // font-family: $bchat-font-poppin-semibold;
+ // // background-image: var(--button-color);
+ // background-color: var(--button-color);
+ // margin: 15px auto;
+ // font-weight: 600;
+
+ // &:hover {
+ // background-color: $bchat-button-hovor-color;
+ // }
+ // }
}
.bchat-left-pane-section-content {
@@ -512,6 +769,7 @@ $bchat-compose-margin: 20px;
flex-direction: column;
flex: 1;
overflow: hidden;
+ background-color: var(--color-left-pane-bg);
}
.user-search-dropdown {
@@ -523,43 +781,50 @@ $bchat-compose-margin: 20px;
.bchat-search-input {
height: 60px;
- width: 100%;
+ // width: 420px;
margin-inline-end: 1px;
margin-bottom: 10px;
display: inline-flex;
flex-shrink: 0;
- background: var(--color-inboxBgColor);
+ // background: var(--color-inboxBgColor);
padding: 0 21px;
- box-shadow: var(--color-Bchat-shadow);
+ // box-shadow: var(--color-Bchat-shadow);
+ border-radius: 16px;
+ // margin: 15px;
+ border: 1px solid var(--color-search-border);
+ // background: #202329;
+ display: flex;
+ align-items: center;
- .search {
- margin-top: 13px;
- display: flex;
- justify-content: center;
- justify-items: center;
- align-items: center;
- width: 32px;
- height: 32px;
- &:hover {
- background-color: var(--color-profile-close);
- border-radius: 20px;
- }
- }
+ // .search {
+ // margin-top: 13px;
+ // display: flex;
+ // justify-content: center;
+ // justify-items: center;
+ // align-items: center;
+ // width: 32px;
+ // height: 32px;
+ // &:hover {
+ // background-color: var(--color-profile-close);
+ // border-radius: 20px;
+ // }
+ // }
.bchat-icon-button {
margin: auto 10px;
}
input {
- width: inherit;
+ width: 70%;
height: inherit;
border: none;
flex-grow: 1;
- font-size: $bchat-font-sm;
- font-family: $bchat-font-default;
+ font-size: $bchat-font-lg;
+ // font-family: $bchat-font-default;
+ font-weight: 300;
text-overflow: ellipsis;
background: none;
- color: var(--color-text);
+ // color: var(--color-text);
&:focus {
outline: none !important;
@@ -567,8 +832,8 @@ $bchat-compose-margin: 20px;
}
::placeholder {
- font-family: $bchat-font-poppin-medium;
- color: #bababa;
+ color: #a7a7ba;
+ font-weight: 300;
}
}
@@ -583,40 +848,47 @@ $bchat-compose-margin: 20px;
.bchat-full-logo {
display: flex;
- flex-direction: column;
+ flex-direction: row;
align-items: center;
justify-content: center;
// for bchat style
.bchat-brand-logo {
- height: 200px;
+ height: 450px;
// filter: brightness(0) saturate(100%) invert(75%) sepia(84%) saturate(3272%) hue-rotate(103deg) brightness(106%) contrast(103%);
}
.bchat-text {
- font-family: $bchat-font-poppin-semibold;
- /* color: #fff; */
- color: #4e4e5f;
- font-size: 24px;
- text-align: center;
+ // font-family: $bchat-font-poppin-semibold;
+ // /* color: #fff; */
+ // color: #4e4e5f;
+ // font-size: 24px;
+ // text-align: center;
+ color: #108d32;
+ font-size: 28px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: normal;
}
.bchat-text-logo {
display: flex;
- flex-direction: column;
+ flex-direction: row;
align-items: center;
justify-content: flex-end;
margin-top: 12px;
- width: 668px;
+ // width: 668px;
// max-width: 615px;
+ width: 32vw;
+ max-width: 668px;
height: 570px;
// filter: var(--filter-bchat-text);
background-image: var(--image-EmptyChatImg);
background-repeat: no-repeat;
transition: 0s;
background-position: center;
- background-size: 75%;
+ background-size: 100%;
.path {
fill: red;
@@ -636,6 +908,7 @@ $bchat-compose-margin: 20px;
height: $composition-container-height;
border: var(--border-bchat);
}
+
.bchat-button.square-outline.square.danger {
flex-grow: 1;
height: $composition-container-height;
@@ -649,6 +922,7 @@ $bchat-compose-margin: 20px;
}
.left-pane-contact {
+
&-section,
&-content {
display: flex;
@@ -657,6 +931,7 @@ $bchat-compose-margin: 20px;
flex: 1;
.module-conversation-list-item {
+
&__header__date,
&__message {
display: none;
@@ -722,29 +997,39 @@ $bchat-compose-margin: 20px;
}
}
- &-content,
+ // &-content,
&-section {
display: flex;
flex-direction: column;
- // flex: 1;
- background-color: var(--color-leftpaneSetting);
- // height: 93%;
- height: calc(100% - 63px);
- overflow-y: auto;
+ height: calc(100%);
+ min-width: 300px;
+ width: 25vw;
+ max-width: 420px;
+ background: var(--color-left-pane-bg);
+ padding: 15px;
+ overflow: auto;
+
+ h6 {
+ // color: #f0f0f0;
+ font-size: 24px;
+ font-weight: 600;
+ margin: 0;
+ }
}
&-category-list-item {
background: none;
display: flex;
flex-direction: row;
- justify-content: space-between;
+ // justify-content: space-between;
align-items: center;
- height: 60px;
+ height: 65px;
line-height: 1.4;
padding: 0px 12px;
flex-shrink: 0;
cursor: pointer;
transition: $bchat-transition-duration !important;
+ margin: 5px 0;
&-icons {
width: 19px;
@@ -757,34 +1042,38 @@ $bchat-compose-margin: 20px;
}
&-span {
- font-family: $bchat-font-poppin-medium;
- font-size: 17px;
+ font-size: 18px;
+ font-weight: 400;
}
.beta {
margin-left: 5px;
- background-color: #9494a0;
- height: 11px;
- // border-radius: 2px;
- border-radius: 4px;
- padding: 0 5px;
+ background-color: var(--color-setting-wallet-beta-bg);
+ height: 18px;
+ border-radius: 6px;
+ padding: 4px 5px;
font-size: 8px;
- font-family: 'poppin-semibold';
letter-spacing: 1px;
+ font-weight: 600;
+ margin-top: -7px;
}
- & > div {
+ &>div {
display: block;
}
+ // &.active {
+ // // background: var(--color-conversation-item-selected);
+ // border-radius: 16px;
+ // background: #2e333d;
+ // }
+
+ &:hover,
&.active {
+ border-radius: 16px;
background: var(--color-conversation-item-selected);
}
- &:hover {
- background-color: var(--color-settings-leftpane-options-hover);
- }
-
&__buttons {
display: flex;
@@ -840,7 +1129,7 @@ $bchat-compose-margin: 20px;
margin: 50px 0 50px;
.panel-text-divider-line {
- border-bottom: 1px solid var(--color-pill-divider);
+ border-bottom: 2px solid var(--color-pill-divider);
line-height: 0.1em;
flex-grow: 1;
@@ -857,4 +1146,4 @@ $bchat-compose-margin: 20px;
font-family: $bchat-font-default;
font-size: $bchat-font-sm;
}
-}
+}
\ No newline at end of file
diff --git a/stylesheets/_bchat_password.scss b/stylesheets/_bchat_password.scss
index da83232b..06a63e50 100644
--- a/stylesheets/_bchat_password.scss
+++ b/stylesheets/_bchat_password.scss
@@ -15,9 +15,17 @@
justify-content: space-around;
}
}
+
.unlock-button {
- .bchat-button.brand-outline.green, .bchat-button.default-outline.green, .bchat-button.square-outline.green{
- background-image: linear-gradient(to bottom , #13B71A, #006004);
+
+ .bchat-button.brand-outline.green,
+ .bchat-button.default-outline.green,
+ .bchat-button.square-outline.green {
+ background-image: linear-gradient(to bottom, #13b71a, #006004);
+ }
+
+ .bchat-button.brand.primary:hover:not(.disabled) {
+ background-color: #32B10E;
}
}
@@ -26,24 +34,33 @@
display: flex;
justify-content: center;
align-items: center;
- background-color: $bchat-password-color-black;
+ // background-color: $bchat-password-color-black;
+ background: #131313;
width: 100%;
height: 100%;
padding: 3 * $bchat-margin-lg;
}
&-error-section {
- width: 75%;
+ // width: 84%;
color: $bchat-color-white;
- margin: -$bchat-margin-sm 0px 2 * $bchat-margin-lg 0px;
+ // margin: 6 0px 2 * $bchat-margin-lg 0px;
+ margin: 0 0px 17px 0px;
.bchat-label {
&.primary {
- background-color: #FF2424;
+ background-color: #ff2424;
}
+
padding: $bchat-margin-xs $bchat-margin-sm;
text-align: center;
- border-radius: 5px;
+ border-radius: 10px;
+ color: #f0f0f0;
+ font-family: Poppins;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 24px;
}
}
@@ -55,13 +72,15 @@
align-items: center;
justify-content: center;
- width: 600px;
+ width: 580px;
min-width: 420px;
- padding: 3 * $bchat-margin-lg 2 * $bchat-margin-lg;
+ // padding: 0 2 * $bchat-margin-lg;
box-sizing: border-box;
- background-color: $bchat-shade-4;
+ // background-color: $bchat-shade-4;
// border: 1px solid $bchat-shade-19;
border-radius: 10px;
+ background: #2e333d;
+ overflow: hidden;
.warning-info-area,
.password-info-area {
@@ -72,13 +91,26 @@
h1 {
color: $bchat-color-white;
}
+
svg {
margin-inline-end: $bchat-margin-lg;
}
}
- p,
- input {
+ .input-wrapper {
+ display: flex;
+ border-radius: 16px;
+ border: 1px solid #46465d;
+ background: #202329;
+ padding: 10px;
+ margin: 10px 0;
+ width: 88.5%;
+ }
+
+ p // ,
+
+ // input
+ {
margin: $bchat-margin-lg 0px;
}
@@ -87,21 +119,67 @@
}
#password-prompt-input {
- width: 100%;
+ width: 94%;
color: #fff;
// background-color: #2e2e2e;
- -webkit-text-security: square;
- margin-top: 2 * $bchat-margin-lg;
+ // -webkit-text-security: square;
+ // margin-top: 2 * $bchat-margin-lg;
padding: $bchat-margin-xs $bchat-margin-lg;
outline: none;
border: none;
- border-bottom: 1px solid $bchat-shade-19;
- border-radius: 2px;
- text-align: center;
+ // border-bottom: 1px solid $bchat-shade-19;
+ // border-radius: 2px;
+ // text-align: center;
font-size: 24px;
- letter-spacing: 5px;
+ // letter-spacing: 5px;
font-family: $bchat-font-default;
+
+ ::placeholder {
+ color: #858598;
+ }
+ }
+
+ .clearData-icon-wrapper {
+ background-color: #202329;
+ border-radius: 40px;
+ margin-right: 15px;
+ padding: 10px;
+ }
+
+ .clearData-title {
+ color: #f0f0f0;
+ font-family: Poppins;
+ font-size: 24px;
+ font-weight: 500;
+ margin: 0;
+ }
+
+ .clearData-content {
+ color: #a7a7ba;
+ font-family: Poppins;
+ font-size: 18px;
+ font-weight: 400;
+ margin-bottom: 0;
+ margin-top: 5px;
+ }
+
+ .btn-grp-wrapper {
+ width: 580px;
+ height: 100px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ // background-color: #202329;
+
+ .bchat-button.brand {
+ min-width: 250px;
+ }
+
+ .bchat-button.brand.danger {
+ background: #ff3e3e;
+ color: white;
+ }
}
}
}
-}
+}
\ No newline at end of file
diff --git a/stylesheets/_bchat_signin.scss b/stylesheets/_bchat_signin.scss
index df146b24..7dd91de4 100644
--- a/stylesheets/_bchat_signin.scss
+++ b/stylesheets/_bchat_signin.scss
@@ -1,6 +1,9 @@
.bchat {
&-head {
- color: var(--color-text);
+ // color: var(--color-text);
+ font-weight: 700;
+ font-size: 32px;
+ color: #f0f0f0;
}
&-fullscreen {
@@ -15,7 +18,7 @@
}
&_conversation-doodle {
- background-image: var(--image-BgDoodle);
+ // background-image: var(--image-BgDoodle);
width: 100%;
height: 100%;
}
@@ -37,25 +40,31 @@
&-accent {
&-text {
- font-family: $bchat-font-poppins-bold;
+ font-family: $bchat-font-open-sans;
+ font-weight: 800;
+ width: 390px;
.title {
- font-size: 31px;
- font-weight: bold;
- line-height: 37px;
- text-align: center;
+ font-size: 40px;
+ // font-weight: bold;
+ line-height: 48px;
+ // text-align: center;
color: var(--color-text);
- padding: 2px 0px 14px 0;
+ margin-top: $bchat-margin-xl;
+ margin-bottom: $bchat-margin-md;
}
.title2 {
- font-size: 13px;
- padding: 7px 0px 8px 0px;
- line-height: 17px;
- text-align: center;
+ font-size: 20px;
+ // padding: 7px 0px 8px 0px;
+ line-height: 32px;
+ // text-align: center;
// color:var(--color-Bchat-hint);
- color: #ffffff;
- font-family: $bchat-font-poppin-regular;
+ color: #a7a7ba;
+ font-family: $bchat-font-open-sans;
+ font-weight: 300;
+ margin-bottom: $bchat-margin-xl;
+ // margin-top: $bchat-margin-md;
}
}
}
@@ -86,41 +95,47 @@
&-container {
display: flex;
flex-direction: column;
- width: 500px;
+ // width: 470px;
+ height: 100%;
- .bchat-button {
- width: 100%;
- }
&-walletHintText {
margin: 0;
- margin-left: 59px;
- margin-bottom: 35px;
- color: var(--color-text);
+ // margin-left: 59px;
+ margin-left: 38px;
+ margin-bottom: 30px;
+ font-size: 16px;
+ // color: var(--color-text);
+ color: rgba(167, 167, 186, 0.92);
}
+
.warning-notes {
- color: #c1c1c1;
- // text-align: center;
- font-family: 'poppin-regular';
- font-size: 12px;
- width: 88%;
- margin-top: 45px;
- /* display: flex; */
- margin-left: 58px;
+ width: 97%;
+ margin-top: 30px;
+ line-height: 25px;
+ color: #a9aeba;
+ font-size: 16px;
+ font-weight: 300;
+ line-height: 30px;
span {
- color: #f23333;
+ color: #ff9649;
+ font-size: 16px;
+ font-weight: 500;
}
+
strong {
- font-size: 12px;
- font-family: $bchat-font-poppin-semibold;
+ font-size: 16px;
+ color: #ebebeb;
}
}
}
&__content {
- width: 92%;
- padding-top: 20px;
- margin-left: 26px;
+ // width: 92%;
+ // padding-top: 20px;
+ // margin-left: 26px;
+ margin-bottom: $bchat-margin-md;
+ width: 417px
}
&__content1 {
@@ -141,9 +156,9 @@
// color: white;
font-family: $bchat-font-poppins-bold;
font-weight: bold;
- padding: 0px 50px !important;
- font-size: 20px;
- font-weight: bold;
+ // padding: 0px 50px !important;
+ font-size: 32px;
+ // font-weight: bold;
line-height: 26px;
padding-top: 2em;
text-align: center;
@@ -156,16 +171,18 @@
&__entry-fields {
margin: 0px;
- padding-bottom: 40px;
- margin-top: 40px;
+ padding-bottom: 25px;
+ padding-top: 30px;
+ // margin-top: 40px;
}
&__backbutton {
position: relative;
color: white;
- top: 33px;
+ top: 39px;
width: 30px;
height: 30px;
+
&:hover {
background-color: #52505f;
border-radius: 20px;
@@ -173,26 +190,31 @@
}
&-header {
- text-align: center;
- color: var(--color-text);
- font-size: 24px;
+ // text-align: center;
+ color: #f0f0f0;
+ font-size: 32px;
padding-bottom: 25px;
- font-weight: 600;
- font-family: $bchat-font-poppins-bold;
+ font-weight: 700;
+ padding-left: 35px;
}
&-hr {
- width: 50%;
- color: #353543;
- margin-top: 37px;
+ width: 78%;
+ // color: #353543;
+ // margin-top: 25px;
+ border-color: #23232f;
+ margin-top: 25px;
+ margin-bottom: 25px;
}
&-goback-icon {
position: relative;
- color: white;
+ // color: #A9AEBA;
+ margin-right: $bchat-margin-xs;
+
&:hover {
- background-color: #52505f;
- border-radius: 20px;
+ background-color: #2e333d;
+ border-radius: 8px;
}
}
@@ -208,29 +230,32 @@
}
&-welcome-screen-container {
- width: 75%;
- margin: 0 auto;
- text-align: center;
+ width: 450px;
+ // margin: 0 auto;
+ // text-align: center;
+ color: #f0f0f0;
.iconBox {
- width: 40px;
- height: 40px;
- background-color: var(--color-inboxBgColor);
- background-size: 16px;
- border-radius: 35px;
- background-position: center;
+ width: 26px;
+ height: 26px;
+ // background-color: var(--color-inboxBgColor);
+ // background-size: 16px;
+ // border-radius: 35px;
+ // background-position: center;
cursor: pointer;
- margin-top: 207px;
- margin-left: 35px;
- color: var(--color-copyIcon);
- display: flex;
- align-items: center;
- justify-content: center;
+ // margin-top: 207px;
+ // margin-left: 35px;
+ // display: flex;
+ // align-items: center;
+ justify-content: flex-end;
}
+
.iconBox:hover {
// transform: scale(1.1);
// color: #1ced23;
- background-color: #008d00;
+ background-color: #2E333D;
+ border-radius: 10px;
+ // opacity: 0.5;
}
}
@@ -240,141 +265,165 @@
top: 32px;
width: 30px;
height: 30px;
+
&:hover {
background-color: #52505f;
border-radius: 20px;
}
}
- &-welcome-screen-back {
- padding: 20px;
- background-color: var(--color-body-bg);
- border-radius: 10px;
- margin: 10px 0 37px;
- height: 375px;
- box-shadow: 0px 0px 6px 0px #d1d1d1;
- }
+ // &-welcome-screen-back {
+ // // padding: 20px;
+ // // background-color: var(--color-body-bg);
+ // // border-radius: 10px;
+ // margin: 10px 0 37px;
+ // height: 375px;
+ // // box-shadow: 0px 0px 6px 0px #d1d1d1;
+ // }
&-welcome-screen-chat {
- color: var(--color-text);
+ // color: var(--color-text);
font-size: 18px;
margin: 0;
padding: 10px 0px;
- font-family: $bchat-font-poppin-semibold;
+ font-weight: 500;
+ // font-family: $bchat-font-poppin-semibold;
}
&-welcome-screen-chat-content {
- width: 80%;
+ // width: 80%;
display: flex;
- font-size: 10px;
- color: #82828d;
- margin: 10px auto;
+ font-size: 16px;
+ color: #a7a7ba;
+ font-weight: 300;
+
+ p {
+ margin-top: 10px;
+ }
}
&-welcome-screen-chat-value {
- background-color: var(--color-inboxBgColor);
- border-radius: 13px;
+ border-radius: 16px;
+ border: 1px solid #3a3a41;
+ background: #202329;
display: flex;
- padding: 0px 15px;
- font-size: 12px;
- font-family: $bchat-font-poppin-medium;
- box-shadow: 0px 0px 6px 0px #19192424;
+ padding: 10px 30px;
+ font-size: 16px;
+ /* box-shadow: 0px 0px 6px 0px #19192424; */
+ font-weight: 500;
+ // /* padding: 10px;
}
&-recovery-phrase {
- padding: 5px 20px;
- background-color: var(--color-inboxBgColor);
- border-radius: 12px;
- margin: 10px 0 25px;
+ padding: 10px 10px 10px 20px;
+ // background-color: var(--color-inboxBgColor);
+ // border-radius: 12px;
+ // margin: 10px 0 25px;
display: flex;
- width: 100%;
- height: 135px;
- // justifyContent: "center",
- font-size: 12px;
- color: #0bb70f;
- align-items: center;
- box-shadow: 0px 0px 6px 0px #19192424;
+ /* width: 100%; */
+ // height: 135px;
+ /* font-size: 12px; */
+ /* color: #0bb70f; */
+ // align-items: center;
+
+ border-radius: 16px;
+ border: 1px solid #46465d;
+ background: #202329;
+ // height: 118px;
+ }
+
+ // &-recovery-phrase-textarea {
+ // outline: none;
+ // border: none;
+ // resize: none;
+ // text-align: center;
+ // height: 118px;
+ // padding-top: 18px;
+ // }
+
+ &-recovery-phrase-txt {
+ color: #f0f0f0;
+ font-size: 14px;
+ margin: 0;
+ padding: 10px 10px 10px 0px;
}
- &-recovery-phrase-textarea {
- outline: none;
- border: none;
- resize: none;
- text-align: center;
- height: 118px;
- padding-top: 18px;
+ &-recovery-phrase-hintTxt {
+ color: #a9aeba;
+ font-size: 11px;
+
+ span {
+ color: #ff9649;
+ }
}
}
&-restore-seed {
&__address-container {
- width: 90%;
- margin: 0 auto;
- text-align: center;
+ // width: 90%;
+ // margin: 0 auto;
}
&-parent-box {
// display: flex;
// flex-direction: row;
// width: 100%;
- margin-bottom: 47px;
+ // margin-bottom: 47px;
+ margin-bottom: 25px;
}
&-text-box {
- background-color: var(--color-inboxBgColor);
- width: 95%;
- // min-height: 60px;
- border-radius: 13px;
- text-align: center;
- color: #0bb70f;
- box-shadow: 0px 0px 6px 0px #19192424;
+ width: 450px;
+ display: flex;
+ border-radius: 16px;
+ border: 1px solid #46465d;
+ background: #202329;
+ padding: 15px;
+ color: #f0f0f0;
}
&-text-area {
outline: none;
border: none;
resize: none;
- text-align: center;
- padding: 15px;
+ // text-align: center;
+ // padding: 15px;
width: 90%;
- min-height: 120px;
+ min-height: 95px;
overflow-y: hidden;
}
::placeholder {
- color: #77778b;
- font-family: $bchat-font-poppin-semibold;
+ color: #858598;
+ font-family: $bchat-font-default;
+ font-weight: 400;
}
&-icon-box {
display: flex;
- width: 24vw;
+ /* width: 24vw; */
/* background: antiquewhite; */
- align-items: center;
- margin-left: 1.5vw;
- position: relative;
+ /* align-items: center; */
+ /* margin-left: 1.5vw; */
+ /* position: relative; */
+ justify-content: flex-end;
+ width: 10%;
.paste-icon {
// background-image: url('../images/bchat/paste.svg') no-repeat;
// background: url(images/bchat/paste.svg) no-repeat;
- width: 40px;
- height: 40px;
- background-color: var(--color-inboxBgColor);
- background-size: 16px;
- border-radius: 35px;
- background-position: center;
- left: 430px;
- top: -92px;
- position: absolute;
- cursor: pointer;
-
+ width: 30px;
+ height: 30px;
display: flex;
justify-content: center;
align-items: center;
+ cursor: pointer;
+ border-radius: 8px;
+
&:hover {
- background-color: #52505f;
+ // opacity: 0.5;
// background-color: var(--color-profile-close);
-
+ background-color: #2E333D;
}
}
}
@@ -402,16 +451,20 @@
}
&-textbox-message {
- color: #77778b;
- padding-top: 10px;
- font-size: 12px;
- padding-left: 60px;
+ color: #a7a7ba;
+ // padding-top: 10px;
+ font-size: 16px;
+ margin: 0;
+ margin-bottom: 5px;
+ // padding-left: 60px;
}
&-or {
color: white;
- margin-top: 40px;
text-align: center;
+ font-weight: 600;
+ margin-top: 25px;
+ margin-bottom: 25px;
}
}
@@ -420,15 +473,15 @@
}
&-input-with-label-container {
- height: 23px;
+ height: 70px;
// height: 46.5px;
- // width: 100px;
- font-family: $bchat-font-poppins-bold;
- color: var(--color-text);
-
- padding: 2px 0 2px 0;
- transition: opacity $bchat-transition-duration;
- opacity: 1;
+ width: 450px;
+ // font-family: $bchat-font-poppins-bold;
+ // color: var(--color-text);
+ font-size: $bchat-font-h4;
+ // padding: 2px 0 2px 0;
+ // transition: opacity $bchat-transition-duration;
+ // opacity: 1;
position: relative;
label {
@@ -457,35 +510,59 @@
}
input {
- border: none;
- border-radius: 4px;
+ // border: none;
+ // border-radius: 4px;
outline: 0;
- height: 50px;
- width: 75%;
- background-color: #353543;
+ height: 100%;
+ width: 100%;
// background: var(--color-body-bg);
// background: transparent;
// color: var(--color-text);
- color: #0bb70f;
- padding: 0px 8px 0px 15px;
- font-family: $bchat-font-poppin-regular;
- font-size: 12px;
- line-height: 14px;
- position: absolute;
- top: 80%;
- transform: translateY(-50%);
- margin-left: 58px;
- box-shadow: 0px 0px 6px 0px #19192424;
+ color: var(--color-input-text);
+ // padding: 0px 8px 0px 15px;
+ // font-family: $bchat-font-poppin-regular;
+ // font-size: 12px;
+ // line-height: 14px;
+ // position: absolute;
+ // top: 80%;
+ // transform: translateY(-50%);
+ // margin-left: 58px;
+ // box-shadow: 0px 0px 6px 0px #19192424;
+ padding-left: 19px;
+ border-radius: 16px;
+ border: 1px solid #46465d;
+ background: #202329;
}
::placeholder {
- color: #77778b;
+ color: #858598;
+ font-family: $bchat-font-default;
+ font-weight: 400;
}
input::-webkit-calendar-picker-indicator {
- width: 27px;
- height: 27px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 35px;
+ height: 35px;
color: white;
+ opacity: 1;
+ background-image: url("../images/bchat/calendar.svg");
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: 27px;
+ // margin-right: 20px;
+ border-radius: 10px;
+ // padding: 10px;
+ cursor: pointer;
+
+ &:hover {
+ // width: 35px;
+ // height: 35px;
+ // padding: 10px;
+ background-color: #2E333D;
+ }
}
hr {
@@ -498,27 +575,29 @@
.bchat-icon-button {
position: absolute;
- top: 67%;
- transform: translateY(-50%);
+ top: 36%;
+ // transform: translateY(-50%);
right: 27px;
+ color: var(--color-icon);
}
}
&-terms-conditions-agreement {
// padding-top: $bchat-margin-md;
- padding-left: 12px;
+ // padding-left: 12px;
@include bchat-color-subtle(var(white));
text-align: center;
- font-size: 12px;
+ font-size: 14px;
// font-family: $bchat-font-poppins-bold;
font-weight: normal;
+ width: 417px;
a {
white-space: nowrap;
text-decoration: none;
- font-family: $bchat-font-poppin-regular;
- color: white;
- opacity: 0.8;
+ color: #a7a7ba;
+ // opacity: 0.8;
+ font-weight: 400;
// @include bchat-color-subtle(var(--color-text));
// @include bchat-color-subtle(white);
@@ -556,25 +635,22 @@
display: flex;
align-items: center;
justify-content: center;
- padding: 20px;
- border-radius: 8px;
- border: 1px solid subtle(#353535);
- margin-bottom: 20px;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ // background: #202329;
textarea {
width: 100%;
outline: 0;
border: none;
- background: transparent;
- color: var(--color-TextAreaColor);
-
- font-size: 15px;
- line-height: 18px;
- text-align: center;
+ font-size: 16px;
+ /* background: transparent; */
+ /* font-size: 15px; */
+ /* line-height: 18px; */
+ /* text-align: center; */
overflow-wrap: break-word;
- padding: 1px 5px 20px 5px;
+ // padding: 1px 5px 20px 5px;
display: inline-block;
- font-family: $bchat-font-poppin-medium;
user-select: all;
overflow: hidden;
resize: none;
@@ -587,4 +663,4 @@
@include bchat-color-subtle(var(--color-text));
font-size: 13px;
-}
+}
\ No newline at end of file
diff --git a/stylesheets/_bchat_theme.scss b/stylesheets/_bchat_theme.scss
index f40492c9..75606033 100644
--- a/stylesheets/_bchat_theme.scss
+++ b/stylesheets/_bchat_theme.scss
@@ -5,6 +5,8 @@
.module-conversation-header {
// background: var(--color-cell-background);
background-color: var(--color-chatHeader);
+ border-bottom: 1px solid var(--color-setting-header-border);
+
}
.module-message {
@@ -35,11 +37,12 @@
&__container--incoming {
&--opaque {
background: var(--color-received-message-background);
- box-shadow: 0px 3px 5px 0px #00000029;
- &:hover{
- background-color: var(--color-received-message-background-hover);
+ // background-color: #2E333D;
+ // box-shadow: 0px 3px 5px 0px #00000029;
+ &:hover {
+ // background-color: var(--color-received-message-background-hover);
+ opacity: 0.9;
}
-
}
&--transparent {
@@ -61,14 +64,23 @@
// &--last-of-series {
// border-bottom-left-radius: $message-container-border-radius;
// }
+ .timeStamp{
+ color: #858598;
+ font-size: 12px;
+ font-weight: 400;
+ width: 100%;
+ text-align: end;
+ padding-right: 18px;
+ }
.module-message__text {
color: var(--color-received-message-text);
display: flex;
flex-direction: row;
align-items: center;
- line-height: 15px;
-
+ font-size: 16px;
+ // line-height: 15px;
+ word-break: break-all;
svg {
margin-right: $bchat-margin-xs;
}
@@ -90,14 +102,14 @@
border-top-right-radius: 0px;
// padding: 5px;
&--opaque {
- background: var(--color-sent-message-background);
- box-shadow: 0px 3px 5px 0px #00000029;
- &:hover{
- background-color: #0B9FFF;
+ // background: var(--color-sent-message-background);
+ // box-shadow: 0px 3px 5px 0px #00000029;
+ background-color: #108D32;
+ &:hover {
+ opacity: 0.9;
}
-
}
-
+
&--transparent {
background: none;
}
@@ -109,10 +121,19 @@
// &--last-of-series {
// // border-bottom-right-radius: $message-container-border-radius;
// }
-
+ .timeStamp{
+ color: #F0F0F0;
+ font-size: 12px;
+ font-weight: 400;
+ width: 100%;
+ font-size: 12px;
+ text-align: end;
+ padding-right: 15px;
+ }
.module-message__text {
color: var(--color-sent-message-text);
- line-height: 17px;
+ // line-height: 17px;
+ word-break: break-all;
a {
text-decoration: underline;
color: var(--color-sent-message-text);
@@ -130,8 +151,6 @@
// border-left: 15px solid transparent;
// border-bottom: 15px solid #2879FB;
// }
-
-
}
.bchat-message-wrapper {
@@ -144,44 +163,40 @@
animation: highlightedMessageAnimation 1s ease-in-out;
}
- .message-box
- {
+ .message-box {
display: flex;
width: 100%;
- align-items: center;
+ // align-items: center;
// height: 68px;
- padding-right: 10px;
-
- }
- .checkedCircle,.isSelected{
- width: 20px;
- height: 20px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 20px;
- margin-right: 10px;
-
+ padding-right: 15px;
+ // align-items: center;
}
- .checkedCircle
- {
- border: 2px solid var(--color-text);
- }
+ // .checkedCircle,
+ // .isSelected {
+ // width: 20px;
+ // height: 20px;
+ // display: flex;
+ // justify-content: center;
+ // align-items: center;
+ // border-radius: 20px;
+ // margin-right: 10px;
+ // }
+ // .checkedCircle {
+ // border: 2px solid var(--color-text);
+ // }
&.message-selected {
- background-color: rgba(40, 121, 251, .3);
-
+ background-color: var(--color-chat-multi-select-bg);
+
// .isSelected{
-
+
// border: 1px solid rgba(17, 193, 25, 1);
-
+
// }
.module-message {
&__container {
box-shadow: var(--color-bchat-shadow);
-
}
-
}
}
}
diff --git a/stylesheets/_conversation.scss b/stylesheets/_conversation.scss
index 1b830b12..95a724a0 100644
--- a/stylesheets/_conversation.scss
+++ b/stylesheets/_conversation.scss
@@ -1,8 +1,11 @@
.message-detail-wrapper {
- height: calc(100% - 48px);
- width: 100%;
- overflow-y: auto;
- z-index: 2;
+ // height: calc(100% - 48px);
+ // width: 100%;
+ // overflow-y: auto;
+ // z-index: 2;
+ .bchat-message-wrapper {
+ padding: 0;
+ }
}
.public-chat-message-wrapper {
@@ -13,80 +16,171 @@
.group-invitation-container {
display: flex;
flex-direction: column;
+ padding-right: 15px;
+ align-items: flex-end;
+ padding-left: 15px;
+ padding-bottom: 3px;
}
.payment {
- background-color: #128b17;
- color: #FFFFFF;
display: inline-block;
- margin: 4px 16px;
+ // margin: 4px 16px;
padding: 16px;
border-radius: 15px;
- align-self: flex-start;
+ // align-self: flex-start;
box-shadow: none;
cursor: pointer;
+ // width: 352px;
+ background: var(--color-received-message-background);
+ // border-top-right-radius: 0px;
+ border-top-left-radius: 0px;
+
&.invitation-outgoing {
- background: var(--color-sent-message-background);
+ // background: var(--color-sent-message-background);
+ // align-self: flex-end;
+ // margin-right: 26px;
align-self: flex-end;
- margin-right: 26px;
+ background-color: #108d32;
+ border-top-right-radius: 0px;
+ border-top-left-radius: 15px;
+ color: white;
}
.contents-incoming,
.contents {
display: flex;
align-items: center;
// margin: 6px;
- justify-content: space-between;
+ // justify-content: space-between;
// min-width: 202px;
- min-width: 217px;
+ min-width: 300px;
/* margin: 10px; */
max-width: 465px;
margin: 0px 0px 7px;
- background-color: #3e88ff;
+ background-color: #0a6f0a;
border-radius: 10px;
// padding: 5px 10px;
- padding: 5px 16px;
+ padding-left: 15px;
+ height: 80px;
}
.contents-incoming {
- background-color: #20a826;
+ background-color: var(--color-untrust-media-bg);
+ .amount {
+ color:var(--color-text);
+ }
}
.amount {
- font-family: $bchat-font-poppins-bold;
- font-size: 18px;
+ font-family: $bchat-font-open-sans;
+ color: #f0f0f0;
+ font-size: 28px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: normal;
+ margin-left: 10px;
}
.hint-out,
.hintTxt {
display: flex;
- align-self: flex-end;
+ // align-self: flex-end;
+ // font-size: 12px;
+ font-weight: 400;
+ .txn-status {
+ margin-right: 10px;
+ overflow: hidden;
+ color: #f0f0f0;
+ text-overflow: ellipsis;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: normal;
+ }
+ }
+ // .hint-out {
+ // justify-content: flex-end;
+ // }
+ .timeStamp {
+ color: #858598;
font-size: 12px;
+ font-weight: 400;
+ width: 100%;
+ text-align: end;
+ padding-right: 18px;
}
- .hint-out {
- justify-content: flex-end;
+ .timeStamp-outgoing {
+ color: #f0f0f0;
}
}
-.payment:hover
-{
-opacity: 0.9;
+.payment:hover {
+ opacity: 0.9;
+}
+.inviteWrapper-incoming,
+.payment-Wrapper-incoming {
+ align-self: flex-start;
+}
+.inviteWrapper-outgoing,
+.payment-Wrapper-outgoing {
+ // align-self: flex-end;
+ align-items: center;
+ display: flex;
}
.group-invitation {
background: var(--color-received-message-background);
+ cursor: pointer;
&.invitation-outgoing {
- background: var(--color-sent-message-background);
- align-self: flex-end;
- margin-right: 26px;
+ // background: var(--color-sent-message-background);
+ // align-self: flex-end;
+ // margin-right: 26px;
+ align-items: center;
+ background-color: #108d32;
+ border-top-right-radius: 0px;
+ border-top-left-radius: 15px;
+ color: white;
}
display: inline-block;
- margin: 4px 16px;
- padding: 4px;
-
+ // margin: 4px 16px;
+ padding: 15px;
border-radius: 15px;
-
+ border-top-left-radius: 0px;
align-self: flex-start;
-
box-shadow: none;
-
+ .group-details {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 15px;
+ border-radius: 16px;
+ width: 305px;
+ background-color: var(--color-untrust-media-bg);
+ cursor: pointer;
+ .group-name {
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 600;
+ line-height: normal;
+ }
+ .group-type {
+ overflow: hidden;
+
+ text-overflow: ellipsis;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 300;
+ line-height: normal;
+ }
+ }
+ .timeStamp {
+ color: #858598;
+ font-size: 12px;
+ font-weight: 400;
+ width: 100%;
+ text-align: end;
+ padding-right: 18px;
+ }
+ .timeStamp-outgoing {
+ color: #f0f0f0;
+ }
.title {
margin: 6px;
color: darkslategray;
@@ -109,10 +203,6 @@ opacity: 0.9;
flex-direction: column;
padding: 0px 12px;
- .group-name {
- font-weight: bold;
- font-size: 18px;
- }
}
.bchat-icon-button {
@@ -142,5 +232,12 @@ opacity: 0.9;
.group-invitation.invitation-outgoing {
.group-details {
color: var(--color-sent-message-text);
+ background: #0a6f0a;
+ .group-name {
+ color: #f0f0f0;
+ }
+ .group-type {
+ color: #f0f0f0;
+ }
}
}
diff --git a/stylesheets/_global.scss b/stylesheets/_global.scss
index e133db74..03288c2e 100644
--- a/stylesheets/_global.scss
+++ b/stylesheets/_global.scss
@@ -12,26 +12,31 @@ body {
height: 100%;
width: 100%;
margin: 0;
- font-family: $bchat-font-poppin-regular;
+ font-family: $bchat-font-default;
font-size: 14px;
letter-spacing: 0.3px;
}
// scrollbars
::-webkit-scrollbar {
- width: 7px;
+ width: 5px;
+ height:5px
+
}
+
::-webkit-scrollbar-thumb {
background: var(--color-scroll-bar-thumb);
border-radius: 10px;
- &:hover {
- background: $color-light-45;
- }
+ // &:hover {
+ // background: $color-light-45;
+ // }
}
+
::-webkit-scrollbar-track {
border-radius: 10px;
+ background: var(--color-scroll-bar-track);
}
audio {
@@ -43,6 +48,7 @@ audio {
display: table;
content: ' ';
}
+
.clearfix:after {
clear: both;
}
@@ -56,6 +62,7 @@ button {
font-size: inherit;
&[disabled='disabled'] {
+
&,
&:hover {
opacity: 0.5;
@@ -64,6 +71,7 @@ button {
}
}
}
+
button.grey {
border-radius: $border-radius;
border: solid 1px #ccc;
@@ -80,6 +88,7 @@ button.grey {
}
&[disabled='disabled'] {
+
&,
&:hover {
opacity: 0.5;
@@ -96,6 +105,7 @@ a {
.file-input {
position: relative;
+
.choose-file {
cursor: pointer;
}
@@ -121,6 +131,7 @@ a {
.members .contact {
box-shadow: none;
border-bottom: 1px solid #eee;
+
.last-message,
.last-timestamp {
display: none;
@@ -173,6 +184,7 @@ $loading-height: 16px;
.loading {
position: relative;
+
&::before {
display: block;
margin: 0px auto;
@@ -216,6 +228,7 @@ $loading-height: 16px;
transform: scale(1);
opacity: 1;
}
+
100% {
opacity: 0;
}
@@ -233,7 +246,7 @@ $loading-height: 16px;
user-select: none;
// force this to black, to stay consistent with the password prompt being in dark mode too.
// background-color: var(--color-inbox-background);
- background-color: #1C1C26;
+ background-color: #131313;
.content {
margin-inline-start: auto;
@@ -241,12 +254,14 @@ $loading-height: 16px;
text-align: center;
width: 250px;
}
+
.container {
margin-inline-start: auto;
margin-inline-end: auto;
width: 78px;
height: 22px;
}
+
.message {
-webkit-user-select: text;
max-width: 35em;
@@ -262,13 +277,16 @@ $loading-height: 16px;
transform: scale(0);
animation: loading 1500ms ease infinite 0ms;
+
&:nth-child(2) {
animation: loading 1500ms ease infinite 333ms;
}
+
&:nth-child(3) {
animation: loading 1500ms ease infinite 666ms;
}
}
+
.bchat-text-logo {
filter: brightness(0) saturate(100%);
}
@@ -283,21 +301,25 @@ $loading-height: 16px;
position: relative;
}
-.tooltipDesign{
+.tooltipDesign {
background-color: #F7F7F7 !important;
padding: 1px 6px !important;
- color: black !important;
- border:1px solid #D9D9D9 !important;
- font-family: $bchat-font-poppin-medium !important;
- &.place-top,&.place-bottom {
- &:after {
- border: none !important;
- }
+ color: black !important;
+ border: 1px solid #D9D9D9 !important;
+ font-family: $bchat-font-default !important;
+
+ &.place-top,
+ &.place-bottom {
+ &:after {
+ border: none !important;
}
- &.place-right {
- // display: none;
- &:after {
- border: none !important;
- }
+ }
+
+ &.place-right {
+
+ // display: none;
+ &:after {
+ border: none !important;
}
- }
+ }
+}
\ No newline at end of file
diff --git a/stylesheets/_index.scss b/stylesheets/_index.scss
index 0bd53bf6..a980332b 100644
--- a/stylesheets/_index.scss
+++ b/stylesheets/_index.scss
@@ -41,10 +41,11 @@
.module-avatar {
display: block;
- margin-bottom: 1em;
+ // margin-bottom: 1em;
}
.avatar-center {
+ margin-left: 25px;
display: flex;
justify-content: center;
}
diff --git a/stylesheets/_mentions.scss b/stylesheets/_mentions.scss
index b7e6f97e..1f74d34c 100644
--- a/stylesheets/_mentions.scss
+++ b/stylesheets/_mentions.scss
@@ -1,7 +1,7 @@
// used for the list after adding a `@` in the compose text input
.contact-selection-list {
- max-height: 240px;
- overflow-y: auto;
+ // max-height: 240px;
+ // overflow-y: auto;
margin: 4px;
.check-mark {
@@ -11,6 +11,14 @@
margin: 4px;
min-width: 20px;
}
+ .bchat-member-item:hover {
+ cursor:pointer !important;
+ }
+}
+.remove-contact-list{
+ .bchat-member-item:hover {
+ cursor:pointer !important;
+ }
}
.member-list-container {
diff --git a/stylesheets/_modal.scss b/stylesheets/_modal.scss
index 1f1c46f2..516e64a7 100644
--- a/stylesheets/_modal.scss
+++ b/stylesheets/_modal.scss
@@ -23,20 +23,24 @@
// height: 87vh;
flex-direction: column;
justify-content: center;
+
.progressSyncBox {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
+
&-contentBox {
width: 500px;
// background-color: var(--color-WalcontentBg);
border-radius: 10px;
-
.progress {
- width: 70px;
+ width: 90px;
+ background-color: var(--color-hop-bg);
+ border-radius: 68px;
+
.CircularProgressbar {
/*
* This fixes an issue where the CircularProgressbar svg has
@@ -57,7 +61,7 @@
}
.CircularProgressbar .CircularProgressbar-trail {
- stroke: #d6d6d6;
+ stroke: #858598;
/* Used when trail is not full diameter, i.e. when props.circleRatio is set */
stroke-linecap: round;
}
@@ -97,6 +101,7 @@
.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-trail {
stroke: transparent;
}
+
// .circle-wrap {
// // margin: 150px auto;
// width: 150px;
@@ -168,174 +173,221 @@
margin: auto;
background-image: var(--img-walPassword);
}
+
&-headerBox {
display: flex;
align-items: center;
justify-content: center;
+
span {
- font-family: $bchat-font-poppins-bold;
- margin-left: 10px;
- font-size: 18px;
+ // color: #f0f0f0;
+ font-size: 26px;
+ font-weight: 700;
}
}
&-inputBox {
margin: 0 auto;
- width: 73%;
+ width: 91%;
+
input {
outline: none;
border: none;
width: 100%;
- border-bottom: 1px solid #444455;
text-align: center;
+
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ height: 70px;
}
}
+
&-loader,
&-forgotpasswordLoader {
width: 500px;
height: 360px;
- background-color:var(--color-BgModalColor);
+ background-color: var(--color-BgModalColor);
border-radius: 10px;
z-index: 99;
justify-content: center;
display: flex;
align-items: center;
}
+
&-forgotpasswordLoader {
width: 590px;
height: 476px;
}
+
&-forgotTxt {
text-align: center;
- color: #1bb51e;
- font-size: 12px;
text-decoration: underline;
- }
- .bchat-button.brand-outline.green {
- width: 33%;
- margin: auto;
- height: 45px;
- border-radius: 10px;
+
+ color: #108d32;
+ font-size: 18px;
+ font-weight: 400;
+ text-transform: capitalize;
}
}
}
+
&-progressSync {
&-presentage {
+ color: #108d32;
text-align: center;
- font-family: $bchat-font-poppins-bold;
- font-size: 20px;
- color: #1bb51e;
+ font-size: 30px;
+ font-weight: 700;
}
+
&-barBg {
width: 100%;
height: 10px;
- background-color: var(--color-walSyncbar);
+ // background-color: var(--color-walSyncbar);
+ background-color: #858598;
padding-top: 2px;
+
.bar {
- background-color: #1bb51e;
+ background-color: #108d32;
width: 40%;
height: 4px;
margin-top: 1px;
}
}
+
&-reloadTxt {
+ color: var(--color-modal-disable-txt);
text-align: center;
- font-family: $bchat-font-poppin-semibold;
- font-size: 14px;
+ font-size: 18px;
+ font-weight: 400;
}
+
&-bRemaing {
text-align: center;
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 400;
}
}
+
&-forgotPassword {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
flex-direction: column;
+
&-content-Box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
// width: 538px;
- width: 580px;
+ width: 550px;
// height: 417px;
// background-color: #2d2d3b;
// background-color: var(--color-WalcontentBg);
border-radius: 10px;
+
// margin: 5% 0px;
&-title {
- text-align: center;
- font-size: 18px;
- font-family: $bchat-font-poppins-bold;
padding-top: 20px;
+ // color: #f0f0f0;
+ font-size: 26px;
+ font-weight: 700;
+ text-align: left;
}
+
&-seed {
display: flex;
flex-direction: row;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-input-background);
+ width: 505px;
+
textarea {
border: none;
outline: none;
resize: none;
// width: 435px;
// height: 126px;
- width: 500px;
- height: 97px;
+ width: 463px;
+ height: 140px;
// background-color: #353543;
// background-color: var(--color-walInputBg);
- background-color: var(--color-background-primary);
- padding: 15px;
+ // background-color: var(--color-background-primary);
+ padding: 15px 25px;
+
// box-shadow: 1px 2px 5px #00000074;
border-radius: 10px;
+
+ font-size: 18px;
+ line-height: 22px;
}
}
- &-paste-icon {
- background: url('../images/bchat/paste.svg') no-repeat;
- width: 35px;
- height: 35px;
- // background-color: var(--color-inboxBgColor);
- background-color: var(--color-background-primary);
- background-size: 14px;
- border-radius: 35px;
- background-position: center;
- left: 10px;
- top: 19px;
- position: relative;
- cursor: pointer;
- box-shadow: var(--color-bchat-shadow);
- }
- &-paste-icon:hover {
- // transform: scale(1.1);
- // background-color: var(--color-wallet-copy-hover);
- // color: #1ced23;
- background-color: var(--color-profile-close);
+
+ // &-paste-icon {
+ // background: url('../images/bchat/paste.svg') no-repeat;
+ // width: 35px;
+ // height: 35px;
+ // // background-color: var(--color-inboxBgColor);
+ // background-color: var(--color-background-primary);
+ // background-size: 14px;
+ // border-radius: 35px;
+ // background-position: center;
+ // left: 10px;
+ // top: 19px;
+ // position: relative;
+ // cursor: pointer;
+ // box-shadow: var(--color-bchat-shadow);
+ // }
+
+ // &-paste-icon:hover {
+ // // transform: scale(1.1);
+ // // background-color: var(--color-wallet-copy-hover);
+ // // color: #1ced23;
+ // background-color: var(--color-profile-close);
+ // }
+ &-password-label {
+ display: flex;
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 400;
}
&-password {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-input-background);
+ width: 505px;
input {
border: none;
outline: none;
// background-color: #353543;
// background-color: var(--color-walInputBg);
- background-color: var(--color-background-primary);
-
+ // background-color: var(--color-background-primary);
+ background-color: unset;
// width: 438px;
- width: 500px;
- height: 45px;
+ width: 453px;
+ height: 70px;
// box-shadow: 1px 2px 5px #00000074;
margin-right: 10px;
border-radius: 10px;
- padding: 10px;
+ padding: 15px 25px;
}
}
+
&-disClaimerBox {
// width: 86%;
// padding-top: 12px;
+ width: 505px;
padding-bottom: 25px;
- font-size: 13px;
- display: flex;
- justify-content: center;
+ color: #a7a7ba;
+ font-size: 16px;
+ font-weight: 400;
+ text-align: start;
+ line-height: 20px;
}
}
}
@@ -364,13 +416,16 @@
&-UpdateModal {
&-discription {
font-family: $bchat-font-poppin-light;
+
&-fontMedium {
font-family: $bchat-font-poppin-medium;
}
}
+
&-header {
font-family: $bchat-font-poppin-semibold;
}
+
&-icon {
// color:red
width: 50px;
@@ -384,6 +439,7 @@
background-color: #2075ff;
}
}
+
&-loader {
width: 552px;
height: 362px;
@@ -407,9 +463,15 @@
// width: 100%;
max-width: 350px;
min-width: 300px;
- background-color: #313143;
+ // background-color: #313143;
box-shadow: var(--color-bchat-shadow);
}
+
+ .invite-friends-list {
+ width: 400px;
+ max-height: 500px;
+ overflow-y: auto;
+ }
}
.create-group-dialog,
@@ -568,8 +630,25 @@
.groupNameBox {
display: flex;
- border-bottom: var(--border-bchat);
+ justify-content: center;
+ align-items: center;
+ width: 443px;
+ height: 70px;
+ background: var(--color-input-background);
+ color: var(--color-text);
+ border: 1px solid #46465d;
+ border-radius: 16px;
+
+ input {
+ width: 371px;
+ height: 65px;
+
+ // text-align: center;
+ background: unset;
+ padding: 0 20px;
+ }
}
+
.changepass {
&-forgot-seed {
textarea {
@@ -579,29 +658,42 @@
height: 76px;
// background-color: #353543;
background-color: var(--color-walInputBg);
-
padding: 15px;
// box-shadow: 1px 2px 5px #00000074;
}
}
+
&-oldpassInput {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ height: 70px;
+ width: 100%;
+ padding: 10px;
input {
- background-color: var(--color-walInputBg);
- width: 435px;
- height: 55px;
- margin-bottom: 10px;
+ background: var(--color-hop-bg);
+ height: 100%;
+ width: 430px;
+
+ // margin-bottom: 10px;
// box-shadow: 1px 2px 5px #00000074;
}
}
&-newPassInput {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ height: 70px;
+ width: 100%;
+ padding: 10px;
input {
// background-color: #353543;
- background-color: var(--color-walInputBg);
- width: 435px;
- height: 52px;
+ background: var(--color-hop-bg);
+ height: 100%;
+ width: 430px;
// box-shadow: 1px 2px 5px #00000074;
- margin-right: 12px;
+ // margin-right: 12px;
}
}
}
@@ -631,6 +723,7 @@
display: flex;
align-items: center;
}
+
.walletChangePasswordHeader {
display: flex;
flex-direction: row;
@@ -661,10 +754,10 @@
.avatar-center-inner {
position: relative;
- .module-avatar {
- left: 10px;
- box-shadow: 0px 0px 13px 0.5px var(--color-bchat-shadow);
- }
+ // .module-avatar {
+ // left: 10px;
+ // box-shadow: 0px 0px 13px 0.5px var(--color-bchat-shadow);
+ // }
.qr-view-button {
cursor: pointer;
@@ -702,30 +795,30 @@
&-display {
user-select: text;
- text-align: center;
+ text-align: left;
word-break: break-all;
font-size: $bchat-font-md;
- // padding: 0px $bchat-margin-lg;
- // background-color: var(--color-composeMsgInput);
- background-color: var(--color-background-primary);
+ // background-color: var(--color-background-primary);
+ background-color: var(--color-hop-bg);
border-radius: 10px;
- padding: 10px 10px 10px 14px;
+ padding: 0px 10px 10px 14px;
font-family: $bchat-font-default;
font-weight: 100;
color: #0bb70f;
display: flex;
justify-content: space-between;
- align-items: center;
+ // align-items: center;
flex-direction: row;
width: 100%;
min-height: 60px;
box-shadow: var(--color-bchat-shadow);
font-size: $bchat-font-md;
+
// padding: 0px $bchat-margin-sm;
.profile-value {
width: 86%;
- font-family: $bchat-font-poppin-medium;
+ font-weight: 600;
font-size: 14px;
}
}
@@ -745,11 +838,6 @@
border-radius: 30px;
background-position: center;
cursor: pointer;
- color: var(--color-copyIcon);
-
- &:hover {
- background-color: var(--color-copy-hover);
- }
}
.bchat-button {
@@ -757,59 +845,56 @@
}
}
- &-modalLoader {
- // width: 400px;
- // height: 455px;
- width: 402px;
- height: 447px;
- // top: 22.3%;
- background-color: #0000009e;
- border-radius: 25px;
- z-index: 99;
- justify-content: center;
+ .profileHeader {
+ width: 100%;
display: flex;
- align-items: center;
+ justify-content: end;
}
.profileClose {
display: flex;
- justify-content: center;
- margin-left: 350px;
+ // justify-content: center;
+ margin-left: 20px;
margin-top: 12px;
width: 28px;
height: 28px;
- &:hover {
- background-color: var(--color-profile-close);
- border-radius: 20px;
- }
+ // &:hover {
+ // background-color: var(--color-profile-close);
+ // border-radius: 20px;
+ // }
}
.profile-name {
display: flex;
margin-top: $bchat-margin-sm;
- justify-content: space-between;
+ margin-bottom: $bchat-margin-sm;
+ justify-content: center;
width: 100%;
+ font-family: $bchat-font-default;
+ font-weight: 400;
.inputBox {
display: flex;
- /* width: 134px; */
- padding-left: 73px;
+ width: 200px;
+ padding-left: 45px;
}
.saveIcon {
width: 35px;
color: var(--color-accent);
cursor: pointer;
+ margin: auto 0;
+ margin-left: 7px;
}
input {
height: 38px;
- border-radius: 5px;
+ border-radius: 16px;
text-align: center;
font-size: $bchat-font-md;
background: var(--color-input-background);
color: var(--color-text);
- border: var(--border-bchat);
+ border: 1px solid #46465d;
}
&-uneditable {
@@ -817,7 +902,8 @@
align-items: center;
justify-content: space-around;
width: 100%;
- font-family: $bchat-font-poppin-semibold;
+ margin-right: 25px;
+ font-family: $bchat-font-default;
p {
font-size: 16px;
@@ -832,6 +918,7 @@
// left: 103px;
position: relative;
cursor: pointer;
+
&:hover {
color: #128b17;
}
@@ -842,6 +929,246 @@
}
}
}
+
+ .link_bns_wrapper {
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ align-items: center;
+ }
+
+ .link_bns_Btn {
+ width: 55%;
+ border-radius: 12px;
+ background-color: #128b17;
+ font-weight: 600;
+ border: none;
+ font-size: 12px;
+ height: 45px;
+ font-family: $bchat-font-default;
+ font-weight: 600;
+ }
+
+ .hintTxt {
+ color: #a7a7ba;
+ font-size: 12px;
+ display: flex;
+ margin-top: 7px;
+ align-items: flex-start;
+ margin-bottom: 15px;
+ }
+
+ .bnsVerfiedTxt {
+ display: flex;
+ align-items: flex-start;
+ margin-bottom: 15px;
+ color: #0bb70f;
+ font-size: 14px;
+ font-family: $bchat-font-default;
+ font-weight: 700;
+ }
+}
+
+// .bns_enable_modal {
+// .bchat-modal__body {
+// border: 2px solid #00bd40;
+// box-shadow: inset 0 0 24px 0px rgba(0, 189, 64, 0.45);
+// border-radius: 17px;
+// }
+// }
+.bns_link_modal {
+ width: 500px;
+ padding-top: 20px;
+ text-align: left;
+ header {
+ margin-bottom: 25px;
+ margin-top: 15px;
+ // color: #f0f0f0;
+ font-size: 26px;
+ font-weight: 700;
+ }
+
+ .label_id {
+ // font-weight: 700;
+ // font-family: $bchat-font-poppin-semibold;
+ font-family: $bchat-font-poppins-bold;
+ margin-bottom: 10px;
+ font-size: 12x;
+ }
+
+ .linked_bns {
+ padding: 0px 0px 35px;
+ font-size: 20px;
+ font-weight: 700;
+ color: #108d32;
+ }
+
+ .id_wrapper {
+ // height: 90px;
+ display: flex;
+ flex-direction: column;
+ // align-items: center;
+ background-color: var(--color-BnsLinkIdBg);
+ // background-color: #202329;
+ border: 1px solid var(--color-search-border);
+ padding: 0px 25px;
+ border-radius: 16px;
+ margin-bottom: 15px;
+ // box-shadow: var(--color-bchat-shadow);
+ .id-label {
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 600;
+ }
+ .id_content {
+ color: #108d32;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: normal;
+ margin-top: 0;
+ margin-bottom: 0;
+ }
+ }
+
+ .hr_line {
+ background-color: var(--color-pill-divider);
+ width: 100%;
+ height: 2px;
+ }
+
+ .label_input {
+ color: #a7a7ba;
+ font-size: 16px;
+ font-weight: 400;
+ }
+
+ .inputBox-wrapper {
+ // margin: 15px auto;
+ height: 65px;
+ background-color: var(--color-BnsLinkIdBg);
+ // background-color: #202329;
+ border: 1px solid var(--color-search-border);
+ border-radius: 16px;
+ padding: 0px 25px;
+ // box-shadow: var(--color-bchat-shadow);
+
+ input {
+ width: 100%;
+ height: 100%;
+ background-color: transparent;
+ }
+ }
+
+ .divided-btn-wrapper {
+ align-items: center;
+ display: flex;
+ justify-content: center;
+ // padding: 0 32px;
+
+ margin-bottom: 10px;
+
+ .button {
+ height: 55px;
+ border-radius: 12px;
+ background-color: #202329;
+ color: #858598 !important;
+ font-size: 18px;
+ cursor: pointer;
+ }
+ }
+
+ .success {
+ font-family: $bchat-font-default;
+ font-size: 22px;
+ margin-bottom: 35px;
+ margin-top: 20px;
+ font-weight: 700;
+ color: #108d32;
+ }
+}
+.nickNameDialog {
+ .input-wrapper {
+ width: 420px;
+ height: 70px;
+ flex-shrink: 0;
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-input-background);
+ display: flex;
+ padding: 0 13px;
+ align-items: center;
+ input {
+ background-color: unset;
+ }
+ }
+}
+.about-bns {
+ section {
+ text-align: left;
+ width: 600px;
+ height: 450px;
+ overflow: auto;
+ margin-bottom: 25px;
+ }
+
+ article {
+ padding: 0 10px;
+ }
+
+ .bchat-modal__header__title {
+ font-size: 18px;
+ }
+
+ &-header {
+ font-family: $bchat-font-default;
+ font-weight: 600;
+ font-size: 16px;
+ margin-top: $bchat-margin-md;
+ margin-bottom: $bchat-margin-sm;
+ }
+
+ &-txt {
+ font-family: $bchat-font-default;
+ font-weight: 400;
+ font-size: 14px;
+ margin-bottom: $bchat-margin-lg;
+ line-height: 22px;
+ }
+
+ &-txt-bold {
+ line-height: 22px;
+
+ span {
+ font-family: $bchat-font-default;
+ font-weight: 600;
+ }
+
+ span:first-child {
+ font-family: $bchat-font-default;
+ }
+ }
+}
+.community-guidelines {
+ article {
+ font-size: 18px;
+ font-weight: 400;
+ line-height: normal;
+ line-height: 22px;
+ overflow: auto;
+ overflow-x: hidden;
+ // height: 482px;
+ width: 581px;
+ text-align: left;
+ padding: 0 26px;
+
+ div {
+ margin-bottom: 10px;
+ }
+ a {
+ color: #108d32;
+ }
+
+ }
}
.onion-status-dialog {
@@ -904,3 +1231,33 @@
}
}
}
+
+.user-details {
+ .user-name {
+ // color: #f0f0f0;
+ font-size: 20px;
+ font-weight: 600;
+ }
+ .user-id-wrapper {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ padding: 15px;
+ text-align: left;
+ &-label {
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 600;
+ line-height: normal;
+ }
+ .user-id {
+ color: #108d32;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 17px;
+ padding-right: 20px;
+ }
+ }
+}
diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss
index 5171aee5..0ff92f36 100644
--- a/stylesheets/_modules.scss
+++ b/stylesheets/_modules.scss
@@ -5,13 +5,13 @@
display: flex;
flex-direction: column;
align-items: flex-start;
- overflow-x: hidden;
+ // overflow-x: hidden;
font-weight: 400;
}
.module-contact-name span {
- text-overflow: ellipsis;
- overflow-x: hidden;
+ // text-overflow: ellipsis;
+ // overflow-x: hidden;
width: 100%;
text-align: left;
user-select: none;
@@ -62,12 +62,33 @@
flex-direction: row;
align-items: center;
padding: 10px;
+
+ border-radius: 16px;
+ background: var(--color-untrust-media-bg);
+ margin: 15px 15px 0;
+}
+
+.module-message__generic-attachment-outgoing {
+ background-color: #0a6f0a;
+}
+
+// .module-message__generic-attachment + .attachment-with-quote ,.module-message__attachment-container +
+.attachment-with-quote {
+ min-width: 500px;
+}
+
+.module-message__attachment-container-displayBgBlur {
+ background-image: url('../images/bchat/bgBlurLogo.png');
+ width: 100%;
+ height: 100%;
+ background-size: cover;
}
.module-message__generic-attachment__icon-container {
position: relative;
cursor: pointer;
}
+
.module-message__generic-attachment__spinner-container {
padding-inline-start: 4px;
padding-inline-end: 4px;
@@ -89,7 +110,7 @@
.module-message__generic-attachment__icon__extension {
font-size: 10px;
- line-height: 13px;
+ line-height: 16px;
letter-spacing: 0.1px;
text-transform: uppercase;
@@ -112,12 +133,13 @@
margin-inline-start: 8px;
// The width of the icon plus our 8px margin
max-width: calc(100% - 37px);
+ cursor: pointer;
}
.module-message__generic-attachment__file-name {
color: $color-gray-90;
font-size: 14px;
- line-height: 18px;
+ // line-height: 18px;
font-weight: 300;
margin-top: 2px;
@@ -147,15 +169,52 @@
cursor: pointer;
border-top-left-radius: $bchat_message-container-border-radius;
border-top-right-radius: $bchat_message-container-border-radius;
+ display: flex;
+ align-items: center;
+ margin: 10px 10px 5px 10px;
+
+ .noImage {
+ width: 68px;
+ height: 68px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: 10px;
+
+ &__incoming {
+ background-color: var(--color-hop-bg);
+ // color: var(--color-text);
+ }
+
+ &__outgoing {
+ background-color: #0A6F0A;
+ // color: white;
+ }
+ }
}
.module-message__link-preview__content {
padding: 8px;
+ min-height: 80px;
background-color: $color-white;
display: flex;
flex-direction: row;
align-items: flex-start;
border: 1px solid $color-black-015;
+
+ width: 87%;
+ margin: 5px;
+ border-radius: 10px;
+
+ &__incoming {
+ background-color: var(--color-untrust-media-bg);
+ color: var(--color-text);
+ }
+
+ &__outgoing {
+ background-color: #0A6F0A;
+ color: white;
+ }
}
.module-message__link-preview__image_container {
@@ -208,9 +267,8 @@
}
.module-message__link-preview__title {
- color: $color-gray-90;
font-size: 16px;
- font-weight: 300;
+ font-weight: 600;
letter-spacing: 0.15px;
line-height: 22px;
@@ -218,17 +276,38 @@
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
+ margin-top: 5px;
+
+ .incoming {
+ // color: var(--color-hop-txt);
+ color: var(--color-text);
+
+ }
+
+ .outgoing {
+ color: var(--color-sent-message-text);
+ }
}
.module-message__link-preview__location {
- margin-top: 4px;
- color: $color-gray-60;
+ margin-top: 10px;
+ // color: var(--color-sent-message-text);
font-size: 12px;
height: 16px;
letter-spacing: 0.4px;
line-height: 16px;
text-transform: uppercase;
+
+ .incoming {
+ color: var(--color-text);
+ }
+
+ .outgoing {
+ color: var(--color-sent-message-text);
+ }
+
}
+
.module-conversation__user,
.module-message__author {
text-align: start;
@@ -242,6 +321,7 @@
white-space: nowrap;
text-overflow: ellipsis;
}
+
.module-conversation__user__profile-name,
.module-message__author__profile-name {
font-style: italic;
@@ -309,7 +389,7 @@
.module-conversation-header__avatar {
cursor: pointer;
- min-width: 28px;
+ // min-width: 28px;
user-select: none;
}
@@ -331,13 +411,49 @@
align-items: center;
-webkit-user-select: text;
- cursor: pointer;
+ // cursor: pointer;
.module-contact-name__profile-name {
- width: 100%;
- overflow: hidden !important;
+ // color: #f0f0f0;
+ font-size: 18px;
+ font-weight: 400;
+ white-space: nowrap;
+ overflow: hidden;
text-overflow: ellipsis;
- padding-top: 3px;
+ width: 380px;
+ }
+}
+
+.module-contact-name__profile-name {
+ // color: #f0f0f0;
+ font-size: 16px;
+ font-weight: 600;
+ line-height: normal;
+}
+
+.module-contact-name__profile-number {
+ color: #108d32;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: 15px;
+}
+
+.module-left-pane__header,
+.module-conversation-header__title {
+ .module-contact-name-bns-tag {
+ font-weight: bold;
+ background-color: white;
+ color: #1c1c26;
+ font-size: 10px;
+ top: -11px;
+ left: 40px;
+ /* letter-spacing: 0px; */
+ text-align: center;
+ outline: none;
+ border: none;
+ padding: 1px;
+ border-radius: 3px;
+ margin-left: 5px;
}
}
@@ -348,14 +464,19 @@
padding-inline-start: 8px;
padding-inline-end: 18px;
flex-shrink: 0;
- margin-top: 9px;
+ margin-right: 15px;
+ padding-left: 15px;
+ height: 40px;
+ border-radius: 25px;
+ background-color: var(--color-input-background);
}
.module-conversation-header__expiration__clock-icon {
- @include color-svg('../images/timer.svg', $color-gray-60);
- height: 20px;
- width: 20px;
+ @include color-svg('../images/timer.svg', $color-icon-green);
+ height: 18px;
+ width: 18px;
display: inline-block;
+ margin-right: 5px;
}
.module-conversation-header__expiration__setting {
@@ -369,12 +490,28 @@
max-width: 650px;
margin-inline-start: auto;
margin-inline-end: auto;
- padding: 20px;
+ // padding: 20px;
+ // padding: 0 20px;
+ text-align: left;
+ padding-right: 3px;
+
+ .module-message--outgoing {
+ margin-inline-end: unset;
+ margin-inline-start: unset;
+ }
+
+ .module-message__container--incoming--opaque {
+ background-color: var(--color-moreInfo-incomming-chat-bg);
+ }
}
.module-message-detail__message-container {
- padding-top: 20px;
- padding-bottom: 20px;
+ // text-align: left;
+ // padding: 20px;
+ // border-radius: 16px;
+ // display: inline-block;
+ // max-height: 225px;
+ // overflow: auto;
&:after {
content: '.';
@@ -385,11 +522,35 @@
}
}
+// .message-direction-incoming {
+// border-top-left-radius: 0px;
+// background: var(--color-moreInfo-incomming-chat-bg);
+// }
+// .message-direction-outgoing {
+// border-top-right-radius: 0px;
+// background: #108d32;
+// }
+
+.module-message-detail__info {
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ width: 100%;
+ overflow: hidden;
+ padding: 20px;
+ border-collapse: unset;
+}
+
.module-message-detail__label {
- font-weight: 300;
- padding-inline-end: 5px;
- font-family: $bchat-font-poppin-semibold;
+ color: #a7a7ba;
+ font-size: 16px;
+ font-weight: 400;
+}
+
+.module-message-detail__direction_label {
+ color: #a7a7ba;
font-size: 16px;
+ font-weight: 400;
}
.module-message-detail__delete-button-container {
@@ -410,15 +571,20 @@
padding: 1em;
}
-.module-message-detail__contact-container {
- margin: 20px 0 20px 0;
-}
+// .module-message-detail__contact-container {
+// margin: 20px 0 20px 0;
+// }
.module-message-detail__contact {
margin-bottom: 8px;
display: flex;
flex-direction: row;
align-items: center;
+
+ border-radius: 16px;
+ border: 1px solid var(--color-search-border);
+ background: var(--color-hop-bg);
+ padding: 20px;
}
.module-message-detail__contact__text {
@@ -554,9 +720,9 @@
width: 94px;
cursor: pointer;
background-color: $color-light-10;
- margin-inline-end: 8px;
- margin-bottom: 8px;
- margin-left: 8%;
+ // margin-inline-end: 8px;
+ // margin-bottom: 8px;
+ // margin-left: 8%;
position: relative;
}
@@ -631,6 +797,7 @@
/* justify-content: center; */
align-items: center;
}
+
.noMediaImg {
width: 159px;
height: 129px;
@@ -641,7 +808,7 @@
}
p {
- font-family: $bchat-font-poppin-semibold;
+ font-weight: 600;
color: #646474;
font-size: 14px;
}
@@ -653,50 +820,52 @@
// max-width: 380px;
display: flex;
flex-direction: row;
- padding-inline-end: 16px;
+ padding-inline-end: 15px;
padding-top: 8px;
padding-bottom: 8px;
- padding-inline-start: 16px;
+ padding-inline-start: 15px;
align-items: center;
- border-bottom: var(--color-bchat-border);
- background-color: var(--color-conversation-list);
+ margin: 10px 0;
+ // position: relative;
+ // border-bottom: var(--color-bchat-border);
+ // background-color: var(--color-conversation-list);
// background-color: brown;
cursor: pointer;
- &:hover {
- background-color: $color-dark-70;
- }
+ // &:hover {
+ // background-color: $color-dark-70;
+ // }
&--is-blocked {
border-left: 4px solid var(--color-destructive) !important;
}
}
-.module-conversation-list-item__unread-count {
- color: $color-white;
- background-color: $color-bchat-green;
- text-align: center;
+// .module-conversation-list-item__unread-count {
+// color: $color-white;
+// background-color: $color-bchat-green;
+// text-align: center;
- padding-top: 1px;
- padding-inline-start: 3px;
- padding-inline-end: 3px;
+// padding-top: 1px;
+// padding-inline-start: 3px;
+// padding-inline-end: 3px;
- position: absolute;
- right: -6px;
- top: -6px;
+// position: absolute;
+// right: -6px;
+// top: -6px;
- font-weight: 300;
- font-size: 11px;
- letter-spacing: 0.25px;
+// font-weight: 300;
+// font-size: 11px;
+// letter-spacing: 0.25px;
- height: 16px;
- min-width: 16px;
- line-height: 16px;
- border-radius: 8px;
+// height: 16px;
+// min-width: 16px;
+// line-height: 16px;
+// border-radius: 8px;
- box-shadow: 0px 0px 0px 1px $color-dark-85;
-}
+// box-shadow: 0px 0px 0px 1px $color-dark-85;
+// }
.module-conversation-list-item__content {
flex-grow: 1;
@@ -711,6 +880,7 @@
flex-direction: row;
width: 100%;
}
+
.bchat-icon-button:first-child {
margin-right: $bchat-margin-sm;
}
@@ -752,11 +922,12 @@
display: flex;
flex-direction: row;
align-items: center;
- width: 81%;
+ width: 80%;
}
.module-conversation-list-item__message__text {
- flex-grow: 1;
+ // flex-grow: 1;
+ width: 120px;
flex-shrink: 1;
font-size: 13px;
@@ -768,6 +939,8 @@
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
+
+
.text-selectable {
user-select: none;
}
@@ -803,7 +976,9 @@
}
&::placeholder {
- color: $color-gray-45;
+ color: #858598;
+ font-family: $bchat-font-default;
+ font-weight: 400;
}
}
@@ -814,8 +989,10 @@
background: none;
position: relative;
display: inline-block;
- margin: 1px;
+ // margin: 1px;
vertical-align: middle;
+ margin: 4px;
+ border-radius: 16px;
}
.module-image__caption-icon {
@@ -826,10 +1003,12 @@
.module-image__with-click-handler {
cursor: pointer;
+ // margin-right: 10px;
}
.module-image--soft-corners {
- border-radius: 4px;
+ border-radius: 16px;
+ // margin-right: 10px;
}
.module-image__border-overlay {
@@ -863,12 +1042,10 @@
.module-image__bottom-overlay {
height: 48px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0) 9%,
- rgba(0, 0, 0, 0.6)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0) 9%,
+ rgba(0, 0, 0, 0.6));
position: absolute;
bottom: 0;
z-index: 1;
@@ -919,14 +1096,14 @@
.module-image__close-button {
cursor: pointer;
position: absolute;
- top: 5px;
- right: 5px;
- width: 16px;
- height: 16px;
+ top: 2px;
+ right: 2px;
+ // width: 16px;
+ // height: 16px;
z-index: 2;
- background-image: url('../images/x-shadow-16.svg');
- background-color: #2879fbc2;
- border-radius: 10px;
+ // background-image: url('../images/x-shadow-16.svg');
+ // background-color: #2879fbc2;
+ // border-radius: 10px;
}
// Module: Image Grid
@@ -937,6 +1114,8 @@
align-items: center;
margin: -1px;
+ border-radius: 16px;
+ overflow: hidden;
}
.module-image-grid__column {
@@ -968,6 +1147,7 @@
font-size: 12px;
margin-right: 3px;
}
+
.module-typing-animation__dot {
border-radius: 50%;
background-color: $color-gray-60;
@@ -991,10 +1171,12 @@
0% {
opacity: 0.4;
}
+
20% {
transform: scale(1.3);
opacity: 1;
}
+
40% {
opacity: 0.4;
}
@@ -1004,10 +1186,12 @@
10% {
opacity: 0.4;
}
+
30% {
transform: scale(1.3);
opacity: 1;
}
+
50% {
opacity: 0.4;
}
@@ -1017,10 +1201,12 @@
20% {
opacity: 0.4;
}
+
40% {
transform: scale(1.3);
opacity: 1;
}
+
60% {
opacity: 0.4;
}
@@ -1044,9 +1230,9 @@
// Module: Attachments
-.module-attachments {
- border-top: 1px solid $color-black-015;
-}
+// .module-attachments {
+// border-top: 1px solid $color-black-015;
+// }
.module-attachments__header {
height: 24px;
@@ -1067,15 +1253,30 @@
}
.module-attachments__rail {
- margin-top: 12px;
- margin-inline-start: 16px;
- padding-inline-end: 16px;
- overflow-x: scroll;
- max-height: 142px;
- background-color: var(--color-received-message-background);
+ // margin-top: 12px;
+ // margin-inline-start: 16px;
+ // padding-inline-end: 16px;
+ padding: 10px;
+ overflow-x: auto;
+ max-height: 160px;
+ // background-color: var(--color-received-message-background);
+ background-color: var(--color-untrust-media-bg);
white-space: nowrap;
overflow-y: hidden;
margin-bottom: 6px;
+ border-radius: 12px;
+ // background: #131313;
+ margin-top: 20px;
+
+ display: flex;
+ align-items: center;
+}
+
+.module-inner-img-wrapper {
+ max-width: calc(100vw - 795px);
+ overflow-x: auto;
+ margin-right: 20px;
+ cursor: pointer;
}
// Module: Staged Generic Attachment
@@ -1207,6 +1408,7 @@
flex-grow: 1;
flex-shrink: 1;
}
+
.module-caption-editor__video {
max-width: 100%;
max-height: 100%;
@@ -1215,6 +1417,7 @@
flex-grow: 1;
flex-shrink: 1;
}
+
.module-caption-editor__placeholder {
width: 100%;
height: 100%;
@@ -1251,6 +1454,7 @@
width: 30vw;
border-radius: 100px;
+
#bchat-input-floating-label {
padding: $bchat-margin-sm;
color: black;
@@ -1284,33 +1488,35 @@
// Module: Staged Placeholder Attachment
.module-staged-placeholder-attachment {
- margin: 1px;
- border-radius: 4px;
- border: 1px solid $color-gray-25;
- height: 120px;
- width: 120px;
+ /* margin: 1px; */
+ // border-radius: 42px;
+ // border: 1px solid #bbbdbe;
+ // height: 30px;
+ // width: 30px;
display: inline-block;
vertical-align: middle;
cursor: pointer;
position: relative;
+ // background-color: #f0f0f0;
- &:hover {
- background: $color-gray-05;
- }
+ // &:hover {
+ // background: $color-gray-05;
+ // }
}
-.module-staged-placeholder-attachment__plus-icon {
- position: absolute;
- left: 50%;
- top: 50%;
+// .module-staged-placeholder-attachment__plus-icon {
+// position: absolute;
+// left: 50%;
+// top: 50%;
- transform: translate(-50%, -50%);
+// transform: translate(-50%, -50%);
- height: 36px;
- width: 36px;
+// height: 21px;
+// width: 21px;
+// // background-color: #131313;
- @include color-svg('../images/plus-36.svg', $color-gray-45);
-}
+// // @include color-svg('../images/plus-36.svg', $color-gray-45);
+// }
// Module: Staged Link Preview
@@ -1318,16 +1524,24 @@
position: relative;
display: flex;
flex-direction: row;
- background-color: var(--color-conversation-item-selected);
- align-items: flex-start;
+ /* background-color: var(--color-conversation-item-selected); */
+ /* align-items: flex-start; */
min-height: 65px;
- margin: $bchat-margin-xs;
+ margin: 5px;
+ overflow-y: hidden;
+ margin-bottom: 6px;
+ border-radius: 12px;
+ // background: #131313;
+ margin-top: 20px;
+ align-items: center;
+ background-color: var(--color-untrust-media-bg);
}
.module-staged-link-preview--is-loading {
align-items: center;
justify-content: center;
}
+
.module-staged-link-preview__loading {
color: var(--color-text);
@@ -1341,10 +1555,12 @@
margin-inline-end: 8px;
padding: $bchat-margin-sm;
}
+
.module-staged-link-preview__content {
margin-inline-end: 20px;
padding: $bchat-margin-sm;
}
+
.module-staged-link-preview__title {
color: $color-gray-90;
font-weight: 300;
@@ -1356,6 +1572,7 @@
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
+
.module-staged-link-preview__location {
margin-top: 4px;
color: $color-gray-60;
@@ -1364,24 +1581,26 @@
letter-spacing: 0.25px;
text-transform: uppercase;
}
+
.module-staged-link-preview__close-button {
cursor: pointer;
position: absolute;
top: 5px;
right: 5px;
+ border: none;
- height: 16px;
- width: 16px;
+ // height: 16px;
+ // width: 16px;
- @include color-svg('../images/x-16.svg', $color-gray-60);
+ // @include color-svg('../images/x-16.svg', $color-gray-60);
}
// Module: Left Pane
.module-left-pane {
display: inline-flex;
- flex-direction: column;
- width: 380px;
+ flex-direction: row;
+ // width: 380px;
height: 100%;
}
@@ -1395,15 +1614,53 @@
flex-shrink: 1;
overflow-y: auto;
overflow-x: hidden;
+ scrollbar-width: none;
+ ::-webkit-scrollbar {
+ display: none;
+ width: 0 !important;
+}
}
+// .bchat-search-input + .module-left-pane__list ::-webkit-scrollbar {
+// .module-left-pane__list ::-webkit-scrollbar{
+// display: none !important;
+// width: 0 !important;
+// }
+
+.module-left-pane__list {
+ /* Hide scrollbar for Webkit-based browsers */
+ -webkit-overflow-scrolling: touch;
+}
+
+.module-left-pane__list::-webkit-scrollbar {
+ display: none !important;
+ width: 0 !important;
+}
+
+// .module-left-pane__list {
+// /* Hide scrollbar for Firefox */
+// scrollbar-width: none !important;
+// }
+
+// .module-left-pane__list {
+// /* Hide scrollbar for IE, Edge and legacy browsers */
+// -ms-overflow-style: none !important;
+// }
+
.module-left-pane__virtual-list {
outline: none;
}
.module-left-pane__empty_contact {
- font-family: $bchat-font-poppin-medium;
- font-size: 15px;
- color: var(--color-disableText);
- margin: 10px 0 0 0;
-}
+ // font-family: $bchat-font-poppin-medium;
+ // font-size: 15px;
+ // color: var(--color-disableText);
+ // margin: 10px 0 0 0;
+
+ color: #858598;
+ // font-family: Poppins;
+ font-size: 18px;
+ // font-style: normal;
+ font-weight: 300;
+ // line-height: normal;
+}
\ No newline at end of file
diff --git a/stylesheets/_quote.scss b/stylesheets/_quote.scss
index 231b840a..4424e47c 100644
--- a/stylesheets/_quote.scss
+++ b/stylesheets/_quote.scss
@@ -7,8 +7,8 @@
flex-direction: row;
align-items: stretch;
overflow: hidden;
- border-left-width: 4px;
- border-left-style: solid;
+ // border-left-width: 4px;
+ // border-left-style: solid;
&__primary__type-label {
border-color: var(--color-text);
@@ -86,11 +86,27 @@
}
.module-quote-container {
- margin-bottom: 5px;
- margin-top: 10px;
- padding-left: 10px;
+ // margin-bottom: 5px;
+ // margin-top: 10px;
+ // padding-left: 10px;
+
+ // background-color: #0A6F0A;
+ // margin: 10px;
+ // padding: 10px;
+ // border-radius: 10px;
+}
+.module-quote--outgoing{
+ background-color: #0A6F0A;
+ margin: 10px;
+ padding: 10px;
+ border-radius: 10px;
+}
+.module-quote--incoming{
+ background-color: var(--color-untrust-media-bg);
+ margin: 10px;
+ padding: 10px;
+ border-radius: 10px;
}
-
.module-quote--no-click {
cursor: auto;
}
@@ -241,8 +257,8 @@
}
&-file__text {
font-size: 14px;
- line-height: 18px;
- color: $color-gray-90;
+ // line-height: 18px;
+ // color: $color-gray-90;
max-width: calc(100% - 26px);
overflow-x: hidden;
diff --git a/stylesheets/_theme_dark.scss b/stylesheets/_theme_dark.scss
index 07c32fe3..cc8760c2 100644
--- a/stylesheets/_theme_dark.scss
+++ b/stylesheets/_theme_dark.scss
@@ -373,9 +373,9 @@
}
}
- .module-staged-placeholder-attachment__plus-icon {
- @include color-svg('../images/plus-36.svg', $color-gray-60);
- }
+ // .module-staged-placeholder-attachment__plus-icon {
+ // @include color-svg('../images/plus-36.svg', $color-gray-60);
+ // }
// Module: Staged Link Preview
diff --git a/stylesheets/_variables.scss b/stylesheets/_variables.scss
index b270761e..3b623edb 100644
--- a/stylesheets/_variables.scss
+++ b/stylesheets/_variables.scss
@@ -5,6 +5,7 @@ $color-bchat-extra-dark-gray: #101010;
$color-bchat-green: #3bd110;
$color-bchat-green-dark: #32b10e;
$color-bchat-green-gradient: linear-gradient(to right, rgb(120, 190, 32) 0%, rgb(0, 133, 34) 100%);
+$color-icon-green: #108D32;
$color-white: #ffffff;
$color-gray-02: #f8f9f9;
diff --git a/ts/bchat/apis/push_notification_api/PnServer.ts b/ts/bchat/apis/push_notification_api/PnServer.ts
index e6cca115..0531b263 100644
--- a/ts/bchat/apis/push_notification_api/PnServer.ts
+++ b/ts/bchat/apis/push_notification_api/PnServer.ts
@@ -6,8 +6,8 @@ const pnServerPubkeyHex = '54e8ce6a688f6decd414350408cae373ab6070d91d4512e17454d
export const hrefPnServerProd = 'notification.rpcnode.stream';
export const hrefPnServerDev = 'notification.rpcnode.stream';
-const pnServerUrl = `http://${hrefPnServerProd}`;
+const pnServerUrl = `http://${hrefPnServerProd}`;
export async function notifyPnServer(wrappedEnvelope: ArrayBuffer, sentTo: string) {
const options: ServerRequestOptionsType = {
method: 'post',
@@ -16,7 +16,7 @@ export async function notifyPnServer(wrappedEnvelope: ArrayBuffer, sentTo: strin
send_to: sentTo,
},
};
- const endpoint = 'notify';
+ const endpoint = 'notify';
const ret = await serverRequest(`${pnServerUrl}/${endpoint}`, options);
if (!ret) {
window?.log?.warn('Push notification server request returned false');
@@ -46,6 +46,7 @@ const serverRequest = async (
fetchOptions.headers = headers;
fetchOptions.method = method;
} catch (e) {
+
window?.log?.error('onionSend:::notifyPnServer - set up error:', e.code, e.message);
return false;
}
diff --git a/ts/bchat/crypto/DecryptedAttachmentsManager.ts b/ts/bchat/crypto/DecryptedAttachmentsManager.ts
index 1d2c7b08..7c358925 100644
--- a/ts/bchat/crypto/DecryptedAttachmentsManager.ts
+++ b/ts/bchat/crypto/DecryptedAttachmentsManager.ts
@@ -107,7 +107,6 @@ export const getDecryptedMediaUrl = async (
forceRetain: isAvatar,
});
}
- window.log.info(' file decrypted :', url, ' as ', obj);
urlToDecryptingPromise.delete(url);
resolve(obj);
return;
diff --git a/ts/bchat/crypto/MessageEncrypter.ts b/ts/bchat/crypto/MessageEncrypter.ts
index 72ab40fa..2d55e6fb 100644
--- a/ts/bchat/crypto/MessageEncrypter.ts
+++ b/ts/bchat/crypto/MessageEncrypter.ts
@@ -7,9 +7,16 @@ import { getLatestClosedGroupEncryptionKeyPair } from '../../data/data';
import { UserUtils } from '../utils';
import { addMessagePadding } from './BufferPadding';
+import { getConversationController } from '../conversations';
+// import { ConversationTypeEnum } from '../../models/conversation';
+import { getOurPubKeyStrFromCache } from '../utils/User';
+// import { getOurNumber } from '../../state/selectors/user';
+// import { useSelector } from 'react-redux';
+
type EncryptResult = {
envelopeType: SignalService.Envelope.Type;
cipherText: Uint8Array;
+ isBnsHolder?: boolean;
};
/**
@@ -56,8 +63,14 @@ export async function encrypt(
};
}
const cipherText = await MessageEncrypter.encryptUsingBchatProtocol(device, plainText);
-
- return { envelopeType: BCHAT_MESSAGE, cipherText };
+ // const conversation=
+ const conversation = getConversationController().get(getOurPubKeyStrFromCache());
+
+ return {
+ envelopeType: BCHAT_MESSAGE,
+ cipherText,
+ isBnsHolder: conversation?.attributes?.isBnsHolder ? true : false ,
+ };
}
export async function encryptUsingBchatProtocol(
@@ -81,14 +94,13 @@ export async function encryptUsingBchatProtocol(
const userED25519SecretKeyBytes = fromHexToArray(userED25519KeyPairHex.privKey);
// const walletAddress="bxdis3VF318i2QDjvqwoG9GyfP4sVjTvwZyf1JGLNFyTJ8fbtBgzW6ieyKnpbMw5bU9dggbAiznaPGay96WAmx1Z2B32B86PE";
- let walletAddress :any = localStorage.getItem("userAddress");
+ let walletAddress: any = localStorage.getItem('userAddress');
let utf8Encode = new TextEncoder();
const beldexWalletAddress = utf8Encode.encode(walletAddress);
const walletAddressConCatPlaintext = concatUInt8Array(beldexWalletAddress, plaintext);
-
// merge all arrays into one
const verificationData = concatUInt8Array(
walletAddressConCatPlaintext,
@@ -101,7 +113,11 @@ export async function encryptUsingBchatProtocol(
throw new Error("Couldn't sign message");
}
- const plaintextWithMetadata = concatUInt8Array(walletAddressConCatPlaintext, userED25519PubKeyBytes, signature);
+ const plaintextWithMetadata = concatUInt8Array(
+ walletAddressConCatPlaintext,
+ userED25519PubKeyBytes,
+ signature
+ );
const ciphertext = sodium.crypto_box_seal(plaintextWithMetadata, recipientX25519PublicKey);
if (!ciphertext) {
diff --git a/ts/bchat/sending/MessageSender.ts b/ts/bchat/sending/MessageSender.ts
index 72582586..12ad2707 100644
--- a/ts/bchat/sending/MessageSender.ts
+++ b/ts/bchat/sending/MessageSender.ts
@@ -84,7 +84,7 @@ export async function send(
networkTimestamp,
} = overwriteOutgoingTimestampWithNetworkTimestamp(message);
- const { envelopeType, cipherText } = await MessageEncrypter.encrypt(
+ const { envelopeType, cipherText,isBnsHolder } = await MessageEncrypter.encrypt(
recipient,
overRiddenTimestampBuffer,
encryption
@@ -94,9 +94,10 @@ export async function send(
envelopeType,
recipient.key,
networkTimestamp,
- cipherText
- );
+ cipherText,
+ isBnsHolder
+ );
const data = wrapEnvelope(envelope);
// make sure to update the local sent_at timestamp, because sometimes, we will get the just pushed message in the receiver side
// before we return from the await below.
@@ -162,6 +163,8 @@ export async function sendMessageToSnode(
isSyncMessage, // I don't think that's of any use
messageId, // I don't think that's of any use
namespace,
+ // isBnsHolder:false
+
};
const usedNodes = _.slice(swarm, 0, DEFAULT_CONNECTIONS);
@@ -230,7 +233,8 @@ async function buildEnvelope(
type: SignalService.Envelope.Type,
sskSource: string | undefined,
timestamp: number,
- content: Uint8Array
+ content: Uint8Array,
+ isBnsHolder?:boolean
): Promise {
let source: string | undefined;
@@ -243,6 +247,7 @@ async function buildEnvelope(
source,
timestamp,
content,
+ isBnsHolder,
});
}
diff --git a/ts/bchat/utils/calling/CallManager.ts b/ts/bchat/utils/calling/CallManager.ts
index 7f02568b..5473857f 100644
--- a/ts/bchat/utils/calling/CallManager.ts
+++ b/ts/bchat/utils/calling/CallManager.ts
@@ -24,10 +24,22 @@ import { getMessageQueue } from '../..';
import { MessageSender } from '../../sending';
import { DURATION } from '../../constants';
import { hasConversationOutgoingMessage } from '../../../data/data';
-import { getCallMediaPermissionsSettings } from '../../../components/settings/BchatSettings';
+import {
+ BchatSettingCategory,
+ getCallMediaPermissionsSettings,
+} from '../../../components/settings/BchatSettings';
import { PnServer } from '../../apis/push_notification_api';
import { getNowWithNetworkOffset } from '../../apis/snode_api/SNodeAPI';
import { approveConvoAndSendResponse } from '../../../interactions/conversationInteractions';
+import { updateConfirmModal } from '../../../state/ducks/modalDialog';
+import { BchatButtonColor } from '../../../components/basic/BchatButton';
+
+
+import {
+ SectionType,
+ showLeftPaneSection,
+ showSettingsSection,
+} from '../../../state/ducks/section';
// tslint:disable: function-name
@@ -1114,13 +1126,35 @@ export async function handleMissedCall(
) {
const incomingCallConversation = getConversationController().get(sender);
+
const displayname =
incomingCallConversation?.getNickname() ||
incomingCallConversation?.getProfileName() ||
'Unknown';
+ const openPrivacySettings = () => {
+ window.inboxStore?.dispatch(showLeftPaneSection(SectionType.Settings));
+ window.inboxStore?.dispatch(showSettingsSection(BchatSettingCategory.Privacy));
+ };
switch (reason) {
case 'permissions':
+ window.inboxStore?.dispatch(
+ updateConfirmModal({
+ title: window.i18n('callMissedTitle'),
+ message: window.i18n('callMissedCausePermission', [displayname]),
+ okTheme: BchatButtonColor.Primary,
+ onClickOk: async () => {
+ openPrivacySettings();
+ },
+ onClickCancel: async () => {
+ window.inboxStore?.dispatch(updateConfirmModal(null));
+ },
+ iconShow: true,
+ bchatIcon: 'callMissedConfirm',
+ iconSize: 30,
+ })
+ );
+
ToastUtils.pushedMissedCallCauseOfPermission(displayname);
break;
case 'another-call-ongoing':
diff --git a/ts/components/BchatInboxView.tsx b/ts/components/BchatInboxView.tsx
index 0f5e1dfe..35acca7a 100644
--- a/ts/components/BchatInboxView.tsx
+++ b/ts/components/BchatInboxView.tsx
@@ -34,6 +34,9 @@ import { initialWalletSectionState } from '../state/ducks/walletSection';
import { initialDaemonState } from '../state/ducks/daemon';
import { initialWalletInnerSectionState } from '../state/ducks/walletInnerSection';
import { initialWalletConfigState } from '../state/ducks/walletConfig';
+// import { isLinkedBchatIDWithBnsForDeamon } from './conversation/BnsVerification';
+import { initialisVerifyBnsCalledState } from '../state/ducks/bnsConfig';
+import { ProfileInfo } from './BchatProfileInfo';
// Default to the locale from env. It will be overriden if moment
// does not recognize it with what moment knows which is the closest.
@@ -60,6 +63,7 @@ export class BchatInboxView extends React.Component {
public componentDidMount() {
this.setupLeftPane();
+ // isLinkedBchatIDWithBnsForDeamon();
}
public render() {
@@ -79,6 +83,12 @@ export class BchatInboxView extends React.Component {
{this.renderLeftPane()}
+
@@ -109,14 +119,15 @@ export class BchatInboxView extends React.Component {
defaultRooms: initialDefaultRoomState,
search: initialSearchState,
theme: initialThemeState,
+ isVerifyBnsCalled:initialisVerifyBnsCalledState,
wallet: initialWalletState,
- daemon : initialDaemonState,
+ daemon: initialDaemonState,
onionPaths: initialOnionPathState,
modals: initialModalState,
userConfig: initialUserConfigState,
- walletConfig:initialWalletConfigState,
- walletFocused:initialWalletSectionState,
- walletInnerFocused:initialWalletInnerSectionState,
+ walletConfig: initialWalletConfigState,
+ walletFocused: initialWalletSectionState,
+ walletInnerFocused: initialWalletInnerSectionState,
timerOptions: {
timerOptions,
},
diff --git a/ts/components/BchatPasswordPrompt.tsx b/ts/components/BchatPasswordPrompt.tsx
index 2150243e..32c00fc7 100644
--- a/ts/components/BchatPasswordPrompt.tsx
+++ b/ts/components/BchatPasswordPrompt.tsx
@@ -1,22 +1,39 @@
import React from 'react';
import classNames from 'classnames';
-import { BchatIcon } from './icon';
+import { BchatIcon, BchatIconButton } from './icon';
import { withTheme } from 'styled-components';
import autoBind from 'auto-bind';
import { BchatButton, BchatButtonColor, BchatButtonType } from './basic/BchatButton';
// import { Constants } from '../bchat';
-import { BchatSpinner } from './basic/BchatSpinner';
+import { Flex } from './basic/Flex';
+// import { ToastUtils } from '../bchat/utils';
interface State {
error: string;
errorCount: number;
clearDataView: boolean;
loading: boolean;
+ PasswordVisible: boolean;
}
export const MAX_LOGIN_TRIES = 3;
-
+type Props = {
+ loading: boolean;
+};
+const BchatSpinner = (props: Props) => {
+ const { loading } = props;
+
+ const imgsrc='images/bchat/Load_animation.gif';
+ return loading ? (
+
+
+
+
+
+
+ ) : null;
+};
class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
private inputRef?: any;
@@ -28,6 +45,7 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
errorCount: 0,
clearDataView: false,
loading: false,
+ PasswordVisible: true,
};
autoBind(this);
@@ -41,75 +59,101 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
public render() {
const showResetElements = this.state.errorCount >= MAX_LOGIN_TRIES;
- let checkError:any = this.state.error;
+ let checkError: any = this.state.error;
// console.log("checkError:",checkError)
- if(checkError){
+ if (checkError) {
// console.log("checkErrorr:try:",checkError)
}
- const wrapperClass = this.state.clearDataView
- ? 'clear-data-wrapper'
- : 'password-prompt-wrapper';
- const containerClass = this.state.clearDataView
- ? 'clear-data-container'
- : 'password-prompt-container';
+ // const wrapperClass = this.state.clearDataView
+ // ? 'clear-data-wrapper'
+ // : 'password-prompt-wrapper';
+ // const containerClass = this.state.clearDataView
+ // ? 'clear-data-container'
+ // : 'password-prompt-container';
const infoAreaClass = this.state.clearDataView ? 'warning-info-area' : 'password-info-area';
- const infoTitle = this.state.clearDataView
- ? window.i18n('clearAllData')
- : window.i18n('passwordViewTitle');
+ // const infoTitle = this.state.clearDataView
+ // ? window.i18n('clearAllData')
+ // : window.i18n('passwordViewTitle');
const buttonGroup = this.state.clearDataView
? this.renderClearDataViewButtons()
: this.renderPasswordViewButtons();
const featureElement = this.state.clearDataView ? (
{window.i18n('deleteAccountWarning')}
) : (
- {
- this.inputRef = input;
- }}
- />
+
+ {
+ this.inputRef = input;
+ }}
+ />
+ this.setState({ PasswordVisible: !this.state.PasswordVisible })}
+ />
+
);
- const infoIcon = this.state.clearDataView ? (
-
- ) : (
-
+ // const infoIcon = this.state.clearDataView ? (
+ //
+ // ) : (
+ // <>>
+ // );
+ const errorSection = !this.state.clearDataView && this.state.error && (
+ <>
+
+ {showResetElements ? (
+
{window.i18n('maxPasswordAttempts')}
+ ) : (
+
{this.state.error}
+ )}
+
+ >
);
- const errorSection = !this.state.clearDataView && (
-
- {this.state.error && (
- <>
- {showResetElements ? (
-
{window.i18n('maxPasswordAttempts')}
- ) : (
-
{this.state.error}
- )}
- >
- )}
+ const clearDataView = this.state.clearDataView && (
+
+
+
+
+
+
+
+
{window.i18n('clearAllData')}
+
{window.i18n('deleteAccountWarning')}
+
+
);
const spinner = this.state.loading ?
: null;
return (
-
-
-
- {infoIcon}
-
-
{infoTitle}
-
+
+
+ {!this.state.clearDataView ? (
+ <>
+
+
+
- {spinner || featureElement}
- {errorSection}
- {buttonGroup}
+
+
{window.i18n('passwordViewTitle')}
+
+ {spinner || featureElement}
+ {errorSection}
+ >
+ ) : (
+ clearDataView
+ )}
+
{buttonGroup}
@@ -148,10 +192,15 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
}
private initLogin() {
+ const passPhrase = String((this.inputRef as HTMLInputElement)?.value);
+
+ // if (passPhrase.trim()) {
+ // ToastUtils.pushToastError('validatePassword', window.i18n('emptyPassword'));
+ // return;
+ // }
this.setState({
loading: true,
});
- const passPhrase = String((this.inputRef as HTMLInputElement).value);
global.setTimeout(() => this.onLogin(passPhrase), 100);
}
@@ -173,19 +222,19 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
<>
>
)}
-
+
);
@@ -196,8 +245,8 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
{
this.setState({ clearDataView: false });
}}
@@ -205,7 +254,7 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
@@ -214,4 +263,89 @@ class BchatPasswordPromptInner extends React.PureComponent<{}, State> {
}
}
+const LockImg = () => (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+);
export const BchatPasswordPrompt = withTheme(BchatPasswordPromptInner);
diff --git a/ts/components/BchatProfileInfo.tsx b/ts/components/BchatProfileInfo.tsx
new file mode 100644
index 00000000..553a0683
--- /dev/null
+++ b/ts/components/BchatProfileInfo.tsx
@@ -0,0 +1,13 @@
+import React from 'react';
+import { useSelector } from 'react-redux';
+import { getSelectedConversation, isRightPanelShowing } from '../state/selectors/conversations';
+import { BchatRightPanelWithDetails } from './conversation/BchatRightPanel';
+
+export const ProfileInfo = () => {
+ const isShowing: boolean = useSelector(isRightPanelShowing) || false;
+ const selectedConversation = useSelector(getSelectedConversation);
+ if (isShowing && selectedConversation) {
+ return ;
+ }
+ return <>>;
+};
diff --git a/ts/components/BchatScrollButton.tsx b/ts/components/BchatScrollButton.tsx
index e02c006a..58a2b32c 100644
--- a/ts/components/BchatScrollButton.tsx
+++ b/ts/components/BchatScrollButton.tsx
@@ -3,37 +3,43 @@ import { useSelector } from 'react-redux';
import styled from 'styled-components';
import { getShowScrollButton } from '../state/selectors/conversations';
-import { BchatIconButton } from './icon';
+import { BchatIcon } from './icon';
const BchatScrollButtonDiv = styled.div`
- position: fixed;
+ position: absolute;
z-index: 2;
right: 26px;
animation: fadein var(--default-duration);
- bottom: 72px;
+ bottom: 88px;
`;
-export const BchatScrollButton = (props: { onClickScrollBottom: () => void, unreadCount: number | undefined }) => {
+export const BchatScrollButton = (props: {
+ onClickScrollBottom: () => void;
+ unreadCount: number | undefined;
+}) => {
const show = useSelector(getShowScrollButton);
return (
-
-
-
- {props.unreadCount}
-
-
+
+ {show && (<>
+
+
+
+
+
{props.unreadCount}
+ >
+ )}
-
);
};
diff --git a/ts/components/BchatSearchInput.tsx b/ts/components/BchatSearchInput.tsx
index fa06f70a..25c5a30a 100644
--- a/ts/components/BchatSearchInput.tsx
+++ b/ts/components/BchatSearchInput.tsx
@@ -4,7 +4,7 @@ import { useDispatch, useSelector } from 'react-redux';
import { clearSearch, search, updateSearchTerm } from '../state/ducks/search';
import { getConversationsCount } from '../state/selectors/conversations';
import { cleanSearchTerm } from '../util/cleanSearchTerm';
-import { BchatIconButton } from './icon';
+import { BchatIcon, BchatIconButton } from './icon';
const doTheSearch = (dispatch: Dispatch
, cleanedTerm: string) => {
@@ -47,7 +47,8 @@ export const BchatSearchInput = () => {
return (
-
+ {/* */}
+
{
/>
{!!currentSearchTerm.length && (
{
setCurrentSearchTerm('');
diff --git a/ts/components/BchatToastContainer.tsx b/ts/components/BchatToastContainer.tsx
index 34b5ab6a..69ad4f27 100644
--- a/ts/components/BchatToastContainer.tsx
+++ b/ts/components/BchatToastContainer.tsx
@@ -1,6 +1,8 @@
import React from 'react';
import { Slide, ToastContainer, ToastContainerProps } from 'react-toastify';
import styled from 'styled-components';
+import { BchatIconButton } from './icon';
+import { Flex } from './basic/Flex';
const BchatToastContainerPrivate = () => {
return (
@@ -20,13 +22,18 @@ const BchatToastContainerPrivate = () => {
/>
);
};
-
+const CloseButton = ({ closeToast }:{closeToast:any}) => (
+
+
+
+);
const WrappedToastContainer = ({
className,
...rest
}: ToastContainerProps & { className?: string }) => (
-
+
+
);
diff --git a/ts/components/BchatWrapperModal.tsx b/ts/components/BchatWrapperModal.tsx
index b20d1a43..8c474840 100644
--- a/ts/components/BchatWrapperModal.tsx
+++ b/ts/components/BchatWrapperModal.tsx
@@ -5,6 +5,11 @@ import { BchatIconButton } from './icon';
// tslint:disable-next-line: no-submodule-imports
import useKey from 'react-use/lib/useKey';
+import styled from 'styled-components';
+import { BchatSpinner } from './basic/BchatSpinner';
+import { BchatButton, BchatButtonColor, BchatButtonType } from './basic/BchatButton';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../state/selectors/theme';
export type BchatWrapperModalType = {
title?: string;
@@ -19,9 +24,32 @@ export type BchatWrapperModalType = {
children: any;
headerReverse?: boolean;
additionalClassName?: string;
+ isloading?: boolean;
+ buttons?: any;
+ okButton?: any;
+ cancelButton?: any;
+ iconShow?: boolean;
+ customIcon?: any;
};
+interface LoaderProps {
+ darkMode: boolean;
+}
+export const Loader = styled.div`
+ position: absolute;
+ top: 0;
+ left: 0;
+ background-color: ${props => (props.darkMode ? '#0000009e' : '#ffffff9e')};
+ display: flex;
+ justify-content: center;
+ width: 100%;
+ height: 100%;
+ align-items: center;
+ z-index: 101;
+`;
export const BchatWrapperModal = (props: BchatWrapperModalType) => {
+ const darkMode = useSelector(getTheme) === 'dark';
+ // const zoomLevel = window.getSettingValue('zoom-factor-setting');
const {
title,
showHeader = true,
@@ -29,6 +57,11 @@ export const BchatWrapperModal = (props: BchatWrapperModalType) => {
headerIconButtons,
headerReverse,
additionalClassName,
+ isloading,
+ okButton,
+ cancelButton,
+ iconShow = false,
+ customIcon,
} = props;
useKey(
@@ -48,51 +81,97 @@ export const BchatWrapperModal = (props: BchatWrapperModalType) => {
undefined,
[props.onClose]
);
-
- const modalRef = useRef(null);
-
+ const modalRef = useRef(null);
return (
- {showHeader ? (
-
-
- {showExitIcon ? (
-
- ) : null}
-
-
{title}
-
- {headerIconButtons
- ? headerIconButtons.map((iconItem: any) => {
- return (
+
+ {iconShow &&
{customIcon}
}
+
+ {showHeader ? (
+
+
+
{title}
+
+ {headerIconButtons
+ ? headerIconButtons.map((iconItem: any) => {
+ return (
+
+ );
+ })
+ : null}
+
+
+
+ {showExitIcon && (
+
- );
- })
- : null}
-
-
- ) : null}
+
+ )}
+
+
+ ) : null}
-
-
- {props.children}
+
+
100 ? '311px' : '' }}
+ >
+ {props.children}
+
+
+
+ {cancelButton?.status && (
+
+ )}
+
+
+ {isloading && (
+
+
+
+
+
+ )}
diff --git a/ts/components/MainViewController.tsx b/ts/components/MainViewController.tsx
index 74ab7210..3ffe8a81 100644
--- a/ts/components/MainViewController.tsx
+++ b/ts/components/MainViewController.tsx
@@ -1,19 +1,31 @@
-import React from 'react';
+import React, { useState } from 'react';
-import { ToastUtils } from '../bchat/utils';
+import { ToastUtils } from '../bchat/utils';
import { createClosedGroup as createClosedGroupV2 } from '../receiver/closedGroups';
import { VALIDATION } from '../bchat/constants';
+import SmileSymbolIcon from './icon/SmileSymbolIcon';
+// import { BchatInput } from './basic/BchatInput';
+import { BchatButton, BchatButtonColor, BchatButtonType } from './basic/BchatButton';
+import { SpacerLG } from './basic/Text';
+import { BchatIdEditable } from './basic/BchatIdEditable';
+import { PubKey } from '../bchat/types/PubKey';
+import { getConversationController } from '../bchat/conversations';
+import { ConversationTypeEnum } from '../models/conversation';
+import { openConversationWithMessages } from '../state/ducks/conversations';
+import { SNodeAPI } from '../bchat/apis/snode_api';
+import styled from 'styled-components';
export class MessageView extends React.Component {
public render() {
-
return (
-
-
Much empty. Such wow. Get some friends to BChat!
+
+ {/*
+ Much empty. Such wow. Get some friends to BChat!
+
*/}
@@ -22,6 +34,95 @@ export class MessageView extends React.Component {
}
}
+export const AddNewContactInEmptyConvo = () => {
+ const [bchatId, setBchatId] = useState('');
+ async function handleMessageButtonClick() {
+ const pubkeyorOnsTrimmed = bchatId.trim();
+ if (
+ (!pubkeyorOnsTrimmed || pubkeyorOnsTrimmed.length !== 66) &&
+ !pubkeyorOnsTrimmed.toLowerCase().endsWith('.bdx')
+ ) {
+ ToastUtils.pushToastError('invalidPubKey', window.i18n('invalidNumberError')); // or Bns name
+ return;
+ }
+ if (!PubKey.validateWithError(pubkeyorOnsTrimmed)) {
+ // this is a pubkey
+ await getConversationController().getOrCreateAndWait(
+ pubkeyorOnsTrimmed,
+ ConversationTypeEnum.PRIVATE
+ );
+
+ await openConversationWithMessages({ conversationKey: pubkeyorOnsTrimmed, messageId: null });
+ // closeOverlay();
+ } else {
+ // setLoading(true);
+ try {
+ const resolvedBchatID = await SNodeAPI.getBchatIDForOnsName(pubkeyorOnsTrimmed);
+ if (PubKey.validateWithError(resolvedBchatID)) {
+ throw new Error('Got a resolved BNS but the returned entry is not a valid bchatID');
+ }
+ // this is a pubkey
+ await getConversationController().getOrCreateAndWait(
+ resolvedBchatID,
+ ConversationTypeEnum.PRIVATE
+ );
+ await openConversationWithMessages({
+ conversationKey: resolvedBchatID,
+ messageId: null,
+ bns: pubkeyorOnsTrimmed,
+ });
+ } catch (e) {
+ window?.log?.warn('failed to resolve bns name', pubkeyorOnsTrimmed, e);
+
+ ToastUtils.pushToastError('invalidPubKey', window.i18n('failedResolveOns'));
+ } finally {
+ }
+ }
+ }
+ return (
+
+
+
+
+
+
+
+ {window.i18n('startConversation')}
+
+
+ {/* */}
+
+
+
+
+
+ handleMessageButtonClick()}
+ />
+
+
+
+
+
+ );
+};
+const StartConvoWrapper = styled.div`
+width: 24vw;
+max-width: 470px;
+margin-left: 43px;
+
+`;
// /////////////////////////////////////
// //////////// Management /////////////
// /////////////////////////////////////
diff --git a/ts/components/MemberListItem.tsx b/ts/components/MemberListItem.tsx
index a171564c..e46579ed 100644
--- a/ts/components/MemberListItem.tsx
+++ b/ts/components/MemberListItem.tsx
@@ -1,21 +1,31 @@
import React from 'react';
import classNames from 'classnames';
-import { Avatar, AvatarSize, CrownIcon } from './avatar/Avatar';
-import { Constants } from '../bchat';
-import { BchatIcon } from './icon';
-import { useConversationUsernameOrShorten } from '../hooks/useParamSelector';
+import { Avatar, AvatarSize, BNSWrapper } from './avatar/Avatar';
+// import { Constants } from '../bchat';
+import {
+ useConversationBnsHolder,
+ useConversationUsernameOrShorten,
+} from '../hooks/useParamSelector';
import styled from 'styled-components';
+import CheckBoxTickIcon from './icon/CheckBoxTickIcon';
+import { BchatIcon } from './icon';
const AvatarContainer = styled.div`
position: relative;
`;
-const AvatarItem = (props: { memberPubkey: string; isAdmin: boolean }) => {
- const { memberPubkey, isAdmin } = props;
+const AvatarItem = (props: { memberPubkey: string; isBnsHolder: any }) => {
+ const { memberPubkey, isBnsHolder } = props;
return (
-
- {isAdmin && }
+
+
+
);
};
@@ -23,6 +33,8 @@ const AvatarItem = (props: { memberPubkey: string; isAdmin: boolean }) => {
export const MemberListItem = (props: {
pubkey: string;
isSelected: boolean;
+ removeMem?:boolean;
+ onlyList?: boolean;
// this bool is used to make a zombie appear with less opacity than a normal member
isZombie?: boolean;
disableBg?: boolean;
@@ -40,39 +52,58 @@ export const MemberListItem = (props: {
onUnselect,
disableBg,
dataTestId,
+ onlyList,
+ removeMem
} = props;
- const memberName = useConversationUsernameOrShorten(pubkey);
+ const memberName:any = useConversationUsernameOrShorten(pubkey);
+ const isBnsHolder = useConversationBnsHolder(pubkey);
+
+ const validateMemberName = (memberName: string) => {
+ if (memberName?.length == 66) {
+ let staringTwoString = memberName.substring(0, 2);
+ let lastString = memberName.substring(58, 66)
+ return `(${staringTwoString}...${lastString})`;
+ }
+ return memberName;
+ }
+
+ const selectionValidation=removeMem? !onlyList && !isSelected :!onlyList &&isSelected
return (
// tslint:disable-next-line: use-simple-attributes
{
- isSelected ? onUnselect?.(pubkey) : onSelect?.(pubkey);
+ !onlyList && (isSelected ? onUnselect?.(pubkey) : onSelect?.(pubkey));
}}
- style={
- !disableBg
- ? {
- }
- : {}
- }
+ style={!disableBg ? {} : {}}
role="button"
data-testid={dataTestId}
>
-
+
-
+
-
{memberName}
+
+ {validateMemberName(memberName)}
+
+ {/*
{isAdmin && } */}
-
- {isSelected&& }
-
+ {!onlyList && !isAdmin && (
+
+ {selectionValidation ? (
+
+ ) : (
+
+ )}
+
+ )}
+ {isAdmin &&
Admin }
);
};
diff --git a/ts/components/avatar/Avatar.tsx b/ts/components/avatar/Avatar.tsx
index 33c37ba1..2075af49 100644
--- a/ts/components/avatar/Avatar.tsx
+++ b/ts/components/avatar/Avatar.tsx
@@ -11,12 +11,13 @@ import { AvatarPlaceHolder } from './AvatarPlaceHolder/AvatarPlaceHolder';
import { ClosedGroupAvatar } from './AvatarPlaceHolder/ClosedGroupAvatar';
import { useDisableDrag } from '../../hooks/useDisableDrag';
import styled from 'styled-components';
+// import { BchatIcon } from '../icon/BchatIcon';
export enum AvatarSize {
XS = 28,
S = 36,
M = 48,
- L = 64,
+ L = 60,
XL = 80,
HUGE = 300,
}
@@ -40,32 +41,59 @@ const Identicon = (props: Props) => {
};
const CrownWrapper = styled.div`
+ // height: 15px;
+ // width: 15px;
+ height: 18px;
+ width: 18px;
position: absolute;
- display: flex;
- bottom: 0%;
- right: 12%;
- top: 24px;
- height: 20px;
- width: 20px;
- transform: translate(25%, 25%);
- color: #f7c347;
- background: var(--color-inbox-background);
- border-radius: 50%;
- filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.3));
-
- align-items: center;
- justify-content: center;
+ top: -12px;
+ left: 22px;
`;
export const CrownIcon = () => {
return (
-
-
+
);
};
+export const BNSWrapper = (props: any) => {
+ const { position, isBnsHolder, size } = props;
+ return (
+ <>
+ {isBnsHolder ? (
+
+ {props.children}
+
+
+
+
+
+
+ ) : (
+ props.children
+ )}
+ >
+ );
+};
const NoImage = (
props: Pick
& {
isClosedGroup: boolean;
@@ -153,6 +181,7 @@ const AvatarInner = (props: Props) => {
>
{hasImage ? (
// tslint:disable-next-line: use-simple-attributes
+
=> {
// key is the pubkey, value is the hash
const cachedHashes = new Map();
-const avatarPlaceholderColors = ['#FF5722', '#2979FB', '#FF6663', '#009688',"#FE64A3",'#00B1FF','#673AB7','#E91E63','#9C27B0'];
+const avatarPlaceholderColors = [
+ {
+ bgColor: '#4AAC67',
+ bodyColor: '#2C7040',
+ },
+ {
+ bgColor: '#A9D1FD',
+ bodyColor: '#3C7ABD',
+ },
+ {
+ bgColor: '#FFE5A6',
+ bodyColor: '#BA8555',
+ },
+ {
+ bgColor: '#CE413B',
+ bodyColor: '#802A2A',
+ },
+
+ // '#FE64A3',
+ // '#00B1FF',
+ // '#673AB7',
+ // '#E91E63',
+ // '#9C27B0',
+];
+
const avatarBorderColor = '#00000059';
function useHashBasedOnPubkey(pubkey: string) {
@@ -82,17 +106,17 @@ export const AvatarPlaceHolder = (props: Props) => {
return (
-
+
);
@@ -104,36 +128,68 @@ export const AvatarPlaceHolder = (props: Props) => {
const bgColorIndex = hash % avatarPlaceholderColors.length;
- const bgColor = avatarPlaceholderColors[bgColorIndex];
-// console.log(bgColor);
+ const avatarColors = avatarPlaceholderColors[bgColorIndex];
+ console.log(avatarColors.bgColor, fontSize);
return (
-
-
-
+
+
+
-
- {initials}
-
-
-
+
+
+
+
+
+
+
+
+
+
+ //
+ //
+ //
+ //
+ // {initials}
+ //
+ //
+ //
);
};
diff --git a/ts/components/basic/BchatButton.tsx b/ts/components/basic/BchatButton.tsx
index 7f7059f2..c0dc3810 100644
--- a/ts/components/basic/BchatButton.tsx
+++ b/ts/components/basic/BchatButton.tsx
@@ -1,5 +1,6 @@
import React, { ReactNode } from 'react';
import classNames from 'classnames';
+import { BchatIcon, BchatIconSize, BchatIconType } from '../icon';
export enum BchatButtonType {
Brand = 'brand',
@@ -9,6 +10,7 @@ export enum BchatButtonType {
Square = 'square',
SquareOutline = 'square-outline',
Simple = 'simple',
+ Medium='medium'
}
export enum BchatButtonColor {
@@ -16,11 +18,13 @@ export enum BchatButtonColor {
White = 'white',
Primary = 'primary',
Success = 'success',
+ Secondary = 'secondary',
Danger = 'danger',
Warning = 'warning',
None = '',
- Red="red",
- Disable="disable",
+ Red = 'red',
+ Disable = 'disable',
+ Enable = 'enable'
}
type Props = {
@@ -32,12 +36,27 @@ type Props = {
children?: ReactNode;
dataTestId?: string;
icon?: boolean;
- style?:object;
-
+ style?: object;
+ iconType?: BchatIconType;
+ iconSize?: BchatIconSize | number;
+ fillRule?: 'iherit' | 'evenodd';
+ clipRule?: 'iherit' | 'evenodd';
};
export const BchatButton = (props: Props) => {
- const { buttonType, dataTestId, buttonColor,style={}, text, disabled, onClick } = props;
+ const {
+ buttonType,
+ dataTestId,
+ buttonColor,
+ style = {},
+ text,
+ disabled,
+ onClick,
+ iconSize,
+ iconType,
+ fillRule,
+ clipRule
+ } = props;
const clickHandler = (e: any) => {
if (onClick) {
@@ -50,31 +69,34 @@ export const BchatButton = (props: Props) => {
const onClickFn = disabled ? () => null : clickHandler;
buttonTypes.push(buttonType);
- if (buttonType.includes('-outline')) {
- buttonTypes.push(buttonType.replace('-outline', ''));
- }
+ // if (buttonType.includes('-outline')) {
+ // buttonTypes.push(buttonType.replace('-outline', ''));
+ // }
return (
- <>
- {props.icon ?
- {props.children || text}
-
- :
- {props.children || text}
-
}
->
-
+ <>
+ {props.icon ? (
+
+ {props.children || text}
+
+ ) : (
+
+ {iconType && iconSize && }
+ {props.children || text}
+
+ )}
+ >
);
};
diff --git a/ts/components/basic/BchatDropdown.tsx b/ts/components/basic/BchatDropdown.tsx
index d8ec04a9..cb961821 100644
--- a/ts/components/basic/BchatDropdown.tsx
+++ b/ts/components/basic/BchatDropdown.tsx
@@ -2,11 +2,13 @@ import React, { useState } from 'react';
import { BchatIcon, BchatIconType } from '../icon';
import { BchatDropdownItem, BchatDropDownItemType } from './BchatDropdownItem';
+import { MenuWrapper } from '../menu/Menu';
// THIS IS DROPDOWN ACCORDIAN STYLE OPTIONS SELECTOR ELEMENT, NOT A CONTEXTMENU
type Props = {
label: string;
+ labelIcon?: BchatIconType;
onClick?: any;
expanded?: boolean;
options: Array<{
@@ -20,7 +22,7 @@ type Props = {
};
export const BchatDropdown = (props: Props) => {
- const { label, options } = props;
+ const { label, options, labelIcon } = props;
const [expanded, setExpanded] = useState(!!props.expanded);
const chevronOrientation = expanded ? 180 : 0;
@@ -33,7 +35,16 @@ export const BchatDropdown = (props: Props) => {
}}
role="button"
>
- {label}
+
+ {labelIcon ? (
+ <>
+
+ {label}
+ >
+ ) : (
+ { label }
+ )}
+
diff --git a/ts/components/basic/BchatInput.tsx b/ts/components/basic/BchatInput.tsx
index 2970d289..b9196ffd 100644
--- a/ts/components/basic/BchatInput.tsx
+++ b/ts/components/basic/BchatInput.tsx
@@ -47,7 +47,7 @@ const ErrorItem = (props: { error: string | undefined }) => {
const ShowHideButton = (props: { toggleForceShow: () => void,forceShow:boolean }) => {
- return
;
+ return
;
};
export const BchatInput = (props: Props) => {
@@ -79,9 +79,10 @@ export const BchatInput = (props: Props) => {
return (
- {error ? (
+ {error && (
- ) : (
+ ) }
+ { label &&(
)}
{
}
}}
/>
-
+
{enableShowHide && (
{
diff --git a/ts/components/basic/BchatSpinner.tsx b/ts/components/basic/BchatSpinner.tsx
index 242eb7f9..0aabcf5c 100644
--- a/ts/components/basic/BchatSpinner.tsx
+++ b/ts/components/basic/BchatSpinner.tsx
@@ -1,4 +1,6 @@
import React from 'react';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../../state/selectors/theme';
type Props = {
loading: boolean;
@@ -6,11 +8,12 @@ type Props = {
export const BchatSpinner = (props: Props) => {
const { loading } = props;
-
+ const darkMode = useSelector(getTheme) === 'dark';
+ const imgsrc=darkMode?'images/bchat/Load_animation.gif':'images/bchat/Loading__white_theme.gif';
return loading ? (
-
+
diff --git a/ts/components/basic/BchatToast.tsx b/ts/components/basic/BchatToast.tsx
index 9c02c5da..33c19382 100644
--- a/ts/components/basic/BchatToast.tsx
+++ b/ts/components/basic/BchatToast.tsx
@@ -23,11 +23,10 @@ type Props = {
};
const TitleDiv = styled.div`
- font-size: 12px;
- line-height: var(--font-size-md);
- font-family: poppin-medium
- color: var(--color-text);
- text-overflow: ellipsis;
+
+ font-size: 18px;
+ font-weight: 400;
+
`;
const DescriptionDiv = styled.div`
@@ -52,30 +51,30 @@ export const BchatToast = (props: Props) => {
// Set a custom icon or allow the theme to define the icon
let toastIcon = icon || undefined;
- let toastColor :any;
+ let toastColor: any;
if (!toastIcon) {
switch (type) {
case BchatToastType.Info:
- toastIcon = 'info';
- toastColor = '#2879FB';
+ toastIcon = 'infoCircle';
+ toastColor = '#2F8FFF';
break;
case BchatToastType.Success:
toastIcon = 'check';
- toastColor = '#17a61b'
+ toastColor = '#00A638';
break;
case BchatToastType.Error:
toastIcon = 'error';
- toastColor = '#FF3C3C'
+ toastColor = '#FF3C3C';
break;
case BchatToastType.Warning:
toastIcon = 'warning';
- toastColor = '#ff3c3c'
+ toastColor = '#F0AF13';
break;
default:
toastIcon = 'info';
}
}
-
+
return (
// tslint:disable-next-line: use-simple-attributes
{
onClick={props?.onToastClick || noop}
data-testid="bchat-toast"
>
-
-
+
+
React.ReactNode;
+}
+
+const ChangingProgressProvider: React.FC = ({
+ values,
+ interval = 1000,
+ children,
+}) => {
+ const [valuesIndex, setValuesIndex] = useState(0);
+
+ useEffect(() => {
+ const id = setInterval(() => {
+ setValuesIndex((prevIndex) => (prevIndex + 1) % values.length);
+ }, interval);
+
+ return () => clearInterval(id);
+ }, [values, interval]);
+
+ return <>{children(values[valuesIndex])}>;
+};
+
+export default ChangingProgressProvider;
diff --git a/ts/components/basic/PillContainer.tsx b/ts/components/basic/PillContainer.tsx
index 48e7f908..95bb0096 100644
--- a/ts/components/basic/PillContainer.tsx
+++ b/ts/components/basic/PillContainer.tsx
@@ -12,35 +12,33 @@ type PillContainerProps = {
const StyledPillContainerHoverable = styled.div`
background: none;
-
position: relative;
- flex-direction: 'row';
+ flex-direction: 'column';
flex-shrink: 0;
- min-width: 50%;
max-width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
align-items: center;
padding: ${props => props.padding || ''};
- margin: ${props => props.margin || ''};
`;
const StyledPillInner = styled.div`
-
- background:var(--color-inboxBgColor);
display: flex;
- flex-direction: 'row';
+ flex-direction: column;
flex-grow: 1;
flex-shrink: 0;
-
+ font-family: 'OpenSans';
+ font-weight: 400;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
- align-items: center;
+ align-items: center;
padding: ${props => props.padding || ''};
margin: ${props => props.margin || ''};
- border-radius: 7px;
+ border-radius: 16px;
+ padding: 20px 0;
+ background-color: var(--color-conversation-item-selected);
cursor: pointer;
// border: 1px solid var(--color-pill-divider);
transition: var(--default-duration);
diff --git a/ts/components/calling/CallButtons.tsx b/ts/components/calling/CallButtons.tsx
index 057dd674..53a71c96 100644
--- a/ts/components/calling/CallButtons.tsx
+++ b/ts/components/calling/CallButtons.tsx
@@ -1,4 +1,4 @@
-import { BchatIconButton } from '../icon';
+import { BchatIcon, BchatIconButton } from '../icon';
import { animation, contextMenu, Item, Menu } from 'react-contexify';
import { InputItem } from '../../bchat/utils/calling/CallManager';
import { setFullScreenCall } from '../../state/ducks/call';
@@ -27,6 +27,7 @@ export const VideoInputButton = ({
{
void handleCameraToggle(currentConnectedCameras, localStreamVideoIsMuted);
}}
@@ -55,6 +56,7 @@ export const AudioInputButton = ({
{
void handleMicrophoneToggle(currentConnectedAudioInputs, isAudioMuted);
}}
@@ -179,7 +181,6 @@ const ShowInFullScreenButton = ({ isFullScreen }: { isFullScreen: boolean }) =>
const dispatch = useDispatch();
const showInFullScreen = () => {
-
if (isFullScreen) {
dispatch(setFullScreenCall(false));
} else {
@@ -212,16 +213,25 @@ export const HangUpButton = () => {
};
return (
-
+
+ >
+
+
);
};
@@ -318,25 +328,26 @@ const handleSpeakerToggle = async (
}
};
-const StyledCallWindowControls = styled.div<{ makeVisible: boolean,isFullScreen:boolean }>`
- position: absolute;
+const StyledCallWindowControls = styled.div<{ makeVisible: boolean; isFullScreen: boolean }>`
+ // position: absolute;
- bottom: 0px;
- width: ${props => (props.isFullScreen ? "100vw" :'100%')};
+ // bottom: 0px;
+ width: ${props => (props.isFullScreen ? '100vw' : '100%')};
height: 100%;
- align-items: flex-end;
+ // align-items: flex-end;
padding: 10px;
- border-radius: 10px;
+ // border-radius: 10px;
margin-left: auto;
margin-right: auto;
- left: 0;
- right: 0;
- transition: all 0.25s ease-in-out;
+ // left: 0;
+ // right: 0;
+ // transition: all 0.25s ease-in-out;
display: flex;
justify-content: center;
- opacity: ${props => (props.makeVisible ? 1 : 0)};
+ align-items:center;
+ // opacity: ${props => (props.makeVisible ? 1 : 0)};
`;
export const CallWindowControls = ({
@@ -364,7 +375,7 @@ export const CallWindowControls = ({
setMakeVisible(true);
};
const setMakeVisibleFalse = () => {
- setMakeVisible(false);
+ setMakeVisible(true);
};
useEffect(() => {
@@ -377,12 +388,14 @@ export const CallWindowControls = ({
document.removeEventListener('mouseleave', setMakeVisibleFalse);
};
}, [isFullScreen]);
-
return (
-
{!remoteStreamVideoIsMuted && }
-
+
-
+
);
diff --git a/ts/components/calling/CallInFullScreenContainer.tsx b/ts/components/calling/CallInFullScreenContainer.tsx
index 03e5ed60..b2136e13 100644
--- a/ts/components/calling/CallInFullScreenContainer.tsx
+++ b/ts/components/calling/CallInFullScreenContainer.tsx
@@ -14,7 +14,7 @@ import { StyledVideoElement } from './DraggableCallContainer';
const CallInFullScreenVisible = styled.div`
position: absolute;
- z-index: 9;
+ z-index: 13;
top: 0;
bottom: 0;
right: 0;
@@ -33,6 +33,7 @@ const StyledLocalVideoElement = styled.video<{ isVideoMuted: boolean }>`
bottom: 0;
right: 0;
position: absolute;
+ transform: rotateY(180deg);
opacity: ${props => (props.isVideoMuted ? 0 : 1)};
`;
diff --git a/ts/components/calling/DraggableCallContainer.tsx b/ts/components/calling/DraggableCallContainer.tsx
index c95d739e..31793496 100644
--- a/ts/components/calling/DraggableCallContainer.tsx
+++ b/ts/components/calling/DraggableCallContainer.tsx
@@ -23,11 +23,17 @@ export const DraggableCallWindow = styled.div`
border: var(--bchat-border);
`;
-export const StyledVideoElement = styled.video<{ isVideoMuted: boolean }>`
- padding: 0 1rem;
+export const StyledVideoElement = styled.video<{ isVideoMuted: boolean; width?: string }>`
+ // padding: 0 1rem;
height: 100%;
- width: 100%;
+ width: ${props => (props.width ? props.width : '100%')};
opacity: ${props => (props.isVideoMuted ? 0 : 1)};
+ display: ${props => (props.isVideoMuted ? 'none' : 'block')};
+ /*Mirror code starts*/
+ transform: rotateY(180deg);
+ -webkit-transform: rotateY(180deg); /* Safari and Chrome */
+ -moz-transform: rotateY(180deg); /* Firefox */
+ /*Mirror code ends*/
`;
const StyledDraggableVideoElement = styled(StyledVideoElement)`
diff --git a/ts/components/calling/InConversationCallContainer.tsx b/ts/components/calling/InConversationCallContainer.tsx
index 50e49ef6..0281d657 100644
--- a/ts/components/calling/InConversationCallContainer.tsx
+++ b/ts/components/calling/InConversationCallContainer.tsx
@@ -12,7 +12,7 @@ import {
getHasOngoingCallWithPubkey,
} from '../../state/selectors/call';
import { StyledVideoElement } from './DraggableCallContainer';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
import { useVideoCallEventsListener } from '../../hooks/useVideoEventListener';
import { useModuloWithTripleDots } from '../../hooks/useModuloWithTripleDots';
@@ -22,60 +22,77 @@ import { DEVICE_DISABLED_DEVICE_ID } from '../../bchat/utils/calling/CallManager
import useInterval from 'react-use/lib/useInterval';
import moment from 'moment';
import { BchatSpinner } from '../basic/BchatSpinner';
+import { getSelectedConversation } from '../../state/selectors/conversations';
+import { getConversationController } from '../../bchat/conversations';
+import { Flex } from '../basic/Flex';
+import { SpacerLG, SpacerMD, SpacerXS } from '../basic/Text';
const VideoContainer = styled.div`
height: 100%;
- width: 50%;
+ width: 100%;
z-index: 0;
- padding-top: 30px; // leave some space at the top for the connecting/duration of the current call
+ display:flex;
+ justify-content:center;
+ // padding-top: 30px; // leave some space at the top for the connecting/duration of the current call
`;
const InConvoCallWindow = styled.div`
padding: 1rem;
- display: flex;
+ // display: flex;
- background-color: var(--color-inbox-background);
+ // background-color: var(--color-inbox-background);
- flex-shrink: 1;
- min-height: 80px;
- align-items: center;
- flex-grow: 1;
+ // flex-shrink: 1;
+ // min-height: 80px;
+ // align-items: center;
+ // flex-grow: 1;
+
+ border-radius: 32px;
+ background-color: var(--color-hop-bg);
+ height: 100%;
+ // margin-top: 20px;
`;
const RelativeCallWindow = styled.div`
- position: relative;
- height: 100%;
- display: flex;
- flex-grow: 1;
+ // position: relative;
+ // height: 100%;
+ // display: flex;
+ // flex-grow: 1;
`;
const CenteredAvatarInConversation = styled.div`
- top: -50%;
- transform: translateY(-50%);
- position: relative;
- bottom: 0;
- left: 0;
- right: 50%;
+ // top: -50%;
+ // transform: translateY(-50%);
+ // position: relative;
+ // bottom: 0;
+ // left: 0;
+ // right: 50%;
display: flex;
justify-content: center;
align-items: center;
+ width: 157px;
+ flex-direction: column;
+`;
+const UserNameTxt = styled.div`
+ font-size: 20px;
`;
const StyledCenteredLabel = styled.div`
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- height: min-content;
- white-space: nowrap;
+ // position: absolute;
+ // left: 50%;
+ // transform: translateX(-50%);
+ // height: min-content;
+ // white-space: nowrap;
color: var(--color-text);
- text-shadow: 0px 0px 8px white;
- z-index: 5;
+ // text-shadow: 0px 0px 8px white;
+ // z-index: 5;
+ font-size: 22px;
+ text-align: center;
`;
const RingingLabel = () => {
const ongoingCallWithFocusedIsRinging = useSelector(getCallWithFocusedConvoIsOffering);
-
const modulatedStr = useModuloWithTripleDots(window.i18n('ringing'), 3, 1000);
if (!ongoingCallWithFocusedIsRinging) {
return null;
@@ -87,7 +104,6 @@ const ConnectingLabel = () => {
const ongoingCallWithFocusedIsConnecting = useSelector(getCallWithFocusedConvosIsConnecting);
const modulatedStr = useModuloWithTripleDots(window.i18n('establishingConnection'), 3, 1000);
-
if (!ongoingCallWithFocusedIsConnecting) {
return null;
}
@@ -142,10 +158,11 @@ export const InConversationCallContainer = () => {
const ongoingCallPubkey = useSelector(getHasOngoingCallWithPubkey);
const ongoingCallWithFocused = useSelector(getHasOngoingCallWithFocusedConvo);
+ const selectedConversation = useSelector(getSelectedConversation);
const videoRefRemote = useRef
(null);
const videoRefLocal = useRef(null);
-
const ourPubkey = UserUtils.getOurPubKeyStrFromCache();
+ const conversation = getConversationController().get(ourPubkey);
const {
currentConnectedAudioInputs,
@@ -188,49 +205,128 @@ export const InConversationCallContainer = () => {
return null;
}
+
+ const validateMemberName = (memberName: any) => {
+ if (memberName == selectedConversation?.id) {
+ let staringTwoString = memberName.substring(0, 2);
+ let lastString = memberName.substring(58, 66);
+ return `${staringTwoString}...${lastString}`;
+ }
+ return memberName;
+ };
+
return (
-
-
-
-
-
-
-
- {remoteStreamVideoIsMuted && (
-
-
-
+
+
+
+
+
+
+ {remoteStreamVideoIsMuted && (
+
+
+
+
+
+ {validateMemberName(selectedConversation?.profileName || selectedConversation?.id)}
+
+ )}
+
+
+ {/* {localStreamVideoIsMuted && (
+
+
+
+
+
+ {conversation.attributes.profileName}
+
+ )} */}
+
+
+
+ {localStreamVideoIsMuted && (
+
+
+
+
+
+ {validateMemberName(conversation.attributes.profileName)}
+
+ )}
+
+
+
+ {!localStreamVideoIsMuted && !remoteStreamVideoIsMuted && (
+
+
+
+
+
)}
-
-
-
+
+
+
+
+
- {localStreamVideoIsMuted && (
-
-
-
- )}
-
-
-
-
-
+
+
+
+ {!localStreamVideoIsMuted && !remoteStreamVideoIsMuted && (
+
+
+
+ )}
+
+
);
};
diff --git a/ts/components/calling/IncomingCallDialog.tsx b/ts/components/calling/IncomingCallDialog.tsx
index 93d56ce0..2663a436 100644
--- a/ts/components/calling/IncomingCallDialog.tsx
+++ b/ts/components/calling/IncomingCallDialog.tsx
@@ -2,15 +2,17 @@ import React, { useEffect } from 'react';
import { useSelector } from 'react-redux';
import styled from 'styled-components';
-import { useConversationUsername } from '../../hooks/useParamSelector';
+import { useConversationBnsHolder, useConversationUsername } from '../../hooks/useParamSelector';
import { ed25519Str } from '../../bchat/onions/onionPath';
import { CallManager } from '../../bchat/utils';
import { callTimeoutMs } from '../../bchat/utils/calling/CallManager';
import { getHasIncomingCall, getHasIncomingCallFrom } from '../../state/selectors/call';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
-import { BchatWrapperModal } from '../BchatWrapperModal';
-import { SpacerLG } from '../basic/Text';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
+// import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+// import { BchatWrapperModal } from '../BchatWrapperModal';
+import { SpacerLG, SpacerSM } from '../basic/Text';
+import { BchatIcon } from '../icon';
+import { useModuloWithTripleDots } from '../../hooks/useModuloWithTripleDots';
export const CallWindow = styled.div`
position: absolute;
@@ -21,17 +23,35 @@ export const CallWindow = styled.div`
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
- background-color: var(--color-modal-background);
+ background-color:var(--color-hop-bg);
border: var(--bchat-border);
`;
const IncomingCallAvatarContainer = styled.div`
padding: 0 0 1rem 0;
+ width: 400px;
+ text-align: center;
+`;
+const UserName = styled.div`
+ font-size: 24px;
+ font-style: normal;
+ font-weight: 500;
+ line-height: normal;
+`;
+const IncomingTxt = styled.div`
+ color: var(--color-hop-txt);
+ text-align: center;
+ font-family: Poppins;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: normal;
`;
-
export const IncomingCallDialog = () => {
const hasIncomingCall = useSelector(getHasIncomingCall);
const incomingCallFromPubkey = useSelector(getHasIncomingCallFrom);
+ const isBnsHolder = useConversationBnsHolder(incomingCallFromPubkey);
+ const modulatedStr = useModuloWithTripleDots('Incoming...', 3, 1000);
useEffect(() => {
let timeout: NodeJS.Timeout;
@@ -69,30 +89,60 @@ export const IncomingCallDialog = () => {
}
};
const from = useConversationUsername(incomingCallFromPubkey);
+
if (!hasIncomingCall || !incomingCallFromPubkey) {
return null;
}
if (hasIncomingCall) {
return (
-
-
-
-
-
-
-
-
+ //
+
+
+
+
+
+
+
+ {from}
+
+
{modulatedStr}
+
+
-
+
+ //
);
}
// display spinner while connecting
diff --git a/ts/components/conversation/BchatConditionalSyncStatusBar.tsx b/ts/components/conversation/BchatConditionalSyncStatusBar.tsx
index ef58117b..90d5c8f9 100644
--- a/ts/components/conversation/BchatConditionalSyncStatusBar.tsx
+++ b/ts/components/conversation/BchatConditionalSyncStatusBar.tsx
@@ -1,14 +1,14 @@
-import React from 'react';
-import { useSelector } from 'react-redux';
-import { getWalletSyncBarShowInChat } from '../../state/selectors/walletConfig';
-import { MemoSyncStatusBar } from '../wallet/BchatWalletSyncSatusBar';
-import { daemon } from '../../wallet/daemon-rpc';
+// import React from 'react';
+// import { useSelector } from 'react-redux';
+// import { getWalletSyncBarShowInChat } from '../../state/selectors/walletConfig';
+// import { MemoSyncStatusBar } from '../wallet/BchatWalletSyncSatusBar';
+// import { daemon } from '../../wallet/daemon-rpc';
-export default function ConditionalSyncBar() {
- const walletSyncBarShowInChat = useSelector(getWalletSyncBarShowInChat);
- if (walletSyncBarShowInChat) {
- daemon.daemonHeartbeat();
- return
;
- }
- return <>>;
-}
+// export default function ConditionalSyncBar() {
+// const walletSyncBarShowInChat = useSelector(getWalletSyncBarShowInChat);
+// if (walletSyncBarShowInChat) {
+// daemon.daemonHeartbeat();
+// return
;
+// }
+// return <>>;
+// }
diff --git a/ts/components/conversation/BchatConversation.tsx b/ts/components/conversation/BchatConversation.tsx
index 7a144c55..fca3febe 100644
--- a/ts/components/conversation/BchatConversation.tsx
+++ b/ts/components/conversation/BchatConversation.tsx
@@ -15,13 +15,12 @@ import { perfEnd, perfStart } from '../../bchat/utils/Performance';
const DEFAULT_JPEG_QUALITY = 0.85;
// import classNames from 'classnames';
-
import { BchatMessagesListContainer } from './BchatMessagesListContainer';
import { BchatFileDropzone } from './BchatFileDropzone';
import { InConversationCallContainer } from '../calling/InConversationCallContainer';
-import { SplitViewContainer } from '../SplitViewContainer';
+// import { SplitViewContainer } from '../SplitViewContainer';
import { LightboxGallery, MediaItemType } from '../lightbox/LightboxGallery';
import { getLastMessageInConversation, getPubkeysInPublicConversation } from '../../data/data';
import { getConversationController } from '../../bchat/conversations';
@@ -34,16 +33,16 @@ import {
SortedMessageModelProps,
updateMentionsMembers,
} from '../../state/ducks/conversations';
-import { updateConfirmModal } from '../../state/ducks/modalDialog';
+import { updateCommunityGuidelinesModal, updateConfirmModal } from '../../state/ducks/modalDialog';
import { BchatTheme } from '../../state/ducks/BchatTheme';
import { addStagedAttachmentsInConversation } from '../../state/ducks/stagedAttachments';
import { MIME } from '../../types';
import { AttachmentTypeWithPath } from '../../types/Attachment';
import { arrayBufferToObjectURL, AttachmentUtil, GoogleChrome } from '../../util';
-import { BchatButtonColor } from '../basic/BchatButton';
-import { MessageView } from '../MainViewController';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { AddNewContactInEmptyConvo, MessageView } from '../MainViewController';
import { ConversationHeaderWithDetails } from './ConversationHeader';
-import { MessageDetail } from './message/message-item/MessageDetail';
+// import { MessageDetail } from './message/message-item/MessageDetail';
import {
makeImageThumbnailBuffer,
makeVideoScreenshot,
@@ -51,14 +50,19 @@ import {
} from '../../types/attachments/VisualAttachment';
import { blobToArrayBuffer } from 'blob-util';
import { MAX_ATTACHMENT_FILESIZE_BYTES } from '../../bchat/constants';
-import { ConversationMessageRequestButtons } from './ConversationRequestButtons';
+// import { ConversationMessageRequestButtons } from './ConversationRequestButtons';
import { ConversationRequestinfo } from './ConversationRequestInfo';
import { getCurrentRecoveryPhrase } from '../../util/storage';
import loadImage from 'blueimp-load-image';
-import { BchatRightPanelWithDetails } from './BchatRightPanel';
+// import { BchatRightPanelWithDetails } from './BchatRightPanel';
// import { SyncStatusBar } from '../wallet/BchatWalletSyncSatusBar';
-import { SettingsKey } from '../../data/settings-key';
-import ConditionalSyncBar from './BchatConditionalSyncStatusBar';
+// import { SettingsKey } from '../../data/settings-key';
+// import ConditionalSyncBar from './BchatConditionalSyncStatusBar';
+import { SectionType } from '../../state/ducks/section';
+import { BchatScrollButton } from '../BchatScrollButton';
+import { Flex } from '../basic/Flex';
+import { BchatIcon } from '../icon';
+import styled from 'styled-components';
// import { PaymentMessage } from './message/message-item/PaymentMessage';
// import { useConversationBeldexAddress } from '../../hooks/useParamSelector';
// import { getWalletSyncInitiatedWithChat } from '../../state/selectors/walletConfig';
@@ -82,12 +86,14 @@ interface Props {
showMessageDetails: boolean;
isRightPanelShowing: boolean;
hasOngoingCallWithFocusedConvo: boolean;
- isMe:boolean;
+ isMe: boolean;
// lightbox options
lightBoxOptions?: LightBoxOptions;
stagedAttachments: Array
;
+ convoList: any;
+ focusedSection: any;
}
export class BchatConversation extends React.Component {
@@ -196,9 +202,23 @@ export class BchatConversation extends React.Component {
if (msg.body.replace(/\s/g, '').includes(recoveryPhrase.replace(/\s/g, ''))) {
window.inboxStore?.dispatch(
updateConfirmModal({
- title: window.i18n('sendRecoveryPhraseTitle'),
- message: window.i18n('sendRecoveryPhraseMessage'),
+ // title: window.i18n('sendRecoveryPhraseTitle'),
+ title: 'Warning',
+ // message: window.i18n('sendRecoveryPhraseMessage'),
+ message:
+ 'This is your recovery phrase. if you send it to someone they will have full access to your account.',
okTheme: BchatButtonColor.Danger,
+ okText: window.i18n('send'),
+ iconShow: true,
+ customIcon: (
+
+ ),
onClickOk: () => {
void sendAndScroll();
},
@@ -223,37 +243,39 @@ export class BchatConversation extends React.Component {
const {
selectedConversation,
messagesProps,
- showMessageDetails,
+ // showMessageDetails,
selectedMessages,
- isRightPanelShowing,
+ // isRightPanelShowing,
lightBoxOptions,
- isMe
+ // isMe,
+ convoList,
+ focusedSection,
} = this.props;
const selectionMode = selectedMessages.length > 0;
- const chatWithWallet = window.getSettingValue(SettingsKey.settingsChatWithWallet) || false;
-
+ // const chatWithWallet = window.getSettingValue(SettingsKey.settingsChatWithWallet) || false;
+ if (
+ convoList?.conversations?.length == 0 &&
+ (!selectedConversation || !messagesProps) &&
+ focusedSection !== SectionType.Opengroup &&
+ focusedSection !== SectionType.NewChat
+ ) {
+ return ;
+ }
if (!selectedConversation || !messagesProps) {
-
// return an empty message view
return ;
}
- // const belAddress = useConversationBeldexAddress(selectedConversation.id);
- const syncbarCondition=chatWithWallet && selectedConversation?.isPrivate && !isMe && selectedConversation?.didApproveMe && selectedConversation?.isApproved
- // const msgProps={ amount:'0.1',
- // txnId: "1234567890",
- // direction: 'outgoing',
- // acceptUrl: "qwerty",
- // messageId: "qwert12345",
- // receivedAt: "123456",
- // isUnread: true,
- // }
-
- // console.log("selectedConversation ::",syncbarCondition,selectedConversation)
-
+ // const belAddress = useConversationBeldexAddress(selectedConversation.id);
+ // const syncbarCondition =
+ // chatWithWallet &&
+ // selectedConversation?.isPrivate &&
+ // !isMe &&
+ // selectedConversation?.didApproveMe &&
+ // selectedConversation?.isApproved;
+
return (
-
@@ -263,50 +285,85 @@ export class BchatConversation extends React.Component {
tabIndex={0}
onKeyDown={this.onKeyDown}
role="navigation"
- >
-
- {syncbarCondition && }
-
-
+ >
+ {selectedConversation?.isPublic && (
+
+
+
+
+
+
Pinned Message
+
Community guidelines
+
+
+ window.inboxStore?.dispatch(updateCommunityGuidelinesModal({}))}
+ />
+
+
+ )}
+ {/*
{syncbarCondition && }
*/}
+ {/*
-
+
*/}
{lightBoxOptions?.media && this.renderLightBox(lightBoxOptions)}
-
-
*/}
+ {this.props.hasOngoingCallWithFocusedConvo && (
+
+ {/* */}{' '}
+ {/*
*/}
+
+ )}
+
+ {/*
}
bottom={
<>
-
- {/*
*/}
+
>
}
disableTop={!this.props.hasOngoingCallWithFocusedConvo}
+ /> */}
+
{isDraggingFile &&
}
-
+
-
-
-
-
+ */}
);
}
@@ -519,7 +576,8 @@ export class BchatConversation extends React.Component
{
const allPubKeys = await getPubkeysInPublicConversation(this.props.selectedConversationKey);
window?.log?.debug(
- `[perf] getPubkeysInPublicConversation returned '${allPubKeys?.length
+ `[perf] getPubkeysInPublicConversation returned '${
+ allPubKeys?.length
}' members in ${Date.now() - start}ms`
);
@@ -625,4 +683,10 @@ const renderImagePreview = async (contentType: string, file: File, fileName: str
};
};
-
+const VerticalLine = styled.div`
+ width: 5px;
+ background-color: var(--color-untrusted-vertical-bar);
+ height: 38px;
+ border-radius: 10px;
+ margin-right: 10px;
+`;
diff --git a/ts/components/conversation/BchatMessagesListContainer.tsx b/ts/components/conversation/BchatMessagesListContainer.tsx
index 72fc3c93..2ac50e37 100644
--- a/ts/components/conversation/BchatMessagesListContainer.tsx
+++ b/ts/components/conversation/BchatMessagesListContainer.tsx
@@ -1,6 +1,6 @@
import React from 'react';
-import { BchatScrollButton } from '../BchatScrollButton';
+// import { BchatScrollButton } from '../BchatScrollButton';
import { contextMenu } from 'react-contexify';
import { connect } from 'react-redux';
@@ -135,11 +135,13 @@ class BchatMessagesListContainerInner extends React.Component {
/>
-
+ /> */}
+
);
}
diff --git a/ts/components/conversation/BchatQuotedMessageComposition.tsx b/ts/components/conversation/BchatQuotedMessageComposition.tsx
index 0cf9b2f0..bd856da9 100644
--- a/ts/components/conversation/BchatQuotedMessageComposition.tsx
+++ b/ts/components/conversation/BchatQuotedMessageComposition.tsx
@@ -11,16 +11,22 @@ import { Image } from './Image';
const QuotedMessageComposition = styled.div`
width: 100%;
- padding-inline-end: var(--margins-md);
- padding-inline-start: var(--margins-md);
+ margin-top: 15px;
+ // padding-inline-end: var(--margins-md);
+ // padding-inline-start: var(--margins-md);
`;
const QuotedMessageCompositionReply = styled.div`
- background: var(--color-quote-bottom-bar-background);
- border-radius: var(--margins-sm);
+ // background: var(--color-quote-bottom-bar-background);
+ // border-radius: var(--margins-sm);
padding: var(--margins-xs);
box-shadow: var(--color-bchat-shadow);
- margin: var(--margins-xs);
+ // margin: var(--margins-xs);
+ background: var(--color-untrust-media-bg);
+ border-radius: 16px;
+ min-height: 70px;
+ width: 100%;
+ margin-right: 10px;
`;
const Subtle = styled.div`
@@ -32,10 +38,16 @@ const Subtle = styled.div`
display: -webkit-box;
color: var(--color-text);
`;
-
-const ReplyingTo = styled.div`
- color: var(--color-text);
+const VerticalLine = styled.div`
+ width: 5px;
+ background-color: var(--color-untrusted-vertical-bar);
+ height: 60px;
+ border-radius: 10px;
+ margin-right: 10px;
`;
+// const ReplyingTo = styled.div`
+// color: var(--color-text);
+// `;
export const BchatQuotedMessageComposition = () => {
const quotedMessageProps = useSelector(getQuotedMessage);
@@ -73,12 +85,14 @@ export const BchatQuotedMessageComposition = () => {
justifyContent="space-between"
flexGrow={1}
margin={'var(--margins-xs)'}
+ alignItems='center'
>
-
{window.i18n('replyingToMessage')}
-
-
+ {/*
{window.i18n('replyingToMessage')} */}
+
-
+
+
+
{(hasAttachments && window.i18n('mediaMessage')) || body}
{hasImageAttachment && (
@@ -94,6 +108,9 @@ export const BchatQuotedMessageComposition = () => {
{hasAudioAttachment && }
+
+
+
);
};
diff --git a/ts/components/conversation/BchatRecording.tsx b/ts/components/conversation/BchatRecording.tsx
index 94db6628..af954b46 100644
--- a/ts/components/conversation/BchatRecording.tsx
+++ b/ts/components/conversation/BchatRecording.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import classNames from 'classnames';
import moment from 'moment';
-import { BchatIconButton } from '../icon';
+import { BchatIcon, BchatIconButton } from '../icon';
import autoBind from 'auto-bind';
import MicRecorder from 'mic-recorder-to-mp3';
import styled from 'styled-components';
@@ -10,6 +10,8 @@ import { Constants } from '../../bchat';
import { ToastUtils } from '../../bchat/utils';
import { MAX_ATTACHMENT_FILESIZE_BYTES } from '../../bchat/constants';
import { SendMessageButton } from './composition/CompositionButtons';
+import StopIcon from '../icon/StopIcon';
+import { CustomIconButton } from '../icon/CustomIconButton';
interface Props {
onExitVoiceNoteView: () => void;
@@ -32,20 +34,24 @@ function getTimestamp() {
return Date.now() / 1000;
}
-interface StyledFlexWrapperProps {
- marginHorizontal: string;
-}
+// interface StyledFlexWrapperProps {
+// marginHorizontal: string;
+// }
/**
* Generic wrapper for quickly passing in theme constant values.
*/
-const StyledFlexWrapper = styled.div
`
+const StyledFlexWrapper = styled.div`
display: flex;
flex-direction: row;
align-items: center;
- width:100%
- .bchat-button {
- margin: ${props => props.marginHorizontal};
+ // width:100%;
+ justify-content: space-between;
+ width: 65px;
+ .bchat-icon-button{
+ border-radius:30px;
+ }
+
}
`;
@@ -105,8 +111,8 @@ export class BchatRecording extends React.Component {
const displayTimeMs = isRecording
? (nowTimestamp - startTimestamp) * 1000
: (this.audioElement &&
- (this.audioElement?.currentTime * 1000 || this.audioElement?.duration)) ||
- 0;
+ (this.audioElement?.currentTime * 1000 || this.audioElement?.duration)) ||
+ 0;
const displayTimeString = moment.utc(displayTimeMs).format('m:ss');
const recordingDurationMs = this.audioElement?.duration
@@ -124,62 +130,83 @@ export class BchatRecording extends React.Component {
- {hasRecording && !isRecording ? (
-
- {displayTimeString + remainingTimeString}
+ {hasRecording && !isRecording ? (
+
+
+
+
+ {displayTimeString + remainingTimeString}
) : null}
-
-
- {isRecording ? (
-
-
- {displayTimeString}
-
+
+
+ {isRecording ? (
+
+
+ {displayTimeString}
+
+ ) : null}
- ) : null}
-
-
-
-
-
-
-
- {actionPauseAudio && (
-
- )}
- {hasRecordingAndPaused && (
-
- )}
- {hasRecording && (
-
- )}
-
-
- {actionDefault &&
}
+
+
+ {actionPauseAudio && (
+
+ )}
+ {hasRecordingAndPaused && (
+
+ )}
+ {hasRecording && (
+
+ )}
+
+
+ {actionDefault && }
+
+ {isRecording && (
+ //
+
} onClick={actionPauseFn} />
+ )}
- {isRecording && (
-
- )}
-
+
+ {!isRecording && (
+
+ )
+ // : (
+ // { }} />
+ // )
+ }
-
- {!isRecording ? :{}}/>}
-
);
}
diff --git a/ts/components/conversation/BchatRightPanel.tsx b/ts/components/conversation/BchatRightPanel.tsx
index bf1bfe53..a8de67c6 100644
--- a/ts/components/conversation/BchatRightPanel.tsx
+++ b/ts/components/conversation/BchatRightPanel.tsx
@@ -1,4 +1,4 @@
-import React, { useEffect, useState } from 'react';
+import React, { useCallback, useEffect, useRef, useState } from 'react';
import { BchatIcon, BchatIconButton } from '../icon';
import _ from 'lodash';
// tslint:disable-next-line: no-submodule-imports
@@ -10,26 +10,48 @@ import {
} from '../../data/data';
import {
deleteAllMessagesByConvoIdWithConfirmation,
+ deleteGroupByConvoId,
setDisappearingMessagesByConvoId,
showAddModeratorsByConvoId,
showInviteContactByConvoId,
showLeaveGroupByConvoId,
showRemoveModeratorsByConvoId,
- showUpdateGroupMembersByConvoId,
- showUpdateGroupNameByConvoId,
+ // showUpdateGroupMembersByConvoId,
+ // showUpdateGroupNameByConvoId,
} from '../../interactions/conversationInteractions';
import { Constants } from '../../bchat';
import { closeRightPanel } from '../../state/ducks/conversations';
import { getSelectedConversation, isRightPanelShowing } from '../../state/selectors/conversations';
import { getTimerOptions } from '../../state/selectors/timerOptions';
import { AttachmentTypeWithPath } from '../../types/Attachment';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
-import { BchatDropdown } from '../basic/BchatDropdown';
-import { SpacerLG } from '../basic/Text';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
+// import { BchatDropdown } from '../basic/BchatDropdown';
+import { SpacerLG, SpacerMD, SpacerSM, SpacerXS } from '../basic/Text';
import { MediaItemType } from '../lightbox/LightboxGallery';
import { MediaGallery } from './media-gallery/MediaGallery';
import { getAbsoluteAttachmentPath } from '../../types/MessageAttachment';
-import { useConversationUsername } from '../../hooks/useParamSelector';
+import {
+ useConversationPropsById,
+ useConversationUsername,
+ useWeAreAdmin,
+} from '../../hooks/useParamSelector';
+import { Flex } from '../basic/Flex';
+// import { CopyIconButton } from '../icon/CopyIconButton';
+import { clipboard } from 'electron';
+import { pushUserCopySuccess } from '../../bchat/utils/Toast';
+import { getConversationController } from '../../bchat/conversations';
+import { initiateOpenGroupUpdate } from '../../bchat/group/open-group';
+import { initiateClosedGroupUpdate } from '../../bchat/group/closed-group';
+import { useSet } from '../../hooks/useSet';
+import { ToastUtils, UserUtils } from '../../bchat/utils';
+import { MemberListItem } from '../MemberListItem';
+import classNames from 'classnames';
+import { InviteContact, onClickRef } from './InviteContacts';
+import { BchatButton } from '../basic/BchatButton';
+import { BchatButtonType } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
+import { MenuWrapper } from '../menu/Menu';
+import { getTheme } from '../../state/selectors/theme';
async function getMediaGalleryProps(
conversationId: string
@@ -101,6 +123,101 @@ async function getMediaGalleryProps(
};
}
+// Adjust the import path as necessary
+
+const MAX_USERNAME_LENGTH = 20;
+
+const ProfileName = (props: { onCloseEdit: () => void; grpName: any }) => {
+ const [profileName, setProfileName] = useState(props.grpName);
+ const [errorDisplayed, setErrorDisplayed] = useState(false);
+ const [errorMessage, setErrorMessage] = useState('placeholder');
+ const selectedConversation = useSelector(getSelectedConversation);
+ if (!selectedConversation) {
+ return null;
+ }
+ const convo = getConversationController().get(selectedConversation.id);
+ // const groupName = convo.getName();
+
+ const oldAvatarPath = convo.getAvatarPath();
+ const newAvatarObjecturl = null;
+ const onNameEdited = useCallback((event: React.ChangeEvent
) => {
+ setProfileName(event.target.value);
+ }, []);
+
+ function onClickOK() {
+ const trimmedGroupName = profileName?.trim();
+ if (!trimmedGroupName) {
+ onShowError(window.i18n('emptyGroupNameError'));
+
+ return;
+ }
+
+ if (trimmedGroupName !== convo.getName() || newAvatarObjecturl !== oldAvatarPath) {
+ if (convo.isPublic()) {
+ void initiateOpenGroupUpdate(convo.id, trimmedGroupName, {
+ objectUrl: newAvatarObjecturl,
+ });
+ } else {
+ const members = convo.get('members') || [];
+ void initiateClosedGroupUpdate(convo.id, trimmedGroupName, members);
+ setProfileName('');
+ }
+ }
+ props.onCloseEdit();
+ }
+ function onShowError(msg: string) {
+ if (errorDisplayed) {
+ return;
+ }
+
+ setErrorDisplayed(true);
+ setErrorMessage(msg);
+ setTimeout(() => {
+ setErrorDisplayed(false);
+ }, 3000);
+ }
+ // const onClickOK = useCallback(() => {
+ // console.log('Save icon clicked', selectedConversation);
+ // // Handle the save action
+ // }, [profileName]);
+
+ return (
+
+
+
+
+
+
+
+ onClickOK()}
+ // dataTestId="modal-close-button"
+ />
+
+
+ {errorDisplayed ? (
+ <>
+
+
{errorMessage}
+ >
+ ) : null}
+
+ );
+};
+
const HeaderItem = () => {
const selectedConversation = useSelector(getSelectedConversation);
const dispatch = useDispatch();
@@ -108,30 +225,86 @@ const HeaderItem = () => {
if (!selectedConversation) {
return null;
}
- const { id, profileName } = selectedConversation;
+ const { id, profileName, isBnsHolder, isGroup } = selectedConversation;
return (
+
+
+ {isGroup ? 'Group Info' : 'Profile Info'}
+
+ dispatch(closeRightPanel())}
+ className="group-settings-header-closeBox"
+ >
+
+
+
+
+
-
+
+
+
+
+
{profileName}
+
+
+ );
+};
+const ClassicMemberList = (props: {
+ convoId: string;
+ selectedMembers: Array;
+ onSelect: (m: string) => void;
+ onUnselect: (m: string) => void;
+ removeMem?: boolean;
+}) => {
+ const { onSelect, convoId, onUnselect, selectedMembers, removeMem } = props;
+ const weAreAdmin = useWeAreAdmin(convoId);
+ const convoProps = useConversationPropsById(convoId);
+ if (!convoProps) {
+ throw new Error('MemberList needs convoProps');
+ }
+ let currentMembers = convoProps.members || [];
+ const { groupAdmins } = convoProps;
+ currentMembers = [...currentMembers].sort(m => (groupAdmins?.includes(m) ? -1 : 0));
- dispatch(closeRightPanel())} className="group-settings-header-closeBox">
-
-
-
+ return (
+ <>
+
+ {currentMembers.map(member => {
+ const isSelected = (weAreAdmin && selectedMembers.includes(member)) || false;
+ const isAdmin = groupAdmins?.includes(member);
+
+ return (
+
+ );
+ })}
-
+ >
);
};
@@ -140,10 +313,23 @@ const HeaderItem = () => {
export const BchatRightPanelWithDetails = () => {
const [documents, setDocuments] = useState>([]);
const [media, setMedia] = useState>([]);
+ const [fullView, setFullView] = useState(false);
+ const [edit, setEdit] = useState(false);
+ const [removeMem, setRemoveMem] = useState(false);
+ const [addMem, setAddMem] = useState(false);
+ const [expanded, setExpanded] = useState(false);
const selectedConversation = useSelector(getSelectedConversation);
const isShowing = useSelector(isRightPanelShowing);
-
+ const convoProps = useConversationPropsById(selectedConversation?.id);
+ const existingMembers = convoProps?.members || [];
+ const ref = useRef(null);
+ const { addTo, removeFrom, uniqueValues: membersToKeepWithUpdate } = useSet(
+ existingMembers
+ );
+ const darkMode = useSelector(getTheme) === 'dark';
+ const { uniqueValues: selectedContacts } = useSet();
+ const zoomLevel = window.getSettingValue('zoom-factor-setting');
useEffect(() => {
let isRunning = true;
@@ -193,9 +379,7 @@ export const BchatRightPanelWithDetails = () => {
isGroup,
isPrivate,
} = selectedConversation;
-
const username = String(useConversationUsername(id));
-
const showMemberCount = !!(subscriberCount && subscriberCount > 0);
const commonNoShow = isKickedFromGroup || left || isBlocked;
const hasDisappearingMessages = !isPublic && !commonNoShow;
@@ -217,7 +401,7 @@ export const BchatRightPanelWithDetails = () => {
},
};
});
-
+ // console.log('disappearingMessagesOptions --->', disappearingMessagesOptions);
const showUpdateGroupNameButton =
isGroup && (!isPublic || (isPublic && weAreAdmin)) && !commonNoShow;
const showAddRemoveModeratorsButton = weAreAdmin && !commonNoShow && isPublic;
@@ -227,155 +411,404 @@ export const BchatRightPanelWithDetails = () => {
? () => {
deleteAllMessagesByConvoIdWithConfirmation(id);
}
+ : left
+ ? () => {
+ deleteGroupByConvoId(id, username);
+ }
: () => {
- showLeaveGroupByConvoId(id, username);
+ showLeaveGroupByConvoId(
+ id,
+ username,
+
+ );
};
- return (
-
-
- {isPrivate && (
-
- )}
-
-
{name}
- {showUpdateGroupNameButton && (
- {
- await showUpdateGroupNameByConvoId(id);
- }}
- dataTestId="edit-profile-icon"
- />
- )}
-
- {showMemberCount && (
- <>
-
-
- {window.i18n('members', [`${subscriberCount}`])}
-
-
- >
- )}
- {showAddRemoveModeratorsButton && (
+ const handleCopy = () => {
+ clipboard.writeText(id, 'clipboard');
+ pushUserCopySuccess();
+ };
+ const dispalyMedia = (value: boolean) => {
+ setFullView(value);
+ };
+ const onAdd = (member: string) => {
+ if (!weAreAdmin) {
+ ToastUtils.pushOnlyAdminCanRemove();
+ return;
+ }
+
+ addTo(member);
+ };
+ const onRemove = (member: string) => {
+ if (!weAreAdmin) {
+ window?.log?.warn('Only group admin can remove members!');
+
+ ToastUtils.pushOnlyAdminCanRemove();
+ return;
+ }
+ if (convoProps?.groupAdmins?.includes(member)) {
+ ToastUtils.pushCannotRemoveCreatorFromGroup();
+ window?.log?.warn(
+ `User ${member} cannot be removed as they are the creator of the closed group.`
+ );
+ return;
+ }
+
+ removeFrom(member);
+ };
+
+ async function onSubmit(convoId: string, membersAfterUpdate: Array
) {
+ // not ideal to get the props here, but this is not run often
+ const convoProps = getConversationController()
+ .get(convoId)
+ .getConversationModelProps();
+ if (!convoProps || !convoProps.isGroup || convoProps.isPublic) {
+ throw new Error('Invalid convo for updateGroupMembersDialog');
+ }
+ if (!convoProps.weAreAdmin) {
+ window.log.warn('Skipping update of members, we are not the admin');
+ return;
+ }
+ const ourPK = UserUtils.getOurPubKeyStrFromCache();
+
+ const allMembersAfterUpdate = _.uniq(_.concat(membersAfterUpdate, [ourPK]));
+
+ // membersAfterUpdate won't include the zombies. We are the admin and we want to remove them not matter what
+
+ // We need to NOT trigger an group update if the list of member is the same.
+ // We need to merge all members, including zombies for this call.
+ // We consider that the admin ALWAYS wants to remove zombies (actually they should be removed
+ // automatically by him when the LEFT message is received)
+
+ const existingMembers = convoProps.members || [];
+ const existingZombies = convoProps.zombies || [];
+
+ const allExistingMembersWithZombies = _.uniq(existingMembers.concat(existingZombies));
+
+ const notPresentInOld = allMembersAfterUpdate.filter(
+ m => !allExistingMembersWithZombies.includes(m)
+ );
+
+ // be sure to include zombies in here
+ const membersToRemove = allExistingMembersWithZombies.filter(
+ m => !allMembersAfterUpdate.includes(m)
+ );
+
+ // do the xor between the two. if the length is 0, it means the before and the after is the same.
+ const xor = _.xor(membersToRemove, notPresentInOld);
+ if (xor.length === 0) {
+ window.log.info('skipping group update: no detected changes in group member list');
+
+ return;
+ }
+
+ // If any extra devices of removed exist in newMembers, ensure that you filter them
+ // Note: I think this is useless
+ const filteredMembers = allMembersAfterUpdate.filter(
+ memberAfterUpdate => !_.includes(membersToRemove, memberAfterUpdate)
+ );
+
+ void initiateClosedGroupUpdate(convoId, convoProps.name || 'Unknown', filteredMembers);
+ }
+ const onClickOK = async () => {
+ // const members = getWouldBeMembers(this.state.contactList).map(d => d.id);
+ // do not include zombies here, they are removed by force
+ if (removeMem) {
+ await onSubmit(id, membersToKeepWithUpdate);
+ setRemoveMem(false);
+ }
+ if (addMem) {
+ console.log('selectedContacts ...', selectedContacts);
+ // await submitForClosedGroup(id, selectedContacts);
+ await ref.current?.onclick();
+ setAddMem(false);
+ }
+ };
+ return (
+ 100 ? 'absolute' : 'unset',
+ overflowY: zoomLevel > 100 ? 'auto' : 'unset',
+ right:0,
+ zIndex:2
+ }}
+ >
+ {!fullView ? (
<>
+
+ {isPrivate && (
+
+
BChat ID
+
+
+
+ {id}
+
+ {/* */}
+
+
+
+ )}
+ {!edit ? (
+
+
{name}
+ {showUpdateGroupNameButton && (
+
+ {
+ // await showUpdateGroupNameByConvoId(id);
+ setEdit(true);
+ }}
+ dataTestId="edit-profile-icon"
+ />
+
+ )}
+
+ ) : (
+ <>
+ {/*
*/}
+
setEdit(false)} grpName={name} />
+ >
+ )}
+ {hasDisappearingMessages && (
+
+
setExpanded(!expanded)}
+ >
+
+
+
+ {window.i18n('disappearingMessages')}
+
+
+
+ {/* */}
+
+ {expanded && (
+
+ {disappearingMessagesOptions.map((item, key) => {
+ return (
+ {
+ setExpanded(false);
+ item.onClick();
+ }}
+ >
+ {item.content}
+
+ );
+ })}
+
+ )}
+
+ )}
+ {showMemberCount && (
+ <>
+
+
+ {window.i18n('members', [`${subscriberCount}`])}
+
+
+ >
+ )}
+ {showAddRemoveModeratorsButton && (
+ <>
+ {
+ showAddModeratorsByConvoId(id);
+ }}
+ >
+ {window.i18n('addModerators')}
+
+ {
+ showRemoveModeratorsByConvoId(id);
+ }}
+ >
+ {window.i18n('removeModerators')}
+
+ >
+ )}
+ {showUpdateGroupMembersButton && (
+
+
+ {
+ // await showUpdateGroupMembersByConvoId(id);
+ // }}
+ >
+
+ {window.i18n('groupMembers')}
+
+
+ {removeMem || addMem ? (
+ <>
+ {
+ setRemoveMem(false);
+ setAddMem(false);
+ }}
+ />
+
+ onClickOK()}
+ />
+ >
+ ) : (
+ <>
+ {weAreAdmin && (
+ setRemoveMem(true)}
+ />
+ )}
+ {
+ setAddMem(true);
+ // if (selectedConversation) {
+ // showInviteContactByConvoId(selectedConversation.id);
+ // }
+ }}
+ >
+
{
+ if (selectedConversation) {
+ showInviteContactByConvoId(selectedConversation.id);
+ }
+ }}
+ >
+ {/* {window.i18n('addingContacts')} */}
+ Add +
+
+ >
+ )}
+
+
+
+
+ {addMem ? (
+
+ ) : (
+
+ )}
+
+
+ )}
+
+ {isGroup && (
+ // tslint:disable-next-line: use-simple-attributes
+
+
+
+ {/*
+
+
{leaveGroupString}
*/}
+ {/*
*/}
+
+ )}
+
+
+
+ Media, docs
+ dispalyMedia(true)}
+ />
+
+
+
{
- showAddModeratorsByConvoId(id);
- }}
- >
- {window.i18n('addModerators')}
-
- {
- showRemoveModeratorsByConvoId(id);
- }}
+ className={classNames('img-wrapper', existingMembers.length >= 3 && 'grp_more_member')}
>
- {window.i18n('removeModerators')}
+
+
>
- )}
- {showUpdateGroupMembersButton && (
- {
- if (selectedConversation) {
- showInviteContactByConvoId(selectedConversation.id);
- }
- }}
- >
-
{
- if (selectedConversation) {
- showInviteContactByConvoId(selectedConversation.id);
- }
- }}
+ ) : (
+ <>
+
-
-
-
-
- {window.i18n('addingContacts')}
-
- )}
-
- {showUpdateGroupMembersButton && (
- {
- await showUpdateGroupMembersByConvoId(id);
- }}
- >
-
-
dispalyMedia(false)}
+ className="group-settings-header-closeBox"
+ style={{ marginRight: '10px' }}
>
-
-
-
- {window.i18n('groupMembers')}
-
- )}
-
- {hasDisappearingMessages && (
-
-
-
- )}
-
-
- {isGroup && (
- // tslint:disable-next-line: use-simple-attributes
-
+
+ Media & Documents
+
+
+
+ >
)}
);
diff --git a/ts/components/conversation/BnsVerification.ts b/ts/components/conversation/BnsVerification.ts
new file mode 100644
index 00000000..75b85ad1
--- /dev/null
+++ b/ts/components/conversation/BnsVerification.ts
@@ -0,0 +1,63 @@
+import { SNodeAPI } from '../../bchat/apis/snode_api';
+import { getConversationController } from '../../bchat/conversations/ConversationController';
+import { ToastUtils, UserUtils } from '../../bchat/utils';
+import { setIsVerifyBnsCalled } from '../../state/ducks/bnsConfig';
+
+export async function setIsBnsHolder(value: Boolean) {
+ const conversation = getConversationController().get(UserUtils.getOurPubKeyStrFromCache());
+ await conversation.setIsBnsHolder(value);
+}
+export async function linkBns(ourBnsName: string) {
+ window.setLocalValue('ourBnsName', ourBnsName);
+ await setIsBnsHolder(true);
+}
+const failureBnsLinkHandler = async () => {
+ const i18n = window.i18n;
+ window.setLocalValue('ourBnsName', '');
+ await setIsBnsHolder(false);
+ ToastUtils.pushToastError('invalid',i18n( 'bnsNameAndIDNotMatch'));
+ return false;
+};
+export function bnsVerificationConvo(
+ senderConversationModel: any,
+ isPrivateConversationMessage: boolean,
+ envelope: { isBnsHolder: boolean }
+) {
+ const ourPubkey: string = UserUtils.getOurPubKeyStrFromCache();
+ if (
+ senderConversationModel?.attributes?.id === ourPubkey &&
+ !window.getLocalValue('ourBnsName') &&
+ isPrivateConversationMessage
+ ) {
+ senderConversationModel.setIsBnsHolder(false);
+ console.log('verify tag disabled');
+ } else {
+ isPrivateConversationMessage && senderConversationModel.setIsBnsHolder(envelope.isBnsHolder);
+ }
+}
+export async function isLinkedBchatIDWithBnsForDeamon(bnsName?: string) {
+ try {
+ const i18n = window.i18n;
+ const ourBnsName = bnsName || window.getLocalValue('ourBnsName');
+ console.log(' ourBnsName -------->', ourBnsName);
+ if (!ourBnsName) {
+ return false;
+ }
+ if (!window.navigator.onLine) {
+ !!bnsName && ToastUtils.pushToastError('invalid', 'Please check your internet connection');
+ return false;
+ }
+ const resolvedBchatID = await SNodeAPI.getBchatIDForOnsName(ourBnsName);
+ const ourNumber = UserUtils.getOurPubKeyStrFromCache();
+ window.inboxStore?.dispatch(setIsVerifyBnsCalled(true));
+ if (ourNumber === resolvedBchatID) {
+ !!bnsName && ToastUtils.pushToastSuccess('success', i18n('bnsNameverified'));
+ return true;
+ } else {
+ return failureBnsLinkHandler();
+ }
+ } catch (error) {
+ console.log(error);
+ return failureBnsLinkHandler();
+ }
+}
diff --git a/ts/components/conversation/ContactName.tsx b/ts/components/conversation/ContactName.tsx
index c5efb6e2..e97a9f9f 100644
--- a/ts/components/conversation/ContactName.tsx
+++ b/ts/components/conversation/ContactName.tsx
@@ -15,17 +15,17 @@ type Props = {
};
export const ContactName = (props: Props) => {
- const { pubkey, name, profileName, module, boldProfileName, compact, shouldShowPubkey } = props;
+ const { pubkey, name, profileName, module, compact, shouldShowPubkey } = props;
const prefix = module ? module : 'module-contact-name';
const convoName = useConversationUsernameOrShorten(pubkey);
const isPrivate = useIsPrivate(pubkey);
const shouldShowProfile = Boolean(convoName || profileName || name);
- const styles = (boldProfileName
- ? {
- fontWeight: 'bold',
- }
- : {}) as React.CSSProperties;
+ // const styles = (boldProfileName
+ // ? {
+ // fontWeight: 'bold',
+ // }
+ // : {}) as React.CSSProperties;
const textProfile = profileName || name || convoName || window.i18n('anonymous');
return (
@@ -35,7 +35,7 @@ export const ContactName = (props: Props) => {
data-testid={`${prefix}__profile-name`}
>
{shouldShowProfile ? (
-
+
) : null}
diff --git a/ts/components/conversation/ConversationHeader.tsx b/ts/components/conversation/ConversationHeader.tsx
index d970173b..85080bd4 100644
--- a/ts/components/conversation/ConversationHeader.tsx
+++ b/ts/components/conversation/ConversationHeader.tsx
@@ -1,6 +1,6 @@
import React from 'react';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
import { contextMenu } from 'react-contexify';
import styled from 'styled-components';
@@ -21,6 +21,7 @@ import {
isMessageDetailView,
isMessageSelectionMode,
isRightPanelShowing,
+ // isRightPanelShowing,
} from '../../state/selectors/conversations';
import { useDispatch, useSelector } from 'react-redux';
@@ -30,7 +31,7 @@ import {
} from '../../interactions/conversations/unsendingInteractions';
import {
closeMessageDetailsView,
- closeRightPanel,
+ // closeRightPanel,
openRightPanel,
resetSelectedMessageIds,
} from '../../state/ducks/conversations';
@@ -43,7 +44,7 @@ import {
useIsKickedFromGroup,
} from '../../hooks/useParamSelector';
import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
-import { BchatIcon, BchatIconButton } from '../icon';
+import { BchatIconButton } from '../icon';
import { ConversationHeaderMenu } from '../menu/ConversationHeaderMenu';
import { Flex } from '../basic/Flex';
import { ExpirationTimerOptions } from '../../util/expiringMessages';
@@ -53,6 +54,9 @@ import { getConversationController } from '../../bchat/conversations';
import { getWalletSyncBarShowInChat } from '../../state/selectors/walletConfig';
import { SettingsKey } from '../../data/settings-key';
import { updateBchatWalletPasswordModal } from '../../state/ducks/modalDialog';
+import { getTheme } from '../../state/selectors/theme';
+// import { CustomIconButton } from '../icon/CustomIconButton';
+// import CallIcon from '../icon/CallIcon';
// import { BchatButtonIcon } from '../wallet/BchatWalletPaymentSection';
export interface TimerOption {
@@ -96,6 +100,7 @@ const SelectionOverlay = () => {
const selectedConversationKey = useSelector(getSelectedConversationKey);
const isPublic = useSelector(getSelectedConversationIsPublic);
const dispatch = useDispatch();
+ const darkMode = useSelector(getTheme) === 'dark';
const { i18n } = window;
@@ -120,38 +125,48 @@ const SelectionOverlay = () => {
return (
+
+
+
+
+
+
+ {selectedMessageIds.length}
+ Selected
+
+
+
{!isOnlyServerDeletable && (
)}
-
-
-
);
};
const TripleDotsMenu = (props: { triggerId: string; showBackButton: boolean }) => {
const { showBackButton } = props;
+ const isShowing: boolean = useSelector(isRightPanelShowing);
if (showBackButton) {
return null;
}
- let width = window.innerWidth;
+ let width = isShowing ? window.innerWidth - 370 : window.innerWidth;
return (
{
contextMenu.show({
@@ -159,13 +174,13 @@ const TripleDotsMenu = (props: { triggerId: string; showBackButton: boolean }) =
event: e,
position: {
x: width - 300,
- y: 55,
+ y: 70,
},
});
}}
data-testid="three-dots-conversation-options"
>
-
+
);
};
@@ -193,23 +208,30 @@ const ExpirationLength = (props: { expirationSettingName?: string }) => {
const AvatarHeader = (props: {
pubkey: string;
showBackButton: boolean;
+ conversation: any;
onAvatarClick?: (pubkey: string) => void;
}) => {
- const { pubkey, onAvatarClick, showBackButton } = props;
-
+ const { pubkey, onAvatarClick, showBackButton, conversation } = props;
return (
- {
- // do not allow right panel to appear if another button is shown on the BchatConversation
- if (onAvatarClick && !showBackButton) {
- onAvatarClick(pubkey);
- }
- }}
- pubkey={pubkey}
- dataTestId="conversation-options-avatar"
- />
+
+ {
+ // do not allow right panel to appear if another button is shown on the BchatConversation
+ if (onAvatarClick && !showBackButton) {
+ onAvatarClick(pubkey);
+ }
+ }}
+ pubkey={pubkey}
+ dataTestId="conversation-options-avatar"
+ />
+
);
};
@@ -246,16 +268,17 @@ const CallButton = () => {
}
return (
- {
+
+ {/* {
+ void callRecipient(selectedConvoKey, canCall);
+ }}
+ customIcon={ }
+ /> */}
+ {
void callRecipient(selectedConvoKey, canCall);
- }}
- />
+ }} />
+
);
};
@@ -284,55 +307,26 @@ export type ConversationHeaderTitleProps = {
};
const ConversationHeaderTitle = () => {
- // console.log("convertion header 1::")
const headerTitleProps = useSelector(getConversationHeaderTitleProps);
- // console.log("convertion header 2::",headerTitleProps)
-
- // const notificationSetting = useSelector(getCurrentNotificationSettingText);
- const isRightPanelOn = useSelector(isRightPanelShowing);
- // console.log("convertion header 3::",isRightPanelOn)
-
+ // const isRightPanelOn = useSelector(isRightPanelShowing);
const convoName = useConversationUsername(headerTitleProps?.conversationKey);
- // console.log("convertion header 4::",convoName)
- const dispatch = useDispatch();
const convoProps = useConversationPropsById(headerTitleProps?.conversationKey);
- // console.log("convertion header 5::",convoProps)
-
const conversationKey: any = useSelector(getSelectedConversationKey);
- // console.log("convertion header 6::",conversationKey)
-
const conversation: any = useSelector(getSelectedConversation);
- // console.log("convertion header 7::",conversation)
-
+ // const dispatch = useDispatch();
let displayedName = null;
if (conversation?.type === ConversationTypeEnum.PRIVATE) {
displayedName = getConversationController().getContactProfileNameOrShortenedPubKey(
conversationKey
);
}
- // console.log("convertion header 8::",displayedName)
-
const activeAt = convoProps?.activeAt;
if (!headerTitleProps) {
- return null;
+ return <>>;
}
- // console.log("convertion header 9::",activeAt)
-
- const { isGroup, isPublic, members, subscriberCount, isMe, isKickedFromGroup } = headerTitleProps;
- // console.log("convertion header 10::",headerTitleProps)
-
+ const { isGroup, isPublic, members, subscriberCount, isKickedFromGroup } = headerTitleProps;
const { i18n } = window;
- // console.log("convertion header 11::",isMe)
-
- if (isMe) {
- // console.log("convertion header 12::",isMe)
-
- // return {window.i18n('noteToSelf')}
;
- return Note to Self
;
-
- }
- // console.log("convertion header 13::",headerTitleProps)
let memberCount = 0;
if (isGroup) {
@@ -342,7 +336,6 @@ const ConversationHeaderTitle = () => {
memberCount = members.length;
}
}
- // console.log("convertion header 14::",headerTitleProps)
const SubTxt = styled.div`
font-size: 11px;
@@ -358,20 +351,24 @@ const ConversationHeaderTitle = () => {
const count = String(memberCount);
memberCountText = i18n('members', [count]);
}
+ if (conversation?.isMe) {
+ return Note to Self
;
+ }
return (
- {
- if (isRightPanelOn) {
- dispatch(closeRightPanel());
- } else {
- dispatch(openRightPanel());
- }
- }}
- role="button"
- >
-
+
+
{
+ // if (isRightPanelOn) {
+ // dispatch(closeRightPanel());
+ // } else {
+ // dispatch(openRightPanel());
+ // }
+ // }}
+ // role="button"
+ >
{convoName}
{isGroup ? (
@@ -411,14 +408,20 @@ export const ConversationHeaderSubtitle = (props: { text?: string | null }): JSX
export const ConversationHeaderWithDetails = () => {
const isSelectionMode = useSelector(isMessageSelectionMode);
const isMessageDetailOpened = useSelector(isMessageDetailView);
- const selectedConvoKey = useSelector(getSelectedConversationKey);
+ const selectedConvoKey: any = useSelector(getSelectedConversationKey);
const conversation = useSelector(getSelectedConversation);
const WalletSyncBarShowInChat = useSelector(getWalletSyncBarShowInChat);
const chatwithWallet = window.getSettingValue(SettingsKey.settingsChatWithWallet) || false;
const dispatch = useDispatch();
- const displayConnectWalletBtn=chatwithWallet && !WalletSyncBarShowInChat && conversation?.type == 'private' && conversation?.isApproved && conversation?.didApproveMe
+ const displayConnectWalletBtn =
+ chatwithWallet &&
+ !WalletSyncBarShowInChat &&
+ conversation?.type == 'private' &&
+ conversation?.isApproved &&
+ conversation?.didApproveMe &&
+ !conversation?.isMe;
if (!selectedConvoKey) {
return null;
@@ -431,6 +434,7 @@ export const ConversationHeaderWithDetails = () => {
: undefined;
const triggerId = 'conversation-header';
+ const isMe = useSelector(getIsSelectedNoteToSelf);
// function displayWalletPassword() {
@@ -439,6 +443,7 @@ export const ConversationHeaderWithDetails = () => {
// // return;
// // }
// }
+
return (
@@ -456,37 +461,40 @@ export const ConversationHeaderWithDetails = () => {
dispatch(openRightPanel());
}}
pubkey={selectedConvoKey}
+ conversation={conversation}
showBackButton={isMessageDetailOpened}
/>
- { displayConnectWalletBtn &&
dispatch(updateBchatWalletPasswordModal({}))}
- >
-
-
- {window.i18n('connectWallet')}
-
- {/*
dispatch(updateBchatWalletPasswordModal({}))}
+ // >
+ //
+ // {window.i18n('connectWallet')}
+ dispatch(updateBchatWalletPasswordModal({}))}
// disabled={!caption}
- /> */}
-
- }
+ />
+ //
+ )}
{!isKickedFromGroup && (
)}
- {conversation?.type == 'private' && (
-
+ {conversation?.type == 'private' && conversation?.didApproveMe && !isMe && (
+
)}
diff --git a/ts/components/conversation/ConversationRequestButtons.tsx b/ts/components/conversation/ConversationRequestButtons.tsx
index 089b3a4a..5766e22d 100644
--- a/ts/components/conversation/ConversationRequestButtons.tsx
+++ b/ts/components/conversation/ConversationRequestButtons.tsx
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
-import { useSelector,useDispatch } from 'react-redux';
+import { useSelector, useDispatch } from 'react-redux';
import styled from 'styled-components';
import { getMessageCountByType } from '../../data/data';
import {
@@ -11,12 +11,13 @@ import { getConversationController } from '../../bchat/conversations';
import { getSelectedConversation } from '../../state/selectors/conversations';
import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { setOverlayMode } from '../../state/ducks/section';
+import DeclineMessageRequest from '../icon/DeclineMessageRequest';
export const ConversationMessageRequestButtons = () => {
const selectedConversation = useSelector(getSelectedConversation);
const [hasIncoming, setHasIncomingMsgs] = useState(false);
const [incomingChecked, setIncomingChecked] = useState(false);
- const dispatch=useDispatch();
+ const dispatch = useDispatch();
useEffect(() => {
async function getIncomingMessages() {
@@ -38,6 +39,7 @@ export const ConversationMessageRequestButtons = () => {
getIncomingMessages();
}, []);
+
if (!selectedConversation || !hasIncoming || !incomingChecked) {
return null;
}
@@ -46,18 +48,20 @@ export const ConversationMessageRequestButtons = () => {
const showMsgRequestUI = convoModel && convoModel.isIncomingRequest();
const handleDeclineConversationRequest = () => {
- declineConversationWithConfirm(selectedConversation.id, true);
+ console.log("handleDeclineConversationRequest:")
+ const customIcon =
+ declineConversationWithConfirm(selectedConversation.id, true, customIcon);
};
const handleAcceptConversationRequest = async () => {
-
+
const { id } = selectedConversation;
const convo = getConversationController().get(selectedConversation.id);
await convo.setDidApproveMe(true);
await convo.addOutgoingApprovalMessage(Date.now());
dispatch(setOverlayMode(undefined));
await approveConvoAndSendResponse(id, true);
-
+
};
if (!showMsgRequestUI) {
@@ -68,7 +72,7 @@ export const ConversationMessageRequestButtons = () => {
Allow this person to chat with you?
-
+
{
)}
/>
{closeButton ? (
- {
+ // e.stopPropagation();
+ // if (onClickClose) {
+ // onClickClose(attachment);
+ // }
+ // }}
+ // className="module-image__close-button"
+ // />
+
+ {
e.stopPropagation();
if (onClickClose) {
onClickClose(attachment);
}
}}
- className="module-image__close-button"
/>
- ) : null}
+
+ ) : //
+ null}
{bottomOverlay ?
: null}
{!(pending || loading) && playIconOverlay ? (
diff --git a/ts/components/dialog/InviteContactsDialog.tsx b/ts/components/conversation/InviteContacts.tsx
similarity index 85%
rename from ts/components/dialog/InviteContactsDialog.tsx
rename to ts/components/conversation/InviteContacts.tsx
index 745869e3..d9cacf4b 100644
--- a/ts/components/dialog/InviteContactsDialog.tsx
+++ b/ts/components/conversation/InviteContacts.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { forwardRef, useImperativeHandle } from 'react';
import { getConversationController } from '../../bchat/conversations';
import { ToastUtils, UserUtils } from '../../bchat/utils';
@@ -11,16 +11,22 @@ import { useDispatch, useSelector } from 'react-redux';
import { updateInviteContactModal } from '../../state/ducks/modalDialog';
// tslint:disable-next-line: no-submodule-imports
import useKey from 'react-use/lib/useKey';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+// import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
import { MemberListItem } from '../MemberListItem';
-import { BchatWrapperModal } from '../BchatWrapperModal';
+// import { BchatWrapperModal } from '../BchatWrapperModal';
import { getPrivateContactsPubkeys } from '../../state/selectors/conversations';
import { useConversationPropsById } from '../../hooks/useParamSelector';
import { useSet } from '../../hooks/useSet';
import { initiateClosedGroupUpdate } from '../../bchat/group/closed-group';
+// Define the ref type
+export type onClickRef = {
+ onclick: () => void;
+};
+
type Props = {
conversationId: string;
+ ref: onClickRef;
};
// const submitFortxnDetails = async (conversationId: string, pubkeys: Array
) => {
@@ -55,7 +61,6 @@ type Props = {
// });
// };
-
const submitForOpenGroup = async (conversationId: string, pubkeys: Array) => {
const completeUrl = await getCompleteUrlForV2ConvoId(conversationId);
const convo = getConversationController().get(conversationId);
@@ -84,7 +89,7 @@ const submitForOpenGroup = async (conversationId: string, pubkeys: Array
});
};
-const submitForClosedGroup = async (convoId: string, pubkeys: Array) => {
+ const submitForClosedGroup = async (convoId: string, pubkeys: Array) => {
const convo = getConversationController().get(convoId);
if (!convo || !convo.isGroup()) {
throw new Error('submitForClosedGroup group not found');
@@ -123,7 +128,7 @@ const submitForClosedGroup = async (convoId: string, pubkeys: Array) =>
};
// tslint:disable-next-line: max-func-body-length
-const InviteContactsDialogInner = (props: Props) => {
+const InviteContactsInner = forwardRef((props, ref) => {
const { conversationId } = props;
const dispatch = useDispatch();
@@ -149,17 +154,24 @@ const InviteContactsDialogInner = (props: Props) => {
);
}
- const chatName = convoProps.name;
+ // const chatName = convoProps.name;
const isPublicConvo = convoProps.isPublic;
const closeDialog = () => {
dispatch(updateInviteContactModal(null));
};
+ // Pass the ref to the useImperativeHandle hook
+ useImperativeHandle(ref, () => ({
+ onclick: () => {
+ onClickOK();
+ },
+ }));
+
const onClickOK = () => {
if (selectedContacts.length > 0) {
if (isPublicConvo) {
- void submitForOpenGroup(conversationId, selectedContacts);
+ void submitForOpenGroup(conversationId, selectedContacts);
// submitFortxnDetails(conversationId, selectedContacts)
} else {
void submitForClosedGroup(conversationId, selectedContacts);
@@ -177,16 +189,17 @@ const InviteContactsDialogInner = (props: Props) => {
return event.key === 'Esc' || event.key === 'Escape';
}, closeDialog);
- const unknown = window.i18n('unknown');
+ // const unknown = window.i18n('unknown');
- const titleText = `${window.i18n('addingContacts', [chatName || unknown])}`;
- const cancelText = window.i18n('cancel');
- const okText = window.i18n('ok');
+ // const titleText = `${window.i18n('addingContacts', [chatName || unknown])}`;
+ // const cancelText = window.i18n('cancel');
+ // const okText = window.i18n('ok');
const hasContacts = validContactsForInvite.length > 0;
return (
-
+ <>
+ {/* */}
@@ -210,7 +223,7 @@ const InviteContactsDialogInner = (props: Props) => {
-
+ {/*
{
onClick={onClickOK}
buttonColor={BchatButtonColor.Green}
/>
-
-
+
*/}
+ >
+
+ // {/* */}
);
-};
+});
-export const InviteContactsDialog = InviteContactsDialogInner;
+export const InviteContact = InviteContactsInner;
diff --git a/ts/components/conversation/StagedAttachmentList.tsx b/ts/components/conversation/StagedAttachmentList.tsx
index ebd2c7aa..85cd3281 100644
--- a/ts/components/conversation/StagedAttachmentList.tsx
+++ b/ts/components/conversation/StagedAttachmentList.tsx
@@ -12,10 +12,11 @@ import {
} from '../../types/Attachment';
import { useDispatch, useSelector } from 'react-redux';
import {
- removeAllStagedAttachmentsInConversation,
+ // removeAllStagedAttachmentsInConversation,
removeStagedAttachmentInConversation,
} from '../../state/ducks/stagedAttachments';
import { getSelectedConversationKey } from '../../state/selectors/conversations';
+import { getTheme } from '../../state/selectors/theme';
type Props = {
attachments: Array;
@@ -23,21 +24,23 @@ type Props = {
onAddAttachment: () => void;
};
-const IMAGE_WIDTH = 120;
+const IMAGE_WIDTH = 100;
const IMAGE_HEIGHT = 120;
export const StagedAttachmentList = (props: Props) => {
const { attachments, onAddAttachment, onClickAttachment } = props;
+ const darkMode = useSelector(getTheme) === 'dark';
const dispatch = useDispatch();
const conversationKey = useSelector(getSelectedConversationKey);
- const onRemoveAllStaged = () => {
- if (!conversationKey) {
- return;
- }
- dispatch(removeAllStagedAttachmentsInConversation({ conversationKey }));
- };
+ // before revamp design to call close all the attachment
+ // const onRemoveAllStaged = () => {
+ // if (!conversationKey) {
+ // return;
+ // }
+ // dispatch(removeAllStagedAttachmentsInConversation({ conversationKey }));
+ // };
const onRemoveByFilename = (filename: string) => {
if (!conversationKey) {
@@ -54,7 +57,7 @@ export const StagedAttachmentList = (props: Props) => {
return (
- {attachments.length > 1 ? (
+ {/* {attachments.length > 1 ? (
{
className="module-attachments__close-button"
/>
- ) : null}
+ ) : null} */}
- {(attachments || []).map((attachment, index) => {
- const { contentType } = attachment;
- if (isImageTypeSupported(contentType) || isVideoTypeSupported(contentType)) {
- const imageKey = getUrl(attachment) || attachment.fileName || index;
- const clickCallback = attachments.length > 1 ? onClickAttachment : undefined;
+
+ {(attachments || []).map((attachment, index) => {
+ const { contentType } = attachment;
+ if (isImageTypeSupported(contentType) || isVideoTypeSupported(contentType)) {
+ const imageKey = getUrl(attachment) || attachment.fileName || index;
+ const clickCallback = attachments.length > 1 ? onClickAttachment : undefined;
+
+ return (
+ {
+ onRemoveByFilename(attachment.fileName);
+ }}
+ />
+ );
+ }
+
+ const genericKey = getUrl(attachment) || attachment.fileName || index;
return (
- {
+ onClose={() => {
onRemoveByFilename(attachment.fileName);
}}
+
/>
);
- }
-
- const genericKey = getUrl(attachment) || attachment.fileName || index;
-
- return (
- {
- onRemoveByFilename(attachment.fileName);
- }}
- />
- );
- })}
- {allVisualAttachments ? : null}
+ })}
+
+ {allVisualAttachments ?
: null}
);
diff --git a/ts/components/conversation/StagedLinkPreview.tsx b/ts/components/conversation/StagedLinkPreview.tsx
index b090fad2..5f62c038 100644
--- a/ts/components/conversation/StagedLinkPreview.tsx
+++ b/ts/components/conversation/StagedLinkPreview.tsx
@@ -7,6 +7,7 @@ import { BchatSpinner } from '../basic/BchatSpinner';
import { StagedLinkPreviewImage } from './composition/CompositionBox';
import { isImage } from '../../types/MIME';
import { fromArrayBufferToBase64 } from '../../bchat/utils/String';
+import { BchatIcon } from '../icon';
type Props = {
isLoaded: boolean;
@@ -68,7 +69,9 @@ export const StagedLinkPreview = (props: Props) => {
onClose(url || '');
}}
aria-label={window.i18n('close')}
- />
+ >
+
+
);
};
diff --git a/ts/components/conversation/StagedPlaceholderAttachment.tsx b/ts/components/conversation/StagedPlaceholderAttachment.tsx
index 910ba8b4..9e5b0715 100644
--- a/ts/components/conversation/StagedPlaceholderAttachment.tsx
+++ b/ts/components/conversation/StagedPlaceholderAttachment.tsx
@@ -1,16 +1,42 @@
import React from 'react';
+// import { BchatIcon } from '../icon';
interface Props {
onClick: () => void;
+ darkMode: boolean;
}
export class StagedPlaceholderAttachment extends React.Component {
public render() {
- const { onClick } = this.props;
+ const { onClick, darkMode } = this.props;
return (
-
+ {/*
*/}
+ {/* */}
+ {/*
*/}
+
+
+
+
);
}
diff --git a/ts/components/conversation/Timestamp.tsx b/ts/components/conversation/Timestamp.tsx
index 0e8da858..c44032db 100644
--- a/ts/components/conversation/Timestamp.tsx
+++ b/ts/components/conversation/Timestamp.tsx
@@ -44,7 +44,7 @@ export const Timestamp = (props: Props) => {
const { timestamp, momentFromNow } = props;
- if (timestamp === null || timestamp === undefined) {
+ if (timestamp === null || timestamp === undefined || timestamp === 0) {
return null;
}
diff --git a/ts/components/conversation/WaveFormAudioPlayer.tsx b/ts/components/conversation/WaveFormAudioPlayer.tsx
new file mode 100644
index 00000000..50673f6b
--- /dev/null
+++ b/ts/components/conversation/WaveFormAudioPlayer.tsx
@@ -0,0 +1,145 @@
+import React, { useEffect, useRef, useState } from 'react';
+import WaveSurfer from 'wavesurfer.js';
+import { useEncryptedFileFetch } from '../../hooks/useEncryptedFileFetch';
+import { Flex } from '../basic/Flex';
+import { BchatIconButton } from '../icon';
+import { SpacerSM } from '../basic/Text';
+import { MessageModelType } from '../../models/messageType';
+import classNames from 'classnames';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../../state/selectors/theme';
+
+interface WaveFormAudioPlayerProps {
+ src: string;
+ contentType: string;
+ messageId: string;
+ direction: MessageModelType;
+}
+
+const WaveFormAudioPlayerWithEncryptedFile: React.FC = props => {
+ const { contentType, src, direction } = props;
+ const { urlToLoad } = useEncryptedFileFetch(src, contentType, false);
+ const waveformRef = useRef(null);
+
+ const waveSurferRef = useRef(null);
+ // const [wavesurfer, setWavesurfer] = useState(null);
+ const [isPlaying, setIsPlaying] = useState(false);
+ const [remainingTime, setRemainingTime] = useState('0.00');
+ const [playbackSpeed, setPlaybackSpeed] = useState(1.0);
+ const darkMode = useSelector(getTheme) === 'dark';
+ function validColor() {
+ const incomingColors = {
+ waveColor: darkMode ? '#647494' : '#ACACAC',
+ progressColor: '#2F8FFF',
+ cursorColor: '#2F8FFF',
+ };
+
+ const outgoingColors = {
+ waveColor: '#00AA2E',
+ progressColor: '#00DE16',
+ cursorColor: '#00DE16',
+ };
+
+ const colors = direction === 'incoming' ? incomingColors : outgoingColors;
+ // console.log(direction, { colors });
+ return colors;
+ }
+
+ useEffect(() => {
+ let surfer: any;
+ if (waveformRef.current) {
+ surfer = WaveSurfer.create({
+ container: waveformRef.current,
+
+ waveColor: validColor().waveColor,
+ progressColor: validColor().progressColor,
+ cursorColor: validColor().cursorColor,
+
+ barWidth: 3,
+ barRadius: 1, // This is crucial for rounded bars
+ cursorWidth: 0,
+ height: 50,
+ barGap: 2,
+ barHeight: 2,
+ });
+
+ surfer.load(urlToLoad);
+
+ surfer.on('ready', () => {
+ waveSurferRef.current = surfer;
+ const remainingTime = (surfer.getDuration() - surfer.getCurrentTime()) / 60;
+ setRemainingTime(remainingTime.toFixed(2));
+ setPlaybackSpeed(surfer.getPlaybackRate());
+ });
+ surfer.on('play', () => {
+ setIsPlaying(true);
+ });
+
+ surfer.on('pause', () => {
+ setIsPlaying(false);
+ });
+
+ surfer.on('audioprocess', () => {
+ if (surfer.isPlaying()) {
+ const totalTime = surfer.getDuration();
+ const currentTime = surfer.getCurrentTime();
+ const remainingTime = (totalTime - currentTime) / 60;
+ if (remainingTime.toFixed(2) == '0.00') {
+ const remainingTime = (surfer.getDuration()) / 60;
+ setRemainingTime(remainingTime.toFixed(2));
+ } else {
+ setRemainingTime(remainingTime.toFixed(2));
+ }
+ }
+ });
+ // setWavesurfer(surfer);
+ }
+ console.log('surfer', surfer)
+ return () => surfer.destroy();
+ }, [urlToLoad]);
+
+ const playAndPause = () => {
+ if (waveSurferRef.current) {
+ waveSurferRef.current.playPause();
+ setIsPlaying(waveSurferRef.current.isPlaying());
+ }
+ };
+
+ const playSpeed = () => {
+ if (waveSurferRef.current) {
+ let newSpeed = playbackSpeed >= 3 ? 1 : playbackSpeed + 1;
+ waveSurferRef.current.setPlaybackRate(newSpeed);
+ setPlaybackSpeed(newSpeed);
+ }
+ };
+
+ return (
+
+
+
+
+
+ {playbackSpeed}x
+
+
+
+ {remainingTime}
+ {/* Play/Pause */}
+
+
+ );
+};
+
+export default WaveFormAudioPlayerWithEncryptedFile;
diff --git a/ts/components/conversation/composition/CompositionBox.tsx b/ts/components/conversation/composition/CompositionBox.tsx
index 9a62d4b7..6cad19c3 100644
--- a/ts/components/conversation/composition/CompositionBox.tsx
+++ b/ts/components/conversation/composition/CompositionBox.tsx
@@ -5,6 +5,7 @@ import * as MIME from '../../../types/MIME';
import { BchatEmojiPanel } from '../BchatEmojiPanel';
import { BchatRecording } from '../BchatRecording';
+import { CircularProgressbarWithChildren } from 'react-circular-progressbar';
import {
getPreview,
@@ -19,14 +20,17 @@ import { getMediaPermissionsSettings } from '../../settings/BchatSettings';
import { getDraftForConversation, updateDraftForConversation } from '../BchatConversationDrafts';
import {
AddStagedAttachmentButton,
- SendFundButton,
+ // SendFundButton,
SendFundDisableButton,
SendMessageButton,
StartRecordingButton,
} from './CompositionButtons';
import { AttachmentType } from '../../../types/Attachment';
import { connect } from 'react-redux';
-import { showLinkSharingConfirmationModalDialog } from '../../../interactions/conversationInteractions';
+import {
+ showLinkSharingConfirmationModalDialog,
+ unblockConvoById,
+} from '../../../interactions/conversationInteractions';
import { getConversationController } from '../../../bchat/conversations';
import { ToastUtils } from '../../../bchat/utils';
import { ReduxConversationType } from '../../../state/ducks/conversations';
@@ -60,20 +64,32 @@ import { LinkPreviews } from '../../../util/linkPreviews';
import { SettingsKey, walletSettingsKey } from '../../../data/settings-key';
import {
updateBchatAlertConfirmModal,
+ updateConfirmModal,
+ updateInsufficientBalanceModal,
// updateBchatWalletPasswordModal,
updateSendConfirmModal,
updateTransactionInitModal,
} from '../../../state/ducks/modalDialog';
-import { showLeftPaneSection } from '../../../state/ducks/section';
-import { BchatButtonColor } from '../../basic/BchatButton';
-import { getRescaning, getWalletSyncBarShowInChat } from '../../../state/selectors/walletConfig';
+import { SectionType, setOverlayMode, showLeftPaneSection } from '../../../state/ducks/section';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../../basic/BchatButton';
+import {
+ getHeight,
+ getRescaning,
+ getWalletSyncBarShowInChat,
+} from '../../../state/selectors/walletConfig';
import { wallet } from '../../../wallet/wallet-rpc';
import { saveRecipientAddress } from '../../../data/data';
import { ConversationTypeEnum } from '../../../models/conversation';
import { pushToastError } from '../../../bchat/utils/Toast';
import { updateWalletPaymentDetailsSend } from '../../../state/ducks/walletConfig';
import { getBchatAlertConfirmModal } from '../../../state/selectors/modal';
-
+import { BchatIcon } from '../../icon/BchatIcon';
+import { getdaemonHeight } from '../../../state/selectors/daemon';
+import ChangingProgressProvider from '../../basic/ChangingProgressProvider';
+import classNames from 'classnames';
+// import MicrophoneIcon from '../../icon/MicrophoneIcon';
+import { SpacerLG } from '../../basic/Text';
+import BeldexCoinLogo from '../../icon/BeldexCoinLogo';
export interface ReplyingToMessageProps {
convoId: string;
@@ -130,6 +146,8 @@ interface Props {
onChoseAttachments: (newAttachments: Array) => void;
walletDetails: any;
BchatAlertConfirmModal: any;
+ walletHeight: any;
+ deamonHeight: any;
}
interface State {
@@ -145,7 +163,7 @@ const sendMessageStyle = {
control: {},
input: {
overflow: 'auto',
- maxHeight: '60px',
+ maxHeight: '80px',
wordBreak: 'break-word',
padding: '0px',
margin: '0px',
@@ -153,11 +171,11 @@ const sendMessageStyle = {
highlighter: {
boxSizing: 'border-box',
overflow: 'hidden',
- maxHeight: '40px',
+ maxHeight: '80px',
},
flexGrow: 1,
- maxHeight: '40px',
+ maxHeight: '80px',
width: '100%',
...styleForCompositionBoxSuggestions,
};
@@ -271,6 +289,26 @@ class CompositionBoxInner extends React.Component {
div?.removeEventListener('paste', this.handlePaste);
}
+ sendAmountValidation() {
+ const { selectedConversation, WalletSyncBarShowInChat, isMe } = this.props;
+ const { draft } = this.state;
+ const getSyncStatus = window.getSettingValue('syncStatus');
+ const re = /^\d+\.?\d*$/;
+
+ const results =
+ selectedConversation?.type === 'private' &&
+ re.test(draft) &&
+ // && (draft.length-1 - draft.indexOf(".")) < 4
+ selectedConversation?.isApproved &&
+ selectedConversation?.didApproveMe &&
+ !selectedConversation?.isBlocked &&
+ this.chatwithWallet &&
+ WalletSyncBarShowInChat &&
+ !isMe &&
+ getSyncStatus && draft.length <= 16;
+
+ return results;
+ }
chatWithWalletInstruction() {
const { WalletSyncBarShowInChat } = this.props;
// if (this.chatwithWallet && !WalletSyncBarShowInChat) {
@@ -282,7 +320,12 @@ class CompositionBoxInner extends React.Component {
updateBchatAlertConfirmModal({
onClickOk: async () => {
window.inboxStore?.dispatch(updateBchatAlertConfirmModal(null));
- window.inboxStore?.dispatch(showLeftPaneSection(3));
+ window.inboxStore?.dispatch(showLeftPaneSection(SectionType.Settings));
+
+ // dispatch(setOverlayMode());
+ window.inboxStore?.dispatch(setOverlayMode(undefined));
+ // window.inboxStore?.dispatch(updateBchatAlertConfirmModal(null));
+ // window.inboxStore?.dispatch(showLeftPaneSection(3));
// window.setSettingValue(SettingsKey.settingChatwithWalletInstruction,false);
// forceUpdate();
},
@@ -294,7 +337,7 @@ class CompositionBoxInner extends React.Component {
sendConfirmModal() {
const messagePlaintext = cleanMentions(this.state.draft);
- const priority = window.getSettingValue(walletSettingsKey.settingsPriority) || "Flash";
+ const priority = window.getSettingValue(walletSettingsKey.settingsPriority) || 'Flash';
if (!this.props.selectedConversation?.walletAddress) {
return pushToastError(
@@ -322,7 +365,7 @@ class CompositionBoxInner extends React.Component {
sendFund = async () => {
const draft: any = this.state.draft;
- const priority = window.getSettingValue(walletSettingsKey.settingsPriority) || "Flash";
+ const priority = window.getSettingValue(walletSettingsKey.settingsPriority) || 'Flash';
if (draft == 0) {
window.inboxStore?.dispatch(updateSendConfirmModal(null));
@@ -332,7 +375,10 @@ class CompositionBoxInner extends React.Component {
if (draft > this.props.walletDetails.unlocked_balance / 1e9) {
window.inboxStore?.dispatch(updateSendConfirmModal(null));
window.inboxStore?.dispatch(updateTransactionInitModal(null));
- return ToastUtils.pushToastError('notEnoughBalance', 'Not enough unlocked balance');
+ // return ToastUtils.pushToastError('notEnoughBalance', 'Not enough unlocked balance..');
+ return window.inboxStore?.dispatch(updateInsufficientBalanceModal(true));
+
+
}
let decimalValue: any =
window.getSettingValue(walletSettingsKey.settingsDecimal) || '2 - Two (0.00)';
@@ -343,22 +389,22 @@ class CompositionBoxInner extends React.Component {
let transactionInitiatDetails: any = {
message: {
- messageType: "payment",
+ messageType: 'payment',
props: {
id: this.props.selectedConversation?.id,
- acceptUrl: "",
+ acceptUrl: '',
amount: this.state.draft,
- direction: "outgoing",
+ direction: 'outgoing',
isUnread: false,
- messageId: "1234-567-7890",
+ messageId: '1234-567-7890',
receivedAt: 1678799702674,
- txnId: "",
+ txnId: '',
},
showDateBreak: 1678799702809,
showUnreadIndicator: false,
- }
- }
+ },
+ };
window.inboxStore?.dispatch(updateWalletPaymentDetailsSend(transactionInitiatDetails));
let data: any = await wallet.transfer(
this.props.selectedConversation?.walletAddress,
@@ -392,7 +438,6 @@ class CompositionBoxInner extends React.Component {
window.inboxStore?.dispatch(updateWalletPaymentDetailsSend(null));
if (privateConvo) {
-
void privateConvo.sendMessage({
body: '',
attachments: undefined,
@@ -405,8 +450,6 @@ class CompositionBoxInner extends React.Component {
},
});
-
-
// Empty composition box and stagedAttachments
this.setState({
showEmojiPanel: false,
@@ -448,9 +491,8 @@ class CompositionBoxInner extends React.Component {
public render() {
return (
-
- {this.renderStagedLinkPreview()}
- {this.renderAttachmentsStaged()}
+ {/* {this.renderStagedLinkPreview()} */}
+ {/* {this.renderAttachmentsStaged()} */}
{this.renderCompositionView()}
);
@@ -523,6 +565,27 @@ class CompositionBoxInner extends React.Component {
}
}
+ private percentageCalc() {
+ const { walletHeight, deamonHeight } = this.props;
+ let currentHeight = 0;
+ let valdatedDaemonHeight = 0;
+ const currentDaemon = window.getSettingValue(walletSettingsKey.settingsCurrentDeamon);
+ if (currentDaemon?.type === 'Local') {
+ currentHeight = Number(deamonHeight);
+ valdatedDaemonHeight = Number(walletHeight);
+ } else {
+ currentHeight = walletHeight;
+ valdatedDaemonHeight = deamonHeight;
+ }
+ let pct: any =
+ currentHeight == 0 || valdatedDaemonHeight == 0
+ ? 0
+ : ((100 * currentHeight) / valdatedDaemonHeight).toFixed(1);
+
+ let percentage = pct == 100.0 && currentHeight < valdatedDaemonHeight ? 99.9 : pct;
+ return percentage;
+ }
+
private renderRecordingView() {
return (
{
private bchatWalletView() {
const { selectedConversation, WalletSyncBarShowInChat } = this.props;
- const { draft } = this.state;
- // console.log('selectedConversation :: ', selectedConversation)
-
- const re = /^\d+\.?\d*$/;
- // console.log('beldex btn ::', this.chatwithWallet && WalletSyncBarShowInChat,this.chatwithWallet , WalletSyncBarShowInChat)
+ // const { draft } = this.state;
+ // const re = /^\d+\.?\d*$/;
return (
<>
- {selectedConversation?.type === 'private' && selectedConversation?.isApproved
- && selectedConversation?.didApproveMe
- && re.test(draft) &&
+ {selectedConversation?.type === 'private' &&
+ selectedConversation?.isApproved &&
+ selectedConversation?.didApproveMe &&
+ !selectedConversation?.isBlocked &&
+ // re.test(draft) &&
this.chatwithWallet &&
WalletSyncBarShowInChat ? (
-
+ <>{this.renderCurcularBar()}>
) : (
this.chatWithWalletInstruction()} />
)}
@@ -557,7 +619,7 @@ class CompositionBoxInner extends React.Component {
// private sendMessageValidation() {
// const { draft } = this.state;
- // const re = /^\d+\.?\d*$/;
+ // const re = /^\d+\.?\d*$/;
// const { selectedConversation, isMe, WalletSyncBarShowInChat ,walletSyncStatus} = this.props;
// const getSyncStatus = window.getSettingValue('syncStatus');
@@ -566,7 +628,7 @@ class CompositionBoxInner extends React.Component {
// selectedConversation?.type === 'private' &&
// re.test(draft) &&
// this.chatwithWallet &&
- // WalletSyncBarShowInChat
+ // WalletSyncBarShowInChat
// ) {
// this.sendConfirmModal();
// } else {
@@ -574,79 +636,219 @@ class CompositionBoxInner extends React.Component {
// }
// }
private sendButton() {
- const { selectedConversation, WalletSyncBarShowInChat, isMe } = this.props;
- const { draft } = this.state;
- const getSyncStatus = window.getSettingValue('syncStatus');
-
- const re = /^\d+\.?\d*$/;
- // console.log('beldex btn ::', this.chatwithWallet && WalletSyncBarShowInChat,this.chatwithWallet , WalletSyncBarShowInChat)
+ // const { selectedConversation, WalletSyncBarShowInChat, isMe } = this.props;
+ // const { draft } = this.state;
+ // const getSyncStatus = window.getSettingValue('syncStatus');
+ // const re = /^\d+\.?\d*$/;
return (
<>
- {selectedConversation?.type === 'private' &&
- re.test(draft)
- // && (draft.length-1 - draft.indexOf(".")) < 4
- && selectedConversation?.isApproved
- && selectedConversation?.didApproveMe
- &&
- this.chatwithWallet &&
- WalletSyncBarShowInChat &&
- !isMe && getSyncStatus ? (
- this.sendConfirmModal()} />
- ) : (
- this.onSendMessage()} />
+ {/* {selectedConversation?.type === 'private' &&
+ re.test(draft) &&
+ // && (draft.length-1 - draft.indexOf(".")) < 4
+ selectedConversation?.isApproved &&
+ selectedConversation?.didApproveMe &&
+ !selectedConversation?.isBlocked &&
+ this.chatwithWallet &&
+ WalletSyncBarShowInChat &&
+ !isMe &&
+ getSyncStatus ? ( */}
+ {/* {this.sendAmountValidation() ? (
+ this.sendConfirmModal()} />
+ ) : */}
+
+ this.onSendMessage()} />{/* } */}
+ >
+ );
+ }
+ private renderCurcularBar(ispopover?: boolean) {
+ // console.log('this.percentageCalc() ----->', this.percentageCalc());
+ const pathColor = this.percentageCalc() !== 0 ? '#108D32' : '#FDB12A';
+ return (
+
+ {() => (
+
+ {/* Put any JSX content in here that you'd like. It'll be vertically and horizonally centered. */}
+
+ {ispopover ? (
+ {Math.floor(this.percentageCalc())}%
+ ) : (
+
+ )}
+
)}
- >
+
+ );
+ }
+ deleteContact() {
+ const convoId: any = this.props.selectedConversationKey;
+ window?.inboxStore?.dispatch(
+ updateConfirmModal({
+ title: window.i18n('editMenuDeleteContact'),
+ message: 'Permanently delete the Contact?',
+ onClickClose: () => window?.inboxStore?.dispatch(updateConfirmModal(null)),
+ onClickOk: async () => {
+ await getConversationController().deleteContact(convoId);
+ },
+ okText: 'Delete',
+ okTheme: BchatButtonColor.Danger,
+ })
);
}
+ private renderBlockedContactBottoms() {
+ const convoId: any = this.props.selectedConversationKey;
+ return (
+
+ this.deleteContact()}
+ />
+
+ unblockConvoById(convoId)}
+ />
+
+ );
+ }
private renderCompositionView() {
const { showEmojiPanel } = this.state;
- const { typingEnabled } = this.props;
- const { selectedConversation, isMe } = this.props;
- // const {WalletSyncBarShowInChat}=this.props
- // console.log('isMe ::',selectedConversation?.isPrivate && !isMe,selectedConversation?.isPrivate,isMe);
+ const { typingEnabled, stagedAttachments } = this.props;
+ const { selectedConversation, isMe, WalletSyncBarShowInChat } = this.props;
+ const { draft } = this.state;
+ const syncStatus =
+ this.percentageCalc() === 0
+ ? 'Scanning..'
+ : this.percentageCalc() > 0 && this.percentageCalc() < 98
+ ? 'Syncronizing..'
+ : 'Synchronized';
+
+ // console.log(
+ // 'stagedAttachments.length!==0 --> ',
+ // stagedAttachments.length !== 0,
+ // draft || stagedAttachments.length !== 0,
+ // 'typingEnabled',
+ // typingEnabled && (draft || stagedAttachments.length !== 0)
+ // );
+ // const {WalletSyncBarShowInChat}=this.props
return (
<>
- {typingEnabled && }
-
-
-
- {this.state.showRecordingView ? (
- this.renderRecordingView()
+ {selectedConversation?.isBlocked ? (
+ this.renderBlockedContactBottoms()
) : (
<>
- {
- this.container = el;
- }}
- data-testid="message-input"
- >
- { }
- {this.renderTextArea()}
- {selectedConversation?.isPrivate && typingEnabled && !isMe ? this.bchatWalletView() : ''}
- {typingEnabled && }
-
- {this.sendButton()}
- >
- )}
- {typingEnabled && (
-
- {showEmojiPanel && (
-
+ {typingEnabled &&
}
+
+
+
+ {this.state.showRecordingView && typingEnabled ? (
+ this.renderRecordingView()
+ ) : (
+ <>
+
{
+ this.container = el;
+ }}
+ data-testid="message-input"
+ >
+
+
+ {this.renderStagedLinkPreview()}
+ {this.renderAttachmentsStaged()}
+
+
+ {this.renderTextArea()}
+
+
+ {selectedConversation?.isPrivate && typingEnabled && !isMe
+ ? this.bchatWalletView()
+ : ''}
+
+
+
+ Wallet {syncStatus}
+
+
{this.renderCurcularBar(true)}
+
+ {this.sendAmountValidation() && (
+ this.sendConfirmModal()}>
+
+ Tap to send {draft} BDX{' '}
+
+
+
+ )}
+
+
+ {typingEnabled && (draft || stagedAttachments.length !== 0) ? (
+
{this.sendButton()}
+ ) : (
+
+ )}
+ >
)}
-
+ {typingEnabled && (
+
+ {showEmojiPanel && (
+
+ )}
+
+ )}
+ >
)}
>
);
@@ -960,6 +1162,7 @@ class CompositionBoxInner extends React.Component {
private renderAttachmentsStaged() {
const { stagedAttachments } = this.props;
const { showCaptionEditor } = this.state;
+
if (stagedAttachments && stagedAttachments.length) {
return (
<>
@@ -1008,15 +1211,26 @@ class CompositionBoxInner extends React.Component {
// If shift, newline. If in IME composing mode, leave it to IME. Else send message.
event.preventDefault();
// await this.onSendMessage();
- const { selectedConversation, WalletSyncBarShowInChat, isMe, BchatAlertConfirmModal } = this.props;
+ const {
+ selectedConversation,
+ WalletSyncBarShowInChat,
+ isMe,
+ BchatAlertConfirmModal,
+ } = this.props;
const getSyncStatus = window.getSettingValue('syncStatus');
const { draft } = this.state;
const re = /^\d+\.?\d*$/;
// const { WalletSyncBarShowInChat } = this.props;
- if (selectedConversation?.type === 'private'
- && re.test(draft) && this.chatwithWallet && selectedConversation?.isApproved && selectedConversation?.didApproveMe
- && WalletSyncBarShowInChat &&
- !isMe && getSyncStatus) {
+ if (
+ selectedConversation?.type === 'private' &&
+ re.test(draft) &&
+ this.chatwithWallet &&
+ selectedConversation?.isApproved &&
+ selectedConversation?.didApproveMe &&
+ WalletSyncBarShowInChat &&
+ !isMe &&
+ getSyncStatus
+ ) {
await this.sendConfirmModal();
} else {
if (!BchatAlertConfirmModal) {
@@ -1192,7 +1406,15 @@ class CompositionBoxInner extends React.Component {
if (!this.state.showRecordingView) {
return;
}
-
+ const { selectedConversation } = this.props;
+ if (selectedConversation?.isBlocked && selectedConversation?.isPrivate) {
+ ToastUtils.pushUnblockToSend();
+ return;
+ }
+ if (selectedConversation?.isBlocked && !selectedConversation?.isPrivate) {
+ ToastUtils.pushUnblockToSendGroup();
+ return;
+ }
const savedAudioFile = await processNewAttachment({
data: await audioBlob.arrayBuffer(),
isRaw: true,
@@ -1225,7 +1447,31 @@ class CompositionBoxInner extends React.Component {
private async onLoadVoiceNoteView() {
if (!getMediaPermissionsSettings()) {
- ToastUtils.pushAudioPermissionNeeded();
+ window.inboxStore?.dispatch(
+ updateConfirmModal({
+ title: window.i18n('audioPermissionNeededTitle'),
+ message: window.i18n('audioPermissionNeeded'),
+ okText: window.i18n('allow'),
+ cancelText: window.i18n('deny'),
+ okTheme: BchatButtonColor.Primary,
+ onClickOk: async () => {
+ await window.toggleMediaPermissions();
+ // this.forceUpdate();
+ window.inboxStore?.dispatch(updateConfirmModal(null));
+ },
+ closeAfterInput: false,
+ iconShow: true,
+ customIcon: (
+
+ ),
+ })
+ );
return;
}
this.setState({
@@ -1302,6 +1548,8 @@ const mapStateToProps = (state: StateType) => {
walletSyncStatus: getRescaning(state),
walletDetails: state.wallet,
BchatAlertConfirmModal: getBchatAlertConfirmModal(state),
+ deamonHeight: getdaemonHeight(state),
+ walletHeight: getHeight(state),
};
};
diff --git a/ts/components/conversation/composition/CompositionButtons.tsx b/ts/components/conversation/composition/CompositionButtons.tsx
index 596e9d25..db598d58 100644
--- a/ts/components/conversation/composition/CompositionButtons.tsx
+++ b/ts/components/conversation/composition/CompositionButtons.tsx
@@ -1,28 +1,32 @@
import React from 'react';
-import { BchatIconButton } from '../../icon';
+import { BchatIcon, BchatIconButton } from '../../icon';
import { BchatToolTip } from '../../leftpane/ActionsPanel';
+import MicrophoneIcon from '../../icon/MicrophoneIcon';
+import { CustomIconButton } from '../../icon/CustomIconButton';
-export const AddStagedAttachmentButton = (
- props: { onClick: () => void }
- ) => {
+export const AddStagedAttachmentButton = (props: { onClick: () => void }) => {
return (
-
-
-
-
-
+
+
+
);
};
export const StartRecordingButton = (props: { onClick: () => void }) => {
return (
-
+
+ //
+ }
onClick={props.onClick}
/>
);
@@ -44,75 +48,65 @@ export const ToggleEmojiButton = React.forwardRef void,name?:string }) => {
+export const SendMessageButton = (props: { onClick: () => void; name?: string}) => {
return (
-
- {props.name==="Send"?
-
:
-
- }
-
{props.name}
-
+
+ {/* {props.name === 'Send' ? ( */}
+
+ {/* ) */}
+ {/* : (
+
+ )}
+
{props.name}
*/}
+
);
};
-export const SendFundButton = (props:any) => {
+// export const SendFundButton = (props: any) => {
+// return (
+//
+// {/*
*/}
+//
+//
+//
+//
+// );
+// };
+export const SendFundDisableButton = (props: { onClick: () => void }) => {
return (
-
+
-
- {/*
*/}
-
-
-
+
-
+
);
};
-export const SendFundDisableButton = (props: { onClick: () => void}) => {
- return (
-
-
- {/*
*/}
-
-
-
-
-
- );
-};
\ No newline at end of file
diff --git a/ts/components/conversation/media-gallery/MediaGallery.tsx b/ts/components/conversation/media-gallery/MediaGallery.tsx
index b6544962..17e73513 100644
--- a/ts/components/conversation/media-gallery/MediaGallery.tsx
+++ b/ts/components/conversation/media-gallery/MediaGallery.tsx
@@ -4,10 +4,12 @@ import classNames from 'classnames';
import { AttachmentSection } from './AttachmentSection';
import { EmptyState } from './EmptyState';
import { MediaItemType } from '../../lightbox/LightboxGallery';
+import { SpacerMD} from '../../basic/Text';
type Props = {
documents: Array;
media: Array;
+ fullView: boolean;
};
type TabType = 'media' | 'documents';
@@ -56,7 +58,7 @@ const Sections = (props: Props & { selectedTab: TabType }) => {
export const MediaGallery = (props: Props) => {
const [selectedTab, setSelectedTab] = useState('media');
-
+ const { fullView } = props;
const isDocumentSelected = selectedTab === 'documents';
const isMediaSelected = selectedTab === 'media';
@@ -70,14 +72,18 @@ export const MediaGallery = (props: Props) => {
return (
-
-
-
-
+ {fullView && (
+
+
+
+
+
+ )}
+
diff --git a/ts/components/conversation/message/message-content/ClickToTrustSender.tsx b/ts/components/conversation/message/message-content/ClickToTrustSender.tsx
index 9b0c3d67..eccaca40 100644
--- a/ts/components/conversation/message/message-content/ClickToTrustSender.tsx
+++ b/ts/components/conversation/message/message-content/ClickToTrustSender.tsx
@@ -5,21 +5,70 @@ import { getConversationController } from '../../../../bchat/conversations';
import { AttachmentDownloads } from '../../../../bchat/utils';
import { updateConfirmModal } from '../../../../state/ducks/modalDialog';
import { BchatButtonColor } from '../../../basic/BchatButton';
-import { BchatIcon } from '../../../icon';
+import { BchatIcon, BchatIconType } from '../../../icon';
+import { Flex } from '../../../basic/Flex';
+import { PropsForAttachment } from '../../../../state/ducks/conversations';
+import { isAudio, isImage, isVideo } from '../../../../types/Attachment';
const StyledTrustSenderUI = styled.div`
padding-inline: var(--margins-sm);
display: flex;
align-items: center;
+ margin: 15px 15px 5px;
+ padding: 15px;
+ border-radius: 16px;
+ background: var(--color-untrust-media-bg);
`;
const ClickToDownload = styled.div`
cursor: pointer;
- padding: var(--margins-xs) var(--margins-md);
+ // padding: var(--margins-xs) var(--margins-md);
white-space: nowrap;
+ overflow: hidden;
+ // color: #f0f0f0;
+ text-overflow: ellipsis;
+ font-size: 16px;
+ font-weight: 300;
`;
-export const ClickToTrustSender = (props: { messageId: string }) => {
+const VerticalLine = styled.div`
+ width: 5px;
+ background-color: var(--color-untrusted-vertical-bar);
+ height: 60px;
+ border-radius: 10px;
+ margin-right: 10px;
+`;
+const ImageTxt = styled.span`
+ margin-left: 5px;
+ // color: #f0f0f0;
+ font-family: Poppins;
+ font-size: 16px;
+ font-weight: 600;
+`;
+interface AttachmentTypeProps {
+ txt: string;
+ icon: BchatIconType;
+}
+export const ClickToTrustSender =(props: { messageId: string, attachments: Array
}) => {
+const {attachments}=props;
+
+const attachmentProps: { [key: string]: AttachmentTypeProps } = {
+ image: { txt: "Image", icon: "gallery" },
+ audio: { txt: "Audio", icon: "audio" },
+ video: { txt: "Video", icon: "video" },
+ document: { txt: "Document", icon: "document" }
+};
+
+const getAttachmentType = (attachments: any): AttachmentTypeProps => {
+ if (isImage(attachments)) return attachmentProps.image;
+ if (isAudio(attachments)) return attachmentProps.audio;
+ if (isVideo(attachments)) return attachmentProps.video;
+ return attachmentProps.document;
+};
+
+const attachmentType: AttachmentTypeProps = getAttachmentType(attachments);
+
+
const openConfirmationModal = async (e: any) => {
e.stopPropagation();
e.preventDefault();
@@ -38,7 +87,10 @@ export const ClickToTrustSender = (props: { messageId: string }) => {
message: window.i18n('trustThisContactDialogDescription', [
convo.getContactProfileNameOrShortenedPubKey(),
]),
- okTheme: BchatButtonColor.Green,
+ okTheme: BchatButtonColor.Primary,
+ okText: window.i18n('autoUpdateDownloadButtonLabel'),
+ iconShow: true,
+ customIcon: ,
onClickOk: async () => {
convo.set({ isTrustedForAttachmentDownload: true });
await convo.commit();
@@ -81,12 +133,12 @@ export const ClickToTrustSender = (props: { messageId: string }) => {
const image = message.isTrustedForAttachmentDownload()
? await AttachmentDownloads.addJob(item.image, {
- messageId: message.id,
- type: 'preview',
- index,
- isOpenGroupV2: false,
- openGroupV2Details: undefined,
- })
+ messageId: message.id,
+ type: 'preview',
+ index,
+ isOpenGroupV2: false,
+ openGroupV2Details: undefined,
+ })
: null;
return { ...item, image };
@@ -106,8 +158,14 @@ export const ClickToTrustSender = (props: { messageId: string }) => {
return (
-
- {window.i18n('clickToTrustContact')}
+
+
+
+
+ {attachmentType.txt}
+
+ {window.i18n('clickToTrustContact')}
+
);
};
diff --git a/ts/components/conversation/message/message-content/MessageAttachment.tsx b/ts/components/conversation/message/message-content/MessageAttachment.tsx
index b831d0a0..d732385e 100644
--- a/ts/components/conversation/message/message-content/MessageAttachment.tsx
+++ b/ts/components/conversation/message/message-content/MessageAttachment.tsx
@@ -26,10 +26,12 @@ import {
} from '../../../../types/Attachment';
import { saveAttachmentToDisk } from '../../../../util/attachmentsUtil';
import { Spinner } from '../../../basic/Spinner';
-import { AudioPlayerWithEncryptedFile } from '../../H5AudioPlayer';
+// import { AudioPlayerWithEncryptedFile } from '../../H5AudioPlayer';
import { ImageGrid } from '../../ImageGrid';
import { LightBoxOptions } from '../../BchatConversation';
import { ClickToTrustSender } from './ClickToTrustSender';
+import WaveFormAudioPlayerWithEncryptedFile from '../../WaveFormAudioPlayer';
+// import { useEncryptedFileFetch } from '../../../../hooks/useEncryptedFileFetch';
export type MessageAttachmentSelectorProps = Pick<
MessageRenderingProps,
@@ -46,13 +48,14 @@ export type MessageAttachmentSelectorProps = Pick<
type Props = {
messageId: string;
imageBroken: boolean;
+ displayBgBlur:boolean;
handleImageError: () => void;
};
// tslint:disable: use-simple-attributes
// tslint:disable-next-line max-func-body-length cyclomatic-complexity
export const MessageAttachment = (props: Props) => {
- const { messageId, imageBroken, handleImageError } = props;
+ const { messageId, imageBroken, handleImageError,displayBgBlur } = props;
const dispatch = useDispatch();
const attachmentProps = useSelector(state => getMessageAttachmentProps(state as any, messageId));
@@ -111,7 +114,7 @@ export const MessageAttachment = (props: Props) => {
const displayImage = canDisplayImage(attachments);
if (!isTrustedForAttachmentDownload) {
- return ;
+ return ;
}
if (
@@ -120,16 +123,21 @@ export const MessageAttachment = (props: Props) => {
((isImage(attachments) && hasImage(attachments)) ||
(isVideo(attachments) && hasVideoScreenshot(attachments)))
) {
+ // const { loading, urlToLoad } = useEncryptedFileFetch(attachments[0]?.url || '', attachments[0]?.contentType, false);
+ // // data will be url if loading is finished and '' if not
+ // const srcData = !loading ? urlToLoad : '';
+ // console.log('message__attachment ::',srcData,'displayBgBlur -->',displayBgBlur)
return (
-
+
);
- } else if (!firstAttachment.pending && !firstAttachment.error && isAudio(attachments)) {
+ } else if ( !firstAttachment.pending && !firstAttachment.error && isAudio(attachments)) {
return (
{
}}
style={{ padding: '5px 10px' }}
>
-
+ {/*
+ /> */}
);
} else {
@@ -154,7 +165,7 @@ export const MessageAttachment = (props: Props) => {
const extension = getExtensionForDisplay({ contentType, fileName });
return (
-
+
{pending ? (
@@ -174,7 +185,7 @@ export const MessageAttachment = (props: Props) => {
)}
-
+
{
updateConfirmModal({
title: window.i18n('linkVisitWarningTitle'),
message: window.i18n('linkVisitWarningMessage', url),
- okText: window.i18n('open'),
+ okText: window.i18n('openLink'),
cancelText: window.i18n('editMenuCopy'),
showExitIcon: true,
- okTheme:BchatButtonColor.Green,
+ iconShow: true,
+ customIcon:
,
+ okTheme: BchatButtonColor.Primary,
onClickOk: openLink,
onClickClose: () => {
dispatch(updateConfirmModal(null));
@@ -169,6 +172,8 @@ const Linkify = (props: LinkifyProps): JSX.Element => {
onClickCancel: () => {
MessageInteraction.copyBodyToClipboard(url);
},
+ okIcon: { icon: "openLinkBtn", size: 20 },
+ cancelIcon: { icon: "copy", size: 20 }
})
);
}, []);
diff --git a/ts/components/conversation/message/message-content/MessageContent.tsx b/ts/components/conversation/message/message-content/MessageContent.tsx
index 75f10da7..38635747 100644
--- a/ts/components/conversation/message/message-content/MessageContent.tsx
+++ b/ts/components/conversation/message/message-content/MessageContent.tsx
@@ -11,23 +11,24 @@ import {
getQuotedMessageToAnimate,
getShouldHighlightMessage,
} from '../../../../state/selectors/conversations';
-import {
- canDisplayImage,
- getGridDimensions,
- getImageDimensionsInAttachment,
- hasImage,
- hasVideoScreenshot,
- isImage,
- isImageAttachment,
- isVideo,
-} from '../../../../types/Attachment';
+// import {
+// canDisplayImage,
+// // getGridDimensions,
+// // getImageDimensionsInAttachment,
+// hasImage,
+// hasVideoScreenshot,
+// isImage,
+// isImageAttachment,
+// isVideo,
+// } from '../../../../types/Attachment';
import { Flex } from '../../../basic/Flex';
-import { MINIMUM_LINK_PREVIEW_IMAGE_WIDTH } from '../message-item/Message';
+// import { MINIMUM_LINK_PREVIEW_IMAGE_WIDTH } from '../message-item/Message';
import { MessageAttachment } from './MessageAttachment';
import { MessagePreview } from './MessagePreview';
import { MessageQuote } from './MessageQuote';
import { MessageText } from './MessageText';
import { ScrollToLoadedMessageContext } from '../../BchatMessagesListContainer';
+import { SpacerXS } from '../../../basic/Text';
export type MessageContentSelectorProps = Pick<
MessageRenderingProps,
@@ -47,39 +48,39 @@ type Props = {
isDetailView?: boolean;
};
-function getIsShowingImage(
- props: Pick
& { imageBroken: boolean }
-): boolean {
- const { attachments, previews, text, imageBroken } = props;
+// function getIsShowingImage(
+// props: Pick & { imageBroken: boolean }
+// ): boolean {
+// const { attachments, previews, text, imageBroken } = props;
- if (imageBroken) {
- return false;
- }
+// if (imageBroken) {
+// return false;
+// }
- if (attachments && attachments.length) {
- const displayImage = canDisplayImage(attachments);
- const hasText = text?.length;
- return Boolean(
- displayImage &&
- !hasText &&
- ((isImage(attachments) && hasImage(attachments)) ||
- (isVideo(attachments) && hasVideoScreenshot(attachments)))
- );
- }
+// if (attachments && attachments.length) {
+// const displayImage = canDisplayImage(attachments);
+// const hasText = text?.length;
+// return Boolean(
+// displayImage &&
+// !hasText &&
+// ((isImage(attachments) && hasImage(attachments)) ||
+// (isVideo(attachments) && hasVideoScreenshot(attachments)))
+// );
+// }
- if (previews && previews.length) {
- const first = previews[0];
- const { image } = first;
+// if (previews && previews.length) {
+// const first = previews[0];
+// const { image } = first;
- if (!image) {
- return false;
- }
+// if (!image) {
+// return false;
+// }
- return isImageAttachment(image);
- }
+// return isImageAttachment(image);
+// }
- return false;
-}
+// return false;
+// }
function onClickOnMessageInnerContainer(event: React.MouseEvent) {
const selection = window.getSelection();
@@ -162,24 +163,27 @@ export const MessageContent = (props: Props) => {
firstMessageOfSeries,
lastMessageOfSeries,
previews,
- quote,
- attachments,
+ // quote,
+ attachments=[],
} = contentProps;
const selectedMsg = useSelector(state => getMessageTextProps(state as any, props.messageId));
-
let isDeleted = false;
if (selectedMsg && selectedMsg.isDeleted !== undefined) {
isDeleted = selectedMsg.isDeleted;
}
- const width = getWidth({ previews, attachments });
- const isShowingImage = getIsShowingImage({ attachments, imageBroken, previews, text });
+ // const width = getWidth({ previews, attachments });
+ // console.log('width --->',width);
+ // const isShowingImage = getIsShowingImage({ attachments, imageBroken, previews, text });
const hasText = Boolean(text);
- const hasQuote = !isEmpty(quote);
+ // const hasQuote = !isEmpty(quote);
+ const hasAttachment=attachments.length>0;
const hasContentAfterAttachmentAndQuote = !isEmpty(previews) || !isEmpty(text);
- const bgShouldBeTransparent = isShowingImage && !hasText && !hasQuote;
+ // console.log('isShowingImage->',isShowingImage,'hasText->',hasText,'hasQuote',hasQuote,'attachments->',hasAttachment)
+
+ // const bgShouldBeTransparent = isShowingImage && !hasText && !hasQuote;
const toolTipTitle = moment(serverTimestamp || timestamp).format('llll');
return (
@@ -187,9 +191,10 @@ export const MessageContent = (props: Props) => {
className={classNames(
'module-message__container',
`module-message__container--${direction}`,
- bgShouldBeTransparent
- ? `module-message__container--${direction}--transparent`
- : `module-message__container--${direction}--opaque`,
+ // bgShouldBeTransparent
+ // ? `module-message__container--${direction}--transparent`
+ // :
+ `module-message__container--${direction}--opaque`,
firstMessageOfSeries || props.isDetailView
? `module-message__container--${direction}--first-of-series`
: '',
@@ -198,9 +203,9 @@ export const MessageContent = (props: Props) => {
: '',
flashGreen && 'flash-green-once'
)}
- style={{
- width: isShowingImage ? width : undefined,
- }}
+ // style={{
+ // width: isShowingImage ? width : undefined,
+ // }}
role="button"
onClick={onClickOnMessageInnerContainer}
title={toolTipTitle}
@@ -220,52 +225,57 @@ export const MessageContent = (props: Props) => {
messageId={props.messageId}
imageBroken={imageBroken}
handleImageError={handleImageError}
+ displayBgBlur={hasAttachment && hasText}
/>
>
)}
{hasContentAfterAttachmentAndQuote ? (
<>
{!isDeleted && (
-
+
)}
-
+ {/* attachment-with-quote class is used to only refer the design validation in css */}
+
>
) : null}
+
+ {moment(timestamp).format('hh:mm A')}
+
);
};
-function getWidth(
- props: Pick
-): number | undefined {
- const { attachments, previews } = props;
-
- if (attachments && attachments.length) {
- const dimensions = getGridDimensions(attachments);
- if (dimensions) {
- return dimensions.width;
- }
- }
-
- if (previews && previews.length) {
- const first = previews[0];
-
- if (!first || !first.image) {
- return;
- }
- const { width } = first.image;
-
- if (isImageAttachment(first.image) && width && width >= MINIMUM_LINK_PREVIEW_IMAGE_WIDTH) {
- const dimensions = getImageDimensionsInAttachment(first.image);
- if (dimensions) {
- return dimensions.width;
- }
- }
- }
-
- return;
-}
+// function getWidth(
+// props: Pick
+// ): number | undefined {
+// const { attachments, previews } = props;
+
+// if (attachments && attachments.length) {
+// const dimensions = getGridDimensions(attachments);
+// if (dimensions) {
+// return dimensions.width;
+// }
+// }
+
+// if (previews && previews.length) {
+// const first = previews[0];
+
+// if (!first || !first.image) {
+// return;
+// }
+// const { width } = first.image;
+
+// if (isImageAttachment(first.image) && width && width >= MINIMUM_LINK_PREVIEW_IMAGE_WIDTH) {
+// const dimensions = getImageDimensionsInAttachment(first.image);
+// if (dimensions) {
+// return dimensions.width;
+// }
+// }
+// }
+
+// return;
+// }
diff --git a/ts/components/conversation/message/message-content/MessageContentWithStatus.tsx b/ts/components/conversation/message/message-content/MessageContentWithStatus.tsx
index 47963474..353a9717 100644
--- a/ts/components/conversation/message/message-content/MessageContentWithStatus.tsx
+++ b/ts/components/conversation/message/message-content/MessageContentWithStatus.tsx
@@ -31,7 +31,6 @@ export const MessageContentWithStatuses = (props: Props) => {
getMessageContentWithStatusesSelectorProps(state as any, props.messageId)
);
const dispatch = useDispatch();
-// console.log('MessageContentWithStatuses ::',contentProps,props)
const multiSelectMode = useSelector(isMessageSelectionMode);
const onClickOnMessageOuterContainer = useCallback(
@@ -68,8 +67,6 @@ export const MessageContentWithStatuses = (props: Props) => {
return null;
}
const { direction, isDeleted, hasAttachments, isTrustedForAttachmentDownload } = contentProps;
- // console.log("isDeleted isDeleted::",isDeleted);
-
const isIncoming = direction === 'incoming';
return (
@@ -82,20 +79,22 @@ export const MessageContentWithStatuses = (props: Props) => {
data-testid={dataTestId}
>
+
+
{!isDeleted && }
);
diff --git a/ts/components/conversation/message/message-content/MessageContextMenu.tsx b/ts/components/conversation/message/message-content/MessageContextMenu.tsx
index 3cab4c06..8ca0d343 100644
--- a/ts/components/conversation/message/message-content/MessageContextMenu.tsx
+++ b/ts/components/conversation/message/message-content/MessageContextMenu.tsx
@@ -17,11 +17,15 @@ import {
import { MessageRenderingProps } from '../../../../models/messageType';
import { pushUnblockToSend } from '../../../../bchat/utils/Toast';
import {
- showMessageDetailsView,
+ // MessagePropsDetails,
+ // showMessageDetailsView,
toggleSelectedMessageId,
} from '../../../../state/ducks/conversations';
import { getMessageContextMenuProps } from '../../../../state/selectors/conversations';
import { saveAttachmentToDisk } from '../../../../util/attachmentsUtil';
+import { BchatIcon } from '../../../icon';
+import CopyIcon from '../../../icon/CopyIcon';
+import { updateMessageMoreInfoModal } from '../../../../state/ducks/modalDialog';
export type MessageContextMenuSelectorProps = Pick<
MessageRenderingProps,
@@ -91,7 +95,8 @@ export const MessageContextMenu = (props: Props) => {
const found = await getMessageById(messageId);
if (found) {
const messageDetailsProps = await found.getPropsForMessageDetail();
- dispatch(showMessageDetailsView(messageDetailsProps));
+ // dispatch(showMessageDetailsView(messageDetailsProps));
+ dispatch(updateMessageMoreInfoModal(messageDetailsProps));
} else {
window.log.warn(`Message ${messageId} not found in db`);
}
@@ -183,28 +188,45 @@ export const MessageContextMenu = (props: Props) => {
animation={animation.fade}
>
{attachments?.length ? (
-
- {window.i18n('downloadAttachment')}
+
-
+
+ {window.i18n('downloadAttachment')}
+
) : null}
-
-
- {window.i18n('copyMessage')}
- {(isSent || !isOutgoing) &&
- {window.i18n('replyToMessage')}
}
+ {!attachments?.length &&
+
-
+
+ {window.i18n('copyMessage')}
+ }
+ {(isSent || !isOutgoing) && (
+
-
+
+ {window.i18n('replyToMessage')}
+
+ )}
{(!isPublic || isOutgoing) && (
-
- {window.i18n('moreInformation')}
+
-
+
+ {window.i18n('moreInformation')}
)}
- {showRetry ?
- {window.i18n('resend')}
: null}
+ {showRetry ?
-
+ {window.i18n('resend')} : null}
{isDeletable ? (
<>
-
- {selectMessageText}
+
-
+ {selectMessageText}
>
) : null}
{isDeletable && !isPublic ? (
<>
-
- {deleteMessageJustForMeText}
+
+ {deleteMessageJustForMeText}
>
) : null}
{isDeletableForEveryone ? (
<>
-
- {unsendMessageText}
+
+ {unsendMessageText}
>
) : null}
{weAreAdmin && isPublic ?
- {window.i18n('banUser')}
: null}
@@ -220,3 +242,6 @@ export const MessageContextMenu = (props: Props) => {
);
};
+
+
+
diff --git a/ts/components/conversation/message/message-content/MessagePreview.tsx b/ts/components/conversation/message/message-content/MessagePreview.tsx
index f438f9fd..9d47b82e 100644
--- a/ts/components/conversation/message/message-content/MessagePreview.tsx
+++ b/ts/components/conversation/message/message-content/MessagePreview.tsx
@@ -1,7 +1,7 @@
import classNames from 'classnames';
import React from 'react';
import { isImageAttachment } from '../../../../types/Attachment';
-import { ImageGrid } from '../../ImageGrid';
+// import { ImageGrid } from '../../ImageGrid';
import { Image } from '../../Image';
import { MessageRenderingProps } from '../../../../models/messageType';
import { useSelector } from 'react-redux';
@@ -14,6 +14,7 @@ export type MessagePreviewSelectorProps = Pick
void;
messageId: string;
+ direction: String
};
export const MessagePreview = (props: Props) => {
@@ -36,7 +37,6 @@ export const MessagePreview = (props: Props) => {
if (!first) {
return null;
}
-
const previewHasImage = first.image && isImageAttachment(first.image);
const width = first.image && first.image.width;
const isFullSizeImage = width && width >= MINIMUM_LINK_PREVIEW_IMAGE_WIDTH;
@@ -44,9 +44,22 @@ export const MessagePreview = (props: Props) => {
return (
{first.image && previewHasImage && isFullSizeImage ? (
-
- ) : null}
-
+ //
+
+ ) :
+
+
+
+ }
+
{first.image && previewHasImage && !isFullSizeImage ? (
{
) : !first.image || !previewHasImage ? (
) : null}
@@ -76,8 +89,8 @@ export const MessagePreview = (props: Props) => {
: null
)}
>
- {first.title}
- {first.domain}
+ {first.title}
+ {first.domain}
diff --git a/ts/components/conversation/message/message-content/MessageStatus.tsx b/ts/components/conversation/message/message-content/MessageStatus.tsx
index 9c6d917b..4c2faee0 100644
--- a/ts/components/conversation/message/message-content/MessageStatus.tsx
+++ b/ts/components/conversation/message/message-content/MessageStatus.tsx
@@ -8,29 +8,27 @@ type Props = {
isCorrectSide: boolean;
messageId: string;
dataTestId?: string;
+
};
export type MessageStatusSelectorProps = Pick
;
export const MessageStatus = (props: Props) => {
const { isCorrectSide, dataTestId } = props;
-
const selected = useSelector(state => getMessageStatusProps(state as any, props.messageId));
if (!selected) {
+
return null;
}
- // console.log('MessageStatusMessageStatus ::',selected)
const { status, direction } = selected;
-
if (!isCorrectSide) {
return null;
}
const isIncoming = direction === 'incoming';
-
+ const margin=isIncoming?{marginLeft:'10px'}:{marginRight:'10px'}
const showStatus = !isIncoming && Boolean(status);
if (!showStatus) {
return null;
}
-
- return ;
+ return ;
};
diff --git a/ts/components/conversation/message/message-content/OutgoingMessageStatus.tsx b/ts/components/conversation/message/message-content/OutgoingMessageStatus.tsx
index 092b1b71..cc80590c 100644
--- a/ts/components/conversation/message/message-content/OutgoingMessageStatus.tsx
+++ b/ts/components/conversation/message/message-content/OutgoingMessageStatus.tsx
@@ -3,40 +3,46 @@ import React from 'react';
import styled from 'styled-components';
import { MessageDeliveryStatus } from '../../../../models/messageType';
import { BchatIcon } from '../../../icon';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../../../../state/selectors/theme';
const MessageStatusSendingContainer = styled.div`
display: inline-block;
- align-self: flex-end;
+ // align-self: flex-end;
margin-bottom: 2px;
margin-inline-start: 5px;
cursor: pointer;
`;
const MessageStatusSending = ({ dataTestId }: { dataTestId?: string }) => {
- const iconColor = 'var(--color-text)';
+ const darkMode = useSelector(getTheme) === 'dark';
+ const imgsrc=darkMode?'images/bchat/message_send_loading_dark_theme.gif':'images/bchat/message_send_loading_white_theme.gif';
+
return (
-
+ {/* */}
+
+
+
);
};
const MessageStatusSent = ({ dataTestId }: { dataTestId?: string }) => {
- const iconColor = 'var(--color-text)';
-
+
return (
-
+
);
};
const MessageStatusRead = ({ dataTestId }: { dataTestId?: string }) => {
- const iconColor = 'var(--color-text)';
+
return (
-
+
);
};
@@ -53,7 +59,7 @@ const MessageStatusError = ({ dataTestId }: { dataTestId?: string }) => {
onClick={showDebugLog}
title={window.i18n('sendFailed')}
>
-
+
);
};
diff --git a/ts/components/conversation/message/message-content/Quote.tsx b/ts/components/conversation/message/message-content/Quote.tsx
index 0a1792af..dc651ccd 100644
--- a/ts/components/conversation/message/message-content/Quote.tsx
+++ b/ts/components/conversation/message/message-content/Quote.tsx
@@ -17,6 +17,7 @@ import {
import { ContactName } from '../../ContactName';
import { MessageBody } from './MessageBody';
import { useIsPrivate } from '../../../../hooks/useParamSelector';
+import styled from 'styled-components';
export type QuotePropsWithoutListener = {
attachment?: QuotedAttachmentType;
@@ -363,6 +364,9 @@ export const Quote = (props: QuotePropsWithListener) => {
referencedMessageNotFound ? 'module-quote--with-reference-warning' : null
)}
>
+
+
+
{
);
};
+
+type VerticalLineProps = {
+ isIncoming:boolean
+}
+const VerticalLine = styled.div`
+ width: 5px;
+ background-color:${props=>props.isIncoming?'var(--color-untrusted-vertical-bar)':'#F0F0F0'};
+ height: 100%;
+ border-radius: 10px;
+`;
\ No newline at end of file
diff --git a/ts/components/conversation/message/message-item/DateBreak.tsx b/ts/components/conversation/message/message-item/DateBreak.tsx
index a4d35dc6..2fec3464 100644
--- a/ts/components/conversation/message/message-item/DateBreak.tsx
+++ b/ts/components/conversation/message/message-item/DateBreak.tsx
@@ -5,22 +5,34 @@ import styled from 'styled-components';
const DateBreakContainer = styled.div`
display: flex;
justify-content: center;
+
+ // width: 90%;
+ // height: 1px;
+ // margin: 25px auto;
+ // background: #2e333d;
`;
const DateBreakText = styled.div`
margin-top: 0.3rem;
margin-bottom: 0.3rem;
- letter-spacing: 0.6px;
- font-size: 0.8rem;
- font-weight: bold;
- text-align: center;
+ // letter-spacing: 0.6px;
+ // font-size: 0.8rem;
+ // font-weight: bold;
+ // text-align: center;
color: var(--color-chat-timestamp);
background-color: var(--message-bubbles-received-background-color);
- border-radius: 20px;
+ border-radius: 40px;
display: flex;
justify-content: center;
align-items: center;
- padding: 5px 10px;
+ padding: 5px 20px;
+
+ height: 40px;
+ // margin-top: -20px;
+ border-radius: 22px;
+
+ font-size: 14px;
+ font-weight: 400;
`;
export const MessageDateBreak = (props: { timestamp: number; messageId: string }) => {
@@ -31,7 +43,7 @@ export const MessageDateBreak = (props: { timestamp: number; messageId: string }
return (
- {text}
+ {text}
);
};
diff --git a/ts/components/conversation/message/message-item/GenericReadableMessage.tsx b/ts/components/conversation/message/message-item/GenericReadableMessage.tsx
index 39bd579d..2c55f63e 100644
--- a/ts/components/conversation/message/message-item/GenericReadableMessage.tsx
+++ b/ts/components/conversation/message/message-item/GenericReadableMessage.tsx
@@ -8,10 +8,7 @@ import _ from 'lodash';
import { removeMessage } from '../../../../data/data';
import { MessageRenderingProps } from '../../../../models/messageType';
import { getConversationController } from '../../../../bchat/conversations';
-import {
- messageExpired,
- toggleSelectedMessageId
-} from '../../../../state/ducks/conversations';
+import { messageExpired, toggleSelectedMessageId } from '../../../../state/ducks/conversations';
import {
getGenericReadableMessageSelectorProps,
getIsMessageSelected,
@@ -23,6 +20,7 @@ import { MessageAvatar } from '../message-content/MessageAvatar';
import { MessageContentWithStatuses } from '../message-content/MessageContentWithStatus';
import { ReadableMessage } from './ReadableMessage';
import { BchatIcon } from '../../../icon/BchatIcon';
+import { getTheme } from '../../../../state/selectors/theme';
// import styled from 'styled-components';
export type GenericReadableMessageSelectorProps = Pick<
@@ -112,7 +110,6 @@ export const GenericReadableMessage = (props: Props) => {
);
const isSelectionMode = useSelector(isMessageSelectionMode);
-
const expiringProps: ExpiringProps = {
convoId: msgProps?.convoId,
expirationLength: msgProps?.expirationLength,
@@ -163,14 +160,18 @@ export const GenericReadableMessage = (props: Props) => {
const selected = isMessageSelected || false;
const isGroup = conversationType === 'group';
const isIncoming = direction === 'incoming';
-
- const onSelect = useCallback((messageId) => {
-
- // if(isSelectionMode)
- // {
- dispatch(toggleSelectedMessageId(messageId));
- // }
- }, [messageId]);
+ const darkMode = useSelector(getTheme) === 'dark';
+ const iconColor=darkMode?'#F0F0F0':selected?'#3E4A53':'#ACACAC';
+
+ const onSelect = useCallback(
+ messageId => {
+ // if(isSelectionMode)
+ // {
+ dispatch(toggleSelectedMessageId(messageId));
+ // }
+ },
+ [messageId]
+ );
return (
{
isUnread={!!isUnread}
key={`readable-message-${messageId}`}
>
- isSelectionMode && onSelect(messageId)} >
-
- {selected &&
}
+
isSelectionMode && onSelect(messageId)}>
+ {/*
*/}
+
+ {isSelectionMode &&isIncoming && (
+
+
+
+ )}
{expirationLength && expirationTimestamp && (
@@ -211,9 +223,20 @@ export const GenericReadableMessage = (props: Props) => {
expirationTimestamp={expirationTimestamp}
/>
)}
+
+ {!isIncoming && isSelectionMode && (
+
+
+
+ )}
+
);
};
-
-
diff --git a/ts/components/conversation/message/message-item/GroupInvitation.tsx b/ts/components/conversation/message/message-item/GroupInvitation.tsx
index bd4a6051..9b1197a0 100644
--- a/ts/components/conversation/message/message-item/GroupInvitation.tsx
+++ b/ts/components/conversation/message/message-item/GroupInvitation.tsx
@@ -2,34 +2,63 @@ import React from 'react';
import classNames from 'classnames';
import { PropsForGroupInvitation } from '../../../../state/ducks/conversations';
import { acceptOpenGroupInvitation } from '../../../../interactions/messageInteractions';
-import { BchatIconButton } from '../../../icon';
+// import { BchatIconButton } from '../../../icon';
import { ReadableMessage } from './ReadableMessage';
+import { Flex } from '../../../basic/Flex';
+import styled from 'styled-components';
+import { SpacerMD } from '../../../basic/Text';
+
+import { useSelector } from 'react-redux';
+import { StateType } from '../../../../state/reducer';
+import { BchatJoinableRoomAvatar } from '../../../leftpane/overlay/BchatJoinableDefaultRooms';
+import {
+ getMessageContentSelectorProps,
+ getMessageStatusProps,
+} from '../../../../state/selectors/conversations';
+import moment from 'moment';
+import { MessageStatus } from '../message-content/MessageStatus';
+
+
+interface Room {
+ completeUrl: string;
+ name: string;
+ id: string;
+ base64Data?: string;
+}
export const GroupInvitation = (props: PropsForGroupInvitation) => {
const { messageId, receivedAt, isUnread } = props;
- const classes = ['group-invitation'];
+ const joinableRooms = useSelector((state: StateType) => state.defaultRooms);
+ const contentProps = useSelector(state =>
+ getMessageContentSelectorProps(state as any, props.messageId)
+ );
+ const socialGrp: Room[] = joinableRooms.rooms.filter(
+ (item: Room) => props.serverName === item.name
+ );
+ const isIncoming = contentProps?.direction === 'incoming';
+ const classes = ['group-invitation'];
if (props.direction === 'outgoing') {
classes.push('invitation-outgoing');
}
const socialGroupInvitation = window.i18n('socialGroupInvitation');
- const currentValueFromSettings = window.getSettingValue('font-size-setting') || "Small";
+ const currentValueFromSettings = window.getSettingValue('font-size-setting') || 'Small';
+
+ const selected = useSelector(state => getMessageStatusProps(state as any, props.messageId));
+ if (!selected) {
+ return null;
+ }
- function FontSizeChanger(fontSize:number)
- {
+ function FontSizeChanger(fontSize: number) {
let size;
- if(currentValueFromSettings==="Small")
- {
- size= fontSize
- }
- else if(currentValueFromSettings==="Medium")
- {
- size=fontSize+2
- }
- else{
- size=fontSize+4
- }
- return size;
+ if (currentValueFromSettings === 'Small') {
+ size = fontSize;
+ } else if (currentValueFromSettings === 'Medium') {
+ size = fontSize + 2;
+ } else {
+ size = fontSize + 4;
+ }
+ return size;
}
return (
{
key={`readable-message-${messageId}`}
>
-
-
{ acceptOpenGroupInvitation(props.acceptUrl, props.serverName)}}>
-
+
+
+
{
+ acceptOpenGroupInvitation(props.acceptUrl, props.serverName);
+ }}
+ >
+
+
+
+
+
+ {props.serverName}
+
+
+ {socialGroupInvitation}
+
+
+
+ {
+ acceptOpenGroupInvitation(props.acceptUrl, props.serverName);
+ }}
+ direction={contentProps?.direction}
+
+ />
+
+
+
+
+ {props.url}
+
+
+ {moment(contentProps?.timestamp).format('hh:mm A')}
+
+ {/*
{
+ acceptOpenGroupInvitation(props.acceptUrl, props.serverName);
+ }}
+ >
+
- {props.serverName}
- {socialGroupInvitation}
- {props.url}
+
+
+
*/}
);
};
+interface VerticalLineProps {
+ direcrion?: string;
+}
+const VerticalLine = styled.div
`
+ width: 5px;
+ background-color: ${props =>
+ props.direcrion === 'incoming' ? 'var(--color-untrusted-vertical-bar)' : ' #f0f0f0'};
+ height: 60px;
+ border-radius: 10px;
+ margin-right: 10px;
+`;
+
+
diff --git a/ts/components/conversation/message/message-item/MessageDetail.tsx b/ts/components/conversation/message/message-item/MessageDetail.tsx
index 2157a4ab..ee52c02b 100644
--- a/ts/components/conversation/message/message-item/MessageDetail.tsx
+++ b/ts/components/conversation/message/message-item/MessageDetail.tsx
@@ -3,15 +3,20 @@ import classNames from 'classnames';
import moment from 'moment';
import { Message } from './Message';
-import { useSelector } from 'react-redux';
+// import { useSelector } from 'react-redux';
import { Avatar, AvatarSize } from '../../../avatar/Avatar';
// import { deleteMessagesById } from '../../../../interactions/conversations/unsendingInteractions';
-import { ContactPropsMessageDetail } from '../../../../state/ducks/conversations';
-import {
- getMessageDetailsViewProps,
- // getMessageIsDeletable,
-} from '../../../../state/selectors/conversations';
+import { ContactPropsMessageDetail, MessagePropsDetails } from '../../../../state/ducks/conversations';
+// import {
+// getMessageDetailsViewProps,
+// // getMessageIsDeletable,
+// } from '../../../../state/selectors/conversations';
import { ContactName } from '../../ContactName';
+import { BchatWrapperModal } from '../../../BchatWrapperModal';
+import { useDispatch } from 'react-redux';
+import { updateMessageMoreInfoModal } from '../../../../state/ducks/modalDialog';
+// import { getMessageTextProps } from '../../../../state/selectors/conversations';
+import { SpacerSM, SpacerXS } from '../../../basic/Text';
const AvatarItem = (props: { pubkey: string }) => {
const { pubkey } = props;
@@ -88,62 +93,90 @@ const ContactItem = (props: { contact: ContactPropsMessageDetail }) => {
);
};
-export const MessageDetail = () => {
+export const MessageMoreInfoModal = (props:MessagePropsDetails) => {
const { i18n } = window;
-
- const messageDetailProps = useSelector(getMessageDetailsViewProps);
+ const dispatch=useDispatch();
+ const {
+ errors,
+ receivedAt,
+ sentAt,
+ // convoId,
+ direction,
+ messageId,
+ } = props;
+ // const selectedMsg = useSelector(state => getMessageTextProps(state as any, messageId));
+// console.log('selected -->',selectedMsg)
+ // const messageDetailProps = useSelector(getMessageDetailsViewProps);
// const isDeletable = useSelector(state =>
// getMessageIsDeletable(state as any, messageDetailProps?.messageId || '')
// );
- if (!messageDetailProps) {
+ if (!props) {
return null;
}
- const { errors, receivedAt, sentAt,
- // convoId,
- direction, messageId } = messageDetailProps;
+
return (
-
-
-
More Info
-
-
-
-
- {(errors || []).map((error, index) => (
-
- {i18n('error')}
-
- {' '}
- {error.message} {' '}
-
-
- ))}
-
- {i18n('send')}
-
- {moment(sentAt).format('LLLL')}
-
-
- {receivedAt ? (
+ { dispatch(updateMessageMoreInfoModal(null))}}
+ showExitIcon={false}
+ showHeader={true}
+ headerReverse={false}
+ okButton={{
+ text: 'Close',
+ onClickOkHandler: () => {dispatch(updateMessageMoreInfoModal(null))},
+
+ disabled: false,
+ }}
+ >
+
+
+
+ {/*
More Info */}
+
+ {/* {selectedMsg?.text} */}
+
+
+
+
+ {(errors || []).map((error, index) => (
+
+ {i18n('error')}
+
+ {' '}
+ {error.message} {' '}
+
+
+ ))}
- {i18n('received')}
+ {i18n('send')}
- {moment(receivedAt).format('LLLL')}
+ {moment(sentAt).format('LLLL')}
- ) : null}
-
-
- {direction === 'incoming' ? i18n('from') : i18n('to')}
-
-
-
-
-
-
+ {receivedAt ? (
+
+ {i18n('received')}
+
+ {moment(receivedAt).format('LLLL')}
+
+
+ ) : null}
+ {/*
+
+ {direction === 'incoming' ? i18n('from') : i18n('to')}
+
+ */}
+
+
+
+
{direction === 'incoming' ? i18n('from') : i18n('to')}
+
+
+
+
);
};
diff --git a/ts/components/conversation/message/message-item/PaymentMessage.tsx b/ts/components/conversation/message/message-item/PaymentMessage.tsx
index 432afcee..3ce5f8e7 100644
--- a/ts/components/conversation/message/message-item/PaymentMessage.tsx
+++ b/ts/components/conversation/message/message-item/PaymentMessage.tsx
@@ -6,60 +6,72 @@ import classNames from 'classnames';
import { ReadableMessage } from './ReadableMessage';
import { BchatIcon } from '../../../icon';
import { shell } from 'electron/common';
+import { MessageStatus } from '../message-content/MessageStatus';
+import { useSelector } from 'react-redux';
+import { getMessageContentSelectorProps } from '../../../../state/selectors/conversations';
+import { Flex } from '../../../basic/Flex';
+import moment from 'moment';
// export const PaymentMessage = (props: PropsForPayment) => {
export const PaymentMessage = (props: any) => {
-
const { messageId, receivedAt, isUnread } = props;
const classes = ['payment'];
- const currentValueFromSettings = window.getSettingValue('font-size-setting') || "Small";
+ const currentValueFromSettings = window.getSettingValue('font-size-setting') || 'Small';
+ const contentProps = useSelector(state =>
+ getMessageContentSelectorProps(state as any, props.messageId)
+ );
+ const isIncoming = contentProps?.direction === 'incoming';
if (props.direction === 'outgoing') {
classes.push('invitation-outgoing');
}
-// const socialGroupInvitation = window.i18n('socialGroupInvitation');
-function openToExplore(traxId: string) {
- if (window.networkType === 'mainnet') {
- void shell.openExternal(`http://explorer.beldex.io/tx/${traxId}`);
- } else {
- void shell.openExternal(`http://154.26.139.105/tx/${traxId}`);
+ // const socialGroupInvitation = window.i18n('socialGroupInvitation');
+ function openToExplore(traxId: string) {
+ if (window.networkType === 'mainnet') {
+ void shell.openExternal(`http://explorer.beldex.io/tx/${traxId}`);
+ } else {
+ void shell.openExternal(`http://154.26.139.105/tx/${traxId}`);
+ }
}
-}
-function FontSizeChanger(fontSize:number)
- {
+ function FontSizeChanger(fontSize: number) {
let size;
- if(currentValueFromSettings==="Small")
- {
- size= fontSize
- }
- else if(currentValueFromSettings==="Medium")
- {
- size=fontSize+2
- }
- else{
- size=fontSize+4
- }
- return size;
+ if (currentValueFromSettings === 'Small') {
+ size = fontSize;
+ } else if (currentValueFromSettings === 'Medium') {
+ size = fontSize + 2;
+ } else {
+ size = fontSize + 4;
+ }
+ return size;
}
-function HindTxt()
-{
- // console.log()
- const iconColor = 'var(--color-text)';
-
- if(props.messageId ==='1234-567-7890')
- {
- return Initiating transaction
- }
- else if(props.direction=== 'outgoing')
- {
- return Sent Successfully!
- }
- else{
-
- return Received successfully
+ function HindTxt() {
+ // console.log()
+ const iconColor = 'var(--color-text)';
+
+ if (props.messageId === '1234-567-7890') {
+ return (
+
+ Initiating transaction
+
+
+ );
+ } else if (props.direction === 'outgoing') {
+ return (
+
+ Sent Successfully!
+
+
+ );
+ } else {
+ return (
+
+ Received Successfully!
+
+
+ );
+ }
}
-}
return (
-
-
props.txnId?openToExplore(props.txnId):""}
- style={{cursor:props.txnId ?"pointer":"unset"}}>
-
{ acceptOpenGroupInvitation(props.acceptUrl, props.serverName)}}
+
+
+
(props.txnId ? openToExplore(props.txnId) : '')}
+ style={{ cursor: props.txnId ? 'pointer' : 'unset' }}
+ >
+
{ acceptOpenGroupInvitation(props.acceptUrl, props.serverName)}}
>
-
-
-
- {props.amount} BDX
-
-
- {/*
+
+
+
+
+ {props.amount} BDX
+
+
+ {/*
{props.amount}
welcome
{props.txnId}
*/}
-
-
-
- {/* {props.direction === 'outgoing'?"Sent Successfully!":"Received successfully"} */}
-
+
+ {/* {props.direction === 'outgoing'?"Sent Successfully!":"Received successfully"} */}
+
+
+
+ {moment(contentProps?.timestamp).format('hh:mm A')}
+
+
diff --git a/ts/components/conversation/message/message-item/notification-bubble/CallNotification.tsx b/ts/components/conversation/message/message-item/notification-bubble/CallNotification.tsx
index 4ccb3c76..70c01b1d 100644
--- a/ts/components/conversation/message/message-item/notification-bubble/CallNotification.tsx
+++ b/ts/components/conversation/message/message-item/notification-bubble/CallNotification.tsx
@@ -14,29 +14,29 @@ import { NotificationBubble } from './NotificationBubble';
type StyleType = Record<
CallNotificationType,
- { notificationTextKey: LocalizerKeys; iconType: BchatIconType; iconColor: string;bgColor:string }
+ { notificationTextKey: LocalizerKeys; iconType: BchatIconType; iconColor: string; bgColor: string }
>;
const style: StyleType = {
'missed-call': {
notificationTextKey: 'callMissed',
- iconType: 'callMissed',
- iconColor:'var(--color-destructive)' ,
- bgColor:'transparent',
-
+ iconType: 'callMissed',
+ iconColor: '#FF3E3E',
+ bgColor: 'transparent',
+
},
'started-call': {
notificationTextKey: 'startedACall',
iconType: 'callOutgoing',
- iconColor: '#136ef8',
- bgColor:'transparent',
-
+ iconColor: 'var(--color-text)',
+ bgColor: 'transparent',
+
},
'answered-a-call': {
notificationTextKey: 'answeredACall',
iconType: 'callIncoming',
- iconColor: '#136ef8',
- bgColor:'transparent',
+ iconColor: '#108D32',
+ bgColor: 'transparent',
},
};
@@ -51,14 +51,15 @@ export const CallNotification = (props: PropsForCallNotification) => {
(selectedConvoProps?.id && PubKey.shorten(selectedConvoProps?.id));
const styleItem = style[notificationType];
- const notificationText = window.i18n(styleItem.notificationTextKey, [displayName || 'Unknown']);
+ const notificationText = window.i18n(styleItem.notificationTextKey);
+ const displayText = notificationType == 'started-call' ? `to ${[displayName || 'Unknown']}` : `from ${[displayName || 'Unknown']}`
if (!window.i18n(styleItem.notificationTextKey)) {
throw new Error(`invalid i18n key ${styleItem.notificationTextKey}`);
}
const iconType = styleItem.iconType;
const iconColor = styleItem.iconColor;
- const bgColor=styleItem.bgColor;
-
+ const bgColor = styleItem.bgColor;
+
return (
{
>
);
diff --git a/ts/components/conversation/message/message-item/notification-bubble/NotificationBubble.tsx b/ts/components/conversation/message/message-item/notification-bubble/NotificationBubble.tsx
index 44cb31a0..a5d484de 100644
--- a/ts/components/conversation/message/message-item/notification-bubble/NotificationBubble.tsx
+++ b/ts/components/conversation/message/message-item/notification-bubble/NotificationBubble.tsx
@@ -4,60 +4,81 @@ import { BchatIcon, BchatIconType } from '../../../../icon';
const NotificationBubbleFlex = styled.div`
display: flex;
- background-color: var(--message-bubbles-received-background-color);
- color: var(--color-text);
+
+ // color: var(--color-text);
// width: 90%;
// max-width: 584px;
- margin: 10px auto;
- padding: 5px 10px;
- border-radius: 12px;
+ // margin: 10px auto;
+ padding: 5px 20px;
+ border-radius: 42px;
word-break: break-word;
text-align: center;
align-items: center;
justify-content: center;
+ // height: 40px;
+ // margin-top: -20px;
+ border-radius: 40px;
+ background-color: var(--message-bubbles-received-background-color);
`;
const NotificationBubbleText = styled.div`
- color: var(--color-text);
+ // color: var(--color-text);
// margin-left: 45px;
+ color: var(--color-chat-timestamp);
+ font-size: 14px;
+ font-weight: 400;
`;
const NotificationBubbleIconContainer = styled.div`
- margin: auto 10px;
width: 30px;
height: 30px;
display: flex;
justify-content: center;
align-items: center;
+ margin-right: 5px;
`;
const FlexCenter = styled.div`
- display: flex;
- justify-content: center;
- width: 100%;
-`
+ display: flex;
+ justify-content: center;
+ width: 90%;
+ // height: 1px;
+ min-height: 40px;
+ margin: 0 auto;
+`;
+// background-color: var(--message-bubbles-received-background-color);
export const NotificationBubble = (props: {
notificationText: string;
iconType?: BchatIconType;
iconColor?: string;
bgColor?: string;
+ callNotification?: Boolean;
+ displayText?: string;
}) => {
- const { notificationText, iconType, iconColor, bgColor } = props;
+ const { notificationText, iconType, iconColor, bgColor, callNotification, displayText } = props;
+
return (
-
+
{iconType && (
)}
- {notificationText}
+ {callNotification ? (
+
+ {notificationText}
+ {displayText}
+
+ ) : (
+ {notificationText}
+ )}
);
diff --git a/ts/components/dialog/AboutBnsDialog.tsx b/ts/components/dialog/AboutBnsDialog.tsx
new file mode 100644
index 00000000..2c13844e
--- /dev/null
+++ b/ts/components/dialog/AboutBnsDialog.tsx
@@ -0,0 +1,79 @@
+import React from 'react';
+import { BchatWrapperModal } from '../BchatWrapperModal';
+// import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { editProfileModal, updateAboutBnsModal } from '../../state/ducks/modalDialog';
+
+export const AboutBnsDialog = () => {
+ function closeDialog() {
+ window.inboxStore?.dispatch(updateAboutBnsModal(null));
+ window.inboxStore?.dispatch(editProfileModal({}));
+ }
+ return (
+
+
+ //
+ //
}
+ >
+
+
+
+ BNS: Your Decentralized Identity in the Beldex Ecosystem ?
+
+
+ BNS (Beldex Name Service) is your gateway to a seamless experience within the Beldex
+ ecosystem. With BNS, you can create a unique, easy-to-remember name that links to your
+ various Beldex identities.
+
+ Key Benefits:
+
+
+ Unified Identity: Connect your BChat ID, Beldex Wallet Address, and BelNet ID to a
+ single BNS name. This simplifies your interactions across the Beldex ecosystem.
+
+
+ Ease of Use: Say goodbye to complicated alphanumeric strings. With your BNS name,
+ messaging and transactions become straightforward and user-friendly.
+
+
+ Badge of Trust: Link your BChat ID to your BNS name and complete the verification
+ process to earn a BNS badge. This badge adds a layer of trust and recognition within
+ the community.
+
+
+
+ Pricing: Users can register their BNS names for 1, 2, 5, and 10 years for
+ as low as 650 BDX, 1000 BDX, 2000 BDX, and 4000 BDX
+ respectively.
+
+
+ Using BNS names enhances your privacy, security, and convenience. Whether you’re sending
+ a message, making a transaction, or using decentralized services, your BNS name ensures
+ a consistent and simplified experience.
+
+
+ Get started with your BNS name today and enjoy the benefits of a decentralized identity
+ across all your Beldex services!
+
+
+
+
+
+ );
+};
diff --git a/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx b/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx
index 334ad9d6..dd002c0e 100644
--- a/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx
+++ b/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx
@@ -2,8 +2,10 @@ import React, { useState } from 'react';
import { SpacerLG } from '../basic/Text';
import { getConversationController } from '../../bchat/conversations';
import { adminLeaveClosedGroup } from '../../state/ducks/modalDialog';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { BchatWrapperModal } from '../BchatWrapperModal';
+import { BchatIcon } from '../icon/BchatIcon';
+import styled from 'styled-components';
type Props = {
conversationId: string;
@@ -32,14 +34,44 @@ export const AdminLeaveClosedGroupDialog = (props: Props) => {
};
return (
-
+ onClickOK(),
+ color: BchatButtonColor.Danger,
+ disabled: false,
+ }}
+ cancelButton={{
+ text: cancelText,
+ status: true,
+ color: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => closeDialog(),
+ }}
+ iconShow={true}
+ customIcon={ }
+ >
+
+ {warningAsAdmin}
+
- {warningAsAdmin}
-
- */}
);
};
+
+const ContentWrapper=styled.p`
+max-width: 450px;
+margin-top: 0px;
+text-align: initial;
+color: #A7A7BA;
+font-size: 16px;
+font-style: normal;
+font-weight: 400;
+line-height: normal;
+
+`
diff --git a/ts/components/dialog/BchatConfirm.tsx b/ts/components/dialog/BchatConfirm.tsx
index aadff450..4dc8e60f 100644
--- a/ts/components/dialog/BchatConfirm.tsx
+++ b/ts/components/dialog/BchatConfirm.tsx
@@ -1,8 +1,8 @@
import React, { useState } from 'react';
import { BchatHtmlRenderer } from '../basic/BchatHTMLRenderer';
import { updateConfirmModal } from '../../state/ducks/modalDialog';
-import { SpacerLG, SpacerMD } from '../basic/Text';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { SpacerLG } from '../basic/Text';
+import { BchatButtonColor } from '../basic/BchatButton';
import { BchatSpinner } from '../basic/BchatSpinner';
import { BchatIcon, BchatIconSize, BchatIconType } from '../icon';
import { BchatWrapperModal } from '../BchatWrapperModal';
@@ -17,6 +17,8 @@ export interface BchatConfirmDialogProps {
onOk?: any;
onClose?: any;
closeAfterInput?: boolean;
+ iconShow?: any;
+ customIcon?: any;
/**
* function to run on ok click. Closes modal after execution by default
@@ -38,11 +40,13 @@ export interface BchatConfirmDialogProps {
okTheme?: BchatButtonColor;
closeTheme?: BchatButtonColor;
bchatIcon?: BchatIconType;
- iconSize?: BchatIconSize;
+ iconSize?: BchatIconSize | number;
shouldShowConfirm?: boolean | undefined;
showExitIcon?: boolean | undefined;
btndisable?: boolean | undefined;
- Childern?:any;
+ Childern?: any;
+ okIcon?: any;
+ cancelIcon?: any;
}
export const BchatConfirm = (props: BchatConfirmDialogProps) => {
@@ -50,7 +54,7 @@ export const BchatConfirm = (props: BchatConfirmDialogProps) => {
title = '',
message = '',
messageSub = '',
- closeTheme = BchatButtonColor.White,
+ closeTheme = BchatButtonColor.Secondary,
// seed="",
onClickOk,
onClickClose,
@@ -63,20 +67,22 @@ export const BchatConfirm = (props: BchatConfirmDialogProps) => {
showExitIcon,
closeAfterInput = true,
btndisable,
- Childern=""
+ Childern = '',
+ iconShow,
+ customIcon,
+ okIcon,
+ cancelIcon
} = props;
const [isLoading, setIsLoading] = useState(false);
// const [copied, setCopied] = useState(false);
-
const okText = props.okText || window.i18n('ok');
const cancelText = props.cancelText || window.i18n('cancel');
const showHeader = !!props.title;
const messageSubText = messageSub ? 'bchat-confirm-main-message' : 'subtle';
-
const onClickOkHandler = async () => {
if (onClickOk) {
setIsLoading(true);
@@ -140,6 +146,9 @@ export const BchatConfirm = (props: BchatConfirmDialogProps) => {
// return disable
// }
+ const validCustomIcon =
+ bchatIcon && iconSize ? : customIcon;
+
useKey((event: KeyboardEvent) => {
return event.key === 'Enter';
}, onClickOkHandler);
@@ -150,30 +159,49 @@ export const BchatConfirm = (props: BchatConfirmDialogProps) => {
onClose={onClickClose}
showExitIcon={showExitIcon}
showHeader={showHeader}
+ okButton={{
+ text: okText,
+ onClickOkHandler,
+ disabled: btndisable ? btndisable : false,
+ color: props.okTheme,
+ iconType: okIcon ? okIcon.icon : '',
+ iconSize: okIcon ? okIcon.size : ''
+ }}
+ cancelButton={{
+ status: !hideCancel,
+ text: cancelText,
+ color: closeTheme,
+ onClickCancelHandler,
+ iconType: cancelIcon ? cancelIcon.icon : '',
+ iconSize: cancelIcon ? cancelIcon.size : ''
+ }}
+ iconShow={iconShow}
+ customIcon={validCustomIcon}
>
{!showHeader && }
-
- {bchatIcon && iconSize && (
- <>
-
-
- >
- )}
- {Childern}
-
-
-
+
+ {/* {bchatIcon && iconSize && (
+ <>
+
+
+ >
+ )} */}
+ {Childern}
+
+
+
-
+
+
-
+ {/*
{!hideCancel && (
{
dataTestId="Bchat-confirm-ok-button"
disabled={btndisable ? btndisable : false}
/>
-
+
*/}
);
};
diff --git a/ts/components/dialog/BchatNicknameDialog.tsx b/ts/components/dialog/BchatNicknameDialog.tsx
index fedbbbe2..72c56b35 100644
--- a/ts/components/dialog/BchatNicknameDialog.tsx
+++ b/ts/components/dialog/BchatNicknameDialog.tsx
@@ -2,12 +2,13 @@ import React, { useState } from 'react';
import { getConversationController } from '../../bchat/conversations';
import _ from 'lodash';
-import {SpacerMD } from '../basic/Text';
+import { SpacerLG } from '../basic/Text';
import { useDispatch } from 'react-redux';
import { changeNickNameModal } from '../../state/ducks/modalDialog';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { BchatWrapperModal } from '../BchatWrapperModal';
-import { useConversationUsername } from '../../hooks/useParamSelector';
+import { BchatIconButton } from '../icon';
+// import { useConversationUsername } from '../../hooks/useParamSelector';
type Props = {
conversationId: string;
@@ -16,9 +17,8 @@ type Props = {
export const BchatNicknameDialog = (props: Props) => {
const { conversationId } = props;
const [nickname, setNickname] = useState('');
- const usernames= String(useConversationUsername(conversationId));
-// console.log("username ::",usernames);
-
+ // const usernames = String(useConversationUsername(conversationId));
+ // console.log("username ::",usernames);
const dispatch = useDispatch();
@@ -27,11 +27,9 @@ export const BchatNicknameDialog = (props: Props) => {
* entered nickname value as the nickname.
*/
const onNicknameInput = async (event: any) => {
-
if (event.key === 'Enter') {
await saveNickname();
- } else if (event.target.value.length <= 26)
- {
+ } else if (event.target.value.length <= 26) {
const currentNicknameEntered = event.target.value;
setNickname(currentNicknameEntered);
}
@@ -59,36 +57,56 @@ export const BchatNicknameDialog = (props: Props) => {
onClose={onClickClose}
showExitIcon={false}
showHeader={true}
+ additionalClassName="nickNameDialog"
+ okButton={{
+ text: window.i18n('ok'),
+ // onClick: { saveNickname },
+ color: BchatButtonColor.Primary,
+ onClickOkHandler: () => saveNickname(),
+ }}
+ cancelButton={{
+ status: true,
+ text: window.i18n('cancel'),
+ buttonColor: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => onClickClose(),
+ }}
>
-
-
+
+ {/*
{window.i18n('changeNicknameMessage',[usernames])}
-
+
*/}
-
{
- void onNicknameInput(_.cloneDeep(e));
- }}
- style={{borderBottom:"1px solid"}}
- onChange={e => {
- void onNicknameInput(_.cloneDeep(e));
- }}
- />
-
-
-
+
+ {
+ void onNicknameInput(_.cloneDeep(e));
+ }}
+ onChange={e => {
+ void onNicknameInput(_.cloneDeep(e));
+ }}
+ />
+ setNickname('')} />
+
+
+ {/*
+
-
+ */}
);
};
diff --git a/ts/components/dialog/BchatPasswordDialog.tsx b/ts/components/dialog/BchatPasswordDialog.tsx
index 4aab71bf..849e8dae 100644
--- a/ts/components/dialog/BchatPasswordDialog.tsx
+++ b/ts/components/dialog/BchatPasswordDialog.tsx
@@ -3,13 +3,15 @@ import React from 'react';
import { missingCaseError } from '../../util';
import { ToastUtils } from '../../bchat/utils';
import { getPasswordHash } from '../../data/data';
-import { SpacerSM } from '../basic/Text';
+// import { SpacerSM } from '../basic/Text';
import autoBind from 'auto-bind';
import { bchatPassword } from '../../state/ducks/modalDialog';
import { LocalizerKeys } from '../../types/LocalizerKeys';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { BchatWrapperModal } from '../BchatWrapperModal';
import { matchesHash, validatePassword } from '../../util/passwordUtils';
+import { BchatInput } from '../basic/BchatInput';
+// import { BchatInput } from '../basic/BchatInput';
export type PasswordAction = 'set' | 'change' | 'remove';
@@ -20,9 +22,9 @@ interface Props {
interface State {
error: string | null;
- currentPasswordEntered: string | null;
- currentPasswordConfirmEntered: string | null;
- currentPasswordRetypeEntered: string | null;
+ currentPasswordEntered: string;
+ currentPasswordConfirmEntered: string;
+ currentPasswordRetypeEntered: string;
}
export class BchatPasswordDialog extends React.Component
{
@@ -33,9 +35,9 @@ export class BchatPasswordDialog extends React.Component {
this.state = {
error: null,
- currentPasswordEntered: null,
- currentPasswordConfirmEntered: null,
- currentPasswordRetypeEntered: null,
+ currentPasswordEntered: '',
+ currentPasswordConfirmEntered: '',
+ currentPasswordRetypeEntered: '',
};
autoBind(this);
@@ -53,72 +55,122 @@ export class BchatPasswordDialog extends React.Component {
const placeholders =
passwordAction === 'change'
? [
- window.i18n('currentPassword'),
- window.i18n('enterPassword'),
- window.i18n('confirmPassword'),
- ]
+ window.i18n('currentPassword'),
+ window.i18n('enterPassword'),
+ window.i18n('confirmPassword'),
+ ]
: [window.i18n('removePasswordDisc'), window.i18n('confirmPassword')];
- const confirmButtonColor = BchatButtonColor.Green;
+ // const confirmButtonColor = BchatButtonColor.Primary;
// do this separately so typescript's compiler likes it
const localizedKeyAction: LocalizerKeys =
passwordAction === 'change'
? 'changePassword'
: passwordAction === 'remove'
- ? 'removePassword'
- : 'setPassword';
+ ? 'removePassword'
+ : 'setPassword';
return (
-
-
-
-
-
{
- this.passportInput = input;
- }}
- placeholder={placeholders[0]}
- onKeyUp={this.onPasswordInput}
- data-testid="password-input"
- maxLength={26}
- />
- {passwordAction !== 'remove' && (
-
+ {/*
*/}
+
-
-
*/}
);
}
@@ -141,7 +193,7 @@ export class BchatPasswordDialog extends React.Component
{
// if user did not fill the first password field, we can't do anything
const errorFirstInput = validatePassword(firstPassword);
if (errorFirstInput !== null) {
- ToastUtils.pushToastError('validatePassword',errorFirstInput);
+ ToastUtils.pushToastError('validatePassword', errorFirstInput);
this.setState({
error: errorFirstInput,
});
@@ -290,29 +342,29 @@ export class BchatPasswordDialog extends React.Component {
window.inboxStore?.dispatch(bchatPassword(null));
}
- private async onPasswordInput(event: any) {
- if (event.key === 'Enter') {
- return this.setPassword();
- }
- const currentPasswordEntered = event.target.value;
+ private async onPasswordInput(currentPasswordEntered: any) {
+ // if (event.key === 'Enter') {
+ // return this.setPassword();
+ // }
+ // const currentPasswordEntered = event.target.value;
this.setState({ currentPasswordEntered });
}
- private async onPasswordConfirmInput(event: any) {
- if (event.key === 'Enter') {
- return this.setPassword();
- }
- const currentPasswordConfirmEntered = event.target.value;
+ private async onPasswordConfirmInput(currentPasswordConfirmEntered: any) {
+ // if (event.key === 'Enter') {
+ // return this.setPassword();
+ // }
+ // const currentPasswordConfirmEntered = event.target.value;
this.setState({ currentPasswordConfirmEntered });
}
- private async onPasswordRetypeInput(event: any) {
- if (event.key === 'Enter') {
- return this.setPassword();
- }
- const currentPasswordRetypeEntered = event.target.value;
+ private async onPasswordRetypeInput(currentPasswordRetypeEntered: any) {
+ // if (event.key === 'Enter') {
+ // return this.setPassword();
+ // }
+ // const currentPasswordRetypeEntered = event.target.value;
this.setState({ currentPasswordRetypeEntered });
}
diff --git a/ts/components/dialog/BchatSeedModal.tsx b/ts/components/dialog/BchatSeedModal.tsx
index e21d96cd..7da8aaa0 100644
--- a/ts/components/dialog/BchatSeedModal.tsx
+++ b/ts/components/dialog/BchatSeedModal.tsx
@@ -1,11 +1,13 @@
import React, { useEffect, useState } from 'react';
import { ToastUtils } from '../../bchat/utils';
-import { SpacerLG, SpacerSM, SpacerXS } from '../basic/Text';
+import { SpacerSM } from '../basic/Text';
import { recoveryPhraseModal } from '../../state/ducks/modalDialog';
-import { useDispatch } from 'react-redux';
+import { useDispatch, useSelector } from 'react-redux';
import { getCurrentRecoveryPhrase } from '../../util/storage';
-import { BchatToolTip } from '../leftpane/ActionsPanel';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { getTheme } from '../../state/selectors/theme';
+// import { BchatToolTip } from '../leftpane/ActionsPanel';
interface SeedProps {
@@ -17,6 +19,7 @@ const Seed = (props: SeedProps) => {
const { recoveryPhrase, onClickCopy } = props;
const i18n = window.i18n;
const dispatch = useDispatch();
+ const darkMode = useSelector(getTheme) === 'dark';
const copyRecoveryPhrase = (recoveryPhraseToCopy: string) => {
window.clipboard.writeText(recoveryPhraseToCopy);
@@ -28,28 +31,46 @@ const Seed = (props: SeedProps) => {
};
return (
-
-
-
{i18n('recoveryPhrase')}
-
-
-
- {recoveryPhrase}
-
-
-
-
-
{ copyRecoveryPhrase(recoveryPhrase); }} data-tip="Copy" data-place="right">
-
-
-
-
{window.i18n('editMenuCopy')}
+
+
+
+
+
{i18n('recoveryPhrase')}
+ {/*
*/}
+
+
+ {recoveryPhrase}
+
+
Copy your Recovery Seed and keep it safe.
+
+ {/*
+
{ copyRecoveryPhrase(recoveryPhrase); }} data-tip="Copy" data-place="right">
+
+
+
+
{window.i18n('editMenuCopy')}
+
+
+
*/}
+
+
{ copyRecoveryPhrase(recoveryPhrase) }}
+ // dataTestId={okButton?.dataTestId ? okButton.dataTestId : "Bchat-confirm-ok-button"}
+ // style={{ width: '120px', height: '35px' }}
+ />
+
-
-
);
};
diff --git a/ts/components/wallet/BchatWalletForgotPassword.tsx b/ts/components/dialog/BchatWalletForgotPasswordModal.tsx
similarity index 55%
rename from ts/components/wallet/BchatWalletForgotPassword.tsx
rename to ts/components/dialog/BchatWalletForgotPasswordModal.tsx
index 4bd07c34..021c542b 100644
--- a/ts/components/wallet/BchatWalletForgotPassword.tsx
+++ b/ts/components/dialog/BchatWalletForgotPasswordModal.tsx
@@ -1,8 +1,8 @@
import React, { useState } from 'react';
-import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { Flex } from '../basic/Flex';
-import { SpacerMD, SpacerSM } from '../basic/Text';
-import { BchatIcon } from '../icon';
+import { SpacerLG, SpacerMD, SpacerSM } from '../basic/Text';
+import { BchatIconButton } from '../icon';
import { clipboard } from 'electron';
import { ToastUtils, UserUtils } from '../../bchat/utils';
import { wallet } from '../../wallet/wallet-rpc';
@@ -14,9 +14,13 @@ import { updateDaemon } from '../../state/ducks/daemon';
import { getConversationById } from '../../data/data';
import { useConversationWalletDaemonHeight } from '../../hooks/useParamSelector';
import { useKey } from 'react-use';
-import styled from 'styled-components';
+import { BchatWrapperModal } from '../BchatWrapperModal';
+import {
+ updateBchatWalletForgotPasswordModal,
+ updateBchatWalletPasswordModal,
+} from '../../state/ducks/modalDialog';
-export const ForgotPassword = (props: any) => {
+export const BchatWalletForgotPasswordModal = () => {
const [seed, setSeed] = useState('');
const [newPassword, setNewPassword] = useState('');
const [confirmPassword, setConfirmNewPassword] = useState('');
@@ -33,7 +37,8 @@ export const ForgotPassword = (props: any) => {
);
const dispatch = useDispatch();
function onClickCancelHandler() {
- props.cancelBtn();
+ dispatch(updateBchatWalletForgotPasswordModal(null));
+ dispatch(updateBchatWalletPasswordModal({from:'wallet'}));
}
const handlePaste = () => {
const recoverySeed = clipboard.readText();
@@ -130,20 +135,35 @@ export const ForgotPassword = (props: any) => {
useKey((event: KeyboardEvent) => {
return event.key === 'Enter';
}, passValid);
- const Loader = styled.div`
- position: absolute;
- // top: 0;
- display: flex;
- // justify-content: center;
- /* width: 100%; */
- // width: 100Vw;
- // height: 100%;
- align-items: center;
- z-index: 101;
- `;
+
return (
- {/*
+
{}}
+ showExitIcon={false}
+ showHeader={true}
+ headerReverse={false}
+ additionalClassName="walletPassword"
+ isloading={loading}
+ okButton={{
+ text: window.i18n('save'),
+ onClickOkHandler: () => {
+ passValid();
+ },
+ color: BchatButtonColor.Primary,
+ disabled: false,
+ }}
+ cancelButton={{
+ text: window.i18n('cancel'),
+ status: true,
+ color: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => {
+ onClickCancelHandler();
+ },
+ }}
+ >
+ {/* */}
-
- {loading && (
-
-
-
+
+
+
-
- )}
-
-
-
- {window.i18n('forgotPassword')}
-
-
-
-
-
{window.i18n('changewalletPassword')}
-
-
-
+
+
+ {window.i18n('changeWalletPassword')}
+
+
+
{
setNewPassword(e.target.value);
}}
- placeholder={window.i18n('enterPassword')}
+ placeholder={window.i18n('enterNewWalletPassword')}
// className="bchat-dialog-newPassInput"
type={newPasswordVisible ? 'password' : 'text'}
maxLength={13}
/>
-
- setNewPasswordVisible(!newPasswordVisible)}
- style={{ cursor: 'pointer' }}
+ setNewPasswordVisible(!newPasswordVisible)}
+ />
+
+
+
+
-
-
-
-
-
-
{
setConfirmNewPassword(e.target.value);
}}
- placeholder={window.i18n('confirmPassword')}
+ placeholder={'Confirm wallet password'}
// className="bchat-dialog-newPassInput"
type={confirmPasswordVisible ? 'password' : 'text'}
maxLength={13}
/>
-
- setConfirmNewPasswordVisible(!confirmPasswordVisible)}
- style={{ cursor: 'pointer' }}
- >
-
-
-
-
-
-
-
Disclaimer :
-
- {window.i18n('disclaimerForgotPassword', walletDaemonHeight)}
+ setConfirmNewPasswordVisible(!confirmPasswordVisible)}
+ />
+
-
-
-
-
-
+
+
+ Disclaimer :
+ {window.i18n('disclaimerForgotPassword', walletDaemonHeight)}
+ {/*
*/}
-
+
);
};
diff --git a/ts/components/dialog/BchatWalletPasswordModal.tsx b/ts/components/dialog/BchatWalletPasswordModal.tsx
index f88a5342..92b54e12 100644
--- a/ts/components/dialog/BchatWalletPasswordModal.tsx
+++ b/ts/components/dialog/BchatWalletPasswordModal.tsx
@@ -1,8 +1,6 @@
import React, { useEffect, useState } from 'react';
import { BchatWrapperModal } from '../BchatWrapperModal';
-import { SpacerLG, SpacerMD } from '../basic/Text';
-import { BchatIcon } from '../icon';
-import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { useDispatch, useSelector } from 'react-redux';
import { updateBchatWalletPasswordModal } from '../../state/ducks/modalDialog';
import { ToastUtils, UserUtils } from '../../bchat/utils';
@@ -15,27 +13,41 @@ import { walletSettingsKey } from '../../data/settings-key';
import { WalletPassword } from '../wallet/BchatWalletPassword';
import { clearSearch } from '../../state/ducks/search';
import { setOverlayMode, showLeftPaneSection } from '../../state/ducks/section';
-// import { getRescaning } from '../../state/selectors/walletConfig';
-// import styled from 'styled-components';
+
+import { updateSendAddress, updateWalletPasswordPopUpFlag } from '../../state/ducks/walletConfig';
+import { daemon } from '../../wallet/daemon-rpc';
+import { getHeight } from '../../state/selectors/walletConfig';
+
+
export const BchatWalletPasswordModal = (props: any) => {
const dispatch = useDispatch();
// const [loading, setLoading] = useState(true);
+ const userId = useSelector((state: any) => state.user.ourNumber);
const [password, setPassword] = useState('');
+ const [loading, setLoading] = useState(false);
const UserDetails: any = useSelector((state: any) => state.conversations.conversationLookup);
// const syncStatus = useSelector(getRescaning);
const getSyncStatus = window.getSettingValue('syncStatus');
+ let currentHeight: any;
+ let daemonHeight: any;
+ const currentDaemon = window.getSettingValue(walletSettingsKey.settingsCurrentDeamon);
+ if (currentDaemon?.type === 'Local') {
+ currentHeight = useSelector((state: any) => state.daemon.height);
+ daemonHeight = Number(useSelector(getHeight));
+ } else {
+ currentHeight = Number(useSelector(getHeight));
+ daemonHeight = useSelector((state: any) => state.daemon.height);
+ }
+ let pct: any =
+ currentHeight == 0 || daemonHeight == 0 ? 0 : ((100 * currentHeight) / daemonHeight).toFixed(0);
+ let percentage = pct == 100 && currentHeight < daemonHeight ? 99 : pct;
+ const sync = daemonHeight > 0 && percentage < 99;
+
const onClickClose = () => {
- // if(props.from === 'wallet' )
- // {
- // backToChat();
- // dispatch(updateBchatWalletPasswordModal(null))
- // }
- // else{
dispatch(updateBchatWalletPasswordModal(null));
- // }
};
useEffect(() => {
@@ -43,12 +55,10 @@ export const BchatWalletPasswordModal = (props: any) => {
startWalletRpc();
}, []);
- // startWalletRpc();
-
async function startWalletRpc() {
await wallet.startWallet('settings');
}
- async function submit() {
+ async function submitForChat() {
if (!password) {
return ToastUtils.pushToastError('passwordFieldEmpty', window.i18n('passwordFieldEmpty'));
}
@@ -57,8 +67,7 @@ export const BchatWalletPasswordModal = (props: any) => {
if (!profileName) {
profileName = UserDetails?.userId?.profileName;
}
- // console.log("password hash ::",wallet.wallet_state.password_hash , wallet.passwordEncrypt(password),
- // wallet.wallet_state.password_hash === wallet.passwordEncrypt(password),!getSyncStatus)
+
if (!getSyncStatus && wallet.wallet_state.password_hash === wallet.passwordEncrypt(password)) {
showSyncBar();
return;
@@ -66,25 +75,12 @@ export const BchatWalletPasswordModal = (props: any) => {
// setLoading(true);
let openWallet: any = await wallet.openWallet(profileName, password);
- // console.log('openWallet:-', openWallet);
if (openWallet.hasOwnProperty('error')) {
// setLoading(false);
return ToastUtils.pushToastError('walletInvalidPassword', openWallet.error?.message);
} else {
await wallet.startHeartbeat('inChat');
- // let emptyAddress: any = '';
- // dispatch(updateSendAddress(emptyAddress));
- // setLoading(false);
- // props.onClick();
- // dispatch(dashboard());
- // let data: any = true;
- // // dispatch(updateWalletSyncInitiatedWithChat(data)) ;
- // dispatch(updatewalletSyncBarShowInChat(data));
- // onClickClose();
- // // heartbeat();
- // const currentDaemon = window.getSettingValue(walletSettingsKey.settingsCurrentDeamon);
- // ToastUtils.pushToastInfo('connectedDaemon', `Connected to ${currentDaemon.host}`);
showSyncBar();
return;
}
@@ -100,85 +96,81 @@ export const BchatWalletPasswordModal = (props: any) => {
}
useKey((event: KeyboardEvent) => {
if (event.key === 'Enter') {
- props.from !== 'wallet' && submit();
+ props.from !== 'wallet' ? submitForChat() : submitForWallet();
}
return event.key === 'Enter';
});
function backToChat() {
+ // console.log('backToChat');
dispatch(clearSearch());
dispatch(setOverlayMode(undefined));
dispatch(showLeftPaneSection(0));
dispatch(updateBchatWalletPasswordModal(null));
}
+ async function submitForWallet() {
+ if (!password) {
+ return ToastUtils.pushToastError('passwordFieldEmpty', window.i18n('passwordFieldEmpty'));
+ }
+ let userDetails = await getConversationById(UserUtils.getOurPubKeyStrFromCache());
+ let profileName = userDetails?.attributes.walletUserName;
+ if (!profileName) {
+ profileName = UserDetails[userId].profileName;
+ }
+ setLoading(true);
+ let openWallet: any = await wallet.openWallet(profileName, password);
+ if (openWallet.hasOwnProperty('error')) {
+ setLoading(false);
+ return ToastUtils.pushToastError('walletInvalidPassword', openWallet.error?.message);
+ } else {
+ wallet.startHeartbeat('wallet');
+ let emptyAddress: any = '';
+ dispatch(updateSendAddress(emptyAddress));
+ let False: any = false;
+ dispatch(updateWalletPasswordPopUpFlag(False));
+ dispatch(updateBchatWalletPasswordModal(null));
+ // setLoading(false);
+ daemon.daemonHeartbeat();
+ }
+ }
return (
{
+ props.from === 'wallet' ? backToChat() : onClickClose();
+ }}
+ showExitIcon={false}
showHeader={props.from === 'wallet' ? false : true}
headerReverse={props.from === 'wallet' ? false : true}
additionalClassName="walletPassword"
+ isloading={loading}
+ okButton={{
+ text: !sync ? 'Continue' : 'Close',
+ onClickOkHandler: () => {
+ !sync ? (props.from === 'wallet' ? submitForWallet() : submitForChat()) : backToChat();
+ },
+ color: !sync ? BchatButtonColor.Primary : BchatButtonColor.Secondary,
+ disabled: false,
+ }}
+ cancelButton={
+ !sync && {
+ text: 'Cancel',
+ status: true,
+ color: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => {
+ props.from === 'wallet' ? backToChat() : onClickClose();
+ },
+ }
+ }
>
- {props.from === 'wallet' ? (
-
- ) : (
-
-
- {/* {loading && (
-
-
-
-
-
- )} */}
- {/*
*/}
- {/*
*/}
-
-
-
-
- {window.i18n('enterWalletPassword')}
-
-
-
- setPassword(e.target.value)} autoFocus={true} />
-
-
-
- {/*
- {window.i18n('forgotPassword')}
- */}
-
-
-
- submit()}
- />
-
-
-
-
- )}
+ setPassword(e)}
+ // loading={loading}
+ />
);
};
-
-// const Loader = styled.div`
-// position: absolute;
-// // top: 0;
-// display: flex;
-// // justify-content: center;
-// /* width: 100%; */
-// // width: 100Vw;
-// // height: 100%;
-// align-items: center;
-// z-index: 101;
-// `;
diff --git a/ts/components/dialog/BchatWalletSendConfirmModal.tsx b/ts/components/dialog/BchatWalletSendConfirmModal.tsx
index 56b839b7..5df7cf29 100644
--- a/ts/components/dialog/BchatWalletSendConfirmModal.tsx
+++ b/ts/components/dialog/BchatWalletSendConfirmModal.tsx
@@ -2,7 +2,7 @@ import React, { useRef, useState } from 'react';
// import { BchatHtmlRenderer } from '../basic/BchatHTMLRenderer';
import { updateConfirmModal } from '../../state/ducks/modalDialog';
import { SpacerLG, SpacerMD, SpacerSM, SpacerXS } from '../basic/Text';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
// import { BchatSpinner } from '../basic/BchatSpinner';
import { BchatIcon, BchatIconSize, BchatIconType } from '../icon';
import { BchatWrapperModal } from '../BchatWrapperModal';
@@ -50,10 +50,10 @@ export const BchatSendConfirm = (props: BchatConfirmDialogProps) => {
const {
// message = '',
// messageSub = '',
- closeTheme = BchatButtonColor.White,
+ // closeTheme = BchatButtonColor.White,
onClickOk,
onClickClose,
- hideCancel = false,
+ // hideCancel = false,
bchatIcon,
iconSize,
shouldShowConfirm,
@@ -149,6 +149,19 @@ export const BchatSendConfirm = (props: BchatConfirmDialogProps) => {
onClose={onClickClose}
showExitIcon={showExitIcon}
showHeader={true}
+ okButton={{
+ onClickOkHandler: () => onClickOkHandler(),
+ color: BchatButtonColor.Primary,
+ text:confirm ? 'Confirm' : window.i18n('send'),
+ disabled:btndisable ? btndisable : false
+ }}
+ cancelButton={{
+ text:cancelText,
+ status: true,
+ color: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => onClickCancelHandler(),
+ }}
+
>
) : (
-
-
- Send to :
{address}
+
-
-
Amount :
{' '}
-
{amount} BDX
+
+
+
Amount
{' '}
+
{amount} BDX
-
Fee :
{' '}
-
{fee} BDX
+
Estimated Fee
{' '}
+
{fee} BDX
-
Priority :
+
Priority
{Priority}
+
)}
-
+ {/*
{!hideCancel && (
{
dataTestId="Bchat-confirm-ok-button"
disabled={btndisable ? btndisable : false}
/>
-
+
*/}
);
};
diff --git a/ts/components/dialog/BnsLinkDialog.tsx b/ts/components/dialog/BnsLinkDialog.tsx
new file mode 100644
index 00000000..e2d89c21
--- /dev/null
+++ b/ts/components/dialog/BnsLinkDialog.tsx
@@ -0,0 +1,172 @@
+import React, { useState } from 'react';
+// tslint:disable no-submodule-imports
+
+import { BchatWrapperModal } from '../BchatWrapperModal';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { BchatIcon } from '../icon/BchatIcon';
+import { bnsLinkModal, editProfileModal } from '../../state/ducks/modalDialog';
+import { UserUtils } from '../../bchat/utils';
+import { isLinkedBchatIDWithBnsForDeamon, linkBns } from '../conversation/BnsVerification';
+import { SpacerLG, SpacerMD, SpacerSM } from '../basic/Text';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../../state/selectors/theme';
+
+export const BnsLinkDialog = () => {
+
+ const [success, setSuccess] = useState(false);
+ const [bnsName, setBnsName] = useState('');
+ const [isVerify, setIsVerify] = useState(false);
+ const [isLoading, setIsLoading] = useState(false);
+ const [verifyError,setVerifyError]=useState(false);
+ const ourNumber = UserUtils.getOurPubKeyStrFromCache(); // get our bchat id
+ const darkMode = useSelector(getTheme) === 'dark';
+ const regexForBnsName = /^(?!-)[A-Za-z0-9-]+(? {
+ //call to update conversational state value
+ await linkBns(bnsName);
+ setSuccess(true);
+ };
+ const onchange=(e:string)=>{
+ setBnsName(e);
+ verifyError&&setVerifyError(false)
+ }
+ const BnsLinkedSuccessModal = () => {
+ return (
+
+
+
+
+
{i18n('bnsLinkedSuccessfully')}
+ {/*
{
+ closeDialog();
+ }}
+ /> */}
+
+ );
+ };
+ return (
+
+ // closeDialog()}
+ // />
+ // }
+ >
+
+ {!success ? (
+ <>
+
+ {/*
{i18n('yourBchatID')}
*/}
+
+
+
{window.i18n('yourBchatID')}
+
+ {/*
{ourNumber} */}
+
{ourNumber}
+
+
+
+ {/*
*/}
+
{i18n('bnsName')}
+
+
+ {
+ onchange(event.target.value)
+
+ }}
+ maxLength={33}
+ data-testid="profile-name-input"
+ />
+
+
+
+
+ {!isVerify ? (
+ //
+ verifyBns()}
+ />
+ ) : (
+ //
+
+ {i18n('verified')}
+
+
+
+
+ )}
+ {/*
*/}
+ callLinkBns()}
+ // setSuccess(true)
+ />
+
+ {/*
*/}
+ >
+ ) : (
+
+ )}
+
+
+ );
+};
diff --git a/ts/components/dialog/CommunityGuidelinesDialog.tsx b/ts/components/dialog/CommunityGuidelinesDialog.tsx
new file mode 100644
index 00000000..66fca4d7
--- /dev/null
+++ b/ts/components/dialog/CommunityGuidelinesDialog.tsx
@@ -0,0 +1,63 @@
+import React from 'react';
+import { BchatWrapperModal } from '../BchatWrapperModal';
+// import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { updateCommunityGuidelinesModal } from '../../state/ducks/modalDialog';
+import { shell } from 'electron';
+
+export const CommunityGuidelinesDialog = () => {
+ function closeDialog() {
+ window.inboxStore?.dispatch(updateCommunityGuidelinesModal(null));
+ }
+ const openLink = (url: string) => {
+ void shell.openExternal(url);
+ };
+ return (
+
+
+
+
+
+ BChat is a decentralized messaging platform that protects your privacy. When you're
+ using BChat, you own your conversations and data. It does not collect or store any of
+ your personal information. BChat is where you chat with freedom.
+
+
+ BChat is also more than a messaging application. You can send and receive BDX right
+ from your chat box.
+
+
+ BChat is built on top of the Beldex network. Masternodes on the Beldex network store
+ and relay encrypted messages between clients. Other projects that are currently being
+ researched or developed by Beldex include BelNet (a decentralized VPN service), Beldex
+ Browser (an ad-free Web3 browser), and the Beldex Privacy Protocol (to anonymize every
+ other asset).
+
+
+
+
+
+ To protect and preserve this community, kindly follow the group rules and guidelines.
+
+
+ Be civil. You can share your opinions and constructive criticisms but harassment is
+ not permitted. Don't promote or shill your token/project. This group is dedicated to
+ BChat and the Beldex ecosystem. Spammers will be banned.
+
+ Do not share NSFW content or use profane language.
+ Beware of scammers. Admins will not DM you first.
+
+
+
+
+ );
+};
diff --git a/ts/components/dialog/DeleteAccountModal.tsx b/ts/components/dialog/DeleteAccountModal.tsx
index d1171adf..6709e418 100644
--- a/ts/components/dialog/DeleteAccountModal.tsx
+++ b/ts/components/dialog/DeleteAccountModal.tsx
@@ -4,33 +4,33 @@ import { ed25519Str } from '../../bchat/onions/onionPath';
import { forceNetworkDeletion } from '../../bchat/apis/snode_api/SNodeAPI';
import { forceSyncConfigurationNowIfNeeded } from '../../bchat/utils/syncUtils';
import { updateConfirmModal, updateDeleteAccountModal } from '../../state/ducks/modalDialog';
-import { SpacerLG } from '../basic/Text';
import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
import { BchatHtmlRenderer } from '../basic/BchatHTMLRenderer';
-import { BchatSpinner } from '../basic/BchatSpinner';
+// import { BchatSpinner } from '../basic/BchatSpinner';
import { BchatWrapperModal } from '../BchatWrapperModal';
import * as Data from '../../data/data';
import { deleteAllLogs } from '../../node/logs';
+import { BchatIcon } from '../icon/BchatIcon';
// import { wallet } from '../../wallet/wallet-rpc';
// import { kill } from 'cross-port-killer';
// import { HTTPError } from '../../bchat/utils/errors';
export const deleteDbLocally = async (deleteType?: string) => {
// wallet
- // .closeWallet()
- // .then(() => {
- // kill(64371)
- // .then(() => {
- // console.log('killed port.....');
- // })
- // .catch(err => {
- // throw new HTTPError('beldex_rpc_port', err);
- // });
- // })
- // .catch(err => {
- // throw new HTTPError('close wallet error', err);
- // });
+ // .closeWallet()
+ // .then(() => {
+ // kill(64371)
+ // .then(() => {
+ // console.log('killed port.....');
+ // })
+ // .catch(err => {
+ // throw new HTTPError('beldex_rpc_port', err);
+ // });
+ // })
+ // .catch(err => {
+ // throw new HTTPError('close wallet error', err);
+ // });
window?.log?.info('last message sent successfully. Deleting everything');
window.persistStore?.purge();
await deleteAllLogs();
@@ -193,85 +193,86 @@ export const DeleteAccountModal = () => {
return (
}
+ isloading={isLoading}
>
-
-
-
-
-
-
- {
- setDeleteEverythingWithNetwork(true);
- }}
- disabled={deleteEverythingWithNetwork || deleteDeviceOnly}
- />
-
- {
- setDeleteDeviceOnly(true);
- }}
- disabled={deleteEverythingWithNetwork || deleteDeviceOnly}
- />
-
- {deleteEverythingWithNetwork && (
-
- )}
+
+
+ {window.i18n('deleteAccountWarning')}
+ {window.i18n('dialogClearAllDataDeletionQuestion')}
+
- {deleteDeviceOnly && (
-
- )}
- {(deleteDeviceOnly || deleteEverythingWithNetwork) && (
-
+
{
- if (deleteDeviceOnly) {
- void onDeleteEverythingLocallyOnly();
- } else if (deleteEverythingWithNetwork) {
- void onDeleteEverythingAndNetworkData();
- }
+ setDeleteDeviceOnly(true);
+ setDeleteEverythingWithNetwork(false);
+
}}
- disabled={isLoading}
+ // disabled={deleteEverythingWithNetwork || deleteDeviceOnly}
+ style={{ marginRight: '25px', minWidth: '240px', height: '55px',fontWeight: 500 }}
+ iconType={deleteDeviceOnly ? "circle" : undefined}
+ iconSize="tiny"
/>
-
{
- dispatch(updateDeleteAccountModal(null));
+ setDeleteEverythingWithNetwork(true);
+ setDeleteDeviceOnly(false);
}}
- disabled={isLoading}
+ // disabled={deleteEverythingWithNetwork || deleteDeviceOnly}
+ style={{ marginRight: '12px', minWidth: '240px', height: '55px',fontWeight: 500 }}
+ iconType={deleteEverythingWithNetwork ? "circle" : undefined}
+ iconSize="tiny"
/>
- )}
+ {deleteEverythingWithNetwork && (
+
+ )}
+
+ {deleteDeviceOnly && (
+
+ )}
+ {(deleteDeviceOnly || deleteEverythingWithNetwork) && (
+
+
+
+ {
+ if (deleteDeviceOnly) {
+ void onDeleteEverythingLocallyOnly();
+ } else if (deleteEverythingWithNetwork) {
+ void onDeleteEverythingAndNetworkData();
+ }
+ }}
+ // disabled={isLoading}
+ style={{ marginRight: '25px', minWidth: '240px', height: '55px' }}
+ />
+
+ )}
+
-
+ {/*
*/}
);
diff --git a/ts/components/dialog/EditProfileDialog.tsx b/ts/components/dialog/EditProfileDialog.tsx
index 6da719db..43ae5501 100644
--- a/ts/components/dialog/EditProfileDialog.tsx
+++ b/ts/components/dialog/EditProfileDialog.tsx
@@ -1,25 +1,26 @@
import React, { ChangeEvent } from 'react';
import { QRCode } from 'react-qr-svg';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
-import { PillDivider } from '../basic/PillDivider';
+// import { PillDivider } from '../basic/PillDivider';
import { SyncUtils, ToastUtils, UserUtils } from '../../bchat/utils';
import { ConversationModel, ConversationTypeEnum } from '../../models/conversation';
import { getConversationController } from '../../bchat/conversations';
import autoBind from 'auto-bind';
-import { editProfileModal } from '../../state/ducks/modalDialog';
+import { bnsLinkModal, editProfileModal, updateAboutBnsModal } from '../../state/ducks/modalDialog';
import { uploadOurAvatar } from '../../interactions/conversationInteractions';
-import { BchatIconButton } from '../icon';
+import { BchatIcon, BchatIconButton } from '../icon';
import { MAX_USERNAME_LENGTH } from '../registration/RegistrationStages';
import { BchatWrapperModal } from '../BchatWrapperModal';
import { pickFileForAvatar } from '../../types/attachments/VisualAttachment';
import { sanitizeBchatUsername } from '../../bchat/utils/String';
import { setLastProfileUpdateTimestamp } from '../../util/storage';
-import styled from 'styled-components';
import { BchatToolTip } from '../leftpane/ActionsPanel';
+import { CopyIconButton } from '../icon/CopyIconButton'
+import { SpacerXS } from '../basic/Text';
interface State {
profileName: string;
@@ -30,10 +31,10 @@ interface State {
loading: boolean;
}
-const QRView = ({ bchatID }: { bchatID: string }) => {
+export const QRView = ({ bchatID }: { bchatID: string }) => {
return (
-
+
);
};
@@ -73,54 +74,82 @@ export class EditProfileDialog extends React.Component<{}, State> {
const viewEdit = this.state.mode === 'edit';
const viewQR = this.state.mode === 'qr';
const bchatID = UserUtils.getOurPubKeyStrFromCache();
+ const isBnsHolder = this.convo?.attributes?.isBnsHolder;
const backButton =
viewEdit || viewQR
? [
- {
- iconType: 'chevron',
- iconRotation: 90,
- onClick: () => {
- this.setState({ mode: 'default' });
- },
+ {
+ iconType: 'chevron',
+ iconRotation: 90,
+ onClick: () => {
+ this.setState({ mode: 'default' });
},
- ]
+ },
+ ]
: undefined;
return (
-
-
+
+
{
+ // this.setState(state => ({ ...state, mode: mode }));
+ this.qrStatusUpdate();
+ // window.inboxStore?.dispatch(editProfileModal(null));
+ // window.inboxStore?.dispatch(bnsLinkModal({}));
+ // props.qrStatus?.(true)
+ }}
+ >
+
+
+
+ {'Show QR'}
+ }
>
- {this.state.loading && (
-
-
-
-
-
- )}
-
-
-
+
{(viewDefault || viewQR) && this.renderDefaultView()}
{viewEdit && this.renderEditView()}
-
+ {this.renderBnsVerified(isBnsHolder)}
-
+ {/*
*/}
{!viewQR ? this.renderAddressView({ bchatID }) : this.renderQrView({ bchatID })}
@@ -144,22 +173,31 @@ export class EditProfileDialog extends React.Component<{}, State> {
data-tip="Edit"
data-place="right"
data-offset="{'top':15,'left':10}"
- style={{
- background: `url(images/bchat/camera.svg) no-repeat`,
- width: '30px',
- height: '30px',
- position: 'relative',
- justifyContent: 'center',
- backgroundSize: '32px',
- top: '56px',
- right: '20px',
- alignItems: 'center',
- cursor: 'pointer',
- }}
+ className='camera'
+ // style={{
+ // backgroundColor: `red`,
+ // borderRadius:'20px',
+ // width: '30px',
+ // height: '30px',
+ // position: 'relative',
+ // justifyContent: 'center',
+ // backgroundSize: '32px',
+ // top: '29px',
+ // left: '10px',
+ // alignItems: 'center',
+ // cursor: 'pointer',
+ // }}
onClick={this.fireInputEvent}
role="button"
data-testid="image-upload-section"
>
+
@@ -175,7 +213,7 @@ export class EditProfileDialog extends React.Component<{}, State> {
this.setState({
newAvatarObjectUrl: scaledAvatarUrl,
mode: 'edit',
- loading: true,
+ loading: false,
});
this.onClickOK();
}
@@ -183,8 +221,8 @@ export class EditProfileDialog extends React.Component<{}, State> {
private renderDefaultView() {
const name = this.state.setProfileName || this.state.profileName;
- const mode = this.state.mode == 'qr' ? 'default' : 'qr';
- const SwicthContact = mode == 'qr' ? 'qr_code' : 'profile_share';
+ // const mode = this.state.mode == 'qr' ? 'default' : 'qr';
+ // const SwicthContact = mode == 'qr' ? 'qr_code' : 'profile_share';
return (
<>
{this.renderProfileHeader()}
@@ -208,7 +246,7 @@ export class EditProfileDialog extends React.Component<{}, State> {
/>
-
{
/>
)}
-
+
*/}
>
);
@@ -265,7 +303,7 @@ export class EditProfileDialog extends React.Component<{}, State> {
value={this.state.profileName}
placeholder={placeholderText}
onChange={this.onNameEdited}
- maxLength={MAX_USERNAME_LENGTH}
+ maxLength={MAX_USERNAME_LENGTH - 1}
tabIndex={0}
required={true}
aria-required={true}
@@ -273,51 +311,91 @@ export class EditProfileDialog extends React.Component<{}, State> {
/>
-
this.onClickOK()}>
+ {/*
*/}
+
+
>
);
}
-
+ private renderBnsVerified(isBnsHolder: any) {
+ const i18n = window.i18n;
+ return (
+
+ {!isBnsHolder ? (
+ <>
+
{
+ window.inboxStore?.dispatch(editProfileModal(null));
+ window.inboxStore?.dispatch(bnsLinkModal({}));
+ }}
+ >
+
+
+
+ {i18n('linkYourBns')}
+
+
window.inboxStore?.dispatch(updateAboutBnsModal({}))}>
+ {i18n('readMoreAboutBNS')}
+
+
+
+ >
+ ) : (
+
+ {i18n('bnsVerified')}
+
+
+ )}
+
+ );
+ }
private renderAddressView(props: any) {
let walletAddress = localStorage.getItem('userAddress');
return (
-
{window.i18n('BchatID')}
-
-
{props.bchatID}
+ {/*
{window.i18n('BchatID')}
*/}
+
+
+
{window.i18n('BchatID')}
+
+ {props.bchatID}
+
+
copyBchatID(props.bchatID)}
className="bchat-id-section-display-icon"
data-tip="Copy"
data-place="right"
data-offset="{'top':17}"
+ onClick={() => copyBchatID(props.bchatID)}
>
-
-
-
+
-
{window.i18n('profileBeldexAddres')}
-
-
- {walletAddress}
+ {/*
{window.i18n('profileBeldexAddres')}
*/}
+
+
+
{window.i18n('beldexAddress')}
+
+ {walletAddress}
+
-
copyBchatID(walletAddress)}
data-tip="Copy"
data-place="right"
@@ -336,6 +414,16 @@ export class EditProfileDialog extends React.Component<{}, State> {
transform="translate(-2 -2)"
/>
+
*/}
+
copyBchatID(walletAddress)}
+ >
+
@@ -343,10 +431,16 @@ export class EditProfileDialog extends React.Component<{}, State> {
);
}
+ private qrStatusUpdate() {
+ const mode = this.state.mode == 'qr' ? 'default' : 'qr';
+
+ this.setState(state => ({ ...state, mode: mode }));
+ }
+
private renderQrView(props: any) {
return (
-
+ {/*
*/}
{window.i18n('scanQr')}
@@ -355,15 +449,22 @@ export class EditProfileDialog extends React.Component<{}, State> {
private renderAvatar() {
const { oldAvatarPath, newAvatarObjectUrl, profileName } = this.state;
- const userName = profileName || this.convo.id;
+ // const userName = profileName || this.convo.id;
return (
-
+
+
+
);
}
@@ -393,24 +494,23 @@ export class EditProfileDialog extends React.Component<{}, State> {
* Tidy the profile name input text and save the new profile name and avatar
*/
private onClickOK() {
- const { newAvatarObjectUrl, profileName } = this.state;
- const newName = profileName ? profileName.trim() : '';
-
- if (newName.length === 0 || newName.length > MAX_USERNAME_LENGTH) {
- return;
- }
-
+ const { newAvatarObjectUrl, profileName, setProfileName } = this.state;
+ const newName = profileName.trim() ? profileName.trim() : setProfileName;
+ // if (newName.length === 0 || newName.length > MAX_USERNAME_LENGTH) {
+ // ToastUtils.pushToastError('invalid name', 'invalid name');
+ // return;
+ // }
this.setState(
{
loading: true,
},
async () => {
- await commitProfileEdits(newName, newAvatarObjectUrl);
+ await commitProfileEdits(setProfileName, newName, newAvatarObjectUrl);
this.setState({
loading: false,
-
mode: 'default',
- setProfileName: this.state.profileName,
+ setProfileName: newName,
+ profileName: newName,
});
}
);
@@ -422,7 +522,11 @@ export class EditProfileDialog extends React.Component<{}, State> {
}
}
-async function commitProfileEdits(newName: string, scaledAvatarUrl: string | null) {
+async function commitProfileEdits(
+ oldName: string,
+ newName: string,
+ scaledAvatarUrl: string | null
+) {
const ourNumber = UserUtils.getOurPubKeyStrFromCache();
const conversation = await getConversationController().getOrCreateAndWait(
ourNumber,
@@ -445,6 +549,10 @@ async function commitProfileEdits(newName: string, scaledAvatarUrl: string | nul
error && error.stack ? error.stack : error
);
}
+ // return;
+ }
+ if (oldName === newName) {
+ console.log('same profile name');
return;
}
// do not update the avatar if it did not change
@@ -457,18 +565,6 @@ async function commitProfileEdits(newName: string, scaledAvatarUrl: string | nul
await SyncUtils.forceSyncConfigurationNowIfNeeded(true);
}
-const Loader = styled.div`
- position: absolute;
- top: 0;
- display: flex;
- justify-content: center;
- /* width: 100%; */
- width: 100vw;
- height: 100%;
- align-items: center;
- z-index: 101;
-`;
-
export function copyBchatID(bchatID: any) {
window.clipboard.writeText(bchatID);
ToastUtils.pushCopiedToClipBoard();
diff --git a/ts/components/dialog/InviteContactDialog.tsx b/ts/components/dialog/InviteContactDialog.tsx
new file mode 100644
index 00000000..b018fcf7
--- /dev/null
+++ b/ts/components/dialog/InviteContactDialog.tsx
@@ -0,0 +1,208 @@
+import React, { forwardRef, useImperativeHandle } from 'react';
+
+import { getConversationController } from '../../bchat/conversations';
+import { ToastUtils, UserUtils } from '../../bchat/utils';
+import { ConversationTypeEnum } from '../../models/conversation';
+import { getCompleteUrlForV2ConvoId } from '../../interactions/conversationInteractions';
+import _ from 'lodash';
+import { VALIDATION } from '../../bchat/constants';
+import { SpacerLG } from '../basic/Text';
+import { useDispatch, useSelector } from 'react-redux';
+import { updateInviteContactModal } from '../../state/ducks/modalDialog';
+// tslint:disable-next-line: no-submodule-imports
+import useKey from 'react-use/lib/useKey';
+
+import { MemberListItem } from '../MemberListItem';
+
+import { getPrivateContactsPubkeys } from '../../state/selectors/conversations';
+import { useConversationPropsById } from '../../hooks/useParamSelector';
+import { useSet } from '../../hooks/useSet';
+import { initiateClosedGroupUpdate } from '../../bchat/group/closed-group';
+import { BchatWrapperModal } from '../BchatWrapperModal';
+import { BchatButtonColor } from '../basic/BchatButton';
+
+// Define the ref type
+export type onClickRef = {
+ onclick: () => void;
+};
+
+type Props = {
+ conversationId: string;
+ ref: onClickRef;
+};
+
+
+const submitForOpenGroup = async (conversationId: string, pubkeys: Array
) => {
+ const completeUrl = await getCompleteUrlForV2ConvoId(conversationId);
+ const convo = getConversationController().get(conversationId);
+ if (!convo || !convo.isPublic()) {
+ throw new Error('submitForOpenGroup group not found');
+ }
+ const groupInvitation = {
+ url: completeUrl,
+ name: convo.getName() || 'Unknown',
+ };
+ pubkeys.forEach(async pubkeyStr => {
+ const privateConvo = await getConversationController().getOrCreateAndWait(
+ pubkeyStr,
+ ConversationTypeEnum.PRIVATE
+ );
+
+ if (privateConvo) {
+ void privateConvo.sendMessage({
+ body: '',
+ attachments: undefined,
+ groupInvitation,
+ preview: undefined,
+ quote: undefined,
+ });
+ }
+ });
+};
+
+const submitForClosedGroup = async (convoId: string, pubkeys: Array) => {
+ const convo = getConversationController().get(convoId);
+ if (!convo || !convo.isGroup()) {
+ throw new Error('submitForClosedGroup group not found');
+ }
+ // closed group chats
+ const ourPK = UserUtils.getOurPubKeyStrFromCache();
+ // we only care about real members. If a member is currently a zombie we have to be able to add him back
+ let existingMembers = convo.get('members') || [];
+ // at least make sure it's an array
+ if (!Array.isArray(existingMembers)) {
+ existingMembers = [];
+ }
+ existingMembers = _.compact(existingMembers);
+ const existingZombies = convo.get('zombies') || [];
+ const newMembers = pubkeys.filter(d => !existingMembers.includes(d));
+
+ if (newMembers.length > 0) {
+ // Do not trigger an update if there is too many members
+ // be sure to include current zombies in this count
+ if (
+ newMembers.length + existingMembers.length + existingZombies.length >
+ VALIDATION.CLOSED_GROUP_SIZE_LIMIT
+ ) {
+ ToastUtils.pushTooManyMembers();
+ return;
+ }
+
+ const allMembers = _.concat(existingMembers, newMembers, [ourPK]);
+ const uniqMembers = _.uniq(allMembers);
+
+ const groupId = convo.get('id');
+ const groupName = convo.get('name');
+
+ await initiateClosedGroupUpdate(groupId, groupName || window.i18n('unknown'), uniqMembers);
+ }
+};
+
+// tslint:disable-next-line: max-func-body-length
+const InviteContactsInnerDialog = forwardRef((props, ref) => {
+ const { conversationId } = props;
+ const dispatch = useDispatch();
+
+ const privateContactPubkeys = useSelector(getPrivateContactsPubkeys);
+ let validContactsForInvite = _.clone(privateContactPubkeys);
+
+ const convoProps = useConversationPropsById(conversationId);
+
+ const { uniqueValues: selectedContacts, addTo, removeFrom } = useSet();
+
+ if (!convoProps) {
+ throw new Error('InviteContactsDialogInner not a valid convoId given');
+ }
+ if (!convoProps.isGroup) {
+ throw new Error('InviteContactsDialogInner must be a group');
+ }
+ if (!convoProps.isPublic) {
+ // filter our zombies and current members from the list of contact we can add
+ const members = convoProps.members || [];
+ const zombies = convoProps.zombies || [];
+ validContactsForInvite = validContactsForInvite.filter(
+ d => !members.includes(d) && !zombies.includes(d)
+ );
+ }
+
+ const isPublicConvo = convoProps.isPublic;
+
+ const closeDialog = () => {
+ dispatch(updateInviteContactModal(null));
+ };
+
+ // Pass the ref to the useImperativeHandle hook
+ useImperativeHandle(ref, () => ({
+ onclick: () => {
+ onClickOK();
+ },
+ }));
+
+ const onClickOK = () => {
+ if (selectedContacts.length > 0) {
+ if (isPublicConvo) {
+ void submitForOpenGroup(conversationId, selectedContacts);
+ } else {
+ void submitForClosedGroup(conversationId, selectedContacts);
+ }
+ }
+
+ closeDialog();
+ };
+
+ useKey((event: KeyboardEvent) => {
+ return event.key === 'Enter';
+ }, onClickOK);
+
+ useKey((event: KeyboardEvent) => {
+ return event.key === 'Esc' || event.key === 'Escape';
+ }, closeDialog);
+
+ const hasContacts = validContactsForInvite.length > 0;
+
+ return (
+ <>
+ onClickOK(),
+ }}
+ cancelButton={{
+ status: true,
+ text: window.i18n('cancel'),
+ buttonColor: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => closeDialog(),
+ }}
+ >
+
+
+
+ {hasContacts ? (
+ validContactsForInvite.map((member: string) => (
+
+ ))
+ ) : (
+ <>
+
+
{window.i18n('noContactsToAdd')}
+
+ >
+ )}
+
+
+
+ >
+ );
+});
+
+export const InviteContactsDialog = InviteContactsInnerDialog;
diff --git a/ts/components/dialog/ModalContainer.tsx b/ts/components/dialog/ModalContainer.tsx
index fe24dc55..309ebcb0 100644
--- a/ts/components/dialog/ModalContainer.tsx
+++ b/ts/components/dialog/ModalContainer.tsx
@@ -19,13 +19,19 @@ import {
getChangePasswordModalState,
getwalletSettingMiniModalState,
getTransactionInitModal,
+ getInsufficientBalanceModal,
getwalletSendConfirmModal,
getBchatUpdateInstruntion,
getBchatWalletPasswordModal,
getBchatAlertConfirmModal,
+ getBnsLinkDialog,
+ getAboutBnsModal,
+ getBchatWalletForgotPasswordModal,
+ getMessageMoreInfoModal,
+ getCommunityGuidelinesModal,
} from '../../state/selectors/modal';
import { AdminLeaveClosedGroupDialog } from './AdminLeaveClosedGroupDialog';
-import { InviteContactsDialog } from './InviteContactsDialog';
+// import { InviteContactsDialog } from '../conversation/InviteContacts';
import { DeleteAccountModal } from './DeleteAccountModal';
import { EditProfileDialog } from './EditProfileDialog';
import { OnionPathModal } from './OnionStatusPathDialog';
@@ -42,10 +48,18 @@ import { BanOrUnBanUserDialog } from './BanOrUnbanUserDialog';
import { ChangePassword } from '../wallet/BchatWalletChangePassword';
import { WalletModal } from '../wallet/BchatWalletModal';
import { TransactionInitModal } from '../wallet/BchatWalletTransactionInitModal';
+import { InsufficientBalanceModal } from '../wallet/BchatWalletInsufficientBalanceModal';
import { BchatSendConfirm } from './BchatWalletSendConfirmModal';
import BchatUpdateInstruntion from './updateInstructionModal';
import { BchatWalletPasswordModal } from './BchatWalletPasswordModal';
import { BchatAlertConfirmModal } from './bchatAlertConfirmModal';
+import {BnsLinkDialog} from './BnsLinkDialog'
+import { AboutBnsDialog } from './AboutBnsDialog';
+import { BchatWalletForgotPasswordModal } from './BchatWalletForgotPasswordModal';
+import { MessageMoreInfoModal } from '../conversation/message/message-item/MessageDetail';
+import { InviteContactsDialog } from './InviteContactDialog';
+import { CommunityGuidelinesDialog } from './CommunityGuidelinesDialog';
+
export const ModalContainer: any = () => {
const confirmModalState = useSelector(getConfirmModal);
@@ -57,6 +71,7 @@ export const ModalContainer: any = () => {
const userDetailsModalState = useSelector(getUserDetailsModal);
const changeNicknameModal = useSelector(getChangeNickNameDialog);
const editProfileModalState = useSelector(getEditProfileDialog);
+ const bnsLinkModalState = useSelector(getBnsLinkDialog);
const onionPathModalState = useSelector(getOnionPathDialog);
const recoveryPhraseModalState = useSelector(getRecoveryPhraseDialog);
const adminLeaveClosedGroupModalState = useSelector(getAdminLeaveClosedGroupDialog);
@@ -66,10 +81,16 @@ export const ModalContainer: any = () => {
const ChangePasswordModalState = useSelector(getChangePasswordModalState);
const walletSettingMiniModal = useSelector(getwalletSettingMiniModalState);
const TransactionInitModalState = useSelector(getTransactionInitModal);
+ const InsufficientBalanceModalState = useSelector(getInsufficientBalanceModal);
const BchatSendConfirmState = useSelector(getwalletSendConfirmModal);
const BchatUpdateInstruntionState = useSelector(getBchatUpdateInstruntion);
const BchatWalletPasswordModalState = useSelector(getBchatWalletPasswordModal);
+ const BchatWalletForgotPasswordModalState=useSelector(getBchatWalletForgotPasswordModal)
const BchatAlertConfirmModalState = useSelector(getBchatAlertConfirmModal);
+ const aboutBnsModalState=useSelector(getAboutBnsModal);
+ const messageMoreInfoState=useSelector(getMessageMoreInfoModal);
+ const communityGuidelinesModalState=useSelector(getCommunityGuidelinesModal);
+
return (
<>
@@ -84,6 +105,8 @@ export const ModalContainer: any = () => {
{userDetailsModalState && }
{changeNicknameModal && }
{editProfileModalState && }
+ {bnsLinkModalState && }
+
{onionPathModalState && }
{recoveryPhraseModalState && }
{adminLeaveClosedGroupModalState && (
@@ -95,10 +118,17 @@ export const ModalContainer: any = () => {
{ChangePasswordModalState && }
{walletSettingMiniModal && }
{TransactionInitModalState && }
+ {InsufficientBalanceModalState && }
{BchatSendConfirmState && }
{BchatUpdateInstruntionState && }
- {BchatWalletPasswordModalState && }
+ {BchatWalletPasswordModalState && (
+
+ )}
+ {BchatWalletForgotPasswordModalState && }
{BchatAlertConfirmModalState && }
+ {aboutBnsModalState && }
+ {messageMoreInfoState && }
+ {communityGuidelinesModalState && }
>
);
};
diff --git a/ts/components/dialog/OnionStatusPathDialog.tsx b/ts/components/dialog/OnionStatusPathDialog.tsx
index 397dc6b8..ce91b2a2 100644
--- a/ts/components/dialog/OnionStatusPathDialog.tsx
+++ b/ts/components/dialog/OnionStatusPathDialog.tsx
@@ -38,7 +38,7 @@ const OnionCountryDisplay = ({
{index === 1 ? 'Entry Node' : index !== 0 && index !== 4 ? 'Master Node' : labelText}
-
+
{index !== 0 && index !== 4 ? labelText + '(' + snodeIp + ')' :
}
@@ -66,15 +66,17 @@ const OnionPathModalInner = () => {
];
return (
- <>
-
+ {/*
- {window.i18n('onionPathIndicatorDescription')}
+ margin="auto"
+ > */}
+
+
{window.i18n('onionPathIndicatorDescription')}
@@ -107,8 +109,9 @@ const OnionPathModalInner = () => {
-
- >
+
+ {/* */}
+
);
};
@@ -127,7 +130,7 @@ export const OnionNodeStatusLight = (props: OnionNodeStatusLightType): JSX.Eleme
);
};
diff --git a/ts/components/dialog/UpdateGroupNameDialog.tsx b/ts/components/dialog/UpdateGroupNameDialog.tsx
index 82186431..2a459432 100644
--- a/ts/components/dialog/UpdateGroupNameDialog.tsx
+++ b/ts/components/dialog/UpdateGroupNameDialog.tsx
@@ -2,17 +2,17 @@ import React from 'react';
import classNames from 'classnames';
import { Avatar, AvatarSize } from '../avatar/Avatar';
-import { SpacerMD } from '../basic/Text';
+import { SpacerLG, SpacerMD } from '../basic/Text';
import { updateGroupNameModal } from '../../state/ducks/modalDialog';
import autoBind from 'auto-bind';
import { ConversationModel } from '../../models/conversation';
import { getConversationController } from '../../bchat/conversations';
import { BchatWrapperModal } from '../BchatWrapperModal';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { initiateOpenGroupUpdate } from '../../bchat/group/open-group';
import { initiateClosedGroupUpdate } from '../../bchat/group/closed-group';
import { pickFileForAvatar } from '../../types/attachments/VisualAttachment';
-
+import { BchatIconButton } from '../icon';
type Props = {
conversationId: string;
@@ -97,6 +97,19 @@ export class UpdateGroupNameDialog extends React.Component {
// tslint:disable-next-line: no-void-expression
onClose={() => this.closeDialog()}
additionalClassName="update-group-dialog"
+ okButton={{
+ text: okText,
+ onClickOkHandler: () => this.onClickOK(),
+ color: BchatButtonColor.Primary,
+ disabled: false,
+ }}
+ cancelButton={{
+ text: cancelText,
+ status: true,
+ color: BchatButtonColor.Secondary,
+ onClickCancelHandler: () => this.closeDialog(),
+ }}
+
>
{this.state.errorDisplayed ? (
<>
@@ -110,23 +123,29 @@ export class UpdateGroupNameDialog extends React.Component {
{isAdmin ? (
-
-
- this.setState({groupName:""})}>x
+
+
+ this.setState({ groupName: "" })}
+ iconType={'xWithCircle'}
+ iconSize={24}
+ />{' '}
+
) : null}
+
-
+ {/*
{
onClick={this.onClickOK}
buttonColor={BchatButtonColor.Green}
/>
-
+
*/}
);
}
@@ -178,8 +197,7 @@ export class UpdateGroupNameDialog extends React.Component {
private onGroupNameChanged(event: any) {
const groupName = event.target.value;
- if(groupName.length<=26)
- {
+ if (groupName.length <= 26) {
this.setState(state => {
return {
...state,
@@ -187,7 +205,6 @@ export class UpdateGroupNameDialog extends React.Component {
};
});
}
-
}
private renderAvatar() {
diff --git a/ts/components/dialog/UserDetailsDialog.tsx b/ts/components/dialog/UserDetailsDialog.tsx
index 32ecfeed..7f45f0b6 100644
--- a/ts/components/dialog/UserDetailsDialog.tsx
+++ b/ts/components/dialog/UserDetailsDialog.tsx
@@ -7,9 +7,11 @@ import { getConversationController } from '../../bchat/conversations';
import { ToastUtils } from '../../bchat/utils';
import { openConversationWithMessages } from '../../state/ducks/conversations';
import { updateUserDetailsModal } from '../../state/ducks/modalDialog';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
-import { SpacerLG } from '../basic/Text';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
+import { SpacerLG, SpacerMD, SpacerSM } from '../basic/Text';
import { BchatWrapperModal } from '../BchatWrapperModal';
+import { Flex } from '../basic/Flex';
+import { BchatIconButton } from '../icon';
type Props = {
conversationId: string;
@@ -20,9 +22,7 @@ type Props = {
export const UserDetailsDialog = (props: Props) => {
const [isEnlargedImageShown, setIsEnlargedImageShown] = useState(false);
const convo = getConversationController().get(props.conversationId);
-
const size = isEnlargedImageShown ? AvatarSize.HUGE : AvatarSize.XL;
-
function closeDialog() {
window.inboxStore?.dispatch(updateUserDetailsModal(null));
}
@@ -51,34 +51,57 @@ export const UserDetailsDialog = (props: Props) => {
}
return (
-
-
-
-
-
{
- setIsEnlargedImageShown(!isEnlargedImageShown);
+ closeDialog(),
+ }}
+ >
+
+
+
-
-
-
-
{convo.id}
-
copyBchatID(convo.id)}
- className="bchat-modal__centered-display-icon"
+ isBnsHolder={convo?.attributes?.isBnsHolder}
+ size={{ width: '20', height: '20' }}
>
-
-
-
-
+
{
+ setIsEnlargedImageShown(!isEnlargedImageShown);
+ }}
+ pubkey={props.conversationId}
+ />
+
+
+
+ {props.userName}
+
+
+
+
+
BChat Id
+
{convo.id}
+
+ copyBchatID(convo.id)}
+ />
+
-
-
-
-
+
);
diff --git a/ts/components/dialog/bchatAlertConfirmModal.tsx b/ts/components/dialog/bchatAlertConfirmModal.tsx
index fcc9b594..554b7daf 100644
--- a/ts/components/dialog/bchatAlertConfirmModal.tsx
+++ b/ts/components/dialog/bchatAlertConfirmModal.tsx
@@ -1,9 +1,11 @@
import React, { useState } from 'react';
import { updateConfirmModal } from '../../state/ducks/modalDialog';
import { SpacerMD } from '../basic/Text';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButtonColor } from '../basic/BchatButton';
import { BchatSpinner } from '../basic/BchatSpinner';
import { BchatWrapperModal } from '../BchatWrapperModal';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../../state/selectors/theme';
// import { useKey } from 'react-use';
export interface BchatAlertConfirmModalProps {
@@ -24,8 +26,8 @@ export const BchatAlertConfirmModal = (props: BchatAlertConfirmModalProps) => {
const { settings = false, onClickOk, onClickClose, onClickCancel, btndisable } = props;
const [isLoading, setIsLoading] = useState(false);
- const okText = window.i18n('ok');
- const cancelText = window.i18n('cancel');
+ const darkMode = useSelector(getTheme) === 'dark';
+ // const cancelText = window.i18n('cancel');
const onClickOkHandler = async () => {
if (onClickOk) {
@@ -59,10 +61,23 @@ export const BchatAlertConfirmModal = (props: BchatAlertConfirmModalProps) => {
// }, onClickOkHandler);
return (
-
+
-
+
{window.i18n('payYouChat')}
@@ -80,23 +95,25 @@ export const BchatAlertConfirmModal = (props: BchatAlertConfirmModalProps) => {
- */}
);
};
diff --git a/ts/components/icon/BchatIcon.tsx b/ts/components/icon/BchatIcon.tsx
index 1afd91e0..c1103e0d 100644
--- a/ts/components/icon/BchatIcon.tsx
+++ b/ts/components/icon/BchatIcon.tsx
@@ -14,6 +14,8 @@ export type BchatIconProps = {
glowStartDelay?: number;
noScale?: boolean;
backgroundColor?: string;
+ fillRule?:'iherit'|'evenodd';
+ clipRule?:'iherit'|'evenodd';
};
const getIconDimensionFromIconSize = (iconSize: BchatIconSize | number) => {
@@ -26,9 +28,9 @@ const getIconDimensionFromIconSize = (iconSize: BchatIconSize | number) => {
case 'small':
return 15;
case 'medium':
- return 20;
+ return 18;
case 'large':
- return 25;
+ return 22;
case 'huge':
return 30;
case 'huge2':
@@ -148,9 +150,15 @@ const BchatSvg = (props: {
borderRadius?: string;
backgroundColor?: string;
iconPadding?: string;
+ fillRule?:string ;
+ clipRule?:string;
}) => {
const colorSvg = props.iconColor;
const pathArray = props.path instanceof Array ? props.path : [props.path];
+ const rules:any=props.fillRule?{
+ fillRule:props.fillRule,
+ clipRule:props.clipRule||"inherit"
+ }:{}
const propsToPick = {
width: props.width,
height: props.height,
@@ -164,13 +172,15 @@ const BchatSvg = (props: {
backgroundColor: props.backgroundColor,
borderRadius: props.borderRadius,
iconPadding: props.iconPadding,
+
};
return (
{pathArray.map((path, index) => {
- return ;
+ return ;
})}
+
);
};
@@ -186,6 +196,9 @@ export const BchatIcon = (props: BchatIconProps) => {
noScale,
backgroundColor,
iconPadding,
+ fillRule,
+ clipRule
+
} = props;
let { iconSize, iconRotation } = props;
iconSize = iconSize || 'medium';
@@ -210,6 +223,8 @@ export const BchatIcon = (props: BchatIconProps) => {
iconColor={iconColor}
backgroundColor={backgroundColor}
iconPadding={iconPadding}
+ fillRule={fillRule}
+ clipRule={clipRule}
/>
);
};
diff --git a/ts/components/icon/BchatIconButton.tsx b/ts/components/icon/BchatIconButton.tsx
index ab257c53..da2e5b0b 100644
--- a/ts/components/icon/BchatIconButton.tsx
+++ b/ts/components/icon/BchatIconButton.tsx
@@ -13,9 +13,14 @@ interface SProps extends BchatIconProps {
dataTestId?: string;
id?: string;
style?: any;
+ padding?: string;
+ btnBgColor?: string;
+ btnRadius?:string
+ fillRule?: 'iherit' | 'evenodd';
+ clipRule?: 'iherit' | 'evenodd';
}
-const BchatIconButtonInner = React.forwardRef((props, ref) => {
+const BchatIconButtonInner = React.forwardRef((props, ref) => {
const {
iconType,
iconSize,
@@ -33,6 +38,11 @@ const BchatIconButtonInner = React.forwardRef((props,
margin,
id,
dataTestId,
+ padding,
+ btnBgColor,
+ btnRadius,
+ fillRule,
+ clipRule,
} = props;
const clickHandler = (e: React.MouseEvent) => {
if (props.onClick) {
@@ -43,12 +53,19 @@ const BchatIconButtonInner = React.forwardRef((props,
return (
((props,
backgroundColor={backgroundColor}
borderRadius={borderRadius}
iconPadding={iconPadding}
+ fillRule={fillRule}
+ clipRule={clipRule}
/>
{Boolean(notificationCount) && }
diff --git a/ts/components/icon/BeldexCoinLogo.tsx b/ts/components/icon/BeldexCoinLogo.tsx
new file mode 100644
index 00000000..5a13f03a
--- /dev/null
+++ b/ts/components/icon/BeldexCoinLogo.tsx
@@ -0,0 +1,55 @@
+import React from 'react';
+
+const BeldexCoinLogo = (props: { iconSize: number }) => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default BeldexCoinLogo;
diff --git a/ts/components/icon/CheckBoxTickIcon.tsx b/ts/components/icon/CheckBoxTickIcon.tsx
new file mode 100644
index 00000000..b2eefac7
--- /dev/null
+++ b/ts/components/icon/CheckBoxTickIcon.tsx
@@ -0,0 +1,25 @@
+import React from 'react';
+
+const CheckBoxTickIcon = (props: { iconSize: number }) => (
+
+
+
+
+);
+
+export default CheckBoxTickIcon;
diff --git a/ts/components/icon/CopyIcon.tsx b/ts/components/icon/CopyIcon.tsx
new file mode 100644
index 00000000..33ce0f4c
--- /dev/null
+++ b/ts/components/icon/CopyIcon.tsx
@@ -0,0 +1,11 @@
+import React from 'react';
+
+const CopyIcon= (props: { iconSize: number,color:string }) => (
+
+
+
+ );
+
+
+export default CopyIcon;
\ No newline at end of file
diff --git a/ts/components/icon/CopyIconButton.tsx b/ts/components/icon/CopyIconButton.tsx
new file mode 100644
index 00000000..cb1fa53f
--- /dev/null
+++ b/ts/components/icon/CopyIconButton.tsx
@@ -0,0 +1,61 @@
+import classNames from 'classnames';
+import { clipboard } from 'electron';
+import React from 'react';
+import { pushUserCopySuccess } from '../../bchat/utils/Toast';
+import _ from 'lodash';
+
+interface SProps{
+ onClick?: (e: React.MouseEvent) => void;
+ notificationCount?: number;
+ isSelected?: boolean;
+ isHidden?: boolean;
+ margin?: string;
+ dataTestId?: string;
+ id?: string;
+ style?: any;
+ iconSize:number;
+ content:string ;
+}
+const CopyIconButtonInner=React.forwardRef((props, ref) => {
+ const {
+ iconSize,
+ isHidden,
+ content,
+ margin,
+ id,
+ dataTestId,
+ } = props;
+ const handleCopy = () => {
+ clipboard.writeText(content, 'clipboard');
+ pushUserCopySuccess()
+ };
+ const clickHandler = (e: React.MouseEvent) => {
+ if (props.onClick) {
+ e.stopPropagation();
+ handleCopy();
+ props.onClick(e);
+ }
+ };
+ return (
+
+ );
+});
+
+export const CopyIconButton=React.memo(CopyIconButtonInner,_.isEqual);
\ No newline at end of file
diff --git a/ts/components/icon/CustomIconButton.tsx b/ts/components/icon/CustomIconButton.tsx
new file mode 100644
index 00000000..a11fcb3d
--- /dev/null
+++ b/ts/components/icon/CustomIconButton.tsx
@@ -0,0 +1,33 @@
+import React from 'react';
+import classNames from 'classnames';
+import _ from 'lodash';
+
+interface CustomProps {
+ onClick?: (e: React.MouseEvent) => void;
+ style?: Object;
+ customIcon: any;
+ className?:string;
+}
+
+const CustomIconButtonInner = React.forwardRef((props, ref) => {
+ const clickHandler = (e: React.MouseEvent) => {
+ if (props.onClick) {
+ e.stopPropagation();
+ props.onClick(e);
+ }
+ };
+ const style:object = { ...props.style ?? {} };
+ return (
+
+ {props.customIcon}
+
+ );
+});
+
+export const CustomIconButton = React.memo(CustomIconButtonInner, _.isEqual);
diff --git a/ts/components/icon/DeclineMessageRequest.tsx b/ts/components/icon/DeclineMessageRequest.tsx
new file mode 100644
index 00000000..158fe633
--- /dev/null
+++ b/ts/components/icon/DeclineMessageRequest.tsx
@@ -0,0 +1,48 @@
+import React from 'react';
+import { getTheme } from '../../state/selectors/theme';
+import { useSelector } from 'react-redux';
+
+const DeclineMessageRequest = (props: { iconSize: number }) => {
+ const darkMode = useSelector(getTheme) === 'dark';
+ return darkMode ? (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ) :
+ (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+};
+
+export default DeclineMessageRequest;
diff --git a/ts/components/icon/DropDownAndToggleButton.tsx b/ts/components/icon/DropDownAndToggleButton.tsx
index ea1d629d..58d6a693 100644
--- a/ts/components/icon/DropDownAndToggleButton.tsx
+++ b/ts/components/icon/DropDownAndToggleButton.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import _ from 'lodash';
import styled from 'styled-components';
import { contextMenu } from 'react-contexify';
+import { BchatIcon } from './BchatIcon';
type SProps = {
onArrowClick: (e: React.MouseEvent) => void;
@@ -9,20 +10,27 @@ type SProps = {
isMuted?: boolean;
hidePopoverArrow?: boolean;
iconType: 'microphone' | 'camera' | 'volume';
+ isSelected?: boolean;
};
-const StyledRoundedButton = styled.div<{ isMuted: boolean }>`
- background-color: #ffffff;
- color: ${props => (props.isMuted ? '#C1C1C1' : '#128b17')};
+const StyledRoundedButton = styled.div<{ isMuted: boolean; isSelected?: boolean }>`
+ // background-color:var(--color-clickable-hovered);
+ color: ${props => (props.isSelected ? '#FF3E3E' : '#128b17')};
border-radius: 50%;
cursor: pointer;
border:1px solid #e6e6e6
transition-duration: 0.25s;
border:var(--bchat-border);
+ background-color: ${props =>
+ props.isSelected ? 'var(--color-call-option-btn-hover)' : 'var(--color-clickable-hovered)'};
&:hover {
- color: #FFFFFF;
- background-color: #2879F9;
+ background-color: var(--color-call-option-btn-hover);
}
+
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ position: relative;
`;
const StyledContainer = styled(StyledRoundedButton)`
@@ -30,43 +38,62 @@ const StyledContainer = styled(StyledRoundedButton)`
height: 60px;
margin: 10px;
opacity: 1;
- &:hover {
- tranform:scale(1.1);
+ &:hover {
+ tranform: scale(1.1);
}
`;
-const StyledMainIcon = styled.div`
- padding: 20px;
+const StyledMainIcon = styled.div<{ fill?: string }>`
+ // padding: 20px;
+ color: ;
+ color: ${props => props.fill};
+ svg {
+ fill: ${props => props.fill};
+ }
`;
const StyledArrowIcon = styled(StyledRoundedButton)`
width: 35%;
height: 35%;
- position: relative;
- top: -35%;
- right: -65%;
- box-shadow: 0 0 4px 0 #f8f8f8;
+ // position: relative;
+ top: 39px;
+ right: 0px;
+ border: 2px solid var(--color-hop-bg);
+
+ position: absolute;
&:hover {
- background-color: #FFFFFF;
- color: #2879F9;
+ background-color: #ffffff;
+ color: #2879f9;
}
`;
const CameraIcon = (
-
-
+
+
);
const SpeakerIcon = (
-
-
+
+
);
const MicrophoneIcon = (
-
-
+
+
);
@@ -84,15 +111,21 @@ export const DropDownAndToggleButton = (props: SProps) => {
};
const iconToRender =
iconType === 'microphone' ? MicrophoneIcon : iconType === 'camera' ? CameraIcon : SpeakerIcon;
-
+ const fillColor = props.isSelected
+ ? iconType === 'camera'
+ ? '#00BD40'
+ : '#FF3E3E'
+ : 'var(--color-text)';
return (
-
- {iconToRender}
+
+ {iconToRender}
{!hidePopoverArrow && (
-
-
-
-
+
+
)}
diff --git a/ts/components/icon/Icons.tsx b/ts/components/icon/Icons.tsx
index a242e1c4..39ebd6f0 100644
--- a/ts/components/icon/Icons.tsx
+++ b/ts/components/icon/Icons.tsx
@@ -3,24 +3,40 @@ export type BchatIconType =
| 'attachment'
| 'appeareance'
| 'addContact'
+ | 'addCirclePlus'
| 'arrow'
+ | 'avatarX'
+ | 'audio'
| 'leaveGroup'
| 'loading'
| 'addMember'
| 'addressBook'
+ | 'bgProcess'
| 'borderWithBeldex'
| 'beldexCoinLogo'
| 'bell'
+ | 'beta'
| 'brand'
+ | 'blockSubmenu'
| 'blockedContact'
+ | 'bnslogo'
| 'callIncoming'
| 'callMissed'
+ | 'callMissedConfirm'
| 'callOutgoing'
+ | 'call'
| 'caret'
+ | 'camera'
+ | 'coverWithA'
| 'chatBubble'
+ | 'chatTimer'
+ | 'chatWithLogo'
| 'check'
+ | 'checkBoxTick'
| 'checkBox'
| 'chevron'
+ | 'chainLink'
+ | 'chatDots'
| 'circle'
| 'circleCheck'
| 'doubleCheckCircleFilled'
@@ -28,11 +44,19 @@ export type BchatIconType =
| 'circlePlus'
| 'circleElipses'
| 'circleChevron'
+ | 'halfCircleWithTick'
+ | 'circleWithTick'
+ | 'circleFillTick'
+ | 'circleTickOutline'
| 'contacts'
| 'copy'
| 'crown'
| 'closedgroup'
+ | 'clearData'
| 'delete'
+ | 'deleteContact'
+ | 'document'
+ | 'editNotes'
| 'ellipses'
| 'emoji'
| 'error'
@@ -43,28 +67,44 @@ export type BchatIconType =
| 'filter'
| 'fullscreen'
| 'fetch'
+ | 'funnelWithBorder'
| 'gear'
| 'groupMember'
| 'globe'
| 'hangup'
+ | 'hangIn'
| 'hops'
| 'info'
+ | 'infoCircle'
+ | 'KeyboardBackspaceArrow'
| 'link'
+ | 'lockWithDots'
| 'lock'
+ | 'leave'
+ | 'lightning'
| 'markAllDone'
| 'markAll'
+ | 'markRead'
| 'messageRequest'
+ | 'members'
| 'microphone'
- | 'microphoneFull'
+ | 'recordMicrophone'
| 'moon'
| 'mute'
| 'notification'
+ | 'notifyBell'
+ | 'notifySet'
+ | 'newChat'
| 'opengroup'
+ | 'oppositeDirDoubleArrow'
| 'pause'
+ | 'paste'
| 'pencil'
| 'pendingTransaction'
- | 'phone'
+ | 'privacy'
+ | 'privacyvideoCam'
| 'pin'
+ | 'pinSubMenu'
| 'play'
| 'plus'
| 'plusThin'
@@ -72,11 +112,17 @@ export type BchatIconType =
| 'request'
| 'reply'
| 'reload'
- | 'send'
+ | 'receipt'
+ | 'resend'
+ | 'rotatedArrow'
| 'paySend'
| 'payRecieved'
| 'bnsTransaction'
| 'payTransaction'
+ | 'peopleGrp'
+ | 'sun'
+ | 'speaker'
+ | 'send'
| 'search'
| 'shield'
| 'star'
@@ -87,6 +133,7 @@ export type BchatIconType =
| 'forwardArrow'
| 'backArrow'
| 'warning'
+ | 'warningCircle'
| 'walletSetting'
| 'wallet'
| 'walletBackArrow'
@@ -110,10 +157,32 @@ export type BchatIconType =
| 'timer55'
| 'timer60'
| 'tickCircle'
+ | 'tickBoxCurve'
+ | 'twoMember'
| 'profileCamera'
| 'videoCamera'
+ | 'videoCall'
+ | 'video'
| 'sadEmoji'
- | 'chat';
+ | 'chat'
+ | 'qr_code'
+ | 'save_tick'
+ | 'xWithCircle'
+ | 'zoom'
+ | 'linkPreview'
+ | 'enablePasswordIcon'
+ | 'clearDataIcon'
+ | 'currentRpcNodeIcon'
+ | 'priorityIcon'
+ | 'decimalsIcon'
+ | 'displayCurrency'
+ | 'saveRecipientAddress'
+ | 'inviteContact'
+ | 'changePasswordIcon'
+ | 'openLink'
+ | 'trustDownloadMedia'
+ | 'downloadAttachment'
+ | 'openLinkBtn';
export type BchatIconSize = 'tiny' | 'small' | 'medium' | 'large' | 'huge' | 'huge2' | 'max';
@@ -136,10 +205,16 @@ export const icons = {
viewBox: '0 0 21.266 21.266',
ratio: 1,
},
+ addCirclePlus: {
+ path:
+ 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
addressBook: {
path:
- 'M5.852,4V8.259H5v1.7H7.555V5.7H21.183V22.738H7.555V20.183h-1.7v4.259H22.886V4Zm8.517,5.11A3.388,3.388,0,0,0,12,14.939a4.294,4.294,0,0,0-1.89,3.54h1.7a2.555,2.555,0,1,1,5.11,0h1.7a4.294,4.294,0,0,0-1.89-3.54A3.388,3.388,0,0,0,14.369,9.11Zm-8.517,1.7v1.7H5v1.7H7.555V10.814Zm8.517,0a1.7,1.7,0,1,1-1.7,1.7A1.69,1.69,0,0,1,14.369,10.814ZM5.852,15.072v1.7H5v1.7H7.555V15.072Z',
- viewBox: '1 0 24.886 29.441',
+ 'M6.41699 11.1667C6.00278 11.1667 5.66699 11.5025 5.66699 11.9167C5.66699 12.331 6.00278 12.6667 6.41699 12.6667H13.7503C14.1645 12.6667 14.5003 12.331 14.5003 11.9167C14.5003 11.5025 14.1645 11.1667 13.7503 11.1667H6.41699ZM6.41699 14.8333C6.00278 14.8333 5.66699 15.169 5.66699 15.5833C5.66699 15.9975 6.00278 16.3333 6.41699 16.3333H11.0003C11.4145 16.3333 11.7503 15.9975 11.7503 15.5833C11.7503 15.169 11.4145 14.8333 11.0003 14.8333H6.41699ZM7.33301 1.08325C7.74722 1.08325 8.08301 1.41904 8.08301 1.83325V2.45825H13.9165V1.83325C13.9165 1.41904 14.2523 1.08325 14.6665 1.08325C15.0807 1.08325 15.4165 1.41904 15.4165 1.83325V2.5184C16.7106 2.66859 17.841 3.05991 18.6608 3.97186C19.6139 5.03218 20 6.63503 20 8.84575V14.5108C20 16.4098 19.7826 18.0771 18.7903 19.2451C17.7711 20.4449 16.1117 20.9258 13.75 20.9258H8.25C5.88829 20.9258 4.22894 20.4449 3.20966 19.2451C2.21743 18.0771 2 16.4098 2 14.5108V8.84575C2 6.63498 2.38608 5.03417 3.33955 3.97492C4.15926 3.06427 5.2896 2.67315 6.58301 2.52022V1.83325C6.58301 1.41904 6.91879 1.08325 7.33301 1.08325ZM6.58301 4.03262C5.57519 4.17441 4.90729 4.47533 4.45441 4.97845C3.87934 5.61733 3.5 6.74819 3.5 8.84575V14.5108C3.5 16.3883 3.7409 17.5536 4.35284 18.2739C4.93773 18.9624 6.02838 19.4258 8.25 19.4258H13.75C15.9716 19.4258 17.0623 18.9624 17.6472 18.2739C18.2591 17.5536 18.5 16.3883 18.5 14.5108V8.84575C18.5 6.74814 18.1206 5.61474 17.5453 4.97464C17.0924 4.47083 16.4244 4.16972 15.4165 4.03035V4.58325C15.4165 4.99747 15.0807 5.33325 14.6665 5.33325C14.2523 5.33325 13.9165 4.99747 13.9165 4.58325V3.95825H8.08301V4.58325C8.08301 4.99747 7.74722 5.33325 7.33301 5.33325C6.91879 5.33325 6.58301 4.99747 6.58301 4.58325V4.03262Z',
+ viewBox: '0 0 22 22',
ratio: 1,
},
arrow: {
@@ -150,23 +225,41 @@ export const icons = {
viewBox: '0 0 22.684 23.825',
ratio: 2,
},
+ avatarX: {
+ path:
+ 'M7.75127 3.06989C8.35037 2.48181 9.15634 2.15234 9.99583 2.15234C10.8353 2.15234 11.6413 2.48181 12.2404 3.06989C12.8395 3.65797 13.1839 4.45768 13.1994 5.29703C13.215 6.13638 12.9006 6.94832 12.3237 7.55824C11.7534 8.16122 10.9717 8.51911 10.1433 8.55728C10.0451 8.55007 9.94653 8.55007 9.84832 8.55728C9.01998 8.51911 8.23824 8.16122 7.66794 7.55824C7.09109 6.94833 6.77664 6.13638 6.79222 5.29703C6.8078 4.45768 7.15218 3.65797 7.75127 3.06989ZM9.99583 1.15234C8.89434 1.15234 7.83683 1.58464 7.05076 2.35625C6.26469 3.12786 5.81284 4.17716 5.79239 5.27847C5.77194 6.37977 6.18453 7.44512 6.94142 8.24538C7.69831 9.04564 8.73903 9.51689 9.83977 9.55778C9.8611 9.55857 9.88246 9.558 9.90371 9.55606C9.965 9.55048 10.0267 9.55048 10.088 9.55606C10.1092 9.558 10.1306 9.55857 10.1519 9.55778C11.2526 9.51689 12.2934 9.04564 13.0502 8.24538C13.8071 7.44512 14.2197 6.37978 14.1993 5.27847C14.1788 4.17716 13.727 3.12786 12.9409 2.35625C12.1548 1.58464 11.0973 1.15234 9.99583 1.15234ZM9.99583 11.4831C8.62161 11.4831 7.27292 11.8539 6.09188 12.5562C5.19514 13.1564 4.8125 13.8973 4.8125 14.5759C4.8125 15.2556 5.19643 15.9999 6.09631 16.6047C7.26392 17.3295 8.61628 17.7012 9.99043 17.6749C10.2665 17.6696 10.4946 17.8892 10.4999 18.1653C10.5052 18.4413 10.2857 18.6694 10.0096 18.6747C8.43938 18.7048 6.89413 18.2792 5.5608 17.4493L5.54686 17.4403C4.43496 16.696 3.8125 15.6674 3.8125 14.5759C3.8125 13.484 4.43533 12.4571 5.54805 11.7169C5.55484 11.7123 5.56175 11.708 5.56875 11.7038C6.90728 10.9049 8.43703 10.4831 9.99583 10.4831C11.5546 10.4831 13.0844 10.9049 14.4229 11.7038C14.66 11.8453 14.7375 12.1523 14.596 12.3894C14.4545 12.6265 14.1475 12.704 13.9104 12.5625C12.7268 11.8561 11.3742 11.4831 9.99583 11.4831ZM13.274 14.2186C12.9825 13.9271 12.51 13.9271 12.2186 14.2186C11.9271 14.51 11.9271 14.9825 12.2186 15.274L13.4446 16.5L12.2186 17.726C11.9271 18.0175 11.9271 18.49 12.2186 18.7814C12.51 19.0729 12.9825 19.0729 13.274 18.7814L14.5 17.5554L15.726 18.7814C16.0175 19.0729 16.49 19.0729 16.7814 18.7814C17.0729 18.49 17.0729 18.0175 16.7814 17.726L15.5554 16.5L16.7814 15.274C17.0729 14.9825 17.0729 14.51 16.7814 14.2186C16.49 13.9271 16.0175 13.9271 15.726 14.2186L14.5 15.4446L13.274 14.2186Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ audio: {
+ path:
+ 'M8.00006 0.666748C6.34901 0.666748 5.00006 2.01571 5.00006 3.66675V8.66675C5.00006 10.3178 6.34901 11.6667 8.00006 11.6667C9.6511 11.6667 11.0001 10.3178 11.0001 8.66675V3.66675C11.0001 2.01571 9.6511 0.666748 8.00006 0.666748ZM8.00006 1.66675C9.11059 1.66675 10.0001 2.55622 10.0001 3.66675V8.66675C10.0001 9.77728 9.11059 10.6667 8.00006 10.6667C6.88952 10.6667 6.00006 9.77728 6.00006 8.66675V3.66675C6.00006 2.55622 6.88952 1.66675 8.00006 1.66675ZM3.49195 6.99314C3.21649 6.99719 2.996 7.22404 3.00005 7.50008V8.66675C3.00005 11.2536 4.97806 13.3895 7.50006 13.6413V15.1667C7.49774 15.3473 7.59207 15.5145 7.74774 15.6054C7.90399 15.6968 8.09612 15.6968 8.25237 15.6054C8.40804 15.5145 8.50237 15.3473 8.50006 15.1667V13.6413C11.022 13.3895 13.0001 11.2536 13.0001 8.66675V7.50008C13.0024 7.31953 12.908 7.15228 12.7524 7.06142C12.5961 6.96999 12.404 6.96999 12.2477 7.06142C12.0921 7.15228 11.9977 7.31953 12.0001 7.50008V8.66675C12.0001 10.8618 10.2466 12.6314 8.05908 12.6633C8.03709 12.661 8.01452 12.6592 7.99195 12.6598C7.97401 12.6598 7.9555 12.661 7.93756 12.6633C5.75179 12.6297 4.00006 10.8606 4.00006 8.66675V7.50008C4.00179 7.36467 3.94913 7.23446 3.85364 7.13897C3.75758 7.04348 3.62737 6.99082 3.49195 6.99314Z',
+ viewBox: '0 0 16 16',
+ ratio: 1,
+ },
leaveGroup: {
path:
- 'M3.574,1A2.584,2.584,0,0,0,1,3.574V20.736A2.584,2.584,0,0,0,3.574,23.31H20.736a2.584,2.584,0,0,0,2.574-2.574v-4.29l-1.716,1.716v2.574a.847.847,0,0,1-.858.858H3.574a.847.847,0,0,1-.858-.858V3.574a.847.847,0,0,1,.858-.858H20.736a.847.847,0,0,1,.858.858V6.149L23.31,7.865V3.574A2.584,2.584,0,0,0,20.736,1ZM17.7,6.189,16.479,7.4l3.9,3.9H7.865v1.716H20.381l-3.9,3.895,1.22,1.22,5.966-5.973Z',
- viewBox: '0 0 22.666 22.31',
+ 'M9.15095 3.45071C8.45609 4.01453 8.03805 4.91749 7.91531 6.34285C7.89162 6.61797 7.64938 6.8218 7.37426 6.79811C7.09913 6.77442 6.89531 6.53218 6.919 6.25705C7.05459 4.68241 7.53655 3.47287 8.52086 2.67419C9.49137 1.8867 10.8589 1.57495 12.5922 1.57495H12.7005C14.6124 1.57495 16.0811 1.95473 17.0592 2.93286C18.0374 3.91099 18.4172 5.37967 18.4172 7.29162V12.725C18.4172 14.6369 18.0374 16.1056 17.0592 17.0837C16.0811 18.0618 14.6124 18.4416 12.7005 18.4416H12.5922C10.8715 18.4416 9.51201 18.1341 8.54335 17.3591C7.56024 16.5726 7.07226 15.381 6.92765 13.8297C6.90202 13.5547 7.10413 13.3111 7.37908 13.2854C7.65403 13.2598 7.8977 13.4619 7.92333 13.7369C8.05372 15.1356 8.47407 16.0231 9.16804 16.5783C9.87647 17.145 10.9628 17.4416 12.5922 17.4416H12.7005C14.5135 17.4416 15.6532 17.0756 16.3521 16.3766C17.0511 15.6777 17.4172 14.538 17.4172 12.725V7.29162C17.4172 5.47857 17.0511 4.33892 16.3521 3.63996C15.6532 2.94101 14.5135 2.57495 12.7005 2.57495H12.5922C10.9504 2.57495 9.85961 2.8757 9.15095 3.45071ZM5.22872 6.85476C5.42398 7.05002 5.42398 7.3666 5.22872 7.56187L3.29062 9.49996H12.5003C12.7764 9.49996 13.0003 9.72382 13.0003 9.99996C13.0003 10.2761 12.7764 10.5 12.5003 10.5H3.29058L5.22872 12.4381C5.42398 12.6334 5.42398 12.9499 5.22872 13.1452C5.03345 13.3405 4.71687 13.3405 4.52161 13.1452L1.72994 10.3535C1.53468 10.1583 1.53468 9.84169 1.72994 9.64643L4.52161 6.85476C4.71687 6.6595 5.03345 6.6595 5.22872 6.85476Z',
+ viewBox: '0 0 20 20',
ratio: 1,
- rotate: 180,
},
appeareance: {
path:
- 'M9.228,2A2.708,2.708,0,0,0,6.683,3.807H2.9a.9.9,0,1,0,0,1.807h3.78A2.706,2.706,0,1,0,9.228,2Zm5.421,1.807a.9.9,0,1,0,0,1.807h4.518a.9.9,0,1,0,0-1.807Zm-.9,4.518A2.708,2.708,0,0,0,11.2,10.132H2.9a.9.9,0,1,0,0,1.807h8.3a2.706,2.706,0,1,0,2.545-3.614Zm5.421,1.807a.9.9,0,1,0,.9.9.9.9,0,0,0-.9-.9ZM6.518,14.649a2.708,2.708,0,0,0-2.545,1.807H2.9a.9.9,0,1,0,0,1.807H3.973a2.706,2.706,0,1,0,2.545-3.614Zm5.421,1.807a.9.9,0,1,0,0,1.807h7.228a.9.9,0,1,0,0-1.807Z',
- viewBox: '0 0 18.07 18.07',
+ 'M2.25734 8.99718C4.64826 5.23882 8.15186 2.97021 11.9998 2.97021C15.848 2.97021 19.3517 5.23901 21.7427 8.99767C22.2876 9.85201 22.5348 10.9464 22.5348 11.9952C22.5348 13.0441 22.2876 14.1384 21.7427 14.9928C19.3517 18.7514 15.848 21.0202 11.9998 21.0202C8.1517 21.0202 4.64795 18.7514 2.25703 14.9928C1.71205 14.1384 1.46484 13.0441 1.46484 11.9952C1.46484 10.9462 1.71214 9.85159 2.25734 8.99718ZM11.9998 4.47021C8.78799 4.47021 5.71174 6.36142 3.52266 9.80276L3.52204 9.80374C3.16745 10.3593 2.96484 11.1545 2.96484 11.9952C2.96484 12.836 3.16745 13.6312 3.52204 14.1867L3.52266 14.1877C5.71174 17.629 8.78799 19.5202 11.9998 19.5202C15.2117 19.5202 18.288 17.629 20.477 14.1877L20.4777 14.1867C20.8322 13.6312 21.0348 12.836 21.0348 11.9952C21.0348 11.1545 20.8322 10.3593 20.4777 9.80374L20.477 9.80276C18.288 6.36142 15.2117 4.47021 11.9998 4.47021ZM11.9998 9.17021C10.4341 9.17021 9.16984 10.4344 9.16984 12.0002C9.16984 13.566 10.4341 14.8302 11.9998 14.8302C13.5656 14.8302 14.8298 13.566 14.8298 12.0002C14.8298 10.4344 13.5656 9.17021 11.9998 9.17021ZM7.66984 12.0002C7.66984 9.606 9.60563 7.67021 11.9998 7.67021C14.3941 7.67021 16.3298 9.606 16.3298 12.0002C16.3298 14.3944 14.3941 16.3302 11.9998 16.3302C9.60563 16.3302 7.66984 14.3944 7.66984 12.0002Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
attachment: {
path:
- 'M25.815,3.018A7.7,7.7,0,0,0,20.2,5.44L9.108,17.145a11.578,11.578,0,0,0,0,15.795,1.386,1.386,0,0,0,.452.317l.008,0a10.344,10.344,0,0,0,14.715-.319L32.089,24.7A1.386,1.386,0,1,0,30.078,22.8l-7.805,8.236a7.528,7.528,0,0,1-11.151,0,8.841,8.841,0,0,1,0-11.984L22.216,7.345a4.84,4.84,0,0,1,7.2,0,5.778,5.778,0,0,1,0,7.816L19.32,25.817a2.151,2.151,0,0,1-3.253,0,2.718,2.718,0,0,1,0-3.651l8.122-8.571a1.386,1.386,0,1,0-2.011-1.905L14.053,20.26a5.453,5.453,0,0,0,0,7.462,1.386,1.386,0,0,0,.466.322,4.977,4.977,0,0,0,6.812-.322l10.1-10.655a8.463,8.463,0,0,0,.284-11.178,1.386,1.386,0,0,0-.284-.449A7.709,7.709,0,0,0,25.815,3.018Z',
- viewBox: '0 0 27.685 33.158',
+ 'M7.02625 23.8525C5.97788 23.8542 4.94311 23.6359 4.00174 23.2146C3.06037 22.7932 2.23755 22.18 1.59677 21.4222C0.844132 20.5418 0.367594 19.4912 0.21809 18.3827C0.0836205 17.4329 0.190079 16.4676 0.529238 15.5614C0.868396 14.6552 1.43117 13.8323 2.17407 13.1564L14.8818 1.5509C15.4285 1.05331 16.0884 0.671758 16.8148 0.433347C17.5411 0.194935 18.316 0.105513 19.0845 0.171431C19.8529 0.237349 20.5961 0.456991 21.2611 0.814755C21.9261 1.17252 22.4967 1.65963 22.9324 2.24149C23.3483 2.78924 23.6288 3.41306 23.7544 4.06968C23.9087 4.83363 23.857 5.62038 23.6039 6.362C23.3507 7.10363 22.9037 7.77784 22.3015 8.32643L11.5226 18.1721C10.8414 18.7943 9.9175 19.1438 8.95414 19.1438C7.99077 19.1438 7.06686 18.7943 6.38566 18.1721C5.70446 17.55 5.32176 16.7063 5.32176 15.8265C5.32176 14.9466 5.70446 14.1029 6.38566 13.4808L15.6619 4.9885C15.7295 4.92616 15.8099 4.87668 15.8986 4.84291C15.9873 4.80914 16.0824 4.79175 16.1785 4.79175C16.2745 4.79175 16.3697 4.80914 16.4583 4.84291C16.547 4.87668 16.6275 4.92616 16.6951 4.9885C16.8308 5.11305 16.907 5.28162 16.907 5.45734C16.907 5.63306 16.8308 5.80163 16.6951 5.92619L7.41757 14.4184C7.21519 14.6033 7.05466 14.8227 6.94513 15.0642C6.8356 15.3057 6.77923 15.5645 6.77923 15.8259C6.77923 16.3537 7.00885 16.86 7.41757 17.2333C7.82629 17.6065 8.38064 17.8162 8.95866 17.8162C9.53668 17.8162 10.091 17.6065 10.4997 17.2333L21.2741 7.38874C21.7443 6.95852 22.0828 6.42332 22.256 5.83644C22.4293 5.24956 22.4311 4.63148 22.2615 4.04373C22.1844 3.76132 22.064 3.4903 21.9037 3.23874C21.6151 2.77339 21.2128 2.37517 20.7281 2.0751C20.2434 1.77503 19.6894 1.5812 19.1092 1.50872C18.529 1.43623 17.9383 1.48706 17.3832 1.65722C16.828 1.82738 16.3234 2.1123 15.9086 2.48977L3.2034 14.0953C2.22103 15.0272 1.67824 16.2739 1.69171 17.5674C1.70518 18.8609 2.27385 20.0979 3.27545 21.0126C4.27706 21.9272 5.63164 22.4465 7.048 22.4587C8.46437 22.4709 9.82943 21.975 10.8497 21.0778L21.9948 10.88C22.0624 10.8177 22.1428 10.7682 22.2315 10.7344C22.3202 10.7006 22.4153 10.6833 22.5114 10.6833C22.6074 10.6833 22.7026 10.7006 22.7912 10.7344C22.8799 10.7682 22.9604 10.8177 23.028 10.88C23.1638 11.0045 23.2402 11.1731 23.2402 11.3488C23.2402 11.5246 23.1638 11.6932 23.028 11.8177L11.8771 22.0178C11.2416 22.6014 10.4856 23.064 9.65293 23.379C8.82027 23.6939 7.92748 23.8548 7.02625 23.8525Z',
+ viewBox: '0 0 24 24 ',
+ ratio: 1,
+ },
+ bgProcess: {
+ path:
+ 'M19.3043 23.9569C19.2 23.9569 18.9913 23.9569 18.887 23.9569C18.6783 23.8527 18.4696 23.8527 18.3652 23.6444C18.1565 23.5402 18.0522 23.3319 17.9478 23.2277L17.8435 23.1236V23.0194C17.8435 22.9153 17.7391 22.8111 17.6348 22.7069C17.4261 22.6028 17.2174 22.6028 17.0087 22.7069C16.9043 22.8111 16.9043 22.9153 16.8 23.0194V23.1236L16.6957 23.2277C16.487 23.5402 16.1739 23.8527 15.7565 23.9569C15.3391 24.061 14.9217 23.9569 14.6087 23.8527L13.5652 23.2277C13.3565 23.1236 13.2522 23.0194 13.0435 22.8111C12.9391 22.6028 12.8348 22.3945 12.7304 22.1861C12.6261 21.9778 12.6261 21.7695 12.7304 21.5612C12.7304 21.3528 12.8348 21.1445 12.9391 20.9362C13.1478 20.6237 13.1478 20.4154 13.0435 20.2071C12.9391 19.9988 12.7304 19.8946 12.4174 19.9988C12.2087 19.9988 12 19.9988 11.7913 19.8946C11.5826 19.7904 11.3739 19.6863 11.2696 19.5821C11.1652 19.2696 10.9565 19.0613 10.9565 18.853C10.8522 18.6447 10.8522 18.4364 10.8522 18.228V17.1864C10.8522 16.7698 11.0609 16.3532 11.3739 16.0407C11.687 15.7282 12.1043 15.5199 12.5217 15.5199C12.8348 15.5199 13.1478 15.4157 13.1478 15.3116C13.1478 15.2074 13.1478 14.8949 13.0435 14.5824C12.9391 14.3741 12.8348 14.1658 12.8348 13.9575C12.8348 13.7492 12.8348 13.5408 12.8348 13.3325C12.9391 13.1242 12.9391 12.9159 13.1478 12.7075C13.2522 12.4992 13.4609 12.3951 13.6696 12.2909L14.713 11.6659C14.9217 11.5618 15.1304 11.4576 15.2348 11.4576C15.4435 11.4576 15.6522 11.4576 15.8609 11.4576C16.0696 11.5618 16.2783 11.5618 16.3826 11.7701C16.5913 11.8743 16.6957 12.0826 16.8 12.1867L16.9043 12.2909V12.3951C16.9043 12.4992 17.0087 12.6034 17.113 12.7075C17.3217 12.8117 17.5304 12.8117 17.7391 12.7075C17.8435 12.6034 17.9478 12.6034 17.9478 12.3951V12.2909L18.0522 12.1867C18.2609 11.8743 18.5739 11.5618 18.9913 11.4576C19.4087 11.3535 19.8261 11.4576 20.1391 11.5618L21.1826 12.1867C21.3913 12.2909 21.4957 12.3951 21.7043 12.6034C21.8087 12.8117 21.913 13.02 22.0174 13.2283C22.1217 13.4367 22.1217 13.645 22.0174 13.8533C22.0174 14.0616 21.913 14.27 21.8087 14.4783C21.6 14.7908 21.6 14.9991 21.7043 15.2074C21.8087 15.4157 22.0174 15.4157 22.3304 15.4157C22.7478 15.4157 23.1652 15.624 23.4783 15.9365C23.7913 16.249 24 16.6656 24 17.0823V18.1239C24 18.5405 23.7913 18.9572 23.4783 19.2696C23.1652 19.5821 22.7478 19.7904 22.3304 19.7904C22.0174 19.7904 21.7043 19.8946 21.7043 19.9988C21.7043 20.1029 21.7043 20.4154 21.8087 20.7279C21.913 20.9362 22.0174 21.1445 22.0174 21.3528C22.0174 21.5612 22.0174 21.7695 22.0174 21.9778C21.913 22.1861 21.8087 22.3945 21.7043 22.6028C21.6 22.8111 21.3913 22.9153 21.1826 23.0194L20.1391 23.6444C19.9304 23.7485 19.7217 23.8527 19.6174 23.8527C19.513 23.9569 19.4087 23.9569 19.3043 23.9569ZM18.887 22.6028C18.9913 22.7069 18.9913 22.8111 19.0957 22.8111C19.0957 22.8111 19.2 22.9153 19.3043 22.9153C19.4087 22.9153 19.4087 22.9153 19.513 22.9153C19.6174 22.9153 19.6174 22.9153 19.7217 22.8111L20.7652 22.1861C20.8696 22.1861 20.8696 22.082 20.9739 21.9778C20.9739 21.8737 21.0783 21.8736 21.0783 21.7695C21.0783 21.6653 21.0783 21.5612 21.0783 21.5612C21.0783 21.457 21.0783 21.3528 20.9739 21.3528C20.6609 20.7279 20.5565 20.1029 20.8696 19.5821C21.1826 19.0613 21.7043 18.853 22.4348 18.853C22.6435 18.853 22.7478 18.7488 22.8522 18.6447C22.9565 18.5405 23.0609 18.3322 23.0609 18.228V17.1864C23.0609 16.9781 22.9565 16.874 22.8522 16.7698C22.7478 16.6656 22.5391 16.5615 22.4348 16.5615C21.7043 16.5615 21.1826 16.249 20.8696 15.8324C20.5565 15.4157 20.6609 14.6866 20.9739 14.0616C20.9739 13.9575 21.0783 13.9575 21.0783 13.8533C21.0783 13.7492 21.0783 13.645 21.0783 13.645C21.0783 13.5408 20.9739 13.4367 20.9739 13.4367C20.9739 13.3325 20.8696 13.3325 20.7652 13.2283L19.7217 12.6034C19.6174 12.4992 19.513 12.4992 19.3043 12.6034C19.2 12.6034 19.0957 12.7075 18.9913 12.8117V12.9159C18.887 13.2283 18.6783 13.4367 18.4696 13.645C17.9478 14.0616 17.2174 14.0616 16.5913 13.645C16.3826 13.4367 16.1739 13.2283 16.0696 12.9159V12.8117C16.0696 12.7075 15.9652 12.7075 15.9652 12.7075C15.9652 12.7075 15.8609 12.6034 15.7565 12.6034C15.6522 12.6034 15.6522 12.6034 15.5478 12.6034C15.4435 12.6034 15.4435 12.6034 15.3391 12.7075L14.2957 13.3325C14.1913 13.3325 14.1913 13.4367 14.087 13.5408C14.087 13.645 13.9826 13.645 13.9826 13.7492C13.9826 13.8533 13.9826 13.9575 13.9826 13.9575C13.9826 14.0616 13.9826 14.1658 14.087 14.1658C14.4 14.7908 14.5043 15.4157 14.1913 15.9365C13.8783 16.4573 13.3565 16.6656 12.6261 16.6656C12.4174 16.6656 12.313 16.7698 12.2087 16.874C12.1043 16.9781 12 17.1864 12 17.2906V18.3322C12 18.4364 12 18.5405 12 18.5405C12 18.6447 12.1043 18.6447 12.1043 18.7488C12.2087 18.853 12.2087 18.853 12.313 18.853C12.4174 18.853 12.4174 18.853 12.5217 18.853C13.2522 18.853 13.7739 19.1655 14.087 19.5821C14.4 19.9988 14.2957 20.7279 13.9826 21.3528C13.9826 21.457 13.8783 21.457 13.8783 21.5612C13.8783 21.6653 13.8783 21.7695 13.8783 21.7695C13.8783 21.7695 13.9826 21.8737 13.9826 21.9778C13.9826 22.082 14.087 22.082 14.1913 22.1861L15.2348 22.8111C15.3391 22.9153 15.4435 22.9153 15.6522 22.8111C15.7565 22.8111 15.8609 22.7069 15.9652 22.6028V22.4986C16.0696 22.1861 16.2783 21.9778 16.487 21.7695C17.0087 21.3528 17.7391 21.3528 18.3652 21.7695C18.5739 22.082 18.7826 22.2903 18.887 22.6028ZM9.28696 21.6653C5.32174 21.6653 3.13043 20.3112 2.50435 17.0823H0.521739C0.208696 17.0823 0 16.874 0 16.5615C0 16.249 0.208696 16.0407 0.521739 16.0407H2.4C2.4 15.624 2.29565 15.2074 2.29565 14.6866V12.4992H0.521739C0.208696 12.4992 0 12.2909 0 11.9784C0 11.6659 0.208696 11.4576 0.521739 11.4576H2.29565V9.27026C2.29565 8.85362 2.29565 8.33282 2.4 7.91618H0.521739C0.208696 7.91618 0 7.70786 0 7.39538C0 7.0829 0.208696 6.87458 0.521739 6.87458H2.50435C3.02609 4.37473 4.38261 3.02065 6.88696 2.49985V0.520801C6.88696 0.20832 7.09565 0 7.4087 0C7.72174 0 7.93044 0.20832 7.93044 0.520801V2.39569C8.34783 2.39569 8.76522 2.29153 9.18261 2.29153H11.3739V0.520801C11.3739 0.20832 11.5826 0 11.8957 0C12.2087 0 12.4174 0.20832 12.4174 0.520801V2.29153H14.6087C15.0261 2.29153 15.5478 2.29153 15.9652 2.39569V0.520801C15.9652 0.20832 16.1739 0 16.487 0C16.8 0 17.0087 0.20832 17.0087 0.520801V2.49985C20.2435 3.12481 21.6 5.20801 21.6 9.27026C21.6 9.58274 21.3913 9.79106 21.0783 9.79106C20.7652 9.79106 20.5565 9.58274 20.5565 9.27026C20.5565 4.99969 18.9913 3.33313 14.6087 3.33313H9.28696C5.0087 3.33313 3.33913 4.89553 3.33913 9.27026V14.7908C3.33913 19.0613 4.90435 20.7279 9.28696 20.7279C9.6 20.7279 9.8087 20.9362 9.8087 21.2487C9.8087 21.5612 9.49565 21.6653 9.28696 21.6653ZM17.4261 19.9988C17.3217 19.9988 17.113 19.9988 17.0087 19.9988C16.5913 19.8946 16.1739 19.6863 15.7565 19.3738C15.4435 19.0613 15.2348 18.6447 15.1304 18.1239C15.0261 17.6031 15.1304 17.1864 15.2348 16.7698C15.4435 16.3532 15.7565 15.9365 16.0696 15.7282C17.0087 15.1032 18.2609 15.2074 18.9913 16.0407C19.4087 16.4573 19.7217 17.0823 19.7217 17.7072C19.7217 18.1239 19.6174 18.6447 19.3043 18.9572C19.0957 19.3738 18.6783 19.6863 18.2609 19.7904C18.0522 19.9988 17.7391 19.9988 17.4261 19.9988ZM17.4261 16.4573C17.2174 16.4573 16.9043 16.5615 16.6957 16.6656C16.487 16.7698 16.2783 16.9781 16.1739 17.2906C16.0696 17.4989 16.0696 17.8114 16.0696 18.0197C16.0696 18.228 16.2783 18.5405 16.3826 18.6447C16.5913 18.853 16.8 18.9572 17.0087 18.9572C17.2174 18.9572 17.5304 18.9572 17.7391 18.853C17.9478 18.7488 18.1565 18.5405 18.3652 18.3322C18.4696 18.1239 18.5739 17.9156 18.5739 17.6031C18.5739 17.2906 18.4696 16.874 18.1565 16.6656C18.0522 16.5615 17.7391 16.4573 17.4261 16.4573Z',
+
+ viewBox: '0 0 24 24',
ratio: 1,
},
borderWithBeldex: {
@@ -189,23 +282,23 @@ export const icons = {
viewBox: '0 0 47.652 47.652',
ratio: 1,
},
+
beldexCoinLogo: {
- path: `M19.5,39c-2.6,0-5.2-0.5-7.6-1.5c-2.3-1-4.4-2.4-6.2-4.2c-1.8-1.8-3.2-3.9-4.2-6.2c-1-2.4-1.5-5-1.5-7.6
- c0-2.6,0.5-5.2,1.5-7.6c1-2.3,2.4-4.4,4.2-6.2c1.8-1.8,3.9-3.2,6.2-4.2c2.4-1,5-1.5,7.6-1.5c2.6,0,5.2,0.5,7.6,1.5
- c2.3,1,4.4,2.4,6.2,4.2c1.8,1.8,3.2,3.9,4.2,6.2c1,2.4,1.5,5,1.5,7.6c0,2.6-0.5,5.2-1.5,7.6c-1,2.3-2.4,4.4-4.2,6.2
- c-1.8,1.8-3.9,3.2-6.2,4.2C24.7,38.5,22.1,39,19.5,39z M10.1,12.9L10.1,12.9l0,6.9l0,0.5v8.8c0,1.2,1,2.2,2.2,2.2h9.3
- c1.2,0,2.2-1,2.2-2.2v-3h3c1.2,0,2.2-1,2.2-2.2v-8.8l0-0.5l0-6.9l-3.4,4.9h-8.1c-1.2,0-2.2,1-2.2,2.2v9.1c0,1.2,1,2.2,2.2,2.2h3.3
- v1.1c0,0.6-0.5,1.2-1.2,1.2h-5.4c-0.6,0-1.2-0.5-1.2-1.2v-5.3c0-0.6,0.5-1.2,1.2-1.2h1.1v-2.9h-1.9L10.1,12.9L10.1,12.9z M24.8,23.2
- h-1.1V20c0-1.2-1-2.2-2.2-2.2h-3.3v-1.1c0-0.6,0.5-1.2,1.2-1.2h5.4c0.6,0,1.2,0.5,1.2,1.2V22c0,0.4-0.2,0.8-0.6,1
- C25.2,23.1,25,23.2,24.8,23.2L24.8,23.2z M20.7,23.2h-1.3c0,0-0.1,0-0.1,0h0.1c-0.6,0-1.1-0.5-1.1-1.2v-1.2h1.3
- c0.6,0,1.2,0.5,1.2,1.2L20.7,23.2L20.7,23.2z`,
- viewBox: '0 0 39 39',
+ path:
+ 'M15.506 5.49888L15.5309 0.601562L12.8536 4.53438H6.39317C5.42036 4.53438 4.63879 5.30764 4.63879 6.28045V8.67506H3.14215L0.464844 4.75056L0.481475 10.2465V10.6373L0.473159 17.6465C0.473159 18.6194 1.25473 19.4009 2.21923 19.4009H9.61093C10.5837 19.4009 11.3653 18.6194 11.3653 17.6465V15.2602H13.7599C14.3918 15.2602 14.9323 14.9277 15.2483 14.4371C15.4145 14.171 15.5143 13.8551 15.5143 13.5142V6.09753L15.506 5.49888ZM8.99565 16.1333C8.99565 16.6488 8.57992 17.0728 8.06441 17.0728H3.76575C3.25024 17.0728 2.8262 16.6571 2.8262 16.1333V11.9178C2.83451 11.4106 3.25024 10.9865 3.76575 10.9948H4.63879V13.4975C4.63879 14.4704 5.42036 15.2436 6.38486 15.2519H8.98733V16.125L8.99565 16.1333ZM8.99565 12.9322H7.89812C7.39924 12.9155 6.99183 12.4998 6.99183 11.9926V10.9948H8.06441C8.57161 10.9948 8.99565 11.4023 8.99565 11.9261L8.99565 12.9322ZM13.1613 12.0092C13.1613 12.3584 12.9617 12.6744 12.6541 12.8241C12.5294 12.8906 12.3797 12.9238 12.2384 12.9321L11.3736 12.9238V10.4128C11.3653 9.57304 10.7667 8.8663 9.96846 8.7C9.86037 8.67506 9.74397 8.66674 9.62756 8.66674H7.00845V7.77708C7.00845 7.26157 7.42419 6.83753 7.94801 6.83753H12.2467C12.4629 6.83753 12.6624 6.91236 12.8204 7.04539C13.0449 7.20337 13.1779 7.47776 13.1779 7.77708V12.0009L13.1613 12.0092Z',
+ viewBox: '0 0 16 20',
ratio: 1,
},
bell: {
path:
- 'M2.117 0a.396.396 0 00-.397.397v.18C.963.757.53 1.434.53 2.25v1.323l-.53.53v.264h4.233V4.1l-.529-.53v-.223h-.29c-.066 0-.132-.006-.197-.015v.546l-2.159-.042V2.249c0-.656.4-1.19 1.059-1.19l.064.003c.119-.181.278-.334.463-.448a1.608 1.608 0 00-.13-.036v-.18A.396.396 0 002.117 0zm-.53 4.63a.53.53 0 001.058 0z M3.355.578a1.267 1.267 0 000 2.534h.634v-.254h-.634c-.55 0-1.013-.464-1.013-1.013 0-.55.463-1.014 1.013-1.014.55 0 1.014.464 1.014 1.014v.18c0 .1-.09.2-.19.2s-.19-.1-.19-.2v-.18a.634.634 0 10-.185.447.47.47 0 00.375.186c.25 0 .443-.203.443-.452v-.181c0-.7-.567-1.267-1.267-1.267zm0 1.647a.38.38 0 110-.76.38.38 0 010 .76z',
- viewBox: '0 0 4.622 5.159',
+ 'M16 8.35996V10.544C16 11.9328 14.8807 13.0587 13.5 13.0587H9.68787L6.62533 15.7541C5.99168 16.3119 5 15.8593 5 15.0123V13.0587H4.5C3.11929 13.0587 2 11.9328 2 10.544V5.51468C2 4.12586 3.11929 3 4.5 3H8.75777C8.55127 3.31032 8.3819 3.64775 8.25606 4.00587H4.5C3.67157 4.00587 3 4.68138 3 5.51468V10.544C3 11.3773 3.67157 12.0528 4.5 12.0528H6V14.968L9.31213 12.0528H13.5C14.3284 12.0528 15 11.3773 15 10.544V9.27888C15.3776 9.02461 15.7149 8.71437 16 8.35996ZM9.99958 6.5C9.99958 5.11905 11.1191 3.99957 12.5 3.99957C13.881 3.99957 15.0004 5.11905 15.0004 6.5V6.50233C14.9986 6.7774 14.7751 6.99978 14.4999 6.99978C14.2235 6.99978 13.9993 6.77568 13.9993 6.49923V5.49909C13.9993 5.22305 13.7755 4.9993 13.4996 4.9993C13.3612 4.9993 13.236 5.05551 13.1455 5.14633C12.95 5.05293 12.7311 5.00064 12.5 5.00064C11.6719 5.00064 11.0006 5.67192 11.0006 6.5C11.0006 7.32807 11.6719 7.99936 12.5 7.99936C12.8841 7.99936 13.2345 7.85491 13.4998 7.61736C13.7652 7.85492 14.1157 7.99936 14.4999 7.99936C15.3286 7.99936 16 7.32732 16 6.49899C15.9995 4.56645 14.4327 3 12.5 3C10.567 3 9 4.567 9 6.5C9 8.43299 10.567 10 12.5 10C12.918 10 13.301 9.9255 13.6691 9.79275C13.9288 9.6991 14.0633 9.41269 13.9697 9.15303C13.8761 8.89338 13.5896 8.75881 13.33 8.85246C13.0622 8.94902 12.7938 9.00043 12.5 9.00043C11.1191 9.00043 9.99958 7.88095 9.99958 6.5ZM12.5 6.99978C12.224 6.99978 12.0002 6.77602 12.0002 6.5C12.0002 6.22398 12.224 6.00021 12.5 6.00021C12.776 6.00021 12.9998 6.22398 12.9998 6.5C12.9998 6.77602 12.776 6.99978 12.5 6.99978Z',
+ viewBox: '0 0 18 18',
+ ratio: 1,
+ },
+ beta: {
+ path:
+ 'M0 6.8C0 3.6 0 2 1 1C2 0 3.6 0 6.8 0H27.2C30.4 0 32 0 33 1C34 2 34 3.6 34 6.8C34 10 34 11.6 33 12.6C32 13.6 30.4 13.6 27.2 13.6H6.8C3.6 13.6 2 13.6 1 12.6C0 11.6 0 10 0 6.8ZM9.1002 9.9002H6.7002V3.7002H9.1002C10.4002 3.7002 11.1002 4.4002 11.1002 5.3002C11.1002 6.2002 10.6002 6.5002 10.0002 6.7002C10.7002 6.80019 11.2002 7.5002 11.2002 8.2002C11.2002 8.9002 10.4002 9.9002 9.1002 9.9002ZM9.0002 4.5002H7.7002V6.3002H9.0002C9.7002 6.3002 10.1002 6.0002 10.1002 5.4002C10.1002 4.8002 9.7002 4.5002 9.0002 4.5002ZM9.0002 7.10019H7.7002V9.1002H9.1002C9.8002 9.1002 10.2002 8.7002 10.2002 8.1002C10.2002 7.5002 9.7002 7.10019 9.0002 7.10019ZM15.7998 4.5002H13.3998V6.3002H15.5998V7.10019H13.3998V9.0002H15.7998V9.8002H12.2998V3.7002H15.7998V4.5002ZM16.6006 3.7002H21.0006V4.5002H19.3006V9.9002H18.3006V4.5002H16.6006V3.7002ZM25.6006 8.7002H23.2006L22.7006 10.0002H21.6006L23.8006 3.7002H25.0006L27.2006 10.0002H26.1006L25.6006 8.7002ZM24.5006 4.9002L23.5006 7.8002H25.5006L24.5006 4.9002Z',
+ viewBox: '0 0 34 14',
ratio: 1,
},
brand: {
@@ -214,12 +307,25 @@ export const icons = {
viewBox: '0 0 404.085 448.407',
ratio: 1,
},
+ blockSubmenu: {
+ path:
+ 'M9.99583 2.15259C9.15634 2.15259 8.35037 2.48206 7.75127 3.07013C7.15218 3.65821 6.8078 4.45792 6.79222 5.29727C6.77664 6.13663 7.09109 6.94857 7.66794 7.55848C8.23824 8.16146 9.01998 8.51936 9.84832 8.55752C9.94653 8.55031 10.0451 8.55031 10.1433 8.55752C10.9717 8.51936 11.7534 8.16146 12.3237 7.55848C12.9006 6.94857 13.215 6.13663 13.1994 5.29727C13.1839 4.45792 12.8395 3.65821 12.2404 3.07013C11.6413 2.48206 10.8353 2.15259 9.99583 2.15259ZM7.05076 2.35649C7.83683 1.58488 8.89434 1.15259 9.99583 1.15259C11.0973 1.15259 12.1548 1.58488 12.9409 2.35649C13.727 3.12811 14.1788 4.1774 14.1993 5.27871C14.2197 6.38002 13.8071 7.44536 13.0502 8.24563C12.2934 9.04589 11.2526 9.51714 10.1519 9.55802C10.1306 9.55882 10.1092 9.55824 10.088 9.5563C10.0267 9.55072 9.965 9.55072 9.90371 9.5563C9.88246 9.55824 9.8611 9.55882 9.83977 9.55802C8.73903 9.51714 7.69831 9.04589 6.94142 8.24563C6.18453 7.44536 5.77194 6.38002 5.79239 5.27871C5.81284 4.1774 6.26469 3.12811 7.05076 2.35649ZM6.09188 12.5564C7.27292 11.8541 8.62161 11.4834 9.99583 11.4834C11.3742 11.4834 12.7268 11.8564 13.9104 12.5627C14.1475 12.7043 14.4545 12.6268 14.596 12.3896C14.7375 12.1525 14.66 11.8456 14.4229 11.7041C13.0844 10.9052 11.5546 10.4834 9.99583 10.4834C8.43703 10.4834 6.90728 10.9052 5.56875 11.7041C5.56175 11.7082 5.55484 11.7126 5.54805 11.7171C4.43533 12.4574 3.8125 13.4843 3.8125 14.5761C3.8125 15.6676 4.43496 16.6962 5.54686 17.4406L5.5608 17.4496C6.89413 18.2794 8.43938 18.705 10.0096 18.675C10.2857 18.6697 10.5052 18.4416 10.4999 18.1655C10.4946 17.8894 10.2665 17.6699 9.99043 17.6752C8.61628 17.7015 7.26392 17.3298 6.09631 16.605C5.19643 16.0001 4.8125 15.2558 4.8125 14.5761C4.8125 13.8976 5.19514 13.1566 6.09188 12.5564ZM12.6381 14.7215C12.8334 14.5262 13.15 14.5262 13.3453 14.7215L14.1667 15.5429L14.9881 14.7215C15.1834 14.5262 15.5 14.5262 15.6953 14.7215C15.8905 14.9168 15.8905 15.2333 15.6953 15.4286L14.8738 16.2501L15.6953 17.0715C15.8905 17.2668 15.8905 17.5833 15.6953 17.7786C15.5 17.9739 15.1834 17.9739 14.9881 17.7786L14.1667 16.9572L13.3453 17.7786C13.15 17.9739 12.8334 17.9739 12.6381 17.7786C12.4429 17.5833 12.4429 17.2668 12.6381 17.0715L13.4596 16.2501L12.6381 15.4286C12.4429 15.2333 12.4429 14.9168 12.6381 14.7215Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
blockedContact: {
path:
- 'm 216.456,315.282 c 36.104,0 66.415,-29.551 65.565,-65.646 -0.59,-25.135 -14.478,-48.161 -36.54,-60.386 l -83.435,-46.234 v 69.229 c 0,5.18855 -4.20645,9.39455 -9.395,9.394 H 67.847 c -26.603,0 -48.093,22.297 -46.765,49.183 1.242,25.15 22.941,44.46 48.123,44.46 h 147.251 m -75.437,-121.993 0.016,-69.217 c 0.002,-5.186 4.19,-9.391 9.376,-9.392 l 84.808,-0.014 c 26.602,0 48.092,-22.297 46.764,-49.181 C 280.74,40.334 259.041,21.023 233.858,21.023 H 86.608 c -36.103,0 -66.415,29.551 -65.565,65.646 0.591,25.136 14.479,48.161 36.541,60.386 z m 114.65,-22.427 c 29.233,16.2 47.395,47.023 47.395,80.448 0,46.865 -38.129,84.995 -84.995,84.995 H 67.847 C 30.437,336.305 0,305.867 0,268.459 0,231.051 30.437,200.616 67.847,200.616 h 43.026 L 47.396,165.445 C 18.162,149.243 0,118.42 0,84.995 0,38.131 38.13,0 84.995,0 h 150.224 c 37.408,0 67.845,30.438 67.845,67.846 0,37.409 -30.437,67.843 -67.845,67.843 h -43.028 l 63.478,35.173',
- viewBox: '0 0 23.338 23.281',
+ 'M11.99 2.75C9.94535 2.75 8.30004 4.40311 8.30004 6.44C8.30004 8.42302 9.84911 10.032 11.8049 10.1189C11.9235 10.1106 12.0488 10.1102 12.167 10.1188C14.1209 10.031 15.6709 8.42308 15.68 6.43847C15.6792 4.40339 14.0253 2.75 11.99 2.75ZM6.80004 6.44C6.80004 3.57689 9.11473 1.25 11.99 1.25C14.8543 1.25 17.18 3.57579 17.18 6.44L17.18 6.44313C17.1684 9.24352 14.961 11.5259 12.1752 11.6196C12.1419 11.6207 12.1086 11.6196 12.0754 11.6163C12.0272 11.6115 11.9551 11.6108 11.8879 11.6169C11.857 11.6197 11.8259 11.6206 11.7948 11.6196C9.00963 11.526 6.80004 9.24337 6.80004 6.44ZM11.985 13.93C10.2841 13.93 8.62289 14.3632 7.39711 15.1833L7.39547 15.1844C6.34204 15.8853 5.91504 16.7355 5.91504 17.4912C5.91504 18.2473 6.34244 19.1004 7.39668 19.8064C8.62825 20.6272 10.2849 21.06 11.99 21.06C12.4043 21.06 12.74 21.3958 12.74 21.81C12.74 22.2242 12.4043 22.56 11.99 22.56C10.0554 22.56 8.09238 22.0729 6.56401 21.054L6.56283 21.0532C5.19748 20.1393 4.41504 18.8626 4.41504 17.4912C4.41504 16.1197 5.19772 14.8452 6.56379 13.9361C8.08789 12.9166 10.0563 12.43 11.985 12.43C13.9141 12.43 15.8829 12.9168 17.4071 13.9367C17.7514 14.167 17.8437 14.6328 17.6134 14.9771C17.383 15.3213 16.9172 15.4137 16.573 15.1833C15.3472 14.3632 13.686 13.93 11.985 13.93ZM14.75 19C14.75 18.5858 15.0858 18.25 15.5 18.25H19.5C19.9143 18.25 20.25 18.5858 20.25 19C20.25 19.4142 19.9143 19.75 19.5 19.75H15.5C15.0858 19.75 14.75 19.4142 14.75 19Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ bnslogo: {
+ path:
+ 'M20.0007 3.33301C13.8472 3.33301 8.47667 6.69293 5.58984 11.6663H9.65885C11.159 9.81304 13.1164 8.34603 15.3945 7.50293C14.8726 8.71604 14.4549 10.1331 14.1348 11.6663H17.5625C18.3606 8.37153 19.4787 6.66634 20.0007 6.66634C20.5226 6.66634 21.6407 8.37153 22.4388 11.6663H25.8665C25.5464 10.1331 25.1265 8.71604 24.6068 7.50293C26.8832 8.34603 28.8423 9.81304 30.3425 11.6663H34.4115C31.5246 6.69293 26.1541 3.33301 20.0007 3.33301ZM5.58984 28.333C8.47667 33.3064 13.8472 36.6663 20.0007 36.6663C26.1541 36.6663 31.5246 33.3064 34.4115 28.333H30.3425C28.8423 30.1863 26.8849 31.6533 24.6068 32.4964C25.1265 31.2833 25.5432 29.8662 25.8633 28.333H22.4355C21.6375 31.6278 20.5193 33.333 19.9974 33.333C19.4755 33.333 18.3606 31.6278 17.5625 28.333H14.1348C14.4549 29.8662 14.8748 31.2833 15.3945 32.4964C13.1181 31.6533 11.159 30.1863 9.65885 28.333H5.58984ZM11.6714 21.9244C11.6714 21.1252 11.0129 20.6457 9.97172 20.6457H7.85864V23.1499H10.0177C11.0589 23.1499 11.6714 22.7103 11.6714 21.9244ZM11.4111 18.0483C11.4111 17.3024 10.8292 16.8761 9.8186 16.8761H7.85864V19.2071H9.8186C10.8292 19.2071 11.4111 18.8075 11.4111 18.0483ZM13.8457 22.1509C13.8457 23.6294 12.5442 24.6683 10.3239 24.6683H5.71494V15.371H10.1248C12.3604 15.371 13.6007 16.3833 13.6007 17.7686C13.6007 18.9008 12.8198 19.6067 11.7786 19.8998C12.9882 20.0863 13.8457 21.0586 13.8457 22.1509ZM22.5519 15.3577H24.6956V24.6683H22.5519L17.6979 18.2881V24.6683H15.5542V15.3577H17.6979L22.5519 21.7513V15.3577ZM34.2864 21.9777C34.2864 23.4429 32.9389 24.7616 30.5043 24.7616C28.284 24.7616 26.569 23.7493 26.5384 21.991H28.8352C28.8965 22.7369 29.463 23.2298 30.4583 23.2298C31.4689 23.2298 32.0661 22.7636 32.0661 22.0976C32.0661 20.0863 26.5537 21.2984 26.569 17.9284C26.569 16.2501 28.1309 15.2378 30.3358 15.2378C32.5255 15.2378 34.0261 16.2101 34.1639 17.8885H31.8058C31.7599 17.2757 31.1933 16.7962 30.2746 16.7829C29.4324 16.7563 28.8046 17.1159 28.8046 17.8751C28.8046 19.7399 34.2864 18.701 34.2864 21.9777Z',
+ viewBox: '0 0 40 40',
ratio: 1,
},
+
callIncoming: {
path:
'M3.98,3.01A.946.946,0,0,0,3.027,4,8.1,8.1,0,0,0,10.6,11.569a.946.946,0,0,0,.987-.953V9.791a.954.954,0,0,0-.843-.948L9.542,8.7a.947.947,0,0,0-.781.271l-.881.882A7.182,7.182,0,0,1,4.738,6.717l.882-.881a.947.947,0,0,0,.271-.781l-.138-1.2a.954.954,0,0,0-.948-.843Zm5.42.121a.239.239,0,0,0-.129.068L7.934,4.535a.533.533,0,0,0,0,.752L9.271,6.624a.243.243,0,0,0,.414-.172V5.388h1.906a.477.477,0,1,0,0-.953H9.685V3.371S9.538,3.107,9.4,3.131Z',
@@ -238,17 +344,51 @@ export const icons = {
viewBox: '0 0 12 12',
ratio: 1,
},
+ callMissedConfirm: {
+ path:
+ 'M4.13 1.76C4.48 1.6 4.86 1.51 5.25 1.5L5.27 1.47C5.5 1.47 5.74 1.52 5.95 1.63H5.96C6.17 1.72 6.36 1.88 6.49 2.07L9.4 6.18C9.56 6.4 9.7 6.64 9.81 6.9V6.92C9.88 7.07 9.92 7.22 9.92 7.38C9.91 7.55 9.86 7.72 9.77 7.86V7.88C9.61 8.15 9.41 8.39 9.19 8.62L8.24 9.61C8.11 9.75 8 9.91 7.93 10.09C7.86 10.27 7.83 10.46 7.83 10.65C7.83 10.81 7.85 10.97 7.89 11.12L7.91 11.16V11.2C7.93 11.26 7.95 11.31 7.97 11.35V11.36C7.99 11.4 7.99 11.42 7.99 11.42L8.02 11.5L8.06 11.57C8.42 12.18 8.83 12.75 9.3 13.28C9.87 13.94 10.48 14.61 11.14 15.29V15.3C11.82 15.97 12.48 16.59 13.16 17.17C13.69 17.65 14.27 18.06 14.89 18.41L14.93 18.44L14.98 18.46C14.99 18.47 15.05 18.5 15.05 18.5C15.08 18.52 15.13 18.54 15.18 18.56L15.2 18.58H15.22C15.41 18.64 15.6 18.67 15.79 18.67C15.98 18.67 16.17 18.63 16.35 18.56C16.53 18.48 16.69 18.37 16.83 18.23L17.78 17.28C17.99 17.06 18.23 16.87 18.5 16.72L18.52 16.7H18.54C18.68 16.61 18.85 16.56 19.02 16.56C19.18 16.56 19.34 16.6 19.49 16.66C19.75 16.77 20 16.91 20.23 17.07L24.38 20.02H24.39C24.57 20.13 24.71 20.3 24.8 20.49C24.89 20.7 24.94 20.93 24.94 21.16C24.94 21.52 24.86 21.87 24.7 22.2C24.51 22.6 24.27 22.97 23.97 23.3C23.49 23.86 22.88 24.29 22.2 24.58C21.52 24.86 20.79 25 20.06 25C18.75 24.98 17.47 24.69 16.28 24.15C14.81 23.51 13.42 22.71 12.13 21.76C10.71 20.72 9.37 19.57 8.12 18.33C6.89 17.09 5.74 15.75 4.71 14.33C3.77 13.05 2.97 11.67 2.34 10.21C1.81 9.02 1.52 7.73 1.5 6.42C1.5 5.69 1.63 4.97 1.9 4.29C2.18 3.6 2.6 2.98 3.15 2.48L3.19 2.44C3.46 2.15 3.77 1.92 4.13 1.76ZM5.23 0C5.69 0 6.15 0.1 6.57 0.29H6.56C7.02 0.5 7.41 0.83 7.7 1.24L10.62 5.33C10.85 5.64 11.05 5.98 11.2 6.34C11.35 6.67 11.44 7.02 11.44 7.38V7.41C11.44 7.86 11.31 8.3 11.07 8.68C10.84 9.06 10.57 9.41 10.26 9.71L9.33 10.68V10.74C9.33 10.76 9.35 10.81 9.35 10.81C9.36 10.83 9.36999 10.86 9.37999 10.89C9.67999 11.39 10.03 11.87 10.42 12.32C10.98 12.96 11.57 13.61 12.2 14.26C12.86 14.92 13.5 15.52 14.14 16.06C14.59 16.46 15.07 16.8 15.59 17.1C15.62 17.11 15.67 17.14 15.67 17.14C15.6832 17.1444 15.6944 17.1507 15.7045 17.1564C15.7175 17.1637 15.7288 17.17 15.74 17.17H15.77L16.71 16.24C17.02 15.92 17.37 15.64 17.76 15.42C18.14 15.18 18.58 15.05 19.03 15.05C19.39 15.05 19.75 15.13 20.08 15.27C20.44 15.43 20.77 15.62 21.09 15.84L25.22 18.77C25.64 19.05 25.96 19.43 26.17 19.88V19.9C26.34 20.3 26.43 20.73 26.43 21.17C26.43 21.75 26.3 22.33 26.05 22.85C25.8 23.38 25.47 23.87 25.08 24.3C24.44 25.02 23.65 25.59 22.76 25.97C21.89 26.33 20.97 26.5 20.03 26.5C18.53 26.47 17.04 26.14 15.67 25.52C14.1 24.83 12.61 23.98 11.23 22.96C9.75 21.87 8.35 20.68 7.05 19.38C5.76 18.08 4.57 16.69 3.49 15.21C2.49 13.84 1.64 12.37 0.96 10.81C0.35 9.43 0.03 7.95 0 6.43C0 5.51 0.16 4.59 0.52 3.73C0.87 2.84 1.42 2.04 2.12 1.39C2.51 0.97 2.99 0.63 3.52 0.39C4.06 0.15 4.64 0.01 5.23 0ZM18.0105 3.00998C18.3005 2.71998 18.7805 2.71998 19.0705 3.00998L20.7505 4.68998L22.4305 3.00998C22.7205 2.71998 23.2005 2.71998 23.4905 3.00998C23.7805 3.29998 23.7805 3.77998 23.4905 4.06998L21.8105 5.74998L23.4905 7.42998C23.7805 7.71998 23.7805 8.19998 23.4905 8.48998C23.2005 8.77998 22.7205 8.77998 22.4305 8.48998L20.7505 6.80998L19.0705 8.48998C18.7805 8.77998 18.3005 8.77998 18.0105 8.48998C17.7205 8.19998 17.7205 7.71998 18.0105 7.42998L19.6905 5.74998L18.0105 4.06998C17.7205 3.77998 17.7205 3.29998 18.0105 3.00998Z',
+ viewBox: '0 0 27 27',
+ ratio: 1,
+ },
+ call: {
+ path:
+ 'M5.60032 2.75C5.31146 2.75811 5.02706 2.82356 4.76368 2.94259C4.49785 3.06272 4.25883 3.23499 4.06079 3.44918L4.04066 3.47095L4.01888 3.49106C3.59858 3.87911 3.27004 4.35594 3.05714 4.88687C2.8511 5.41052 2.74688 5.96868 2.75007 6.53139C2.76764 7.55691 2.99064 8.5685 3.4059 9.50637L3.40762 9.51027C3.91108 10.665 4.54075 11.7606 5.28516 12.7768L5.28585 12.7778C6.10908 13.9053 7.01648 14.9689 8.00028 15.9595C8.9948 16.9465 10.062 17.8575 11.1929 18.6847L11.1953 18.6864C12.2179 19.4407 13.3226 20.0765 14.4884 20.5819L14.4974 20.5858C15.4299 21.0046 16.4375 21.2306 17.4595 21.2501C18.0263 21.2532 18.5879 21.1436 19.1119 20.9276C19.6352 20.7074 20.1019 20.3714 20.4768 19.9449L20.4847 19.9358C20.7107 19.6869 20.8983 19.4057 21.0412 19.1013L21.0438 19.0958C21.1582 18.8571 21.2184 18.596 21.2201 18.3313C21.2184 18.1667 21.1855 18.0039 21.1232 17.8516C21.0628 17.7238 20.9681 17.6152 20.8497 17.5378L20.8377 17.5299L17.5192 15.1739C17.5186 15.1735 17.5181 15.1731 17.5175 15.1727C17.3413 15.0491 17.1527 14.9442 16.9549 14.8595L16.9538 14.859C16.8537 14.816 16.7464 14.7926 16.6375 14.7901C16.53 14.792 16.425 14.8237 16.3343 14.8818L16.3162 14.8934L16.2974 14.9039C16.096 15.017 15.9127 15.1596 15.7535 15.327L15.7453 15.3356L14.9832 16.0877C14.8603 16.2137 14.713 16.3135 14.5503 16.381C14.3892 16.4478 14.2163 16.4815 14.042 16.4801C13.8703 16.4825 13.6995 16.4541 13.5378 16.3963L13.516 16.3885L13.4947 16.3794C13.4534 16.3617 13.4151 16.3441 13.3879 16.3316L13.3801 16.3281C13.3477 16.3132 13.3367 16.3084 13.3316 16.3064L13.2843 16.2875L13.24 16.2623C12.7365 15.9766 12.2638 15.6398 11.8293 15.2572C11.2817 14.7919 10.749 14.2894 10.2048 13.7553L10.1997 13.7503L10.1948 13.7453C9.66232 13.2026 9.17242 12.6616 8.71551 12.1337C8.3349 11.7027 7.99623 11.2363 7.7041 10.741L7.66373 10.6726L7.63869 10.5975C7.63868 10.5975 7.63613 10.5905 7.62313 10.5597C7.62204 10.5572 7.62086 10.5544 7.61961 10.5514C7.60715 10.522 7.58747 10.4756 7.56786 10.4234L7.55455 10.3879L7.54489 10.3512C7.50971 10.2178 7.49133 10.0805 7.49017 9.94249C7.48603 9.7688 7.51716 9.59604 7.58171 9.43466C7.64624 9.27333 7.74279 9.12682 7.8655 9.00393L8.62876 8.21054L8.63823 8.20137C8.80771 8.03716 8.9545 7.85106 9.0747 7.64798L9.08032 7.63849L9.08622 7.62916C9.14395 7.53787 9.17623 7.4329 9.17985 7.32511C9.1752 7.21945 9.15041 7.1156 9.10678 7.01915L9.10311 7.01103L9.09963 7.00282C9.01742 6.80895 8.91258 6.62549 8.7873 6.45624L8.7828 6.45016L6.4525 3.16565C6.36167 3.03385 6.23667 2.92929 6.09084 2.86328L6.07973 2.85825C5.92977 2.78741 5.76611 2.75041 5.60032 2.75ZM6.71499 1.4993C6.36219 1.33363 5.97694 1.24848 5.58714 1.25002L5.57949 1.25005L5.57185 1.25024C5.07956 1.26223 4.59468 1.3729 4.14595 1.57569C3.70639 1.77434 3.31026 2.05742 2.98003 2.40875C2.40548 2.94503 1.95605 3.6014 1.66384 4.33125L1.66232 4.33508C1.38512 5.03862 1.2452 5.78873 1.25013 6.5449L1.25021 6.55249C1.27062 7.77934 1.53696 8.98962 2.03346 10.1117C2.58091 11.367 3.26549 12.5579 4.07471 13.6627C4.94305 14.852 5.90023 15.9739 6.93802 17.0186L6.94175 17.0223C7.98974 18.0625 9.11436 19.0226 10.3061 19.8945C11.4183 20.7146 12.6196 21.4063 13.8873 21.9562C15.0047 22.4573 16.2119 22.7272 17.4362 22.7499L17.4451 22.75C18.2138 22.7551 18.9758 22.6066 19.6863 22.3132L19.6906 22.3115C20.4223 22.0041 21.0748 21.5351 21.5994 20.9397C21.9234 20.582 22.1924 20.1781 22.3978 19.7414C22.6081 19.3016 22.7182 18.8205 22.7201 18.333L22.7201 18.3247C22.7175 17.9588 22.6433 17.597 22.5016 17.2596L22.4972 17.2491L22.4924 17.2387C22.3166 16.8534 22.0364 16.5251 21.6837 16.291L18.3843 13.9485L18.381 13.9462C18.1195 13.7625 17.8395 13.6066 17.5458 13.4807C17.2627 13.3591 16.9585 13.2943 16.6505 13.2901L16.6431 13.29L16.6357 13.29C16.2497 13.2923 15.8722 13.4018 15.5451 13.6061C15.2239 13.7888 14.931 14.0171 14.6754 14.284L13.9919 14.9584C13.978 14.9521 13.9615 14.9446 13.9435 14.9367C13.5417 14.7054 13.164 14.4344 12.8163 14.1276L12.811 14.1229L12.8055 14.1183C12.2966 13.6862 11.7926 13.2118 11.2605 12.6897C10.7558 12.1751 10.2882 11.6588 9.84724 11.1492L9.84209 11.1433C9.53782 10.7991 9.26564 10.4278 9.02892 10.0341C9.02056 10.0131 9.01291 9.99496 9.00699 9.98097L9.69191 9.26902C9.95066 9.01665 10.1753 8.73155 10.3602 8.42097C10.565 8.09311 10.6757 7.71515 10.6801 7.32846L10.6802 7.31435L10.6798 7.30025C10.6717 6.99281 10.6029 6.69005 10.4773 6.40939C10.3504 6.11202 10.1895 5.83039 9.99764 5.57018L7.68448 2.30982C7.44026 1.95722 7.10528 1.67717 6.71499 1.4993Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
caret: {
path: 'M127.5 191.25L255 63.75L0 63.75L127.5 191.25Z',
viewBox: '-200 -200 640 640',
ratio: 1,
},
+ camera: {
+ path:
+ 'M3.60998 16.01C3.25998 16.01 2.90998 15.95 2.57998 15.84C2.13998 15.69 1.74998 15.45 1.40998 15.14C1.06998 14.82 0.809983 14.44 0.639983 14.01C0.469983 13.59 0.379983 13.12 0.399983 12.67L-1.68714e-05 6.52C-0.0300169 6.06 0.0399831 5.62 0.189983 5.19C0.339983 4.76 0.579983 4.38 0.889983 4.04C1.19998 3.71 1.56998 3.45 1.98998 3.27C2.40998 3.09 2.84998 3 3.29998 3C3.40998 2.99 3.55998 2.96 3.67998 2.89C3.78998 2.82 3.88998 2.72 3.94998 2.6L4.48998 1.52C4.74998 1.06 5.09998 0.7 5.51998 0.44C5.95998 0.18 6.43998 0.03 6.93998 0H8.67998C9.19998 0.03 9.67998 0.18 10.11 0.44C10.53 0.7 10.88 1.06 11.13 1.49L11.68 2.6C11.74 2.71 11.83 2.81 11.94 2.88C12.06 2.95 12.19 2.99 12.33 2.99C12.78 2.99 13.22 3.08 13.64 3.26C14.06 3.44 14.43 3.7 14.74 4.03C15.05 4.36 15.29 4.75 15.44 5.18C15.59 5.61 15.66 6.06 15.63 6.51L15.24 12.7C15.26 13.11 15.18 13.57 15 13.99C14.83 14.41 14.56 14.8 14.23 15.11C13.9 15.42 13.49 15.67 13.06 15.81C12.62 15.96 12.17 16.01 11.7 15.97H3.90998C3.80998 15.98 3.70998 15.99 3.60998 15.99V16.01ZM3.31998 4C2.99998 4 2.68998 4.06 2.39998 4.19C2.10998 4.32 1.84998 4.5 1.62998 4.73C1.40998 4.96 1.24998 5.23 1.13998 5.53C1.02998 5.83 0.989983 6.14 1.00998 6.46L1.39998 12.66C1.38998 13.03 1.44998 13.35 1.56998 13.64C1.68998 13.94 1.86998 14.2 2.09998 14.42C2.32998 14.64 2.59998 14.8 2.90998 14.91C3.20998 15.01 3.51998 15.05 3.84998 15.02H11.76C12.13 15.05 12.44 15.02 12.74 14.91C13.04 14.81 13.32 14.64 13.55 14.42C13.78 14.2 13.96 13.93 14.08 13.64C14.2 13.34 14.26 13.03 14.25 12.71L14.64 6.46C14.66 6.14 14.62 5.83 14.51 5.53C14.4 5.23 14.24 4.96 14.02 4.73C13.8 4.5 13.54 4.32 13.25 4.19C12.96 4.06 12.67 4.01 12.33 4C12.01 4 11.7 3.91 11.43 3.74C11.16 3.57 10.94 3.34 10.8 3.06L10.26 1.97C10.11 1.71 9.87998 1.47 9.59998 1.29C9.31998 1.11 8.99998 1.02 8.66998 1H6.97998C6.67998 1.02 6.35998 1.12 6.06998 1.29C5.78998 1.46 5.55998 1.71 5.38998 1.99L4.85998 3.05C4.70998 3.34 4.48998 3.57 4.21998 3.74C3.94998 3.91 3.63998 3.99 3.31998 4ZM8.9502 5.5H6.7002C6.4202 5.5 6.2002 5.28 6.2002 5C6.2002 4.72 6.4202 4.5 6.7002 4.5H8.9502C9.2302 4.5 9.4502 4.72 9.4502 5C9.4502 5.28 9.2302 5.5 8.9502 5.5ZM5.75014 12.1399C6.30014 12.6899 7.04014 12.9999 7.82014 12.9999C8.40014 12.9999 8.96014 12.8199 9.45014 12.4999C9.93014 12.1699 10.3001 11.7199 10.5301 11.1799C10.7601 10.6399 10.8101 10.0499 10.7001 9.47995C10.5901 8.90995 10.3101 8.38995 9.90014 7.97995C9.49014 7.56995 8.97014 7.28995 8.40014 7.17995C7.83014 7.06995 7.24014 7.12995 6.70014 7.34995C6.16014 7.56995 5.70014 7.93995 5.38014 8.42995C5.06014 8.90995 4.89014 9.47995 4.89014 10.0599C4.89014 10.8499 5.20014 11.5899 5.75014 12.1399ZM7.08014 8.26995C7.32014 8.16995 7.57014 8.11995 7.82014 8.11995C7.94143 8.11995 8.05401 8.13736 8.17414 8.15593C8.18276 8.15727 8.19143 8.15861 8.20014 8.15995C8.58014 8.22995 8.92014 8.41995 9.19014 8.68995C9.46014 8.95995 9.64014 9.29995 9.72014 9.67995C9.80014 10.0599 9.76014 10.4499 9.61014 10.7999C9.47014 11.1599 9.22014 11.4599 8.90014 11.6699C8.15014 12.1699 7.09014 12.0699 6.45014 11.4299C6.08014 11.0599 5.88014 10.5799 5.88014 10.0599C5.88014 9.66995 6.00014 9.29995 6.21014 8.97995C6.42014 8.65995 6.73014 8.41995 7.08014 8.26995Z',
+ viewBox: '0 0 16 19',
+ ratio: 1,
+ },
+ coverWithA: {
+ path:
+ 'M4.50003 1.20028C2.68872 1.20028 1.2003 2.6887 1.2003 4.50001V6.30013C1.19359 6.79752 1.5903 7.20616 2.08768 7.21287C2.58507 7.21958 2.99371 6.82287 3.00042 6.32549C3.00042 6.31729 3.00042 6.30834 3.00042 6.30013V4.50001C3.00042 3.6611 3.66111 2.99966 4.50077 2.99966H6.3009C6.79828 3.00637 7.20692 2.60966 7.21364 2.11227C7.22035 1.61638 6.82289 1.20774 6.32551 1.20028C6.3173 1.20028 6.30835 1.20028 6.30015 1.20028H4.50003ZM17.7004 1.20028C17.2031 1.19357 16.7944 1.59028 16.7877 2.08766C16.781 2.58505 17.1777 2.99369 17.6751 3.0004C17.6833 3.0004 17.6922 3.0004 17.7004 3.0004H19.5006C20.3395 3.0004 21.0009 3.66109 21.0009 4.50076V6.30088C20.9942 6.79826 21.3909 7.20691 21.8883 7.21362C22.3857 7.22033 22.7943 6.82362 22.801 6.32623C22.801 6.31803 22.801 6.30908 22.801 6.30088V4.50076C22.8003 2.6887 21.3119 1.20028 19.5006 1.20028H17.7004ZM11.9615 5.40156C11.5857 5.41797 11.2591 5.66554 11.1435 6.02348L8.66403 13.6885C8.62077 13.7736 8.59095 13.866 8.57603 13.9607L7.84375 16.2239C7.69089 16.6967 7.95039 17.2045 8.42391 17.3574C8.89669 17.5103 9.40451 17.2508 9.55738 16.7772L10.1316 15.001H13.8698L14.444 16.7772C14.5968 17.25 15.1039 17.5103 15.5774 17.3574C16.0502 17.2045 16.3104 16.6975 16.1576 16.2239L15.4149 13.9257C15.4007 13.8556 15.3783 13.787 15.3477 13.7221L12.8579 6.02422C12.7333 5.63944 12.3672 5.38441 11.9623 5.40231L11.9615 5.40156ZM12.0003 9.22403L13.2866 13.2001H10.7132L11.9995 9.22403H12.0003ZM2.08619 16.7877C1.58955 16.7951 1.19284 17.2038 1.2003 17.7004V19.5005C1.2003 21.3126 2.68872 22.8003 4.50003 22.8003H6.30015C6.79753 22.807 7.20618 22.4103 7.21289 21.9129C7.2196 21.4155 6.82289 21.0069 6.32551 21.0002C6.3173 21.0002 6.30835 21.0002 6.30015 21.0002H4.50003C3.66111 21.0002 2.99968 20.3395 2.99968 19.4998V17.6997C3.00713 17.2023 2.60967 16.7936 2.11229 16.7869C2.10334 16.7869 2.09439 16.7869 2.08545 16.7869L2.08619 16.7877ZM21.8861 16.7877C21.3894 16.7951 20.9927 17.2038 21.0002 17.7004V19.5005C21.0002 20.3395 20.3395 21.0009 19.4998 21.0009H17.6997C17.2023 20.9942 16.7937 21.3909 16.787 21.8883C16.7802 22.3857 17.177 22.7943 17.6743 22.801C17.6825 22.801 17.6915 22.801 17.6997 22.801H19.4998C21.3119 22.801 22.7995 21.3126 22.7995 19.5013V17.7012C22.807 17.2038 22.4095 16.7951 21.9122 16.7884C21.9032 16.7884 21.8943 16.7884 21.8853 16.7884L21.8861 16.7877Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
chatBubble: {
path:
- 'M3.793,2A2.8,2.8,0,0,0,1,4.793V14.1A2.8,2.8,0,0,0,3.793,16.9H6.572v3.724L11.548,16.9h5.281A2.8,2.8,0,0,0,19.622,14.1V4.793A2.8,2.8,0,0,0,16.829,2Zm0,1.862H16.829a.919.919,0,0,1,.931.931V14.1a.919.919,0,0,1-.931.931H10.922L8.434,16.9V15.035H3.793a.919.919,0,0,1-.931-.931V4.793A.919.919,0,0,1,3.793,3.862ZM21.484,7.587V9.449h2.793a.919.919,0,0,1,.931.931v9.311a.919.919,0,0,1-.931.931H19.629v1.862l-2.481-1.862H11.242a.942.942,0,0,1-.844-.546L8.9,21.2a2.789,2.789,0,0,0,2.342,1.28h5.281l4.968,3.724V22.484h2.786a2.8,2.8,0,0,0,2.793-2.793V10.38a2.8,2.8,0,0,0-2.793-2.793Z',
- viewBox: '0 0 26.071 24.209',
- fill: '#fff',
-
+ 'M21.5427 19.6332L21.9977 23.3199C22.0234 23.5357 21.9882 23.7543 21.8963 23.9512C21.8043 24.1481 21.6592 24.3154 21.4773 24.4343C21.2954 24.5532 21.0839 24.6188 20.8666 24.624C20.6494 24.6291 20.435 24.5734 20.2477 24.4632L16.2111 22.0599C16.0806 21.9801 15.9867 21.8522 15.9496 21.7038C15.9125 21.5554 15.9352 21.3984 16.0128 21.2666C16.598 20.1925 16.9068 18.9897 16.9111 17.7666C16.8512 15.6577 15.9582 13.6585 14.4276 12.2066C12.897 10.7547 10.8535 9.96842 8.74447 10.0199C7.84101 10.0161 6.94283 10.1579 6.08449 10.4399C5.98504 10.4725 5.87864 10.4778 5.77646 10.4551C5.67427 10.4325 5.58006 10.3828 5.5037 10.3112C5.42734 10.2396 5.37165 10.1488 5.34247 10.0483C5.31329 9.94775 5.31168 9.84123 5.33783 9.73989C5.94969 7.56822 7.26641 5.66172 9.08071 4.32052C10.895 2.97933 13.1038 2.27962 15.3594 2.33155C21.0527 2.33155 25.661 6.63655 25.661 11.9449C25.6471 13.4639 25.2652 14.9568 24.5479 16.2958C23.8307 17.6349 22.7995 18.78 21.5427 19.6332ZM15.1662 17.7679C15.1621 19.1217 14.6738 20.4294 13.7896 21.4546C13.17 22.1845 12.3972 22.7688 11.526 23.1661C10.6549 23.5633 9.70698 23.7637 8.74963 23.7529L5.70465 25.5612C5.58774 25.6307 5.45375 25.6661 5.31779 25.6634C5.18184 25.6607 5.04935 25.62 4.93528 25.546C4.82121 25.472 4.73011 25.3675 4.67228 25.2445C4.61444 25.1214 4.59218 24.9846 4.60799 24.8496L4.89965 22.5512C4.11531 22.0226 3.47165 21.3107 3.02442 20.4772C2.57719 19.6437 2.33987 18.7138 2.33301 17.7679C2.3412 16.7777 2.60016 15.8058 3.08571 14.9428C3.57127 14.0798 4.26759 13.3539 5.10965 12.8329C6.19376 12.1322 7.45882 11.7632 8.74963 11.7712C10.3954 11.7168 11.9955 12.3177 13.1986 13.442C14.4016 14.5664 15.1093 16.1222 15.1662 17.7679Z',
+ viewBox: '0 0 28 28',
+ ratio: 1,
+ },
+ chatTimer: {
+ path:
+ 'M13 16.9586C13 16.9586 12.96 16.9586 12.94 16.9586C12.7 16.9586 12.47 16.8786 12.26 16.7386L8.68 14.3486H7.45C7.26 14.8786 6.96 15.3686 6.54 15.7886C5.83 16.4986 4.84 16.9086 3.83 16.9086C2.82 16.9086 1.84 16.5086 1.12 15.7886C0.4 15.0686 0 14.0986 0 13.0786C0 12.1586 0.32 11.2986 0.9 10.6086C0.85 10.3086 0.83 9.99863 0.83 9.68863V4.68863C0.79 4.08863 0.89 3.46863 1.11 2.87863C1.33 2.28863 1.67 1.75863 2.12 1.31863C2.57 0.878631 3.09 0.528631 3.68 0.308631C4.28 0.0786307 4.9 -0.0213694 5.53 0.00863065H13.83C14.43 -0.0313694 15.05 0.0686307 15.64 0.288631C16.23 0.508631 16.76 0.848631 17.2 1.29863C17.65 1.74863 17.99 2.26863 18.21 2.85863C18.43 3.44863 18.53 4.05863 18.49 4.68863V9.67863C18.51 10.2886 18.41 10.8986 18.19 11.4886C17.97 12.0686 17.64 12.5986 17.2 13.0486C16.73 13.4986 16.2 13.8286 15.62 14.0486C15.2 14.2086 14.77 14.3086 14.32 14.3386V15.6286C14.32 15.8686 14.26 16.1086 14.13 16.3186C14.01 16.5286 13.83 16.6986 13.62 16.8086C13.42 16.9186 13.21 16.9686 12.99 16.9686L13 16.9586ZM7.66 13.3486H8.83C8.93 13.3486 9.03 13.3786 9.11 13.4286L12.82 15.8986C12.82 15.8986 12.93 15.9486 12.99 15.9486C13.04 15.9486 13.11 15.9386 13.16 15.9086C13.21 15.8786 13.26 15.8386 13.29 15.7886C13.32 15.7386 13.34 15.6786 13.34 15.6186V13.8386C13.34 13.6986 13.39 13.5686 13.49 13.4786C13.59 13.3886 13.73 13.3386 13.86 13.3386C14.35 13.3586 14.83 13.2786 15.29 13.0986C15.75 12.9286 16.16 12.6686 16.52 12.3286C16.84 11.9886 17.1 11.5786 17.28 11.1186C17.45 10.6586 17.53 10.1786 17.52 9.68863V4.66863C17.52 4.66863 17.52 4.64863 17.52 4.63863C17.55 4.14863 17.48 3.66863 17.3 3.20863C17.12 2.74863 16.86 2.33863 16.52 1.99863C16.17 1.64863 15.77 1.38863 15.31 1.21863C14.85 1.04863 14.38 0.968631 13.88 0.998631H5.5C4.98 0.968631 4.5 1.03863 4.04 1.21863C3.58 1.38863 3.18 1.65863 2.83 1.99863C2.48 2.34863 2.22 2.74863 2.05 3.20863C1.88 3.66863 1.8 4.14863 1.83 4.63863V9.66863C1.83 9.66863 1.83 9.74863 1.83 9.78863C1.99 9.68863 2.16 9.59863 2.34 9.52863C2.4 9.49863 2.46 9.47863 2.52 9.45863C2.61 9.42863 2.7 9.39863 2.79 9.36863C3.13 9.26863 3.47 9.20863 3.85 9.22863C4.39 9.22863 4.91 9.33863 5.4 9.55863C5.62 9.65863 5.83 9.77863 6.02 9.90863C6.21 10.0386 6.38 10.1886 6.55 10.3486C7.27 11.0686 7.67 12.0386 7.67 13.0586C7.67 13.1486 7.67 13.2386 7.67 13.3386L7.66 13.3486ZM3.83 10.2386C3.07 10.2386 2.36 10.5286 1.83 11.0686C1.29 11.6086 1 12.3186 1 13.0686C1 13.8186 1.29 14.5386 1.83 15.0686C2.89 16.1286 4.77 16.1286 5.84 15.0686C6.19 14.7186 6.44 14.2886 6.57 13.8186C6.57 13.7786 6.57 13.7486 6.59 13.7086C6.65 13.4986 6.67 13.2786 6.67 13.0586C6.67 12.3586 6.41 11.6886 5.94 11.1686C5.78 10.9786 5.59 10.8286 5.39 10.6886C4.93 10.3886 4.39 10.2186 3.83 10.2186V10.2386ZM3 14.4086C2.83 14.4086 2.66 14.3186 2.57 14.1686C2.43 13.9286 2.5 13.6286 2.74 13.4786L3.54 12.9986V12.0286C3.54 11.7486 3.76 11.5286 4.04 11.5286C4.32 11.5286 4.54 11.7486 4.54 12.0286V13.2786C4.54 13.4586 4.45 13.6186 4.3 13.7086L3.26 14.3286C3.18 14.3786 3.09 14.3986 3 14.3986V14.4086ZM12.58 7.73863H6.75C6.47 7.73863 6.25 7.51863 6.25 7.23863C6.25 6.95863 6.47 6.73863 6.75 6.73863H12.58C12.86 6.73863 13.08 6.95863 13.08 7.23863C13.08 7.51863 12.86 7.73863 12.58 7.73863Z',
+ viewBox: '0 0 19 17',
+ ratio: 1,
+ },
+ chatWithLogo: {
+ path:
+ 'M17.1432 12.8331C20.2676 12.8331 22.8 10.2286 22.8 7.01703C22.8 3.80542 20.2669 1.2002 17.1432 1.2002C14.0195 1.2002 11.4863 3.80464 11.4863 7.01625C11.4863 10.2279 14.0195 12.8331 17.1432 12.8331ZM14.3637 4.78044L15.2269 6.22245H15.9606V5.26756C15.9606 4.87725 16.2687 4.5605 16.6483 4.5605H19.0436L19.9068 3.11849V8.01761C19.9068 8.40793 19.5988 8.72467 19.2191 8.72467H18.31V9.67956C18.31 9.74384 18.3009 9.80502 18.2859 9.86388C18.2859 9.86504 18.2855 9.8662 18.2851 9.86736C18.2849 9.86805 18.2847 9.86873 18.2845 9.86942C18.2844 9.86989 18.2843 9.87037 18.2843 9.87085C18.2806 9.88479 18.2768 9.89795 18.2723 9.91112L18.2699 9.91795C18.2669 9.92674 18.2638 9.93583 18.2602 9.94442C18.2591 9.94752 18.2578 9.95062 18.2565 9.95371C18.2552 9.95681 18.2538 9.95991 18.2527 9.96301C18.2452 9.98004 18.2376 9.99631 18.2294 10.0126C18.229 10.0136 18.2286 10.0146 18.2281 10.0155C18.2278 10.0161 18.2275 10.0166 18.2272 10.0172L18.2263 10.0188C18.2166 10.0366 18.2068 10.0544 18.1955 10.0707C18.1943 10.0718 18.1936 10.0735 18.193 10.0749C18.1928 10.0753 18.1926 10.0757 18.1925 10.0761C18.1849 10.0877 18.1766 10.0985 18.1683 10.1094C18.1216 10.1721 18.0644 10.2271 17.9996 10.2705C17.9978 10.2719 17.9957 10.273 17.9935 10.2742L17.9891 10.2767C17.9733 10.2867 17.9574 10.2968 17.9409 10.3061C17.9356 10.3092 17.9303 10.3115 17.9243 10.3138C17.9077 10.3223 17.8912 10.3301 17.8738 10.3371C17.8723 10.3378 17.8706 10.3384 17.8689 10.339C17.8672 10.3396 17.8655 10.3402 17.864 10.3409C17.8015 10.3649 17.7345 10.3804 17.6644 10.3843C17.6599 10.3843 17.6554 10.385 17.6509 10.3857L17.6441 10.3866H15.0522C14.6725 10.3866 14.3645 10.0699 14.3645 9.67956L14.3637 4.78044ZM17.6227 6.2213C18.0023 6.2213 18.3104 6.53805 18.3104 6.92836V7.80271H18.7691C18.9212 7.80271 19.0448 7.6757 19.0448 7.51926V5.68384C19.0448 5.5274 18.9212 5.40039 18.7691 5.40039H17.0999C16.9478 5.40039 16.8242 5.5274 16.8242 5.68384V6.2213H17.6227ZM15.5022 9.4658H17.1714C17.3236 9.4658 17.4471 9.33879 17.4471 9.18235V8.72466H16.6487C16.2691 8.72466 15.961 8.40791 15.961 8.01759V7.06348H15.5022C15.3501 7.06348 15.2266 7.19049 15.2266 7.34692V9.18235C15.2266 9.33879 15.3501 9.4658 15.5022 9.4658ZM16.8262 7.06348H17.1704C17.3226 7.06348 17.4461 7.19049 17.4461 7.34692V7.80384H17.0988C17.0122 7.80384 16.9354 7.76202 16.8849 7.69697C16.8473 7.64431 16.8322 7.58932 16.8284 7.57461C16.8277 7.57151 16.8277 7.56454 16.8277 7.56454L16.8262 7.06348ZM18.4284 18.1214C19.4211 18.1214 20.2286 17.2912 20.2286 16.2704L20.2294 16.2712V13.1138C20.7951 12.8126 21.314 12.4261 21.772 11.9715V16.2704C21.772 18.1632 20.2701 19.7074 18.4291 19.7074H12.5147L7.37152 23.6733C7.14554 23.8476 6.87287 23.9374 6.60019 23.9374C6.40511 23.9374 6.21001 23.8902 6.02472 23.8003C5.58708 23.5727 5.31441 23.1181 5.31441 22.6154V19.7074H4.54309C2.70216 19.7074 1.2002 18.1632 1.2002 16.2704V7.2815C1.2002 5.38799 2.70216 3.84452 4.54309 3.84375H11.2131C10.9615 4.34094 10.7656 4.86911 10.6368 5.42981H4.54309C3.55031 5.42981 2.74284 6.26001 2.74284 7.28072V16.2697C2.74284 17.2904 3.55031 18.1206 4.54309 18.1206H6.08573C6.51282 18.1206 6.85705 18.4745 6.85705 18.9136V22.0865L11.7938 18.2801C11.9279 18.1802 12.0928 18.1214 12.257 18.1214H18.4284Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
check: {
@@ -257,12 +397,17 @@ export const icons = {
viewBox: '3 4 31.377 28.313',
ratio: 1,
},
+
checkBox: {
- path: `M3.322,0C1.493,0.014,0.014,1.493,0,3.322v23.254
- c0.013,1.83,1.492,3.31,3.322,3.324h23.254c1.831-0.013,3.311-1.493,3.324-3.324V3.322C29.886,1.492,28.406,0.013,26.576,0H3.322z
- M3.322,3.322h23.254v23.254H3.322V3.322z M22.08,8.792L11.627,19.244l-3.809-3.809L5.47,17.784l6.157,6.157l12.8-12.8L22.08,8.792z
- `,
- viewBox: '0 0 34.472 34.472',
+ path:
+ 'M2.3961 2.39683C3.82432 0.968616 5.96704 0.416748 8.74935 0.416748H15.2493C18.0317 0.416748 20.1744 0.968616 21.6026 2.39683C23.0308 3.82505 23.5827 5.96778 23.5827 8.75008V15.2501C23.5827 18.0324 23.0308 20.1751 21.6026 21.6033C20.1744 23.0315 18.0317 23.5834 15.2493 23.5834H8.74935C5.96704 23.5834 3.82432 23.0315 2.3961 21.6033C0.967883 20.1751 0.416016 18.0324 0.416016 15.2501V8.75008C0.416016 5.96778 0.967883 3.82505 2.3961 2.39683ZM3.45676 3.45749C2.44748 4.46678 1.91602 6.11572 1.91602 8.75008V15.2501C1.91602 17.8844 2.44748 19.5334 3.45676 20.5427C4.46604 21.552 6.11499 22.0834 8.74935 22.0834H15.2493C17.8837 22.0834 19.5327 21.552 20.5419 20.5427C21.5512 19.5334 22.0827 17.8844 22.0827 15.2501V8.75008C22.0827 6.11572 21.5512 4.46678 20.5419 3.45749C19.5327 2.44821 17.8837 1.91675 15.2493 1.91675H8.74935C6.11499 1.91675 4.46604 2.44821 3.45676 3.45749Z',
+ viewBox: '0 0 26 26',
+ ratio: 1,
+ },
+ checkBoxTick: {
+ path:
+ 'M3.3961 3.39683C4.82432 1.96862 6.96704 1.41675 9.74935 1.41675H16.2493C19.0317 1.41675 21.1744 1.96862 22.6026 3.39683C24.0308 4.82505 24.5827 6.96778 24.5827 9.75008V16.2501C24.5827 19.0324 24.0308 21.1751 22.6026 22.6033C21.1744 24.0315 19.0317 24.5834 16.2493 24.5834H9.74935C6.96704 24.5834 4.82432 24.0315 3.3961 22.6033C1.96788 21.1751 1.41602 19.0324 1.41602 16.2501V9.75008C1.41602 6.96778 1.96788 4.82505 3.3961 3.39683ZM4.45676 4.45749C3.44748 5.46678 2.91602 7.11572 2.91602 9.75008V16.2501C2.91602 18.8844 3.44748 20.5334 4.45676 21.5427C5.46604 22.552 7.11499 23.0834 9.74935 23.0834H16.2493C18.8837 23.0834 20.5327 22.552 21.5419 21.5427C22.5512 20.5334 23.0827 18.8844 23.0827 16.2501V9.75008C23.0827 7.11572 22.5512 5.46678 21.5419 4.45749C20.5327 3.44821 18.8837 2.91675 16.2493 2.91675H9.74935C7.11499 2.91675 5.46604 3.44821 4.45676 4.45749ZM18.135 9.40445C18.4276 9.6976 18.4272 10.1725 18.1341 10.4651L11.9916 16.5968C11.6986 16.8892 11.2241 16.889 10.9314 16.5963L7.86553 13.5305C7.57264 13.2376 7.57264 12.7627 7.86553 12.4698C8.15842 12.1769 8.6333 12.1769 8.92619 12.4698L11.4622 15.0058L17.0743 9.40351C17.3675 9.11088 17.8424 9.1113 18.135 9.40445Z',
+ viewBox: '0 0 26 26',
ratio: 1,
},
chevron: {
@@ -271,6 +416,18 @@ export const icons = {
viewBox: '1.5 5.5 21 12',
ratio: 1,
},
+ chainLink: {
+ path:
+ 'M1.25 12C1.25 8.55579 4.05579 5.75 7.5 5.75H9C9.41421 5.75 9.75 6.08579 9.75 6.5C9.75 6.91421 9.41421 7.25 9 7.25H7.5C4.88421 7.25 2.75 9.38421 2.75 12C2.75 14.6067 4.8851 16.75 7.5 16.75H9C9.41421 16.75 9.75 17.0858 9.75 17.5C9.75 17.9142 9.41421 18.25 9 18.25H7.5C4.0549 18.25 1.25 15.4333 1.25 12ZM14.24 6.5C14.24 6.08579 14.5758 5.75 14.99 5.75H16.5C19.9451 5.75 22.75 8.56667 22.75 12C22.75 15.4451 19.9333 18.25 16.5 18.25H14.99C14.5758 18.25 14.24 17.9142 14.24 17.5C14.24 17.0858 14.5758 16.75 14.99 16.75H16.5C19.1067 16.75 21.25 14.6149 21.25 12C21.25 9.39333 19.1149 7.25 16.5 7.25H14.99C14.5758 7.25 14.24 6.91421 14.24 6.5ZM7.25 12C7.25 11.5858 7.58579 11.25 8 11.25H16C16.4142 11.25 16.75 11.5858 16.75 12C16.75 12.4142 16.4142 12.75 16 12.75H8C7.58579 12.75 7.25 12.4142 7.25 12Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ chatDots: {
+ path:
+ 'M4.20711 4.20711C3.46079 4.95343 3 6.15414 3 8V13C3 15.4138 3.49156 16.5388 4.1585 17.1224C4.85848 17.7349 6.01768 18 8 18H8.5C8.83209 18 9.14562 18.1027 9.3854 18.2215C9.62157 18.3386 9.89948 18.5276 10.1033 18.8044L11.6 20.8C11.7689 21.0252 11.9233 21.06 12 21.06C12.0767 21.06 12.2311 21.0252 12.4 20.8L13.9038 18.7949C14.28 18.2999 14.8728 18 15.5 18H16C17.8459 18 19.0466 17.5392 19.7929 16.7929C20.5392 16.0466 21 14.8459 21 13V8C21 6.15414 20.5392 4.95343 19.7929 4.20711C19.0466 3.46079 17.8459 3 16 3H8C6.15414 3 4.95343 3.46079 4.20711 4.20711ZM2.79289 2.79289C4.04657 1.53921 5.84586 1 8 1H16C18.1541 1 19.9534 1.53921 21.2071 2.79289C22.4608 4.04657 23 5.84586 23 8V13C23 15.1541 22.4608 16.9534 21.2071 18.2071C19.9534 19.4608 18.1541 20 16 20H15.5037C15.5033 20.0002 15.5028 20.0004 15.5022 20.0007C15.5006 20.0015 15.499 20.0025 15.4978 20.0036C15.497 20.0042 15.4966 20.0046 15.4963 20.0049C15.4962 20.005 15.4963 20.0049 15.4963 20.0049L14 22C13.5089 22.6548 12.7933 23.06 12 23.06C11.2067 23.06 10.4911 22.6548 10 22L8.51928 20.0257C8.51304 20.0218 8.50553 20.0176 8.4971 20.0135C8.48848 20.0092 8.48002 20.0055 8.47227 20.0025C8.46973 20.0016 8.46741 20.0007 8.46532 20H8C5.98232 20 4.14152 19.7651 2.8415 18.6276C1.50844 17.4612 1 15.5862 1 13V8C1 5.84586 1.53921 4.04657 2.79289 2.79289ZM6.99451 11C6.99451 10.4477 7.44222 10 7.99451 10H8.00349C8.55577 10 9.00349 10.4477 9.00349 11C9.00349 11.5523 8.55577 12 8.00349 12H7.99451C7.44222 12 6.99451 11.5523 6.99451 11ZM10.9955 11C10.9955 10.4477 11.4432 10 11.9955 10H12.0045C12.5568 10 13.0045 10.4477 13.0045 11C13.0045 11.5523 12.5568 12 12.0045 12H11.9955C11.4432 12 10.9955 11.5523 10.9955 11ZM14.9965 11C14.9965 10.4477 15.4442 10 15.9965 10H16.0054C16.5577 10 17.0054 10.4477 17.0054 11C17.0054 11.5523 16.5577 12 16.0054 12H15.9965C15.4442 12 14.9965 11.5523 14.9965 11Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
circle: {
path: '\
M 0, 50\
@@ -282,21 +439,33 @@ export const icons = {
},
circleCheck: {
path:
- 'M4.77,7.61c-0.15-0.15-0.38-0.15-0.53,0c-0.15,0.15-0.15,0.38,0,0.53l1.88,1.88c0.15,0.15,0.38,0.15,0.53,0 l4.13-4.12c0.15-0.15,0.15-0.38,0-0.53c-0.15-0.15-0.38-0.15-0.53,0L6.38,9.22L4.77,7.61z',
- viewBox: '4 4 7 7',
+ 'M10.6244 0C4.76611 0 0 4.9346 0 11C0 17.0654 4.76611 22 10.6244 22C16.4827 22 21.2488 17.0654 21.2488 11C21.2488 9.76143 21.0406 8.5737 20.674 7.46152L18.9538 9.24258C19.0655 9.81012 19.1239 10.3984 19.1239 11C19.1239 15.8522 15.311 19.8 10.6244 19.8C5.93784 19.8 2.12488 15.8522 2.12488 11C2.12488 6.14775 5.93784 2.2 10.6244 2.2C12.3595 2.2 13.9732 2.7432 15.3203 3.67168L16.8414 2.09687C15.0903 0.783464 12.9457 0 10.6244 0ZM20.4976 1.42227L9.56197 12.7445L6.06338 9.12227L4.56103 10.6777L9.56197 15.8555L22 2.97773L20.4976 1.42227Z',
+ viewBox: '0 0 22 22',
ratio: 1,
},
delete: {
path:
- 'M11.17 37.16h83.48a8.4 8.4 0 012 .16 5.93 5.93 0 012.88 1.56 5.43 5.43 0 011.64 3.34 7.65 7.65 0 01-.06 1.44L94 117.31V117.72a7.06 7.06 0 01-.2.9v.06a5.89 5.89 0 01-5.47 4.07H17.32a6.17 6.17 0 01-1.25-.19 6.17 6.17 0 01-1.16-.48 6.18 6.18 0 01-3.08-4.88l-7-73.49a7.69 7.69 0 01-.06-1.66 5.37 5.37 0 011.63-3.29 6 6 0 013-1.58 8.94 8.94 0 011.79-.13zM5.65 8.8h31.47V6a2.44 2.44 0 010-.27 6 6 0 011.76-4A6 6 0 0143.09 0h19.67a6 6 0 015.7 6v2.8h32.39a4.7 4.7 0 014.31 4.43v10.36a2.59 2.59 0 01-2.59 2.59H2.59A2.59 2.59 0 010 23.62V13.53a1.56 1.56 0 010-.31 4.72 4.72 0 013.88-4.34 10.4 10.4 0 011.77-.08zm42.1 52.7a4.77 4.77 0 019.49 0v37a4.77 4.77 0 01-9.49 0v-37zm23.73-.2a4.58 4.58 0 015-4.06 4.47 4.47 0 014.51 4.46l-2 37a4.57 4.57 0 01-5 4.06 4.47 4.47 0 01-4.51-4.46l2-37zM25 61.7a4.46 4.46 0 014.5-4.46 4.58 4.58 0 015 4.06l2 37a4.47 4.47 0 01-4.51 4.46 4.57 4.57 0 01-5-4.06l-2-37z',
- viewBox: '0 0 105.16 122.88',
+ 'M8.0997 2.71582C8.06565 2.82911 8.04151 2.96562 8.00631 3.17464L7.89581 3.83261C8.31373 3.82207 8.73182 3.81678 9.14998 3.81674C10.136 3.81674 11.1231 3.83436 12.1099 3.86923L11.9931 3.17911C11.922 2.74275 11.8808 2.62818 11.8273 2.56664C11.815 2.55229 11.6984 2.41675 11.0917 2.41675H8.90839C8.29249 2.41675 8.18014 2.54803 8.17224 2.55726C8.17212 2.5574 8.17231 2.55718 8.17224 2.55726C8.15872 2.57259 8.1311 2.61135 8.0997 2.71582ZM13.6428 3.93723C14.9553 4.00726 16.2666 4.1075 17.574 4.23707C17.9862 4.27792 18.2872 4.64518 18.2464 5.05737C18.2056 5.46957 17.8383 5.7706 17.4261 5.72976C14.675 5.45713 11.9081 5.31675 9.15013 5.31674M13.6428 3.93723L13.4736 2.93773C13.4735 2.937 13.4734 2.93626 13.4733 2.93553C13.4705 2.91861 13.4677 2.90104 13.4648 2.88287C13.4108 2.54589 13.3239 2.00257 12.9603 1.58353C12.5328 1.0909 11.886 0.916748 11.0917 0.916748H8.90839C8.12532 0.916748 7.47743 1.07728 7.04691 1.56548C6.68322 1.9779 6.59393 2.52025 6.53756 2.86269C6.53397 2.88447 6.53052 2.90544 6.52714 2.92552L6.36437 3.89471C5.61705 3.9365 4.87064 3.99509 4.12572 4.07044C4.12533 4.07048 4.12495 4.07051 4.12456 4.07055L2.42688 4.23699C2.01464 4.27741 1.71322 4.64435 1.75363 5.05659C1.79405 5.46883 2.161 5.77025 2.57323 5.72983L4.27323 5.56317L4.27555 5.56294C5.89522 5.39907 7.52219 5.3169 9.15013 5.31674M4.24341 6.86831C4.65676 6.84162 5.01348 7.15508 5.04016 7.56844L5.58155 15.956C5.5816 15.9567 5.58165 15.9574 5.5817 15.958C5.60534 16.2953 5.62484 16.553 5.66967 16.7756C5.71303 16.9909 5.77071 17.119 5.83652 17.2047C5.94118 17.341 6.23812 17.5834 7.32506 17.5834H12.6751C13.762 17.5834 14.0589 17.341 14.1636 17.2047C14.2294 17.119 14.2871 16.9909 14.3304 16.7756C14.3753 16.553 14.3948 16.2953 14.4184 15.958C14.4185 15.9574 14.4185 15.9567 14.4186 15.956L14.9599 7.56844C14.9866 7.15508 15.3433 6.84162 15.7567 6.86831C16.1701 6.89499 16.4835 7.25171 16.4568 7.66506L15.9149 16.0608L15.9135 16.08C15.8918 16.3912 15.8671 16.7429 15.8009 17.0717C15.7318 17.415 15.6082 17.7864 15.3532 18.1184C14.8162 18.8175 13.9131 19.0834 12.6751 19.0834H7.32506C6.08699 19.0834 5.18393 18.8175 4.64692 18.1184C4.3919 17.7864 4.26834 17.415 4.19919 17.0717C4.13297 16.7429 4.10835 16.3912 4.08657 16.08L4.08494 16.0567L3.54328 7.66506C3.5166 7.25171 3.83006 6.89499 4.24341 6.86831Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ deleteContact: {
+ path:
+ 'M6.36023 8.93001C7.02023 9.59001 7.84023 10.03 8.75023 10.21C9.05023 10.27 9.36023 10.3 9.66023 10.3C10.2702 10.3 10.8702 10.18 11.4402 9.94001C12.3002 9.59 13.0202 8.99001 13.5302 8.22001C14.0402 7.45001 14.3202 6.55001 14.3202 5.63001C14.3202 4.38001 13.8302 3.21001 12.9502 2.33001C11.4402 0.810006 8.86023 0.560006 7.06023 1.75001C6.29023 2.26001 5.70023 2.99001 5.34023 3.84001C4.99023 4.70001 4.89023 5.63001 5.07023 6.54001C5.25023 7.45001 5.69023 8.27001 6.35023 8.93001H6.36023ZM6.27023 4.23001C6.55023 3.56001 7.02023 2.99001 7.62023 2.58001C8.22023 2.18001 8.93023 1.96001 9.66023 1.96001C10.6302 1.96001 11.5702 2.35001 12.2502 3.03001C12.9402 3.72001 13.3202 4.64001 13.3202 5.62001C13.3202 6.35001 13.1102 7.05001 12.7002 7.66001C12.3002 8.27001 11.7302 8.73001 11.0502 9.01001C10.3702 9.29001 9.64023 9.36001 8.93023 9.22001C8.22023 9.08001 7.57023 8.73001 7.05023 8.22001C6.54023 7.70001 6.19023 7.06001 6.05023 6.34001C5.91023 5.63001 5.98023 4.89001 6.26023 4.22001L6.27023 4.23001ZM17.5098 12.24C17.1498 11.83 16.7198 11.51 16.2198 11.29C15.7198 11.07 15.1898 10.96 14.6598 10.96C14.1498 10.92 13.6598 11.06 13.1898 11.25C12.7198 11.45 12.2998 11.72 11.9498 12.08C11.2098 11.89 10.4498 11.78 9.67977 11.78H9.66977C5.44977 11.78 2.00977 14.62 2.00977 18.11C2.00977 18.39 2.22977 18.61 2.50977 18.61C2.78977 18.61 3.00977 18.39 3.00977 18.11C3.00977 15.17 5.99977 12.78 9.66977 12.78H9.67977C10.2298 12.78 10.7798 12.85 11.3098 12.96C11.2846 13.0103 11.256 13.0588 11.2275 13.1071C11.188 13.1739 11.1488 13.2403 11.1198 13.31C10.9298 13.78 10.8298 14.27 10.8298 14.78C10.8298 15.48 11.0198 16.16 11.3798 16.75C11.5798 17.08 11.8198 17.38 12.1098 17.62C12.8098 18.26 13.7098 18.61 14.6498 18.61H14.6798C15.3398 18.61 15.9798 18.44 16.5598 18.11C17.1398 17.78 17.6198 17.31 17.9498 16.75C18.1598 16.41 18.3098 16.04 18.3898 15.68C18.4698 15.39 18.5098 15.08 18.5098 14.78C18.5098 13.83 18.1598 12.92 17.5298 12.22L17.5098 12.24ZM17.3998 15.47C17.3398 15.75 17.2298 16.02 17.0698 16.27C16.8198 16.69 16.4698 17.04 16.0398 17.28C15.6198 17.52 15.1398 17.65 14.6598 17.65H14.6398C13.9498 17.65 13.2798 17.39 12.7598 16.91C12.5498 16.73 12.3698 16.51 12.2198 16.27C11.9498 15.83 11.8098 15.33 11.8098 14.81C11.8098 14.44 11.8798 14.07 12.0198 13.73C12.1598 13.38 12.3698 13.07 12.6298 12.81C12.8898 12.55 13.1998 12.34 13.5498 12.2C13.8898 12.06 14.2598 11.99 14.6298 11.99C14.9998 11.95 15.4198 12.07 15.7798 12.23C16.1398 12.39 16.4598 12.63 16.7298 12.93C17.1998 13.45 17.4598 14.12 17.4598 14.82C17.4598 15.04 17.4298 15.26 17.3698 15.49L17.3998 15.47ZM15.87 14.2699L15.35 14.7899L15.33 14.7999L15.88 15.3399C16.07 15.5399 16.07 15.8499 15.88 16.0499C15.79 16.1499 15.66 16.1999 15.53 16.1999C15.4 16.1999 15.28 16.1499 15.18 16.0499L14.63 15.4999L14.1 16.0299C14.01 16.1299 13.87 16.1799 13.75 16.1799C13.63 16.1799 13.5 16.1299 13.4 16.0299C13.2 15.8299 13.2 15.5199 13.4 15.3199L13.93 14.7899L13.42 14.2799C13.23 14.0799 13.23 13.7699 13.42 13.5699C13.62 13.3699 13.93 13.3799 14.13 13.5699L14.64 14.0799L15.16 13.5599C15.36 13.3599 15.67 13.3599 15.87 13.5599C16.07 13.7599 16.07 14.0699 15.87 14.2699Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ document: {
+ path:
+ 'M2.8402 0C1.38957 0 0.200195 1.23893 0.200195 2.75V19.25C0.200195 20.7611 1.38957 22 2.8402 22H15.1602C16.6108 22 17.8002 20.7611 17.8002 19.25V6.03711L12.0046 0H2.8402ZM2.8402 1.83333H10.7602V7.33333H16.0402V19.25C16.0402 19.7656 15.6552 20.1667 15.1602 20.1667H2.8402C2.3452 20.1667 1.9602 19.7656 1.9602 19.25V2.75C1.9602 2.23438 2.3452 1.83333 2.8402 1.83333ZM12.5202 3.12956L14.7958 5.5H12.5202V3.12956ZM5.4802 11V12.8333H12.5202V11H5.4802ZM5.4802 14.6667V16.5H10.7602V14.6667H5.4802Z',
+ viewBox: '0 0 18 22',
ratio: 1,
},
doubleCheckCircleFilled: {
path:
- 'M7.91731278,0.313257194 C6.15053376,1.58392424 5,3.65760134 5,6 C5,6.343797 5.0247846,6.68180525 5.07266453,7.01233547 L5,7.085 L3.205,5.295 L2.5,6 L5,8.5 L5.33970233,8.16029767 C5.80439817,9.59399486 6.71914823,10.8250231 7.91731278,11.6867428 C7.31518343,11.8898758 6.67037399,12 6,12 C2.688,12 0,9.312 0,6 C0,2.688 2.688,0 6,0 C6.67037399,0 7.31518343,0.110124239 7.91731278,0.313257194 Z M12,0 C15.312,0 18,2.688 18,6 C18,9.312 15.312,12 12,12 C8.688,12 6,9.312 6,6 C6,2.688 8.688,0 12,0 Z M11,8.5 L15.5,4 L14.795,3.29 L11,7.085 L9.205,5.295 L8.5,6 L11,8.5 Z',
- viewBox: '3 0 13 13',
- ratio: 1.6,
+ 'M10.6777 15.0777C10.4632 15.2922 10.1814 15.4 9.9 15.4C9.61856 15.4 9.33675 15.2922 9.12227 15.0777L4.72227 10.6777C4.29222 10.2477 4.29222 9.55231 4.72227 9.12227C5.15231 8.69222 5.84769 8.69222 6.27773 9.12227L9.9 12.7445L19.0849 3.5596C17.0754 1.37607 14.2022 0 11 0C4.92458 0 0 4.92458 0 11C0 17.0754 4.92458 22 11 22C17.0754 22 22 17.0754 22 11C22 8.9264 21.416 6.99388 20.418 5.33708L10.6777 15.0777Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
},
dropdownArrow: {
path: `M11.9,0.577L11.9,0.577c-0.77-0.769-2.017-0.769-2.787,0L0.545,9.149
@@ -317,6 +486,30 @@ export const icons = {
viewBox: '0 0 27 27',
ratio: 1,
},
+ halfCircleWithTick: {
+ path:
+ 'M14.0007 2.33334C7.56765 2.33334 2.33398 7.56701 2.33398 14C2.33398 20.433 7.56765 25.6667 14.0007 25.6667C20.4337 25.6667 25.6673 20.433 25.6673 14C25.6673 12.6863 25.4386 11.4266 25.0361 10.2471L23.1471 12.1361C23.2696 12.7381 23.334 13.3618 23.334 14C23.334 19.1462 19.1468 23.3333 14.0007 23.3333C8.85448 23.3333 4.66732 19.1462 4.66732 14C4.66732 8.85384 8.85448 4.66668 14.0007 4.66668C15.9058 4.66668 17.6779 5.24288 19.1572 6.22755L20.8275 4.5573C18.9048 3.1643 16.5498 2.33334 14.0007 2.33334ZM24.8424 3.84181L12.834 15.8503L8.99219 12.0085L7.34245 13.6582L12.834 19.1498L26.4922 5.49155L24.8424 3.84181Z',
+ viewBox: '0 0 28 28',
+ ratio: 1,
+ },
+ circleWithTick: {
+ path:
+ 'M5.99999 0.166687C2.78533 0.166687 0.166656 2.78536 0.166656 6.00002C0.166656 9.21468 2.78533 11.8334 5.99999 11.8334C9.21465 11.8334 11.8333 9.21468 11.8333 6.00002C11.8333 2.78536 9.21465 0.166687 5.99999 0.166687ZM5.99999 1.33335C8.58423 1.33335 10.6667 3.41578 10.6667 6.00002C10.6667 8.58426 8.58423 10.6667 5.99999 10.6667C3.41575 10.6667 1.33332 8.58426 1.33332 6.00002C1.33332 3.41578 3.41575 1.33335 5.99999 1.33335ZM8.32193 4.24445C8.17027 4.24875 8.02647 4.3123 7.92089 4.42092L5.41666 6.92515L4.07909 5.58759C3.93275 5.43517 3.71552 5.3739 3.5112 5.42707C3.30663 5.48049 3.14713 5.63999 3.0937 5.84457C3.04054 6.04888 3.10181 6.26612 3.25422 6.41246L5.00422 8.16246C5.23209 8.39007 5.60123 8.39007 5.82909 8.16246L8.74576 5.24579C8.91818 5.07818 8.97008 4.82171 8.8764 4.60017C8.78272 4.37864 8.56245 4.23711 8.32193 4.24445Z',
+ viewBox: '0 0 12 12',
+ ratio: 1,
+ },
+ circleFillTick: {
+ path:
+ 'M9.70703 13.707C9.51204 13.902 9.25586 14 9 14C8.74414 14 8.48796 13.902 8.29297 13.707L4.29297 9.70703C3.90202 9.31608 3.90202 8.68392 4.29297 8.29297C4.68392 7.90202 5.31608 7.90202 5.70703 8.29297L9 11.5859L17.3499 3.236C15.5231 1.25098 12.9111 0 10 0C4.47689 0 0 4.47689 0 10C0 15.5231 4.47689 20 10 20C15.5231 20 20 15.5231 20 10C20 8.11491 19.4691 6.35807 18.5618 4.85189L9.70703 13.707Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ circleTickOutline: {
+ path:
+ 'M5.84335 1.37775C7.35084 0.753331 9.00964 0.589953 10.61 0.908281C12.2103 1.22661 13.6803 2.01235 14.8341 3.16613C15.9879 4.31991 16.7736 5.78992 17.092 7.39026C17.4103 8.99061 17.2469 10.6494 16.6225 12.1569C15.9981 13.6644 14.9406 14.9529 13.5839 15.8594C12.2272 16.7659 10.6322 17.2498 9.00049 17.2498L8.99832 17.2498C6.8128 17.2434 4.7186 16.3725 3.1732 14.8271C1.62779 13.2816 0.756802 11.1874 0.750491 9.00193L0.750488 8.99976C0.750488 7.36806 1.23434 5.77301 2.14086 4.4163C3.04739 3.0596 4.33586 2.00218 5.84335 1.37775ZM10.3173 2.37946C9.00798 2.11901 7.65078 2.25268 6.41738 2.76357C5.18397 3.27446 4.12977 4.13963 3.38807 5.24966C2.64657 6.35939 2.2507 7.66402 2.25049 8.99867C2.25594 10.7875 2.96895 12.5015 4.23386 13.7664C5.49878 15.0313 7.21282 15.7443 9.00165 15.7498C10.3363 15.7495 11.6409 15.3537 12.7506 14.6122C13.8606 13.8705 14.7258 12.8163 15.2367 11.5829C15.7476 10.3495 15.8812 8.99227 15.6208 7.6829C15.3603 6.37353 14.7175 5.17079 13.7735 4.22679C12.8295 3.28278 11.6267 2.63991 10.3173 2.37946ZM12.7176 6.34788C13.0102 6.64103 13.0098 7.1159 12.7166 7.40854L8.46412 11.6535C8.17115 11.946 7.69664 11.9458 7.40392 11.6531L5.28142 9.53057C4.98853 9.23767 4.98853 8.7628 5.28142 8.46991C5.57432 8.17701 6.04919 8.17701 6.34209 8.46991L7.93472 10.0625L11.6569 6.34694C11.95 6.05431 12.4249 6.05472 12.7176 6.34788Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
contacts: {
path:
'M13,14 C15.6887547,14 17.8818181,16.1223067 17.9953805,18.7831104 L18,19 L18,21 C18,21.5522847 17.5522847,22 17,22 C16.4871642,22 16.0644928,21.6139598 16.0067277,21.1166211 L16,21 L16,19 C16,17.4023191 14.75108,16.0963391 13.1762728,16.0050927 L13,16 L5,16 C3.40231912,16 2.09633912,17.24892 2.00509269,18.8237272 L2,19 L2,21 C2,21.5522847 1.55228475,22 1,22 C0.487164161,22 0.0644928393,21.6139598 0.00672773133,21.1166211 L0,21 L0,19 C0,16.3112453 2.12230671,14.1181819 4.78311038,14.0046195 L5,14 L13,14 Z M20.2499997,14.1617541 C22.3827066,14.712416 23.8947586,16.5896121 23.994728,18.773074 L24,19 L24,21 C24,21.5522847 23.5522847,22 23,22 C22.4871642,22 22.0644928,21.6139598 22.0067277,21.1166211 L22,21 L22.0000003,19.0007459 C21.9989805,17.6335842 21.0737494,16.440036 19.7500003,16.0982459 C19.2152528,15.9601749 18.8936831,15.4147477 19.0317541,14.8800003 C19.1698251,14.3452528 19.7152523,14.0236831 20.2499997,14.1617541 Z M9,2 C11.7614237,2 14,4.23857625 14,7 C14,9.76142375 11.7614237,12 9,12 C6.23857625,12 4,9.76142375 4,7 C4,4.23857625 6.23857625,2 9,2 Z M16.2480392,2.16125 C18.4604327,2.72771223 20.0078433,4.72123893 20.0078433,7.005 C20.0078433,9.28876107 18.4604327,11.2822878 16.2480392,11.84875 C15.7130133,11.9857383 15.1682383,11.663065 15.03125,11.1280392 C14.8942617,10.5930133 15.216935,10.0482383 15.7519608,9.91125 C17.0793969,9.57137266 18.0078433,8.37525664 18.0078433,7.005 C18.0078433,5.63474336 17.0793969,4.43862734 15.7519608,4.09875 C15.216935,3.96176174 14.8942617,3.41698667 15.03125,2.88196081 C15.1682383,2.34693496 15.7130133,2.02426174 16.2480392,2.16125 Z M9,4 C7.34314575,4 6,5.34314575 6,7 C6,8.65685425 7.34314575,10 9,10 C10.6568542,10 12,8.65685425 12,7 C12,5.34314575 10.6568542,4 9,4',
@@ -325,8 +518,9 @@ export const icons = {
},
copy: {
path:
- 'M1.82,0C.81,0,0,.81,0,1.82V14.52H1.82V1.82H14.52V0H1.82Zm3.63,3.63c-1,0-1.82,.81-1.82,1.82v10.89c0,1,.81,1.82,1.81,1.82h10.89c1,0,1.82-.81,1.82-1.82h0V5.45c0-1-.81-1.82-1.82-1.82H5.45Zm0,1.82h10.89v10.89H5.45V5.45Z',
- viewBox: '0 0 18.15 18.15',
+ // 'M7.96846 2.96822C7.45186 3.48482 7.16699 4.34106 7.16699 5.75008V6.16675H9.25033C10.758 6.16675 11.9434 6.46522 12.7393 7.26111C13.5352 8.05701 13.8337 9.24243 13.8337 10.7501V12.8334H14.2503C15.6593 12.8334 16.5156 12.5485 17.0322 12.0319C17.5488 11.5153 17.8337 10.6591 17.8337 9.25008V5.75008C17.8337 4.34106 17.5488 3.48482 17.0322 2.96822C16.5156 2.45161 15.6593 2.16675 14.2503 2.16675H10.7503C9.34131 2.16675 8.48507 2.45161 7.96846 2.96822ZM13.8337 13.8334H14.2503C15.758 13.8334 16.9434 13.5349 17.7393 12.7391C18.5352 11.9432 18.8337 10.7577 18.8337 9.25008V5.75008C18.8337 4.24243 18.5352 3.05701 17.7393 2.26111C16.9434 1.46522 15.758 1.16675 14.2503 1.16675H10.7503C9.24268 1.16675 8.05725 1.46522 7.26136 2.26111C6.46546 3.05701 6.16699 4.24243 6.16699 5.75008V6.16675H5.75033C4.24268 6.16675 3.05725 6.46522 2.26136 7.26111C1.46546 8.05701 1.16699 9.24243 1.16699 10.7501V14.2501C1.16699 15.7577 1.46546 16.9432 2.26136 17.7391C3.05725 18.5349 4.24268 18.8334 5.75033 18.8334H9.25033C10.758 18.8334 11.9434 18.5349 12.7393 17.7391C13.5352 16.9432 13.8337 15.7577 13.8337 14.2501V13.8334ZM5.75033 7.16675C4.34131 7.16675 3.48507 7.45161 2.96846 7.96822C2.45186 8.48482 2.16699 9.34106 2.16699 10.7501V14.2501C2.16699 15.6591 2.45186 16.5153 2.96846 17.0319C3.48507 17.5485 4.34131 17.8334 5.75033 17.8334H9.25033C10.6593 17.8334 11.5156 17.5485 12.0322 17.0319C12.5488 16.5153 12.8337 15.6591 12.8337 14.2501V10.7501C12.8337 9.34106 12.5488 8.48482 12.0322 7.96822C11.5156 7.45161 10.6593 7.16675 9.25033 7.16675H5.75033Z',
+ 'M3.125 1.25C2.09473 1.25 1.25 2.09473 1.25 3.125V13.125C1.25 14.1553 2.09473 15 3.125 15H5V15.625C5 16.6553 5.84473 17.5 6.875 17.5H16.875C17.9053 17.5 18.75 16.6553 18.75 15.625V5.625C18.75 4.59473 17.9053 3.75 16.875 3.75H15V3.125C15 2.09473 14.1553 1.25 13.125 1.25H3.125ZM3.125 2.5H13.125C13.4766 2.5 13.75 2.77344 13.75 3.125V13.125C13.75 13.4766 13.4766 13.75 13.125 13.75H3.125C2.77344 13.75 2.5 13.4766 2.5 13.125V3.125C2.5 2.77344 2.77344 2.5 3.125 2.5ZM15 5H16.875C17.2266 5 17.5 5.27344 17.5 5.625V15.625C17.5 15.9766 17.2266 16.25 16.875 16.25H6.875C6.52344 16.25 6.25 15.9766 6.25 15.625V15H13.125C14.1553 15 15 14.1553 15 13.125V5Z',
+ viewBox: '0 0 20 20 ',
ratio: 1,
},
crown: {
@@ -341,10 +535,16 @@ export const icons = {
viewBox: '0 0 27.65 27.65',
ratio: 1,
},
+ editNotes: {
+ path:
+ 'M15.1768 0.969124C16.0548 0.882934 16.9399 1.26556 17.8375 2.16318C18.7351 3.0608 19.1177 3.94584 19.0315 4.82391C18.9479 5.67575 18.4328 6.39167 17.8375 6.98695L11.2708 13.5536C11.2643 13.5601 11.2577 13.5664 11.2508 13.5725C10.8733 13.9106 10.4121 14.1412 9.91511 14.2404C9.90611 14.2422 9.89706 14.2437 9.88798 14.245L7.39719 14.6009C7.12636 14.6578 6.84557 14.6472 6.57961 14.5698C6.30689 14.4906 6.05861 14.3437 5.85778 14.1429C5.65696 13.9421 5.5101 13.6938 5.43082 13.4211C5.3535 13.1551 5.3429 12.8743 5.3998 12.6035L5.75563 10.1127C5.75671 10.1051 5.75798 10.0975 5.75942 10.0899C5.85483 9.58864 6.08733 9.12364 6.4311 8.74655C6.43629 8.74086 6.4416 8.73529 6.44705 8.72985L12.0623 3.11459C12.0688 3.10775 12.0754 3.10108 12.0823 3.0946L13.0137 2.16318C13.609 1.56789 14.3249 1.05274 15.1768 0.969124ZM12.2184 4.37273L7.16283 9.42827C6.95002 9.66461 6.80522 9.95421 6.74384 10.2663L6.38724 12.7624C6.38541 12.7753 6.38308 12.788 6.38026 12.8006C6.35507 12.9135 6.35879 13.0309 6.39107 13.1419C6.42334 13.2529 6.48313 13.354 6.56489 13.4358C6.64665 13.5175 6.74773 13.5773 6.85876 13.6096C6.96979 13.6419 7.08717 13.6456 7.20002 13.6204C7.21266 13.6176 7.2254 13.6153 7.23822 13.6134L9.73211 13.2572C10.0446 13.1925 10.3348 13.0474 10.574 12.8362L15.628 7.78223C14.8702 7.45959 14.1787 6.99381 13.5927 6.40781C13.0068 5.82187 12.541 5.13047 12.2184 4.37273ZM16.402 7.00821C15.6115 6.73972 14.8919 6.29284 14.2998 5.70071C13.7077 5.10863 13.2609 4.38912 12.9924 3.59873L13.7208 2.87029C14.2589 2.33224 14.768 2.01406 15.2744 1.96434C15.7547 1.9172 16.3613 2.10124 17.1304 2.87029C17.8994 3.63933 18.0835 4.24595 18.0363 4.72622C17.9866 5.23272 17.6684 5.7418 17.1304 6.27985L16.402 7.00821ZM2.66761 2.66734C3.74475 1.59019 5.36768 1.16673 7.50033 1.16673H9.16699C9.44313 1.16673 9.66699 1.39058 9.66699 1.66673C9.66699 1.94287 9.44313 2.16673 9.16699 2.16673H7.50033C5.46631 2.16673 4.17257 2.57659 3.37471 3.37445C2.57686 4.1723 2.16699 5.46604 2.16699 7.50006V12.5001C2.16699 14.5341 2.57686 15.8278 3.37471 16.6257C4.17257 17.4235 5.46631 17.8334 7.50033 17.8334H12.5003C14.5343 17.8334 15.8281 17.4235 16.6259 16.6257C17.4238 15.8278 17.8337 14.5341 17.8337 12.5001V10.8334C17.8337 10.5572 18.0575 10.3334 18.3337 10.3334C18.6098 10.3334 18.8337 10.5572 18.8337 10.8334V12.5001C18.8337 14.6327 18.4102 16.2556 17.333 17.3328C16.2559 18.4099 14.633 18.8334 12.5003 18.8334H7.50033C5.36768 18.8334 3.74475 18.4099 2.66761 17.3328C1.59046 16.2556 1.16699 14.6327 1.16699 12.5001V7.50006C1.16699 5.36741 1.59046 3.74448 2.66761 2.66734Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
ellipses: {
path:
- 'M6.525,11a2.525,2.525,0,1,0,2.525,2.525A2.525,2.525,0,0,0,6.525,11Zm7.574.842a1.683,1.683,0,1,0,0,3.366H35.98a1.683,1.683,0,1,0,0-3.366ZM6.525,19.416A2.525,2.525,0,1,0,9.049,21.94a2.525,2.525,0,0,0-2.525-2.525Zm7.574.842a1.683,1.683,0,1,0,0,3.366H35.98a1.683,1.683,0,1,0,0-3.366ZM6.525,27.831a2.525,2.525,0,1,0,2.525,2.525,2.525,2.525,0,0,0-2.525-2.525Zm7.574.842a1.683,1.683,0,1,0,0,3.366H35.98a1.683,1.683,0,1,0,0-3.366Z',
- viewBox: '0 0 38 40.881',
+ 'M11.4635 2.30284C11.997 2.19673 12.5499 2.25119 13.0524 2.45933C13.5549 2.66747 13.9844 3.01995 14.2865 3.47218C14.5887 3.92442 14.75 4.4561 14.75 5L14.75 5.00224C14.7478 5.73032 14.4576 6.42796 13.9428 6.9428C13.428 7.45763 12.7303 7.74782 12.0022 7.75L12 7.75C11.4561 7.75 10.9244 7.58872 10.4722 7.28654C10.0199 6.98437 9.66747 6.55488 9.45933 6.05238C9.25119 5.54988 9.19673 4.99695 9.30284 4.4635C9.40895 3.93006 9.67086 3.44005 10.0555 3.05546C10.4401 2.67086 10.9301 2.40895 11.4635 2.30284ZM12.4784 3.84515C12.2499 3.75054 11.9986 3.72579 11.7561 3.77402C11.5137 3.82225 11.2909 3.9413 11.1161 4.11612C10.9413 4.29093 10.8223 4.51366 10.774 4.75614C10.7258 4.99861 10.7505 5.24995 10.8452 5.47836C10.9398 5.70676 11.1 5.90199 11.3055 6.03934C11.5108 6.17648 11.752 6.24978 11.9989 6.25C12.3303 6.24872 12.6478 6.1165 12.8821 5.88214C13.1165 5.64777 13.2487 5.33029 13.25 4.99888C13.2498 4.75204 13.1765 4.51079 13.0393 4.30554C12.902 4.09998 12.7068 3.93976 12.4784 3.84515ZM11.4635 9.30284C11.997 9.19673 12.5499 9.25119 13.0524 9.45933C13.5549 9.66747 13.9844 10.0199 14.2865 10.4722C14.5887 10.9244 14.75 11.4561 14.75 12L14.75 12.0022C14.7478 12.7303 14.4576 13.428 13.9428 13.9428C13.428 14.4576 12.7303 14.7478 12.0022 14.75L12 14.75C11.4561 14.75 10.9244 14.5887 10.4722 14.2865C10.0199 13.9844 9.66747 13.5549 9.45933 13.0524C9.25119 12.5499 9.19673 11.997 9.30284 11.4635C9.40895 10.9301 9.67086 10.4401 10.0555 10.0555C10.4401 9.67086 10.9301 9.40895 11.4635 9.30284ZM12.4784 10.8452C12.2499 10.7505 11.9986 10.7258 11.7561 10.774C11.5137 10.8223 11.2909 10.9413 11.1161 11.1161C10.9413 11.2909 10.8223 11.5137 10.774 11.7561C10.7258 11.9986 10.7505 12.2499 10.8452 12.4784C10.9398 12.7068 11.1 12.902 11.3055 13.0393C11.5108 13.1765 11.7521 13.2498 11.999 13.25C12.3304 13.2487 12.6478 13.1165 12.8821 12.8821C13.1165 12.6478 13.2487 12.3303 13.25 11.9989C13.2498 11.752 13.1765 11.5108 13.0393 11.3055C12.902 11.1 12.7068 10.9398 12.4784 10.8452ZM11.4635 16.3028C11.997 16.1967 12.5499 16.2512 13.0524 16.4593C13.5549 16.6675 13.9844 17.0199 14.2865 17.4722C14.5887 17.9244 14.75 18.4561 14.75 19L14.75 19.0022C14.7478 19.7303 14.4576 20.428 13.9428 20.9428C13.428 21.4576 12.7303 21.7478 12.0022 21.75L12 21.75C11.4561 21.75 10.9244 21.5887 10.4722 21.2865C10.0199 20.9844 9.66747 20.5549 9.45933 20.0524C9.25119 19.5499 9.19673 18.997 9.30284 18.4635C9.40895 17.9301 9.67086 17.4401 10.0555 17.0555C10.4401 16.6709 10.9301 16.409 11.4635 16.3028ZM12.4784 17.8452C12.2499 17.7505 11.9986 17.7258 11.7561 17.774C11.5137 17.8223 11.2909 17.9413 11.1161 18.1161C10.9413 18.2909 10.8223 18.5137 10.774 18.7561C10.7258 18.9986 10.7505 19.2499 10.8452 19.4784C10.9398 19.7068 11.1 19.902 11.3055 20.0393C11.5108 20.1765 11.7521 20.2498 11.999 20.25C12.3303 20.2487 12.6478 20.1165 12.8821 19.8821C13.1165 19.6478 13.2487 19.3303 13.25 18.9989C13.2498 18.752 13.1765 18.5108 13.0393 18.3055C12.902 18.1 12.7068 17.9398 12.4784 17.8452Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
emoji: {
@@ -355,26 +555,26 @@ export const icons = {
},
error: {
path:
- 'M18.087,4A14.087,14.087,0,1,0,32.174,18.087,14.1,14.1,0,0,0,18.087,4Zm0,2.113A11.974,11.974,0,1,1,6.113,18.087,11.958,11.958,0,0,1,18.087,6.113Zm4.569,6.324a1.057,1.057,0,0,0-.737.325l-3.831,3.831-3.831-3.831a1.057,1.057,0,1,0-1.494,1.494l3.831,3.831-3.831,3.831a1.057,1.057,0,1,0,1.494,1.494l3.831-3.831,3.831,3.831a1.057,1.057,0,1,0,1.494-1.494l-3.831-3.831,3.831-3.831a1.057,1.057,0,0,0-.757-1.819Z',
- viewBox: '0 4 31.377 27.313',
+ 'M11 0C4.925 0 0 4.925 0 11C0 17.075 4.925 22 11 22C17.075 22 22 17.075 22 11C22 4.925 17.075 0 11 0ZM11 2C15.9705 2 20 6.02951 20 11C20 15.9705 15.9705 20 11 20C6.02951 20 2 15.9705 2 11C2 6.02951 6.02951 2 11 2ZM10.9924 4.99722C10.6462 4.99722 10.3653 5.10313 10.1493 5.31458C9.93299 5.52535 9.83021 5.78958 9.83993 6.1066L9.99792 12.0302C10.0177 12.6934 10.3535 13.0253 11.0069 13.0253C11.6413 13.0253 11.9635 12.6938 11.9726 12.0312L12.1601 6.12118C12.1698 5.80417 12.0618 5.53715 11.8361 5.32118C11.6104 5.10486 11.3288 4.99722 10.9924 4.99722ZM11 14.3458C10.2326 14.3458 9.74618 14.9944 9.74618 15.5448C9.74618 16.0955 10.216 16.7441 11 16.7441C11.784 16.7441 12.2538 16.1306 12.2538 15.5448C12.2538 14.9594 11.7674 14.3458 11 14.3458Z',
+ viewBox: '0 0 22 22',
ratio: 1,
},
eye: {
path:
- 'M12,3 C15.3798024,3 18.3386923,4.63249094 20.8545372,7.31605887 C21.7188737,8.23801779 22.4694995,9.22244509 23.1056644,10.2074746 C23.4900327,10.8026256 23.7538591,11.2716502 23.8944272,11.5527864 C24.0351909,11.8343139 24.0351909,12.1656861 23.8944272,12.4472136 C23.7538591,12.7283498 23.4900327,13.1973744 23.1056644,13.7925254 C22.4694995,14.7775549 21.7188737,15.7619822 20.8545372,16.6839411 C18.3386923,19.3675091 15.3798024,21 12,21 C8.62019756,21 5.66130774,19.3675091 3.1454628,16.6839411 C2.28112631,15.7619822 1.5305005,14.7775549 0.894335622,13.7925254 C0.50996726,13.1973744 0.246140906,12.7283498 0.105572809,12.4472136 C-0.0351909363,12.1656861 -0.0351909363,11.8343139 0.105572809,11.5527864 C0.246140906,11.2716502 0.50996726,10.8026256 0.894335622,10.2074746 C1.5305005,9.22244509 2.28112631,8.23801779 3.1454628,7.31605887 C5.66130774,4.63249094 8.62019756,3 12,3 Z M12,5 C9.25480244,5 6.77619226,6.36750906 4.6045372,8.68394113 C3.82824869,9.51198221 3.149187,10.4025549 2.57441438,11.2925254 C2.41127724,11.5451249 2.26658862,11.7823697 2.14071218,12 C2.26658862,12.2176303 2.41127724,12.4548751 2.57441438,12.7074746 C3.149187,13.5974451 3.82824869,14.4880178 4.6045372,15.3160589 C6.77619226,17.6324909 9.25480244,19 12,19 C14.7451976,19 17.2238077,17.6324909 19.3954628,15.3160589 C20.1717513,14.4880178 20.850813,13.5974451 21.4255856,12.7074746 C21.5887228,12.4548751 21.7334114,12.2176303 21.8592878,12 C21.7334114,11.7823697 21.5887228,11.5451249 21.4255856,11.2925254 C20.850813,10.4025549 20.1717513,9.51198221 19.3954628,8.68394113 C17.2238077,6.36750906 14.7451976,5 12,5 Z M12,8 C14.209139,8 16,9.790861 16,12 C16,14.209139 14.209139,16 12,16 C9.790861,16 8,14.209139 8,12 C8,9.790861 9.790861,8 12,8 Z M12,10 C10.8954305,10 10,10.8954305 10,12 C10,13.1045695 10.8954305,14 12,14 C13.1045695,14 14,13.1045695 14,12 C14,10.8954305 13.1045695,10 12,10',
- viewBox: '0 3 24 18',
+ 'M2.25698 8.99743C4.6479 5.23877 8.15165 2.96997 11.9998 2.96997C15.8483 2.96997 19.3467 5.23917 21.7422 8.9968C21.7501 9.00916 21.7576 9.02175 21.7648 9.03455C22.2697 9.93954 22.5347 10.9586 22.5347 11.995C22.5347 13.0313 22.2697 14.0504 21.7648 14.9554C21.7577 14.968 21.7503 14.9804 21.7426 14.9925C19.3517 18.7512 15.8479 21.02 11.9998 21.02C8.15165 21.02 4.6479 18.7512 2.25698 14.9925C2.24924 14.9804 2.24186 14.968 2.23484 14.9554C1.72991 14.0504 1.46484 13.0313 1.46484 11.995C1.46484 10.9586 1.72991 9.93954 2.23484 9.03455C2.24186 9.02196 2.24924 9.00959 2.25698 8.99743ZM3.53453 9.7838C3.1609 10.4608 2.96484 11.2215 2.96484 11.995C2.96484 12.7684 3.1609 13.5292 3.53453 14.2061C5.72285 17.6356 8.79377 19.52 11.9998 19.52C15.2058 19.52 18.2767 17.6356 20.4651 14.2061C20.8387 13.5292 21.0347 12.7684 21.0347 11.995C21.0347 11.2216 20.8388 10.461 20.4652 9.7841C18.2715 6.3538 15.2053 4.46997 11.9998 4.46997C8.79377 4.46997 5.72285 6.35432 3.53453 9.7838ZM13.0839 9.38448C12.7404 9.24245 12.3723 9.16955 12.0007 9.16997L11.9998 9.16997C11.4401 9.16997 10.893 9.33595 10.4276 9.64691C9.96219 9.95788 9.59946 10.3999 9.38527 10.917C9.17107 11.4341 9.11503 12.0031 9.22423 12.5521C9.33342 13.101 9.60295 13.6053 9.99874 14.0011C10.3945 14.3969 10.8988 14.6664 11.4477 14.7756C11.9967 14.8848 12.5657 14.8287 13.0828 14.6145C13.6 14.4004 14.0419 14.0376 14.3529 13.5722C14.6639 13.1068 14.8298 12.5597 14.8298 12V11.9991C14.8303 11.6275 14.7574 11.2594 14.6153 10.916C14.4733 10.5725 14.2649 10.2605 14.0021 9.99768C13.7393 9.73489 13.4273 9.52651 13.0839 9.38448ZM11.9994 7.66997C12.5682 7.66939 13.1315 7.78097 13.6571 7.99834C14.1828 8.21576 14.6605 8.53474 15.0628 8.93702C15.4651 9.33931 15.7841 9.81699 16.0015 10.3427C16.2189 10.8684 16.3305 11.4319 16.3298 12.0008L15.5798 12H16.3298C16.3298 12.0002 16.3298 12.0005 16.3298 12.0008C16.3297 12.8569 16.0757 13.6938 15.6001 14.4056C15.1243 15.1177 14.4481 15.6726 13.6569 16.0004C12.8657 16.3281 11.995 16.4138 11.1551 16.2468C10.3152 16.0797 9.54364 15.6673 8.93807 15.0617C8.33251 14.4562 7.92012 13.6846 7.75305 12.8447C7.58597 12.0048 7.67172 11.1342 7.99945 10.343C8.32718 9.55175 8.88216 8.87549 9.59423 8.39971C10.3062 7.924 11.1432 7.67005 11.9994 7.66997Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
eye_closed: {
path:
- 'M4.121,2.293l-1.63,1.63,3.2,3.2A15.812,15.812,0,0,0,4.02,8.711,16.908,16.908,0,0,0,1,13.485s3.459,9.224,12.683,9.224a12.439,12.439,0,0,0,3.77-.565,11.356,11.356,0,0,0,2.281-.977l3.511,3.511,1.63-1.63Zm9.562,1.968a12.439,12.439,0,0,0-3.77.565l1.914,1.914a9.481,9.481,0,0,1,1.856-.173c6.088,0,9.155,4.923,10.158,6.918a14.762,14.762,0,0,1-2.133,3.137l1.637,1.637a16.908,16.908,0,0,0,3.02-4.774S22.907,4.261,13.683,4.261Zm-6.355,4.5,2.387,2.387a4.516,4.516,0,0,0-.644,2.338,2.41,2.41,0,0,0,.011.288,4.6,4.6,0,0,0,4.312,4.312,2.41,2.41,0,0,0,.288.011,4.516,4.516,0,0,0,2.338-.644l2,2a9.314,9.314,0,0,1-2.477.781,9.567,9.567,0,0,1-1.856.173C7.6,20.4,4.528,15.48,3.524,13.485a14.333,14.333,0,0,1,2.133-3.137A13.046,13.046,0,0,1,7.328,8.761Zm6.643.124L18.284,13.2A4.6,4.6,0,0,0,13.971,8.884Zm-2.513,4.006,2.819,2.819a2.036,2.036,0,0,1-.595.081,2.313,2.313,0,0,1-2.306-2.306A2.036,2.036,0,0,1,11.458,12.891Z',
- viewBox: '0 0 25.366 22.384',
+ 'M19.578 7.34705C19.8999 7.08639 20.3721 7.13605 20.6328 7.45797C21.0308 7.94956 21.4011 8.46301 21.7418 8.99593C21.7499 9.00856 21.7576 9.02142 21.7649 9.03451C22.2698 9.9395 22.5349 10.9586 22.5349 11.9949C22.5349 13.0313 22.2698 14.0504 21.7649 14.9554C21.7579 14.9679 21.7505 14.9803 21.7427 14.9925C19.3518 18.7511 15.8481 21.0199 11.9999 21.0199L11.9968 21.0199C10.6659 21.0144 9.3495 20.7423 8.12543 20.2197C7.74449 20.0571 7.56751 19.6164 7.73016 19.2354C7.8928 18.8545 8.33346 18.6775 8.71441 18.8402C9.75373 19.2839 10.8714 19.515 12.0014 19.5199C15.2069 19.5193 18.2772 17.635 20.4652 14.2061C20.8388 13.5291 21.0349 12.7684 21.0349 11.9949C21.0349 11.2217 20.839 10.4613 20.4656 9.7845C20.1584 9.30563 19.8251 8.84406 19.467 8.40189C19.2064 8.07998 19.256 7.60771 19.578 7.34705ZM15.6534 11.9637C16.06 12.0427 16.3256 12.4363 16.2467 12.8429C16.0827 13.6873 15.6702 14.4633 15.062 15.0715C14.4538 15.6797 13.6777 16.0922 12.8334 16.2562C12.4268 16.3352 12.0331 16.0695 11.9542 15.6629C11.8752 15.2563 12.1408 14.8627 12.5475 14.7837C13.0983 14.6767 13.6046 14.4076 14.0013 14.0108C14.3981 13.6141 14.6672 13.1078 14.7742 12.557C14.8531 12.1504 15.2468 11.8847 15.6534 11.9637ZM22.5306 2.53033C22.8235 2.23744 22.8235 1.76256 22.5306 1.46967C22.2377 1.17678 21.7628 1.17678 21.4699 1.46967L17.9822 4.95739C16.246 3.69791 14.1594 3.0053 12.0086 2.98003L11.9998 2.97998C8.15165 2.97998 4.6479 5.24878 2.25698 9.00744C2.24924 9.0196 2.24186 9.03197 2.23484 9.04456C1.72991 9.94955 1.46484 10.9687 1.46484 12.005C1.46484 13.0413 1.72991 14.0604 2.23484 14.9654C2.24122 14.9768 2.24789 14.9881 2.25485 14.9992C2.9745 16.1438 3.84458 17.186 4.84135 18.098L1.46967 21.4697C1.17678 21.7626 1.17678 22.2375 1.46967 22.5304C1.76256 22.8233 2.23744 22.8233 2.53033 22.5304L9.99241 15.0683L10.0004 15.0604L15.0522 10.0086C15.055 10.0059 15.0578 10.0031 15.0606 10.0003L22.5306 2.53033ZM14.4859 8.45367L16.9059 6.0337C15.4619 5.04443 13.7538 4.50151 11.9954 4.47998C8.79096 4.4817 5.72185 6.3659 3.53453 9.79381C3.1609 10.4708 2.96484 11.2315 2.96484 12.005C2.96484 12.7791 3.16122 13.5404 3.53545 14.2178C4.19327 15.2607 4.98991 16.2088 5.90318 17.0362L8.45356 14.4858C8.27155 14.2282 8.11779 13.9509 7.99548 13.6585C7.77546 13.1326 7.66151 12.5684 7.66017 11.9983C7.65883 11.4283 7.77012 10.8636 7.98766 10.3366C8.2052 9.80967 8.52469 9.3309 8.9278 8.9278C9.3309 8.52469 9.80967 8.2052 10.3366 7.98766C10.8636 7.77012 11.4283 7.65883 11.9983 7.66017C12.5684 7.66151 13.1326 7.77546 13.6585 7.99548C13.9509 8.11782 14.2283 8.2716 14.4859 8.45367ZM10.909 9.37415C11.2533 9.23201 11.6223 9.15929 11.9948 9.16016C12.3673 9.16104 12.736 9.2355 13.0796 9.37926C13.1903 9.42556 13.2976 9.47874 13.4011 9.53841L9.53841 13.4011C9.47874 13.2976 9.42556 13.1903 9.37926 13.0796C9.2355 12.736 9.16104 12.3673 9.16016 11.9948C9.15929 11.6223 9.23201 11.2533 9.37415 10.909C9.5163 10.5647 9.72506 10.2519 9.98846 9.98846C10.2519 9.72506 10.5647 9.5163 10.909 9.37415Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
exit: {
path:
- 'M28.228,23.986L47.092,5.122c1.172-1.171,1.172-3.071,0-4.242c-1.172-1.172-3.07-1.172-4.242,0L23.986,19.744L5.121,0.88 c-1.172-1.172-3.07-1.172-4.242,0c-1.172,1.171-1.172,3.071,0,4.242l18.865,18.864L0.879,42.85c-1.172,1.171-1.172,3.071,0,4.242 C1.465,47.677,2.233,47.97,3,47.97s1.535-0.293,2.121-0.879l18.865-18.864L42.85,47.091c0.586,0.586,1.354,0.879,2.121,0.879 s1.535-0.293,2.121-0.879c1.172-1.171,1.172-3.071,0-4.242L28.228,23.986z',
- viewBox: '0 0 47.971 47.971',
+ 'M2.33301 19.9999C2.33301 10.281 10.2807 2.33325 19.9997 2.33325C29.7186 2.33325 37.6664 10.281 37.6664 19.9999C37.6664 29.7189 29.7186 37.6666 19.9997 37.6666C10.2807 37.6666 2.33301 29.7189 2.33301 19.9999ZM19.9997 4.33325C11.3853 4.33325 4.33301 11.3855 4.33301 19.9999C4.33301 28.6143 11.3853 35.6666 19.9997 35.6666C28.6141 35.6666 35.6664 28.6143 35.6664 19.9999C35.6664 11.3855 28.6141 4.33325 19.9997 4.33325ZM14.5758 14.576C14.9663 14.1855 15.5995 14.1855 15.99 14.576L19.9995 18.5856L24.0091 14.576C24.3996 14.1855 25.0328 14.1855 25.4233 14.576C25.8138 14.9665 25.8138 15.5997 25.4233 15.9902L21.4138 19.9998L25.4233 24.0093C25.8138 24.3999 25.8138 25.033 25.4233 25.4236C25.0328 25.8141 24.3996 25.8141 24.0091 25.4236L19.9995 21.414L15.99 25.4236C15.5995 25.8141 14.9663 25.8141 14.5758 25.4236C14.1852 25.033 14.1852 24.3999 14.5758 24.0093L18.5853 19.9998L14.5758 15.9902C14.1852 15.5997 14.1852 14.9665 14.5758 14.576Z',
+ viewBox: '0 0 40 40',
ratio: 1,
},
@@ -386,8 +586,8 @@ export const icons = {
},
filter: {
path:
- 'M9.07,0c-1.44,0-2.71,.91-3.19,2.27H0v2.27H5.88c.63,1.77,2.57,2.69,4.34,2.06,1.77-.63,2.69-2.57,2.06-4.34C11.79,.9,10.51,0,9.07,0Zm5.67,2.27v2.27h7.93V2.27h-7.93Zm0,5.67c-1.44,0-2.71,.91-3.19,2.26H0v2.27H11.54c.63,1.77,2.57,2.69,4.34,2.06,1.77-.63,2.69-2.57,2.06-4.34-.48-1.35-1.77-2.26-3.2-2.26h0Zm5.66,2.27v2.27h2.27v-2.27h-2.27ZM5.67,15.87c-1.44,0-2.71,.91-3.19,2.27H0v2.26H2.47c.63,1.77,2.57,2.69,4.34,2.06,1.77-.63,2.69-2.57,2.06-4.34-.48-1.35-1.77-2.26-3.2-2.26h0Zm5.67,2.27v2.26h11.33v-2.26H11.34Z',
- viewBox: '0 0 22.67 22.67',
+ 'M2 6.41675C2 6.00253 2.33579 5.66675 2.75 5.66675H19.25C19.6642 5.66675 20 6.00253 20 6.41675C20 6.83096 19.6642 7.16675 19.25 7.16675H2.75C2.33579 7.16675 2 6.83096 2 6.41675ZM4.75 11.0001C4.75 10.5859 5.08579 10.2501 5.5 10.2501H16.5C16.9142 10.2501 17.25 10.5859 17.25 11.0001C17.25 11.4143 16.9142 11.7501 16.5 11.7501H5.5C5.08579 11.7501 4.75 11.4143 4.75 11.0001ZM8.41667 15.5834C8.41667 15.1692 8.75245 14.8334 9.16667 14.8334H12.8333C13.2475 14.8334 13.5833 15.1692 13.5833 15.5834C13.5833 15.9976 13.2475 16.3334 12.8333 16.3334H9.16667C8.75245 16.3334 8.41667 15.9976 8.41667 15.5834Z',
+ viewBox: '0 0 22 22',
ratio: 1,
},
fetch: {
@@ -396,6 +596,12 @@ export const icons = {
viewBox: '0 4 17.11 13.11',
ratio: 1,
},
+ funnelWithBorder: {
+ path:
+ 'M2.96904 2.96928C4.13993 1.79839 5.90869 1.33325 8.24967 1.33325H13.7497C16.0907 1.33325 17.8594 1.79839 19.0303 2.96928C20.2012 4.14018 20.6663 5.90894 20.6663 8.24992V13.7499C20.6663 16.0909 20.2012 17.8597 19.0303 19.0306C17.8594 20.2015 16.0907 20.6666 13.7497 20.6666H8.24967C5.90869 20.6666 4.13993 20.2015 2.96904 19.0306C1.79814 17.8597 1.33301 16.0909 1.33301 13.7499V8.24992C1.33301 5.90894 1.79814 4.14018 2.96904 2.96928ZM3.67614 3.67639C2.78454 4.56799 2.33301 6.00757 2.33301 8.24992V13.7499C2.33301 15.9923 2.78454 17.4318 3.67614 18.3234C4.56775 19.2151 6.00732 19.6666 8.24967 19.6666H13.7497C15.992 19.6666 17.4316 19.2151 18.3232 18.3234C19.2148 17.4318 19.6663 15.9923 19.6663 13.7499V8.24992C19.6663 6.00757 19.2148 4.56799 18.3232 3.67639C17.4316 2.78478 15.992 2.33325 13.7497 2.33325H8.24967C6.00732 2.33325 4.56775 2.78478 3.67614 3.67639ZM7.47957 5.59566H14.5104C14.9248 5.59602 15.3226 5.7608 15.6156 6.05382C15.9086 6.34684 16.0734 6.74417 16.0737 7.15857V8.33233C16.0737 8.34314 16.0734 8.35395 16.0727 8.36474C16.0354 8.9388 15.8002 9.48217 15.4072 9.90225C15.3964 9.91379 15.3851 9.92481 15.3732 9.93528L13.0897 11.9539C12.975 12.0655 12.8832 12.1986 12.8195 12.3456C12.755 12.4947 12.7207 12.6552 12.7187 12.8176V15.1065C12.7187 15.113 12.7186 15.1195 12.7184 15.126C12.7085 15.3776 12.6427 15.6238 12.5256 15.8466C12.4086 16.0695 12.2432 16.2634 12.0417 16.4143C12.0309 16.4223 12.0199 16.43 12.0085 16.4371L11.2611 16.9077C11.0228 17.0539 10.75 17.1344 10.4705 17.141C10.191 17.1476 9.91479 17.0802 9.66984 16.9454C9.42488 16.8107 9.21996 16.6135 9.07589 16.374C8.93183 16.1344 8.85376 15.8609 8.84963 15.5814L8.84952 15.574L8.84957 12.7677C8.82794 12.4737 8.72021 12.1926 8.53989 11.9595L6.53201 9.84255C6.53169 9.84222 6.53137 9.84189 6.53106 9.84156C6.17481 9.46957 5.95813 8.98584 5.91778 8.47234C5.91675 8.4593 5.91624 8.44624 5.91624 8.43316V7.22268C5.90967 7.01575 5.94391 6.80952 6.01705 6.61576C6.09142 6.41873 6.20449 6.23858 6.34961 6.08596C6.49473 5.93334 6.66895 5.81132 6.86199 5.72712C7.05502 5.64292 7.26297 5.59823 7.47356 5.5957L7.47957 5.59566ZM7.48304 6.59566C7.40685 6.59691 7.33166 6.61324 7.2618 6.64372C7.19117 6.67453 7.12742 6.71917 7.07432 6.77502C7.02121 6.83087 6.97984 6.89679 6.95262 6.96889C6.92541 7.04099 6.91291 7.1178 6.91587 7.19481C6.91612 7.2012 6.91624 7.2076 6.91624 7.214V8.41188C6.94208 8.68895 7.06096 8.94933 7.2538 9.15044L7.25568 9.1524L9.28151 11.2882C9.29151 11.2988 9.30104 11.3097 9.31008 11.3211C9.62815 11.7211 9.81608 12.2089 9.84856 12.7189C9.84924 12.7295 9.84957 12.7401 9.84957 12.7507V15.5698C9.85163 15.6717 9.88035 15.7713 9.93289 15.8586C9.98598 15.9469 10.0615 16.0196 10.1518 16.0692C10.242 16.1189 10.3438 16.1437 10.4468 16.1413C10.549 16.1389 10.6487 16.1097 10.736 16.0566L11.4563 15.6031C11.5324 15.543 11.5952 15.4676 11.6403 15.3816C11.6869 15.293 11.7136 15.1953 11.7187 15.0954V12.8097C11.7218 12.5133 11.7841 12.2205 11.9018 11.9484C12.0195 11.6764 12.1904 11.4306 12.4044 11.2255C12.4093 11.2209 12.4142 11.2163 12.4192 11.2119L14.6919 9.20289C14.9145 8.95777 15.0489 8.64526 15.0737 8.31494V7.15943C15.0736 7.00995 15.0142 6.86663 14.9085 6.76093C14.8028 6.65523 14.6595 6.59579 14.51 6.59566H7.48304Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
fullscreen: {
path:
'M205.801,122.042c-22.778,0-45.56,0-68.334,0c-6.081,0-11.301,5-11.301,11.14 c0.004,22.774,0.007,45.552,0.007,68.326c0.004,14.487,22.445,14.614,22.445,0.161c-0.004-13.777-0.004-27.55-0.004-41.326 c16.136,16.136,32.277,32.276,48.413,48.409c10.224,10.224,26.035-5.703,15.785-15.953c-16.11-16.11-32.217-32.213-48.323-48.319 c13.717,0,27.437,0,41.154,0C220.128,144.487,220.255,122.042,205.801,122.042zM323.064,261.753c0.004,13.777,0.004,27.546,0.004,41.323 c-16.136-16.136-32.276-32.276-48.413-48.413c-10.224-10.224-26.035,5.699-15.785,15.953c16.11,16.11,32.213,32.213,48.323,48.323 c-13.721,0-27.437,0.004-41.154,0.004c-14.487,0.004-14.614,22.445-0.161,22.445c22.778-0.004,45.56-0.007,68.334-0.007 c6.081-0.004,11.301-5,11.301-11.14c-0.004-22.774-0.007-45.548-0.007-68.323C345.506,247.427,323.064,247.3,323.064,261.753zM265.882,144.494c13.777-0.004,27.546-0.004,41.323-0.004 c-16.136,16.133-32.276,32.273-48.413,48.405c-10.224,10.224,5.699,26.035,15.953,15.785c16.11-16.106,32.213-32.209,48.323-48.316 c0,13.713,0.004,27.43,0.004,41.147c0.004,14.487,22.445,14.614,22.445,0.161c-0.004-22.774-0.007-45.552-0.007-68.326 c0-6.081-5-11.301-11.14-11.301c-22.774,0.004-45.548,0.007-68.323,0.007C251.556,122.053,251.428,144.494,265.882,144.494zM205.801,318.932c-13.777,0.004-27.55,0.004-41.323,0.004 c16.133-16.133,32.273-32.273,48.405-48.405c10.224-10.224-5.699-26.035-15.953-15.785c-16.11,16.106-32.213,32.213-48.319,48.319 c0-13.717,0-27.434,0-41.151c0-14.487-22.445-14.614-22.445-0.161c0,22.774,0,45.552,0,68.326c0,6.081,5,11.301,11.14,11.301 c22.778-0.004,45.552-0.007,68.326-0.007C220.128,341.373,220.255,318.932,205.801,318.932z',
@@ -404,8 +610,8 @@ export const icons = {
},
gear: {
path:
- 'M12,0 C13.6568542,0 15,1.34314575 15,3 L15,3.08601169 C15.0010253,3.34508314 15.1558067,3.57880297 15.4037653,3.68513742 C15.6468614,3.79242541 15.9307827,3.74094519 16.1128932,3.56289322 L16.1725,3.50328666 C16.7352048,2.93995553 17.4987723,2.62342669 18.295,2.62342669 C19.0912277,2.62342669 19.8547952,2.93995553 20.4167133,3.5025 C20.9800445,4.06520477 21.2965733,4.82877226 21.2965733,5.625 C21.2965733,6.42122774 20.9800445,7.18479523 20.4171068,7.74710678 L20.3648626,7.79926496 C20.1790548,7.98921731 20.1275746,8.27313857 20.2348626,8.51623466 C20.26314,8.58030647 20.2845309,8.64699387 20.2987985,8.71517468 C20.4176633,8.89040605 20.6163373,8.99914118 20.83,9 L21,9 C22.6568542,9 24,10.3431458 24,12 C24,13.6568542 22.6568542,15 21,15 L20.9139883,15 C20.6549169,15.0010253 20.421197,15.1558067 20.3191398,15.3939314 C20.2075746,15.6468614 20.2590548,15.9307827 20.4371068,16.1128932 L20.4967133,16.1725 C21.0600445,16.7352048 21.3765733,17.4987723 21.3765733,18.295 C21.3765733,19.0912277 21.0600445,19.8547952 20.4975,20.4167133 C19.9347952,20.9800445 19.1712277,21.2965733 18.375,21.2965733 C17.5787723,21.2965733 16.8152048,20.9800445 16.2528932,20.4171068 L16.200735,20.3648626 C16.0107827,20.1790548 15.7268614,20.1275746 15.4739314,20.2391398 C15.2358067,20.341197 15.0810253,20.5749169 15.08,20.83 L15.08,21 C15.08,22.6568542 13.7368542,24 12.08,24 C10.4231458,24 9.08,22.6568542 9.08,21 C9.07403212,20.6665579 8.90531385,20.4306648 8.59623466,20.3148626 C8.35313857,20.2075746 8.06921731,20.2590548 7.88710678,20.4371068 L7.8275,20.4967133 C7.26479523,21.0600445 6.50122774,21.3765733 5.705,21.3765733 C4.90877226,21.3765733 4.14520477,21.0600445 3.58328666,20.4975 C3.01995553,19.9347952 2.70342669,19.1712277 2.70342669,18.375 C2.70342669,17.5787723 3.01995553,16.8152048 3.58289322,16.2528932 L3.63513742,16.200735 C3.82094519,16.0107827 3.87242541,15.7268614 3.76086017,15.4739314 C3.65880297,15.2358067 3.42508314,15.0810253 3.17,15.08 L3,15.08 C1.34314575,15.08 0,13.7368542 0,12.08 C0,10.4231458 1.34314575,9.08 3,9.08 C3.33344206,9.07403212 3.56933519,8.90531385 3.68513742,8.59623466 C3.79242541,8.35313857 3.74094519,8.06921731 3.56289322,7.88710678 L3.50328666,7.8275 C2.93995553,7.26479523 2.62342669,6.50122774 2.62342669,5.705 C2.62342669,4.90877226 2.93995553,4.14520477 3.5025,3.58328666 C4.06520477,3.01995553 4.82877226,2.70342669 5.625,2.70342669 C6.42122774,2.70342669 7.18479523,3.01995553 7.74710678,3.58289322 L7.79926496,3.63513742 C7.98921731,3.82094519 8.27313857,3.87242541 8.51623466,3.76513742 C8.58030647,3.73685997 8.64699387,3.71546911 8.71517468,3.70120146 C8.89040605,3.58233675 8.99914118,3.3836627 9,3.17 L9,3 C9,1.34314575 10.3431458,0 12,0 Z M12,2 C11.4477153,2 11,2.44771525 11,3 L11,3.17398831 C10.9957795,4.2302027 10.3647479,5.18306046 9.39393144,5.59913983 C9.30943133,5.63535548 9.22053528,5.65966354 9.12978593,5.67154209 C8.1847178,6.00283804 7.12462982,5.77295717 6.39289322,5.05710678 L6.3325,4.99671334 C6.14493174,4.8089363 5.89040925,4.70342669 5.625,4.70342669 C5.35959075,4.70342669 5.10506826,4.8089363 4.91671334,4.9975 C4.7289363,5.18506826 4.62342669,5.43959075 4.62342669,5.705 C4.62342669,5.97040925 4.7289363,6.22493174 4.91710678,6.41289322 L4.98486258,6.48073504 C5.74238657,7.25515616 5.9522675,8.41268129 5.5385361,9.34518109 C5.16293446,10.3664297 4.2012163,11.0542811 3.09,11.08 L3,11.08 C2.44771525,11.08 2,11.5277153 2,12.08 C2,12.6322847 2.44771525,13.08 3,13.08 L3.17398831,13.080008 C4.2302027,13.0842205 5.18306046,13.7152521 5.59486258,14.6762347 C6.0322675,15.6673187 5.82238657,16.8248438 5.05710678,17.6071068 L4.99671334,17.6675 C4.8089363,17.8550683 4.70342669,18.1095908 4.70342669,18.375 C4.70342669,18.6404092 4.8089363,18.8949317 4.9975,19.0832867 C5.18506826,19.2710637 5.43959075,19.3765733 5.705,19.3765733 C5.97040925,19.3765733 6.22493174,19.2710637 6.41289322,19.0828932 L6.48073504,19.0151374 C7.25515616,18.2576134 8.41268129,18.0477325 9.34518109,18.4614639 C10.3664297,18.8370655 11.0542811,19.7987837 11.08,20.91 L11.08,21 C11.08,21.5522847 11.5277153,22 12.08,22 C12.6322847,22 13.08,21.5522847 13.08,21 L13.080008,20.8260117 C13.0842205,19.7697973 13.7152521,18.8169395 14.6762347,18.4051374 C15.6673187,17.9677325 16.8248438,18.1776134 17.6071068,18.9428932 L17.6675,19.0032867 C17.8550683,19.1910637 18.1095908,19.2965733 18.375,19.2965733 C18.6404092,19.2965733 18.8949317,19.1910637 19.0832867,19.0025 C19.2710637,18.8149317 19.3765733,18.5604092 19.3765733,18.295 C19.3765733,18.0295908 19.2710637,17.7750683 19.0828932,17.5871068 L19.0151374,17.519265 C18.2576134,16.7448438 18.0477325,15.5873187 18.4851374,14.5962347 C18.8969395,13.6352521 19.8497973,13.0042205 20.91,13 L21,13 C21.5522847,13 22,12.5522847 22,12 C22,11.4477153 21.5522847,11 21,11 L20.8260117,11 C19.7697973,10.9957795 18.8169395,10.3647479 18.4008602,9.39393144 C18.3646445,9.30943133 18.3403365,9.22053528 18.3284579,9.12978593 C17.997162,8.1847178 18.2270428,7.12462982 18.9428932,6.39289322 L19.0032867,6.3325 C19.1910637,6.14493174 19.2965733,5.89040925 19.2965733,5.625 C19.2965733,5.35959075 19.1910637,5.10506826 19.0025,4.91671334 C18.8149317,4.7289363 18.5604092,4.62342669 18.295,4.62342669 C18.0295908,4.62342669 17.7750683,4.7289363 17.5871068,4.91710678 L17.519265,4.98486258 C16.7448438,5.74238657 15.5873187,5.9522675 14.6060686,5.51913983 C13.6352521,5.10306046 13.0042205,4.1502027 13,3.09 L13,3 C13,2.44771525 12.5522847,2 12,2 Z M12,8 C14.209139,8 16,9.790861 16,12 C16,14.209139 14.209139,16 12,16 C9.790861,16 8,14.209139 8,12 C8,9.790861 9.790861,8 12,8 Z M12,14 C13.1045695,14 14,13.1045695 14,12 C14,10.8954305 13.1045695,10 12,10 C10.8954305,10 10,10.8954305 10,12 C10,13.1045695 10.8954305,14 12,14',
- viewBox: '0 0 24 24',
+ 'M25.123 11.5245C22.8605 11.5245 21.9355 9.92446 23.0605 7.96196C23.3729 7.41638 23.4561 6.76924 23.2921 6.16238C23.1281 5.55551 22.7302 5.03842 22.1855 4.72446L20.023 3.48696C19.5455 3.20912 18.9773 3.13205 18.443 3.27266C17.9087 3.41326 17.452 3.76005 17.173 4.23696L17.0355 4.47446C15.9105 6.43696 14.0605 6.43696 12.923 4.47446L12.7855 4.23696C12.6508 4.00068 12.4704 3.79357 12.2549 3.62766C12.0393 3.46176 11.7929 3.34038 11.53 3.27058C11.2672 3.20079 10.993 3.18398 10.7236 3.22112C10.4541 3.25827 10.1947 3.34863 9.96055 3.48696L7.79805 4.72446C7.25206 5.04036 6.85346 5.55969 6.68947 6.16878C6.52548 6.77788 6.60947 7.42714 6.92305 7.97446C8.06055 9.92446 7.13555 11.5245 4.87305 11.5245C4.24377 11.5264 3.64082 11.7773 3.19585 12.2223C2.75088 12.6672 2.50002 13.2702 2.49805 13.8995V16.0995C2.50002 16.7287 2.75088 17.3317 3.19585 17.7766C3.64082 18.2216 4.24377 18.4725 4.87305 18.4745C7.13555 18.4745 8.06055 20.0745 6.92305 22.037C6.61073 22.5825 6.52746 23.2297 6.69148 23.8365C6.85549 24.4434 7.25342 24.9605 7.79805 25.2745L9.96055 26.512C10.4381 26.7898 11.0063 26.8669 11.5406 26.7263C12.0749 26.5856 12.5316 26.2389 12.8105 25.762L12.948 25.5245C14.073 23.562 15.923 23.562 17.0605 25.5245L17.198 25.762C17.477 26.2389 17.9337 26.5856 18.468 26.7263C19.0023 26.8669 19.5705 26.7898 20.048 26.512L22.2105 25.2745C22.7552 24.9605 23.1531 24.4434 23.3171 23.8365C23.4811 23.2297 23.3979 22.5825 23.0855 22.037C21.948 20.0745 22.873 18.4745 25.1355 18.4745C25.7648 18.4725 26.3678 18.2216 26.8127 17.7766C27.2577 17.3317 27.5086 16.7287 27.5105 16.0995V13.8995C27.5037 13.2695 27.2495 12.6676 26.8029 12.2233C26.3563 11.779 25.753 11.528 25.123 11.5245ZM14.998 19.062C14.1946 19.062 13.4091 18.8237 12.741 18.3773C12.073 17.9309 11.5523 17.2964 11.2448 16.5541C10.9373 15.8118 10.8569 14.9949 11.0136 14.2069C11.1704 13.4189 11.5573 12.695 12.1254 12.1268C12.6936 11.5587 13.4174 11.1718 14.2055 11.015C14.9935 10.8583 15.8104 10.9387 16.5527 11.2462C17.295 11.5537 17.9295 12.0744 18.3759 12.7425C18.8223 13.4105 19.0605 14.196 19.0605 14.9995C19.0586 16.0763 18.6299 17.1084 17.8685 17.8699C17.107 18.6313 16.0749 19.06 14.998 19.062Z',
+ viewBox: '0 0 30 30',
ratio: 1,
},
@@ -421,15 +627,21 @@ export const icons = {
viewBox: '0.5 0 30 30',
ratio: 1,
},
+ hangIn: {
+ path:
+ 'M6.45557 2.91626C5.88578 2.91626 5.30851 3.14802 4.72838 3.71908L4.7227 3.72467L4.7169 3.73014C4.21798 4.20082 3.87146 4.71647 3.65433 5.26835L3.65277 5.27231C3.43056 5.82785 3.31641 6.43681 3.31641 7.08459C3.31641 8.09394 3.54907 9.17538 4.03718 10.335C4.5315 11.4984 5.21625 12.6842 6.07732 13.8815C6.95239 15.0833 7.93388 16.2339 9.02255 17.3334C10.1224 18.4224 11.2738 19.4046 12.4878 20.2913C13.6816 21.1604 14.8781 21.8459 16.0662 22.3521C17.2368 22.8509 18.3175 23.0829 19.3039 23.0829C19.967 23.0829 20.5728 22.9603 21.1279 22.729L21.132 22.7273C21.6777 22.5036 22.1729 22.1511 22.6377 21.6389C22.8993 21.3502 23.0972 21.0445 23.2516 20.7177C23.3892 20.4262 23.4506 20.1346 23.4506 19.8571C23.4506 19.6727 23.4135 19.5005 23.3361 19.3037C23.28 19.1813 23.1845 19.0601 23.0045 18.9354L22.9972 18.9303L19.4178 16.389C19.1775 16.226 18.9772 16.1157 18.8033 16.0446C18.6427 15.9789 18.5223 15.9596 18.4264 15.9596C18.3094 15.9596 18.1936 15.9886 18.0472 16.0777L18.0261 16.0906L18.0042 16.102C17.8469 16.1841 17.6481 16.3336 17.4076 16.5741L17.4041 16.5776L16.5821 17.3887C16.3303 17.6395 16.0024 17.7904 15.6097 17.7904C15.4541 17.7904 15.2718 17.7729 15.0756 17.6993L15.0594 17.6933L15.0435 17.6865C14.9952 17.6657 14.9506 17.6452 14.9208 17.6315C14.8859 17.6155 14.8726 17.6097 14.8654 17.6068L14.8283 17.592L14.793 17.5733C14.3592 17.3436 13.8475 16.9817 13.2619 16.4863L13.261 16.4855C12.6673 15.9814 12.0896 15.4366 11.4986 14.8565L11.4935 14.8516L11.4885 14.8465C10.9118 14.2587 10.3811 13.6725 9.88595 13.1004L9.8805 13.0941C9.39056 12.5151 9.01759 12.0045 8.78715 11.5821L8.75518 11.5234L8.73415 11.4604C8.73411 11.4603 8.73397 11.4599 8.7337 11.4591C8.73319 11.4577 8.73222 11.4552 8.73061 11.4512C8.72726 11.4427 8.72291 11.4323 8.71558 11.4149C8.71438 11.4121 8.71309 11.4091 8.71174 11.4059C8.69822 11.374 8.6774 11.3249 8.65666 11.2696L8.64166 11.2296L8.6313 11.1882C8.59732 11.0522 8.57641 10.9148 8.57641 10.7571C8.57641 10.4045 8.69618 10.0699 8.96336 9.79951L9.78761 8.94273L9.79274 8.9376C10.0188 8.71158 10.1779 8.50478 10.2768 8.32972L10.2828 8.31916L10.2891 8.3088C10.3765 8.16512 10.4072 8.03862 10.4072 7.92959C10.4072 7.84951 10.3845 7.72348 10.3162 7.5642L10.3113 7.55277C10.2404 7.3795 10.1314 7.18175 9.96359 6.94866L9.96054 6.94442L7.44222 3.39486C7.32968 3.2323 7.18903 3.12081 7.01878 3.04223L7.00849 3.03748C6.84534 2.95917 6.65388 2.91626 6.45557 2.91626ZM3.68182 2.64449C4.48708 1.85409 5.42448 1.41626 6.45557 1.41626C6.86208 1.41626 7.27534 1.50264 7.65248 1.68266C8.04229 1.86355 8.39701 2.1402 8.67288 2.53717L11.1825 6.07439C11.4025 6.38028 11.5738 6.67837 11.6974 6.97912C11.8228 7.27334 11.9072 7.60017 11.9072 7.92959C11.9072 8.33648 11.7887 8.72624 11.5768 9.07813C11.3957 9.3958 11.1473 9.70364 10.8587 9.99294L10.0836 10.7987C10.0869 10.8065 10.0905 10.8151 10.0946 10.8247L10.0979 10.8326C10.106 10.8516 10.1172 10.8782 10.1293 10.9092C10.2939 11.1987 10.5845 11.6035 11.0229 12.1219C11.5006 12.6738 12.0073 13.2332 12.5543 13.791C13.1313 14.3572 13.6786 14.8723 14.2315 15.3418C14.7556 15.7852 15.1661 16.0694 15.4665 16.2324C15.4964 16.2453 15.5239 16.2579 15.5443 16.2672L15.5524 16.2709C15.5588 16.2739 15.5649 16.2767 15.5708 16.2793L16.3487 15.5117C16.6429 15.2177 16.9561 14.961 17.2884 14.7837C17.6346 14.5774 18.0103 14.4596 18.4264 14.4596C18.7422 14.4596 19.0551 14.527 19.3712 14.6563C19.6725 14.7795 19.9686 14.9496 20.2673 15.1527L20.2736 15.157L23.8622 17.7048C24.2385 17.9662 24.5314 18.2957 24.7137 18.71L24.7189 18.7217L24.7236 18.7335C24.8593 19.0729 24.9506 19.4389 24.9506 19.8571C24.9506 20.3596 24.8386 20.8696 24.6079 21.3582C24.394 21.8112 24.1154 22.2421 23.7488 22.6466C23.1525 23.3038 22.4779 23.7964 21.7029 24.1144C20.9586 24.4242 20.1567 24.5829 19.3039 24.5829C18.0803 24.5829 16.7994 24.295 15.4782 23.7321C14.1749 23.1767 12.88 22.4324 11.6041 21.5034L11.6032 21.5027C10.3264 20.5702 9.11715 19.5382 7.96448 18.3966L7.95933 18.3915C6.81788 17.239 5.78568 16.0294 4.86342 14.7627L4.86088 14.7592C3.94615 13.4875 3.20151 12.2043 2.6561 10.9203L2.65518 10.9181C2.1036 9.60814 1.81641 8.32827 1.81641 7.08459C1.81641 6.25977 1.96201 5.46108 2.25927 4.71718C2.56127 3.95045 3.03591 3.2553 3.68182 2.64449ZM15.8994 5.95789C15.8994 5.54367 16.2352 5.20789 16.6494 5.20789C17.8611 5.20789 18.9668 5.96483 19.7227 6.7795C20.1461 7.23338 20.5036 7.74166 20.7587 8.23799C21.0062 8.71945 21.1911 9.25473 21.1911 9.74955C21.1911 10.1638 20.8553 10.4996 20.4411 10.4996C20.0269 10.4996 19.6911 10.1638 19.6911 9.74955C19.6911 9.59437 19.6213 9.30632 19.4247 8.92382C19.2358 8.5565 18.9598 8.16053 18.6253 7.80212L18.6237 7.80042C17.993 7.12041 17.2573 6.70789 16.6494 6.70789C16.2352 6.70789 15.8994 6.3721 15.8994 5.95789ZM15.8994 2.16626C15.8994 1.75205 16.2352 1.41626 16.6494 1.41626C21.2561 1.41626 24.9827 5.14288 24.9827 9.74959C24.9827 10.1638 24.647 10.4996 24.2327 10.4996C23.8185 10.4996 23.4827 10.1638 23.4827 9.74959C23.4827 5.97131 20.4277 2.91626 16.6494 2.91626C16.2352 2.91626 15.8994 2.58047 15.8994 2.16626Z',
+ viewBox: '0 0 27 26',
+ ratio: 1,
+ },
hangup: {
path:
- 'M983.7,530.6c7.7,53.1,12.6,125.7-11.1,153.6c-39.4,46-288.8,46-288.8-46c0-46.3,41-76.7,1.7-122.7c-38.7-45.2-108.2-46-185.4-46s-146.7,0.7-185.4,46c-39.4,46,1.7,76.3,1.7,122.7c0,92-249.4,92-288.8,46C3.7,656.4,8.7,583.7,16.3,530.6c5.9-35.5,20.8-73.7,68.5-122.5l0,0c71.5-66.8,179.8-121.3,411.4-122.5v0c1.3,0,2.5,0,3.8,0s2.5,0,3.8,0v0c231.6,1.2,339.8,55.7,411.4,122.5l0,0C962.9,456.9,977.8,495.2,983.7,530.6z',
- viewBox: '0 0 1000 1000',
+ 'M17.154 15.5098C17.5001 15.3034 17.8758 15.1857 18.292 15.1857C18.6077 15.1857 18.9207 15.253 19.2368 15.3823C19.5381 15.5056 19.8342 15.6757 20.1329 15.8788L20.1453 15.8875L23.7278 18.4309C24.1041 18.6923 24.397 19.0218 24.5793 19.4361C24.5827 19.4439 24.586 19.4517 24.5892 19.4596C24.7249 19.799 24.8161 20.165 24.8161 20.5832C24.8161 21.0857 24.7042 21.5957 24.4735 22.0843C24.2596 22.5373 23.9809 22.9682 23.6144 23.3726C23.018 24.0298 22.3435 24.5224 21.5685 24.8404C20.8242 25.1503 20.0223 25.309 19.1695 25.309C17.9459 25.309 16.665 25.0211 15.3438 24.4581C14.0405 23.9028 12.7456 23.1584 11.4697 22.2295L11.4676 22.228C11.4365 22.2051 11.4047 22.1819 11.3724 22.1584C11.2464 22.0665 11.113 21.9692 10.9819 21.8662C10.6562 21.6103 10.5997 21.1388 10.8556 20.8131C11.1115 20.4874 11.583 20.4309 11.9087 20.6868C12.0166 20.7715 12.1221 20.8486 12.2448 20.9381C12.2795 20.9634 12.3157 20.9898 12.3536 21.0176C13.5474 21.8866 14.7438 22.572 15.9318 23.0782C17.1023 23.5769 18.1831 23.809 19.1695 23.809C19.8326 23.809 20.4384 23.6863 20.9935 23.455L20.9976 23.4533C21.5433 23.2297 22.0384 22.8772 22.5032 22.365C22.7649 22.0763 22.9628 21.7706 23.1171 21.4437C23.2548 21.1523 23.3161 20.8607 23.3161 20.5832C23.3161 20.3988 23.279 20.2266 23.2016 20.0298C23.1456 19.9074 23.0501 19.7861 22.8701 19.6615L22.8628 19.6564L19.2833 17.1151C19.0431 16.9521 18.8427 16.8418 18.6688 16.7707C18.5083 16.705 18.3879 16.6857 18.292 16.6857C18.1749 16.6857 18.0591 16.7147 17.9128 16.8038C17.8987 16.8124 17.8843 16.8205 17.8697 16.8281C17.7125 16.9101 17.5137 17.0597 17.2731 17.3002L17.2696 17.3037L16.4478 18.1147C16.1959 18.3656 15.868 18.5165 15.4753 18.5165C15.3197 18.5165 15.1374 18.499 14.9411 18.4254C14.9303 18.4214 14.9196 18.4171 14.909 18.4125C14.8651 18.3937 14.8243 18.375 14.7948 18.3614C14.7919 18.3601 14.7891 18.3588 14.7864 18.3576C14.7514 18.3416 14.7381 18.3357 14.7309 18.3329C14.7068 18.3232 14.6832 18.3123 14.6602 18.3002C14.4124 18.1698 14.1405 17.9954 13.8553 17.7815C13.5239 17.533 13.4568 17.0629 13.7053 16.7315C13.9538 16.4001 14.4239 16.333 14.7553 16.5815C14.9772 16.7479 15.1721 16.8721 15.3312 16.9581C15.3615 16.9711 15.3893 16.9839 15.4099 16.9933L15.418 16.997C15.4244 16.9999 15.4305 17.0027 15.4363 17.0054L16.2143 16.2377C16.5085 15.9437 16.8217 15.6871 17.154 15.5098ZM6.32081 2.14233C5.28971 2.14233 4.35231 2.58017 3.54705 3.37056C2.90114 3.98137 2.4265 4.67654 2.12449 5.44327C1.82724 6.18716 1.68164 6.98585 1.68164 7.81067C1.68164 9.05434 1.96884 10.3342 2.52041 11.6442L2.52134 11.6464C3.06674 12.9304 3.81139 14.2136 4.72612 15.4853L4.72865 15.4888C5.51481 16.5686 6.38087 17.6068 7.32637 18.6036L1.90131 24.0287C1.60842 24.3216 1.60842 24.7964 1.90131 25.0893C2.1942 25.3822 2.66908 25.3822 2.96197 25.0893L24.6286 3.42266C24.9215 3.12977 24.9215 2.6549 24.6286 2.362C24.3357 2.06911 23.8609 2.06911 23.568 2.362L11.9268 14.0031C11.5642 13.6165 11.2192 13.2305 10.8882 12.8481C10.4497 12.3296 10.1591 11.9247 9.99452 11.6352C9.98246 11.6043 9.97121 11.5777 9.96315 11.5586L9.94882 11.5247L10.7239 10.719C11.0125 10.4297 11.2609 10.1219 11.442 9.80421C11.6539 9.45231 11.7725 9.06255 11.7725 8.65567C11.7725 8.32624 11.688 7.9994 11.5626 7.70518C11.439 7.40443 11.2677 7.10635 11.0477 6.80047L8.53814 3.26327C8.26226 2.86629 7.90754 2.58963 7.51771 2.40873C7.14058 2.22871 6.72732 2.14233 6.32081 2.14233ZM10.8657 15.0643C10.4736 14.6476 10.1034 14.2335 9.75118 13.8265L9.74573 13.8202C9.2558 13.2411 8.88283 12.7306 8.65239 12.3081C8.63111 12.2691 8.61335 12.2283 8.5993 12.1862C8.59918 12.1858 8.5983 12.1834 8.59585 12.1772C8.59249 12.1688 8.58814 12.1583 8.58081 12.141L8.57696 12.1319C8.56344 12.1001 8.54262 12.051 8.52189 11.9957C8.5119 11.969 8.50344 11.9418 8.49653 11.9142C8.46256 11.7783 8.44164 11.6409 8.44164 11.4832C8.44164 11.1306 8.56141 10.796 8.8286 10.5256L9.64781 9.67403L9.65798 9.66367C9.884 9.43765 10.0431 9.23085 10.1421 9.05579C10.146 9.04875 10.1501 9.04178 10.1543 9.03487C10.2418 8.8912 10.2725 8.7647 10.2725 8.65567C10.2725 8.57559 10.2497 8.44956 10.1814 8.29027L10.1766 8.27885C10.1057 8.10558 9.99665 7.90782 9.82882 7.67473L9.82577 7.67049L7.30746 4.12094C7.19491 3.95838 7.05426 3.84688 6.88401 3.7683L6.87372 3.76355C6.71058 3.68524 6.51912 3.64233 6.32081 3.64233C5.75101 3.64233 5.17374 3.87409 4.59361 4.44516L4.58214 4.45621C4.08322 4.9269 3.7367 5.44255 3.51956 5.99443L3.51801 5.99838C3.29579 6.55392 3.18164 7.16288 3.18164 7.81067C3.18164 8.82003 3.41431 9.90148 3.90243 11.0611C4.39674 12.2245 5.08149 13.4103 5.94255 14.6076C6.68147 15.6224 7.49628 16.6007 8.38742 17.5426L10.8657 15.0643Z',
+ viewBox: '0 0 27 27',
ratio: 1,
},
hops: {
path:
- 'M 12 1 A 2 2 0 0 0 10.005859 2.8789062 L 5.1015625 5.3320312 A 2 2 0 0 0 4 5 A 2 2 0 0 0 2 7 A 2 2 0 0 0 3 8.7304688 L 3 15.271484 A 2 2 0 0 0 2 17 A 2 2 0 0 0 4 19 A 2 2 0 0 0 5.1015625 18.667969 L 10.005859 21.119141 A 2 2 0 0 0 12 23 A 2 2 0 0 0 13.994141 21.121094 L 18.898438 18.667969 A 2 2 0 0 0 20 19 A 2 2 0 0 0 22 17 A 2 2 0 0 0 21 15.269531 L 21 8.7285156 A 2 2 0 0 0 22 7 A 2 2 0 0 0 20 5 A 2 2 0 0 0 18.898438 5.3320312 L 13.994141 2.8808594 A 2 2 0 0 0 12 1 z M 10.898438 4.6679688 A 2 2 0 0 0 12 5 A 2 2 0 0 0 13.101562 4.6679688 L 18.005859 7.1191406 A 2 2 0 0 0 19 8.7304688 L 19 15.271484 A 2 2 0 0 0 18.005859 16.878906 L 13.101562 19.332031 A 2 2 0 0 0 12 19 A 2 2 0 0 0 10.898438 19.332031 L 5.9941406 16.880859 A 2 2 0 0 0 5 15.269531 L 5 8.7285156 A 2 2 0 0 0 5.9941406 7.1210938 L 10.898438 4.6679688 z M 12 8 C 10.895 8 10 8.895 10 10 L 10 11 C 9.448 11 9 11.448 9 12 L 9 14 C 9 14.552 9.448 15 10 15 L 14 15 C 14.552 15 15 14.552 15 14 L 15 12 C 15 11.448 14.552 11 14 11 L 14 10 C 14 8.895 13.105 8 12 8 z M 12 9 C 12.551 9 13 9.449 13 10 L 13 11 L 11 11 L 11 10 C 11 9.449 11.449 9 12 9 z',
+ 'M16.1098 11.9002C15.0698 11.9002 14.2198 12.7502 14.2198 13.7902C14.2198 13.8802 14.2298 13.9602 14.2498 14.0402L10.0298 16.3802C9.79977 15.9802 9.43976 15.6702 8.99977 15.5202V10.7402C9.69977 10.5002 10.2098 9.86024 10.2698 9.09023L14.6198 6.83023C14.9698 7.28023 15.4998 7.58023 16.1198 7.58023C17.1698 7.58023 18.0198 6.73023 18.0198 5.69023C18.0198 4.65023 17.1698 3.79023 16.1198 3.79023C15.0698 3.79023 14.2298 4.65023 14.2298 5.69023C14.2298 5.77023 14.2398 5.84023 14.2498 5.92023L10.0598 8.07023C9.73977 7.47023 9.11977 7.06023 8.38977 7.06023C7.65977 7.06023 7.08977 7.44023 6.75977 8.00023L3.64977 6.42023C3.74977 6.19023 3.79977 5.94023 3.79977 5.68023C3.79977 5.50023 3.76977 5.33023 3.71977 5.17023L7.45977 3.44023C7.76977 3.65023 8.13977 3.78023 8.53977 3.78023C9.58977 3.78023 10.4398 2.93023 10.4398 1.89023C10.4398 0.850234 9.58977 -0.00976562 8.53977 -0.00976562C7.48977 -0.00976562 6.63977 0.840234 6.63977 1.89023C6.63977 2.16023 6.69977 2.42023 6.80977 2.66023L3.20977 4.31023C2.86977 3.98023 2.40977 3.78023 1.90977 3.78023C0.859766 3.78023 0.00976562 4.64023 0.00976562 5.68023C0.00976562 6.72023 0.859766 7.57023 1.90977 7.57023C2.31977 7.57023 2.69977 7.43023 3.00977 7.21023L6.49977 8.97023C6.50977 9.87023 7.14977 10.6202 7.99977 10.7902V15.4302C7.49977 15.5402 7.06977 15.8402 6.79977 16.2602L3.76977 14.5702C3.79977 14.4502 3.80977 14.3202 3.80977 14.1802C3.80977 13.1402 2.95977 12.2902 1.91977 12.2902C0.879766 12.2902 0.0197656 13.1402 0.0197656 14.1802C0.0197656 15.2202 0.869766 16.0802 1.91977 16.0802C2.46977 16.0802 2.96977 15.8402 3.30977 15.4602L6.50977 17.2202C6.50977 17.2202 6.50977 17.2602 6.50977 17.2902C6.50977 18.3302 7.35977 19.1802 8.40977 19.1802C9.45977 19.1802 10.2698 18.3602 10.2998 17.3502L14.6698 14.9502C15.0198 15.3902 15.5398 15.6702 16.1398 15.6702C17.1898 15.6702 18.0398 14.8202 18.0398 13.7702C18.0398 12.7202 17.1898 11.8802 16.1398 11.8802L16.1098 11.9002Z',
viewBox: '0 0 24 24',
ratio: 1,
},
@@ -440,12 +652,23 @@ export const icons = {
ratio: 1,
fill: '#2879fb',
},
+ infoCircle: {
+ path:
+ 'M6.42837 1.37721C8.13381 0.670792 10.0104 0.485961 11.8209 0.84609C13.6314 1.20622 15.2945 2.09513 16.5997 3.40042C17.905 4.70571 18.794 6.36875 19.1541 8.17924C19.5142 9.98973 19.3294 11.8664 18.623 13.5718C17.9165 15.2772 16.7203 16.7349 15.1854 17.7605C13.6505 18.786 11.846 19.3334 10.0001 19.3334L9.99719 19.3334C7.5248 19.3263 5.15571 18.341 3.40746 16.5927C1.65921 14.8445 0.673891 12.4754 0.666752 10.003L0.666748 10.0001C0.666748 8.15413 1.21414 6.34962 2.2397 4.81476C3.26526 3.2799 4.72293 2.08363 6.42837 1.37721ZM11.4307 2.80766C10.0082 2.5247 8.53373 2.66993 7.19374 3.22497C5.85374 3.78001 4.70843 4.71994 3.90264 5.9259C3.09711 7.13146 2.66703 8.54875 2.66675 9.99864C2.67274 11.9421 3.44742 13.8042 4.82168 15.1785C6.19595 16.5528 8.05815 17.3275 10.0016 17.3334C11.4515 17.3331 12.8687 16.903 14.0743 16.0975C15.2802 15.2917 16.2202 14.1464 16.7752 12.8064C17.3302 11.4664 17.4755 9.99195 17.1925 8.56942C16.9095 7.1469 16.2111 5.84022 15.1855 4.81464C14.1599 3.78905 12.8533 3.09062 11.4307 2.80766ZM10.0001 5.66675C10.5524 5.66675 11.0001 6.11446 11.0001 6.66675V10.8334C11.0001 11.3857 10.5524 11.8334 10.0001 11.8334C9.4478 11.8334 9.00008 11.3857 9.00008 10.8334V6.66675C9.00008 6.11446 9.4478 5.66675 10.0001 5.66675ZM8.99601 13.3334C8.99601 12.7811 9.44373 12.3334 9.99601 12.3334H10.0035C10.5558 12.3334 11.0035 12.7811 11.0035 13.3334C11.0035 13.8857 10.5558 14.3334 10.0035 14.3334H9.99601C9.44373 14.3334 8.99601 13.8857 8.99601 13.3334Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
link: {
path:
'M265.117,22.764l-9.877-8.737c-23.003-20.398-58.227-18.283-78.618,4.726l-28.267,31.89 c-6.38,7.199-5.717,18.251,1.479,24.637l2.653,2.354c7.221,6.402,18.239,5.741,24.646-1.481l28.265-31.889 c6.305-7.107,17.227-7.761,24.338-1.466l9.865,8.752c7.113,6.303,7.783,17.223,1.469,24.334l-61.808,69.726 c-5.231,5.911-13.791,7.505-20.816,3.875c-7.682-3.967-17.051-2.224-22.787,4.245l-0.482,0.544 c-3.881,4.377-5.499,10.188-4.439,15.943c1.061,5.752,4.642,10.604,9.825,13.313c8.197,4.284,17.049,6.358,25.814,6.358 c15.532,0,30.795-6.512,41.67-18.775l61.804-69.718C290.219,78.417,288.099,43.148,265.117,22.764zM133.998,208.581l-2.659-2.356c-7.204-6.383-18.259-5.712-24.64,1.489l-28.254,31.886 c-6.308,7.105-17.222,7.764-24.327,1.473l-9.879-8.764c-7.115-6.301-7.783-17.212-1.467-24.325l61.806-69.721 c5.124-5.787,13.555-7.442,20.504-4.028c7.986,3.924,17.683,2.016,23.595-4.656l0.222-0.25c3.798-4.288,5.396-9.979,4.386-15.614 c-1.01-5.636-4.484-10.417-9.533-13.119c-22.828-12.22-50.769-7.22-67.947,12.165l-61.81,69.707v0.001 c-20.371,22.978-18.252,58.246,4.726,78.622l9.877,8.749c10.583,9.383,23.77,13.992,36.913,13.992 c15.394,0,30.724-6.327,41.718-18.724l28.258-31.886C141.88,226.003,141.224,214.987,133.998,208.581z',
viewBox: '0 0 283.842 283.842',
ratio: 1,
},
+ KeyboardBackspaceArrow: {
+ path: 'M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
lock: {
path:
'M12.452,0A5.659,5.659,0,0,0,6.781,5.671V9.452A3.793,3.793,0,0,0,3,13.233V20.8a3.793,3.793,0,0,0,3.781,3.781H18.124A3.793,3.793,0,0,0,21.9,20.8V13.233a3.793,3.793,0,0,0-3.781-3.781H8.671V5.671A3.7,3.7,0,0,1,12.452,1.89a3.7,3.7,0,0,1,3.781,3.781v.945h1.89V5.671A5.659,5.659,0,0,0,12.452,0Zm0,14.178a1.894,1.894,0,0,1,1.89,1.89,1.81,1.81,0,0,1-.945,1.6V19.85a.945.945,0,1,1-1.89,0V17.664a1.81,1.81,0,0,1-.945-1.6A1.894,1.894,0,0,1,12.452,14.178Z',
@@ -453,23 +676,52 @@ export const icons = {
transform: 'translate(-3)',
ratio: 1,
},
-
+ lockWithDots: {
+ path:
+ 'M7.70907 4.29857C7.00031 5.17846 6.75 6.4592 6.75 8.06934V9.32061C6.83253 9.31975 6.91587 9.31934 7 9.31934H17C17.0841 9.31934 17.1675 9.31975 17.25 9.32061V8.06934C17.25 6.4592 16.9997 5.17846 16.2909 4.29857C15.6104 3.45372 14.3716 2.81934 12 2.81934C9.62836 2.81934 8.38962 3.45372 7.70907 4.29857ZM18.75 9.4048V8.06934C18.75 6.36947 18.5003 4.65021 17.4591 3.3576C16.3896 2.02995 14.6284 1.31934 12 1.31934C9.37164 1.31934 7.61038 2.02995 6.54093 3.3576C5.49969 4.65021 5.25 6.36947 5.25 8.06934V9.4048C4.08514 9.54044 3.14646 9.86222 2.46967 10.539C1.48116 11.5275 1.25 13.0747 1.25 15.0693V17.0693C1.25 19.064 1.48116 20.6112 2.46967 21.5997C3.45818 22.5882 5.00536 22.8193 7 22.8193H17C18.9946 22.8193 20.5418 22.5882 21.5303 21.5997C22.5188 20.6112 22.75 19.064 22.75 17.0693V15.0693C22.75 13.0747 22.5188 11.5275 21.5303 10.539C20.8535 9.86222 19.9149 9.54044 18.75 9.4048ZM3.53033 11.5997C3.01884 12.1112 2.75 13.064 2.75 15.0693V17.0693C2.75 19.0747 3.01884 20.0275 3.53033 20.539C4.04182 21.0505 4.99464 21.3193 7 21.3193H17C19.0054 21.3193 19.9582 21.0505 20.4697 20.539C20.9812 20.0275 21.25 19.0747 21.25 17.0693V15.0693C21.25 13.064 20.9812 12.1112 20.4697 11.5997C19.9582 11.0882 19.0054 10.8193 17 10.8193H7C4.99464 10.8193 4.04182 11.0882 3.53033 11.5997ZM14.9961 16.0693C14.9961 15.5171 15.4438 15.0693 15.9961 15.0693H16.0051C16.5574 15.0693 17.0051 15.5171 17.0051 16.0693C17.0051 16.6216 16.5574 17.0693 16.0051 17.0693H15.9961C15.4438 17.0693 14.9961 16.6216 14.9961 16.0693ZM10.9951 16.0693C10.9951 15.5171 11.4428 15.0693 11.9951 15.0693H12.0041C12.5564 15.0693 13.0041 15.5171 13.0041 16.0693C13.0041 16.6216 12.5564 17.0693 12.0041 17.0693H11.9951C11.4428 17.0693 10.9951 16.6216 10.9951 16.0693ZM6.99414 16.0693C6.99414 15.5171 7.44186 15.0693 7.99414 15.0693H8.00312C8.55541 15.0693 9.00312 15.5171 9.00312 16.0693C9.00312 16.6216 8.55541 17.0693 8.00312 17.0693H7.99414C7.44186 17.0693 6.99414 16.6216 6.99414 16.0693Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ leave: {
+ path:
+ 'M9.15083 3.45071C8.45597 4.01453 8.03793 4.91749 7.91519 6.34285C7.8915 6.61797 7.64926 6.8218 7.37414 6.79811C7.09901 6.77442 6.89519 6.53218 6.91888 6.25705C7.05447 4.68241 7.53643 3.47287 8.52074 2.67419C9.49125 1.8867 10.8587 1.57495 12.592 1.57495H12.7004C14.6123 1.57495 16.081 1.95473 17.0591 2.93286C18.0373 3.91099 18.417 5.37967 18.417 7.29162V12.725C18.417 14.6369 18.0373 16.1056 17.0591 17.0837C16.081 18.0618 14.6123 18.4416 12.7004 18.4416H12.592C10.8714 18.4416 9.51189 18.1341 8.54323 17.3591C7.56012 16.5726 7.07214 15.381 6.92753 13.8297C6.90189 13.5547 7.10401 13.3111 7.37896 13.2854C7.65391 13.2598 7.89758 13.4619 7.92321 13.7369C8.0536 15.1356 8.47395 16.0231 9.16792 16.5783C9.87634 17.145 10.9627 17.4416 12.592 17.4416H12.7004C14.5134 17.4416 15.6531 17.0756 16.352 16.3766C17.051 15.6777 17.417 14.538 17.417 12.725V7.29162C17.417 5.47857 17.051 4.33892 16.352 3.63996C15.6531 2.94101 14.5134 2.57495 12.7004 2.57495H12.592C10.9503 2.57495 9.85948 2.8757 9.15083 3.45071ZM5.22859 6.85476C5.42386 7.05002 5.42386 7.3666 5.22859 7.56187L3.2905 9.49996H12.5001C12.7763 9.49996 13.0001 9.72382 13.0001 9.99996C13.0001 10.2761 12.7763 10.5 12.5001 10.5H3.29046L5.22859 12.4381C5.42386 12.6334 5.42386 12.9499 5.22859 13.1452C5.03333 13.3405 4.71675 13.3405 4.52149 13.1452L1.72982 10.3535C1.53456 10.1583 1.53456 9.84169 1.72982 9.64643L4.52149 6.85476C4.71675 6.6595 5.03333 6.6595 5.22859 6.85476Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ lightning: {
+ path:
+ 'M7.16666 1C6.98436 1 6.81624 1.10421 6.72857 1.27223L3.0618 8.27256C2.97673 8.43511 2.97963 8.63291 3.06962 8.79273C3.15961 8.95224 3.3231 9.05038 3.49989 9.05038H5.75401L3.70418 14.276C3.61419 14.5072 3.69174 14.7734 3.88995 14.9119C4.08787 15.0505 4.35148 15.0231 4.52018 14.8469L12.8537 6.09651C12.9967 5.94611 13.0392 5.72036 12.962 5.52439C12.8847 5.32811 12.7024 5.2002 12.5001 5.2002H10.3704L12.2652 1.78966C12.3552 1.62711 12.356 1.42658 12.2669 1.26373C12.1778 1.10057 12.0126 1 11.8335 1H7.16666ZM7.46238 2.05005H10.9631L9.06833 5.46058C8.97834 5.62313 8.97747 5.82366 9.06659 5.98652C9.15572 6.14968 9.32094 6.25025 9.50005 6.25025H11.2929L5.58068 12.2485L6.96237 8.72497C7.02545 8.56303 7.0078 8.3786 6.91521 8.23306C6.82232 8.08783 6.66665 8.00033 6.49997 8.00033H4.34569L7.46238 2.05005Z',
+ viewBox: '0 0 16 16',
+ ratio: 1,
+ },
+ members: {
+ path:
+ 'M2.73043 4.58C2.73043 2.74768 4.21432 1.25 6.06043 1.25C7.90464 1.25 9.39043 2.73579 9.39043 4.58C9.39043 6.38403 7.97058 7.84491 6.18758 7.90951C6.14677 7.91099 6.10591 7.90913 6.06543 7.90396C6.02494 7.90913 5.98409 7.91099 5.94327 7.90951C4.15934 7.84488 2.7433 6.38429 2.73045 4.58536L2.73043 4.58ZM4.23043 4.57733C4.2388 5.559 4.9942 6.34613 5.94468 6.40782C6.02454 6.40073 6.10633 6.40073 6.18619 6.40782C7.13829 6.34607 7.89043 5.55792 7.89043 4.58C7.89043 3.56421 7.07621 2.75 6.06043 2.75C5.04743 2.75 4.23187 3.57087 4.23043 4.57733ZM17.9104 2.75C16.8946 2.75 16.0804 3.56421 16.0804 4.58C16.0804 5.55792 16.8326 6.34607 17.7847 6.40782C17.8645 6.40073 17.9463 6.40073 18.0262 6.40782C18.9766 6.34613 19.732 5.559 19.7404 4.57733C19.739 3.57086 18.9234 2.75 17.9104 2.75ZM14.5804 4.58C14.5804 2.73579 16.0662 1.25 17.9104 1.25C19.7565 1.25 21.2404 2.74768 21.2404 4.58V4.58536H21.2404C21.2276 6.38428 19.8115 7.84488 18.0276 7.90951C17.9868 7.91099 17.9459 7.90913 17.9054 7.90396C17.8649 7.90913 17.8241 7.91099 17.7833 7.90951C16.0003 7.84491 14.5804 6.38403 14.5804 4.58ZM11.9104 10.2197C10.8946 10.2197 10.0804 11.0339 10.0804 12.0497C10.0804 13.0276 10.8325 13.8158 11.7846 13.8775C11.8656 13.8704 11.9486 13.8705 12.0295 13.8779C12.9723 13.8238 13.732 13.034 13.7404 12.0471C13.739 11.0406 12.9234 10.2197 11.9104 10.2197ZM8.5804 12.0497C8.5804 10.2055 10.0662 8.71973 11.9104 8.71973C13.7565 8.71973 15.2404 10.2174 15.2404 12.0497V12.0551H15.2404C15.2276 13.8492 13.8151 15.3274 12.0221 15.3794C11.9831 15.3805 11.9441 15.3786 11.9054 15.3737C11.8649 15.3789 11.8241 15.3807 11.7832 15.3792C10.0002 15.3146 8.5804 13.8538 8.5804 12.0497ZM3.47572 10.9245C4.35547 10.3411 5.68161 10.1151 6.90101 10.3288C7.30901 10.4002 7.6977 10.1274 7.76918 9.71942C7.84065 9.31142 7.56784 8.92273 7.15984 8.85125C5.63953 8.58492 3.906 8.83884 2.64575 9.67508L2.6444 9.67597C1.78302 10.2502 1.25293 11.0823 1.25293 12.01C1.25293 12.9374 1.78274 13.7694 2.64373 14.3436C3.89469 15.1812 5.60784 15.4343 7.1246 15.1797C7.5331 15.1111 7.80866 14.7243 7.74008 14.3158C7.6715 13.9073 7.28475 13.6318 6.87625 13.7004C5.65329 13.9057 4.34679 13.6789 3.47781 13.0969L3.47645 13.096C2.92784 12.7302 2.75293 12.3223 2.75293 12.01C2.75293 11.6978 2.92768 11.2902 3.47572 10.9245ZM16.811 8.85125C18.3313 8.58492 20.0649 8.83884 21.3251 9.67508L21.3265 9.67597C22.1878 10.2502 22.7179 11.0823 22.7179 12.01C22.7179 12.9377 22.1878 13.7698 21.3265 14.344C20.0756 15.1813 18.3627 15.4343 16.8463 15.1797C16.4378 15.1111 16.1622 14.7243 16.2308 14.3158C16.2994 13.9073 16.6861 13.6318 17.0946 13.7004C18.3176 13.9057 19.6241 13.6789 20.493 13.0969L20.4944 13.096C21.043 12.7302 21.2179 12.3223 21.2179 12.01C21.2179 11.6978 21.0432 11.2902 20.4952 10.9246C19.6155 10.3411 18.2893 10.1151 17.0698 10.3288C16.6618 10.4002 16.2732 10.1274 16.2017 9.71942C16.1302 9.31142 16.403 8.92273 16.811 8.85125ZM12.0041 16.2344C13.1727 16.2344 14.3815 16.5254 15.3264 17.1553C16.1878 17.7296 16.7179 18.5617 16.7179 19.4894C16.7179 20.4167 16.1882 21.2486 15.3273 21.8228C14.3783 22.4575 13.1696 22.7519 12.0004 22.7519C10.8312 22.7519 9.62252 22.4575 8.67347 21.8228C7.81262 21.2486 7.2829 20.4167 7.2829 19.4894C7.2829 18.5617 7.81299 17.7296 8.67437 17.1553L8.67618 17.1541C9.62516 16.5254 10.8354 16.2344 12.0041 16.2344ZM9.50518 18.4042C8.95754 18.7698 8.7829 19.1773 8.7829 19.4894C8.7829 19.8017 8.95781 20.2096 9.50642 20.5753L9.50732 20.5759C10.1583 21.0113 11.0596 21.2519 12.0004 21.2519C12.9412 21.2519 13.8425 21.0113 14.4935 20.5759L14.4944 20.5753C15.043 20.2096 15.2179 19.8017 15.2179 19.4894C15.2179 19.177 15.043 18.7692 14.4944 18.4034C13.8493 17.9734 12.9481 17.7344 12.0041 17.7344C11.0606 17.7344 10.1562 17.9732 9.50518 18.4042Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
messageRequest: {
path:
- 'M68.987 7.718H27.143c-2.73 0-5.25.473-7.508 1.417-2.257.945-4.357 2.363-6.248 4.253-1.89 1.89-3.308 3.99-4.253 6.248-.945 2.257-1.417 4.778-1.417 7.508V67.99c0 2.73.472 5.25 1.417 7.508.945 2.258 2.363 4.357 4.253 6.248 1.942 1.891 4.043 3.359 6.3 4.252 2.258.945 4.726 1.418 7.456 1.418h17.956c2.101 0 3.833 1.732 3.833 3.832 0 .473-.105.893-.21 1.313-.683 2.521-1.418 5.041-2.258 7.455-.893 2.574-1.837 4.988-2.888 7.352-.525 1.207-1.155 2.361-1.837 3.57 3.675-1.629 7.14-3.518 10.343-5.619 3.36-2.205 6.51-4.672 9.397-7.35 2.94-2.73 5.565-5.723 7.98-8.926.735-.996 1.89-1.521 3.045-1.521H87.94c2.73 0 5.198-.473 7.455-1.418 2.258-.945 4.358-2.363 6.301-4.252 1.89-1.891 3.308-3.99 4.253-6.248.944-2.258 1.417-4.779 1.417-7.508V27.249c0-2.73-.473-5.25-1.417-7.508-.945-2.258-2.363-4.357-4.253-6.248s-3.99-3.308-6.248-4.252c-2.258-.945-4.777-1.418-7.508-1.418H68.987v-.105zm-7.282 47.97h-9.976V54.61c0-1.833.188-3.327.574-4.471.386-1.155.958-2.193 1.721-3.143.762-.951 2.474-2.619 5.136-5.005 1.416-1.251 2.124-2.396 2.124-3.435 0-1.047-.287-1.852-.851-2.434-.574-.573-1.435-.864-2.59-.864-1.247 0-2.269.446-3.083 1.338-.816.883-1.335 2.444-1.561 4.657l-10.191-1.368c.349-4.054 1.711-7.314 4.078-9.787 2.376-2.473 6.015-3.706 10.917-3.706 3.818 0 6.893.863 9.24 2.58 3.184 2.338 4.778 5.441 4.778 9.321 0 1.61-.412 3.172-1.237 4.666-.815 1.493-2.501 3.327-5.037 5.48-1.766 1.523-2.887 2.735-3.353 3.657-.456.914-.689 2.116-.689 3.592zm-10.325 2.87h10.693v8.532H51.38v-8.532zM46.097.053H87.94c3.675 0 7.141.683 10.396 1.995 3.202 1.312 6.143 3.308 8.768 5.933 2.626 2.625 4.621 5.565 5.934 8.768 1.312 3.203 1.994 6.667 1.994 10.396V67.99c0 3.729-.683 7.193-1.994 10.396-1.313 3.201-3.308 6.141-5.934 8.768-2.625 2.625-5.565 4.566-8.768 5.932-3.202 1.313-6.668 1.996-10.396 1.996H74.395c-2.362 2.992-4.935 5.826-7.665 8.4-3.255 3.045-6.72 5.773-10.448 8.189-3.728 2.467-7.718 4.621-11.971 6.457-4.2 1.838-8.715 3.361-13.44 4.621-1.365.367-2.835-.053-3.833-1.156-1.417-1.574-1.26-3.988.315-5.406 2.205-1.943 4.095-3.938 5.618-5.934 1.47-1.941 2.678-3.938 3.57-5.984v-.053c.998-2.205 1.89-4.463 2.678-6.721.263-.787.525-1.627.788-2.467H27.091c-3.675 0-7.14-.684-10.396-1.996-3.203-1.313-6.143-3.307-8.768-5.932-2.625-2.625-4.62-5.566-5.933-8.768C.682 75.078 0 71.613 0 67.938V27.091c0-3.676.682-7.141 1.995-10.396 1.313-3.203 3.308-6.143 5.933-8.768 2.625-2.625 5.565-4.62 8.768-5.933S23.363 0 27.091 0h18.953l.053.053z',
- viewBox: '0 0 115.031 122.88',
+ 'M2.84467 3.27485C3.87925 2.24026 5.32956 1.68018 7 1.68018H17C18.6704 1.68018 20.1207 2.24026 21.1553 3.27485C22.1899 4.30943 22.75 5.75974 22.75 7.43018V13.4302C22.75 15.1007 22.1899 16.551 21.1553 17.5856C20.2789 18.462 19.1042 18.9979 17.75 19.1413V20.5602C17.75 21.963 16.1897 22.7841 15.0346 22.0147M15.034 22.0143L10.7733 19.1802H7C5.32956 19.1802 3.87925 18.6202 2.84467 17.5856C1.81009 16.551 1.25 15.1007 1.25 13.4302V11.5601C1.25 11.1459 1.58579 10.8101 2 10.8101C2.41421 10.8101 2.75 11.1459 2.75 11.5601V13.4302C2.75 14.7598 3.18991 15.8095 3.90533 16.5249C4.62075 17.2403 5.67044 17.6802 7 17.6802H11C11.1478 17.6802 11.2923 17.7239 11.4154 17.8058L15.8654 20.7658L15.866 20.7662C16.0309 20.8761 16.25 20.7573 16.25 20.5602V18.4302C16.25 18.016 16.5858 17.6802 17 17.6802C18.3296 17.6802 19.3793 17.2403 20.0947 16.5249C20.8101 15.8095 21.25 14.7598 21.25 13.4302V7.43018C21.25 6.10061 20.8101 5.05092 20.0947 4.33551C19.3793 3.62009 18.3296 3.18018 17 3.18018H7C5.67044 3.18018 4.62075 3.62009 3.90533 4.33551C3.18991 5.05092 2.75 6.10061 2.75 7.43018C2.75 7.84439 2.41421 8.18018 2 8.18018C1.58579 8.18018 1.25 7.84439 1.25 7.43018C1.25 5.75974 1.81009 4.30943 2.84467 3.27485M9.58984 8.51989C9.58984 7.1857 10.6656 6.10986 11.9998 6.10986C13.3341 6.10986 14.4098 7.1857 14.4098 8.51989C14.4098 9.57273 13.7176 10.1284 13.2646 10.438C13.0701 10.5724 12.9448 10.678 12.8636 10.7869C12.7962 10.8774 12.7498 10.9819 12.7498 11.1499V11.3599C12.7498 11.7741 12.4141 12.1099 11.9998 12.1099C11.5856 12.1099 11.2498 11.7741 11.2498 11.3599V11.1499C11.2498 10.073 11.9585 9.51702 12.4137 9.2027L12.4169 9.20052L12.4169 9.20053C12.6021 9.07406 12.7232 8.97082 12.801 8.86588C12.8661 8.77801 12.9098 8.6776 12.9098 8.51989C12.9098 8.01409 12.5056 7.60986 11.9998 7.60986C11.4941 7.60986 11.0898 8.01409 11.0898 8.51989C11.0898 8.93411 10.7541 9.26989 10.3398 9.26989C9.92563 9.26989 9.58984 8.93411 9.58984 8.51989ZM11.2455 13.7502C11.2455 13.336 11.5813 13.0002 11.9955 13.0002H12.0045C12.4187 13.0002 12.7545 13.336 12.7545 13.7502C12.7545 14.1645 12.4187 14.5002 12.0045 14.5002H11.9955C11.5813 14.5002 11.2455 14.1645 11.2455 13.7502Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
microphone: {
path:
- 'M43.362728,18.444286 C46.0752408,18.444286 48.2861946,16.2442453 48.2861946,13.5451212 L48.2861946,6.8991648 C48.2861946,4.20004074 46.0752408,2 43.362728,2 C40.6502153,2 38.4392615,4.20004074 38.4392615,6.8991648 L38.4392615,13.5451212 C38.4392615,16.249338 40.6502153,18.444286 43.362728,18.444286 Z M51.0908304,12.9238134 C51.4388509,12.9238134 51.7203381,13.2039112 51.7203381,13.5502139 C51.7203381,17.9248319 48.3066664,21.5202689 43.9871178,21.8411082 L43.9871178,21.8411082 L43.9871178,25.747199 L47.2574869,25.747199 C47.6055074,25.747199 47.8869946,26.0272968 47.8869946,26.3735995 C47.8869946,26.7199022 47.6055074,27 47.2574869,27 L47.2574869,27 L39.4628512,27 C39.1148307,27 38.8333435,26.7199022 38.8333435,26.3735995 C38.8333435,26.0272968 39.1148307,25.747199 39.4628512,25.747199 L39.4628512,25.747199 L42.7332204,25.747199 L42.7332204,21.8411082 C38.4136717,21.5253616 35,17.9248319 35,13.5502139 C35,13.2039112 35.2814872,12.9238134 35.6295077,12.9238134 C35.9775282,12.9238134 36.2538974,13.2039112 36.2436615,13.5502139 C36.2436615,17.4512121 39.4321435,20.623956 43.3524921,20.623956 C47.2728408,20.623956 50.4613228,17.4512121 50.4613228,13.5502139 C50.4613228,13.2039112 50.7428099,12.9238134 51.0908304,12.9238134 Z M43.362728,3.24770829 C45.3843177,3.24770829 47.0322972,4.88755347 47.0322972,6.8991648 L47.0322972,13.5451212 C47.0322972,15.5567325 45.3843177,17.1965777 43.362728,17.1965777 C41.3411383,17.1965777 39.6931589,15.5567325 39.6931589,13.5451212 L39.6931589,6.8991648 C39.6931589,4.88755347 41.3411383,3.24770829 43.362728,3.24770829',
- viewBox: '28 0 30 30',
+ 'M7.24963 6C7.24963 3.37579 9.37542 1.25 11.9996 1.25C14.6238 1.25 16.7496 3.37579 16.7496 6V11.5C16.7496 14.1242 14.6238 16.25 11.9996 16.25C9.37542 16.25 7.24963 14.1242 7.24963 11.5V6ZM11.9996 2.75C10.2038 2.75 8.74963 4.20421 8.74963 6V11.5C8.74963 13.2958 10.2038 14.75 11.9996 14.75C13.7954 14.75 15.2496 13.2958 15.2496 11.5V6C15.2496 4.20421 13.7954 2.75 11.9996 2.75ZM9.90548 6.68819C9.76288 6.2993 9.96255 5.86844 10.3514 5.72584C11.4181 5.33472 12.5811 5.33472 13.6478 5.72584C14.0367 5.86844 14.2364 6.2993 14.0938 6.68819C13.9512 7.07709 13.5203 7.27675 13.1314 7.13416C12.3981 6.86528 11.6011 6.86528 10.8678 7.13416C10.4789 7.27675 10.0481 7.07709 9.90548 6.68819ZM12.618 9.27544C12.2136 9.1686 11.7956 9.1686 11.3911 9.27544C10.9907 9.38123 10.5802 9.14233 10.4745 8.74186C10.3687 8.34138 10.6076 7.93097 11.008 7.82518C11.6636 7.65202 12.3456 7.65202 13.0011 7.82518C13.4016 7.93097 13.6405 8.34138 13.5347 8.74186C13.4289 9.14233 13.0185 9.38123 12.618 9.27544ZM4.34961 8.90039C4.76382 8.90039 5.09961 9.23618 5.09961 9.65039V11.3504C5.09961 15.1562 8.19382 18.2504 11.9996 18.2504C15.8054 18.2504 18.8996 15.1562 18.8996 11.3504V9.65039C18.8996 9.23618 19.2354 8.90039 19.6496 8.90039C20.0638 8.90039 20.3996 9.23618 20.3996 9.65039V11.3504C20.3996 15.7319 17.0334 19.337 12.7496 19.7173L12.7496 22C12.7496 22.4142 12.4139 22.75 11.9996 22.75C11.5854 22.75 11.2496 22.4142 11.2496 22L11.2496 19.7173C6.96584 19.3371 3.59961 15.7319 3.59961 11.3504V9.65039C3.59961 9.23618 3.9354 8.90039 4.34961 8.90039Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
- microphoneFull: {
+ recordMicrophone: {
path:
- 'M44,28c-0.552,0-1,0.447-1,1v6c0,7.72-6.28,14-14,14s-14-6.28-14-14v-6c0-0.553-0.448-1-1-1s-1,0.447-1,1v6c0,8.485,6.644,15.429,15,15.949V56h-5c-0.552,0-1,0.447-1,1s0.448,1,1,1h12c0.552,0,1-0.447,1-1s-0.448-1-1-1h-5v-5.051c8.356-0.52,15-7.465,15-15.949v-6C45,28.447,44.552,28,44,28zM29,46c6.065,0,11-4.935,11-11V11c0-6.065-4.935-11-11-11S18,4.935,18,11v24C18,41.065,22.935,46,29,46z',
- viewBox: '0 0 58 58',
+ 'M11.0001 0.916656C8.72989 0.916656 6.87508 2.77147 6.87508 5.04166V11.9167C6.87508 14.1868 8.72989 16.0417 11.0001 16.0417C13.2703 16.0417 15.1251 14.1868 15.1251 11.9167V5.04166C15.1251 2.77147 13.2703 0.916656 11.0001 0.916656ZM11.0001 2.29166C12.5271 2.29166 13.7501 3.51467 13.7501 5.04166V11.9167C13.7501 13.4436 12.5271 14.6667 11.0001 14.6667C9.47309 14.6667 8.25008 13.4436 8.25008 11.9167V5.04166C8.25008 3.51467 9.47309 2.29166 11.0001 2.29166ZM4.80144 9.61544C4.42267 9.62101 4.11951 9.93293 4.12508 10.3125V11.9167C4.12508 15.4735 6.84484 18.4105 10.3126 18.7566V20.8542C10.3094 21.1024 10.4391 21.3324 10.6531 21.4573C10.868 21.583 11.1322 21.583 11.347 21.4573C11.5611 21.3324 11.6908 21.1024 11.6876 20.8542V18.7566C15.1553 18.4105 17.8751 15.4735 17.8751 11.9167V10.3125C17.8783 10.0642 17.7486 9.83426 17.5345 9.70934C17.3197 9.58361 17.0555 9.58361 16.8406 9.70934C16.6266 9.83426 16.4969 10.0642 16.5001 10.3125V11.9167C16.5001 14.9348 14.0891 17.3681 11.0812 17.4119C11.051 17.4087 11.02 17.4063 10.9889 17.4071C10.9643 17.4071 10.9388 17.4087 10.9141 17.4119C7.90871 17.3657 5.50008 14.9332 5.50008 11.9167V10.3125C5.50246 10.1263 5.43005 9.94726 5.29876 9.81596C5.16667 9.68467 4.98763 9.61226 4.80144 9.61544Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
+ markRead: {
+ path:
+ 'M2.66761 2.66736C3.74475 1.59022 5.36768 1.16675 7.50033 1.16675H12.5003C14.633 1.16675 16.2559 1.59022 17.333 2.66736C18.4102 3.74451 18.8337 5.36743 18.8337 7.50008V12.5001C18.8337 14.6327 18.4102 16.2557 17.333 17.3328C16.2559 18.4099 14.633 18.8334 12.5003 18.8334H7.50033C5.36768 18.8334 3.74475 18.4099 2.66761 17.3328C1.59046 16.2557 1.16699 14.6327 1.16699 12.5001V7.50008C1.16699 5.36743 1.59046 3.74451 2.66761 2.66736ZM3.37471 3.37447C2.57686 4.17232 2.16699 5.46606 2.16699 7.50008V12.5001C2.16699 14.5341 2.57686 15.8278 3.37471 16.6257C4.17257 17.4235 5.46631 17.8334 7.50033 17.8334H12.5003C14.5343 17.8334 15.8281 17.4235 16.6259 16.6257C17.4238 15.8278 17.8337 14.5341 17.8337 12.5001V7.50008C17.8337 5.46606 17.4238 4.17232 16.6259 3.37447C15.8281 2.57661 14.5343 2.16675 12.5003 2.16675H7.50033C5.46631 2.16675 4.17257 2.57661 3.37471 3.37447ZM8.17045 5.79653C8.36571 5.99179 8.36571 6.30838 8.17045 6.50364L6.29545 8.37864C6.10019 8.5739 5.7836 8.5739 5.58834 8.37864L4.96334 7.75364C4.76808 7.55838 4.76808 7.24179 4.96334 7.04653C5.1586 6.85127 5.47519 6.85127 5.67045 7.04653L5.94189 7.31798L7.46334 5.79653C7.6586 5.60127 7.97519 5.60127 8.17045 5.79653ZM9.80876 7.40009C9.80876 7.12394 10.0326 6.90009 10.3088 6.90009H14.6838C14.9599 6.90009 15.1838 7.12394 15.1838 7.40009C15.1838 7.67623 14.9599 7.90009 14.6838 7.90009H10.3088C10.0326 7.90009 9.80876 7.67623 9.80876 7.40009ZM8.17045 11.6299C8.36571 11.8251 8.36571 12.1417 8.17045 12.337L6.29545 14.212C6.10019 14.4072 5.7836 14.4072 5.58834 14.212L4.96334 13.587C4.76808 13.3917 4.76808 13.0751 4.96334 12.8799C5.1586 12.6846 5.47519 12.6846 5.67045 12.8799L5.94189 13.1513L7.46334 11.6299C7.6586 11.4346 7.97519 11.4346 8.17045 11.6299ZM9.80876 13.2334C9.80876 12.9573 10.0326 12.7334 10.3088 12.7334H14.6838C14.9599 12.7334 15.1838 12.9573 15.1838 13.2334C15.1838 13.5096 14.9599 13.7334 14.6838 13.7334H10.3088C10.0326 13.7334 9.80876 13.5096 9.80876 13.2334Z',
+ viewBox: '0 0 20 20',
ratio: 1,
},
markAll: {
@@ -498,33 +750,65 @@ export const icons = {
},
moon: {
path:
- 'M17.166,0V4.682h3.121V0ZM6.59,4.383,4.383,6.59,7.693,9.9,9.9,7.693Zm24.273,0-3.31,3.31L29.76,9.9l3.31-3.31ZM18.726,7.8A10.924,10.924,0,1,0,29.65,18.726,10.947,10.947,0,0,0,18.726,7.8Zm0,3.121a7.8,7.8,0,1,1-7.8,7.8A7.779,7.779,0,0,1,18.726,10.924ZM0,17.166v3.121H4.682V17.166Zm32.771,0v3.121h4.682V17.166ZM7.693,27.553l-3.31,3.31L6.59,33.07,9.9,29.76Zm22.067,0L27.553,29.76l3.31,3.31,2.207-2.207ZM17.166,32.771v4.682h3.121V32.771Z',
- viewBox: '0 0 37.453 37.453',
+ 'M11.5353 3.5185C11.6874 3.18427 11.644 2.79359 11.4224 2.50082C11.2008 2.20806 10.8365 2.0603 10.4736 2.11594C5.67498 2.85152 2 6.99569 2 12C2 17.5229 6.47715 22 12 22C17.5228 22 22 17.5229 22 12C22 11.9065 21.9987 11.8132 21.9962 11.7203C21.986 11.3529 21.7752 11.0206 21.4471 10.855C21.119 10.6894 20.7265 10.7172 20.4249 10.9272C19.454 11.6036 18.2748 12 17 12C13.6863 12 11 9.31375 11 6.00004C11 5.11302 11.1918 4.27352 11.5353 3.5185Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
mute: {
path:
- 'M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.9,2 2,2zM12,6.5c2.49,0 4,2.02 4,4.5v0.1l2,2L18,11c0,-3.07 -1.63,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68c-0.24,0.06 -0.47,0.15 -0.69,0.23l1.64,1.64c0.18,-0.02 0.36,-0.05 0.55,-0.05zM5.41,3.35L4,4.76l2.81,2.81C6.29,8.57 6,9.74 6,11v5l-2,2v1h14.24l1.74,1.74 1.41,-1.41L5.41,3.35zM16,17L8,17v-6c0,-0.68 0.12,-1.32 0.34,-1.9L16,16.76L16,17z',
- viewBox: '0 0 24 24',
+ 'M9.16992 2.59675C9.8075 2.03045 10.8125 2.48346 10.8125 3.33582V14.6639C10.8125 15.5152 9.80566 15.9707 9.16915 15.4023C9.16902 15.4022 9.16889 15.4021 9.16876 15.402L5.69272 12.3124H3.1875C2.29026 12.3124 1.5625 11.5846 1.5625 10.6874V7.31238C1.5625 6.41515 2.29026 5.68738 3.1875 5.68738H5.69272L9.16978 2.59687L9.16992 2.59675ZM9.8125 3.36352L6.21498 6.5611C6.12346 6.64245 6.00526 6.68738 5.88281 6.68738H3.1875C2.84255 6.68738 2.5625 6.96743 2.5625 7.31238V10.6874C2.5625 11.0323 2.84255 11.3124 3.1875 11.3124H5.88281C6.00526 11.3124 6.12346 11.3573 6.21498 11.4387L9.8125 14.6362V3.36352ZM12.5839 6.95883C12.7792 6.76357 13.0958 6.76357 13.2911 6.95883L14.625 8.29278L15.9589 6.95883C16.1542 6.76357 16.4708 6.76357 16.6661 6.95883C16.8613 7.15409 16.8613 7.47067 16.6661 7.66594L15.3321 8.99988L16.6661 10.3338C16.8613 10.5291 16.8613 10.8457 16.6661 11.0409C16.4708 11.2362 16.1542 11.2362 15.9589 11.0409L14.625 9.70699L13.2911 11.0409C13.0958 11.2362 12.7792 11.2362 12.5839 11.0409C12.3887 10.8457 12.3887 10.5291 12.5839 10.3338L13.9179 8.99988L12.5839 7.66594C12.3887 7.47067 12.3887 7.15409 12.5839 6.95883Z',
+ viewBox: '0 0 18 18',
ratio: 1,
},
notification: {
path:
- 'M12,2a1.5,1.5,0,0,0-1.5,1.5v.7A6,6,0,0,0,6,10v6L4.465,17.156h0A1,1,0,0,0,5,19H19a1,1,0,0,0,.537-1.844L18,16V10a6,6,0,0,0-4.5-5.8V3.5A1.5,1.5,0,0,0,12,2ZM10,20a2,2,0,0,0,4,0Z',
- viewBox: '0 0 16 20',
+ 'M3.09467 3.09467C4.42914 1.7602 6.42603 1.25 9 1.25H14C14.4142 1.25 14.75 1.58579 14.75 2C14.75 2.41421 14.4142 2.75 14 2.75H9C6.57397 2.75 5.07086 3.2398 4.15533 4.15533C3.2398 5.07086 2.75 6.57397 2.75 9V15C2.75 17.426 3.2398 18.9291 4.15533 19.8447C5.07086 20.7602 6.57397 21.25 9 21.25H15C17.426 21.25 18.9291 20.7602 19.8447 19.8447C20.7602 18.9291 21.25 17.426 21.25 15V10C21.25 9.58579 21.5858 9.25 22 9.25C22.4142 9.25 22.75 9.58579 22.75 10V15C22.75 17.574 22.2398 19.5709 20.9053 20.9053C19.5709 22.2398 17.574 22.75 15 22.75H9C6.42603 22.75 4.42914 22.2398 3.09467 20.9053C1.7602 19.5709 1.25 17.574 1.25 15V9C1.25 6.42603 1.7602 4.42914 3.09467 3.09467ZM19 2.75C17.7574 2.75 16.75 3.75736 16.75 5C16.75 6.24264 17.7574 7.25 19 7.25C20.2426 7.25 21.25 6.24264 21.25 5C21.25 3.75736 20.2426 2.75 19 2.75ZM15.25 5C15.25 2.92893 16.9289 1.25 19 1.25C21.0711 1.25 22.75 2.92893 22.75 5C22.75 7.07107 21.0711 8.75 19 8.75C16.9289 8.75 15.25 7.07107 15.25 5ZM6.25 13C6.25 12.5858 6.58579 12.25 7 12.25H12C12.4142 12.25 12.75 12.5858 12.75 13C12.75 13.4142 12.4142 13.75 12 13.75H7C6.58579 13.75 6.25 13.4142 6.25 13ZM6.25 17C6.25 16.5858 6.58579 16.25 7 16.25H16C16.4142 16.25 16.75 16.5858 16.75 17C16.75 17.4142 16.4142 17.75 16 17.75H7C6.58579 17.75 6.25 17.4142 6.25 17Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ notifyBell: {
+ path:
+ 'M7.70107 1.6268C8.43521 1.32284 9.22206 1.16651 10.0166 1.16675L10.0187 1.16675C11.6211 1.1739 13.156 1.813 14.2899 2.94523C15.4239 4.07747 16.0653 5.61138 16.0748 7.21377L16.0748 7.21675L16.0748 8.95607C16.1005 9.53798 16.2576 10.1065 16.5343 10.6191L17.5866 12.3757C17.5866 12.3756 17.5867 12.3758 17.5866 12.3757C17.768 12.6774 17.8794 13.0162 17.9124 13.3666C17.9454 13.7171 17.8992 14.0705 17.7773 14.4008C17.6553 14.7311 17.4607 15.0297 17.2079 15.2747C16.955 15.5196 16.6503 15.7046 16.3164 15.8161C15.277 16.1617 14.2159 16.4196 13.1447 16.5894C12.9917 17.1163 12.7077 17.6014 12.3128 17.9963C11.6996 18.6095 10.8689 18.9553 10.0017 18.9584H9.99816C9.13109 18.9553 8.30051 18.6091 7.68805 17.9953C7.29112 17.5992 7.00607 17.1119 6.85337 16.5825C5.80091 16.4133 4.75873 16.1591 3.73713 15.8201C3.39368 15.7233 3.07773 15.5471 2.81482 15.3056C2.54852 15.0611 2.3443 14.7566 2.21906 14.4174C2.09382 14.0782 2.05117 13.7141 2.09464 13.3551C2.13751 13.001 2.26299 12.662 2.46086 12.3654L3.50723 10.6187C3.7848 10.1068 3.94187 9.53829 3.96649 8.9565V7.2169C3.96649 7.21685 3.96649 7.21695 3.96649 7.2169C3.96627 6.42237 4.1226 5.63542 4.42655 4.90132C4.73051 4.16718 5.17615 3.50012 5.73801 2.93826C6.29986 2.37641 6.96692 1.93077 7.70107 1.6268ZM7.72503 15.6959C7.72498 15.6912 7.72495 15.6864 7.72493 15.6816L7.61384 15.682C6.40587 15.5274 5.20921 15.2558 4.04094 14.8673L4.02851 14.8632L4.01589 14.8597C3.82041 14.8059 3.64056 14.7063 3.49123 14.5691C3.3419 14.432 3.22738 14.2612 3.15716 14.071C3.08693 13.8808 3.06301 13.6766 3.08738 13.4754C3.11176 13.2741 3.18372 13.0815 3.29731 12.9135L3.30502 12.9022L4.3756 11.1151L4.38043 11.1062C4.73614 10.4542 4.93656 9.72881 4.9661 8.98663L4.96649 8.97669L4.96649 7.21675C4.96629 6.55354 5.09678 5.89664 5.35048 5.28387C5.60419 4.6711 5.97615 4.11433 6.44511 3.64537C6.91408 3.17641 7.47085 2.80445 8.08361 2.55074C8.69606 2.29716 9.35244 2.16669 10.0153 2.16675C11.3539 2.17299 12.6361 2.707 13.5834 3.65287C14.5306 4.59865 15.0665 5.87985 15.0748 7.21832V8.97712L15.0753 8.98748C15.106 9.7289 15.3062 10.4534 15.6605 11.1055L15.6655 11.1147L16.7292 12.8904C16.8335 13.0637 16.8979 13.2589 16.9168 13.4603C16.9358 13.6617 16.9092 13.8647 16.8392 14.0544C16.7691 14.2441 16.6573 14.4157 16.5121 14.5564C16.3669 14.697 16.1921 14.8033 16.0004 14.8673C14.8318 15.2559 13.6348 15.5275 12.4265 15.6822L12.2749 15.6816C12.2749 15.6881 12.2749 15.6945 12.2748 15.701C10.7636 15.882 9.2359 15.8803 7.72503 15.6959ZM7.98516 16.7314C8.09167 16.9347 8.22921 17.1227 8.39472 17.2878L8.39559 17.2886C8.82094 17.715 9.3977 17.9558 9.99992 17.9584C10.6025 17.9558 11.1796 17.7153 11.6057 17.2892C11.7701 17.1248 11.9068 16.9379 12.013 16.7358C10.6737 16.8702 9.32418 16.8687 7.98516 16.7314ZM10 4.86675C10.2761 4.86675 10.5 5.09061 10.5 5.36675V8.14175C10.5 8.41789 10.2761 8.64175 10 8.64175C9.72386 8.64175 9.5 8.41789 9.5 8.14175V5.36675C9.5 5.09061 9.72386 4.86675 10 4.86675Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ notifySet: {
+ path:
+ 'M3.39659 3.39659C4.82481 1.96837 6.96753 1.4165 9.74984 1.4165H15.1665C15.5807 1.4165 15.9165 1.75229 15.9165 2.1665C15.9165 2.58072 15.5807 2.9165 15.1665 2.9165H9.74984C7.11548 2.9165 5.46653 3.44797 4.45725 4.45725C3.44797 5.46653 2.9165 7.11548 2.9165 9.74984V16.2498C2.9165 18.8842 3.44797 20.5331 4.45725 21.5424C5.46653 22.5517 7.11548 23.0832 9.74984 23.0832H16.2498C18.8842 23.0832 20.5331 22.5517 21.5424 21.5424C22.5517 20.5331 23.0832 18.8842 23.0832 16.2498V10.8332C23.0832 10.419 23.419 10.0832 23.8332 10.0832C24.2474 10.0832 24.5832 10.419 24.5832 10.8332V16.2498C24.5832 19.0321 24.0313 21.1749 22.6031 22.6031C21.1749 24.0313 19.0321 24.5832 16.2498 24.5832H9.74984C6.96753 24.5832 4.82481 24.0313 3.39659 22.6031C1.96837 21.1749 1.4165 19.0321 1.4165 16.2498V9.74984C1.4165 6.96753 1.96837 4.82481 3.39659 3.39659ZM20.5832 2.9165C19.2025 2.9165 18.0832 4.03579 18.0832 5.4165C18.0832 6.79722 19.2025 7.9165 20.5832 7.9165C21.9639 7.9165 23.0832 6.79722 23.0832 5.4165C23.0832 4.03579 21.9639 2.9165 20.5832 2.9165ZM16.5832 5.4165C16.5832 3.20736 18.374 1.4165 20.5832 1.4165C22.7923 1.4165 24.5832 3.20737 24.5832 5.4165C24.5832 7.62564 22.7923 9.4165 20.5832 9.4165C18.374 9.4165 16.5832 7.62564 16.5832 5.4165ZM10.0321 14.1457C9.78074 13.8009 9.32314 13.682 8.93267 13.81L8.92692 13.8119L8.92691 13.8119C8.20196 14.0431 7.7904 14.9958 8.09147 15.9448C8.33673 16.7003 8.87898 17.2984 9.45938 17.718C9.74675 17.9258 10.0296 18.0794 10.2634 18.1793C10.3801 18.2291 10.4785 18.263 10.5538 18.2837C10.5999 18.2963 10.6294 18.3018 10.644 18.3041C10.6728 18.2986 10.7945 18.2745 11.0092 18.1825C11.2426 18.0826 11.5263 17.9279 11.8146 17.7187C12.3982 17.2953 12.9381 16.6954 13.1727 15.9491L13.1735 15.9466C13.4755 14.9974 13.0643 14.044 12.3395 13.8122C11.9161 13.6783 11.4653 13.8104 11.2654 14.1153C11.1303 14.3212 10.9028 14.4477 10.6567 14.4538C10.4105 14.4599 10.1771 14.3447 10.0321 14.1457ZM10.6243 12.6685C9.97106 12.2369 9.15553 12.1593 8.46818 12.3837C6.68265 12.9553 6.2067 14.9685 6.66264 16.4014L6.66263 16.4014L6.66382 16.4051C7.03635 17.5553 7.8316 18.3921 8.58051 18.9336C8.95803 19.2065 9.33802 19.4151 9.67406 19.5587C9.98712 19.6924 10.3322 19.8001 10.6243 19.8055L10.6243 19.8057H10.6382C10.9374 19.8057 11.2891 19.6944 11.5996 19.5615C11.9364 19.4173 12.3175 19.2071 12.6955 18.9328C13.4442 18.3896 14.2418 17.549 14.6033 16.4001C15.0588 14.9665 14.5818 12.9529 12.7944 12.3828L12.7929 12.3823C12.1423 12.1763 11.292 12.2176 10.6243 12.6685Z',
+ viewBox: '0 0 26 26',
ratio: 1,
},
// for bchat use only
opengroup: {
path:
- 'M15.527,3a5.8,5.8,0,0,0-3.548,10.4,9.573,9.573,0,0,0-2.282,1.3c0-.023.008-.038.008-.061a3.882,3.882,0,1,0-6.672,2.684A5.813,5.813,0,0,0,0,22.409H1.941a3.87,3.87,0,0,1,3.882-3.882,3.735,3.735,0,0,1,.781.083,9.612,9.612,0,0,0-.781,3.8H7.763a7.763,7.763,0,0,1,15.527,0h1.941a9.6,9.6,0,0,0-.781-3.791,3.831,3.831,0,0,1,4.663,3.791h1.941a5.813,5.813,0,0,0-3.033-5.08,3.877,3.877,0,1,0-6.672-2.684c0,.023.008.038.008.061a9.574,9.574,0,0,0-2.282-1.3A5.8,5.8,0,0,0,15.527,3Zm0,1.941a3.882,3.882,0,1,1-3.882,3.882A3.87,3.87,0,0,1,15.527,4.941ZM5.823,12.7a1.941,1.941,0,1,1-1.941,1.941A1.925,1.925,0,0,1,5.823,12.7Zm19.409,0a1.941,1.941,0,1,1-1.941,1.941A1.925,1.925,0,0,1,25.231,12.7Z',
- viewBox: '0 0 31.054 19.409',
+ 'M20.4501 9.06474C20.3689 9.05308 20.2864 9.05308 20.2051 9.06474C19.319 9.03264 18.4809 8.65394 17.8712 8.01015C17.2615 7.36636 16.9288 6.50893 16.9449 5.62237C16.9609 4.73581 17.3244 3.89098 17.957 3.26969C18.5897 2.64839 19.4409 2.30029 20.3276 2.30029C21.2143 2.30029 22.0656 2.64839 22.6982 3.26969C23.3309 3.89098 23.6943 4.73581 23.7104 5.62237C23.7265 6.50893 23.3938 7.36636 22.7841 8.01015C22.1744 8.65394 21.3363 9.03264 20.4501 9.06474ZM24.2545 17.1496C22.8085 18.0308 21.0996 18.3775 19.4245 18.1296C19.8744 17.1443 20.1091 16.0744 20.1129 14.9913C20.1218 13.8666 19.8661 12.7555 19.3662 11.748C21.055 11.4881 22.7814 11.8309 24.2428 12.7163C24.6569 12.9194 25.0059 13.2343 25.2504 13.6254C25.4949 14.0164 25.6251 14.4681 25.6263 14.9293C25.6275 15.3905 25.4997 15.8429 25.2573 16.2353C25.0149 16.6276 24.6675 16.9443 24.2545 17.1496ZM7.51382 9.06391C7.59507 9.05225 7.67757 9.05225 7.75882 9.06391C8.64029 9.03181 9.47394 8.65496 10.0804 8.01445C10.6868 7.37394 11.0176 6.52096 11.0016 5.63905C10.9855 4.75713 10.6239 3.91675 9.99454 3.29874C9.36518 2.68073 8.51837 2.33447 7.63632 2.33447C6.75426 2.33447 5.90745 2.68073 5.27809 3.29874C4.64873 3.91675 4.28712 4.75713 4.27107 5.63905C4.25501 6.52096 4.5858 7.37394 5.19225 8.01445C5.7987 8.65496 6.63234 9.03181 7.51382 9.06391ZM7.63991 14.9915C7.63798 16.0865 7.87278 17.169 8.32824 18.1648C6.71925 18.3592 5.09169 18.0058 3.70827 17.1615C3.29343 16.9569 2.94413 16.6404 2.69988 16.2476C2.45562 15.8548 2.32617 15.4015 2.32617 14.939C2.32617 14.4765 2.45562 14.0232 2.69988 13.6304C2.94413 13.2376 3.29343 12.921 3.70827 12.7165C5.10484 11.8625 6.75175 11.5125 8.3749 11.7248C7.88413 12.7435 7.63273 13.8608 7.63991 14.9915ZM14.1415 18.5164C14.0407 18.5047 13.9389 18.5047 13.8381 18.5164C12.7845 18.4767 11.7886 18.0251 11.0644 17.2588C10.3403 16.4924 9.94569 15.4726 9.96556 14.4184C9.98543 13.3642 10.4181 12.3599 11.1707 11.6214C11.9232 10.883 12.9355 10.4692 13.9898 10.4692C15.0442 10.4692 16.0564 10.883 16.809 11.6214C17.5615 12.3599 17.9942 13.3642 18.0141 14.4184C18.0339 15.4726 17.6394 16.4924 16.9152 17.2588C16.191 18.0251 15.1951 18.4767 14.1415 18.5164ZM10.3465 20.9295C9.94939 21.1287 9.61554 21.4345 9.38224 21.8125C9.14894 22.1906 9.02539 22.6261 9.02539 23.0703C9.02539 23.5146 9.14894 23.9501 9.38224 24.3282C9.61554 24.7062 9.94939 25.012 10.3465 25.2112C11.4507 25.8697 12.7124 26.2174 13.9981 26.2174C15.2838 26.2174 16.5455 25.8697 17.6497 25.2112C18.0468 25.012 18.3807 24.7062 18.614 24.3282C18.8473 23.9501 18.9708 23.5146 18.9708 23.0703C18.9708 22.6261 18.8473 22.1906 18.614 21.8125C18.3807 21.4345 18.0468 21.1287 17.6497 20.9295C16.5455 20.271 15.2838 19.9233 13.9981 19.9233C12.7124 19.9233 11.4507 20.271 10.3465 20.9295Z',
+
+ viewBox: '0 0 28 28',
+ ratio: 1,
+ },
+ oppositeDirDoubleArrow: {
+ path:
+ 'M15.3097 2.2287C15.6026 1.93581 16.0775 1.93581 16.3704 2.2287L19.7804 5.6387C19.921 5.77936 20.0001 5.97012 20.0001 6.16903C20.0001 6.36795 19.921 6.55871 19.7804 6.69936L16.3704 10.1094C16.0775 10.4023 15.6026 10.4023 15.3097 10.1094C15.0168 9.81647 15.0168 9.3416 15.3097 9.0487L17.4394 6.91908L2.75002 6.91944C2.33581 6.91945 2.00001 6.58368 2 6.16946C1.99999 5.75525 2.33577 5.41945 2.74998 5.41944L17.4394 5.41908L15.3097 3.28936C15.0168 2.99647 15.0168 2.5216 15.3097 2.2287ZM6.69033 11.8906C6.98322 12.1835 6.98322 12.6584 6.69033 12.9513L4.56072 15.0809L19.25 15.0804C19.6642 15.0804 20 15.4162 20 15.8304C20 16.2446 19.6642 16.5804 19.25 16.5804L4.5606 16.5809L6.69033 18.7106C6.98322 19.0035 6.98322 19.4784 6.69033 19.7713C6.39744 20.0642 5.92256 20.0642 5.62967 19.7713L2.21967 16.3613C1.92678 16.0684 1.92678 15.5935 2.21967 15.3006L5.62967 11.8906C5.92256 11.5977 6.39744 11.5977 6.69033 11.8906Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ newChat: {
+ path:
+ 'M15.388 7.00027H7.92134C7.62899 6.99773 7.33676 7.01332 7.04634 7.04693C3.90801 7.31527 2.33301 9.17027 2.33301 12.5886V17.2553C2.33301 21.9219 4.19967 22.8436 7.92134 22.8436H8.38801C8.53103 22.8531 8.67074 22.891 8.79895 22.9551C8.92715 23.0192 9.04129 23.1082 9.13467 23.2169L10.5347 25.0836C10.6534 25.2736 10.8185 25.4302 11.0144 25.5388C11.2103 25.6475 11.4307 25.7044 11.6547 25.7044C11.8787 25.7044 12.099 25.6475 12.295 25.5388C12.4909 25.4302 12.656 25.2736 12.7747 25.0836L14.1747 23.2169C14.2619 23.1014 14.3747 23.0075 14.5042 22.9427C14.6338 22.878 14.7765 22.8441 14.9213 22.8436H15.388C18.8063 22.8436 20.6613 21.2803 20.9297 18.1303C20.9633 17.8398 20.9789 17.5476 20.9763 17.2553V12.5886C20.9763 8.86304 19.1136 7.00027 15.388 7.00027ZM7.58301 16.3336C7.35226 16.3336 7.1267 16.2652 6.93484 16.137C6.74298 16.0088 6.59345 15.8266 6.50515 15.6134C6.41685 15.4002 6.39374 15.1656 6.43876 14.9393C6.48377 14.713 6.59489 14.5051 6.75805 14.342C6.92121 14.1788 7.12909 14.0677 7.3554 14.0227C7.58171 13.9777 7.81629 14.0008 8.02947 14.0891C8.24265 14.1774 8.42486 14.3269 8.55305 14.5188C8.68125 14.7106 8.74967 14.9362 8.74967 15.1669C8.74967 15.4764 8.62676 15.7731 8.40796 15.9919C8.18917 16.2107 7.89243 16.3336 7.58301 16.3336ZM11.6547 16.3336C11.4239 16.3336 11.1984 16.2652 11.0065 16.137C10.8147 16.0088 10.6651 15.8266 10.5768 15.6134C10.4885 15.4002 10.4654 15.1656 10.5104 14.9393C10.5554 14.713 10.6666 14.5051 10.8297 14.342C10.9929 14.1788 11.2008 14.0677 11.4271 14.0227C11.6534 13.9777 11.888 14.0008 12.1011 14.0891C12.3143 14.1774 12.4965 14.3269 12.6247 14.5188C12.7529 14.7106 12.8213 14.9362 12.8213 15.1669C12.8213 15.4764 12.6984 15.7731 12.4796 15.9919C12.2608 16.2107 11.9641 16.3336 11.6547 16.3336ZM15.738 16.3336C15.5073 16.3336 15.2817 16.2652 15.0898 16.137C14.898 16.0088 14.7484 15.8266 14.6601 15.6134C14.5718 15.4002 14.5487 15.1656 14.5938 14.9393C14.6388 14.713 14.7499 14.5051 14.913 14.342C15.0762 14.1788 15.2841 14.0677 15.5104 14.0227C15.7367 13.9777 15.9713 14.0008 16.1845 14.0891C16.3977 14.1774 16.5799 14.3269 16.7081 14.5188C16.8362 14.7106 16.9047 14.9362 16.9047 15.1669C16.9047 15.4764 16.7818 15.7731 16.563 15.9919C16.3442 16.2107 16.0474 16.3336 15.738 16.3336ZM25.6459 7.92281V12.5895C25.6459 14.9228 24.9226 16.5095 23.4759 17.3845C23.3958 17.429 23.3051 17.4512 23.2134 17.4487C23.1218 17.4461 23.0325 17.419 22.9549 17.3701C22.8774 17.3212 22.8144 17.2523 22.7727 17.1706C22.7309 17.089 22.7119 16.9977 22.7176 16.9061L22.7292 12.5895C22.7292 7.92281 20.0576 5.25114 15.3909 5.25114L8.28589 5.26281C8.19437 5.2685 8.10301 5.24946 8.02139 5.20769C7.93976 5.16593 7.87088 5.10296 7.82196 5.02541C7.77304 4.94786 7.74589 4.85857 7.74336 4.76692C7.74082 4.67526 7.763 4.58461 7.80756 4.50447C8.68256 3.05781 10.2692 2.33447 12.5909 2.33447H20.0576C23.7792 2.33447 25.642 4.19725 25.6459 7.92281Z',
+
+ viewBox: '0 0 28 28',
ratio: 1,
},
closedgroup: {
path:
- 'M33.23,16.76v-.35c0-1.17-.94-2.12-2.11-2.12h-.01c-1.17,0-2.12,.94-2.12,2.11h0v.36c-.39,0-.71,.32-.71,.71v3.53c0,.39,.32,.71,.71,.71h4.24c.39,0,.71-.32,.71-.71v-3.53c0-.39-.32-.71-.71-.71Zm-.71-.35v.35h-2.83v-.35c-.02-.76,.59-1.4,1.35-1.41,.02,0,.04,0,.06,0,.76-.02,1.4,.59,1.41,1.35,0,.02,0,.04,0,.06Zm-1.41-7.12c-1.76,0-3.41,.53-4.78,1.44l-1.27-.52c-.29-.1-.59-.16-.88-.22,1.98-.79,3.38-2.64,3.38-4.79C27.55,2.38,25.17,.1,22.21,0c-.06,0-.11,0-.17,0h0C19.2,0,16.87,2,16.55,4.59c-.03,.2-.04,.4-.04,.61,0,.18,0,.36,.03,.53,.22,2.07,1.74,3.78,3.77,4.41-.04,.01-.07,.01-.11,.03-1.77,.5-3.35,1.55-4.5,2.99-1.12-1.4-2.64-2.43-4.35-2.95-.49-.1-.98-.17-1.47-.21,1.99-.79,3.39-2.64,3.39-4.79C13.26,2.33,10.79,0,7.74,0h0s-.09,0-.13,0C4.85,.07,2.59,2.03,2.26,4.56c-.03,.21-.05,.42-.05,.64,0,.18,0,.36,.03,.53,.23,2.18,1.9,3.95,4.09,4.49C2.6,11.32,.01,14.74,0,18.65H1.96c-.01-3.78,3.04-6.86,6.82-6.87,2.53,0,4.86,1.38,6.06,3.61l.86,1.59,.86-1.59c1.19-2.21,3.5-3.6,6.01-3.61l2.04,.45c-1.37,1.54-2.2,3.56-2.2,5.77,0,4.8,3.9,8.7,8.7,8.7,4.8,0,8.71-3.9,8.71-8.7,0-4.8-3.9-8.71-8.7-8.71Zm-23.39-1.1c-1.94,0-3.52-1.43-3.52-3.2s1.58-3.2,3.52-3.2,3.52,1.43,3.52,3.2-1.58,3.2-3.52,3.2Zm14.29,0c-1.94,0-3.52-1.43-3.52-3.2s1.58-3.2,3.52-3.2,3.52,1.43,3.52,3.2-1.58,3.2-3.52,3.2Zm9.09,16.51c-3.7,0-6.7-3.01-6.7-6.7s3.01-6.71,6.71-6.71c3.7,0,6.7,3.01,6.7,6.71,0,3.7-3.01,6.7-6.71,6.7Z',
- viewBox: '0 0 39.81 26.7',
+ 'M10.4989 2.33342C9.04589 2.33855 7.65316 2.91461 6.62107 3.93734C5.58898 4.96006 5.00026 6.3475 4.98189 7.80038C4.96352 9.25326 5.51697 10.6551 6.52287 11.7036C7.52876 12.7521 8.90649 13.3632 10.3589 13.4051C10.444 13.3934 10.5304 13.3934 10.6155 13.4051H10.6972C12.1555 13.3643 13.5388 12.7497 14.5465 11.6947C15.5541 10.6398 16.1047 9.22973 16.0786 7.77108C16.0524 6.31243 15.4517 4.92303 14.4069 3.90484C13.3621 2.88664 11.9577 2.32193 10.4989 2.33342ZM16.428 16.5081C14.6367 15.4429 12.5913 14.8806 10.5072 14.8806C8.42313 14.8806 6.37766 15.4429 4.5864 16.5081C3.9184 16.8935 3.35789 17.4405 2.95632 18.0989C2.55475 18.7574 2.32497 19.5061 2.28809 20.2764C2.32411 21.0425 2.55247 21.7871 2.95211 22.4416C3.35174 23.0961 3.90978 23.6394 4.57474 24.0214C6.34858 25.1337 8.40798 25.7054 10.5014 25.6664C12.5947 25.7054 14.6541 25.1337 16.428 24.0214C17.0939 23.6348 17.6523 23.0872 18.0518 22.4288C18.4513 21.7704 18.6792 21.0224 18.7146 20.2531C18.6762 19.4877 18.4468 18.744 18.0474 18.0899C17.648 17.4358 17.0913 16.892 16.428 16.5081ZM23.3228 8.56532C23.419 9.64462 23.0918 10.719 22.4104 11.5615C21.729 12.404 20.7467 12.9486 19.6712 13.0803H19.6129C19.5459 13.0758 19.4786 13.0837 19.4145 13.1036C18.3429 13.1714 17.2862 12.8247 16.4629 12.1353C17.0781 11.5824 17.5564 10.8941 17.8601 10.1248C18.1638 9.35542 18.2846 8.52601 18.2129 7.70198C18.1328 6.792 17.8237 5.91707 17.3146 5.15865C17.9258 4.86066 18.6004 4.71599 19.2801 4.73713C19.9598 4.75828 20.6241 4.9446 21.2157 5.28C21.8072 5.61541 22.3082 6.0898 22.6753 6.6622C23.0425 7.2346 23.2647 7.88778 23.3228 8.56532ZM25.6555 19.3547C25.5799 19.9515 25.3539 20.5193 24.9989 21.005C24.6438 21.4906 24.1713 21.8782 23.6255 22.1314C22.362 22.7831 20.9512 23.0966 19.5306 23.0414C20.3311 22.3523 20.8399 21.3848 20.9539 20.3347C20.9846 19.5669 20.8224 18.8037 20.482 18.1149C20.1416 17.426 19.634 16.8334 19.0056 16.3914C18.1952 15.7615 17.2893 15.2652 16.3223 14.9214C17.6438 14.5452 19.0333 14.4725 20.3868 14.7089C21.7404 14.9453 23.023 15.4845 24.1389 16.2864C24.6302 16.6281 25.0269 17.0888 25.2921 17.6253C25.5573 18.1618 25.6823 18.7568 25.6555 19.3547Z',
+ viewBox: '0 0 28 28',
+ ratio: 1,
+ },
+ clearData: {
+ path:
+ 'M7.66903 3.49901C7.31514 2.9154 6.53724 2.72488 5.94921 3.08145C5.3658 3.43523 5.17522 4.21271 5.53127 4.80065C5.53115 4.80045 5.5314 4.80086 5.53127 4.80065L6.68752 6.69808L8.82522 5.39634L7.66903 3.49901ZM5.40636 7.47824L4.24903 5.57902C3.46559 4.28704 3.87508 2.58494 5.17146 1.79884C6.46314 1.01559 8.16475 1.42467 8.9511 2.72036C8.95128 2.72066 8.95146 2.72095 8.95164 2.72125L10.1064 4.61619L10.3669 4.45754C10.5368 4.35408 10.7408 4.32236 10.9341 4.36933C11.1274 4.41631 11.2941 4.53815 11.3976 4.70804L13.3137 7.85471C14.9969 7.64187 16.6845 8.36475 17.7131 9.75337L20.4846 13.4954C21.6318 15.055 21.2316 17.1894 19.5592 18.2011C19.559 18.2013 19.5595 18.201 19.5592 18.2011L18.9771 18.5551C18.9559 18.5713 18.9337 18.5866 18.9104 18.6008C18.8868 18.6151 18.8628 18.628 18.8384 18.6395L16.4334 20.1019C16.4074 20.123 16.3798 20.1425 16.3504 20.1603C16.3209 20.1783 16.2905 20.1941 16.2597 20.2075L13.8896 21.6487C13.859 21.675 13.8259 21.6991 13.7904 21.7208C13.7546 21.7426 13.7177 21.761 13.68 21.7762L13.1344 22.108C13.1336 22.1085 13.1328 22.1089 13.1321 22.1094C11.4725 23.1319 9.38008 22.5136 8.52707 20.77L6.47813 16.5922C6.47794 16.5918 6.47774 16.5914 6.47754 16.591C5.69608 15.0094 5.85767 13.1245 6.88216 11.7131L4.99181 8.60879C4.77637 8.25501 4.88853 7.79357 5.24231 7.57814L5.40636 7.47824ZM11.8067 8.26402L10.5065 6.12877L10.4178 6.1828C10.3716 6.23204 10.3187 6.27525 10.2601 6.31092L6.84006 8.39094C6.78338 8.42541 6.72395 8.45148 6.66321 8.46949L7.96328 10.6045L11.8067 8.26402ZM9.05041 11.7204C7.55522 12.6306 7.09839 14.4624 7.82275 15.9274L7.82382 15.9295L9.87382 20.1095C10.3407 21.0645 11.4468 21.3868 12.3465 20.8315L12.3508 20.8289L12.3643 20.8207L11.1097 18.7602C10.8943 18.4064 11.0065 17.9449 11.3603 17.7295C11.7141 17.5141 12.1755 17.6263 12.3909 17.9801L13.6459 20.0414L14.926 19.263L13.6698 17.1998C13.4544 16.846 13.5666 16.3845 13.9204 16.1691C14.2742 15.9537 14.7356 16.0659 14.951 16.4197L16.2076 18.4836L17.4872 17.7055L16.2297 15.6402C16.0143 15.2864 16.1265 14.825 16.4803 14.6095C16.8341 14.3941 17.2955 14.5063 17.5109 14.8601L18.7689 16.9262L18.7808 16.919L18.7824 16.918C19.689 16.3698 19.9088 15.2452 19.277 14.3851C19.2767 14.3848 19.2765 14.3845 19.2763 14.3842L16.5078 10.6462C16.5078 10.6462 16.5078 10.6462 16.5078 10.6462C15.5278 9.32329 13.7038 8.89141 12.2104 9.8004L9.05041 11.7204Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
pause: {
@@ -533,6 +817,12 @@ export const icons = {
viewBox: '0 0 277.338 277.338',
ratio: 1,
},
+ paste: {
+ path:
+ 'M7.10039 0.082688C7.12381 0.0827643 7.14634 0.0828377 7.16791 0.0828377H10.8346C10.8561 0.0828377 10.8787 0.0827643 10.9021 0.082688C11.3059 0.081372 11.9729 0.0791985 12.511 0.437967C13.0103 0.77085 13.2763 1.30352 13.3738 1.98987C14.681 2.13349 15.8245 2.51145 16.6536 3.40762C17.6126 4.44429 18 6.01196 18 8.16683V13.6668C18 15.5134 17.7822 17.144 16.7832 18.2857C15.7625 19.4522 14.1063 19.9168 11.75 19.9168H6.25C3.89366 19.9168 2.23747 19.4522 1.21682 18.2857C0.217846 17.144 0 15.5134 0 13.6668V8.16683C0 6.01604 0.387611 4.44895 1.34608 3.41144C2.1754 2.51374 3.31961 2.13373 4.6287 1.98972C4.72625 1.30344 4.99218 0.770826 5.49147 0.437967C6.02962 0.0791986 6.69656 0.081372 7.10039 0.082688ZM4.65403 3.49717C3.60254 3.63045 2.9112 3.92778 2.44788 4.4293C1.87781 5.04638 1.5 6.13762 1.5 8.16683V13.6668C1.5 15.4869 1.74049 16.6063 2.34568 17.298C2.9292 17.9648 4.023 18.4168 6.25 18.4168H11.75C13.977 18.4168 15.0708 17.9648 15.6543 17.298C16.2595 16.6063 16.5 15.4869 16.5 13.6668V8.16683C16.5 6.13253 16.122 5.04187 15.5525 4.42625C15.0935 3.93008 14.4104 3.63498 13.3735 3.50049C13.3286 3.78122 13.2395 4.07754 13.0628 4.34261C12.6274 4.99567 11.8503 5.2495 10.8346 5.2495H7.16791C7.14634 5.2495 7.12381 5.24958 7.10039 5.24965C6.69656 5.25097 6.02962 5.25314 5.49147 4.89437C5.03032 4.58694 4.76823 4.1091 4.65403 3.49717ZM11.9179 2.64294C11.9178 2.64352 11.9178 2.6441 11.9178 2.64468C11.9163 2.67256 11.9163 2.70017 11.9178 2.72742C11.9159 3.20538 11.8903 3.39715 11.8147 3.51056C11.7917 3.545 11.6522 3.7495 10.8346 3.7495H7.16791C6.64481 3.7495 6.44166 3.72506 6.32352 3.6463C6.28908 3.62334 6.08458 3.48379 6.08458 2.66617C6.08458 1.84855 6.28908 1.709 6.32352 1.68604C6.44166 1.60728 6.64481 1.58284 7.16791 1.58284H10.8346C11.3577 1.58284 11.5608 1.60728 11.679 1.68604C11.7131 1.70878 11.914 1.8459 11.9179 2.64294Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
loading: {
path:
'M5.5 0H6.5V1H5.5V0ZM5.5 11H6.5V12H5.5V11ZM0 5.5H1V6.5H0V5.5ZM11 5.5H12V6.5H11V5.5ZM10.9462 2.56699L11.4462 3.43301L10.5801 3.93301L10.0801 3.06699L10.9462 2.56699ZM1.41987 8.06699L1.91987 8.93301L1.05385 9.43301L0.553848 8.56699L1.41987 8.06699ZM3.43301 0.553848L3.93301 1.41987L3.06699 1.91987L2.56699 1.05385L3.43301 0.553848ZM8.56699 0.553848L9.43301 1.05385L8.93301 1.91987L8.06699 1.41987L8.56699 0.553848ZM3.06699 10.0801L3.93301 10.5801L3.43301 11.4462L2.56699 10.9462L3.06699 10.0801ZM1.05385 2.56699L1.91987 3.06699L1.41987 3.93301L0.553848 3.43301L1.05385 2.56699ZM10.5801 8.06699L11.4462 8.56699L10.9462 9.43301L10.0801 8.93301L10.5801 8.06699Z',
@@ -541,20 +831,27 @@ export const icons = {
},
paySend: {
path:
- 'M22.05,.53c-.41-.4-.99-.59-1.56-.52H7.37c-1.04,0-1.89,.84-1.9,1.88,0,1.04,.84,1.89,1.88,1.9,0,0,.01,0,.02,0h8.79L.55,19.36c-.74,.74-.74,1.93,0,2.67s1.93,.74,2.67,0h0L18.83,6.46V15.25c0,1.04,.84,1.89,1.88,1.9s1.89-.84,1.9-1.88c0,0,0-.01,0-.02V2.13c.08-.59-.13-1.18-.55-1.6Z',
- viewBox: '0 0 22.62 22.58',
+ 'M19.9854 4.92619C19.472 4.41203 18.3566 4.09303 16.447 4.72954C15.9231 4.90419 15.3568 4.62103 15.1821 4.09709C15.0075 3.57314 15.2906 3.00682 15.8146 2.83218C18.0325 2.09286 20.1022 2.21261 21.4006 3.51303C22.6978 4.81218 22.8185 6.88275 22.0852 9.09984L19.0188 18.2991C19.0188 18.2993 19.0189 18.2989 19.0188 18.2991C18.4829 19.9096 17.8368 21.1962 17.0908 22.0996C16.3475 22.9998 15.4117 23.6227 14.3217 23.6227C13.2316 23.6227 12.2958 22.9998 11.5525 22.0996C10.8065 21.1962 10.1606 19.91 9.62464 18.2996C9.62458 18.2994 9.62469 18.2998 9.62464 18.2996L8.87275 16.0439L6.61759 15.2922C6.61742 15.2922 6.61776 15.2923 6.61759 15.2922C5.00742 14.7564 3.72087 14.111 2.81757 13.3661C1.91748 12.6239 1.29395 11.6891 1.29395 10.5991C1.29395 9.50943 1.91716 8.57411 2.81676 7.83068C3.71983 7.08438 5.00577 6.437 6.6161 5.89834L11.601 4.2403C12.1251 4.066 12.6912 4.34953 12.8655 4.87358C13.0398 5.39764 12.7563 5.96378 12.2323 6.13808L7.25054 7.79504C7.25026 7.79514 7.25083 7.79495 7.25054 7.79504C5.76841 8.2909 4.73408 8.84077 4.09081 9.37237C3.44396 9.90693 3.29395 10.3305 3.29395 10.5991C3.29395 10.8673 3.44364 11.2901 4.09001 11.8231C4.73307 12.3534 5.76654 12.9012 7.24905 13.3945L9.19814 14.0442L13.0394 10.1922C13.4294 9.80117 14.0625 9.80028 14.4536 10.1903C14.8447 10.5802 14.8455 11.2134 14.4556 11.6045L10.7423 15.3281L11.522 17.6671C12.0152 19.1493 12.5637 20.1832 13.0947 20.8262C13.6283 21.4724 14.0522 21.6227 14.3217 21.6227C14.5911 21.6227 15.015 21.4724 15.5486 20.8262C16.0796 20.1832 16.6279 19.1498 17.1211 17.6676L20.1864 8.47187C20.1863 8.47213 20.1865 8.47162 20.1864 8.47187C20.8178 6.56194 20.5 5.44156 19.9854 4.92619Z',
+ viewBox: '0 0 26 26',
ratio: 1,
},
payRecieved: {
path:
- 'M.57,22.04c.41,.4,.99,.59,1.56,.52H15.25c1.04,0,1.89-.84,1.9-1.88,0-1.04-.84-1.89-1.88-1.9,0,0-.01,0-.02,0H6.46L22.07,3.22c.74-.74,.74-1.93,0-2.67s-1.93-.74-2.67,0h0L3.79,16.12V7.32c0-1.04-.84-1.89-1.88-1.9S.02,6.26,.02,7.31c0,0,0,.01,0,.02v13.12c-.08,.59,.13,1.18,.55,1.6Z',
- viewBox: '0 0 22.62 22.58',
+ 'M10.4518 5.17377C9.92085 5.81676 9.3725 6.85008 8.87929 8.3323L5.81404 17.5281C5.81392 17.5284 5.81379 17.5288 5.81366 17.5292C5.18238 19.4389 5.50049 20.5584 6.01506 21.0737C6.52845 21.5879 7.64384 21.9069 9.55338 21.2704C10.0773 21.0957 10.6436 21.3789 10.8183 21.9028C10.9929 22.4268 10.7098 22.9931 10.1858 23.1678C7.96789 23.9071 5.89827 23.7873 4.59979 22.4869C3.30258 21.1878 3.18197 19.1172 3.91518 16.9001L3.91593 16.8978L6.9816 7.70084C6.98154 7.70101 6.98165 7.70068 6.9816 7.70084C7.51752 6.09038 8.16366 4.80368 8.90961 3.90032C9.65294 3.00013 10.5887 2.3772 11.6788 2.3772C12.7689 2.3772 13.7046 3.00013 14.4479 3.90032C15.1939 4.80368 15.8399 6.08988 16.3758 7.70034C16.3757 7.70018 16.3759 7.70051 16.3758 7.70034L17.1277 9.956L19.3828 10.7077C19.3827 10.7077 19.383 10.7078 19.3828 10.7077C20.993 11.2435 22.2796 11.8889 23.1829 12.6338C24.0829 13.3761 24.7065 14.3109 24.7065 15.4008C24.7065 16.4905 24.0833 17.4258 23.1837 18.1692C22.2806 18.9155 20.9947 19.5629 19.3843 20.1016L19.3827 20.1021L14.3994 21.7596C13.8753 21.9339 13.3092 21.6504 13.1349 21.1263C12.9606 20.6023 13.2441 20.0362 13.7682 19.8618L18.7499 18.2049C18.7496 18.205 18.7501 18.2048 18.7499 18.2049C20.2321 17.709 21.2663 17.1592 21.9096 16.6276C22.5565 16.093 22.7065 15.6694 22.7065 15.4008C22.7065 15.1326 22.5568 14.7098 21.9104 14.1768C21.2674 13.6465 20.2339 13.0987 18.7514 12.6054L16.8023 11.9557L12.961 15.8077C12.5711 16.1988 11.9379 16.1996 11.5468 15.8097C11.1558 15.4197 11.1549 14.7865 11.5449 14.3955L15.2581 10.6718L14.4784 8.3328C13.9852 6.85058 13.4367 5.81676 12.9058 5.17377C12.3721 4.52749 11.9483 4.3772 11.6788 4.3772C11.4093 4.3772 10.9855 4.52749 10.4518 5.17377Z',
+
+ viewBox: '0 0 26 26',
ratio: 1,
},
bnsTransaction: {
path:
- 'M12.11 0C6.94 0 2.42 2.82 0 7H3.42C4.68 5.44 6.32 4.21 8.24 3.5C7.8 4.52 7.45 5.71 7.18 7H10.06C10.73 4.23 11.67 2.8 12.11 2.8C12.55 2.8 13.49 4.23 14.16 7H17.04C16.77 5.71 16.42 4.52 15.98 3.5C17.89 4.21 19.54 5.44 20.8 7H24.22C21.79 2.82 17.27 0 12.11 0ZM0 21C2.42 25.18 6.94 28 12.11 28C17.28 28 21.79 25.18 24.22 21H20.8C19.54 22.56 17.9 23.79 15.98 24.5C16.42 23.48 16.77 22.29 17.04 21H14.16C13.49 23.77 12.55 25.2 12.11 25.2C11.67 25.2 10.74 23.77 10.06 21H7.18C7.45 22.29 7.8 23.48 8.24 24.5C6.33 23.79 4.68 22.56 3.42 21H0ZM5.11 15.62C5.11 14.95 4.56 14.55 3.68 14.55H1.9V16.65H3.71C4.58 16.65 5.1 16.28 5.1 15.62H5.11ZM4.89 12.36C4.89 11.73 4.4 11.38 3.55 11.38H1.9V13.34H3.55C4.4 13.34 4.89 13 4.89 12.37V12.36ZM6.93 15.81C6.93 17.05 5.84 17.92 3.97 17.92H0.11V10.11H3.81C5.69 10.11 6.73 10.96 6.73 12.12C6.73 13.07 6.07 13.66 5.2 13.91C6.22 14.07 6.94 14.88 6.94 15.8L6.93 15.81ZM14.25 10.1H16.05V17.92H14.25L10.17 12.56V17.92H8.37V10.1H10.17L14.25 15.47V10.1ZM24.11 15.66C24.11 16.89 22.98 18 20.93 18C19.07 18 17.62 17.15 17.6 15.67H19.53C19.58 16.3 20.06 16.71 20.89 16.71C21.72 16.71 22.24 16.32 22.24 15.76C22.24 14.07 17.61 15.09 17.62 12.26C17.62 10.85 18.93 10 20.78 10C22.63 10 23.88 10.82 24 12.23H22.02C21.98 11.72 21.51 11.31 20.73 11.3C20.02 11.28 19.5 11.58 19.5 12.22C19.5 13.79 24.1 12.91 24.1 15.67L24.11 15.66Z"',
- viewBox: '0 0 25 28',
+ 'M2 7C4.20356 3.41914 8.30299 1 13 1C17.697 1 21.7964 3.41914 24 7H20.8941C19.749 5.66563 18.2536 4.60937 16.5159 4.00234C16.9127 4.87578 17.2332 5.89609 17.4775 7H14.8611C14.2519 4.62773 13.3984 3.4 13 3.4C12.6016 3.4 11.7481 4.62773 11.1389 7H8.52248C8.76681 5.89609 9.08569 4.87578 9.48408 4.00234C7.74516 4.60937 6.251 5.66563 5.10594 7H2ZM13 25C8.30299 25 4.20356 22.5809 2 19H5.10594C6.251 20.3344 7.7464 21.3906 9.48408 21.9977C9.08734 21.1242 8.76681 20.1039 8.52248 19H11.1389C11.7481 21.3723 12.5991 22.6 12.9975 22.6C13.3959 22.6 14.2494 21.3723 14.8586 19H17.475C17.2307 20.1039 16.9127 21.1242 16.5159 21.9977C18.2548 21.3906 19.749 20.3344 20.8941 19H24C21.7964 22.5809 17.697 25 13 25ZM21.0177 16.4286C22.8761 16.4286 23.9046 15.4792 23.9046 14.4242C23.9046 13.0795 22.5452 12.7442 21.376 12.456C20.494 12.2385 19.7203 12.0477 19.7203 11.4704C19.7203 10.9237 20.1995 10.6648 20.8424 10.684C21.5436 10.6935 21.9761 11.0388 22.0112 11.48H23.8111C23.7059 10.2716 22.5605 9.57147 20.8891 9.57147C19.206 9.57147 18.0139 10.3003 18.0139 11.5087C18.0073 12.8779 19.3443 13.1966 20.5106 13.4746C21.4111 13.6892 22.2099 13.8796 22.2099 14.5105C22.2099 14.99 21.754 15.3257 20.9826 15.3257C20.2229 15.3257 19.7904 14.9709 19.7437 14.4338H17.9905C18.0139 15.6997 19.3229 16.4286 21.0177 16.4286ZM14.9475 9.65778H16.5838V16.3615H14.9475L11.2424 11.7677V16.3615H9.60607V9.65778H11.2424L14.9475 14.2612V9.65778ZM6.64225 14.3859C6.64225 13.8104 6.13966 13.4652 5.34487 13.4652H3.73193V15.2682H5.37994C6.17472 15.2682 6.64225 14.9517 6.64225 14.3859ZM6.44355 11.595C6.44355 11.058 5.99941 10.7511 5.228 10.7511H3.73193V12.4294H5.228C5.99941 12.4294 6.44355 12.1417 6.44355 11.595ZM8.30194 14.5489C8.30194 15.6134 7.30846 16.3615 5.6137 16.3615H2.09561V9.66737H5.46176C7.16821 9.66737 8.11494 10.3962 8.11494 11.3936C8.11494 12.2088 7.51885 12.7171 6.72406 12.9281C7.64742 13.0624 8.30194 13.7625 8.30194 14.5489Z',
+ viewBox: '0 0 26 26',
+ ratio: 1,
+ },
+ peopleGrp: {
+ path:
+ 'M16.4489 0C13.9962 0 11.9933 2.0029 11.9933 4.45565C11.9933 6.90839 13.9962 8.91129 16.4489 8.91129C18.9017 8.91129 20.9046 6.90839 20.9046 4.45565C20.9046 2.0029 18.9017 0 16.4489 0ZM16.4489 1.37097C18.1605 1.37097 19.5336 2.74408 19.5336 4.45565C19.5336 6.16721 18.1605 7.54032 16.4489 7.54032C14.7373 7.54032 13.3642 6.16721 13.3642 4.45565C13.3642 2.74408 14.7373 1.37097 16.4489 1.37097ZM6.85213 3.42742C5.76678 3.42742 4.86566 3.85906 4.283 4.51455C3.70034 5.17005 3.42471 6.01691 3.42471 6.85484C3.42471 7.69277 3.70034 8.53963 4.283 9.19512C4.86566 9.85062 5.76678 10.2823 6.85213 10.2823C7.93748 10.2823 8.83861 9.85062 9.42127 9.19512C10.0039 8.53963 10.2796 7.69277 10.2796 6.85484C10.2796 6.01691 10.0039 5.17005 9.42127 4.51455C8.83861 3.85906 7.93748 3.42742 6.85213 3.42742ZM26.0457 3.42742C24.9603 3.42742 24.0592 3.85906 23.4765 4.51455C22.8939 5.17005 22.6183 6.01691 22.6183 6.85484C22.6183 7.69277 22.8939 8.53963 23.4765 9.19512C24.0592 9.85062 24.9603 10.2823 26.0457 10.2823C27.131 10.2823 28.0322 9.85062 28.6148 9.19512C29.1975 8.53963 29.4731 7.69277 29.4731 6.85484C29.4731 6.01691 29.1975 5.17005 28.6148 4.51455C28.0322 3.85906 27.131 3.42742 26.0457 3.42742ZM6.85213 4.79839C7.59474 4.79839 8.06458 5.05223 8.3959 5.42496C8.72722 5.79769 8.90858 6.3218 8.90858 6.85484C8.90858 7.38787 8.72722 7.91198 8.3959 8.28472C8.06458 8.65745 7.59474 8.91129 6.85213 8.91129C6.10953 8.91129 5.63968 8.65745 5.30837 8.28472C4.97705 7.91198 4.79568 7.38787 4.79568 6.85484C4.79568 6.3218 4.97705 5.79769 5.30837 5.42496C5.63968 5.05223 6.10953 4.79839 6.85213 4.79839ZM26.0457 4.79839C26.7883 4.79839 27.2581 5.05223 27.5894 5.42496C27.9208 5.79769 28.1021 6.3218 28.1021 6.85484C28.1021 7.38787 27.9208 7.91198 27.5894 8.28472C27.2581 8.65745 26.7883 8.91129 26.0457 8.91129C25.3031 8.91129 24.8332 8.65745 24.5019 8.28472C24.1706 7.91198 23.9892 7.38787 23.9892 6.85484C23.9892 6.3218 24.1706 5.79769 24.5019 5.42496C24.8332 5.05223 25.3031 4.79839 26.0457 4.79839ZM16.4489 10.9677C14.3814 10.9677 12.4445 11.7139 10.9368 12.9853C9.78151 12.1416 8.36055 11.6532 6.85213 11.6532C3.89456 11.6532 1.26116 13.5233 0.338609 16.2949L0.109757 16.9804C-0.360799 18.3956 0.74383 19.879 2.23726 19.879H5.48117C5.72823 19.8826 5.95815 19.7526 6.08311 19.5391C6.20771 19.3256 6.20771 19.0615 6.08311 18.8479C5.95815 18.6345 5.72823 18.5045 5.48117 18.5081H2.23726C1.61925 18.5081 1.22652 17.9693 1.41111 17.4141L1.63853 16.7276C2.37257 14.5223 4.47115 13.0242 6.85213 13.0242C7.98818 13.0242 9.05746 13.3701 9.94752 13.9667C9.2349 14.8004 8.67545 15.7783 8.32093 16.8654L8.02888 17.7569C7.473 19.4613 8.77077 21.25 10.5634 21.25H22.3344C24.127 21.25 25.4245 19.4613 24.8675 17.7569L24.5769 16.8654C24.2224 15.7783 23.6629 14.8004 22.9503 13.9667C23.8404 13.3701 24.9096 13.0242 26.0457 13.0242C28.4267 13.0242 30.5252 14.5223 31.2593 16.7276L31.4867 17.4141C31.6713 17.9693 31.2786 18.5081 30.6606 18.5081H27.4166C27.1696 18.5045 26.9397 18.6345 26.8147 18.8479C26.6901 19.0615 26.6901 19.3256 26.8147 19.5391C26.9397 19.7526 27.1696 19.8826 27.4166 19.879H30.6606C32.154 19.879 33.2586 18.3956 32.7881 16.9804L32.5592 16.2949C31.6367 13.5233 29.0033 11.6532 26.0457 11.6532C24.5373 11.6532 23.1163 12.1416 21.961 12.9853C20.4533 11.7139 18.5164 10.9677 16.4489 10.9677ZM16.4489 12.3387C19.5582 12.3387 22.3091 14.3352 23.273 17.291L23.5647 18.1828C23.8443 19.0382 23.2345 19.879 22.3344 19.879H10.5634C9.66333 19.879 9.05389 19.0382 9.33309 18.1828L9.6237 17.291C10.588 14.3352 13.3396 12.3387 16.4489 12.3387Z',
+ viewBox: '0 0 33 22',
ratio: 1,
},
payTransaction: {
@@ -565,20 +862,33 @@ export const icons = {
},
pencil: {
path:
- 'M21.639,11.693l1.206-1.206A3.214,3.214,0,0,0,18.3,5.943L17.094,7.149ZM16.046,8.2,7.113,17.13a1.735,1.735,0,0,0-.419.68l-1.656,5a.742.742,0,0,0,.937.937l5-1.657a1.729,1.729,0,0,0,.681-.42l8.932-8.932Z',
- viewBox: '1 1 21 27',
+ 'M11.6493 1.14024C12.4997 1.03162 13.3673 1.37788 14.2585 2.21686L14.2593 2.21765C15.1537 3.06346 15.5517 3.91229 15.4918 4.76923C15.4337 5.59993 14.9514 6.30806 14.3914 6.89967L13.4263 7.92121C13.3929 7.97287 13.3503 8.01773 13.3011 8.05371L8.23423 13.4168C8.22961 13.4217 8.2249 13.4265 8.22008 13.4312C7.86511 13.7778 7.42008 14.0179 6.93551 14.1243C6.92786 14.126 6.92018 14.1275 6.91246 14.1288L4.51449 14.5384C4.25237 14.6005 3.97889 14.5972 3.71812 14.5289C3.45067 14.4587 3.20521 14.3224 3.0044 14.1323C2.8036 13.9422 2.65393 13.7046 2.56923 13.4414C2.48666 13.1848 2.46843 12.912 2.51598 12.6469L2.7915 10.2335C2.79269 10.2231 2.7942 10.2128 2.79603 10.2025C2.88186 9.72064 3.09306 9.26989 3.40836 8.89556C3.41448 8.8883 3.42081 8.88121 3.42733 8.87431L8.52757 3.47588C8.54515 3.4538 8.5646 3.43319 8.58574 3.41431L9.58483 2.35681C10.145 1.76506 10.8251 1.24551 11.6493 1.14024ZM8.66032 4.79151L4.16461 9.55006C3.97029 9.78429 3.839 10.0643 3.78316 10.3634L3.50755 12.7776C3.5061 12.7903 3.50417 12.8029 3.50176 12.8154C3.48127 12.9219 3.48794 13.0319 3.52115 13.1351C3.55437 13.2383 3.61307 13.3315 3.69182 13.406C3.77058 13.4806 3.86684 13.5341 3.97174 13.5616C4.07663 13.5891 4.18676 13.5897 4.29195 13.5634C4.30423 13.5603 4.31662 13.5577 4.32909 13.5556L6.73175 13.1452C7.02648 13.0784 7.29728 12.9321 7.51471 12.7222L12.0114 7.96261C11.2482 7.73659 10.544 7.33346 9.95894 6.7806C9.37212 6.22609 8.92892 5.54341 8.66032 4.79151ZM12.8073 7.12025C11.998 6.99 11.2443 6.61938 10.6458 6.05377C10.0453 5.48632 9.63186 4.75188 9.45703 3.94822L10.3114 3.04392C10.8162 2.51066 11.2952 2.19359 11.776 2.13218C12.2305 2.07412 12.8141 2.23067 13.5727 2.94461C14.3354 3.66611 14.5262 4.24215 14.4942 4.6995C14.4604 5.18318 14.1701 5.6788 13.6652 6.21219L12.8073 7.12025ZM1.75 16.4998C1.75 16.2237 1.97386 15.9998 2.25 15.9998H15.75C16.0261 15.9998 16.25 16.2237 16.25 16.4998C16.25 16.776 16.0261 16.9998 15.75 16.9998H2.25C1.97386 16.9998 1.75 16.776 1.75 16.4998Z',
+ viewBox: '0 0 18 18',
ratio: 1,
},
pendingTransaction: {
path:
- 'm17.75,0c-.98,0-1.77.79-1.77,1.78v1.78c-.01.98.77,1.78,1.75,1.8.93.01,1.71-.69,1.79-1.62,7.73,1.03,13.16,8.12,12.13,15.85-1.03,7.73-8.12,13.16-15.85,12.13-7.73-1.03-13.16-8.12-12.13-15.85.4-2.99,1.74-5.77,3.84-7.94.68-.71.66-1.83-.05-2.51s-1.83-.66-2.51.05c-6.79,7.07-6.57,18.31.5,25.1,7.07,6.79,18.31,6.57,25.1-.5,6.79-7.07,6.57-18.31-.5-25.1C26.74,1.77,22.34,0,17.75,0Zm-7.12,8.86c-.98,0-1.77.8-1.77,1.78,0,.48.2.93.54,1.27l5.7,5.7c-.08,1.47,1.05,2.72,2.51,2.8s2.72-1.05,2.8-2.51c.08-1.47-1.05-2.72-2.51-2.8-.05,0-.1,0-.15,0-.05,0-.1,0-.15,0l-5.7-5.7c-.34-.34-.8-.54-1.28-.54Z',
- viewBox: '0 0 35.5 35.5',
+ 'M13.0003 3.16577C11.0555 3.16577 9.15431 3.74249 7.53722 4.82299C5.92014 5.90349 4.65978 7.43924 3.91552 9.23605C3.17125 11.0329 2.97652 13.01 3.35594 14.9175C3.73536 16.825 4.6719 18.5771 6.04711 19.9523C7.42233 21.3275 9.17446 22.2641 11.0819 22.6435C12.9894 23.0229 14.9666 22.8282 16.7634 22.0839C18.5602 21.3397 20.0959 20.0793 21.1764 18.4622C22.2569 16.8451 22.8337 14.944 22.8337 12.9991C22.8337 10.3911 21.7977 7.89 19.9535 6.04589C18.1094 4.20178 15.6083 3.16577 13.0003 3.16577ZM6.42608 3.16005C8.37206 1.85978 10.6599 1.16577 13.0003 1.16577C16.1387 1.16577 19.1486 2.41249 21.3678 4.63167C23.5869 6.85085 24.8337 9.86071 24.8337 12.9991C24.8337 15.3395 24.1396 17.6274 22.8394 19.5734C21.5391 21.5193 19.691 23.036 17.5287 23.9317C15.3665 24.8273 12.9872 25.0617 10.6918 24.6051C8.39632 24.1485 6.28782 23.0215 4.6329 21.3665C2.97798 19.7116 1.85096 17.6031 1.39437 15.3077C0.93778 13.0122 1.17212 10.6329 2.06776 8.47068C2.96339 6.30842 4.4801 4.46031 6.42608 3.16005ZM12.5987 7.13511C13.151 7.13511 13.5987 7.58282 13.5987 8.13511V12.5458C13.6137 12.7542 13.6751 12.9568 13.7787 13.1386C13.8825 13.3207 14.0258 13.4772 14.198 13.5964L17.5312 15.5856C18.0054 15.8686 18.1605 16.4825 17.8774 16.9567C17.5944 17.431 16.9805 17.586 16.5063 17.303L13.1479 15.2988C13.1332 15.29 13.1186 15.2808 13.1043 15.2712C12.6661 14.978 12.302 14.5869 12.041 14.1287C11.7799 13.6705 11.629 13.1579 11.6002 12.6314C11.5992 12.6132 11.5987 12.595 11.5987 12.5768V8.13511C11.5987 7.58282 12.0464 7.13511 12.5987 7.13511Z',
+ viewBox: '0 0 26 26',
ratio: 1,
},
- phone: {
+
+ privacy: {
path:
- 'M8.186,17.386a1.3,1.3,0,0,0-.007-1.321L6.949,14a1.293,1.293,0,0,1,.088-1.463A33.6,33.6,0,0,1,9.6,9.6a33.6,33.6,0,0,1,2.939-2.562A1.293,1.293,0,0,1,14,6.948l2.065,1.23a1.3,1.3,0,0,0,1.325.005l5.177-3.031a1.306,1.306,0,0,0,.609-1.441,4.3,4.3,0,0,0-1.205-2.005C19.636-.63,15.7-1.87,6.913,6.913S-.63,19.636,1.705,21.972a4.3,4.3,0,0,0,2.01,1.206,1.3,1.3,0,0,0,1.435-.606C5.88,21.325,7.455,18.634,8.186,17.386Z',
- viewBox: '0 0 23.215 23.214 ',
+ 'M19.12 3.14994L14.13 1.27994C13.1 0.909941 11.57 0.909941 10.57 1.27994L5.58 3.14994C4.13 3.68994 3 5.32994 3 6.86994V14.2999C3 15.7199 3.89 17.4899 5.03 18.3399L9.33 21.5499C10.16 22.1799 11.26 22.4899 12.35 22.4899C13.44 22.4899 14.54 22.1799 15.37 21.5499L19.67 18.3399C20.81 17.4899 21.7 15.7099 21.7 14.2999V6.86994C21.7 5.31994 20.57 3.68994 19.12 3.14994ZM20.2 14.2999C20.2 15.2399 19.53 16.5699 18.77 17.1399L14.47 20.3499C13.32 21.2099 11.38 21.2099 10.23 20.3499L5.93 17.1399C5.17 16.5699 4.5 15.2399 4.5 14.2999V6.86994C4.5 5.94994 5.25 4.86994 6.1 4.54994L11.09 2.67994C11.75 2.42994 12.93 2.42994 13.6 2.67994L18.59 4.54994C19.44 4.86994 20.19 5.94994 20.19 6.86994V14.2999H20.2ZM12.2095 11.4199H12.3595C13.7095 11.3799 14.7695 10.2799 14.7895 8.9099C14.7895 7.5299 13.6595 6.3999 12.2795 6.3999C10.8995 6.3999 9.76953 7.5299 9.76953 8.9099C9.76953 10.2899 10.8295 11.3799 12.2095 11.4199ZM12.2846 7.89991C12.8422 7.90261 13.2895 8.35156 13.2895 8.8999C13.2895 9.4499 12.8595 9.8999 12.3295 9.9199H12.2395C11.7095 9.8999 11.2795 9.4499 11.2795 8.9099C11.2795 8.37149 11.7269 7.90267 12.2846 7.89991ZM9.92988 12.8498C11.2899 11.9498 13.3999 11.9498 14.7399 12.8498H14.7299C15.3999 13.2998 15.7799 13.9498 15.7799 14.6398C15.7799 15.3298 15.3999 15.9798 14.7299 16.4298C14.0599 16.8898 13.1899 17.1098 12.3299 17.1098C11.4699 17.1098 10.5999 16.8798 9.92988 16.4298C9.25988 15.9798 8.87988 15.3298 8.87988 14.6398C8.87988 13.9498 9.25988 13.2998 9.92988 12.8498ZM10.7599 15.1798C11.5999 15.7398 13.0599 15.7398 13.8999 15.1798C14.1499 15.0198 14.2899 14.8198 14.2899 14.6398C14.2899 14.4598 14.1499 14.2598 13.8999 14.0998C13.0699 13.5398 11.6099 13.5398 10.7599 14.0998C10.5099 14.2598 10.3699 14.4598 10.3699 14.6398C10.3699 14.8198 10.5099 15.0198 10.7599 15.1798Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ privacyvideoCam: {
+ path:
+ 'M3.45033 5.03041C3.01546 5.46528 2.75 6.25108 2.75 7.79008V16.2101C2.75 17.1543 2.98641 18.0147 3.49609 18.6261C3.98571 19.2135 4.8096 19.6701 6.21 19.6701H12.53C14.0633 19.6701 14.8499 19.4049 15.2864 18.9692C15.7226 18.5339 15.99 17.7476 15.99 16.2101V7.79008C15.99 6.25108 15.7245 5.46528 15.2897 5.03041C14.8548 4.59553 14.069 4.33008 12.53 4.33008H6.21C4.671 4.33008 3.8852 4.59553 3.45033 5.03041ZM17.4847 7.40162C17.4438 5.95794 17.1591 4.77848 16.3503 3.96975C15.4702 3.08962 14.151 2.83008 12.53 2.83008H6.21C4.589 2.83008 3.2698 3.08962 2.38967 3.96975C1.50954 4.84987 1.25 6.16908 1.25 7.79008V16.2101C1.25 17.3758 1.53859 18.6205 2.34391 19.5866C3.16929 20.5767 4.4504 21.1701 6.21 21.1701H12.53C14.1467 21.1701 15.4651 20.9103 16.3461 20.0309C17.1578 19.2207 17.4447 18.0381 17.4849 16.5887L19.0875 17.7128C19.0878 17.713 19.0881 17.7132 19.0884 17.7134C19.878 18.2705 20.8098 18.5255 21.6157 18.1069C22.4215 17.6884 22.75 16.7789 22.75 15.8101V8.19008C22.75 7.22061 22.4212 6.31263 21.6172 5.89277C20.813 5.47283 19.8814 5.72278 19.0905 6.27523L19.0893 6.27607L17.4847 7.40162ZM17.49 9.23011V14.76L19.9507 16.4861L19.9525 16.4874C20.5227 16.8898 20.8305 16.8245 20.9243 16.7758C21.0185 16.7268 21.25 16.5113 21.25 15.8101V8.19008C21.25 7.48954 21.0188 7.27253 20.9228 7.22238C20.827 7.17234 20.5188 7.10742 19.9501 7.50451C19.9499 7.50465 19.9503 7.50438 19.9501 7.50451L17.49 9.23011ZM11.5 8.75008C11.0858 8.75008 10.75 9.08586 10.75 9.50008C10.75 9.91429 11.0858 10.2501 11.5 10.2501C11.9142 10.2501 12.25 9.91429 12.25 9.50008C12.25 9.08586 11.9142 8.75008 11.5 8.75008ZM9.25 9.50008C9.25 8.25744 10.2574 7.25008 11.5 7.25008C12.7426 7.25008 13.75 8.25744 13.75 9.50008C13.75 10.7427 12.7426 11.7501 11.5 11.7501C10.2574 11.7501 9.25 10.7427 9.25 9.50008Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ pinSubMenu: {
+ path:
+ 'M11.7099 1.1811C12.2927 0.60515 13.2375 0.605275 13.82 1.18766L18.4632 5.82558C18.7647 6.12715 18.9083 6.52836 18.8963 6.9266C18.8896 7.28958 18.7459 7.65969 18.4632 7.93726C18.1813 8.22437 17.8045 8.38086 17.4047 8.38086C17.0043 8.38086 16.6278 8.22396 16.3463 7.94245L16.0574 7.65357L12.8828 11.8462C13.5159 13.0024 13.6007 14.3893 13.109 15.6263C12.9307 16.0778 12.5372 16.3985 12.0621 16.4985L12.0567 16.4996C11.9652 16.5168 11.8703 16.53 11.7654 16.53C11.3814 16.53 11.0099 16.3788 10.7331 16.102L7.74004 13.109L1.47218 18.57C1.36262 18.6743 1.18525 18.6691 1.08091 18.5648C0.976574 18.4604 0.971356 18.2831 1.07569 18.1735L6.68954 12.0585L3.54261 8.91152C3.19725 8.55988 3.05312 8.06928 3.14692 7.58778L3.14767 7.58407C3.2477 7.10892 3.5686 6.71535 4.0202 6.53713C5.25724 6.04547 6.64402 6.13041 7.80016 6.76352L11.9928 3.58898L11.7032 3.29941C11.4217 3.0179 11.2648 2.64135 11.2648 2.24097C11.2648 1.84051 11.4219 1.46315 11.7099 1.1811ZM11.8817 12.0751L11.8828 12.0769L11.8809 12.0782L11.8802 12.0773L11.8817 12.0751ZM11.9208 11.4864C11.7796 11.6481 11.7559 11.8899 11.8802 12.0773C12.4978 13.0212 12.6191 14.213 12.1961 15.2632C12.139 15.4043 12.02 15.5036 11.8677 15.534L11.8636 15.5349C11.7074 15.5688 11.5425 15.5219 11.4243 15.4079L4.23829 8.22192C4.1242 8.10361 4.07711 7.94346 4.11157 7.78151L4.11219 7.77851C4.14263 7.6263 4.24219 7.50719 4.38323 7.45004C5.42601 7.0301 6.60833 7.14677 7.549 7.75301C7.59406 7.78498 7.64336 7.80822 7.69413 7.82314C7.85048 7.86957 8.02731 7.83899 8.15706 7.72778L13.0315 4.03172C13.1929 3.91026 13.2564 3.70692 13.2107 3.5228L13.2613 3.47216L12.3959 2.60675C12.2973 2.50819 12.2448 2.37902 12.2448 2.24097C12.2448 2.1076 12.2992 1.97754 12.4003 1.87598C12.6003 1.6804 12.9277 1.68069 13.1275 1.88041L17.7653 6.51824C17.8675 6.62049 17.9164 6.74897 17.9164 6.88402C17.9164 7.0146 17.867 7.14899 17.7689 7.25136C17.5384 7.48013 17.2089 7.41973 17.0389 7.2498L16.3733 6.58416C16.3627 6.57239 16.3513 6.56103 16.3393 6.55015L16.1735 6.38439L16.1236 6.43437C15.9395 6.38928 15.7364 6.45318 15.6151 6.61432L11.9208 11.4864Z',
+ viewBox: '0 0 20 20',
ratio: 1,
},
pin: {
@@ -589,8 +899,8 @@ export const icons = {
},
play: {
path:
- 'M29.462,15.707c0,1.061-0.562,2.043-1.474,2.583L6.479,30.999c-0.47,0.275-0.998,0.417-1.526,0.417 c-0.513,0-1.026-0.131-1.487-0.396c-0.936-0.534-1.513-1.527-1.513-2.604V2.998c0-1.077,0.578-2.07,1.513-2.605 C4.402-0.139,5.553-0.13,6.479,0.415l21.509,12.709C28.903,13.664,29.462,14.646,29.462,15.707z',
- viewBox: '1 1 31.417 31.417',
+ 'M11.641 6.36459L3.16758 1.11197C2.93503 0.970273 2.62982 0.960501 2.39242 1.09731C2.15019 1.23413 2 1.49309 2 1.7716V12.228C2 12.5065 2.15019 12.7655 2.38758 12.9023C2.50385 12.9658 2.62982 13 2.76062 13C2.90112 13 3.03677 12.9609 3.15789 12.8876L11.6313 7.67897C11.859 7.54216 11.9995 7.28808 11.9995 7.02423C12.0092 6.75549 11.8687 6.50141 11.641 6.36459Z',
+ viewBox: '0 0 14 14',
ratio: 1,
},
plus: {
@@ -607,15 +917,15 @@ export const icons = {
},
recoverykey: {
path:
- 'M5.9,5.012a6.291,6.291,0,1,0,6.416,8.074h3.861v.9a1.8,1.8,0,1,0,3.594,0v-.9a1.8,1.8,0,1,0,0-3.594H12.309A6.263,6.263,0,0,0,7.52,5.118,6.535,6.535,0,0,0,5.9,5.012ZM6.29,8.594a2.7,2.7,0,1,1-2.7,2.7A2.7,2.7,0,0,1,6.29,8.594Z',
- viewBox: '0 0 21.564 12.578',
+ 'M3.89481 2.49637C4.84095 1.48504 6.3285 1.25 8.22 1.25H15.78C17.6715 1.25 19.1591 1.48504 20.1052 2.49637C21.0347 3.4899 21.25 5.03644 21.25 7.04V11.3C21.25 11.7142 20.9142 12.05 20.5 12.05C20.0858 12.05 19.75 11.7142 19.75 11.3V7.04C19.75 5.01356 19.4953 4.0401 19.0098 3.52113C18.5409 3.01996 17.6685 2.75 15.78 2.75H8.22C6.3315 2.75 5.45905 3.01996 4.99019 3.52113C4.50468 4.0401 4.25 5.01356 4.25 7.04V18.3C4.25 18.9046 4.33408 19.3385 4.45025 19.6233C4.56542 19.9057 4.68815 19.9904 4.74793 20.0162C4.80224 20.0396 4.92946 20.0686 5.1813 19.9599C5.44051 19.848 5.78162 19.6077 6.18123 19.1788C6.18434 19.1754 6.18749 19.1721 6.19066 19.1688C6.43796 18.8885 6.74484 18.667 7.08896 18.5204C7.44177 18.3701 7.82433 18.3028 8.20724 18.3234C8.59016 18.3441 8.96325 18.4522 9.29784 18.6396C9.62786 18.8244 9.91178 19.0814 10.1284 19.3912L11.1305 20.7307C11.3787 21.0624 11.311 21.5324 10.9793 21.7805C10.6476 22.0287 10.1776 21.961 9.92947 21.6293L8.91947 20.2793C8.9137 20.2716 8.90809 20.2638 8.90263 20.2559C8.81507 20.1289 8.69957 20.0237 8.56501 19.9484C8.43045 19.873 8.28041 19.8295 8.12643 19.8212C7.97244 19.8129 7.81859 19.84 7.67671 19.9005C7.53482 19.9609 7.40868 20.053 7.30796 20.1698C7.29592 20.1838 7.28337 20.1973 7.27034 20.2103L7.2695 20.2112C6.78695 20.7273 6.28498 21.1172 5.77588 21.337C5.25617 21.5614 4.68651 21.6229 4.15457 21.3938C3.6281 21.1671 3.27521 20.7143 3.06131 20.1898C2.84842 19.6678 2.75 19.0254 2.75 18.3V7.04C2.75 5.03644 2.96532 3.4899 3.89481 2.49637ZM7.25 7C7.25 6.58579 7.58579 6.25 8 6.25H16C16.4142 6.25 16.75 6.58579 16.75 7C16.75 7.41421 16.4142 7.75 16 7.75H8C7.58579 7.75 7.25 7.41421 7.25 7ZM8.25 11C8.25 10.5858 8.58579 10.25 9 10.25H15C15.4142 10.25 15.75 10.5858 15.75 11C15.75 11.4142 15.4142 11.75 15 11.75H9C8.58579 11.75 8.25 11.4142 8.25 11ZM19.3104 13.4453C19.6455 13.4438 19.9762 13.5221 20.275 13.6737C20.5377 13.807 20.7692 13.9936 20.955 14.221C21.1845 14.4062 21.3732 14.6375 21.5084 14.9006C21.6622 15.1997 21.7424 15.5312 21.7424 15.8675C21.7424 16.2038 21.6622 16.5353 21.5084 16.8344C21.3651 17.1132 21.1617 17.3564 20.9133 17.5467L20.5305 17.9294C20.4807 18.0002 20.4194 18.0609 20.3501 18.1099L17.4122 21.0478C17.4063 21.0536 17.4004 21.0594 17.3944 21.065C17.1265 21.3159 16.7928 21.4855 16.4322 21.5542C16.4203 21.5565 16.4084 21.5585 16.3963 21.5602L15.0715 21.7466C14.8544 21.7898 14.63 21.7805 14.4171 21.719C14.1921 21.6541 13.9872 21.5332 13.8217 21.3676C13.6561 21.2021 13.5352 20.9972 13.4703 20.7722C13.4089 20.5593 13.3995 20.3349 13.4427 20.1178L13.6291 18.793C13.6312 18.7785 13.6337 18.764 13.6365 18.7496C13.7078 18.3951 13.8747 18.0669 14.1192 17.8005C14.1264 17.7926 14.1338 17.7848 14.1414 17.7772L17.1231 14.7947C17.151 14.7615 17.1818 14.7305 17.2154 14.7024L17.6409 14.2768C17.8296 14.0291 18.071 13.8261 18.3478 13.6825C18.6453 13.5281 18.9752 13.4468 19.3104 13.4453ZM17.4674 16.572L15.2162 18.8237C15.165 18.8826 15.1288 18.953 15.1107 19.0288L14.9388 20.2505L16.1649 20.078C16.2383 20.0616 16.3063 20.0266 16.3624 19.9763L18.6159 17.7228C18.3891 17.5748 18.1774 17.4032 17.9844 17.2102C17.7895 17.0153 17.6164 16.8013 17.4674 16.572ZM19.7149 16.6238C19.4673 16.5052 19.2406 16.3451 19.0451 16.1496C18.8474 15.9519 18.6861 15.7225 18.5671 15.4719L18.7412 15.2977C18.7708 15.2682 18.7978 15.2362 18.822 15.2022C18.8782 15.1231 18.9525 15.0586 19.0386 15.0139C19.1247 14.9693 19.2202 14.9458 19.3172 14.9453C19.4141 14.9449 19.5099 14.9675 19.5964 15.0114C19.6829 15.0553 19.7577 15.1192 19.8146 15.1977C19.862 15.2631 19.9197 15.3204 19.9853 15.3674C20.0648 15.4243 20.1297 15.4994 20.1744 15.5863C20.2191 15.6733 20.2424 15.7697 20.2424 15.8675C20.2424 15.9653 20.2191 16.0617 20.1744 16.1486C20.1297 16.2356 20.0648 16.3107 19.9853 16.3676C19.9519 16.3915 19.9205 16.4181 19.8915 16.4472L19.7149 16.6238Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
reply: {
path:
- 'M4,3 C4.55228475,3 5,3.44771525 5,4 L5,4 L5,11 C5,12.6568542 6.34314575,14 8,14 L8,14 L17.585,14 L14.2928932,10.7071068 C13.9324093,10.3466228 13.9046797,9.77939176 14.2097046,9.38710056 L14.2928932,9.29289322 C14.6834175,8.90236893 15.3165825,8.90236893 15.7071068,9.29289322 L15.7071068,9.29289322 L20.7071068,14.2928932 C20.7355731,14.3213595 20.7623312,14.3515341 20.787214,14.3832499 C20.788658,14.3849951 20.7902348,14.3870172 20.7918027,14.389044 C20.8140715,14.4179625 20.8348358,14.4480862 20.8539326,14.4793398 C20.8613931,14.4913869 20.8685012,14.5036056 20.8753288,14.5159379 C20.8862061,14.5357061 20.8966234,14.5561086 20.9063462,14.5769009 C20.914321,14.5939015 20.9218036,14.6112044 20.9287745,14.628664 C20.9366843,14.6484208 20.9438775,14.6682023 20.9504533,14.6882636 C20.9552713,14.7031487 20.9599023,14.7185367 20.9641549,14.734007 C20.9701664,14.7555635 20.9753602,14.7772539 20.9798348,14.7992059 C20.9832978,14.8166247 20.9863719,14.834051 20.9889822,14.8515331 C20.9962388,14.8996379 21,14.9493797 21,15 L20.9962979,14.9137692 C20.9978436,14.9317345 20.9989053,14.9497336 20.9994829,14.9677454 L21,15 C21,15.0112225 20.9998151,15.0224019 20.9994483,15.0335352 C20.9988772,15.050591 20.997855,15.0679231 20.996384,15.0852242 C20.994564,15.1070574 20.9920941,15.1281144 20.9889807,15.1489612 C20.9863719,15.165949 20.9832978,15.1833753 20.9797599,15.2007258 C20.9753602,15.2227461 20.9701664,15.2444365 20.964279,15.2658396 C20.9599023,15.2814633 20.9552713,15.2968513 20.9502619,15.3121425 C20.9438775,15.3317977 20.9366843,15.3515792 20.928896,15.3710585 C20.9218036,15.3887956 20.914321,15.4060985 20.9063266,15.4232215 C20.8974314,15.4421635 20.8879327,15.4609002 20.8778732,15.4792864 C20.8703855,15.4931447 20.862375,15.5070057 20.8540045,15.5207088 C20.8382813,15.546275 20.8215099,15.5711307 20.8036865,15.5951593 C20.774687,15.6343256 20.7425008,15.6717127 20.7071068,15.7071068 L20.787214,15.6167501 C20.7849289,15.6196628 20.7826279,15.6225624 20.7803112,15.625449 L20.7071068,15.7071068 L15.7071068,20.7071068 C15.3165825,21.0976311 14.6834175,21.0976311 14.2928932,20.7071068 C13.9023689,20.3165825 13.9023689,19.6834175 14.2928932,19.2928932 L14.2928932,19.2928932 L17.585,16 L8,16 C5.3112453,16 3.11818189,13.8776933 3.00461951,11.2168896 L3,11 L3,4 C3,3.44771525 3.44771525,3 4,3',
- viewBox: '-0.5 0.3 23 22',
+ 'M5.42412 3.68549C5.71701 3.97838 5.71701 4.45326 5.42412 4.74615L4.30283 5.86744H12.8689C14.2834 5.86744 15.64 6.42934 16.6402 7.42953C17.6404 8.42973 18.2023 9.78628 18.2023 11.2008C18.2023 12.6153 17.6404 13.9718 16.6402 14.972C15.64 15.9722 14.2834 16.5341 12.8689 16.5341H5.5356C5.12138 16.5341 4.7856 16.1983 4.7856 15.7841C4.7856 15.3699 5.12138 15.0341 5.5356 15.0341H12.8689C13.8856 15.0341 14.8606 14.6302 15.5795 13.9113C16.2984 13.1925 16.7023 12.2174 16.7023 11.2008C16.7023 10.1841 16.2984 9.20908 15.5795 8.4902C14.8606 7.77131 13.8856 7.36744 12.8689 7.36744H4.41273L5.42412 8.37882C5.71701 8.67172 5.71701 9.14659 5.42412 9.43948C5.13122 9.73238 4.65635 9.73238 4.36346 9.43948L2.01679 7.09282C1.7239 6.79992 1.7239 6.32505 2.01679 6.03216L4.36346 3.68549C4.65635 3.3926 5.13122 3.3926 5.42412 3.68549Z',
+ viewBox: '0 0 20 20',
ratio: 1,
},
request: {
@@ -624,21 +934,55 @@ export const icons = {
viewBox: '0 0 24.001 22.508',
ratio: 1,
},
+
reload: {
path:
'M16.87,10.023A6.706,6.706,0,1,1,12.8,3.883L10.713,6.118l6.258-.209L16.439,0,14.593,1.971a9.181,9.181,0,1,0,4.783,8.052Z',
viewBox: '0 0 20.376 23.211',
ratio: 1,
},
+ receipt: {
+ path:
+ 'M3.09467 3.09467C4.42914 1.7602 6.42603 1.25 9 1.25H15C17.574 1.25 19.5709 1.7602 20.9053 3.09467C22.2398 4.42914 22.75 6.42603 22.75 9V15C22.75 17.574 22.2398 19.5709 20.9053 20.9053C19.5709 22.2398 17.574 22.75 15 22.75H9C6.42603 22.75 4.42914 22.2398 3.09467 20.9053C1.7602 19.5709 1.25 17.574 1.25 15V9C1.25 6.42603 1.7602 4.42914 3.09467 3.09467ZM4.15533 4.15533C3.2398 5.07086 2.75 6.57397 2.75 9V15C2.75 17.426 3.2398 18.9291 4.15533 19.8447C5.07086 20.7602 6.57397 21.25 9 21.25H15C17.426 21.25 18.9291 20.7602 19.8447 19.8447C20.7602 18.9291 21.25 17.426 21.25 15V9C21.25 6.57397 20.7602 5.07086 19.8447 4.15533C19.342 3.6527 18.6623 3.27839 17.75 3.043V12.4194C17.75 13.566 17.3326 14.5709 16.4366 15.0573C15.5483 15.5395 14.4676 15.3597 13.4739 14.7624C13.4738 14.7624 13.4741 14.7625 13.4739 14.7624L12.1548 13.973C12.155 13.973 12.1507 13.9705 12.1426 13.9672C12.1345 13.964 12.1231 13.9602 12.1085 13.9566C12.0784 13.9493 12.041 13.9444 12 13.9444C11.959 13.9444 11.9216 13.9493 11.8915 13.9566C11.8769 13.9602 11.8655 13.964 11.8574 13.9672C11.8493 13.9705 11.8457 13.9726 11.8459 13.9725L10.5237 14.7638C9.5309 15.3549 8.45169 15.5338 7.56455 15.0542C6.66786 14.5694 6.25 13.5665 6.25 12.4194V3.043C5.33769 3.27839 4.65796 3.6527 4.15533 4.15533ZM7.75 2.79956V12.4194C7.75 13.2423 8.03714 13.6045 8.27795 13.7347C8.52825 13.87 9.01888 13.9139 9.7558 13.4753C9.75563 13.4754 9.75598 13.4752 9.7558 13.4753L11.0741 12.6863C11.366 12.5112 11.7019 12.4444 12 12.4444C12.2981 12.4444 12.634 12.5112 12.9259 12.6863L14.2464 13.4766C14.9827 13.9192 15.4718 13.8742 15.7209 13.739C15.9624 13.6079 16.25 13.2428 16.25 12.4194V2.79956C15.8633 2.76665 15.4473 2.75 15 2.75H9C8.55265 2.75 8.13669 2.76665 7.75 2.79956Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ resend: {
+ path:
+"M21.1002 15.5C20.8002 17.6 19.1002 19.1 17.0002 19.1C15.8002 19.1 14.9002 18.6999 14.1002 17.9L13.5002 18.5C13.4002 18.6 13.1002 18.6 13.0002 18.5C13.0002 18.5 12.9002 18.3 12.9002 18.2V16.2C12.9002 15.9 13.2002 15.6 13.5002 15.6H15.5002C15.5002 15.6 15.7002 15.6 15.8002 15.7C15.9002 15.8 15.9002 16.1 15.8002 16.2L15.0002 17C15.6002 17.5 16.3002 17.7999 17.0002 17.7999C18.5002 17.7999 19.8002 16.7 19.9002 15.2C19.9002 14.9 20.2002 14.7 20.5002 14.7C20.84 14.7 21.1794 14.9452 21.1002 15.5ZM21.0002 11.4C20.9002 11.3 20.6002 11.3 20.5002 11.4L19.9002 12C19.1002 11.2 18.1002 10.8 17.0002 10.8C14.9002 10.8 13.1002 12.4 12.9002 14.4C12.9002 14.6 12.9002 14.8 13.1002 15C13.2002 15 13.3002 15.1 13.5002 15.1C13.7002 15.1 13.7002 15.1 13.7002 15.1C13.9002 15.1 14.0002 14.8 14.1002 14.6C14.3002 13.1 15.5002 12 17.0002 12C18.5002 12 18.5002 12.3 19.1002 12.8L18.3002 13.6C18.2002 13.7 18.2002 14 18.3002 14.1C18.3002 14.1 18.5002 14.2 18.6002 14.2H20.6002C20.9002 14.2 21.2002 13.9 21.2002 13.6C21.2002 13.6 21.2002 11.7885 21.2002 11.7189C21.2002 11.6493 21.1002 11.5 21.0002 11.4ZM1.0002 5.79995C0.800195 5.69995 0.700195 5.39995 0.700195 5.19995V4.29995C0.700195 2.89995 1.9002 1.69995 3.3002 1.69995H16.9002C18.3002 1.69995 19.5002 2.89995 19.5002 4.29995V5.09995C19.5002 5.09995 19.5002 5.19995 19.5002 5.29995V10.1C19.5002 10.3 19.5002 10.5 19.3002 10.6H19.2002C19.2002 10.7 19.0002 10.6 19.0002 10.6C18.8002 10.5 18.5002 10.4 18.3002 10.3H18.1002V9.89995V6.49995L11.9002 11.2C11.4002 11.6 10.8002 11.7 10.2002 11.7C9.60019 11.7 9.0002 11.5 8.5002 11.2L1.0002 5.79995ZM9.2002 10.2C9.7002 10.5 10.4002 10.5 10.9002 10.2L17.9002 4.89995V4.39995C17.9002 3.79995 17.4002 3.29995 16.8002 3.29995H3.3002C2.7002 3.29995 2.2002 3.79995 2.2002 4.39995V4.89995L9.2002 10.2ZM11.5002 15H3.3002C2.7002 15 2.2002 14.5 2.2002 13.9V7.89995C2.2002 7.69995 2.2002 7.49995 2.0002 7.39995C1.9002 7.29995 1.6002 7.19995 1.5002 7.19995C1.1002 7.19995 0.700195 7.59995 0.800195 7.99995V14C0.800195 15.4 2.0002 16.6 3.4002 16.6H11.6002C11.9002 16.6 12.1002 16.5 12.3002 16.2C12.4002 16 12.4002 15.7 12.3002 15.4C12.2002 15.2 11.9002 15 11.6002 15H11.5002Z",
+ viewBox: '0 0 22 20',
+ ratio: 1,
+ },
+ rotatedArrow: {
+ path:
+ 'M12 2.81934C6.85617 2.81934 2.75 6.96159 2.75 12.0693C2.75 12.4835 2.41421 12.8193 2 12.8193C1.58579 12.8193 1.25 12.4835 1.25 12.0693C1.25 6.13708 6.02383 1.31934 12 1.31934C15.5577 1.31934 18.2218 2.80534 19.9817 4.27342C20.4731 4.68335 20.8957 5.09318 21.25 5.47135V2.62934C21.25 2.21512 21.5858 1.87934 22 1.87934C22.4142 1.87934 22.75 2.21512 22.75 2.62934V7.62934C22.75 8.04355 22.4142 8.37934 22 8.37934H17.56C17.1458 8.37934 16.81 8.04355 16.81 7.62934C16.81 7.21512 17.1458 6.87934 17.56 6.87934H20.4993C20.126 6.44673 19.6329 5.9359 19.0208 5.42525C17.4482 4.11333 15.1123 2.81934 12 2.81934ZM22 11.3193C22.4142 11.3193 22.75 11.6551 22.75 12.0693C22.75 18.0035 17.9342 22.8193 12 22.8193C8.97954 22.8193 6.58449 21.2991 4.98113 19.8449C4.55554 19.4588 4.18095 19.0733 3.86 18.7148V21.5093C3.86 21.9235 3.52421 22.2593 3.11 22.2593C2.69579 22.2593 2.36 21.9235 2.36 21.5093V16.5093C2.36 16.0951 2.69579 15.7593 3.11 15.7593H7.63C8.04421 15.7593 8.38 16.0951 8.38 16.5093C8.38 16.9235 8.04421 17.2593 7.63 17.2593H4.5871C4.94789 17.698 5.41842 18.2164 5.98887 18.7338C7.45051 20.0595 9.50046 21.3193 12 21.3193C17.1058 21.3193 21.25 17.1751 21.25 12.0693C21.25 11.6551 21.5858 11.3193 22 11.3193Z',
+
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+
search: {
path:
- 'M16.5260392,16.2168725 L13.3593725,12.879521 C13.2567964,12.7688667 13.1425871,12.670895 13.0189558,12.5875028 L12.2272892,12.0118096 L12.2272892,12.0118096 C13.8556873,9.88830358 13.8708099,6.85915463 12.2637039,4.71770761 C10.6565979,2.57626059 7.85617522,1.8940349 5.52036814,3.07492811 C3.18456106,4.25582133 1.93676065,6.98467116 2.51570128,9.64591861 C3.09464191,12.3071661 5.34581319,14.190565 7.93645584,14.1810881 C9.19365936,14.1814736 10.4136244,13.7313239 11.3960392,12.9045511 L11.3960392,12.9045511 L11.9897892,13.738889 C12.0602158,13.8463397 12.1397052,13.9468684 12.2272892,14.0392507 L15.3939558,17.3766021 C15.4682801,17.4555775 15.5694535,17.5 15.6749975,17.5 C15.7805415,17.5 15.8817149,17.4555775 15.9560392,17.3766021 L16.5102058,16.7925656 C16.6604889,16.6359051 16.6674599,16.3824439 16.5260392,16.2168725 Z M7.93645584,12.5124123 C5.7503287,12.5124123 3.9781225,10.6446834 3.9781225,8.340723 C3.9781225,6.03676259 5.7503287,4.16903366 7.93645584,4.16903366 C10.122583,4.16903366 11.8947892,6.03676259 11.8947892,8.340723 C11.8947892,9.44712381 11.4777517,10.5082093 10.7354202,11.2905528 C9.99308868,12.0728963 8.98627111,12.5124123 7.93645584,12.5124123',
- viewBox: '2.3 1.8 15 16',
+ 'M9.58366 2.41675C8.16623 2.41675 6.78063 2.83707 5.60208 3.62455C4.42352 4.41203 3.50495 5.53131 2.96253 6.84085C2.4201 8.15039 2.27817 9.59137 2.5547 10.9816C2.83123 12.3718 3.51379 13.6487 4.51606 14.651C5.51834 15.6533 6.79532 16.3359 8.18552 16.6124C9.57571 16.8889 11.0167 16.747 12.3262 16.2046C13.6358 15.6621 14.755 14.7436 15.5425 13.565C16.33 12.3865 16.7503 11.0008 16.7503 9.58342C16.7503 7.6827 15.9953 5.85983 14.6513 4.51582C13.3073 3.17181 11.4844 2.41675 9.58366 2.41675ZM4.76872 2.37735C6.19395 1.42504 7.86956 0.916748 9.58366 0.916748C11.8822 0.916748 14.0866 1.82984 15.7119 3.45516C17.3372 5.08047 18.2503 7.28487 18.2503 9.58342C18.2503 11.2975 17.742 12.9731 16.7897 14.3984C15.8374 15.8236 14.4839 16.9344 12.9003 17.5904C11.3166 18.2463 9.57405 18.418 7.89288 18.0836C6.21171 17.7492 4.66746 16.9237 3.4554 15.7117C2.24335 14.4996 1.41793 12.9554 1.08352 11.2742C0.749118 9.59303 0.920747 7.85045 1.57671 6.26683C2.23267 4.6832 3.34349 3.32965 4.76872 2.37735ZM16.1367 16.1364C16.4296 15.8435 16.9044 15.8435 17.1973 16.1364L18.864 17.8031C19.1569 18.096 19.1569 18.5709 18.864 18.8637C18.5711 19.1566 18.0962 19.1566 17.8033 18.8637L16.1367 17.1971C15.8438 16.9042 15.8438 16.4293 16.1367 16.1364Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ sun: {
+ path:
+ 'M12 4.8C12.3183 4.8 12.6235 4.67357 12.8485 4.44853C13.0736 4.22348 13.2 3.91826 13.2 3.6V1.2C13.2 0.88174 13.0736 0.576515 12.8485 0.351472C12.6235 0.126428 12.3183 0 12 0C11.6817 0 11.3765 0.126428 11.1515 0.351472C10.9264 0.576515 10.8 0.88174 10.8 1.2V3.6C10.8 3.91826 10.9264 4.22348 11.1515 4.44853C11.3765 4.67357 11.6817 4.8 12 4.8ZM22.8 10.8H20.4C20.0817 10.8 19.7765 10.9264 19.5515 11.1515C19.3264 11.3765 19.2 11.6817 19.2 12C19.2 12.3183 19.3264 12.6235 19.5515 12.8485C19.7765 13.0736 20.0817 13.2 20.4 13.2H22.8C23.1183 13.2 23.4235 13.0736 23.6485 12.8485C23.8736 12.6235 24 12.3183 24 12C24 11.6817 23.8736 11.3765 23.6485 11.1515C23.4235 10.9264 23.1183 10.8 22.8 10.8ZM4.44853 11.1515C4.67357 11.3765 4.8 11.6817 4.8 12C4.8 12.3183 4.67357 12.6235 4.44853 12.8485C4.22348 13.0736 3.91826 13.2 3.6 13.2H1.2C0.88174 13.2 0.576515 13.0736 0.351472 12.8485C0.126428 12.6235 0 12.3183 0 12C0 11.6817 0.126428 11.3765 0.351472 11.1515C0.576515 10.9264 0.88174 10.8 1.2 10.8H3.6C3.91826 10.8 4.22348 10.9264 4.44853 11.1515ZM5.06428 3.60023C4.83036 3.37904 4.51815 3.25983 4.19634 3.26883C3.87452 3.27784 3.56947 3.41431 3.34828 3.64823C3.12709 3.88215 3.00788 4.19436 3.01688 4.51617C3.02588 4.83798 3.16236 5.14304 3.39628 5.36423L5.12428 7.03223C5.24024 7.1442 5.37757 7.23166 5.52808 7.28939C5.67858 7.34712 5.83918 7.37393 6.00028 7.36823C6.16192 7.36761 6.32178 7.33434 6.47025 7.27042C6.61872 7.20649 6.75274 7.11323 6.86428 6.99623C7.08778 6.77139 7.21323 6.46725 7.21323 6.15023C7.21323 5.83321 7.08778 5.52906 6.86428 5.30423L5.06428 3.60023ZM18.8275 7.03228C18.6051 7.2467 18.3085 7.36705 17.9995 7.36828C17.6981 7.34839 17.4153 7.21555 17.2075 6.99628C16.984 6.77145 16.8586 6.46731 16.8586 6.15028C16.8586 5.83326 16.984 5.52912 17.2075 5.30428L18.9355 3.60028C19.1729 3.40896 19.4742 3.31515 19.7782 3.33792C20.0823 3.3607 20.3662 3.49833 20.5724 3.72289C20.7787 3.94744 20.8917 4.24206 20.8885 4.54693C20.8854 4.85179 20.7663 5.14403 20.5555 5.36428L18.8275 7.03228ZM12 19.2C11.6817 19.2 11.3765 19.3264 11.1515 19.5515C10.9264 19.7765 10.8 20.0817 10.8 20.4V22.8C10.8 23.1183 10.9264 23.4235 11.1515 23.6485C11.3765 23.8736 11.6817 24 12 24C12.3183 24 12.6235 23.8736 12.8485 23.6485C13.0736 23.4235 13.2 23.1183 13.2 22.8V20.4C13.2 20.0817 13.0736 19.7765 12.8485 19.5515C12.6235 19.3264 12.3183 19.2 12 19.2ZM18.0207 16.6314C18.3391 16.6258 18.6467 16.7469 18.8759 16.9681L20.6279 18.6721C20.7403 18.7837 20.8296 18.9164 20.8905 19.0626C20.9515 19.2088 20.9828 19.3657 20.9828 19.5241C20.9828 19.6825 20.9515 19.8394 20.8905 19.9856C20.8296 20.1318 20.7403 20.2646 20.6279 20.3761C20.5153 20.4909 20.3808 20.582 20.2324 20.6438C20.084 20.7057 19.9247 20.737 19.7639 20.7361C19.4549 20.7349 19.1583 20.6145 18.9359 20.4001L17.2079 18.6961C16.9787 18.4749 16.8468 18.1718 16.8412 17.8533C16.8356 17.5349 16.9567 17.2273 17.1779 16.9981C17.3991 16.769 17.7022 16.6371 18.0207 16.6314ZM5.12397 16.9678L3.39597 18.6358C3.2835 18.7474 3.19423 18.8801 3.1333 19.0264C3.07238 19.1726 3.04102 19.3294 3.04102 19.4878C3.04102 19.6463 3.07238 19.8031 3.1333 19.9493C3.19423 20.0956 3.2835 20.2283 3.39597 20.3398C3.50852 20.4547 3.643 20.5457 3.79143 20.6076C3.93985 20.6694 4.09919 20.7008 4.25997 20.6998C4.55579 20.7024 4.84211 20.5955 5.06397 20.3998L6.79197 18.7318C7.02112 18.5107 7.15302 18.2075 7.15864 17.8891C7.16427 17.5706 7.04316 17.263 6.82197 17.0338C6.60078 16.8047 6.29762 16.6728 5.97919 16.6672C5.66075 16.6616 5.35312 16.7827 5.12397 17.0038V16.9678ZM9.33327 8.00895C10.1226 7.48152 11.0507 7.2 12 7.2C13.273 7.2 14.4939 7.70571 15.3941 8.60589C16.2943 9.50606 16.8 10.727 16.8 12C16.8 12.9494 16.5185 13.8774 15.9911 14.6667C15.4636 15.4561 14.714 16.0713 13.8369 16.4346C12.9598 16.7979 11.9947 16.893 11.0636 16.7078C10.1325 16.5226 9.27718 16.0654 8.60589 15.3941C7.9346 14.7228 7.47744 13.8675 7.29223 12.9364C7.10702 12.0053 7.20208 11.0402 7.56538 10.1631C7.92868 9.28603 8.54391 8.53638 9.33327 8.00895Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ speaker: {
+ path:
+ 'M15.1501 4.14247C16.3813 4.82282 16.9998 6.26201 16.9998 8.02726V17.9723C16.9998 19.7331 16.3808 21.1711 15.1508 21.8526C13.9205 22.5342 12.373 22.2961 10.8791 21.3594C10.879 21.3594 10.8791 21.3595 10.8791 21.3594L7.72405 19.3822C7.48476 19.2417 7.21777 19.1664 6.96567 19.1664H5.4165C4.21756 19.1664 3.1806 18.8662 2.44867 18.1343C1.71675 17.4023 1.4165 16.3654 1.4165 15.1664V10.8331C1.4165 9.63415 1.71675 8.59719 2.44867 7.86526C3.1806 7.13334 4.21756 6.83309 5.4165 6.83309H6.96567C7.21778 6.83309 7.48477 6.75784 7.72406 6.61736L10.8789 4.64016C10.8789 4.64019 10.879 4.64014 10.8789 4.64016C12.3717 3.70424 13.9192 3.46236 15.1501 4.14247ZM14.4246 5.45538C13.8518 5.13885 12.9129 5.13534 11.6757 5.91103L8.50465 7.89839L8.49691 7.90299C8.04467 8.1715 7.51276 8.33309 6.96567 8.33309H5.4165C4.44878 8.33309 3.86074 8.57452 3.50933 8.92592C3.15793 9.27733 2.9165 9.86537 2.9165 10.8331V15.1664C2.9165 16.1342 3.15793 16.7222 3.50933 17.0736C3.86074 17.425 4.44878 17.6664 5.4165 17.6664H6.96567C7.51276 17.6664 8.04466 17.828 8.49691 18.0965L8.50465 18.1011L11.6756 20.0884C12.9116 20.8634 13.8504 20.8582 14.4239 20.5405C14.9976 20.2226 15.4998 19.4289 15.4998 17.9723V8.02726C15.4998 6.56418 14.9971 5.7717 14.4246 5.45538ZM21.0321 5.35828C21.3634 5.10962 21.8335 5.17658 22.0822 5.50784C25.4132 9.94545 25.4132 16.0541 22.0822 20.4917C21.8335 20.8229 21.3634 20.8899 21.0321 20.6412C20.7008 20.3926 20.6339 19.9224 20.8825 19.5912C23.8131 15.6871 23.8131 10.3124 20.8825 6.40834C20.6339 6.07708 20.7008 5.60695 21.0321 5.35828ZM19.0494 8.06673C19.3806 7.81798 19.8508 7.88482 20.0995 8.21602C22.2283 11.0504 22.2283 14.9492 20.0995 17.7835C19.8508 18.1147 19.3806 18.1815 19.0494 17.9328C18.7182 17.684 18.6514 17.2139 18.9001 16.8827C20.6281 14.582 20.6281 11.4175 18.9001 9.11683C18.6514 8.78563 18.7182 8.31548 19.0494 8.06673Z',
+ viewBox: '0 0 26 26',
ratio: 1,
},
send: {
- path:'M0.758245 8.91357C0.557146 9.12161 0.446928 9.40102 0.451839 9.69033C0.456749 9.97964 0.576385 10.2551 0.784429 10.4562L5.1768 14.702C5.37138 14.8888 5.62834 14.9969 5.89797 15.0052C6.1676 15.0136 6.43075 14.9217 6.63653 14.7472L18.4356 4.75502L8.84961 16.8864C8.68195 17.0984 8.59902 17.3651 8.61693 17.6348C8.63483 17.9045 8.7523 18.1579 8.94652 18.3459L13.3367 22.5896C13.4776 22.7253 13.6523 22.8208 13.8427 22.866C14.033 22.9112 14.232 22.9045 14.4189 22.8465C14.6057 22.7886 14.7736 22.6816 14.905 22.5366C15.0364 22.3916 15.1265 22.2141 15.1658 22.0224L22.4649 2.06715C22.5578 1.86267 22.5852 1.63445 22.5432 1.41382C22.5012 1.19318 22.392 0.990932 22.2305 0.834837C22.0691 0.678743 21.8632 0.576449 21.6413 0.541995C21.4193 0.507541 21.1922 0.542614 20.991 0.642403L1.27792 8.6148C1.0802 8.66391 0.900175 8.76741 0.758245 8.91357Z',
- viewBox: '0 0 23 23',
+ path:
+ 'M26.0936 5.89998C25.3712 5.17644 23.8883 4.80681 21.5025 5.60208C20.9785 5.77673 20.4122 5.49357 20.2376 4.96962C20.0629 4.44568 20.3461 3.87936 20.87 3.70471C23.5642 2.80665 26.0013 2.97702 27.5089 4.48682C29.0152 5.99534 29.1864 8.43403 28.2957 11.1274L24.5218 22.4491C23.8671 24.4167 23.0832 25.9707 22.1898 27.0526C21.2992 28.1312 20.2065 28.8434 18.9596 28.8434C17.7126 28.8434 16.62 28.1312 15.7293 27.0526C14.836 25.9707 14.0521 24.4167 13.3974 22.4491L12.4357 19.564L9.55052 18.6022C9.55035 18.6022 9.55069 18.6023 9.55052 18.6022C7.58348 17.9477 6.02927 17.1647 4.94753 16.2726C3.869 15.3832 3.15625 14.2918 3.15625 13.0451C3.15625 11.7987 3.86869 10.7066 4.94672 9.81568C6.02823 8.92192 7.58182 8.13641 9.54903 7.47838L15.684 5.43784C16.208 5.26353 16.7742 5.54706 16.9485 6.07112C17.1228 6.59518 16.8392 7.16131 16.3152 7.33562L10.1835 9.37508C10.1832 9.37518 10.1838 9.37498 10.1835 9.37508C8.34446 9.99031 7.04248 10.6783 6.22078 11.3574C5.39548 12.0394 5.15625 12.6198 5.15625 13.0451C5.15625 13.47 5.39516 14.0494 6.21997 14.7296C7.04147 15.407 8.34259 16.0925 10.182 16.7045L12.7193 17.5503C12.7359 17.531 12.7532 17.5122 12.7715 17.4939L17.5448 12.7073C17.9348 12.3162 18.568 12.3153 18.959 12.7053C19.3501 13.0953 19.351 13.7284 18.961 14.1195L14.2903 18.8033L15.2949 21.8172C15.9069 23.6563 16.5932 24.9577 17.2715 25.7792C17.9525 26.6039 18.5332 26.8434 18.9596 26.8434C19.386 26.8434 19.9667 26.6039 20.6477 25.7792C21.326 24.9577 22.0121 23.6568 22.6241 21.8177L26.3968 10.4994C26.3967 10.4997 26.3969 10.4991 26.3968 10.4994C27.1857 8.11325 26.8173 6.6247 26.0936 5.89998Z',
+ viewBox: '0 0 32 32',
ratio: 1,
},
@@ -663,8 +1007,8 @@ export const icons = {
qr: {
path:
- 'M0 0v170h170V0H0zm130 130H40V40h90v90z M65 65h40v40H65zM342 0v170h170V0H342zm130 130h-90V40h90v90z M407 65h40v40h-40zM0 342v170h170V342H0zm130 130H40v-90h90v90z M65 407h40v40H65zM40 197h40v40H40zM120 277v-40H80v40h39v40h40v-40zM280 77h40v40h-40zM200 40h40v77h-40zM240 0h40v40h-40zM240 117v40h-40v40h80v-80zM280 355v-39h-40v-79h-40v80h40v39h40v39h80v-40z M280 197h40v80h-40zM472 236v-39h-73v40h-39v40h40v39h112v-80h-40zm0 40h-72v-39h72v39zM472 355h40v80h-40zM320 277h40v40h-40zM360 395h40v40h-40zM400 355h40v40h-40zM400 435v77h40v-37h32v-40zM200 356h40v76h-40zM320 472v-40h-80v80h40v-40h39v40h40v-40zM120 197h80v40h-80zM0 237h40v80H0z',
- viewBox: '0 0 512 512',
+ 'M2.23145 9.27068C2.23145 9.64308 2.54026 9.95189 2.91265 9.95189C3.28504 9.95189 3.59386 9.64308 3.59386 9.27068V7C3.59386 6.54587 3.6756 6.10989 3.84817 5.69209C4.02074 5.27428 4.26598 4.90189 4.58387 4.58399C4.90177 4.2661 5.27416 4.02087 5.69197 3.84829C6.10977 3.6848 6.54574 3.59398 6.9908 3.59398H9.27056C9.64295 3.59398 9.95177 3.28516 9.95177 2.91277C9.95177 2.54038 9.64295 2.23157 9.27056 2.23157H6.99988C6.33684 2.24973 5.75555 2.34964 5.17425 2.59488C4.59296 2.84011 4.07524 3.18525 3.63019 3.63031C3.18513 4.07536 2.83999 4.59308 2.59475 5.17437C2.34952 5.75567 2.23145 6.37329 2.23145 7V9.27068ZM20.3969 9.27068C20.3969 9.64308 20.7057 9.95189 21.0781 9.95189H21.0872C21.4596 9.95189 21.7684 9.64308 21.7684 9.27068V7C21.7684 6.37329 21.6412 5.75567 21.4051 5.17437C21.1599 4.59308 20.8147 4.07536 20.3697 3.63031C19.9155 3.18525 19.3978 2.84011 18.8165 2.59488C18.2352 2.34964 17.6267 2.23157 16.9909 2.23157H14.7202C14.3478 2.23157 14.039 2.54038 14.039 2.91277C14.039 3.28516 14.3478 3.59398 14.7202 3.59398H17C17.445 3.59398 17.881 3.67572 18.2988 3.84829C18.7166 4.02087 19.089 4.2661 19.4069 4.58399C19.7248 4.90189 19.97 5.27428 20.1426 5.69209C20.3152 6.10989 20.3969 6.54587 20.3969 7V9.27068ZM17 21.7594H15.6285C15.2561 21.7594 14.9473 21.4506 14.9473 21.0782C14.9473 20.7058 15.2561 20.397 15.6285 20.397H17C17.445 20.397 17.881 20.3062 18.2988 20.1427C18.7166 19.9792 19.089 19.7249 19.4069 19.407C19.7248 19.0891 19.97 18.7167 20.1426 18.2989C20.3152 17.8811 20.406 17.4451 20.3969 16.991V15.6286C20.3969 15.2562 20.7057 14.9474 21.0781 14.9474C21.4505 14.9474 21.7593 15.2562 21.7593 15.6286V16.991C21.7593 17.6177 21.6412 18.2353 21.396 18.8166C21.1599 19.3979 20.8056 19.9156 20.3606 20.3698C19.9155 20.8239 19.3887 21.1691 18.8074 21.4052C18.2261 21.6414 17.6176 21.7685 16.9909 21.7685L17 21.7594ZM5.17425 21.3961C5.75555 21.6414 6.36409 21.7594 6.9908 21.7594H9.27056C9.64295 21.7594 9.95177 21.4506 9.95177 21.0782C9.95177 20.7058 9.64295 20.397 9.27056 20.397H6.9908C6.54574 20.397 6.10977 20.3153 5.69197 20.1427C5.27416 19.9701 4.90177 19.7249 4.58387 19.407C4.26598 19.0891 4.02074 18.7167 3.84817 18.2989C3.6756 17.8811 3.59386 17.4451 3.59386 16.991V14.7203C3.59386 14.3479 3.28504 14.0391 2.91265 14.0391C2.54026 14.0391 2.23145 14.3479 2.23145 14.7203V16.991C2.23145 17.6177 2.34952 18.2353 2.59475 18.8076C2.83999 19.3979 3.18513 19.9156 3.63019 20.3607C4.07524 20.8058 4.59296 21.16 5.17425 21.3961ZM7.28145 11.3234C7.08162 11.3234 6.87272 11.2871 6.68198 11.2235C6.40042 11.1326 6.1461 10.9692 5.94628 10.7693C5.74646 10.5695 5.58297 10.3061 5.49215 10.0336C5.40132 9.77024 5.37407 9.49775 5.4104 9.22527V7.49047C5.38315 7.21799 5.4104 6.94551 5.49215 6.68211C5.58297 6.40054 5.74646 6.14623 5.94628 5.94641C6.1461 5.74659 6.4095 5.5831 6.68198 5.49227C6.94538 5.40144 7.22695 5.37419 7.49035 5.41052H9.22515C9.49763 5.38328 9.7792 5.41052 10.0335 5.49227C10.3151 5.5831 10.5694 5.74659 10.7692 5.94641C10.969 6.14623 11.1325 6.40963 11.2234 6.68211C11.3142 6.94551 11.3414 7.21799 11.3051 7.49047V9.22527C11.3323 9.49775 11.3051 9.77024 11.2234 10.0336C11.1325 10.3152 10.969 10.5695 10.7692 10.7693C10.5694 10.9692 10.306 11.1326 10.0335 11.2235C9.77011 11.3143 9.48855 11.3415 9.22515 11.3052H7.49035C7.45283 11.3052 7.41531 11.3076 7.37905 11.31H7.37903H7.37902L7.37897 11.31H7.37896H7.37895H7.37894C7.345 11.3122 7.31216 11.3143 7.28145 11.3143V11.3234ZM7.28145 6.76385C7.22695 6.76385 7.17245 6.76385 7.11796 6.7911C7.04529 6.81835 6.97263 6.86376 6.91814 6.91826C6.86364 6.97275 6.81823 7.04542 6.79098 7.12716C6.76373 7.19982 6.75465 7.28157 6.77281 7.36331V7.46322V9.27977V9.37968C6.76373 9.46142 6.77281 9.54317 6.79098 9.61583C6.80914 9.68849 6.86364 9.76115 6.91814 9.81565C6.97263 9.87015 7.04529 9.91556 7.12704 9.94281C7.1997 9.97006 7.29053 9.97914 7.36319 9.96097H7.4631H9.27965H9.37956C9.4613 9.97006 9.54305 9.96097 9.61571 9.94281C9.68837 9.91556 9.76103 9.87015 9.81553 9.81565C9.87002 9.76115 9.91544 9.68849 9.94269 9.60675C9.96993 9.53408 9.97902 9.45234 9.96085 9.3706V9.27069V7.45414V7.35423C9.96993 7.27248 9.96085 7.19074 9.94269 7.11808C9.92452 7.04542 9.87002 6.97275 9.81553 6.91826C9.76103 6.86376 9.68837 6.81835 9.60662 6.7911C9.53396 6.76385 9.44314 6.75477 9.37047 6.77293H9.27056H7.45402H7.35411H7.28145V6.76385ZM13.9482 11.2235C14.1389 11.2871 14.3478 11.3234 14.5476 11.3234V11.3143C14.584 11.3143 14.618 11.312 14.6521 11.3098C14.6861 11.3075 14.7202 11.3052 14.7565 11.3052H16.4913C16.7547 11.3415 17.0363 11.3143 17.2997 11.2235C17.5722 11.1326 17.8265 10.9782 18.0354 10.7693C18.2352 10.5604 18.3987 10.3061 18.4895 10.0336C18.5713 9.77932 18.5985 9.49775 18.5713 9.22527V7.49047C18.6076 7.21799 18.5804 6.94551 18.4895 6.68211C18.3987 6.40963 18.2443 6.15531 18.0354 5.94641C17.8356 5.74659 17.5813 5.5831 17.2997 5.49227C17.0363 5.41052 16.7638 5.37419 16.4913 5.41052H14.7565C14.4931 5.37419 14.2116 5.40144 13.9482 5.49227C13.6757 5.5831 13.4214 5.7375 13.2125 5.94641C13.0126 6.15531 12.8492 6.40963 12.7583 6.68211C12.6766 6.93642 12.6493 7.21799 12.6766 7.49047V9.22527C12.6403 9.49775 12.6675 9.77024 12.7583 10.0336C12.8492 10.3061 13.0036 10.5604 13.2125 10.7693C13.4123 10.9692 13.6666 11.1326 13.9482 11.2235ZM14.3841 6.7911C14.4386 6.77293 14.4931 6.76385 14.5476 6.76385V6.77293H14.6203H14.7202H16.5367H16.6367C16.7093 6.75477 16.7911 6.76385 16.8728 6.7911C16.9546 6.81835 17.0272 6.85468 17.0817 6.91826C17.1362 6.98184 17.1816 7.0545 17.2089 7.12716C17.227 7.19982 17.2361 7.28157 17.227 7.36331V7.46322V9.27977V9.37968C17.2452 9.46142 17.2361 9.54317 17.2089 9.61583C17.1816 9.69757 17.1362 9.77024 17.0817 9.82473C17.0272 9.87923 16.9546 9.92464 16.8819 9.95189C16.8092 9.97006 16.7275 9.97914 16.6457 9.97006H16.5458H14.7293H14.6294C14.5476 9.97914 14.4659 9.97914 14.3932 9.95189C14.3115 9.92464 14.2388 9.88831 14.1843 9.82473C14.1298 9.76115 14.0844 9.68849 14.0572 9.61583C14.039 9.54317 14.0299 9.46142 14.039 9.37968V9.27977V7.46322V7.36331C14.0208 7.28157 14.0299 7.19982 14.0572 7.12716C14.0844 7.04542 14.1298 6.97275 14.1843 6.91826C14.2388 6.86376 14.3115 6.81835 14.3841 6.7911ZM7.28145 18.5896C7.08162 18.5896 6.87272 18.5532 6.68198 18.4897C6.4095 18.3988 6.15519 18.2353 5.94628 18.0355C5.73738 17.8266 5.58297 17.5723 5.49215 17.2998C5.40132 17.0364 5.37407 16.7639 5.4104 16.4915V14.7567C5.38315 14.4842 5.4104 14.2117 5.49215 13.9483C5.58297 13.6667 5.74646 13.4124 5.94628 13.2126C6.15519 13.0037 6.4095 12.8493 6.68198 12.7585C6.94538 12.6676 7.21787 12.6404 7.49035 12.6767H9.22515C9.49763 12.6495 9.7792 12.6767 10.0335 12.7585C10.306 12.8493 10.5603 13.0128 10.7692 13.2126C10.9781 13.4215 11.1325 13.6758 11.2234 13.9483C11.3142 14.2117 11.3414 14.4842 11.3051 14.7567V16.4915C11.3323 16.7639 11.3051 17.0364 11.2234 17.2998C11.1325 17.5814 10.969 17.8357 10.7692 18.0355C10.5603 18.2444 10.306 18.3988 10.0335 18.4897C9.77011 18.5805 9.49763 18.6077 9.22515 18.5714H7.49035C7.4528 18.5714 7.41526 18.5738 7.37897 18.5762L7.37886 18.5762C7.34495 18.5784 7.31214 18.5805 7.28145 18.5805V18.5896ZM7.28145 14.03C7.22695 14.03 7.17245 14.03 7.11796 14.0573C7.04529 14.0845 6.97263 14.1299 6.90905 14.1844C6.84547 14.2389 6.80914 14.3116 6.7819 14.3933C6.75465 14.466 6.74556 14.5478 6.76373 14.6295V14.7294V16.546V16.6459C6.75465 16.7276 6.76373 16.8094 6.7819 16.882C6.80914 16.9547 6.85456 17.0273 6.90905 17.0818C6.96355 17.1363 7.03621 17.1817 7.11796 17.209C7.19062 17.2362 7.27236 17.2453 7.35411 17.2272H7.45402H9.27056H9.37047C9.45222 17.2362 9.53396 17.2272 9.60662 17.209C9.67929 17.1817 9.75195 17.1363 9.81553 17.0818C9.87911 17.0273 9.91544 16.9547 9.94269 16.8729C9.96993 16.8003 9.97902 16.7185 9.96085 16.6368V16.5369V14.7203V14.6204C9.96993 14.5387 9.96085 14.4569 9.94269 14.3843C9.91544 14.3116 9.87002 14.2389 9.81553 14.1844C9.76103 14.1299 9.68837 14.0845 9.60662 14.0573C9.53396 14.03 9.45222 14.021 9.37047 14.0391H9.27056H7.45402H7.35411H7.28145V14.03ZM16.5004 18.5805C16.564 18.5896 16.6367 18.5896 16.7093 18.5896V18.5987C16.9182 18.5987 17.118 18.5623 17.3088 18.4987C17.5813 18.4079 17.8447 18.2535 18.0445 18.0446C18.2443 17.8357 18.4078 17.5814 18.4986 17.3089C18.5804 17.0546 18.6076 16.773 18.5804 16.5005V14.7748C18.6167 14.5023 18.5894 14.2299 18.4986 13.9665C18.4078 13.694 18.2534 13.4306 18.0445 13.2308C17.8356 13.0309 17.5813 12.8674 17.3088 12.7766C17.0545 12.6949 16.7729 12.6676 16.5004 12.6949H14.7747C14.5022 12.6585 14.2297 12.6858 13.9663 12.7766C13.6939 12.8674 13.4305 13.0219 13.2306 13.2308C13.0308 13.4397 12.8673 13.694 12.7765 13.9665C12.6948 14.2208 12.6675 14.5023 12.6948 14.7748V16.5005C12.6584 16.773 12.6857 17.0455 12.7765 17.3089C12.8673 17.5814 13.0217 17.8448 13.2306 18.0446C13.4395 18.2444 13.6939 18.4079 13.9663 18.4987C14.2207 18.5805 14.5022 18.6077 14.7747 18.5805H16.5004ZM16.5367 17.2181H14.7202H14.6203C14.5385 17.2362 14.4568 17.2272 14.3841 17.1999C14.3024 17.1727 14.2297 17.1363 14.1752 17.0728C14.1207 17.0092 14.0753 16.9456 14.0481 16.8639C14.0299 16.7912 14.0208 16.7094 14.0299 16.6277V16.5278V14.7112V14.6113C14.0117 14.5296 14.0208 14.4478 14.0481 14.3752C14.0753 14.2934 14.1117 14.2208 14.1752 14.1663C14.2388 14.1118 14.3024 14.0664 14.3841 14.0391C14.4568 14.021 14.5385 14.0119 14.6203 14.021H14.7202H16.5367H16.6367C16.7184 14.0028 16.8001 14.0119 16.8728 14.0391C16.9546 14.0664 17.0272 14.1027 17.0817 14.1663C17.1362 14.2299 17.1816 14.2934 17.2089 14.3752C17.227 14.4478 17.2361 14.5296 17.227 14.6113V14.7112V16.5278V16.6277C17.2452 16.7094 17.2361 16.7912 17.2089 16.8639C17.1816 16.9456 17.1453 17.0183 17.0817 17.0728C17.0181 17.1272 16.9546 17.1727 16.8728 17.1999C16.8001 17.2181 16.7184 17.2272 16.6367 17.2181H16.5367Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
users: {
@@ -675,14 +1019,14 @@ export const icons = {
},
upload: {
path:
- 'M12.8,2a1.2,1.2,0,0,0-1.2,1.2v9.6H7.4a.6.6,0,0,0-.424,1.025q.018.018.038.035l6.129,5.78.04.038a1.2,1.2,0,0,0,1.641,0l.016-.014.012-.014,6.127-5.777.035-.033.009-.007.007-.007a.6.6,0,0,0-.424-1.025h-4.2V3.2a1.2,1.2,0,0,0-1.2-1.2H12.8ZM3.2,23.609a1.2,1.2,0,1,0,0,2.4H24.809a1.2,1.2,0,1,0,0-2.4Z',
- viewBox: '0 0 28.01 26.01',
+ 'M20 5.15234C20.6213 5.15234 21.125 5.65602 21.125 6.27734V23.5613L26.7045 17.9818C27.1438 17.5424 27.8562 17.5424 28.2955 17.9818C28.7348 18.4211 28.7348 19.1334 28.2955 19.5728L20.7955 27.0728C20.3562 27.5121 19.6438 27.5121 19.2045 27.0728L11.7045 19.5728C11.2652 19.1334 11.2652 18.4211 11.7045 17.9818C12.1438 17.5424 12.8562 17.5424 13.2955 17.9818L18.875 23.5613V6.27734C18.875 5.65602 19.3787 5.15234 20 5.15234ZM5 24.5002C5.62132 24.5002 6.125 25.0038 6.125 25.6252C6.125 28.551 7.97682 31.0848 10.6819 31.6413C16.8291 32.9058 23.1709 32.9058 29.3181 31.6413C32.0232 31.0848 33.875 28.551 33.875 25.6252C33.875 25.0038 34.3787 24.5002 35 24.5002C35.6213 24.5002 36.125 25.0038 36.125 25.6252C36.125 29.4505 33.6791 33.0413 29.7714 33.8451C23.3252 35.1712 16.6749 35.1712 10.2286 33.8451C6.32088 33.0413 3.875 29.4505 3.875 25.6252C3.875 25.0038 4.37868 24.5002 5 24.5002Z',
+ viewBox: '0 0 40 40',
ratio: 1,
},
forwardArrow: {
path:
- 'M19.773,2A17.773,17.773,0,1,0,37.546,19.773,17.793,17.793,0,0,0,19.773,2ZM21.55,26.882V21.55H10.886V18H21.55V12.664l7.109,7.109Z',
- viewBox: '0 0 37.546 54.546',
+ 'M52.3309 29.6452C52.3309 42.1716 42.1709 52.3317 29.6445 52.3317C17.1181 52.3317 6.95801 42.1716 6.95801 29.6452C6.95801 17.1188 17.1181 6.95874 29.6445 6.95874C42.1709 6.95874 52.3309 17.1188 52.3309 29.6452ZM48.5448 29.6452C48.5448 19.2032 40.0865 10.7449 29.6445 10.7449C19.2025 10.7449 10.7441 19.2032 10.7441 29.6452C10.7441 40.0872 19.2025 48.5456 29.6445 48.5456C40.0865 48.5456 48.5448 40.0872 48.5448 29.6452ZM32.8671 38.5457L40.4293 30.9835C41.1744 30.2384 41.1744 29.0502 40.4293 28.305L32.8671 20.7429C32.1321 20.0078 30.9338 20.0078 30.1987 20.7429C29.4637 21.488 29.4637 22.6762 30.1987 23.4214L34.5286 27.7512H20.1897C19.1526 27.7512 18.3067 28.5971 18.3067 29.6443C18.3067 30.6915 19.1526 31.5373 20.1897 31.5373H34.5286L30.1987 35.8672C29.4637 36.6123 29.4637 37.8005 30.1987 38.5457C30.5713 38.9082 31.0546 39.0995 31.538 39.0995C32.0213 39.0995 32.5046 38.9082 32.8671 38.5457Z',
+ viewBox: '0 0 58 58',
ratio: 1,
},
backArrow: {
@@ -698,6 +1042,12 @@ export const icons = {
fill: '#ff3c3c',
ratio: 1,
},
+ warningCircle: {
+ path:
+ 'M30.8966 16C30.8966 24.2271 24.2271 30.8966 16 30.8966C7.77286 30.8966 1.10345 24.2271 1.10345 16C1.10345 7.77286 7.77286 1.10345 16 1.10345C24.2271 1.10345 30.8966 7.77286 30.8966 16ZM32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16ZM14.4478 9.03473C14.7782 8.43816 15.3893 8.14014 16.0005 8.14014C16.6116 8.14014 17.2228 8.43816 17.5532 9.03473L23.6403 20.0302C24.2822 21.19 23.4131 22.6664 22.0876 22.6664H9.91414C8.58862 22.6664 7.71957 21.19 8.36146 20.0302L14.4478 9.03473ZM16.5211 9.60605C16.4001 9.3876 16.2004 9.27893 16.0005 9.27893C15.8005 9.27893 15.6008 9.3876 15.4798 9.60605L9.39351 20.6015C9.16021 21.0231 9.43348 21.4869 9.91414 21.4869H22.0876C22.5682 21.4869 22.8415 21.0231 22.6082 20.6015L16.5211 9.60605ZM15.5772 12.6147C15.6861 12.5026 15.835 12.4382 15.9913 12.4357C16.0702 12.4345 16.1486 12.4491 16.2217 12.4787C16.2949 12.5084 16.3614 12.5524 16.4173 12.6082C16.4731 12.6639 16.5172 12.7304 16.5469 12.8035C16.5766 12.8766 16.5914 12.955 16.5902 13.0339V16.9656C16.5913 17.0437 16.5769 17.1213 16.5477 17.1938C16.5186 17.2663 16.4753 17.3323 16.4205 17.388C16.3656 17.4436 16.3002 17.4878 16.2281 17.518C16.156 17.5482 16.0786 17.5637 16.0005 17.5637C15.9223 17.5637 15.8449 17.5482 15.7728 17.518C15.7007 17.4878 15.6354 17.4436 15.5805 17.388C15.5256 17.3323 15.4824 17.2663 15.4532 17.1938C15.4241 17.1213 15.4096 17.0437 15.4107 16.9656V13.0339C15.4085 12.8777 15.4684 12.7269 15.5772 12.6147ZM15.4445 18.9651C15.5919 18.8176 15.7919 18.7348 16.0005 18.7348C16.209 18.7348 16.409 18.8176 16.5565 18.9651C16.704 19.1126 16.7868 19.3126 16.7868 19.5211C16.7868 19.7297 16.704 19.9297 16.5565 20.0771C16.409 20.2246 16.209 20.3074 16.0005 20.3074C15.7919 20.3074 15.5919 20.2246 15.4445 20.0771C15.297 19.9297 15.2142 19.7297 15.2142 19.5211C15.2142 19.3126 15.297 19.1126 15.4445 18.9651Z',
+ viewBox: '0 0 32 32',
+ ratio: 1,
+ },
walletSetting: {
path:
'M16.816,2l-.962,4.93a15.6,15.6,0,0,0-4.388,2.522L6.73,7.819l-4.556,7.9,3.789,3.293a14.527,14.527,0,0,0,0,5.052L2.174,27.357l4.556,7.9,4.736-1.633a15.6,15.6,0,0,0,4.388,2.522l.962,4.93h9.112l.962-4.93a15.6,15.6,0,0,0,4.388-2.522l4.736,1.633,4.556-7.9-3.789-3.293a14.527,14.527,0,0,0,0-5.052l3.789-3.293-4.556-7.9L31.278,9.453A15.6,15.6,0,0,0,26.89,6.93L25.928,2Zm4.556,11.723a7.815,7.815,0,1,1-7.815,7.815A7.815,7.815,0,0,1,21.372,13.723Z',
@@ -706,26 +1056,26 @@ export const icons = {
},
wallet: {
path:
- 'M20.566,5.676H4.032a2.128,2.128,0,0,1-2.018-.957L19.867,2.838v-.7A2.139,2.139,0,0,0,17.728,0L2.14,2.9C.843,3.134,0,3.858,0,5.037V20.566a2.139,2.139,0,0,0,2.14,2.14H20.566a2.139,2.139,0,0,0,2.14-2.14V7.816A2.139,2.139,0,0,0,20.566,5.676ZM18.921,16.083a1.892,1.892,0,1,1,1.892-1.892A1.891,1.891,0,0,1,18.921,16.083Z',
- viewBox: '0 0 22.706 22.706',
+ 'M21.7996 12.6161C22.0236 12.6961 22.2236 12.8241 22.3916 12.9921V12.9841C22.6876 13.2881 22.8556 13.6881 22.8556 14.1201V16.1841C22.8556 16.6161 22.6876 17.0161 22.3916 17.3201C22.2236 17.4881 22.0236 17.6161 21.7996 17.6961V18.3921C21.7996 19.5601 21.3436 20.6481 20.5196 21.4721C19.6956 22.2961 18.5996 22.7521 17.4396 22.7521H5.95961C4.79961 22.7521 3.70361 22.2961 2.87961 21.4721C2.05561 20.6481 1.59961 19.5521 1.59961 18.3921V7.99214C1.59961 7.28814 1.80761 6.60814 2.20761 6.03214C2.60761 5.44814 3.16761 5.00814 3.82361 4.76014L11.7676 1.76014C12.1436 1.61614 12.5516 1.56814 12.9516 1.61614C13.3516 1.66414 13.7436 1.80814 14.0716 2.04014C14.3996 2.27214 14.6716 2.57614 14.8636 2.93614C15.0556 3.29614 15.1516 3.69614 15.1516 4.09614V7.30414H17.4396C18.5996 7.30414 19.6956 7.76014 20.5196 8.58414C21.3436 9.40814 21.7996 10.5041 21.7996 11.6641V12.6161ZM21.5356 16.4721C21.6156 16.3921 21.6556 16.2881 21.6556 16.1761L21.6476 16.1921V14.1361C21.6476 14.0241 21.6076 13.9201 21.5276 13.8401C21.4476 13.7601 21.3436 13.7121 21.2316 13.7121H19.1676C19.1434 13.7073 19.1162 13.7113 19.0896 13.7151C19.0724 13.7177 19.0554 13.7201 19.0396 13.7201C18.9436 13.7281 18.8476 13.7441 18.7516 13.7761C18.7316 13.7841 18.7096 13.7901 18.6876 13.7961C18.6656 13.8021 18.6436 13.8081 18.6236 13.8161C18.4476 13.8881 18.2876 13.9921 18.1596 14.1361H18.1516C18.0076 14.2801 17.8876 14.4561 17.8156 14.6561C17.7356 14.8481 17.7116 15.0641 17.7356 15.2721C17.7756 15.6321 17.9596 15.9761 18.2476 16.2241C18.4236 16.3841 18.6396 16.4881 18.8636 16.5441C18.9996 16.5761 19.1356 16.6001 19.2796 16.6001H21.2556C21.3516 16.6001 21.4556 16.5521 21.5356 16.4721ZM3.19961 6.71214C2.93561 7.08814 2.79961 7.53614 2.79961 7.99214V8.68014C2.81561 8.66414 2.82761 8.64814 2.83961 8.63214C2.85161 8.61614 2.86361 8.60014 2.87961 8.58414C3.70361 7.76014 4.79961 7.30414 5.95961 7.30414H13.9516V4.09614C13.9516 3.88814 13.8956 3.68014 13.7996 3.49614C13.7036 3.31214 13.5596 3.15214 13.3916 3.03214C13.2156 2.91214 13.0156 2.83214 12.8076 2.80814C12.5996 2.78414 12.3836 2.80814 12.1916 2.88014L4.25561 5.88814C3.82361 6.04814 3.46361 6.33614 3.19961 6.71214ZM19.6716 20.6241C20.2716 20.0321 20.5996 19.2321 20.5996 18.3921V17.7921H19.2476C19.1116 17.7921 18.9756 17.7761 18.8396 17.7521H18.8076C18.3196 17.6721 17.8556 17.4641 17.4716 17.1281C16.9596 16.6881 16.6316 16.0721 16.5516 15.4001C16.5116 14.9921 16.5596 14.5921 16.6956 14.2321C16.8316 13.8721 17.0476 13.5361 17.3276 13.2641C17.5596 13.0241 17.8556 12.8321 18.1756 12.6961C18.1916 12.6801 18.2076 12.6801 18.2236 12.6801C18.5116 12.5681 18.8156 12.5121 19.1196 12.5041H20.5996V11.6641C20.5996 10.8241 20.2716 10.0321 19.6716 9.43214C19.0716 8.83214 18.2796 8.50414 17.4396 8.50414H5.95961C5.11961 8.50414 4.32761 8.83214 3.72761 9.43214C3.12761 10.0241 2.79961 10.8241 2.79961 11.6641V18.3921C2.79961 19.2321 3.13561 20.0241 3.72761 20.6241C4.31961 21.2241 5.11161 21.5521 5.95961 21.5521H17.4396C18.2796 21.5521 19.0716 21.2161 19.6716 20.6241ZM6.70361 11.5521H13.7036C14.0316 11.5521 14.3036 11.8241 14.3036 12.1521C14.3036 12.4801 14.0316 12.7521 13.7036 12.7521H6.70361C6.37561 12.7521 6.10361 12.4801 6.10361 12.1521C6.10361 11.8241 6.37561 11.5521 6.70361 11.5521Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
chat: {
path:
- 'M20.962,11.042h-1.361V5.991c0,0,0-0.001,0-0.001c0.021-1.32-1.031-2.408-2.352-2.43H3.393L0,0v13.808c0,0,0,0.001,0,0.001c-0.021,1.32,1.031,2.408,2.352,2.43h3.121v4.082c0.035,1.468,1.251,2.631,2.72,2.6h13.949c1.469,0.033,2.686-1.131,2.721-2.6V7.304L20.962,11.042z M23.829,20.322c-0.037,0.896-0.791,1.593-1.687,1.561H8.193c-0.895,0.031-1.645-0.666-1.682-1.561v-6.684v-0.002c0.037-0.893,0.789-1.587,1.682-1.556h13.184l2.452-2.344V20.322z',
- viewBox: '0 0 24.862 22.922',
+ 'M14.4169 5.33259C14.0275 5.27686 13.6178 5.25 13.19 5.25C13.19 5.25 13.19 5.25 13.19 5.25H6.92377C7.10823 4.50211 7.44187 3.96223 7.88833 3.58266C8.49907 3.06344 9.43126 2.75 10.79 2.75H17.19C18.6688 2.75 19.6422 3.12029 20.251 3.72908C20.8598 4.33787 21.23 5.31121 21.23 6.79001V10.79C21.23 12.1544 20.9163 13.086 20.3978 13.695C20.0185 14.1404 19.4787 14.4728 18.73 14.6567V10.79C18.73 9.0788 18.3003 7.65714 17.3116 6.66842C16.5701 5.92689 15.585 5.49979 14.4169 5.33259ZM18.6113 16.2111C19.8186 16.0082 20.8202 15.5126 21.5398 14.6675C22.3687 13.694 22.73 12.3657 22.73 10.79V6.79001C22.73 5.0788 22.3003 3.65714 21.3116 2.66842C20.3229 1.67971 18.9012 1.25 17.19 1.25H10.79C9.21883 1.25 7.89102 1.61156 6.91675 2.43984C6.07075 3.15908 5.5726 4.16066 5.36906 5.36902C4.16068 5.57256 3.15909 6.07071 2.43984 6.91672C1.61156 7.89098 1.25 9.21879 1.25 10.79V14.79C1.25 16.8545 1.65627 18.3338 2.70544 19.2499C3.72941 20.1441 5.1827 20.33 6.79001 20.33H7.16804C7.1769 20.3328 7.19004 20.3378 7.20544 20.3456C7.22253 20.3542 7.23609 20.3631 7.24465 20.3695L8.42948 21.9493C8.81345 22.4633 9.37073 22.7825 9.99001 22.7825C10.6093 22.7825 11.1671 22.4627 11.551 21.9486L12.75 20.35C12.7531 20.3459 12.759 20.3403 12.7679 20.3358C12.7769 20.3313 12.7848 20.33 12.79 20.33H13.19C14.76 20.33 16.088 19.9715 17.0628 19.1444C17.9098 18.4256 18.408 17.4231 18.6113 16.2111ZM14.551 6.87788C14.1541 6.79445 13.7024 6.75 13.19 6.75C13.19 6.75 13.19 6.75 13.19 6.75H6.79004M14.551 6.87788C15.2995 7.03523 15.8531 7.33123 16.2509 7.72908C16.8597 8.33787 17.23 9.31121 17.23 10.79V14.79C17.23 15.0323 17.2206 15.2488 17.1958 15.447C17.1946 15.4568 17.1935 15.4665 17.1927 15.4763C17.0893 16.6904 16.6925 17.4913 16.0922 18.0006C15.482 18.5185 14.55 18.83 13.19 18.83H12.79C12.3039 18.83 11.8416 19.0611 11.55 19.45L10.349 21.0514C10.203 21.247 10.0655 21.2825 9.99001 21.2825C9.91454 21.2825 9.77703 21.247 9.63101 21.0514L8.43001 19.45L8.42576 19.4444C8.27317 19.2449 8.06697 19.1003 7.88205 19.0069C7.69761 18.9137 7.45271 18.83 7.19 18.83H6.79001C5.20732 18.83 4.2656 18.6209 3.69207 18.1201C3.14374 17.6413 2.75 16.7255 2.75 14.79V10.79C2.75 9.43122 3.06344 8.49903 3.58266 7.8883C4.09351 7.28741 4.89478 6.89088 6.1027 6.78739C6.1031 6.78735 6.1035 6.78732 6.1039 6.78728C6.11363 6.78645 6.12334 6.78543 6.13303 6.78422C6.1826 6.77802 6.2333 6.77279 6.28526 6.76842M12.4951 13.25C12.4951 12.6977 12.9428 12.25 13.4951 12.25H13.5041C14.0564 12.25 14.5041 12.6977 14.5041 13.25C14.5041 13.8023 14.0564 14.25 13.5041 14.25H13.4951C12.9428 14.25 12.4951 13.8023 12.4951 13.25ZM8.99512 13.25C8.99512 12.6977 9.44283 12.25 9.99512 12.25H10.0041C10.5564 12.25 11.0041 12.6977 11.0041 13.25C11.0041 13.8023 10.5564 14.25 10.0041 14.25H9.99512C9.44283 14.25 8.99512 13.8023 8.99512 13.25ZM5.49512 13.25C5.49512 12.6977 5.94283 12.25 6.49512 12.25H6.50412C7.0564 12.25 7.50412 12.6977 7.50412 13.25C7.50412 13.8023 7.0564 14.25 6.50412 14.25H6.49512C5.94283 14.25 5.49512 13.8023 5.49512 13.25Z',
+ viewBox: '0 0 24 24',
ratio: 1,
},
walletBackArrow: {
path:
- 'M22,44c12.15,0,22-9.85,22-22S34.15,0,22,0,0,9.85,0,22s9.85,22,22,22ZM11.54,20.7l7.33-7.33c.73-.71,1.89-.69,2.59,.04,.69,.71,.69,1.84,0,2.56l-4.2,4.2h13.91c1.01,0,1.83,.82,1.83,1.83s-.82,1.83-1.83,1.83h-13.91l4.2,4.2c.73,.71,.74,1.87,.04,2.59-.71,.73-1.87,.74-2.59,.04l-.04-.04-7.33-7.32c-.72-.71-.72-1.87-.01-2.59h.01Z',
- viewBox: '0 0 44 44',
+ 'M9.28125 0.78125L0.78125 9.28125L0.09375 10L0.78125 10.7188L9.28125 19.2188L10.7188 17.7812L3.9375 11H24V9H3.9375L10.7188 2.21875L9.28125 0.78125Z',
+ viewBox: '0 0 24 20',
ratio: 1,
},
sending: {
path:
- 'M11.5,0 L12.5,0 L12.5,1 L11.5,1 L11.5,0 Z M11.5,11 L12.5,11 L12.5,12 L11.5,12 L11.5,11 Z M6,5.5 L7,5.5 L7,6.5 L6,6.5 L6,5.5 Z M17,5.5 L18,5.5 L18,6.5 L17,6.5 L17,5.5 Z M16.9461524,2.5669873 L17.4461524,3.4330127 L16.580127,3.9330127 L16.080127,3.0669873 L16.9461524,2.5669873 Z M7.41987298,8.0669873 L7.91987298,8.9330127 L7.05384758,9.4330127 L6.55384758,8.5669873 L7.41987298,8.0669873 Z M9.4330127,0.553847577 L9.9330127,1.41987298 L9.0669873,1.91987298 L8.5669873,1.05384758 L9.4330127,0.553847577 Z M14.9330127,10.080127 L15.4330127,10.9461524 L14.5669873,11.4461524 L14.0669873,10.580127 L14.9330127,10.080127 Z M14.5669873,0.553847577 L15.4330127,1.05384758 L14.9330127,1.91987298 L14.0669873,1.41987298 L14.5669873,0.553847577 Z M9.0669873,10.080127 L9.9330127,10.580127 L9.4330127,11.4461524 L8.5669873,10.9461524 L9.0669873,10.080127 Z M7.05384758,2.5669873 L7.91987298,3.0669873 L7.41987298,3.9330127 L6.55384758,3.4330127 L7.05384758,2.5669873 Z M16.580127,8.0669873 L17.4461524,8.5669873 L16.9461524,9.4330127 L16.080127,8.9330127 L16.580127,8.0669873 Z',
- viewBox: '6 0 12 12',
+ 'M11 22.0001C4.93432 22.0001 0 17.0658 0 11C0 4.93432 4.93432 0 11 0C17.0658 0 22.0001 4.93432 22.0001 11C22.0001 17.0658 17.0658 22.0001 11 22.0001ZM11 1.91305C5.98924 1.91305 1.91305 5.98924 1.91305 11C1.91305 16.0108 5.98924 20.087 11 20.087C16.0108 20.087 20.087 16.0108 20.087 11C20.087 5.98924 16.0108 1.91305 11 1.91305Z',
+ viewBox: '0 0 22 22',
ratio: 1,
},
doubleCheckCircle: {
@@ -844,6 +1194,18 @@ export const icons = {
viewBox: '0 0 9.63 7.7',
ratio: 1,
},
+ tickBoxCurve: {
+ path:
+ 'M2.49058 2.49058C3.63755 1.34362 5.34278 0.916748 7.50008 0.916748H12.5001C14.6574 0.916748 16.3626 1.34362 17.5096 2.49058C18.6565 3.63755 19.0834 5.34278 19.0834 7.50008V12.5001C19.0834 14.6574 18.6565 16.3626 17.5096 17.5096C16.3626 18.6565 14.6574 19.0834 12.5001 19.0834H7.50008C5.34278 19.0834 3.63755 18.6565 2.49058 17.5096C1.34362 16.3626 0.916748 14.6574 0.916748 12.5001V7.50008C0.916748 5.34278 1.34362 3.63755 2.49058 2.49058ZM3.55124 3.55124C2.82321 4.27928 2.41675 5.49072 2.41675 7.50008V12.5001C2.41675 14.5094 2.82321 15.7209 3.55124 16.4489C4.27928 17.1769 5.49072 17.5834 7.50008 17.5834H12.5001C14.5094 17.5834 15.7209 17.1769 16.4489 16.4489C17.1769 15.7209 17.5834 14.5094 17.5834 12.5001V7.50008C17.5834 5.49072 17.1769 4.27928 16.4489 3.55124C15.7209 2.82321 14.5094 2.41675 12.5001 2.41675H7.50008C5.49072 2.41675 4.27928 2.82321 3.55124 3.55124ZM14.0725 7.1119C14.3652 7.40505 14.3648 7.87992 14.0716 8.17256L9.34661 12.8892C9.05364 13.1817 8.57913 13.1815 8.28642 12.8888L5.92808 10.5304C5.63519 10.2375 5.63519 9.76266 5.92808 9.46976C6.22098 9.17687 6.69585 9.17687 6.98875 9.46976L8.81722 11.2982L13.0119 7.11096C13.305 6.81833 13.7799 6.81875 14.0725 7.1119Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ twoMember: {
+ path:
+ 'M7.6001 9.7999C7.5001 9.7999 7.4001 9.7999 7.4001 9.7999C6.1001 9.7999 5.0001 9.2999 4.2001 8.3999C3.5001 7.5999 3.0001 6.3999 3.0001 5.2999C3.0001 4.0999 3.5001 2.9999 4.3001 2.1999C5.1001 1.3999 6.2001 0.899902 7.4001 0.899902C8.6001 0.899902 9.7001 1.3999 10.5001 2.1999C11.3001 2.9999 11.8001 4.0999 11.8001 5.2999C11.8001 6.4999 11.4001 7.5999 10.6001 8.3999C9.9001 9.2999 8.8001 9.7999 7.6001 9.7999ZM7.5001 2.3999C6.7001 2.3999 6.0001 2.6999 5.4001 3.1999C4.9001 3.7999 4.6001 4.4999 4.5001 5.2999C4.5001 6.0999 4.8001 6.7999 5.3001 7.3999C5.8001 7.9999 6.6001 8.2999 7.3001 8.2999C7.3001 8.2999 7.4001 8.2999 7.6001 8.2999C8.4001 8.2999 9.1001 7.8999 9.6001 7.3999C10.1001 6.7999 10.4001 6.0999 10.4001 5.2999C10.4001 4.4999 10.1001 3.7999 9.5001 3.1999C9.0001 2.6999 8.3001 2.3999 7.5001 2.3999ZM13.7001 9.8999H13.8001C14.8001 9.8999 15.6001 9.4999 16.3001 8.7999C17.0001 8.0999 17.3001 7.1999 17.3001 6.2999C17.3001 5.2999 16.9001 4.3999 16.2001 3.6999C15.5001 2.9999 14.6001 2.5999 13.6001 2.5999C13.2001 2.5999 12.8001 2.8999 12.8001 3.3999C12.8001 3.8999 13.1001 4.1999 13.6001 4.1999C14.2001 4.1999 14.7001 4.3999 15.1001 4.7999C15.5001 5.1999 15.7001 5.7999 15.7001 6.2999C15.7001 6.8999 15.5001 7.3999 15.1001 7.7999C14.7001 8.1999 14.2001 8.3999 13.7001 8.4999C13.6001 8.4999 13.5001 8.4999 13.4001 8.4999C13.0001 8.4999 12.7001 8.8999 12.8001 9.2999C12.9001 9.5999 13.2001 9.8999 13.7001 9.8999ZM7.6001 18.8999C6.0001 18.8999 4.4001 18.4999 3.0001 17.5999C1.8001 16.7999 1.1001 15.6999 1.1001 14.4999C1.1001 13.2999 1.8001 12.1999 2.9001 11.3999C5.7001 9.7999 9.3001 9.7999 12.0001 11.3999C13.2001 12.1999 13.9001 13.2999 13.9001 14.4999C13.9001 15.6999 13.2001 16.7999 12.1001 17.5999C10.8001 18.4999 9.2001 18.8999 7.6001 18.8999ZM3.9001 12.7999C3.1001 13.2999 2.7001 13.9999 2.7001 14.5999C2.7001 15.2999 3.1001 15.8999 3.9001 16.3999C6.1001 17.6999 9.2001 17.6999 11.4001 16.3999C12.1001 15.8999 12.5001 15.2999 12.5001 14.5999C12.5001 13.8999 12.1001 13.2999 11.3001 12.7999C9.2001 11.3999 6.2001 11.3999 3.9001 12.7999ZM15.4001 17.3999C16.1001 17.2999 16.8001 16.9999 17.3001 16.5999C17.7001 16.2999 18.0001 15.9999 18.3001 15.5999C18.5001 15.1999 18.7001 14.6999 18.7001 14.1999C18.7001 13.6999 18.6001 13.1999 18.3001 12.7999C18.1001 12.3999 17.7001 11.9999 17.4001 11.7999C16.8001 11.3999 16.2001 11.0999 15.5001 10.9999C15.1001 10.8999 14.7001 11.1999 14.6001 11.5999C14.5001 11.9999 14.8001 12.3999 15.2001 12.4999C15.7001 12.5999 16.1001 12.7999 16.6001 13.0999C16.8001 13.1999 17.0001 13.3999 17.1001 13.5999C17.2001 13.7999 17.3001 13.9999 17.3001 14.2999C17.3001 14.5999 17.2001 14.7999 17.1001 14.9999C17.0001 15.1999 16.8001 15.3999 16.6001 15.4999C16.2001 15.7999 15.7001 15.9999 15.3001 16.0999C14.9001 16.1999 14.6001 16.5999 14.7001 16.9999C14.8001 17.3999 15.1001 17.5999 15.4001 17.5999C15.3001 17.3999 15.4001 17.3999 15.4001 17.3999Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
profileCamera: {
path:
'M11.588,2,7.162,2,5.809,3.475H3.475A1.48,1.48,0,0,0,2,4.95V13.8a1.48,1.48,0,0,0,1.475,1.475h11.8A1.48,1.48,0,0,0,16.753,13.8V4.95a1.48,1.48,0,0,0-1.475-1.475H12.949Zm-.647,1.475L12.3,4.95h2.975V13.8H3.475V4.95H6.457L7.812,3.476ZM9.376,5.688a3.688,3.688,0,1,0,3.688,3.688A3.689,3.689,0,0,0,9.376,5.688Zm0,1.475A2.213,2.213,0,1,1,7.163,9.376,2.213,2.213,0,0,1,9.376,7.163Z',
@@ -856,10 +1218,131 @@ export const icons = {
viewBox: '0 0 488.3 488.3',
ratio: 1,
},
+ videoCall: {
+ path:
+ 'M6.99996 2.0001C4.25033 2.0001 2 4.25043 2 7.00006V20.9999C2 23.7496 4.25033 25.9999 6.99996 25.9999H11.2343C11.5951 26.0051 11.9305 25.8155 12.1121 25.5041C12.294 25.1926 12.294 24.8072 12.1121 24.4957C11.9305 24.1843 11.5951 23.9947 11.2343 23.9999H6.99996C5.33087 23.9999 3.99998 22.669 3.99998 20.9999V7.00006C3.99998 5.33098 5.33087 4.00009 6.99996 4.00009H15.5454C15.9061 4.0053 16.2415 3.81571 16.4235 3.50426C16.6051 3.1928 16.6051 2.80739 16.4235 2.49593C16.2415 2.18448 15.9061 1.9949 15.5454 2.0001H6.99996ZM19.4321 2.0001C19.0714 1.9949 18.736 2.18448 18.5544 2.49593C18.3724 2.80739 18.3724 3.1928 18.5544 3.50426C18.736 3.81571 19.0714 4.0053 19.4321 4.00009H20.9998C22.6689 4.00009 23.9998 5.33098 23.9998 7.00006V18C24.6057 18 25.2153 18.1602 25.7551 18.485L25.9998 18.6323V7.00006C25.9998 4.25043 23.7495 2.0001 20.9998 2.0001H19.4321ZM16.9357 23.9999H15.177C14.8162 23.9947 14.4808 24.1843 14.2992 24.4957C14.1173 24.8072 14.1173 25.1926 14.2992 25.5041C14.4808 25.8155 14.8162 26.0051 15.177 25.9999H16.9359L17.189 25.0003L16.9357 23.9999ZM9.6965 6.25067C7.7795 6.16803 7.00277 7.65344 7.00277 8.08538C7.00277 8.10156 7.00158 8.12737 6.99996 8.16236C6.9716 8.77472 6.81302 12.199 10.65 16.0357C14.4867 19.8728 17.9118 19.714 18.5234 19.6857C18.5584 19.684 18.5841 19.6828 18.6002 19.6828C19.0322 19.6828 20.5176 18.9068 20.4349 16.9891C20.4204 16.6509 20.2308 16.3409 19.9388 16.1544C19.6061 15.9409 19.0895 15.6103 18.4166 15.1805C17.8027 14.7884 17.0103 14.7607 16.3697 15.1114L15.7864 15.36C15.4833 15.5735 15.0947 15.6159 14.7527 15.4732C14.2201 15.2506 13.4013 14.8187 12.634 14.0516C11.867 13.2843 11.435 12.4655 11.2125 11.9329C11.0691 11.5909 11.1121 11.2024 11.3257 10.8992L11.5743 10.3159C11.925 9.67599 11.8979 8.88294 11.5052 8.26906C11.1852 7.76876 10.9205 7.35513 10.7183 7.03913L10.5312 6.74685C10.3441 6.45484 10.034 6.26526 9.6965 6.25067ZM22.7597 19.3419C23.1386 19.1139 23.5691 19 23.9996 19C24.4301 19 24.8606 19.1139 25.2396 19.3419L25.7857 19.6705L26.4269 19.7159C27.3163 19.7791 28.0953 20.3288 28.432 21.1296H28.4333L28.6747 21.7069L29.1656 22.1082L29.1667 22.1092C29.847 22.6673 30.1449 23.5547 29.9321 24.3944V24.3957L29.7785 25.0003L29.9321 25.6048V25.6061C30.1452 26.4455 29.8477 27.3334 29.1667 27.8913L28.6747 28.2936L28.4333 28.8709H28.432C28.0953 29.6717 27.3168 30.2212 26.4269 30.2833L25.7857 30.3288L25.2396 30.6583H25.2383C24.4804 31.1136 23.5183 31.1141 22.761 30.6583L22.2135 30.3288L21.5723 30.2833C20.6829 30.2207 19.904 29.6712 19.5672 28.8709L19.3248 28.2936L18.8336 27.8913C18.1518 27.3334 17.8543 26.4448 18.0684 25.6048L18.0671 25.6061L18.2205 25.0003L18.0671 24.3944L18.0684 24.3957C17.8546 23.5555 18.1525 22.6673 18.8336 22.1092V22.1082L19.3248 21.7069L19.5672 21.1296C19.904 20.3288 20.6829 19.7791 21.5723 19.7159H21.5736L22.2146 19.6705L22.7597 19.3419ZM26.7808 23.4674C26.6339 23.3252 26.4417 23.2547 26.2498 23.2547C26.0578 23.2547 25.8654 23.3252 25.7188 23.4674L23.3996 25.7175L22.2734 24.6252C21.9799 24.3414 21.5054 24.3406 21.2127 24.6252C20.9199 24.9098 20.9199 25.3697 21.2127 25.6538L22.8685 27.2607C23.0152 27.4026 23.2076 27.4731 23.3996 27.4731C23.5915 27.4731 23.784 27.4026 23.9306 27.2607L26.7808 24.4969C27.0736 24.2128 27.0741 23.7512 26.7808 23.4674Z',
+ viewBox: '0 0 32 32',
+ ratio: 1,
+ },
+ video: {
+ path:
+ 'M3.7985 1.37053C3.03441 1.40076 2.33301 2.02415 2.33301 2.86402V13.1362C2.33301 14.256 3.58059 14.9907 4.56022 14.448L13.8298 9.31194C14.8376 8.75351 14.8376 7.24667 13.8298 6.68824L4.56022 1.55217C4.31531 1.41649 4.0532 1.36045 3.7985 1.37053ZM3.81022 2.35556C3.89642 2.35519 3.98677 2.37753 4.07519 2.42652L13.3454 7.56259C13.7116 7.76549 13.7116 8.23468 13.3454 8.43759L4.07519 13.5737C3.72149 13.7696 3.33301 13.5403 3.33301 13.1362V2.86402C3.33301 2.66194 3.42991 2.50396 3.57129 2.42066C3.64198 2.37901 3.72402 2.35593 3.81022 2.35556Z',
+ viewBox: '0 0 16 16',
+ ratio: 1,
+ },
sadEmoji: {
path:
'M10,.977a9,9,0,1,0,9,9A9.013,9.013,0,0,0,10,.977Zm0,1.385A7.617,7.617,0,1,1,2.385,9.976,7.605,7.605,0,0,1,10,2.361ZM6.538,6.547A1.385,1.385,0,1,0,7.923,7.932,1.387,1.387,0,0,0,6.538,6.547Zm6.923,0a1.385,1.385,0,1,0,1.385,1.385A1.387,1.387,0,0,0,13.461,6.547ZM10,12.085a4.68,4.68,0,0,0-3.25,1.136,3.467,3.467,0,0,0-.865,1.233l1.309.454a1.781,1.781,0,0,1,.5-.671A3.192,3.192,0,0,1,10,13.47a3.187,3.187,0,0,1,2.282.773,2.051,2.051,0,0,1,.535.692l1.287-.508a3.626,3.626,0,0,0-.892-1.211A4.709,4.709,0,0,0,10,12.085Z',
viewBox: '1 1 17.999 18.004',
ratio: 1,
},
+
+ qr_code: {
+ path:
+ 'M0 7.75C0 8.16 0.34 8.5 0.75 8.5C1.16 8.5 1.5 8.16 1.5 7.75V5.25C1.5 4.75 1.59 4.27 1.78 3.81C1.97 3.35 2.24 2.94 2.59 2.59C2.94 2.24 3.35 1.97 3.81 1.78C4.27 1.6 4.75 1.5 5.24 1.5H7.75C8.16 1.5 8.5 1.16 8.5 0.75C8.5 0.34 8.16 0 7.75 0H5.25C4.52 0.02 3.88 0.13 3.24 0.4C2.6 0.67 2.03 1.05 1.54 1.54C1.05 2.03 0.67 2.6 0.4 3.24C0.13 3.88 0 4.56 0 5.25V7.75ZM20 7.75C20 8.16 20.34 8.5 20.75 8.5H20.76C21.17 8.5 21.51 8.16 21.51 7.75V5.25C21.51 4.56 21.37 3.88 21.11 3.24C20.84 2.6 20.46 2.03 19.97 1.54C19.47 1.05 18.9 0.67 18.26 0.4C17.62 0.13 16.95 0 16.25 0H13.75C13.34 0 13 0.34 13 0.75C13 1.16 13.34 1.5 13.75 1.5H16.26C16.75 1.5 17.23 1.59 17.69 1.78C18.15 1.97 18.56 2.24 18.91 2.59C19.26 2.94 19.53 3.35 19.72 3.81C19.91 4.27 20 4.75 20 5.25V7.75ZM16.26 21.5H14.75C14.34 21.5 14 21.16 14 20.75C14 20.34 14.34 20 14.75 20H16.26C16.75 20 17.23 19.9 17.69 19.72C18.15 19.54 18.56 19.26 18.91 18.91C19.26 18.56 19.53 18.15 19.72 17.69C19.91 17.23 20.01 16.75 20 16.25V14.75C20 14.34 20.34 14 20.75 14C21.16 14 21.5 14.34 21.5 14.75V16.25C21.5 16.94 21.37 17.62 21.1 18.26C20.84 18.9 20.45 19.47 19.96 19.97C19.47 20.47 18.89 20.85 18.25 21.11C17.61 21.37 16.94 21.51 16.25 21.51L16.26 21.5ZM3.24 21.1C3.88 21.37 4.55 21.5 5.24 21.5H7.75C8.16 21.5 8.5 21.16 8.5 20.75C8.5 20.34 8.16 20 7.75 20H5.24C4.75 20 4.27 19.91 3.81 19.72C3.35 19.53 2.94 19.26 2.59 18.91C2.24 18.56 1.97 18.15 1.78 17.69C1.59 17.23 1.5 16.75 1.5 16.25V13.75C1.5 13.34 1.16 13 0.75 13C0.34 13 0 13.34 0 13.75V16.25C0 16.94 0.13 17.62 0.4 18.25C0.67 18.9 1.05 19.47 1.54 19.96C2.03 20.45 2.6 20.84 3.24 21.1ZM5.56 10.01C5.34 10.01 5.11 9.97 4.9 9.9C4.59 9.8 4.31 9.62 4.09 9.4C3.87 9.18 3.69 8.89 3.59 8.59C3.49 8.3 3.46 8 3.5 7.7V5.79C3.47 5.49 3.5 5.19 3.59 4.9C3.69 4.59 3.87 4.31 4.09 4.09C4.31 3.87 4.6 3.69 4.9 3.59C5.19 3.49 5.5 3.46 5.79 3.5H7.7C8 3.47 8.31 3.5 8.59 3.59C8.9 3.69 9.18 3.87 9.4 4.09C9.62 4.31 9.8 4.6 9.9 4.9C10 5.19 10.03 5.49 9.99 5.79V7.7C10.02 8 9.99 8.3 9.9 8.59C9.8 8.9 9.62 9.18 9.4 9.4C9.18 9.62 8.89 9.8 8.59 9.9C8.3 10 7.99 10.03 7.7 9.99H5.79C5.74867 9.99 5.70733 9.99267 5.66738 9.99525C5.63 9.99766 5.59383 10 5.56 10V10.01ZM5.56 4.99C5.5 4.99 5.44 4.99 5.38 5.02C5.3 5.05 5.22 5.1 5.16 5.16C5.1 5.22 5.05 5.3 5.02 5.39C4.99 5.47 4.98 5.56 5 5.65V5.76V7.76V7.87C4.99 7.96 5 8.05 5.02 8.13C5.04 8.21 5.1 8.29 5.16 8.35C5.22 8.41 5.3 8.46 5.39 8.49C5.47 8.52 5.57 8.53 5.65 8.51H5.76H7.76H7.87C7.96 8.52 8.05 8.51 8.13 8.49C8.21 8.46 8.29 8.41 8.35 8.35C8.41 8.29 8.46 8.21 8.49 8.12C8.52 8.04 8.53 7.95 8.51 7.86V7.75V5.75V5.64C8.52 5.55 8.51 5.46 8.49 5.38C8.47 5.3 8.41 5.22 8.35 5.16C8.29 5.1 8.21 5.05 8.12 5.02C8.04 4.99 7.94 4.98 7.86 5H7.75H5.75H5.64H5.56V4.99ZM12.9 9.9C13.11 9.97 13.34 10.01 13.56 10.01V10C13.6 10 13.6375 9.9975 13.675 9.995C13.7125 9.9925 13.75 9.99 13.79 9.99H15.7C15.99 10.03 16.3 10 16.59 9.9C16.89 9.8 17.17 9.63 17.4 9.4C17.62 9.17 17.8 8.89 17.9 8.59C17.99 8.31 18.02 8 17.99 7.7V5.79C18.03 5.49 18 5.19 17.9 4.9C17.8 4.6 17.63 4.32 17.4 4.09C17.18 3.87 16.9 3.69 16.59 3.59C16.3 3.5 16 3.46 15.7 3.5H13.79C13.5 3.46 13.19 3.49 12.9 3.59C12.6 3.69 12.32 3.86 12.09 4.09C11.87 4.32 11.69 4.6 11.59 4.9C11.5 5.18 11.47 5.49 11.5 5.79V7.7C11.46 8 11.49 8.3 11.59 8.59C11.69 8.89 11.86 9.17 12.09 9.4C12.31 9.62 12.59 9.8 12.9 9.9ZM13.38 5.02C13.44 5 13.5 4.99 13.56 4.99V5H13.64H13.75H15.75H15.86C15.94 4.98 16.03 4.99 16.12 5.02C16.21 5.05 16.29 5.09 16.35 5.16C16.41 5.23 16.46 5.31 16.49 5.39C16.51 5.47 16.52 5.56 16.51 5.65V5.76V7.76V7.87C16.53 7.96 16.52 8.05 16.49 8.13C16.46 8.22 16.41 8.3 16.35 8.36C16.29 8.42 16.21 8.47 16.13 8.5C16.05 8.52 15.96 8.53 15.87 8.52H15.76H13.76H13.65C13.56 8.53 13.47 8.53 13.39 8.5C13.3 8.47 13.22 8.43 13.16 8.36C13.1 8.29 13.05 8.21 13.02 8.13C13 8.05 12.99 7.96 13 7.87V7.76V5.76V5.65C12.98 5.56 12.99 5.47 13.02 5.39C13.05 5.3 13.1 5.22 13.16 5.16C13.22 5.1 13.3 5.05 13.38 5.02ZM5.56 18.01C5.34 18.01 5.11 17.97 4.9 17.9C4.6 17.8 4.32 17.62 4.09 17.4C3.86 17.17 3.69 16.89 3.59 16.59C3.49 16.3 3.46 16 3.5 15.7V13.79C3.47 13.49 3.5 13.19 3.59 12.9C3.69 12.59 3.87 12.31 4.09 12.09C4.32 11.86 4.6 11.69 4.9 11.59C5.19 11.49 5.49 11.46 5.79 11.5H7.7C8 11.47 8.31 11.5 8.59 11.59C8.89 11.69 9.17 11.87 9.4 12.09C9.63 12.32 9.8 12.6 9.9 12.9C10 13.19 10.03 13.49 9.99 13.79V15.7C10.02 16 9.99 16.3 9.9 16.59C9.8 16.9 9.62 17.18 9.4 17.4C9.17 17.63 8.89 17.8 8.59 17.9C8.3 18 8 18.03 7.7 17.99H5.79C5.74867 17.99 5.70735 17.9927 5.6674 17.9953H5.66738L5.66729 17.9953C5.62995 17.9977 5.59381 18 5.56 18V18.01ZM5.56 12.99C5.5 12.99 5.44 12.99 5.38 13.02C5.3 13.05 5.22 13.1 5.15 13.16C5.08 13.22 5.04 13.3 5.01 13.39C4.98 13.47 4.97 13.56 4.99 13.65V13.76V15.76V15.87C4.98 15.96 4.99 16.05 5.01 16.13C5.04 16.21 5.09 16.29 5.15 16.35C5.21 16.41 5.29 16.46 5.38 16.49C5.46 16.52 5.55 16.53 5.64 16.51H5.75H7.75H7.86C7.95 16.52 8.04 16.51 8.12 16.49C8.2 16.46 8.28 16.41 8.35 16.35C8.42 16.29 8.46 16.21 8.49 16.12C8.52 16.04 8.53 15.95 8.51 15.86V15.75V13.75V13.64C8.52 13.55 8.51 13.46 8.49 13.38C8.46 13.3 8.41 13.22 8.35 13.16C8.29 13.1 8.21 13.05 8.12 13.02C8.04 12.99 7.95 12.98 7.86 13H7.75H5.75H5.64H5.56V12.99ZM15.71 18C15.78 18.01 15.86 18.01 15.94 18.01V18.02C16.17 18.02 16.39 17.98 16.6 17.91C16.9 17.81 17.19 17.64 17.41 17.41C17.63 17.18 17.81 16.9 17.91 16.6C18 16.32 18.03 16.01 18 15.71V13.81C18.04 13.51 18.01 13.21 17.91 12.92C17.81 12.62 17.64 12.33 17.41 12.11C17.18 11.89 16.9 11.71 16.6 11.61C16.32 11.52 16.01 11.49 15.71 11.52H13.81C13.51 11.48 13.21 11.51 12.92 11.61C12.62 11.71 12.33 11.88 12.11 12.11C11.89 12.34 11.71 12.62 11.61 12.92C11.52 13.2 11.49 13.51 11.52 13.81V15.71C11.48 16.01 11.51 16.31 11.61 16.6C11.71 16.9 11.88 17.19 12.11 17.41C12.34 17.63 12.62 17.81 12.92 17.91C13.2 18 13.51 18.03 13.81 18H15.71ZM15.75 16.5H13.75H13.64C13.55 16.52 13.46 16.51 13.38 16.48C13.29 16.45 13.21 16.41 13.15 16.34C13.09 16.27 13.04 16.2 13.01 16.11C12.99 16.03 12.98 15.94 12.99 15.85V15.74V13.74V13.63C12.97 13.54 12.98 13.45 13.01 13.37C13.04 13.28 13.08 13.2 13.15 13.14C13.22 13.08 13.29 13.03 13.38 13C13.46 12.98 13.55 12.97 13.64 12.98H13.75H15.75H15.86C15.95 12.96 16.04 12.97 16.12 13C16.21 13.03 16.29 13.07 16.35 13.14C16.41 13.21 16.46 13.28 16.49 13.37C16.51 13.45 16.52 13.54 16.51 13.63V13.74V15.74V15.85C16.53 15.94 16.52 16.03 16.49 16.11C16.46 16.2 16.42 16.28 16.35 16.34C16.28 16.4 16.21 16.45 16.12 16.48C16.04 16.5 15.95 16.51 15.86 16.5H15.75Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
+ save_tick: {
+ path:
+ 'M5.16193 1.14782C6.51715 0.586465 8.00839 0.439591 9.44708 0.725764C10.8858 1.01194 12.2073 1.71831 13.2445 2.75555C14.2818 3.79279 14.9881 5.11431 15.2743 6.553C15.5605 7.99169 15.4136 9.48294 14.8523 10.8382C14.2909 12.1934 13.3403 13.3517 12.1206 14.1667C10.901 14.9816 9.46704 15.4166 8.00016 15.4166L7.998 15.4166C6.03329 15.4109 4.15068 14.6279 2.76142 13.2387C1.37216 11.8494 0.589172 9.96679 0.583499 8.00209L0.583496 7.99992C0.583496 6.53304 1.01848 5.09911 1.83343 3.87944C2.64838 2.65978 3.80671 1.70917 5.16193 1.14782ZM9.15445 2.19694C8.00672 1.96865 6.81708 2.08582 5.73595 2.53363C4.65482 2.98145 3.73077 3.73981 3.08063 4.7128C2.4307 5.68549 2.08371 6.82901 2.0835 7.99883C2.08831 9.56682 2.71332 11.0692 3.82208 12.178C4.93086 13.2868 6.43331 13.9118 8.00133 13.9166C9.17113 13.9164 10.3146 13.5694 11.2873 12.9194C12.2603 12.2693 13.0186 11.3453 13.4665 10.2641C13.9143 9.183 14.0314 7.99336 13.8031 6.84564C13.5748 5.69792 13.0113 4.64367 12.1839 3.81621C11.3564 2.98875 10.3022 2.42524 9.15445 2.19694ZM11.3643 5.58338C11.6569 5.87653 11.6565 6.3514 11.3634 6.64404L7.58336 10.4174C7.29039 10.7098 6.81588 10.7096 6.52317 10.4169L4.6365 8.53024C4.34361 8.23734 4.34361 7.76247 4.6365 7.46958C4.92939 7.17668 5.40427 7.17668 5.69716 7.46958L7.05396 8.82638L10.3036 5.58244C10.5968 5.28981 11.0717 5.29023 11.3643 5.58338',
+ viewBox: '0 0 16 16',
+ ratio: 1,
+ },
+ xWithCircle: {
+ path:
+ 'M0.833008 8.00004C0.833008 4.05723 4.05687 0.833374 7.99967 0.833374C11.9425 0.833374 15.1663 4.05723 15.1663 8.00004C15.1663 11.9429 11.9425 15.1667 7.99967 15.1667C4.05687 15.1667 0.833008 11.9429 0.833008 8.00004ZM7.99967 1.83337C4.60915 1.83337 1.83301 4.60952 1.83301 8.00004C1.83301 11.3906 4.60915 14.1667 7.99967 14.1667C11.3902 14.1667 14.1663 11.3906 14.1663 8.00004C14.1663 4.60952 11.3902 1.83337 7.99967 1.83337ZM5.7594 5.75977C5.95466 5.56451 6.27125 5.56451 6.46651 5.75977L7.99962 7.29288L9.53274 5.75977C9.728 5.56451 10.0446 5.56451 10.2398 5.75977C10.4351 5.95503 10.4351 6.27161 10.2398 6.46688L8.70673 7.99999L10.2398 9.5331C10.4351 9.72836 10.4351 10.0449 10.2398 10.2402C10.0446 10.4355 9.728 10.4355 9.53274 10.2402L7.99962 8.7071L6.46651 10.2402C6.27125 10.4355 5.95466 10.4355 5.7594 10.2402C5.56414 10.0449 5.56414 9.72836 5.7594 9.5331L7.29252 7.99999L5.7594 6.46688C5.56414 6.27161 5.56414 5.95503 5.7594 5.75977Z',
+ viewBox: '0 0 16 16',
+ ratio: 1,
+ },
+ zoom: {
+ path:
+ 'M11.5 2.75C9.76942 2.75 8.0777 3.26318 6.63876 4.22464C5.19984 5.1861 4.07833 6.55267 3.41606 8.15152C2.75379 9.75037 2.58051 11.5097 2.91813 13.207C3.25575 14.9044 4.08911 16.4635 5.31282 17.6872C6.53653 18.9109 8.09563 19.7443 9.79296 20.0819C11.4903 20.4195 13.2496 20.2462 14.8485 19.5839C16.4473 18.9217 17.8139 17.8002 18.7754 16.3612C19.7368 14.9223 20.25 13.2306 20.25 11.5C20.25 9.17936 19.3281 6.95376 17.6872 5.31282C16.0462 3.67187 13.8206 2.75 11.5 2.75ZM5.80541 2.97744C7.49101 1.85115 9.47275 1.25 11.5 1.25C14.2185 1.25 16.8256 2.32991 18.7478 4.25216C20.6701 6.1744 21.75 8.78153 21.75 11.5C21.75 13.5273 21.1489 15.509 20.0226 17.1946C18.8963 18.8802 17.2955 20.194 15.4225 20.9698C13.5496 21.7456 11.4886 21.9485 9.50033 21.553C7.51202 21.1576 5.68565 20.1813 4.25216 18.7478C2.81867 17.3144 1.84245 15.488 1.44696 13.4997C1.05146 11.5114 1.25444 9.45044 2.03024 7.57749C2.80604 5.70455 4.11981 4.10372 5.80541 2.97744ZM11.7 8.45C12.1142 8.45 12.45 8.78578 12.45 9.2V10.95H14.2C14.6142 10.95 14.95 11.2858 14.95 11.7C14.95 12.1142 14.6142 12.45 14.2 12.45H12.45V14.2C12.45 14.6142 12.1142 14.95 11.7 14.95C11.2858 14.95 10.95 14.6142 10.95 14.2V12.45H9.20001C8.7858 12.45 8.45001 12.1142 8.45001 11.7C8.45001 11.2858 8.7858 10.95 9.20001 10.95H10.95V9.2C10.95 8.78578 11.2858 8.45 11.7 8.45ZM19.4697 19.4697C19.7626 19.1768 20.2374 19.1768 20.5303 19.4697L22.5303 21.4697C22.8232 21.7626 22.8232 22.2374 22.5303 22.5303C22.2374 22.8232 21.7626 22.8232 21.4697 22.5303L19.4697 20.5303C19.1768 20.2374 19.1768 19.7626 19.4697 19.4697Z',
+ viewBox: '0 0 24 24',
+ ratio: 1,
+ },
+ linkPreview: {
+ path:
+ 'M18.063 0.507812C16.1571 0.507812 14.2511 1.23101 12.8042 2.67795L9.61572 5.86643C9.28912 6.18001 9.15782 6.64551 9.27176 7.08333C9.38623 7.5217 9.72803 7.8635 10.1664 7.97797C10.6042 8.09191 11.0697 7.96061 11.3833 7.63401L14.5718 4.44553C16.5103 2.50705 19.6157 2.50705 21.5542 4.44553C23.4927 6.38401 23.4927 9.48948 21.5542 11.428L18.3657 14.6164C18.0391 14.93 17.9078 15.3955 18.0218 15.8333C18.1362 16.2717 18.478 16.6135 18.9164 16.728C19.3542 16.8419 19.8197 16.7106 20.1333 16.384L23.3218 13.1955C26.2157 10.3017 26.2157 5.57183 23.3218 2.67795C21.8748 1.23101 19.9689 0.507812 18.063 0.507812ZM16.7251 7.98828C16.4001 7.9975 16.092 8.13368 15.8657 8.36643L8.36572 15.8664C8.03912 16.18 7.90782 16.6455 8.02176 17.0833C8.13623 17.5217 8.47803 17.8635 8.9164 17.978C9.35422 18.0919 9.81972 17.9606 10.1333 17.634L17.6333 10.134C18.0028 9.77485 18.114 9.22526 17.9132 8.75054C17.7125 8.27583 17.2405 7.97255 16.7251 7.98828ZM6.7251 9.23828C6.40012 9.24751 6.09196 9.38368 5.86572 9.61643L2.67725 12.8049C-0.216634 15.6988 -0.216634 20.4286 2.67725 23.3225C5.57113 26.2164 10.3009 26.2164 13.1948 23.3225L16.3833 20.134C16.7099 19.8204 16.8412 19.3549 16.7273 18.9171C16.6128 18.4787 16.271 18.1369 15.8326 18.0225C15.3948 17.9085 14.9293 18.0398 14.6157 18.3664L11.4272 21.5549C9.48877 23.4934 6.3833 23.4934 4.44482 21.5549C2.50635 19.6164 2.50635 16.511 4.44482 14.5725L7.6333 11.384C8.00277 11.0248 8.11399 10.4753 7.91325 10.0005C7.71251 9.52583 7.24051 9.22255 6.7251 9.23828Z',
+ viewBox: '0 0 26 26',
+ ratio: 1,
+ },
+ enablePasswordIcon: {
+ path:
+ 'M10.9997 0.666504C8.06565 0.666504 5.66634 3.06581 5.66634 5.99984V8.6665H3.33301C1.68833 8.6665 0.333008 10.0218 0.333008 11.6665V24.3332C0.333008 25.9778 1.68833 27.3332 3.33301 27.3332H18.6663C20.311 27.3332 21.6663 25.9778 21.6663 24.3332V11.6665C21.6663 10.0218 20.311 8.6665 18.6663 8.6665H16.333V5.99984C16.333 3.06581 13.9337 0.666504 10.9997 0.666504ZM10.9997 2.6665C12.8527 2.6665 14.333 4.14683 14.333 5.99984V8.6665H7.66634V5.99984C7.66634 4.14683 9.14667 2.6665 10.9997 2.6665ZM3.33301 10.6665H18.6663C19.2312 10.6665 19.6663 11.1017 19.6663 11.6665V24.3332C19.6663 24.898 19.2312 25.3332 18.6663 25.3332H3.33301C2.76819 25.3332 2.33301 24.898 2.33301 24.3332V11.6665C2.33301 11.1017 2.76819 10.6665 3.33301 10.6665ZM6.33301 16.6665C5.5969 16.6665 4.99967 17.2637 4.99967 17.9998C4.99967 18.7359 5.5969 19.3332 6.33301 19.3332C7.06912 19.3332 7.66634 18.7359 7.66634 17.9998C7.66634 17.2637 7.06912 16.6665 6.33301 16.6665ZM10.9997 16.6665C10.2636 16.6665 9.66634 17.2637 9.66634 17.9998C9.66634 18.7359 10.2636 19.3332 10.9997 19.3332C11.7358 19.3332 12.333 18.7359 12.333 17.9998C12.333 17.2637 11.7358 16.6665 10.9997 16.6665ZM15.6663 16.6665C14.9302 16.6665 14.333 17.2637 14.333 17.9998C14.333 18.7359 14.9302 19.3332 15.6663 19.3332C16.4025 19.3332 16.9997 18.7359 16.9997 17.9998C16.9997 17.2637 16.4025 16.6665 15.6663 16.6665Z',
+ viewBox: '0 0 22 28',
+ ratio: 1,
+ },
+ clearDataIcon: {
+ path:
+ 'M15.145 2.10706C15.9888 1.26435 17.1325 0.791016 18.325 0.791016C19.5175 0.791016 20.6613 1.26435 21.505 2.10706L25.8917 6.49496C26.7344 7.33871 27.208 8.48271 27.208 9.67522C27.208 10.8677 26.7346 12.0115 25.8919 12.8552L18.141 20.6062C18.1335 20.6143 18.1258 20.6224 18.1179 20.6303C18.1099 20.6382 18.1019 20.6459 18.0937 20.6534L12.997 25.7501H25.2499C25.6641 25.7501 25.9999 26.0859 25.9999 26.5001C25.9999 26.9143 25.6641 27.2501 25.2499 27.2501H10.2499C10.1538 27.2501 10.062 27.2321 9.97758 27.1992C9.87676 27.206 9.77543 27.2094 9.67375 27.2094C8.48125 27.2094 7.3375 26.7361 6.49375 25.8934L2.10592 21.5055C1.26322 20.6618 0.789551 19.5177 0.789551 18.3252C0.789551 17.1327 1.26289 15.989 2.10559 15.1452L15.145 2.10706ZM17.587 19.0388L24.8306 11.7952C25.3924 11.2327 25.708 10.4702 25.708 9.67522C25.708 8.88021 25.3924 8.11772 24.8306 7.55522L20.445 3.16838C19.8825 2.60657 19.12 2.29102 18.325 2.29102C17.5301 2.29102 16.7678 2.60646 16.2053 3.16807M16.2053 3.16807L8.96045 10.4122L17.587 19.0388M7.89973 11.4728L3.16691 16.2052C3.16679 16.2053 3.16703 16.2051 3.16691 16.2052C2.60533 16.7677 2.28955 17.5304 2.28955 18.3252C2.28955 19.0734 2.56903 19.7928 3.07023 20.3438L9.91439 13.4875L7.89973 11.4728ZM10.9751 14.5482L4.12852 21.4068L6.59937 23.8777L13.452 17.0251L10.9751 14.5482ZM14.5126 18.0857L16.5263 20.0995L11.7938 24.8321C11.2312 25.3939 10.4688 25.7094 9.67375 25.7094C8.929 25.7094 8.21277 25.4325 7.66276 24.9356L14.5126 18.0857Z',
+ viewBox: '0 0 28 28',
+ ratio: 1,
+ },
+ currentRpcNodeIcon: {
+ path:
+ 'M3.99927 1.50146C3.50482 1.50146 3.02147 1.64809 2.61034 1.92279C2.19922 2.19749 1.87879 2.58794 1.68957 3.04476C1.50035 3.50157 1.45084 4.00424 1.54731 4.48919C1.64377 4.97414 1.88187 5.4196 2.2315 5.76923C2.58113 6.11886 3.02659 6.35696 3.51154 6.45343C3.9965 6.54989 4.49916 6.50038 4.95598 6.31116C5.41279 6.12194 5.80324 5.80151 6.07794 5.39039C6.35265 4.97927 6.49927 4.49592 6.49927 4.00146C6.49927 3.33842 6.23588 2.70254 5.76704 2.2337C5.29819 1.76486 4.66231 1.50146 3.99927 1.50146ZM2.05477 1.09132C2.63035 0.706736 3.30703 0.501465 3.99927 0.501465C4.92753 0.501465 5.81776 0.870214 6.47414 1.52659C7.13052 2.18297 7.49927 3.07321 7.49927 4.00146C7.49927 4.6937 7.294 5.37039 6.90941 5.94596C6.52483 6.52153 5.9782 6.97014 5.33866 7.23504C5.0732 7.345 4.79668 7.42126 4.51547 7.46319C4.59733 8.58849 4.98198 9.30056 5.50074 9.74776C6.10098 10.2652 6.96495 10.5015 7.99927 10.5015H14.5365C14.5778 10.2141 14.655 9.93156 14.7673 9.66051C15.0322 9.02097 15.4808 8.47434 16.0563 8.08976C16.6319 7.70517 17.3086 7.4999 18.0008 7.4999C18.9291 7.4999 19.8193 7.86865 20.4757 8.52503C21.1321 9.18141 21.5008 10.0716 21.5008 10.9999C21.5008 11.6921 21.2956 12.3688 20.911 12.9444C20.5264 13.52 19.9798 13.9686 19.3402 14.2335C18.7007 14.4984 17.997 14.5677 17.318 14.4327C16.6391 14.2976 16.0154 13.9643 15.526 13.4748C15.0365 12.9853 14.7031 12.3617 14.5681 11.6827C14.5561 11.6225 14.5457 11.562 14.537 11.5015H7.99927C6.83358 11.5015 5.69755 11.2377 4.8478 10.5052C4.7237 10.3982 4.60742 10.2827 4.49927 10.1586V14.5342C5.24266 14.6415 5.93677 14.9861 6.47414 15.5235C7.13052 16.1798 7.49927 17.0701 7.49927 17.9983C7.49927 18.6906 7.294 19.3673 6.90941 19.9428C6.52483 20.5184 5.9782 20.967 5.33866 21.2319C4.69912 21.4968 3.99539 21.5661 3.31645 21.4311C2.63752 21.296 2.01388 20.9627 1.5244 20.4732C1.03491 19.9837 0.701569 19.3601 0.566521 18.6812C0.431472 18.0022 0.500784 17.2985 0.765691 16.6589C1.0306 16.0194 1.4792 15.4728 2.05477 15.0882C2.49067 14.7969 2.98455 14.6085 3.49927 14.5342V7.46557C3.43817 7.45675 3.37721 7.4463 3.31645 7.43421C2.63752 7.29916 2.01388 6.96582 1.5244 6.47634C1.03491 5.98685 0.701569 5.36321 0.566521 4.68428C0.431472 4.00535 0.500784 3.30161 0.765691 2.66207C1.0306 2.02253 1.4792 1.47591 2.05477 1.09132ZM3.94798 15.4989C3.47145 15.5086 3.00724 15.6545 2.61034 15.9197C2.19922 16.1944 1.87879 16.5848 1.68957 17.0416C1.50035 17.4984 1.45084 18.0011 1.54731 18.4861C1.64377 18.971 1.88187 19.4165 2.2315 19.7661C2.58113 20.1157 3.02659 20.3538 3.51154 20.4503C3.99649 20.5468 4.49916 20.4973 4.95598 20.308C5.41279 20.1188 5.80324 19.7984 6.07794 19.3873C6.35265 18.9761 6.49927 18.4928 6.49927 17.9983C6.49927 17.3353 6.23588 16.6994 5.76704 16.2306C5.3103 15.7738 4.69503 15.5121 4.05056 15.4989C4.0337 15.5006 4.01658 15.5015 3.99927 15.5015C3.98195 15.5015 3.96484 15.5006 3.94798 15.4989ZM18.0008 8.4999C17.5064 8.4999 17.023 8.64652 16.6119 8.92123C16.2008 9.19593 15.8804 9.58638 15.6911 10.0432C15.5019 10.5 15.4524 11.0027 15.5489 11.4876C15.6453 11.9726 15.8834 12.418 16.2331 12.7677C16.5827 13.1173 17.0282 13.3554 17.5131 13.4519C17.9981 13.5483 18.5007 13.4988 18.9575 13.3096C19.4144 13.1204 19.8048 12.8 20.0795 12.3888C20.3542 11.9777 20.5008 11.4944 20.5008 10.9999C20.5008 10.3369 20.2374 9.70098 19.7686 9.23214C19.2998 8.76329 18.6639 8.4999 18.0008 8.4999Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
+ priorityIcon: {
+ path:
+ 'M10.9697 1.5C9.09081 1.5 7.25408 2.05717 5.69181 3.10104C4.12955 4.14491 2.91191 5.62861 2.19288 7.36451C1.47384 9.10041 1.28571 11.0105 1.65227 12.8534C2.01883 14.6962 2.92362 16.3889 4.25222 17.7175C5.58082 19.0461 7.27355 19.9509 9.11637 20.3175C10.9592 20.684 12.8693 20.4959 14.6052 19.7769C16.3411 19.0578 17.8248 17.8402 18.8687 16.2779C19.9126 14.7156 20.4697 12.8789 20.4697 11C20.4697 8.48044 19.4688 6.06408 17.6872 4.28249C15.9056 2.50089 13.4893 1.5 10.9697 1.5ZM5.13624 2.26957C6.86296 1.11581 8.89303 0.5 10.9697 0.5C13.7545 0.5 16.4252 1.60625 18.3944 3.57538C20.3635 5.54451 21.4697 8.21523 21.4697 11C21.4697 13.0767 20.8539 15.1068 19.7002 16.8335C18.5464 18.5602 16.9065 19.906 14.9879 20.7007C13.0693 21.4955 10.9581 21.7034 8.92128 21.2982C6.88448 20.8931 5.01356 19.8931 3.54511 18.4246C2.07666 16.9562 1.07663 15.0852 0.671486 13.0484C0.266341 11.0116 0.474276 8.90045 1.269 6.98182C2.06372 5.0632 3.40953 3.42332 5.13624 2.26957ZM11.6602 5.11315C11.8872 5.0565 12.1261 5.07038 12.3451 5.15297C12.564 5.23555 12.7526 5.38291 12.8857 5.5754C13.0187 5.76783 13.0899 5.99623 13.0899 6.23016C13.0899 6.2301 13.0899 6.23023 13.0899 6.23016V9.77816H14.3251M15.1946 11.6912L10.9354 16.5302C10.9354 16.5303 10.9355 16.5301 10.9354 16.5302C10.781 16.7058 10.5765 16.8305 10.3496 16.8872C10.1225 16.9438 9.8836 16.9299 9.66465 16.8474C9.44571 16.7648 9.25713 16.6174 9.12407 16.4249C8.99104 16.2325 8.91981 16.0041 8.91986 15.7702C8.91986 15.7701 8.91986 15.7702 8.91986 15.7702V12.2202H7.68013C7.68004 12.2202 7.68022 12.2202 7.68013 12.2202C7.45898 12.2202 7.24223 12.1566 7.0563 12.0368C6.8703 11.9171 6.72276 11.7462 6.63135 11.5447C6.53994 11.3432 6.50854 11.1197 6.54089 10.9008C6.57325 10.682 6.66799 10.4771 6.81379 10.3107L11.0743 5.4701C11.0742 5.47019 11.0744 5.47 11.0743 5.4701C11.2287 5.29448 11.4333 5.16978 11.6602 5.11315M11.9922 6.08862C11.9634 6.07779 11.9321 6.07597 11.9023 6.0834C11.8725 6.09083 11.8457 6.10717 11.8254 6.13023L7.56594 10.9697C7.56587 10.9697 7.56601 10.9696 7.56594 10.9697C7.54693 10.9914 7.53437 11.0185 7.53014 11.0471C7.5259 11.0758 7.53002 11.1051 7.54201 11.1316C7.554 11.158 7.57336 11.1804 7.59776 11.1961C7.62216 11.2118 7.65057 11.2202 7.6796 11.2202H9.41986C9.696 11.2202 9.91986 11.444 9.91986 11.7202V15.7702C9.91985 15.8009 9.9292 15.831 9.94665 15.8563C9.96411 15.8815 9.98885 15.9009 10.0176 15.9117C10.0463 15.9225 10.0776 15.9244 10.1074 15.9169C10.1372 15.9095 10.164 15.8932 10.1843 15.8701L14.4445 11.0298C14.4639 11.008 14.477 10.9803 14.4813 10.9514C14.4856 10.9226 14.4815 10.8931 14.4694 10.8665C14.4573 10.84 14.4378 10.8175 14.4132 10.8018C14.3886 10.7861 14.36 10.7779 14.3308 10.7781L14.3269 10.7782L12.5899 10.7782C12.3137 10.7782 12.0899 10.5543 12.0899 10.2782V6.23016C12.0899 6.19947 12.0805 6.1693 12.0631 6.14404C12.0456 6.11879 12.0209 6.09946 11.9922 6.08862Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
+ decimalsIcon: {
+ path:
+ 'M2.27145 2.27145C3.53609 1.0068 5.45069 0.5 8 0.5H14C16.5493 0.5 18.4639 1.0068 19.7286 2.27145C20.9932 3.53609 21.5 5.45069 21.5 8V14C21.5 16.5493 20.9932 18.4639 19.7286 19.7286C18.4639 20.9932 16.5493 21.5 14 21.5H8C5.45069 21.5 3.53609 20.9932 2.27145 19.7286C1.0068 18.4639 0.5 16.5493 0.5 14V8C0.5 5.45069 1.0068 3.53609 2.27145 2.27145ZM2.97855 2.97855C1.9932 3.96391 1.5 5.54931 1.5 8V14C1.5 16.4507 1.9932 18.0361 2.97855 19.0214C3.96391 20.0068 5.54931 20.5 8 20.5H14C16.4507 20.5 18.0361 20.0068 19.0214 19.0214C20.0068 18.0361 20.5 16.4507 20.5 14V8C20.5 5.54931 20.0068 3.96391 19.0214 2.97855C18.0361 1.9932 16.4507 1.5 14 1.5H8C5.54931 1.5 3.96391 1.9932 2.97855 2.97855ZM6.2 10.3C6.06155 10.3 5.92622 10.3411 5.8111 10.418C5.69599 10.4949 5.60627 10.6042 5.55329 10.7321C5.5003 10.86 5.48644 11.0008 5.51345 11.1366C5.54046 11.2724 5.60713 11.3971 5.70503 11.495C5.80292 11.5929 5.92765 11.6595 6.06344 11.6865C6.19922 11.7136 6.33997 11.6997 6.46788 11.6467C6.59579 11.5937 6.70511 11.504 6.78203 11.3889C6.85895 11.2738 6.9 11.1384 6.9 11C6.9 10.8143 6.82625 10.6363 6.69498 10.505C6.5637 10.3737 6.38565 10.3 6.2 10.3ZM5.25553 9.5865C5.53509 9.3997 5.86377 9.3 6.2 9.3C6.65087 9.3 7.08327 9.47911 7.40208 9.79792C7.72089 10.1167 7.9 10.5491 7.9 11C7.9 11.3362 7.8003 11.6649 7.6135 11.9445C7.4267 12.224 7.1612 12.4419 6.85056 12.5706C6.53993 12.6993 6.19811 12.7329 5.86835 12.6673C5.53858 12.6017 5.23567 12.4398 4.99792 12.2021C4.76017 11.9643 4.59826 11.6614 4.53267 11.3317C4.46707 11.0019 4.50074 10.6601 4.62941 10.3494C4.75807 10.0388 4.97597 9.7733 5.25553 9.5865ZM9.5 11C9.5 10.7239 9.72386 10.5 10 10.5H12.26C12.5361 10.5 12.76 10.7239 12.76 11C12.76 11.2761 12.5361 11.5 12.26 11.5H10C9.72386 11.5 9.5 11.2761 9.5 11ZM14.5002 11C14.5002 10.7239 14.7241 10.5 15.0002 10.5H17.2602C17.5363 10.5 17.7602 10.7239 17.7602 11C17.7602 11.2761 17.5363 11.5 17.2602 11.5H15.0002C14.7241 11.5 14.5002 11.2761 14.5002 11Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
+ displayCurrency: {
+ path:
+ 'M21.5455 0L21.5346 2.08403L21.5382 2.33879V5.49491C21.5382 5.63998 21.4949 5.77444 21.4226 5.88766C21.2854 6.09642 21.0506 6.23795 20.776 6.23795H19.7357V7.25343C19.7357 7.6674 19.3961 8 18.9735 8H15.7622C15.3432 8 15.0036 7.6674 15.0036 7.25343L15.0072 4.27068V4.10438L15 1.76559L16.1632 3.43565H16.8134V2.41663C16.8134 2.00265 17.1529 1.6736 17.5756 1.6736H20.3823L21.5455 0ZM18.3016 7.00929C18.5256 7.00929 18.7062 6.82884 18.7062 6.60946L18.7026 6.60593V6.23441H17.5719C17.1529 6.23087 16.8134 5.90181 16.8134 5.48784V4.42282H16.4341C16.2101 4.41928 16.0295 4.59973 16.0259 4.81557V6.60946C16.0259 6.83237 16.2101 7.00929 16.4341 7.00929H18.3016ZM18.2294 5.24724H18.7062L18.7062 4.81911C18.7062 4.5962 18.522 4.42282 18.3016 4.42282H17.8356V4.84741C17.8356 5.06325 18.0126 5.24016 18.2294 5.24724ZM20.2956 5.20124C20.4293 5.13755 20.516 5.00309 20.516 4.85449L20.5232 4.85095V3.05351C20.5232 2.92614 20.4654 2.80938 20.3679 2.74215C20.2992 2.68554 20.2125 2.65369 20.1186 2.65369H18.2511C18.0235 2.65369 17.8429 2.83414 17.8429 3.05351V3.43211H18.9807C19.0313 3.43211 19.0819 3.43565 19.1288 3.44626C19.4756 3.51703 19.7357 3.81778 19.7393 4.17514V5.2437L20.115 5.24723C20.1764 5.2437 20.2414 5.22954 20.2956 5.20124ZM1.5 6.89C1.5 5.13245 1.73484 4.23407 2.2403 3.7343C2.74772 3.23258 3.661 3 5.44 3H12.28C12.5561 3 12.78 2.77614 12.78 2.5C12.78 2.22386 12.5561 2 12.28 2H5.44C3.669 2 2.36228 2.20742 1.5372 3.0232C0.710162 3.84093 0.5 5.13755 0.5 6.89V15.11C0.5 16.8624 0.710162 18.1591 1.5372 18.9768C2.36228 19.7926 3.669 20 5.44 20H16.56C18.331 20 19.6377 19.7926 20.4628 18.9768C21.2898 18.1591 21.5 16.8624 21.5 15.11V10.33C21.5 10.0539 21.2761 9.83 21 9.83C20.7239 9.83 20.5 10.0539 20.5 10.33V15.11C20.5 16.8675 20.2652 17.7659 19.7597 18.2657C19.2523 18.7674 18.339 19 16.56 19H5.44C3.661 19 2.74772 18.7674 2.2403 18.2657C1.73484 17.7659 1.5 16.8675 1.5 15.11V8H12C12.2761 8 12.5 7.77614 12.5 7.5C12.5 7.22386 12.2761 7 12 7H1.5V6.89ZM5 15C4.72386 15 4.5 15.2239 4.5 15.5C4.5 15.7761 4.72386 16 5 16H7C7.27614 16 7.5 15.7761 7.5 15.5C7.5 15.2239 7.27614 15 7 15H5ZM9.5 15C9.22386 15 9 15.2239 9 15.5C9 15.7761 9.22386 16 9.5 16H13.5C13.7761 16 14 15.7761 14 15.5C14 15.2239 13.7761 15 13.5 15H9.5Z',
+ viewBox: '0 0 22 20',
+ ratio: 1,
+ },
+ saveRecipientAddress: {
+ path:
+ 'M2.27145 2.27145C3.53609 1.0068 5.45069 0.5 8 0.5H14C16.5493 0.5 18.4639 1.0068 19.7286 2.27145C20.9932 3.53609 21.5 5.45069 21.5 8V14C21.5 16.5493 20.9932 18.4639 19.7286 19.7286C18.4639 20.9932 16.5493 21.5 14 21.5H8C5.45069 21.5 3.53609 20.9932 2.27145 19.7286C1.0068 18.4639 0.5 16.5493 0.5 14V8C0.5 5.45069 1.0068 3.53609 2.27145 2.27145ZM1.5 12.5002V14C1.5 16.4507 1.9932 18.0361 2.97855 19.0214C3.96391 20.0068 5.54931 20.5 8 20.5H14C16.4507 20.5 18.0361 20.0068 19.0214 19.0214C20.0068 18.0361 20.5 16.4507 20.5 14V12.4902H17.2403C16.9612 12.4904 16.6877 12.5684 16.4505 12.7154C16.2134 12.8625 16.0219 13.0728 15.8978 13.3227L15.0078 15.1127C15.0077 15.1128 15.0078 15.1127 15.0078 15.1127C14.8008 15.5292 14.4817 15.8798 14.0865 16.1249C13.6912 16.37 13.2354 16.5 12.7703 16.5002H9.24786C8.77857 16.5142 8.31529 16.3913 7.91457 16.1464C7.51293 15.9009 7.19166 15.5437 6.99008 15.1184L6.10229 13.3328C5.9781 13.0829 5.78662 12.8725 5.54945 12.7254C5.31229 12.5784 5.0388 12.5004 4.75973 12.5002H1.5ZM20.5 11.4902V8C20.5 5.54931 20.0068 3.96391 19.0214 2.97855C18.0361 1.9932 16.4507 1.5 14 1.5H8C5.54931 1.5 3.96391 1.9932 2.97855 2.97855C1.9932 3.96391 1.5 5.54931 1.5 8V11.5002H4.76C5.22511 11.5005 5.68119 11.6305 6.07646 11.8756C6.4717 12.1207 6.79074 12.4712 6.99771 12.8876C6.9977 12.8876 6.99773 12.8877 6.99771 12.8876L7.89241 14.6871C8.01056 14.9378 8.19948 15.1486 8.43602 15.2931C8.67256 15.4377 8.94626 15.5098 9.22331 15.5005L9.24 15.5002H12.7697C13.0488 15.5001 13.3223 15.4221 13.5595 15.275C13.7966 15.128 13.9881 14.9176 14.1122 14.6677L15.0022 12.8777C15.0022 12.8778 15.0023 12.8777 15.0022 12.8777C15.2092 12.4613 15.5283 12.1107 15.9235 11.8656C16.3188 11.6205 16.7746 11.4905 17.2397 11.4902H20.5ZM8.83984 6C8.83984 5.72386 9.0637 5.5 9.33984 5.5H12.6698C12.946 5.5 13.1698 5.72386 13.1698 6C13.1698 6.27614 12.946 6.5 12.6698 6.5H9.33984C9.0637 6.5 8.83984 6.27614 8.83984 6ZM8 9C8 8.72386 8.22386 8.5 8.5 8.5H13.5C13.7761 8.5 14 8.72386 14 9C14 9.27614 13.7761 9.5 13.5 9.5H8.5C8.22386 9.5 8 9.27614 8 9Z',
+ viewBox: '0 0 22 22',
+ ratio: 1,
+ },
+ changePasswordIcon: {
+ path:
+ 'M12.4497 1.27164C11.4417 1.02263 10.3856 1.04585 9.38948 1.33892C8.39335 1.63199 7.49295 2.18439 6.78036 2.93962C6.06777 3.69485 5.56858 4.62581 5.33383 5.63727C5.09909 6.64873 5.13722 7.70439 5.44434 8.69627C5.49921 8.87349 5.45144 9.06653 5.32026 9.19771L1.38391 13.1341C1.284 13.2516 1.2078 13.3874 1.15957 13.5341C1.11103 13.6817 1.0918 13.8373 1.10291 13.9922L1.35104 15.7977C1.39341 16.007 1.49654 16.1993 1.64766 16.3504C1.79878 16.5015 1.99105 16.6047 2.20036 16.647L4.00809 16.8958C4.16175 16.91 4.31671 16.8925 4.46336 16.8442C4.60913 16.7963 4.74353 16.7191 4.85833 16.6174L5.93336 15.5446L4.35261 13.9639C4.15735 13.7686 4.15735 13.452 4.35261 13.2567C4.54787 13.0615 4.86445 13.0615 5.05972 13.2567L6.64122 14.8383L8.80662 12.6774C8.93799 12.5464 9.13114 12.4988 9.30834 12.5539C10.3281 12.8712 11.4151 12.904 12.4521 12.6489C13.4766 12.3968 14.4138 11.8731 15.1653 11.1334C15.1739 11.1233 15.1829 11.1136 15.1922 11.1042C15.9259 10.3694 16.4512 9.45294 16.7144 8.44851C16.9776 7.44409 16.9693 6.38777 16.6904 5.3876C16.4114 4.38744 15.8718 3.47932 15.1267 2.75613C14.3816 2.03295 13.4578 1.52065 12.4497 1.27164ZM9.10723 0.379577C10.2733 0.0365138 11.5095 0.00933588 12.6896 0.300823C13.8696 0.59231 14.951 1.192 15.8232 2.03856C16.6954 2.88511 17.327 3.94815 17.6536 5.11894C17.9802 6.28973 17.9899 7.52624 17.6817 8.70201C17.3772 9.86428 16.7728 10.926 15.9294 11.781C15.9199 11.7924 15.9098 11.8034 15.8992 11.814C15.0142 12.6968 13.9049 13.3212 12.6911 13.6199C11.5762 13.8942 10.412 13.8842 9.30482 13.593L5.55517 17.3347C5.54935 17.3405 5.54339 17.3462 5.53729 17.3517C5.31712 17.5507 5.05771 17.7015 4.77576 17.7942C4.49381 17.8869 4.19557 17.9196 3.90023 17.8901C3.89743 17.8898 3.89462 17.8895 3.89182 17.8891C3.88847 17.8887 3.88512 17.8883 3.88178 17.8879L2.04993 17.6358C2.04132 17.6346 2.03275 17.6332 2.02423 17.6315C1.61366 17.5531 1.23612 17.3531 0.940551 17.0575C0.64498 16.762 0.445001 16.3844 0.36653 15.9739C0.364894 15.9653 0.363482 15.9567 0.362296 15.9481L0.110206 14.1137C0.108969 14.1047 0.107977 14.0957 0.107232 14.0866C0.0831988 13.7943 0.118015 13.5002 0.209622 13.2217C0.301229 12.9431 0.447766 12.6858 0.640567 12.4648C0.64801 12.4563 0.65574 12.448 0.663744 12.44L4.40529 8.69847C4.12433 7.62408 4.10798 6.49592 4.35972 5.41119C4.63451 4.22718 5.21887 3.13741 6.05302 2.25334C6.88717 1.36928 7.94117 0.72264 9.10723 0.379577ZM11.101 6.13549C10.9506 6.13549 10.8035 6.18009 10.6785 6.26365C10.5534 6.34721 10.456 6.46598 10.3984 6.60493C10.3409 6.74388 10.3258 6.89679 10.3551 7.0443C10.3845 7.19181 10.4569 7.32731 10.5633 7.43366C10.6696 7.54001 10.8051 7.61244 10.9526 7.64178C11.1001 7.67112 11.253 7.65606 11.392 7.59851C11.5309 7.54095 11.6497 7.44348 11.7333 7.31842C11.8168 7.19337 11.8614 7.04634 11.8614 6.89594C11.8614 6.69426 11.7813 6.50083 11.6387 6.35822C11.4961 6.21561 11.3027 6.13549 11.101 6.13549ZM10.1229 5.43218C10.4124 5.23874 10.7528 5.13549 11.101 5.13549C11.5679 5.13549 12.0157 5.32097 12.3458 5.65112C12.676 5.98126 12.8614 6.42904 12.8614 6.89594C12.8614 7.24413 12.7582 7.58449 12.5647 7.874C12.3713 8.1635 12.0964 8.38914 11.7747 8.52239C11.453 8.65563 11.099 8.69049 10.7575 8.62256C10.416 8.55464 10.1024 8.38697 9.85615 8.14077C9.60995 7.89457 9.44228 7.58088 9.37435 7.23939C9.30643 6.89789 9.34129 6.54393 9.47453 6.22225C9.60778 5.90057 9.83342 5.62562 10.1229 5.43218Z',
+ viewBox: '0 0 18 18',
+ ratio: 1,
+ },
+ inviteContact: {
+ path:
+ 'M7.49967 0.833008C6.57671 0.833008 5.71712 1.13574 5.02572 1.64681C4.84104 1.77767 4.74143 1.99816 4.76552 2.2232C4.78939 2.44824 4.93327 2.64269 5.14139 2.73166C5.3495 2.82064 5.58952 2.79004 5.76877 2.6518C6.25315 2.29395 6.84842 2.08301 7.49967 2.08301C9.11773 2.08301 10.4163 3.38162 10.4163 4.99967C10.4163 6.61773 9.11773 7.91634 7.49967 7.91634C5.88162 7.91634 4.58301 6.61773 4.58301 4.99967C4.58626 4.7742 4.46777 4.56456 4.27311 4.45106C4.07845 4.33735 3.83757 4.33735 3.6429 4.45106C3.44824 4.56456 3.32975 4.7742 3.33301 4.99967C3.33301 7.29329 5.20605 9.16634 7.49967 9.16634C9.79329 9.16634 11.6663 7.29329 11.6663 4.99967C11.6663 2.70605 9.79329 0.833008 7.49967 0.833008ZM15.0047 10.042C14.1468 10.0266 13.3313 10.2668 12.6364 10.6883C12.438 10.8002 12.3165 11.0114 12.3189 11.2393C12.3215 11.4671 12.4478 11.6755 12.6488 11.7831C12.8495 11.8907 13.093 11.8808 13.2842 11.7566C13.7913 11.4491 14.3755 11.279 14.9875 11.2911C14.9914 11.2911 14.9956 11.2911 14.9997 11.2911C16.8137 11.2911 18.3261 12.8454 18.2916 14.6123C18.2846 14.9576 18.5591 15.2429 18.9042 15.2497C19.2495 15.2564 19.5348 14.9819 19.5416 14.6366C19.5902 12.1553 17.5214 10.0448 15.0047 10.042ZM3.12467 10.833C1.86643 10.833 0.833008 11.8664 0.833008 13.1247C0.833008 14.6768 1.84516 15.861 3.17177 16.5533C4.49859 17.2456 6.17177 17.5411 7.8202 17.4956C8.16547 17.4862 8.43783 17.1987 8.42828 16.8534C8.41895 16.5084 8.1314 16.236 7.78613 16.2456C6.31608 16.2863 4.81651 16.001 3.75054 15.4448C2.68435 14.8886 2.08301 14.1564 2.08301 13.1247C2.08301 12.542 2.54199 12.083 3.12467 12.083H9.7156C9.94108 12.0863 10.1507 11.9678 10.2644 11.7731C10.3779 11.5785 10.3779 11.3376 10.2644 11.1429C10.1507 10.9482 9.94108 10.8298 9.7156 10.833H3.12467ZM14.9899 12.5745C14.6453 12.58 14.3701 12.8632 14.3747 13.2078V13.958H13.6245C13.399 13.9548 13.1893 14.0732 13.0756 14.2679C12.9621 14.4626 12.9621 14.7035 13.0756 14.8981C13.1893 15.0928 13.399 15.2113 13.6245 15.208H14.3747V15.9582C14.3714 16.1837 14.4899 16.3933 14.6846 16.5071C14.8792 16.6206 15.1201 16.6206 15.3148 16.5071C15.5094 16.3933 15.6279 16.1837 15.6247 15.9582V15.208H16.3749C16.6004 15.2113 16.81 15.0928 16.9237 14.8981C17.0372 14.7035 17.0372 14.4626 16.9237 14.2679C16.81 14.0732 16.6004 13.9548 16.3749 13.958H15.6247V13.2078C15.6268 13.0387 15.5607 12.8762 15.4411 12.7571C15.3215 12.6377 15.1587 12.5719 14.9899 12.5745ZM11.1479 12.9433C10.8745 12.9567 10.6416 13.1468 10.5735 13.412C10.4719 13.784 10.4179 14.1748 10.4172 14.5756C10.3714 17.0565 12.4406 19.1663 14.9582 19.1663C16.2375 19.1663 17.4485 18.6924 18.2874 17.8041C18.5246 17.5531 18.5133 17.1572 18.2623 16.9202C18.0112 16.6831 17.6156 16.6943 17.3784 16.9454C16.8007 17.5572 15.9289 17.9163 14.9582 17.9163C13.144 17.9163 11.6316 16.3621 11.6663 14.5952C11.6663 14.5913 11.6663 14.5871 11.6663 14.583C11.6663 14.2924 11.7058 14.0105 11.7794 13.7408C11.8354 13.5468 11.7942 13.3378 11.6689 13.1794C11.5435 13.0212 11.3495 12.9333 11.1479 12.9433Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ trustDownloadMedia: {
+ path:
+ 'M16 1.9165C16.4142 1.9165 16.75 2.25229 16.75 2.6665V19.5225L19.9363 16.3362C20.2292 16.0433 20.7041 16.0433 20.997 16.3362C21.2899 16.6291 21.2899 17.1039 20.997 17.3968L16.5303 21.8635C16.3897 22.0042 16.1989 22.0832 16 22.0832C15.8011 22.0832 15.6103 22.0042 15.4696 21.8635L11.003 17.3968C10.7101 17.1039 10.7101 16.6291 11.003 16.3362C11.2959 16.0433 11.7707 16.0433 12.0636 16.3362L15.25 19.5225V2.6665C15.25 2.25229 15.5858 1.9165 16 1.9165ZM21.1727 11.8022C21.2083 11.3895 21.5716 11.0837 21.9843 11.1193C24.4963 11.3356 26.4162 12.1035 27.6824 13.6639C28.9317 15.2037 29.43 17.3778 29.43 20.1465V20.3198C29.43 23.374 28.823 25.7075 27.272 27.2585C25.7209 28.8095 23.3875 29.4165 20.3333 29.4165H11.6533C8.59913 29.4165 6.26569 28.8095 4.71464 27.2585C3.1636 25.7075 2.55664 23.374 2.55664 20.3198V20.1465C2.55664 17.398 3.04818 15.2365 4.27766 13.6996C5.52447 12.1411 7.41591 11.3637 9.89036 11.1331C10.3028 11.0946 10.6683 11.3978 10.7067 11.8102C10.7452 12.2226 10.442 12.5882 10.0296 12.6266C7.78404 12.8359 6.34881 13.5119 5.44896 14.6367C4.53177 15.7832 4.05664 17.535 4.05664 20.1465V20.3198C4.05664 23.2257 4.64302 25.0656 5.7753 26.1978C6.90759 27.3301 8.74748 27.9165 11.6533 27.9165H20.3333C23.2391 27.9165 25.079 27.3301 26.2113 26.1978C27.3436 25.0656 27.93 23.2257 27.93 20.3198V20.1465C27.93 17.5152 27.4482 15.756 26.5176 14.6091C25.6037 13.4828 24.1437 12.8108 21.8556 12.6137C21.4429 12.5782 21.1372 12.2148 21.1727 11.8022Z',
+ viewBox: '0 0 32 32',
+ ratio: 1,
+ },
+ openLink: {
+ path:
+ 'M6.49962 7.58325C3.3332 7.58325 0.800834 10.3004 1.10834 13.531C1.37706 16.3476 3.90272 18.4166 6.73237 18.4166H9.74962C10.3477 18.4166 10.833 17.9313 10.833 17.3333C10.833 16.7352 10.3477 16.2499 9.74962 16.2499H6.6837C4.92434 16.2499 3.34695 14.9317 3.25597 13.1734C3.15722 11.2991 4.64716 9.74992 6.49962 9.74992H9.74962C10.3477 9.74992 10.833 9.26468 10.833 8.66659C10.833 8.0685 10.3477 7.58325 9.74962 7.58325H6.49962ZM16.2496 7.58325C15.6515 7.58325 15.1663 8.0685 15.1663 8.66659C15.1663 9.26468 15.6515 9.74992 16.2496 9.74992H19.3155C21.0749 9.74992 22.6523 11.0681 22.7433 12.8264C22.842 14.7007 21.3521 16.2499 19.4996 16.2499H16.2496C15.6515 16.2499 15.1663 16.7352 15.1663 17.3333C15.1663 17.9313 15.6515 18.4166 16.2496 18.4166H19.4996C22.666 18.4166 25.1984 15.6994 24.8909 12.4688C24.6222 9.65224 22.0965 7.58325 19.2669 7.58325H16.2496ZM8.66628 11.9166C8.06819 11.9166 7.58295 12.4018 7.58295 12.9999C7.58295 13.598 8.06819 14.0833 8.66628 14.0833H17.333C17.931 14.0833 18.4163 13.598 18.4163 12.9999C18.4163 12.4018 17.931 11.9166 17.333 11.9166H8.66628Z',
+ viewBox: '0 0 26 26',
+ ratio: 1,
+ },
+ downloadAttachment: {
+ path:
+ 'M10 0C4.48608 0 0 4.48608 0 10C0 15.5139 4.48608 20 10 20C15.5139 20 20 15.5139 20 10C20 4.48608 15.5139 0 10 0ZM10 1.5C14.7034 1.5 18.5 5.29663 18.5 10C18.5 14.7034 14.7034 18.5 10 18.5C5.29663 18.5 1.5 14.7034 1.5 10C1.5 5.29663 5.29663 1.5 10 1.5ZM9.98828 5.48926C9.57446 5.49561 9.24414 5.83618 9.25 6.25V11.9395L7.53027 10.2197C7.34204 10.0237 7.06274 9.94482 6.80005 10.0134C6.53711 10.082 6.33203 10.2871 6.26343 10.55C6.19482 10.8127 6.27368 11.092 6.46973 11.2803L9.46973 14.2803C9.7627 14.573 10.2373 14.573 10.5303 14.2803L13.5303 11.2803C13.7263 11.092 13.8052 10.8127 13.7366 10.55C13.668 10.2871 13.4629 10.082 13.2 10.0134C12.9373 9.94482 12.658 10.0237 12.4697 10.2197L10.75 11.9395V6.25C10.7529 6.04712 10.6736 5.85181 10.53 5.7085C10.3865 5.56519 10.1912 5.48608 9.98828 5.48926Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
+ openLinkBtn: {
+ path:
+ 'M17.0681 2.07532C17.037 2.07604 17.0066 2.07893 16.9755 2.08327H11.6673C11.3671 2.07893 11.0872 2.23663 10.936 2.49632C10.7841 2.75602 10.7841 3.0772 10.936 3.33689C11.0872 3.59658 11.3671 3.75428 11.6673 3.74994H15.0723L9.41182 9.41111C9.19408 9.61944 9.10583 9.9305 9.18251 10.222C9.25846 10.5143 9.48633 10.7421 9.77857 10.8181C10.0701 10.8948 10.3811 10.8065 10.5895 10.5888L16.2507 4.92833V8.33327C16.2463 8.63348 16.404 8.91342 16.6637 9.06461C16.9234 9.21652 17.2446 9.21652 17.5043 9.06461C17.764 8.91342 17.9217 8.63348 17.9173 8.33327V3.01933C17.9499 2.77699 17.8746 2.53249 17.7104 2.35092C17.5469 2.16863 17.3118 2.06808 17.0681 2.07532ZM5.20898 3.33327C3.49313 3.33327 2.08398 4.74242 2.08398 6.45827V14.7916C2.08398 16.5075 3.49313 17.9166 5.20898 17.9166H13.5423C15.2582 17.9166 16.6673 16.5075 16.6673 14.7916V10.8333C16.6717 10.5331 16.514 10.2531 16.2543 10.1019C15.9946 9.95003 15.6734 9.95003 15.4137 10.1019C15.154 10.2531 14.9963 10.5331 15.0007 10.8333V14.7916C15.0007 15.6025 14.3532 16.2499 13.5423 16.2499H5.20898C4.39808 16.2499 3.75065 15.6025 3.75065 14.7916V6.45827C3.75065 5.64737 4.39808 4.99994 5.20898 4.99994H9.16732C9.46752 5.00428 9.74747 4.84658 9.89865 4.58689C10.0506 4.3272 10.0506 4.00602 9.89865 3.74632C9.74747 3.48663 9.46752 3.32893 9.16732 3.33327H5.20898Z',
+ viewBox: '0 0 20 20',
+ ratio: 1,
+ },
};
diff --git a/ts/components/icon/MicrophoneIcon.tsx b/ts/components/icon/MicrophoneIcon.tsx
new file mode 100644
index 00000000..58d5c32f
--- /dev/null
+++ b/ts/components/icon/MicrophoneIcon.tsx
@@ -0,0 +1,95 @@
+import React from 'react';
+
+const MicrophoneIcon = (props: { iconSize: number }) => {
+ return true ?(
+
+
+
+
+
+
+
+ ) : (
+
+
+
+
+
+
+
+ )
+};
+
+export default MicrophoneIcon;
diff --git a/ts/components/icon/PasteIcon.tsx b/ts/components/icon/PasteIcon.tsx
new file mode 100644
index 00000000..5d571213
--- /dev/null
+++ b/ts/components/icon/PasteIcon.tsx
@@ -0,0 +1,10 @@
+import React from 'react';
+
+const PasteIcon= (props:{iconSize:number}) => (
+
+
+
+
+);
+
+export default PasteIcon;
diff --git a/ts/components/icon/SmileSymbolIcon.tsx b/ts/components/icon/SmileSymbolIcon.tsx
new file mode 100644
index 00000000..bbd26b60
--- /dev/null
+++ b/ts/components/icon/SmileSymbolIcon.tsx
@@ -0,0 +1,15 @@
+import React from 'react';
+
+const SmileSymbolIcon: React.FC = () => (
+
+
+
+
+
+
+
+
+
+);
+
+export default SmileSymbolIcon;
diff --git a/ts/components/icon/StopIcon.tsx b/ts/components/icon/StopIcon.tsx
new file mode 100644
index 00000000..be5fd253
--- /dev/null
+++ b/ts/components/icon/StopIcon.tsx
@@ -0,0 +1,24 @@
+import React from 'react';
+
+const StopIcon = (props: { iconSize: number }) => {
+ return (
+
+
+
+
+ );
+};
+
+export default StopIcon;
diff --git a/ts/components/icon/bchatLogo.tsx b/ts/components/icon/bchatLogo.tsx
new file mode 100644
index 00000000..a97016c4
--- /dev/null
+++ b/ts/components/icon/bchatLogo.tsx
@@ -0,0 +1,17 @@
+import React from 'react';
+
+const BchatLogo: React.FC = () => {
+ return (
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default BchatLogo;
\ No newline at end of file
diff --git a/ts/components/icon/chatwithTxtIcon.tsx b/ts/components/icon/chatwithTxtIcon.tsx
new file mode 100644
index 00000000..30b5e892
--- /dev/null
+++ b/ts/components/icon/chatwithTxtIcon.tsx
@@ -0,0 +1,17 @@
+import React from 'react';
+
+const ChatwithTxtIcon: React.FC = () => {
+ return (
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default ChatwithTxtIcon;
\ No newline at end of file
diff --git a/ts/components/leftpane/ActionsPanel.tsx b/ts/components/leftpane/ActionsPanel.tsx
index 2f4383f8..c2f9c69f 100644
--- a/ts/components/leftpane/ActionsPanel.tsx
+++ b/ts/components/leftpane/ActionsPanel.tsx
@@ -21,7 +21,7 @@ import {
getOurPrimaryConversation,
getUnreadMessageCount,
} from '../../state/selectors/conversations';
-import { applyTheme } from '../../state/ducks/theme';
+import { ThemeStateType, applyTheme } from '../../state/ducks/theme';
import { getFocusedSection } from '../../state/selectors/section';
// import { clearSearch } from '../../state/ducks/search';
import {
@@ -35,7 +35,11 @@ import {
import { cleanUpOldDecryptedMedias } from '../../bchat/crypto/DecryptedAttachmentsManager';
import { DURATION } from '../../bchat/constants';
-import { conversationChanged, conversationRemoved } from '../../state/ducks/conversations';
+import {
+ closeRightPanel,
+ conversationChanged,
+ conversationRemoved,
+} from '../../state/ducks/conversations';
import {
editProfileModal,
updateBchatWalletPasswordModal,
@@ -52,11 +56,11 @@ import { loadDefaultRooms } from '../../bchat/apis/open_group_api/opengroupV2/Ap
import { getOpenGroupManager } from '../../bchat/apis/open_group_api/opengroupV2/OpenGroupManagerV2';
import { getSwarmPollingInstance } from '../../bchat/apis/snode_api';
import { forceRefreshRandomSnodePool } from '../../bchat/apis/snode_api/snodePool';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
import { CallInFullScreenContainer } from '../calling/CallInFullScreenContainer';
import { DraggableCallContainer } from '../calling/DraggableCallContainer';
import { IncomingCallDialog } from '../calling/IncomingCallDialog';
-import { BchatIconButton } from '../icon';
+import { BchatIcon } from '../icon';
import { BchatToastContainer } from '../BchatToastContainer';
import { LeftPaneSectionContainer } from './LeftPaneSectionContainer';
import { getLatestDesktopReleaseFileToFsV2 } from '../../bchat/apis/file_server_api/FileServerApiV2';
@@ -73,25 +77,33 @@ import { clearSearch } from '../../state/ducks/search';
// import { wallet } from '../../wallet/wallet-rpc';
import { getWalletPasswordPopUpFlag } from '../../state/selectors/walletConfig';
import { updateSendAddress } from '../../state/ducks/walletConfig';
+import BchatLogo from '../icon/bchatLogo';
+import { getOurPubKeyStrFromCache } from '../../bchat/utils/User';
+import { getIsOnline } from '../../state/selectors/onions';
+import styled from 'styled-components';
+import { ActionPanelOnionStatusLight } from '../dialog/OnionStatusPathDialog';
+import { Flex } from '../basic/Flex';
+import { SpacerSM } from '../basic/Text';
+import useNetworkStatus from '../../hooks/useNetworkStatus';
+import { getTheme } from '../../state/selectors/theme';
const Section = (props: { type: SectionType }) => {
const ourNumber = useSelector(getOurNumber);
const unreadMessageCount = useSelector(getUnreadMessageCount);
const dispatch = useDispatch();
const { type } = props;
-
const focusedSection = useSelector(getFocusedSection);
- const walletPasswordPopUp=useSelector(getWalletPasswordPopUpFlag)
+ const walletPasswordPopUp = useSelector(getWalletPasswordPopUpFlag);
const isSelected = focusedSection === props.type;
-
+ const darkMode = useSelector(getTheme) === 'dark';
// function switchToWalletSec() {
// dispatch(showLeftPaneSection(3));
// dispatch(showSettingsSection(BchatSettingCategory.Wallet));
// }
- const handleClick =async () => {
+ const handleClick = async () => {
/* tslint:disable:no-void-expression */
-
+ dispatch(closeRightPanel());
if (type === SectionType.Profile) {
dispatch(editProfileModal({}));
} else if (type === SectionType.Moon) {
@@ -106,45 +118,53 @@ const Section = (props: { type: SectionType }) => {
const newThemeObject = updatedTheme === 'dark' ? 'dark' : 'light';
dispatch(applyTheme(newThemeObject));
+ } else if (type === SectionType.NewChat) {
+ dispatch(showLeftPaneSection(1));
+
+ dispatch(setOverlayMode('message'));
} else if (type === SectionType.Closedgroup) {
- // Show Path Indicator Modal
+ // Show close group
+ dispatch(showLeftPaneSection(2));
- dispatch(showLeftPaneSection(1));
dispatch(setOverlayMode('closed-group'));
} else if (type === SectionType.Opengroup) {
- // Show Path Indicator Modal
-
- dispatch(showLeftPaneSection(2));
+ // Show open group
+ dispatch(showLeftPaneSection(3));
dispatch(setOverlayMode('open-group'));
// dispatch(setOverlayMode(undefined))
} else if (type === SectionType.Wallet) {
- let emptyAddress:any=""
- // Show Path Indicator Modal
+ let emptyAddress: any = '';
+ // Show open wallet
dispatch(showLeftPaneSection(type));
// wallet.startWallet('settings');
dispatch(setOverlayMode('wallet'));
dispatch(showSettingsSection(BchatSettingCategory.Wallet));
- dispatch(updateSendAddress(emptyAddress))
- if(walletPasswordPopUp)
- {
+ dispatch(updateSendAddress(emptyAddress));
+ if (walletPasswordPopUp) {
dispatch(updateBchatWalletPasswordModal({ from: 'wallet' }));
}
-
// dispatch(setOverlayMode(undefined))
+ } else if (type === SectionType.Settings) {
+ // show open settings
+ dispatch(showLeftPaneSection(type));
+
+ // dispatch(setOverlayMode());
+ dispatch(setOverlayMode(undefined));
} else {
- // message section
+ // show open all chat
dispatch(clearSearch());
+ dispatch(setOverlayMode(undefined));
dispatch(showLeftPaneSection(type));
- if (type == 3) {
- // dispatch(setOverlayMode('wallet'));
+ // if (type == BchatSettingCategory.Wallet) {
+ // // dispatch(setOverlayMode('wallet'));
- dispatch(showSettingsSection(BchatSettingCategory.Wallet));
- } else {
- dispatch(setOverlayMode(undefined));
- }
+ // dispatch(showSettingsSection(BchatSettingCategory.Wallet));
+ // } else {
+ // dispatch(setOverlayMode(undefined));
+ // }
}
};
@@ -165,31 +185,31 @@ const Section = (props: { type: SectionType }) => {
return (
{unreadMessageCount !== 0 ? (
- {unreadMessageCount <= 9 ? (
+ {unreadMessageCount <= 99 ? (
unreadToShow
) : (
-
- 9
+
+ 99
+
@@ -200,23 +220,43 @@ const Section = (props: { type: SectionType }) => {
) : null}
);
+ case SectionType.NewChat:
+ return (
+
+ );
case SectionType.Closedgroup:
return (
);
@@ -224,42 +264,75 @@ const Section = (props: { type: SectionType }) => {
return (
+ );
+ case SectionType.Settings:
+ return (
+
);
case SectionType.Wallet:
return (
-
+
+
-
+
Wallet
+
+
+
{/*
{
style={{ width: '20px', height: '20px' }}
/>
*/}
-
BETA
+ {/*
BETA
*/}
+
);
default:
@@ -451,6 +525,18 @@ export const BchatToolTip = (props: any) => (
export const ActionsPanel = () => {
const [startCleanUpMedia, setStartCleanUpMedia] = useState(false);
const ourPrimaryConversation = useSelector(getOurPrimaryConversation);
+ const conversation = getConversationController().get(getOurPubKeyStrFromCache());
+
+ const dispatch = useDispatch();
+ const darktheme = useSelector((state: any) => state.theme);
+ const isdark = darktheme === 'dark' ? true : false;
+ const pathCon = useSelector(getIsOnline);
+ // const isOnline=window.getGlobalOnlineStatus();
+ const isOnline = useNetworkStatus();
+ const darkMode = useSelector(getTheme) === 'dark';
+ const imgsrc: any = darkMode
+ ? 'images/bchat/connect_wallet_dark.gif'
+ : 'images/bchat/connect_wallet_white.gif';
// this maxi useEffect is called only once: when the component is mounted.
// For the action panel, it means this is called only one per app start/with a user loggedin
@@ -498,25 +584,154 @@ export const ActionsPanel = () => {
void triggerAvatarReUploadIfNeeded();
}, DURATION.DAYS * 1);
+ const themeChanger = (theme: ThemeStateType) => {
+ const themeFromSettings = window.Events.getThemeSetting();
+ // const updatedTheme = themeFromSettings === 'dark' ? 'light' : 'dark';
+ window.setTheme(theme);
+ dispatch(applyTheme(theme));
+
+ if (themeFromSettings !== theme) {
+ if (theme === 'dark') {
+ switchHtmlToDarkTheme();
+ } else {
+ switchHtmlToLightTheme();
+ }
+ }
+ };
+ const IsOnline = () => {
+ const isOnline = useSelector(getIsOnline);
+ const status = isOnline ? 'Online' : 'Offline';
+
+ return (
+
+ {}}
+ id={''}
+ size="small"
+ />
+
+ );
+ };
return (
<>
-
+
+
+
+
+ dispatch(editProfileModal({}))}
+ pubkey={getOurPubKeyStrFromCache()}
+ dataTestId="leftpane-primary-avatar"
+ />
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
themeChanger('light')}
+ >
+
+
+
+
themeChanger('dark')}
+ >
+
+
+
+
+
+ {!isOnline && !pathCon && (
+
+
+
+ You are not connected to the Hop. Check your internet connection or Restart the app!
+
+
+ )}
+ {/* !pathCon && isOnline */}
+ {!pathCon && isOnline && (
+
+
+
+
+
+
+
+
+ )}
+
>
);
};
+const Hops = styled.div`
+ position: absolute;
+ right: 0px;
+ top: 0px;
+`;
+const NetWorkStatusWrapper = styled.div`
+ position: absolute;
+ bottom: 10px;
+ width: 338px;
+ left: 141px;
+ z-index: 99;
+`;
+const Beta = styled.div`
+ svg {
+ height: 14px !important;
+ }
+`;
diff --git a/ts/components/leftpane/LeftPane.tsx b/ts/components/leftpane/LeftPane.tsx
index b8dd249d..4774190c 100644
--- a/ts/components/leftpane/LeftPane.tsx
+++ b/ts/components/leftpane/LeftPane.tsx
@@ -1,9 +1,9 @@
import React from 'react';
import { useSelector } from 'react-redux';
-import { SectionType, setOverlayMode } from '../../state/ducks/section';
+import { SectionType } from '../../state/ducks/section';
import { BchatTheme } from '../../state/ducks/BchatTheme';
-import { getLeftPaneLists } from '../../state/selectors/conversations';
+import { getLeftPaneLists, getUnreadConversationRequests } from '../../state/selectors/conversations';
import { getSearchResults, isSearching } from '../../state/selectors/search';
import { getFocusedSection, getOverlayMode } from '../../state/selectors/section';
import { getHideMessageRequestBanner } from '../../state/selectors/userConfig';
@@ -17,6 +17,7 @@ import { OverlayClosedGroup } from './overlay/OverlayClosedGroup';
import { getDirectContacts } from '../../state/selectors/conversations';
import { AddressBook } from '../wallet/BchatWalletAddressBook';
+import { OverlayMessage } from './overlay/OverlayMessage';
// import { BchatIcon } from '../icon/BchatIcon';
@@ -43,7 +44,8 @@ const InnerLeftPaneMessageSection = () => {
const lists = showSearch ? undefined : useSelector(getLeftPaneLists);
const messageRequestsEnabled = useSelector(getHideMessageRequestBanner);
const overlayMode = useSelector(getOverlayMode);
- const directContact = useSelector(getDirectContacts)
+ const directContact = useSelector(getDirectContacts);
+ const conversationRequestsUnread = useSelector(getUnreadConversationRequests).length;
return (
// tslint:disable-next-line: use-simple-attributes
@@ -54,7 +56,7 @@ const InnerLeftPaneMessageSection = () => {
messageRequestsEnabled={messageRequestsEnabled}
overlayMode={overlayMode}
directContact={directContact}
-
+ conversationRequestsUnread={conversationRequestsUnread}
/>
);
};
@@ -65,26 +67,30 @@ const InnerLeftPaneMessageSection = () => {
const LeftPaneSection = () => {
const focusedSection = useSelector(getFocusedSection);
-
-
- if (focusedSection === SectionType.Message) {
+ const zoomLevel = window.getSettingValue('zoom-factor-setting');
+ // const convoList = useSelector(getLeftPaneLists);
+// console.log('focusedSection ::',focusedSection)
+ if (focusedSection === SectionType.Message) {
return
;
}
+ if (focusedSection === SectionType.NewChat) {
+ return
;
+ }
if (focusedSection === SectionType.Closedgroup) {
+ // if (convoList?.conversations.length === 0 || convoList.contacts.length === 0 ) {
+ // return<>>;
+ // }
return
;
}
-
-
if (focusedSection === SectionType.Opengroup) {
return
;
}
if (focusedSection === SectionType.Wallet) {
- return
;
+ return
100?'223px':'',width:zoomLevel>100?'20vw':''}}>
;
}
-
// if (focusedSection === SectionType.Contact) {
// return
;
// }
@@ -94,42 +100,44 @@ const LeftPaneSection = () => {
return null;
};
-const AddContactFloatingIcon = () => {
- const focusedSection = useSelector(getFocusedSection);
- const overlayMode = useSelector(getOverlayMode);
-
- if (focusedSection === SectionType.Message && overlayMode !== 'message') {
- // return
;
- return
-
window.inboxStore?.dispatch(setOverlayMode('message'))}
- >
-
-
- {/*
*/}
- {/*
*/}
-
-
- }
- return <>>
-}
+// const AddContactFloatingIcon = () => {
+// const focusedSection = useSelector(getFocusedSection);
+// const overlayMode = useSelector(getOverlayMode);
+// const visibleFloatIcon=focusedSection === SectionType.Message && overlayMode !== 'message' && overlayMode !=='message-requests'
+
+
+// if (visibleFloatIcon) {
+// // return
;
+// return (
+//
+//
window.inboxStore?.dispatch(setOverlayMode('message'))}
+// >
+//
+
+// {/*
*/}
+// {/*
*/}
+//
+//
+// );
+// }
+// return <>>;
+// };
export const LeftPane = () => {
-
return (
diff --git a/ts/components/leftpane/LeftPaneMessageSection.tsx b/ts/components/leftpane/LeftPaneMessageSection.tsx
index 4f08d353..1459b583 100644
--- a/ts/components/leftpane/LeftPaneMessageSection.tsx
+++ b/ts/components/leftpane/LeftPaneMessageSection.tsx
@@ -1,27 +1,35 @@
import React from 'react';
-import { AutoSizer, List } from 'react-virtualized';
+// import { AutoSizer, List } from 'react-virtualized';
import {
ConversationListItemProps,
MemoConversationListItemWithDetails,
} from './conversation-list-item/ConversationListItem';
import { ReduxConversationType } from '../../state/ducks/conversations';
import { SearchResults, SearchResultsProps } from '../search/SearchResults';
-import { LeftPaneSectionHeader } from './LeftPaneSectionHeader';
+// import { LeftPaneSectionHeader } from './LeftPaneSectionHeader';
import autoBind from 'auto-bind';
import _ from 'lodash';
import { MessageRequestsBanner } from './MessageRequestsBanner';
// import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { BchatSearchInput } from '../BchatSearchInput';
-import { RowRendererParamsType } from './LeftPane';
-import { OverlayOpenGroup } from './overlay/OverlayOpenGroup';
-import { OverlayMessageRequest } from './overlay/OverlayMessageRequest';
-import { OverlayMessage } from './overlay/OverlayMessage';
-import { OverlayClosedGroup } from './overlay/OverlayClosedGroup';
-import { OverlayMode, setOverlayMode } from '../../state/ducks/section';
+// import { RowRendererParamsType } from './LeftPane';
+// import { OverlayOpenGroup } from './overlay/OverlayOpenGroup';
+// import { OverlayMessageRequest } from './overlay/OverlayMessageRequest';
+// import { OverlayMessage } from './overlay/OverlayMessage';
+// import { OverlayClosedGroup } from './overlay/OverlayClosedGroup';
+import {
+ OverlayMode,
+ SectionType,
+ setOverlayMode,
+ showLeftPaneSection,
+ showSettingsSection,
+} from '../../state/ducks/section';
+import { SpacerSM } from '../basic/Text';
+import classNames from 'classnames';
+import { BchatSettingCategory } from '../settings/BchatSettings';
// import { AddressBook } from '../wallet/BchatWalletAddressBook';
-
export interface Props {
contacts: Array
;
conversations?: Array;
@@ -30,6 +38,7 @@ export interface Props {
messageRequestsEnabled?: boolean;
overlayMode: OverlayMode;
directContact: any;
+ conversationRequestsUnread: any;
}
export class LeftPaneMessageSection extends React.Component {
@@ -39,21 +48,22 @@ export class LeftPaneMessageSection extends React.Component {
autoBind(this);
}
- public renderRow = ({ index, key, style }: RowRendererParamsType): JSX.Element | null => {
- const { conversations } = this.props;
+ // public renderRow = ({ index, key, style }: RowRendererParamsType): JSX.Element | null => {
+ public renderRow = (item: any, key: any): JSX.Element | null => {
+ // const { conversations } = this.props;
+ const conversation = item;
//assume conversations that have been marked unapproved should be filtered out by selector.
- if (!conversations) {
- throw new Error('renderRow: Tried to render without conversations');
- }
+ // if (!conversations) {
+ // throw new Error('renderRow: Tried to render without conversations');
+ // }
- const conversation = conversations[index];
+ // const conversation = conversations[index];
if (!conversation) {
throw new Error('renderRow: conversations selector returned element containing falsy value.');
}
-
- return ;
+ return ;
};
public renderList(): JSX.Element | Array {
@@ -67,7 +77,7 @@ export class LeftPaneMessageSection extends React.Component {
throw new Error('render: must provided conversations if no search results are provided');
}
- const length = conversations.length;
+ // const length = conversations.length;
const listKey = 0;
// Note: conversations is not a known prop for List, but it is required to ensure that
@@ -75,22 +85,23 @@ export class LeftPaneMessageSection extends React.Component {
// on startup and scroll.
const list = (
-
-
-
- {({ height, width }) => (
+ {/*
+ {({height, width }) => (
)}
+ */}
+ {conversations.map((item, key) => this.renderRow(item, key))}
);
@@ -98,34 +109,51 @@ export class LeftPaneMessageSection extends React.Component {
}
public render(): JSX.Element {
- const { overlayMode } = this.props;
-
+ // const { overlayMode } = this.props;
+ // console.log('overlayMode 0-->',overlayMode)
+ const { conversations, conversationRequestsUnread, directContact } = this.props;
+ const convolen: boolean =
+ conversations?.length === 0 && conversationRequestsUnread === 0 && directContact.length === 0;
+ // console.log('convolen ::',convolen,{directContact})
return (
-
-
- {overlayMode ? this.renderClosableOverlay() : null}
- {overlayMode ? null : <>
- {this.renderConversations()}
- >}
+
+ {/* */}
+ {/* {overlayMode ? this.renderClosableOverlay() : null} */}
+ {/* {overlayMode ? null : <> */}
+ {this.renderConversations()}
+ {/* >} */}
);
}
public renderConversations() {
- const {
- conversations,
- directContact } = this.props;
+ // const {
+ // conversations,
+ // // directContact
+ // } = this.props;
return (
- {directContact.length !== 0 &&
-
- }
+
+ {/* {conversations?.length !== 0 && */}
+
+ {/* } */}
+
{
- window.inboxStore?.dispatch(setOverlayMode('message-requests'));
+ // window.inboxStore?.dispatch(setOverlayMode('message-requests'));
+ // show open settings
+ window.inboxStore?.dispatch(showLeftPaneSection(SectionType.Settings));
+ window.inboxStore?.dispatch(setOverlayMode(undefined));
+ window.inboxStore?.dispatch(showSettingsSection(BchatSettingCategory.MessageRequests));
}}
/>
- {directContact.length === 0 && conversations?.length === 0 ?
+ {/* */}
+ {/* {directContact.length === 0 && conversations?.length === 0 ?
@@ -134,62 +162,63 @@ export class LeftPaneMessageSection extends React.Component
{
window.inboxStore?.dispatch(setOverlayMode('message'))}>Add Contacts +
- : this.renderList()}
- {this.renderBottomButtons()}
+ : */}
+ {this.renderList()}
+ {/* } */}
+ {/* {this.renderBottomButtons()} */}
);
}
- private renderClosableOverlay() {
- const { overlayMode } = this.props;
-
- switch (overlayMode) {
- case 'open-group':
- return ;
- case 'closed-group':
- return ;
-
- case 'message':
- return ;
- case 'message-requests':
- return ;
- // case 'wallet':
- // return
- default:
- return null;
- }
- }
-
- private renderBottomButtons(): JSX.Element {
- // const joinSocialGroup = window.i18n('joinSocialGroup');
- // const newSecretGroup = window.i18n('newSecretGroup');
-
- return (
-
- {/* {
- window.inboxStore?.dispatch(setOverlayMode('open-group'));
- }}
- style={{background: "url(images/bchat/secret-group.svg) no-repeat ",backgroundSize: 'cover',height: "19px",color: "rgb(0, 0, 0)",width: "29px",margin:'30px 30px'}}
-
-
- />
- {
- window.inboxStore?.dispatch(setOverlayMode('closed-group'));
- }}
- /> */}
-
- );
- }
+ // private renderClosableOverlay() {
+ // const { overlayMode } = this.props;
+ // console.log('overlayMode -->',overlayMode)
+ // switch (overlayMode) {
+ // case 'open-group':
+ // return ;
+ // case 'closed-group':
+ // return ;
+
+ // case 'message':
+ // return ;
+ // case 'message-requests':
+ // return ;
+ // // case 'wallet':
+ // // return
+ // default:
+ // return null;
+ // }
+ // }
+
+ // private renderBottomButtons(): JSX.Element {
+ // const joinSocialGroup = window.i18n('joinSocialGroup');
+ // const newSecretGroup = window.i18n('newSecretGroup');
+
+ // return (
+ //
+ // {
+ // window.inboxStore?.dispatch(setOverlayMode('open-group'));
+ // }}
+ // style={{background: "url(images/bchat/secret-group.svg) no-repeat ",backgroundSize: 'cover',height: "19px",color: "rgb(0, 0, 0)",width: "29px",margin:'30px 30px'}}
+
+ // />
+ // {
+ // window.inboxStore?.dispatch(setOverlayMode('closed-group'));
+ // }}
+ // />
+ //
+ // );
+ // }
}
diff --git a/ts/components/leftpane/LeftPaneSectionContainer.tsx b/ts/components/leftpane/LeftPaneSectionContainer.tsx
index 5b267dae..f8b96f72 100644
--- a/ts/components/leftpane/LeftPaneSectionContainer.tsx
+++ b/ts/components/leftpane/LeftPaneSectionContainer.tsx
@@ -1,60 +1,92 @@
import styled from 'styled-components';
export const LeftPaneSectionContainer = styled.div`
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 60px;
+ /* position: absolute; */
+ /* bottom: 0; */
+ // width: 42%;
+ width: 140px;
+ /* height: 60px; */
display: flex;
- flex-direction: row;
- align-items: center;
-
- border-right: var(--border-bchat);
+ flex-direction: column;
+ /* align-items: center; */
+ /* border-right: var(--border-bchat); */
overflow-y: hidden;
- background-color: var(--green-color);
+ // background-color: var(--green-color);
padding: 6px 0;
- z-index: 2;
-
+ align-items: center;
+ .profile-box {
+ height: 90px;
+ display: flex;
+ align-items: center;
+ .logo-wrapper {
+ border-radius: 16px;
+ background: var(--color-logo-bg);
+ padding: 14px;
+ position: relative;
+ }
+ }
.isSelected-icon-box .btnView,
.icon-box .btnView {
// border-radius: 66px;
- border-radius: 12px;
- width: 48%;
- height: 45px;
+ border-radius: 12px;
+ width: 100%;
+ height: 80px;
display: flex;
+ flex-direction: column;
align-items: center;
justify-content: center;
- color: white;
- cursor: pointer;
- .beta{
- background-color: #9494a0;
- height: 9px;
- border-radius: 4px;
- padding: 0 2px;
- font-size: 6px;
- font-family: 'poppin-semibold';
- letter-spacing: 1px;
- margin-top: 2px;
- color: white;
+ color: var(--color-action-btn-icon);
+ cursor: pointer;
+ :hover {
+ border-radius: 16px;
+ // background: #202329;
+ background-color: var(--color-action-btn-bg);
+ // color: #ffffff;
}
+
+ // .beta {
+ // background-color: #9494a0;
+ // height: 9px;
+ // border-radius: 4px;
+ // padding: 0 2px;
+ // font-size: 6px;
+ // font-family: 'poppin-semibold';
+ // letter-spacing: 1px;
+ // margin-top: 2px;
+ // color: white;
+ // }
}
- .icon-box .btnView:hover {
- background-color: #006203;
- color: #ffffff;
+ .menu-txt {
+ color: var(--color-action-btn-txt);
+ text-align: center;
+ font-size: 14px;
+ font-weight: 400;
+ margin-top: 5px;
}
+ // .icon-box .btnView:hover {
+ // border-radius: 16px;
+ // background: #202329;
+ // // background-color: #006203;
+ // // color: #ffffff;
+ // }
.isSelected-icon-box,
.icon-box {
- width: 25%;
+ // width: 90%;
display: flex;
align-items: center;
justify-content: center;
+ flex-direction: column;
+ position: relative;
}
- .isSelected-icon-box .btnView {
- background-color: white;
- color: #159b24;
+ .isSelected-icon-box {
+ .btnView,
+ .menu-txt {
+ // background-color: white;
+ color: #108d32;
+ }
}
.unreadCountChatIcon {
@@ -62,9 +94,8 @@ export const LeftPaneSectionContainer = styled.div`
width: 20px;
height: 20px;
font-size: 10px;
- bottom: 33px;
- left: 51px;
- padding: 7px;
+ top: 8px;
+ left: 76px;
opacity: 1;
display: flex;
align-items: center;
@@ -88,11 +119,27 @@ export const LeftPaneSectionContainer = styled.div`
// }
.module-avatar {
- height: 80px;
+ height: 60px;
display: flex;
align-items: center;
}
-
+ .theme-Wrapper {
+ border-radius: 70px;
+ border: 1.5px solid #46465d;
+ padding: 5px 4px;
+ .selected {
+ background-color: var(--color-theme-selected-bg);
+ border-radius: 40px;
+ }
+ .icon-wrapper {
+ width: 50px;
+ height: 50px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ }
+ }
// this is not ideal but it seems that nth-0last-child does not work
#onion-path-indicator-led-id {
margin: auto auto 0px auto;
diff --git a/ts/components/leftpane/LeftPaneSectionHeader.tsx b/ts/components/leftpane/LeftPaneSectionHeader.tsx
index 0f750738..dc006430 100644
--- a/ts/components/leftpane/LeftPaneSectionHeader.tsx
+++ b/ts/components/leftpane/LeftPaneSectionHeader.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { useEffect } from 'react';
import styled from 'styled-components';
import { useDispatch, useSelector } from 'react-redux';
import { disableRecoveryPhrasePrompt } from '../../state/ducks/userConfig';
@@ -20,17 +20,29 @@ import {
import { BchatIcon, BchatIconButton } from '../icon';
import { isSignWithRecoveryPhrase } from '../../util/storage';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
import { getOurNumber } from '../../state/selectors/user';
import { editProfileModal } from '../../state/ducks/modalDialog';
-import { ActionPanelOnionStatusLight } from '../dialog/OnionStatusPathDialog';
+// import { ActionPanelOnionStatusLight } from '../dialog/OnionStatusPathDialog';
import { switchHtmlToDarkTheme, switchHtmlToLightTheme } from '../../state/ducks/BchatTheme';
import { BchatToolTip } from './ActionsPanel';
import { applyTheme } from '../../state/ducks/theme';
-import { getIsOnline } from '../../state/selectors/onions';
+// import { getIsOnline } from '../../state/selectors/onions';
// import { BchatSettingCategory } from '../settings/BchatSettings';
import { clearSearch } from '../../state/ducks/search';
+import { getConversationController } from '../../bchat/conversations';
+// import { ConversationTypeEnum } from '../../models/conversation';
+import { getOurPubKeyStrFromCache } from '../../bchat/utils/User';
+import useNetworkStatus from '../../hooks/useNetworkStatus';
+import { getIsVerifyBnsCalled } from '../../state/selectors/bnsConfig';
+import { isLinkedBchatIDWithBnsForDeamon } from '../conversation/BnsVerification';
+import { updateIsOnline,
+ // updateOnionPaths
+} from '../../state/ducks/onion';
+// import { OnionPaths } from '../../bchat/onions';
+// import { isLinkedBchatIDWithBnsForDeamon } from '../../wallet/BchatWalletHelper';
+// import { getOurPubKeyStrFromCache } from '../../bchat/utils/User';
// import ReactTooltip from 'react-tooltip';
// const SectionTitle = styled.h1`
@@ -41,18 +53,32 @@ import { clearSearch } from '../../state/ducks/search';
// `;
export const LeftPaneSectionHeader = () => {
- // const showRecoveryPhrasePrompt = useSelector(getShowRecoveryPhrasePrompt);
const focusedSection = useSelector(getFocusedSection);
const overlayMode = useSelector(getOverlayMode);
const bChatId = useSelector(getOurNumber);
+ // const pathCon = useSelector(getIsOnline);
+ // const isOnline=window.getGlobalOnlineStatus();
+ const isOnline = useNetworkStatus();
const dispatch = useDispatch();
-
let label: string | undefined;
-
const isMessageSection = focusedSection === SectionType.Message;
const isMessageRequestOverlay = overlayMode === 'message-requests';
-
+ const IsVerifyBnsCalled = useSelector(getIsVerifyBnsCalled);
const showBackButton = isMessageRequestOverlay && isMessageSection;
+ const conversation = getConversationController().get(getOurPubKeyStrFromCache());
+ useEffect(() => {
+ if (isOnline && !IsVerifyBnsCalled) {
+ isLinkedBchatIDWithBnsForDeamon();
+ }
+ if (!isOnline) {
+ clearStatus();
+ }
+ }, [isOnline]);
+ const clearStatus = async () => {
+ // window.inboxStore?.dispatch(updateOnionPaths([]));
+ window.inboxStore?.dispatch(updateIsOnline(false));
+ // OnionPaths.clearTestOnionPath();
+ };
switch (focusedSection) {
case SectionType.Contact:
@@ -61,7 +87,7 @@ export const LeftPaneSectionHeader = () => {
case SectionType.Settings:
label = window.i18n('settingsHeader');
break;
- case SectionType.Wallet:
+ case SectionType.Wallet:
label = window.i18n('wallet');
break;
case SectionType.Message:
@@ -75,6 +101,10 @@ export const LeftPaneSectionHeader = () => {
label = 'BChat';
}
+ // async function printlog() {
+ // isLinkedBchatIDWithBnsForDeamon(bnsName);
+ // }
+
function handleClick() {
const themeFromSettings = window.Events.getThemeSetting();
const updatedTheme = themeFromSettings === 'dark' ? 'light' : 'dark';
@@ -96,12 +126,19 @@ export const LeftPaneSectionHeader = () => {
function verifyScreens() {
if (SectionType.Settings !== focusedSection) {
return (
- dispatch(editProfileModal({}))}
- pubkey={bChatId}
- dataTestId="leftpane-primary-avatar"
- />
+
+ dispatch(editProfileModal({}))}
+ pubkey={bChatId}
+ dataTestId="leftpane-primary-avatar"
+ />
+
);
} else {
return (
@@ -116,26 +153,24 @@ export const LeftPaneSectionHeader = () => {
}
}
- const IsOnline = () => {
- const isOnline = useSelector(getIsOnline);
- const status = isOnline ? 'Online' : 'Offline';
- if (SectionType.Settings !== focusedSection) {
- return (
-
-
-
- );
- } else {
- return null;
- }
- };
+ // const IsOnline = () => {
+ // const isOnline = useSelector(getIsOnline);
+ // const status = isOnline ? 'Online' : 'Offline';
+ // if (SectionType.Settings !== focusedSection) {
+ // return (
+ //
+ // {}}
+ // id={''}
+ // size="tiny"
+ // />
+ //
+ // );
+ // } else {
+ // return null;
+ // }
+ // };
function Moon() {
return (
@@ -152,7 +187,7 @@ export const LeftPaneSectionHeader = () => {
function Settings() {
return (
-
+
{
);
}
return (
-
-
- {showBackButton && (
-
{
- dispatch(setOverlayMode(undefined));
- }}
- iconType="chevron"
- iconRotation={90}
- iconSize="medium"
- margin="0 0 var(--margins-xs) var(--margins-xs)"
+ <>
+
+
+ {showBackButton && (
+
{
+ dispatch(setOverlayMode(undefined));
+ }}
+ iconType="chevron"
+ iconRotation={90}
+ iconSize="medium"
+ margin="0 0 var(--margins-xs) var(--margins-xs)"
+ />
+ )}
+
+ {verifyScreens()}
+
+ {/*
+
setBnsName(e.target.value)} // ... and update the state variable on any change!
+ placeholder="enter your bdx"
/>
- )}
-
-
{verifyScreens()}
-
-
{label}
- {/*
switchToWalletSec()} style={{ marginRight: '19px', cursor: 'pointer' }}>
+ printlog()}>submit
+
*/}
+
+ {label}
+ {/* */}
+
+ {/*
switchToWalletSec()} style={{ marginRight: '19px', cursor: 'pointer' }}>
*/}
-
-
-
- {/* {isMessageSection && !isMessageRequestOverlay && (
+
+
+
+ {/* {isMessageSection && !isMessageRequestOverlay && (
{
data-offset="{'right':60}"
data-place="bottom"
> */}
- {/*
*/}
- {/*
*/}
+ {/*
*/}
+ {/*
*/}
{/*
)} */}
-
-
-
+
+
+
+
+ >
);
};
@@ -301,8 +351,8 @@ const StyledBannerInner = styled.div`
margin-top: var(--margins-sm);
}
`;
-const Hops = styled.div`
- position: absolute;
- left: 47px;
- top: 43px;
-`;
+// const Hops = styled.div`
+// margin-left: 15px;
+// display: flex;
+// align-content: center;
+// `;
diff --git a/ts/components/leftpane/LeftPaneSettingSection.tsx b/ts/components/leftpane/LeftPaneSettingSection.tsx
index 3495f65c..edbeb442 100644
--- a/ts/components/leftpane/LeftPaneSettingSection.tsx
+++ b/ts/components/leftpane/LeftPaneSettingSection.tsx
@@ -1,493 +1,165 @@
import React from 'react';
import classNames from 'classnames';
-
-import { LeftPaneSectionHeader } from './LeftPaneSectionHeader';
import { useDispatch, useSelector } from 'react-redux';
import { showSettingsSection } from '../../state/ducks/section';
import { getFocusedSettingsSection } from '../../state/selectors/section';
import { updateDeleteAccountModal } from '../../state/ducks/modalDialog';
-import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
-import { BchatIcon } from '../icon';
+// import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { BchatIcon, BchatIconType } from '../icon';
import { BchatSettingCategory } from '../settings/BchatSettings';
// import { ActionPanelOnionStatusLight } from '../dialog/OnionStatusPathDialog';
import { hideMultipleSelection } from '../../state/ducks/userConfig';
+import { SpacerLG } from '../basic/Text';
+import { getTheme } from '../../state/selectors/theme';
// import { onionPathModal,} from '../../state/ducks/modalDialog';
// import {OnionPathModal} from "../../components/dialog/OnionStatusPathDialog";
-// const getCategories = () => {
-// return [
-// {
-// id: BchatSettingCategory.Appearance,
-// title: window.i18n('appearanceSettingsTitle'),
-// icon: "appearance.svg",
-
-// },
-// {
-// id: BchatSettingCategory.Privacy,
-// title: window.i18n('privacySettingsTitle'),
-// icon: "privacy.svg",
-// },
-// {
-// id: BchatSettingCategory.Blocked,
-// title: window.i18n('blockedSettingsTitle'),
-// icon: "blocked_contact.svg"
-// },
-// {
-// id: BchatSettingCategory.RecoverySeed,
-// // title: window.i18n('blockedSettingsTitle'),
-// title: "Recovery Seed",
-// icon: "recovery_seed.svg"
-// },
-// // {
-// // id: BchatSettingCategory.RecoveryKey,
-// // // title: window.i18n('notificationsSettingsTitle'),
-// // title: "Recovery Key",
-// // icon:"key.svg"
-
-// // },
-// {
-// id: BchatSettingCategory.MessageRequests,
-// title: "View Message Request",
-// // title: window.i18n('openMessageRequestInbox'),
-// icon: "request.svg"
-// },
-// {
-// id: BchatSettingCategory.Hops,
-// // title: window.i18n('openMessageRequestInbox'),
-// title: "Hops",
-// icon: "Hops"
-// },
-// ];
-// };
+export interface getCategories {
+ id: any;
+ title: string;
+ icon: BchatIconType;
+ extraId?: string;
+}
+
+const getCategories: Array = [
+ {
+ id: BchatSettingCategory.Chat,
+ title: window.i18n('Chat'),
+ icon: 'chat',
+ },
+ {
+ id: BchatSettingCategory.WalletSettings,
+ title: window.i18n('WalletSettingsTitle'),
+ icon: 'wallet',
+ extraId: 'BETA',
+ },
+ {
+ id: BchatSettingCategory.Privacy,
+ title: window.i18n('privacySettingsTitle'),
+ icon: 'privacy',
+ },
+ {
+ id: BchatSettingCategory.Appearance,
+ title: window.i18n('appearanceSettingsTitle'),
+ icon: 'appeareance',
+ },
+ {
+ id: BchatSettingCategory.Notifications,
+ title: window.i18n('notificationsSettingsTitle'),
+ icon: 'notification',
+ },
+ {
+ id: BchatSettingCategory.Blocked,
+ title: window.i18n('blockedSettingsTitle'),
+ icon: 'blockedContact',
+ },
+ {
+ id: BchatSettingCategory.RecoverySeed,
+ title: window.i18n('showRecoveryPhrase'),
+ icon: 'recoverykey',
+ },
+
+ {
+ id: BchatSettingCategory.MessageRequests,
+ title: window.i18n('openMessageRequestInbox'),
+ icon: 'messageRequest',
+ },
+ {
+ id: BchatSettingCategory.Hops,
+ title: 'Hops',
+ icon: 'hops',
+ },
+ {
+ id: BchatSettingCategory.ClearData,
+ title: 'Clear Data',
+ icon: 'clearData',
+ },
+];
const LeftPaneSettingsCategoryRow = () =>
-// props: {
-// item: { id: BchatSettingCategory; title: string; icon:string };
-// }
-{
- // const { item } = props;
- // const { id, title,icon} = item;
- const dispatch = useDispatch();
- const focusedSettingsSection = useSelector(getFocusedSettingsSection);
-
- // const isMessageRequestSetting = id === BchatSettingCategory.MessageRequests;
-
- // const dataTestId = `${title.toLowerCase()}-settings-menu-item`;
- const dataTestId = `settings-menu-item`;
-
- return (
- <>
- {/* *******************************************************Chat********************************************************************** */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.Chat));
- }}
- >
-
-
-
-
-
- {window.i18n('Chat')}
-
-
- {BchatSettingCategory.Chat === focusedSettingsSection && (
-
- )}
-
-
-
- {/* *******************************************************Wallet********************************************************************** */}
+ // props: {
+ // item: { id: BchatSettingCategory; title: string; icon:string };
+ // }
+ {
+ // const { item } = props;
+ // const { id, title,icon} = item;
+ const dispatch = useDispatch();
+ const focusedSettingsSection = useSelector(getFocusedSettingsSection);
+ const darkMode = useSelector(getTheme) === 'dark';
+
+ // const isMessageRequestSetting = id === BchatSettingCategory.MessageRequests;
+
+ // const dataTestId = `${title.toLowerCase()}-settings-menu-item`;
+ const dataTestId = `settings-menu-item`;
+ const iconColor=darkMode?'#E0E0E0':'#3E4A53';
+
+ return (
+ <>
+ {getCategories.map((item) => (
+ {
+ if(item.id!==BchatSettingCategory.ClearData)
+ {
+ dispatch(showSettingsSection(item.id));
+ item.id === BchatSettingCategory.Blocked && dispatch(hideMultipleSelection());
+ }
+ else{
+ dispatch(updateDeleteAccountModal({}))
+ }
+
+ }}
+ >
+
+
+
+
+ {item.title}
+
+ {item.extraId && BETA }
+
+ ))}
- {/* {
- dispatch(showSettingsSection(BchatSettingCategory.Wallet));
+ dispatch(showSettingsSection(BchatSettingCategory.Chat));
}}
- // style={{ marginTop: '15px' }}
>
-
-
-
-
- {window.i18n('WalletSettingsTitle')}
-
- BETA
+
+
+
+
+ {window.i18n('Chat')}
- {BchatSettingCategory.Wallet === focusedSettingsSection && (
+ {BchatSettingCategory.Chat === focusedSettingsSection && (
)}
*/}
-
- {/* *******************************************************Wallet********************************************************************** */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.WalletSettings));
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
-
-
-
- {window.i18n('WalletSettingsTitle')}
- {/* Wallet Settings */}
-
- BETA
-
-
- {BchatSettingCategory.WalletSettings === focusedSettingsSection && (
-
- )}
-
-
-
- {/* *******************************************************WalletNode**********************************************************************
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.WalletNode));
- }}
- >
-
-
-
-
-
- {window.i18n('walletNode')}
-
-
- {BchatSettingCategory.WalletNode === focusedSettingsSection && (
-
- )}
-
-
*/}
-
-
- {/* **********************************************************Privacy******************************************************************* */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.Privacy));
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
-
-
-
-
-
- {window.i18n('privacySettingsTitle')}
-
-
-
- {BchatSettingCategory.Privacy === focusedSettingsSection && (
-
- )}
-
-
-
- {/* *******************************************************Appearance********************************************************************** */}
-
- {
- // if (isMessageRequestSetting) {
- // dispatch(showLeftPaneSection(SectionType.Message));
- // dispatch(setOverlayMode('message-requests'));
- // dispatch(resetConversationExternal());
- // } else {
- dispatch(showSettingsSection(BchatSettingCategory.Appearance));
- // }
- }}
- // style={{ marginTop: '15px' }}
- >
-
- {/* {icon==="Hops"?
dispatch(onionPathModal({}))}
- handleClick={()=>{}}
- isSelected={false}
-
- id={'onion-path-indicator-led-id'}
- /> : */}
-
-
-
-
-
- {/* } */}
-
- {/*
*/}
-
-
- {window.i18n('appearanceSettingsTitle')}
-
-
-
- {BchatSettingCategory.Appearance === focusedSettingsSection && (
-
- )}
-
-
-
- {/* **********************************************************Notifiaction******************************************************************* */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.Notifications));
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
-
-
-
-
-
- {window.i18n('notificationsSettingsTitle')}
-
-
-
- {BchatSettingCategory.Notifications === focusedSettingsSection && (
-
- )}
-
-
-
- {/* **********************************************************Blocked******************************************************************* */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.Blocked));
- dispatch(hideMultipleSelection());
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
-
-
-
-
-
-
- {window.i18n('blockedSettingsTitle')}
-
-
-
- {BchatSettingCategory.Blocked === focusedSettingsSection && (
-
- )}
-
-
-
- {/* *******************************************************RecoverySeed********************************************************************** */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.RecoverySeed));
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
-
-
-
-
-
- {window.i18n('showRecoveryPhrase')}
-
-
-
- {BchatSettingCategory.RecoverySeed === focusedSettingsSection && (
-
- )}
-
-
-
- {/* *******************************************************MessageRequests********************************************************************** */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.MessageRequests));
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
-
-
-
-
-
- {window.i18n('openMessageRequestInbox')}
-
-
-
- {BchatSettingCategory.MessageRequests === focusedSettingsSection && (
-
- )}
-
-
-
- {/* **************************************************Hops*************************************************************************** */}
-
- {
- dispatch(showSettingsSection(BchatSettingCategory.Hops));
- }}
- // style={{ marginTop: '15px' }}
- >
-
-
- {' '}
- {/* {}}
- isSelected={false}
- id={'onion-path-indicator-led-id'}
- size="small"
- /> */}
-
-
-
Hops
-
-
- {BchatSettingCategory.Hops === focusedSettingsSection && (
-
- )}
-
-
- >
- );
-};
+ >
+ );
+ };
const LeftPaneSettingsCategories = () => {
// const categories = getCategories();
@@ -508,52 +180,51 @@ const LeftPaneSettingsCategories = () => {
);
};
-const LeftPaneBottomButtons = () => {
- const dangerButtonText = window.i18n('clearAllData');
- // const showRecoveryPhrase = window.i18n('showRecoveryPhrase');
-
- const dispatch = useDispatch();
-
- return (
-
- {
- dispatch(updateDeleteAccountModal({}));
- }}
- />
-
- {/* {
- dispatch(recoveryPhraseModal({}));
- }}
- /> */}
-
- );
-};
+// const LeftPaneBottomButtons = () => {
+// const dangerButtonText = window.i18n('clearAllData');
+// // const showRecoveryPhrase = window.i18n('showRecoveryPhrase');
+
+// const dispatch = useDispatch();
+
+// return (
+//
+// {
+// dispatch(updateDeleteAccountModal({}));
+// }}
+// />
+
+// {/* {
+// dispatch(recoveryPhraseModal({}));
+// }}
+// /> */}
+//
+// );
+// };
export const LeftPaneSettingSection = () => {
- if (0) {
- LeftPaneBottomButtons;
- }
return (
-
-
+
+
{window.i18n('settingsHeader')}
+
+ {/*
*/}
+
-
{window.i18n('BChat')} v{window.getVersion()}
-
-
+ */}
);
};
diff --git a/ts/components/leftpane/MessageRequestsBanner.tsx b/ts/components/leftpane/MessageRequestsBanner.tsx
index 113288bc..2d206a2b 100644
--- a/ts/components/leftpane/MessageRequestsBanner.tsx
+++ b/ts/components/leftpane/MessageRequestsBanner.tsx
@@ -5,7 +5,7 @@ import { useSelector } from 'react-redux';
import styled from 'styled-components';
import { getUnreadConversationRequests } from '../../state/selectors/conversations';
import { getHideMessageRequestBanner } from '../../state/selectors/userConfig';
-import { BchatIconSize, BchatIconType } from '../icon';
+import { BchatIcon, BchatIconSize, BchatIconType } from '../icon';
import { MemoMessageRequestBannerContextMenu } from '../menu/MessageRequestBannerContextMenu';
const StyledMessageRequestBanner = styled.div`
@@ -15,13 +15,15 @@ const StyledMessageRequestBanner = styled.div`
// max-width: 300px;
display: flex;
flex-direction: row;
- padding: 8px 12px; // adjusting for unread border always being active
+ padding: 8px 22px; // adjusting for unread border always being active
align-items: center;
cursor: pointer;
justify-content: space-between;
background: var(--color-request-banner-background);
transition: var(--bchat-transition-duration);
+ margin-top:10px;
+ border-radius:22px;
&:hover {
background: var(--color-clickable-hovered);
@@ -29,15 +31,8 @@ const StyledMessageRequestBanner = styled.div`
`;
const StyledMessageRequestBannerHeader = styled.span`
- font-weight: bold;
- font-size: 15px;
- color: var(--color-text-subtle);
- margin-inline-start: 12px;
- line-height: 18px;
- overflow-x: hidden;
- overflow-y: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
+font-size: 16px;
+font-weight: 400;
`;
const StyledCircleIcon = styled.div`
@@ -136,7 +131,8 @@ export const MessageRequestsBanner = (props: { handleOnClick: () => any }) => {
}}
data-testid="message-request-banner"
>
-
+ {/*
*/}
+
{window.i18n('messageRequests')}
diff --git a/ts/components/leftpane/conversation-list-item/ConversationListItem.tsx b/ts/components/leftpane/conversation-list-item/ConversationListItem.tsx
index 107b5ffd..4b1f4527 100644
--- a/ts/components/leftpane/conversation-list-item/ConversationListItem.tsx
+++ b/ts/components/leftpane/conversation-list-item/ConversationListItem.tsx
@@ -2,20 +2,21 @@ import React, { useCallback, useContext } from 'react';
import classNames from 'classnames';
import { contextMenu } from 'react-contexify';
// import useUpdate from 'react-use/lib/useUpdate';
-import { Avatar, AvatarSize } from '../../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../../avatar/Avatar';
import { createPortal } from 'react-dom';
import {
- openConversationToSpecificMessage,
+ // openConversationToSpecificMessage,
openConversationWithMessages,
ReduxConversationType,
} from '../../../state/ducks/conversations';
-import { useDispatch, } from 'react-redux';
-import { updateUserDetailsModal } from '../../../state/ducks/modalDialog';
+import { useDispatch } from 'react-redux';
+import { updateUserDetailsModal } from '../../../state/ducks/modalDialog';
import {
useAvatarPath,
- // useConversationPropsById,
+ useConversationBnsHolder,
+ useConversationPropsById,
useConversationUsername,
useIsPrivate,
} from '../../../hooks/useParamSelector';
@@ -24,9 +25,10 @@ import { ConversationListItemHeaderItem } from './HeaderItem';
import { MessageItem } from './MessageItem';
import _ from 'lodash';
// import { Timestamp } from '../../conversation/Timestamp';
-import { getFirstUnreadMessageWithMention } from '../../../data/data';
-import { UserUtils } from '../../../bchat/utils';
-import styled from 'styled-components';
+// import { getFirstUnreadMessageWithMention } from '../../../data/data';
+// import { UserUtils } from '../../../bchat/utils';
+// import styled from 'styled-components';
+import { Timestamp } from '../../conversation/Timestamp';
// import { showLeftPaneSection } from '../../../state/ducks/section';
// import { SettingsKey } from '../../../data/settings-key';
// import { getWalletSyncBarShowInChat} from '../../../state/selectors/walletConfig';
@@ -35,7 +37,13 @@ import styled from 'styled-components';
// tslint:disable-next-line: no-empty-interface
export type ConversationListItemProps = Pick<
ReduxConversationType,
- 'id' | 'isSelected' | 'isBlocked' | 'mentionedUs' | 'unreadCount' | 'profileName' | 'walletAddress'
+ | 'id'
+ | 'isSelected'
+ | 'isBlocked'
+ | 'mentionedUs'
+ | 'unreadCount'
+ | 'profileName'
+ | 'walletAddress'
>;
/**
@@ -61,6 +69,7 @@ const AvatarItem = () => {
const userName = useConversationUsername(conversationId);
const isPrivate = useIsPrivate(conversationId);
const avatarPath = useAvatarPath(conversationId);
+ const isBnsHolder = useConversationBnsHolder(conversationId);
const dispatch = useDispatch();
function onPrivateAvatarClick() {
@@ -68,18 +77,25 @@ const AvatarItem = () => {
updateUserDetailsModal({
conversationId: conversationId,
userName: userName || '',
- authorAvatarPath: avatarPath,
+ authorAvatarPath: avatarPath,
})
);
}
return (
);
};
@@ -91,37 +107,36 @@ const ConversationListItem = (props: Props) => {
id: conversationId,
isSelected,
isBlocked,
- style,
+ // style,
mentionedUs,
isMessageRequest,
// walletAddress
-
} = props;
-// const dispatch = useDispatch();
-// const chatwithWallet = window.getSettingValue(SettingsKey.settingsChatWithWallet) || false;
-// // const WalletSyncInitiatedWithChat=useSelector(getWalletSyncInitiatedWithChat)
-// const walletSyncBarShowInChat=useSelector(getWalletSyncBarShowInChat);
+ // const dispatch = useDispatch();
+ // const chatwithWallet = window.getSettingValue(SettingsKey.settingsChatWithWallet) || false;
+ // // const WalletSyncInitiatedWithChat=useSelector(getWalletSyncInitiatedWithChat)
+ // const walletSyncBarShowInChat=useSelector(getWalletSyncBarShowInChat);
// const chatInstruction = window.getSettingValue(SettingsKey.settingChatwithWalletInstruction)!==undefined ?
- // window.getSettingValue(SettingsKey.settingChatwithWalletInstruction) : true;
+ // window.getSettingValue(SettingsKey.settingChatwithWalletInstruction) : true;
// const forceUpdate = useUpdate();
// console.log('chatInstruction::', chatInstruction,window.getSettingValue(SettingsKey.settingChatwithWalletInstruction))
- // function useHeaderItemProps(conversationId: string) {
- // const convoProps = useConversationPropsById(conversationId);
- // if (!convoProps) {
- // return null;
- // }
- // return {
- // isPinned: !!convoProps.isPinned,
- // mentionedUs: convoProps.mentionedUs || false,
- // unreadCount: convoProps.unreadCount || 0,
- // activeAt: convoProps.activeAt,
- // };
- // }
- // const convoProps = useHeaderItemProps(conversationId);
+ function useHeaderItemProps(conversationId: string) {
+ const convoProps = useConversationPropsById(conversationId);
+ if (!convoProps) {
+ return null;
+ }
+ return {
+ isPinned: !!convoProps.isPinned,
+ mentionedUs: convoProps.mentionedUs || false,
+ unreadCount: convoProps.unreadCount || 0,
+ activeAt: convoProps.activeAt,
+ };
+ }
+ const convoProps = useHeaderItemProps(conversationId);
- // const activeAt=convoProps?.activeAt;
+ const activeAt = convoProps?.activeAt;
// console.log("activeAt:",activeAt)
// console.log("unreadCount ::",unreadCount);
@@ -141,138 +156,130 @@ const ConversationListItem = (props: Props) => {
[conversationId]
);
- const openConvoToLastMention = useCallback(
- async (e: React.MouseEvent
) => {
- e.stopPropagation();
- e.preventDefault();
-
- // mousedown is invoked sooner than onClick, but for both right and left click
- if (e.button === 0) {
- const oldestMessageUnreadWithMention =
- (await getFirstUnreadMessageWithMention(
- conversationId,
- UserUtils.getOurPubKeyStrFromCache()
- )) || null;
- if (oldestMessageUnreadWithMention) {
- await openConversationToSpecificMessage({
- conversationKey: conversationId,
- messageIdToNavigateTo: oldestMessageUnreadWithMention,
- shouldHighlightMessage: true,
- });
- } else {
- window.log.info('cannot open to latest mention as no unread mention are found');
- await openConversationWithMessages({
- conversationKey: conversationId,
- messageId: null,
- });
- }
- }
- },
- [conversationId]
- );
- const MentionAtSymbol = styled.span`
- background-color: var(--color-accent);
-
- color: black;
- text-align: center;
- margin-top: 0px;
- margin-bottom: 0px;
- padding-top: 1px;
- padding-inline-start: 3px;
- padding-inline-end: 3px;
-
- position: static;
- margin-inline-start: 5px;
-
- font-weight: 300;
- font-size: 11px;
- letter-spacing: 0.25px;
-
- height: 16px;
- min-width: 16px;
- border-radius: 8px;
- /* transition: filter 0.25s linear; */
- cursor: pointer;
-
- :hover {
- filter: grayscale(0.7);
- }
-`;
-
-
- let atSymbol = null;
- let unreadCountDiv = null;
- if (unreadCount ? unreadCount : 0 > 0) {
- atSymbol = mentionedUs ? (
-
- @
-
- ) : null;
- unreadCountDiv = {unreadCount ? unreadCount : 0 > 99 ? "99+" : unreadCount}
;
- }
-
-
+ // const openConvoToLastMention = useCallback(
+ // async (e: React.MouseEvent) => {
+ // e.stopPropagation();
+ // e.preventDefault();
+
+ // // mousedown is invoked sooner than onClick, but for both right and left click
+ // if (e.button === 0) {
+ // const oldestMessageUnreadWithMention =
+ // (await getFirstUnreadMessageWithMention(
+ // conversationId,
+ // UserUtils.getOurPubKeyStrFromCache()
+ // )) || null;
+ // if (oldestMessageUnreadWithMention) {
+ // await openConversationToSpecificMessage({
+ // conversationKey: conversationId,
+ // messageIdToNavigateTo: oldestMessageUnreadWithMention,
+ // shouldHighlightMessage: true,
+ // });
+ // } else {
+ // window.log.info('cannot open to latest mention as no unread mention are found');
+ // await openConversationWithMessages({
+ // conversationKey: conversationId,
+ // messageId: null,
+ // });
+ // }
+ // }
+ // },
+ // [conversationId]
+ // );
+ // const MentionAtSymbol = styled.span`
+ // background-color: var(--color-accent);
+
+ // color: black;
+ // text-align: center;
+ // margin-top: 0px;
+ // margin-bottom: 0px;
+ // padding-top: 1px;
+ // padding-inline-start: 3px;
+ // padding-inline-end: 3px;
+
+ // position: static;
+ // margin-inline-start: 5px;
+
+ // font-weight: 300;
+ // font-size: 11px;
+ // letter-spacing: 0.25px;
+
+ // height: 16px;
+ // min-width: 16px;
+ // border-radius: 8px;
+ // /* transition: filter 0.25s linear; */
+ // cursor: pointer;
+
+ // :hover {
+ // filter: grayscale(0.7);
+ // }
+ // `;
+
+ // let atSymbol = null;
+ // let unreadCountDiv = null;
+ // if (unreadCount ? unreadCount : 0 > 0) {
+ // atSymbol = mentionedUs ? (
+ //
+ // @
+ //
+ // ) : null;
+ // unreadCountDiv = {unreadCount ? unreadCount : 0 > 99 ? "99+" : unreadCount}
;
+ // }
return (
-
-
validation()}
- onMouseDown={openConvo}
- onMouseUp={e => {
- e.stopPropagation();
- e.preventDefault();
- }}
- onContextMenu={e => {
- contextMenu.show({
- id: triggerId,
- event: e,
- });
- }}
- style={style}
- className={classNames(
- 'module-conversation-list-item',
- unreadCount && unreadCount > 0 ? 'module-conversation-list-item--has-unread' : null,
- unreadCount && unreadCount > 0 && mentionedUs
- ? 'module-conversation-list-item--mentioned-us'
- : null,
- isSelected ? 'module-conversation-list-item--is-selected' : null,
- isBlocked ? 'module-conversation-list-item--is-blocked' : null
- )}
- >
-
-
-
-
-
-
-
-
-
-
- {unreadCountDiv}
- {atSymbol}
- {/* */}
-
-
-
-
-
-
- {/* {walletAddress} */}
+
+
+
validation()}
+ onMouseDown={openConvo}
+ onMouseUp={e => {
+ e.stopPropagation();
+ e.preventDefault();
+ }}
+ onContextMenu={e => {
+ contextMenu.show({
+ id: triggerId,
+ event: e,
+ });
+ }}
+ // style={style}
+ className={classNames(
+ 'module-conversation-list-item',
+ unreadCount && unreadCount > 0 ? 'module-conversation-list-item--has-unread' : null,
+ unreadCount && unreadCount > 0 && mentionedUs
+ ? 'module-conversation-list-item--mentioned-us'
+ : null,
+ isSelected ? 'module-conversation-list-item--is-selected' : null,
+ isBlocked ? 'module-conversation-list-item--is-blocked' : null
+ )}
+ >
+
+
+
+
+
+
+
+ {/* {unreadCountDiv}
+ {atSymbol} */}
+
+
+
+ {/*
{walletAddress}
*/}
-
+
+
+
-
-
-
);
};
export const MemoConversationListItemWithDetails = React.memo(ConversationListItem, _.isEqual);
-
-
diff --git a/ts/components/leftpane/conversation-list-item/HeaderItem.tsx b/ts/components/leftpane/conversation-list-item/HeaderItem.tsx
index e7289e02..39b48850 100644
--- a/ts/components/leftpane/conversation-list-item/HeaderItem.tsx
+++ b/ts/components/leftpane/conversation-list-item/HeaderItem.tsx
@@ -1,20 +1,18 @@
import classNames from 'classnames';
-import React, {
- // useCallback,
- useContext } from 'react';
+import React, { useCallback, useContext } from 'react';
import { useSelector } from 'react-redux';
import styled from 'styled-components';
-// import { getFirstUnreadMessageWithMention } from '../../../data/data';
+import { getFirstUnreadMessageWithMention } from '../../../data/data';
import { useConversationPropsById, useIsPinned } from '../../../hooks/useParamSelector';
-// import { UserUtils } from '../../../bchat/utils';
-// import {
-// openConversationToSpecificMessage,
-// openConversationWithMessages,
-// } from '../../../state/ducks/conversations';
+import { UserUtils } from '../../../bchat/utils';
+import {
+ openConversationToSpecificMessage,
+ openConversationWithMessages,
+} from '../../../state/ducks/conversations';
import { SectionType } from '../../../state/ducks/section';
import { isSearching } from '../../../state/selectors/search';
import { getFocusedSection } from '../../../state/selectors/section';
-import { Timestamp } from '../../conversation/Timestamp';
+// import { Timestamp } from '../../conversation/Timestamp';
import { BchatIcon } from '../../icon';
import { ContextConversationId } from './ConversationListItem';
import { UserItem } from './UserItem';
@@ -31,13 +29,9 @@ const NotificationSettingIcon = (props: { isMessagesSection: boolean }) => {
case 'all':
return null;
case 'disabled':
- return (
-
- );
+ return
;
case 'mentions_only':
- return (
-
- );
+ return
;
default:
return null;
}
@@ -51,11 +45,19 @@ const StyledConversationListItemIconWrapper = styled.div`
display: flex;
flex-direction: row;
`;
+const PinWrapper = styled.div`
+ position: absolute;
+ top: -6px;
+ right: 12px;
+ padding:1px 2px;
+ background-color: #2f8fff;
+ border-radius: 12px;
+`;
function useHeaderItemProps(conversationId: string) {
const convoProps = useConversationPropsById(conversationId);
// console.log();
-
+
if (!convoProps) {
return null;
}
@@ -74,7 +76,9 @@ const ListItemIcons = () => {
const pinIcon =
isMessagesSection && isPinned ? (
-
+
+
+
) : null;
return (
@@ -84,34 +88,34 @@ const ListItemIcons = () => {
);
};
-// const MentionAtSymbol = styled.span`
-// background-color: var(--color-accent);
+const MentionAtSymbol = styled.span`
+ background-color: var(--color-accent);
-// color: black;
-// text-align: center;
-// margin-top: 0px;
-// margin-bottom: 0px;
-// padding-top: 1px;
-// padding-inline-start: 3px;
-// padding-inline-end: 3px;
+ color: black;
+ text-align: center;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding-top: 1px;
+ padding-inline-start: 3px;
+ padding-inline-end: 3px;
-// position: static;
-// margin-inline-start: 5px;
+ position: static;
+ margin-inline-start: 5px;
-// font-weight: 300;
-// font-size: 11px;
-// letter-spacing: 0.25px;
+ font-weight: 300;
+ font-size: 11px;
+ letter-spacing: 0.25px;
-// height: 16px;
-// min-width: 16px;
-// border-radius: 8px;
-// /* transition: filter 0.25s linear; */
-// cursor: pointer;
+ height: 16px;
+ min-width: 16px;
+ border-radius: 8px;
+ /* transition: filter 0.25s linear; */
+ cursor: pointer;
-// :hover {
-// filter: grayscale(0.7);
-// }
-// `;
+ :hover {
+ filter: grayscale(0.7);
+ }
+`;
export const ConversationListItemHeaderItem = () => {
const conversationId = useContext(ContextConversationId);
@@ -120,54 +124,59 @@ export const ConversationListItemHeaderItem = () => {
const convoProps = useHeaderItemProps(conversationId);
- // const openConvoToLastMention = useCallback(
- // async (e: React.MouseEvent) => {
- // e.stopPropagation();
- // e.preventDefault();
-
- // // mousedown is invoked sooner than onClick, but for both right and left click
- // if (e.button === 0) {
- // const oldestMessageUnreadWithMention =
- // (await getFirstUnreadMessageWithMention(
- // conversationId,
- // UserUtils.getOurPubKeyStrFromCache()
- // )) || null;
- // if (oldestMessageUnreadWithMention) {
- // await openConversationToSpecificMessage({
- // conversationKey: conversationId,
- // messageIdToNavigateTo: oldestMessageUnreadWithMention,
- // shouldHighlightMessage: true,
- // });
- // } else {
- // window.log.info('cannot open to latest mention as no unread mention are found');
- // await openConversationWithMessages({
- // conversationKey: conversationId,
- // messageId: null,
- // });
- // }
- // }
- // },
- // [conversationId]
- // );
+ const openConvoToLastMention = useCallback(
+ async (e: React.MouseEvent) => {
+ e.stopPropagation();
+ e.preventDefault();
+
+ // mousedown is invoked sooner than onClick, but for both right and left click
+ if (e.button === 0) {
+ const oldestMessageUnreadWithMention =
+ (await getFirstUnreadMessageWithMention(
+ conversationId,
+ UserUtils.getOurPubKeyStrFromCache()
+ )) || null;
+ if (oldestMessageUnreadWithMention) {
+ await openConversationToSpecificMessage({
+ conversationKey: conversationId,
+ messageIdToNavigateTo: oldestMessageUnreadWithMention,
+ shouldHighlightMessage: true,
+ });
+ } else {
+ window.log.info('cannot open to latest mention as no unread mention are found');
+ await openConversationWithMessages({
+ conversationKey: conversationId,
+ messageId: null,
+ });
+ }
+ }
+ },
+ [conversationId]
+ );
if (!convoProps) {
return null;
}
- const { unreadCount,
- // mentionedUs,
- activeAt
- } = convoProps;
-
- // let atSymbol = null;
- // let unreadCountDiv = null;
- // if (unreadCount > 0) {
- // atSymbol = mentionedUs ? (
- //
- // @
- //
- // ) : null;
- // unreadCountDiv = {unreadCount>99?"99+":unreadCount}
;
- // }
+ const {
+ unreadCount,
+ mentionedUs,
+ // activeAt
+ } = convoProps;
+ // const unreadCount = 15;
+ let atSymbol = null;
+ let unreadCountDiv = null;
+ if (unreadCount > 0) {
+ atSymbol = mentionedUs ? (
+
+ @
+
+ ) : null;
+ unreadCountDiv = (
+
+ {unreadCount > 99 ? '99+' : unreadCount}
+
+ );
+ }
return (
@@ -178,14 +187,14 @@ export const ConversationListItemHeaderItem = () => {
)}
>
-
-
-
-{/*
- {unreadCountDiv}
- {atSymbol} */}
-
+
+
+ {atSymbol}
+ {unreadCountDiv}
+
+
+ {/* */}
{!isSearchingMode && (
{
return null;
}
const { lastMessage, isTyping, unreadCount } = convoProps;
-
+ if (!lastMessage && unreadCount === 1) {
+ return
;
+ }
if (!lastMessage && !isTyping) {
return null;
}
diff --git a/ts/components/leftpane/overlay/BchatJoinableDefaultRooms.tsx b/ts/components/leftpane/overlay/BchatJoinableDefaultRooms.tsx
index b2bd8537..16aca18b 100644
--- a/ts/components/leftpane/overlay/BchatJoinableDefaultRooms.tsx
+++ b/ts/components/leftpane/overlay/BchatJoinableDefaultRooms.tsx
@@ -13,6 +13,8 @@ import { Avatar, AvatarSize } from '../../avatar/Avatar';
import { Flex } from '../../basic/Flex';
import { PillContainerHoverable, PillTooltipWrapper } from '../../basic/PillContainer';
import { BchatSpinner } from '../../basic/BchatSpinner';
+import { SpacerXS } from '../../basic/Text';
+import { BchatIcon } from '../../icon/BchatIcon';
// import { H3 } from '../../basic/Text';
// tslint:disable: no-void-expression
@@ -23,9 +25,10 @@ export type JoinableRoomProps = {
imageId?: string;
onClick: (completeUrl: string) => void;
base64Data?: string;
+ direction?: string;
};
-const BchatJoinableRoomAvatar = (props: JoinableRoomProps) => {
+export const BchatJoinableRoomAvatar = (props: JoinableRoomProps) => {
const dispatch = useDispatch();
useEffect(() => {
let isCancelled = false;
@@ -71,13 +74,21 @@ const BchatJoinableRoomAvatar = (props: JoinableRoomProps) => {
}, [props.imageId, props.completeUrl]);
return (
-
props.onClick(props.completeUrl)}
- />
+ <>
+ {props.base64Data ? (
+ props.onClick(props.completeUrl)}
+ />
+ ) : (
+
+
+
+ )}
+ >
);
};
@@ -86,10 +97,27 @@ const StyledRoomName = styled(Flex)`
white-space: nowrap;
text-overflow: ellipsis;
padding: 0 10px;
- font-size:18px;
- font-weight:bold;
+ font-size: 13px;
`;
+const Grid = styled.div`
+ display: grid;
+ grid-template-columns: 33.3% 33.3% 33.3%;
+ gap: 12px 10px;
+`;
+interface VerticalLineProps {
+ direcrion?: string;
+}
+const IconWrapper = styled.div`
+ background-color: ${props =>
+ props.direcrion === 'outgoing' ? '#108d32' : 'var(--color-invite-card-icon-bg)'};
+ width: 60px;
+ height: 60px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 10px;
+`;
const BchatJoinableRoomName = (props: JoinableRoomProps) => {
return {props.name} ;
};
@@ -101,10 +129,10 @@ const BchatJoinableRoomRow = (props: JoinableRoomProps) => {
onClick={() => {
props.onClick(props.completeUrl);
}}
- margin="7px 0px 0 19px"
padding="5px"
>
+
@@ -113,6 +141,7 @@ const BchatJoinableRoomRow = (props: JoinableRoomProps) => {
export const BchatJoinableRooms = (props: { onRoomClicked: () => void }) => {
const joinableRooms = useSelector((state: StateType) => state.defaultRooms);
+
const onRoomClicked = useCallback(
(loading: boolean) => {
if (loading) {
@@ -126,8 +155,9 @@ export const BchatJoinableRooms = (props: { onRoomClicked: () => void }) => {
window?.log?.info('no default joinable rooms yet and not in progress');
return null;
}
-
- const componentToRender = joinableRooms.inProgress ? ( ) : (
+ const componentToRender = joinableRooms.inProgress ? (
+
+ ) : (
joinableRooms.rooms.map(r => {
return (
void }) => {
return (
-
- {window.i18n('orJoinOneOfThese')}
-
+ {window.i18n('orJoinOneOfThese')}
{/* */}
-
- {componentToRender}
-
+ {/* */}
+ {componentToRender}
+ {/* */}
);
};
diff --git a/ts/components/leftpane/overlay/OverlayClosedGroup.tsx b/ts/components/leftpane/overlay/OverlayClosedGroup.tsx
index 4062f87a..d4bb8714 100644
--- a/ts/components/leftpane/overlay/OverlayClosedGroup.tsx
+++ b/ts/components/leftpane/overlay/OverlayClosedGroup.tsx
@@ -1,34 +1,35 @@
import React, { useState } from 'react';
-
import { useDispatch, useSelector } from 'react-redux';
-
-// import { BchatButton, BchatButtonColor, BchatButtonType } from '../../basic/BchatButton';
import { BchatIdEditable } from '../../basic/BchatIdEditable';
import { BchatSpinner } from '../../basic/BchatSpinner';
import { MemberListItem } from '../../MemberListItem';
-// import { OverlayHeader } from './OverlayHeader';
// tslint:disable: no-submodule-imports use-simple-attributes
import { setOverlayMode, showLeftPaneSection } from '../../../state/ducks/section';
-import {
- // getDirectContacts,
- getPrivateContactsPubkeys,
-} from '../../../state/selectors/conversations';
-import { SpacerLG } from '../../basic/Text';
+import { getPrivateContactsPubkeys } from '../../../state/selectors/conversations';
+import { SpacerLG, SpacerMD, SpacerXS } from '../../basic/Text';
import { MainViewController } from '../../MainViewController';
import useKey from 'react-use/lib/useKey';
-import { LeftPaneSectionHeader } from '../LeftPaneSectionHeader';
-// import { getConversationById } from '../../../data/data';
-// import { UserUtils } from '../../../bchat/utils';
-// import { UserUtils } from '../../../bchat/utils';
+import { BchatIcon } from '../../icon/BchatIcon';
+import { getConversationController } from '../../../bchat/conversations';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../../basic/BchatButton';
+import { Loader } from '../../BchatWrapperModal';
+import { getTheme } from '../../../state/selectors/theme';
export const OverlayClosedGroup = () => {
const dispatch = useDispatch();
const privateContactsPubkeys = useSelector(getPrivateContactsPubkeys);
+ // const pathCon = useSelector(getIsOnline);
+ // const isOnline = useNetworkStatus();
+ // const heightValidation = (!pathCon && isOnline) || (!pathCon && !isOnline);
// FIXME autofocus inputref on mount
const [groupName, setGroupName] = useState('');
const [loading, setLoading] = useState(false);
const [selectedMemberIds, setSelectedMemberIds] = useState>([]);
+ const [currentSearchTerm, setCurrentSearchTerm] = useState('');
+ const [filteredNames, setFilteredNames] = useState>(privateContactsPubkeys);
+ const darkMode = useSelector(getTheme) === 'dark';
+ const zoomLevel = window.getSettingValue('zoom-factor-setting');
function closeOverlay() {
dispatch(setOverlayMode(undefined));
@@ -49,6 +50,19 @@ export const OverlayClosedGroup = () => {
})
);
}
+ const handleSearch = (event: React.ChangeEvent) => {
+ const value = event.target.value;
+ setCurrentSearchTerm(value);
+ setFilteredNames(
+ value
+ ? privateContactsPubkeys.filter((pubkey: any) => {
+ const convo = getConversationController().get(pubkey);
+ const memberName = convo?.getNickname() || convo?.getName() || convo?.getProfileName();
+ return memberName?.toLowerCase().includes(value.toLowerCase());
+ })
+ : privateContactsPubkeys
+ );
+ };
async function onEnterPressed() {
if (loading) {
@@ -64,7 +78,7 @@ export const OverlayClosedGroup = () => {
dispatch(setOverlayMode(undefined));
return;
}
- setLoading(false);
+ setLoading(false);
}
useKey('Escape', closeOverlay);
@@ -74,48 +88,31 @@ export const OverlayClosedGroup = () => {
const subtitle = window.i18n('createSecretGroupNamePrompt');
const placeholder = window.i18n('createSecretGroupPlaceholder');
- const noContactsForClosedGroup = privateContactsPubkeys.length === 0;
-
- // const ClosedGrpHeader = () => {
- // if (!noContactsForClosedGroup) {
- // return (<>
-
- //
- // {subtitle}
- //
- //
- //
- //
>)
- // }
- // else {
- // return <>>
- // }
+ const noContactsForClosedGroup = privateContactsPubkeys.length === 0 ;
+ // function addContact() {
+ // dispatch(showLeftPaneSection(0));
+ // window.inboxStore?.dispatch(setOverlayMode('message'));
// }
- function addContact() {
- dispatch(showLeftPaneSection(0));
- window.inboxStore?.dispatch(setOverlayMode('message'));
- }
return (
-
-
+ {/*
*/}
+
{/*
*/}
{/* */}
+
{title}
- {/* */}
+
{!noContactsForClosedGroup && (
<>
{subtitle}
+
{
>
)}
+
+
Select Contacts
+
+
+
+
+
+
{
+ handleSearch(e);
+ }}
+ placeholder={'Search Contact'}
+ maxLength={26}
+ />
+
+
+
{loading ? (
+
+
) : (
-
+
100?"unset":'auto'}} >
{noContactsForClosedGroup ? (
+
{window.i18n('noContactsYet')}
-
- {/*
getconverstation()}>getconverstation */}
-
+
+ {/*
{
>
Add Contacts +{' '}
-
+
*/}
+ {/*
*/}
{/* {window.i18n('noContactsForGroup')} */}
) : (
- {privateContactsPubkeys.map((memberPubkey: string) => (
+ {filteredNames.map((memberPubkey: string) => (
m === memberPubkey)}
@@ -173,22 +191,18 @@ export const OverlayClosedGroup = () => {
)}
-
- {/* */}
{!noContactsForClosedGroup && (
-
- Create
-
+
)}
diff --git a/ts/components/leftpane/overlay/OverlayMessage.tsx b/ts/components/leftpane/overlay/OverlayMessage.tsx
index 036e6564..ae9121fc 100644
--- a/ts/components/leftpane/overlay/OverlayMessage.tsx
+++ b/ts/components/leftpane/overlay/OverlayMessage.tsx
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
// tslint:disable: use-simple-attributes no-submodule-imports
-import { useDispatch ,useSelector} from 'react-redux';
+import { useDispatch, useSelector } from 'react-redux';
// import { BchatButton, BchatButtonColor, BchatButtonType } from '../../basic/BchatButton';
import { BchatIdEditable } from '../../basic/BchatIdEditable';
import { BchatSpinner } from '../../basic/BchatSpinner';
@@ -18,6 +18,17 @@ import useKey from 'react-use/lib/useKey';
import { getOurNumber } from '../../../state/selectors/user';
import { ToastUtils } from '../../../bchat/utils';
+import SmileSymbolIcon from '../../icon/SmileSymbolIcon';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../../basic/BchatButton';
+
+import { SpacerLG, SpacerMD, SpacerSM, SpacerXS } from '../../basic/Text';
+import { Avatar, AvatarSize, BNSWrapper } from '../../avatar/Avatar';
+import { CopyIconButton } from '../../icon/CopyIconButton';
+import { BchatIconButton } from '../../icon';
+import { QRView } from '../../dialog/EditProfileDialog';
+import { Flex } from '../../basic/Flex';
+import { getLeftPaneLists } from '../../../state/selectors/conversations';
+import classNames from 'classnames';
export const OverlayMessage = () => {
const dispatch = useDispatch();
@@ -29,23 +40,31 @@ export const OverlayMessage = () => {
useKey('Escape', closeOverlay);
const [pubkeyOrOns, setPubkeyOrOns] = useState('');
const [loading, setLoading] = useState(false);
+ const [dispalyQR, setDispalyQR] = useState(false);
const ourNumber = useSelector(getOurNumber);
+ const ourconvo = getConversationController().get(ourNumber);
+ const convoList = useSelector(getLeftPaneLists);
+ const walletAddress:any = localStorage.getItem('userAddress');
+ const convolen: boolean =convoList?.contacts?.length === 0 || false;
+ console.log('convolen',convolen)
+
// const title = window.i18n('newBchat');
- const buttonText = window.i18n('next');
+ // const buttonText = window.i18n('next');
// const descriptionLong = window.i18n('usersCanShareTheir...');
- const descriptionLong = window.i18n('shareBchatIdDiscription')
+ // const descriptionLong = window.i18n('shareBchatIdDiscription');
// const subtitle = window.i18n('enterBchatIDOrBNSName');
const placeholder = window.i18n('enterBchatID');
async function handleMessageButtonClick() {
const pubkeyorOnsTrimmed = pubkeyOrOns.trim();
- if ((!pubkeyOrOns || pubkeyOrOns.length !== 66) && !pubkeyOrOns.toLowerCase().endsWith('.bdx')) {
+ if(PubKey.validateWithError(pubkeyorOnsTrimmed) && !pubkeyOrOns.toLowerCase().endsWith('.bdx'))
+ {
ToastUtils.pushToastError('invalidPubKey', window.i18n('invalidNumberError')); // or Bns name
return;
}
- if (!PubKey.validateWithError(pubkeyorOnsTrimmed)) {
-
+
+ if (!PubKey.validateWithError(pubkeyorOnsTrimmed)) {
// this is a pubkey
await getConversationController().getOrCreateAndWait(
pubkeyorOnsTrimmed,
@@ -66,56 +85,155 @@ export const OverlayMessage = () => {
resolvedBchatID,
ConversationTypeEnum.PRIVATE
);
- await openConversationWithMessages({ conversationKey: resolvedBchatID, messageId: null, bns:pubkeyorOnsTrimmed });
+ await openConversationWithMessages({
+ conversationKey: resolvedBchatID,
+ messageId: null,
+ bns: pubkeyorOnsTrimmed,
+ });
closeOverlay();
} catch (e) {
window?.log?.warn('failed to resolve bns name', pubkeyorOnsTrimmed, e);
-
- // ToastUtils.pushToastError('invalidPubKey', window.i18n('failedResolveOns'));
+
+ ToastUtils.pushToastError('invalidPubKey', window.i18n('failedResolveOns'));
} finally {
setLoading(false);
}
}
}
-
+
return (
-
+
{/*
*/}
-
{window.i18n('startConversation')}
-
{window.i18n('BchatID')}
-
{descriptionLong}
-
-
- {loading && (
-
-
-
- )}
-
-
Your BChat ID
-
Share your BChat ID with your friends. You can find your BChat ID below
-
+ {' '}
+ {window.i18n('startConversation')}
+
+ {/* {window.i18n('BchatID')}
*/}
+ {/* {descriptionLong}
*/}
+
+
+
+ {loading && (
+
+
+
+ )}
+
+ handleMessageButtonClick()}
+ />
+
+
+ {/* */}
+
+
+
+ Your ID
+
+
+
+ {!dispalyQR ? (
+ <>
+
+
+
+
+
{ourconvo.getProfileName() || ''}
+
+
+
+ your BChat ID
+
+
+
{ourconvo.id}
+
{}} />
+
+
+ Beldex Address
+
+
+
{walletAddress}
+
{}}
+ />
+
+ {/*
+ Share your BChat ID with your friends. You can find your BChat ID below
+
*/}
+ {/*
-
- {buttonText}
- {/* */}
+
+ {/*
+ {buttonText}
+ */}
+
+
+
+ setDispalyQR(true)}
+ />
+ >
+ ) : (
+
+
+ setDispalyQR(false)}
+ />
+ Your QR
+
+
+
+
+
+
+
+
+ Scan QR to start the Chat
+
+
+
+
+ )}
+
+
);
};
diff --git a/ts/components/leftpane/overlay/OverlayMessageRequest.tsx b/ts/components/leftpane/overlay/OverlayMessageRequest.tsx
index d06f3cba..2ac7fce2 100644
--- a/ts/components/leftpane/overlay/OverlayMessageRequest.tsx
+++ b/ts/components/leftpane/overlay/OverlayMessageRequest.tsx
@@ -32,7 +32,7 @@ export const OverlayMessageRequest = (props: any) => {
const convoRequestCount = useSelector(getConversationRequests).length;
const messageRequests = useSelector(getConversationRequests);
const selectedConversation = useSelector(getSelectedConversation);
- const {leftPane}=props;
+ const { leftPane } = props;
const buttonText = window.i18n('clearAll');
@@ -51,7 +51,7 @@ export const OverlayMessageRequest = (props: any) => {
title,
message,
onClose,
- okTheme:BchatButtonColor.Danger,
+ okTheme: BchatButtonColor.Danger,
onClickOk: async () => {
window?.log?.info('Blocking all conversations');
if (!convoRequests) {
@@ -98,21 +98,31 @@ export const OverlayMessageRequest = (props: any) => {
return
}
else {
- return
+ return
}
}
return (
-
+
{convoRequestCount ? (
<>
-
+
+
{
handleClearAllRequestsClick(messageRequests);
@@ -123,37 +133,37 @@ export const OverlayMessageRequest = (props: any) => {
) : (
<>
-
+ {/* */}
-
-
+
-
+
{window.i18n('noMessageRequestsPending')}
{/* {window.i18n('noMessageRequestsPending')} */}
-
+ {/* */}
>
)}
);
};
-const MessageRequestListPlaceholder = styled.div`
- color:var(--color-disableText);
- margin-bottom: auto;
- text-align:center;
- margin-bottom: 20px;
- font-family: 'poppin-semibold';
-`;
+// const MessageRequestListPlaceholder = styled.div`
+// color:var(--color-disableText);
+// margin-bottom: auto;
+// text-align:center;
+// margin-bottom: 20px;
+// font-family: 'poppin-semibold';
+// `;
const MessageRequestListContainer = styled.div`
width: 100%;
+ height:73%;
overflow-y: auto;
- margin-bottom: auto;
+ // margin-bottom: auto;
`;
/**
diff --git a/ts/components/leftpane/overlay/OverlayOpenGroup.tsx b/ts/components/leftpane/overlay/OverlayOpenGroup.tsx
index 033cb4b1..4640cce2 100644
--- a/ts/components/leftpane/overlay/OverlayOpenGroup.tsx
+++ b/ts/components/leftpane/overlay/OverlayOpenGroup.tsx
@@ -10,13 +10,14 @@ import { joinOpenGroupV2WithUIEvents } from '../../../bchat/apis/open_group_api/
import { openGroupV2CompleteURLRegex } from '../../../bchat/apis/open_group_api/utils/OpenGroupUtils';
import { ToastUtils } from '../../../bchat/utils';
import useKey from 'react-use/lib/useKey';
-import { LeftPaneSectionHeader } from '../LeftPaneSectionHeader';
import styled from 'styled-components';
+import { SpacerLG, SpacerSM, SpacerXS } from '../../basic/Text';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../../basic/BchatButton';
async function joinSocialGroup(serverUrl: string) {
// guess if this is an open
if (serverUrl.match(openGroupV2CompleteURLRegex)) {
- const groupCreated = await joinOpenGroupV2WithUIEvents(serverUrl, true, false);
+ const groupCreated = await joinOpenGroupV2WithUIEvents(serverUrl, true, false);
return groupCreated;
} else {
ToastUtils.pushToastError('invalidSocialGroupUrl', window.i18n('invalidSocialGroupUrl'));
@@ -24,10 +25,11 @@ async function joinSocialGroup(serverUrl: string) {
return false;
}
}
-const ScrollView=styled.div`
- height: 90%;
- overflow-y: scroll;
-`
+const SocialGrpWrapper = styled.div`
+ height: calc(100% - 115px);
+ padding: 15px;
+ overflow-y: auto;
+`;
export const OverlayOpenGroup = () => {
const dispatch = useDispatch();
const [loading, setLoading] = useState(false);
@@ -36,7 +38,6 @@ export const OverlayOpenGroup = () => {
function closeOverlay() {
dispatch(setOverlayMode(undefined));
dispatch(showLeftPaneSection(0));
-
}
async function onEnterPressed() {
@@ -48,8 +49,6 @@ export const OverlayOpenGroup = () => {
const groupCreated = await joinSocialGroup(groupUrl);
if (groupCreated) {
closeOverlay();
-
-
}
} catch (e) {
window.log.warn(e);
@@ -68,44 +67,43 @@ export const OverlayOpenGroup = () => {
return (
-
-
-
-
- {title}
-
- {subtitle}
-
-
-
-
-
-
- Social groups are similar to public groups. however, you need an invite link to join. Join a social group using the group's URL.
-
-
-
-
-
-
-
+
+
+ {title}
+
+ {subtitle}
+
-
- {buttonText}
-
+
+
+
+
+
+ Social groups are similar to public groups. however, you need an invite link to join. Join
+ a social group using the group's URL.
+
+
+
+
+
+
+
);
};
diff --git a/ts/components/lightbox/Lightbox.tsx b/ts/components/lightbox/Lightbox.tsx
index 15ebe6c2..ea93d4b9 100644
--- a/ts/components/lightbox/Lightbox.tsx
+++ b/ts/components/lightbox/Lightbox.tsx
@@ -47,7 +47,7 @@ const styles = {
width: '100vw',
height: '100vh',
left: 0,
- zIndex: 5,
+ zIndex: 31,
right: 0,
top: 0,
bottom: 0,
@@ -104,6 +104,7 @@ const styles = {
display: 'flex',
justifyContent: 'end',
marginBottom: '15px',
+ width: '98%',
} as React.CSSProperties,
controls: {
width: '80px',
@@ -111,7 +112,7 @@ const styles = {
display: 'flex',
flexDirection: 'row',
justifyContent: 'space-between',
- marginRight: '50px',
+ marginRight: '15px',
} as React.CSSProperties,
navigationContainer: {
flexShrink: 0,
@@ -119,6 +120,9 @@ const styles = {
flexDirection: 'column',
justifyContent: 'center',
padding: 10,
+ position: 'absolute',
+ right: '23px',
+ top: '50%',
} as React.CSSProperties,
saveButton: {
marginTop: 10,
@@ -151,22 +155,23 @@ const IconButton = ({ onClick, type }: IconButtonProps) => {
switch (type) {
case 'next':
iconType = 'forwardArrow';
- iconSize = 45;
+ iconSize = 58;
+ iconColor = '#108D32';
break;
case 'previous':
- iconType = 'backArrow';
+ iconType = 'forwardArrow';
iconRotation = 180;
- iconColor = '#4e4e71';
- iconSize = 45;
+ // iconColor = '#4e4e71';
+ iconSize = 58;
break;
case 'close':
iconType = 'exit';
- iconSize = 18;
+ iconSize = 40;
iconColor = '#BABABA';
break;
case 'save':
iconType = 'upload';
- iconSize = 23;
+ iconSize = 40;
iconColor = '#00b200';
break;
default:
@@ -181,6 +186,8 @@ const IconButton = ({ onClick, type }: IconButtonProps) => {
// the lightbox has a dark background
iconColor={iconColor}
onClick={clickHandler}
+ clipRule="evenodd"
+ fillRule="evenodd"
/>
);
};
@@ -296,19 +303,29 @@ export const Lightbox = (props: Props) => {
return (
-
+ {/*
*/}
+
+ {onPrevious ? (
+
+ ) : (
+
+ )}
+
{onSave ? (
) : null}
-
{
- dispatch(showLightBox(undefined));
- }}
- />
+
+ {' '}
+ {
+ dispatch(showLightBox(undefined));
+ }}
+ />
+
@@ -324,12 +341,7 @@ export const Lightbox = (props: Props) => {
- {onPrevious ? (
-
- ) : (
-
- )}
-
diff --git a/ts/components/menu/Menu.tsx b/ts/components/menu/Menu.tsx
index f99a7e67..ad52d762 100644
--- a/ts/components/menu/Menu.tsx
+++ b/ts/components/menu/Menu.tsx
@@ -40,10 +40,7 @@ import {
} from '../../models/conversation';
import { getConversationController } from '../../bchat/conversations';
import { ToastUtils } from '../../bchat/utils';
-import {
- changeNickNameModal,
- updateConfirmModal,
-} from '../../state/ducks/modalDialog';
+import { changeNickNameModal, updateConfirmModal } from '../../state/ducks/modalDialog';
import { SectionType } from '../../state/ducks/section';
import { hideMessageRequestBanner } from '../../state/ducks/userConfig';
import { getNumberOfPinnedConversations } from '../../state/selectors/conversations';
@@ -53,6 +50,10 @@ import { LocalizerKeys } from '../../types/LocalizerKeys';
import { BchatButtonColor } from '../basic/BchatButton';
import { ContextConversationId } from '../leftpane/conversation-list-item/ConversationListItem';
import { getOurNumber } from '../../state/selectors/user';
+import { BchatIcon } from '../icon/BchatIcon';
+// import CopyIcon from '../icon/CopyIcon';
+import styled from 'styled-components';
+import DeclineMessageRequest from '../icon/DeclineMessageRequest';
const maxNumberOfPinnedConversations = 5;
@@ -70,9 +71,10 @@ function showNotificationConvo(
isKickedFromGroup: boolean,
left: boolean,
isBlocked: boolean,
- isRequest: boolean
+ isRequest: boolean,
+ isMe: boolean
): boolean {
- return !left && !isKickedFromGroup && !isBlocked && !isRequest;
+ return !left && !isKickedFromGroup && !isBlocked && !isRequest && !isMe;
}
function showBlock(isMe: boolean, isPrivate: boolean, isRequest: boolean): boolean {
@@ -153,11 +155,20 @@ function showInviteContact(isPublic: boolean): boolean {
return isPublic;
}
+export const MenuWrapper = styled.span`
+ margin-left: 12px;
+ margin-right: 10px;
+`;
/** Menu items standardized */
export const InviteContactMenuItem = (): JSX.Element | null => {
+ console.log("InviteContactMenuItem::")
const convoId = useContext(ContextConversationId);
const isPublic = useIsPublic(convoId);
+ console.log("convoId:", convoId)
+ // console.log("isPublic:", isPublic)
+ // console.log("showInviteContact(isPublic):", showInviteContact(isPublic))
+ // console.log("showInviteContactByConvoId(convoId):", showInviteContactByConvoId(convoId));
if (showInviteContact(isPublic)) {
return (
@@ -166,7 +177,9 @@ export const InviteContactMenuItem = (): JSX.Element | null => {
showInviteContactByConvoId(convoId);
}}
>
- {window.i18n('inviteContacts')}
+
+
{window.i18n('inviteContacts')}
+
);
}
@@ -196,7 +209,12 @@ export const PinConversationMenuItem = (): JSX.Element | null => {
};
const menuText = isPinned ? window.i18n('unpinConversation') : window.i18n('pinConversation');
- return
- {menuText}
;
+ return (
+
-
+
{' '}
+ {menuText}
+
+ );
}
return null;
};
@@ -209,10 +227,9 @@ export const DeleteContactMenuItem = () => {
const isKickedFromGroup = useIsKickedFromGroup(convoId);
const isPrivate = useIsPrivate(convoId);
const isRequest = useIsRequest(convoId);
- const ourNumber = useSelector(getOurNumber);
+ const ourNumber = useSelector(getOurNumber);
const username = String(useConversationUsername(convoId));
-
if (showDeleteContact(!isPrivate, isPublic, isLeft, isKickedFromGroup, isRequest)) {
let menuItemText: string;
if (isPublic) {
@@ -228,37 +245,47 @@ export const DeleteContactMenuItem = () => {
};
const showConfirmationModal = () => {
-
- let notetoSelf={
+ let notetoSelf = {
title: menuItemText,
- message:"This chat is for your self reference.So can't be deleted.",
+ message: "This chat is for your self reference.So can't be deleted.",
onClickClose,
- okTheme: BchatButtonColor.Green,
+ okTheme: BchatButtonColor.Primary,
onClickOk: async () => {
- onClickClose
+ onClickClose;
},
- okText:"ok",
+ okText: 'OK',
hideCancel: true,
+ };
- }
-
- let contactDelete={
+ let contactDelete = {
title: menuItemText,
- message: isPrivate?"Permanently delete the Contact?": window.i18n('leaveGroupConfirmation',[username]),
+ message: isPrivate
+ ? 'Permanently delete the Contact?'
+ : window.i18n('leaveGroupConfirmation', [username]),
onClickClose,
- onClickOk: async () => {await getConversationController().deleteContact(convoId);},
- okText:menuItemText.slice(0,5)==='Leave'?"Leave":"Delete",
- okTheme:BchatButtonColor.Danger,
-
- }
- dispatch(
- updateConfirmModal(ourNumber===convoId?notetoSelf:contactDelete))
- // updateConfirmModal(temp))
-
-
+ onClickOk: async () => {
+ await getConversationController().deleteContact(convoId);
+ },
+ okText: menuItemText.slice(0, 5) === 'Leave' ? 'Leave' : 'Delete',
+ okTheme: BchatButtonColor.Danger,
+ };
+ dispatch(updateConfirmModal(ourNumber === convoId ? notetoSelf : contactDelete));
+ // updateConfirmModal(temp))
};
- return
- {menuItemText}
;
+ return (
+
-
+ {' '}
+
{' '}
+ {menuItemText}
+
+ );
}
return null;
};
@@ -275,10 +302,12 @@ export const LeaveGroupMenuItem = () => {
return (
- {
- showLeaveGroupByConvoId(convoId,username);
+ showLeaveGroupByConvoId(convoId, username,
);
}}
>
- {window.i18n('leaveGroup')}
+
+ {window.i18n('leaveGroup')}
+
);
}
@@ -286,7 +315,6 @@ export const LeaveGroupMenuItem = () => {
return null;
};
-
export const UpdateGroupNameMenuItem = () => {
const convoId = useContext(ContextConversationId);
const left = useIsLeft(convoId);
@@ -300,7 +328,8 @@ export const UpdateGroupNameMenuItem = () => {
await showUpdateGroupNameByConvoId(convoId);
}}
>
- {window.i18n('editGroup')}
+
{' '}
+
{window.i18n('editGroup')}
);
}
@@ -394,7 +423,12 @@ export const CopyMenuItem = (): JSX.Element | null => {
if (showCopyId(isPublic, isPrivate)) {
const copyIdLabel = isPublic ? window.i18n('copySocialGroupURL') : window.i18n('copyBchatID');
- return
- copyPublicKeyByConvoId(convoId)}>{copyIdLabel}
;
+ return (
+
- copyPublicKeyByConvoId(convoId)}>
+
+ {copyIdLabel}
+
+ );
}
return null;
};
@@ -402,9 +436,13 @@ export const CopyMenuItem = (): JSX.Element | null => {
export const MarkAllReadMenuItem = (): JSX.Element | null => {
const convoId = useContext(ContextConversationId);
const isRequest = useIsRequest(convoId);
- if (!isRequest) {
+ const isMe = useIsMe(convoId);
+ if (!isRequest && !isMe) {
return (
-
- markAllReadByConvoId(convoId)}>{window.i18n('markAllAsRead')}
+
- markAllReadByConvoId(convoId)}>
+
{' '}
+ {window.i18n('markAllAsRead')}
+
);
} else {
return null;
@@ -419,6 +457,11 @@ export const DisappearingMessageMenuItem = (): JSX.Element | null => {
const isKickedFromGroup = useIsKickedFromGroup(convoId);
const timerOptions = useSelector(getTimerOptions).timerOptions;
const isRequest = useIsRequest(convoId);
+ const ourNumber = useSelector(getOurNumber);
+ console.log("timerOptions:",timerOptions)
+ if (ourNumber === convoId) {
+ return null;
+ }
if (
showTimerOptions(
@@ -429,21 +472,30 @@ export const DisappearingMessageMenuItem = (): JSX.Element | null => {
isRequest
)
) {
-
return (
// Remove the && false to make context menu work with RTL support
+ {' '}
+ {window.i18n('disappearingMessages')}
+ >
+ }
+ arrow={ }
+
>
{timerOptions.map(item => (
- - {
- await setDisappearingMessagesByConvoId(convoId, item.value);
- }}
- >
- {item.name}
-
+
+ - {
+ await setDisappearingMessagesByConvoId(convoId, item.value);
+ }}
+ >
+ {item.name}
+
+
+
))}
);
@@ -459,11 +511,11 @@ export const NotificationForConvoMenuItem = (): JSX.Element | null => {
const isPrivate = useIsPrivate(convoId);
const isRequest = useIsRequest(convoId);
const currentNotificationSetting = useNotificationSetting(convoId);
+ const isMe = useIsMe(convoId);
if (
- showNotificationConvo(Boolean(isKickedFromGroup), Boolean(left), Boolean(isBlocked), isRequest)
+ showNotificationConvo(Boolean(isKickedFromGroup), Boolean(left), Boolean(isBlocked), isRequest, isMe)
) {
-
// exclude mentions_only settings for private chats as this does not make much sense
const notificationForConvoOptions = ConversationNotificationSetting.filter(n =>
isPrivate ? n !== 'mentions_only' : true
@@ -473,29 +525,49 @@ export const NotificationForConvoMenuItem = (): JSX.Element | null => {
n === 'all' || !n
? 'notificationForConvo_all'
: n === 'disabled'
- ? 'notificationForConvo_disabled'
- : 'notificationForConvo_mentions_only';
+ ? 'notificationForConvo_disabled'
+ : 'notificationForConvo_mentions_only';
return { value: n, name: window.i18n(keyToUse) };
});
return (
// Remove the && false to make context menu work with RTL support
+ {' '}
+ {window.i18n('notificationForConvo') as any}
+ >
+ }
+ arrow={ }
+ // label={window.i18n('notificationForConvo') as any}
>
{(notificationForConvoOptions || []).map(item => {
const disabled = item.value === currentNotificationSetting;
return (
- - {
- await setNotificationForConvoId(convoId, item.value);
- }}
- disabled={disabled}
- >
- {item.name}
-
+
+
- {
+ await setNotificationForConvoId(convoId, item.value);
+ }}
+ // disabled={disabled}
+ >
+
+
+
+ {item.name}
+
+
);
})}
@@ -522,7 +594,13 @@ export const BlockMenuItem = (): JSX.Element | null => {
const blockHandler = isBlocked
? () => unblockConvoById(convoId)
: () => blockConvoById(convoId);
- return
- {blockTitle}
;
+
+ return (
+
-
+
{' '}
+ {blockTitle}
+
+ );
}
return null;
};
@@ -556,7 +634,8 @@ export const ChangeNicknameMenuItem = () => {
dispatch(changeNickNameModal({ conversationId: convoId }));
}}
>
- {window.i18n('changeNickname')}
+
{' '}
+
{window.i18n('changeNickname')}
);
}
@@ -577,7 +656,8 @@ export const DeleteMessagesMenuItem = () => {
deleteAllMessagesByConvoIdWithConfirmation(convoId);
}}
>
- {window.i18n('deleteMessages')}
+
+
{window.i18n('deleteMessages')}
);
};
@@ -619,12 +699,13 @@ export const AcceptMenuItem = () => {
export const DeclineMenuItem = () => {
const convoId = useContext(ContextConversationId);
const isRequest = useIsRequest(convoId);
+ const customIcon =
if (isRequest) {
return (
- {
- declineConversationWithConfirm(convoId, true);
+ declineConversationWithConfirm(convoId, true, customIcon);
}}
>
{window.i18n('decline')}
diff --git a/ts/components/registration/AccentText.tsx b/ts/components/registration/AccentText.tsx
index a9893066..2edf092a 100644
--- a/ts/components/registration/AccentText.tsx
+++ b/ts/components/registration/AccentText.tsx
@@ -1,9 +1,12 @@
import React from 'react';
+import ChatwithTxtIcon from '../icon/chatwithTxtIcon';
export const AccentText: React.FC = () => (
-
Hey You! Chat anonymously now.
-
The private Web3 messaging app that protects your conversational freedom. Create an account instantly.
+
+
Hello, Welcome Back!
+
Welcome to BChat, your private haven for seamless communication and connection.
+
);
diff --git a/ts/components/registration/BchatRegistrationView.tsx b/ts/components/registration/BchatRegistrationView.tsx
index fe4c8c92..5dff9ebb 100644
--- a/ts/components/registration/BchatRegistrationView.tsx
+++ b/ts/components/registration/BchatRegistrationView.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import { RegistrationStages } from './RegistrationStages';
import { BchatToastContainer } from '../BchatToastContainer';
import { BchatTheme } from '../../state/ducks/BchatTheme';
-import { Flex } from '../basic/Flex';
+// import { Flex } from '../basic/Flex';
import { setSignInByLinking } from '../../util/storage';
export const BchatRegistrationView = () => {
@@ -16,25 +16,25 @@ export const BchatRegistrationView = () => {
-
- */}
+ {/*
-
-
+
+ */}
- {
height="100%"
width='60%'
>
-
+ */}
-
-
-
+ {/*
+ */}
+ {/* */}
diff --git a/ts/components/registration/DisplaySeed.tsx b/ts/components/registration/DisplaySeed.tsx
index 7c41d8c8..df5b3229 100644
--- a/ts/components/registration/DisplaySeed.tsx
+++ b/ts/components/registration/DisplaySeed.tsx
@@ -2,33 +2,36 @@ import React from 'react';
// import { pushUserCopySuccess } from '../../bchat/utils/Toast';
import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { BchatToolTip } from '../leftpane/ActionsPanel';
+import PasteIcon from '../icon/PasteIcon';
+import { Flex } from '../basic/Flex';
+import { GoBackMainMenuButton } from './SignUpTab';
-export const Icons = (props: any) => (
- props.iconfunc()}
- className="paste-icon"
- data-tip="Paste"
- data-offset="{'top':30,'left':15}"
- data-place="right"
- style={{
- // background: `url(images/bchat/${props.icon}.svg) no-repeat`,
- // width: '40px',
- // height: '40px',
- // backgroundColor: 'var(--color-inboxBgColor)',
- // backgroundSize: '16px',
- // borderRadius: '35px',
- // backgroundPosition: 'center',
- // left: '430px',
- // top: '-92px',
- // position: 'absolute',
- // cursor: 'pointer',
- }}
- >
-
-
+// export const Icons = (props: any) => (
+//
props.iconfunc()}
+// className="paste-icon"
+// data-tip="Paste"
+// data-offset="{'top':30,'left':15}"
+// data-place="right"
+// style={{
+// // background: `url(images/bchat/${props.icon}.svg) no-repeat`,
+// // width: '40px',
+// // height: '40px',
+// // backgroundColor: 'var(--color-inboxBgColor)',
+// // backgroundSize: '16px',
+// // borderRadius: '35px',
+// // backgroundPosition: 'center',
+// // left: '430px',
+// // top: '-92px',
+// // position: 'absolute',
+// // cursor: 'pointer',
+// }}
+// >
-
-);
+//
+
+//
+// );
export const ClearIcon = (props: any) => (
(
>
);
-const handlePaste = (event: any) => {
- event.clipboardData.getData('text');
-};
+export const DisplaySeed = (props: any) => {
+ const handlePaste = (event: any) => {
-export const DisplaySeed = (props: any) => (
-
- <>
-
{window.i18n('restoreFromSeed')}
-
-
- props.assignRecoveryPhase('')}>
-
-
-
- {
}
+ event.clipboardData.getData('text');
+ };
+
+ return (
+
+ <>
+
+
+
+
+ {window.i18n('restoreFromSeed')}
+
+
+
+ {/*
props.assignRecoveryPhase('')}> */}
+
+
+
props.paste()}
+ className="paste-icon"
+ data-tip="Paste"
+ data-offset="{'top':30,'left':15}"
+ data-place="right"
+ >
+
+
+
+
-
- >
+ >
-
-
-
-);
+ );
+};
diff --git a/ts/components/registration/RegistrationStages.tsx b/ts/components/registration/RegistrationStages.tsx
index 99c7b535..3f54b5a7 100644
--- a/ts/components/registration/RegistrationStages.tsx
+++ b/ts/components/registration/RegistrationStages.tsx
@@ -12,6 +12,7 @@ import { setSignInByLinking, setSignWithRecoveryPhrase, Storage } from '../../ut
import { wallet } from '../../wallet/wallet-rpc';
import { AccentText } from './AccentText';
import { TermsAndConditions } from './TermsAndConditions';
+import { Flex } from '../basic/Flex';
export const MAX_USERNAME_LENGTH = 26;
// tslint:disable: use-simple-attributes
@@ -178,6 +179,13 @@ export enum RegistrationPhase {
SignUp,
}
+export enum LeftImage {
+ registration,
+ password,
+ address,
+ recoveryseed,
+}
+
interface RegistrationPhaseContext {
registrationPhase: RegistrationPhase;
signUpMode: SignUpMode;
@@ -201,6 +209,7 @@ export const RegistrationStages = () => {
const [signInMode, setSignInMode] = useState(SignInMode.Default);
const [signUpMode, setSignUpMode] = useState(SignUpMode.Default);
const [accent, setAccent] = useState(true);
+ const [imageCount, setImageCount] = useState(0);
useEffect(() => {
void generateMnemonicAndKeyPairaa();
@@ -211,29 +220,79 @@ export const RegistrationStages = () => {
// console.log('registration');
await wallet.startWallet();
};
+ const imageValidator = (e: any) => {
+ console.log('imageValidator');
+ setImageCount(e);
+ };
+ const displayImg = () => {
+ let path;
+ if (imageCount === LeftImage.recoveryseed) {
+ path = 'images/bchat/loginPageSeed.png';
+ } else if (imageCount === LeftImage.password) {
+ path = 'images/bchat/loginPagePassword.png';
+ } else if (imageCount === LeftImage.address) {
+ path = 'images/bchat/loginPageAddress.png';
+ } else {
+ path = 'images/bchat/loginpage.png';
+ }
+
+ return path;
+ };
return (
-
- {accent && }
- {(registrationPhase === RegistrationPhase.Start ||
- registrationPhase === RegistrationPhase.SignUp) && (
- setAccent(value)} />
- )}
- {(registrationPhase === RegistrationPhase.Start ||
- registrationPhase === RegistrationPhase.SignIn) && (
- setAccent(value)} />
- )}
- {accent && }
-
+
+
+
+
+
+
+
+
+ {accent && }
+ {(registrationPhase === RegistrationPhase.Start ||
+ registrationPhase === RegistrationPhase.SignUp) && (
+ setAccent(value)}
+ imageValidator={(e: Number) => imageValidator(e)}
+ />
+ )}
+ {(registrationPhase === RegistrationPhase.Start ||
+ registrationPhase === RegistrationPhase.SignIn) && (
+ setAccent(value)}
+ imageValidator={(e: Number) => imageValidator(e)}
+ />
+ )}
+ {accent && }
+
+
+
+
);
};
diff --git a/ts/components/registration/RegistrationUserDetails.tsx b/ts/components/registration/RegistrationUserDetails.tsx
index e916a38a..a8432fca 100644
--- a/ts/components/registration/RegistrationUserDetails.tsx
+++ b/ts/components/registration/RegistrationUserDetails.tsx
@@ -13,12 +13,13 @@ const DisplayNameInput = (props: {
// tslint:disable-next-line: use-simple-attributes
{
+ props.onDisplayNameChanged(value.replace(/\s/g, ''))
+ })}
onEnterPressed={props.handlePressEnter}
inputDataTestId="display-name-input"
/>
diff --git a/ts/components/registration/ShowIdAndAddress.tsx b/ts/components/registration/ShowIdAndAddress.tsx
index 4ad35b4b..17d6edf1 100644
--- a/ts/components/registration/ShowIdAndAddress.tsx
+++ b/ts/components/registration/ShowIdAndAddress.tsx
@@ -1,93 +1,161 @@
import React, { useState } from 'react';
-import { pushUserCopySuccess } from '../../bchat/utils/Toast';
+
import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { Flex } from '../basic/Flex';
import { BchatToolTip } from '../leftpane/ActionsPanel';
-import { GoBackMainMenuButton } from './SignUpTab';
+// import { GoBackMainMenuButton } from './SignUpTab';
+import { SpacerLG } from '../basic/Text';
+import {CopyIconButton} from '../icon/CopyIconButton';
+// import { BchatIconButton } from '../icon/BchatIconButton';
-export const DisplayIdAndAddress = (props: any) =>
-(
-
-
+export const DisplayIdAndAddress = (props: any) => (
+
+ {/*
{props.assentAndGoBack()}} />
-
-
{window.i18n('welcome')}
-
-
{window.i18n('chatId')}
-
-
{window.i18n('yourBchatName')}
-
{window.i18n('beldexAddress')}
-
-
{props.walletAddress}
-
-
{window.i18n('beldexAddressConnection')}
-
-
-
+
*/}
+
{window.i18n('welcome')}!
+
+ {/*
*/}
+
{window.i18n('bChatID')}
+
+ {/*
{props.pubKey}
*/}
+
{props.pubKey}
+
+
{window.i18n('yourBchatName')}
+
{window.i18n('beldexAddress')}
+
+ {/*
{props.walletAddress}
*/}
+
{props.walletAddress}
+ {/*
*/}
+
+
+ {window.i18n('beldexAddressConnection')}
+
+
+
+
+
);
-export const Icons = (props:any)=>
-props.iconfunc()} data-tip="Copy" data-place="right" data-offset="{'top':30,'left':15}" className='iconBox'>
-
-
-
-
- const LoaderGif = () => {
- return
-
-
+// export const Icons = (props: any) => (
+//
props.onClick()}
+// data-tip="Copy"
+// data-place="right"
+// data-offset="{'top':30,'left':15}"
+// className="iconBox"
+// >
+//
+//
+//
+//
+// );
+const LoaderGif = () => {
+ return (
+
- }
+ );
+};
-export const ShowRecoveryPhase= (props:any) => {
- const [seedCopied,setSeedCopied] = useState(false);
- return(
-
+export const ShowRecoveryPhase = (props: any) => {
+ const [seedCopied, setSeedCopied] = useState(false);
+ return (
+
{props.loading &&
}
-
-
+
-
- {props.assentAndGoBack()}} />
-
- {window.i18n('recoveryPhrase')}
- Note : {window.i18n('saveYourRecoveryPhrase')}
- {window.i18n('copyToContinueRecovery')}
-
-
-
-
+ {/*
+ {
+ props.assentAndGoBack();
+ }}
+ />
+
*/}
+ {window.i18n('recoveryPhrase')}
+
+
+
+ {props.mnemonic}
+
+ {/*
*/}
+
+ {/*
*/}
+
+ {
+ setSeedCopied(true);
+ }}/>
+
+
+
+
+ Note : {window.i18n('saveYourRecoveryPhrase')}
+ {window.i18n('copyToContinueRecovery')}
+
+
+ {/* */}
+
-
- {props.copySeed(props.mnemonic),setSeedCopied(true),pushUserCopySuccess()}} />
-
-
-
-
-
- )
-}
\ No newline at end of file
+
+
+ );
+};
diff --git a/ts/components/registration/SignInTab.tsx b/ts/components/registration/SignInTab.tsx
index dbfb6afc..162afcd4 100644
--- a/ts/components/registration/SignInTab.tsx
+++ b/ts/components/registration/SignInTab.tsx
@@ -3,8 +3,9 @@ import { sanitizeBchatUsername } from '../../bchat/utils/String';
// import { Flex } from '../basic/Flex';
import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
// import { BchatSpinner } from '../basic/BchatSpinner';
-import { SpacerLG } from '../basic/Text';
+// import { SpacerLG } from '../basic/Text';
import {
+ LeftImage,
MAX_USERNAME_LENGTH,
RegistrationContext,
RegistrationPhase,
@@ -19,6 +20,7 @@ import { DisplaySeed } from './DisplaySeed';
import { mn_decode } from '../../bchat/crypto/mnemonic';
import { ToastUtils } from '../../bchat/utils';
import { WalletPassword } from './WalletPass';
+import { Flex } from '../basic/Flex';
// import { BchatIconButton } from '../icon/BchatIconButton';
const { clipboard } = require('electron');
@@ -46,8 +48,8 @@ const RestoreUsingRecoveryPhraseButton = (props: { onRecoveryButtonClicked: () =
return (
@@ -61,8 +63,8 @@ const ContinueYourBchatButton = (props: {
return (
-
+ {/* */}
{/* */}
);
@@ -167,7 +169,7 @@ export const SignInTab = (props: any) => {
}
if (password !== repassword) {
window?.log?.warn('invalid password');
- return ToastUtils.pushToastError('invalidPassword', 'Passwords do not match');
+ return ToastUtils.pushToastError('invalidPassword', 'Please Enter Same Password !');
}
if (
(password.length < 4 && repassword.length < 4) ||
@@ -179,6 +181,7 @@ export const SignInTab = (props: any) => {
);
}
setScreenName(3);
+ props.imageValidator(LeftImage.recoveryseed);
};
// const clickGoBack = () => {
@@ -197,6 +200,7 @@ export const SignInTab = (props: any) => {
try {
mn_decode(recoveryPhrase, 'english');
setScreenName(2);
+ props.imageValidator(LeftImage.password);
} catch (e) {
setScreenName(1);
ToastUtils.pushToastError(
@@ -211,18 +215,26 @@ export const SignInTab = (props: any) => {
if (signInMode !== SignInMode.Default && screenName === 1) {
return (
<>
-
+ {/*
{
props.assent(true);
setScreenName(1);
setBlockheight('');
setRestoreDate('');
+ props.imageValidator(LeftImage.registration);
}}
/>
-
+
*/}
assignSeed()}
+ backArrow={() => {
+ props.assent(true);
+ setScreenName(1);
+ setBlockheight('');
+ setRestoreDate('');
+ props.imageValidator(LeftImage.registration);
+ }}
+ paste={() => assignSeed()}
assignRecoveryPhase={(seed: string) => {
setRecoveryPhrase(seed);
// setRecoveryPhraseError(!seed ? window.i18n('recoveryPhraseEmpty') : undefined);
@@ -245,6 +257,7 @@ export const SignInTab = (props: any) => {
setRepassword={(e: any) => setRepassword(e)}
backArrow={() => {
setScreenName(1);
+ props.imageValidator(LeftImage.recoveryseed);
setPassword('');
setRepassword(''), props.assent(true);
}}
@@ -269,9 +282,10 @@ export const SignInTab = (props: any) => {
@@ -282,12 +296,12 @@ export const SignInTab = (props: any) => {
{screenName === 3 && (
<>
-
{
@@ -297,21 +311,36 @@ export const SignInTab = (props: any) => {
setRepassword('');
setBlockheight('');
setRestoreDate('');
+ props.imageValidator(LeftImage.registration);
}}
/>
-
{window.i18n('restoreFromSeed')}
+
{window.i18n('restoreFromSeed')}
*/}
+
+
+ {
+ props.assent(true);
+ setScreenName(1);
+ setPassword('');
+ setRepassword('');
+ setBlockheight('');
+ setRestoreDate('');
+ props.imageValidator(LeftImage.registration);
+ }} />
+
+ {window.i18n('restoreFromSeed')}
+
{
const sanitizedName = sanitizeBchatUsername(name);
const trimName = sanitizedName.trim();
- setDisplayName(sanitizedName);
+ setDisplayName(sanitizedName.replace(/\s/g, ''));
setDisplayNameError(!trimName ? window.i18n('displayNameEmpty') : undefined);
}}
// onEnterPressed={props.handlePressEnter}
@@ -339,7 +368,7 @@ export const SignInTab = (props: any) => {
/>
OR
-
+
If you dont know the restore Date, you can skip it.
@@ -355,7 +384,7 @@ export const SignInTab = (props: any) => {
inputDataTestId="display-name-input"
/>
-
+
{
setDisplayName('');
setIsLoading(false);
props.assent(false);
+ props.imageValidator(LeftImage.recoveryseed)
}}
onLinkDeviceButtonClicked={() => {
setRegistrationPhase(RegistrationPhase.SignIn);
diff --git a/ts/components/registration/SignUpTab.tsx b/ts/components/registration/SignUpTab.tsx
index 13be5aa9..c6e2693f 100644
--- a/ts/components/registration/SignUpTab.tsx
+++ b/ts/components/registration/SignUpTab.tsx
@@ -3,7 +3,7 @@ import { fromHex, sanitizeBchatUsername } from '../../bchat/utils/String';
import { Flex } from '../basic/Flex';
import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { BchatIconButton } from '../icon';
-import { RegistrationContext, RegistrationPhase, signUp } from './RegistrationStages';
+import { LeftImage, RegistrationContext, RegistrationPhase, signUp } from './RegistrationStages';
import { RegistrationUserDetails } from './RegistrationUserDetails';
import { SignInMode } from './SignInTab';
import { DisplayIdAndAddress, ShowRecoveryPhase } from './ShowIdAndAddress';
@@ -13,7 +13,7 @@ import { mn_decode } from '../../bchat/crypto/mnemonic';
import { bchatGenerateKeyPair } from '../../util/accountManager';
import { WalletPassword } from './WalletPass';
-const { clipboard } = require('electron');
+// const { clipboard } = require('electron');
export enum SignUpMode {
Default,
@@ -25,8 +25,8 @@ const CreateBchatIdButton = ({ createBchatID }: { createBchatID: any }) => {
return (
);
@@ -45,9 +45,9 @@ export const GoBackMainMenuButton = (props: any) => {
return (
{
setRegistrationPhase(RegistrationPhase.Start);
setSignInMode(SignInMode.Default);
@@ -131,9 +131,10 @@ export const SignUpTab = (props: any) => {
@@ -142,6 +143,7 @@ export const SignUpTab = (props: any) => {
const clickGoBack = () => {
setDisplayName('');
setDisplayNameScreen(0);
+ props.imageValidator(LeftImage.registration);
};
const verifyUserName = () => {
if (!displayName) {
@@ -149,6 +151,7 @@ export const SignUpTab = (props: any) => {
ToastUtils.pushToastError('invalidDisplayName', window.i18n('displayNameEmpty'));
} else {
setDisplayNameScreen(1);
+ props.imageValidator(LeftImage.password);
}
};
@@ -170,6 +173,7 @@ export const SignUpTab = (props: any) => {
const walletData = { displayName, password };
void generateMnemonicAndKeyPairCreate(walletData);
setDisplayNameScreen(2);
+ props.imageValidator(LeftImage.address);
setRepassword('');
setPassword('');
}
@@ -180,6 +184,7 @@ export const SignUpTab = (props: any) => {
if (displayNameScreen === 1) {
setPassword('');
setRepassword('');
+ props.imageValidator(LeftImage.registration)
}
};
if (displayNameScreen === 1) {
@@ -202,14 +207,14 @@ export const SignUpTab = (props: any) => {
flexDirection="row"
container={true}
alignItems="center"
- padding="14px 0px"
- margin="0px 0px 0px 65px"
+ // padding="14px 0px"
+ // margin="0px 0px 0px 65px"
>
- {window.i18n('welcomeToYourBchat')}
+ {window.i18n('displayName')}
{
}}
stealAutoFocus={true}
/>
-
+
{
verifyUserName();
}}
- buttonType={BchatButtonType.Brand}
- buttonColor={BchatButtonColor.Green}
- text={window.i18n('getStarted')}
+ buttonType={BchatButtonType.Default}
+ buttonColor={BchatButtonColor.Primary}
+ text={window.i18n('continue')}
+ disabled={!displayName}
/>
);
}
- const handlePaste = () => {
- clipboard.writeText(generatedRecoveryPhrase, 'clipboard');
- };
+ // const handlePaste = () => {
+ // clipboard.writeText(generatedRecoveryPhrase, 'clipboard');
+ // };
if (displayNameScreen === 2) {
return (
@@ -252,6 +258,7 @@ export const SignUpTab = (props: any) => {
{
setDisplayNameScreen(3);
+ props.imageValidator(LeftImage.recoveryseed);
}}
pubKey={hexGeneratedPubKey}
walletAddress={localStorage.getItem('userAddress')}
@@ -274,7 +281,7 @@ export const SignUpTab = (props: any) => {
mnemonic={generatedRecoveryPhrase}
nextFunc={signUpWithDetails}
enableCompleteSignUp={enableCompleteSignUp}
- copySeed={handlePaste}
+ // copySeed={handlePaste}
loading={showSeedLoading}
>
>
diff --git a/ts/components/registration/WalletPass.tsx b/ts/components/registration/WalletPass.tsx
index fc45c4fc..966d2421 100644
--- a/ts/components/registration/WalletPass.tsx
+++ b/ts/components/registration/WalletPass.tsx
@@ -1,60 +1,61 @@
-import React from "react"
-import { BchatButton, BchatButtonColor, BchatButtonType } from "../basic/BchatButton"
-import { BchatInput } from "../basic/BchatInput"
-import { Flex } from "../basic/Flex"
-import { } from "../leftpane/ActionsPanel"
+import React from 'react';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+import { BchatInput } from '../basic/BchatInput';
+import { Flex } from '../basic/Flex';
+import {} from '../leftpane/ActionsPanel';
-import { GoBackMainMenuButton } from "./SignUpTab"
+import { GoBackMainMenuButton } from './SignUpTab';
+import { SpacerLG } from '../basic/Text';
- export const WalletPassword=(props:any)=>{
-
- return(
+export const WalletPassword = (props: any) => {
+ return (
-
-
-
+
+
+
-
-
- Wallet Password
+
+
Wallet Password
-
-
Create New Wallet Password
-
-
-
-
-
- props.submit()}
- buttonType={BchatButtonType.Brand}
- buttonColor={BchatButtonColor.Green}
- text={window.i18n('continue')}
- />
-
-
+
Create New Wallet Password
+
+
+
+
+
+ props.submit()}
+ buttonType={BchatButtonType.Default}
+ buttonColor={BchatButtonColor.Primary}
+ text={window.i18n('continue')}
+ />
+
- Note: Your wallet password will be used to authenticate transactions on BChat.Keep Your Wallet Password Safe. If you forget the password, you can reset it only by restoring your BChat account using your Recovery Seed.
+
+ Note: Your wallet password will be used to authenticate transactions on BChat.
+ Keep Your Wallet Password Safe. If you forget the password, you can reset
+ it only by restoring your BChat account using your Recovery Seed.
+
- )
-}
\ No newline at end of file
+ );
+};
diff --git a/ts/components/search/MessageSearchResults.tsx b/ts/components/search/MessageSearchResults.tsx
index 71f7a94e..e63be41b 100644
--- a/ts/components/search/MessageSearchResults.tsx
+++ b/ts/components/search/MessageSearchResults.tsx
@@ -3,12 +3,16 @@ import React from 'react';
import { getOurPubKeyStrFromCache } from '../../bchat/utils/User';
import { openConversationToSpecificMessage } from '../../state/ducks/conversations';
import { ContactName } from '../conversation/ContactName';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
+import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
import { Timestamp } from '../conversation/Timestamp';
import { MessageBodyHighlight } from '../basic/MessageBodyHighlight';
import styled from 'styled-components';
import { MessageAttributes } from '../../models/messageType';
-import { useConversationUsername, useIsPrivate } from '../../hooks/useParamSelector';
+import {
+ useConversationBnsHolder,
+ useConversationUsername,
+ useIsPrivate,
+} from '../../hooks/useParamSelector';
import { UserUtils } from '../../bchat/utils';
export type MessageResultProps = MessageAttributes & { snippet: string };
@@ -133,8 +137,17 @@ const FromUserInGroup = (props: { authorPubkey: string; conversationId: string }
return
{authorConvoName}: ;
};
-const AvatarItem = (props: { source: string }) => {
- return
;
+const AvatarItem = (props: { source: string; isBnsHolder: any }) => {
+ return (
+
+
+
+ );
};
const ResultBody = styled.div`
@@ -199,7 +212,7 @@ export const MessageSearchResult = (props: MessageResultProps) => {
const destination =
direction === 'incoming' ? conversationId : convoIsPrivate ? me : conversationId;
-
+ const isBnsHolder = useConversationBnsHolder(destination);
if (!source && !destination) {
return null;
}
@@ -217,7 +230,7 @@ export const MessageSearchResult = (props: MessageResultProps) => {
});
}}
>
-
+
diff --git a/ts/components/settings/BchatRecoverySeed.tsx b/ts/components/settings/BchatRecoverySeed.tsx
index 286df729..49dc0074 100644
--- a/ts/components/settings/BchatRecoverySeed.tsx
+++ b/ts/components/settings/BchatRecoverySeed.tsx
@@ -3,15 +3,20 @@ import React from 'react';
import { BchatSeedModal } from '../dialog/BchatSeedModal';
import { useSelector } from 'react-redux';
import { getRecoveryPhraseDialog } from '../../state/selectors/modal';
+import { BchatWrapperModal } from '../BchatWrapperModal';
-import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
-import { BchatIcon } from '../icon';
+// import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
+// import { BchatIcon } from '../icon';
import { BchatSettingCategory } from './BchatSettings';
import { showSettingsSection } from '../../state/ducks/section';
import { displayPasswordModal } from './section/CategoryPrivacy';
-import { SpacerMD } from '../basic/Text';
+import { SpacerLG } from '../basic/Text';
+import { BchatButtonColor } from '../basic/BchatButton';
+import { BchatIcon } from '../icon/BchatIcon';
+// import { updateConfirmModal } from '../../state/ducks/modalDialog';
export const BchatRecoverySeed = (props: any) => {
+
// const [verify, setVerify] = useState(false)
const recoveryPhraseModalState = useSelector(getRecoveryPhraseDialog);
@@ -19,35 +24,68 @@ export const BchatRecoverySeed = (props: any) => {
return ;
}
- return (
-
-
-
-
+ const onClickOkHandler = () => {
+ window.inboxStore?.dispatch(showSettingsSection(BchatSettingCategory.Privacy));
+ displayPasswordModal('set', props.onPasswordUpdated);
+ };
-
{window.i18n('setPassword')}
-
-
- Set a Password before accessing the Recovery Phrase. You can set your password from{' '}
-
-
Settings -> Privacy -> Set Account Password.
-
-
+ const onClickCancelHandler = () => {
+ console.log("sdnksnfksfkjf")
+ // if (props.onClickCancel) {
+ // onClickCancel();
+ // }
+
+ // if (onClickClose) {
+ // onClickClose();
+ // }
+ // state.recoveryPhraseModal
+ // displayPasswordModal('remove', props.onPasswordUpdated);
+ window.inboxStore?.dispatch(showSettingsSection(BchatSettingCategory.Chat));
-
-
{
- window.inboxStore?.dispatch(showSettingsSection(BchatSettingCategory.Privacy));
- displayPasswordModal('set', props.onPasswordUpdated);
- // setVerify(true)
- }}
- buttonType={BchatButtonType.Brand}
- buttonColor={BchatButtonColor.Green}
- />
+ // window.inboxStore?.dispatch(updateConfirmModal(null));
+};
+
+ return (
+ }
+ >
+
+
+
+
{window.i18n('setPassword')}
+
+
+ Set a Password before accessing the Recovery Phrase. You can set your password from{' '}
+ Settings -> Privacy -> Set Account Password.
+
+ {/*
Settings -> Privacy -> Set Account Password.
*/}
+
+ {/*
{window.i18n('payYouChat')}
+
*/}
+ {/*
+ {settings ? (
+ window.i18n('warningWalletPassword')
+ ) : (
+ <>
+ Enable pay as you chat from Settings -> Chat -> Pay As You Chat
+ to use this option
+ >
+ )}
+
*/}
-
+
);
// if(true)
diff --git a/ts/components/settings/BchatSettingListItem.tsx b/ts/components/settings/BchatSettingListItem.tsx
index 70cc9adb..de505d26 100644
--- a/ts/components/settings/BchatSettingListItem.tsx
+++ b/ts/components/settings/BchatSettingListItem.tsx
@@ -1,10 +1,11 @@
import React from 'react';
import classNames from 'classnames';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { BchatToggle } from '../basic/BchatToggle';
import { BchatConfirmDialogProps } from '../dialog/BchatConfirm';
import { Avatar, AvatarSize } from '../avatar/Avatar';
-
+import { BchatIcon, BchatIconType } from '../icon';
+import { Flex } from '../basic/Flex';
type ButtonSettingsProps = {
title?: string;
@@ -13,24 +14,32 @@ type ButtonSettingsProps = {
buttonText: string;
dataTestId?: string;
bchatId?: string;
+ iconType?:BchatIconType
onClick: () => void;
};
-const SettingsTitleAndDescription = (props: { title?: string; description?: string,bchatId?: string}) => {
+const SettingsTitleAndDescription = (props: {
+ title?: string;
+ description?: string;
+ bchatId?: string;
+}) => {
return (
- { props.bchatId ?
-
-
dispatch(editProfileModal({}))}
- pubkey={props.bchatId}
- dataTestId="leftpane-primary-avatar"
- />
- {props.title}
-
- :
{props.title}
- }
+ {props.bchatId ? (
+
+
dispatch(editProfileModal({}))}
+ pubkey={props.bchatId}
+ dataTestId="leftpane-primary-avatar"
+ />
+
+ {props.title}
+
+
+ ) : (
+
{props.title}
+ )}
{/*
{props.title}
*/}
{props.description && (
{props.description}
@@ -48,12 +57,26 @@ export const BchatSettingsItemWrapper = (props: {
title?: string;
description?: string;
bchatId?: string;
+ iconType?:BchatIconType
children: React.ReactNode;
}) => {
return (
-
-
+
+
+
+
+
+
{props.children}
);
@@ -65,30 +88,39 @@ export const BchatToggleWithDescription = (props: {
active: boolean;
onClickToggle: () => void;
confirmationDialogParams?: BchatConfirmDialogProps;
+ iconType?:BchatIconType
}) => {
- const { title, description, active, onClickToggle, confirmationDialogParams } = props;
+ const { title, description, active, onClickToggle, confirmationDialogParams,iconType } = props;
return (
-
+
);
};
export const BchatSettingButtonItem = (props: ButtonSettingsProps) => {
- const { title, description, buttonColor, buttonText, dataTestId,bchatId, onClick } = props;
+ const { title, description, buttonColor, buttonText, dataTestId, bchatId,iconType, onClick } = props;
return (
-
+
);
diff --git a/ts/components/settings/BchatSettings.tsx b/ts/components/settings/BchatSettings.tsx
index 0ff9bedc..ad4ccf81 100644
--- a/ts/components/settings/BchatSettings.tsx
+++ b/ts/components/settings/BchatSettings.tsx
@@ -26,6 +26,9 @@ import { WalletMainPanel, } from '../wallet/BchatWalletMainPanel';
import { deamonvalidation } from '../../wallet/BchatWalletHelper';
import { SettingsCategoryChat } from './section/categoryChat';
import { WalletSettings } from '../wallet/BchatWalletSettings';
+import { updateBchatAlertConfirmModal } from '../../state/ducks/modalDialog';
+import { useSelector } from 'react-redux';
+import { getTheme } from '../../state/selectors/theme';
// import { NodeSetting } from '../wallet/BchatWalletNodeSetting';
// import { startWallet } from "../../mains/wallet-rpc"
@@ -50,7 +53,8 @@ export enum BchatSettingCategory {
Hops = 'hops',
Wallet = 'wallet',
WalletSettings = 'walletSettings',
-
+ ClearData = 'clearData'
+
}
export interface SettingsViewProps {
@@ -89,28 +93,45 @@ export const PasswordLock = ({
pwdLockError: string | null;
validatePasswordLock: () => Promise;
}) => {
+ const darkMode = useSelector(getTheme) === 'dark';
return (
-
-
{window.i18n('password')}
-
+
+
+
+
+
{window.i18n('password')}
+
- {/* {pwdLockError &&
{pwdLockError}
} */}
-
+ {/* {pwdLockError &&
{pwdLockError}
} */}
+ {/*
+
*/}
+
+
+
+
);
@@ -184,6 +205,8 @@ export class BchatSettingsView extends React.Component
this.onClickCancel()}
+
/>
);
}
@@ -207,9 +230,9 @@ export class BchatSettingsView extends React.Component
if (category === BchatSettingCategory.WalletSettings) {
return (
-
-
-
+
+
+
);
}
if (category === BchatSettingCategory.Notifications) {
@@ -275,13 +298,13 @@ export class BchatSettingsView extends React.Component
? 'hops'
: category === BchatSettingCategory.Chat
? 'Chat'
- : category === BchatSettingCategory.WalletSettings
- ? 'WalletSettingsTitle'
- : category === BchatSettingCategory.Wallet
- ? 'WalletSettingsTitle'
- : category === BchatSettingCategory.Notifications
- ? 'notificationsSettingsTitle'
- : 'privacySettingsTitle';
+ : category === BchatSettingCategory.WalletSettings
+ ? 'WalletSettingsTitle'
+ : category === BchatSettingCategory.Wallet
+ ? 'WalletSettingsTitle'
+ : category === BchatSettingCategory.Notifications
+ ? 'notificationsSettingsTitle'
+ : 'privacySettingsTitle';
return (
@@ -332,6 +355,10 @@ export class BchatSettingsView extends React.Component
}
}
+ public onClickCancel() {
+ window.inboxStore?.dispatch(updateBchatAlertConfirmModal(null))
+ }
+
private async onKeyUp(event: any) {
const lockPasswordVisible = Boolean(document.getElementById('password-lock-input'));
diff --git a/ts/components/settings/BchatSettingsHeader.tsx b/ts/components/settings/BchatSettingsHeader.tsx
index 681bd257..c64f1b82 100644
--- a/ts/components/settings/BchatSettingsHeader.tsx
+++ b/ts/components/settings/BchatSettingsHeader.tsx
@@ -1,12 +1,14 @@
import React from 'react';
-import { SettingsViewProps } from './BchatSettings';
-import { Avatar, AvatarSize } from '../avatar/Avatar';
-import { editProfileModal, } from '../../state/ducks/modalDialog';
+import { BchatSettingCategory, SettingsViewProps } from './BchatSettings';
+// import { Avatar, AvatarSize, BNSWrapper } from '../avatar/Avatar';
+// import { editProfileModal } from '../../state/ducks/modalDialog';
import { useDispatch, useSelector } from 'react-redux';
-import { getOurNumber } from '../../state/selectors/user';
+// import { getOurNumber } from '../../state/selectors/user';
import { BchatIconButton } from '../icon/BchatIconButton';
- import { toggleMultipleSelection } from '../../state/ducks/userConfig';
+import { toggleMultipleSelection } from '../../state/ducks/userConfig';
import { getMultipleSelection } from '../../state/selectors/userConfig';
+import { getBlockedPubkeys } from '../../state/selectors/conversations';
+// import { getConversationController } from '../../bchat/conversations';
// import { useUpdate } from 'react-use';
type Props = Pick & {
@@ -14,14 +16,19 @@ type Props = Pick & {
};
export const SettingsHeader = (props: Props) => {
-
- const { categoryTitle } = props;
+ const { categoryTitle,category } = props;
// const forceUpdate = useUpdate();
const dispatch = useDispatch();
- const ourNumber = useSelector(getOurNumber);
+ // const ourNumber = useSelector(getOurNumber);
+ // const converstation = getConversationController().get(ourNumber);
+
// let color: any;
const multipleSelectionValue = useSelector(getMultipleSelection);
+ const blockedNumbers = useSelector(getBlockedPubkeys);
+
+ // console.log("multipleSelectionValue:", multipleSelectionValue);
+ // console.log("blockedNumbers:", blockedNumbers)
// const temp=useSelector(state=>state)
// console.log('multipleSelectionValue', multipleSelectionValue,temp);
@@ -35,38 +42,51 @@ export const SettingsHeader = (props: Props) => {
// forceUpdate()
// }
// }, [multipleSelectionValue])
+ console.log('categoryTitle -->',category,BchatSettingCategory.Wallet,)
+ if(category === BchatSettingCategory.Wallet)
+ {
+ return <>>
+ }
return (
-
-
dispatch(editProfileModal({}))}
- pubkey={ourNumber}
- dataTestId="leftpane-primary-avatar"
- />
-
+ {/*
+
+ dispatch(editProfileModal({}))}
+ pubkey={ourNumber}
+ dataTestId="leftpane-primary-avatar"
+ />
+
+
*/}
{categoryTitle}
- {window.i18n('blockedSettingsTitle') === categoryTitle &&
-
- {multipleSelectionValue ?
+ {window.i18n('blockedSettingsTitle') === categoryTitle && blockedNumbers.length != 0 && (
+
+ {multipleSelectionValue ? (
{ dispatch(toggleMultipleSelection()) }}
+ onClick={() => {
+ dispatch(toggleMultipleSelection());
+ }}
/>
- :
+ ) : (
{ dispatch(toggleMultipleSelection()) }}
+ onClick={() => {
+ dispatch(toggleMultipleSelection());
+ }}
/>
- }
+ )}
- }
-
+ )}
);
};
diff --git a/ts/components/settings/BeldexNotificationGroupSettings.tsx b/ts/components/settings/BeldexNotificationGroupSettings.tsx
index 22302505..4810b22c 100644
--- a/ts/components/settings/BeldexNotificationGroupSettings.tsx
+++ b/ts/components/settings/BeldexNotificationGroupSettings.tsx
@@ -7,8 +7,8 @@ import { SettingsKey } from '../../data/settings-key';
import { useUpdate } from 'react-use';
import { isAudioNotificationSupported } from '../../types/Settings';
import styled from 'styled-components';
-import { SpacerLG } from '../basic/Text';
-import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
+import { SpacerLG, SpacerMD } from '../basic/Text';
+import { BchatButton, BchatButtonColor, BchatButtonType } from '../basic/BchatButton';
import { Notifications } from '../../util/notifications';
// import { BchatButtonIcon } from '../wallet/BchatWalletPaymentSection';
// import { BchatToggle } from '../basic/BchatToggle';
@@ -19,8 +19,8 @@ const StyledButtonContainer = styled.div`
flex-direction: column;
padding-inline-start: var(--margins-lg);
justify-content: center;
- align-items: center;
- width: 100%;
+ align-items: center;
+ width: 100%;
`;
export const BchatNotificationGroupSettings = (props: { hasPassword: boolean | null }) => {
const initialItem = window.getSettingValue('notification-setting') || 'message';
@@ -28,12 +28,11 @@ export const BchatNotificationGroupSettings = (props: { hasPassword: boolean | n
window.getSettingValue(SettingsKey.settingsAudioNotification) || false;
const forceUpdate = useUpdate();
- const [selected, setSelected] = useState(initialItem)
+ const [selected, setSelected] = useState(initialItem);
if (props.hasPassword === null) {
return null;
}
-
const items = [
{
label: window.i18n('nameAndMessage'),
@@ -54,18 +53,16 @@ export const BchatNotificationGroupSettings = (props: { hasPassword: boolean | n
];
function notificationOption(item: any) {
window.setSettingValue('notification-setting', item.value);
- setSelected(item.value)
+ setSelected(item.value);
}
function toggle() {
if (selected === 'off') {
window.setSettingValue('notification-setting', 'message');
- setSelected('message')
- }
- else {
+ setSelected('message');
+ } else {
window.setSettingValue('notification-setting', 'off');
- setSelected('off')
+ setSelected('off');
}
-
}
const onClickPreview = () => {
if (selected === 'off') {
@@ -87,31 +84,42 @@ export const BchatNotificationGroupSettings = (props: { hasPassword: boolean | n
return (
//
<>
-
-
{
- toggle()
- }}
- title={window.i18n('notificationSettingsDialog')}
- // description={window.i18n('audioMessageAutoplayDescription')}
- active={selected !== 'off'}
- />
- {selected !== 'off' && items.map((item, i) =>
- notificationOption(item)}>
-
- {selected === item.value && }
-
-
- {item.label}
-
-
- )}
-
- {/*
+ {' '}
+
+
{
+ toggle();
+ }}
+ title={window.i18n('notificationSettingsDialog')}
+ // description={window.i18n('audioMessageAutoplayDescription')}
+ active={selected !== 'off'}
+ iconType="notifySet"
+ />
+ {selected !== 'off' &&
+ items.map((item, i) => (
+ notificationOption(item)}
+ >
+
+ {selected === item.value && (
+
+ )}
+
+
{item.label}
+
+ ))}
+ {/* */}
-
- {selected !== 'off' && isAudioNotificationSupported() && (
- <>
- {
- window.setSettingValue(
- SettingsKey.settingsAudioNotification,
- !initialAudioNotificationEnabled
- );
- forceUpdate();
- }}
- title={window.i18n('notificationSound')}
- // description={window.i18n('audioMessageAutoplayDescription')}
- active={window.getSettingValue(
- SettingsKey.settingsAudioNotification)}
- />
+
+
+ {selected !== 'off' && isAudioNotificationSupported() && (
+ <>
+ {
+ window.setSettingValue(
+ SettingsKey.settingsAudioNotification,
+ !initialAudioNotificationEnabled
+ );
+ forceUpdate();
+ }}
+ title={window.i18n('notificationSound')}
+ // description={window.i18n('audioMessageAutoplayDescription')}
+ active={window.getSettingValue(SettingsKey.settingsAudioNotification)}
+ iconType="speaker"
+ />
-
-
- onClickPreview()} buttonColor={BchatButtonColor.Green}/>
-
- >
- )}
-
+
+
+ onClickPreview()}
+ buttonColor={BchatButtonColor.Primary}
+ buttonType={BchatButtonType.Brand}
+ />
+
+ >
+ )}
+
>
);
};
-
-
-
diff --git a/ts/components/settings/BlockedUserSettings.tsx b/ts/components/settings/BlockedUserSettings.tsx
index 34132117..3b78e89b 100644
--- a/ts/components/settings/BlockedUserSettings.tsx
+++ b/ts/components/settings/BlockedUserSettings.tsx
@@ -5,8 +5,8 @@ import { unblockConvoById } from '../../interactions/conversationInteractions';
import { getBlockedPubkeys } from '../../state/selectors/conversations';
// import { BchatButtonColor } from '../basic/BchatButton';
-// import { BchatSettingButtonItem,
-// BchatSettingsItemWrapper
+// import { BchatSettingButtonItem,
+// BchatSettingsItemWrapper
// } from './BchatSettingListItem';
import { useSet } from '../../hooks/useSet';
import { BlockedNumberController } from '../../util';
@@ -15,19 +15,22 @@ import useUpdate from 'react-use/lib/useUpdate';
import styled from 'styled-components';
// import { MemberListItem } from '../MemberListItem';
import { BchatButton, BchatButtonColor } from '../basic/BchatButton';
-import { Avatar, AvatarSize, CrownIcon } from '../avatar/Avatar';
-import { useConversationUsernameOrShorten } from '../../hooks/useParamSelector';
+import { Avatar, AvatarSize, BNSWrapper, CrownIcon } from '../avatar/Avatar';
+import {
+ useConversationBnsHolder,
+ useConversationUsernameOrShorten,
+} from '../../hooks/useParamSelector';
import classNames from 'classnames';
-import { BchatIcon } from '../icon';
+import { BchatIconButton } from '../icon';
import { getMultipleSelection } from '../../state/selectors/userConfig';
import { hideMultipleSelection } from '../../state/ducks/userConfig';
+import { SpacerLG } from '../basic/Text';
export const BlockedUserSettings = () => {
const blockedNumbers = useSelector(getBlockedPubkeys);
const forceUpdate = useUpdate();
const multipleSelection = useSelector(getMultipleSelection);
- const dispatch=useDispatch()
-
+ const dispatch = useDispatch();
const {
uniqueValues: selectedIds,
@@ -42,7 +45,7 @@ export const BlockedUserSettings = () => {
emptySelected();
ToastUtils.pushToastSuccess('unblocked', window.i18n('unblocked'));
forceUpdate();
- dispatch(hideMultipleSelection())
+ dispatch(hideMultipleSelection());
}
}
@@ -55,10 +58,8 @@ export const BlockedUserSettings = () => {
// >
// {' '}
//
-
-
-
-
+
+
{window.i18n('noBlockedContacts')}
);
@@ -73,27 +74,36 @@ export const BlockedUserSettings = () => {
// title = window.i18n('anonymous');
// }
- return
-
-
-
- {multipleSelection &&
-
-
+
+
-
- }
-
+
+
+ {multipleSelection && (
+
+
+
+ )}
+
+
+
+ );
// {
// }}
// />
-
// });
// }
@@ -123,10 +132,7 @@ const BlockedEntriesContainer = styled.div`
const UnBlockedBox = styled.div`
display: flex;
justify-content: center;
- background: var(--color-chatHeader);
- height: 56px;
- align-items: center;
-`;
+ `;
const BlockedEntriesRoundedContainer = styled.div`
overflow: hidden;
background: var(--background-secondary-color);
@@ -136,19 +142,20 @@ const BlockedEntriesRoundedContainer = styled.div`
// margin: 0 var(--margins-lg);
`;
-
-
-
-
-
const BlockedEntries = (props: {
blockedNumbers: Array;
selectedIds: Array;
addToSelected: (id: string) => void;
removeFromSelected: (id: string) => void;
- multipleSelection: boolean
+ multipleSelection: boolean;
}) => {
- const { addToSelected, blockedNumbers, removeFromSelected, selectedIds, multipleSelection } = props;
+ const {
+ addToSelected,
+ blockedNumbers,
+ removeFromSelected,
+ selectedIds,
+ multipleSelection,
+ } = props;
return (
@@ -171,18 +178,23 @@ const BlockedEntries = (props: {
);
};
-
-
const AvatarContainer = styled.div`
position: relative;
`;
-const AvatarItem = (props: { memberPubkey: string; isAdmin: boolean }) => {
- const { memberPubkey, isAdmin } = props;
+const AvatarItem = (props: { memberPubkey: string; isAdmin: boolean; isBnsHolder: any }) => {
+ const { memberPubkey, isAdmin, isBnsHolder } = props;
return (
-
- {isAdmin && }
+
+
+ {isAdmin && }
+
);
};
@@ -209,10 +221,11 @@ export const BlockedMemberList = (props: {
onUnselect,
disableBg,
dataTestId,
- multipleSelection
+ multipleSelection,
} = props;
const memberName = useConversationUsernameOrShorten(pubkey);
+ const isBnsHolder = useConversationBnsHolder(pubkey);
return (
// tslint:disable-next-line: use-simple-attributes
{
multipleSelection && isSelected ? onUnselect?.(pubkey) : onSelect?.(pubkey);
}}
- style={
- !disableBg
- ? {
- }
- : {}
- }
+ style={!disableBg ? {} : {}}
role="button"
data-testid={dataTestId}
>
-
+
-
-
- {!multipleSelection ?
-
+
+ {!multipleSelection ? (
+