@os-team/profile 1.0.46 → 1.0.48

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 +32 -34
  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
@@ -5,66 +5,59 @@
5
5
  */
6
6
 
7
7
  /* tslint:disable */
8
-
9
8
  /* eslint-disable */
10
9
  // @ts-nocheck
10
+
11
11
  const node = function () {
12
12
  var v0 = [{
13
- "defaultValue": null,
14
- "kind": "LocalArgument",
15
- "name": "input"
16
- }],
17
- v1 = [{
18
- "alias": null,
19
- "args": [{
20
- "kind": "Variable",
21
- "name": "input",
22
- "variableName": "input"
13
+ "defaultValue": null,
14
+ "kind": "LocalArgument",
15
+ "name": "input"
23
16
  }],
24
- "concreteType": "User",
25
- "kind": "LinkedField",
26
- "name": "updateAvatar",
27
- "plural": false,
28
- "selections": [{
29
- "alias": null,
30
- "args": null,
31
- "kind": "ScalarField",
32
- "name": "id",
33
- "storageKey": null
34
- }, {
17
+ v1 = [{
35
18
  "alias": null,
36
- "args": null,
37
- "kind": "ScalarField",
38
- "name": "avatar",
19
+ "args": [{
20
+ "kind": "Variable",
21
+ "name": "input",
22
+ "variableName": "input"
23
+ }],
24
+ "concreteType": "User",
25
+ "kind": "LinkedField",
26
+ "name": "updateAvatar",
27
+ "plural": false,
28
+ "selections": [{
29
+ "alias": null,
30
+ "args": null,
31
+ "kind": "ScalarField",
32
+ "name": "id",
33
+ "storageKey": null
34
+ }, {
35
+ "alias": null,
36
+ "args": null,
37
+ "kind": "ScalarField",
38
+ "name": "avatar",
39
+ "storageKey": null
40
+ }],
39
41
  "storageKey": null
40
- }],
41
- "storageKey": null
42
- }];
42
+ }];
43
43
  return {
44
44
  "fragment": {
45
- "argumentDefinitions": v0
46
- /*: any*/
47
- ,
45
+ "argumentDefinitions": v0 /*: any*/,
48
46
  "kind": "Fragment",
49
47
  "metadata": null,
50
48
  "name": "ProfileDrawerUpdateAvatarMutation",
51
- "selections": v1
52
- /*: any*/
53
- ,
49
+ "selections": v1 /*: any*/,
54
50
  "type": "Mutation",
55
51
  "abstractKey": null
56
52
  },
57
53
  "kind": "Request",
58
54
  "operation": {
59
- "argumentDefinitions": v0
60
- /*: any*/
61
- ,
55
+ "argumentDefinitions": v0 /*: any*/,
62
56
  "kind": "Operation",
63
57
  "name": "ProfileDrawerUpdateAvatarMutation",
64
- "selections": v1
65
- /*: any*/
66
-
58
+ "selections": v1 /*: any*/
67
59
  },
60
+
68
61
  "params": {
69
62
  "cacheID": "4e03df1e245723b6bb782fa62331d420",
70
63
  "id": null,
@@ -75,7 +68,6 @@ const node = function () {
75
68
  }
76
69
  };
77
70
  }();
78
-
79
71
  node.hash = "c129cb1974b7cb9090d6c5df4e0f790d";
80
72
  export default node;
81
73
  //# sourceMappingURL=ProfileDrawerUpdateAvatarMutation.graphql.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileDrawerUpdateAvatarMutation.graphql.js","names":["node","v0","v1","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<55ec946240339a8ef48835cf36146b25>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdateAvatarInput = {\n avatar?: any | null;\n};\nexport type ProfileDrawerUpdateAvatarMutation$variables = {\n input: UpdateAvatarInput;\n};\nexport type ProfileDrawerUpdateAvatarMutation$data = {\n readonly updateAvatar: {\n readonly id: string;\n readonly avatar: string | null;\n };\n};\nexport type ProfileDrawerUpdateAvatarMutation = {\n variables: ProfileDrawerUpdateAvatarMutation$variables;\n response: ProfileDrawerUpdateAvatarMutation$data;\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\": \"updateAvatar\",\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\": \"avatar\",\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\": \"ProfileDrawerUpdateAvatarMutation\",\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\": \"ProfileDrawerUpdateAvatarMutation\",\n \"selections\": (v1/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"4e03df1e245723b6bb782fa62331d420\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerUpdateAvatarMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerUpdateAvatarMutation(\\n $input: UpdateAvatarInput!\\n) {\\n updateAvatar(input: $input) {\\n id\\n avatar\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"c129cb1974b7cb9090d6c5df4e0f790d\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;;AACA;AACA;AAoBA,MAAMA,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,cAXV;IAYE,UAAU,KAZZ;IAaE,cAAc,CACZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,IAJV;MAKE,cAAc;IALhB,CADY,EAQZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,QAJV;MAKE,cAAc;IALhB,CARY,CAbhB;IA6BE,cAAc;EA7BhB,CADG,CAPL;EAwCA,OAAO;IACL,YAAY;MACV,uBAAwBD;MAAE;MADhB;MAEV,QAAQ,UAFE;MAGV,YAAY,IAHF;MAIV,QAAQ,mCAJE;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,mCAHG;MAIX,cAAeC;MAAE;;IAJN,CAXR;IAiBL,UAAU;MACR,WAAW,kCADH;MAER,MAAM,IAFE;MAGR,YAAY,EAHJ;MAIR,QAAQ,mCAJA;MAKR,iBAAiB,UALT;MAMR,QAAQ;IANA;EAjBL,CAAP;AA0BC,CAnE6B,EAA9B;;AAqECF,IAAD,CAAcG,IAAd,GAAqB,kCAArB;AAEA,eAAeH,IAAf"}
1
+ {"version":3,"file":"ProfileDrawerUpdateAvatarMutation.graphql.js","names":["node","v0","v1","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<55ec946240339a8ef48835cf36146b25>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdateAvatarInput = {\n avatar?: any | null;\n};\nexport type ProfileDrawerUpdateAvatarMutation$variables = {\n input: UpdateAvatarInput;\n};\nexport type ProfileDrawerUpdateAvatarMutation$data = {\n readonly updateAvatar: {\n readonly id: string;\n readonly avatar: string | null;\n };\n};\nexport type ProfileDrawerUpdateAvatarMutation = {\n variables: ProfileDrawerUpdateAvatarMutation$variables;\n response: ProfileDrawerUpdateAvatarMutation$data;\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\": \"updateAvatar\",\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\": \"avatar\",\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\": \"ProfileDrawerUpdateAvatarMutation\",\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\": \"ProfileDrawerUpdateAvatarMutation\",\n \"selections\": (v1/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"4e03df1e245723b6bb782fa62331d420\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerUpdateAvatarMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerUpdateAvatarMutation(\\n $input: UpdateAvatarInput!\\n) {\\n updateAvatar(input: $input) {\\n id\\n avatar\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"c129cb1974b7cb9090d6c5df4e0f790d\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAoBA,MAAMA,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,cAAc;MACtB,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,EACD;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,QAAQ;QAChB,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,mCAAmC;MAC3C,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,mCAAmC;MAC3C,YAAY,EAAGC,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,mCAAmC;MAC3C,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,EAAG;AAEHF,IAAI,CAASG,IAAI,GAAG,kCAAkC;AAEvD,eAAeH,IAAI"}
@@ -5,56 +5,49 @@
5
5
  */
6
6
 
7
7
  /* tslint:disable */
8
-
9
8
  /* eslint-disable */
10
9
  // @ts-nocheck
10
+
11
11
  const node = function () {
12
12
  var v0 = [{
13
- "defaultValue": null,
14
- "kind": "LocalArgument",
15
- "name": "input"
16
- }],
17
- v1 = [{
18
- "kind": "Variable",
19
- "name": "input",
20
- "variableName": "input"
21
- }],
22
- v2 = {
23
- "alias": null,
24
- "args": null,
25
- "kind": "ScalarField",
26
- "name": "firstName",
27
- "storageKey": null
28
- },
29
- v3 = {
30
- "alias": null,
31
- "args": null,
32
- "kind": "ScalarField",
33
- "name": "lastName",
34
- "storageKey": null
35
- };
13
+ "defaultValue": null,
14
+ "kind": "LocalArgument",
15
+ "name": "input"
16
+ }],
17
+ v1 = [{
18
+ "kind": "Variable",
19
+ "name": "input",
20
+ "variableName": "input"
21
+ }],
22
+ v2 = {
23
+ "alias": null,
24
+ "args": null,
25
+ "kind": "ScalarField",
26
+ "name": "firstName",
27
+ "storageKey": null
28
+ },
29
+ v3 = {
30
+ "alias": null,
31
+ "args": null,
32
+ "kind": "ScalarField",
33
+ "name": "lastName",
34
+ "storageKey": null
35
+ };
36
36
  return {
37
37
  "fragment": {
38
- "argumentDefinitions": v0
39
- /*: any*/
40
- ,
38
+ "argumentDefinitions": v0 /*: any*/,
41
39
  "kind": "Fragment",
42
40
  "metadata": null,
43
41
  "name": "ProfileUpdateNameModalMutation",
44
42
  "selections": [{
45
43
  "alias": null,
46
- "args": v1
47
- /*: any*/
48
- ,
44
+ "args": v1 /*: any*/,
49
45
  "concreteType": "User",
50
46
  "kind": "LinkedField",
51
47
  "name": "updateProfile",
52
48
  "plural": false,
53
- "selections": [v2
54
- /*: any*/
55
- , v3
56
- /*: any*/
57
- ],
49
+ "selections": [v2 /*: any*/, v3 /*: any*/],
50
+
58
51
  "storageKey": null
59
52
  }],
60
53
  "type": "Mutation",
@@ -62,25 +55,17 @@ const node = function () {
62
55
  },
63
56
  "kind": "Request",
64
57
  "operation": {
65
- "argumentDefinitions": v0
66
- /*: any*/
67
- ,
58
+ "argumentDefinitions": v0 /*: any*/,
68
59
  "kind": "Operation",
69
60
  "name": "ProfileUpdateNameModalMutation",
70
61
  "selections": [{
71
62
  "alias": null,
72
- "args": v1
73
- /*: any*/
74
- ,
63
+ "args": v1 /*: any*/,
75
64
  "concreteType": "User",
76
65
  "kind": "LinkedField",
77
66
  "name": "updateProfile",
78
67
  "plural": false,
79
- "selections": [v2
80
- /*: any*/
81
- , v3
82
- /*: any*/
83
- , {
68
+ "selections": [v2 /*: any*/, v3 /*: any*/, {
84
69
  "alias": null,
85
70
  "args": null,
86
71
  "kind": "ScalarField",
@@ -100,7 +85,6 @@ const node = function () {
100
85
  }
101
86
  };
102
87
  }();
103
-
104
88
  node.hash = "7264a05b6738d5417df9f1dc462486aa";
105
89
  export default node;
106
90
  //# sourceMappingURL=ProfileUpdateNameModalMutation.graphql.js.map
@@ -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,MAAMA,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,QAAQ,UADV;IAEE,QAAQ,OAFV;IAGE,gBAAgB;EAHlB,CADG,CAPL;EAAA,IAcAC,EAAE,GAAG;IACH,SAAS,IADN;IAEH,QAAQ,IAFL;IAGH,QAAQ,aAHL;IAIH,QAAQ,WAJL;IAKH,cAAc;EALX,CAdL;EAAA,IAqBAC,EAAE,GAAG;IACH,SAAS,IADN;IAEH,QAAQ,IAFL;IAGH,QAAQ,aAHL;IAIH,QAAQ,UAJL;IAKH,cAAc;EALX,CArBL;EA4BA,OAAO;IACL,YAAY;MACV,uBAAwBH;MAAE;MADhB;MAEV,QAAQ,UAFE;MAGV,YAAY,IAHF;MAIV,QAAQ,gCAJE;MAKV,cAAc,CACZ;QACE,SAAS,IADX;QAEE,QAASC;QAAE;QAFb;QAGE,gBAAgB,MAHlB;QAIE,QAAQ,aAJV;QAKE,QAAQ,eALV;QAME,UAAU,KANZ;QAOE,cAAc,CACXC;QAAE;QADS,EAEXC;QAAE;QAFS,CAPhB;QAWE,cAAc;MAXhB,CADY,CALJ;MAoBV,QAAQ,UApBE;MAqBV,eAAe;IArBL,CADP;IAwBL,QAAQ,SAxBH;IAyBL,aAAa;MACX,uBAAwBH;MAAE;MADf;MAEX,QAAQ,WAFG;MAGX,QAAQ,gCAHG;MAIX,cAAc,CACZ;QACE,SAAS,IADX;QAEE,QAASC;QAAE;QAFb;QAGE,gBAAgB,MAHlB;QAIE,QAAQ,aAJV;QAKE,QAAQ,eALV;QAME,UAAU,KANZ;QAOE,cAAc,CACXC;QAAE;QADS,EAEXC;QAAE;QAFS,EAGZ;UACE,SAAS,IADX;UAEE,QAAQ,IAFV;UAGE,QAAQ,aAHV;UAIE,QAAQ,IAJV;UAKE,cAAc;QALhB,CAHY,CAPhB;QAkBE,cAAc;MAlBhB,CADY;IAJH,CAzBR;IAoDL,UAAU;MACR,WAAW,kCADH;MAER,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;AAEA,eAAeL,IAAf"}
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,MAAMA,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;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,WAAW;MACnB,YAAY,EAAE;IAChB,CAAC;IACDC,EAAE,GAAG;MACH,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,UAAU;MAClB,YAAY,EAAE;IAChB,CAAC;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAGH,EAAE,UAAU;MACpC,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,gCAAgC;MACxC,YAAY,EAAE,CACZ;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAGC,EAAE,UAAU;QACrB,cAAc,EAAE,MAAM;QACtB,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,eAAe;QACvB,QAAQ,EAAE,KAAK;QACf,YAAY,EAAE,CACXC,EAAE,YACFC,EAAE,WACJ;;QACD,YAAY,EAAE;MAChB,CAAC,CACF;MACD,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAGH,EAAE,UAAU;MACpC,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,gCAAgC;MACxC,YAAY,EAAE,CACZ;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAGC,EAAE,UAAU;QACrB,cAAc,EAAE,MAAM;QACtB,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,eAAe;QACvB,QAAQ,EAAE,KAAK;QACf,YAAY,EAAE,CACXC,EAAE,YACFC,EAAE,YACH;UACE,OAAO,EAAE,IAAI;UACb,MAAM,EAAE,IAAI;UACZ,MAAM,EAAE,aAAa;UACrB,MAAM,EAAE,IAAI;UACZ,YAAY,EAAE;QAChB,CAAC,CACF;QACD,YAAY,EAAE;MAChB,CAAC;IAEL,CAAC;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,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;AAEvD,eAAeL,IAAI"}
@@ -5,60 +5,53 @@
5
5
  */
6
6
 
7
7
  /* tslint:disable */
8
-
9
8
  /* eslint-disable */
10
9
  // @ts-nocheck
10
+
11
11
  const node = function () {
12
12
  var v0 = [{
13
- "defaultValue": null,
14
- "kind": "LocalArgument",
15
- "name": "input"
16
- }],
17
- v1 = [{
18
- "alias": null,
19
- "args": [{
20
- "kind": "Variable",
21
- "name": "input",
22
- "variableName": "input"
13
+ "defaultValue": null,
14
+ "kind": "LocalArgument",
15
+ "name": "input"
23
16
  }],
24
- "concreteType": "User",
25
- "kind": "LinkedField",
26
- "name": "updatePassword",
27
- "plural": false,
28
- "selections": [{
17
+ v1 = [{
29
18
  "alias": null,
30
- "args": null,
31
- "kind": "ScalarField",
32
- "name": "id",
19
+ "args": [{
20
+ "kind": "Variable",
21
+ "name": "input",
22
+ "variableName": "input"
23
+ }],
24
+ "concreteType": "User",
25
+ "kind": "LinkedField",
26
+ "name": "updatePassword",
27
+ "plural": false,
28
+ "selections": [{
29
+ "alias": null,
30
+ "args": null,
31
+ "kind": "ScalarField",
32
+ "name": "id",
33
+ "storageKey": null
34
+ }],
33
35
  "storageKey": null
34
- }],
35
- "storageKey": null
36
- }];
36
+ }];
37
37
  return {
38
38
  "fragment": {
39
- "argumentDefinitions": v0
40
- /*: any*/
41
- ,
39
+ "argumentDefinitions": v0 /*: any*/,
42
40
  "kind": "Fragment",
43
41
  "metadata": null,
44
42
  "name": "ProfileUpdatePasswordModalMutation",
45
- "selections": v1
46
- /*: any*/
47
- ,
43
+ "selections": v1 /*: any*/,
48
44
  "type": "Mutation",
49
45
  "abstractKey": null
50
46
  },
51
47
  "kind": "Request",
52
48
  "operation": {
53
- "argumentDefinitions": v0
54
- /*: any*/
55
- ,
49
+ "argumentDefinitions": v0 /*: any*/,
56
50
  "kind": "Operation",
57
51
  "name": "ProfileUpdatePasswordModalMutation",
58
- "selections": v1
59
- /*: any*/
60
-
52
+ "selections": v1 /*: any*/
61
53
  },
54
+
62
55
  "params": {
63
56
  "cacheID": "64308136a7a18e3fb1ab2d16aa93add7",
64
57
  "id": null,
@@ -69,7 +62,6 @@ const node = function () {
69
62
  }
70
63
  };
71
64
  }();
72
-
73
65
  node.hash = "efa37ccbe82fbace709f7e3992643c05";
74
66
  export default node;
75
67
  //# sourceMappingURL=ProfileUpdatePasswordModalMutation.graphql.js.map
@@ -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,MAAMA,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;AAEA,eAAeH,IAAf"}
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,MAAMA,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;AAEvD,eAAeH,IAAI"}
@@ -5,9 +5,9 @@
5
5
  */
6
6
 
7
7
  /* tslint:disable */
8
-
9
8
  /* eslint-disable */
10
9
  // @ts-nocheck
10
+
11
11
  const node = function () {
12
12
  var v0 = [{
13
13
  "alias": null,
@@ -55,9 +55,7 @@ const node = function () {
55
55
  "kind": "Fragment",
56
56
  "metadata": null,
57
57
  "name": "ProtectedWrapperQuery",
58
- "selections": v0
59
- /*: any*/
60
- ,
58
+ "selections": v0 /*: any*/,
61
59
  "type": "Query",
62
60
  "abstractKey": null
63
61
  },
@@ -66,10 +64,9 @@ const node = function () {
66
64
  "argumentDefinitions": [],
67
65
  "kind": "Operation",
68
66
  "name": "ProtectedWrapperQuery",
69
- "selections": v0
70
- /*: any*/
71
-
67
+ "selections": v0 /*: any*/
72
68
  },
69
+
73
70
  "params": {
74
71
  "cacheID": "c77ada94a5456167ef4c0c17a1fd7cd7",
75
72
  "id": null,
@@ -80,7 +77,6 @@ const node = function () {
80
77
  }
81
78
  };
82
79
  }();
83
-
84
80
  node.hash = "903b234e48f53b4a44dc0b4974ebc521";
85
81
  export default node;
86
82
  //# sourceMappingURL=ProtectedWrapperQuery.graphql.js.map
@@ -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,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,SAAS,IADX;IAEE,QAAQ,IAFV;IAGE,gBAAgB,MAHlB;IAIE,QAAQ,aAJV;IAKE,QAAQ,SALV;IAME,UAAU,KANZ;IAOE,cAAc,CACZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,IAJV;MAKE,cAAc;IALhB,CADY,EAQZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,OAJV;MAKE,cAAc;IALhB,CARY,EAeZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,WAJV;MAKE,cAAc;IALhB,CAfY,EAsBZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,UAJV;MAKE,cAAc;IALhB,CAtBY,EA6BZ;MACE,SAAS,IADX;MAEE,QAAQ,IAFV;MAGE,QAAQ,aAHV;MAIE,QAAQ,QAJV;MAKE,cAAc;IALhB,CA7BY,CAPhB;IA4CE,cAAc;EA5ChB,CADO,CAAT;EAgDA,OAAO;IACL,YAAY;MACV,uBAAuB,EADb;MAEV,QAAQ,UAFE;MAGV,YAAY,IAHF;MAIV,QAAQ,uBAJE;MAKV,cAAeA;MAAE;MALP;MAMV,QAAQ,OANE;MAOV,eAAe;IAPL,CADP;IAUL,QAAQ,SAVH;IAWL,aAAa;MACX,uBAAuB,EADZ;MAEX,QAAQ,WAFG;MAGX,QAAQ,uBAHG;MAIX,cAAeA;MAAE;;IAJN,CAXR;IAiBL,UAAU;MACR,WAAW,kCADH;MAER,MAAM,IAFE;MAGR,YAAY,EAHJ;MAIR,QAAQ,uBAJA;MAKR,iBAAiB,OALT;MAMR,QAAQ;IANA;EAjBL,CAAP;AA0BC,CA3E6B,EAA9B;;AA6ECD,IAAD,CAAcE,IAAd,GAAqB,kCAArB;AAEA,eAAeF,IAAf"}
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,MAAMA,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;AAEvD,eAAeF,IAAI"}
@@ -1,5 +1,4 @@
1
1
  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); }
2
-
3
2
  import React, { lazy, Suspense } from 'react';
4
3
  import styled from '@emotion/styled';
5
4
  import { Alert, Drawer, Layout, PageHeader } from '@os-design/core';
@@ -14,11 +13,10 @@ const StyledPageHeader = styled(PageHeader)`
14
13
  const StyledAlert = styled(Alert)`
15
14
  border-radius: 0;
16
15
  `;
17
-
18
16
  const SessionDrawer = props => {
19
17
  const {
20
18
  t
21
- } = useTranslation('profile');
19
+ } = useTranslation(['profile']);
22
20
  const isMinSm = useIsMinWidth('sm');
23
21
  return /*#__PURE__*/React.createElement(Drawer, _extends({
24
22
  placement: "right",
@@ -36,6 +34,5 @@ const SessionDrawer = props => {
36
34
  fallback: /*#__PURE__*/React.createElement(SessionListSkeleton, null)
37
35
  }, /*#__PURE__*/React.createElement(LazySessionDrawerContent, null)))));
38
36
  };
39
-
40
37
  export default SessionDrawer;
41
38
  //# sourceMappingURL=SessionDrawer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionDrawer.js","names":["React","lazy","Suspense","styled","Alert","Drawer","Layout","PageHeader","useTranslation","ThemeOverrider","useIsMinWidth","SessionListSkeleton","LazySessionDrawerContent","StyledPageHeader","StyledAlert","SessionDrawer","props","t","isMinSm","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,OAAOA,KAAP,IAAgBC,IAAhB,EAAsBC,QAAtB,QAAsC,OAAtC;AACA,OAAOC,MAAP,MAAmB,iBAAnB;AACA,SACEC,KADF,EAEEC,MAFF,EAIEC,MAJF,EAKEC,UALF,QAMO,iBANP;AAOA,SAASC,cAAT,QAA+B,eAA/B;AACA,SAASC,cAAT,QAA+B,oBAA/B;AACA,SAASC,aAAT,QAA8B,kBAA9B;AACA,OAAOC,mBAAP,MAAgC,uBAAhC;AAEA,MAAMC,wBAAwB,gBAAGX,IAAI,CAAC,MAAM,OAAO,wBAAP,CAAP,CAArC;AAEA,MAAMY,gBAAgB,GAAGV,MAAM,CAACI,UAAD,CAAa;AAC5C;AACA,CAFA;AAIA,MAAMO,WAAW,GAAGX,MAAM,CAACC,KAAD,CAAQ;AAClC;AACA,CAFA;;AAIA,MAAMW,aAAoC,GAAIC,KAAD,IAAW;EACtD,MAAM;IAAEC;EAAF,IAAQT,cAAc,CAAC,SAAD,CAA5B;EACA,MAAMU,OAAO,GAAGR,aAAa,CAAC,IAAD,CAA7B;EAEA,oBACE,oBAAC,MAAD;IAAQ,SAAS,EAAC,OAAlB;IAA0B,KAAK,EAAEQ,OAAO,GAAG,MAAH,GAAY;EAApD,GAA+DF,KAA/D,gBACE,oBAAC,cAAD;IAAgB,SAAS,EAAE;MAAEG,iBAAiB,EAAE,CAAC,CAAD,EAAI,CAAJ;IAArB;EAA3B,gBACE,oBAAC,MAAD,qBACE,oBAAC,gBAAD;IAAkB,KAAK,EAAEF,CAAC,CAAC,wBAAD;EAA1B,EADF,eAGE,oBAAC,WAAD;IAAa,IAAI,EAAC,MAAlB;IAAyB,IAAI,EAAC;EAA9B,GACGA,CAAC,CAAC,8BAAD,CADJ,CAHF,eAOE,oBAAC,QAAD;IAAU,QAAQ,eAAE,oBAAC,mBAAD;EAApB,gBACE,oBAAC,wBAAD,OADF,CAPF,CADF,CADF,CADF;AAiBD,CArBD;;AAuBA,eAAeF,aAAf"}
1
+ {"version":3,"file":"SessionDrawer.js","names":["React","lazy","Suspense","styled","Alert","Drawer","Layout","PageHeader","useTranslation","ThemeOverrider","useIsMinWidth","SessionListSkeleton","LazySessionDrawerContent","StyledPageHeader","StyledAlert","SessionDrawer","props","t","isMinSm","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,OAAOA,KAAK,IAAIC,IAAI,EAAEC,QAAQ,QAAQ,OAAO;AAC7C,OAAOC,MAAM,MAAM,iBAAiB;AACpC,SACEC,KAAK,EACLC,MAAM,EAENC,MAAM,EACNC,UAAU,QACL,iBAAiB;AACxB,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,aAAa,QAAQ,kBAAkB;AAChD,OAAOC,mBAAmB,MAAM,uBAAuB;AAEvD,MAAMC,wBAAwB,gBAAGX,IAAI,CAAC,MAAM,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAE7E,MAAMY,gBAAgB,GAAGV,MAAM,CAACI,UAAU,CAAE;AAC5C;AACA,CAAC;AAED,MAAMO,WAAW,GAAGX,MAAM,CAACC,KAAK,CAAE;AAClC;AACA,CAAC;AAED,MAAMW,aAAoC,GAAIC,KAAK,IAAK;EACtD,MAAM;IAAEC;EAAE,CAAC,GAAGT,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC;EACzC,MAAMU,OAAO,GAAGR,aAAa,CAAC,IAAI,CAAC;EAEnC,oBACE,oBAAC,MAAM;IAAC,SAAS,EAAC,OAAO;IAAC,KAAK,EAAEQ,OAAO,GAAG,MAAM,GAAG;EAAM,GAAKF,KAAK,gBAClE,oBAAC,cAAc;IAAC,SAAS,EAAE;MAAEG,iBAAiB,EAAE,CAAC,CAAC,EAAE,CAAC;IAAE;EAAE,gBACvD,oBAAC,MAAM,qBACL,oBAAC,gBAAgB;IAAC,KAAK,EAAEF,CAAC,CAAC,wBAAwB;EAAE,EAAG,eAExD,oBAAC,WAAW;IAAC,IAAI,EAAC,MAAM;IAAC,IAAI,EAAC;EAAO,GAClCA,CAAC,CAAC,8BAA8B,CAAC,CACtB,eAEd,oBAAC,QAAQ;IAAC,QAAQ,eAAE,oBAAC,mBAAmB;EAAI,gBAC1C,oBAAC,wBAAwB,OAAG,CACnB,CACJ,CACM,CACV;AAEb,CAAC;AAED,eAAeF,aAAa"}
@@ -1,12 +1,10 @@
1
1
  var _SessionDrawerContentQuery;
2
-
3
2
  import React, { Suspense } from 'react';
4
3
  import { useLazyLoadQuery } from 'react-relay/hooks';
5
4
  import { ErrorBoundary } from '@os-design/utils';
6
5
  import ErrorResult from '../shared/ErrorResult';
7
6
  import SessionList from './SessionList';
8
7
  import SessionListSkeleton from './SessionListSkeleton';
9
-
10
8
  const SessionDrawerContentLoader = () => {
11
9
  const props = 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), {}, {
12
10
  fetchPolicy: 'network-only'
@@ -15,18 +13,15 @@ const SessionDrawerContentLoader = () => {
15
13
  sessionsKey: props
16
14
  });
17
15
  };
18
-
19
16
  const errorFallback = ({
20
17
  error
21
18
  }) => /*#__PURE__*/React.createElement(ErrorResult, {
22
19
  error: error
23
20
  });
24
-
25
21
  const SessionDrawerContent = () => /*#__PURE__*/React.createElement(ErrorBoundary, {
26
22
  fallback: errorFallback
27
23
  }, /*#__PURE__*/React.createElement(Suspense, {
28
24
  fallback: /*#__PURE__*/React.createElement(SessionListSkeleton, null)
29
25
  }, /*#__PURE__*/React.createElement(SessionDrawerContentLoader, null)));
30
-
31
26
  export default SessionDrawerContent;
32
27
  //# sourceMappingURL=SessionDrawerContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionDrawerContent.js","names":["React","Suspense","useLazyLoadQuery","ErrorBoundary","ErrorResult","SessionList","SessionListSkeleton","SessionDrawerContentLoader","props","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,OAAOA,KAAP,IAAgBC,QAAhB,QAAgC,OAAhC;AACA,SAASC,gBAAT,QAAiC,mBAAjC;AACA,SAASC,aAAT,QAA8B,kBAA9B;AAEA,OAAOC,WAAP,MAAwB,uBAAxB;AACA,OAAOC,WAAP,MAAwB,eAAxB;AACA,OAAOC,mBAAP,MAAgC,uBAAhC;;AAGA,MAAMC,0BAAoC,GAAG,MAAM;EACjD,MAAMC,KAAK,GAAGN,gBAAgB,sdAM5B,EAN4B,EAO5B;IAAEO,WAAW,EAAE;EAAf,CAP4B,CAA9B;EAUA,oBAAO,oBAAC,WAAD;IAAa,WAAW,EAAED;EAA1B,EAAP;AACD,CAZD;;AAcA,MAAME,aAAa,GAAG,CAAC;EAAEC;AAAF,CAAD,kBAAe,oBAAC,WAAD;EAAa,KAAK,EAAEA;AAApB,EAArC;;AAEA,MAAMC,oBAA8B,GAAG,mBACrC,oBAAC,aAAD;EAAe,QAAQ,EAAEF;AAAzB,gBACE,oBAAC,QAAD;EAAU,QAAQ,eAAE,oBAAC,mBAAD;AAApB,gBACE,oBAAC,0BAAD,OADF,CADF,CADF;;AAQA,eAAeE,oBAAf"}
1
+ {"version":3,"file":"SessionDrawerContent.js","names":["React","Suspense","useLazyLoadQuery","ErrorBoundary","ErrorResult","SessionList","SessionListSkeleton","SessionDrawerContentLoader","props","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,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,gBAAgB,QAAQ,mBAAmB;AACpD,SAASC,aAAa,QAAQ,kBAAkB;AAEhD,OAAOC,WAAW,MAAM,uBAAuB;AAC/C,OAAOC,WAAW,MAAM,eAAe;AACvC,OAAOC,mBAAmB,MAAM,uBAAuB;AAGvD,MAAMC,0BAAoC,GAAG,MAAM;EACjD,MAAMC,KAAK,GAAGN,gBAAgB,sdAM5B,CAAC,CAAC,EACF;IAAEO,WAAW,EAAE;EAAe,CAAC,CAChC;EAED,oBAAO,oBAAC,WAAW;IAAC,WAAW,EAAED;EAAM,EAAG;AAC5C,CAAC;AAED,MAAME,aAAa,GAAG,CAAC;EAAEC;AAAM,CAAC,kBAAK,oBAAC,WAAW;EAAC,KAAK,EAAEA;AAAM,EAAG;AAElE,MAAMC,oBAA8B,GAAG,mBACrC,oBAAC,aAAa;EAAC,QAAQ,EAAEF;AAAc,gBACrC,oBAAC,QAAQ;EAAC,QAAQ,eAAE,oBAAC,mBAAmB;AAAI,gBAC1C,oBAAC,0BAA0B,OAAG,CACrB,CAEd;AAED,eAAeE,oBAAoB"}
@@ -1,5 +1,4 @@
1
1
  var _SessionList_sessions, _SessionListDestroyAllOtherSessionsMutation;
2
-
3
2
  import React, { useCallback, useMemo } from 'react';
4
3
  import { useFragment, useMutation } from 'react-relay/hooks';
5
4
  import { Button, message } from '@os-design/core';
@@ -26,7 +25,6 @@ const OtherSessions = styled.div`
26
25
  margin-top: 2em;
27
26
  `;
28
27
  export const SESSION_LIST_PADDING_VERTICAL = 0.5;
29
-
30
28
  const SessionList = ({
31
29
  sessionsKey
32
30
  }) => {
@@ -35,7 +33,7 @@ const SessionList = ({
35
33
  } = useFragment(sessionListFragment, sessionsKey);
36
34
  const {
37
35
  t
38
- } = useTranslation('profile');
36
+ } = useTranslation(['profile']);
39
37
  const currentSession = useMemo(() => sessions.find(session => session.current), [sessions]);
40
38
  const otherSessions = useMemo(() => sessions.filter(session => !session.current).sort((a, b) => new Date(b.lastSeenAt).getTime() - new Date(a.lastSeenAt).getTime()), [sessions]);
41
39
  const [commitDestroyAllOtherSessions, loadingDestroyAllOtherSessions] = 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));
@@ -72,6 +70,5 @@ const SessionList = ({
72
70
  sessionKey: session
73
71
  }))))));
74
72
  };
75
-
76
73
  export default SessionList;
77
74
  //# sourceMappingURL=SessionList.js.map