@verdaccio/ui-components 5.0.0-next-9.21 → 5.0.0-next-9.23

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/build/Theme/ResetStyles.js.map +1 -1
  2. package/build/Theme/ResetStyles.mjs.map +1 -1
  3. package/build/Theme/StyleBaseline.js.map +1 -1
  4. package/build/Theme/StyleBaseline.mjs.map +1 -1
  5. package/build/Theme/ThemeProvider.js.map +1 -1
  6. package/build/Theme/ThemeProvider.mjs.map +1 -1
  7. package/build/Theme/colors.js.map +1 -1
  8. package/build/Theme/modes.js.map +1 -1
  9. package/build/Theme/theme.js.map +1 -1
  10. package/build/api/use-data-mutation.d.ts +1 -1
  11. package/build/api/use-data-mutation.js.map +1 -1
  12. package/build/api/use-data-mutation.mjs.map +1 -1
  13. package/build/api/use-data.d.ts +1 -1
  14. package/build/api/use-data.js.map +1 -1
  15. package/build/api/use-data.mjs.map +1 -1
  16. package/build/components/ActionBar/ActionBar.js.map +1 -1
  17. package/build/components/ActionBar/ActionBar.mjs.map +1 -1
  18. package/build/components/ActionBar/ActionBarAction.js.map +1 -1
  19. package/build/components/ActionBar/index.mjs +1 -2
  20. package/build/components/AppRoute/AppRoute.js.map +1 -1
  21. package/build/components/AppRoute/AppRoute.mjs.map +1 -1
  22. package/build/components/Author/Author.js.map +1 -1
  23. package/build/components/Author/index.mjs +1 -2
  24. package/build/components/Author/styles.js.map +1 -1
  25. package/build/components/CopyClipboard/CopyToClipBoard.js.map +1 -1
  26. package/build/components/Dependencies/Dependencies.js.map +1 -1
  27. package/build/components/Dependencies/DependencyBlock.js.map +1 -1
  28. package/build/components/Dependencies/DependencyBlock.mjs.map +1 -1
  29. package/build/components/Dependencies/index.mjs +1 -2
  30. package/build/components/Deprecated/Deprecated.js.map +1 -1
  31. package/build/components/Deprecated/index.mjs +1 -2
  32. package/build/components/Developers/Developers.js.map +1 -1
  33. package/build/components/Developers/Developers.mjs.map +1 -1
  34. package/build/components/Developers/Title.js.map +1 -1
  35. package/build/components/Distribution/Dist.js.map +1 -1
  36. package/build/components/Distribution/Dist.mjs.map +1 -1
  37. package/build/components/Distribution/index.mjs +1 -2
  38. package/build/components/Distribution/styles.js.map +1 -1
  39. package/build/components/Engines/Engines.js.map +1 -1
  40. package/build/components/Engines/index.mjs +1 -2
  41. package/build/components/Engines/styles.js.map +1 -1
  42. package/build/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  43. package/build/components/ErrorBoundary/index.mjs +1 -2
  44. package/build/components/Forbidden/Forbidden.js.map +1 -1
  45. package/build/components/Forbidden/index.mjs +1 -2
  46. package/build/components/FundButton/FundButton.js.map +1 -1
  47. package/build/components/FundButton/FundButton.mjs.map +1 -1
  48. package/build/components/FundButton/index.mjs +1 -2
  49. package/build/components/GenericError/GenericError.js.map +1 -1
  50. package/build/components/GenericError/index.mjs +1 -2
  51. package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +1 -1
  52. package/build/components/HeaderInfoDialog/index.mjs +1 -2
  53. package/build/components/Heading/Heading.js.map +1 -1
  54. package/build/components/Heading/Heading.mjs.map +1 -1
  55. package/build/components/Heading/index.mjs +1 -2
  56. package/build/components/Help/Help.js.map +1 -1
  57. package/build/components/Help/Help.mjs.map +1 -1
  58. package/build/components/Help/index.mjs +1 -2
  59. package/build/components/Help/styles.js.map +1 -1
  60. package/build/components/Icons/DevsIcons/CommonJS2.js.map +1 -1
  61. package/build/components/Icons/DevsIcons/CommonJS2.mjs.map +1 -1
  62. package/build/components/Icons/DevsIcons/ES6Module2.js.map +1 -1
  63. package/build/components/Icons/DevsIcons/ES6Module2.mjs.map +1 -1
  64. package/build/components/Icons/DevsIcons/Git2.js.map +1 -1
  65. package/build/components/Icons/DevsIcons/Git2.mjs.map +1 -1
  66. package/build/components/Icons/DevsIcons/NodeJS2.js.map +1 -1
  67. package/build/components/Icons/DevsIcons/NodeJS2.mjs.map +1 -1
  68. package/build/components/Icons/DevsIcons/TypeScript2.js.map +1 -1
  69. package/build/components/Icons/DevsIcons/TypeScript2.mjs.map +1 -1
  70. package/build/components/Icons/Earth.js.map +1 -1
  71. package/build/components/Icons/FileBinary.js.map +1 -1
  72. package/build/components/Icons/Law.js.map +1 -1
  73. package/build/components/Icons/License.d.ts +2 -4
  74. package/build/components/Icons/License.js.map +1 -1
  75. package/build/components/Icons/License.mjs.map +1 -1
  76. package/build/components/Icons/Managers/Npm2.js.map +1 -1
  77. package/build/components/Icons/Managers/Npm2.mjs.map +1 -1
  78. package/build/components/Icons/Managers/Pnpm2.js.map +1 -1
  79. package/build/components/Icons/Managers/Pnpm2.mjs.map +1 -1
  80. package/build/components/Icons/Managers/Yarn2.js.map +1 -1
  81. package/build/components/Icons/Managers/Yarn2.mjs.map +1 -1
  82. package/build/components/Icons/SvgIcon.js.map +1 -1
  83. package/build/components/Icons/Time.js.map +1 -1
  84. package/build/components/Icons/Version.js.map +1 -1
  85. package/build/components/Install/Install.js.map +1 -1
  86. package/build/components/Install/Install.mjs.map +1 -1
  87. package/build/components/Install/InstallListItem.js.map +1 -1
  88. package/build/components/Install/index.mjs +1 -2
  89. package/build/components/Keywords/KeywordListItems.js.map +1 -1
  90. package/build/components/Keywords/Keywords.js.map +1 -1
  91. package/build/components/Keywords/index.mjs +1 -2
  92. package/build/components/Label/Label.js.map +1 -1
  93. package/build/components/Label/index.mjs +1 -2
  94. package/build/components/Link/Link.js.map +1 -1
  95. package/build/components/Link/Link.mjs.map +1 -1
  96. package/build/components/Link/index.mjs +1 -2
  97. package/build/components/LinkExternal/LinkExternal.js.map +1 -1
  98. package/build/components/LinkExternal/index.mjs +1 -2
  99. package/build/components/Loading/Loading.js.map +1 -1
  100. package/build/components/Loading/Spinner/Spinner.js.map +1 -1
  101. package/build/components/Loading/Spinner/index.mjs +1 -2
  102. package/build/components/Loading/index.mjs +1 -2
  103. package/build/components/Loading/styles.js.map +1 -1
  104. package/build/components/LoginDialog/LoginDialog.d.ts +1 -0
  105. package/build/components/LoginDialog/LoginDialog.js +11 -2
  106. package/build/components/LoginDialog/LoginDialog.js.map +1 -1
  107. package/build/components/LoginDialog/LoginDialog.mjs +10 -2
  108. package/build/components/LoginDialog/LoginDialog.mjs.map +1 -1
  109. package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
  110. package/build/components/LoginDialog/LoginDialogForm.js.map +1 -1
  111. package/build/components/LoginDialog/LoginDialogFormError.js.map +1 -1
  112. package/build/components/LoginDialog/index.mjs +1 -2
  113. package/build/components/LoginForm/Login.js +0 -23
  114. package/build/components/LoginForm/Login.js.map +1 -1
  115. package/build/components/LoginForm/Login.mjs +0 -21
  116. package/build/components/LoginForm/Login.mjs.map +1 -1
  117. package/build/components/LoginForm/PasswordField.js.map +1 -1
  118. package/build/components/LoginForm/UsernameField.js.map +1 -1
  119. package/build/components/LoginForm/styles.js.map +1 -1
  120. package/build/components/LoginForm/useLoginForm.js.map +1 -1
  121. package/build/components/Logo/Logo.js.map +1 -1
  122. package/build/components/Logo/Logo.mjs.map +1 -1
  123. package/build/components/Logo/index.mjs +1 -2
  124. package/build/components/MenuItem/MenuItem.js.map +1 -1
  125. package/build/components/MenuItem/MenuItem.mjs.map +1 -1
  126. package/build/components/MenuItem/index.mjs +1 -2
  127. package/build/components/NoItems/NoItems.js.map +1 -1
  128. package/build/components/NoItems/index.mjs +1 -2
  129. package/build/components/NotFound/NotFound.js.map +1 -1
  130. package/build/components/NotFound/index.mjs +1 -2
  131. package/build/components/Package/Package.js.map +1 -1
  132. package/build/components/Package/Package.mjs.map +1 -1
  133. package/build/components/Package/index.mjs +1 -2
  134. package/build/components/Package/styles.js.map +1 -1
  135. package/build/components/Package/styles.mjs.map +1 -1
  136. package/build/components/PackageList/PackageList.js.map +1 -1
  137. package/build/components/PackageList/PackageList.mjs.map +1 -1
  138. package/build/components/PackageList/index.mjs +1 -2
  139. package/build/components/Person/Person.js.map +1 -1
  140. package/build/components/Person/Person.mjs.map +1 -1
  141. package/build/components/Person/PersonTooltip.js.map +1 -1
  142. package/build/components/Person/PersonTooltip.mjs.map +1 -1
  143. package/build/components/Person/index.mjs +1 -2
  144. package/build/components/Person/utils.mjs.map +1 -1
  145. package/build/components/RawViewer/RawViewer.js.map +1 -1
  146. package/build/components/RawViewer/index.mjs +1 -2
  147. package/build/components/Readme/Readme.js.map +1 -1
  148. package/build/components/Readme/index.mjs +1 -2
  149. package/build/components/Readme/utils.js.map +1 -1
  150. package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -1
  151. package/build/components/RegistryInfoDialog/index.mjs +1 -2
  152. package/build/components/RegistryInfoDialog/styles.js.map +1 -1
  153. package/build/components/Repository/Repository.js.map +1 -1
  154. package/build/components/Repository/Repository.mjs.map +1 -1
  155. package/build/components/Repository/index.mjs +1 -2
  156. package/build/components/Search/AutoComplete/AutoComplete.js.map +1 -1
  157. package/build/components/Search/AutoComplete/index.mjs +1 -2
  158. package/build/components/Search/AutoComplete/styles.js.map +1 -1
  159. package/build/components/Search/Search.js.map +1 -1
  160. package/build/components/Search/Search.mjs.map +1 -1
  161. package/build/components/Search/SearchItem.js.map +1 -1
  162. package/build/components/Search/index.mjs +1 -2
  163. package/build/components/Search/styles.js.map +1 -1
  164. package/build/components/SettingsMenu/SettingsMenu.js.map +1 -1
  165. package/build/components/SettingsMenu/SettingsMenu.mjs.map +1 -1
  166. package/build/components/SettingsMenu/index.mjs +1 -2
  167. package/build/components/SideBarTitle/SideBarTitle.js.map +1 -1
  168. package/build/components/SideBarTitle/SideBarTitle.mjs.map +1 -1
  169. package/build/components/SideBarTitle/index.mjs +1 -2
  170. package/build/components/UpLinks/UpLinks.js.map +1 -1
  171. package/build/components/UpLinks/UpLinks.mjs.map +1 -1
  172. package/build/components/UpLinks/UplinkLink.js.map +1 -1
  173. package/build/components/UpLinks/UplinkLink.mjs.map +1 -1
  174. package/build/components/UpLinks/index.mjs +1 -2
  175. package/build/components/UpLinks/styles.js.map +1 -1
  176. package/build/components/UpLinks/styles.mjs.map +1 -1
  177. package/build/components/Versions/HistoryList.js.map +1 -1
  178. package/build/components/Versions/HistoryList.mjs.map +1 -1
  179. package/build/components/Versions/TagList.js.map +1 -1
  180. package/build/components/Versions/Versions.js.map +1 -1
  181. package/build/components/Versions/Versions.mjs.map +1 -1
  182. package/build/components/Versions/index.mjs +1 -2
  183. package/build/components/Versions/styles.js.map +1 -1
  184. package/build/components/Versions/styles.mjs.map +1 -1
  185. package/build/hooks/useLocalStorage.js.map +1 -1
  186. package/build/layouts/Security/Dialog.js.map +1 -1
  187. package/build/layouts/Version/Version.js.map +1 -1
  188. package/build/layouts/Version/Version.mjs.map +1 -1
  189. package/build/layouts/Version/index.mjs +1 -2
  190. package/build/pages/Front/Home.js.map +1 -1
  191. package/build/pages/Front/index.mjs +1 -2
  192. package/build/pages/Security/AddUser.js.map +1 -1
  193. package/build/pages/Security/ChangePassword.js.map +1 -1
  194. package/build/pages/Security/Login.js.map +1 -1
  195. package/build/pages/Security/Success.js.map +1 -1
  196. package/build/pages/Stage/StageDetail.js.map +1 -1
  197. package/build/pages/Stage/StageList.js.map +1 -1
  198. package/build/pages/Version/Version.js.map +1 -1
  199. package/build/pages/Version/index.mjs +1 -2
  200. package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +1 -1
  201. package/build/providers/AppConfigurationProvider/index.mjs +1 -2
  202. package/build/providers/AuthProvider/AuthProvider.js +1 -1
  203. package/build/providers/AuthProvider/AuthProvider.js.map +1 -1
  204. package/build/providers/AuthProvider/AuthProvider.mjs +1 -1
  205. package/build/providers/AuthProvider/AuthProvider.mjs.map +1 -1
  206. package/build/providers/AuthProvider/index.mjs +1 -2
  207. package/build/providers/AuthProvider/utils.js.map +1 -1
  208. package/build/providers/DownloadProvider/DownloadProvider.js.map +1 -1
  209. package/build/providers/DownloadProvider/index.mjs +1 -2
  210. package/build/providers/ManifestsProvider/ManifestsProvider.js +1 -1
  211. package/build/providers/ManifestsProvider/ManifestsProvider.js.map +1 -1
  212. package/build/providers/ManifestsProvider/ManifestsProvider.mjs +1 -1
  213. package/build/providers/ManifestsProvider/ManifestsProvider.mjs.map +1 -1
  214. package/build/providers/ManifestsProvider/index.mjs +1 -2
  215. package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js.map +1 -1
  216. package/build/providers/PersistenceSettingProvider/index.mjs +1 -2
  217. package/build/providers/SearchProvider/SearchProvider.js +1 -1
  218. package/build/providers/SearchProvider/SearchProvider.js.map +1 -1
  219. package/build/providers/SearchProvider/SearchProvider.mjs +1 -1
  220. package/build/providers/SearchProvider/SearchProvider.mjs.map +1 -1
  221. package/build/providers/SearchProvider/index.mjs +1 -2
  222. package/build/providers/TranslatorProvider/TranslatorProvider.js.map +1 -1
  223. package/build/providers/TranslatorProvider/index.mjs +1 -2
  224. package/build/providers/VersionProvider/VersionProvider.js +1 -1
  225. package/build/providers/VersionProvider/VersionProvider.js.map +1 -1
  226. package/build/providers/VersionProvider/VersionProvider.mjs +1 -1
  227. package/build/providers/VersionProvider/VersionProvider.mjs.map +1 -1
  228. package/build/providers/VersionProvider/index.mjs +1 -2
  229. package/build/sections/Detail/ContainerContent.js.map +1 -1
  230. package/build/sections/Detail/ContainerContent.mjs.map +1 -1
  231. package/build/sections/Detail/Detail.js.map +1 -1
  232. package/build/sections/Detail/Detail.mjs.map +1 -1
  233. package/build/sections/Detail/ReadmeSection.js.map +1 -1
  234. package/build/sections/Detail/Tabs.js.map +1 -1
  235. package/build/sections/Detail/Tabs.mjs.map +1 -1
  236. package/build/sections/Detail/index.mjs +1 -2
  237. package/build/sections/Footer/Footer.js.map +1 -1
  238. package/build/sections/Footer/Footer.mjs.map +1 -1
  239. package/build/sections/Footer/index.mjs +1 -2
  240. package/build/sections/Footer/styles.js.map +1 -1
  241. package/build/sections/Header/Header.js.map +1 -1
  242. package/build/sections/Header/Header.mjs.map +1 -1
  243. package/build/sections/Header/HeaderGreetings.js.map +1 -1
  244. package/build/sections/Header/HeaderGreetings.mjs.map +1 -1
  245. package/build/sections/Header/HeaderLeft.js.map +1 -1
  246. package/build/sections/Header/HeaderLeft.mjs.map +1 -1
  247. package/build/sections/Header/HeaderMenu.js +10 -0
  248. package/build/sections/Header/HeaderMenu.js.map +1 -1
  249. package/build/sections/Header/HeaderMenu.mjs +10 -0
  250. package/build/sections/Header/HeaderMenu.mjs.map +1 -1
  251. package/build/sections/Header/HeaderRight.js.map +1 -1
  252. package/build/sections/Header/HeaderRight.mjs.map +1 -1
  253. package/build/sections/Header/HeaderSettingsDialog.js.map +1 -1
  254. package/build/sections/Header/HeaderToolTip.js.map +1 -1
  255. package/build/sections/Header/HeaderToolTipIcon.js.map +1 -1
  256. package/build/sections/Header/HeaderToolTipIcon.mjs.map +1 -1
  257. package/build/sections/Header/LanguageSwitch.js.map +1 -1
  258. package/build/sections/Header/LanguageSwitch.mjs.map +1 -1
  259. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +1 -1
  260. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs.map +1 -1
  261. package/build/sections/Header/RegistryInfoContent/index.mjs +1 -2
  262. package/build/sections/Header/RegistryInfoContent/styles.js.map +1 -1
  263. package/build/sections/Header/index.mjs +1 -2
  264. package/build/sections/Header/styles.js.map +1 -1
  265. package/build/sections/Home/Home.js.map +1 -1
  266. package/build/sections/Home/index.mjs +1 -2
  267. package/build/sections/Security/AddUser.js.map +1 -1
  268. package/build/sections/Security/AddUser.mjs.map +1 -1
  269. package/build/sections/Security/ChangePassword.js +41 -16
  270. package/build/sections/Security/ChangePassword.js.map +1 -1
  271. package/build/sections/Security/ChangePassword.mjs +41 -16
  272. package/build/sections/Security/ChangePassword.mjs.map +1 -1
  273. package/build/sections/Security/Login.js.map +1 -1
  274. package/build/sections/Security/Login.mjs.map +1 -1
  275. package/build/sections/Security/Success.js.map +1 -1
  276. package/build/sections/Security/styles.js.map +1 -1
  277. package/build/sections/Security/utils.js.map +1 -1
  278. package/build/sections/SideBar/Sidebar.js.map +1 -1
  279. package/build/sections/SideBar/Sidebar.mjs.map +1 -1
  280. package/build/sections/SideBar/index.mjs +1 -2
  281. package/build/sections/Stage/StageActions.js.map +1 -1
  282. package/build/sections/Stage/StageActions.mjs.map +1 -1
  283. package/build/sections/Stage/StageDetail.js.map +1 -1
  284. package/build/sections/Stage/StageDetail.mjs.map +1 -1
  285. package/build/sections/Stage/StageList.js.map +1 -1
  286. package/build/sections/Stage/StageList.mjs.map +1 -1
  287. package/build/sections/Stage/useRequireSession.js.map +1 -1
  288. package/build/sections/Stage/useRequireSession.mjs.map +1 -1
  289. package/build/sections/Stage/useStage.js.map +1 -1
  290. package/build/sections/Stage/useStage.mjs.map +1 -1
  291. package/build/store/api.js.map +1 -1
  292. package/build/store/api.mjs.map +1 -1
  293. package/build/store/index.mjs +1 -2
  294. package/build/store/storage.js.map +1 -1
  295. package/build/utils/loadable.js.map +1 -1
  296. package/build/utils/schemas.d.ts +0 -2
  297. package/build/utils/schemas.js +0 -1
  298. package/build/utils/schemas.js.map +1 -1
  299. package/build/utils/schemas.mjs +0 -1
  300. package/build/utils/schemas.mjs.map +1 -1
  301. package/build/utils/token.js.map +1 -1
  302. package/build/utils/url.js.map +1 -1
  303. package/build/utils/url.mjs.map +1 -1
  304. package/build/utils/utils.js.map +1 -1
  305. package/package.json +21 -21
  306. package/build/store/routes.d.ts +0 -12
  307. package/build/store/routes.js +0 -18
  308. package/build/store/routes.js.map +0 -1
  309. package/build/store/routes.mjs +0 -18
  310. package/build/store/routes.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Dist.mjs","names":[],"sources":["../../../src/components/Distribution/Dist.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { fileSizeSI, formatLicense } from '../../utils/utils';\nimport { DistChips, DistListItem, StyledText } from './styles';\n\nconst DistChip: FC<{ name: string; children?: React.ReactElement | string }> = ({\n name,\n children,\n}) =>\n children ? (\n <DistChips\n label={\n <>\n <b>{name}</b>\n {': '}\n {children}\n </>\n }\n />\n ) : null;\n\nconst Dist: FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n if (!packageMeta?.latest) {\n return null;\n }\n\n const { dist, license } = packageMeta.latest;\n\n if (!dist && !license) {\n return null;\n }\n\n return (\n <List\n subheader={<StyledText variant=\"subtitle1\">{t('sidebar.distribution.title')}</StyledText>}\n >\n <DistListItem>\n {dist?.fileCount ? (\n <DistChip name={t('sidebar.distribution.file-count')}>{`${dist.fileCount}`}</DistChip>\n ) : null}\n {dist?.unpackedSize ? (\n <DistChip name={t('sidebar.distribution.size')}>{fileSizeSI(dist.unpackedSize)}</DistChip>\n ) : null}\n\n <DistChip name={t('sidebar.distribution.license')}>{formatLicense(license)}</DistChip>\n </DistListItem>\n </List>\n );\n};\n\nexport default Dist;\n"],"mappings":";;;;;;;AASA,IAAM,YAA0E,EAC9E,MACA,eAEA,WACE,oBAAC,WAAD,EACE,OACE,qBAAA,YAAA,EAAA,UAAA;CACE,oBAAC,KAAD,EAAA,UAAI,KAAQ,CAAA;CACX;CACA;AACD,EAAA,CAAA,EAEL,CAAA,IACC;AAEN,IAAM,QAAmD,EAAE,kBAAkB;CAC3E,MAAM,EAAE,MAAM,eAAe;CAE7B,IAAI,CAAC,aAAa,QAChB,OAAO;CAGT,MAAM,EAAE,MAAM,YAAY,YAAY;CAEtC,IAAI,CAAC,QAAQ,CAAC,SACZ,OAAO;CAGT,OACE,oBAAC,MAAD;EACE,WAAW,oBAAC,YAAD;GAAY,SAAQ;GAAa,UAAA,EAAE,4BAA4B;EAAc,CAAA;EAExF,UAAA,qBAAC,cAAD,EAAA,UAAA;GACG,MAAM,YACL,oBAAC,UAAD;IAAU,MAAM,EAAE,iCAAiC;IAAI,UAAA,GAAG,KAAK;GAAsB,CAAA,IACnF;GACH,MAAM,eACL,oBAAC,UAAD;IAAU,MAAM,EAAE,2BAA2B;IAAI,UAAA,WAAW,KAAK,YAAY;GAAY,CAAA,IACvF;GAEJ,oBAAC,UAAD;IAAU,MAAM,EAAE,8BAA8B;IAAI,UAAA,cAAc,OAAO;GAAY,CAAA;EACzE,EAAA,CAAA;CACV,CAAA;AAEV"}
1
+ {"version":3,"file":"Dist.mjs","names":["_Fragment"],"sources":["../../../src/components/Distribution/Dist.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { fileSizeSI, formatLicense } from '../../utils/utils';\nimport { DistChips, DistListItem, StyledText } from './styles';\n\nconst DistChip: FC<{ name: string; children?: React.ReactElement | string }> = ({\n name,\n children,\n}) =>\n children ? (\n <DistChips\n label={\n <>\n <b>{name}</b>\n {': '}\n {children}\n </>\n }\n />\n ) : null;\n\nconst Dist: FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n if (!packageMeta?.latest) {\n return null;\n }\n\n const { dist, license } = packageMeta.latest;\n\n if (!dist && !license) {\n return null;\n }\n\n return (\n <List\n subheader={<StyledText variant=\"subtitle1\">{t('sidebar.distribution.title')}</StyledText>}\n >\n <DistListItem>\n {dist?.fileCount ? (\n <DistChip name={t('sidebar.distribution.file-count')}>{`${dist.fileCount}`}</DistChip>\n ) : null}\n {dist?.unpackedSize ? (\n <DistChip name={t('sidebar.distribution.size')}>{fileSizeSI(dist.unpackedSize)}</DistChip>\n ) : null}\n\n <DistChip name={t('sidebar.distribution.license')}>{formatLicense(license)}</DistChip>\n </DistListItem>\n </List>\n );\n};\n\nexport default Dist;\n"],"mappings":";;;;;;;AASA,IAAM,YAA0E,EAC9E,MACA,eAEA,WACE,oBAAC,WAAD,EACE,OACE,qBAAAA,YAAA,EAAA,UAAA;CACE,oBAAC,KAAD,EAAA,UAAI,KAAQ,CAAA;CACX;CACA;AACD,EAAA,CAAA,EAEL,CAAA,IACC;AAEN,IAAM,QAAmD,EAAE,kBAAkB;CAC3E,MAAM,EAAE,MAAM,eAAe;CAE7B,IAAI,CAAC,aAAa,QAChB,OAAO;CAGT,MAAM,EAAE,MAAM,YAAY,YAAY;CAEtC,IAAI,CAAC,QAAQ,CAAC,SACZ,OAAO;CAGT,OACE,oBAAC,MAAD;EACE,WAAW,oBAAC,YAAD;GAAY,SAAQ;GAAa,UAAA,EAAE,4BAA4B;EAAc,CAAA;EAExF,UAAA,qBAAC,cAAD,EAAA,UAAA;GACG,MAAM,YACL,oBAAC,UAAD;IAAU,MAAM,EAAE,iCAAiC;IAAI,UAAA,GAAG,KAAK;GAAsB,CAAA,IACnF;GACH,MAAM,eACL,oBAAC,UAAD;IAAU,MAAM,EAAE,2BAA2B;IAAI,UAAA,WAAW,KAAK,YAAY;GAAY,CAAA,IACvF;GAEJ,oBAAC,UAAD;IAAU,MAAM,EAAE,8BAA8B;IAAI,UAAA,cAAc,OAAO;GAAY,CAAA;EACzE,EAAA,CAAA;CACV,CAAA;AAEV"}
@@ -1,2 +1 @@
1
- import Dist from "./Dist.mjs";
2
- export { Dist as default };
1
+ export { default } from "./Dist.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;;;;;;AAOA,IAAa,cAAA,GAAa,gBAAA,QAAA,CAAO,yBAAA,OAAU,CAAC,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAa,gBAAA,GAAe,gBAAA,QAAA,CAAO,uBAAA,OAAQ,CAAC,CAAC;CAC3C,aAAa;CACb,cAAc;CACd,UAAU;AACZ,CAAC;AAED,IAAa,aAAA,GAAY,gBAAA,QAAA,CAAO,mBAAA,OAAI,CAAC,CAAC;CACpC,aAAa;CACb,eAAe;CACf,WAAW;AACb,CAAC"}
1
+ {"version":3,"file":"styles.js","names":["styled","Typography","ListItem","Chip"],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;;;;;;AAOA,IAAa,cAAA,GAAaA,gBAAAA,QAAAA,CAAOC,yBAAAA,OAAU,CAAC,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAa,gBAAA,GAAeD,gBAAAA,QAAAA,CAAOE,uBAAAA,OAAQ,CAAC,CAAC;CAC3C,aAAa;CACb,cAAc;CACd,UAAU;AACZ,CAAC;AAED,IAAa,aAAA,GAAYF,gBAAAA,QAAAA,CAAOG,mBAAAA,OAAI,CAAC,CAAC;CACpC,aAAa;CACb,eAAe;CACf,WAAW;AACb,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Engines.js","names":[],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAM,cAAmC,EAAE,OAAO,SAAS,iBACzD,iBAAA,GAAA,kBAAA,IAAA,CAAC,mBAAA,SAAD;CAAM,MAAM,EAAE,IAAI,EAAE;CAClB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,mBAAA,SAAD;EAAM,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAA,YAAD;GAAY,SAAS;GAAc,UAAA;EAAkB,CAAA;EACpE,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAAC,eAAA,gBAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAA,SAAD;GAAQ,IAAI;IAAE,iBAAiB;IAAe,YAAY;IAAG,SAAS;GAAE;GACrE,UAAA;EACK,CAAA,GACR,iBAAA,GAAA,kBAAA,IAAA,CAAC,cAAA,YAAD;GAAY,IAAI;IAAE,QAAQ;IAAG,SAAS;GAAa;GAAG,SAAQ;GAC3D,UAAA;EACS,CAAA,CACE,EAAA,CAAA;CACZ,CAAA;AACF,CAAA;;;;;;AAmBR,IAAM,UAA2B,EAAE,kBAAkB;CACnD,MAAM,EAAE,OAAA,GAAM,cAAA,eAAA,CAAe;CAE7B,MAAM,UAAU,aAAa,QAAQ;CAErC,IAAI,CAAC,SACH,OAAO;CAGT,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,mBAAA,SAAD;EAAM,WAAW;EAAjB,UAAA;GACG,QAAQ,OACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAA,QAAD,CAAS,CAAA;IAClB,YAAY,QAAQ;IACpB,OAAO,EAAE,yBAAyB;GACnC,CAAA,IACC;GAEH,QAAQ,MACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAA,KAAD,CAAM,CAAA;IACf,YAAY,QAAQ;IACpB,OAAO,EAAE,6BAA6B;GACvC,CAAA,IACC;GAEH,QAAQ,OACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,MAAD,CAAO,CAAA;IAChB,YAAY,QAAQ;IACpB,OAAO,EAAE,8BAA8B;GACxC,CAAA,IACC;GAEH,QAAQ,OACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,MAAD,CAAO,CAAA;IAChB,YAAY,QAAQ;IACpB,OAAO,EAAE,8BAA8B;GACxC,CAAA,IACC;EACA;;AAEV"}
1
+ {"version":3,"file":"Engines.js","names":["Grid","List","StyledText","EngineListItem","Avatar","Typography","useTranslation","NodeJS","Npm","Yarn","Pnpm"],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAM,cAAmC,EAAE,OAAO,SAAS,iBACzD,iBAAA,GAAA,kBAAA,IAAA,CAACA,mBAAAA,SAAD;CAAM,MAAM,EAAE,IAAI,EAAE;CAClB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,mBAAAA,SAAD;EAAM,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAACC,eAAAA,YAAD;GAAY,SAAS;GAAc,UAAA;EAAkB,CAAA;EACpE,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAACC,eAAAA,gBAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,SAAD;GAAQ,IAAI;IAAE,iBAAiB;IAAe,YAAY;IAAG,SAAS;GAAE;GACrE,UAAA;EACK,CAAA,GACR,iBAAA,GAAA,kBAAA,IAAA,CAACC,cAAAA,YAAD;GAAY,IAAI;IAAE,QAAQ;IAAG,SAAS;GAAa;GAAG,SAAQ;GAC3D,UAAA;EACS,CAAA,CACE,EAAA,CAAA;CACZ,CAAA;AACF,CAAA;;;;;;AAmBR,IAAM,UAA2B,EAAE,kBAAkB;CACnD,MAAM,EAAE,OAAA,GAAMC,cAAAA,eAAAA,CAAe;CAE7B,MAAM,UAAU,aAAa,QAAQ;CAErC,IAAI,CAAC,SACH,OAAO;CAGT,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACN,mBAAAA,SAAD;EAAM,WAAW;EAAjB,UAAA;GACG,QAAQ,OACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAACO,eAAAA,QAAD,CAAS,CAAA;IAClB,YAAY,QAAQ;IACpB,OAAO,EAAE,yBAAyB;GACnC,CAAA,IACC;GAEH,QAAQ,MACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,KAAD,CAAM,CAAA;IACf,YAAY,QAAQ;IACpB,OAAO,EAAE,6BAA6B;GACvC,CAAA,IACC;GAEH,QAAQ,OACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAACC,aAAAA,MAAD,CAAO,CAAA;IAChB,YAAY,QAAQ;IACpB,OAAO,EAAE,8BAA8B;GACxC,CAAA,IACC;GAEH,QAAQ,OACP,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAACC,aAAAA,MAAD,CAAO,CAAA;IAChB,YAAY,QAAQ;IACpB,OAAO,EAAE,8BAA8B;GACxC,CAAA,IACC;EACA;;AAEV"}
@@ -1,2 +1 @@
1
- import Engine from "./Engines.mjs";
2
- export { Engine as default };
1
+ export { default } from "./Engines.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;;;;;AAMA,IAAa,cAAA,GAAa,gBAAA,QAAA,CAAO,yBAAA,OAAU,CAAC,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAa,kBAAA,GAAiB,gBAAA,QAAA,CAAO,uBAAA,OAAQ,CAAC,CAAC,EAC7C,SAAS,EACX,CAAC"}
1
+ {"version":3,"file":"styles.js","names":["styled","Typography","ListItem"],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;;;;;AAMA,IAAa,cAAA,GAAaA,gBAAAA,QAAAA,CAAOC,yBAAAA,OAAU,CAAC,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAa,kBAAA,GAAiBD,gBAAAA,QAAAA,CAAOE,uBAAAA,OAAQ,CAAC,CAAC,EAC7C,SAAS,EACX,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundary.js","names":[],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;;;AAYA,IAAqB,gBAArB,cAA2C,MAAA,UAAkD;CAC3F,QAA4B;EAC1B,UAAU;EACV,OAAO;CACT;CAEA,OAAO,yBAAyB,OAAkC;EAChE,OAAO;GACL,UAAU;GACV;EACF;CACF;CAEA,kBAAkB,OAAc,MAAiB;EAE/C,QAAQ,MAAM,yBAAyB,OAAO,IAAI;CACpD;CAEA,SAAS;EACP,MAAM,EAAE,UAAU,UAAU,KAAK;EACjC,MAAM,EAAE,aAAa,KAAK;EAE1B,IAAI,UACF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD,EAAA,UAAK,wBAA4B,CAAA,GACjC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD,EAAA,UAAM,OAAO,QAAa,CAAA,CACvB;;EAIT,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"ErrorBoundary.js","names":["Component"],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;;;AAYA,IAAqB,gBAArB,cAA2CA,MAAAA,UAAkD;CAC3F,QAA4B;EAC1B,UAAU;EACV,OAAO;CACT;CAEA,OAAO,yBAAyB,OAAkC;EAChE,OAAO;GACL,UAAU;GACV;EACF;CACF;CAEA,kBAAkB,OAAc,MAAiB;EAE/C,QAAQ,MAAM,yBAAyB,OAAO,IAAI;CACpD;CAEA,SAAS;EACP,MAAM,EAAE,UAAU,UAAU,KAAK;EACjC,MAAM,EAAE,aAAa,KAAK;EAE1B,IAAI,UACF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD,EAAA,UAAK,wBAA4B,CAAA,GACjC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD,EAAA,UAAM,OAAO,QAAa,CAAA,CACvB;;EAIT,OAAO;CACT;AACF"}
@@ -1,2 +1 @@
1
- import ErrorBoundary from "./ErrorBoundary.mjs";
2
- export { ErrorBoundary as default };
1
+ export { default } from "./ErrorBoundary.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"Forbidden.js","names":[],"sources":["../../../src/components/Forbidden/Forbidden.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport LockIcon from '@mui/icons-material/Lock';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../..';\nimport Heading from '../Heading';\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n\nconst Forbidden: React.FC = () => {\n const navigate = useNavigate();\n\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"404\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <LockIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"not-found-text\" variant=\"h4\">\n {t('error.401.sorry-no-access')}\n </StyledHeading>\n <Button data-testid=\"not-found-go-to-home-button\" onClick={handleGoHome} variant=\"contained\">\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default Forbidden;\nexport { Forbidden };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,IAAM,aAAA,GAAY,gBAAA,QAAA,CAAO,KAAK,CAAC,CAAC,EAC9B,QAAQ,SACV,CAAC;AAED,IAAM,iBAAA,GAAgB,gBAAA,QAAA,CAAO,gBAAA,OAAO,CAAC,EAAqB,EAAE,aAAa;CACvE,OAAO,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,qBAAA,OAAO;CAC5E,cAAc;AAChB,EAAE;AAEF,IAAM,kBAA4B;CAChC,MAAM,YAAA,GAAW,aAAA,YAAA,CAAY;CAE7B,MAAM,EAAE,OAAA,GAAM,cAAA,eAAA,CAAe;CAE7B,MAAM,gBAAA,GAAe,MAAA,YAAA,OAAkB;EACrC,SAAS,GAAG;CACd,GAAG,CAAC,QAAQ,CAAC;CAEb,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,kBAAA,SAAD;EACE,YAAW;EACX,eAAY;EACZ,SAAQ;EACR,eAAc;EACd,UAAU;EACV,gBAAe;EACf,GAAG;EAPL,UAAA;GASE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,yBAAA,SAAD;IAAU,OAAM;IAAU,OAAO,EAAE,UAAU,IAAI;GAAI,CAAA,EAC5C,CAAA;GACX,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD;IAAe,WAAU;IAAiB,SAAQ;IAC/C,UAAA,EAAE,2BAA2B;GACjB,CAAA;GACf,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAA,SAAD;IAAQ,eAAY;IAA8B,SAAS;IAAc,SAAQ;IAC9E,UAAA,EAAE,4BAA4B;GACzB,CAAA;EACL;;AAET"}
1
+ {"version":3,"file":"Forbidden.js","names":["styled","Heading","common","useNavigate","useTranslation","useCallback","Box","LockIcon","Button"],"sources":["../../../src/components/Forbidden/Forbidden.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport LockIcon from '@mui/icons-material/Lock';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../..';\nimport Heading from '../Heading';\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n\nconst Forbidden: React.FC = () => {\n const navigate = useNavigate();\n\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"404\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <LockIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"not-found-text\" variant=\"h4\">\n {t('error.401.sorry-no-access')}\n </StyledHeading>\n <Button data-testid=\"not-found-go-to-home-button\" onClick={handleGoHome} variant=\"contained\">\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default Forbidden;\nexport { Forbidden };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,IAAM,aAAA,GAAYA,gBAAAA,QAAAA,CAAO,KAAK,CAAC,CAAC,EAC9B,QAAQ,SACV,CAAC;AAED,IAAM,iBAAA,GAAgBA,gBAAAA,QAAAA,CAAOC,gBAAAA,OAAO,CAAC,EAAqB,EAAE,aAAa;CACvE,OAAO,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAOC,qBAAAA,OAAO;CAC5E,cAAc;AAChB,EAAE;AAEF,IAAM,kBAA4B;CAChC,MAAM,YAAA,GAAWC,aAAAA,YAAAA,CAAY;CAE7B,MAAM,EAAE,OAAA,GAAMC,cAAAA,eAAAA,CAAe;CAE7B,MAAM,gBAAA,GAAeC,MAAAA,YAAAA,OAAkB;EACrC,SAAS,GAAG;CACd,GAAG,CAAC,QAAQ,CAAC;CAEb,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,kBAAAA,SAAD;EACE,YAAW;EACX,eAAY;EACZ,SAAQ;EACR,eAAc;EACd,UAAU;EACV,gBAAe;EACf,GAAG;EAPL,UAAA;GASE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,yBAAAA,SAAD;IAAU,OAAM;IAAU,OAAO,EAAE,UAAU,IAAI;GAAI,CAAA,EAC5C,CAAA;GACX,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD;IAAe,WAAU;IAAiB,SAAQ;IAC/C,UAAA,EAAE,2BAA2B;GACjB,CAAA;GACf,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,SAAD;IAAQ,eAAY;IAA8B,SAAS;IAAc,SAAQ;IAC9E,UAAA,EAAE,4BAA4B;GACzB,CAAA;EACL;;AAET"}
@@ -1,2 +1 @@
1
- import { Forbidden } from "./Forbidden.mjs";
2
- export { Forbidden as default };
1
+ export { Forbidden as default } from "./Forbidden.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"FundButton.js","names":[],"sources":["../../../src/components/FundButton/FundButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Favorite from '@mui/icons-material/Favorite';\nimport Button from '@mui/material/Button';\nimport React from 'react';\nimport { Trans } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { url, utils } from '../../utils';\nimport LinkExternal from '../LinkExternal';\n\nconst StyledLink = styled(LinkExternal)<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n textDecoration: 'none',\n display: 'block',\n}));\n\nconst StyledFavoriteIcon = styled(Favorite)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.love,\n}));\n\nconst StyledFundStrong = styled('strong')({\n marginRight: 3,\n});\n\nconst FundButton: React.FC<{ packageMeta: any }> = ({ packageMeta }) => {\n // funding can be a string, an object or an array of both\n const fundingUrl = utils.getFundingUrl(packageMeta?.latest?.funding);\n\n if (!fundingUrl || !url.isURL(fundingUrl)) {\n return null;\n }\n\n return (\n <StyledLink to={fundingUrl} variant=\"button\">\n <Button\n color=\"primary\"\n fullWidth={true}\n startIcon={<StyledFavoriteIcon />}\n variant=\"outlined\"\n >\n <Trans components={[<StyledFundStrong key=\"fund\" />]} i18nKey=\"button.fund-this-package\" />\n </Button>\n </StyledLink>\n );\n};\n\nexport default FundButton;\n"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAM,cAAA,GAAa,gBAAA,QAAA,CAAO,qBAAA,OAAY,CAAC,EAAqB,EAAE,aAAa;CACzE,WAAW,MAAM,QAAQ,CAAC;CAC1B,cAAc,MAAM,QAAQ,CAAC;CAC7B,gBAAgB;CAChB,SAAS;AACX,EAAE;AAEF,IAAM,sBAAA,GAAqB,gBAAA,QAAA,CAAO,6BAAA,OAAQ,CAAC,EAAqB,EAAE,aAAa,EAC7E,OAAO,MAAM,QAAQ,KACvB,EAAE;AAEF,IAAM,oBAAA,GAAmB,gBAAA,QAAA,CAAO,QAAQ,CAAC,CAAC,EACxC,aAAa,EACf,CAAC;AAED,IAAM,cAA8C,EAAE,kBAAkB;CAEtE,MAAM,aAAA,cAAA,cAAiC,aAAa,QAAQ,OAAO;CAEnE,IAAI,CAAC,cAAc,CAAA,YAAA,MAAW,UAAU,GACtC,OAAO;CAGT,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;EAAY,IAAI;EAAY,SAAQ;EAClC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAA,SAAD;GACE,OAAM;GACN,WAAW;GACX,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAAC,oBAAD,CAAqB,CAAA;GAChC,SAAQ;GAER,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,cAAA,OAAD;IAAO,YAAY,CAAC,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAD,CAA8B,GAAR,MAAQ,CAAC;IAAG,SAAQ;GAA4B,CAAA;EACpF,CAAA;CACE,CAAA;AAEhB"}
1
+ {"version":3,"file":"FundButton.js","names":["styled","LinkExternal","Favorite","Button","Trans"],"sources":["../../../src/components/FundButton/FundButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Favorite from '@mui/icons-material/Favorite';\nimport Button from '@mui/material/Button';\nimport React from 'react';\nimport { Trans } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { url, utils } from '../../utils';\nimport LinkExternal from '../LinkExternal';\n\nconst StyledLink = styled(LinkExternal)<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n textDecoration: 'none',\n display: 'block',\n}));\n\nconst StyledFavoriteIcon = styled(Favorite)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.love,\n}));\n\nconst StyledFundStrong = styled('strong')({\n marginRight: 3,\n});\n\nconst FundButton: React.FC<{ packageMeta: any }> = ({ packageMeta }) => {\n // funding can be a string, an object or an array of both\n const fundingUrl = utils.getFundingUrl(packageMeta?.latest?.funding);\n\n if (!fundingUrl || !url.isURL(fundingUrl)) {\n return null;\n }\n\n return (\n <StyledLink to={fundingUrl} variant=\"button\">\n <Button\n color=\"primary\"\n fullWidth={true}\n startIcon={<StyledFavoriteIcon />}\n variant=\"outlined\"\n >\n <Trans components={[<StyledFundStrong key=\"fund\" />]} i18nKey=\"button.fund-this-package\" />\n </Button>\n </StyledLink>\n );\n};\n\nexport default FundButton;\n"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAM,cAAA,GAAaA,gBAAAA,QAAAA,CAAOC,qBAAAA,OAAY,CAAC,EAAqB,EAAE,aAAa;CACzE,WAAW,MAAM,QAAQ,CAAC;CAC1B,cAAc,MAAM,QAAQ,CAAC;CAC7B,gBAAgB;CAChB,SAAS;AACX,EAAE;AAEF,IAAM,sBAAA,GAAqBD,gBAAAA,QAAAA,CAAOE,6BAAAA,OAAQ,CAAC,EAAqB,EAAE,aAAa,EAC7E,OAAO,MAAM,QAAQ,KACvB,EAAE;AAEF,IAAM,oBAAA,GAAmBF,gBAAAA,QAAAA,CAAO,QAAQ,CAAC,CAAC,EACxC,aAAa,EACf,CAAC;AAED,IAAM,cAA8C,EAAE,kBAAkB;CAEtE,MAAM,aAAA,cAAA,cAAiC,aAAa,QAAQ,OAAO;CAEnE,IAAI,CAAC,cAAc,CAAA,YAAA,MAAW,UAAU,GACtC,OAAO;CAGT,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;EAAY,IAAI;EAAY,SAAQ;EAClC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACG,qBAAAA,SAAD;GACE,OAAM;GACN,WAAW;GACX,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAAC,oBAAD,CAAqB,CAAA;GAChC,SAAQ;GAER,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,cAAAA,OAAD;IAAO,YAAY,CAAC,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAD,CAA8B,GAAR,MAAQ,CAAC;IAAG,SAAQ;GAA4B,CAAA;EACpF,CAAA;CACE,CAAA;AAEhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FundButton.mjs","names":[],"sources":["../../../src/components/FundButton/FundButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Favorite from '@mui/icons-material/Favorite';\nimport Button from '@mui/material/Button';\nimport React from 'react';\nimport { Trans } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { url, utils } from '../../utils';\nimport LinkExternal from '../LinkExternal';\n\nconst StyledLink = styled(LinkExternal)<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n textDecoration: 'none',\n display: 'block',\n}));\n\nconst StyledFavoriteIcon = styled(Favorite)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.love,\n}));\n\nconst StyledFundStrong = styled('strong')({\n marginRight: 3,\n});\n\nconst FundButton: React.FC<{ packageMeta: any }> = ({ packageMeta }) => {\n // funding can be a string, an object or an array of both\n const fundingUrl = utils.getFundingUrl(packageMeta?.latest?.funding);\n\n if (!fundingUrl || !url.isURL(fundingUrl)) {\n return null;\n }\n\n return (\n <StyledLink to={fundingUrl} variant=\"button\">\n <Button\n color=\"primary\"\n fullWidth={true}\n startIcon={<StyledFavoriteIcon />}\n variant=\"outlined\"\n >\n <Trans components={[<StyledFundStrong key=\"fund\" />]} i18nKey=\"button.fund-this-package\" />\n </Button>\n </StyledLink>\n );\n};\n\nexport default FundButton;\n"],"mappings":";;;;;;;;;;;;AAUA,IAAM,aAAa,OAAO,YAAY,CAAC,EAAqB,EAAE,aAAa;CACzE,WAAW,MAAM,QAAQ,CAAC;CAC1B,cAAc,MAAM,QAAQ,CAAC;CAC7B,gBAAgB;CAChB,SAAS;AACX,EAAE;AAEF,IAAM,qBAAqB,OAAO,QAAQ,CAAC,EAAqB,EAAE,aAAa,EAC7E,OAAO,MAAM,QAAQ,KACvB,EAAE;AAEF,IAAM,mBAAmB,OAAO,QAAQ,CAAC,CAAC,EACxC,aAAa,EACf,CAAC;AAED,IAAM,cAA8C,EAAE,kBAAkB;CAEtE,MAAM,aAAa,cAAoB,aAAa,QAAQ,OAAO;CAEnE,IAAI,CAAC,cAAc,CAAC,MAAU,UAAU,GACtC,OAAO;CAGT,OACE,oBAAC,YAAD;EAAY,IAAI;EAAY,SAAQ;EAClC,UAAA,oBAAC,QAAD;GACE,OAAM;GACN,WAAW;GACX,WAAW,oBAAC,oBAAD,CAAqB,CAAA;GAChC,SAAQ;GAER,UAAA,oBAAC,OAAD;IAAO,YAAY,CAAC,oBAAC,kBAAD,CAA8B,GAAR,MAAQ,CAAC;IAAG,SAAQ;GAA4B,CAAA;EACpF,CAAA;CACE,CAAA;AAEhB"}
1
+ {"version":3,"file":"FundButton.mjs","names":["utils.getFundingUrl","url.isURL"],"sources":["../../../src/components/FundButton/FundButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Favorite from '@mui/icons-material/Favorite';\nimport Button from '@mui/material/Button';\nimport React from 'react';\nimport { Trans } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { url, utils } from '../../utils';\nimport LinkExternal from '../LinkExternal';\n\nconst StyledLink = styled(LinkExternal)<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n textDecoration: 'none',\n display: 'block',\n}));\n\nconst StyledFavoriteIcon = styled(Favorite)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.love,\n}));\n\nconst StyledFundStrong = styled('strong')({\n marginRight: 3,\n});\n\nconst FundButton: React.FC<{ packageMeta: any }> = ({ packageMeta }) => {\n // funding can be a string, an object or an array of both\n const fundingUrl = utils.getFundingUrl(packageMeta?.latest?.funding);\n\n if (!fundingUrl || !url.isURL(fundingUrl)) {\n return null;\n }\n\n return (\n <StyledLink to={fundingUrl} variant=\"button\">\n <Button\n color=\"primary\"\n fullWidth={true}\n startIcon={<StyledFavoriteIcon />}\n variant=\"outlined\"\n >\n <Trans components={[<StyledFundStrong key=\"fund\" />]} i18nKey=\"button.fund-this-package\" />\n </Button>\n </StyledLink>\n );\n};\n\nexport default FundButton;\n"],"mappings":";;;;;;;;;;;;AAUA,IAAM,aAAa,OAAO,YAAY,CAAC,EAAqB,EAAE,aAAa;CACzE,WAAW,MAAM,QAAQ,CAAC;CAC1B,cAAc,MAAM,QAAQ,CAAC;CAC7B,gBAAgB;CAChB,SAAS;AACX,EAAE;AAEF,IAAM,qBAAqB,OAAO,QAAQ,CAAC,EAAqB,EAAE,aAAa,EAC7E,OAAO,MAAM,QAAQ,KACvB,EAAE;AAEF,IAAM,mBAAmB,OAAO,QAAQ,CAAC,CAAC,EACxC,aAAa,EACf,CAAC;AAED,IAAM,cAA8C,EAAE,kBAAkB;CAEtE,MAAM,aAAaA,cAAoB,aAAa,QAAQ,OAAO;CAEnE,IAAI,CAAC,cAAc,CAACC,MAAU,UAAU,GACtC,OAAO;CAGT,OACE,oBAAC,YAAD;EAAY,IAAI;EAAY,SAAQ;EAClC,UAAA,oBAAC,QAAD;GACE,OAAM;GACN,WAAW;GACX,WAAW,oBAAC,oBAAD,CAAqB,CAAA;GAChC,SAAQ;GAER,UAAA,oBAAC,OAAD;IAAO,YAAY,CAAC,oBAAC,kBAAD,CAA8B,GAAR,MAAQ,CAAC;IAAG,SAAQ;GAA4B,CAAA;EACpF,CAAA;CACE,CAAA;AAEhB"}
@@ -1,2 +1 @@
1
- import FundButton from "./FundButton.mjs";
2
- export { FundButton as default };
1
+ export { default } from "./FundButton.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"GenericError.js","names":[],"sources":["../../../src/components/GenericError/GenericError.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../../';\nimport Heading from '../Heading';\n\nconst GenericError: React.FC = () => {\n const navigate = useNavigate();\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"generic-error\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <ErrorOutlineIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"generic-error-text\" variant=\"h4\">\n {t('error.unspecific')}\n </StyledHeading>\n <Button\n data-testid=\"generic-error-go-to-home-button\"\n onClick={handleGoHome}\n variant=\"contained\"\n >\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default GenericError;\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,IAAM,qBAA+B;CACnC,MAAM,YAAA,GAAW,aAAA,YAAA,CAAY;CAC7B,MAAM,EAAE,OAAA,GAAM,cAAA,eAAA,CAAe;CAE7B,MAAM,gBAAA,GAAe,MAAA,YAAA,OAAkB;EACrC,SAAS,GAAG;CACd,GAAG,CAAC,QAAQ,CAAC;CAEb,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,kBAAA,SAAD;EACE,YAAW;EACX,eAAY;EACZ,SAAQ;EACR,eAAc;EACd,UAAU;EACV,gBAAe;EACf,GAAG;EAPL,UAAA;GASE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,iCAAA,SAAD;IAAkB,OAAM;IAAU,OAAO,EAAE,UAAU,IAAI;GAAI,CAAA,EACpD,CAAA;GACX,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD;IAAe,WAAU;IAAqB,SAAQ;IACnD,UAAA,EAAE,kBAAkB;GACR,CAAA;GACf,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAA,SAAD;IACE,eAAY;IACZ,SAAS;IACT,SAAQ;IAEP,UAAA,EAAE,4BAA4B;GACzB,CAAA;EACL;;AAET;AAIA,IAAM,aAAA,GAAY,gBAAA,QAAA,CAAO,KAAK,CAAC,CAAC,EAC9B,QAAQ,SACV,CAAC;AAED,IAAM,iBAAA,GAAgB,gBAAA,QAAA,CAAO,gBAAA,OAAO,CAAC,EAAqB,EAAE,aAAa;CACvE,OAAO,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,qBAAA,OAAO;CAC5E,cAAc;AAChB,EAAE"}
1
+ {"version":3,"file":"GenericError.js","names":["useNavigate","useTranslation","useCallback","Box","ErrorOutlineIcon","Button","styled","Heading","common"],"sources":["../../../src/components/GenericError/GenericError.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../../';\nimport Heading from '../Heading';\n\nconst GenericError: React.FC = () => {\n const navigate = useNavigate();\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"generic-error\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <ErrorOutlineIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"generic-error-text\" variant=\"h4\">\n {t('error.unspecific')}\n </StyledHeading>\n <Button\n data-testid=\"generic-error-go-to-home-button\"\n onClick={handleGoHome}\n variant=\"contained\"\n >\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default GenericError;\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,IAAM,qBAA+B;CACnC,MAAM,YAAA,GAAWA,aAAAA,YAAAA,CAAY;CAC7B,MAAM,EAAE,OAAA,GAAMC,cAAAA,eAAAA,CAAe;CAE7B,MAAM,gBAAA,GAAeC,MAAAA,YAAAA,OAAkB;EACrC,SAAS,GAAG;CACd,GAAG,CAAC,QAAQ,CAAC;CAEb,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,kBAAAA,SAAD;EACE,YAAW;EACX,eAAY;EACZ,SAAQ;EACR,eAAc;EACd,UAAU;EACV,gBAAe;EACf,GAAG;EAPL,UAAA;GASE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,iCAAAA,SAAD;IAAkB,OAAM;IAAU,OAAO,EAAE,UAAU,IAAI;GAAI,CAAA,EACpD,CAAA;GACX,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD;IAAe,WAAU;IAAqB,SAAQ;IACnD,UAAA,EAAE,kBAAkB;GACR,CAAA;GACf,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,SAAD;IACE,eAAY;IACZ,SAAS;IACT,SAAQ;IAEP,UAAA,EAAE,4BAA4B;GACzB,CAAA;EACL;;AAET;AAIA,IAAM,aAAA,GAAYC,gBAAAA,QAAAA,CAAO,KAAK,CAAC,CAAC,EAC9B,QAAQ,SACV,CAAC;AAED,IAAM,iBAAA,GAAgBA,gBAAAA,QAAAA,CAAOC,gBAAAA,OAAO,CAAC,EAAqB,EAAE,aAAa;CACvE,OAAO,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAOC,qBAAAA,OAAO;CAC5E,cAAc;AAChB,EAAE"}
@@ -1,2 +1 @@
1
- import GenericError from "./GenericError.mjs";
2
- export { GenericError as default };
1
+ export { default } from "./GenericError.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderInfoDialog.js","names":[],"sources":["../../../src/components/HeaderInfoDialog/HeaderInfoDialog.tsx"],"sourcesContent":["import Box from '@mui/material/Box';\nimport Tab from '@mui/material/Tab';\nimport Tabs from '@mui/material/Tabs';\nimport React from 'react';\n\nimport RegistryInfoDialog from '../RegistryInfoDialog';\n\ninterface Props {\n isOpen: boolean;\n onCloseDialog: () => void;\n tabPanels: any;\n tabs: any;\n dialogTitle: string;\n}\n\nfunction a11yProps(index) {\n return {\n id: `simple-tab-${index}`,\n 'aria-controls': `simple-tabpanel-${index}`,\n };\n}\n\nfunction TabPanel(props) {\n const { children, value, index, ...other } = props;\n\n return (\n <div\n aria-labelledby={`simple-tab-${index}`}\n hidden={value !== index}\n id={`simple-tabpanel-${index}`}\n role=\"tabpanel\"\n {...other}\n >\n {value === index && <Box sx={{ paddingTop: 3 }}>{children}</Box>}\n </div>\n );\n}\n\nconst HeaderInfoDialog: React.FC<Props> = ({\n onCloseDialog,\n isOpen,\n tabs = null,\n tabPanels = null,\n dialogTitle,\n}) => {\n const [value, setValue] = React.useState(0);\n\n const handleChange = (_event, newValue) => {\n setValue(newValue);\n };\n\n return (\n <RegistryInfoDialog onClose={onCloseDialog} open={isOpen} title={dialogTitle}>\n <Box sx={{ width: '100%' }}>\n <Box sx={{ borderBottom: 1, borderColor: 'divider' }}>\n <Tabs aria-label=\"infoTabs\" data-testid={'tabs'} onChange={handleChange} value={value}>\n {tabs\n ? tabs.map((item, index) => {\n return (\n <Tab key={item.label} label={item.label} {...a11yProps(index)} {...item} />\n );\n })\n : null}\n </Tabs>\n </Box>\n\n {tabPanels\n ? tabPanels.map((item, index) => {\n return (\n <TabPanel index={index} key={index} value={value}>\n {item.element}\n </TabPanel>\n );\n })\n : null}\n </Box>\n </RegistryInfoDialog>\n );\n};\n\nexport default HeaderInfoDialog;\n"],"mappings":";;;;;;;;;;;;;AAeA,SAAS,UAAU,OAAO;CACxB,OAAO;EACL,IAAI,cAAc;EAClB,iBAAiB,mBAAmB;CACtC;AACF;AAEA,SAAS,SAAS,OAAO;CACvB,MAAM,EAAE,UAAU,OAAO,OAAO,GAAG,UAAU;CAE7C,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EACE,mBAAiB,cAAc;EAC/B,QAAQ,UAAU;EAClB,IAAI,mBAAmB;EACvB,MAAK;EACL,GAAI;EAEH,UAAA,UAAU,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAA,SAAD;GAAK,IAAI,EAAE,YAAY,EAAE;GAAI;EAAc,CAAA;CAC5D,CAAA;AAET;AAEA,IAAM,oBAAqC,EACzC,eACA,QACA,OAAO,MACP,YAAY,MACZ,kBACI;CACJ,MAAM,CAAC,OAAO,YAAY,MAAA,QAAM,SAAS,CAAC;CAE1C,MAAM,gBAAgB,QAAQ,aAAa;EACzC,SAAS,QAAQ;CACnB;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,2BAAA,SAAD;EAAoB,SAAS;EAAe,MAAM;EAAQ,OAAO;EAC/D,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAAC,kBAAA,SAAD;GAAK,IAAI,EAAE,OAAO,OAAO;GAAzB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAA,SAAD;IAAK,IAAI;KAAE,cAAc;KAAG,aAAa;IAAU;IACjD,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,mBAAA,SAAD;KAAM,cAAW;KAAW,eAAa;KAAQ,UAAU;KAAqB;KAC7E,UAAA,OACG,KAAK,KAAK,MAAM,UAAU;MACxB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAA,SAAD;OAAsB,OAAO,KAAK;OAAO,GAAI,UAAU,KAAK;OAAG,GAAI;MAAO,GAAhE,KAAK,KAA2D;KAE9E,CAAC,IACD;IACA,CAAA;GACH,CAAA,GAEJ,YACG,UAAU,KAAK,MAAM,UAAU;IAC7B,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,UAAD;KAAiB;KAA0B;KACxC,UAAA,KAAK;IACE,GAFmB,KAEnB;GAEd,CAAC,IACD,IACD;;CACa,CAAA;AAExB"}
1
+ {"version":3,"file":"HeaderInfoDialog.js","names":["Box","React","RegistryInfoDialog","Tabs","Tab"],"sources":["../../../src/components/HeaderInfoDialog/HeaderInfoDialog.tsx"],"sourcesContent":["import Box from '@mui/material/Box';\nimport Tab from '@mui/material/Tab';\nimport Tabs from '@mui/material/Tabs';\nimport React from 'react';\n\nimport RegistryInfoDialog from '../RegistryInfoDialog';\n\ninterface Props {\n isOpen: boolean;\n onCloseDialog: () => void;\n tabPanels: any;\n tabs: any;\n dialogTitle: string;\n}\n\nfunction a11yProps(index) {\n return {\n id: `simple-tab-${index}`,\n 'aria-controls': `simple-tabpanel-${index}`,\n };\n}\n\nfunction TabPanel(props) {\n const { children, value, index, ...other } = props;\n\n return (\n <div\n aria-labelledby={`simple-tab-${index}`}\n hidden={value !== index}\n id={`simple-tabpanel-${index}`}\n role=\"tabpanel\"\n {...other}\n >\n {value === index && <Box sx={{ paddingTop: 3 }}>{children}</Box>}\n </div>\n );\n}\n\nconst HeaderInfoDialog: React.FC<Props> = ({\n onCloseDialog,\n isOpen,\n tabs = null,\n tabPanels = null,\n dialogTitle,\n}) => {\n const [value, setValue] = React.useState(0);\n\n const handleChange = (_event, newValue) => {\n setValue(newValue);\n };\n\n return (\n <RegistryInfoDialog onClose={onCloseDialog} open={isOpen} title={dialogTitle}>\n <Box sx={{ width: '100%' }}>\n <Box sx={{ borderBottom: 1, borderColor: 'divider' }}>\n <Tabs aria-label=\"infoTabs\" data-testid={'tabs'} onChange={handleChange} value={value}>\n {tabs\n ? tabs.map((item, index) => {\n return (\n <Tab key={item.label} label={item.label} {...a11yProps(index)} {...item} />\n );\n })\n : null}\n </Tabs>\n </Box>\n\n {tabPanels\n ? tabPanels.map((item, index) => {\n return (\n <TabPanel index={index} key={index} value={value}>\n {item.element}\n </TabPanel>\n );\n })\n : null}\n </Box>\n </RegistryInfoDialog>\n );\n};\n\nexport default HeaderInfoDialog;\n"],"mappings":";;;;;;;;;;;;;AAeA,SAAS,UAAU,OAAO;CACxB,OAAO;EACL,IAAI,cAAc;EAClB,iBAAiB,mBAAmB;CACtC;AACF;AAEA,SAAS,SAAS,OAAO;CACvB,MAAM,EAAE,UAAU,OAAO,OAAO,GAAG,UAAU;CAE7C,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EACE,mBAAiB,cAAc;EAC/B,QAAQ,UAAU;EAClB,IAAI,mBAAmB;EACvB,MAAK;EACL,GAAI;EAEH,UAAA,UAAU,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAACA,kBAAAA,SAAD;GAAK,IAAI,EAAE,YAAY,EAAE;GAAI;EAAc,CAAA;CAC5D,CAAA;AAET;AAEA,IAAM,oBAAqC,EACzC,eACA,QACA,OAAO,MACP,YAAY,MACZ,kBACI;CACJ,MAAM,CAAC,OAAO,YAAYC,MAAAA,QAAM,SAAS,CAAC;CAE1C,MAAM,gBAAgB,QAAQ,aAAa;EACzC,SAAS,QAAQ;CACnB;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,2BAAAA,SAAD;EAAoB,SAAS;EAAe,MAAM;EAAQ,OAAO;EAC/D,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAACF,kBAAAA,SAAD;GAAK,IAAI,EAAE,OAAO,OAAO;GAAzB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,kBAAAA,SAAD;IAAK,IAAI;KAAE,cAAc;KAAG,aAAa;IAAU;IACjD,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACG,mBAAAA,SAAD;KAAM,cAAW;KAAW,eAAa;KAAQ,UAAU;KAAqB;KAC7E,UAAA,OACG,KAAK,KAAK,MAAM,UAAU;MACxB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,kBAAAA,SAAD;OAAsB,OAAO,KAAK;OAAO,GAAI,UAAU,KAAK;OAAG,GAAI;MAAO,GAAhE,KAAK,KAA2D;KAE9E,CAAC,IACD;IACA,CAAA;GACH,CAAA,GAEJ,YACG,UAAU,KAAK,MAAM,UAAU;IAC7B,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,UAAD;KAAiB;KAA0B;KACxC,UAAA,KAAK;IACE,GAFmB,KAEnB;GAEd,CAAC,IACD,IACD;;CACa,CAAA;AAExB"}
@@ -1,2 +1 @@
1
- import HeaderInfoDialog from "./HeaderInfoDialog.mjs";
2
- export { HeaderInfoDialog as default };
1
+ export { default } from "./HeaderInfoDialog.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.js","names":[],"sources":["../../../src/components/Heading/Heading.tsx"],"sourcesContent":["import type { TypographyProps } from '@mui/material/Typography';\nimport { default as MaterialUITypography } from '@mui/material/Typography';\nimport React from 'react';\n\ntype HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\ntype HeadingRef = HTMLHeadingElement;\n\ninterface Props extends Omit<TypographyProps, 'variant'> {\n variant?: HeadingType;\n}\n\nconst Heading = function Heading({\n ref,\n variant = 'h6',\n ...props\n}: Props & { ref?: React.RefObject<HeadingRef | null> }) {\n return <MaterialUITypography {...props} ref={ref} variant={variant} />;\n};\n\nexport default Heading;\n"],"mappings":";;;;;;;AAWA,IAAM,UAAU,SAAS,QAAQ,EAC/B,KACA,UAAU,MACV,GAAG,SACoD;CACvD,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,yBAAA,SAAD;EAAsB,GAAI;EAAY;EAAc;CAAU,CAAA;AACvE"}
1
+ {"version":3,"file":"Heading.js","names":["MaterialUITypography"],"sources":["../../../src/components/Heading/Heading.tsx"],"sourcesContent":["import type { TypographyProps } from '@mui/material/Typography';\nimport { default as MaterialUITypography } from '@mui/material/Typography';\nimport React from 'react';\n\ntype HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\ntype HeadingRef = HTMLHeadingElement;\n\ninterface Props extends Omit<TypographyProps, 'variant'> {\n variant?: HeadingType;\n}\n\nconst Heading = function Heading({\n ref,\n variant = 'h6',\n ...props\n}: Props & { ref?: React.RefObject<HeadingRef | null> }) {\n return <MaterialUITypography {...props} ref={ref} variant={variant} />;\n};\n\nexport default Heading;\n"],"mappings":";;;;;;;AAWA,IAAM,UAAU,SAAS,QAAQ,EAC/B,KACA,UAAU,MACV,GAAG,SACoD;CACvD,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACA,yBAAAA,SAAD;EAAsB,GAAI;EAAY;EAAc;CAAU,CAAA;AACvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.mjs","names":[],"sources":["../../../src/components/Heading/Heading.tsx"],"sourcesContent":["import type { TypographyProps } from '@mui/material/Typography';\nimport { default as MaterialUITypography } from '@mui/material/Typography';\nimport React from 'react';\n\ntype HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\ntype HeadingRef = HTMLHeadingElement;\n\ninterface Props extends Omit<TypographyProps, 'variant'> {\n variant?: HeadingType;\n}\n\nconst Heading = function Heading({\n ref,\n variant = 'h6',\n ...props\n}: Props & { ref?: React.RefObject<HeadingRef | null> }) {\n return <MaterialUITypography {...props} ref={ref} variant={variant} />;\n};\n\nexport default Heading;\n"],"mappings":";;;;AAWA,IAAM,UAAU,SAAS,QAAQ,EAC/B,KACA,UAAU,MACV,GAAG,SACoD;CACvD,OAAO,oBAAC,YAAD;EAAsB,GAAI;EAAY;EAAc;CAAU,CAAA;AACvE"}
1
+ {"version":3,"file":"Heading.mjs","names":["MaterialUITypography"],"sources":["../../../src/components/Heading/Heading.tsx"],"sourcesContent":["import type { TypographyProps } from '@mui/material/Typography';\nimport { default as MaterialUITypography } from '@mui/material/Typography';\nimport React from 'react';\n\ntype HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\ntype HeadingRef = HTMLHeadingElement;\n\ninterface Props extends Omit<TypographyProps, 'variant'> {\n variant?: HeadingType;\n}\n\nconst Heading = function Heading({\n ref,\n variant = 'h6',\n ...props\n}: Props & { ref?: React.RefObject<HeadingRef | null> }) {\n return <MaterialUITypography {...props} ref={ref} variant={variant} />;\n};\n\nexport default Heading;\n"],"mappings":";;;;AAWA,IAAM,UAAU,SAAS,QAAQ,EAC/B,KACA,UAAU,MACV,GAAG,SACoD;CACvD,OAAO,oBAACA,YAAD;EAAsB,GAAI;EAAY;EAAc;CAAU,CAAA;AACvE"}
@@ -1,2 +1 @@
1
- import Heading from "./Heading.mjs";
2
- export { Heading as default };
1
+ export { default } from "./Heading.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"Help.js","names":[],"sources":["../../../src/components/Help/Help.tsx"],"sourcesContent":["import Button from '@mui/material/Button';\nimport CardActions from '@mui/material/CardActions';\nimport CardContent from '@mui/material/CardContent';\nimport Typography from '@mui/material/Typography';\nimport React, { Fragment } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { CopyClipboard, Heading, useConfig } from '../../';\nimport { CardStyled as Card } from './styles';\n\nfunction renderHeadingClipboardSegments(title: string, text: string): React.ReactNode {\n return (\n <Fragment>\n <Typography variant={'body1'}>{title}</Typography>\n <CopyClipboard dataTestId=\"segments\" text={text} />\n </Fragment>\n );\n}\n\nconst Help: React.FC = () => {\n const { configOptions } = useConfig();\n const registryUrl = configOptions.base;\n const { t } = useTranslation();\n\n return (\n <Card data-testid=\"help-card\" id=\"help-card\">\n <CardContent>\n <Heading gutterBottom={true} id=\"help-card__title\" variant=\"h5\">\n {t('help.title')}\n </Heading>\n <Heading color=\"textSecondary\" gutterBottom={true} sx={{ marginBottom: 1 }}>\n {t('help.sub-title')}\n </Heading>\n {renderHeadingClipboardSegments(\n t('help.first-step'),\n t('help.first-step-command-line', { registryUrl })\n )}\n {renderHeadingClipboardSegments(\n t('help.second-step'),\n t('help.second-step-command-line', { registryUrl })\n )}\n <Typography variant=\"body1\">{t('help.third-step')}</Typography>\n </CardContent>\n <CardActions>\n <Button color=\"primary\" href=\"https://verdaccio.org/docs/cli-registry\" size=\"small\">\n {t('button.learn-more')}\n </Button>\n </CardActions>\n </Card>\n );\n};\n\nexport default Help;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAUA,SAAS,+BAA+B,OAAe,MAA+B;CACpF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,MAAA,UAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,yBAAA,SAAD;EAAY,SAAS;EAAU,UAAA;CAAkB,CAAA,GACjD,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAA,SAAD;EAAe,YAAW;EAAiB;CAAO,CAAA,CAC1C,EAAA,CAAA;AAEd;AAEA,IAAM,aAAuB;CAC3B,MAAM,EAAE,kBAAkB,iCAAA,UAAU;CACpC,MAAM,cAAc,cAAc;CAClC,MAAM,EAAE,OAAA,GAAM,cAAA,eAAA,CAAe;CAE7B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,eAAA,YAAD;EAAM,eAAY;EAAY,IAAG;EAAjC,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,0BAAA,SAAD,EAAA,UAAA;GACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,gBAAA,SAAD;IAAS,cAAc;IAAM,IAAG;IAAmB,SAAQ;IACxD,UAAA,EAAE,YAAY;GACR,CAAA;GACT,iBAAA,GAAA,kBAAA,IAAA,CAAC,gBAAA,SAAD;IAAS,OAAM;IAAgB,cAAc;IAAM,IAAI,EAAE,cAAc,EAAE;IACtE,UAAA,EAAE,gBAAgB;GACZ,CAAA;GACR,+BACC,EAAE,iBAAiB,GACnB,EAAE,gCAAgC,EAAE,YAAY,CAAC,CACnD;GACC,+BACC,EAAE,kBAAkB,GACpB,EAAE,iCAAiC,EAAE,YAAY,CAAC,CACpD;GACA,iBAAA,GAAA,kBAAA,IAAA,CAAC,yBAAA,SAAD;IAAY,SAAQ;IAAS,UAAA,EAAE,iBAAiB;GAAc,CAAA;EACnD,EAAA,CAAA,GACb,iBAAA,GAAA,kBAAA,IAAA,CAAC,0BAAA,SAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAA,SAAD;GAAQ,OAAM;GAAU,MAAK;GAA0C,MAAK;GACzE,UAAA,EAAE,mBAAmB;EAChB,CAAA,EACG,CAAA,CACT;;AAEV"}
1
+ {"version":3,"file":"Help.js","names":["Fragment","Typography","CopyClipboard","useConfig","useTranslation","Card","CardContent","Heading","CardActions","Button"],"sources":["../../../src/components/Help/Help.tsx"],"sourcesContent":["import Button from '@mui/material/Button';\nimport CardActions from '@mui/material/CardActions';\nimport CardContent from '@mui/material/CardContent';\nimport Typography from '@mui/material/Typography';\nimport React, { Fragment } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { CopyClipboard, Heading, useConfig } from '../../';\nimport { CardStyled as Card } from './styles';\n\nfunction renderHeadingClipboardSegments(title: string, text: string): React.ReactNode {\n return (\n <Fragment>\n <Typography variant={'body1'}>{title}</Typography>\n <CopyClipboard dataTestId=\"segments\" text={text} />\n </Fragment>\n );\n}\n\nconst Help: React.FC = () => {\n const { configOptions } = useConfig();\n const registryUrl = configOptions.base;\n const { t } = useTranslation();\n\n return (\n <Card data-testid=\"help-card\" id=\"help-card\">\n <CardContent>\n <Heading gutterBottom={true} id=\"help-card__title\" variant=\"h5\">\n {t('help.title')}\n </Heading>\n <Heading color=\"textSecondary\" gutterBottom={true} sx={{ marginBottom: 1 }}>\n {t('help.sub-title')}\n </Heading>\n {renderHeadingClipboardSegments(\n t('help.first-step'),\n t('help.first-step-command-line', { registryUrl })\n )}\n {renderHeadingClipboardSegments(\n t('help.second-step'),\n t('help.second-step-command-line', { registryUrl })\n )}\n <Typography variant=\"body1\">{t('help.third-step')}</Typography>\n </CardContent>\n <CardActions>\n <Button color=\"primary\" href=\"https://verdaccio.org/docs/cli-registry\" size=\"small\">\n {t('button.learn-more')}\n </Button>\n </CardActions>\n </Card>\n );\n};\n\nexport default Help;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAUA,SAAS,+BAA+B,OAAe,MAA+B;CACpF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACA,MAAAA,UAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,yBAAAA,SAAD;EAAY,SAAS;EAAU,UAAA;CAAkB,CAAA,GACjD,iBAAA,GAAA,kBAAA,IAAA,CAACC,wBAAAA,SAAD;EAAe,YAAW;EAAiB;CAAO,CAAA,CAC1C,EAAA,CAAA;AAEd;AAEA,IAAM,aAAuB;CAC3B,MAAM,EAAE,kBAAkBC,iCAAAA,UAAU;CACpC,MAAM,cAAc,cAAc;CAClC,MAAM,EAAE,OAAA,GAAMC,cAAAA,eAAAA,CAAe;CAE7B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,eAAAA,YAAD;EAAM,eAAY;EAAY,IAAG;EAAjC,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,0BAAAA,SAAD,EAAA,UAAA;GACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,gBAAAA,SAAD;IAAS,cAAc;IAAM,IAAG;IAAmB,SAAQ;IACxD,UAAA,EAAE,YAAY;GACR,CAAA;GACT,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,SAAD;IAAS,OAAM;IAAgB,cAAc;IAAM,IAAI,EAAE,cAAc,EAAE;IACtE,UAAA,EAAE,gBAAgB;GACZ,CAAA;GACR,+BACC,EAAE,iBAAiB,GACnB,EAAE,gCAAgC,EAAE,YAAY,CAAC,CACnD;GACC,+BACC,EAAE,kBAAkB,GACpB,EAAE,iCAAiC,EAAE,YAAY,CAAC,CACpD;GACA,iBAAA,GAAA,kBAAA,IAAA,CAACN,yBAAAA,SAAD;IAAY,SAAQ;IAAS,UAAA,EAAE,iBAAiB;GAAc,CAAA;EACnD,EAAA,CAAA,GACb,iBAAA,GAAA,kBAAA,IAAA,CAACO,0BAAAA,SAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,SAAD;GAAQ,OAAM;GAAU,MAAK;GAA0C,MAAK;GACzE,UAAA,EAAE,mBAAmB;EAChB,CAAA,EACG,CAAA,CACT;;AAEV"}
@@ -1 +1 @@
1
- {"version":3,"file":"Help.mjs","names":[],"sources":["../../../src/components/Help/Help.tsx"],"sourcesContent":["import Button from '@mui/material/Button';\nimport CardActions from '@mui/material/CardActions';\nimport CardContent from '@mui/material/CardContent';\nimport Typography from '@mui/material/Typography';\nimport React, { Fragment } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { CopyClipboard, Heading, useConfig } from '../../';\nimport { CardStyled as Card } from './styles';\n\nfunction renderHeadingClipboardSegments(title: string, text: string): React.ReactNode {\n return (\n <Fragment>\n <Typography variant={'body1'}>{title}</Typography>\n <CopyClipboard dataTestId=\"segments\" text={text} />\n </Fragment>\n );\n}\n\nconst Help: React.FC = () => {\n const { configOptions } = useConfig();\n const registryUrl = configOptions.base;\n const { t } = useTranslation();\n\n return (\n <Card data-testid=\"help-card\" id=\"help-card\">\n <CardContent>\n <Heading gutterBottom={true} id=\"help-card__title\" variant=\"h5\">\n {t('help.title')}\n </Heading>\n <Heading color=\"textSecondary\" gutterBottom={true} sx={{ marginBottom: 1 }}>\n {t('help.sub-title')}\n </Heading>\n {renderHeadingClipboardSegments(\n t('help.first-step'),\n t('help.first-step-command-line', { registryUrl })\n )}\n {renderHeadingClipboardSegments(\n t('help.second-step'),\n t('help.second-step-command-line', { registryUrl })\n )}\n <Typography variant=\"body1\">{t('help.third-step')}</Typography>\n </CardContent>\n <CardActions>\n <Button color=\"primary\" href=\"https://verdaccio.org/docs/cli-registry\" size=\"small\">\n {t('button.learn-more')}\n </Button>\n </CardActions>\n </Card>\n );\n};\n\nexport default Help;\n"],"mappings":";;;;;;;;;;;;;AAUA,SAAS,+BAA+B,OAAe,MAA+B;CACpF,OACE,qBAAC,UAAD,EAAA,UAAA,CACE,oBAAC,YAAD;EAAY,SAAS;EAAU,UAAA;CAAkB,CAAA,GACjD,oBAAC,iBAAD;EAAe,YAAW;EAAiB;CAAO,CAAA,CAC1C,EAAA,CAAA;AAEd;AAEA,IAAM,aAAuB;CAC3B,MAAM,EAAE,kBAAkB,UAAU;CACpC,MAAM,cAAc,cAAc;CAClC,MAAM,EAAE,MAAM,eAAe;CAE7B,OACE,qBAAC,YAAD;EAAM,eAAY;EAAY,IAAG;EAAjC,UAAA,CACE,qBAAC,aAAD,EAAA,UAAA;GACE,oBAAC,SAAD;IAAS,cAAc;IAAM,IAAG;IAAmB,SAAQ;IACxD,UAAA,EAAE,YAAY;GACR,CAAA;GACT,oBAAC,SAAD;IAAS,OAAM;IAAgB,cAAc;IAAM,IAAI,EAAE,cAAc,EAAE;IACtE,UAAA,EAAE,gBAAgB;GACZ,CAAA;GACR,+BACC,EAAE,iBAAiB,GACnB,EAAE,gCAAgC,EAAE,YAAY,CAAC,CACnD;GACC,+BACC,EAAE,kBAAkB,GACpB,EAAE,iCAAiC,EAAE,YAAY,CAAC,CACpD;GACA,oBAAC,YAAD;IAAY,SAAQ;IAAS,UAAA,EAAE,iBAAiB;GAAc,CAAA;EACnD,EAAA,CAAA,GACb,oBAAC,aAAD,EAAA,UACE,oBAAC,QAAD;GAAQ,OAAM;GAAU,MAAK;GAA0C,MAAK;GACzE,UAAA,EAAE,mBAAmB;EAChB,CAAA,EACG,CAAA,CACT;;AAEV"}
1
+ {"version":3,"file":"Help.mjs","names":["CopyClipboard","Card"],"sources":["../../../src/components/Help/Help.tsx"],"sourcesContent":["import Button from '@mui/material/Button';\nimport CardActions from '@mui/material/CardActions';\nimport CardContent from '@mui/material/CardContent';\nimport Typography from '@mui/material/Typography';\nimport React, { Fragment } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { CopyClipboard, Heading, useConfig } from '../../';\nimport { CardStyled as Card } from './styles';\n\nfunction renderHeadingClipboardSegments(title: string, text: string): React.ReactNode {\n return (\n <Fragment>\n <Typography variant={'body1'}>{title}</Typography>\n <CopyClipboard dataTestId=\"segments\" text={text} />\n </Fragment>\n );\n}\n\nconst Help: React.FC = () => {\n const { configOptions } = useConfig();\n const registryUrl = configOptions.base;\n const { t } = useTranslation();\n\n return (\n <Card data-testid=\"help-card\" id=\"help-card\">\n <CardContent>\n <Heading gutterBottom={true} id=\"help-card__title\" variant=\"h5\">\n {t('help.title')}\n </Heading>\n <Heading color=\"textSecondary\" gutterBottom={true} sx={{ marginBottom: 1 }}>\n {t('help.sub-title')}\n </Heading>\n {renderHeadingClipboardSegments(\n t('help.first-step'),\n t('help.first-step-command-line', { registryUrl })\n )}\n {renderHeadingClipboardSegments(\n t('help.second-step'),\n t('help.second-step-command-line', { registryUrl })\n )}\n <Typography variant=\"body1\">{t('help.third-step')}</Typography>\n </CardContent>\n <CardActions>\n <Button color=\"primary\" href=\"https://verdaccio.org/docs/cli-registry\" size=\"small\">\n {t('button.learn-more')}\n </Button>\n </CardActions>\n </Card>\n );\n};\n\nexport default Help;\n"],"mappings":";;;;;;;;;;;;;AAUA,SAAS,+BAA+B,OAAe,MAA+B;CACpF,OACE,qBAAC,UAAD,EAAA,UAAA,CACE,oBAAC,YAAD;EAAY,SAAS;EAAU,UAAA;CAAkB,CAAA,GACjD,oBAACA,iBAAD;EAAe,YAAW;EAAiB;CAAO,CAAA,CAC1C,EAAA,CAAA;AAEd;AAEA,IAAM,aAAuB;CAC3B,MAAM,EAAE,kBAAkB,UAAU;CACpC,MAAM,cAAc,cAAc;CAClC,MAAM,EAAE,MAAM,eAAe;CAE7B,OACE,qBAACC,YAAD;EAAM,eAAY;EAAY,IAAG;EAAjC,UAAA,CACE,qBAAC,aAAD,EAAA,UAAA;GACE,oBAAC,SAAD;IAAS,cAAc;IAAM,IAAG;IAAmB,SAAQ;IACxD,UAAA,EAAE,YAAY;GACR,CAAA;GACT,oBAAC,SAAD;IAAS,OAAM;IAAgB,cAAc;IAAM,IAAI,EAAE,cAAc,EAAE;IACtE,UAAA,EAAE,gBAAgB;GACZ,CAAA;GACR,+BACC,EAAE,iBAAiB,GACnB,EAAE,gCAAgC,EAAE,YAAY,CAAC,CACnD;GACC,+BACC,EAAE,kBAAkB,GACpB,EAAE,iCAAiC,EAAE,YAAY,CAAC,CACpD;GACA,oBAAC,YAAD;IAAY,SAAQ;IAAS,UAAA,EAAE,iBAAiB;GAAc,CAAA;EACnD,EAAA,CAAA,GACb,oBAAC,aAAD,EAAA,UACE,oBAAC,QAAD;GAAQ,OAAM;GAAU,MAAK;GAA0C,MAAK;GACzE,UAAA,EAAE,mBAAmB;EAChB,CAAA,EACG,CAAA,CACT;;AAEV"}
@@ -1,2 +1 @@
1
- import Help from "./Help.mjs";
2
- export { Help as default };
1
+ export { default } from "./Help.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/Help/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Card from '@mui/material/Card';\n\nexport const CardStyled = styled(Card)({\n maxWidth: 600,\n margin: 'auto',\n});\n"],"mappings":";;;;;;AAGA,IAAa,cAAA,GAAa,gBAAA,QAAA,CAAO,mBAAA,OAAI,CAAC,CAAC;CACrC,UAAU;CACV,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"styles.js","names":["styled","Card"],"sources":["../../../src/components/Help/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Card from '@mui/material/Card';\n\nexport const CardStyled = styled(Card)({\n maxWidth: 600,\n margin: 'auto',\n});\n"],"mappings":";;;;;;AAGA,IAAa,cAAA,GAAaA,gBAAAA,QAAAA,CAAOC,mBAAAA,OAAI,CAAC,CAAC;CACrC,UAAU;CACV,QAAQ;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommonJS2.js","names":[],"sources":["../../../../src/components/Icons/DevsIcons/CommonJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './commonjs.svg';\n\nexport function CommonJS() {\n return <img alt=\"commonjs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,WAAW;CACzB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAW,QAAO;EAAK,KAAK,iBAAA;EAAM,OAAM;CAAM,CAAA;AAChE"}
1
+ {"version":3,"file":"CommonJS2.js","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/CommonJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './commonjs.svg';\n\nexport function CommonJS() {\n return <img alt=\"commonjs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,WAAW;CACzB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAW,QAAO;EAAK,KAAKA,iBAAAA;EAAM,OAAM;CAAM,CAAA;AAChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommonJS2.mjs","names":[],"sources":["../../../../src/components/Icons/DevsIcons/CommonJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './commonjs.svg';\n\nexport function CommonJS() {\n return <img alt=\"commonjs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,WAAW;CACzB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAW,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAChE"}
1
+ {"version":3,"file":"CommonJS2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/CommonJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './commonjs.svg';\n\nexport function CommonJS() {\n return <img alt=\"commonjs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,WAAW;CACzB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAW,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ES6Module2.js","names":[],"sources":["../../../../src/components/Icons/DevsIcons/ES6Module.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './es6module.svg';\n\nexport function ES6Modules() {\n return <img alt=\"es6 modules\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAc,QAAO;EAAK,KAAK,kBAAA;EAAM,OAAM;CAAM,CAAA;AACnE"}
1
+ {"version":3,"file":"ES6Module2.js","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/ES6Module.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './es6module.svg';\n\nexport function ES6Modules() {\n return <img alt=\"es6 modules\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAc,QAAO;EAAK,KAAKA,kBAAAA;EAAM,OAAM;CAAM,CAAA;AACnE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ES6Module2.mjs","names":[],"sources":["../../../../src/components/Icons/DevsIcons/ES6Module.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './es6module.svg';\n\nexport function ES6Modules() {\n return <img alt=\"es6 modules\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAc,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AACnE"}
1
+ {"version":3,"file":"ES6Module2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/ES6Module.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './es6module.svg';\n\nexport function ES6Modules() {\n return <img alt=\"es6 modules\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAc,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AACnE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Git2.js","names":[],"sources":["../../../../src/components/Icons/DevsIcons/Git.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './git.svg';\n\nexport function Git() {\n return <img alt=\"git\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,MAAM;CACpB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAM,QAAO;EAAK,KAAK,YAAA;EAAM,OAAM;CAAM,CAAA;AAC3D"}
1
+ {"version":3,"file":"Git2.js","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/Git.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './git.svg';\n\nexport function Git() {\n return <img alt=\"git\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,MAAM;CACpB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAM,QAAO;EAAK,KAAKA,YAAAA;EAAM,OAAM;CAAM,CAAA;AAC3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"Git2.mjs","names":[],"sources":["../../../../src/components/Icons/DevsIcons/Git.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './git.svg';\n\nexport function Git() {\n return <img alt=\"git\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,MAAM;CACpB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAM,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAC3D"}
1
+ {"version":3,"file":"Git2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/Git.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './git.svg';\n\nexport function Git() {\n return <img alt=\"git\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,MAAM;CACpB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAM,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAC3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"NodeJS2.js","names":[],"sources":["../../../../src/components/Icons/DevsIcons/NodeJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './nodejs.svg';\n\nexport function NodeJS() {\n return <img alt=\"nodejs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,SAAS;CACvB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAS,QAAO;EAAK,KAAK,eAAA;EAAM,OAAM;CAAM,CAAA;AAC9D"}
1
+ {"version":3,"file":"NodeJS2.js","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/NodeJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './nodejs.svg';\n\nexport function NodeJS() {\n return <img alt=\"nodejs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,SAAS;CACvB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAS,QAAO;EAAK,KAAKA,eAAAA;EAAM,OAAM;CAAM,CAAA;AAC9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"NodeJS2.mjs","names":[],"sources":["../../../../src/components/Icons/DevsIcons/NodeJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './nodejs.svg';\n\nexport function NodeJS() {\n return <img alt=\"nodejs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,SAAS;CACvB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAS,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAC9D"}
1
+ {"version":3,"file":"NodeJS2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/NodeJS.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './nodejs.svg';\n\nexport function NodeJS() {\n return <img alt=\"nodejs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,SAAS;CACvB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAS,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAC9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"TypeScript2.js","names":[],"sources":["../../../../src/components/Icons/DevsIcons/TypeScript.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './typescript.svg';\n\nexport function TypeScript() {\n return <img alt=\"typescript\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAa,QAAO;EAAK,KAAK,mBAAA;EAAM,OAAM;CAAM,CAAA;AAClE"}
1
+ {"version":3,"file":"TypeScript2.js","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/TypeScript.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './typescript.svg';\n\nexport function TypeScript() {\n return <img alt=\"typescript\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAa,QAAO;EAAK,KAAKA,mBAAAA;EAAM,OAAM;CAAM,CAAA;AAClE"}
@@ -1 +1 @@
1
- {"version":3,"file":"TypeScript2.mjs","names":[],"sources":["../../../../src/components/Icons/DevsIcons/TypeScript.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './typescript.svg';\n\nexport function TypeScript() {\n return <img alt=\"typescript\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAa,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAClE"}
1
+ {"version":3,"file":"TypeScript2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/DevsIcons/TypeScript.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './typescript.svg';\n\nexport function TypeScript() {\n return <img alt=\"typescript\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,aAAa;CAC3B,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAa,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAClE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Earth.js","names":[],"sources":["../../../src/components/Icons/Earth.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Earth = function Earth({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 45 45\" {...props} ref={ref}>\n <defs>\n <clipPath id=\"prefix__a\">\n <path d=\"M0 36h36V0H0v36z\" />\n </clipPath>\n <clipPath id=\"prefix__b\">\n <path d=\"M18 36C8.059 36 0 27.941 0 18S8.059 0 18 0s18 8.059 18 18-8.059 18-18 18z\" />\n </clipPath>\n </defs>\n <g clipPath=\"url(#prefix__a)\" transform=\"matrix(1.25 0 0 -1.25 0 45)\">\n <path\n d=\"M36 18c0-9.941-8.059-18-18-18S0 8.059 0 18s8.059 18 18 18 18-8.059 18-18\"\n fill=\"#88c9f9\"\n />\n </g>\n <g clipPath=\"url(#prefix__b)\" transform=\"matrix(1.25 0 0 -1.25 0 45)\">\n <path\n d=\"M3.627 28.952c-.45 2.93 2.195 4.156 3.607 4.47 1.412.314 2.776.62 2.933-.006.156-.628.311-1.46 1.173-1.148.862.314 3.043.56 4.063 1.342 1.02.783 2.244.787 3.264.473 1.02-.313 3.877-.227 3.25-1.167-.627-.94-1.825-.827-2.45-1.924-.628-1.099.171-1.826 1.033-1.826.865 0 1.71-.135 2.26.727.548.863-.383 2.463.324 2.357.706-.106 1.477-.866 2.03-2.043.547-1.176 1.408-.47 1.723-1.176.313-.705 2.04-2.039 1.177-1.804-.864.236-1.726.392-1.96-.47-.237-.863.388-1.726-.237-1.647-.627.08-.86-.089-1.725-.004-.862.083-1.333.631-2.039-.545-.705-1.175-1.254-1.96-1.567-2.509-.315-.549-.785-.86-.55-1.96.235-1.099-.628-.785-.628.156 0 .94-.548 1.098-1.253.942-.706-.157-1.803-.313-1.724-1.098.077-.784-.315-1.725.313-2.352.627-.629 1.33.076 1.723-.158.393-.237 1.525-.023 1.133-.416-.393-.39-1.76-.88-.976-1.509a4.831 4.831 0 011.893-.907c.313-.08.062.774 1.083 1.166 1.017.392 2.608 1.29 3 .584.391-.705.338-.595 1.75-.75 1.41-.156 1.79-.585 2.417-1.917.626-1.333.446-1.192 1.462-1.58 1.021-.394 1.678-.223.737-1.087-.94-.86-1.65-.814-2.199-1.833-.55-1.017-.153-1.73-1.25-2.75A20.755 20.755 0 0024 4c-.618-.37-2.162-2.07-3.083-2.667-.834-.54-1.083 0-1.083 0s.256 1.667.964 2.372c.704.705 1.105 3.344.87 4.128-.235.783-1.36 1.02-1.75 1.333-.393.312-1.418 1.548-1.418 2.334 0 .784 1.71 2.81 1.71 2.81.218-1.089-1.039.328-1.627.523-.47.157-1.542 1.656-2.459 1.814-.916.16-1.363.7-2.068 1.25-.706.55-2.43 1.332-2.353 2.195.08.862-1.725 1.568-2.038 1.568-.314 0-1.019 0-1.647 1.098-.627 1.098-1.725 2.196-1.41 2.98.312.783.391 1.726.233 2.588-.156.862-1.332 1.176-1.567.941-.235-.236-1.489-1.335-1.647-.315\"\n fill=\"#5c913b\"\n />\n </g>\n </SvgIcon>\n );\n};\n\nEarth.displayName = 'Earth';\n\nexport { Earth };\n"],"mappings":";;;;;;AAIA,IAAM,QAAQ,SAAS,MAAM,EAAE,KAAK,GAAG,SAA+C;CACpF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,gBAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAA7C,UAAA;GACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IAAU,IAAG;IACX,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,mBAAoB,CAAA;GACpB,CAAA,GACV,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IAAU,IAAG;IACX,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,4EAA6E,CAAA;GAC7E,CAAA,CACN,EAAA,CAAA;GACN,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;IAAG,UAAS;IAAkB,WAAU;IACtC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;KACE,GAAE;KACF,MAAK;IACN,CAAA;GACA,CAAA;GACH,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;IAAG,UAAS;IAAkB,WAAU;IACtC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;KACE,GAAE;KACF,MAAK;IACN,CAAA;GACA,CAAA;EACI;;AAEb;AAEA,MAAM,cAAc"}
1
+ {"version":3,"file":"Earth.js","names":["SvgIcon"],"sources":["../../../src/components/Icons/Earth.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Earth = function Earth({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 45 45\" {...props} ref={ref}>\n <defs>\n <clipPath id=\"prefix__a\">\n <path d=\"M0 36h36V0H0v36z\" />\n </clipPath>\n <clipPath id=\"prefix__b\">\n <path d=\"M18 36C8.059 36 0 27.941 0 18S8.059 0 18 0s18 8.059 18 18-8.059 18-18 18z\" />\n </clipPath>\n </defs>\n <g clipPath=\"url(#prefix__a)\" transform=\"matrix(1.25 0 0 -1.25 0 45)\">\n <path\n d=\"M36 18c0-9.941-8.059-18-18-18S0 8.059 0 18s8.059 18 18 18 18-8.059 18-18\"\n fill=\"#88c9f9\"\n />\n </g>\n <g clipPath=\"url(#prefix__b)\" transform=\"matrix(1.25 0 0 -1.25 0 45)\">\n <path\n d=\"M3.627 28.952c-.45 2.93 2.195 4.156 3.607 4.47 1.412.314 2.776.62 2.933-.006.156-.628.311-1.46 1.173-1.148.862.314 3.043.56 4.063 1.342 1.02.783 2.244.787 3.264.473 1.02-.313 3.877-.227 3.25-1.167-.627-.94-1.825-.827-2.45-1.924-.628-1.099.171-1.826 1.033-1.826.865 0 1.71-.135 2.26.727.548.863-.383 2.463.324 2.357.706-.106 1.477-.866 2.03-2.043.547-1.176 1.408-.47 1.723-1.176.313-.705 2.04-2.039 1.177-1.804-.864.236-1.726.392-1.96-.47-.237-.863.388-1.726-.237-1.647-.627.08-.86-.089-1.725-.004-.862.083-1.333.631-2.039-.545-.705-1.175-1.254-1.96-1.567-2.509-.315-.549-.785-.86-.55-1.96.235-1.099-.628-.785-.628.156 0 .94-.548 1.098-1.253.942-.706-.157-1.803-.313-1.724-1.098.077-.784-.315-1.725.313-2.352.627-.629 1.33.076 1.723-.158.393-.237 1.525-.023 1.133-.416-.393-.39-1.76-.88-.976-1.509a4.831 4.831 0 011.893-.907c.313-.08.062.774 1.083 1.166 1.017.392 2.608 1.29 3 .584.391-.705.338-.595 1.75-.75 1.41-.156 1.79-.585 2.417-1.917.626-1.333.446-1.192 1.462-1.58 1.021-.394 1.678-.223.737-1.087-.94-.86-1.65-.814-2.199-1.833-.55-1.017-.153-1.73-1.25-2.75A20.755 20.755 0 0024 4c-.618-.37-2.162-2.07-3.083-2.667-.834-.54-1.083 0-1.083 0s.256 1.667.964 2.372c.704.705 1.105 3.344.87 4.128-.235.783-1.36 1.02-1.75 1.333-.393.312-1.418 1.548-1.418 2.334 0 .784 1.71 2.81 1.71 2.81.218-1.089-1.039.328-1.627.523-.47.157-1.542 1.656-2.459 1.814-.916.16-1.363.7-2.068 1.25-.706.55-2.43 1.332-2.353 2.195.08.862-1.725 1.568-2.038 1.568-.314 0-1.019 0-1.647 1.098-.627 1.098-1.725 2.196-1.41 2.98.312.783.391 1.726.233 2.588-.156.862-1.332 1.176-1.567.941-.235-.236-1.489-1.335-1.647-.315\"\n fill=\"#5c913b\"\n />\n </g>\n </SvgIcon>\n );\n};\n\nEarth.displayName = 'Earth';\n\nexport { Earth };\n"],"mappings":";;;;;;AAIA,IAAM,QAAQ,SAAS,MAAM,EAAE,KAAK,GAAG,SAA+C;CACpF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACA,gBAAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAA7C,UAAA;GACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IAAU,IAAG;IACX,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,mBAAoB,CAAA;GACpB,CAAA,GACV,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IAAU,IAAG;IACX,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,4EAA6E,CAAA;GAC7E,CAAA,CACN,EAAA,CAAA;GACN,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;IAAG,UAAS;IAAkB,WAAU;IACtC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;KACE,GAAE;KACF,MAAK;IACN,CAAA;GACA,CAAA;GACH,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;IAAG,UAAS;IAAkB,WAAU;IACtC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;KACE,GAAE;KACF,MAAK;IACN,CAAA;GACA,CAAA;EACI;;AAEb;AAEA,MAAM,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileBinary.js","names":[],"sources":["../../../src/components/Icons/FileBinary.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst FileBinary = function FileBinary({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 14 16\" {...props} ref={ref}>\n <path d=\"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z\" />\n </SvgIcon>\n );\n};\n\nFileBinary.displayName = 'FileBinary';\n\nexport { FileBinary };\n"],"mappings":";;;;;;AAIA,IAAM,aAAa,SAAS,WAAW,EAAE,KAAK,GAAG,SAA+C;CAC9F,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,gBAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAC3C,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,0LAA2L,CAAA;CAC5L,CAAA;AAEb;AAEA,WAAW,cAAc"}
1
+ {"version":3,"file":"FileBinary.js","names":["SvgIcon"],"sources":["../../../src/components/Icons/FileBinary.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst FileBinary = function FileBinary({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 14 16\" {...props} ref={ref}>\n <path d=\"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z\" />\n </SvgIcon>\n );\n};\n\nFileBinary.displayName = 'FileBinary';\n\nexport { FileBinary };\n"],"mappings":";;;;;;AAIA,IAAM,aAAa,SAAS,WAAW,EAAE,KAAK,GAAG,SAA+C;CAC9F,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAC3C,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,0LAA2L,CAAA;CAC5L,CAAA;AAEb;AAEA,WAAW,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"Law.js","names":[],"sources":["../../../src/components/Icons/Law.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Law = function Law({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 14 16\" {...props} ref={ref}>\n <path\n d=\"M7 4c-.83 0-1.5-.67-1.5-1.5S6.17 1 7 1s1.5.67 1.5 1.5S7.83 4 7 4zm7 6c0 1.11-.89 2-2 2h-1c-1.11 0-2-.89-2-2l2-4h-1c-.55 0-1-.45-1-1H8v8c.42 0 1 .45 1 1h1c.42 0 1 .45 1 1H3c0-.55.58-1 1-1h1c0-.55.58-1 1-1h.03L6 5H5c0 .55-.45 1-1 1H3l2 4c0 1.11-.89 2-2 2H2c-1.11 0-2-.89-2-2l2-4H1V5h3c0-.55.45-1 1-1h4c.55 0 1 .45 1 1h3v1h-1l2 4zM2.5 7L1 10h3L2.5 7zM13 10l-1.5-3-1.5 3h3z\"\n fillRule=\"evenodd\"\n />\n </SvgIcon>\n );\n};\n\nLaw.displayName = 'Law';\n\nexport { Law };\n"],"mappings":";;;;;;AAIA,IAAM,MAAM,SAAS,IAAI,EAAE,KAAK,GAAG,SAA+C;CAChF,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,gBAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAC3C,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;GACE,GAAE;GACF,UAAS;EACV,CAAA;CACM,CAAA;AAEb;AAEA,IAAI,cAAc"}
1
+ {"version":3,"file":"Law.js","names":["SvgIcon"],"sources":["../../../src/components/Icons/Law.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Law = function Law({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 14 16\" {...props} ref={ref}>\n <path\n d=\"M7 4c-.83 0-1.5-.67-1.5-1.5S6.17 1 7 1s1.5.67 1.5 1.5S7.83 4 7 4zm7 6c0 1.11-.89 2-2 2h-1c-1.11 0-2-.89-2-2l2-4h-1c-.55 0-1-.45-1-1H8v8c.42 0 1 .45 1 1h1c.42 0 1 .45 1 1H3c0-.55.58-1 1-1h1c0-.55.58-1 1-1h.03L6 5H5c0 .55-.45 1-1 1H3l2 4c0 1.11-.89 2-2 2H2c-1.11 0-2-.89-2-2l2-4H1V5h3c0-.55.45-1 1-1h4c.55 0 1 .45 1 1h3v1h-1l2 4zM2.5 7L1 10h3L2.5 7zM13 10l-1.5-3-1.5 3h3z\"\n fillRule=\"evenodd\"\n />\n </SvgIcon>\n );\n};\n\nLaw.displayName = 'Law';\n\nexport { Law };\n"],"mappings":";;;;;;AAIA,IAAM,MAAM,SAAS,IAAI,EAAE,KAAK,GAAG,SAA+C;CAChF,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAC3C,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;GACE,GAAE;GACF,UAAS;EACV,CAAA;CACM,CAAA;AAEb;AAEA,IAAI,cAAc"}
@@ -1,8 +1,6 @@
1
1
  import React from 'react';
2
- declare function License({ ref, ...props }: {
3
- [x: string]: any;
4
- ref: any;
5
- }): React.JSX.Element;
2
+ import { SvgIcon } from './SvgIcon';
3
+ declare function License({ ref, ...props }: React.ComponentProps<typeof SvgIcon>): React.JSX.Element;
6
4
  declare namespace License {
7
5
  var displayName: string;
8
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"License.js","names":[],"sources":["../../../src/components/Icons/License.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst License = function License({ ref, ...props }) {\n return (\n <SvgIcon viewBox=\"0 0 490.652 490.652\" {...props} ref={ref}>\n <path d=\"M456.607 9.904H34.04C15.269 9.904 0 25.17 0 43.945V310.17c0 18.77 15.269 34.039 34.04 34.039h260.642c-4.043-10.35-6.534-21.737-7.159-33.742l-253.974-.297.491-266.718 423.063.493V310.17c0 .279-.23.492-.495.492l-15.251-.019c-.637 11.942-3.111 23.263-7.138 33.565h22.389c18.777 0 34.045-15.27 34.045-34.039V43.945c-.001-18.775-15.268-34.041-34.046-34.041z\" />\n <path d=\"M364.447 381.02c33.354 0 60.386-34.152 60.386-76.289 0-42.131-27.031-76.284-60.386-76.284-33.35 0-60.38 34.153-60.38 76.284 0 42.137 27.031 76.289 60.38 76.289zM81.087 118.345h149.561c9.273 0 16.776-7.499 16.776-16.772 0-9.271-7.504-16.775-16.776-16.775H81.087c-9.271 0-16.771 7.504-16.771 16.775 0 9.273 7.499 16.772 16.771 16.772zm334.08 58.716c0-9.273-7.505-16.779-16.776-16.779H81.087c-9.271 0-16.771 7.506-16.771 16.779 0 9.271 7.499 16.77 16.771 16.77h317.304c9.271 0 16.776-7.498 16.776-16.77zm-334.08 58.707c-9.271 0-16.771 7.504-16.771 16.771 0 9.273 7.499 16.777 16.771 16.777h149.561c9.273 0 16.776-7.504 16.776-16.777 0-9.268-7.504-16.771-16.776-16.771H81.087zm334.338 138.684c-.065.082-23.295 26.869-55.728 23.081l40.331 81.577a2.93 2.93 0 002.637 1.639h.215a2.95 2.95 0 002.571-2.031l10.174-31.234a3.024 3.024 0 011.488-1.728 3.07 3.07 0 012.28-.13l30.977 10.88c.324.112.651.163.98.163.836 0 1.623-.348 2.195-.982.803-.9.964-2.18.441-3.244l-38.561-77.991zm-101.772.146c-.049-.047-.118-.096-.185-.146l-38.561 77.973a2.953 2.953 0 00.448 3.262 2.961 2.961 0 003.174.819l30.978-10.88c.328-.113.658-.16.982-.16.442 0 .884.096 1.294.29.706.36 1.245.987 1.493 1.741l10.173 31.221c.378 1.133 1.391 1.936 2.572 2.014h.21a2.95 2.95 0 002.642-1.621l26.206-53.01-16.755-33.893c-.066-.034-14.672-5.884-24.671-17.61z\" />\n </SvgIcon>\n );\n};\n\nLicense.displayName = 'License';\n\nexport { License };\n"],"mappings":";;;;;;AAIA,IAAM,UAAU,SAAS,QAAQ,EAAE,KAAK,GAAG,SAAS;CAClD,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,gBAAA,SAAD;EAAS,SAAQ;EAAsB,GAAI;EAAY;EAAvD,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,mWAAoW,CAAA,GAC5W,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,wyCAAyyC,CAAA,CAC1yC;;AAEb;AAEA,QAAQ,cAAc"}
1
+ {"version":3,"file":"License.js","names":["SvgIcon"],"sources":["../../../src/components/Icons/License.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst License = function License({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 490.652 490.652\" {...props} ref={ref}>\n <path d=\"M456.607 9.904H34.04C15.269 9.904 0 25.17 0 43.945V310.17c0 18.77 15.269 34.039 34.04 34.039h260.642c-4.043-10.35-6.534-21.737-7.159-33.742l-253.974-.297.491-266.718 423.063.493V310.17c0 .279-.23.492-.495.492l-15.251-.019c-.637 11.942-3.111 23.263-7.138 33.565h22.389c18.777 0 34.045-15.27 34.045-34.039V43.945c-.001-18.775-15.268-34.041-34.046-34.041z\" />\n <path d=\"M364.447 381.02c33.354 0 60.386-34.152 60.386-76.289 0-42.131-27.031-76.284-60.386-76.284-33.35 0-60.38 34.153-60.38 76.284 0 42.137 27.031 76.289 60.38 76.289zM81.087 118.345h149.561c9.273 0 16.776-7.499 16.776-16.772 0-9.271-7.504-16.775-16.776-16.775H81.087c-9.271 0-16.771 7.504-16.771 16.775 0 9.273 7.499 16.772 16.771 16.772zm334.08 58.716c0-9.273-7.505-16.779-16.776-16.779H81.087c-9.271 0-16.771 7.506-16.771 16.779 0 9.271 7.499 16.77 16.771 16.77h317.304c9.271 0 16.776-7.498 16.776-16.77zm-334.08 58.707c-9.271 0-16.771 7.504-16.771 16.771 0 9.273 7.499 16.777 16.771 16.777h149.561c9.273 0 16.776-7.504 16.776-16.777 0-9.268-7.504-16.771-16.776-16.771H81.087zm334.338 138.684c-.065.082-23.295 26.869-55.728 23.081l40.331 81.577a2.93 2.93 0 002.637 1.639h.215a2.95 2.95 0 002.571-2.031l10.174-31.234a3.024 3.024 0 011.488-1.728 3.07 3.07 0 012.28-.13l30.977 10.88c.324.112.651.163.98.163.836 0 1.623-.348 2.195-.982.803-.9.964-2.18.441-3.244l-38.561-77.991zm-101.772.146c-.049-.047-.118-.096-.185-.146l-38.561 77.973a2.953 2.953 0 00.448 3.262 2.961 2.961 0 003.174.819l30.978-10.88c.328-.113.658-.16.982-.16.442 0 .884.096 1.294.29.706.36 1.245.987 1.493 1.741l10.173 31.221c.378 1.133 1.391 1.936 2.572 2.014h.21a2.95 2.95 0 002.642-1.621l26.206-53.01-16.755-33.893c-.066-.034-14.672-5.884-24.671-17.61z\" />\n </SvgIcon>\n );\n};\n\nLicense.displayName = 'License';\n\nexport { License };\n"],"mappings":";;;;;;AAIA,IAAM,UAAU,SAAS,QAAQ,EAAE,KAAK,GAAG,SAA+C;CACxF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACA,gBAAAA,SAAD;EAAS,SAAQ;EAAsB,GAAI;EAAY;EAAvD,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,mWAAoW,CAAA,GAC5W,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,wyCAAyyC,CAAA,CAC1yC;;AAEb;AAEA,QAAQ,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"License.mjs","names":[],"sources":["../../../src/components/Icons/License.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst License = function License({ ref, ...props }) {\n return (\n <SvgIcon viewBox=\"0 0 490.652 490.652\" {...props} ref={ref}>\n <path d=\"M456.607 9.904H34.04C15.269 9.904 0 25.17 0 43.945V310.17c0 18.77 15.269 34.039 34.04 34.039h260.642c-4.043-10.35-6.534-21.737-7.159-33.742l-253.974-.297.491-266.718 423.063.493V310.17c0 .279-.23.492-.495.492l-15.251-.019c-.637 11.942-3.111 23.263-7.138 33.565h22.389c18.777 0 34.045-15.27 34.045-34.039V43.945c-.001-18.775-15.268-34.041-34.046-34.041z\" />\n <path d=\"M364.447 381.02c33.354 0 60.386-34.152 60.386-76.289 0-42.131-27.031-76.284-60.386-76.284-33.35 0-60.38 34.153-60.38 76.284 0 42.137 27.031 76.289 60.38 76.289zM81.087 118.345h149.561c9.273 0 16.776-7.499 16.776-16.772 0-9.271-7.504-16.775-16.776-16.775H81.087c-9.271 0-16.771 7.504-16.771 16.775 0 9.273 7.499 16.772 16.771 16.772zm334.08 58.716c0-9.273-7.505-16.779-16.776-16.779H81.087c-9.271 0-16.771 7.506-16.771 16.779 0 9.271 7.499 16.77 16.771 16.77h317.304c9.271 0 16.776-7.498 16.776-16.77zm-334.08 58.707c-9.271 0-16.771 7.504-16.771 16.771 0 9.273 7.499 16.777 16.771 16.777h149.561c9.273 0 16.776-7.504 16.776-16.777 0-9.268-7.504-16.771-16.776-16.771H81.087zm334.338 138.684c-.065.082-23.295 26.869-55.728 23.081l40.331 81.577a2.93 2.93 0 002.637 1.639h.215a2.95 2.95 0 002.571-2.031l10.174-31.234a3.024 3.024 0 011.488-1.728 3.07 3.07 0 012.28-.13l30.977 10.88c.324.112.651.163.98.163.836 0 1.623-.348 2.195-.982.803-.9.964-2.18.441-3.244l-38.561-77.991zm-101.772.146c-.049-.047-.118-.096-.185-.146l-38.561 77.973a2.953 2.953 0 00.448 3.262 2.961 2.961 0 003.174.819l30.978-10.88c.328-.113.658-.16.982-.16.442 0 .884.096 1.294.29.706.36 1.245.987 1.493 1.741l10.173 31.221c.378 1.133 1.391 1.936 2.572 2.014h.21a2.95 2.95 0 002.642-1.621l26.206-53.01-16.755-33.893c-.066-.034-14.672-5.884-24.671-17.61z\" />\n </SvgIcon>\n );\n};\n\nLicense.displayName = 'License';\n\nexport { License };\n"],"mappings":";;;;AAIA,IAAM,UAAU,SAAS,QAAQ,EAAE,KAAK,GAAG,SAAS;CAClD,OACE,qBAAC,SAAD;EAAS,SAAQ;EAAsB,GAAI;EAAY;EAAvD,UAAA,CACE,oBAAC,QAAD,EAAM,GAAE,mWAAoW,CAAA,GAC5W,oBAAC,QAAD,EAAM,GAAE,wyCAAyyC,CAAA,CAC1yC;;AAEb;AAEA,QAAQ,cAAc"}
1
+ {"version":3,"file":"License.mjs","names":[],"sources":["../../../src/components/Icons/License.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst License = function License({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 490.652 490.652\" {...props} ref={ref}>\n <path d=\"M456.607 9.904H34.04C15.269 9.904 0 25.17 0 43.945V310.17c0 18.77 15.269 34.039 34.04 34.039h260.642c-4.043-10.35-6.534-21.737-7.159-33.742l-253.974-.297.491-266.718 423.063.493V310.17c0 .279-.23.492-.495.492l-15.251-.019c-.637 11.942-3.111 23.263-7.138 33.565h22.389c18.777 0 34.045-15.27 34.045-34.039V43.945c-.001-18.775-15.268-34.041-34.046-34.041z\" />\n <path d=\"M364.447 381.02c33.354 0 60.386-34.152 60.386-76.289 0-42.131-27.031-76.284-60.386-76.284-33.35 0-60.38 34.153-60.38 76.284 0 42.137 27.031 76.289 60.38 76.289zM81.087 118.345h149.561c9.273 0 16.776-7.499 16.776-16.772 0-9.271-7.504-16.775-16.776-16.775H81.087c-9.271 0-16.771 7.504-16.771 16.775 0 9.273 7.499 16.772 16.771 16.772zm334.08 58.716c0-9.273-7.505-16.779-16.776-16.779H81.087c-9.271 0-16.771 7.506-16.771 16.779 0 9.271 7.499 16.77 16.771 16.77h317.304c9.271 0 16.776-7.498 16.776-16.77zm-334.08 58.707c-9.271 0-16.771 7.504-16.771 16.771 0 9.273 7.499 16.777 16.771 16.777h149.561c9.273 0 16.776-7.504 16.776-16.777 0-9.268-7.504-16.771-16.776-16.771H81.087zm334.338 138.684c-.065.082-23.295 26.869-55.728 23.081l40.331 81.577a2.93 2.93 0 002.637 1.639h.215a2.95 2.95 0 002.571-2.031l10.174-31.234a3.024 3.024 0 011.488-1.728 3.07 3.07 0 012.28-.13l30.977 10.88c.324.112.651.163.98.163.836 0 1.623-.348 2.195-.982.803-.9.964-2.18.441-3.244l-38.561-77.991zm-101.772.146c-.049-.047-.118-.096-.185-.146l-38.561 77.973a2.953 2.953 0 00.448 3.262 2.961 2.961 0 003.174.819l30.978-10.88c.328-.113.658-.16.982-.16.442 0 .884.096 1.294.29.706.36 1.245.987 1.493 1.741l10.173 31.221c.378 1.133 1.391 1.936 2.572 2.014h.21a2.95 2.95 0 002.642-1.621l26.206-53.01-16.755-33.893c-.066-.034-14.672-5.884-24.671-17.61z\" />\n </SvgIcon>\n );\n};\n\nLicense.displayName = 'License';\n\nexport { License };\n"],"mappings":";;;;AAIA,IAAM,UAAU,SAAS,QAAQ,EAAE,KAAK,GAAG,SAA+C;CACxF,OACE,qBAAC,SAAD;EAAS,SAAQ;EAAsB,GAAI;EAAY;EAAvD,UAAA,CACE,oBAAC,QAAD,EAAM,GAAE,mWAAoW,CAAA,GAC5W,oBAAC,QAAD,EAAM,GAAE,wyCAAyyC,CAAA,CAC1yC;;AAEb;AAEA,QAAQ,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"Npm2.js","names":[],"sources":["../../../../src/components/Icons/Managers/Npm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './npm.svg';\n\nexport function Npm() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,MAAM;CACpB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAK,YAAA;EAAM,OAAM;CAAM,CAAA;AAC3E"}
1
+ {"version":3,"file":"Npm2.js","names":["icon"],"sources":["../../../../src/components/Icons/Managers/Npm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './npm.svg';\n\nexport function Npm() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,MAAM;CACpB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAKA,YAAAA;EAAM,OAAM;CAAM,CAAA;AAC3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"Npm2.mjs","names":[],"sources":["../../../../src/components/Icons/Managers/Npm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './npm.svg';\n\nexport function Npm() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,MAAM;CACpB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAC3E"}
1
+ {"version":3,"file":"Npm2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/Managers/Npm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './npm.svg';\n\nexport function Npm() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,MAAM;CACpB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAC3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pnpm2.js","names":[],"sources":["../../../../src/components/Icons/Managers/Pnpm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './pnpm.svg';\n\nexport function Pnpm() {\n return <img alt=\"pnpm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,OAAO;CACrB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAuB,QAAO;EAAK,KAAK,aAAA;EAAM,OAAM;CAAM,CAAA;AAC5E"}
1
+ {"version":3,"file":"Pnpm2.js","names":["icon"],"sources":["../../../../src/components/Icons/Managers/Pnpm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './pnpm.svg';\n\nexport function Pnpm() {\n return <img alt=\"pnpm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,OAAO;CACrB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAuB,QAAO;EAAK,KAAKA,aAAAA;EAAM,OAAM;CAAM,CAAA;AAC5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pnpm2.mjs","names":[],"sources":["../../../../src/components/Icons/Managers/Pnpm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './pnpm.svg';\n\nexport function Pnpm() {\n return <img alt=\"pnpm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,OAAO;CACrB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAuB,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAC5E"}
1
+ {"version":3,"file":"Pnpm2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/Managers/Pnpm.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './pnpm.svg';\n\nexport function Pnpm() {\n return <img alt=\"pnpm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,OAAO;CACrB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAuB,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAC5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"Yarn2.js","names":[],"sources":["../../../../src/components/Icons/Managers/Yarn.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './yarn.svg';\n\nexport function Yarn() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,OAAO;CACrB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAK,aAAA;EAAM,OAAM;CAAM,CAAA;AAC3E"}
1
+ {"version":3,"file":"Yarn2.js","names":["icon"],"sources":["../../../../src/components/Icons/Managers/Yarn.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './yarn.svg';\n\nexport function Yarn() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;AAIA,SAAgB,OAAO;CACrB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAKA,aAAAA;EAAM,OAAM;CAAM,CAAA;AAC3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"Yarn2.mjs","names":[],"sources":["../../../../src/components/Icons/Managers/Yarn.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './yarn.svg';\n\nexport function Yarn() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,OAAO;CACrB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAK;EAAM,OAAM;CAAM,CAAA;AAC3E"}
1
+ {"version":3,"file":"Yarn2.mjs","names":["icon"],"sources":["../../../../src/components/Icons/Managers/Yarn.tsx"],"sourcesContent":["import React from 'react';\n\nimport icon from './yarn.svg';\n\nexport function Yarn() {\n return <img alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;AAIA,SAAgB,OAAO;CACrB,OAAO,oBAAC,OAAD;EAAK,KAAI;EAAsB,QAAO;EAAK,KAAKA;EAAM,OAAM;CAAM,CAAA;AAC3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"SvgIcon.js","names":[],"sources":["../../../src/components/Icons/SvgIcon.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport type { SvgIconProps } from '@mui/material/SvgIcon';\nimport { default as MaterialUISvgIcon } from '@mui/material/SvgIcon';\nimport React from 'react';\n\ntype Size = 'sm' | 'md';\n\ntype Props = Omit<SvgIconProps, 'color' | 'fontsize' | 'name'> & {\n size?: Size;\n title?: string;\n className?: string;\n};\n\nconst SvgIcon = function SvgIcon({\n ref,\n size = 'md',\n title,\n ...props\n}: Props & { ref?: React.RefObject<SVGSVGElement | null> }) {\n return <StyledMaterialUISvgIcon size={size} titleAccess={title} {...props} ref={ref} />;\n};\n\nexport { SvgIcon };\n\nconst getSize = (size: Size) => {\n if (size === 'md') {\n return {\n width: 18,\n height: 18,\n };\n }\n\n return {\n width: 14,\n height: 16,\n };\n};\n\nconst StyledMaterialUISvgIcon = styled(MaterialUISvgIcon)<{ size: Size }>(({ size }) => ({\n ...getSize(size),\n}));\n"],"mappings":";;;;;;;;;AAaA,IAAM,UAAU,SAAS,QAAQ,EAC/B,KACA,OAAO,MACP,OACA,GAAG,SACuD;CAC1D,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,yBAAD;EAA+B;EAAM,aAAa;EAAO,GAAI;EAAY;CAAM,CAAA;AACxF;AAIA,IAAM,WAAW,SAAe;CAC9B,IAAI,SAAS,MACX,OAAO;EACL,OAAO;EACP,QAAQ;CACV;CAGF,OAAO;EACL,OAAO;EACP,QAAQ;CACV;AACF;AAEA,IAAM,2BAAA,GAA0B,gBAAA,QAAA,CAAO,sBAAA,OAAiB,CAAC,EAAkB,EAAE,YAAY,EACvF,GAAG,QAAQ,IAAI,EACjB,EAAE"}
1
+ {"version":3,"file":"SvgIcon.js","names":["styled","MaterialUISvgIcon"],"sources":["../../../src/components/Icons/SvgIcon.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport type { SvgIconProps } from '@mui/material/SvgIcon';\nimport { default as MaterialUISvgIcon } from '@mui/material/SvgIcon';\nimport React from 'react';\n\ntype Size = 'sm' | 'md';\n\ntype Props = Omit<SvgIconProps, 'color' | 'fontsize' | 'name'> & {\n size?: Size;\n title?: string;\n className?: string;\n};\n\nconst SvgIcon = function SvgIcon({\n ref,\n size = 'md',\n title,\n ...props\n}: Props & { ref?: React.RefObject<SVGSVGElement | null> }) {\n return <StyledMaterialUISvgIcon size={size} titleAccess={title} {...props} ref={ref} />;\n};\n\nexport { SvgIcon };\n\nconst getSize = (size: Size) => {\n if (size === 'md') {\n return {\n width: 18,\n height: 18,\n };\n }\n\n return {\n width: 14,\n height: 16,\n };\n};\n\nconst StyledMaterialUISvgIcon = styled(MaterialUISvgIcon)<{ size: Size }>(({ size }) => ({\n ...getSize(size),\n}));\n"],"mappings":";;;;;;;;;AAaA,IAAM,UAAU,SAAS,QAAQ,EAC/B,KACA,OAAO,MACP,OACA,GAAG,SACuD;CAC1D,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,yBAAD;EAA+B;EAAM,aAAa;EAAO,GAAI;EAAY;CAAM,CAAA;AACxF;AAIA,IAAM,WAAW,SAAe;CAC9B,IAAI,SAAS,MACX,OAAO;EACL,OAAO;EACP,QAAQ;CACV;CAGF,OAAO;EACL,OAAO;EACP,QAAQ;CACV;AACF;AAEA,IAAM,2BAAA,GAA0BA,gBAAAA,QAAAA,CAAOC,sBAAAA,OAAiB,CAAC,EAAkB,EAAE,YAAY,EACvF,GAAG,QAAQ,IAAI,EACjB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Time.js","names":[],"sources":["../../../src/components/Icons/Time.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Time = function Time({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" {...props} ref={ref}>\n <path d=\"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\" />\n </SvgIcon>\n );\n};\n\nTime.displayName = 'Time';\n\nexport { Time };\n"],"mappings":";;;;;;AAIA,IAAM,OAAO,SAAS,KAAK,EAAE,KAAK,GAAG,SAA+C;CAClF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,gBAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAA7C,UAAA;GACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,kJAAmJ,CAAA;GAC3J,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,GAAE;IAAgB,MAAK;GAAQ,CAAA;GACrC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,2CAA4C,CAAA;EAC7C;;AAEb;AAEA,KAAK,cAAc"}
1
+ {"version":3,"file":"Time.js","names":["SvgIcon"],"sources":["../../../src/components/Icons/Time.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Time = function Time({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" {...props} ref={ref}>\n <path d=\"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\" />\n </SvgIcon>\n );\n};\n\nTime.displayName = 'Time';\n\nexport { Time };\n"],"mappings":";;;;;;AAIA,IAAM,OAAO,SAAS,KAAK,EAAE,KAAK,GAAG,SAA+C;CAClF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACA,gBAAAA,SAAD;EAAS,SAAQ;EAAY,GAAI;EAAY;EAA7C,UAAA;GACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,kJAAmJ,CAAA;GAC3J,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,GAAE;IAAgB,MAAK;GAAQ,CAAA;GACrC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,GAAE,2CAA4C,CAAA;EAC7C;;AAEb;AAEA,KAAK,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"Version.js","names":[],"sources":["../../../src/components/Icons/Version.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Version = function Version({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon height={16} viewBox=\"0 0 14 16\" width={14} {...props} ref={ref}>\n <path\n d=\"M13 3H7c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 8H8V5h4v6zM4 4h1v1H4v6h1v1H4c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1zM1 5h1v1H1v4h1v1H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1z\"\n fillRule=\"evenodd\"\n />\n </SvgIcon>\n );\n};\n\nVersion.displayName = 'Version';\n\nexport { Version };\n"],"mappings":";;;;;;AAIA,IAAM,UAAU,SAAS,QAAQ,EAAE,KAAK,GAAG,SAA+C;CACxF,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,gBAAA,SAAD;EAAS,QAAQ;EAAI,SAAQ;EAAY,OAAO;EAAI,GAAI;EAAY;EAClE,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;GACE,GAAE;GACF,UAAS;EACV,CAAA;CACM,CAAA;AAEb;AAEA,QAAQ,cAAc"}
1
+ {"version":3,"file":"Version.js","names":["SvgIcon"],"sources":["../../../src/components/Icons/Version.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\nconst Version = function Version({ ref, ...props }: React.ComponentProps<typeof SvgIcon>) {\n return (\n <SvgIcon height={16} viewBox=\"0 0 14 16\" width={14} {...props} ref={ref}>\n <path\n d=\"M13 3H7c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 8H8V5h4v6zM4 4h1v1H4v6h1v1H4c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1zM1 5h1v1H1v4h1v1H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1z\"\n fillRule=\"evenodd\"\n />\n </SvgIcon>\n );\n};\n\nVersion.displayName = 'Version';\n\nexport { Version };\n"],"mappings":";;;;;;AAIA,IAAM,UAAU,SAAS,QAAQ,EAAE,KAAK,GAAG,SAA+C;CACxF,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,SAAD;EAAS,QAAQ;EAAI,SAAQ;EAAY,OAAO;EAAI,GAAI;EAAY;EAClE,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;GACE,GAAE;GACF,UAAS;EACV,CAAA;CACM,CAAA;AAEb;AAEA,QAAQ,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"Install.js","names":[],"sources":["../../../src/components/Install/Install.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Typography } from '@mui/material';\nimport List from '@mui/material/List';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { TemplateUIOptions } from '@verdaccio/types';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { SettingsMenu } from '../SettingsMenu';\nimport InstallListItem, { DependencyManager } from './InstallListItem';\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nconst Wrapper = styled('div')({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n});\n\nexport type Props = {\n packageMeta: PackageMetaInterface;\n packageName: string;\n configOptions: TemplateUIOptions;\n};\n\nconst Install: React.FC<Props> = ({ packageMeta, packageName, configOptions }) => {\n const { t } = useTranslation();\n if (!packageMeta || !packageName) {\n return null;\n }\n\n const hasNpm = configOptions?.pkgManagers?.includes('npm');\n const hasYarn = configOptions?.pkgManagers?.includes('yarn');\n const hasPnpm = configOptions?.pkgManagers?.includes('pnpm') ?? true;\n const hasPkgManagers = hasNpm || hasPnpm || hasYarn;\n\n return hasPkgManagers ? (\n <>\n <List\n data-testid={'installList'}\n subheader={\n <Wrapper>\n <StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>\n <SettingsMenu packageName={packageName} />\n </Wrapper>\n }\n >\n {hasNpm && (\n <InstallListItem\n dependencyManager={DependencyManager.NPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasYarn && (\n <InstallListItem\n dependencyManager={DependencyManager.YARN}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasPnpm && (\n <InstallListItem\n dependencyManager={DependencyManager.PNPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n </List>\n </>\n ) : null;\n};\n\nexport default Install;\n"],"mappings":";;;;;;;;;;;;;;AAaA,IAAM,cAAA,GAAa,gBAAA,QAAA,CAAO,cAAA,UAAU,CAAC,EAAqB,WAAW;CACnE,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAM,WAAA,GAAU,gBAAA,QAAA,CAAO,KAAK,CAAC,CAAC;CAC5B,SAAS;CACT,YAAY;CACZ,gBAAgB;AAClB,CAAC;AAQD,IAAM,WAA4B,EAAE,aAAa,aAAa,oBAAoB;CAChF,MAAM,EAAE,OAAA,GAAM,cAAA,eAAA,CAAe;CAC7B,IAAI,CAAC,eAAe,CAAC,aACnB,OAAO;CAGT,MAAM,SAAS,eAAe,aAAa,SAAS,KAAK;CACzD,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM;CAC3D,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM,KAAK;CAGhE,OAFuB,UAAU,WAAW,UAG1C,iBAAA,GAAA,kBAAA,IAAA,CAAA,kBAAA,UAAA,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,mBAAA,SAAD;EACE,eAAa;EACb,WACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,SAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;GAAY,SAAS;GAAc,UAAA,EAAE,4BAA4B;EAAc,CAAA,GAC/E,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAA,SAAD,EAA2B,YAAc,CAAA,CAClC,EAAA,CAAA;EANb,UAAA;GASG,UACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAA,SAAD;IACE,mBAAmB,wBAAA,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAA,SAAD;IACE,mBAAmB,wBAAA,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAA,SAAD;IACE,mBAAmB,wBAAA,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;EAEC;CACN,CAAA,EAAA,CAAA,IACA;AACN"}
1
+ {"version":3,"file":"Install.js","names":["styled","Typography","useTranslation","_Fragment","List","SettingsMenu","InstallListItem","DependencyManager"],"sources":["../../../src/components/Install/Install.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Typography } from '@mui/material';\nimport List from '@mui/material/List';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { TemplateUIOptions } from '@verdaccio/types';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { SettingsMenu } from '../SettingsMenu';\nimport InstallListItem, { DependencyManager } from './InstallListItem';\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nconst Wrapper = styled('div')({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n});\n\nexport type Props = {\n packageMeta: PackageMetaInterface;\n packageName: string;\n configOptions: TemplateUIOptions;\n};\n\nconst Install: React.FC<Props> = ({ packageMeta, packageName, configOptions }) => {\n const { t } = useTranslation();\n if (!packageMeta || !packageName) {\n return null;\n }\n\n const hasNpm = configOptions?.pkgManagers?.includes('npm');\n const hasYarn = configOptions?.pkgManagers?.includes('yarn');\n const hasPnpm = configOptions?.pkgManagers?.includes('pnpm') ?? true;\n const hasPkgManagers = hasNpm || hasPnpm || hasYarn;\n\n return hasPkgManagers ? (\n <>\n <List\n data-testid={'installList'}\n subheader={\n <Wrapper>\n <StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>\n <SettingsMenu packageName={packageName} />\n </Wrapper>\n }\n >\n {hasNpm && (\n <InstallListItem\n dependencyManager={DependencyManager.NPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasYarn && (\n <InstallListItem\n dependencyManager={DependencyManager.YARN}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasPnpm && (\n <InstallListItem\n dependencyManager={DependencyManager.PNPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n </List>\n </>\n ) : null;\n};\n\nexport default Install;\n"],"mappings":";;;;;;;;;;;;;;AAaA,IAAM,cAAA,GAAaA,gBAAAA,QAAAA,CAAOC,cAAAA,UAAU,CAAC,EAAqB,WAAW;CACnE,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAM,WAAA,GAAUD,gBAAAA,QAAAA,CAAO,KAAK,CAAC,CAAC;CAC5B,SAAS;CACT,YAAY;CACZ,gBAAgB;AAClB,CAAC;AAQD,IAAM,WAA4B,EAAE,aAAa,aAAa,oBAAoB;CAChF,MAAM,EAAE,OAAA,GAAME,cAAAA,eAAAA,CAAe;CAC7B,IAAI,CAAC,eAAe,CAAC,aACnB,OAAO;CAGT,MAAM,SAAS,eAAe,aAAa,SAAS,KAAK;CACzD,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM;CAC3D,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM,KAAK;CAGhE,OAFuB,UAAU,WAAW,UAG1C,iBAAA,GAAA,kBAAA,IAAA,CAAAC,kBAAAA,UAAA,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,mBAAAA,SAAD;EACE,eAAa;EACb,WACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,SAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;GAAY,SAAS;GAAc,UAAA,EAAE,4BAA4B;EAAc,CAAA,GAC/E,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,SAAD,EAA2B,YAAc,CAAA,CAClC,EAAA,CAAA;EANb,UAAA;GASG,UACC,iBAAA,GAAA,kBAAA,IAAA,CAACC,wBAAAA,SAAD;IACE,mBAAmBC,wBAAAA,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,iBAAA,GAAA,kBAAA,IAAA,CAACD,wBAAAA,SAAD;IACE,mBAAmBC,wBAAAA,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,iBAAA,GAAA,kBAAA,IAAA,CAACD,wBAAAA,SAAD;IACE,mBAAmBC,wBAAAA,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;EAEC;CACN,CAAA,EAAA,CAAA,IACA;AACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"Install.mjs","names":[],"sources":["../../../src/components/Install/Install.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Typography } from '@mui/material';\nimport List from '@mui/material/List';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { TemplateUIOptions } from '@verdaccio/types';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { SettingsMenu } from '../SettingsMenu';\nimport InstallListItem, { DependencyManager } from './InstallListItem';\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nconst Wrapper = styled('div')({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n});\n\nexport type Props = {\n packageMeta: PackageMetaInterface;\n packageName: string;\n configOptions: TemplateUIOptions;\n};\n\nconst Install: React.FC<Props> = ({ packageMeta, packageName, configOptions }) => {\n const { t } = useTranslation();\n if (!packageMeta || !packageName) {\n return null;\n }\n\n const hasNpm = configOptions?.pkgManagers?.includes('npm');\n const hasYarn = configOptions?.pkgManagers?.includes('yarn');\n const hasPnpm = configOptions?.pkgManagers?.includes('pnpm') ?? true;\n const hasPkgManagers = hasNpm || hasPnpm || hasYarn;\n\n return hasPkgManagers ? (\n <>\n <List\n data-testid={'installList'}\n subheader={\n <Wrapper>\n <StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>\n <SettingsMenu packageName={packageName} />\n </Wrapper>\n }\n >\n {hasNpm && (\n <InstallListItem\n dependencyManager={DependencyManager.NPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasYarn && (\n <InstallListItem\n dependencyManager={DependencyManager.YARN}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasPnpm && (\n <InstallListItem\n dependencyManager={DependencyManager.PNPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n </List>\n </>\n ) : null;\n};\n\nexport default Install;\n"],"mappings":";;;;;;;;;;AAaA,IAAM,aAAa,OAAO,UAAU,CAAC,EAAqB,WAAW;CACnE,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAM,UAAU,OAAO,KAAK,CAAC,CAAC;CAC5B,SAAS;CACT,YAAY;CACZ,gBAAgB;AAClB,CAAC;AAQD,IAAM,WAA4B,EAAE,aAAa,aAAa,oBAAoB;CAChF,MAAM,EAAE,MAAM,eAAe;CAC7B,IAAI,CAAC,eAAe,CAAC,aACnB,OAAO;CAGT,MAAM,SAAS,eAAe,aAAa,SAAS,KAAK;CACzD,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM;CAC3D,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM,KAAK;CAGhE,OAFuB,UAAU,WAAW,UAG1C,oBAAA,YAAA,EAAA,UACE,qBAAC,MAAD;EACE,eAAa;EACb,WACE,qBAAC,SAAD,EAAA,UAAA,CACE,oBAAC,YAAD;GAAY,SAAS;GAAc,UAAA,EAAE,4BAA4B;EAAc,CAAA,GAC/E,oBAAC,cAAD,EAA2B,YAAc,CAAA,CAClC,EAAA,CAAA;EANb,UAAA;GASG,UACC,oBAAC,iBAAD;IACE,mBAAmB,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,oBAAC,iBAAD;IACE,mBAAmB,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,oBAAC,iBAAD;IACE,mBAAmB,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;EAEC;CACN,CAAA,EAAA,CAAA,IACA;AACN"}
1
+ {"version":3,"file":"Install.mjs","names":["_Fragment"],"sources":["../../../src/components/Install/Install.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Typography } from '@mui/material';\nimport List from '@mui/material/List';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { TemplateUIOptions } from '@verdaccio/types';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { SettingsMenu } from '../SettingsMenu';\nimport InstallListItem, { DependencyManager } from './InstallListItem';\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nconst Wrapper = styled('div')({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n});\n\nexport type Props = {\n packageMeta: PackageMetaInterface;\n packageName: string;\n configOptions: TemplateUIOptions;\n};\n\nconst Install: React.FC<Props> = ({ packageMeta, packageName, configOptions }) => {\n const { t } = useTranslation();\n if (!packageMeta || !packageName) {\n return null;\n }\n\n const hasNpm = configOptions?.pkgManagers?.includes('npm');\n const hasYarn = configOptions?.pkgManagers?.includes('yarn');\n const hasPnpm = configOptions?.pkgManagers?.includes('pnpm') ?? true;\n const hasPkgManagers = hasNpm || hasPnpm || hasYarn;\n\n return hasPkgManagers ? (\n <>\n <List\n data-testid={'installList'}\n subheader={\n <Wrapper>\n <StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>\n <SettingsMenu packageName={packageName} />\n </Wrapper>\n }\n >\n {hasNpm && (\n <InstallListItem\n dependencyManager={DependencyManager.NPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasYarn && (\n <InstallListItem\n dependencyManager={DependencyManager.YARN}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n {hasPnpm && (\n <InstallListItem\n dependencyManager={DependencyManager.PNPM}\n packageName={packageName}\n packageVersion={packageMeta.latest.version}\n />\n )}\n </List>\n </>\n ) : null;\n};\n\nexport default Install;\n"],"mappings":";;;;;;;;;;AAaA,IAAM,aAAa,OAAO,UAAU,CAAC,EAAqB,WAAW;CACnE,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;AACjB,EAAE;AAEF,IAAM,UAAU,OAAO,KAAK,CAAC,CAAC;CAC5B,SAAS;CACT,YAAY;CACZ,gBAAgB;AAClB,CAAC;AAQD,IAAM,WAA4B,EAAE,aAAa,aAAa,oBAAoB;CAChF,MAAM,EAAE,MAAM,eAAe;CAC7B,IAAI,CAAC,eAAe,CAAC,aACnB,OAAO;CAGT,MAAM,SAAS,eAAe,aAAa,SAAS,KAAK;CACzD,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM;CAC3D,MAAM,UAAU,eAAe,aAAa,SAAS,MAAM,KAAK;CAGhE,OAFuB,UAAU,WAAW,UAG1C,oBAAAA,YAAA,EAAA,UACE,qBAAC,MAAD;EACE,eAAa;EACb,WACE,qBAAC,SAAD,EAAA,UAAA,CACE,oBAAC,YAAD;GAAY,SAAS;GAAc,UAAA,EAAE,4BAA4B;EAAc,CAAA,GAC/E,oBAAC,cAAD,EAA2B,YAAc,CAAA,CAClC,EAAA,CAAA;EANb,UAAA;GASG,UACC,oBAAC,iBAAD;IACE,mBAAmB,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,oBAAC,iBAAD;IACE,mBAAmB,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;GAEF,WACC,oBAAC,iBAAD;IACE,mBAAmB,kBAAkB;IACxB;IACb,gBAAgB,YAAY,OAAO;GACpC,CAAA;EAEC;CACN,CAAA,EAAA,CAAA,IACA;AACN"}