@verdaccio/ui-components 5.0.0-next-9.0 → 5.0.0-next-9.2
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.
- package/build/Theme/ResetStyles.js +28 -47
- package/build/Theme/ResetStyles.js.map +1 -1
- package/build/Theme/StyleBaseline.js +9 -14
- package/build/Theme/StyleBaseline.js.map +1 -1
- package/build/Theme/ThemeProvider.js +31 -56
- package/build/Theme/ThemeProvider.js.map +1 -1
- package/build/Theme/colors.js +15 -18
- package/build/Theme/colors.js.map +1 -1
- package/build/Theme/index.js +5 -58
- package/build/Theme/modes.js +25 -38
- package/build/Theme/modes.js.map +1 -1
- package/build/Theme/theme.js +18 -31
- package/build/Theme/theme.js.map +1 -1
- package/build/Theme/tokens.js +28 -33
- package/build/Theme/tokens.js.map +1 -1
- package/build/_virtual/_rolldown/runtime.js +11 -0
- package/build/api/use-data-mutation.js +38 -95
- package/build/api/use-data-mutation.js.map +1 -1
- package/build/api/use-data.js +17 -33
- package/build/api/use-data.js.map +1 -1
- package/build/components/ActionBar/ActionBar.js +45 -86
- package/build/components/ActionBar/ActionBar.js.map +1 -1
- package/build/components/ActionBar/ActionBarAction.js +79 -107
- package/build/components/ActionBar/ActionBarAction.js.map +1 -1
- package/build/components/ActionBar/index.js +1 -14
- package/build/components/AppRoute/AppRoute.js +65 -87
- package/build/components/AppRoute/AppRoute.js.map +1 -1
- package/build/components/Author/Author.js +30 -41
- package/build/components/Author/Author.js.map +1 -1
- package/build/components/Author/index.js +1 -14
- package/build/components/Author/styles.js +21 -31
- package/build/components/Author/styles.js.map +1 -1
- package/build/components/CopyClipboard/CopyToClipBoard.js +52 -67
- package/build/components/CopyClipboard/CopyToClipBoard.js.map +1 -1
- package/build/components/CopyClipboard/index.js +2 -21
- package/build/components/CopyClipboard/utils.d.ts +1 -1
- package/build/components/CopyClipboard/utils.js +6 -13
- package/build/components/CopyClipboard/utils.js.map +1 -1
- package/build/components/Dependencies/Dependencies.js +36 -80
- package/build/components/Dependencies/Dependencies.js.map +1 -1
- package/build/components/Dependencies/DependencyBlock.d.ts +3 -3
- package/build/components/Dependencies/DependencyBlock.js +62 -108
- package/build/components/Dependencies/DependencyBlock.js.map +1 -1
- package/build/components/Dependencies/index.js +2 -14
- package/build/components/Dependencies/utits.js +6 -8
- package/build/components/Dependencies/utits.js.map +1 -1
- package/build/components/Deprecated/Deprecated.js +14 -23
- package/build/components/Deprecated/Deprecated.js.map +1 -1
- package/build/components/Deprecated/index.js +1 -14
- package/build/components/Developers/DeveloperType.js +6 -10
- package/build/components/Developers/DeveloperType.js.map +1 -1
- package/build/components/Developers/Developers.js +57 -98
- package/build/components/Developers/Developers.js.map +1 -1
- package/build/components/Developers/Title.js +29 -39
- package/build/components/Developers/Title.js.map +1 -1
- package/build/components/Developers/get-unique-developer-values.js +6 -22
- package/build/components/Developers/get-unique-developer-values.js.map +1 -1
- package/build/components/Developers/index.js +2 -21
- package/build/components/Distribution/Dist.js +38 -44
- package/build/components/Distribution/Dist.js.map +1 -1
- package/build/components/Distribution/index.js +1 -14
- package/build/components/Distribution/styles.js +33 -44
- package/build/components/Distribution/styles.js.map +1 -1
- package/build/components/Engines/Engines.js +66 -88
- package/build/components/Engines/Engines.js.map +1 -1
- package/build/components/Engines/index.js +1 -14
- package/build/components/Engines/styles.js +24 -32
- package/build/components/Engines/styles.js.map +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.js +27 -66
- package/build/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/build/components/ErrorBoundary/index.js +1 -14
- package/build/components/Forbidden/Forbidden.js +62 -71
- package/build/components/Forbidden/Forbidden.js.map +1 -1
- package/build/components/Forbidden/index.js +1 -14
- package/build/components/FundButton/FundButton.js +52 -73
- package/build/components/FundButton/FundButton.js.map +1 -1
- package/build/components/FundButton/index.js +1 -14
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +62 -88
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +1 -1
- package/build/components/HeaderInfoDialog/index.js +1 -14
- package/build/components/Heading/Heading.d.ts +1 -1
- package/build/components/Heading/Heading.js +13 -23
- package/build/components/Heading/Heading.js.map +1 -1
- package/build/components/Heading/index.js +1 -14
- package/build/components/Help/Help.js +55 -55
- package/build/components/Help/Help.js.map +1 -1
- package/build/components/Help/index.js +1 -14
- package/build/components/Help/styles.js +17 -20
- package/build/components/Help/styles.js.map +1 -1
- package/build/components/Icons/DevsIcons/CommonJS2.js +16 -0
- package/build/components/Icons/DevsIcons/CommonJS2.js.map +1 -0
- package/build/components/Icons/DevsIcons/ES6Module2.js +16 -0
- package/build/components/Icons/DevsIcons/ES6Module2.js.map +1 -0
- package/build/components/Icons/DevsIcons/Git2.js +16 -0
- package/build/components/Icons/DevsIcons/Git2.js.map +1 -0
- package/build/components/Icons/DevsIcons/NodeJS2.js +16 -0
- package/build/components/Icons/DevsIcons/NodeJS2.js.map +1 -0
- package/build/components/Icons/DevsIcons/TypeScript2.js +16 -0
- package/build/components/Icons/DevsIcons/TypeScript2.js.map +1 -0
- package/build/components/Icons/DevsIcons/commonjs.js +6 -0
- package/build/components/Icons/DevsIcons/commonjs.js.map +1 -0
- package/build/components/Icons/DevsIcons/es6module.js +6 -0
- package/build/components/Icons/DevsIcons/es6module.js.map +1 -0
- package/build/components/Icons/DevsIcons/git.js +6 -0
- package/build/components/Icons/DevsIcons/git.js.map +1 -0
- package/build/components/Icons/DevsIcons/index.js +5 -41
- package/build/components/Icons/DevsIcons/nodejs.js +6 -0
- package/build/components/Icons/DevsIcons/nodejs.js.map +1 -0
- package/build/components/Icons/DevsIcons/typescript.js +6 -0
- package/build/components/Icons/DevsIcons/typescript.js.map +1 -0
- package/build/components/Icons/Earth.js +39 -42
- package/build/components/Icons/Earth.js.map +1 -1
- package/build/components/Icons/FileBinary.js +15 -24
- package/build/components/Icons/FileBinary.js.map +1 -1
- package/build/components/Icons/Law.js +18 -25
- package/build/components/Icons/Law.js.map +1 -1
- package/build/components/Icons/License.js +15 -26
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/Managers/Npm2.js +16 -0
- package/build/components/Icons/Managers/Npm2.js.map +1 -0
- package/build/components/Icons/Managers/Pnpm2.js +16 -0
- package/build/components/Icons/Managers/Pnpm2.js.map +1 -0
- package/build/components/Icons/Managers/Yarn2.js +16 -0
- package/build/components/Icons/Managers/Yarn2.js.map +1 -0
- package/build/components/Icons/Managers/index.js +3 -27
- package/build/components/Icons/Managers/npm.js +6 -0
- package/build/components/Icons/Managers/npm.js.map +1 -0
- package/build/components/Icons/Managers/pnpm.js +6 -0
- package/build/components/Icons/Managers/pnpm.js.map +1 -0
- package/build/components/Icons/Managers/yarn.js +6 -0
- package/build/components/Icons/Managers/yarn.js.map +1 -0
- package/build/components/Icons/SvgIcon.d.ts +2 -6
- package/build/components/Icons/SvgIcon.js +24 -53
- package/build/components/Icons/SvgIcon.js.map +1 -1
- package/build/components/Icons/Time.js +22 -29
- package/build/components/Icons/Time.js.map +1 -1
- package/build/components/Icons/Version.js +20 -27
- package/build/components/Icons/Version.js.map +1 -1
- package/build/components/Icons/index.js +36 -78
- package/build/components/Icons/index.js.map +1 -1
- package/build/components/Install/Install.js +58 -74
- package/build/components/Install/Install.js.map +1 -1
- package/build/components/Install/InstallListItem.js +91 -120
- package/build/components/Install/InstallListItem.js.map +1 -1
- package/build/components/Install/index.js +1 -14
- package/build/components/Keywords/KeywordListItems.js +25 -34
- package/build/components/Keywords/KeywordListItems.js.map +1 -1
- package/build/components/Keywords/Keywords.js +25 -35
- package/build/components/Keywords/Keywords.js.map +1 -1
- package/build/components/Keywords/index.js +1 -14
- package/build/components/Label/Label.js +18 -37
- package/build/components/Label/Label.js.map +1 -1
- package/build/components/Label/index.js +1 -14
- package/build/components/Link/Link.d.ts +3 -1
- package/build/components/Link/Link.js +32 -40
- package/build/components/Link/Link.js.map +1 -1
- package/build/components/Link/index.js +1 -14
- package/build/components/LinkExternal/LinkExternal.d.ts +3 -1
- package/build/components/LinkExternal/LinkExternal.js +19 -30
- package/build/components/LinkExternal/LinkExternal.js.map +1 -1
- package/build/components/LinkExternal/index.js +1 -14
- package/build/components/Loading/Loading.js +14 -20
- package/build/components/Loading/Loading.js.map +1 -1
- package/build/components/Loading/Spinner/Spinner.js +28 -57
- package/build/components/Loading/Spinner/Spinner.js.map +1 -1
- package/build/components/Loading/Spinner/index.js +1 -14
- package/build/components/Loading/index.js +1 -14
- package/build/components/Loading/styles.d.ts +5 -5
- package/build/components/Loading/styles.js +26 -35
- package/build/components/Loading/styles.js.map +1 -1
- package/build/components/LoginDialog/LoginDialog.js +28 -39
- package/build/components/LoginDialog/LoginDialog.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogCloseButton.js +27 -39
- package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogForm.js +17 -26
- package/build/components/LoginDialog/LoginDialogForm.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogFormError.js +30 -51
- package/build/components/LoginDialog/LoginDialogFormError.js.map +1 -1
- package/build/components/LoginDialog/index.js +1 -14
- package/build/components/LoginForm/Login.js +64 -85
- package/build/components/LoginForm/Login.js.map +1 -1
- package/build/components/LoginForm/PasswordField.js +31 -49
- package/build/components/LoginForm/PasswordField.js.map +1 -1
- package/build/components/LoginForm/UsernameField.js +29 -47
- package/build/components/LoginForm/UsernameField.js.map +1 -1
- package/build/components/LoginForm/styles.js +48 -58
- package/build/components/LoginForm/styles.js.map +1 -1
- package/build/components/LoginForm/useLoginForm.js +32 -64
- package/build/components/LoginForm/useLoginForm.js.map +1 -1
- package/build/components/Logo/Logo.js +66 -87
- package/build/components/Logo/Logo.js.map +1 -1
- package/build/components/Logo/img/logo-black-and-white.js +6 -0
- package/build/components/Logo/img/logo-black-and-white.js.map +1 -0
- package/build/components/Logo/img/logo.js +6 -0
- package/build/components/Logo/img/logo.js.map +1 -0
- package/build/components/Logo/index.js +1 -14
- package/build/components/MenuItem/MenuItem.d.ts +1 -1
- package/build/components/MenuItem/MenuItem.js +25 -39
- package/build/components/MenuItem/MenuItem.js.map +1 -1
- package/build/components/MenuItem/index.js +1 -14
- package/build/components/NoItems/NoItems.js +14 -24
- package/build/components/NoItems/NoItems.js.map +1 -1
- package/build/components/NoItems/index.js +1 -14
- package/build/components/NotFound/NotFound.js +63 -72
- package/build/components/NotFound/NotFound.js.map +1 -1
- package/build/components/NotFound/index.js +1 -14
- package/build/components/Package/Package.js +163 -230
- package/build/components/Package/Package.js.map +1 -1
- package/build/components/Package/index.js +1 -14
- package/build/components/Package/styles.d.ts +18 -18
- package/build/components/Package/styles.js +122 -185
- package/build/components/Package/styles.js.map +1 -1
- package/build/components/PackageList/PackageList.js +63 -92
- package/build/components/PackageList/PackageList.js.map +1 -1
- package/build/components/PackageList/index.js +1 -14
- package/build/components/Person/Person.js +36 -46
- package/build/components/Person/Person.js.map +1 -1
- package/build/components/Person/PersonTooltip.js +24 -21
- package/build/components/Person/PersonTooltip.js.map +1 -1
- package/build/components/Person/index.js +1 -14
- package/build/components/Person/utils.js +11 -14
- package/build/components/Person/utils.js.map +1 -1
- package/build/components/RawViewer/RawViewer.js +53 -64
- package/build/components/RawViewer/RawViewer.js.map +1 -1
- package/build/components/RawViewer/index.js +1 -14
- package/build/components/Readme/Readme.d.ts +2 -0
- package/build/components/Readme/Readme.js +40 -56
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/index.js +1 -14
- package/build/components/Readme/utils.js +22 -27
- package/build/components/Readme/utils.js.map +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +30 -34
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -1
- package/build/components/RegistryInfoDialog/index.js +1 -14
- package/build/components/RegistryInfoDialog/styles.d.ts +5 -5
- package/build/components/RegistryInfoDialog/styles.js +22 -47
- package/build/components/RegistryInfoDialog/styles.js.map +1 -1
- package/build/components/Repository/Repository.js +79 -101
- package/build/components/Repository/Repository.js.map +1 -1
- package/build/components/Repository/index.js +1 -14
- package/build/components/Search/AutoComplete/AutoComplete.js +33 -76
- package/build/components/Search/AutoComplete/AutoComplete.js.map +1 -1
- package/build/components/Search/AutoComplete/index.js +1 -14
- package/build/components/Search/AutoComplete/styles.d.ts +2 -2
- package/build/components/Search/AutoComplete/styles.js +16 -19
- package/build/components/Search/AutoComplete/styles.js.map +1 -1
- package/build/components/Search/Search.js +91 -176
- package/build/components/Search/Search.js.map +1 -1
- package/build/components/Search/SearchItem.d.ts +3 -3
- package/build/components/Search/SearchItem.js +102 -144
- package/build/components/Search/SearchItem.js.map +1 -1
- package/build/components/Search/index.js +1 -14
- package/build/components/Search/styles.d.ts +2 -2
- package/build/components/Search/styles.js +29 -56
- package/build/components/Search/styles.js.map +1 -1
- package/build/components/Search/utils.js +13 -20
- package/build/components/Search/utils.js.map +1 -1
- package/build/components/SettingsMenu/SettingsMenu.js +94 -108
- package/build/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/build/components/SettingsMenu/index.js +1 -14
- package/build/components/SideBarTitle/SideBarTitle.js +65 -99
- package/build/components/SideBarTitle/SideBarTitle.js.map +1 -1
- package/build/components/SideBarTitle/index.js +1 -14
- package/build/components/SideBarTitle/utils.js +10 -16
- package/build/components/SideBarTitle/utils.js.map +1 -1
- package/build/components/UpLinks/UpLinks.js +57 -68
- package/build/components/UpLinks/UpLinks.js.map +1 -1
- package/build/components/UpLinks/UplinkLink.js +17 -19
- package/build/components/UpLinks/UplinkLink.js.map +1 -1
- package/build/components/UpLinks/index.js +2 -14
- package/build/components/UpLinks/styles.d.ts +5 -5
- package/build/components/UpLinks/styles.js +27 -48
- package/build/components/UpLinks/styles.js.map +1 -1
- package/build/components/Versions/HistoryList.js +59 -75
- package/build/components/Versions/HistoryList.js.map +1 -1
- package/build/components/Versions/TagList.js +29 -35
- package/build/components/Versions/TagList.js.map +1 -1
- package/build/components/Versions/Versions.js +76 -121
- package/build/components/Versions/Versions.js.map +1 -1
- package/build/components/Versions/index.js +2 -14
- package/build/components/Versions/styles.d.ts +5 -5
- package/build/components/Versions/styles.js +23 -37
- package/build/components/Versions/styles.js.map +1 -1
- package/build/configuration.js +20 -20
- package/build/configuration.js.map +1 -1
- package/build/dark-logo.png +0 -0
- package/build/favicon.ico +0 -0
- package/build/hooks/index.js +2 -21
- package/build/hooks/useLocalStorage.js +22 -59
- package/build/hooks/useLocalStorage.js.map +1 -1
- package/build/hooks/useOnClickOutside.js +14 -30
- package/build/hooks/useOnClickOutside.js.map +1 -1
- package/build/index.js +118 -483
- package/build/layouts/Security/Dialog.js +17 -25
- package/build/layouts/Security/Dialog.js.map +1 -1
- package/build/layouts/Version/Version.js +28 -28
- package/build/layouts/Version/Version.js.map +1 -1
- package/build/layouts/Version/index.js +1 -14
- package/build/mockServiceWorker.js +335 -0
- package/build/pages/Front/Home.js +6 -7
- package/build/pages/Front/Home.js.map +1 -1
- package/build/pages/Front/index.js +2 -14
- package/build/pages/Security/AddUser.js +6 -7
- package/build/pages/Security/AddUser.js.map +1 -1
- package/build/pages/Security/ChangePassword.js +6 -7
- package/build/pages/Security/ChangePassword.js.map +1 -1
- package/build/pages/Security/Login.js +6 -7
- package/build/pages/Security/Login.js.map +1 -1
- package/build/pages/Security/Success.js +6 -7
- package/build/pages/Security/Success.js.map +1 -1
- package/build/pages/Security/index.js +4 -35
- package/build/pages/Version/Version.js +16 -30
- package/build/pages/Version/Version.js.map +1 -1
- package/build/pages/Version/index.js +2 -14
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +51 -72
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +1 -1
- package/build/providers/AppConfigurationProvider/index.js +1 -19
- package/build/providers/AuthProvider/AuthProvider.js +37 -100
- package/build/providers/AuthProvider/AuthProvider.js.map +1 -1
- package/build/providers/AuthProvider/index.js +1 -17
- package/build/providers/AuthProvider/utils.js +19 -24
- package/build/providers/AuthProvider/utils.js.map +1 -1
- package/build/providers/DownloadProvider/DownloadProvider.js +29 -71
- package/build/providers/DownloadProvider/DownloadProvider.js.map +1 -1
- package/build/providers/DownloadProvider/index.js +1 -19
- package/build/providers/ManifestsProvider/ManifestsProvider.js +20 -31
- package/build/providers/ManifestsProvider/ManifestsProvider.js.map +1 -1
- package/build/providers/ManifestsProvider/index.js +1 -21
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +22 -50
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js.map +1 -1
- package/build/providers/PersistenceSettingProvider/index.js +1 -19
- package/build/providers/SearchProvider/SearchProvider.js +45 -95
- package/build/providers/SearchProvider/SearchProvider.js.map +1 -1
- package/build/providers/SearchProvider/index.js +1 -25
- package/build/providers/TranslatorProvider/TranslatorProvider.js +33 -71
- package/build/providers/TranslatorProvider/TranslatorProvider.js.map +1 -1
- package/build/providers/TranslatorProvider/index.js +1 -21
- package/build/providers/VersionProvider/VersionProvider.js +42 -57
- package/build/providers/VersionProvider/VersionProvider.js.map +1 -1
- package/build/providers/VersionProvider/index.js +1 -21
- package/build/providers/index.js +16 -94
- package/build/sections/Detail/ContainerContent.js +24 -63
- package/build/sections/Detail/ContainerContent.js.map +1 -1
- package/build/sections/Detail/Detail.js +39 -62
- package/build/sections/Detail/Detail.js.map +1 -1
- package/build/sections/Detail/ReadmeSection.js +8 -18
- package/build/sections/Detail/ReadmeSection.js.map +1 -1
- package/build/sections/Detail/Tabs.js +52 -54
- package/build/sections/Detail/Tabs.js.map +1 -1
- package/build/sections/Detail/index.js +1 -14
- package/build/sections/Footer/Footer.js +94 -137
- package/build/sections/Footer/Footer.js.map +1 -1
- package/build/sections/Footer/index.js +1 -14
- package/build/sections/Footer/styles.d.ts +16 -16
- package/build/sections/Footer/styles.js +58 -89
- package/build/sections/Footer/styles.js.map +1 -1
- package/build/sections/Header/Header.js +89 -144
- package/build/sections/Header/Header.js.map +1 -1
- package/build/sections/Header/HeaderGreetings.js +17 -21
- package/build/sections/Header/HeaderGreetings.js.map +1 -1
- package/build/sections/Header/HeaderLeft.js +31 -32
- package/build/sections/Header/HeaderLeft.js.map +1 -1
- package/build/sections/Header/HeaderMenu.js +43 -50
- package/build/sections/Header/HeaderMenu.js.map +1 -1
- package/build/sections/Header/HeaderRight.js +76 -119
- package/build/sections/Header/HeaderRight.js.map +1 -1
- package/build/sections/Header/HeaderSettingsDialog.js +91 -107
- package/build/sections/Header/HeaderSettingsDialog.js.map +1 -1
- package/build/sections/Header/HeaderToolTip.js +10 -17
- package/build/sections/Header/HeaderToolTip.js.map +1 -1
- package/build/sections/Header/HeaderToolTipIcon.d.ts +1 -1
- package/build/sections/Header/HeaderToolTipIcon.js +56 -63
- package/build/sections/Header/HeaderToolTipIcon.js.map +1 -1
- package/build/sections/Header/LanguageSwitch.js +81 -128
- package/build/sections/Header/LanguageSwitch.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +6 -6
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +171 -166
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/index.js +1 -14
- package/build/sections/Header/RegistryInfoContent/styles.d.ts +6 -6
- package/build/sections/Header/RegistryInfoContent/styles.js +17 -30
- package/build/sections/Header/RegistryInfoContent/styles.js.map +1 -1
- package/build/sections/Header/index.js +1 -14
- package/build/sections/Header/styles.d.ts +10 -10
- package/build/sections/Header/styles.js +109 -146
- package/build/sections/Header/styles.js.map +1 -1
- package/build/sections/Home/Home.js +17 -21
- package/build/sections/Home/Home.js.map +1 -1
- package/build/sections/Home/index.js +1 -14
- package/build/sections/Security/AddUser.js +116 -179
- package/build/sections/Security/AddUser.js.map +1 -1
- package/build/sections/Security/ChangePassword.js +111 -169
- package/build/sections/Security/ChangePassword.js.map +1 -1
- package/build/sections/Security/Login.js +78 -142
- package/build/sections/Security/Login.js.map +1 -1
- package/build/sections/Security/Success.js +40 -50
- package/build/sections/Security/Success.js.map +1 -1
- package/build/sections/Security/index.js +4 -35
- package/build/sections/Security/styles.js +25 -38
- package/build/sections/Security/styles.js.map +1 -1
- package/build/sections/Security/utils.js +14 -57
- package/build/sections/Security/utils.js.map +1 -1
- package/build/sections/SideBar/Sidebar.js +85 -90
- package/build/sections/SideBar/Sidebar.js.map +1 -1
- package/build/sections/SideBar/index.js +1 -14
- package/build/sections/index.js +4 -21
- package/build/store/api.js +57 -116
- package/build/store/api.js.map +1 -1
- package/build/store/index.js +1 -14
- package/build/store/routes.js +6 -20
- package/build/store/routes.js.map +1 -1
- package/build/store/storage.js +19 -30
- package/build/store/storage.js.map +1 -1
- package/build/store/utils.js +7 -12
- package/build/store/utils.js.map +1 -1
- package/build/ui-components.css +2 -0
- package/build/utils/cli-utils.d.ts +1 -1
- package/build/utils/cli-utils.js +21 -36
- package/build/utils/cli-utils.js.map +1 -1
- package/build/utils/index.js +6 -75
- package/build/utils/loadable.js +12 -25
- package/build/utils/loadable.js.map +1 -1
- package/build/utils/routes.js +8 -31
- package/build/utils/routes.js.map +1 -1
- package/build/utils/schemas.js +15 -27
- package/build/utils/schemas.js.map +1 -1
- package/build/utils/token.js +20 -40
- package/build/utils/token.js.map +1 -1
- package/build/utils/url.js +45 -73
- package/build/utils/url.js.map +1 -1
- package/build/utils/utils.js +55 -111
- package/build/utils/utils.js.map +1 -1
- package/package.json +17 -12
- package/build/AppTest/AppRoute.js +0 -14
- package/build/AppTest/AppRoute.js.map +0 -1
- package/build/Theme/index.js.map +0 -1
- package/build/components/ActionBar/index.js.map +0 -1
- package/build/components/Author/index.js.map +0 -1
- package/build/components/CopyClipboard/index.js.map +0 -1
- package/build/components/Dependencies/index.js.map +0 -1
- package/build/components/Dependencies/types.js +0 -6
- package/build/components/Dependencies/types.js.map +0 -1
- package/build/components/Deprecated/index.js.map +0 -1
- package/build/components/Developers/index.js.map +0 -1
- package/build/components/Distribution/index.js.map +0 -1
- package/build/components/Engines/index.js.map +0 -1
- package/build/components/ErrorBoundary/index.js.map +0 -1
- package/build/components/Forbidden/index.js.map +0 -1
- package/build/components/FundButton/index.js.map +0 -1
- package/build/components/HeaderInfoDialog/index.js.map +0 -1
- package/build/components/Heading/index.js.map +0 -1
- package/build/components/Help/index.js.map +0 -1
- package/build/components/Icons/DevsIcons/CommonJS.js +0 -18
- package/build/components/Icons/DevsIcons/CommonJS.js.map +0 -1
- package/build/components/Icons/DevsIcons/ES6Module.js +0 -18
- package/build/components/Icons/DevsIcons/ES6Module.js.map +0 -1
- package/build/components/Icons/DevsIcons/Git.js +0 -18
- package/build/components/Icons/DevsIcons/Git.js.map +0 -1
- package/build/components/Icons/DevsIcons/NodeJS.js +0 -18
- package/build/components/Icons/DevsIcons/NodeJS.js.map +0 -1
- package/build/components/Icons/DevsIcons/TypeScript.js +0 -18
- package/build/components/Icons/DevsIcons/TypeScript.js.map +0 -1
- package/build/components/Icons/DevsIcons/commonjs.svg +0 -4
- package/build/components/Icons/DevsIcons/es6module.svg +0 -4
- package/build/components/Icons/DevsIcons/git.svg +0 -4
- package/build/components/Icons/DevsIcons/index.js.map +0 -1
- package/build/components/Icons/DevsIcons/nodejs.svg +0 -6
- package/build/components/Icons/DevsIcons/typescript.svg +0 -4
- package/build/components/Icons/Managers/Npm.js +0 -18
- package/build/components/Icons/Managers/Npm.js.map +0 -1
- package/build/components/Icons/Managers/Pnpm.js +0 -18
- package/build/components/Icons/Managers/Pnpm.js.map +0 -1
- package/build/components/Icons/Managers/Yarn.js +0 -18
- package/build/components/Icons/Managers/Yarn.js.map +0 -1
- package/build/components/Icons/Managers/index.js.map +0 -1
- package/build/components/Icons/Managers/npm.svg +0 -15
- package/build/components/Icons/Managers/pnpm.svg +0 -1
- package/build/components/Icons/Managers/yarn.svg +0 -1
- package/build/components/Install/index.js.map +0 -1
- package/build/components/Keywords/index.js.map +0 -1
- package/build/components/Label/index.js.map +0 -1
- package/build/components/Link/index.js.map +0 -1
- package/build/components/LinkExternal/index.js.map +0 -1
- package/build/components/Loading/Spinner/index.js.map +0 -1
- package/build/components/Loading/index.js.map +0 -1
- package/build/components/LoginDialog/index.js.map +0 -1
- package/build/components/Logo/img/logo-black-and-white.svg +0 -1
- package/build/components/Logo/img/logo.svg +0 -1
- package/build/components/Logo/index.js.map +0 -1
- package/build/components/MenuItem/index.js.map +0 -1
- package/build/components/NoItems/index.js.map +0 -1
- package/build/components/NotFound/img/package.svg +0 -1
- package/build/components/NotFound/index.js.map +0 -1
- package/build/components/Package/index.js.map +0 -1
- package/build/components/PackageList/index.js.map +0 -1
- package/build/components/Person/index.js.map +0 -1
- package/build/components/RawViewer/index.js.map +0 -1
- package/build/components/Readme/github-markdown.css +0 -1198
- package/build/components/Readme/index.js.map +0 -1
- package/build/components/Readme/types.js +0 -6
- package/build/components/Readme/types.js.map +0 -1
- package/build/components/RegistryInfoDialog/index.js.map +0 -1
- package/build/components/RegistryInfoDialog/types.js +0 -6
- package/build/components/RegistryInfoDialog/types.js.map +0 -1
- package/build/components/Repository/index.js.map +0 -1
- package/build/components/Search/AutoComplete/index.js.map +0 -1
- package/build/components/Search/index.js.map +0 -1
- package/build/components/SettingsMenu/index.js.map +0 -1
- package/build/components/SideBarTitle/index.js.map +0 -1
- package/build/components/UnAuthorized/UnAuthorized.js +0 -75
- package/build/components/UnAuthorized/UnAuthorized.js.map +0 -1
- package/build/components/UnAuthorized/index.js +0 -14
- package/build/components/UnAuthorized/index.js.map +0 -1
- package/build/components/UpLinks/index.js.map +0 -1
- package/build/components/Versions/index.js.map +0 -1
- package/build/components/Versions/types.js +0 -6
- package/build/components/Versions/types.js.map +0 -1
- package/build/hooks/index.js.map +0 -1
- package/build/index.js.map +0 -1
- package/build/layouts/Version/index.js.map +0 -1
- package/build/pages/Front/index.js.map +0 -1
- package/build/pages/Security/index.js.map +0 -1
- package/build/pages/Version/index.js.map +0 -1
- package/build/providers/AppConfigurationProvider/index.js.map +0 -1
- package/build/providers/AuthProvider/index.js.map +0 -1
- package/build/providers/AuthProvider/types.js +0 -6
- package/build/providers/AuthProvider/types.js.map +0 -1
- package/build/providers/DownloadProvider/index.js.map +0 -1
- package/build/providers/ManifestsProvider/README.md +0 -22
- package/build/providers/ManifestsProvider/index.js.map +0 -1
- package/build/providers/PersistenceSettingProvider/index.js.map +0 -1
- package/build/providers/SearchProvider/index.js.map +0 -1
- package/build/providers/TranslatorProvider/index.js.map +0 -1
- package/build/providers/VersionProvider/README.md +0 -22
- package/build/providers/VersionProvider/index.js.map +0 -1
- package/build/providers/index.js.map +0 -1
- package/build/routes/SecurityRoutes.js +0 -36
- package/build/routes/SecurityRoutes.js.map +0 -1
- package/build/sections/Detail/index.js.map +0 -1
- package/build/sections/Footer/index.js.map +0 -1
- package/build/sections/Header/RegistryInfoContent/index.js.map +0 -1
- package/build/sections/Header/index.js.map +0 -1
- package/build/sections/Home/index.js.map +0 -1
- package/build/sections/Security/index.js.map +0 -1
- package/build/sections/SideBar/index.js.map +0 -1
- package/build/sections/index.js.map +0 -1
- package/build/store/index.js.map +0 -1
- package/build/test/i18n-config.js +0 -26
- package/build/test/i18n-config.js.map +0 -1
- package/build/test/test-react-testing-library.js +0 -147
- package/build/test/test-react-testing-library.js.map +0 -1
- package/build/types/external-modules.d.js +0 -2
- package/build/types/external-modules.d.js.map +0 -1
- package/build/types/index.js +0 -6
- package/build/types/index.js.map +0 -1
- package/build/types/packageMeta.js +0 -6
- package/build/types/packageMeta.js.map +0 -1
- package/build/utils/index.js.map +0 -1
- package/build/utils/token-generate.js +0 -44
- package/build/utils/token-generate.js.map +0 -1
|
@@ -1,91 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
1
|
+
import { NodeJS as e } from "../Icons/DevsIcons/NodeJS2.js";
|
|
2
|
+
import { Npm as t } from "../Icons/Managers/Npm2.js";
|
|
3
|
+
import { Pnpm as n } from "../Icons/Managers/Pnpm2.js";
|
|
4
|
+
import { Yarn as r } from "../Icons/Managers/Yarn2.js";
|
|
5
|
+
import "../Icons/index.js";
|
|
6
|
+
import { EngineListItem as i, StyledText as a } from "./styles.js";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
+
import "react";
|
|
9
|
+
import { useTranslation as c } from "react-i18next";
|
|
10
|
+
import l from "@mui/material/List";
|
|
11
|
+
import { Typography as u } from "@mui/material";
|
|
12
|
+
import d from "@mui/material/Avatar";
|
|
13
|
+
import f from "@mui/material/Grid";
|
|
14
|
+
//#region src/components/Engines/Engines.tsx
|
|
15
|
+
var p = ({ title: e, element: t, engineText: n }) => /* @__PURE__ */ o(f, {
|
|
16
|
+
size: { xs: 6 },
|
|
17
|
+
children: /* @__PURE__ */ o(l, {
|
|
18
|
+
subheader: /* @__PURE__ */ o(a, {
|
|
19
|
+
variant: "subtitle1",
|
|
20
|
+
children: e
|
|
21
|
+
}),
|
|
22
|
+
children: /* @__PURE__ */ s(i, { children: [/* @__PURE__ */ o(d, {
|
|
23
|
+
sx: {
|
|
24
|
+
backgroundColor: "transparent",
|
|
25
|
+
marginLeft: 0,
|
|
26
|
+
padding: 0
|
|
27
|
+
},
|
|
28
|
+
children: t
|
|
29
|
+
}), /* @__PURE__ */ o(u, {
|
|
30
|
+
sx: {
|
|
31
|
+
margin: 0,
|
|
32
|
+
padding: "0 0 0 10px"
|
|
33
|
+
},
|
|
34
|
+
variant: "subtitle2",
|
|
35
|
+
children: n
|
|
36
|
+
})] })
|
|
37
|
+
})
|
|
38
|
+
}), m = ({ packageMeta: i }) => {
|
|
39
|
+
let { t: a } = c(), l = i?.latest?.engines;
|
|
40
|
+
return l ? /* @__PURE__ */ s(f, {
|
|
41
|
+
container: !0,
|
|
42
|
+
children: [
|
|
43
|
+
l.node ? /* @__PURE__ */ o(p, {
|
|
44
|
+
element: /* @__PURE__ */ o(e, {}),
|
|
45
|
+
engineText: l.node,
|
|
46
|
+
title: a("sidebar.engines.node-js")
|
|
47
|
+
}) : null,
|
|
48
|
+
l.npm ? /* @__PURE__ */ o(p, {
|
|
49
|
+
element: /* @__PURE__ */ o(t, {}),
|
|
50
|
+
engineText: l.npm,
|
|
51
|
+
title: a("sidebar.engines.npm-version")
|
|
52
|
+
}) : null,
|
|
53
|
+
l.yarn ? /* @__PURE__ */ o(p, {
|
|
54
|
+
element: /* @__PURE__ */ o(r, {}),
|
|
55
|
+
engineText: l.yarn,
|
|
56
|
+
title: a("sidebar.engines.yarn-version")
|
|
57
|
+
}) : null,
|
|
58
|
+
l.pnpm ? /* @__PURE__ */ o(p, {
|
|
59
|
+
element: /* @__PURE__ */ o(n, {}),
|
|
60
|
+
engineText: l.pnpm,
|
|
61
|
+
title: a("sidebar.engines.pnpm-version")
|
|
62
|
+
}) : null
|
|
63
|
+
]
|
|
64
|
+
}) : null;
|
|
50
65
|
};
|
|
66
|
+
//#endregion
|
|
67
|
+
export { m as default };
|
|
51
68
|
|
|
52
|
-
/**
|
|
53
|
-
* The props type for {@link Engine}.
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* @category Component
|
|
60
|
-
*/
|
|
61
|
-
var Engine = function Engine(_ref2) {
|
|
62
|
-
var _packageMeta$latest;
|
|
63
|
-
var packageMeta = _ref2.packageMeta;
|
|
64
|
-
var _useTranslation = (0, _reactI18next.useTranslation)(),
|
|
65
|
-
t = _useTranslation.t;
|
|
66
|
-
var engines = packageMeta === null || packageMeta === void 0 || (_packageMeta$latest = packageMeta.latest) === null || _packageMeta$latest === void 0 ? void 0 : _packageMeta$latest.engines;
|
|
67
|
-
if (!engines) {
|
|
68
|
-
return null;
|
|
69
|
-
}
|
|
70
|
-
return /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
71
|
-
container: true
|
|
72
|
-
}, engines.node ? /*#__PURE__*/_react["default"].createElement(EngineItem, {
|
|
73
|
-
element: /*#__PURE__*/_react["default"].createElement(_Icons.NodeJS, null),
|
|
74
|
-
engineText: engines.node,
|
|
75
|
-
title: t('sidebar.engines.node-js')
|
|
76
|
-
}) : null, engines.npm ? /*#__PURE__*/_react["default"].createElement(EngineItem, {
|
|
77
|
-
element: /*#__PURE__*/_react["default"].createElement(_Icons.Npm, null),
|
|
78
|
-
engineText: engines.npm,
|
|
79
|
-
title: t('sidebar.engines.npm-version')
|
|
80
|
-
}) : null, engines.yarn ? /*#__PURE__*/_react["default"].createElement(EngineItem, {
|
|
81
|
-
element: /*#__PURE__*/_react["default"].createElement(_Icons.Yarn, null),
|
|
82
|
-
engineText: engines.yarn,
|
|
83
|
-
title: t('sidebar.engines.yarn-version')
|
|
84
|
-
}) : null, engines.pnpm ? /*#__PURE__*/_react["default"].createElement(EngineItem, {
|
|
85
|
-
element: /*#__PURE__*/_react["default"].createElement(_Icons.Pnpm, null),
|
|
86
|
-
engineText: engines.pnpm,
|
|
87
|
-
title: t('sidebar.engines.pnpm-version')
|
|
88
|
-
}) : null);
|
|
89
|
-
};
|
|
90
|
-
var _default = exports["default"] = Engine;
|
|
91
69
|
//# sourceMappingURL=Engines.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engines.js","names":["
|
|
1
|
+
{"version":3,"file":"Engines.js","names":["Typography","Avatar","Grid","List","FC","React","useTranslation","PackageMetaInterface","NodeJS","Npm","Pnpm","Yarn","EngineListItem","StyledText","EngineItemProps","title","element","ReactElement","engineText","EngineItem","xs","backgroundColor","marginLeft","padding","margin","EngineMetadata","Omit","latest","engines","npm","node","pnpm","yarn","Props","packageMeta","Engine","t"],"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,IAAMmB,KAAmC,EAAEJ,UAAOC,YAASE,oBACzD,kBAAC,GAAD;CAAM,MAAM,EAAEE,IAAI,GAAG;WACnB,kBAAC,GAAD;EAAM,WAAW,kBAAC,GAAD;GAAY,SAAS;aAAcL;GAAmB,CAAA;YACrE,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;GAAQ,IAAI;IAAEM,iBAAiB;IAAeC,YAAY;IAAGC,SAAS;IAAG;aACtEP;GACK,CAAA,EACR,kBAAC,GAAD;GAAY,IAAI;IAAEQ,QAAQ;IAAGD,SAAS;IAAc;GAAE,SAAQ;aAC3DL;GACS,CAAA,CACE,EAAA,CAAA;EACZ,CAAA;CAET,CAAA,EAkBKiB,KAA2B,EAAED,qBAAkB;CACnD,IAAM,EAAEE,SAAM9B,GAAgB,EAExBsB,IAAUM,GAAaP,QAAQC;AAMrC,QAJKA,IAKH,kBAAC,GAAD;EAAM,WAAW;YAAjB;GACGA,EAAQE,OACP,kBAAC,GAAD;IACE,SAAS,kBAAC,GAAD,EAAU,CAAA;IACnB,YAAYF,EAAQE;IACpB,OAAOM,EAAE,0BAA0B;IACnC,CAAA,GACA;GAEHR,EAAQC,MACP,kBAAC,GAAD;IACE,SAAS,kBAAC,GAAD,EAAO,CAAA;IAChB,YAAYD,EAAQC;IACpB,OAAOO,EAAE,8BAA8B;IACvC,CAAA,GACA;GAEHR,EAAQI,OACP,kBAAC,GAAD;IACE,SAAS,kBAAC,GAAD,EAAQ,CAAA;IACjB,YAAYJ,EAAQI;IACpB,OAAOI,EAAE,+BAA+B;IACxC,CAAA,GACA;GAEHR,EAAQG,OACP,kBAAC,GAAD;IACE,SAAS,kBAAC,GAAD,EAAQ,CAAA;IACjB,YAAYH,EAAQG;IACpB,OAAOK,EAAE,+BAA+B;IACxC,CAAA,GACA;GACC;MApCA"}
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "default", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _Engines["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _Engines = _interopRequireDefault(require("./Engines"));
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import "./Engines.js";
|
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} : {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
})(function (props) {
|
|
18
|
-
return {
|
|
19
|
-
fontWeight: props.theme.fontWeight.bold,
|
|
20
|
-
textTransform: 'capitalize'
|
|
21
|
-
};
|
|
22
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU0wQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBMaXN0SXRlbSBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3RJdGVtJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5cbmltcG9ydCB0eXBlIHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGZvbnRXZWlnaHQ6IHByb3BzLnRoZW1lLmZvbnRXZWlnaHQuYm9sZCxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxufSkpO1xuXG5leHBvcnQgY29uc3QgRW5naW5lTGlzdEl0ZW0gPSBzdHlsZWQoTGlzdEl0ZW0pKHtcbiAgcGFkZGluZzogMCxcbn0pO1xuIl19 */");
|
|
23
|
-
var EngineListItem = exports.EngineListItem = /*#__PURE__*/(0, _base["default"])(_ListItem["default"], process.env.NODE_ENV === "production" ? {
|
|
24
|
-
target: "exjcs7c0"
|
|
25
|
-
} : {
|
|
26
|
-
target: "exjcs7c0",
|
|
27
|
-
label: "EngineListItem"
|
|
1
|
+
import e from "@emotion/styled/base";
|
|
2
|
+
import t from "@mui/material/Typography";
|
|
3
|
+
import n from "@mui/material/ListItem";
|
|
4
|
+
//#region src/components/Engines/styles.ts
|
|
5
|
+
function r() {
|
|
6
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
7
|
+
}
|
|
8
|
+
var i = /* @__PURE__ */ e(t, process.env.NODE_ENV === "production" ? { target: "exjcs7c1" } : {
|
|
9
|
+
target: "exjcs7c1",
|
|
10
|
+
label: "StyledText"
|
|
11
|
+
})((e) => ({
|
|
12
|
+
fontWeight: e.theme.fontWeight.bold,
|
|
13
|
+
textTransform: "capitalize"
|
|
14
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNMEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */"), a = /* @__PURE__ */ e(n, process.env.NODE_ENV === "production" ? { target: "exjcs7c0" } : {
|
|
15
|
+
target: "exjcs7c0",
|
|
16
|
+
label: "EngineListItem"
|
|
28
17
|
})(process.env.NODE_ENV === "production" ? {
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
name: "1hcx8jb",
|
|
19
|
+
styles: "padding:0"
|
|
31
20
|
} : {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
name: "1hcx8jb",
|
|
22
|
+
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */",
|
|
23
|
+
toString: r
|
|
35
24
|
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { a as EngineListItem, i as StyledText };
|
|
27
|
+
|
|
36
28
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["
|
|
1
|
+
{"version":3,"file":"styles.js","names":["ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","EngineListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__"],"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,IAAaG,IAAaC,kBAAOH,GAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAO,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAqBE,OAAW;CAC1EC,YAAYD,EAAMD,MAAME,WAAWC;CACnCC,eAAe;CAChB,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,s+BAAC,EAEUC,IAAiBX,kBAAOJ,GAAAA,QAAAA,IAAAA,aAAQ,eAAA,EAAAQ,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAE7C,CAAC"}
|
|
@@ -1,68 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { Component as n } from "react";
|
|
3
|
+
//#region src/components/ErrorBoundary/ErrorBoundary.tsx
|
|
4
|
+
var r = class extends n {
|
|
5
|
+
state = {
|
|
6
|
+
hasError: !1,
|
|
7
|
+
error: null
|
|
8
|
+
};
|
|
9
|
+
static getDerivedStateFromError(e) {
|
|
10
|
+
return {
|
|
11
|
+
hasError: !0,
|
|
12
|
+
error: e
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
componentDidCatch(e, t) {
|
|
16
|
+
console.error("ErrorBoundary caught:", e, t);
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
let { hasError: n, error: r } = this.state, { children: i } = this.props;
|
|
20
|
+
return n ? /* @__PURE__ */ t("div", {
|
|
21
|
+
role: "alert",
|
|
22
|
+
children: [/* @__PURE__ */ e("h1", { children: "Something went wrong." }), /* @__PURE__ */ e("pre", { children: r?.message })]
|
|
23
|
+
}) : i;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { r as default };
|
|
2
28
|
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
9
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
14
|
-
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
15
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
16
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
17
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
18
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
19
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
20
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
21
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
23
|
-
var ErrorBoundary = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
24
|
-
function ErrorBoundary() {
|
|
25
|
-
var _this;
|
|
26
|
-
_classCallCheck(this, ErrorBoundary);
|
|
27
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
28
|
-
args[_key] = arguments[_key];
|
|
29
|
-
}
|
|
30
|
-
_this = _callSuper(this, ErrorBoundary, [].concat(args));
|
|
31
|
-
_defineProperty(_this, "state", {
|
|
32
|
-
hasError: false,
|
|
33
|
-
error: null
|
|
34
|
-
});
|
|
35
|
-
return _this;
|
|
36
|
-
}
|
|
37
|
-
_inherits(ErrorBoundary, _Component);
|
|
38
|
-
return _createClass(ErrorBoundary, [{
|
|
39
|
-
key: "componentDidCatch",
|
|
40
|
-
value: function componentDidCatch(error, info) {
|
|
41
|
-
// logging
|
|
42
|
-
console.error('ErrorBoundary caught:', error, info);
|
|
43
|
-
}
|
|
44
|
-
}, {
|
|
45
|
-
key: "render",
|
|
46
|
-
value: function render() {
|
|
47
|
-
var _this$state = this.state,
|
|
48
|
-
hasError = _this$state.hasError,
|
|
49
|
-
error = _this$state.error;
|
|
50
|
-
var children = this.props.children;
|
|
51
|
-
if (hasError) {
|
|
52
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
53
|
-
role: "alert"
|
|
54
|
-
}, /*#__PURE__*/_react["default"].createElement("h1", null, 'Something went wrong.'), /*#__PURE__*/_react["default"].createElement("pre", null, error === null || error === void 0 ? void 0 : error.message));
|
|
55
|
-
}
|
|
56
|
-
return children;
|
|
57
|
-
}
|
|
58
|
-
}], [{
|
|
59
|
-
key: "getDerivedStateFromError",
|
|
60
|
-
value: function getDerivedStateFromError(error) {
|
|
61
|
-
return {
|
|
62
|
-
hasError: true,
|
|
63
|
-
error: error
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
}]);
|
|
67
|
-
}(_react.Component);
|
|
68
29
|
//# sourceMappingURL=ErrorBoundary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","names":["
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.js","names":["ErrorInfo","ReactNode","React","Component","ErrorBoundaryProps","children","ErrorBoundaryState","hasError","error","Error","ErrorBoundary","state","getDerivedStateFromError","componentDidCatch","info","console","render","props","message"],"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,IAAqBU,IAArB,cAA2CP,EAAkD;CAC3FQ,QAA4B;EAC1BJ,UAAU;EACVC,OAAO;EACR;CAED,OAAOI,yBAAyBJ,GAAkC;AAChE,SAAO;GACLD,UAAU;GACVC;GACD;;CAGHK,kBAAkBL,GAAcM,GAAiB;AAE/CC,UAAQP,MAAM,yBAAyBA,GAAOM,EAAK;;CAGrDE,SAAS;EACP,IAAM,EAAET,aAAUC,aAAU,KAAKG,OAC3B,EAAEN,gBAAa,KAAKY;AAW1B,SATIV,IAEA,kBAAC,OAAD;GAAK,MAAK;aAAV,CACE,kBAAC,MAAD,EAAA,UAAK,yBAA4B,CAAA,EACjC,kBAAC,OAAD,EAAA,UAAMC,GAAOU,SAAa,CAAA,CACtB;OAIHb"}
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "default", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _ErrorBoundary["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _ErrorBoundary = _interopRequireDefault(require("./ErrorBoundary"));
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import "./ErrorBoundary.js";
|
|
@@ -1,75 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
20
|
-
var Container = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
21
|
-
target: "e1p1nuky1"
|
|
22
|
-
} : {
|
|
23
|
-
target: "e1p1nuky1",
|
|
24
|
-
label: "Container"
|
|
1
|
+
import e from "../Heading/Heading.js";
|
|
2
|
+
import "../Heading/index.js";
|
|
3
|
+
import t from "@emotion/styled/base";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { useCallback as i } from "react";
|
|
6
|
+
import a from "@mui/material/Box";
|
|
7
|
+
import { useTranslation as o } from "react-i18next";
|
|
8
|
+
import { common as s } from "@mui/material/colors";
|
|
9
|
+
import { useNavigate as c } from "react-router";
|
|
10
|
+
import l from "@mui/material/Button";
|
|
11
|
+
import u from "@mui/icons-material/Lock";
|
|
12
|
+
//#region src/components/Forbidden/Forbidden.tsx
|
|
13
|
+
function d() {
|
|
14
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
15
|
+
}
|
|
16
|
+
var f = /* @__PURE__ */ t("div", process.env.NODE_ENV === "production" ? { target: "e1p1nuky1" } : {
|
|
17
|
+
target: "e1p1nuky1",
|
|
18
|
+
label: "Container"
|
|
25
19
|
})(process.env.NODE_ENV === "production" ? {
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
name: "9th5i",
|
|
21
|
+
styles: "margin:0 auto"
|
|
28
22
|
} : {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} : {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}, t('error.401.sorry-no-access')), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
69
|
-
"data-testid": "not-found-go-to-home-button",
|
|
70
|
-
onClick: handleGoHome,
|
|
71
|
-
variant: "contained"
|
|
72
|
-
}, t('button.go-to-the-home-page')));
|
|
23
|
+
name: "9th5i",
|
|
24
|
+
styles: "margin:0 auto/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9Gb3JiaWRkZW4vRm9yYmlkZGVuLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZa0IiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0ZvcmJpZGRlbi9Gb3JiaWRkZW4udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExvY2tJY29uIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvTG9jayc7XG5pbXBvcnQgQm94IGZyb20gJ0BtdWkvbWF0ZXJpYWwvQm94JztcbmltcG9ydCBCdXR0b24gZnJvbSAnQG11aS9tYXRlcmlhbC9CdXR0b24nO1xuaW1wb3J0IHsgY29tbW9uIH0gZnJvbSAnQG11aS9tYXRlcmlhbC9jb2xvcnMnO1xuaW1wb3J0IFJlYWN0LCB7IHVzZUNhbGxiYWNrIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgdXNlVHJhbnNsYXRpb24gfSBmcm9tICdyZWFjdC1pMThuZXh0JztcbmltcG9ydCB7IHVzZU5hdmlnYXRlIH0gZnJvbSAncmVhY3Qtcm91dGVyJztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uJztcbmltcG9ydCBIZWFkaW5nIGZyb20gJy4uL0hlYWRpbmcnO1xuXG5jb25zdCBDb250YWluZXIgPSBzdHlsZWQoJ2RpdicpKHtcbiAgbWFyZ2luOiAnMCBhdXRvJyxcbn0pO1xuXG5jb25zdCBTdHlsZWRIZWFkaW5nID0gc3R5bGVkKEhlYWRpbmcpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBjb2xvcjogdGhlbWUucGFsZXR0ZS5tb2RlID09PSAnbGlnaHQnID8gdGhlbWUucGFsZXR0ZS5wcmltYXJ5Lm1haW4gOiBjb21tb24ud2hpdGUsXG4gIG1hcmdpbkJvdHRvbTogMTYsXG59KSk7XG5cbmNvbnN0IEZvcmJpZGRlbjogUmVhY3QuRkMgPSAoKSA9PiB7XG4gIGNvbnN0IG5hdmlnYXRlID0gdXNlTmF2aWdhdGUoKTtcblxuICBjb25zdCB7IHQgfSA9IHVzZVRyYW5zbGF0aW9uKCk7XG5cbiAgY29uc3QgaGFuZGxlR29Ib21lID0gdXNlQ2FsbGJhY2soKCkgPT4ge1xuICAgIG5hdmlnYXRlKCcvJyk7XG4gIH0sIFtuYXZpZ2F0ZV0pO1xuXG4gIHJldHVybiAoXG4gICAgPEJveFxuICAgICAgYWxpZ25JdGVtcz1cImNlbnRlclwiXG4gICAgICBkYXRhLXRlc3RpZD1cIjQwNFwiXG4gICAgICBkaXNwbGF5PVwiZmxleFwiXG4gICAgICBmbGV4RGlyZWN0aW9uPVwiY29sdW1uXCJcbiAgICAgIGZsZXhHcm93PXsxfVxuICAgICAganVzdGlmeUNvbnRlbnQ9XCJjZW50ZXJcIlxuICAgICAgcD17Mn1cbiAgICA+XG4gICAgICA8Q29udGFpbmVyPlxuICAgICAgICA8TG9ja0ljb24gY29sb3I9XCJwcmltYXJ5XCIgc3R5bGU9e3sgZm9udFNpemU6IDIzNiB9fSAvPlxuICAgICAgPC9Db250YWluZXI+XG4gICAgICA8U3R5bGVkSGVhZGluZyBjbGFzc05hbWU9XCJub3QtZm91bmQtdGV4dFwiIHZhcmlhbnQ9XCJoNFwiPlxuICAgICAgICB7dCgnZXJyb3IuNDAxLnNvcnJ5LW5vLWFjY2VzcycpfVxuICAgICAgPC9TdHlsZWRIZWFkaW5nPlxuICAgICAgPEJ1dHRvbiBkYXRhLXRlc3RpZD1cIm5vdC1mb3VuZC1nby10by1ob21lLWJ1dHRvblwiIG9uQ2xpY2s9e2hhbmRsZUdvSG9tZX0gdmFyaWFudD1cImNvbnRhaW5lZFwiPlxuICAgICAgICB7dCgnYnV0dG9uLmdvLXRvLXRoZS1ob21lLXBhZ2UnKX1cbiAgICAgIDwvQnV0dG9uPlxuICAgIDwvQm94PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRm9yYmlkZGVuO1xuZXhwb3J0IHsgRm9yYmlkZGVuIH07XG4iXX0= */",
|
|
25
|
+
toString: d
|
|
26
|
+
}), p = /* @__PURE__ */ t(e, process.env.NODE_ENV === "production" ? { target: "e1p1nuky0" } : {
|
|
27
|
+
target: "e1p1nuky0",
|
|
28
|
+
label: "StyledHeading"
|
|
29
|
+
})(({ theme: e }) => ({
|
|
30
|
+
color: e.palette.mode === "light" ? e.palette.primary.main : s.white,
|
|
31
|
+
marginBottom: 16
|
|
32
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9Gb3JiaWRkZW4vRm9yYmlkZGVuLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQnNCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9Gb3JiaWRkZW4vRm9yYmlkZGVuLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBMb2NrSWNvbiBmcm9tICdAbXVpL2ljb25zLW1hdGVyaWFsL0xvY2snO1xuaW1wb3J0IEJveCBmcm9tICdAbXVpL21hdGVyaWFsL0JveCc7XG5pbXBvcnQgQnV0dG9uIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQnV0dG9uJztcbmltcG9ydCB7IGNvbW1vbiB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwvY29sb3JzJztcbmltcG9ydCBSZWFjdCwgeyB1c2VDYWxsYmFjayB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAncmVhY3QtaTE4bmV4dCc7XG5pbXBvcnQgeyB1c2VOYXZpZ2F0ZSB9IGZyb20gJ3JlYWN0LXJvdXRlcic7XG5cbmltcG9ydCB0eXBlIHsgVGhlbWUgfSBmcm9tICcuLi8uLic7XG5pbXBvcnQgSGVhZGluZyBmcm9tICcuLi9IZWFkaW5nJztcblxuY29uc3QgQ29udGFpbmVyID0gc3R5bGVkKCdkaXYnKSh7XG4gIG1hcmdpbjogJzAgYXV0bycsXG59KTtcblxuY29uc3QgU3R5bGVkSGVhZGluZyA9IHN0eWxlZChIZWFkaW5nKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgY29sb3I6IHRoZW1lLnBhbGV0dGUubW9kZSA9PT0gJ2xpZ2h0JyA/IHRoZW1lLnBhbGV0dGUucHJpbWFyeS5tYWluIDogY29tbW9uLndoaXRlLFxuICBtYXJnaW5Cb3R0b206IDE2LFxufSkpO1xuXG5jb25zdCBGb3JiaWRkZW46IFJlYWN0LkZDID0gKCkgPT4ge1xuICBjb25zdCBuYXZpZ2F0ZSA9IHVzZU5hdmlnYXRlKCk7XG5cbiAgY29uc3QgeyB0IH0gPSB1c2VUcmFuc2xhdGlvbigpO1xuXG4gIGNvbnN0IGhhbmRsZUdvSG9tZSA9IHVzZUNhbGxiYWNrKCgpID0+IHtcbiAgICBuYXZpZ2F0ZSgnLycpO1xuICB9LCBbbmF2aWdhdGVdKTtcblxuICByZXR1cm4gKFxuICAgIDxCb3hcbiAgICAgIGFsaWduSXRlbXM9XCJjZW50ZXJcIlxuICAgICAgZGF0YS10ZXN0aWQ9XCI0MDRcIlxuICAgICAgZGlzcGxheT1cImZsZXhcIlxuICAgICAgZmxleERpcmVjdGlvbj1cImNvbHVtblwiXG4gICAgICBmbGV4R3Jvdz17MX1cbiAgICAgIGp1c3RpZnlDb250ZW50PVwiY2VudGVyXCJcbiAgICAgIHA9ezJ9XG4gICAgPlxuICAgICAgPENvbnRhaW5lcj5cbiAgICAgICAgPExvY2tJY29uIGNvbG9yPVwicHJpbWFyeVwiIHN0eWxlPXt7IGZvbnRTaXplOiAyMzYgfX0gLz5cbiAgICAgIDwvQ29udGFpbmVyPlxuICAgICAgPFN0eWxlZEhlYWRpbmcgY2xhc3NOYW1lPVwibm90LWZvdW5kLXRleHRcIiB2YXJpYW50PVwiaDRcIj5cbiAgICAgICAge3QoJ2Vycm9yLjQwMS5zb3JyeS1uby1hY2Nlc3MnKX1cbiAgICAgIDwvU3R5bGVkSGVhZGluZz5cbiAgICAgIDxCdXR0b24gZGF0YS10ZXN0aWQ9XCJub3QtZm91bmQtZ28tdG8taG9tZS1idXR0b25cIiBvbkNsaWNrPXtoYW5kbGVHb0hvbWV9IHZhcmlhbnQ9XCJjb250YWluZWRcIj5cbiAgICAgICAge3QoJ2J1dHRvbi5nby10by10aGUtaG9tZS1wYWdlJyl9XG4gICAgICA8L0J1dHRvbj5cbiAgICA8L0JveD5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEZvcmJpZGRlbjtcbmV4cG9ydCB7IEZvcmJpZGRlbiB9O1xuIl19 */"), m = () => {
|
|
33
|
+
let e = c(), { t } = o(), s = i(() => {
|
|
34
|
+
e("/");
|
|
35
|
+
}, [e]);
|
|
36
|
+
return /* @__PURE__ */ r(a, {
|
|
37
|
+
alignItems: "center",
|
|
38
|
+
"data-testid": "404",
|
|
39
|
+
display: "flex",
|
|
40
|
+
flexDirection: "column",
|
|
41
|
+
flexGrow: 1,
|
|
42
|
+
justifyContent: "center",
|
|
43
|
+
p: 2,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ n(f, { children: /* @__PURE__ */ n(u, {
|
|
46
|
+
color: "primary",
|
|
47
|
+
style: { fontSize: 236 }
|
|
48
|
+
}) }),
|
|
49
|
+
/* @__PURE__ */ n(p, {
|
|
50
|
+
className: "not-found-text",
|
|
51
|
+
variant: "h4",
|
|
52
|
+
children: t("error.401.sorry-no-access")
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ n(l, {
|
|
55
|
+
"data-testid": "not-found-go-to-home-button",
|
|
56
|
+
onClick: s,
|
|
57
|
+
variant: "contained",
|
|
58
|
+
children: t("button.go-to-the-home-page")
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
});
|
|
73
62
|
};
|
|
74
|
-
|
|
63
|
+
//#endregion
|
|
64
|
+
export { m as default };
|
|
65
|
+
|
|
75
66
|
//# sourceMappingURL=Forbidden.js.map
|