@os-team/profile 1.0.46 → 1.0.47

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 (310) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{emotion.d.js → @types/emotion.d.js} +0 -0
  3. package/dist/cjs/@types/emotion.d.js.map +1 -0
  4. package/dist/cjs/@types/i18next.d.js +4 -0
  5. package/dist/cjs/@types/i18next.d.js.map +1 -0
  6. package/dist/cjs/components/profile/ProfileButton.js +0 -6
  7. package/dist/cjs/components/profile/ProfileButton.js.map +1 -1
  8. package/dist/cjs/components/profile/ProfileConfigContext.js +0 -8
  9. package/dist/cjs/components/profile/ProfileConfigContext.js.map +1 -1
  10. package/dist/cjs/components/profile/ProfileContext.js +0 -8
  11. package/dist/cjs/components/profile/ProfileContext.js.map +1 -1
  12. package/dist/cjs/components/profile/ProfileDrawer.js +2 -20
  13. package/dist/cjs/components/profile/ProfileDrawer.js.map +1 -1
  14. package/dist/cjs/components/profile/ProfileDrawerContent.js +30 -86
  15. package/dist/cjs/components/profile/ProfileDrawerContent.js.map +1 -1
  16. package/dist/cjs/components/profile/ProfileNavigationItem.js +4 -18
  17. package/dist/cjs/components/profile/ProfileNavigationItem.js.map +1 -1
  18. package/dist/cjs/components/profile/ProfileUpdateNameForm.js +3 -14
  19. package/dist/cjs/components/profile/ProfileUpdateNameForm.js.map +1 -1
  20. package/dist/cjs/components/profile/ProfileUpdateNameModal.js +21 -49
  21. package/dist/cjs/components/profile/ProfileUpdateNameModal.js.map +1 -1
  22. package/dist/cjs/components/profile/ProfileUpdatePasswordForm.js +3 -14
  23. package/dist/cjs/components/profile/ProfileUpdatePasswordForm.js.map +1 -1
  24. package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js +19 -45
  25. package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js.map +1 -1
  26. package/dist/cjs/components/profile/ProtectedWrapper.js +4 -19
  27. package/dist/cjs/components/profile/ProtectedWrapper.js.map +1 -1
  28. package/dist/cjs/components/profile/UserAvatar.js +5 -17
  29. package/dist/cjs/components/profile/UserAvatar.js.map +1 -1
  30. package/dist/cjs/components/profile/UserAvatarAddon.js +2 -19
  31. package/dist/cjs/components/profile/UserAvatarAddon.js.map +1 -1
  32. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +4 -9
  33. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +1 -1
  34. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +33 -42
  35. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +1 -1
  36. package/dist/cjs/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js +4 -9
  37. package/dist/cjs/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js.map +1 -1
  38. package/dist/cjs/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js +33 -42
  39. package/dist/cjs/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js.map +1 -1
  40. package/dist/cjs/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js +31 -48
  41. package/dist/cjs/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js.map +1 -1
  42. package/dist/cjs/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js +27 -36
  43. package/dist/cjs/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js.map +1 -1
  44. package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js +4 -9
  45. package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +1 -1
  46. package/dist/cjs/components/session/SessionDrawer.js +2 -20
  47. package/dist/cjs/components/session/SessionDrawer.js.map +1 -1
  48. package/dist/cjs/components/session/SessionDrawerContent.js +0 -15
  49. package/dist/cjs/components/session/SessionDrawerContent.js.map +1 -1
  50. package/dist/cjs/components/session/SessionList.js +6 -39
  51. package/dist/cjs/components/session/SessionList.js.map +1 -1
  52. package/dist/cjs/components/session/SessionListItem.js +22 -84
  53. package/dist/cjs/components/session/SessionListItem.js.map +1 -1
  54. package/dist/cjs/components/session/SessionListSkeleton.js +2 -15
  55. package/dist/cjs/components/session/SessionListSkeleton.js.map +1 -1
  56. package/dist/cjs/components/session/__generated__/SessionDrawerContentQuery.graphql.js +1 -2
  57. package/dist/cjs/components/session/__generated__/SessionDrawerContentQuery.graphql.js.map +1 -1
  58. package/dist/cjs/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js +4 -9
  59. package/dist/cjs/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js.map +1 -1
  60. package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js +27 -36
  61. package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js.map +1 -1
  62. package/dist/cjs/components/session/__generated__/SessionListItem_session.graphql.js +1 -2
  63. package/dist/cjs/components/session/__generated__/SessionListItem_session.graphql.js.map +1 -1
  64. package/dist/cjs/components/session/__generated__/SessionListRefetchQuery.graphql.js +1 -2
  65. package/dist/cjs/components/session/__generated__/SessionListRefetchQuery.graphql.js.map +1 -1
  66. package/dist/cjs/components/session/__generated__/SessionList_sessions.graphql.js +1 -2
  67. package/dist/cjs/components/session/__generated__/SessionList_sessions.graphql.js.map +1 -1
  68. package/dist/cjs/components/session/formatDate.js +0 -2
  69. package/dist/cjs/components/session/formatDate.js.map +1 -1
  70. package/dist/cjs/components/session/getLastSeen.js +0 -2
  71. package/dist/cjs/components/session/getLastSeen.js.map +1 -1
  72. package/dist/cjs/components/shared/ButtonUpdate.js +2 -9
  73. package/dist/cjs/components/shared/ButtonUpdate.js.map +1 -1
  74. package/dist/cjs/components/shared/ErrorResult.js +4 -17
  75. package/dist/cjs/components/shared/ErrorResult.js.map +1 -1
  76. package/dist/cjs/components/shared/MainLoader.js +0 -10
  77. package/dist/cjs/components/shared/MainLoader.js.map +1 -1
  78. package/dist/cjs/components/shared/icons/AndroidIcon.js +0 -6
  79. package/dist/cjs/components/shared/icons/AndroidIcon.js.map +1 -1
  80. package/dist/cjs/components/shared/icons/AppleIcon.js +0 -6
  81. package/dist/cjs/components/shared/icons/AppleIcon.js.map +1 -1
  82. package/dist/cjs/components/shared/icons/BrowserIcon.js +0 -6
  83. package/dist/cjs/components/shared/icons/BrowserIcon.js.map +1 -1
  84. package/dist/cjs/components/shared/icons/ProfileIcon.js +0 -6
  85. package/dist/cjs/components/shared/icons/ProfileIcon.js.map +1 -1
  86. package/dist/cjs/components/shared/icons/UnknownDeviceIcon.js +0 -6
  87. package/dist/cjs/components/shared/icons/UnknownDeviceIcon.js.map +1 -1
  88. package/dist/cjs/index.js +0 -19
  89. package/dist/cjs/index.js.map +1 -1
  90. package/dist/cjs/utils/getUserFullName.js +2 -4
  91. package/dist/cjs/utils/getUserFullName.js.map +1 -1
  92. package/dist/esm/{emotion.d.js → @types/emotion.d.js} +0 -0
  93. package/dist/esm/@types/emotion.d.js.map +1 -0
  94. package/dist/esm/@types/i18next.d.js +2 -0
  95. package/dist/esm/@types/i18next.d.js.map +1 -0
  96. package/dist/esm/components/profile/ProfileButton.js +0 -3
  97. package/dist/esm/components/profile/ProfileButton.js.map +1 -1
  98. package/dist/esm/components/profile/ProfileConfigContext.js.map +1 -1
  99. package/dist/esm/components/profile/ProfileContext.js.map +1 -1
  100. package/dist/esm/components/profile/ProfileDrawer.js +0 -3
  101. package/dist/esm/components/profile/ProfileDrawer.js.map +1 -1
  102. package/dist/esm/components/profile/ProfileDrawerContent.js +5 -16
  103. package/dist/esm/components/profile/ProfileDrawerContent.js.map +1 -1
  104. package/dist/esm/components/profile/ProfileNavigationItem.js +1 -4
  105. package/dist/esm/components/profile/ProfileNavigationItem.js.map +1 -1
  106. package/dist/esm/components/profile/ProfileUpdateNameForm.js +1 -4
  107. package/dist/esm/components/profile/ProfileUpdateNameForm.js.map +1 -1
  108. package/dist/esm/components/profile/ProfileUpdateNameModal.js +3 -5
  109. package/dist/esm/components/profile/ProfileUpdateNameModal.js.map +1 -1
  110. package/dist/esm/components/profile/ProfileUpdatePasswordForm.js +1 -4
  111. package/dist/esm/components/profile/ProfileUpdatePasswordForm.js.map +1 -1
  112. package/dist/esm/components/profile/ProfileUpdatePasswordModal.js +3 -5
  113. package/dist/esm/components/profile/ProfileUpdatePasswordModal.js.map +1 -1
  114. package/dist/esm/components/profile/ProtectedWrapper.js +0 -4
  115. package/dist/esm/components/profile/ProtectedWrapper.js.map +1 -1
  116. package/dist/esm/components/profile/UserAvatar.js +0 -3
  117. package/dist/esm/components/profile/UserAvatar.js.map +1 -1
  118. package/dist/esm/components/profile/UserAvatarAddon.js +0 -3
  119. package/dist/esm/components/profile/UserAvatarAddon.js.map +1 -1
  120. package/dist/esm/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +4 -8
  121. package/dist/esm/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +1 -1
  122. package/dist/esm/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +33 -41
  123. package/dist/esm/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +1 -1
  124. package/dist/esm/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js +4 -8
  125. package/dist/esm/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js.map +1 -1
  126. package/dist/esm/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js +33 -41
  127. package/dist/esm/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js.map +1 -1
  128. package/dist/esm/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js +31 -47
  129. package/dist/esm/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js.map +1 -1
  130. package/dist/esm/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js +27 -35
  131. package/dist/esm/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js.map +1 -1
  132. package/dist/esm/components/profile/__generated__/ProtectedWrapperQuery.graphql.js +4 -8
  133. package/dist/esm/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +1 -1
  134. package/dist/esm/components/session/SessionDrawer.js +1 -4
  135. package/dist/esm/components/session/SessionDrawer.js.map +1 -1
  136. package/dist/esm/components/session/SessionDrawerContent.js +0 -5
  137. package/dist/esm/components/session/SessionDrawerContent.js.map +1 -1
  138. package/dist/esm/components/session/SessionList.js +1 -4
  139. package/dist/esm/components/session/SessionList.js.map +1 -1
  140. package/dist/esm/components/session/SessionListItem.js +3 -17
  141. package/dist/esm/components/session/SessionListItem.js.map +1 -1
  142. package/dist/esm/components/session/SessionListSkeleton.js +1 -3
  143. package/dist/esm/components/session/SessionListSkeleton.js.map +1 -1
  144. package/dist/esm/components/session/__generated__/SessionDrawerContentQuery.graphql.js +1 -1
  145. package/dist/esm/components/session/__generated__/SessionDrawerContentQuery.graphql.js.map +1 -1
  146. package/dist/esm/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js +4 -8
  147. package/dist/esm/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js.map +1 -1
  148. package/dist/esm/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js +27 -35
  149. package/dist/esm/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js.map +1 -1
  150. package/dist/esm/components/session/__generated__/SessionListItem_session.graphql.js +1 -1
  151. package/dist/esm/components/session/__generated__/SessionListItem_session.graphql.js.map +1 -1
  152. package/dist/esm/components/session/__generated__/SessionListRefetchQuery.graphql.js +1 -1
  153. package/dist/esm/components/session/__generated__/SessionListRefetchQuery.graphql.js.map +1 -1
  154. package/dist/esm/components/session/__generated__/SessionList_sessions.graphql.js +1 -1
  155. package/dist/esm/components/session/__generated__/SessionList_sessions.graphql.js.map +1 -1
  156. package/dist/esm/components/session/formatDate.js +0 -1
  157. package/dist/esm/components/session/formatDate.js.map +1 -1
  158. package/dist/esm/components/session/getLastSeen.js +0 -1
  159. package/dist/esm/components/session/getLastSeen.js.map +1 -1
  160. package/dist/esm/components/shared/ButtonUpdate.js +1 -3
  161. package/dist/esm/components/shared/ButtonUpdate.js.map +1 -1
  162. package/dist/esm/components/shared/ErrorResult.js +3 -5
  163. package/dist/esm/components/shared/ErrorResult.js.map +1 -1
  164. package/dist/esm/components/shared/MainLoader.js +0 -2
  165. package/dist/esm/components/shared/MainLoader.js.map +1 -1
  166. package/dist/esm/components/shared/icons/AndroidIcon.js +0 -1
  167. package/dist/esm/components/shared/icons/AndroidIcon.js.map +1 -1
  168. package/dist/esm/components/shared/icons/AppleIcon.js +0 -1
  169. package/dist/esm/components/shared/icons/AppleIcon.js.map +1 -1
  170. package/dist/esm/components/shared/icons/BrowserIcon.js +0 -1
  171. package/dist/esm/components/shared/icons/BrowserIcon.js.map +1 -1
  172. package/dist/esm/components/shared/icons/ProfileIcon.js +0 -1
  173. package/dist/esm/components/shared/icons/ProfileIcon.js.map +1 -1
  174. package/dist/esm/components/shared/icons/UnknownDeviceIcon.js +0 -1
  175. package/dist/esm/components/shared/icons/UnknownDeviceIcon.js.map +1 -1
  176. package/dist/esm/index.js.map +1 -1
  177. package/dist/esm/utils/getUserFullName.js +0 -1
  178. package/dist/esm/utils/getUserFullName.js.map +1 -1
  179. package/dist/types/{components → src/lib/components}/profile/ProfileButton.d.ts +0 -0
  180. package/dist/types/src/lib/components/profile/ProfileButton.d.ts.map +1 -0
  181. package/dist/types/{components → src/lib/components}/profile/ProfileConfigContext.d.ts +0 -0
  182. package/dist/types/src/lib/components/profile/ProfileConfigContext.d.ts.map +1 -0
  183. package/dist/types/{components → src/lib/components}/profile/ProfileContext.d.ts +0 -0
  184. package/dist/types/src/lib/components/profile/ProfileContext.d.ts.map +1 -0
  185. package/dist/types/{components → src/lib/components}/profile/ProfileDrawer.d.ts +0 -0
  186. package/dist/types/src/lib/components/profile/ProfileDrawer.d.ts.map +1 -0
  187. package/dist/types/{components → src/lib/components}/profile/ProfileDrawerContent.d.ts +0 -0
  188. package/dist/types/src/lib/components/profile/ProfileDrawerContent.d.ts.map +1 -0
  189. package/dist/types/{components → src/lib/components}/profile/ProfileNavigationItem.d.ts +0 -0
  190. package/dist/types/src/lib/components/profile/ProfileNavigationItem.d.ts.map +1 -0
  191. package/dist/types/{components → src/lib/components}/profile/ProfileUpdateNameForm.d.ts +0 -0
  192. package/dist/types/src/lib/components/profile/ProfileUpdateNameForm.d.ts.map +1 -0
  193. package/dist/types/{components → src/lib/components}/profile/ProfileUpdateNameModal.d.ts +0 -0
  194. package/dist/types/src/lib/components/profile/ProfileUpdateNameModal.d.ts.map +1 -0
  195. package/dist/types/{components → src/lib/components}/profile/ProfileUpdatePasswordForm.d.ts +0 -0
  196. package/dist/types/src/lib/components/profile/ProfileUpdatePasswordForm.d.ts.map +1 -0
  197. package/dist/types/{components → src/lib/components}/profile/ProfileUpdatePasswordModal.d.ts +0 -0
  198. package/dist/types/src/lib/components/profile/ProfileUpdatePasswordModal.d.ts.map +1 -0
  199. package/dist/types/{components → src/lib/components}/profile/ProtectedWrapper.d.ts +0 -0
  200. package/dist/types/src/lib/components/profile/ProtectedWrapper.d.ts.map +1 -0
  201. package/dist/types/{components → src/lib/components}/profile/UserAvatar.d.ts +0 -0
  202. package/dist/types/src/lib/components/profile/UserAvatar.d.ts.map +1 -0
  203. package/dist/types/{components → src/lib/components}/profile/UserAvatarAddon.d.ts +0 -0
  204. package/dist/types/src/lib/components/profile/UserAvatarAddon.d.ts.map +1 -0
  205. package/dist/types/{components → src/lib/components}/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts +0 -0
  206. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts.map +1 -0
  207. package/dist/types/{components → src/lib/components}/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts +0 -0
  208. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts.map +1 -0
  209. package/dist/types/{components → src/lib/components}/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts +0 -0
  210. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts.map +1 -0
  211. package/dist/types/{components → src/lib/components}/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts +0 -0
  212. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts.map +1 -0
  213. package/dist/types/{components → src/lib/components}/profile/__generated__/ProfileUpdateNameModalMutation.graphql.d.ts +0 -0
  214. package/dist/types/src/lib/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.d.ts.map +1 -0
  215. package/dist/types/{components → src/lib/components}/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.d.ts +0 -0
  216. package/dist/types/src/lib/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.d.ts.map +1 -0
  217. package/dist/types/{components → src/lib/components}/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts +0 -0
  218. package/dist/types/src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts.map +1 -0
  219. package/dist/types/{components → src/lib/components}/session/SessionDrawer.d.ts +0 -0
  220. package/dist/types/src/lib/components/session/SessionDrawer.d.ts.map +1 -0
  221. package/dist/types/{components → src/lib/components}/session/SessionDrawerContent.d.ts +0 -0
  222. package/dist/types/src/lib/components/session/SessionDrawerContent.d.ts.map +1 -0
  223. package/dist/types/{components → src/lib/components}/session/SessionList.d.ts +0 -0
  224. package/dist/types/src/lib/components/session/SessionList.d.ts.map +1 -0
  225. package/dist/types/{components → src/lib/components}/session/SessionListItem.d.ts +0 -0
  226. package/dist/types/src/lib/components/session/SessionListItem.d.ts.map +1 -0
  227. package/dist/types/{components → src/lib/components}/session/SessionListSkeleton.d.ts +0 -0
  228. package/dist/types/src/lib/components/session/SessionListSkeleton.d.ts.map +1 -0
  229. package/dist/types/{components → src/lib/components}/session/__generated__/SessionDrawerContentQuery.graphql.d.ts +0 -0
  230. package/dist/types/src/lib/components/session/__generated__/SessionDrawerContentQuery.graphql.d.ts.map +1 -0
  231. package/dist/types/{components → src/lib/components}/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.d.ts +0 -0
  232. package/dist/types/src/lib/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.d.ts.map +1 -0
  233. package/dist/types/{components → src/lib/components}/session/__generated__/SessionListItemDestroySessionMutation.graphql.d.ts +0 -0
  234. package/dist/types/src/lib/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.d.ts.map +1 -0
  235. package/dist/types/{components → src/lib/components}/session/__generated__/SessionListItem_session.graphql.d.ts +0 -0
  236. package/dist/types/src/lib/components/session/__generated__/SessionListItem_session.graphql.d.ts.map +1 -0
  237. package/dist/types/{components → src/lib/components}/session/__generated__/SessionListRefetchQuery.graphql.d.ts +0 -0
  238. package/dist/types/src/lib/components/session/__generated__/SessionListRefetchQuery.graphql.d.ts.map +1 -0
  239. package/dist/types/{components → src/lib/components}/session/__generated__/SessionList_sessions.graphql.d.ts +0 -0
  240. package/dist/types/src/lib/components/session/__generated__/SessionList_sessions.graphql.d.ts.map +1 -0
  241. package/dist/types/{components → src/lib/components}/session/formatDate.d.ts +0 -0
  242. package/dist/types/src/lib/components/session/formatDate.d.ts.map +1 -0
  243. package/dist/types/{components → src/lib/components}/session/getLastSeen.d.ts +0 -0
  244. package/dist/types/src/lib/components/session/getLastSeen.d.ts.map +1 -0
  245. package/dist/types/{components → src/lib/components}/shared/ButtonUpdate.d.ts +0 -0
  246. package/dist/types/src/lib/components/shared/ButtonUpdate.d.ts.map +1 -0
  247. package/dist/types/{components → src/lib/components}/shared/ErrorResult.d.ts +0 -0
  248. package/dist/types/src/lib/components/shared/ErrorResult.d.ts.map +1 -0
  249. package/dist/types/{components → src/lib/components}/shared/MainLoader.d.ts +0 -0
  250. package/dist/types/src/lib/components/shared/MainLoader.d.ts.map +1 -0
  251. package/dist/types/{components → src/lib/components}/shared/icons/AndroidIcon.d.ts +0 -0
  252. package/dist/types/src/lib/components/shared/icons/AndroidIcon.d.ts.map +1 -0
  253. package/dist/types/{components → src/lib/components}/shared/icons/AppleIcon.d.ts +0 -0
  254. package/dist/types/src/lib/components/shared/icons/AppleIcon.d.ts.map +1 -0
  255. package/dist/types/{components → src/lib/components}/shared/icons/BrowserIcon.d.ts +0 -0
  256. package/dist/types/src/lib/components/shared/icons/BrowserIcon.d.ts.map +1 -0
  257. package/dist/types/{components → src/lib/components}/shared/icons/ProfileIcon.d.ts +0 -0
  258. package/dist/types/src/lib/components/shared/icons/ProfileIcon.d.ts.map +1 -0
  259. package/dist/types/{components → src/lib/components}/shared/icons/UnknownDeviceIcon.d.ts +0 -0
  260. package/dist/types/src/lib/components/shared/icons/UnknownDeviceIcon.d.ts.map +1 -0
  261. package/dist/types/{index.d.ts → src/lib/index.d.ts} +0 -0
  262. package/dist/types/src/lib/index.d.ts.map +1 -0
  263. package/dist/types/{utils → src/lib/utils}/getUserFullName.d.ts +0 -0
  264. package/dist/types/src/lib/utils/getUserFullName.d.ts.map +1 -0
  265. package/package.json +23 -23
  266. package/dist/cjs/emotion.d.js.map +0 -1
  267. package/dist/esm/emotion.d.js.map +0 -1
  268. package/dist/types/components/profile/ProfileButton.d.ts.map +0 -1
  269. package/dist/types/components/profile/ProfileConfigContext.d.ts.map +0 -1
  270. package/dist/types/components/profile/ProfileContext.d.ts.map +0 -1
  271. package/dist/types/components/profile/ProfileDrawer.d.ts.map +0 -1
  272. package/dist/types/components/profile/ProfileDrawerContent.d.ts.map +0 -1
  273. package/dist/types/components/profile/ProfileNavigationItem.d.ts.map +0 -1
  274. package/dist/types/components/profile/ProfileUpdateNameForm.d.ts.map +0 -1
  275. package/dist/types/components/profile/ProfileUpdateNameModal.d.ts.map +0 -1
  276. package/dist/types/components/profile/ProfileUpdatePasswordForm.d.ts.map +0 -1
  277. package/dist/types/components/profile/ProfileUpdatePasswordModal.d.ts.map +0 -1
  278. package/dist/types/components/profile/ProtectedWrapper.d.ts.map +0 -1
  279. package/dist/types/components/profile/UserAvatar.d.ts.map +0 -1
  280. package/dist/types/components/profile/UserAvatarAddon.d.ts.map +0 -1
  281. package/dist/types/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts.map +0 -1
  282. package/dist/types/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts.map +0 -1
  283. package/dist/types/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts.map +0 -1
  284. package/dist/types/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts.map +0 -1
  285. package/dist/types/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.d.ts.map +0 -1
  286. package/dist/types/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.d.ts.map +0 -1
  287. package/dist/types/components/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts.map +0 -1
  288. package/dist/types/components/session/SessionDrawer.d.ts.map +0 -1
  289. package/dist/types/components/session/SessionDrawerContent.d.ts.map +0 -1
  290. package/dist/types/components/session/SessionList.d.ts.map +0 -1
  291. package/dist/types/components/session/SessionListItem.d.ts.map +0 -1
  292. package/dist/types/components/session/SessionListSkeleton.d.ts.map +0 -1
  293. package/dist/types/components/session/__generated__/SessionDrawerContentQuery.graphql.d.ts.map +0 -1
  294. package/dist/types/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.d.ts.map +0 -1
  295. package/dist/types/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.d.ts.map +0 -1
  296. package/dist/types/components/session/__generated__/SessionListItem_session.graphql.d.ts.map +0 -1
  297. package/dist/types/components/session/__generated__/SessionListRefetchQuery.graphql.d.ts.map +0 -1
  298. package/dist/types/components/session/__generated__/SessionList_sessions.graphql.d.ts.map +0 -1
  299. package/dist/types/components/session/formatDate.d.ts.map +0 -1
  300. package/dist/types/components/session/getLastSeen.d.ts.map +0 -1
  301. package/dist/types/components/shared/ButtonUpdate.d.ts.map +0 -1
  302. package/dist/types/components/shared/ErrorResult.d.ts.map +0 -1
  303. package/dist/types/components/shared/MainLoader.d.ts.map +0 -1
  304. package/dist/types/components/shared/icons/AndroidIcon.d.ts.map +0 -1
  305. package/dist/types/components/shared/icons/AppleIcon.d.ts.map +0 -1
  306. package/dist/types/components/shared/icons/BrowserIcon.d.ts.map +0 -1
  307. package/dist/types/components/shared/icons/ProfileIcon.d.ts.map +0 -1
  308. package/dist/types/components/shared/icons/UnknownDeviceIcon.d.ts.map +0 -1
  309. package/dist/types/index.d.ts.map +0 -1
  310. package/dist/types/utils/getUserFullName.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileUpdateNameModalMutation.graphql.js","names":["node","v0","v1","v2","v3","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<ec4b4e1ed587446653668ef66ead329a>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdateProfileInput = {\n firstName?: string | null;\n lastName?: string | null;\n};\nexport type ProfileUpdateNameModalMutation$variables = {\n input: UpdateProfileInput;\n};\nexport type ProfileUpdateNameModalMutation$data = {\n readonly updateProfile: {\n readonly firstName: string | null;\n readonly lastName: string | null;\n };\n};\nexport type ProfileUpdateNameModalMutation = {\n response: ProfileUpdateNameModalMutation$data;\n variables: ProfileUpdateNameModalMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n],\nv2 = {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"firstName\",\n \"storageKey\": null\n},\nv3 = {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastName\",\n \"storageKey\": null\n};\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileUpdateNameModalMutation\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": (v1/*: any*/),\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updateProfile\",\n \"plural\": false,\n \"selections\": [\n (v2/*: any*/),\n (v3/*: any*/)\n ],\n \"storageKey\": null\n }\n ],\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"ProfileUpdateNameModalMutation\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": (v1/*: any*/),\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updateProfile\",\n \"plural\": false,\n \"selections\": [\n (v2/*: any*/),\n (v3/*: any*/),\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n ]\n },\n \"params\": {\n \"cacheID\": \"f70f0aaabf917dc446c3a71cf7b4f25f\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileUpdateNameModalMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileUpdateNameModalMutation(\\n $input: UpdateProfileInput!\\n) {\\n updateProfile(input: $input) {\\n firstName\\n lastName\\n id\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"7264a05b6738d5417df9f1dc462486aa\";\n\nexport default node;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;;AACA;AACA;AAqBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,gBAAgB,IADl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ER,MAAM,IAFE;MAGR,YAAY,EAHJ;MAIR,QAAQ,gCAJA;MAKR,iBAAiB,UALT;MAMR,QAAQ;IANA;EApDL,CAAP;AA6DC,CA1F6B,EAA9B;;AA4FCJ,IAAD,CAAcK,IAAd,GAAqB,kCAArB;eAEeL,I"}
1
+ {"version":3,"file":"ProfileUpdateNameModalMutation.graphql.js","names":["node","v0","v1","v2","v3","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<ec4b4e1ed587446653668ef66ead329a>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdateProfileInput = {\n firstName?: string | null;\n lastName?: string | null;\n};\nexport type ProfileUpdateNameModalMutation$variables = {\n input: UpdateProfileInput;\n};\nexport type ProfileUpdateNameModalMutation$data = {\n readonly updateProfile: {\n readonly firstName: string | null;\n readonly lastName: string | null;\n };\n};\nexport type ProfileUpdateNameModalMutation = {\n response: ProfileUpdateNameModalMutation$data;\n variables: ProfileUpdateNameModalMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n],\nv2 = {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"firstName\",\n \"storageKey\": null\n},\nv3 = {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastName\",\n \"storageKey\": null\n};\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileUpdateNameModalMutation\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": (v1/*: any*/),\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updateProfile\",\n \"plural\": false,\n \"selections\": [\n (v2/*: any*/),\n (v3/*: any*/)\n ],\n \"storageKey\": null\n }\n ],\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"ProfileUpdateNameModalMutation\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": (v1/*: any*/),\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updateProfile\",\n \"plural\": false,\n \"selections\": [\n (v2/*: any*/),\n (v3/*: any*/),\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n ]\n },\n \"params\": {\n \"cacheID\": \"f70f0aaabf917dc446c3a71cf7b4f25f\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileUpdateNameModalMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileUpdateNameModalMutation(\\n $input: UpdateProfileInput!\\n) {\\n updateProfile(input: $input) {\\n firstName\\n lastName\\n id\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"7264a05b6738d5417df9f1dc462486aa\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAqBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;MACE,cAAc,EAAE,IAAI;MACpB,MAAM,EAAE,eAAe;MACvB,MAAM,EAAE;IACV,CAAC,CACF;IACDC,EAAE,GAAG,CACH;MACE,MAAM,EAAE,UAAU;MAClB,MAAM,EAAE,OAAO;MACf,cAAc,EAAE;IAClB,CAAC,CACF;IACDC,EAAE,GAAG;MACH,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;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I,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,gCAAgC;MACxC,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,EAAG;AAEHJ,IAAI,CAASK,IAAI,GAAG,kCAAkC;AAAC,eAEzCL,IAAI;AAAA"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  /**
9
8
  * @generated SignedSource<<9f61f220f29facf328ddeea77698279f>>
10
9
  * @lightSyntaxTransform
@@ -12,60 +11,53 @@ exports.default = void 0;
12
11
  */
13
12
 
14
13
  /* tslint:disable */
15
-
16
14
  /* eslint-disable */
17
15
  // @ts-nocheck
16
+
18
17
  var node = function () {
19
18
  var v0 = [{
20
- "defaultValue": null,
21
- "kind": "LocalArgument",
22
- "name": "input"
23
- }],
24
- v1 = [{
25
- "alias": null,
26
- "args": [{
27
- "kind": "Variable",
28
- "name": "input",
29
- "variableName": "input"
19
+ "defaultValue": null,
20
+ "kind": "LocalArgument",
21
+ "name": "input"
30
22
  }],
31
- "concreteType": "User",
32
- "kind": "LinkedField",
33
- "name": "updatePassword",
34
- "plural": false,
35
- "selections": [{
23
+ v1 = [{
36
24
  "alias": null,
37
- "args": null,
38
- "kind": "ScalarField",
39
- "name": "id",
25
+ "args": [{
26
+ "kind": "Variable",
27
+ "name": "input",
28
+ "variableName": "input"
29
+ }],
30
+ "concreteType": "User",
31
+ "kind": "LinkedField",
32
+ "name": "updatePassword",
33
+ "plural": false,
34
+ "selections": [{
35
+ "alias": null,
36
+ "args": null,
37
+ "kind": "ScalarField",
38
+ "name": "id",
39
+ "storageKey": null
40
+ }],
40
41
  "storageKey": null
41
- }],
42
- "storageKey": null
43
- }];
42
+ }];
44
43
  return {
45
44
  "fragment": {
46
- "argumentDefinitions": v0
47
- /*: any*/
48
- ,
45
+ "argumentDefinitions": v0 /*: any*/,
49
46
  "kind": "Fragment",
50
47
  "metadata": null,
51
48
  "name": "ProfileUpdatePasswordModalMutation",
52
- "selections": v1
53
- /*: any*/
54
- ,
49
+ "selections": v1 /*: any*/,
55
50
  "type": "Mutation",
56
51
  "abstractKey": null
57
52
  },
58
53
  "kind": "Request",
59
54
  "operation": {
60
- "argumentDefinitions": v0
61
- /*: any*/
62
- ,
55
+ "argumentDefinitions": v0 /*: any*/,
63
56
  "kind": "Operation",
64
57
  "name": "ProfileUpdatePasswordModalMutation",
65
- "selections": v1
66
- /*: any*/
67
-
58
+ "selections": v1 /*: any*/
68
59
  },
60
+
69
61
  "params": {
70
62
  "cacheID": "64308136a7a18e3fb1ab2d16aa93add7",
71
63
  "id": null,
@@ -76,7 +68,6 @@ var node = function () {
76
68
  }
77
69
  };
78
70
  }();
79
-
80
71
  node.hash = "efa37ccbe82fbace709f7e3992643c05";
81
72
  var _default = node;
82
73
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileUpdatePasswordModalMutation.graphql.js","names":["node","v0","v1","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<9f61f220f29facf328ddeea77698279f>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdatePasswordInput = {\n currentPassword: string;\n password: string;\n};\nexport type ProfileUpdatePasswordModalMutation$variables = {\n input: UpdatePasswordInput;\n};\nexport type ProfileUpdatePasswordModalMutation$data = {\n readonly updatePassword: {\n readonly id: string;\n };\n};\nexport type ProfileUpdatePasswordModalMutation = {\n response: ProfileUpdatePasswordModalMutation$data;\n variables: ProfileUpdatePasswordModalMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"alias\": null,\n \"args\": [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n ],\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updatePassword\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileUpdatePasswordModalMutation\",\n \"selections\": (v1/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"ProfileUpdatePasswordModalMutation\",\n \"selections\": (v1/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"64308136a7a18e3fb1ab2d16aa93add7\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileUpdatePasswordModalMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileUpdatePasswordModalMutation(\\n $input: UpdatePasswordInput!\\n) {\\n updatePassword(input: $input) {\\n id\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"efa37ccbe82fbace709f7e3992643c05\";\n\nexport default node;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;;AACA;AACA;AAoBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,gBAAgB,IADlB;IAEE,QAAQ,eAFV;IAGE,QAAQ;EAHV,CADO,CAAT;EAAA,IAOAC,EAAE,GAAG,CACH;IACE,SAAS,IADX;IAEE,QAAQ,CACN;MACE,QAAQ,UADV;MAEE,QAAQ,OAFV;MAGE,gBAAgB;IAHlB,CADM,CAFV;IASE,gBAAgB,MATlB;IAUE,QAAQ,aAVV;IAWE,QAAQ,gBAXV;IAYE,UAAU,KAZZ;IAaE,cAAc,CACZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,IAJV;MAKE,cAAc;IALhB,CADY,CAbhB;IAsBE,cAAc;EAtBhB,CADG,CAPL;EAiCA,OAAO;IACL,YAAY;MACV,uBAAwBD;MAAE;MADhB;MAEV,QAAQ,UAFE;MAGV,YAAY,IAHF;MAIV,QAAQ,oCAJE;MAKV,cAAeC;MAAE;MALP;MAMV,QAAQ,UANE;MAOV,eAAe;IAPL,CADP;IAUL,QAAQ,SAVH;IAWL,aAAa;MACX,uBAAwBD;MAAE;MADf;MAEX,QAAQ,WAFG;MAGX,QAAQ,oCAHG;MAIX,cAAeC;MAAE;;IAJN,CAXR;IAiBL,UAAU;MACR,WAAW,kCADH;MAER,MAAM,IAFE;MAGR,YAAY,EAHJ;MAIR,QAAQ,oCAJA;MAKR,iBAAiB,UALT;MAMR,QAAQ;IANA;EAjBL,CAAP;AA0BC,CA5D6B,EAA9B;;AA8DCF,IAAD,CAAcG,IAAd,GAAqB,kCAArB;eAEeH,I"}
1
+ {"version":3,"file":"ProfileUpdatePasswordModalMutation.graphql.js","names":["node","v0","v1","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<9f61f220f29facf328ddeea77698279f>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdatePasswordInput = {\n currentPassword: string;\n password: string;\n};\nexport type ProfileUpdatePasswordModalMutation$variables = {\n input: UpdatePasswordInput;\n};\nexport type ProfileUpdatePasswordModalMutation$data = {\n readonly updatePassword: {\n readonly id: string;\n };\n};\nexport type ProfileUpdatePasswordModalMutation = {\n response: ProfileUpdatePasswordModalMutation$data;\n variables: ProfileUpdatePasswordModalMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"alias\": null,\n \"args\": [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n ],\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updatePassword\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileUpdatePasswordModalMutation\",\n \"selections\": (v1/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"ProfileUpdatePasswordModalMutation\",\n \"selections\": (v1/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"64308136a7a18e3fb1ab2d16aa93add7\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileUpdatePasswordModalMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileUpdatePasswordModalMutation(\\n $input: UpdatePasswordInput!\\n) {\\n updatePassword(input: $input) {\\n id\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"efa37ccbe82fbace709f7e3992643c05\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAoBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;MACE,cAAc,EAAE,IAAI;MACpB,MAAM,EAAE,eAAe;MACvB,MAAM,EAAE;IACV,CAAC,CACF;IACDC,EAAE,GAAG,CACH;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,CACN;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,OAAO;QACf,cAAc,EAAE;MAClB,CAAC,CACF;MACD,cAAc,EAAE,MAAM;MACtB,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,gBAAgB;MACxB,QAAQ,EAAE,KAAK;MACf,YAAY,EAAE,CACZ;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE;MAChB,CAAC,CACF;MACD,YAAY,EAAE;IAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAGD,EAAE,UAAU;MACpC,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,oCAAoC;MAC5C,YAAY,EAAGC,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAGD,EAAE,UAAU;MACpC,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,oCAAoC;MAC5C,YAAY,EAAGC,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,oCAAoC;MAC5C,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,EAAG;AAEHF,IAAI,CAASG,IAAI,GAAG,kCAAkC;AAAC,eAEzCH,IAAI;AAAA"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  /**
9
8
  * @generated SignedSource<<c1bbe3a7739ce21cdcc0dc5de42901d2>>
10
9
  * @lightSyntaxTransform
@@ -12,9 +11,9 @@ exports.default = void 0;
12
11
  */
13
12
 
14
13
  /* tslint:disable */
15
-
16
14
  /* eslint-disable */
17
15
  // @ts-nocheck
16
+
18
17
  var node = function () {
19
18
  var v0 = [{
20
19
  "alias": null,
@@ -62,9 +61,7 @@ var node = function () {
62
61
  "kind": "Fragment",
63
62
  "metadata": null,
64
63
  "name": "ProtectedWrapperQuery",
65
- "selections": v0
66
- /*: any*/
67
- ,
64
+ "selections": v0 /*: any*/,
68
65
  "type": "Query",
69
66
  "abstractKey": null
70
67
  },
@@ -73,10 +70,9 @@ var node = function () {
73
70
  "argumentDefinitions": [],
74
71
  "kind": "Operation",
75
72
  "name": "ProtectedWrapperQuery",
76
- "selections": v0
77
- /*: any*/
78
-
73
+ "selections": v0 /*: any*/
79
74
  },
75
+
80
76
  "params": {
81
77
  "cacheID": "c77ada94a5456167ef4c0c17a1fd7cd7",
82
78
  "id": null,
@@ -87,7 +83,6 @@ var node = function () {
87
83
  }
88
84
  };
89
85
  }();
90
-
91
86
  node.hash = "903b234e48f53b4a44dc0b4974ebc521";
92
87
  var _default = node;
93
88
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ProtectedWrapperQuery.graphql.js","names":["node","v0","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<c1bbe3a7739ce21cdcc0dc5de42901d2>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Query } from 'relay-runtime';\nexport type ProtectedWrapperQuery$variables = {};\nexport type ProtectedWrapperQuery$data = {\n readonly profile: {\n readonly avatar: string | null;\n readonly email: string;\n readonly firstName: string | null;\n readonly id: string;\n readonly lastName: string | null;\n };\n};\nexport type ProtectedWrapperQuery = {\n response: ProtectedWrapperQuery$data;\n variables: ProtectedWrapperQuery$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"profile\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"email\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"firstName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"avatar\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Query\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"c77ada94a5456167ef4c0c17a1fd7cd7\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProtectedWrapperQuery\",\n \"operationKind\": \"query\",\n \"text\": \"query ProtectedWrapperQuery {\\n profile {\\n id\\n email\\n firstName\\n lastName\\n avatar\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"903b234e48f53b4a44dc0b4974ebc521\";\n\nexport default node;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;;AACA;AACA;AAkBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,SAAS,IADX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ources":["../../../../../src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<c1bbe3a7739ce21cdcc0dc5de42901d2>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Query } from 'relay-runtime';\nexport type ProtectedWrapperQuery$variables = {};\nexport type ProtectedWrapperQuery$data = {\n readonly profile: {\n readonly avatar: string | null;\n readonly email: string;\n readonly firstName: string | null;\n readonly id: string;\n readonly lastName: string | null;\n };\n};\nexport type ProtectedWrapperQuery = {\n response: ProtectedWrapperQuery$data;\n variables: ProtectedWrapperQuery$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"profile\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"email\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"firstName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"avatar\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Query\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"c77ada94a5456167ef4c0c17a1fd7cd7\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProtectedWrapperQuery\",\n \"operationKind\": \"query\",\n \"text\": \"query ProtectedWrapperQuery {\\n profile {\\n id\\n email\\n firstName\\n lastName\\n avatar\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"903b234e48f53b4a44dc0b4974ebc521\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAkBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,MAAM;IACtB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,CACZ;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,IAAI;MACZ,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,OAAO;MACf,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,WAAW;MACnB,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,UAAU;MAClB,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,QAAQ;MAChB,YAAY,EAAE;IAChB,CAAC,CACF;IACD,YAAY,EAAE;EAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,uBAAuB;MAC/B,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,OAAO;MACf,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,uBAAuB;MAC/B,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,uBAAuB;MAC/B,eAAe,EAAE,OAAO;MACxB,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,EAAG;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAAC,eAEzCF,IAAI;AAAA"}
@@ -4,35 +4,20 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireWildcard(require("react"));
9
-
10
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
11
-
12
9
  var _core = require("@os-design/core");
13
-
14
10
  var _reactI18next = require("react-i18next");
15
-
16
11
  var _theming = require("@os-design/theming");
17
-
18
12
  var _media = require("@os-design/media");
19
-
20
13
  var _SessionListSkeleton = _interopRequireDefault(require("./SessionListSkeleton"));
21
-
22
14
  var _templateObject, _templateObject2;
23
-
24
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
-
26
16
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
27
-
28
17
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29
-
30
18
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
31
-
32
19
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
33
-
34
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
35
-
36
21
  var LazySessionDrawerContent = /*#__PURE__*/(0, _react.lazy)(function () {
37
22
  return Promise.resolve().then(function () {
38
23
  return _interopRequireWildcard(require('./SessionDrawerContent'));
@@ -40,11 +25,9 @@ var LazySessionDrawerContent = /*#__PURE__*/(0, _react.lazy)(function () {
40
25
  });
41
26
  var StyledPageHeader = (0, _styled.default)(_core.PageHeader)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n"])));
42
27
  var StyledAlert = (0, _styled.default)(_core.Alert)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n border-radius: 0;\n"])));
43
-
44
28
  var SessionDrawer = function SessionDrawer(props) {
45
- var _useTranslation = (0, _reactI18next.useTranslation)('profile'),
46
- t = _useTranslation.t;
47
-
29
+ var _useTranslation = (0, _reactI18next.useTranslation)(['profile']),
30
+ t = _useTranslation.t;
48
31
  var isMinSm = (0, _media.useIsMinWidth)('sm');
49
32
  return /*#__PURE__*/_react.default.createElement(_core.Drawer, _extends({
50
33
  placement: "right",
@@ -62,7 +45,6 @@ var SessionDrawer = function SessionDrawer(props) {
62
45
  fallback: /*#__PURE__*/_react.default.createElement(_SessionListSkeleton.default, null)
63
46
  }, /*#__PURE__*/_react.default.createElement(LazySessionDrawerContent, null)))));
64
47
  };
65
-
66
48
  var _default = SessionDrawer;
67
49
  exports.default = _default;
68
50
  //# sourceMappingURL=SessionDrawer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionDrawer.js","names":["LazySessionDrawerContent","lazy","StyledPageHeader","styled","PageHeader","StyledAlert","Alert","SessionDrawer","props","useTranslation","t","isMinSm","useIsMinWidth","horizontalPadding"],"sources":["../../../../src/lib/components/session/SessionDrawer.tsx"],"sourcesContent":["import React, { lazy, Suspense } from 'react';\nimport styled from '@emotion/styled';\nimport {\n Alert,\n Drawer,\n DrawerProps,\n Layout,\n PageHeader,\n} from '@os-design/core';\nimport { useTranslation } from 'react-i18next';\nimport { ThemeOverrider } from '@os-design/theming';\nimport { useIsMinWidth } from '@os-design/media';\nimport SessionListSkeleton from './SessionListSkeleton';\n\nconst LazySessionDrawerContent = lazy(() => import('./SessionDrawerContent'));\n\nconst StyledPageHeader = styled(PageHeader)`\n position: relative;\n`;\n\nconst StyledAlert = styled(Alert)`\n border-radius: 0;\n`;\n\nconst SessionDrawer: React.FC<DrawerProps> = (props) => {\n const { t } = useTranslation('profile');\n const isMinSm = useIsMinWidth('sm');\n\n return (\n <Drawer placement='right' width={isMinSm ? '24em' : '90%'} {...props}>\n <ThemeOverrider overrides={{ horizontalPadding: [1, 1] }}>\n <Layout>\n <StyledPageHeader title={t('profile:sessions.title')} />\n\n <StyledAlert type='info' size='small'>\n {t('profile:sessions.description')}\n </StyledAlert>\n\n <Suspense fallback={<SessionListSkeleton />}>\n <LazySessionDrawerContent />\n </Suspense>\n </Layout>\n </ThemeOverrider>\n </Drawer>\n );\n};\n\nexport default SessionDrawer;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAOA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;AAEA,IAAMA,wBAAwB,gBAAG,IAAAC,WAAA,EAAK;EAAA;IAAA,uCAAa,wBAAb;EAAA;AAAA,CAAL,CAAjC;AAEA,IAAMC,gBAAgB,GAAG,IAAAC,eAAA,EAAOC,gBAAP,CAAH,8FAAtB;AAIA,IAAMC,WAAW,GAAG,IAAAF,eAAA,EAAOG,WAAP,CAAH,8FAAjB;;AAIA,IAAMC,aAAoC,GAAG,SAAvCA,aAAuC,CAACC,KAAD,EAAW;EACtD,sBAAc,IAAAC,4BAAA,EAAe,SAAf,CAAd;EAAA,IAAQC,CAAR,mBAAQA,CAAR;;EACA,IAAMC,OAAO,GAAG,IAAAC,oBAAA,EAAc,IAAd,CAAhB;EAEA,oBACE,6BAAC,YAAD;IAAQ,SAAS,EAAC,OAAlB;IAA0B,KAAK,EAAED,OAAO,GAAG,MAAH,GAAY;EAApD,GAA+DH,KAA/D,gBACE,6BAAC,uBAAD;IAAgB,SAAS,EAAE;MAAEK,iBAAiB,EAAE,CAAC,CAAD,EAAI,CAAJ;IAArB;EAA3B,gBACE,6BAAC,YAAD,qBACE,6BAAC,gBAAD;IAAkB,KAAK,EAAEH,CAAC,CAAC,wBAAD;EAA1B,EADF,eAGE,6BAAC,WAAD;IAAa,IAAI,EAAC,MAAlB;IAAyB,IAAI,EAAC;EAA9B,GACGA,CAAC,CAAC,8BAAD,CADJ,CAHF,eAOE,6BAAC,eAAD;IAAU,QAAQ,eAAE,6BAAC,4BAAD;EAApB,gBACE,6BAAC,wBAAD,OADF,CAPF,CADF,CADF,CADF;AAiBD,CArBD;;eAuBeH,a"}
1
+ {"version":3,"file":"SessionDrawer.js","names":["LazySessionDrawerContent","lazy","StyledPageHeader","styled","PageHeader","StyledAlert","Alert","SessionDrawer","props","useTranslation","t","isMinSm","useIsMinWidth","horizontalPadding"],"sources":["../../../../src/lib/components/session/SessionDrawer.tsx"],"sourcesContent":["import React, { lazy, Suspense } from 'react';\nimport styled from '@emotion/styled';\nimport {\n Alert,\n Drawer,\n DrawerProps,\n Layout,\n PageHeader,\n} from '@os-design/core';\nimport { useTranslation } from 'react-i18next';\nimport { ThemeOverrider } from '@os-design/theming';\nimport { useIsMinWidth } from '@os-design/media';\nimport SessionListSkeleton from './SessionListSkeleton';\n\nconst LazySessionDrawerContent = lazy(() => import('./SessionDrawerContent'));\n\nconst StyledPageHeader = styled(PageHeader)`\n position: relative;\n`;\n\nconst StyledAlert = styled(Alert)`\n border-radius: 0;\n`;\n\nconst SessionDrawer: React.FC<DrawerProps> = (props) => {\n const { t } = useTranslation(['profile']);\n const isMinSm = useIsMinWidth('sm');\n\n return (\n <Drawer placement='right' width={isMinSm ? '24em' : '90%'} {...props}>\n <ThemeOverrider overrides={{ horizontalPadding: [1, 1] }}>\n <Layout>\n <StyledPageHeader title={t('profile:sessions.title')} />\n\n <StyledAlert type='info' size='small'>\n {t('profile:sessions.description')}\n </StyledAlert>\n\n <Suspense fallback={<SessionListSkeleton />}>\n <LazySessionDrawerContent />\n </Suspense>\n </Layout>\n </ThemeOverrider>\n </Drawer>\n );\n};\n\nexport default SessionDrawer;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAOA;AACA;AACA;AACA;AAAwD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAExD,IAAMA,wBAAwB,gBAAG,IAAAC,WAAI,EAAC;EAAA;IAAA,uCAAa,wBAAwB;EAAA;AAAA,CAAC,CAAC;AAE7E,IAAMC,gBAAgB,GAAG,IAAAC,eAAM,EAACC,gBAAU,CAAC,8FAE1C;AAED,IAAMC,WAAW,GAAG,IAAAF,eAAM,EAACG,WAAK,CAAC,8FAEhC;AAED,IAAMC,aAAoC,GAAG,SAAvCA,aAAoC,CAAIC,KAAK,EAAK;EACtD,sBAAc,IAAAC,4BAAc,EAAC,CAAC,SAAS,CAAC,CAAC;IAAjCC,CAAC,mBAADA,CAAC;EACT,IAAMC,OAAO,GAAG,IAAAC,oBAAa,EAAC,IAAI,CAAC;EAEnC,oBACE,6BAAC,YAAM;IAAC,SAAS,EAAC,OAAO;IAAC,KAAK,EAAED,OAAO,GAAG,MAAM,GAAG;EAAM,GAAKH,KAAK,gBAClE,6BAAC,uBAAc;IAAC,SAAS,EAAE;MAAEK,iBAAiB,EAAE,CAAC,CAAC,EAAE,CAAC;IAAE;EAAE,gBACvD,6BAAC,YAAM,qBACL,6BAAC,gBAAgB;IAAC,KAAK,EAAEH,CAAC,CAAC,wBAAwB;EAAE,EAAG,eAExD,6BAAC,WAAW;IAAC,IAAI,EAAC,MAAM;IAAC,IAAI,EAAC;EAAO,GAClCA,CAAC,CAAC,8BAA8B,CAAC,CACtB,eAEd,6BAAC,eAAQ;IAAC,QAAQ,eAAE,6BAAC,4BAAmB;EAAI,gBAC1C,6BAAC,wBAAwB,OAAG,CACnB,CACJ,CACM,CACV;AAEb,CAAC;AAAC,eAEaH,aAAa;AAAA"}
@@ -1,32 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.default = void 0;
9
-
10
8
  var _react = _interopRequireWildcard(require("react"));
11
-
12
9
  var _hooks = require("react-relay/hooks");
13
-
14
10
  var _utils = require("@os-design/utils");
15
-
16
11
  var _ErrorResult = _interopRequireDefault(require("../shared/ErrorResult"));
17
-
18
12
  var _SessionList = _interopRequireDefault(require("./SessionList"));
19
-
20
13
  var _SessionListSkeleton = _interopRequireDefault(require("./SessionListSkeleton"));
21
-
22
14
  var _SessionDrawerContentQuery;
23
-
24
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
-
26
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
27
-
28
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
29
-
30
18
  var SessionDrawerContentLoader = function SessionDrawerContentLoader() {
31
19
  var props = (0, _hooks.useLazyLoadQuery)(_SessionDrawerContentQuery !== void 0 ? _SessionDrawerContentQuery : (_SessionDrawerContentQuery = require("./__generated__/SessionDrawerContentQuery.graphql"), _SessionDrawerContentQuery.hash && _SessionDrawerContentQuery.hash !== "1643ac6b9bd324d389dab9011e55b1ba" && console.error("The definition of 'SessionDrawerContentQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SessionDrawerContentQuery), {}, {
32
20
  fetchPolicy: 'network-only'
@@ -35,14 +23,12 @@ var SessionDrawerContentLoader = function SessionDrawerContentLoader() {
35
23
  sessionsKey: props
36
24
  });
37
25
  };
38
-
39
26
  var errorFallback = function errorFallback(_ref) {
40
27
  var error = _ref.error;
41
28
  return /*#__PURE__*/_react.default.createElement(_ErrorResult.default, {
42
29
  error: error
43
30
  });
44
31
  };
45
-
46
32
  var SessionDrawerContent = function SessionDrawerContent() {
47
33
  return /*#__PURE__*/_react.default.createElement(_utils.ErrorBoundary, {
48
34
  fallback: errorFallback
@@ -50,7 +36,6 @@ var SessionDrawerContent = function SessionDrawerContent() {
50
36
  fallback: /*#__PURE__*/_react.default.createElement(_SessionListSkeleton.default, null)
51
37
  }, /*#__PURE__*/_react.default.createElement(SessionDrawerContentLoader, null)));
52
38
  };
53
-
54
39
  var _default = SessionDrawerContent;
55
40
  exports.default = _default;
56
41
  //# sourceMappingURL=SessionDrawerContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionDrawerContent.js","names":["SessionDrawerContentLoader","props","useLazyLoadQuery","fetchPolicy","errorFallback","error","SessionDrawerContent"],"sources":["../../../../src/lib/components/session/SessionDrawerContent.tsx"],"sourcesContent":["import React, { Suspense } from 'react';\nimport { useLazyLoadQuery } from 'react-relay/hooks';\nimport { ErrorBoundary } from '@os-design/utils';\nimport graphql from 'babel-plugin-relay/macro';\nimport ErrorResult from '../shared/ErrorResult';\nimport SessionList from './SessionList';\nimport SessionListSkeleton from './SessionListSkeleton';\nimport { SessionDrawerContentQuery } from './__generated__/SessionDrawerContentQuery.graphql';\n\nconst SessionDrawerContentLoader: React.FC = () => {\n const props = useLazyLoadQuery<SessionDrawerContentQuery>(\n graphql`\n query SessionDrawerContentQuery {\n ...SessionList_sessions\n }\n `,\n {},\n { fetchPolicy: 'network-only' }\n );\n\n return <SessionList sessionsKey={props} />;\n};\n\nconst errorFallback = ({ error }) => <ErrorResult error={error} />;\n\nconst SessionDrawerContent: React.FC = () => (\n <ErrorBoundary fallback={errorFallback}>\n <Suspense fallback={<SessionListSkeleton />}>\n <SessionDrawerContentLoader />\n </Suspense>\n </ErrorBoundary>\n);\n\nexport default SessionDrawerContent;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;;;AAGA,IAAMA,0BAAoC,GAAG,SAAvCA,0BAAuC,GAAM;EACjD,IAAMC,KAAK,GAAG,IAAAC,uBAAA,udAMZ,EANY,EAOZ;IAAEC,WAAW,EAAE;EAAf,CAPY,CAAd;EAUA,oBAAO,6BAAC,oBAAD;IAAa,WAAW,EAAEF;EAA1B,EAAP;AACD,CAZD;;AAcA,IAAMG,aAAa,GAAG,SAAhBA,aAAgB;EAAA,IAAGC,KAAH,QAAGA,KAAH;EAAA,oBAAe,6BAAC,oBAAD;IAAa,KAAK,EAAEA;EAApB,EAAf;AAAA,CAAtB;;AAEA,IAAMC,oBAA8B,GAAG,SAAjCA,oBAAiC;EAAA,oBACrC,6BAAC,oBAAD;IAAe,QAAQ,EAAEF;EAAzB,gBACE,6BAAC,eAAD;IAAU,QAAQ,eAAE,6BAAC,4BAAD;EAApB,gBACE,6BAAC,0BAAD,OADF,CADF,CADqC;AAAA,CAAvC;;eAQeE,oB"}
1
+ {"version":3,"file":"SessionDrawerContent.js","names":["SessionDrawerContentLoader","props","useLazyLoadQuery","fetchPolicy","errorFallback","error","SessionDrawerContent"],"sources":["../../../../src/lib/components/session/SessionDrawerContent.tsx"],"sourcesContent":["import React, { Suspense } from 'react';\nimport { useLazyLoadQuery } from 'react-relay/hooks';\nimport { ErrorBoundary } from '@os-design/utils';\nimport graphql from 'babel-plugin-relay/macro';\nimport ErrorResult from '../shared/ErrorResult';\nimport SessionList from './SessionList';\nimport SessionListSkeleton from './SessionListSkeleton';\nimport { SessionDrawerContentQuery } from './__generated__/SessionDrawerContentQuery.graphql';\n\nconst SessionDrawerContentLoader: React.FC = () => {\n const props = useLazyLoadQuery<SessionDrawerContentQuery>(\n graphql`\n query SessionDrawerContentQuery {\n ...SessionList_sessions\n }\n `,\n {},\n { fetchPolicy: 'network-only' }\n );\n\n return <SessionList sessionsKey={props} />;\n};\n\nconst errorFallback = ({ error }) => <ErrorResult error={error} />;\n\nconst SessionDrawerContent: React.FC = () => (\n <ErrorBoundary fallback={errorFallback}>\n <Suspense fallback={<SessionListSkeleton />}>\n <SessionDrawerContentLoader />\n </Suspense>\n </ErrorBoundary>\n);\n\nexport default SessionDrawerContent;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AAEA;AACA;AACA;AAAwD;AAAA;AAAA;AAAA;AAGxD,IAAMA,0BAAoC,GAAG,SAAvCA,0BAAoC,GAAS;EACjD,IAAMC,KAAK,GAAG,IAAAC,uBAAgB,udAM5B,CAAC,CAAC,EACF;IAAEC,WAAW,EAAE;EAAe,CAAC,CAChC;EAED,oBAAO,6BAAC,oBAAW;IAAC,WAAW,EAAEF;EAAM,EAAG;AAC5C,CAAC;AAED,IAAMG,aAAa,GAAG,SAAhBA,aAAa;EAAA,IAAMC,KAAK,QAALA,KAAK;EAAA,oBAAO,6BAAC,oBAAW;IAAC,KAAK,EAAEA;EAAM,EAAG;AAAA;AAElE,IAAMC,oBAA8B,GAAG,SAAjCA,oBAA8B;EAAA,oBAClC,6BAAC,oBAAa;IAAC,QAAQ,EAAEF;EAAc,gBACrC,6BAAC,eAAQ;IAAC,QAAQ,eAAE,6BAAC,4BAAmB;EAAI,gBAC1C,6BAAC,0BAA0B,OAAG,CACrB,CACG;AAAA,CACjB;AAAC,eAEaE,oBAAoB;AAAA"}
@@ -1,77 +1,47 @@
1
1
  "use strict";
2
2
 
3
3
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.default = exports.Title = exports.SESSION_LIST_PADDING_VERTICAL = exports.List = void 0;
9
-
10
8
  var _react = _interopRequireWildcard(require("react"));
11
-
12
9
  var _hooks = require("react-relay/hooks");
13
-
14
10
  var _core = require("@os-design/core");
15
-
16
11
  var _styled = _interopRequireDefault(require("@emotion/styled"));
17
-
18
12
  var _reactI18next = require("react-i18next");
19
-
20
13
  var _theming = require("@os-design/theming");
21
-
22
14
  var _SessionListItem = _interopRequireDefault(require("./SessionListItem"));
23
-
24
15
  var _SessionList_sessions, _SessionListDestroyAllOtherSessionsMutation, _templateObject, _templateObject2, _templateObject3, _templateObject4;
25
-
26
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
-
28
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
-
30
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
31
-
32
19
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
33
-
34
20
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
35
-
36
21
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
37
-
38
22
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
39
-
40
23
  function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
41
-
42
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
43
-
44
25
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
45
-
46
26
  var sessionListFragment = _SessionList_sessions !== void 0 ? _SessionList_sessions : (_SessionList_sessions = require("./__generated__/SessionList_sessions.graphql"), _SessionList_sessions.hash && _SessionList_sessions.hash !== "1b21c937c7ba795f09bfcb5ada7d2510" && console.error("The definition of 'SessionList_sessions' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SessionList_sessions);
47
-
48
27
  var Title = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-weight: 500;\n margin: 1em 1em 0.5em;\n"])));
49
-
50
28
  exports.Title = Title;
51
-
52
29
  var List = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n border-top: 1px solid ", ";\n border-bottom: 1px solid ", ";\n"])), function (p) {
53
30
  return (0, _theming.clr)(p.theme.listItemColorBorder);
54
31
  }, function (p) {
55
32
  return (0, _theming.clr)(p.theme.listItemColorBorder);
56
33
  });
57
-
58
34
  exports.List = List;
59
35
  var DestroyAllOtherSessionsButton = (0, _styled.default)(_core.Button)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n & > span {\n flex: 1;\n text-align: left;\n }\n"])));
60
-
61
36
  var OtherSessions = _styled.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-top: 2em;\n"])));
62
-
63
37
  var SESSION_LIST_PADDING_VERTICAL = 0.5;
64
38
  exports.SESSION_LIST_PADDING_VERTICAL = SESSION_LIST_PADDING_VERTICAL;
65
-
66
39
  var SessionList = function SessionList(_ref) {
67
40
  var sessionsKey = _ref.sessionsKey;
68
-
69
41
  var _useFragment = (0, _hooks.useFragment)(sessionListFragment, sessionsKey),
70
- sessions = _useFragment.sessions;
71
-
72
- var _useTranslation = (0, _reactI18next.useTranslation)('profile'),
73
- t = _useTranslation.t;
74
-
42
+ sessions = _useFragment.sessions;
43
+ var _useTranslation = (0, _reactI18next.useTranslation)(['profile']),
44
+ t = _useTranslation.t;
75
45
  var currentSession = (0, _react.useMemo)(function () {
76
46
  return sessions.find(function (session) {
77
47
  return session.current;
@@ -84,12 +54,10 @@ var SessionList = function SessionList(_ref) {
84
54
  return new Date(b.lastSeenAt).getTime() - new Date(a.lastSeenAt).getTime();
85
55
  });
86
56
  }, [sessions]);
87
-
88
57
  var _useMutation = (0, _hooks.useMutation)(_SessionListDestroyAllOtherSessionsMutation !== void 0 ? _SessionListDestroyAllOtherSessionsMutation : (_SessionListDestroyAllOtherSessionsMutation = require("./__generated__/SessionListDestroyAllOtherSessionsMutation.graphql"), _SessionListDestroyAllOtherSessionsMutation.hash && _SessionListDestroyAllOtherSessionsMutation.hash !== "016b6b5e7ae228f7df552d97fa43bd40" && console.error("The definition of 'SessionListDestroyAllOtherSessionsMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SessionListDestroyAllOtherSessionsMutation)),
89
- _useMutation2 = _slicedToArray(_useMutation, 2),
90
- commitDestroyAllOtherSessions = _useMutation2[0],
91
- loadingDestroyAllOtherSessions = _useMutation2[1];
92
-
58
+ _useMutation2 = _slicedToArray(_useMutation, 2),
59
+ commitDestroyAllOtherSessions = _useMutation2[0],
60
+ loadingDestroyAllOtherSessions = _useMutation2[1];
93
61
  var destroyAllOtherSessions = (0, _react.useCallback)(function () {
94
62
  commitDestroyAllOtherSessions({
95
63
  variables: {},
@@ -127,7 +95,6 @@ var SessionList = function SessionList(_ref) {
127
95
  });
128
96
  })))));
129
97
  };
130
-
131
98
  var _default = SessionList;
132
99
  exports.default = _default;
133
100
  //# sourceMappingURL=SessionList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionList.js","names":["sessionListFragment","Title","styled","div","List","p","clr","theme","listItemColorBorder","DestroyAllOtherSessionsButton","Button","OtherSessions","SESSION_LIST_PADDING_VERTICAL","SessionList","sessionsKey","useFragment","sessions","useTranslation","t","currentSession","useMemo","find","session","current","otherSessions","filter","sort","a","b","Date","lastSeenAt","getTime","useMutation","commitDestroyAllOtherSessions","loadingDestroyAllOtherSessions","destroyAllOtherSessions","useCallback","variables","updater","store","record","get","sessionRecords","getLinkedRecords","setLinkedRecords","item","getDataID","id","onError","error","message","onCompleted","success","length","map"],"sources":["../../../../src/lib/components/session/SessionList.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\nimport graphql from 'babel-plugin-relay/macro';\nimport { useFragment, useMutation } from 'react-relay/hooks';\nimport { Button, message } from '@os-design/core';\nimport styled from '@emotion/styled';\nimport { useTranslation } from 'react-i18next';\nimport { clr } from '@os-design/theming';\nimport { SessionList_sessions$key } from './__generated__/SessionList_sessions.graphql';\nimport SessionListItem from './SessionListItem';\nimport { SessionListDestroyAllOtherSessionsMutation } from './__generated__/SessionListDestroyAllOtherSessionsMutation.graphql';\n\nconst sessionListFragment = graphql`\n fragment SessionList_sessions on Query\n @refetchable(queryName: \"SessionListRefetchQuery\") {\n sessions {\n id\n current\n lastSeenAt\n ...SessionListItem_session\n }\n }\n`;\n\ninterface SessionListProps {\n sessionsKey: SessionList_sessions$key;\n}\n\nexport const Title = styled.div`\n font-weight: 500;\n margin: 1em 1em 0.5em;\n`;\n\nexport const List = styled.div`\n border-top: 1px solid ${(p) => clr(p.theme.listItemColorBorder)};\n border-bottom: 1px solid ${(p) => clr(p.theme.listItemColorBorder)};\n`;\n\nconst DestroyAllOtherSessionsButton = styled(Button)`\n & > span {\n flex: 1;\n text-align: left;\n }\n`;\n\nconst OtherSessions = styled.div`\n margin-top: 2em;\n`;\n\nexport const SESSION_LIST_PADDING_VERTICAL = 0.5;\n\nconst SessionList: React.FC<SessionListProps> = ({ sessionsKey }) => {\n const { sessions } = useFragment(sessionListFragment, sessionsKey);\n const { t } = useTranslation('profile');\n\n const currentSession = useMemo(\n () => sessions.find((session) => session.current),\n [sessions]\n );\n\n const otherSessions = useMemo(\n () =>\n sessions\n .filter((session) => !session.current)\n .sort(\n (a, b) =>\n new Date(b.lastSeenAt).getTime() - new Date(a.lastSeenAt).getTime()\n ),\n [sessions]\n );\n\n const [commitDestroyAllOtherSessions, loadingDestroyAllOtherSessions] =\n useMutation<SessionListDestroyAllOtherSessionsMutation>(graphql`\n mutation SessionListDestroyAllOtherSessionsMutation {\n destroyAllOtherSessions {\n ok\n }\n }\n `);\n\n const destroyAllOtherSessions = useCallback(() => {\n commitDestroyAllOtherSessions({\n variables: {},\n updater: (store) => {\n const record = store.get('client:root');\n if (!record) return;\n\n const sessionRecords = record.getLinkedRecords('sessions');\n if (!sessionRecords) return;\n\n record.setLinkedRecords(\n sessionRecords.filter(\n (item) => item.getDataID() === currentSession?.id\n ),\n 'sessions'\n );\n },\n onError: (error) => {\n message.error(error.message);\n },\n onCompleted: () => {\n message.success(t('profile:sessions.destroyedAllOther'));\n },\n });\n }, [commitDestroyAllOtherSessions, currentSession?.id, t]);\n\n return (\n <>\n {currentSession && (\n <>\n <Title>{t('profile:sessions.current')}</Title>\n <List>\n <SessionListItem sessionKey={currentSession} hideLastSeenAt />\n </List>\n </>\n )}\n\n {otherSessions.length > 0 && (\n <>\n <DestroyAllOtherSessionsButton\n type='ghost'\n danger\n size='small'\n wide='always'\n loading={loadingDestroyAllOtherSessions}\n onClick={destroyAllOtherSessions}\n >\n {t('profile:sessions.destroyAllOther')}\n </DestroyAllOtherSessionsButton>\n\n <OtherSessions>\n <Title>\n {t('profile:sessions.other')} ({otherSessions.length})\n </Title>\n <List>\n {otherSessions.map((session) => (\n <SessionListItem key={session.id} sessionKey={session} />\n ))}\n </List>\n </OtherSessions>\n </>\n )}\n </>\n );\n};\n\nexport default SessionList;\n"],"mappings":";;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAMA,mBAAmB,8aAAzB;;AAgBO,IAAMC,KAAK,GAAGC,eAAA,CAAOC,GAAV,sHAAX;;;;AAKA,IAAMC,IAAI,GAAGF,eAAA,CAAOC,GAAV,2IACS,UAACE,CAAD;EAAA,OAAO,IAAAC,YAAA,EAAID,CAAC,CAACE,KAAF,CAAQC,mBAAZ,CAAP;AAAA,CADT,EAEY,UAACH,CAAD;EAAA,OAAO,IAAAC,YAAA,EAAID,CAAC,CAACE,KAAF,CAAQC,mBAAZ,CAAP;AAAA,CAFZ,CAAV;;;AAKP,IAAMC,6BAA6B,GAAG,IAAAP,eAAA,EAAOQ,YAAP,CAAH,iIAAnC;;AAOA,IAAMC,aAAa,GAAGT,eAAA,CAAOC,GAAV,6F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C,OAAD;IAAA,oBACjB,6BAAC,wBAAD;MAAiB,GAAG,EAAEA,OAAO,CAACyB,EAA9B;MAAkC,UAAU,EAAEzB;IAA9C,EADiB;EAAA,CAAlB,CADH,CAJF,CAZF,CAXJ,CADF;AAsCD,CA7FD;;eA+FeT,W"}
1
+ {"version":3,"file":"SessionList.js","names":["sessionListFragment","Title","styled","div","List","p","clr","theme","listItemColorBorder","DestroyAllOtherSessionsButton","Button","OtherSessions","SESSION_LIST_PADDING_VERTICAL","SessionList","sessionsKey","useFragment","sessions","useTranslation","t","currentSession","useMemo","find","session","current","otherSessions","filter","sort","a","b","Date","lastSeenAt","getTime","useMutation","commitDestroyAllOtherSessions","loadingDestroyAllOtherSessions","destroyAllOtherSessions","useCallback","variables","updater","store","record","get","sessionRecords","getLinkedRecords","setLinkedRecords","item","getDataID","id","onError","error","message","onCompleted","success","length","map"],"sources":["../../../../src/lib/components/session/SessionList.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\nimport graphql from 'babel-plugin-relay/macro';\nimport { useFragment, useMutation } from 'react-relay/hooks';\nimport { Button, message } from '@os-design/core';\nimport styled from '@emotion/styled';\nimport { useTranslation } from 'react-i18next';\nimport { clr } from '@os-design/theming';\nimport { SessionList_sessions$key } from './__generated__/SessionList_sessions.graphql';\nimport SessionListItem from './SessionListItem';\nimport { SessionListDestroyAllOtherSessionsMutation } from './__generated__/SessionListDestroyAllOtherSessionsMutation.graphql';\n\nconst sessionListFragment = graphql`\n fragment SessionList_sessions on Query\n @refetchable(queryName: \"SessionListRefetchQuery\") {\n sessions {\n id\n current\n lastSeenAt\n ...SessionListItem_session\n }\n }\n`;\n\ninterface SessionListProps {\n sessionsKey: SessionList_sessions$key;\n}\n\nexport const Title = styled.div`\n font-weight: 500;\n margin: 1em 1em 0.5em;\n`;\n\nexport const List = styled.div`\n border-top: 1px solid ${(p) => clr(p.theme.listItemColorBorder)};\n border-bottom: 1px solid ${(p) => clr(p.theme.listItemColorBorder)};\n`;\n\nconst DestroyAllOtherSessionsButton = styled(Button)`\n & > span {\n flex: 1;\n text-align: left;\n }\n`;\n\nconst OtherSessions = styled.div`\n margin-top: 2em;\n`;\n\nexport const SESSION_LIST_PADDING_VERTICAL = 0.5;\n\nconst SessionList: React.FC<SessionListProps> = ({ sessionsKey }) => {\n const { sessions } = useFragment(sessionListFragment, sessionsKey);\n const { t } = useTranslation(['profile']);\n\n const currentSession = useMemo(\n () => sessions.find((session) => session.current),\n [sessions]\n );\n\n const otherSessions = useMemo(\n () =>\n sessions\n .filter((session) => !session.current)\n .sort(\n (a, b) =>\n new Date(b.lastSeenAt).getTime() - new Date(a.lastSeenAt).getTime()\n ),\n [sessions]\n );\n\n const [commitDestroyAllOtherSessions, loadingDestroyAllOtherSessions] =\n useMutation<SessionListDestroyAllOtherSessionsMutation>(graphql`\n mutation SessionListDestroyAllOtherSessionsMutation {\n destroyAllOtherSessions {\n ok\n }\n }\n `);\n\n const destroyAllOtherSessions = useCallback(() => {\n commitDestroyAllOtherSessions({\n variables: {},\n updater: (store) => {\n const record = store.get('client:root');\n if (!record) return;\n\n const sessionRecords = record.getLinkedRecords('sessions');\n if (!sessionRecords) return;\n\n record.setLinkedRecords(\n sessionRecords.filter(\n (item) => item.getDataID() === currentSession?.id\n ),\n 'sessions'\n );\n },\n onError: (error) => {\n message.error(error.message);\n },\n onCompleted: () => {\n message.success(t('profile:sessions.destroyedAllOther'));\n },\n });\n }, [commitDestroyAllOtherSessions, currentSession?.id, t]);\n\n return (\n <>\n {currentSession && (\n <>\n <Title>{t('profile:sessions.current')}</Title>\n <List>\n <SessionListItem sessionKey={currentSession} hideLastSeenAt />\n </List>\n </>\n )}\n\n {otherSessions.length > 0 && (\n <>\n <DestroyAllOtherSessionsButton\n type='ghost'\n danger\n size='small'\n wide='always'\n loading={loadingDestroyAllOtherSessions}\n onClick={destroyAllOtherSessions}\n >\n {t('profile:sessions.destroyAllOther')}\n </DestroyAllOtherSessionsButton>\n\n <OtherSessions>\n <Title>\n {t('profile:sessions.other')} ({otherSessions.length})\n </Title>\n <List>\n {otherSessions.map((session) => (\n <SessionListItem key={session.id} sessionKey={session} />\n ))}\n </List>\n </OtherSessions>\n </>\n )}\n </>\n );\n};\n\nexport default SessionList;\n"],"mappings":";;;;;;;AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAAgD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGhD,IAAMA,mBAAmB,8aAUxB;AAMM,IAAMC,KAAK,GAAGC,eAAM,CAACC,GAAG,sHAG9B;AAAC;AAEK,IAAMC,IAAI,GAAGF,eAAM,CAACC,GAAG,2IACJ,UAACE,CAAC;EAAA,OAAK,IAAAC,YAAG,EAACD,CAAC,CAACE,KAAK,CAACC,mBAAmB,CAAC;AAAA,GACpC,UAACH,CAAC;EAAA,OAAK,IAAAC,YAAG,EAACD,CAAC,CAACE,KAAK,CAACC,mBAAmB,CAAC;AAAA,EACnE;AAAC;AAEF,IAAMC,6BAA6B,GAAG,IAAAP,eAAM,EAACQ,YAAM,CAAC,iIAKnD;AAED,IAAMC,aAAa,GAAGT,eAAM,CAACC,GAAG,6FAE/B;AAEM,IAAMS,6BAA6B,GAAG,GAAG;AAAC;AAEjD,IAAMC,WAAuC,GAAG,SAA1CA,WAAuC,OAAwB;EAAA,IAAlBC,WAAW,QAAXA,WAAW;EAC5D,mBAAqB,IAAAC,kBAAW,EAACf,mBAAmB,EAAEc,WAAW,CAAC;IAA1DE,QAAQ,gBAARA,QAAQ;EAChB,sBAAc,IAAAC,4BAAc,EAAC,CAAC,SAAS,CAAC,CAAC;IAAjCC,CAAC,mBAADA,CAAC;EAET,IAAMC,cAAc,GAAG,IAAAC,cAAO,EAC5B;IAAA,OAAMJ,QAAQ,CAACK,IAAI,CAAC,UAACC,OAAO;MAAA,OAAKA,OAAO,CAACC,OAAO;IAAA,EAAC;EAAA,GACjD,CAACP,QAAQ,CAAC,CACX;EAED,IAAMQ,aAAa,GA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