@os-team/profile 1.1.11 → 1.1.12

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 (96) hide show
  1. package/dist/cjs/components/profile/ProfileButton.js +1 -2
  2. package/dist/cjs/components/profile/ProfileButton.js.map +1 -1
  3. package/dist/cjs/components/profile/ProfileConfigContext.js +3 -5
  4. package/dist/cjs/components/profile/ProfileConfigContext.js.map +1 -1
  5. package/dist/cjs/components/profile/ProfileContext.js +3 -5
  6. package/dist/cjs/components/profile/ProfileContext.js.map +1 -1
  7. package/dist/cjs/components/profile/ProfileDrawer.js +2 -3
  8. package/dist/cjs/components/profile/ProfileDrawer.js.map +1 -1
  9. package/dist/cjs/components/profile/ProfileDrawerContent.js +3 -4
  10. package/dist/cjs/components/profile/ProfileDrawerContent.js.map +1 -1
  11. package/dist/cjs/components/profile/ProfileNavigationItem.js +1 -2
  12. package/dist/cjs/components/profile/ProfileNavigationItem.js.map +1 -1
  13. package/dist/cjs/components/profile/ProfileUpdateNameModal.js +3 -4
  14. package/dist/cjs/components/profile/ProfileUpdateNameModal.js.map +1 -1
  15. package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js +3 -4
  16. package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js.map +1 -1
  17. package/dist/cjs/components/profile/ProtectedWrapper.js +2 -3
  18. package/dist/cjs/components/profile/ProtectedWrapper.js.map +1 -1
  19. package/dist/cjs/components/profile/UserAvatar.js +2 -3
  20. package/dist/cjs/components/profile/UserAvatar.js.map +1 -1
  21. package/dist/cjs/components/profile/UserAvatarAddon.js +1 -2
  22. package/dist/cjs/components/profile/UserAvatarAddon.js.map +1 -1
  23. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +1 -2
  24. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +1 -1
  25. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +1 -2
  26. package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +1 -1
  27. package/dist/cjs/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js +1 -2
  28. package/dist/cjs/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js.map +1 -1
  29. package/dist/cjs/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js +1 -2
  30. package/dist/cjs/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js.map +1 -1
  31. package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js +1 -2
  32. package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +1 -1
  33. package/dist/cjs/components/session/SessionDrawer.js +2 -3
  34. package/dist/cjs/components/session/SessionDrawer.js.map +1 -1
  35. package/dist/cjs/components/session/SessionDrawerContent.js +2 -3
  36. package/dist/cjs/components/session/SessionDrawerContent.js.map +1 -1
  37. package/dist/cjs/components/session/SessionList.js +6 -10
  38. package/dist/cjs/components/session/SessionList.js.map +1 -1
  39. package/dist/cjs/components/session/SessionListItem.js +7 -12
  40. package/dist/cjs/components/session/SessionListItem.js.map +1 -1
  41. package/dist/cjs/components/session/SessionListSkeleton.js +1 -2
  42. package/dist/cjs/components/session/SessionListSkeleton.js.map +1 -1
  43. package/dist/cjs/components/session/__generated__/SessionDrawerContentQuery.graphql.js +1 -2
  44. package/dist/cjs/components/session/__generated__/SessionDrawerContentQuery.graphql.js.map +1 -1
  45. package/dist/cjs/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js +1 -2
  46. package/dist/cjs/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js.map +1 -1
  47. package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js +1 -2
  48. package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js.map +1 -1
  49. package/dist/cjs/components/session/__generated__/SessionListItem_session.graphql.js +1 -2
  50. package/dist/cjs/components/session/__generated__/SessionListItem_session.graphql.js.map +1 -1
  51. package/dist/cjs/components/session/__generated__/SessionListRefetchQuery.graphql.js +1 -2
  52. package/dist/cjs/components/session/__generated__/SessionListRefetchQuery.graphql.js.map +1 -1
  53. package/dist/cjs/components/session/__generated__/SessionList_sessions.graphql.js +1 -2
  54. package/dist/cjs/components/session/__generated__/SessionList_sessions.graphql.js.map +1 -1
  55. package/dist/cjs/components/session/formatDate.js +1 -2
  56. package/dist/cjs/components/session/formatDate.js.map +1 -1
  57. package/dist/cjs/components/session/getLastSeen.js +1 -2
  58. package/dist/cjs/components/session/getLastSeen.js.map +1 -1
  59. package/dist/cjs/components/shared/ButtonUpdate.js +1 -2
  60. package/dist/cjs/components/shared/ButtonUpdate.js.map +1 -1
  61. package/dist/cjs/components/shared/ErrorResult.js +1 -2
  62. package/dist/cjs/components/shared/ErrorResult.js.map +1 -1
  63. package/dist/cjs/components/shared/FormError.js +1 -2
  64. package/dist/cjs/components/shared/FormError.js.map +1 -1
  65. package/dist/cjs/components/shared/MainLoader.js +1 -2
  66. package/dist/cjs/components/shared/MainLoader.js.map +1 -1
  67. package/dist/cjs/components/shared/icons/AndroidIcon.js +1 -2
  68. package/dist/cjs/components/shared/icons/AndroidIcon.js.map +1 -1
  69. package/dist/cjs/components/shared/icons/AppleIcon.js +1 -2
  70. package/dist/cjs/components/shared/icons/AppleIcon.js.map +1 -1
  71. package/dist/cjs/components/shared/icons/BrowserIcon.js +1 -2
  72. package/dist/cjs/components/shared/icons/BrowserIcon.js.map +1 -1
  73. package/dist/cjs/components/shared/icons/ProfileIcon.js +1 -2
  74. package/dist/cjs/components/shared/icons/ProfileIcon.js.map +1 -1
  75. package/dist/cjs/components/shared/icons/UnknownDeviceIcon.js +1 -2
  76. package/dist/cjs/components/shared/icons/UnknownDeviceIcon.js.map +1 -1
  77. package/dist/cjs/index.js +1 -1
  78. package/dist/cjs/utils/getErrorMessage.js +2 -3
  79. package/dist/cjs/utils/getErrorMessage.js.map +1 -1
  80. package/dist/cjs/utils/getUserFullName.js +1 -2
  81. package/dist/cjs/utils/getUserFullName.js.map +1 -1
  82. package/dist/cjs/utils/handleFormErrors.js +3 -5
  83. package/dist/cjs/utils/handleFormErrors.js.map +1 -1
  84. package/package.json +30 -30
  85. package/dist/cjs/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js +0 -65
  86. package/dist/cjs/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js.map +0 -1
  87. package/dist/cjs/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js +0 -80
  88. package/dist/cjs/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js.map +0 -1
  89. package/dist/esm/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js +0 -58
  90. package/dist/esm/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js.map +0 -1
  91. package/dist/esm/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js +0 -73
  92. package/dist/esm/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js.map +0 -1
  93. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts +0 -14
  94. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts.map +0 -1
  95. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts +0 -20
  96. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AndroidIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","AndroidIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/AndroidIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst AndroidIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4c-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8c-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6c-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1 1 26.9-26.9a26.97 26.97 0 0 1-26.9 26.9zm208.4 0a26.9 26.9 0 1 1 26.9-26.9a26.97 26.97 0 0 1-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z' />\n </Icon>\n));\n\nAndroidIcon.displayName = 'AndroidIcon';\n\nexport default AndroidIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,WAAW,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACxEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAA44B,CAAE,CACl5B,CAAC;AAAA,CACR,CAAC;AAEFP,WAAW,CAACQ,WAAW,GAAG,aAAa;AAAC,IAAAC,QAAA,GAEzBT,WAAW;AAAAU,OAAA,CAAAzB,OAAA,GAAAwB,QAAA"}
1
+ {"version":3,"file":"AndroidIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","AndroidIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/AndroidIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst AndroidIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4c-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8c-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6c-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1 1 26.9-26.9a26.97 26.97 0 0 1-26.9 26.9zm208.4 0a26.9 26.9 0 1 1 26.9-26.9a26.97 26.97 0 0 1-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4c30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z' />\n </Icon>\n));\n\nAndroidIcon.displayName = 'AndroidIcon';\n\nexport default AndroidIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,WAAW,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACxEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAA44B,CAAE,CACl5B,CAAC;AAAA,CACR,CAAC;AAEFP,WAAW,CAACQ,WAAW,GAAG,aAAa;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAEzBe,WAAW"}
@@ -16,6 +16,5 @@ var AppleIcon = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
16
16
  }));
17
17
  });
18
18
  AppleIcon.displayName = 'AppleIcon';
19
- var _default = AppleIcon;
20
- exports.default = _default;
19
+ var _default = exports.default = AppleIcon;
21
20
  //# sourceMappingURL=AppleIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppleIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","AppleIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/AppleIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst AppleIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5c-34.9-50-87.7-77.5-157.3-82.8c-65.9-5.2-138 38.4-164.4 38.4c-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8c23.8 68.2 109.6 235.3 199.1 232.6c46.8-1.1 79.9-33.2 140.8-33.2c59.1 0 89.7 33.2 141.9 33.2c90.3-1.3 167.9-153.2 190.5-221.6c-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7c-44.8 2.6-96.6 30.5-126.1 64.8c-32.5 36.8-51.6 82.3-47.5 133.6c48.4 3.7 92.6-21.2 129-63.7z' />\n </Icon>\n));\n\nAppleIcon.displayName = 'AppleIcon';\n\nexport default AppleIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,SAAS,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACtEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAAse,CAAE,CAC5e,CAAC;AAAA,CACR,CAAC;AAEFP,SAAS,CAACQ,WAAW,GAAG,WAAW;AAAC,IAAAC,QAAA,GAErBT,SAAS;AAAAU,OAAA,CAAAzB,OAAA,GAAAwB,QAAA"}
1
+ {"version":3,"file":"AppleIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","AppleIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/AppleIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst AppleIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5c-34.9-50-87.7-77.5-157.3-82.8c-65.9-5.2-138 38.4-164.4 38.4c-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8c23.8 68.2 109.6 235.3 199.1 232.6c46.8-1.1 79.9-33.2 140.8-33.2c59.1 0 89.7 33.2 141.9 33.2c90.3-1.3 167.9-153.2 190.5-221.6c-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7c-44.8 2.6-96.6 30.5-126.1 64.8c-32.5 36.8-51.6 82.3-47.5 133.6c48.4 3.7 92.6-21.2 129-63.7z' />\n </Icon>\n));\n\nAppleIcon.displayName = 'AppleIcon';\n\nexport default AppleIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,SAAS,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACtEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAAse,CAAE,CAC5e,CAAC;AAAA,CACR,CAAC;AAEFP,SAAS,CAACQ,WAAW,GAAG,WAAW;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAErBe,SAAS"}
@@ -16,6 +16,5 @@ var BrowserIcon = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
16
16
  }));
17
17
  });
18
18
  BrowserIcon.displayName = 'BrowserIcon';
19
- var _default = BrowserIcon;
20
- exports.default = _default;
19
+ var _default = exports.default = BrowserIcon;
21
20
  //# sourceMappingURL=BrowserIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","BrowserIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/BrowserIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst BrowserIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512S589.5 371.8 512 371.8S371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2c180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0 0 96 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7C653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z' />\n </Icon>\n));\n\nBrowserIcon.displayName = 'BrowserIcon';\n\nexport default BrowserIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,WAAW,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACxEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAAwgB,CAAE,CAC9gB,CAAC;AAAA,CACR,CAAC;AAEFP,WAAW,CAACQ,WAAW,GAAG,aAAa;AAAC,IAAAC,QAAA,GAEzBT,WAAW;AAAAU,OAAA,CAAAzB,OAAA,GAAAwB,QAAA"}
1
+ {"version":3,"file":"BrowserIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","BrowserIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/BrowserIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst BrowserIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512S589.5 371.8 512 371.8S371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2c180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0 0 96 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7C653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z' />\n </Icon>\n));\n\nBrowserIcon.displayName = 'BrowserIcon';\n\nexport default BrowserIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,WAAW,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACxEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAAwgB,CAAE,CAC9gB,CAAC;AAAA,CACR,CAAC;AAEFP,WAAW,CAACQ,WAAW,GAAG,aAAa;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAEzBe,WAAW"}
@@ -16,6 +16,5 @@ var ProfileIcon = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
16
16
  }));
17
17
  });
18
18
  ProfileIcon.displayName = 'ProfileIcon';
19
- var _default = ProfileIcon;
20
- exports.default = _default;
19
+ var _default = exports.default = ProfileIcon;
21
20
  //# sourceMappingURL=ProfileIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","ProfileIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/ProfileIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst ProfileIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52s51.7-23.3 51.7-52s-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5c-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 0 1-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 0 1-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5c42.7 26.5 71.8 72.8 74.6 126.1c.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z' />\n </Icon>\n));\n\nProfileIcon.displayName = 'ProfileIcon';\n\nexport default ProfileIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,WAAW,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACxEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAA8sB,CAAE,CACptB,CAAC;AAAA,CACR,CAAC;AAEFP,WAAW,CAACQ,WAAW,GAAG,aAAa;AAAC,IAAAC,QAAA,GAEzBT,WAAW;AAAAU,OAAA,CAAAzB,OAAA,GAAAwB,QAAA"}
1
+ {"version":3,"file":"ProfileIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","ProfileIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/ProfileIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst ProfileIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52s51.7-23.3 51.7-52s-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5c-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 0 1-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 0 1-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5c42.7 26.5 71.8 72.8 74.6 126.1c.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z' />\n </Icon>\n));\n\nProfileIcon.displayName = 'ProfileIcon';\n\nexport default ProfileIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,WAAW,gBAAGC,cAAK,CAACC,UAAU,CAA2B,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACxEzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAA8sB,CAAE,CACptB,CAAC;AAAA,CACR,CAAC;AAEFP,WAAW,CAACQ,WAAW,GAAG,aAAa;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAEzBe,WAAW"}
@@ -16,6 +16,5 @@ var UnknownDeviceIcon = /*#__PURE__*/_react.default.forwardRef(function (props,
16
16
  }));
17
17
  });
18
18
  UnknownDeviceIcon.displayName = 'UnknownDeviceIcon';
19
- var _default = UnknownDeviceIcon;
20
- exports.default = _default;
19
+ var _default = exports.default = UnknownDeviceIcon;
21
20
  //# sourceMappingURL=UnknownDeviceIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnknownDeviceIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","UnknownDeviceIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/UnknownDeviceIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst UnknownDeviceIcon = React.forwardRef<SVGSVGElement, IconProps>(\n (props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7c-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2c-27.2 31.7-65.6 54.4-108.1 64c-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 0 0-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9c58.4-13.2 111.4-44.7 149.3-88.7c19.1-22.3 34-47.1 44.3-74c10.7-27.9 16.1-57.2 16.1-87c0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56s56-25.1 56-56s-25.1-56-56-56z' />\n </Icon>\n )\n);\n\nUnknownDeviceIcon.displayName = 'UnknownDeviceIcon';\n\nexport default UnknownDeviceIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,iBAAiB,gBAAGC,cAAK,CAACC,UAAU,CACxC,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACTzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAAioB,CAAE,CACvoB,CAAC;AAAA,CAEX,CAAC;AAEDP,iBAAiB,CAACQ,WAAW,GAAG,mBAAmB;AAAC,IAAAC,QAAA,GAErCT,iBAAiB;AAAAU,OAAA,CAAAzB,OAAA,GAAAwB,QAAA"}
1
+ {"version":3,"file":"UnknownDeviceIcon.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","UnknownDeviceIcon","React","forwardRef","props","ref","createElement","Icon","d","displayName","_default","exports"],"sources":["../../../../../src/lib/components/shared/icons/UnknownDeviceIcon.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon, IconProps } from '@os-design/icons';\n\nconst UnknownDeviceIcon = React.forwardRef<SVGSVGElement, IconProps>(\n (props, ref) => (\n <Icon {...props} ref={ref}>\n <path d='M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7c-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2c-27.2 31.7-65.6 54.4-108.1 64c-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 0 0-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9c58.4-13.2 111.4-44.7 149.3-88.7c19.1-22.3 34-47.1 44.3-74c10.7-27.9 16.1-57.2 16.1-87c0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56s56-25.1 56-56s-25.1-56-56-56z' />\n </Icon>\n )\n);\n\nUnknownDeviceIcon.displayName = 'UnknownDeviceIcon';\n\nexport default UnknownDeviceIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAmD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAEnD,IAAMQ,iBAAiB,gBAAGC,cAAK,CAACC,UAAU,CACxC,UAACC,KAAK,EAAEC,GAAG;EAAA,oBACTzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAACvB,MAAA,CAAAwB,IAAI,EAAApB,QAAA,KAAKiB,KAAK;IAAEC,GAAG,EAAEA;EAAI,iBACxBzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA;IAAME,CAAC,EAAC;EAAioB,CAAE,CACvoB,CAAC;AAAA,CAEX,CAAC;AAEDP,iBAAiB,CAACQ,WAAW,GAAG,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAErCe,iBAAiB"}
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
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); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- 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); }
7
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
8
8
  /* eslint-disable @typescript-eslint/no-explicit-any */
9
9
 
10
10
  var isObject = function isObject(value) {
@@ -38,6 +38,5 @@ var getErrorMessage = function getErrorMessage(error) {
38
38
  }
39
39
  return firstConstraint.message;
40
40
  };
41
- var _default = getErrorMessage;
42
- exports.default = _default;
41
+ var _default = exports.default = getErrorMessage;
43
42
  //# sourceMappingURL=getErrorMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getErrorMessage.js","names":["isObject","value","_typeof","Array","isArray","DEFAULT_MESSAGE","getErrorMessage","error","source","_error$message","message","errors","length","firstError","extensions","constraints","constraintKeys","Object","keys","firstKey","firstConstraint","_default","exports","default"],"sources":["../../../src/lib/utils/getErrorMessage.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nconst isObject = (value: any) =>\n typeof value === 'object' && !Array.isArray(value) && value !== null;\n\nconst DEFAULT_MESSAGE = 'Error';\n\nconst getErrorMessage = (error: any) => {\n if (!isObject(error)) return DEFAULT_MESSAGE;\n\n const { source } = error;\n let { message = DEFAULT_MESSAGE } = error;\n if (\n !isObject(source) ||\n !Array.isArray(source.errors) ||\n source.errors.length === 0\n ) {\n return message;\n }\n\n const firstError = source.errors[0];\n if (!isObject(firstError)) {\n return message;\n }\n\n message = firstError.message || message;\n if (\n !isObject(firstError.extensions) ||\n !isObject(firstError.extensions.constraints)\n ) {\n return message;\n }\n\n const constraintKeys = Object.keys(firstError.extensions.constraints);\n if (constraintKeys.length === 0) {\n return message;\n }\n\n const firstKey = constraintKeys[0];\n const firstConstraint = firstError.extensions.constraints[firstKey];\n if (\n !isObject(firstConstraint) ||\n typeof firstConstraint.message !== 'string'\n ) {\n return message;\n }\n\n return firstConstraint.message;\n};\n\nexport default getErrorMessage;\n"],"mappings":";;;;;;;AAAA;;AAEA,IAAMA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,KAAU;EAAA,OAC1BC,OAAA,CAAOD,KAAK,MAAK,QAAQ,IAAI,CAACE,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC,IAAIA,KAAK,KAAK,IAAI;AAAA;AAEtE,IAAMI,eAAe,GAAG,OAAO;AAE/B,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,KAAU,EAAK;EACtC,IAAI,CAACP,QAAQ,CAACO,KAAK,CAAC,EAAE,OAAOF,eAAe;EAE5C,IAAQG,MAAM,GAAKD,KAAK,CAAhBC,MAAM;EACd,IAAAC,cAAA,GAAoCF,KAAK,CAAnCG,OAAO;IAAPA,OAAO,GAAAD,cAAA,cAAGJ,eAAe,GAAAI,cAAA;EAC/B,IACE,CAACT,QAAQ,CAACQ,MAAM,CAAC,IACjB,CAACL,KAAK,CAACC,OAAO,CAACI,MAAM,CAACG,MAAM,CAAC,IAC7BH,MAAM,CAACG,MAAM,CAACC,MAAM,KAAK,CAAC,EAC1B;IACA,OAAOF,OAAO;EAChB;EAEA,IAAMG,UAAU,GAAGL,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC;EACnC,IAAI,CAACX,QAAQ,CAACa,UAAU,CAAC,EAAE;IACzB,OAAOH,OAAO;EAChB;EAEAA,OAAO,GAAGG,UAAU,CAACH,OAAO,IAAIA,OAAO;EACvC,IACE,CAACV,QAAQ,CAACa,UAAU,CAACC,UAAU,CAAC,IAChC,CAACd,QAAQ,CAACa,UAAU,CAACC,UAAU,CAACC,WAAW,CAAC,EAC5C;IACA,OAAOL,OAAO;EAChB;EAEA,IAAMM,cAAc,GAAGC,MAAM,CAACC,IAAI,CAACL,UAAU,CAACC,UAAU,CAACC,WAAW,CAAC;EACrE,IAAIC,cAAc,CAACJ,MAAM,KAAK,CAAC,EAAE;IAC/B,OAAOF,OAAO;EAChB;EAEA,IAAMS,QAAQ,GAAGH,cAAc,CAAC,CAAC,CAAC;EAClC,IAAMI,eAAe,GAAGP,UAAU,CAACC,UAAU,CAACC,WAAW,CAACI,QAAQ,CAAC;EACnE,IACE,CAACnB,QAAQ,CAACoB,eAAe,CAAC,IAC1B,OAAOA,eAAe,CAACV,OAAO,KAAK,QAAQ,EAC3C;IACA,OAAOA,OAAO;EAChB;EAEA,OAAOU,eAAe,CAACV,OAAO;AAChC,CAAC;AAAC,IAAAW,QAAA,GAEaf,eAAe;AAAAgB,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"file":"getErrorMessage.js","names":["isObject","value","_typeof","Array","isArray","DEFAULT_MESSAGE","getErrorMessage","error","source","_error$message","message","errors","length","firstError","extensions","constraints","constraintKeys","Object","keys","firstKey","firstConstraint","_default","exports","default"],"sources":["../../../src/lib/utils/getErrorMessage.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nconst isObject = (value: any) =>\n typeof value === 'object' && !Array.isArray(value) && value !== null;\n\nconst DEFAULT_MESSAGE = 'Error';\n\nconst getErrorMessage = (error: any) => {\n if (!isObject(error)) return DEFAULT_MESSAGE;\n\n const { source } = error;\n let { message = DEFAULT_MESSAGE } = error;\n if (\n !isObject(source) ||\n !Array.isArray(source.errors) ||\n source.errors.length === 0\n ) {\n return message;\n }\n\n const firstError = source.errors[0];\n if (!isObject(firstError)) {\n return message;\n }\n\n message = firstError.message || message;\n if (\n !isObject(firstError.extensions) ||\n !isObject(firstError.extensions.constraints)\n ) {\n return message;\n }\n\n const constraintKeys = Object.keys(firstError.extensions.constraints);\n if (constraintKeys.length === 0) {\n return message;\n }\n\n const firstKey = constraintKeys[0];\n const firstConstraint = firstError.extensions.constraints[firstKey];\n if (\n !isObject(firstConstraint) ||\n typeof firstConstraint.message !== 'string'\n ) {\n return message;\n }\n\n return firstConstraint.message;\n};\n\nexport default getErrorMessage;\n"],"mappings":";;;;;;;AAAA;;AAEA,IAAMA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,KAAU;EAAA,OAC1BC,OAAA,CAAOD,KAAK,MAAK,QAAQ,IAAI,CAACE,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC,IAAIA,KAAK,KAAK,IAAI;AAAA;AAEtE,IAAMI,eAAe,GAAG,OAAO;AAE/B,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,KAAU,EAAK;EACtC,IAAI,CAACP,QAAQ,CAACO,KAAK,CAAC,EAAE,OAAOF,eAAe;EAE5C,IAAQG,MAAM,GAAKD,KAAK,CAAhBC,MAAM;EACd,IAAAC,cAAA,GAAoCF,KAAK,CAAnCG,OAAO;IAAPA,OAAO,GAAAD,cAAA,cAAGJ,eAAe,GAAAI,cAAA;EAC/B,IACE,CAACT,QAAQ,CAACQ,MAAM,CAAC,IACjB,CAACL,KAAK,CAACC,OAAO,CAACI,MAAM,CAACG,MAAM,CAAC,IAC7BH,MAAM,CAACG,MAAM,CAACC,MAAM,KAAK,CAAC,EAC1B;IACA,OAAOF,OAAO;EAChB;EAEA,IAAMG,UAAU,GAAGL,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC;EACnC,IAAI,CAACX,QAAQ,CAACa,UAAU,CAAC,EAAE;IACzB,OAAOH,OAAO;EAChB;EAEAA,OAAO,GAAGG,UAAU,CAACH,OAAO,IAAIA,OAAO;EACvC,IACE,CAACV,QAAQ,CAACa,UAAU,CAACC,UAAU,CAAC,IAChC,CAACd,QAAQ,CAACa,UAAU,CAACC,UAAU,CAACC,WAAW,CAAC,EAC5C;IACA,OAAOL,OAAO;EAChB;EAEA,IAAMM,cAAc,GAAGC,MAAM,CAACC,IAAI,CAACL,UAAU,CAACC,UAAU,CAACC,WAAW,CAAC;EACrE,IAAIC,cAAc,CAACJ,MAAM,KAAK,CAAC,EAAE;IAC/B,OAAOF,OAAO;EAChB;EAEA,IAAMS,QAAQ,GAAGH,cAAc,CAAC,CAAC,CAAC;EAClC,IAAMI,eAAe,GAAGP,UAAU,CAACC,UAAU,CAACC,WAAW,CAACI,QAAQ,CAAC;EACnE,IACE,CAACnB,QAAQ,CAACoB,eAAe,CAAC,IAC1B,OAAOA,eAAe,CAACV,OAAO,KAAK,QAAQ,EAC3C;IACA,OAAOA,OAAO;EAChB;EAEA,OAAOU,eAAe,CAACV,OAAO;AAChC,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEajB,eAAe"}
@@ -13,6 +13,5 @@ var getUserFullName = function getUserFullName(_ref) {
13
13
  if (lastName) parts.push(lastName);
14
14
  return parts.length > 0 ? parts.join(' ') : email;
15
15
  };
16
- var _default = getUserFullName;
17
- exports.default = _default;
16
+ var _default = exports.default = getUserFullName;
18
17
  //# sourceMappingURL=getUserFullName.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserFullName.js","names":["getUserFullName","_ref","email","firstName","lastName","parts","push","length","join","_default","exports","default"],"sources":["../../../src/lib/utils/getUserFullName.ts"],"sourcesContent":["export interface User {\n email: string;\n firstName: string | null;\n lastName: string | null;\n}\n\nconst getUserFullName = ({ email, firstName, lastName }: User): string => {\n const parts: string[] = [];\n if (firstName) parts.push(firstName);\n if (lastName) parts.push(lastName);\n return parts.length > 0 ? parts.join(' ') : email;\n};\n\nexport default getUserFullName;\n"],"mappings":";;;;;;AAMA,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EAAqD;EAAA,IAA/CC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,SAAS,GAAAF,IAAA,CAATE,SAAS;IAAEC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;EACnD,IAAMC,KAAe,GAAG,EAAE;EAC1B,IAAIF,SAAS,EAAEE,KAAK,CAACC,IAAI,CAACH,SAAS,CAAC;EACpC,IAAIC,QAAQ,EAAEC,KAAK,CAACC,IAAI,CAACF,QAAQ,CAAC;EAClC,OAAOC,KAAK,CAACE,MAAM,GAAG,CAAC,GAAGF,KAAK,CAACG,IAAI,CAAC,GAAG,CAAC,GAAGN,KAAK;AACnD,CAAC;AAAC,IAAAO,QAAA,GAEaT,eAAe;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"file":"getUserFullName.js","names":["getUserFullName","_ref","email","firstName","lastName","parts","push","length","join","_default","exports","default"],"sources":["../../../src/lib/utils/getUserFullName.ts"],"sourcesContent":["export interface User {\n email: string;\n firstName: string | null;\n lastName: string | null;\n}\n\nconst getUserFullName = ({ email, firstName, lastName }: User): string => {\n const parts: string[] = [];\n if (firstName) parts.push(firstName);\n if (lastName) parts.push(lastName);\n return parts.length > 0 ? parts.join(' ') : email;\n};\n\nexport default getUserFullName;\n"],"mappings":";;;;;;AAMA,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EAAqD;EAAA,IAA/CC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,SAAS,GAAAF,IAAA,CAATE,SAAS;IAAEC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;EACnD,IAAMC,KAAe,GAAG,EAAE;EAC1B,IAAIF,SAAS,EAAEE,KAAK,CAACC,IAAI,CAACH,SAAS,CAAC;EACpC,IAAIC,QAAQ,EAAEC,KAAK,CAACC,IAAI,CAACF,QAAQ,CAAC;EAClC,OAAOC,KAAK,CAACE,MAAM,GAAG,CAAC,GAAGF,KAAK,CAACG,IAAI,CAAC,GAAG,CAAC,GAAGN,KAAK;AACnD,CAAC;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaX,eAAe"}
@@ -8,12 +8,12 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
8
8
  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."); }
9
9
  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); }
10
10
  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; }
11
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  /* eslint-disable @typescript-eslint/no-explicit-any */
14
14
 
15
15
  var NO_CONSTRAINTS = {};
16
- var getErrorConstraints = function getErrorConstraints(error) {
16
+ var getErrorConstraints = exports.getErrorConstraints = function getErrorConstraints(error) {
17
17
  var e = error;
18
18
  if (!e.source || !Array.isArray(e.source.errors) || e.source.errors.length === 0 || !e.source.errors[0].extensions || !e.source.errors[0].extensions.code) {
19
19
  return NO_CONSTRAINTS;
@@ -23,7 +23,6 @@ var getErrorConstraints = function getErrorConstraints(error) {
23
23
  }
24
24
  return e.source.errors[0].extensions.constraints;
25
25
  };
26
- exports.getErrorConstraints = getErrorConstraints;
27
26
  var handleFormErrors = function handleFormErrors(form, error) {
28
27
  var e = error;
29
28
  if (!e.source || !Array.isArray(e.source.errors) || e.source.errors.length === 0 || !e.source.errors[0].extensions || !e.source.errors[0].extensions.code) {
@@ -42,6 +41,5 @@ var handleFormErrors = function handleFormErrors(form, error) {
42
41
  form.errors.set('_error', e.source.errors[0].message);
43
42
  }
44
43
  };
45
- var _default = handleFormErrors;
46
- exports.default = _default;
44
+ var _default = exports.default = handleFormErrors;
47
45
  //# sourceMappingURL=handleFormErrors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"handleFormErrors.js","names":["NO_CONSTRAINTS","getErrorConstraints","error","e","source","Array","isArray","errors","length","extensions","code","constraints","exports","handleFormErrors","form","set","message","Object","entries","forEach","_ref","_ref2","_slicedToArray","fieldName","_default","default"],"sources":["../../../src/lib/utils/handleFormErrors.ts"],"sourcesContent":["import { Form } from '@os-design/form';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\ninterface Constraint {\n name: string;\n message: string;\n}\n\nconst NO_CONSTRAINTS = {};\n\nexport const getErrorConstraints = (\n error: Error\n): Record<string, Constraint> => {\n const e = error as any;\n\n if (\n !e.source ||\n !Array.isArray(e.source.errors) ||\n e.source.errors.length === 0 ||\n !e.source.errors[0].extensions ||\n !e.source.errors[0].extensions.code\n ) {\n return NO_CONSTRAINTS;\n }\n if (e.source.errors[0].extensions.code !== 'BAD_ARGUMENTS') {\n return NO_CONSTRAINTS;\n }\n\n return e.source.errors[0].extensions.constraints;\n};\n\nconst handleFormErrors = (form: Form<any>, error: Error): void => {\n const e = error as any;\n\n if (\n !e.source ||\n !Array.isArray(e.source.errors) ||\n e.source.errors.length === 0 ||\n !e.source.errors[0].extensions ||\n !e.source.errors[0].extensions.code\n ) {\n form.errors.set('_error', e.message);\n return;\n }\n\n if (e.source.errors[0].extensions.code === 'BAD_ARGUMENTS') {\n const constraints = getErrorConstraints(error);\n Object.entries(constraints).forEach(([fieldName, { message }]) => {\n form.errors.set(fieldName, message);\n });\n } else {\n form.errors.set('_error', e.source.errors[0].message);\n }\n};\n\nexport default handleFormErrors;\n"],"mappings":";;;;;;;;;;;;AAEA;;AAOA,IAAMA,cAAc,GAAG,CAAC,CAAC;AAElB,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAC9BC,KAAY,EACmB;EAC/B,IAAMC,CAAC,GAAGD,KAAY;EAEtB,IACE,CAACC,CAAC,CAACC,MAAM,IACT,CAACC,KAAK,CAACC,OAAO,CAACH,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,IAC/BJ,CAAC,CAACC,MAAM,CAACG,MAAM,CAACC,MAAM,KAAK,CAAC,IAC5B,CAACL,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,IAC9B,CAACN,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,EACnC;IACA,OAAOV,cAAc;EACvB;EACA,IAAIG,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,KAAK,eAAe,EAAE;IAC1D,OAAOV,cAAc;EACvB;EAEA,OAAOG,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACE,WAAW;AAClD,CAAC;AAACC,OAAA,CAAAX,mBAAA,GAAAA,mBAAA;AAEF,IAAMY,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAe,EAAEZ,KAAY,EAAW;EAChE,IAAMC,CAAC,GAAGD,KAAY;EAEtB,IACE,CAACC,CAAC,CAACC,MAAM,IACT,CAACC,KAAK,CAACC,OAAO,CAACH,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,IAC/BJ,CAAC,CAACC,MAAM,CAACG,MAAM,CAACC,MAAM,KAAK,CAAC,IAC5B,CAACL,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,IAC9B,CAACN,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,EACnC;IACAI,IAAI,CAACP,MAAM,CAACQ,GAAG,CAAC,QAAQ,EAAEZ,CAAC,CAACa,OAAO,CAAC;IACpC;EACF;EAEA,IAAIb,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,KAAK,eAAe,EAAE;IAC1D,IAAMC,WAAW,GAAGV,mBAAmB,CAACC,KAAK,CAAC;IAC9Ce,MAAM,CAACC,OAAO,CAACP,WAAW,CAAC,CAACQ,OAAO,CAAC,UAAAC,IAAA,EAA8B;MAAA,IAAAC,KAAA,GAAAC,cAAA,CAAAF,IAAA;QAA5BG,SAAS,GAAAF,KAAA;QAAIL,OAAO,GAAAK,KAAA,IAAPL,OAAO;MACxDF,IAAI,CAACP,MAAM,CAACQ,GAAG,CAACQ,SAAS,EAAEP,OAAO,CAAC;IACrC,CAAC,CAAC;EACJ,CAAC,MAAM;IACLF,IAAI,CAACP,MAAM,CAACQ,GAAG,CAAC,QAAQ,EAAEZ,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACS,OAAO,CAAC;EACvD;AACF,CAAC;AAAC,IAAAQ,QAAA,GAEaX,gBAAgB;AAAAD,OAAA,CAAAa,OAAA,GAAAD,QAAA"}
1
+ {"version":3,"file":"handleFormErrors.js","names":["NO_CONSTRAINTS","getErrorConstraints","exports","error","e","source","Array","isArray","errors","length","extensions","code","constraints","handleFormErrors","form","set","message","Object","entries","forEach","_ref","_ref2","_slicedToArray","fieldName","_default","default"],"sources":["../../../src/lib/utils/handleFormErrors.ts"],"sourcesContent":["import { Form } from '@os-design/form';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\ninterface Constraint {\n name: string;\n message: string;\n}\n\nconst NO_CONSTRAINTS = {};\n\nexport const getErrorConstraints = (\n error: Error\n): Record<string, Constraint> => {\n const e = error as any;\n\n if (\n !e.source ||\n !Array.isArray(e.source.errors) ||\n e.source.errors.length === 0 ||\n !e.source.errors[0].extensions ||\n !e.source.errors[0].extensions.code\n ) {\n return NO_CONSTRAINTS;\n }\n if (e.source.errors[0].extensions.code !== 'BAD_ARGUMENTS') {\n return NO_CONSTRAINTS;\n }\n\n return e.source.errors[0].extensions.constraints;\n};\n\nconst handleFormErrors = (form: Form<any>, error: Error): void => {\n const e = error as any;\n\n if (\n !e.source ||\n !Array.isArray(e.source.errors) ||\n e.source.errors.length === 0 ||\n !e.source.errors[0].extensions ||\n !e.source.errors[0].extensions.code\n ) {\n form.errors.set('_error', e.message);\n return;\n }\n\n if (e.source.errors[0].extensions.code === 'BAD_ARGUMENTS') {\n const constraints = getErrorConstraints(error);\n Object.entries(constraints).forEach(([fieldName, { message }]) => {\n form.errors.set(fieldName, message);\n });\n } else {\n form.errors.set('_error', e.source.errors[0].message);\n }\n};\n\nexport default handleFormErrors;\n"],"mappings":";;;;;;;;;;;;AAEA;;AAOA,IAAMA,cAAc,GAAG,CAAC,CAAC;AAElB,IAAMC,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,SAAtBA,mBAAmBA,CAC9BE,KAAY,EACmB;EAC/B,IAAMC,CAAC,GAAGD,KAAY;EAEtB,IACE,CAACC,CAAC,CAACC,MAAM,IACT,CAACC,KAAK,CAACC,OAAO,CAACH,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,IAC/BJ,CAAC,CAACC,MAAM,CAACG,MAAM,CAACC,MAAM,KAAK,CAAC,IAC5B,CAACL,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,IAC9B,CAACN,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,EACnC;IACA,OAAOX,cAAc;EACvB;EACA,IAAII,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,KAAK,eAAe,EAAE;IAC1D,OAAOX,cAAc;EACvB;EAEA,OAAOI,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACE,WAAW;AAClD,CAAC;AAED,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAe,EAAEX,KAAY,EAAW;EAChE,IAAMC,CAAC,GAAGD,KAAY;EAEtB,IACE,CAACC,CAAC,CAACC,MAAM,IACT,CAACC,KAAK,CAACC,OAAO,CAACH,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,IAC/BJ,CAAC,CAACC,MAAM,CAACG,MAAM,CAACC,MAAM,KAAK,CAAC,IAC5B,CAACL,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,IAC9B,CAACN,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,EACnC;IACAG,IAAI,CAACN,MAAM,CAACO,GAAG,CAAC,QAAQ,EAAEX,CAAC,CAACY,OAAO,CAAC;IACpC;EACF;EAEA,IAAIZ,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,UAAU,CAACC,IAAI,KAAK,eAAe,EAAE;IAC1D,IAAMC,WAAW,GAAGX,mBAAmB,CAACE,KAAK,CAAC;IAC9Cc,MAAM,CAACC,OAAO,CAACN,WAAW,CAAC,CAACO,OAAO,CAAC,UAAAC,IAAA,EAA8B;MAAA,IAAAC,KAAA,GAAAC,cAAA,CAAAF,IAAA;QAA5BG,SAAS,GAAAF,KAAA;QAAIL,OAAO,GAAAK,KAAA,IAAPL,OAAO;MACxDF,IAAI,CAACN,MAAM,CAACO,GAAG,CAACQ,SAAS,EAAEP,OAAO,CAAC;IACrC,CAAC,CAAC;EACJ,CAAC,MAAM;IACLF,IAAI,CAACN,MAAM,CAACO,GAAG,CAAC,QAAQ,EAAEX,CAAC,CAACC,MAAM,CAACG,MAAM,CAAC,CAAC,CAAC,CAACQ,OAAO,CAAC;EACvD;AACF,CAAC;AAAC,IAAAQ,QAAA,GAAAtB,OAAA,CAAAuB,OAAA,GAEaZ,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-team/profile",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/profile.git",
6
6
  "main": "dist/cjs/index.js",
@@ -35,8 +35,8 @@
35
35
  "registry": "https://registry.npmjs.org"
36
36
  },
37
37
  "dependencies": {
38
- "@os-design/core": "^1.0.215",
39
- "@os-design/form": "^1.0.47",
38
+ "@os-design/core": "^1.0.220",
39
+ "@os-design/form": "^1.0.53",
40
40
  "@os-design/icons": "^1.0.55",
41
41
  "@os-design/media": "^1.0.24",
42
42
  "@os-design/styles": "^1.0.52",
@@ -45,61 +45,61 @@
45
45
  "@os-team/plural-forms": "^1.0.12"
46
46
  },
47
47
  "devDependencies": {
48
- "@babel/cli": "^7.22.10",
49
- "@babel/core": "^7.22.10",
48
+ "@babel/cli": "^7.23.0",
49
+ "@babel/core": "^7.23.0",
50
50
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
51
- "@babel/preset-env": "^7.22.10",
52
- "@babel/preset-react": "^7.22.5",
53
- "@babel/preset-typescript": "^7.22.5",
51
+ "@babel/preset-env": "^7.22.20",
52
+ "@babel/preset-react": "^7.22.15",
53
+ "@babel/preset-typescript": "^7.23.0",
54
54
  "@emotion/react": "^11.11.1",
55
55
  "@emotion/serialize": "^1.1.2",
56
56
  "@emotion/styled": "^11.11.0",
57
57
  "@os-team/prettier-config": "1.1.11",
58
58
  "@os-team/relay-network-creator": "^1.2.17",
59
59
  "@os-team/relay-network-mw-upload": "^1.2.16",
60
- "@types/jest": "^29.5.3",
61
- "@types/node": "^20.5.0",
62
- "@types/react": "^18.2.20",
63
- "@types/react-dom": "^18.2.7",
64
- "@types/react-relay": "^14.1.4",
60
+ "@types/jest": "^29.5.5",
61
+ "@types/node": "^20.8.0",
62
+ "@types/react": "^18.2.24",
63
+ "@types/react-dom": "^18.2.8",
64
+ "@types/react-relay": "^14.1.6",
65
65
  "@types/react-router-dom": "^5.3.3",
66
- "@typescript-eslint/eslint-plugin": "^6.4.0",
67
- "@typescript-eslint/parser": "^6.4.0",
66
+ "@typescript-eslint/eslint-plugin": "^6.7.3",
67
+ "@typescript-eslint/parser": "^6.7.3",
68
68
  "babel-plugin-relay": "^15.0.0",
69
69
  "cross-env": "^7.0.3",
70
- "eslint": "^8.47.0",
70
+ "eslint": "^8.50.0",
71
71
  "eslint-config-os-team-react": "1.1.46",
72
- "eslint-plugin-import": "^2.28.0",
73
- "eslint-plugin-jest": "^27.2.3",
72
+ "eslint-plugin-import": "^2.28.1",
73
+ "eslint-plugin-jest": "^27.4.2",
74
74
  "eslint-plugin-jsx-a11y": "^6.7.1",
75
75
  "eslint-plugin-promise": "^6.1.1",
76
- "eslint-plugin-react": "^7.33.1",
76
+ "eslint-plugin-react": "^7.33.2",
77
77
  "eslint-plugin-react-hooks": "^4.6.0",
78
78
  "get-graphql-schema": "^2.1.2",
79
- "graphql": "^16.8.0",
79
+ "graphql": "^16.8.1",
80
80
  "husky": "^8.0.3",
81
- "i18next": "^23.4.4",
81
+ "i18next": "^23.5.1",
82
82
  "i18next-browser-languagedetector": "^7.1.0",
83
- "i18next-http-backend": "^2.2.1",
83
+ "i18next-http-backend": "^2.2.2",
84
84
  "lazysizes": "^5.3.2",
85
- "lint-staged": "^14.0.0",
85
+ "lint-staged": "^14.0.1",
86
86
  "npm-run-all": "^4.1.5",
87
- "prettier": "3.0.1",
87
+ "prettier": "3.0.3",
88
88
  "progress-bar-webpack-plugin": "^2.1.0",
89
89
  "react": "^18.2.0",
90
90
  "react-app-rewired": "^2.2.1",
91
91
  "react-dom": "^18.2.0",
92
- "react-i18next": "^13.1.2",
92
+ "react-i18next": "^13.2.2",
93
93
  "react-relay": "^15.0.0",
94
- "react-router-dom": "^6.15.0",
94
+ "react-router-dom": "^6.16.0",
95
95
  "react-scripts": "^5.0.1",
96
96
  "react-test-renderer": "^18.2.0",
97
97
  "relay-compiler": "^15.0.0",
98
98
  "relay-runtime": "^15.0.0",
99
- "release-it": "^16.1.5",
100
- "rimraf": "^5.0.1",
101
- "typescript": "^5.1.6",
102
- "webpack-bundle-analyzer": "^4.9.0"
99
+ "release-it": "^16.2.1",
100
+ "rimraf": "^5.0.5",
101
+ "typescript": "^5.2.2",
102
+ "webpack-bundle-analyzer": "^4.9.1"
103
103
  },
104
104
  "peerDependencies": {
105
105
  "@emotion/react": ">=11",
@@ -1,65 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>
9
- * @lightSyntaxTransform
10
- * @nogrep
11
- */
12
-
13
- /* tslint:disable */
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
- var node = function () {
18
- var v0 = [{
19
- "alias": null,
20
- "args": null,
21
- "concreteType": "StatusPayload",
22
- "kind": "LinkedField",
23
- "name": "signOut",
24
- "plural": false,
25
- "selections": [{
26
- "alias": null,
27
- "args": null,
28
- "kind": "ScalarField",
29
- "name": "ok",
30
- "storageKey": null
31
- }],
32
- "storageKey": null
33
- }];
34
- return {
35
- "fragment": {
36
- "argumentDefinitions": [],
37
- "kind": "Fragment",
38
- "metadata": null,
39
- "name": "ProfileDrawerSignOutMutation",
40
- "selections": v0 /*: any*/,
41
- "type": "Mutation",
42
- "abstractKey": null
43
- },
44
- "kind": "Request",
45
- "operation": {
46
- "argumentDefinitions": [],
47
- "kind": "Operation",
48
- "name": "ProfileDrawerSignOutMutation",
49
- "selections": v0 /*: any*/
50
- },
51
-
52
- "params": {
53
- "cacheID": "79648ed72d7cb7d656929f005dbf8371",
54
- "id": null,
55
- "metadata": {},
56
- "name": "ProfileDrawerSignOutMutation",
57
- "operationKind": "mutation",
58
- "text": "mutation ProfileDrawerSignOutMutation {\n signOut {\n ok\n }\n}\n"
59
- }
60
- };
61
- }();
62
- node.hash = "8510e6462e8f7839ce100254080ba293";
63
- var _default = node;
64
- exports.default = _default;
65
- //# sourceMappingURL=ProfileDrawerSignOutMutation.graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileDrawerSignOutMutation.graphql.js","names":["node","v0","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type ProfileDrawerSignOutMutation$variables = {};\nexport type ProfileDrawerSignOutMutation$data = {\n readonly signOut: {\n readonly ok: boolean;\n };\n};\nexport type ProfileDrawerSignOutMutation = {\n variables: ProfileDrawerSignOutMutation$variables;\n response: ProfileDrawerSignOutMutation$data;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"StatusPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"signOut\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ok\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"79648ed72d7cb7d656929f005dbf8371\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerSignOutMutation {\\n signOut {\\n ok\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"8510e6462e8f7839ce100254080ba293\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAcA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,eAAe;IAC/B,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,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,8BAA8B;MACtC,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,8BAA8B;MACtC,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,8BAA8B;MACtC,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAEzCH,IAAI;AAAAI,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * @generated SignedSource<<55ec946240339a8ef48835cf36146b25>>
9
- * @lightSyntaxTransform
10
- * @nogrep
11
- */
12
-
13
- /* tslint:disable */
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
- var node = function () {
18
- var v0 = [{
19
- "defaultValue": null,
20
- "kind": "LocalArgument",
21
- "name": "input"
22
- }],
23
- v1 = [{
24
- "alias": null,
25
- "args": [{
26
- "kind": "Variable",
27
- "name": "input",
28
- "variableName": "input"
29
- }],
30
- "concreteType": "User",
31
- "kind": "LinkedField",
32
- "name": "updateAvatar",
33
- "plural": false,
34
- "selections": [{
35
- "alias": null,
36
- "args": null,
37
- "kind": "ScalarField",
38
- "name": "id",
39
- "storageKey": null
40
- }, {
41
- "alias": null,
42
- "args": null,
43
- "kind": "ScalarField",
44
- "name": "avatar",
45
- "storageKey": null
46
- }],
47
- "storageKey": null
48
- }];
49
- return {
50
- "fragment": {
51
- "argumentDefinitions": v0 /*: any*/,
52
- "kind": "Fragment",
53
- "metadata": null,
54
- "name": "ProfileDrawerUpdateAvatarMutation",
55
- "selections": v1 /*: any*/,
56
- "type": "Mutation",
57
- "abstractKey": null
58
- },
59
- "kind": "Request",
60
- "operation": {
61
- "argumentDefinitions": v0 /*: any*/,
62
- "kind": "Operation",
63
- "name": "ProfileDrawerUpdateAvatarMutation",
64
- "selections": v1 /*: any*/
65
- },
66
-
67
- "params": {
68
- "cacheID": "4e03df1e245723b6bb782fa62331d420",
69
- "id": null,
70
- "metadata": {},
71
- "name": "ProfileDrawerUpdateAvatarMutation",
72
- "operationKind": "mutation",
73
- "text": "mutation ProfileDrawerUpdateAvatarMutation(\n $input: UpdateAvatarInput!\n) {\n updateAvatar(input: $input) {\n id\n avatar\n }\n}\n"
74
- }
75
- };
76
- }();
77
- node.hash = "c129cb1974b7cb9090d6c5df4e0f790d";
78
- var _default = node;
79
- exports.default = _default;
80
- //# sourceMappingURL=ProfileDrawerUpdateAvatarMutation.graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileDrawerUpdateAvatarMutation.graphql.js","names":["node","v0","v1","hash","_default","exports","default"],"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,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,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,CAAE,CAAC;AAEHF,IAAI,CAASG,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAEzCJ,IAAI;AAAAK,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
@@ -1,58 +0,0 @@
1
- /**
2
- * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
-
7
- /* tslint:disable */
8
- /* eslint-disable */
9
- // @ts-nocheck
10
-
11
- const node = function () {
12
- var v0 = [{
13
- "alias": null,
14
- "args": null,
15
- "concreteType": "StatusPayload",
16
- "kind": "LinkedField",
17
- "name": "signOut",
18
- "plural": false,
19
- "selections": [{
20
- "alias": null,
21
- "args": null,
22
- "kind": "ScalarField",
23
- "name": "ok",
24
- "storageKey": null
25
- }],
26
- "storageKey": null
27
- }];
28
- return {
29
- "fragment": {
30
- "argumentDefinitions": [],
31
- "kind": "Fragment",
32
- "metadata": null,
33
- "name": "ProfileDrawerSignOutMutation",
34
- "selections": v0 /*: any*/,
35
- "type": "Mutation",
36
- "abstractKey": null
37
- },
38
- "kind": "Request",
39
- "operation": {
40
- "argumentDefinitions": [],
41
- "kind": "Operation",
42
- "name": "ProfileDrawerSignOutMutation",
43
- "selections": v0 /*: any*/
44
- },
45
-
46
- "params": {
47
- "cacheID": "79648ed72d7cb7d656929f005dbf8371",
48
- "id": null,
49
- "metadata": {},
50
- "name": "ProfileDrawerSignOutMutation",
51
- "operationKind": "mutation",
52
- "text": "mutation ProfileDrawerSignOutMutation {\n signOut {\n ok\n }\n}\n"
53
- }
54
- };
55
- }();
56
- node.hash = "8510e6462e8f7839ce100254080ba293";
57
- export default node;
58
- //# sourceMappingURL=ProfileDrawerSignOutMutation.graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileDrawerSignOutMutation.graphql.js","names":["node","v0","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type ProfileDrawerSignOutMutation$variables = {};\nexport type ProfileDrawerSignOutMutation$data = {\n readonly signOut: {\n readonly ok: boolean;\n };\n};\nexport type ProfileDrawerSignOutMutation = {\n variables: ProfileDrawerSignOutMutation$variables;\n response: ProfileDrawerSignOutMutation$data;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"StatusPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"signOut\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ok\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"79648ed72d7cb7d656929f005dbf8371\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerSignOutMutation {\\n signOut {\\n ok\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"8510e6462e8f7839ce100254080ba293\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAcA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,eAAe;IAC/B,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,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,8BAA8B;MACtC,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,8BAA8B;MACtC,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,8BAA8B;MACtC,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAEvD,eAAeF,IAAI"}