@verdaccio/ui-components 2.0.0-alpha.0 → 3.0.0-next.1
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/.babelrc +8 -0
- package/.eslintrc +100 -0
- package/CHANGELOG.md +157 -0
- package/README.md +103 -0
- package/build/Theme/ResetStyles.js +50 -0
- package/build/Theme/StyleBaseline.js +15 -0
- package/build/Theme/ThemeProvider.js +51 -0
- package/build/Theme/colors.js +9 -0
- package/build/Theme/index.js +45 -0
- package/build/Theme/theme.js +108 -0
- package/build/__mocks__/react-markdown.js +18 -0
- package/build/__mocks__/remark-plugin.js +8 -0
- package/build/components/ActionBar/ActionBar.js +71 -0
- package/build/components/ActionBar/ActionBarAction.js +94 -0
- package/build/components/ActionBar/index.js +14 -0
- package/build/components/Author/Author.js +68 -0
- package/build/components/Author/index.js +14 -0
- package/build/components/Author/styles.js +55 -0
- package/build/components/CopyClipboard/CopyToClipBoard.js +69 -0
- package/build/components/CopyClipboard/index.js +21 -0
- package/build/components/CopyClipboard/utils.js +23 -0
- package/build/components/Dependencies/Dependencies.js +106 -0
- package/build/components/Dependencies/index.js +14 -0
- package/build/components/Dependencies/styles.js +68 -0
- package/build/components/Dependencies/types.js +6 -0
- package/build/components/Deprecated/Deprecated.js +33 -0
- package/build/components/Deprecated/index.js +14 -0
- package/build/components/Developers/Developers.js +96 -0
- package/build/components/Developers/Title.js +48 -0
- package/build/components/Developers/get-unique-developer-values.js +15 -0
- package/build/components/Developers/index.js +21 -0
- package/build/components/Developers/styles.js +69 -0
- package/build/components/Distribution/Dist.js +49 -0
- package/build/components/Distribution/index.js +14 -0
- package/build/components/Distribution/styles.js +70 -0
- package/build/components/Distribution/utils.js +25 -0
- package/build/components/Distribution/utilts.spec.js +18 -0
- package/build/components/Engines/Engines.js +86 -0
- package/build/components/Engines/index.js +14 -0
- package/build/components/Engines/styles.js +40 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js +42 -0
- package/build/components/ErrorBoundary/index.js +14 -0
- package/build/components/FundButton/FundButton.js +81 -0
- package/build/components/FundButton/index.js +14 -0
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +81 -0
- package/build/components/HeaderInfoDialog/index.js +14 -0
- package/build/components/Heading/Heading.js +25 -0
- package/build/components/Heading/index.js +14 -0
- package/build/components/Help/Help.js +61 -0
- package/build/components/Help/index.js +14 -0
- package/build/components/Help/styles.js +26 -0
- package/build/components/Icons/DevsIcons/CommonJS.js +29 -0
- package/build/components/Icons/DevsIcons/ES6Module.js +29 -0
- package/build/components/Icons/DevsIcons/Git.js +29 -0
- package/build/components/Icons/DevsIcons/NodeJS.js +29 -0
- package/build/components/Icons/DevsIcons/TypeScript.js +29 -0
- package/build/components/Icons/DevsIcons/commonjs.svg +4 -0
- package/build/components/Icons/DevsIcons/es6modules.svg +4 -0
- package/build/components/Icons/DevsIcons/git.svg +4 -0
- package/build/components/Icons/DevsIcons/index.js +41 -0
- package/build/components/Icons/DevsIcons/nodejs.svg +6 -0
- package/build/components/Icons/DevsIcons/typescript.svg +4 -0
- package/build/components/Icons/Earth.js +40 -0
- package/build/components/Icons/FileBinary.js +20 -0
- package/build/components/Icons/Law.js +21 -0
- package/build/components/Icons/License.js +24 -0
- package/build/components/Icons/License.js.map +1 -0
- package/build/components/Icons/Managers/Npm.js +29 -0
- package/build/components/Icons/Managers/Pnpm.js +29 -0
- package/build/components/Icons/Managers/Yarn.js +29 -0
- package/build/components/Icons/Managers/index.js +27 -0
- package/build/components/Icons/Managers/npm.svg +15 -0
- package/build/components/Icons/Managers/pnpm.svg +1 -0
- package/build/components/Icons/Managers/yarn.svg +1 -0
- package/build/components/Icons/SvgIcon.js +48 -0
- package/build/components/Icons/Time.js +27 -0
- package/build/components/Icons/Version.js +25 -0
- package/build/components/Icons/index.js +80 -0
- package/build/components/Install/Install.js +75 -0
- package/build/components/Install/InstallListItem.js +147 -0
- package/build/components/Install/__partials__/data.json +5984 -0
- package/build/components/Install/img/npm.svg +15 -0
- package/build/components/Install/img/pnpm.svg +1 -0
- package/build/components/Install/img/yarn.svg +1 -0
- package/build/components/Install/index.js +14 -0
- package/build/components/Label/Label.js +36 -0
- package/build/components/Label/index.js +14 -0
- package/build/components/Link/Link.js +58 -0
- package/build/components/Link/index.js +14 -0
- package/build/components/Loading/Loading.js +21 -0
- package/build/components/Loading/Spinner/Spinner.js +49 -0
- package/build/components/Loading/Spinner/index.js +14 -0
- package/build/components/Loading/index.js +14 -0
- package/build/components/Loading/styles.js +39 -0
- package/build/components/LoginDialog/LoginDialog.js +76 -0
- package/build/components/LoginDialog/LoginDialogCloseButton.js +42 -0
- package/build/components/LoginDialog/LoginDialogForm.js +127 -0
- package/build/components/LoginDialog/LoginDialogFormError.js +50 -0
- package/build/components/LoginDialog/LoginDialogHeader.js +60 -0
- package/build/components/LoginDialog/index.js +14 -0
- package/build/components/Logo/Logo.js +83 -0
- package/build/components/Logo/img/logo-black-and-white.svg +1 -0
- package/build/components/Logo/img/logo.svg +1 -0
- package/build/components/Logo/index.js +14 -0
- package/build/components/MenuItem/MenuItem.js +41 -0
- package/build/components/MenuItem/index.js +14 -0
- package/build/components/NoItems/NoItems.js +19 -0
- package/build/components/NoItems/index.js +14 -0
- package/build/components/NotFound/NotFound.js +74 -0
- package/build/components/NotFound/img/package.svg +1 -0
- package/build/components/NotFound/index.js +14 -0
- package/build/components/Package/Package.js +181 -0
- package/build/components/Package/Tag/Tag.js +15 -0
- package/build/components/Package/Tag/index.js +14 -0
- package/build/components/Package/Tag/styles.js +25 -0
- package/build/components/Package/index.js +21 -0
- package/build/components/Package/styles.js +224 -0
- package/build/components/PackageList/PackageList.js +100 -0
- package/build/components/PackageList/index.js +14 -0
- package/build/components/RawViewer/RawViewer.js +64 -0
- package/build/components/RawViewer/index.js +14 -0
- package/build/components/Readme/Readme.js +43 -0
- package/build/components/Readme/Readme.js.map +1 -0
- package/build/components/Readme/Readme.spec.js +22 -0
- package/build/components/Readme/Readme.spec.js.map +1 -0
- package/build/components/Readme/index.js +14 -0
- package/build/components/Readme/types.js +6 -0
- package/build/components/Readme/utils.js +35 -0
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +37 -0
- package/build/components/RegistryInfoDialog/index.js +14 -0
- package/build/components/RegistryInfoDialog/styles.js +49 -0
- package/build/components/RegistryInfoDialog/types.js +6 -0
- package/build/components/Repository/Repository.js +129 -0
- package/build/components/Repository/__partials__/data.json +5984 -0
- package/build/components/Repository/img/git.png +0 -0
- package/build/components/Repository/index.js +14 -0
- package/build/components/Search/AutoComplete/AutoComplete.js +70 -0
- package/build/components/Search/AutoComplete/index.js +14 -0
- package/build/components/Search/AutoComplete/styles.js +63 -0
- package/build/components/Search/Search.js +159 -0
- package/build/components/Search/SearchItem.js +137 -0
- package/build/components/Search/index.js +14 -0
- package/build/components/Search/styles.js +60 -0
- package/build/components/SettingsMenu/SettingsMenu.js +68 -0
- package/build/components/SettingsMenu/index.js +14 -0
- package/build/components/SideBarTittle/SideBarTittle.js +94 -0
- package/build/components/SideBarTittle/index.js +14 -0
- package/build/components/SideBarTittle/utils.js +20 -0
- package/build/components/TextField/TextField.js +30 -0
- package/build/components/TextField/index.js +14 -0
- package/build/components/UpLinks/UpLinks.js +44 -0
- package/build/components/UpLinks/index.js +14 -0
- package/build/components/UpLinks/styles.js +50 -0
- package/build/components/Versions/HistoryList.js +41 -0
- package/build/components/Versions/TagList.js +31 -0
- package/build/components/Versions/Versions.js +46 -0
- package/build/components/Versions/__partials__/data.json +5984 -0
- package/build/components/Versions/index.js +14 -0
- package/build/components/Versions/styles.js +38 -0
- package/build/components/Versions/types.js +6 -0
- package/build/hooks/index.js +21 -0
- package/build/hooks/useLocalStorage.js +54 -0
- package/build/hooks/useOnClickOutside.js +33 -0
- package/build/index.js +500 -0
- package/build/layouts/Version/Version.js +29 -0
- package/build/layouts/Version/index.js +14 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +63 -0
- package/build/providers/AppConfigurationProvider/index.js +21 -0
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +38 -0
- package/build/providers/PersistenceSettingProvider/index.js +21 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.js +54 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +54 -0
- package/build/providers/TranslatorProvider/index.js +27 -0
- package/build/providers/VersionProvider/README.md +22 -0
- package/build/providers/VersionProvider/VersionProvider.js +81 -0
- package/build/providers/VersionProvider/index.js +21 -0
- package/build/providers/index.js +39 -0
- package/build/sections/Detail/ContainerContent.js +57 -0
- package/build/sections/Detail/Detail.js +52 -0
- package/build/sections/Detail/ReadmeSection.js +22 -0
- package/build/sections/Detail/Tabs.js +61 -0
- package/build/sections/Detail/index.js +14 -0
- package/build/sections/Footer/Footer.js +111 -0
- package/build/sections/Footer/index.js +14 -0
- package/build/sections/Footer/styles.js +90 -0
- package/build/sections/Header/Header.js +73 -0
- package/build/sections/Header/HeaderGreetings.js +26 -0
- package/build/sections/Header/HeaderLeft.js +37 -0
- package/build/sections/Header/HeaderMenu.js +54 -0
- package/build/sections/Header/HeaderRight.js +104 -0
- package/build/sections/Header/HeaderSettingsDialog.js +108 -0
- package/build/sections/Header/HeaderToolTip.js +19 -0
- package/build/sections/Header/HeaderToolTipIcon.js +70 -0
- package/build/sections/Header/LanguageSwitch.js +129 -0
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +190 -0
- package/build/sections/Header/RegistryInfoContent/index.js +14 -0
- package/build/sections/Header/RegistryInfoContent/styles.js +31 -0
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +37 -0
- package/build/sections/Header/RegistryInfoDialog/index.js +14 -0
- package/build/sections/Header/RegistryInfoDialog/styles.js +49 -0
- package/build/sections/Header/RegistryInfoDialog/types.js +6 -0
- package/build/sections/Header/index.js +14 -0
- package/build/sections/Header/styles.js +213 -0
- package/build/sections/Home/Home.js +32 -0
- package/build/sections/Home/index.js +14 -0
- package/build/sections/SideBar/Sidebar.js +98 -0
- package/build/sections/SideBar/index.js +14 -0
- package/build/sections/index.js +21 -0
- package/build/src/Theme/ResetStyles.d.ts +3 -0
- package/build/src/Theme/StyleBaseline.d.ts +4 -0
- package/build/src/Theme/ThemeProvider.d.ts +10 -0
- package/build/src/Theme/colors.d.ts +1 -0
- package/build/src/Theme/index.d.ts +4 -0
- package/build/src/Theme/theme.d.ts +149 -0
- package/build/src/__mocks__/react-markdown.d.ts +4 -0
- package/build/src/__mocks__/remark-plugin.d.ts +1 -0
- package/build/src/components/ActionBar/ActionBar.d.ts +8 -0
- package/build/src/components/ActionBar/ActionBar.stories.d.ts +11 -0
- package/build/src/components/ActionBar/ActionBar.test.d.ts +1 -0
- package/build/src/components/ActionBar/ActionBarAction.d.ts +10 -0
- package/build/src/components/ActionBar/index.d.ts +1 -0
- package/build/src/components/Author/Author.d.ts +10 -0
- package/build/src/components/Author/Author.stories.d.ts +6 -0
- package/build/src/components/Author/Author.test.d.ts +1 -0
- package/build/src/components/Author/index.d.ts +1 -0
- package/build/src/components/Author/styles.d.ts +6 -0
- package/build/src/components/CopyClipboard/CopyToClipBoard.d.ts +9 -0
- package/build/src/components/CopyClipboard/CopyToClipBoard.stories.d.ts +12 -0
- package/build/src/components/CopyClipboard/index.d.ts +2 -0
- package/build/src/components/CopyClipboard/utils.d.ts +2 -0
- package/build/src/components/Dependencies/Dependencies.d.ts +5 -0
- package/build/src/components/Dependencies/Dependencies.stories.d.ts +8 -0
- package/build/src/components/Dependencies/Dependencies.test.d.ts +1 -0
- package/build/src/components/Dependencies/index.d.ts +1 -0
- package/build/src/components/Dependencies/styles.d.ts +8 -0
- package/build/src/components/Dependencies/types.d.ts +6 -0
- package/build/src/components/Deprecated/Deprecated.d.ts +7 -0
- package/build/src/components/Deprecated/Deprecated.stories.d.ts +5 -0
- package/build/src/components/Deprecated/Deprecated.test.d.ts +1 -0
- package/build/src/components/Deprecated/index.d.ts +1 -0
- package/build/src/components/Developers/Developers.d.ts +14 -0
- package/build/src/components/Developers/Developers.stories.d.ts +6 -0
- package/build/src/components/Developers/Developers.test.d.ts +1 -0
- package/build/src/components/Developers/Title.d.ts +10 -0
- package/build/src/components/Developers/get-unique-developer-values.d.ts +3 -0
- package/build/src/components/Developers/index.d.ts +1 -0
- package/build/src/components/Developers/styles.d.ts +11 -0
- package/build/src/components/Distribution/Dist.d.ts +6 -0
- package/build/src/components/Distribution/Dist.stories.d.ts +8 -0
- package/build/src/components/Distribution/Dist.test.d.ts +1 -0
- package/build/src/components/Distribution/index.d.ts +1 -0
- package/build/src/components/Distribution/styles.d.ts +4 -0
- package/build/src/components/Distribution/utils.d.ts +7 -0
- package/build/src/components/Engines/Engines.d.ts +25 -0
- package/build/src/components/Engines/Engines.stories.d.ts +9 -0
- package/build/src/components/Engines/Engines.test.d.ts +1 -0
- package/build/src/components/Engines/index.d.ts +1 -0
- package/build/src/components/Engines/styles.d.ts +2 -0
- package/build/src/components/ErrorBoundary/ErrorBoundary.d.ts +14 -0
- package/build/src/components/ErrorBoundary/index.d.ts +1 -0
- package/build/src/components/FundButton/FundButton.d.ts +5 -0
- package/build/src/components/FundButton/FundButton.stories.d.ts +7 -0
- package/build/src/components/FundButton/FundButton.test.d.ts +1 -0
- package/build/src/components/FundButton/index.d.ts +1 -0
- package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.d.ts +10 -0
- package/build/src/components/HeaderInfoDialog/index.d.ts +1 -0
- package/build/src/components/Heading/Heading.d.ts +8 -0
- package/build/src/components/Heading/index.d.ts +1 -0
- package/build/src/components/Help/Help.d.ts +3 -0
- package/build/src/components/Help/Help.stories.d.ts +5 -0
- package/build/src/components/Help/Help.test.d.ts +1 -0
- package/build/src/components/Help/index.d.ts +1 -0
- package/build/src/components/Help/styles.d.ts +1 -0
- package/build/src/components/Icons/DevsIcons/CommonJS.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/ES6Module.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/Git.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/NodeJS.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/TypeScript.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/index.d.ts +5 -0
- package/build/src/components/Icons/Earth.d.ts +7 -0
- package/build/src/components/Icons/FileBinary.d.ts +7 -0
- package/build/src/components/Icons/Icons.stories.d.ts +5 -0
- package/build/src/components/Icons/Law.d.ts +7 -0
- package/build/src/components/Icons/License.d.ts +7 -0
- package/build/src/components/Icons/Managers/Npm.d.ts +2 -0
- package/build/src/components/Icons/Managers/Pnpm.d.ts +2 -0
- package/build/src/components/Icons/Managers/Yarn.d.ts +2 -0
- package/build/src/components/Icons/Managers/index.d.ts +3 -0
- package/build/src/components/Icons/SvgIcon.d.ts +10 -0
- package/build/src/components/Icons/Time.d.ts +7 -0
- package/build/src/components/Icons/Version.d.ts +7 -0
- package/build/src/components/Icons/index.d.ts +8 -0
- package/build/src/components/Install/Install.d.ts +10 -0
- package/build/src/components/Install/Install.stories.d.ts +9 -0
- package/build/src/components/Install/Install.test.d.ts +1 -0
- package/build/src/components/Install/InstallListItem.d.ts +12 -0
- package/build/src/components/Install/index.d.ts +1 -0
- package/build/src/components/Label/Label.d.ts +9 -0
- package/build/src/components/Label/Label.test.d.ts +1 -0
- package/build/src/components/Label/index.d.ts +1 -0
- package/build/src/components/Link/Link.d.ts +6 -0
- package/build/src/components/Link/index.d.ts +1 -0
- package/build/src/components/Loading/Loading.d.ts +3 -0
- package/build/src/components/Loading/Loading.stories.d.ts +5 -0
- package/build/src/components/Loading/Loading.test.d.ts +1 -0
- package/build/src/components/Loading/Spinner/Spinner.d.ts +7 -0
- package/build/src/components/Loading/Spinner/Spinner.test.d.ts +1 -0
- package/build/src/components/Loading/Spinner/index.d.ts +1 -0
- package/build/src/components/Loading/index.d.ts +1 -0
- package/build/src/components/Loading/styles.d.ts +11 -0
- package/build/src/components/LoginDialog/LoginDialog.d.ts +7 -0
- package/build/src/components/LoginDialog/LoginDialog.stories.d.ts +15 -0
- package/build/src/components/LoginDialog/LoginDialog.test.d.ts +1 -0
- package/build/src/components/LoginDialog/LoginDialogCloseButton.d.ts +6 -0
- package/build/src/components/LoginDialog/LoginDialogForm.d.ts +12 -0
- package/build/src/components/LoginDialog/LoginDialogFormError.d.ts +11 -0
- package/build/src/components/LoginDialog/LoginDialogHeader.d.ts +6 -0
- package/build/src/components/LoginDialog/index.d.ts +1 -0
- package/build/src/components/Logo/Logo.d.ts +14 -0
- package/build/src/components/Logo/Logo.test.d.ts +1 -0
- package/build/src/components/Logo/index.d.ts +1 -0
- package/build/src/components/MenuItem/MenuItem.d.ts +9 -0
- package/build/src/components/MenuItem/index.d.ts +1 -0
- package/build/src/components/NoItems/NoItems.d.ts +6 -0
- package/build/src/components/NoItems/NoItems.stories.d.ts +5 -0
- package/build/src/components/NoItems/Noitems.test.d.ts +1 -0
- package/build/src/components/NoItems/index.d.ts +1 -0
- package/build/src/components/NotFound/NotFound.d.ts +3 -0
- package/build/src/components/NotFound/Notfound.test.d.ts +1 -0
- package/build/src/components/NotFound/index.d.ts +1 -0
- package/build/src/components/Package/Package.d.ts +24 -0
- package/build/src/components/Package/Package.test.d.ts +1 -0
- package/build/src/components/Package/Tag/Tag.d.ts +6 -0
- package/build/src/components/Package/Tag/Tag.test.d.ts +1 -0
- package/build/src/components/Package/Tag/index.d.ts +1 -0
- package/build/src/components/Package/Tag/styles.d.ts +5 -0
- package/build/src/components/Package/index.d.ts +1 -0
- package/build/src/components/Package/styles.d.ts +49 -0
- package/build/src/components/PackageList/PackageList.d.ts +6 -0
- package/build/src/components/PackageList/Packagelist.test.d.ts +1 -0
- package/build/src/components/PackageList/index.d.ts +1 -0
- package/build/src/components/RawViewer/RawViewer.d.ts +13 -0
- package/build/src/components/RawViewer/index.d.ts +1 -0
- package/build/src/components/Readme/Readme.d.ts +6 -0
- package/build/src/components/Readme/Readme.spec.d.ts +1 -0
- package/build/src/components/Readme/index.d.ts +1 -0
- package/build/src/components/Readme/types.d.ts +3 -0
- package/build/src/components/Readme/utils.d.ts +1 -0
- package/build/src/components/RegistryInfoDialog/RegistryInfoDialog.d.ts +4 -0
- package/build/src/components/RegistryInfoDialog/index.d.ts +1 -0
- package/build/src/components/RegistryInfoDialog/styles.d.ts +13 -0
- package/build/src/components/RegistryInfoDialog/types.d.ts +7 -0
- package/build/src/components/Repository/Repository.d.ts +5 -0
- package/build/src/components/Repository/Repository.stories.d.ts +8 -0
- package/build/src/components/Repository/Repository.test.d.ts +1 -0
- package/build/src/components/Repository/index.d.ts +1 -0
- package/build/src/components/Search/AutoComplete/AutoComplete.d.ts +16 -0
- package/build/src/components/Search/AutoComplete/index.d.ts +1 -0
- package/build/src/components/Search/AutoComplete/styles.d.ts +13 -0
- package/build/src/components/Search/Search.d.ts +4 -0
- package/build/src/components/Search/Search.stories.d.ts +8 -0
- package/build/src/components/Search/Search.test.d.ts +1 -0
- package/build/src/components/Search/SearchItem.d.ts +18 -0
- package/build/src/components/Search/index.d.ts +1 -0
- package/build/src/components/Search/styles.d.ts +10 -0
- package/build/src/components/SettingsMenu/SettingsMenu.d.ts +6 -0
- package/build/src/components/SettingsMenu/index.d.ts +1 -0
- package/build/src/components/SideBarTittle/SideBarTittle.d.ts +13 -0
- package/build/src/components/SideBarTittle/SideBarTittle.stories.d.ts +9 -0
- package/build/src/components/SideBarTittle/index.d.ts +1 -0
- package/build/src/components/SideBarTittle/utils.d.ts +3 -0
- package/build/src/components/TextField/TextField.d.ts +3 -0
- package/build/src/components/TextField/TextField.test.d.ts +1 -0
- package/build/src/components/TextField/index.d.ts +1 -0
- package/build/src/components/UpLinks/UpLinks.d.ts +5 -0
- package/build/src/components/UpLinks/UpLinks.test.d.ts +1 -0
- package/build/src/components/UpLinks/Uplinks.stories.d.ts +6 -0
- package/build/src/components/UpLinks/index.d.ts +1 -0
- package/build/src/components/UpLinks/styles.d.ts +13 -0
- package/build/src/components/Versions/HistoryList.d.ts +9 -0
- package/build/src/components/Versions/TagList.d.ts +9 -0
- package/build/src/components/Versions/Versions.d.ts +7 -0
- package/build/src/components/Versions/Versions.test.d.ts +1 -0
- package/build/src/components/Versions/index.d.ts +1 -0
- package/build/src/components/Versions/styles.d.ts +12 -0
- package/build/src/components/Versions/types.d.ts +15 -0
- package/build/src/hooks/index.d.ts +2 -0
- package/build/src/hooks/useLocalStorage.d.ts +12 -0
- package/build/src/hooks/useOnClickOutside.d.ts +9 -0
- package/build/src/index.d.ts +50 -0
- package/build/src/layouts/Version/Version.d.ts +3 -0
- package/build/src/layouts/Version/Version.stories.d.ts +7 -0
- package/build/src/layouts/Version/index.d.ts +1 -0
- package/build/src/providers/AppConfigurationProvider/AppConfigurationProvider.d.ts +10 -0
- package/build/src/providers/AppConfigurationProvider/index.d.ts +1 -0
- package/build/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +6 -0
- package/build/src/providers/PersistenceSettingProvider/index.d.ts +1 -0
- package/build/src/providers/TranslatorProvider/TranslatorProvider.d.ts +24 -0
- package/build/src/providers/TranslatorProvider/TranslatorProvider.spec.d.ts +1 -0
- package/build/src/providers/TranslatorProvider/index.d.ts +1 -0
- package/build/src/providers/VersionProvider/VersionProvider.d.ts +41 -0
- package/build/src/providers/VersionProvider/VersionProvider.test.d.ts +1 -0
- package/build/src/providers/VersionProvider/index.d.ts +1 -0
- package/build/src/providers/index.d.ts +3 -0
- package/build/src/sections/Detail/ContainerContent.d.ts +13 -0
- package/build/src/sections/Detail/Detail.d.ts +9 -0
- package/build/src/sections/Detail/Detail.stories.d.ts +6 -0
- package/build/src/sections/Detail/Detail.test.d.ts +1 -0
- package/build/src/sections/Detail/ReadmeSection.d.ts +6 -0
- package/build/src/sections/Detail/Tabs.d.ts +7 -0
- package/build/src/sections/Detail/index.d.ts +1 -0
- package/build/src/sections/Footer/Footer.d.ts +3 -0
- package/build/src/sections/Footer/Footer.test.d.ts +1 -0
- package/build/src/sections/Footer/index.d.ts +1 -0
- package/build/src/sections/Footer/styles.d.ts +33 -0
- package/build/src/sections/Header/Header.d.ts +6 -0
- package/build/src/sections/Header/Header.stories.d.ts +5 -0
- package/build/src/sections/Header/Header.test.d.ts +1 -0
- package/build/src/sections/Header/HeaderGreetings.d.ts +6 -0
- package/build/src/sections/Header/HeaderLeft.d.ts +6 -0
- package/build/src/sections/Header/HeaderMenu.d.ts +11 -0
- package/build/src/sections/Header/HeaderRight.d.ts +16 -0
- package/build/src/sections/Header/HeaderSettingsDialog.d.ts +7 -0
- package/build/src/sections/Header/HeaderToolTip.d.ts +9 -0
- package/build/src/sections/Header/HeaderToolTipIcon.d.ts +8 -0
- package/build/src/sections/Header/LanguageSwitch.d.ts +5 -0
- package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +24 -0
- package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.d.ts +1 -0
- package/build/src/sections/Header/RegistryInfoContent/index.d.ts +1 -0
- package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +13 -0
- package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +4 -0
- package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +1 -0
- package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +13 -0
- package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +7 -0
- package/build/src/sections/Header/index.d.ts +1 -0
- package/build/src/sections/Header/styles.d.ts +34 -0
- package/build/src/sections/Home/Home.d.ts +3 -0
- package/build/src/sections/Home/Home.stories.d.ts +5 -0
- package/build/src/sections/Home/index.d.ts +1 -0
- package/build/src/sections/SideBar/Sidebar.d.ts +3 -0
- package/build/src/sections/SideBar/Sidebar.stories.d.ts +7 -0
- package/build/src/sections/SideBar/Sidebar.test.d.ts +1 -0
- package/build/src/sections/SideBar/index.d.ts +1 -0
- package/build/src/sections/index.d.ts +2 -0
- package/build/src/store/api.d.ts +11 -0
- package/build/src/store/index.d.ts +3 -0
- package/build/src/store/models/configuration.d.ts +24 -0
- package/build/src/store/models/download.d.ts +16 -0
- package/build/src/store/models/index.d.ts +16 -0
- package/build/src/store/models/login.d.ts +69 -0
- package/build/src/store/models/manifest.d.ts +43 -0
- package/build/src/store/models/packages.d.ts +28 -0
- package/build/src/store/models/search.d.ts +42 -0
- package/build/src/store/storage.d.ts +2 -0
- package/build/src/store/store.d.ts +9 -0
- package/build/src/test/i18n-config.d.ts +2 -0
- package/build/src/test/test-react-testing-library.d.ts +8 -0
- package/build/src/types/index.d.ts +10 -0
- package/build/src/types/packageMeta.d.ts +84 -0
- package/build/src/utils/__partials__/packageMeta.d.ts +236 -0
- package/build/src/utils/cli-utils.d.ts +6 -0
- package/build/src/utils/index.d.ts +6 -0
- package/build/src/utils/loadable.d.ts +12 -0
- package/build/src/utils/routes.d.ts +7 -0
- package/build/src/utils/token.d.ts +1 -0
- package/build/src/utils/url.d.ts +4 -0
- package/build/src/utils/utils.d.ts +32 -0
- package/build/store/api.js +70 -0
- package/build/store/index.js +52 -0
- package/build/store/models/configuration.js +49 -0
- package/build/store/models/download.js +41 -0
- package/build/store/models/index.js +22 -0
- package/build/store/models/login.js +104 -0
- package/build/store/models/manifest.js +99 -0
- package/build/store/models/packages.js +44 -0
- package/build/store/models/search.js +90 -0
- package/build/store/storage.js +19 -0
- package/build/store/store.js +16 -0
- package/build/test/i18n-config.js +26 -0
- package/build/test/test-react-testing-library.js +53 -0
- package/build/types/index.js +6 -0
- package/build/types/packageMeta.js +6 -0
- package/build/utils/__partials__/packageMeta.js +536 -0
- package/build/utils/cli-utils.js +49 -0
- package/build/utils/index.js +75 -0
- package/build/utils/loadable.js +27 -0
- package/build/utils/routes.js +16 -0
- package/build/utils/token.js +35 -0
- package/build/utils/url.js +64 -0
- package/build/utils/utils.js +103 -0
- package/package.json +69 -12
- package/src/Theme/ResetStyles.tsx +44 -0
- package/src/Theme/StyleBaseline.tsx +14 -0
- package/src/Theme/ThemeProvider.tsx +44 -0
- package/src/Theme/colors.ts +1 -0
- package/src/Theme/index.ts +4 -0
- package/src/Theme/theme.ts +161 -0
- package/src/__mocks__/react-markdown.tsx +8 -0
- package/src/__mocks__/remark-plugin.ts +1 -0
- package/src/components/ActionBar/ActionBar.stories.tsx +64 -0
- package/src/components/ActionBar/ActionBar.test.tsx +85 -0
- package/src/components/ActionBar/ActionBar.tsx +59 -0
- package/src/components/ActionBar/ActionBarAction.tsx +84 -0
- package/src/components/ActionBar/index.ts +1 -0
- package/src/components/Author/Author.stories.tsx +53 -0
- package/src/components/Author/Author.test.tsx +69 -0
- package/src/components/Author/Author.tsx +59 -0
- package/src/components/Author/index.ts +1 -0
- package/src/components/Author/styles.ts +22 -0
- package/src/components/CopyClipboard/CopyToClipBoard.stories.tsx +20 -0
- package/src/components/CopyClipboard/CopyToClipBoard.tsx +50 -0
- package/src/components/CopyClipboard/index.ts +2 -0
- package/src/components/CopyClipboard/utils.ts +21 -0
- package/src/components/Dependencies/Dependencies.stories.tsx +158 -0
- package/src/components/Dependencies/Dependencies.test.tsx +79 -0
- package/src/components/Dependencies/Dependencies.tsx +111 -0
- package/src/components/Dependencies/index.ts +1 -0
- package/src/components/Dependencies/styles.ts +26 -0
- package/src/components/Dependencies/types.ts +7 -0
- package/src/components/Deprecated/Deprecated.stories.tsx +9 -0
- package/src/components/Deprecated/Deprecated.test.tsx +26 -0
- package/src/components/Deprecated/Deprecated.tsx +31 -0
- package/src/components/Deprecated/index.ts +1 -0
- package/src/components/Developers/Developers.stories.tsx +60 -0
- package/src/components/Developers/Developers.test.tsx +102 -0
- package/src/components/Developers/Developers.tsx +82 -0
- package/src/components/Developers/Title.tsx +32 -0
- package/src/components/Developers/get-unique-developer-values.ts +16 -0
- package/src/components/Developers/index.ts +1 -0
- package/src/components/Developers/styles.ts +31 -0
- package/src/components/Distribution/Dist.stories.tsx +67 -0
- package/src/components/Distribution/Dist.test.tsx +99 -0
- package/src/components/Distribution/Dist.tsx +58 -0
- package/src/components/Distribution/index.ts +1 -0
- package/src/components/Distribution/styles.ts +29 -0
- package/src/components/Distribution/utils.ts +32 -0
- package/src/components/Distribution/utilts.spec.ts +17 -0
- package/src/components/Engines/Engines.stories.tsx +71 -0
- package/src/components/Engines/Engines.test.tsx +56 -0
- package/src/components/Engines/Engines.tsx +95 -0
- package/src/components/Engines/index.ts +1 -0
- package/src/components/Engines/styles.ts +14 -0
- package/src/components/ErrorBoundary/ErrorBoundary.tsx +38 -0
- package/src/components/ErrorBoundary/index.ts +1 -0
- package/src/components/FundButton/FundButton.stories.tsx +56 -0
- package/src/components/FundButton/FundButton.test.tsx +84 -0
- package/src/components/FundButton/FundButton.tsx +48 -0
- package/src/components/FundButton/index.ts +1 -0
- package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +82 -0
- package/src/components/HeaderInfoDialog/index.ts +1 -0
- package/src/components/Heading/Heading.tsx +16 -0
- package/src/components/Heading/index.ts +1 -0
- package/src/components/Help/Help.stories.tsx +9 -0
- package/src/components/Help/Help.test.tsx +11 -0
- package/src/components/Help/Help.tsx +54 -0
- package/src/components/Help/index.ts +1 -0
- package/src/components/Help/styles.ts +7 -0
- package/src/components/Icons/.eslintrc +5 -0
- package/src/components/Icons/DevsIcons/CommonJS.tsx +13 -0
- package/src/components/Icons/DevsIcons/ES6Module.tsx +13 -0
- package/src/components/Icons/DevsIcons/Git.tsx +13 -0
- package/src/components/Icons/DevsIcons/NodeJS.tsx +13 -0
- package/src/components/Icons/DevsIcons/TypeScript.tsx +13 -0
- package/src/components/Icons/DevsIcons/commonjs.svg +4 -0
- package/src/components/Icons/DevsIcons/es6modules.svg +4 -0
- package/src/components/Icons/DevsIcons/git.svg +4 -0
- package/src/components/Icons/DevsIcons/index.ts +5 -0
- package/src/components/Icons/DevsIcons/nodejs.svg +6 -0
- package/src/components/Icons/DevsIcons/typescript.svg +4 -0
- package/src/components/Icons/Earth.tsx +36 -0
- package/src/components/Icons/FileBinary.tsx +20 -0
- package/src/components/Icons/Icons.stories.tsx +37 -0
- package/src/components/Icons/Law.tsx +20 -0
- package/src/components/Icons/License.tsx +18 -0
- package/src/components/Icons/Managers/Npm.tsx +13 -0
- package/src/components/Icons/Managers/Pnpm.tsx +13 -0
- package/src/components/Icons/Managers/Yarn.tsx +13 -0
- package/src/components/Icons/Managers/index.ts +3 -0
- package/src/components/Icons/Managers/npm.svg +15 -0
- package/src/components/Icons/Managers/pnpm.svg +1 -0
- package/src/components/Icons/Managers/yarn.svg +1 -0
- package/src/components/Icons/SvgIcon.tsx +39 -0
- package/src/components/Icons/Time.tsx +19 -0
- package/src/components/Icons/Version.tsx +20 -0
- package/src/components/Icons/index.ts +8 -0
- package/src/components/Install/Install.stories.tsx +87 -0
- package/src/components/Install/Install.test.tsx +84 -0
- package/src/components/Install/Install.tsx +67 -0
- package/src/components/Install/InstallListItem.tsx +118 -0
- package/src/components/Install/__partials__/data.json +5984 -0
- package/src/components/Install/img/npm.svg +15 -0
- package/src/components/Install/img/pnpm.svg +1 -0
- package/src/components/Install/img/yarn.svg +1 -0
- package/src/components/Install/index.ts +1 -0
- package/src/components/Label/Label.test.tsx +14 -0
- package/src/components/Label/Label.tsx +36 -0
- package/src/components/Label/index.ts +1 -0
- package/src/components/Link/Link.tsx +39 -0
- package/src/components/Link/index.ts +1 -0
- package/src/components/Loading/Loading.stories.tsx +14 -0
- package/src/components/Loading/Loading.test.tsx +11 -0
- package/src/components/Loading/Loading.tsx +16 -0
- package/src/components/Loading/Spinner/Spinner.test.tsx +13 -0
- package/src/components/Loading/Spinner/Spinner.tsx +34 -0
- package/src/components/Loading/Spinner/index.tsx +1 -0
- package/src/components/Loading/index.ts +1 -0
- package/src/components/Loading/styles.ts +17 -0
- package/src/components/LoginDialog/LoginDialog.stories.tsx +20 -0
- package/src/components/LoginDialog/LoginDialog.test.tsx +108 -0
- package/src/components/LoginDialog/LoginDialog.tsx +79 -0
- package/src/components/LoginDialog/LoginDialogCloseButton.tsx +32 -0
- package/src/components/LoginDialog/LoginDialogForm.tsx +96 -0
- package/src/components/LoginDialog/LoginDialogFormError.tsx +42 -0
- package/src/components/LoginDialog/LoginDialogHeader.tsx +48 -0
- package/src/components/LoginDialog/index.ts +1 -0
- package/src/components/Logo/Logo.test.tsx +11 -0
- package/src/components/Logo/Logo.tsx +55 -0
- package/src/components/Logo/img/logo-black-and-white.svg +1 -0
- package/src/components/Logo/img/logo.svg +1 -0
- package/src/components/Logo/index.ts +1 -0
- package/src/components/MenuItem/MenuItem.tsx +25 -0
- package/src/components/MenuItem/index.ts +1 -0
- package/src/components/NoItems/NoItems.stories.tsx +11 -0
- package/src/components/NoItems/NoItems.tsx +15 -0
- package/src/components/NoItems/Noitems.test.tsx +15 -0
- package/src/components/NoItems/index.ts +1 -0
- package/src/components/NotFound/NotFound.tsx +52 -0
- package/src/components/NotFound/Notfound.test.tsx +36 -0
- package/src/components/NotFound/img/package.svg +1 -0
- package/src/components/NotFound/index.ts +1 -0
- package/src/components/Package/Package.test.tsx +54 -0
- package/src/components/Package/Package.tsx +260 -0
- package/src/components/Package/Tag/Tag.test.tsx +15 -0
- package/src/components/Package/Tag/Tag.tsx +11 -0
- package/src/components/Package/Tag/index.ts +1 -0
- package/src/components/Package/Tag/styles.ts +11 -0
- package/src/components/Package/index.ts +1 -0
- package/src/components/Package/styles.ts +104 -0
- package/src/components/PackageList/PackageList.tsx +81 -0
- package/src/components/PackageList/Packagelist.test.tsx +58 -0
- package/src/components/PackageList/index.ts +1 -0
- package/src/components/RawViewer/RawViewer.tsx +72 -0
- package/src/components/RawViewer/index.ts +1 -0
- package/src/components/Readme/Readme.spec.tsx +18 -0
- package/src/components/Readme/Readme.tsx +30 -0
- package/src/components/Readme/index.ts +1 -0
- package/src/components/Readme/types.ts +3 -0
- package/src/components/Readme/utils.ts +25 -0
- package/src/components/RegistryInfoDialog/RegistryInfoDialog.tsx +31 -0
- package/src/components/RegistryInfoDialog/index.ts +1 -0
- package/src/components/RegistryInfoDialog/styles.ts +21 -0
- package/src/components/RegistryInfoDialog/types.ts +8 -0
- package/src/components/Repository/Repository.stories.tsx +70 -0
- package/src/components/Repository/Repository.test.tsx +43 -0
- package/src/components/Repository/Repository.tsx +88 -0
- package/src/components/Repository/__partials__/data.json +5984 -0
- package/src/components/Repository/img/git.png +0 -0
- package/src/components/Repository/index.ts +1 -0
- package/src/components/Search/AutoComplete/AutoComplete.tsx +83 -0
- package/src/components/Search/AutoComplete/index.ts +1 -0
- package/src/components/Search/AutoComplete/styles.tsx +42 -0
- package/src/components/Search/Search.stories.tsx +30 -0
- package/src/components/Search/Search.test.tsx +153 -0
- package/src/components/Search/Search.tsx +162 -0
- package/src/components/Search/SearchItem.tsx +114 -0
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/styles.ts +41 -0
- package/src/components/SettingsMenu/SettingsMenu.tsx +67 -0
- package/src/components/SettingsMenu/index.ts +1 -0
- package/src/components/SideBarTittle/SideBarTittle.stories.tsx +68 -0
- package/src/components/SideBarTittle/SideBarTittle.tsx +81 -0
- package/src/components/SideBarTittle/index.ts +1 -0
- package/src/components/SideBarTittle/utils.ts +12 -0
- package/src/components/TextField/TextField.test.tsx +15 -0
- package/src/components/TextField/TextField.tsx +24 -0
- package/src/components/TextField/index.ts +1 -0
- package/src/components/UpLinks/UpLinks.test.tsx +47 -0
- package/src/components/UpLinks/UpLinks.tsx +41 -0
- package/src/components/UpLinks/Uplinks.stories.tsx +47 -0
- package/src/components/UpLinks/index.ts +1 -0
- package/src/components/UpLinks/styles.ts +24 -0
- package/src/components/Versions/HistoryList.tsx +41 -0
- package/src/components/Versions/TagList.tsx +33 -0
- package/src/components/Versions/Versions.test.tsx +39 -0
- package/src/components/Versions/Versions.tsx +40 -0
- package/src/components/Versions/__partials__/data.json +5984 -0
- package/src/components/Versions/index.ts +1 -0
- package/src/components/Versions/styles.ts +20 -0
- package/src/components/Versions/types.ts +17 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useLocalStorage.ts +49 -0
- package/src/hooks/useOnClickOutside.ts +33 -0
- package/src/index.ts +60 -0
- package/src/layouts/Version/Version.stories.tsx +44 -0
- package/src/layouts/Version/Version.tsx +19 -0
- package/src/layouts/Version/index.ts +1 -0
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +73 -0
- package/src/providers/AppConfigurationProvider/index.ts +1 -0
- package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +57 -0
- package/src/providers/PersistenceSettingProvider/index.ts +1 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.spec.tsx +52 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.tsx +54 -0
- package/src/providers/TranslatorProvider/index.ts +1 -0
- package/src/providers/VersionProvider/README.md +22 -0
- package/src/providers/VersionProvider/VersionProvider.test.tsx +49 -0
- package/src/providers/VersionProvider/VersionProvider.tsx +92 -0
- package/src/providers/VersionProvider/index.ts +1 -0
- package/src/providers/index.ts +3 -0
- package/src/sections/Detail/ContainerContent.tsx +46 -0
- package/src/sections/Detail/Detail.stories.tsx +29 -0
- package/src/sections/Detail/Detail.test.tsx +12 -0
- package/src/sections/Detail/Detail.tsx +34 -0
- package/src/sections/Detail/ReadmeSection.tsx +17 -0
- package/src/sections/Detail/Tabs.tsx +36 -0
- package/src/sections/Detail/index.ts +1 -0
- package/src/sections/Footer/Footer.test.tsx +20 -0
- package/src/sections/Footer/Footer.tsx +112 -0
- package/src/sections/Footer/index.ts +1 -0
- package/src/sections/Footer/styles.ts +44 -0
- package/src/sections/Header/Header.stories.tsx +36 -0
- package/src/sections/Header/Header.test.tsx +278 -0
- package/src/sections/Header/Header.tsx +79 -0
- package/src/sections/Header/HeaderGreetings.tsx +21 -0
- package/src/sections/Header/HeaderLeft.tsx +29 -0
- package/src/sections/Header/HeaderMenu.tsx +63 -0
- package/src/sections/Header/HeaderRight.tsx +131 -0
- package/src/sections/Header/HeaderSettingsDialog.tsx +81 -0
- package/src/sections/Header/HeaderToolTip.tsx +15 -0
- package/src/sections/Header/HeaderToolTipIcon.tsx +87 -0
- package/src/sections/Header/LanguageSwitch.tsx +96 -0
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +26 -0
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +196 -0
- package/src/sections/Header/RegistryInfoContent/index.ts +1 -0
- package/src/sections/Header/RegistryInfoContent/styles.ts +13 -0
- package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +31 -0
- package/src/sections/Header/RegistryInfoDialog/index.ts +1 -0
- package/src/sections/Header/RegistryInfoDialog/styles.ts +21 -0
- package/src/sections/Header/RegistryInfoDialog/types.ts +8 -0
- package/src/sections/Header/index.ts +1 -0
- package/src/sections/Header/styles.ts +100 -0
- package/src/sections/Home/Home.stories.tsx +16 -0
- package/src/sections/Home/Home.tsx +22 -0
- package/src/sections/Home/index.ts +1 -0
- package/src/sections/SideBar/Sidebar.stories.tsx +39 -0
- package/src/sections/SideBar/Sidebar.test.tsx +106 -0
- package/src/sections/SideBar/Sidebar.tsx +80 -0
- package/src/sections/SideBar/index.ts +1 -0
- package/src/sections/index.ts +2 -0
- package/src/store/api.test.ts +136 -0
- package/src/store/api.ts +73 -0
- package/src/store/index.ts +3 -0
- package/src/store/models/configuration.ts +46 -0
- package/src/store/models/download.ts +34 -0
- package/src/store/models/index.ts +18 -0
- package/src/store/models/login.test.ts +38 -0
- package/src/store/models/login.ts +106 -0
- package/src/store/models/manifest.ts +98 -0
- package/src/store/models/packages.ts +43 -0
- package/src/store/models/search.ts +86 -0
- package/src/store/storage.ts +12 -0
- package/src/store/store.ts +15 -0
- package/src/test/i18n-config.ts +19 -0
- package/src/test/test-react-testing-library.tsx +47 -0
- package/src/types/index.d.ts +2 -0
- package/src/types/index.ts +11 -0
- package/src/types/packageMeta.ts +92 -0
- package/src/utils/.eslintrc +5 -0
- package/src/utils/__partials__/packageMeta.ts +591 -0
- package/src/utils/cli-utils.test.ts +66 -0
- package/src/utils/cli-utils.ts +53 -0
- package/src/utils/index.ts +11 -0
- package/src/utils/loadable.tsx +20 -0
- package/src/utils/routes.ts +7 -0
- package/src/utils/token.test.ts +54 -0
- package/src/utils/token.ts +33 -0
- package/src/utils/url.test.ts +32 -0
- package/src/utils/url.ts +57 -0
- package/src/utils/utils.test.ts +113 -0
- package/src/utils/utils.ts +120 -0
- package/tsconfig.build.json +22 -0
- package/tsconfig.json +21 -0
- package/LICENSE +0 -21
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _Error = _interopRequireDefault(require("@mui/icons-material/Error"));
|
|
9
|
+
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
10
|
+
var _SnackbarContent = _interopRequireDefault(require("@mui/material/SnackbarContent"));
|
|
11
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
const StyledSnackbarContent = /*#__PURE__*/(0, _base.default)(_SnackbarContent.default, process.env.NODE_ENV === "production" ? {
|
|
16
|
+
target: "e20vm851"
|
|
17
|
+
} : {
|
|
18
|
+
target: "e20vm851",
|
|
19
|
+
label: "StyledSnackbarContent"
|
|
20
|
+
})(({
|
|
21
|
+
theme
|
|
22
|
+
}) => ({
|
|
23
|
+
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.error.dark,
|
|
24
|
+
color: theme === null || theme === void 0 ? void 0 : theme.palette.white
|
|
25
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0xvZ2luRGlhbG9nL0xvZ2luRGlhbG9nRm9ybUVycm9yLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFROEIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvTG9naW5EaWFsb2cvTG9naW5EaWFsb2dGb3JtRXJyb3IudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEVycm9yIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvRXJyb3InO1xuaW1wb3J0IEJveCBmcm9tICdAbXVpL21hdGVyaWFsL0JveCc7XG5pbXBvcnQgU25hY2tiYXJDb250ZW50IGZyb20gJ0BtdWkvbWF0ZXJpYWwvU25hY2tiYXJDb250ZW50JztcbmltcG9ydCBSZWFjdCwgeyBtZW1vIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBMb2dpbkVycm9yLCBUaGVtZSB9IGZyb20gJy4uLy4uLyc7XG5cbmNvbnN0IFN0eWxlZFNuYWNrYmFyQ29udGVudCA9IHN0eWxlZChTbmFja2JhckNvbnRlbnQpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmVycm9yLmRhcmssXG4gIGNvbG9yOiB0aGVtZT8ucGFsZXR0ZS53aGl0ZSxcbn0pKTtcblxuY29uc3QgU3R5bGVkRXJyb3JJY29uID0gc3R5bGVkKEVycm9yKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgZm9udFNpemU6IDIwLFxuICBvcGFjaXR5OiAwLjksXG4gIG1hcmdpblJpZ2h0OiB0aGVtZT8uc3BhY2luZygxKSxcbn0pKTtcblxuZXhwb3J0IGludGVyZmFjZSBGb3JtVmFsdWVzIHtcbiAgdXNlcm5hbWU6IHN0cmluZztcbiAgcGFzc3dvcmQ6IHN0cmluZztcbn1cblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgZXJyb3I6IExvZ2luRXJyb3I7XG59XG5cbmNvbnN0IExvZ2luRGlhbG9nRm9ybUVycm9yID0gbWVtbygoeyBlcnJvciB9OiBQcm9wcykgPT4ge1xuICByZXR1cm4gKFxuICAgIDxTdHlsZWRTbmFja2JhckNvbnRlbnRcbiAgICAgIG1lc3NhZ2U9e1xuICAgICAgICA8Qm94IGFsaWduSXRlbXM9XCJjZW50ZXJcIiBkaXNwbGF5PVwiZmxleFwiPlxuICAgICAgICAgIDxTdHlsZWRFcnJvckljb24gLz5cbiAgICAgICAgICB7ZXJyb3IuZGVzY3JpcHRpb259XG4gICAgICAgIDwvQm94PlxuICAgICAgfVxuICAgIC8+XG4gICk7XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgTG9naW5EaWFsb2dGb3JtRXJyb3I7XG4iXX0= */");
|
|
26
|
+
const StyledErrorIcon = /*#__PURE__*/(0, _base.default)(_Error.default, process.env.NODE_ENV === "production" ? {
|
|
27
|
+
target: "e20vm850"
|
|
28
|
+
} : {
|
|
29
|
+
target: "e20vm850",
|
|
30
|
+
label: "StyledErrorIcon"
|
|
31
|
+
})(({
|
|
32
|
+
theme
|
|
33
|
+
}) => ({
|
|
34
|
+
fontSize: 20,
|
|
35
|
+
opacity: 0.9,
|
|
36
|
+
marginRight: theme === null || theme === void 0 ? void 0 : theme.spacing(1)
|
|
37
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0xvZ2luRGlhbG9nL0xvZ2luRGlhbG9nRm9ybUVycm9yLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhd0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvTG9naW5EaWFsb2cvTG9naW5EaWFsb2dGb3JtRXJyb3IudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEVycm9yIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvRXJyb3InO1xuaW1wb3J0IEJveCBmcm9tICdAbXVpL21hdGVyaWFsL0JveCc7XG5pbXBvcnQgU25hY2tiYXJDb250ZW50IGZyb20gJ0BtdWkvbWF0ZXJpYWwvU25hY2tiYXJDb250ZW50JztcbmltcG9ydCBSZWFjdCwgeyBtZW1vIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBMb2dpbkVycm9yLCBUaGVtZSB9IGZyb20gJy4uLy4uLyc7XG5cbmNvbnN0IFN0eWxlZFNuYWNrYmFyQ29udGVudCA9IHN0eWxlZChTbmFja2JhckNvbnRlbnQpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmVycm9yLmRhcmssXG4gIGNvbG9yOiB0aGVtZT8ucGFsZXR0ZS53aGl0ZSxcbn0pKTtcblxuY29uc3QgU3R5bGVkRXJyb3JJY29uID0gc3R5bGVkKEVycm9yKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgZm9udFNpemU6IDIwLFxuICBvcGFjaXR5OiAwLjksXG4gIG1hcmdpblJpZ2h0OiB0aGVtZT8uc3BhY2luZygxKSxcbn0pKTtcblxuZXhwb3J0IGludGVyZmFjZSBGb3JtVmFsdWVzIHtcbiAgdXNlcm5hbWU6IHN0cmluZztcbiAgcGFzc3dvcmQ6IHN0cmluZztcbn1cblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgZXJyb3I6IExvZ2luRXJyb3I7XG59XG5cbmNvbnN0IExvZ2luRGlhbG9nRm9ybUVycm9yID0gbWVtbygoeyBlcnJvciB9OiBQcm9wcykgPT4ge1xuICByZXR1cm4gKFxuICAgIDxTdHlsZWRTbmFja2JhckNvbnRlbnRcbiAgICAgIG1lc3NhZ2U9e1xuICAgICAgICA8Qm94IGFsaWduSXRlbXM9XCJjZW50ZXJcIiBkaXNwbGF5PVwiZmxleFwiPlxuICAgICAgICAgIDxTdHlsZWRFcnJvckljb24gLz5cbiAgICAgICAgICB7ZXJyb3IuZGVzY3JpcHRpb259XG4gICAgICAgIDwvQm94PlxuICAgICAgfVxuICAgIC8+XG4gICk7XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgTG9naW5EaWFsb2dGb3JtRXJyb3I7XG4iXX0= */");
|
|
38
|
+
const LoginDialogFormError = /*#__PURE__*/(0, _react.memo)(({
|
|
39
|
+
error
|
|
40
|
+
}) => {
|
|
41
|
+
return /*#__PURE__*/_react.default.createElement(StyledSnackbarContent, {
|
|
42
|
+
message: /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
43
|
+
alignItems: "center",
|
|
44
|
+
display: "flex"
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement(StyledErrorIcon, null), error.description)
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
var _default = LoginDialogFormError;
|
|
49
|
+
exports.default = _default;
|
|
50
|
+
//# sourceMappingURL=LoginDialogFormError.js.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _Close = _interopRequireDefault(require("@mui/icons-material/Close"));
|
|
9
|
+
var _LockOutlined = _interopRequireDefault(require("@mui/icons-material/LockOutlined"));
|
|
10
|
+
var _Avatar = _interopRequireDefault(require("@mui/material/Avatar"));
|
|
11
|
+
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
12
|
+
var _IconButton = _interopRequireDefault(require("@mui/material/IconButton"));
|
|
13
|
+
var _react = _interopRequireDefault(require("react"));
|
|
14
|
+
var _reactI18next = require("react-i18next");
|
|
15
|
+
var _ = require("../../");
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
const LoginDialogHeader = ({
|
|
18
|
+
onClose
|
|
19
|
+
}) => {
|
|
20
|
+
const {
|
|
21
|
+
t
|
|
22
|
+
} = (0, _reactI18next.useTranslation)();
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
display: "flex",
|
|
26
|
+
flexDirection: "column",
|
|
27
|
+
position: "relative"
|
|
28
|
+
}, onClose && /*#__PURE__*/_react.default.createElement(StyledIconButton, {
|
|
29
|
+
"aria-label": t('button.close'),
|
|
30
|
+
onClick: onClose
|
|
31
|
+
}, /*#__PURE__*/_react.default.createElement(_Close.default, null)), /*#__PURE__*/_react.default.createElement(StyledAvatar, null, /*#__PURE__*/_react.default.createElement(_LockOutlined.default, null)), /*#__PURE__*/_react.default.createElement(_.Heading, null, t('button.login')));
|
|
32
|
+
};
|
|
33
|
+
var _default = LoginDialogHeader;
|
|
34
|
+
exports.default = _default;
|
|
35
|
+
const StyledAvatar = /*#__PURE__*/(0, _base.default)(_Avatar.default, process.env.NODE_ENV === "production" ? {
|
|
36
|
+
target: "ef1cbtv1"
|
|
37
|
+
} : {
|
|
38
|
+
target: "ef1cbtv1",
|
|
39
|
+
label: "StyledAvatar"
|
|
40
|
+
})(({
|
|
41
|
+
theme
|
|
42
|
+
}) => ({
|
|
43
|
+
margin: theme === null || theme === void 0 ? void 0 : theme.spacing(1),
|
|
44
|
+
backgroundColor: (theme === null || theme === void 0 ? void 0 : theme.palette.mode) === 'light' ? theme === null || theme === void 0 ? void 0 : theme.palette.primary.main : theme === null || theme === void 0 ? void 0 : theme.palette.cyanBlue,
|
|
45
|
+
color: theme === null || theme === void 0 ? void 0 : theme.palette.white
|
|
46
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0xvZ2luRGlhbG9nL0xvZ2luRGlhbG9nSGVhZGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQ3FCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0xvZ2luRGlhbG9nL0xvZ2luRGlhbG9nSGVhZGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDbG9zZUljb24gZnJvbSAnQG11aS9pY29ucy1tYXRlcmlhbC9DbG9zZSc7XG5pbXBvcnQgTG9ja091dGxpbmVkIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvTG9ja091dGxpbmVkJztcbmltcG9ydCBBdmF0YXIgZnJvbSAnQG11aS9tYXRlcmlhbC9BdmF0YXInO1xuaW1wb3J0IEJveCBm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0eWxlZChBdmF0YXIpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBtYXJnaW46IHRoZW1lPy5zcGFjaW5nKDEpLFxuICBiYWNrZ3JvdW5kQ29sb3I6XG4gICAgdGhlbWU/LnBhbGV0dGUubW9kZSA9PT0gJ2xpZ2h0JyA/IHRoZW1lPy5wYWxldHRlLnByaW1hcnkubWFpbiA6IHRoZW1lPy5wYWxldHRlLmN5YW5CbHVlLFxuICBjb2xvcjogdGhlbWU/LnBhbGV0dGUud2hpdGUsXG59KSk7XG5cbmNvbnN0IFN0eWxlZEljb25CdXR0b24gPSBzdHlsZWQoSWNvbkJ1dHRvbik8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICByaWdodDogdGhlbWU/LnNwYWNpbmcoKSAvIDIsXG4gIHRvcDogdGhlbWU/LnNwYWNpbmcoKSAvIDIsXG4gIGNvbG9yOiB0aGVtZT8ucGFsZXR0ZS5ncmV5WzUwMF0sXG59KSk7XG4iXX0= */");
|
|
47
|
+
const StyledIconButton = /*#__PURE__*/(0, _base.default)(_IconButton.default, process.env.NODE_ENV === "production" ? {
|
|
48
|
+
target: "ef1cbtv0"
|
|
49
|
+
} : {
|
|
50
|
+
target: "ef1cbtv0",
|
|
51
|
+
label: "StyledIconButton"
|
|
52
|
+
})(({
|
|
53
|
+
theme
|
|
54
|
+
}) => ({
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
right: (theme === null || theme === void 0 ? void 0 : theme.spacing()) / 2,
|
|
57
|
+
top: (theme === null || theme === void 0 ? void 0 : theme.spacing()) / 2,
|
|
58
|
+
color: theme === null || theme === void 0 ? void 0 : theme.palette.grey[500]
|
|
59
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL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ZT8ucGFsZXR0ZS5ncmV5WzUwMF0sXG59KSk7XG4iXX0= */");
|
|
60
|
+
//# sourceMappingURL=LoginDialogHeader.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _LoginDialog.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _LoginDialog = _interopRequireDefault(require("./LoginDialog"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _ = require("../../");
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
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)."; }
|
|
12
|
+
const blackAndWithLogo = require('./img/logo-black-and-white.svg');
|
|
13
|
+
const defaultLogo = require('./img/logo.svg');
|
|
14
|
+
const sizes = {
|
|
15
|
+
'x-small': '30px',
|
|
16
|
+
small: '40px',
|
|
17
|
+
big: '90px'
|
|
18
|
+
};
|
|
19
|
+
const logos = {
|
|
20
|
+
light: defaultLogo,
|
|
21
|
+
dark: blackAndWithLogo
|
|
22
|
+
};
|
|
23
|
+
const Logo = ({
|
|
24
|
+
size,
|
|
25
|
+
onClick,
|
|
26
|
+
className,
|
|
27
|
+
isDefault = false
|
|
28
|
+
}) => {
|
|
29
|
+
const {
|
|
30
|
+
configOptions
|
|
31
|
+
} = (0, _.useConfig)();
|
|
32
|
+
if (!isDefault && configOptions !== null && configOptions !== void 0 && configOptions.logo) {
|
|
33
|
+
return /*#__PURE__*/_react.default.createElement(ImageLogo, {
|
|
34
|
+
className: className,
|
|
35
|
+
onClick: onClick
|
|
36
|
+
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
37
|
+
alt: "logo",
|
|
38
|
+
height: "40px",
|
|
39
|
+
src: configOptions.logo
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement(StyledLogo, {
|
|
43
|
+
className: className,
|
|
44
|
+
onClick: onClick,
|
|
45
|
+
size: size
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
var _default = Logo;
|
|
49
|
+
exports.default = _default;
|
|
50
|
+
const ImageLogo = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
51
|
+
target: "exban011"
|
|
52
|
+
} : {
|
|
53
|
+
target: "exban011",
|
|
54
|
+
label: "ImageLogo"
|
|
55
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
56
|
+
name: "lyel5l",
|
|
57
|
+
styles: "font-size:0"
|
|
58
|
+
} : {
|
|
59
|
+
name: "lyel5l",
|
|
60
|
+
styles: "font-size:0",
|
|
61
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0xvZ28vTG9nby50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0NrQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9Mb2dvL0xvZ28udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3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B0aW9ucy5sb2dvfSAvPlxuICAgICAgPC9JbWFnZUxvZ28+XG4gICAgKTtcbiAgfVxuICByZXR1cm4gPFN0eWxlZExvZ28gY2xhc3NOYW1lPXtjbGFzc05hbWV9IG9uQ2xpY2s9e29uQ2xpY2t9IHNpemU9e3NpemV9IC8+O1xufTtcblxuZXhwb3J0IGRlZmF1bHQgTG9nbztcblxuY29uc3QgSW1hZ2VMb2dvID0gc3R5bGVkKCdkaXYnKSh7XG4gIGZvbnRTaXplOiAwLFxufSk7XG5cbmNvbnN0IFN0eWxlZExvZ28gPSBzdHlsZWQoJ2RpdicpPFByb3BzICYgeyB0aGVtZT86IFRoZW1lIH0+KCh7IHNpemUgPSAnc21hbGwnLCB0aGVtZSB9KSA9PiAoe1xuICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIGJveFNpemluZzogJ2JvcmRlci1ib3gnLFxuICBiYWNrZ3JvdW5kUG9zaXRpb246ICdjZW50ZXInLFxuICBiYWNrZ3JvdW5kU2l6ZTogJ2NvbnRhaW4nLFxuICBiYWNrZ3JvdW5kSW1hZ2U6IGB1cmwoJHtsb2dvc1t0aGVtZT8ucGFsZXR0ZS5tb2RlXX0pYCxcbiAgYmFja2dyb3VuZFJlcGVhdDogJyBuby1yZXBlYXQnLFxuICB3aWR0aDogc2l6ZXNbc2l6ZV0sXG4gIGhlaWdodDogc2l6ZXNbc2l6ZV0sXG59KSk7XG4iXX0= */",
|
|
62
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
63
|
+
});
|
|
64
|
+
const StyledLogo = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
65
|
+
target: "exban010"
|
|
66
|
+
} : {
|
|
67
|
+
target: "exban010",
|
|
68
|
+
label: "StyledLogo"
|
|
69
|
+
})(({
|
|
70
|
+
size = 'small',
|
|
71
|
+
theme
|
|
72
|
+
}) => ({
|
|
73
|
+
display: 'inline-block',
|
|
74
|
+
verticalAlign: 'middle',
|
|
75
|
+
boxSizing: 'border-box',
|
|
76
|
+
backgroundPosition: 'center',
|
|
77
|
+
backgroundSize: 'contain',
|
|
78
|
+
backgroundImage: `url(${logos[theme === null || theme === void 0 ? void 0 : theme.palette.mode]})`,
|
|
79
|
+
backgroundRepeat: ' no-repeat',
|
|
80
|
+
width: sizes[size],
|
|
81
|
+
height: sizes[size]
|
|
82
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0xvZ28vTG9nby50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNENtQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9Mb2dvL0xvZ28udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IHsgVGhlbWUsIHVzZUNvbmZpZyB9IGZyb20gJy4uLy4uLyc7XG5cbmNvbnN0IGJsYWNrQW5kV2l0aExvZ28gPSByZXF1aXJlKCcuL2ltZy9sb2dvLWJsYWNrLWFuZC13aGl0ZS5zdmcnKTtcbmNvbnN0IGRlZmF1bHRMb2dvID0gcmVxdWlyZSgnLi9pbWcvbG9nby5zdmcnKTtcblxuY29uc3Qgc2l6ZXMgPSB7XG4gICd4LXNtYWxsJzogJzMwcHgnLFxuICBzbWFsbDogJzQwcHgnLFxuICBiaWc6ICc5MHB4Jyxcbn07XG5cbmNvbnN0IGxvZ29zID0ge1xuICBsaWdodDogZGVmYXVsdExvZ28sXG4gIGRhcms6IGJsYWNrQW5kV2l0aExvZ28sXG59O1xuXG5pbnRlcmZhY2UgUHJvcHMge1xuICBzaXplPzoga2V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jZW50ZXInLFxuICBiYWNrZ3JvdW5kU2l6ZTogJ2NvbnRhaW4nLFxuICBiYWNrZ3JvdW5kSW1hZ2U6IGB1cmwoJHtsb2dvc1t0aGVtZT8ucGFsZXR0ZS5tb2RlXX0pYCxcbiAgYmFja2dyb3VuZFJlcGVhdDogJyBuby1yZXBlYXQnLFxuICB3aWR0aDogc2l6ZXNbc2l6ZV0sXG4gIGhlaWdodDogc2l6ZXNbc2l6ZV0sXG59KSk7XG4iXX0= */");
|
|
83
|
+
//# sourceMappingURL=Logo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter x="-19.8%" y="-11.7%" width="139.6%" height="140.4%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter><filter x="-33.9%" y="-50%" width="167.9%" height="272.7%" filterUnits="objectBoundingBox" id="c"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter><path id="b" d="M48 16.729L32.672 47h-8.874L0 0h15.328l12.907 25.492 4.437-8.763H48z"/><path d="M35.2 11H28V8.643h8.4l1.2-2.357H32V3.929h6.8l.8-1.572H36V0h20l-5.6 11H35.2z" id="d"/></defs><g fill="none" fill-rule="evenodd"><rect fill="#000" width="100" height="100" rx="37"/><g transform="translate(22 30)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill-opacity=".6" fill="#FFF" xlink:href="#b"/></g><g transform="translate(22 30)"><use fill="#000" filter="url(#c)" xlink:href="#d"/><use fill="#FFF" xlink:href="#d"/></g><path fill="#FFF" d="M54.785 77H45.88L22 30h15.38L58 70.718z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="verdaccio"><Title>Verdaccio</Title><defs><path id="b" d="M48 17.6L32.8 48H24L.4.8h15.2l12.8 25.6 4.4-8.8H48z"/><filter x="-20%" y="-11.7%" width="139.9%" height="140.3%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter><path id="d" d="M50.8 12H35.6L41.2.8h15.2L50.8 12z"/><filter x="-45.7%" y="-49.1%" width="191.3%" height="269.6%" filterUnits="objectBoundingBox" id="c"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter></defs><g fill="none" fill-rule="evenodd"><rect fill="#F7F8F6" width="100" height="100" rx="37"/><g transform="translate(22 29)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><path stroke="#405236" stroke-width="2.4" d="M46.058 18.8H33.542L28.4 29.083 14.858 2H2.342l22.4 44.8h7.316l14-28z" stroke-linejoin="square" fill="#405236"/></g><g transform="translate(22 29)"><use fill="#000" filter="url(#c)" xlink:href="#d"/><path stroke="#CD4000" stroke-width="2.4" d="M50.058 10.8l4.4-8.8H41.942l-4.4 8.8h12.516z" stroke-linejoin="square" fill="#CD4000"/></g><path d="M54.06 75.8l2.575-5.112L36.857 31H24.342l22.4 44.8h7.319z" stroke="#405236" stroke-width="2.4" fill="#4A5E3F"/><path d="M59.6 31h15.221M55.6 35h15.221M51.6 39.8h15.221" stroke="#CD4000" stroke-width="2.4" stroke-linecap="square"/></g></svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Logo.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Logo = _interopRequireDefault(require("./Logo"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
|
+
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)."; }
|
|
15
|
+
const MenuItem = /*#__PURE__*/(0, _react.forwardRef)(function MenuItem(props, ref) {
|
|
16
|
+
// it seems typescript has some discrimination type limitions. Please see: https://github.com/mui-org/material-ui/issues/14971
|
|
17
|
+
// @ts-ignore Type Types of property 'button' are incompatible.
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(StyledMaterialUIMenuItem, _extends({}, props, {
|
|
19
|
+
ref: ref
|
|
20
|
+
}));
|
|
21
|
+
});
|
|
22
|
+
MenuItem.defaultProps = {
|
|
23
|
+
component: 'li'
|
|
24
|
+
};
|
|
25
|
+
var _default = MenuItem;
|
|
26
|
+
exports.default = _default;
|
|
27
|
+
const StyledMaterialUIMenuItem = /*#__PURE__*/(0, _base.default)(_MenuItem.default, process.env.NODE_ENV === "production" ? {
|
|
28
|
+
target: "e4hxi4u0"
|
|
29
|
+
} : {
|
|
30
|
+
target: "e4hxi4u0",
|
|
31
|
+
label: "StyledMaterialUIMenuItem"
|
|
32
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
33
|
+
name: "12mkfdx",
|
|
34
|
+
styles: "outline:none"
|
|
35
|
+
} : {
|
|
36
|
+
name: "12mkfdx",
|
|
37
|
+
styles: "outline:none",
|
|
38
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL01lbnVJdGVtL01lbnVJdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQmlDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL01lbnVJdGVtL01lbnVJdGVtLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGRlZmF1bHQgYXMgTWF0ZXJpYWxVSU1lbnVJdGVtLCBNZW51SXRlbVByb3BzIH0gZnJvbSAnQG11aS9tYXRlcmlhbC9NZW51SXRlbSc7XG5pbXBvcnQgUmVhY3QsIHsgZm9yd2FyZFJlZiB9IGZyb20gJ3JlYWN0JztcblxudHlwZSBIVE1MRWxlbWVudFRhZ05hbWUgPSBrZXlvZiBIVE1MRWxlbWVudFRhZ05hbWVNYXA7XG50eXBlIE1lbnVJdGVtUmVmID0gSFRNTEVsZW1lbnRUYWdOYW1lTWFwW0hUTUxFbGVtZW50VGFnTmFtZV07XG5cbmludGVyZmFjZSBQcm9wcyBleHRlbmRzIE9taXQ8TWVudUl0ZW1Qcm9wcywgJ2NvbXBvbmVudCc+IHtcbiAgY29tcG9uZW50PzogSFRNTEVsZW1lbnRUYWdOYW1lO1xufVxuXG5jb25zdCBNZW51SXRlbSA9IGZvcndhcmRSZWY8TWVudUl0ZW1SZWYsIFByb3BzPihmdW5jdGlvbiBNZW51SXRlbShwcm9wcywgcmVmKSB7XG4gIC8vIGl0IHNlZW1zIHR5cGVzY3JpcHQgaGFzIHNvbWUgZGlzY3JpbWluYXRpb24gdHlwZSBsaW1pdGlvbnMuIFBsZWFzZSBzZWU6IGh0dHBzOi8vZ2l0aHViLmNvbS9tdWktb3JnL21hdGVyaWFsLXVpL2lzc3Vlcy8xNDk3MVxuICAvLyBAdHMtaWdub3JlIFR5cGUgVHlwZXMgb2YgcHJvcGVydHkgJ2J1dHRvbicgYXJlIGluY29tcGF0aWJsZS5cbiAgcmV0dXJuIDxTdHlsZWRNYXRlcmlhbFVJTWVudUl0ZW0gey4uLnByb3BzfSByZWY9e3JlZiBhcyBhbnl9IC8+O1xufSk7XG5cbk1lbnVJdGVtLmRlZmF1bHRQcm9wcyA9IHtcbiAgY29tcG9uZW50OiAnbGknLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgTWVudUl0ZW07XG5jb25zdCBTdHlsZWRNYXRlcmlhbFVJTWVudUl0ZW0gPSBzdHlsZWQoTWF0ZXJpYWxVSU1lbnVJdGVtKSh7XG4gIG91dGxpbmU6ICdub25lJyxcbn0pO1xuIl19 */",
|
|
39
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=MenuItem.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _MenuItem.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _MenuItem = _interopRequireDefault(require("./MenuItem"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _Alert = _interopRequireDefault(require("@mui/material/Alert"));
|
|
8
|
+
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
const NoItems = ({
|
|
12
|
+
text,
|
|
13
|
+
...props
|
|
14
|
+
}) => /*#__PURE__*/_react.default.createElement(_Alert.default, {
|
|
15
|
+
severity: "info"
|
|
16
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, props, text));
|
|
17
|
+
var _default = NoItems;
|
|
18
|
+
exports.default = _default;
|
|
19
|
+
//# sourceMappingURL=NoItems.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _NoItems.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _NoItems = _interopRequireDefault(require("./NoItems"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
9
|
+
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _reactI18next = require("react-i18next");
|
|
12
|
+
var _reactRouterDom = require("react-router-dom");
|
|
13
|
+
var _Heading = _interopRequireDefault(require("../Heading"));
|
|
14
|
+
var _package = _interopRequireDefault(require("./img/package.svg"));
|
|
15
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
+
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)."; } // @ts-ignore
|
|
19
|
+
const NotFound = () => {
|
|
20
|
+
const history = (0, _reactRouterDom.useHistory)();
|
|
21
|
+
const {
|
|
22
|
+
t
|
|
23
|
+
} = (0, _reactI18next.useTranslation)();
|
|
24
|
+
const handleGoHome = (0, _react.useCallback)(() => {
|
|
25
|
+
history.push('/');
|
|
26
|
+
}, [history]);
|
|
27
|
+
return /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
"data-testid": "404",
|
|
30
|
+
display: "flex",
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
flexGrow: 1,
|
|
33
|
+
justifyContent: "center",
|
|
34
|
+
p: 2
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement(EmptyPackage, {
|
|
36
|
+
alt: t('error.404.page-not-found'),
|
|
37
|
+
src: _package.default
|
|
38
|
+
}), /*#__PURE__*/_react.default.createElement(StyledHeading, {
|
|
39
|
+
className: "not-found-text",
|
|
40
|
+
variant: "h4"
|
|
41
|
+
}, t('error.404.sorry-we-could-not-find-it')), /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
42
|
+
"data-testid": "not-found-go-to-home-button",
|
|
43
|
+
onClick: handleGoHome,
|
|
44
|
+
variant: "contained"
|
|
45
|
+
}, t('button.go-to-the-home-page')));
|
|
46
|
+
};
|
|
47
|
+
var _default = NotFound;
|
|
48
|
+
exports.default = _default;
|
|
49
|
+
const EmptyPackage = /*#__PURE__*/(0, _base.default)('img', process.env.NODE_ENV === "production" ? {
|
|
50
|
+
target: "e85lhfw1"
|
|
51
|
+
} : {
|
|
52
|
+
target: "e85lhfw1",
|
|
53
|
+
label: "EmptyPackage"
|
|
54
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
55
|
+
name: "178ibc5",
|
|
56
|
+
styles: "width:150px;margin:0 auto"
|
|
57
|
+
} : {
|
|
58
|
+
name: "178ibc5",
|
|
59
|
+
styles: "width:150px;margin:0 auto",
|
|
60
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL05vdEZvdW5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2luQm90dG9tOiAxNixcbn0pKTtcbiJdfQ== */",
|
|
61
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
62
|
+
});
|
|
63
|
+
const StyledHeading = /*#__PURE__*/(0, _base.default)(_Heading.default, process.env.NODE_ENV === "production" ? {
|
|
64
|
+
target: "e85lhfw0"
|
|
65
|
+
} : {
|
|
66
|
+
target: "e85lhfw0",
|
|
67
|
+
label: "StyledHeading"
|
|
68
|
+
})(({
|
|
69
|
+
theme
|
|
70
|
+
}) => ({
|
|
71
|
+
color: (theme === null || theme === void 0 ? void 0 : theme.palette.mode) === 'light' ? theme === null || theme === void 0 ? void 0 : theme.palette.primary.main : theme === null || theme === void 0 ? void 0 : theme.palette.white,
|
|
72
|
+
marginBottom: 16
|
|
73
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL05vdEZvdW5kL05vdEZvdW5kLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnRHNCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL05vdEZvdW5kL05vdEZvdW5kLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBCb3ggZnJvbSAnQG11aS9tYXRlcmlhbC9Cb3gnO1xuaW1wb3J0IEJ1dHRvbiBmcm9tICdAbXVpL21hdGVyaWFsL0J1dHRvbic7XG5pbXBvcnQgUmVhY3QsIHsgdXNlQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyB1c2VUcmFuc2xhdGlvbiB9IGZyb20gJ3JlYWN0LWkxOG5leHQnO1xuaW1wb3J0IHsgdXNlSGlzdG9yeSB9IGZyb20gJ3JlYWN0LXJvdXRlci1kb20n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WNrPXtoYW5kbGVHb0hvbWV9IHZhcmlhbnQ9XCJjb250YWluZWRcIj5cbiAgICAgICAge3QoJ2J1dHRvbi5nby10by10aGUtaG9tZS1wYWdlJyl9XG4gICAgICA8L0J1dHRvbj5cbiAgICA8L0JveD5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IE5vdEZvdW5kO1xuXG5jb25zdCBFbXB0eVBhY2thZ2UgPSBzdHlsZWQoJ2ltZycpKHtcbiAgd2lkdGg6ICcxNTBweCcsXG4gIG1hcmdpbjogJzAgYXV0bycsXG59KTtcblxuY29uc3QgU3R5bGVkSGVhZGluZyA9IHN0eWxlZChIZWFkaW5nKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgY29sb3I6IHRoZW1lPy5wYWxldHRlLm1vZGUgPT09ICdsaWdodCcgPyB0aGVtZT8ucGFsZXR0ZS5wcmltYXJ5Lm1haW4gOiB0aGVtZT8ucGFsZXR0ZS53aGl0ZSxcbiAgbWFyZ2luQm90dG9tOiAxNixcbn0pKTtcbiJdfQ== */");
|
|
74
|
+
//# sourceMappingURL=NotFound.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 495.2 495.2"><path fill="#d38c0d" d="M325.6 224.4L495.2 126 325.6 28.4l-168.8 99.2z"/><g fill="#efbb67"><path d="M170.4 224.4l168-97.6-168-98.4L0 126.8z"/><path d="M416 368.4l-168 98.4-168-98.4v-196L248 74l168 98.4z"/></g><path fill="#d38c0d" d="M248 74l168 98.4v196l-168 98.4"/><path fill="#efbb67" d="M326.4 314.8L495.2 218l-169.6-98.4L156 218z"/><path fill="#d38c0d" d="M170.4 316.4l168.8-99.2-168.8-97.6L0 218z"/><path fill="#704a0e" d="M248.8 270.8L416 172.4 248.8 74 78.4 172.4z"/><path fill="#513307" d="M248.8 270.8L416 172.4 248.8 74"/><path fill="#2d1c05" d="M248.8 270.8l36-21.6-36-20.8-36 20.8z"/><g fill="#0dd396"><path d="M368 379.6l40-23.2v-12.8l-40 23.2zM368 356.4l40-23.2v-12.8l-40 23.2zM368 333.2l40-23.2v-13.6l-40 24z"/></g></svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _NotFound.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _NotFound = _interopRequireDefault(require("./NotFound"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|