@verdaccio/ui-components 4.0.0-next-8.12 → 4.0.0-next-8.13
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/README.md +23 -49
- package/build/AppTest/AppRoute.d.ts +1 -3
- package/build/AppTest/AppRoute.js +13 -40
- package/build/AppTest/AppRoute.js.map +1 -1
- package/build/Theme/ResetStyles.js +42 -32
- package/build/Theme/ResetStyles.js.map +1 -1
- package/build/Theme/StyleBaseline.js +15 -6
- package/build/Theme/StyleBaseline.js.map +1 -1
- package/build/Theme/ThemeProvider.js +38 -22
- package/build/Theme/ThemeProvider.js.map +1 -1
- package/build/Theme/colors.d.ts +11 -0
- package/build/Theme/colors.js +19 -1
- package/build/Theme/colors.js.map +1 -1
- package/build/Theme/index.d.ts +2 -1
- package/build/Theme/index.js +57 -5
- package/build/Theme/index.js.map +1 -1
- package/build/Theme/modes.d.ts +3 -0
- package/build/Theme/modes.js +40 -0
- package/build/Theme/modes.js.map +1 -0
- package/build/Theme/theme.d.ts +5 -149
- package/build/Theme/theme.js +16 -95
- package/build/Theme/theme.js.map +1 -1
- package/build/Theme/tokens.d.ts +57 -0
- package/build/Theme/tokens.js +35 -0
- package/build/Theme/tokens.js.map +1 -0
- package/build/api/use-data-mutation.d.ts +19 -0
- package/build/api/use-data-mutation.js +99 -0
- package/build/api/use-data-mutation.js.map +1 -0
- package/build/api/use-data.d.ts +3 -0
- package/build/api/use-data.js +36 -0
- package/build/api/use-data.js.map +1 -0
- package/build/components/ActionBar/ActionBar.js +49 -30
- package/build/components/ActionBar/ActionBar.js.map +1 -1
- package/build/components/ActionBar/ActionBarAction.js +72 -57
- package/build/components/ActionBar/ActionBarAction.js.map +1 -1
- package/build/components/ActionBar/index.js +13 -1
- package/build/components/ActionBar/index.js.map +1 -1
- package/build/components/AppRoute/AppRoute.d.ts +3 -0
- package/build/components/AppRoute/AppRoute.js +89 -0
- package/build/components/AppRoute/AppRoute.js.map +1 -0
- package/build/components/Author/Author.d.ts +1 -1
- package/build/components/Author/Author.js +25 -22
- package/build/components/Author/Author.js.map +1 -1
- package/build/components/Author/index.js +13 -1
- package/build/components/Author/index.js.map +1 -1
- package/build/components/Author/styles.js +18 -9
- package/build/components/Author/styles.js.map +1 -1
- package/build/components/CopyClipboard/CopyToClipBoard.js +31 -28
- package/build/components/CopyClipboard/CopyToClipBoard.js.map +1 -1
- package/build/components/CopyClipboard/index.js +20 -2
- package/build/components/CopyClipboard/index.js.map +1 -1
- package/build/components/CopyClipboard/utils.d.ts +1 -1
- package/build/components/CopyClipboard/utils.js +12 -4
- package/build/components/CopyClipboard/utils.js.map +1 -1
- package/build/components/Dependencies/Dependencies.js +52 -42
- package/build/components/Dependencies/Dependencies.js.map +1 -1
- package/build/components/Dependencies/DependencyBlock.d.ts +2 -2
- package/build/components/Dependencies/DependencyBlock.js +65 -49
- package/build/components/Dependencies/DependencyBlock.js.map +1 -1
- package/build/components/Dependencies/index.js +13 -1
- package/build/components/Dependencies/index.js.map +1 -1
- package/build/components/Dependencies/types.d.ts +1 -1
- package/build/components/Dependencies/types.js +5 -1
- package/build/components/Dependencies/types.js.map +1 -1
- package/build/components/Dependencies/utits.js +7 -1
- package/build/components/Dependencies/utits.js.map +1 -1
- package/build/components/Deprecated/Deprecated.js +13 -8
- package/build/components/Deprecated/Deprecated.js.map +1 -1
- package/build/components/Deprecated/index.js +13 -1
- package/build/components/Deprecated/index.js.map +1 -1
- package/build/components/Developers/DeveloperType.js +7 -1
- package/build/components/Developers/DeveloperType.js.map +1 -1
- package/build/components/Developers/Developers.d.ts +1 -1
- package/build/components/Developers/Developers.js +62 -39
- package/build/components/Developers/Developers.js.map +1 -1
- package/build/components/Developers/Title.js +25 -23
- package/build/components/Developers/Title.js.map +1 -1
- package/build/components/Developers/get-unique-developer-values.d.ts +1 -1
- package/build/components/Developers/get-unique-developer-values.js +18 -2
- package/build/components/Developers/get-unique-developer-values.js.map +1 -1
- package/build/components/Developers/index.js +20 -2
- package/build/components/Developers/index.js.map +1 -1
- package/build/components/Distribution/Dist.d.ts +2 -2
- package/build/components/Distribution/Dist.js +31 -30
- package/build/components/Distribution/Dist.js.map +1 -1
- package/build/components/Distribution/index.js +13 -1
- package/build/components/Distribution/index.js.map +1 -1
- package/build/components/Distribution/styles.js +22 -13
- package/build/components/Distribution/styles.js.map +1 -1
- package/build/components/Engines/Engines.d.ts +1 -1
- package/build/components/Engines/Engines.js +37 -36
- package/build/components/Engines/Engines.js.map +1 -1
- package/build/components/Engines/index.js +13 -1
- package/build/components/Engines/index.js.map +1 -1
- package/build/components/Engines/styles.js +19 -10
- package/build/components/Engines/styles.js.map +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.d.ts +11 -9
- package/build/components/ErrorBoundary/ErrorBoundary.js +63 -28
- package/build/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/build/components/ErrorBoundary/index.js +13 -1
- package/build/components/ErrorBoundary/index.js.map +1 -1
- package/build/components/Forbidden/Forbidden.d.ts +3 -2
- package/build/components/Forbidden/Forbidden.js +55 -52
- package/build/components/Forbidden/Forbidden.js.map +1 -1
- package/build/components/Forbidden/index.js +13 -1
- package/build/components/Forbidden/index.js.map +1 -1
- package/build/components/FundButton/FundButton.js +33 -34
- package/build/components/FundButton/FundButton.js.map +1 -1
- package/build/components/FundButton/index.js +13 -1
- package/build/components/FundButton/index.js.map +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +45 -32
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +1 -1
- package/build/components/HeaderInfoDialog/index.js +13 -1
- package/build/components/HeaderInfoDialog/index.js.map +1 -1
- package/build/components/Heading/Heading.d.ts +5 -2
- package/build/components/Heading/Heading.js +17 -11
- package/build/components/Heading/Heading.js.map +1 -1
- package/build/components/Heading/index.js +13 -1
- package/build/components/Heading/index.js.map +1 -1
- package/build/components/Help/Help.js +32 -26
- package/build/components/Help/Help.js.map +1 -1
- package/build/components/Help/index.js +13 -1
- package/build/components/Help/index.js.map +1 -1
- package/build/components/Help/styles.js +10 -3
- package/build/components/Help/styles.js.map +1 -1
- package/build/components/Icons/DevsIcons/CommonJS.js +10 -3
- package/build/components/Icons/DevsIcons/CommonJS.js.map +1 -1
- package/build/components/Icons/DevsIcons/ES6Module.js +10 -3
- package/build/components/Icons/DevsIcons/ES6Module.js.map +1 -1
- package/build/components/Icons/DevsIcons/Git.js +10 -3
- package/build/components/Icons/DevsIcons/Git.js.map +1 -1
- package/build/components/Icons/DevsIcons/NodeJS.js +10 -3
- package/build/components/Icons/DevsIcons/NodeJS.js.map +1 -1
- package/build/components/Icons/DevsIcons/TypeScript.js +10 -3
- package/build/components/Icons/DevsIcons/TypeScript.js.map +1 -1
- package/build/components/Icons/DevsIcons/index.js +40 -5
- package/build/components/Icons/DevsIcons/index.js.map +1 -1
- package/build/components/Icons/Earth.d.ts +5 -5
- package/build/components/Icons/Earth.js +25 -14
- package/build/components/Icons/Earth.js.map +1 -1
- package/build/components/Icons/FileBinary.d.ts +5 -5
- package/build/components/Icons/FileBinary.js +23 -16
- package/build/components/Icons/FileBinary.js.map +1 -1
- package/build/components/Icons/Law.d.ts +5 -5
- package/build/components/Icons/Law.js +24 -17
- package/build/components/Icons/Law.js.map +1 -1
- package/build/components/Icons/License.d.ts +7 -5
- package/build/components/Icons/License.js +19 -8
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/Managers/Npm.js +10 -3
- package/build/components/Icons/Managers/Npm.js.map +1 -1
- package/build/components/Icons/Managers/Pnpm.js +10 -3
- package/build/components/Icons/Managers/Pnpm.js.map +1 -1
- package/build/components/Icons/Managers/Yarn.js +10 -3
- package/build/components/Icons/Managers/Yarn.js.map +1 -1
- package/build/components/Icons/Managers/index.js +26 -3
- package/build/components/Icons/Managers/index.js.map +1 -1
- package/build/components/Icons/SvgIcon.d.ts +8 -2
- package/build/components/Icons/SvgIcon.js +26 -22
- package/build/components/Icons/SvgIcon.js.map +1 -1
- package/build/components/Icons/Time.d.ts +5 -5
- package/build/components/Icons/Time.js +20 -9
- package/build/components/Icons/Time.js.map +1 -1
- package/build/components/Icons/Version.d.ts +5 -5
- package/build/components/Icons/Version.js +18 -7
- package/build/components/Icons/Version.js.map +1 -1
- package/build/components/Icons/index.js +79 -8
- package/build/components/Icons/index.js.map +1 -1
- package/build/components/Install/Install.d.ts +2 -2
- package/build/components/Install/Install.js +41 -33
- package/build/components/Install/Install.js.map +1 -1
- package/build/components/Install/InstallListItem.js +48 -43
- package/build/components/Install/InstallListItem.js.map +1 -1
- package/build/components/Install/index.js +13 -1
- package/build/components/Install/index.js.map +1 -1
- package/build/components/Keywords/KeywordListItems.js +25 -17
- package/build/components/Keywords/KeywordListItems.js.map +1 -1
- package/build/components/Keywords/Keywords.d.ts +1 -1
- package/build/components/Keywords/Keywords.js +22 -18
- package/build/components/Keywords/Keywords.js.map +1 -1
- package/build/components/Keywords/index.js +13 -1
- package/build/components/Keywords/index.js.map +1 -1
- package/build/components/Label/Label.d.ts +1 -1
- package/build/components/Label/Label.js +25 -17
- package/build/components/Label/Label.js.map +1 -1
- package/build/components/Label/index.js +13 -1
- package/build/components/Label/index.js.map +1 -1
- package/build/components/Link/Link.d.ts +1 -1
- package/build/components/Link/Link.js +26 -19
- package/build/components/Link/Link.js.map +1 -1
- package/build/components/Link/index.js +13 -1
- package/build/components/Link/index.js.map +1 -1
- package/build/components/LinkExternal/LinkExternal.d.ts +1 -1
- package/build/components/LinkExternal/LinkExternal.js +28 -24
- package/build/components/LinkExternal/LinkExternal.js.map +1 -1
- package/build/components/LinkExternal/index.js +13 -1
- package/build/components/LinkExternal/index.js.map +1 -1
- package/build/components/Loading/Loading.js +21 -12
- package/build/components/Loading/Loading.js.map +1 -1
- package/build/components/Loading/Spinner/Spinner.js +31 -26
- package/build/components/Loading/Spinner/Spinner.js.map +1 -1
- package/build/components/Loading/Spinner/index.js +13 -1
- package/build/components/Loading/Spinner/index.js.map +1 -1
- package/build/components/Loading/index.js +13 -1
- package/build/components/Loading/index.js.map +1 -1
- package/build/components/Loading/styles.d.ts +1 -2
- package/build/components/Loading/styles.js +14 -9
- package/build/components/Loading/styles.js.map +1 -1
- package/build/components/LoginDialog/LoginDialog.js +29 -77
- package/build/components/LoginDialog/LoginDialog.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogCloseButton.js +24 -22
- package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogForm.d.ts +2 -11
- package/build/components/LoginDialog/LoginDialogForm.js +25 -111
- package/build/components/LoginDialog/LoginDialogForm.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogFormError.d.ts +1 -6
- package/build/components/LoginDialog/LoginDialogFormError.js +31 -26
- package/build/components/LoginDialog/LoginDialogFormError.js.map +1 -1
- package/build/components/LoginDialog/index.js +13 -1
- package/build/components/LoginDialog/index.js.map +1 -1
- package/build/components/LoginForm/Login.d.ts +15 -0
- package/build/components/LoginForm/Login.js +87 -0
- package/build/components/LoginForm/Login.js.map +1 -0
- package/build/components/LoginForm/PasswordField.d.ts +9 -0
- package/build/components/LoginForm/PasswordField.js +51 -0
- package/build/components/LoginForm/PasswordField.js.map +1 -0
- package/build/components/LoginForm/UsernameField.d.ts +9 -0
- package/build/components/LoginForm/UsernameField.js +49 -0
- package/build/components/LoginForm/UsernameField.js.map +1 -0
- package/build/components/LoginForm/styles.d.ts +6 -0
- package/build/components/LoginForm/styles.js +60 -0
- package/build/components/LoginForm/styles.js.map +1 -0
- package/build/components/LoginForm/useLoginForm.d.ts +78 -0
- package/build/components/LoginForm/useLoginForm.js +66 -0
- package/build/components/LoginForm/useLoginForm.js.map +1 -0
- package/build/components/Logo/Logo.js +34 -29
- package/build/components/Logo/Logo.js.map +1 -1
- package/build/components/Logo/index.js +13 -1
- package/build/components/Logo/index.js.map +1 -1
- package/build/components/MenuItem/MenuItem.d.ts +4 -2
- package/build/components/MenuItem/MenuItem.js +24 -11
- package/build/components/MenuItem/MenuItem.js.map +1 -1
- package/build/components/MenuItem/index.js +13 -1
- package/build/components/MenuItem/index.js.map +1 -1
- package/build/components/NoItems/NoItems.js +15 -10
- package/build/components/NoItems/NoItems.js.map +1 -1
- package/build/components/NoItems/index.js +13 -1
- package/build/components/NoItems/index.js.map +1 -1
- package/build/components/NotFound/NotFound.js +37 -32
- package/build/components/NotFound/NotFound.js.map +1 -1
- package/build/components/NotFound/index.js +13 -1
- package/build/components/NotFound/index.js.map +1 -1
- package/build/components/Package/Package.d.ts +2 -1
- package/build/components/Package/Package.js +187 -155
- package/build/components/Package/Package.js.map +1 -1
- package/build/components/Package/index.js +13 -1
- package/build/components/Package/index.js.map +1 -1
- package/build/components/Package/styles.d.ts +2 -3
- package/build/components/Package/styles.js +73 -72
- package/build/components/Package/styles.js.map +1 -1
- package/build/components/PackageList/PackageList.d.ts +2 -1
- package/build/components/PackageList/PackageList.js +55 -59
- package/build/components/PackageList/PackageList.js.map +1 -1
- package/build/components/PackageList/index.js +13 -1
- package/build/components/PackageList/index.js.map +1 -1
- package/build/components/Person/Person.d.ts +1 -1
- package/build/components/Person/Person.js +28 -22
- package/build/components/Person/Person.js.map +1 -1
- package/build/components/Person/PersonTooltip.d.ts +1 -1
- package/build/components/Person/PersonTooltip.js +18 -13
- package/build/components/Person/PersonTooltip.js.map +1 -1
- package/build/components/Person/index.js +13 -1
- package/build/components/Person/index.js.map +1 -1
- package/build/components/Person/utils.d.ts +1 -1
- package/build/components/Person/utils.js +14 -6
- package/build/components/Person/utils.js.map +1 -1
- package/build/components/RawViewer/RawViewer.js +38 -34
- package/build/components/RawViewer/RawViewer.js.map +1 -1
- package/build/components/RawViewer/index.js +13 -1
- package/build/components/RawViewer/index.js.map +1 -1
- package/build/components/Readme/Readme.d.ts +1 -1
- package/build/components/Readme/Readme.js +26 -22
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/index.js +13 -1
- package/build/components/Readme/index.js.map +1 -1
- package/build/components/Readme/types.js +5 -1
- package/build/components/Readme/utils.js +15 -8
- package/build/components/Readme/utils.js.map +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.d.ts +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +25 -19
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -1
- package/build/components/RegistryInfoDialog/index.js +13 -1
- package/build/components/RegistryInfoDialog/index.js.map +1 -1
- package/build/components/RegistryInfoDialog/styles.d.ts +1 -2
- package/build/components/RegistryInfoDialog/styles.js +26 -24
- package/build/components/RegistryInfoDialog/styles.js.map +1 -1
- package/build/components/RegistryInfoDialog/types.d.ts +1 -1
- package/build/components/RegistryInfoDialog/types.js +5 -1
- package/build/components/RegistryInfoDialog/types.js.map +1 -1
- package/build/components/Repository/Repository.js +47 -42
- package/build/components/Repository/Repository.js.map +1 -1
- package/build/components/Repository/index.js +13 -1
- package/build/components/Repository/index.js.map +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.d.ts +5 -4
- package/build/components/Search/AutoComplete/AutoComplete.js +44 -26
- package/build/components/Search/AutoComplete/AutoComplete.js.map +1 -1
- package/build/components/Search/AutoComplete/index.js +13 -1
- package/build/components/Search/AutoComplete/index.js.map +1 -1
- package/build/components/Search/AutoComplete/styles.d.ts +0 -1
- package/build/components/Search/AutoComplete/styles.js +9 -2
- package/build/components/Search/AutoComplete/styles.js.map +1 -1
- package/build/components/Search/Search.d.ts +2 -5
- package/build/components/Search/Search.js +133 -123
- package/build/components/Search/Search.js.map +1 -1
- package/build/components/Search/SearchItem.d.ts +1 -1
- package/build/components/Search/SearchItem.js +92 -97
- package/build/components/Search/SearchItem.js.map +1 -1
- package/build/components/Search/index.js +13 -1
- package/build/components/Search/index.js.map +1 -1
- package/build/components/Search/styles.d.ts +5 -4
- package/build/components/Search/styles.js +46 -33
- package/build/components/Search/styles.js.map +1 -1
- package/build/components/Search/utils.js +7 -1
- package/build/components/Search/utils.js.map +1 -1
- package/build/components/SettingsMenu/SettingsMenu.js +60 -52
- package/build/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/build/components/SettingsMenu/index.js +13 -1
- package/build/components/SettingsMenu/index.js.map +1 -1
- package/build/components/SideBarTitle/SideBarTitle.js +52 -52
- package/build/components/SideBarTitle/SideBarTitle.js.map +1 -1
- package/build/components/SideBarTitle/index.js +13 -1
- package/build/components/SideBarTitle/index.js.map +1 -1
- package/build/components/SideBarTitle/utils.js +15 -6
- package/build/components/SideBarTitle/utils.js.map +1 -1
- package/build/components/UnAuthorized/UnAuthorized.d.ts +3 -0
- package/build/components/UnAuthorized/UnAuthorized.js +75 -0
- package/build/components/UnAuthorized/UnAuthorized.js.map +1 -0
- package/build/components/UnAuthorized/index.d.ts +1 -0
- package/build/components/UnAuthorized/index.js +14 -0
- package/build/components/UnAuthorized/index.js.map +1 -0
- package/build/components/UpLinks/UpLinks.js +46 -42
- package/build/components/UpLinks/UpLinks.js.map +1 -1
- package/build/components/UpLinks/UplinkLink.js +17 -12
- package/build/components/UpLinks/UplinkLink.js.map +1 -1
- package/build/components/UpLinks/index.js +13 -1
- package/build/components/UpLinks/index.js.map +1 -1
- package/build/components/UpLinks/styles.d.ts +1 -2
- package/build/components/UpLinks/styles.js +26 -20
- package/build/components/UpLinks/styles.js.map +1 -1
- package/build/components/Versions/HistoryList.d.ts +1 -1
- package/build/components/Versions/HistoryList.js +44 -37
- package/build/components/Versions/HistoryList.js.map +1 -1
- package/build/components/Versions/TagList.d.ts +1 -1
- package/build/components/Versions/TagList.js +33 -26
- package/build/components/Versions/TagList.js.map +1 -1
- package/build/components/Versions/Versions.js +67 -50
- package/build/components/Versions/Versions.js.map +1 -1
- package/build/components/Versions/index.js +13 -1
- package/build/components/Versions/index.js.map +1 -1
- package/build/components/Versions/styles.d.ts +1 -2
- package/build/components/Versions/styles.js +19 -15
- package/build/components/Versions/styles.js.map +1 -1
- package/build/components/Versions/types.d.ts +1 -1
- package/build/components/Versions/types.js +5 -1
- package/build/components/Versions/types.js.map +1 -1
- package/build/configuration.d.ts +2 -0
- package/build/configuration.js +23 -0
- package/build/configuration.js.map +1 -0
- package/build/hooks/index.js +20 -2
- package/build/hooks/index.js.map +1 -1
- package/build/hooks/useLocalStorage.js +31 -18
- package/build/hooks/useLocalStorage.js.map +1 -1
- package/build/hooks/useOnClickOutside.d.ts +1 -1
- package/build/hooks/useOnClickOutside.js +10 -5
- package/build/hooks/useOnClickOutside.js.map +1 -1
- package/build/index.d.ts +6 -14
- package/build/index.js +481 -66
- package/build/index.js.map +1 -1
- package/build/layouts/Security/Dialog.js +16 -11
- package/build/layouts/Security/Dialog.js.map +1 -1
- package/build/layouts/Version/Version.js +16 -9
- package/build/layouts/Version/Version.js.map +1 -1
- package/build/layouts/Version/index.js +13 -1
- package/build/layouts/Version/index.js.map +1 -1
- package/build/pages/Front/Home.d.ts +2 -0
- package/build/pages/Front/Home.js +9 -0
- package/build/pages/Front/Home.js.map +1 -0
- package/build/pages/Front/index.js +14 -0
- package/build/pages/Front/index.js.map +1 -0
- package/build/pages/Security/AddUser.d.ts +2 -0
- package/build/pages/Security/AddUser.js +9 -0
- package/build/pages/Security/AddUser.js.map +1 -0
- package/build/pages/Security/ChangePassword.d.ts +2 -0
- package/build/pages/Security/ChangePassword.js +9 -0
- package/build/pages/Security/ChangePassword.js.map +1 -0
- package/build/pages/Security/Login.d.ts +2 -0
- package/build/pages/Security/Login.js +9 -0
- package/build/pages/Security/Login.js.map +1 -0
- package/build/pages/Security/Success.d.ts +2 -0
- package/build/pages/Security/Success.js +9 -0
- package/build/pages/Security/Success.js.map +1 -0
- package/build/pages/Security/index.js +35 -0
- package/build/pages/Security/index.js.map +1 -0
- package/build/pages/Version/Version.js +32 -0
- package/build/pages/Version/Version.js.map +1 -0
- package/build/pages/Version/index.js +14 -0
- package/build/pages/Version/index.js.map +1 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.d.ts +8 -6
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +67 -46
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +1 -1
- package/build/providers/AppConfigurationProvider/index.d.ts +1 -1
- package/build/providers/AppConfigurationProvider/index.js +18 -1
- package/build/providers/AppConfigurationProvider/index.js.map +1 -1
- package/build/providers/AuthProvider/AuthProvider.d.ts +18 -0
- package/build/providers/AuthProvider/AuthProvider.js +102 -0
- package/build/providers/AuthProvider/AuthProvider.js.map +1 -0
- package/build/providers/AuthProvider/index.d.ts +1 -0
- package/build/providers/AuthProvider/index.js +17 -0
- package/build/providers/AuthProvider/index.js.map +1 -0
- package/build/providers/AuthProvider/types.d.ts +15 -0
- package/build/providers/AuthProvider/types.js +6 -0
- package/build/providers/AuthProvider/types.js.map +1 -0
- package/build/providers/AuthProvider/utils.d.ts +3 -0
- package/build/providers/AuthProvider/utils.js +27 -0
- package/build/providers/AuthProvider/utils.js.map +1 -0
- package/build/providers/DownloadProvider/DownloadProvider.d.ts +13 -0
- package/build/providers/DownloadProvider/DownloadProvider.js +73 -0
- package/build/providers/DownloadProvider/DownloadProvider.js.map +1 -0
- package/build/providers/DownloadProvider/index.d.ts +1 -0
- package/build/providers/DownloadProvider/index.js +19 -0
- package/build/providers/DownloadProvider/index.js.map +1 -0
- package/build/providers/ManifestsProvider/ManifestsProvider.d.ts +26 -0
- package/build/providers/ManifestsProvider/ManifestsProvider.js +33 -0
- package/build/providers/ManifestsProvider/ManifestsProvider.js.map +1 -0
- package/build/providers/ManifestsProvider/README.md +22 -0
- package/build/providers/ManifestsProvider/index.d.ts +1 -0
- package/build/providers/ManifestsProvider/index.js +21 -0
- package/build/providers/ManifestsProvider/index.js.map +1 -0
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +3 -2
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +39 -17
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js.map +1 -1
- package/build/providers/PersistenceSettingProvider/index.d.ts +1 -1
- package/build/providers/PersistenceSettingProvider/index.js +18 -1
- package/build/providers/PersistenceSettingProvider/index.js.map +1 -1
- package/build/providers/SearchProvider/SearchProvider.d.ts +19 -0
- package/build/providers/SearchProvider/SearchProvider.js +97 -0
- package/build/providers/SearchProvider/SearchProvider.js.map +1 -0
- package/build/providers/SearchProvider/index.d.ts +1 -0
- package/build/providers/SearchProvider/index.js +25 -0
- package/build/providers/SearchProvider/index.js.map +1 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.d.ts +3 -2
- package/build/providers/TranslatorProvider/TranslatorProvider.js +52 -25
- package/build/providers/TranslatorProvider/TranslatorProvider.js.map +1 -1
- package/build/providers/TranslatorProvider/index.js +20 -1
- package/build/providers/TranslatorProvider/index.js.map +1 -1
- package/build/providers/VersionProvider/VersionProvider.d.ts +13 -31
- package/build/providers/VersionProvider/VersionProvider.js +55 -69
- package/build/providers/VersionProvider/VersionProvider.js.map +1 -1
- package/build/providers/VersionProvider/index.js +20 -1
- package/build/providers/VersionProvider/index.js.map +1 -1
- package/build/providers/index.d.ts +5 -0
- package/build/providers/index.js +93 -3
- package/build/providers/index.js.map +1 -1
- package/build/routes/SecurityRoutes.d.ts +3 -0
- package/build/routes/SecurityRoutes.js +36 -0
- package/build/routes/SecurityRoutes.js.map +1 -0
- package/build/sections/Detail/ContainerContent.js +40 -22
- package/build/sections/Detail/ContainerContent.js.map +1 -1
- package/build/sections/Detail/Detail.js +42 -23
- package/build/sections/Detail/Detail.js.map +1 -1
- package/build/sections/Detail/ReadmeSection.js +13 -8
- package/build/sections/Detail/ReadmeSection.js.map +1 -1
- package/build/sections/Detail/Tabs.js +29 -23
- package/build/sections/Detail/Tabs.js.map +1 -1
- package/build/sections/Detail/index.js +13 -1
- package/build/sections/Detail/index.js.map +1 -1
- package/build/sections/Footer/Footer.js +62 -61
- package/build/sections/Footer/Footer.js.map +1 -1
- package/build/sections/Footer/index.js +13 -1
- package/build/sections/Footer/index.js.map +1 -1
- package/build/sections/Footer/styles.d.ts +1 -2
- package/build/sections/Footer/styles.js +47 -47
- package/build/sections/Footer/styles.js.map +1 -1
- package/build/sections/Header/Header.js +106 -65
- package/build/sections/Header/Header.js.map +1 -1
- package/build/sections/Header/HeaderGreetings.js +17 -13
- package/build/sections/Header/HeaderGreetings.js.map +1 -1
- package/build/sections/Header/HeaderLeft.js +19 -14
- package/build/sections/Header/HeaderLeft.js.map +1 -1
- package/build/sections/Header/HeaderMenu.d.ts +2 -1
- package/build/sections/Header/HeaderMenu.js +29 -24
- package/build/sections/Header/HeaderMenu.js.map +1 -1
- package/build/sections/Header/HeaderRight.js +61 -44
- package/build/sections/Header/HeaderRight.js.map +1 -1
- package/build/sections/Header/HeaderSettingsDialog.js +58 -53
- package/build/sections/Header/HeaderSettingsDialog.js.map +1 -1
- package/build/sections/Header/HeaderToolTip.d.ts +1 -1
- package/build/sections/Header/HeaderToolTip.js +14 -9
- package/build/sections/Header/HeaderToolTip.js.map +1 -1
- package/build/sections/Header/HeaderToolTipIcon.d.ts +4 -1
- package/build/sections/Header/HeaderToolTipIcon.js +30 -26
- package/build/sections/Header/HeaderToolTipIcon.js.map +1 -1
- package/build/sections/Header/LanguageSwitch.js +64 -56
- package/build/sections/Header/LanguageSwitch.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +2 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +77 -74
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/index.js +13 -1
- package/build/sections/Header/RegistryInfoContent/index.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.d.ts +1 -2
- package/build/sections/Header/RegistryInfoContent/styles.js +20 -13
- package/build/sections/Header/RegistryInfoContent/styles.js.map +1 -1
- package/build/sections/Header/index.js +13 -1
- package/build/sections/Header/index.js.map +1 -1
- package/build/sections/Header/styles.d.ts +1 -2
- package/build/sections/Header/styles.js +60 -50
- package/build/sections/Header/styles.js.map +1 -1
- package/build/sections/Home/Home.js +19 -19
- package/build/sections/Home/Home.js.map +1 -1
- package/build/sections/Home/index.js +13 -1
- package/build/sections/Home/index.js.map +1 -1
- package/build/sections/Security/AddUser.js +146 -85
- package/build/sections/Security/AddUser.js.map +1 -1
- package/build/sections/Security/ChangePassword.js +150 -95
- package/build/sections/Security/ChangePassword.js.map +1 -1
- package/build/sections/Security/Login.js +126 -87
- package/build/sections/Security/Login.js.map +1 -1
- package/build/sections/Security/Success.js +25 -19
- package/build/sections/Security/Success.js.map +1 -1
- package/build/sections/Security/index.js +34 -4
- package/build/sections/Security/index.js.map +1 -1
- package/build/sections/Security/styles.js +15 -15
- package/build/sections/Security/styles.js.map +1 -1
- package/build/sections/Security/utils.js +16 -8
- package/build/sections/Security/utils.js.map +1 -1
- package/build/sections/SideBar/Sidebar.js +49 -40
- package/build/sections/SideBar/Sidebar.js.map +1 -1
- package/build/sections/SideBar/index.js +13 -1
- package/build/sections/SideBar/index.js.map +1 -1
- package/build/sections/index.js +20 -2
- package/build/sections/index.js.map +1 -1
- package/build/store/api.d.ts +1 -1
- package/build/store/api.js +89 -48
- package/build/store/api.js.map +1 -1
- package/build/store/index.d.ts +0 -6
- package/build/store/index.js +13 -2
- package/build/store/index.js.map +1 -1
- package/build/store/{models/routes.d.ts → routes.d.ts} +4 -0
- package/build/store/{models/routes.js → routes.js} +11 -1
- package/build/store/routes.js.map +1 -0
- package/build/store/storage.d.ts +6 -0
- package/build/store/storage.js +28 -4
- package/build/store/storage.js.map +1 -1
- package/build/store/utils.js +14 -0
- package/build/store/utils.js.map +1 -0
- package/build/test/i18n-config.js +12 -4
- package/build/test/i18n-config.js.map +1 -1
- package/build/test/test-react-testing-library.d.ts +19 -4
- package/build/test/test-react-testing-library.js +140 -28
- package/build/test/test-react-testing-library.js.map +1 -1
- package/build/types/external-modules.d.js +2 -0
- package/build/types/external-modules.d.js.map +1 -0
- package/build/types/index.d.ts +1 -1
- package/build/types/index.js +5 -1
- package/build/types/index.js.map +1 -1
- package/build/types/packageMeta.d.ts +1 -6
- package/build/types/packageMeta.js +5 -1
- package/build/types/packageMeta.js.map +1 -1
- package/build/utils/cli-utils.d.ts +1 -1
- package/build/utils/cli-utils.js +30 -18
- package/build/utils/cli-utils.js.map +1 -1
- package/build/utils/index.js +74 -8
- package/build/utils/index.js.map +1 -1
- package/build/utils/loadable.js +15 -7
- package/build/utils/loadable.js.map +1 -1
- package/build/utils/routes.d.ts +11 -3
- package/build/utils/routes.js +20 -4
- package/build/utils/routes.js.map +1 -1
- package/build/utils/schemas.d.ts +34 -0
- package/build/utils/schemas.js +30 -0
- package/build/utils/schemas.js.map +1 -0
- package/build/utils/token-generate.js +17 -6
- package/build/utils/token-generate.js.map +1 -1
- package/build/utils/token.js +23 -9
- package/build/utils/token.js.map +1 -1
- package/build/utils/url.js +20 -10
- package/build/utils/url.js.map +1 -1
- package/build/utils/utils.d.ts +2 -2
- package/build/utils/utils.js +48 -29
- package/build/utils/utils.js.map +1 -1
- package/package.json +28 -29
- package/build/AppTest/pages/Front/Home.d.ts +0 -2
- package/build/AppTest/pages/Front/Home.js +0 -3
- package/build/AppTest/pages/Front/Home.js.map +0 -1
- package/build/AppTest/pages/Front/index.js +0 -2
- package/build/AppTest/pages/Front/index.js.map +0 -1
- package/build/AppTest/pages/Security/AddUser.d.ts +0 -2
- package/build/AppTest/pages/Security/AddUser.js +0 -3
- package/build/AppTest/pages/Security/AddUser.js.map +0 -1
- package/build/AppTest/pages/Security/ChangePassword.d.ts +0 -2
- package/build/AppTest/pages/Security/ChangePassword.js +0 -3
- package/build/AppTest/pages/Security/ChangePassword.js.map +0 -1
- package/build/AppTest/pages/Security/Login.d.ts +0 -2
- package/build/AppTest/pages/Security/Login.js +0 -3
- package/build/AppTest/pages/Security/Login.js.map +0 -1
- package/build/AppTest/pages/Security/Success.d.ts +0 -2
- package/build/AppTest/pages/Security/Success.js +0 -3
- package/build/AppTest/pages/Security/Success.js.map +0 -1
- package/build/AppTest/pages/Security/index.js +0 -5
- package/build/AppTest/pages/Security/index.js.map +0 -1
- package/build/AppTest/pages/Version/Version.js +0 -27
- package/build/AppTest/pages/Version/Version.js.map +0 -1
- package/build/AppTest/pages/Version/index.js +0 -2
- package/build/AppTest/pages/Version/index.js.map +0 -1
- package/build/components/LoginDialog/LoginDialogHeader.d.ts +0 -6
- package/build/components/LoginDialog/LoginDialogHeader.js +0 -59
- package/build/components/LoginDialog/LoginDialogHeader.js.map +0 -1
- package/build/components/TextField/TextField.d.ts +0 -3
- package/build/components/TextField/TextField.js +0 -30
- package/build/components/TextField/TextField.js.map +0 -1
- package/build/components/TextField/index.d.ts +0 -1
- package/build/components/TextField/index.js +0 -2
- package/build/components/TextField/index.js.map +0 -1
- package/build/sections/Security/LoginError.d.ts +0 -7
- package/build/sections/Security/LoginError.js +0 -38
- package/build/sections/Security/LoginError.js.map +0 -1
- package/build/store/models/add-user.d.ts +0 -45
- package/build/store/models/add-user.js +0 -103
- package/build/store/models/add-user.js.map +0 -1
- package/build/store/models/change-password.d.ts +0 -44
- package/build/store/models/change-password.js +0 -118
- package/build/store/models/change-password.js.map +0 -1
- package/build/store/models/configuration.d.ts +0 -24
- package/build/store/models/configuration.js +0 -46
- package/build/store/models/configuration.js.map +0 -1
- package/build/store/models/download.d.ts +0 -16
- package/build/store/models/download.js +0 -38
- package/build/store/models/download.js.map +0 -1
- package/build/store/models/index.d.ts +0 -22
- package/build/store/models/index.js +0 -21
- package/build/store/models/index.js.map +0 -1
- package/build/store/models/login-v1.d.ts +0 -44
- package/build/store/models/login-v1.js +0 -111
- package/build/store/models/login-v1.js.map +0 -1
- package/build/store/models/login.d.ts +0 -69
- package/build/store/models/login.js +0 -102
- package/build/store/models/login.js.map +0 -1
- package/build/store/models/manifest.d.ts +0 -54
- package/build/store/models/manifest.js +0 -117
- package/build/store/models/manifest.js.map +0 -1
- package/build/store/models/packages.d.ts +0 -28
- package/build/store/models/packages.js +0 -47
- package/build/store/models/packages.js.map +0 -1
- package/build/store/models/routes.js.map +0 -1
- package/build/store/models/search.d.ts +0 -42
- package/build/store/models/search.js +0 -92
- package/build/store/models/search.js.map +0 -1
- package/build/store/models/utils.js +0 -7
- package/build/store/models/utils.js.map +0 -1
- package/build/store/store.d.ts +0 -9
- package/build/store/store.js +0 -8
- package/build/store/store.js.map +0 -1
- /package/build/{AppTest/pages → pages}/Front/index.d.ts +0 -0
- /package/build/{AppTest/pages → pages}/Security/index.d.ts +0 -0
- /package/build/{AppTest/pages → pages}/Version/Version.d.ts +0 -0
- /package/build/{AppTest/pages → pages}/Version/index.d.ts +0 -0
- /package/build/store/{models/utils.d.ts → utils.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engines.js","names":["
|
|
1
|
+
{"version":3,"file":"Engines.js","names":["_material","require","_Avatar","_interopRequireDefault","_Grid","_List","_react","_reactI18next","_Icons","_styles","e","__esModule","EngineItem","_ref","title","element","engineText","createElement","size","xs","subheader","StyledText","variant","EngineListItem","sx","backgroundColor","marginLeft","padding","Typography","margin","Engine","_ref2","_packageMeta$latest","packageMeta","_useTranslation","useTranslation","t","engines","latest","container","node","NodeJS","npm","Npm","yarn","Yarn","pnpm","Pnpm","_default","exports"],"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":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAF,sBAAA,CAAAF,OAAA;AAEA,IAAAK,MAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAGA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAAsD,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CA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AEX,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEanB,MAAM","ignoreList":[]}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
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 }; }
|
|
2
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Engines","_interopRequireDefault","require","e","__esModule"],"sources":["../../../src/components/Engines/index.ts"],"sourcesContent":["export { default } from './Engines';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA","ignoreList":[]}
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StyledText = exports.EngineListItem = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
|
|
9
|
+
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
2
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)."; }
|
|
3
|
-
|
|
4
|
-
import Typography from '@mui/material/Typography';
|
|
5
|
-
export var StyledText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
|
|
12
|
+
var StyledText = exports.StyledText = /*#__PURE__*/(0, _base["default"])(_Typography["default"], process.env.NODE_ENV === "production" ? {
|
|
6
13
|
target: "exjcs7c1"
|
|
7
14
|
} : {
|
|
8
15
|
target: "exjcs7c1",
|
|
9
16
|
label: "StyledText"
|
|
10
|
-
})(props
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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" ? {
|
|
15
24
|
target: "exjcs7c0"
|
|
16
25
|
} : {
|
|
17
26
|
target: "exjcs7c0",
|
|
@@ -21,7 +30,7 @@ export var EngineListItem = /*#__PURE__*/_styled(ListItem, process.env.NODE_ENV
|
|
|
21
30
|
styles: "padding:0"
|
|
22
31
|
} : {
|
|
23
32
|
name: "1hcx8jb",
|
|
24
|
-
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
33
|
+
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVc4QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBMaXN0SXRlbSBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3RJdGVtJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5cbmltcG9ydCB0eXBlIHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGZvbnRXZWlnaHQ6IHByb3BzLnRoZW1lLmZvbnRXZWlnaHQuYm9sZCxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxufSkpO1xuXG5leHBvcnQgY29uc3QgRW5naW5lTGlzdEl0ZW0gPSBzdHlsZWQoTGlzdEl0ZW0pKHtcbiAgcGFkZGluZzogMCxcbn0pO1xuIl19 */",
|
|
25
34
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26
35
|
});
|
|
27
36
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["
|
|
1
|
+
{"version":3,"file":"styles.js","names":["_ListItem","_interopRequireDefault","require","_Typography","e","__esModule","_EMOTION_STRINGIFIED_CSS_ERROR__","StyledText","exports","_base","Typography","process","env","NODE_ENV","target","label","props","fontWeight","theme","bold","textTransform","EngineListItem","ListItem","name","styles","toString"],"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":";;;;;;;AACA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAkD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,iCAAA;AAI3C,IAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,gBAAG,IAAAE,KAAA,aAAOC,sBAAU,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAoB,UAACC,KAAK;EAAA,OAAM;IAC1EC,UAAU,EAAED,KAAK,CAACE,KAAK,CAACD,UAAU,CAACE,IAAI;IACvCC,aAAa,EAAE;EACjB,CAAC;AAAA,CAAC,EAAAT,OAAA,CAAAC,GAAA,CAAAC,QAAA,m3BAAC;AAEI,IAAMQ,cAAc,GAAAb,OAAA,CAAAa,cAAA,gBAAG,IAAAZ,KAAA,aAAOa,oBAAQ,EAAAX,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAU,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAnB;AAAA,CAE7C,CAAC","ignoreList":[]}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { ErrorInfo, ReactNode } from 'react';
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
interface ErrorBoundaryProps {
|
|
4
|
+
children: ReactNode;
|
|
4
5
|
}
|
|
5
|
-
|
|
6
|
+
interface ErrorBoundaryState {
|
|
6
7
|
hasError: boolean;
|
|
7
8
|
error: Error | null;
|
|
8
|
-
info: object | null;
|
|
9
9
|
}
|
|
10
|
-
export default class ErrorBoundary extends Component<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
export default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
11
|
+
state: ErrorBoundaryState;
|
|
12
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
13
|
+
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
14
|
+
render(): string | number | boolean | Iterable<ReactNode> | React.JSX.Element | null | undefined;
|
|
14
15
|
}
|
|
16
|
+
export {};
|
|
@@ -1,33 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
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", {
|
|
6
32
|
hasError: false,
|
|
7
|
-
error: null
|
|
8
|
-
info: null
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
componentDidCatch(error, info) {
|
|
12
|
-
this.setState({
|
|
13
|
-
hasError: true,
|
|
14
|
-
error,
|
|
15
|
-
info
|
|
33
|
+
error: null
|
|
16
34
|
});
|
|
35
|
+
return _this;
|
|
17
36
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var {
|
|
25
|
-
children
|
|
26
|
-
} = this.props;
|
|
27
|
-
if (hasError) {
|
|
28
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h1", null, 'Something went wrong.'), /*#__PURE__*/React.createElement("p", null, "error: ".concat(error)), /*#__PURE__*/React.createElement("p", null, "info: ".concat(JSON.stringify(info))));
|
|
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);
|
|
29
43
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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);
|
|
33
68
|
//# sourceMappingURL=ErrorBoundary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","names":["
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.js","names":["_react","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Symbol","iterator","constructor","prototype","_classCallCheck","a","TypeError","_defineProperties","length","enumerable","configurable","writable","_toPropertyKey","key","_createClass","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","setPrototypeOf","getPrototypeOf","bind","_inherits","create","value","_setPrototypeOf","_defineProperty","_toPrimitive","toPrimitive","String","Number","ErrorBoundary","exports","_Component","_this","_len","arguments","args","Array","_key","concat","hasError","error","componentDidCatch","info","console","render","_this$state","state","children","props","createElement","role","message","getDerivedStateFromError","Component"],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAyC,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,wBAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,mBAAAT,CAAA,iBAAAA,CAAA,gBAAAU,OAAA,CAAAV,CAAA,0BAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,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GAAA;IAAAkB,KAAA,EA1BD,SAAO8B,wBAAwBA,CAACZ,KAAY,EAAsB;MAChE,OAAO;QACLD,QAAQ,EAAE,IAAI;QACdC,KAAK,EAALA;MACF,CAAC;IACH;EAAC;AAAA,EAXwCa,gBAAS","ignoreList":[]}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
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 }; }
|
|
2
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_ErrorBoundary","_interopRequireDefault","require","e","__esModule"],"sources":["../../../src/components/ErrorBoundary/index.ts"],"sourcesContent":["export { default } from './ErrorBoundary';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA","ignoreList":[]}
|
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
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)."; }
|
|
3
|
-
/* eslint-disable react/forbid-component-props */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable verdaccio/jsx-no-style */
|
|
1
|
+
"use strict";
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
display: "flex",
|
|
26
|
-
flexDirection: "column",
|
|
27
|
-
flexGrow: 1,
|
|
28
|
-
justifyContent: "center",
|
|
29
|
-
p: 2
|
|
30
|
-
}, /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement(LockIcon, {
|
|
31
|
-
color: "primary",
|
|
32
|
-
style: {
|
|
33
|
-
fontSize: 236
|
|
34
|
-
}
|
|
35
|
-
})), /*#__PURE__*/React.createElement(StyledHeading, {
|
|
36
|
-
className: "not-found-text",
|
|
37
|
-
variant: "h4"
|
|
38
|
-
}, t('error.401.sorry-no-access')), /*#__PURE__*/React.createElement(Button, {
|
|
39
|
-
"data-testid": "not-found-go-to-home-button",
|
|
40
|
-
onClick: handleGoHome,
|
|
41
|
-
variant: "contained"
|
|
42
|
-
}, t('button.go-to-the-home-page')));
|
|
43
|
-
};
|
|
44
|
-
export default Foebidden;
|
|
45
|
-
var Container = /*#__PURE__*/_styled('div', process.env.NODE_ENV === "production" ? {
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = exports.Forbidden = void 0;
|
|
8
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
+
var _Lock = _interopRequireDefault(require("@mui/icons-material/Lock"));
|
|
10
|
+
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
11
|
+
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
12
|
+
var _colors = require("@mui/material/colors");
|
|
13
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
14
|
+
var _reactI18next = require("react-i18next");
|
|
15
|
+
var _reactRouter = require("react-router");
|
|
16
|
+
var _Heading = _interopRequireDefault(require("../Heading"));
|
|
17
|
+
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); }
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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" ? {
|
|
46
21
|
target: "e1p1nuky1"
|
|
47
22
|
} : {
|
|
48
23
|
target: "e1p1nuky1",
|
|
@@ -52,21 +27,49 @@ var Container = /*#__PURE__*/_styled('div', process.env.NODE_ENV === "production
|
|
|
52
27
|
styles: "margin:0 auto"
|
|
53
28
|
} : {
|
|
54
29
|
name: "9th5i",
|
|
55
|
-
styles: "margin:0 auto/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
30
|
+
styles: "margin:0 auto/*# sourceMappingURL=data:application/json;char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cIj5cbiAgICAgICAge3QoJ2J1dHRvbi5nby10by10aGUtaG9tZS1wYWdlJyl9XG4gICAgICA8L0J1dHRvbj5cbiAgICA8L0JveD5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEZvcmJpZGRlbjtcbmV4cG9ydCB7IEZvcmJpZGRlbiB9O1xuIl19 */",
|
|
56
31
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
57
32
|
});
|
|
58
|
-
var StyledHeading = /*#__PURE__*/
|
|
33
|
+
var StyledHeading = /*#__PURE__*/(0, _base["default"])(_Heading["default"], process.env.NODE_ENV === "production" ? {
|
|
59
34
|
target: "e1p1nuky0"
|
|
60
35
|
} : {
|
|
61
36
|
target: "e1p1nuky0",
|
|
62
37
|
label: "StyledHeading"
|
|
63
|
-
})(_ref
|
|
64
|
-
var
|
|
65
|
-
theme
|
|
66
|
-
} = _ref;
|
|
38
|
+
})(function (_ref) {
|
|
39
|
+
var theme = _ref.theme;
|
|
67
40
|
return {
|
|
68
|
-
color: theme.palette.mode === 'light' ? theme.palette.primary.main :
|
|
41
|
+
color: theme.palette.mode === 'light' ? theme.palette.primary.main : _colors.common.white,
|
|
69
42
|
marginBottom: 16
|
|
70
43
|
};
|
|
71
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
44
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ZvcmJpZGRlbi9Gb3JiaWRkZW4udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCc0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvRm9yYmlkZGVuL0ZvcmJpZGRlbi50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20g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Hb0hvbWUgPSB1c2VDYWxsYmFjaygoKSA9PiB7XG4gICAgbmF2aWdhdGUoJy8nKTtcbiAgfSwgW25hdmlnYXRlXSk7XG5cbiAgcmV0dXJuIChcbiAgICA8Qm94XG4gICAgICBhbGlnbkl0ZW1zPVwiY2VudGVyXCJcbiAgICAgIGRhdGEtdGVzdGlkPVwiNDA0XCJcbiAgICAgIGRpc3BsYXk9XCJmbGV4XCJcbiAgICAgIGZsZXhEaXJlY3Rpb249XCJjb2x1bW5cIlxuICAgICAgZmxleEdyb3c9ezF9XG4gICAgICBqdXN0aWZ5Q29udGVudD1cImNlbnRlclwiXG4gICAgICBwPXsyfVxuICAgID5cbiAgICAgIDxDb250YWluZXI+XG4gICAgICAgIDxMb2NrSWNvbiBjb2xvcj1cInByaW1hcnlcIiBzdHlsZT17eyBmb250U2l6ZTogMjM2IH19IC8+XG4gICAgICA8L0NvbnRhaW5lcj5cbiAgICAgIDxTdHlsZWRIZWFkaW5nIGNsYXNzTmFtZT1cIm5vdC1mb3VuZC10ZXh0XCIgdmFyaWFudD1cImg0XCI+XG4gICAgICAgIHt0KCdlcnJvci40MDEuc29ycnktbm8tYWNjZXNzJyl9XG4gICAgICA8L1N0eWxlZEhlYWRpbmc+XG4gICAgICA8QnV0dG9uIGRhdGEtdGVzdGlkPVwibm90LWZvdW5kLWdvLXRvLWhvbWUtYnV0dG9uXCIgb25DbGljaz17aGFuZGxlR29Ib21lfSB2YXJpYW50PVwiY29udGFpbmVkXCI+XG4gICAgICAgIHt0KCdidXR0b24uZ28tdG8tdGhlLWhvbWUtcGFnZScpfVxuICAgICAgPC9CdXR0b24+XG4gICAgPC9Cb3g+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBGb3JiaWRkZW47XG5leHBvcnQgeyBGb3JiaWRkZW4gfTtcbiJdfQ== */");
|
|
45
|
+
var Forbidden = exports.Forbidden = function Forbidden() {
|
|
46
|
+
var navigate = (0, _reactRouter.useNavigate)();
|
|
47
|
+
var _useTranslation = (0, _reactI18next.useTranslation)(),
|
|
48
|
+
t = _useTranslation.t;
|
|
49
|
+
var handleGoHome = (0, _react.useCallback)(function () {
|
|
50
|
+
navigate('/');
|
|
51
|
+
}, [navigate]);
|
|
52
|
+
return /*#__PURE__*/_react["default"].createElement(_Box["default"], {
|
|
53
|
+
alignItems: "center",
|
|
54
|
+
"data-testid": "404",
|
|
55
|
+
display: "flex",
|
|
56
|
+
flexDirection: "column",
|
|
57
|
+
flexGrow: 1,
|
|
58
|
+
justifyContent: "center",
|
|
59
|
+
p: 2
|
|
60
|
+
}, /*#__PURE__*/_react["default"].createElement(Container, null, /*#__PURE__*/_react["default"].createElement(_Lock["default"], {
|
|
61
|
+
color: "primary",
|
|
62
|
+
style: {
|
|
63
|
+
fontSize: 236
|
|
64
|
+
}
|
|
65
|
+
})), /*#__PURE__*/_react["default"].createElement(StyledHeading, {
|
|
66
|
+
className: "not-found-text",
|
|
67
|
+
variant: "h4"
|
|
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')));
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = Forbidden;
|
|
72
75
|
//# sourceMappingURL=Forbidden.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Forbidden.js","names":["
|
|
1
|
+
{"version":3,"file":"Forbidden.js","names":["_Lock","_interopRequireDefault","require","_Box","_Button","_colors","_react","_interopRequireWildcard","_reactI18next","_reactRouter","_Heading","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_EMOTION_STRINGIFIED_CSS_ERROR__","Container","_base","process","env","NODE_ENV","target","label","name","styles","toString","StyledHeading","Heading","_ref","theme","color","palette","mode","primary","main","common","white","marginBottom","Forbidden","exports","navigate","useNavigate","_useTranslation","useTranslation","handleGoHome","useCallback","createElement","alignItems","display","flexDirection","flexGrow","justifyContent","p","style","fontSize","className","variant","onClick","_default"],"sources":["../../../src/components/Forbidden/Forbidden.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport LockIcon from '@mui/icons-material/Lock';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../..';\nimport Heading from '../Heading';\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n\nconst Forbidden: React.FC = () => {\n const navigate = useNavigate();\n\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"404\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <LockIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"not-found-text\" variant=\"h4\">\n {t('error.401.sorry-no-access')}\n </StyledHeading>\n <Button data-testid=\"not-found-go-to-home-button\" onClick={handleGoHome} variant=\"contained\">\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default Forbidden;\nexport { Forbidden };\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,IAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AACA,IA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Ac,EAAC,QAAQ;IACvBC,CAAC,EAAE;EAAE,gBAEL9D,MAAA,YAAAwD,aAAA,CAAC9B,SAAS,qBACR1B,MAAA,YAAAwD,aAAA,CAAC9D,KAAA,WAAQ;IAAC8C,KAAK,EAAC,SAAS;IAACuB,KAAK,EAAE;MAAEC,QAAQ,EAAE;IAAI;EAAE,CAAE,CAC5C,CAAC,eACZhE,MAAA,YAAAwD,aAAA,CAACpB,aAAa;IAAC6B,SAAS,EAAC,gBAAgB;IAACC,OAAO,EAAC;EAAI,GACnD5D,CAAC,CAAC,2BAA2B,CACjB,CAAC,eAChBN,MAAA,YAAAwD,aAAA,CAAC1D,OAAA,WAAM;IAAC,eAAY,6BAA6B;IAACqE,OAAO,EAAEb,YAAa;IAACY,OAAO,EAAC;EAAW,GACzF5D,CAAC,CAAC,4BAA4B,CACzB,CACL,CAAC;AAEV,CAAC;AAAC,IAAA8D,QAAA,GAAAnB,OAAA,cAEaD,SAAS","ignoreList":[]}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Forbidden["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Forbidden = _interopRequireDefault(require("./Forbidden"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
2
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Forbidden","_interopRequireDefault","require","e","__esModule"],"sources":["../../../src/components/Forbidden/index.ts"],"sourcesContent":["export { default } from './Forbidden';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAsC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA","ignoreList":[]}
|