@ethora/chat-component-rn 26.7.3 → 26.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +9 -8
  3. package/lib/commonjs/assets/icons.js +7 -2
  4. package/lib/commonjs/assets/icons.js.map +1 -1
  5. package/lib/commonjs/components/Header/HeaderRoomList.js +20 -6
  6. package/lib/commonjs/components/Header/HeaderRoomList.js.map +1 -1
  7. package/lib/commonjs/components/MainComponents/ChatRoom.js +26 -4
  8. package/lib/commonjs/components/MainComponents/ChatRoom.js.map +1 -1
  9. package/lib/commonjs/components/MainComponents/MessageList.js +2 -1
  10. package/lib/commonjs/components/MainComponents/MessageList.js.map +1 -1
  11. package/lib/commonjs/components/MainComponents/ProfileImagePlaceholder.js +5 -5
  12. package/lib/commonjs/components/MainComponents/ProfileImagePlaceholder.js.map +1 -1
  13. package/lib/commonjs/components/MainComponents/RoomList.js +62 -32
  14. package/lib/commonjs/components/MainComponents/RoomList.js.map +1 -1
  15. package/lib/commonjs/components/Menu/HeaderRoomListMenu.js +208 -70
  16. package/lib/commonjs/components/Menu/HeaderRoomListMenu.js.map +1 -1
  17. package/lib/commonjs/components/Modals/AttachSheet/AttachSheet.js +307 -99
  18. package/lib/commonjs/components/Modals/AttachSheet/AttachSheet.js.map +1 -1
  19. package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js +552 -213
  20. package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
  21. package/lib/commonjs/components/Modals/ChatProfileModal/ReportChatModal.js +226 -0
  22. package/lib/commonjs/components/Modals/ChatProfileModal/ReportChatModal.js.map +1 -0
  23. package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js +6 -2
  24. package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
  25. package/lib/commonjs/components/Modals/Modal/Modal.js +8 -0
  26. package/lib/commonjs/components/Modals/Modal/Modal.js.map +1 -1
  27. package/lib/commonjs/components/Modals/NewChatModal/NewChatModal.js +202 -104
  28. package/lib/commonjs/components/Modals/NewChatModal/NewChatModal.js.map +1 -1
  29. package/lib/commonjs/components/Modals/ProfileHeader/ProfileHeader.js +556 -0
  30. package/lib/commonjs/components/Modals/ProfileHeader/ProfileHeader.js.map +1 -0
  31. package/lib/commonjs/components/Modals/ProfileHeader/ProfileMenu.js +210 -0
  32. package/lib/commonjs/components/Modals/ProfileHeader/ProfileMenu.js.map +1 -0
  33. package/lib/commonjs/components/Modals/SelectUsersModal/SelectUsersModal.js +4 -2
  34. package/lib/commonjs/components/Modals/SelectUsersModal/SelectUsersModal.js.map +1 -1
  35. package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js +507 -244
  36. package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
  37. package/lib/commonjs/components/Modals/UserSettingsModal/UserSettingsModal.js +74 -46
  38. package/lib/commonjs/components/Modals/UserSettingsModal/UserSettingsModal.js.map +1 -1
  39. package/lib/commonjs/components/Modals/styledModalComponents.js +9 -2
  40. package/lib/commonjs/components/Modals/styledModalComponents.js.map +1 -1
  41. package/lib/commonjs/components/RoomComponents/ChatRoomItem.js +17 -7
  42. package/lib/commonjs/components/RoomComponents/ChatRoomItem.js.map +1 -1
  43. package/lib/commonjs/components/styled/SendInput.js +80 -1
  44. package/lib/commonjs/components/styled/SendInput.js.map +1 -1
  45. package/lib/commonjs/components/styled/StyledComponents.js +9 -3
  46. package/lib/commonjs/components/styled/StyledComponents.js.map +1 -1
  47. package/lib/commonjs/components/styled/StyledInputComponents/StyledInputComponents.js +11 -4
  48. package/lib/commonjs/components/styled/StyledInputComponents/StyledInputComponents.js.map +1 -1
  49. package/lib/commonjs/helpers/getChatBackground.js +23 -0
  50. package/lib/commonjs/helpers/getChatBackground.js.map +1 -0
  51. package/lib/commonjs/helpers/mediaLibraryRuntime.js +31 -0
  52. package/lib/commonjs/helpers/mediaLibraryRuntime.js.map +1 -0
  53. package/lib/commonjs/helpers/sheetGestures.js +32 -0
  54. package/lib/commonjs/helpers/sheetGestures.js.map +1 -0
  55. package/lib/commonjs/i18n/strings.js +121 -1
  56. package/lib/commonjs/i18n/strings.js.map +1 -1
  57. package/lib/commonjs/networking/api-requests/user.api.js +59 -0
  58. package/lib/commonjs/networking/api-requests/user.api.js.map +1 -1
  59. package/lib/commonjs/roomStore/chatSettingsSlice.js +3 -1
  60. package/lib/commonjs/roomStore/chatSettingsSlice.js.map +1 -1
  61. package/lib/module/assets/icons.js +6 -1
  62. package/lib/module/assets/icons.js.map +1 -1
  63. package/lib/module/components/Header/HeaderRoomList.js +20 -6
  64. package/lib/module/components/Header/HeaderRoomList.js.map +1 -1
  65. package/lib/module/components/MainComponents/ChatRoom.js +26 -4
  66. package/lib/module/components/MainComponents/ChatRoom.js.map +1 -1
  67. package/lib/module/components/MainComponents/MessageList.js +2 -1
  68. package/lib/module/components/MainComponents/MessageList.js.map +1 -1
  69. package/lib/module/components/MainComponents/ProfileImagePlaceholder.js +5 -5
  70. package/lib/module/components/MainComponents/ProfileImagePlaceholder.js.map +1 -1
  71. package/lib/module/components/MainComponents/RoomList.js +62 -32
  72. package/lib/module/components/MainComponents/RoomList.js.map +1 -1
  73. package/lib/module/components/Menu/HeaderRoomListMenu.js +211 -73
  74. package/lib/module/components/Menu/HeaderRoomListMenu.js.map +1 -1
  75. package/lib/module/components/Modals/AttachSheet/AttachSheet.js +298 -102
  76. package/lib/module/components/Modals/AttachSheet/AttachSheet.js.map +1 -1
  77. package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js +555 -217
  78. package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
  79. package/lib/module/components/Modals/ChatProfileModal/ReportChatModal.js +223 -0
  80. package/lib/module/components/Modals/ChatProfileModal/ReportChatModal.js.map +1 -0
  81. package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js +6 -2
  82. package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
  83. package/lib/module/components/Modals/Modal/Modal.js +9 -1
  84. package/lib/module/components/Modals/Modal/Modal.js.map +1 -1
  85. package/lib/module/components/Modals/NewChatModal/NewChatModal.js +205 -106
  86. package/lib/module/components/Modals/NewChatModal/NewChatModal.js.map +1 -1
  87. package/lib/module/components/Modals/ProfileHeader/ProfileHeader.js +548 -0
  88. package/lib/module/components/Modals/ProfileHeader/ProfileHeader.js.map +1 -0
  89. package/lib/module/components/Modals/ProfileHeader/ProfileMenu.js +205 -0
  90. package/lib/module/components/Modals/ProfileHeader/ProfileMenu.js.map +1 -0
  91. package/lib/module/components/Modals/SelectUsersModal/SelectUsersModal.js +4 -2
  92. package/lib/module/components/Modals/SelectUsersModal/SelectUsersModal.js.map +1 -1
  93. package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js +509 -248
  94. package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
  95. package/lib/module/components/Modals/UserSettingsModal/UserSettingsModal.js +76 -48
  96. package/lib/module/components/Modals/UserSettingsModal/UserSettingsModal.js.map +1 -1
  97. package/lib/module/components/Modals/styledModalComponents.js +9 -2
  98. package/lib/module/components/Modals/styledModalComponents.js.map +1 -1
  99. package/lib/module/components/RoomComponents/ChatRoomItem.js +17 -7
  100. package/lib/module/components/RoomComponents/ChatRoomItem.js.map +1 -1
  101. package/lib/module/components/styled/SendInput.js +80 -1
  102. package/lib/module/components/styled/SendInput.js.map +1 -1
  103. package/lib/module/components/styled/StyledComponents.js +9 -3
  104. package/lib/module/components/styled/StyledComponents.js.map +1 -1
  105. package/lib/module/components/styled/StyledInputComponents/StyledInputComponents.js +11 -4
  106. package/lib/module/components/styled/StyledInputComponents/StyledInputComponents.js.map +1 -1
  107. package/lib/module/helpers/getChatBackground.js +18 -0
  108. package/lib/module/helpers/getChatBackground.js.map +1 -0
  109. package/lib/module/helpers/mediaLibraryRuntime.js +25 -0
  110. package/lib/module/helpers/mediaLibraryRuntime.js.map +1 -0
  111. package/lib/module/helpers/sheetGestures.js +26 -0
  112. package/lib/module/helpers/sheetGestures.js.map +1 -0
  113. package/lib/module/i18n/strings.js +121 -1
  114. package/lib/module/i18n/strings.js.map +1 -1
  115. package/lib/module/networking/api-requests/user.api.js +56 -0
  116. package/lib/module/networking/api-requests/user.api.js.map +1 -1
  117. package/lib/module/roomStore/chatSettingsSlice.js +3 -1
  118. package/lib/module/roomStore/chatSettingsSlice.js.map +1 -1
  119. package/lib/typescript/assets/icons.d.ts +12 -0
  120. package/lib/typescript/assets/icons.d.ts.map +1 -1
  121. package/lib/typescript/components/Header/HeaderRoomList.d.ts.map +1 -1
  122. package/lib/typescript/components/MainComponents/ChatRoom.d.ts.map +1 -1
  123. package/lib/typescript/components/MainComponents/MessageList.d.ts.map +1 -1
  124. package/lib/typescript/components/MainComponents/RoomList.d.ts.map +1 -1
  125. package/lib/typescript/components/Menu/HeaderRoomListMenu.d.ts.map +1 -1
  126. package/lib/typescript/components/Modals/AttachSheet/AttachSheet.d.ts +9 -0
  127. package/lib/typescript/components/Modals/AttachSheet/AttachSheet.d.ts.map +1 -1
  128. package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts +10 -0
  129. package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts.map +1 -1
  130. package/lib/typescript/components/Modals/ChatProfileModal/ReportChatModal.d.ts +9 -0
  131. package/lib/typescript/components/Modals/ChatProfileModal/ReportChatModal.d.ts.map +1 -0
  132. package/lib/typescript/components/Modals/FilePreviewModal/FilePreviewModal.d.ts.map +1 -1
  133. package/lib/typescript/components/Modals/Modal/Modal.d.ts.map +1 -1
  134. package/lib/typescript/components/Modals/NewChatModal/NewChatModal.d.ts +1 -1
  135. package/lib/typescript/components/Modals/NewChatModal/NewChatModal.d.ts.map +1 -1
  136. package/lib/typescript/components/Modals/ProfileHeader/ProfileHeader.d.ts +75 -0
  137. package/lib/typescript/components/Modals/ProfileHeader/ProfileHeader.d.ts.map +1 -0
  138. package/lib/typescript/components/Modals/ProfileHeader/ProfileMenu.d.ts +25 -0
  139. package/lib/typescript/components/Modals/ProfileHeader/ProfileMenu.d.ts.map +1 -0
  140. package/lib/typescript/components/Modals/SelectUsersModal/SelectUsersModal.d.ts +6 -1
  141. package/lib/typescript/components/Modals/SelectUsersModal/SelectUsersModal.d.ts.map +1 -1
  142. package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts +16 -0
  143. package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts.map +1 -1
  144. package/lib/typescript/components/Modals/UserSettingsModal/UserSettingsModal.d.ts +1 -0
  145. package/lib/typescript/components/Modals/UserSettingsModal/UserSettingsModal.d.ts.map +1 -1
  146. package/lib/typescript/components/Modals/styledModalComponents.d.ts.map +1 -1
  147. package/lib/typescript/components/RoomComponents/ChatRoomItem.d.ts.map +1 -1
  148. package/lib/typescript/components/styled/SendInput.d.ts.map +1 -1
  149. package/lib/typescript/components/styled/StyledComponents.d.ts.map +1 -1
  150. package/lib/typescript/components/styled/StyledInputComponents/StyledInputComponents.d.ts.map +1 -1
  151. package/lib/typescript/helpers/getChatBackground.d.ts +15 -0
  152. package/lib/typescript/helpers/getChatBackground.d.ts.map +1 -0
  153. package/lib/typescript/helpers/mediaLibraryRuntime.d.ts +3 -0
  154. package/lib/typescript/helpers/mediaLibraryRuntime.d.ts.map +1 -0
  155. package/lib/typescript/helpers/sheetGestures.d.ts +20 -0
  156. package/lib/typescript/helpers/sheetGestures.d.ts.map +1 -0
  157. package/lib/typescript/i18n/strings.d.ts.map +1 -1
  158. package/lib/typescript/networking/api-requests/user.api.d.ts +27 -0
  159. package/lib/typescript/networking/api-requests/user.api.d.ts.map +1 -1
  160. package/lib/typescript/roomStore/chatSettingsSlice.d.ts.map +1 -1
  161. package/lib/typescript/types/types.d.ts +8 -5
  162. package/lib/typescript/types/types.d.ts.map +1 -1
  163. package/package.json +6 -1
  164. package/src/assets/icons.tsx +29 -9
  165. package/src/components/Header/HeaderRoomList.tsx +20 -5
  166. package/src/components/MainComponents/ChatRoom.tsx +29 -7
  167. package/src/components/MainComponents/MessageList.tsx +2 -1
  168. package/src/components/MainComponents/ProfileImagePlaceholder.tsx +5 -5
  169. package/src/components/MainComponents/RoomList.tsx +65 -34
  170. package/src/components/Menu/HeaderRoomListMenu.tsx +209 -64
  171. package/src/components/Modals/AttachSheet/AttachSheet.tsx +318 -86
  172. package/src/components/Modals/ChatProfileModal/ChatProfileModal.tsx +598 -279
  173. package/src/components/Modals/ChatProfileModal/ReportChatModal.tsx +244 -0
  174. package/src/components/Modals/FilePreviewModal/FilePreviewModal.tsx +4 -2
  175. package/src/components/Modals/Modal/Modal.tsx +7 -0
  176. package/src/components/Modals/NewChatModal/NewChatModal.tsx +219 -117
  177. package/src/components/Modals/ProfileHeader/ProfileHeader.tsx +615 -0
  178. package/src/components/Modals/ProfileHeader/ProfileMenu.tsx +217 -0
  179. package/src/components/Modals/SelectUsersModal/SelectUsersModal.tsx +14 -4
  180. package/src/components/Modals/UserProfileModal/UserProfileModal.tsx +617 -307
  181. package/src/components/Modals/UserSettingsModal/UserSettingsModal.tsx +75 -58
  182. package/src/components/Modals/styledModalComponents.tsx +9 -2
  183. package/src/components/RoomComponents/ChatRoomItem.tsx +14 -7
  184. package/src/components/styled/SendInput.tsx +83 -2
  185. package/src/components/styled/StyledComponents.ts +9 -3
  186. package/src/components/styled/StyledInputComponents/StyledInputComponents.tsx +11 -4
  187. package/src/helpers/getChatBackground.ts +18 -0
  188. package/src/helpers/mediaLibraryRuntime.ts +25 -0
  189. package/src/helpers/sheetGestures.ts +25 -0
  190. package/src/i18n/strings.ts +121 -1
  191. package/src/networking/api-requests/user.api.ts +71 -0
  192. package/src/roomStore/chatSettingsSlice.ts +3 -1
  193. package/src/types/types.ts +8 -5
@@ -30,9 +30,15 @@ export const ChatContainerHeader = styled.View`
30
30
  background-color: #ffffff;
31
31
  align-items: center;
32
32
  justify-content: space-between;
33
- border-bottom-width: 1px;
34
- border-bottom-color: #e5e7eb;
35
- border-style: solid;
33
+ /* Rounded bottom corners + a soft drop shadow instead of the hairline
34
+ * rule, so the header reads as a card over the conversation. */
35
+ border-bottom-left-radius: 20px;
36
+ border-bottom-right-radius: 20px;
37
+ shadow-color: #101828;
38
+ shadow-offset: 0px 4px;
39
+ shadow-opacity: 0.06;
40
+ shadow-radius: 12px;
41
+ elevation: 4;
36
42
  z-index: 1000;
37
43
  `;
38
44
  export const CenterContainer = styled.View`
@@ -1 +1 @@
1
- {"version":3,"names":["styled","Dimensions","width","height","get","ChatContainer","View","ThreadContainer","ChatContainerHeader","CenterContainer","rightSpace","leftSpace","ChatContainerHeaderBoxInfo","TouchableOpacity","ChatContainerHeaderInfo","ChatContainerHeaderLabel","Text","fontWeight","fontSize","NonRoomChat","MessagesScroll","ScrollView","MessagesList","MessageTimestamp","Message","props","isUser","MessageText","UserName","InputContainer","MessageInput","TextInput","IconButton","SendButton","SendButtonText","AvatarCircle","size","bgColor","AvatarImage","Image","RemoveButton","RemoveButtonText","InitialsText","color","Overlay","CustomMessageText","colorUser","FileInput","StyledLoaderWrapper","OrDelimiter","OrDelimiterText","Line","AlsoCheckbox","accentColor","AlsoContainer","Wrapper","CustomSystemMessage","MessageFooter"],"sourceRoot":"../../../../src","sources":["components/styled/StyledComponents.ts"],"mappings":";;AAAA;;AAEA,OAAOA,MAAM,MAAM,0BAA0B;AAC7C,SAASC,UAAU,QAAQ,cAAc;AAEzC,MAAM;EAAEC,KAAK;EAAEC;AAAO,CAAC,GAAGF,UAAU,CAACG,GAAG,CAAC,QAAQ,CAAC;;AAElD;AACA,OAAO,MAAMC,aAAa,GAAGL,MAAM,CAACM,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,eAAe,GAAGP,MAAM,CAACM,IAAI;AAC1C;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAME,mBAAmB,GAAGR,MAAM,CAACM,I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AACA;AACA;AACA,CAAC;AAED,OAAO,MAAM0C,OAAO,GAAGvD,MAAM,CAACM,IAI5B;AACF,WAAW,CAAC;EAAE8B;AAAK,CAAC,KAAK,GAAGA,IAAI,IAAI,IAAI,MAAM;AAC9C,YAAY,CAAC;EAAEA;AAAK,CAAC,KAAK,GAAGA,IAAI,IAAI,IAAI,MAAM;AAC/C;AACA;AACA,sBAAsB,CAAC;EAAEC;AAAQ,CAAC,KAAKA,OAAO;AAC9C;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMmB,mBAAmB,GAAGxD,MAAM,CAACM,IAAI;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMmD,aAAa,GAAGzD,MAAM,CAACM,IAAyB;AAC7D;AACA;AACA;AACA;AACA;AACA,UAAWmB,KAAK,IAAM,CAACA,KAAK,CAACC,MAAM,GAAG,MAAM,GAAG,MAAO;AACtD,WAAYD,KAAK,IAAMA,KAAK,CAACC,MAAM,GAAG,MAAM,GAAG,MAAO;AACtD;AACA;AACA;AACA;AACA;AACA,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","Dimensions","width","height","get","ChatContainer","View","ThreadContainer","ChatContainerHeader","CenterContainer","rightSpace","leftSpace","ChatContainerHeaderBoxInfo","TouchableOpacity","ChatContainerHeaderInfo","ChatContainerHeaderLabel","Text","fontWeight","fontSize","NonRoomChat","MessagesScroll","ScrollView","MessagesList","MessageTimestamp","Message","props","isUser","MessageText","UserName","InputContainer","MessageInput","TextInput","IconButton","SendButton","SendButtonText","AvatarCircle","size","bgColor","AvatarImage","Image","RemoveButton","RemoveButtonText","InitialsText","color","Overlay","CustomMessageText","colorUser","FileInput","StyledLoaderWrapper","OrDelimiter","OrDelimiterText","Line","AlsoCheckbox","accentColor","AlsoContainer","Wrapper","CustomSystemMessage","MessageFooter"],"sourceRoot":"../../../../src","sources":["components/styled/StyledComponents.ts"],"mappings":";;AAAA;;AAEA,OAAOA,MAA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ACtC;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMkC,eAAe,GAAGlD,MAAM,CAACgB,IAAI;AAC1C;AACA;AACA,CAAC;AAED,OAAO,MAAMmC,IAAI,GAAGnD,MAAM,CAACM,IAAI;AAC/B;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAM8C,YAAY,GAAGpD,MAAM,CAACM,IAA6B;AAChE;AACA;AACA,sBAAuBmB,KAAK,IAAKA,KAAK,CAAC4B,WAAW;AAClD;AACA,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGtD,MAAM,CAACa,gBAAgB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAM0C,OAAO,GAAGvD,MAAM,CAACM,IAI5B;AACF,WAAW,CAAC;EAAE8B;AAAK,CAAC,KAAK,GAAGA,IAAI,IAAI,IAAI,MAAM;AAC9C,YAAY,CAAC;EAAEA;AAAK,CAAC,KAAK,GAAGA,IAAI,IAAI,IAAI,MAAM;AAC/C;AACA;AACA,sBAAsB,CAAC;EAAEC;AAAQ,CAAC,KAAKA,OAAO;AAC9C;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMmB,mBAAmB,GAAGxD,MAAM,CAACM,IAAI;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMmD,aAAa,GAAGzD,MAAM,CAACM,IAAyB;AAC7D;AACA;AACA;AACA;AACA;AACA,UAAWmB,KAAK,IAAM,CAACA,KAAK,CAACC,MAAM,GAAG,MAAM,GAAG,MAAO;AACtD,WAAYD,KAAK,IAAMA,KAAK,CAACC,MAAM,GAAG,MAAM,GAAG,MAAO;AACtD;AACA;AACA;AACA;AACA;AACA,CAAC","ignoreList":[]}
@@ -14,14 +14,21 @@ const colors = {
14
14
  };
15
15
  export const InputContainer = styled.View`
16
16
  flex-direction: column;
17
- padding: 8px 16px 4px 16px;
18
- background-color: ${colors.white};
17
+ padding: 12px 16px 8px 16px;
18
+ /* Transparent, so the dock's white surface — and its rounded top
19
+ * corners — are what shows. An opaque child painted straight over those
20
+ * corners (a parent's border radius does not clip children without
21
+ * overflow:hidden, and that would clip the dock's shadow too). */
22
+ background-color: transparent;
19
23
  z-index: 100;
20
24
  width: 100%;
21
25
  bottom: 0;
22
26
  left: 0;
23
- border-top-width: 1px;
24
- border-top-color: #e5e7eb;
27
+ /* No radius or shadow here: the dock this sits in (ChatRoom's
28
+ * InputDockTag) is the composer's outer surface and carries both. Having
29
+ * them on this inner view too drew its shadow onto the dock's white
30
+ * background — the faint seam that made the strip below look like a
31
+ * different colour. */
25
32
  `;
26
33
  export const MediaContainer = styled.View`
27
34
  flex-direction: row;
@@ -1 +1 @@
1
- {"version":3,"names":["styled","colors","primary","secondary","border","white","black","InputContainer","View","MediaContainer","MediaImage","Image","MessageInputContainer","MessageInput","TextInput","props","isFocused","color","fontSize","fontWeight","HiddenFileInput","Timer","Text","TimerText","WaveformContainer","RecordContainer","FilePreviewContainer","FilePreview","FileIcon","VideoPreview","StyledInput","TextareaInput"],"sourceRoot":"../../../../../src","sources":["components/styled/StyledInputComponents/StyledInputComponents.tsx"],"mappings":";;AAAA;;AAEA,OAAOA,MAAM,MAAM,0BAA0B;;AAE7C;AACA,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE,SAAS;EAClBC,SAAS,EAAE,SAAS;EACpBC,MAAM,EAAE,MAAM;EACdC,KAAK,EAAE,MAAM;EACbC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGP,MAAM,CAACQ,IAA0B;AAC/D;AACA;AACA,sBAAsBP,MAAM,CAACI,KAAK;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMI,cAAc,GAAGT,MAAM,CAACQ,IAAI;AACzC;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAME,UAAU,GAAGV,MAAM,CAACW,KAAK;AACtC;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,qB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ED,OAAO,MAAMsB,WAAW,GAAG9B,MAAM,CAACc,SAAS;AAC3C;AACA,sBAAsBb,MAAM,CAACE,SAAS;AACtC;AACA;AACA,CAAC;AAED,OAAO,MAAM4B,aAAa,GAAG/B,MAAM,CAACc,SAAS;AAC7C;AACA,sBAAsBb,MAAM,CAACE,SAAS;AACtC;AACA,WAAWF,MAAM,CAACK,KAAK;AACvB;AACA,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","colors","primary","secondary","border","white","black","InputContainer","View","MediaContainer","MediaImage","Image","MessageInputContainer","MessageInput","TextInput","props","isFocused","color","fontSize","fontWeight","HiddenFileInput","Timer","Text","TimerText","WaveformContainer","RecordContainer","FilePreviewContainer","FilePreview","FileIcon","VideoPreview","StyledInput","TextareaInput"],"sourceRoot":"../../../../../src","sources":["components/styled/StyledInputComponents/StyledInputComponents.tsx"],"mappings":";;AAAA;;AAEA,OAAOA,MAAM,MAAM,0BAA0B;;AAE7C;AACA,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE,SAAS;EAClBC,SAAS,EAAE,SAAS;EACpBC,MAAM,EAAE,MAAM;EACdC,KAAK,EAAE,MAAM;EACbC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGP,MAAM,CAACQ,IAA0B;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGT,MAAM,CAACQ,IAAI;AACzC;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAME,UAAU,GAAGV,MAAM,CAACW,KAAK;AACtC;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,qBAAqB,GAAGZ,MAAM,CAACQ,IAAI;AAChD;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMK,YAAY,GAAGb,MAAM,CAACc,SAKjC;AACF;AACA;AACA;AACA,kBAAmBC,KAAK,IACpBA,KAAK,CAACC,SA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A,sBAAsBb,MAAM,CAACE,SAAS;AACtC;AACA,WAAWF,MAAM,CAACK,KAAK;AACvB;AACA,CAAC","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ /** @format */
4
+
5
+ /** Ground behind the conversation, and behind the rounded corners of the
6
+ * header and the composer that sit over it. */
7
+ export const DEFAULT_CHAT_BACKGROUND = '#F3F6FC';
8
+
9
+ /**
10
+ * One place for the conversation's background colour.
11
+ *
12
+ * The message list has always painted it; the chat container behind it was
13
+ * plain white, which is what made the header's rounded bottom corners and
14
+ * the composer's rounded top corners invisible — the corners revealed the
15
+ * white parent, not the conversation.
16
+ */
17
+ export const getChatBackgroundColor = config => config?.backgroundChat?.color || DEFAULT_CHAT_BACKGROUND;
18
+ //# sourceMappingURL=getChatBackground.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DEFAULT_CHAT_BACKGROUND","getChatBackgroundColor","config","backgroundChat","color"],"sourceRoot":"../../../src","sources":["helpers/getChatBackground.ts"],"mappings":";;AAAA;;AAIA;AACA;AACA,OAAO,MAAMA,uBAAuB,GAAG,SAAS;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAIC,MAAgB,IACrDA,MAAM,EAAEC,cAAc,EAAEC,KAAK,IAAIJ,uBAAuB","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ let cached;
4
+ export const getMediaLibrary = () => {
5
+ if (cached !== undefined) {
6
+ return cached;
7
+ }
8
+ try {
9
+ const legacy = require('expo-media-library/legacy');
10
+ if (legacy?.getAssetsAsync) {
11
+ cached = legacy;
12
+ return cached;
13
+ }
14
+ } catch {}
15
+ try {
16
+ cached = require('expo-media-library') ?? null;
17
+ } catch {
18
+ cached = null;
19
+ }
20
+ return cached;
21
+ };
22
+ export const __resetMediaLibraryCache = () => {
23
+ cached = undefined;
24
+ };
25
+ //# sourceMappingURL=mediaLibraryRuntime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cached","getMediaLibrary","undefined","legacy","require","getAssetsAsync","__resetMediaLibraryCache"],"sourceRoot":"../../../src","sources":["helpers/mediaLibraryRuntime.ts"],"mappings":";;AAAA,IAAIA,MAAuB;AAE3B,OAAO,MAAMC,eAAe,GAAGA,CAAA,KAAkB;EAC/C,IAAID,MAAM,KAAKE,SAAS,EAAE;IAAC,OAAOF,MAAM;EAAC;EACzC,IAAI;IACF,MAAMG,MAAM,GAAGC,OAAO,CAAC,2BAA2B,CAAC;IAEnD,IAAID,MAAM,EAAEE,cAAc,EAAE;MAC1BL,MAAM,GAAGG,MAAM;MACf,OAAOH,MAAM;IACf;EACF,CAAC,CAAC,MAAM,CACR;EAEA,IAAI;IACFA,MAAM,GAAGI,OAAO,CAAC,oBAAoB,CAAC,IAAI,IAAI;EAChD,CAAC,CAAC,MAAM;IACNJ,MAAM,GAAG,IAAI;EACf;EACA,OAAOA,MAAM;AACf,CAAC;AAED,OAAO,MAAMM,wBAAwB,GAAGA,CAAA,KAAM;EAC5CN,MAAM,GAAGE,SAAS;AACpB,CAAC","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ /** @format */
4
+
5
+ /**
6
+ * Shared thresholds for the drag-to-dismiss gesture on bottom sheets (the
7
+ * attach sheet, the profile headers, the room-list menu). Kept in one
8
+ * place so a pull feels identical wherever the user does it — and so the
9
+ * numbers are unit-testable without a touch event.
10
+ */
11
+
12
+ /** Drag past this many points and letting go dismisses the sheet. */
13
+ export const DISMISS_DISTANCE = 90;
14
+ /** …or flick faster than this, however short the drag. */
15
+ export const DISMISS_VELOCITY = 0.8;
16
+
17
+ /**
18
+ * Claim a drag only once it is clearly a downward pull, so a tap on a row
19
+ * still registers and a horizontal swipe stays with whatever scrolls
20
+ * sideways inside the sheet.
21
+ */
22
+ export const shouldClaimVerticalDrag = (dy, dx) => dy > 6 && Math.abs(dy) > Math.abs(dx) * 1.5;
23
+
24
+ /** Far enough / fast enough to let go of the sheet. */
25
+ export const shouldDismissOnDrag = (dy, vy) => dy > DISMISS_DISTANCE || vy > DISMISS_VELOCITY;
26
+ //# sourceMappingURL=sheetGestures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DISMISS_DISTANCE","DISMISS_VELOCITY","shouldClaimVerticalDrag","dy","dx","Math","abs","shouldDismissOnDrag","vy"],"sourceRoot":"../../../src","sources":["helpers/sheetGestures.ts"],"mappings":";;AAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO,MAAMA,gBAAgB,GAAG,EAAE;AAClC;AACA,OAAO,MAAMC,gBAAgB,GAAG,GAAG;;AAEnC;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CAACC,EAAU,EAAEC,EAAU,KAC5DD,EAAE,GAAG,CAAC,IAAIE,IAAI,CAACC,GAAG,CAACH,EAAE,CAAC,GAAGE,IAAI,CAACC,GAAG,CAACF,EAAE,CAAC,GAAG,GAAG;;AAE7C;AACA,OAAO,MAAMG,mBAAmB,GAAGA,CAACJ,EAAU,EAAEK,EAAU,KACxDL,EAAE,GAAGH,gBAAgB,IAAIQ,EAAE,GAAGP,gBAAgB","ignoreList":[]}
@@ -15,6 +15,8 @@
15
15
 
16
16
  const en = {
17
17
  'search.placeholder': 'Search...',
18
+ 'search.members': 'Search members',
19
+ 'search.noResults': 'Nobody found',
18
20
  'input.placeholder': 'Type message',
19
21
  'room.created': 'Room created',
20
22
  'room.empty': 'This chat is empty',
@@ -89,6 +91,10 @@ const en = {
89
91
  'action.add': 'Add',
90
92
  'action.backToCreation': 'Back to creation',
91
93
  'action.report': 'Report',
94
+ 'action.search': 'Search',
95
+ 'action.edit': 'Edit',
96
+ 'action.deleteAndLeave': 'Delete and Leave',
97
+ 'status.banned': 'banned',
92
98
  'status.connecting': 'Connecting…',
93
99
  'status.noInternet': 'No internet connection',
94
100
  'translation.translating': 'Translating…',
@@ -100,7 +106,10 @@ const en = {
100
106
  'translation.modeManual': 'Manual',
101
107
  'language.select': 'Select language',
102
108
  'modal.newChat.title': 'Create New Chat',
103
- 'modal.newChat.roomNamePlaceholder': 'Enter Room Name',
109
+ 'modal.newChat.roomNamePlaceholder': 'Chat name',
110
+ 'modal.newChat.descriptionPlaceholder': 'Description (optional)',
111
+ 'modal.newChat.createButton': 'Create new chat',
112
+ 'modal.newChat.nameTooShort': 'Chat name must be at least 3 characters.',
104
113
  'modal.newChat.chatTypePlaceholder': 'Select chat type',
105
114
  'modal.newChat.selectUsersTitle': 'Select users to add to Chat',
106
115
  'modal.selectUsers.title': 'Select Users (max 20)',
@@ -142,6 +151,8 @@ const en = {
142
151
  'action.call': 'Call',
143
152
  'action.audioCall': 'Audio call',
144
153
  'action.copyUserId': 'Copy User Id',
154
+ 'action.account': 'Account',
155
+ 'action.share': 'Share',
145
156
  'action.deleteChat': 'Delete chat',
146
157
  'action.appointAsAdmin': 'Appoint as an admin',
147
158
  'action.moreOptions': 'More Options',
@@ -160,12 +171,21 @@ const en = {
160
171
  'auth.anonymousLoginMessage': 'You are logged in anonymously!',
161
172
  'modal.profile.title': 'Profile',
162
173
  'modal.profile.about': 'About',
174
+ 'modal.profile.language': 'Language',
175
+ 'modal.profile.media': 'Media',
176
+ 'modal.profile.documents': 'Documents',
177
+ 'modal.profile.noFiles': 'Nothing here yet',
163
178
  'modal.profile.noDescription': 'No description',
164
179
  'modal.chatProfile.title': 'Chat Profile',
165
180
  'modal.chatProfile.description': 'Description',
166
181
  'modal.chatProfile.chatType': 'Chat type',
167
182
  'modal.chatProfile.memberCountSingular': '{count} member',
168
183
  'modal.chatProfile.memberCountPlural': '{count} members',
184
+ 'modal.chatProfile.addMembers': 'Add Members',
185
+ 'modal.chatProfile.removePhoto': 'Remove photo',
186
+ 'modal.chatProfile.membersLabel': 'Members: {count}',
187
+ 'modal.chatProfile.membersUnavailable': 'Member list unavailable',
188
+ 'modal.chatProfile.removeMember': 'Remove from this chat?',
169
189
  'modal.deleteChat.title': 'Delete this chat ?',
170
190
  'modal.addMembers.title': 'Add New Member',
171
191
  'modal.addMembers.userIdPlaceholder': 'Enter User Id',
@@ -222,6 +242,8 @@ const en = {
222
242
  };
223
243
  const fr = {
224
244
  'search.placeholder': 'Rechercher...',
245
+ 'search.members': 'Rechercher des membres',
246
+ 'search.noResults': 'Personne trouvée',
225
247
  'input.placeholder': 'Écrire un message',
226
248
  'room.created': 'Salon créé',
227
249
  'room.empty': 'Ce salon est vide',
@@ -296,6 +318,10 @@ const fr = {
296
318
  'action.add': 'Ajouter',
297
319
  'action.backToCreation': 'Retour à la création',
298
320
  'action.report': 'Signaler',
321
+ 'action.search': 'Rechercher',
322
+ 'action.edit': 'Modifier',
323
+ 'action.deleteAndLeave': 'Supprimer et quitter',
324
+ 'status.banned': 'banni',
299
325
  'status.connecting': 'Connexion…',
300
326
  'status.noInternet': 'Pas de connexion internet',
301
327
  'translation.translating': 'Traduction…',
@@ -308,6 +334,9 @@ const fr = {
308
334
  'language.select': 'Choisir la langue',
309
335
  'modal.newChat.title': 'Créer une discussion',
310
336
  'modal.newChat.roomNamePlaceholder': 'Nom du salon',
337
+ 'modal.newChat.descriptionPlaceholder': 'Description (facultatif)',
338
+ 'modal.newChat.createButton': 'Créer la discussion',
339
+ 'modal.newChat.nameTooShort': 'Le nom doit contenir au moins 3 caractères.',
311
340
  'modal.newChat.chatTypePlaceholder': 'Choisir le type de discussion',
312
341
  'modal.newChat.selectUsersTitle': 'Sélectionner des utilisateurs à ajouter',
313
342
  'modal.selectUsers.title': 'Sélectionner des utilisateurs (max 20)',
@@ -349,6 +378,8 @@ const fr = {
349
378
  'action.call': 'Appeler',
350
379
  'action.audioCall': 'Appel audio',
351
380
  'action.copyUserId': "Copier l'ID utilisateur",
381
+ 'action.account': 'Compte',
382
+ 'action.share': 'Partager',
352
383
  'action.deleteChat': 'Supprimer la discussion',
353
384
  'action.appointAsAdmin': 'Nommer administrateur',
354
385
  'action.moreOptions': "Plus d'options",
@@ -367,12 +398,21 @@ const fr = {
367
398
  'auth.anonymousLoginMessage': 'Vous êtes connecté anonymement !',
368
399
  'modal.profile.title': 'Profil',
369
400
  'modal.profile.about': 'À propos',
401
+ 'modal.profile.language': 'Langue',
402
+ 'modal.profile.media': 'Médias',
403
+ 'modal.profile.documents': 'Documents',
404
+ 'modal.profile.noFiles': 'Rien pour le moment',
370
405
  'modal.profile.noDescription': 'Aucune description',
371
406
  'modal.chatProfile.title': 'Profil de la discussion',
372
407
  'modal.chatProfile.description': 'Description',
373
408
  'modal.chatProfile.chatType': 'Type de discussion',
374
409
  'modal.chatProfile.memberCountSingular': '{count} membre',
375
410
  'modal.chatProfile.memberCountPlural': '{count} membres',
411
+ 'modal.chatProfile.addMembers': 'Ajouter des membres',
412
+ 'modal.chatProfile.removePhoto': 'Supprimer la photo',
413
+ 'modal.chatProfile.membersLabel': 'Membres : {count}',
414
+ 'modal.chatProfile.membersUnavailable': 'Liste des membres indisponible',
415
+ 'modal.chatProfile.removeMember': 'Retirer de cette discussion ?',
376
416
  'modal.deleteChat.title': 'Supprimer cette discussion ?',
377
417
  'modal.addMembers.title': 'Ajouter un nouveau membre',
378
418
  'modal.addMembers.userIdPlaceholder': "Entrez l'ID utilisateur",
@@ -429,6 +469,8 @@ const fr = {
429
469
  };
430
470
  const es = {
431
471
  'search.placeholder': 'Buscar...',
472
+ 'search.members': 'Buscar miembros',
473
+ 'search.noResults': 'No se encontró a nadie',
432
474
  'input.placeholder': 'Escribe un mensaje',
433
475
  'room.created': 'Sala creada',
434
476
  'room.empty': 'Este chat está vacío',
@@ -503,6 +545,10 @@ const es = {
503
545
  'action.add': 'Añadir',
504
546
  'action.backToCreation': 'Volver a la creación',
505
547
  'action.report': 'Reportar',
548
+ 'action.search': 'Buscar',
549
+ 'action.edit': 'Editar',
550
+ 'action.deleteAndLeave': 'Eliminar y salir',
551
+ 'status.banned': 'bloqueado',
506
552
  'status.connecting': 'Conectando…',
507
553
  'status.noInternet': 'Sin conexión a internet',
508
554
  'translation.translating': 'Traduciendo…',
@@ -515,6 +561,9 @@ const es = {
515
561
  'language.select': 'Seleccionar idioma',
516
562
  'modal.newChat.title': 'Crear nuevo chat',
517
563
  'modal.newChat.roomNamePlaceholder': 'Nombre de la sala',
564
+ 'modal.newChat.descriptionPlaceholder': 'Descripción (opcional)',
565
+ 'modal.newChat.createButton': 'Crear chat',
566
+ 'modal.newChat.nameTooShort': 'El nombre debe tener al menos 3 caracteres.',
518
567
  'modal.newChat.chatTypePlaceholder': 'Selecciona el tipo de chat',
519
568
  'modal.newChat.selectUsersTitle': 'Selecciona usuarios para añadir al chat',
520
569
  'modal.selectUsers.title': 'Seleccionar usuarios (máx. 20)',
@@ -556,6 +605,8 @@ const es = {
556
605
  'action.call': 'Llamar',
557
606
  'action.audioCall': 'Llamada de audio',
558
607
  'action.copyUserId': 'Copiar ID de usuario',
608
+ 'action.account': 'Cuenta',
609
+ 'action.share': 'Compartir',
559
610
  'action.deleteChat': 'Eliminar chat',
560
611
  'action.appointAsAdmin': 'Nombrar administrador',
561
612
  'action.moreOptions': 'Más opciones',
@@ -574,12 +625,21 @@ const es = {
574
625
  'auth.anonymousLoginMessage': '¡Has iniciado sesión de forma anónima!',
575
626
  'modal.profile.title': 'Perfil',
576
627
  'modal.profile.about': 'Acerca de',
628
+ 'modal.profile.language': 'Idioma',
629
+ 'modal.profile.media': 'Multimedia',
630
+ 'modal.profile.documents': 'Documentos',
631
+ 'modal.profile.noFiles': 'Todavía no hay nada',
577
632
  'modal.profile.noDescription': 'Sin descripción',
578
633
  'modal.chatProfile.title': 'Perfil del chat',
579
634
  'modal.chatProfile.description': 'Descripción',
580
635
  'modal.chatProfile.chatType': 'Tipo de chat',
581
636
  'modal.chatProfile.memberCountSingular': '{count} miembro',
582
637
  'modal.chatProfile.memberCountPlural': '{count} miembros',
638
+ 'modal.chatProfile.addMembers': 'Añadir miembros',
639
+ 'modal.chatProfile.removePhoto': 'Quitar la foto',
640
+ 'modal.chatProfile.membersLabel': 'Miembros: {count}',
641
+ 'modal.chatProfile.membersUnavailable': 'Lista de miembros no disponible',
642
+ 'modal.chatProfile.removeMember': '¿Quitar de este chat?',
583
643
  'modal.deleteChat.title': '¿Eliminar este chat?',
584
644
  'modal.addMembers.title': 'Añadir nuevo miembro',
585
645
  'modal.addMembers.userIdPlaceholder': 'Introduce el ID de usuario',
@@ -636,6 +696,8 @@ const es = {
636
696
  };
637
697
  const pt = {
638
698
  'search.placeholder': 'Pesquisar...',
699
+ 'search.members': 'Pesquisar membros',
700
+ 'search.noResults': 'Ninguém encontrado',
639
701
  'input.placeholder': 'Escreva uma mensagem',
640
702
  'room.created': 'Sala criada',
641
703
  'room.empty': 'Este chat está vazio',
@@ -710,6 +772,10 @@ const pt = {
710
772
  'action.add': 'Adicionar',
711
773
  'action.backToCreation': 'Voltar à criação',
712
774
  'action.report': 'Denunciar',
775
+ 'action.search': 'Pesquisar',
776
+ 'action.edit': 'Editar',
777
+ 'action.deleteAndLeave': 'Eliminar e sair',
778
+ 'status.banned': 'banido',
713
779
  'status.connecting': 'A ligar…',
714
780
  'status.noInternet': 'Sem ligação à internet',
715
781
  'translation.translating': 'A traduzir…',
@@ -722,6 +788,9 @@ const pt = {
722
788
  'language.select': 'Selecionar idioma',
723
789
  'modal.newChat.title': 'Criar novo chat',
724
790
  'modal.newChat.roomNamePlaceholder': 'Nome da sala',
791
+ 'modal.newChat.descriptionPlaceholder': 'Descrição (opcional)',
792
+ 'modal.newChat.createButton': 'Criar conversa',
793
+ 'modal.newChat.nameTooShort': 'O nome deve ter pelo menos 3 caracteres.',
725
794
  'modal.newChat.chatTypePlaceholder': 'Selecione o tipo de chat',
726
795
  'modal.newChat.selectUsersTitle': 'Selecione utilizadores para adicionar ao chat',
727
796
  'modal.selectUsers.title': 'Selecionar utilizadores (máx. 20)',
@@ -763,6 +832,8 @@ const pt = {
763
832
  'action.call': 'Ligar',
764
833
  'action.audioCall': 'Chamada de áudio',
765
834
  'action.copyUserId': 'Copiar ID do utilizador',
835
+ 'action.account': 'Conta',
836
+ 'action.share': 'Partilhar',
766
837
  'action.deleteChat': 'Eliminar chat',
767
838
  'action.appointAsAdmin': 'Nomear administrador',
768
839
  'action.moreOptions': 'Mais opções',
@@ -781,12 +852,21 @@ const pt = {
781
852
  'auth.anonymousLoginMessage': 'Iniciou sessão anonimamente!',
782
853
  'modal.profile.title': 'Perfil',
783
854
  'modal.profile.about': 'Sobre',
855
+ 'modal.profile.language': 'Idioma',
856
+ 'modal.profile.media': 'Multimédia',
857
+ 'modal.profile.documents': 'Documentos',
858
+ 'modal.profile.noFiles': 'Ainda não há nada aqui',
784
859
  'modal.profile.noDescription': 'Sem descrição',
785
860
  'modal.chatProfile.title': 'Perfil do chat',
786
861
  'modal.chatProfile.description': 'Descrição',
787
862
  'modal.chatProfile.chatType': 'Tipo de chat',
788
863
  'modal.chatProfile.memberCountSingular': '{count} membro',
789
864
  'modal.chatProfile.memberCountPlural': '{count} membros',
865
+ 'modal.chatProfile.addMembers': 'Adicionar membros',
866
+ 'modal.chatProfile.removePhoto': 'Remover foto',
867
+ 'modal.chatProfile.membersLabel': 'Membros: {count}',
868
+ 'modal.chatProfile.membersUnavailable': 'Lista de membros indisponível',
869
+ 'modal.chatProfile.removeMember': 'Remover deste chat?',
790
870
  'modal.deleteChat.title': 'Eliminar este chat?',
791
871
  'modal.addMembers.title': 'Adicionar novo membro',
792
872
  'modal.addMembers.userIdPlaceholder': 'Introduza o ID do utilizador',
@@ -843,6 +923,8 @@ const pt = {
843
923
  };
844
924
  const ht = {
845
925
  'search.placeholder': 'Chèche...',
926
+ 'search.members': 'Chèche manm',
927
+ 'search.noResults': 'Pa jwenn pèsonn',
846
928
  'input.placeholder': 'Ekri yon mesaj',
847
929
  'room.created': 'Sal la kreye',
848
930
  'room.empty': 'Chat sa a vid',
@@ -917,6 +999,10 @@ const ht = {
917
999
  'action.add': 'Ajoute',
918
1000
  'action.backToCreation': 'Retounen nan kreyasyon',
919
1001
  'action.report': 'Rapòte',
1002
+ 'action.search': 'Chèche',
1003
+ 'action.edit': 'Modifye',
1004
+ 'action.deleteAndLeave': 'Efase epi kite',
1005
+ 'status.banned': 'bloke',
920
1006
  'status.connecting': 'Koneksyon…',
921
1007
  'status.noInternet': 'Pa gen koneksyon entènèt',
922
1008
  'translation.translating': 'Ap tradui…',
@@ -929,6 +1015,9 @@ const ht = {
929
1015
  'language.select': 'Chwazi lang',
930
1016
  'modal.newChat.title': 'Kreye yon nouvo chat',
931
1017
  'modal.newChat.roomNamePlaceholder': 'Antre non sal la',
1018
+ 'modal.newChat.descriptionPlaceholder': 'Deskripsyon (opsyonèl)',
1019
+ 'modal.newChat.createButton': 'Kreye chat la',
1020
+ 'modal.newChat.nameTooShort': 'Non an dwe gen omwen 3 karaktè.',
932
1021
  'modal.newChat.chatTypePlaceholder': 'Chwazi tip chat la',
933
1022
  'modal.newChat.selectUsersTitle': 'Chwazi itilizatè pou ajoute nan chat la',
934
1023
  'modal.selectUsers.title': 'Chwazi itilizatè (maksimòm 20)',
@@ -970,6 +1059,8 @@ const ht = {
970
1059
  'action.call': 'Rele',
971
1060
  'action.audioCall': 'Apèl odyo',
972
1061
  'action.copyUserId': 'Kopye ID itilizatè a',
1062
+ 'action.account': 'Kont',
1063
+ 'action.share': 'Pataje',
973
1064
  'action.deleteChat': 'Efase chat la',
974
1065
  'action.appointAsAdmin': 'Nonmen kòm administratè',
975
1066
  'action.moreOptions': 'Plis opsyon',
@@ -988,12 +1079,21 @@ const ht = {
988
1079
  'auth.anonymousLoginMessage': 'Ou konekte anonim!',
989
1080
  'modal.profile.title': 'Pwofil',
990
1081
  'modal.profile.about': 'Konsènan',
1082
+ 'modal.profile.language': 'Lang',
1083
+ 'modal.profile.media': 'Medya',
1084
+ 'modal.profile.documents': 'Dokiman',
1085
+ 'modal.profile.noFiles': 'Poko gen anyen',
991
1086
  'modal.profile.noDescription': 'Pa gen deskripsyon',
992
1087
  'modal.chatProfile.title': 'Pwofil chat la',
993
1088
  'modal.chatProfile.description': 'Deskripsyon',
994
1089
  'modal.chatProfile.chatType': 'Tip chat',
995
1090
  'modal.chatProfile.memberCountSingular': '{count} manm',
996
1091
  'modal.chatProfile.memberCountPlural': '{count} manm',
1092
+ 'modal.chatProfile.addMembers': 'Ajoute manm',
1093
+ 'modal.chatProfile.removePhoto': 'Retire foto a',
1094
+ 'modal.chatProfile.membersLabel': 'Manm: {count}',
1095
+ 'modal.chatProfile.membersUnavailable': 'Lis manm yo pa disponib',
1096
+ 'modal.chatProfile.removeMember': 'Retire nan chat sa a?',
997
1097
  'modal.deleteChat.title': 'Efase chat sa a?',
998
1098
  'modal.addMembers.title': 'Ajoute yon nouvo manm',
999
1099
  'modal.addMembers.userIdPlaceholder': 'Antre ID itilizatè a',
@@ -1050,6 +1150,8 @@ const ht = {
1050
1150
  };
1051
1151
  const zh = {
1052
1152
  'search.placeholder': '搜索...',
1153
+ 'search.members': '搜索成员',
1154
+ 'search.noResults': '未找到成员',
1053
1155
  'input.placeholder': '输入消息',
1054
1156
  'room.created': '聊天室已创建',
1055
1157
  'room.empty': '此聊天为空',
@@ -1124,6 +1226,10 @@ const zh = {
1124
1226
  'action.add': '添加',
1125
1227
  'action.backToCreation': '返回创建',
1126
1228
  'action.report': '举报',
1229
+ 'action.search': '搜索',
1230
+ 'action.edit': '编辑',
1231
+ 'action.deleteAndLeave': '删除并退出',
1232
+ 'status.banned': '已封禁',
1127
1233
  'status.connecting': '连接中…',
1128
1234
  'status.noInternet': '无网络连接',
1129
1235
  'translation.translating': '翻译中…',
@@ -1136,6 +1242,9 @@ const zh = {
1136
1242
  'language.select': '选择语言',
1137
1243
  'modal.newChat.title': '创建新聊天',
1138
1244
  'modal.newChat.roomNamePlaceholder': '输入聊天室名称',
1245
+ 'modal.newChat.descriptionPlaceholder': '描述(可选)',
1246
+ 'modal.newChat.createButton': '创建聊天',
1247
+ 'modal.newChat.nameTooShort': '名称至少需要 3 个字符。',
1139
1248
  'modal.newChat.chatTypePlaceholder': '选择聊天类型',
1140
1249
  'modal.newChat.selectUsersTitle': '选择要添加到聊天的用户',
1141
1250
  'modal.selectUsers.title': '选择用户(最多 20 个)',
@@ -1177,6 +1286,8 @@ const zh = {
1177
1286
  'action.call': '通话',
1178
1287
  'action.audioCall': '语音通话',
1179
1288
  'action.copyUserId': '复制用户 ID',
1289
+ 'action.account': '账户',
1290
+ 'action.share': '分享',
1180
1291
  'action.deleteChat': '删除聊天',
1181
1292
  'action.appointAsAdmin': '设为管理员',
1182
1293
  'action.moreOptions': '更多选项',
@@ -1195,12 +1306,21 @@ const zh = {
1195
1306
  'auth.anonymousLoginMessage': '您已匿名登录!',
1196
1307
  'modal.profile.title': '个人资料',
1197
1308
  'modal.profile.about': '简介',
1309
+ 'modal.profile.language': '语言',
1310
+ 'modal.profile.media': '媒体',
1311
+ 'modal.profile.documents': '文件',
1312
+ 'modal.profile.noFiles': '这里还没有内容',
1198
1313
  'modal.profile.noDescription': '暂无简介',
1199
1314
  'modal.chatProfile.title': '聊天资料',
1200
1315
  'modal.chatProfile.description': '描述',
1201
1316
  'modal.chatProfile.chatType': '聊天类型',
1202
1317
  'modal.chatProfile.memberCountSingular': '{count} 位成员',
1203
1318
  'modal.chatProfile.memberCountPlural': '{count} 位成员',
1319
+ 'modal.chatProfile.addMembers': '添加成员',
1320
+ 'modal.chatProfile.removePhoto': '移除图片',
1321
+ 'modal.chatProfile.membersLabel': '成员:{count}',
1322
+ 'modal.chatProfile.membersUnavailable': '成员列表不可用',
1323
+ 'modal.chatProfile.removeMember': '将其移出该聊天?',
1204
1324
  'modal.deleteChat.title': '删除此聊天?',
1205
1325
  'modal.addMembers.title': '添加新成员',
1206
1326
  'modal.addMembers.userIdPlaceholder': '输入用户 ID',