@verdaccio/ui-components 5.0.0-next-9.2 → 5.0.0-next-9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Theme/ResetStyles.js +29 -25
- package/build/Theme/ResetStyles.js.map +1 -1
- package/build/Theme/ResetStyles.mjs +32 -0
- package/build/Theme/ResetStyles.mjs.map +1 -0
- package/build/Theme/StyleBaseline.js +10 -7
- package/build/Theme/StyleBaseline.js.map +1 -1
- package/build/Theme/StyleBaseline.mjs +11 -0
- package/build/Theme/StyleBaseline.mjs.map +1 -0
- package/build/Theme/ThemeProvider.js +33 -23
- package/build/Theme/ThemeProvider.js.map +1 -1
- package/build/Theme/ThemeProvider.mjs +40 -0
- package/build/Theme/ThemeProvider.mjs.map +1 -0
- package/build/Theme/colors.js +26 -12
- package/build/Theme/colors.js.map +1 -1
- package/build/Theme/colors.mjs +22 -0
- package/build/Theme/colors.mjs.map +1 -0
- package/build/Theme/index.js +5 -5
- package/build/Theme/index.mjs +5 -0
- package/build/Theme/modes.js +15 -12
- package/build/Theme/modes.js.map +1 -1
- package/build/Theme/modes.mjs +30 -0
- package/build/Theme/modes.mjs.map +1 -0
- package/build/Theme/theme.js +19 -16
- package/build/Theme/theme.js.map +1 -1
- package/build/Theme/theme.mjs +22 -0
- package/build/Theme/theme.mjs.map +1 -0
- package/build/Theme/tokens.js +14 -8
- package/build/Theme/tokens.js.map +1 -1
- package/build/Theme/tokens.mjs +33 -0
- package/build/Theme/tokens.mjs.map +1 -0
- package/build/_virtual/_rolldown/runtime.js +29 -7
- package/build/_virtual/_rolldown/runtime.mjs +13 -0
- package/build/api/use-data-mutation.js +31 -24
- package/build/api/use-data-mutation.js.map +1 -1
- package/build/api/use-data-mutation.mjs +45 -0
- package/build/api/use-data-mutation.mjs.map +1 -0
- package/build/api/use-data.js +17 -12
- package/build/api/use-data.js.map +1 -1
- package/build/api/use-data.mjs +23 -0
- package/build/api/use-data.mjs.map +1 -0
- package/build/components/ActionBar/ActionBar.js +37 -28
- package/build/components/ActionBar/ActionBar.js.map +1 -1
- package/build/components/ActionBar/ActionBar.mjs +52 -0
- package/build/components/ActionBar/ActionBar.mjs.map +1 -0
- package/build/components/ActionBar/ActionBarAction.js +66 -52
- package/build/components/ActionBar/ActionBarAction.js.map +1 -1
- package/build/components/ActionBar/ActionBarAction.mjs +85 -0
- package/build/components/ActionBar/ActionBarAction.mjs.map +1 -0
- package/build/components/ActionBar/index.js +1 -1
- package/build/components/ActionBar/index.mjs +1 -0
- package/build/components/AppRoute/AppRoute.js +58 -47
- package/build/components/AppRoute/AppRoute.js.map +1 -1
- package/build/components/AppRoute/AppRoute.mjs +76 -0
- package/build/components/AppRoute/AppRoute.mjs.map +1 -0
- package/build/components/Author/Author.js +26 -22
- package/build/components/Author/Author.js.map +1 -1
- package/build/components/Author/Author.mjs +33 -0
- package/build/components/Author/Author.mjs.map +1 -0
- package/build/components/Author/index.js +1 -1
- package/build/components/Author/index.mjs +1 -0
- package/build/components/Author/styles.js +13 -8
- package/build/components/Author/styles.js.map +1 -1
- package/build/components/Author/styles.mjs +26 -0
- package/build/components/Author/styles.mjs.map +1 -0
- package/build/components/CopyClipboard/CopyToClipBoard.js +35 -28
- package/build/components/CopyClipboard/CopyToClipBoard.js.map +1 -1
- package/build/components/CopyClipboard/CopyToClipBoard.mjs +57 -0
- package/build/components/CopyClipboard/CopyToClipBoard.mjs.map +1 -0
- package/build/components/CopyClipboard/index.js +2 -2
- package/build/components/CopyClipboard/index.mjs +2 -0
- package/build/components/CopyClipboard/utils.js +4 -3
- package/build/components/CopyClipboard/utils.js.map +1 -1
- package/build/components/CopyClipboard/utils.mjs +9 -0
- package/build/components/CopyClipboard/utils.mjs.map +1 -0
- package/build/components/Dependencies/Dependencies.js +38 -26
- package/build/components/Dependencies/Dependencies.js.map +1 -1
- package/build/components/Dependencies/Dependencies.mjs +45 -0
- package/build/components/Dependencies/Dependencies.mjs.map +1 -0
- package/build/components/Dependencies/DependencyBlock.js +50 -38
- package/build/components/Dependencies/DependencyBlock.js.map +1 -1
- package/build/components/Dependencies/DependencyBlock.mjs +70 -0
- package/build/components/Dependencies/DependencyBlock.mjs.map +1 -0
- package/build/components/Dependencies/index.js +2 -2
- package/build/components/Dependencies/index.mjs +2 -0
- package/build/components/Dependencies/utits.js +3 -3
- package/build/components/Dependencies/utits.js.map +1 -1
- package/build/components/Dependencies/utits.mjs +8 -0
- package/build/components/Dependencies/utits.mjs.map +1 -0
- package/build/components/Deprecated/Deprecated.js +17 -12
- package/build/components/Deprecated/Deprecated.js.map +1 -1
- package/build/components/Deprecated/Deprecated.mjs +18 -0
- package/build/components/Deprecated/Deprecated.mjs.map +1 -0
- package/build/components/Deprecated/index.js +1 -1
- package/build/components/Deprecated/index.mjs +1 -0
- package/build/components/Developers/DeveloperType.js +5 -3
- package/build/components/Developers/DeveloperType.js.map +1 -1
- package/build/components/Developers/DeveloperType.mjs +10 -0
- package/build/components/Developers/DeveloperType.mjs.map +1 -0
- package/build/components/Developers/Developers.js +50 -37
- package/build/components/Developers/Developers.js.map +1 -1
- package/build/components/Developers/Developers.mjs +68 -0
- package/build/components/Developers/Developers.mjs.map +1 -0
- package/build/components/Developers/Title.js +23 -18
- package/build/components/Developers/Title.js.map +1 -1
- package/build/components/Developers/Title.mjs +32 -0
- package/build/components/Developers/Title.mjs.map +1 -0
- package/build/components/Developers/get-unique-developer-values.js +4 -3
- package/build/components/Developers/get-unique-developer-values.js.map +1 -1
- package/build/components/Developers/get-unique-developer-values.mjs +9 -0
- package/build/components/Developers/get-unique-developer-values.mjs.map +1 -0
- package/build/components/Developers/index.js +2 -2
- package/build/components/Developers/index.mjs +2 -0
- package/build/components/Distribution/Dist.js +32 -27
- package/build/components/Distribution/Dist.js.map +1 -1
- package/build/components/Distribution/Dist.mjs +42 -0
- package/build/components/Distribution/Dist.mjs.map +1 -0
- package/build/components/Distribution/index.js +1 -1
- package/build/components/Distribution/index.mjs +1 -0
- package/build/components/Distribution/styles.js +22 -13
- package/build/components/Distribution/styles.js.map +1 -1
- package/build/components/Distribution/styles.mjs +41 -0
- package/build/components/Distribution/styles.mjs.map +1 -0
- package/build/components/Engines/Engines.js +61 -43
- package/build/components/Engines/Engines.js.map +1 -1
- package/build/components/Engines/Engines.mjs +82 -0
- package/build/components/Engines/Engines.mjs.map +1 -0
- package/build/components/Engines/index.js +1 -1
- package/build/components/Engines/index.mjs +1 -0
- package/build/components/Engines/styles.js +16 -10
- package/build/components/Engines/styles.js.map +1 -1
- package/build/components/Engines/styles.mjs +29 -0
- package/build/components/Engines/styles.mjs.map +1 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js +18 -14
- package/build/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.mjs +31 -0
- package/build/components/ErrorBoundary/ErrorBoundary.mjs.map +1 -0
- package/build/components/ErrorBoundary/index.js +1 -1
- package/build/components/ErrorBoundary/index.mjs +1 -0
- package/build/components/Forbidden/Forbidden.js +37 -27
- package/build/components/Forbidden/Forbidden.js.map +1 -1
- package/build/components/Forbidden/Forbidden.mjs +70 -0
- package/build/components/Forbidden/Forbidden.mjs.map +1 -0
- package/build/components/Forbidden/index.js +1 -1
- package/build/components/Forbidden/index.mjs +1 -0
- package/build/components/FundButton/FundButton.js +38 -29
- package/build/components/FundButton/FundButton.js.map +1 -1
- package/build/components/FundButton/FundButton.mjs +60 -0
- package/build/components/FundButton/FundButton.mjs.map +1 -0
- package/build/components/FundButton/index.js +1 -1
- package/build/components/FundButton/index.mjs +1 -0
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +52 -42
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.mjs +71 -0
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.mjs.map +1 -0
- package/build/components/HeaderInfoDialog/index.js +1 -1
- package/build/components/HeaderInfoDialog/index.mjs +1 -0
- package/build/components/Heading/Heading.js +12 -9
- package/build/components/Heading/Heading.js.map +1 -1
- package/build/components/Heading/Heading.mjs +15 -0
- package/build/components/Heading/Heading.mjs.map +1 -0
- package/build/components/Heading/index.js +1 -1
- package/build/components/Heading/index.mjs +1 -0
- package/build/components/Help/Help.js +42 -34
- package/build/components/Help/Help.js.map +1 -1
- package/build/components/Help/Help.mjs +60 -0
- package/build/components/Help/Help.mjs.map +1 -0
- package/build/components/Help/index.js +1 -1
- package/build/components/Help/index.mjs +1 -0
- package/build/components/Help/styles.js +9 -6
- package/build/components/Help/styles.js.map +1 -1
- package/build/components/Help/styles.mjs +21 -0
- package/build/components/Help/styles.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/CommonJS2.js +9 -7
- package/build/components/Icons/DevsIcons/CommonJS2.js.map +1 -1
- package/build/components/Icons/DevsIcons/CommonJS2.mjs +16 -0
- package/build/components/Icons/DevsIcons/CommonJS2.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/ES6Module2.js +9 -7
- package/build/components/Icons/DevsIcons/ES6Module2.js.map +1 -1
- package/build/components/Icons/DevsIcons/ES6Module2.mjs +16 -0
- package/build/components/Icons/DevsIcons/ES6Module2.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/Git2.js +9 -7
- package/build/components/Icons/DevsIcons/Git2.js.map +1 -1
- package/build/components/Icons/DevsIcons/Git2.mjs +16 -0
- package/build/components/Icons/DevsIcons/Git2.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/NodeJS2.js +9 -7
- package/build/components/Icons/DevsIcons/NodeJS2.js.map +1 -1
- package/build/components/Icons/DevsIcons/NodeJS2.mjs +16 -0
- package/build/components/Icons/DevsIcons/NodeJS2.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/TypeScript2.js +9 -7
- package/build/components/Icons/DevsIcons/TypeScript2.js.map +1 -1
- package/build/components/Icons/DevsIcons/TypeScript2.mjs +16 -0
- package/build/components/Icons/DevsIcons/TypeScript2.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/commonjs.js +2 -2
- package/build/components/Icons/DevsIcons/commonjs.js.map +1 -1
- package/build/components/Icons/DevsIcons/commonjs.mjs +6 -0
- package/build/components/Icons/DevsIcons/commonjs.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/es6module.js +2 -2
- package/build/components/Icons/DevsIcons/es6module.js.map +1 -1
- package/build/components/Icons/DevsIcons/es6module.mjs +6 -0
- package/build/components/Icons/DevsIcons/es6module.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/git.js +2 -2
- package/build/components/Icons/DevsIcons/git.js.map +1 -1
- package/build/components/Icons/DevsIcons/git.mjs +6 -0
- package/build/components/Icons/DevsIcons/git.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/index.js +5 -5
- package/build/components/Icons/DevsIcons/index.mjs +5 -0
- package/build/components/Icons/DevsIcons/nodejs.js +2 -2
- package/build/components/Icons/DevsIcons/nodejs.js.map +1 -1
- package/build/components/Icons/DevsIcons/nodejs.mjs +6 -0
- package/build/components/Icons/DevsIcons/nodejs.mjs.map +1 -0
- package/build/components/Icons/DevsIcons/typescript.js +2 -2
- package/build/components/Icons/DevsIcons/typescript.js.map +1 -1
- package/build/components/Icons/DevsIcons/typescript.mjs +6 -0
- package/build/components/Icons/DevsIcons/typescript.mjs.map +1 -0
- package/build/components/Icons/Earth.js +19 -17
- package/build/components/Icons/Earth.js.map +1 -1
- package/build/components/Icons/Earth.mjs +41 -0
- package/build/components/Icons/Earth.mjs.map +1 -0
- package/build/components/Icons/FileBinary.js +12 -10
- package/build/components/Icons/FileBinary.js.map +1 -1
- package/build/components/Icons/FileBinary.mjs +17 -0
- package/build/components/Icons/FileBinary.mjs.map +1 -0
- package/build/components/Icons/Law.js +12 -10
- package/build/components/Icons/Law.js.map +1 -1
- package/build/components/Icons/Law.mjs +20 -0
- package/build/components/Icons/Law.mjs.map +1 -0
- package/build/components/Icons/License.js +12 -10
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/License.mjs +17 -0
- package/build/components/Icons/License.mjs.map +1 -0
- package/build/components/Icons/Managers/Npm2.js +9 -7
- package/build/components/Icons/Managers/Npm2.js.map +1 -1
- package/build/components/Icons/Managers/Npm2.mjs +16 -0
- package/build/components/Icons/Managers/Npm2.mjs.map +1 -0
- package/build/components/Icons/Managers/Pnpm2.js +9 -7
- package/build/components/Icons/Managers/Pnpm2.js.map +1 -1
- package/build/components/Icons/Managers/Pnpm2.mjs +16 -0
- package/build/components/Icons/Managers/Pnpm2.mjs.map +1 -0
- package/build/components/Icons/Managers/Yarn2.js +9 -7
- package/build/components/Icons/Managers/Yarn2.js.map +1 -1
- package/build/components/Icons/Managers/Yarn2.mjs +16 -0
- package/build/components/Icons/Managers/Yarn2.mjs.map +1 -0
- package/build/components/Icons/Managers/index.js +3 -3
- package/build/components/Icons/Managers/index.mjs +3 -0
- package/build/components/Icons/Managers/npm.js +2 -2
- package/build/components/Icons/Managers/npm.js.map +1 -1
- package/build/components/Icons/Managers/npm.mjs +6 -0
- package/build/components/Icons/Managers/npm.mjs.map +1 -0
- package/build/components/Icons/Managers/pnpm.js +2 -2
- package/build/components/Icons/Managers/pnpm.js.map +1 -1
- package/build/components/Icons/Managers/pnpm.mjs +6 -0
- package/build/components/Icons/Managers/pnpm.mjs.map +1 -0
- package/build/components/Icons/Managers/yarn.js +2 -2
- package/build/components/Icons/Managers/yarn.js.map +1 -1
- package/build/components/Icons/Managers/yarn.mjs +6 -0
- package/build/components/Icons/Managers/yarn.mjs.map +1 -0
- package/build/components/Icons/SvgIcon.js +28 -19
- package/build/components/Icons/SvgIcon.js.map +1 -1
- package/build/components/Icons/SvgIcon.mjs +31 -0
- package/build/components/Icons/SvgIcon.mjs.map +1 -0
- package/build/components/Icons/Time.js +14 -12
- package/build/components/Icons/Time.js.map +1 -1
- package/build/components/Icons/Time.mjs +24 -0
- package/build/components/Icons/Time.mjs.map +1 -0
- package/build/components/Icons/Version.js +12 -10
- package/build/components/Icons/Version.js.map +1 -1
- package/build/components/Icons/Version.mjs +22 -0
- package/build/components/Icons/Version.mjs.map +1 -0
- package/build/components/Icons/index.js +38 -33
- package/build/components/Icons/index.mjs +38 -0
- package/build/components/Icons/index.mjs.map +1 -0
- package/build/components/Install/Install.js +44 -36
- package/build/components/Install/Install.js.map +1 -1
- package/build/components/Install/Install.mjs +66 -0
- package/build/components/Install/Install.mjs.map +1 -0
- package/build/components/Install/InstallListItem.js +66 -51
- package/build/components/Install/InstallListItem.js.map +1 -1
- package/build/components/Install/InstallListItem.mjs +109 -0
- package/build/components/Install/InstallListItem.mjs.map +1 -0
- package/build/components/Install/index.js +1 -1
- package/build/components/Install/index.mjs +1 -0
- package/build/components/Keywords/KeywordListItems.js +17 -12
- package/build/components/Keywords/KeywordListItems.js.map +1 -1
- package/build/components/Keywords/KeywordListItems.mjs +28 -0
- package/build/components/Keywords/KeywordListItems.mjs.map +1 -0
- package/build/components/Keywords/Keywords.js +22 -16
- package/build/components/Keywords/Keywords.js.map +1 -1
- package/build/components/Keywords/Keywords.mjs +29 -0
- package/build/components/Keywords/Keywords.mjs.map +1 -0
- package/build/components/Keywords/index.js +1 -1
- package/build/components/Keywords/index.mjs +1 -0
- package/build/components/Label/Label.js +20 -14
- package/build/components/Label/Label.js.map +1 -1
- package/build/components/Label/Label.mjs +23 -0
- package/build/components/Label/Label.mjs.map +1 -0
- package/build/components/Label/index.js +1 -1
- package/build/components/Label/index.mjs +1 -0
- package/build/components/Link/Link.js +23 -18
- package/build/components/Link/Link.js.map +1 -1
- package/build/components/Link/Link.mjs +37 -0
- package/build/components/Link/Link.mjs.map +1 -0
- package/build/components/Link/index.js +1 -1
- package/build/components/Link/index.mjs +1 -0
- package/build/components/LinkExternal/LinkExternal.js +15 -12
- package/build/components/LinkExternal/LinkExternal.js.map +1 -1
- package/build/components/LinkExternal/LinkExternal.mjs +21 -0
- package/build/components/LinkExternal/LinkExternal.mjs.map +1 -0
- package/build/components/LinkExternal/index.js +1 -1
- package/build/components/LinkExternal/index.mjs +1 -0
- package/build/components/Loading/Loading.js +12 -10
- package/build/components/Loading/Loading.js.map +1 -1
- package/build/components/Loading/Loading.mjs +16 -0
- package/build/components/Loading/Loading.mjs.map +1 -0
- package/build/components/Loading/Spinner/Spinner.js +20 -14
- package/build/components/Loading/Spinner/Spinner.js.map +1 -1
- package/build/components/Loading/Spinner/Spinner.mjs +32 -0
- package/build/components/Loading/Spinner/Spinner.mjs.map +1 -0
- package/build/components/Loading/Spinner/index.js +1 -1
- package/build/components/Loading/Spinner/index.mjs +1 -0
- package/build/components/Loading/index.js +1 -1
- package/build/components/Loading/index.mjs +1 -0
- package/build/components/Loading/styles.js +12 -8
- package/build/components/Loading/styles.js.map +1 -1
- package/build/components/Loading/styles.mjs +30 -0
- package/build/components/Loading/styles.mjs.map +1 -0
- package/build/components/LoginDialog/LoginDialog.js +25 -20
- package/build/components/LoginDialog/LoginDialog.js.map +1 -1
- package/build/components/LoginDialog/LoginDialog.mjs +31 -0
- package/build/components/LoginDialog/LoginDialog.mjs.map +1 -0
- package/build/components/LoginDialog/LoginDialogCloseButton.js +25 -18
- package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogCloseButton.mjs +30 -0
- package/build/components/LoginDialog/LoginDialogCloseButton.mjs.map +1 -0
- package/build/components/LoginDialog/LoginDialogForm.js +15 -13
- package/build/components/LoginDialog/LoginDialogForm.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogForm.mjs +19 -0
- package/build/components/LoginDialog/LoginDialogForm.mjs.map +1 -0
- package/build/components/LoginDialog/LoginDialogFormError.js +32 -22
- package/build/components/LoginDialog/LoginDialogFormError.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogFormError.mjs +36 -0
- package/build/components/LoginDialog/LoginDialogFormError.mjs.map +1 -0
- package/build/components/LoginDialog/index.js +1 -1
- package/build/components/LoginDialog/index.mjs +1 -0
- package/build/components/LoginForm/Login.js +45 -36
- package/build/components/LoginForm/Login.js.map +1 -1
- package/build/components/LoginForm/Login.mjs +69 -0
- package/build/components/LoginForm/Login.mjs.map +1 -0
- package/build/components/LoginForm/PasswordField.js +24 -19
- package/build/components/LoginForm/PasswordField.js.map +1 -1
- package/build/components/LoginForm/PasswordField.mjs +34 -0
- package/build/components/LoginForm/PasswordField.mjs.map +1 -0
- package/build/components/LoginForm/UsernameField.js +24 -19
- package/build/components/LoginForm/UsernameField.js.map +1 -1
- package/build/components/LoginForm/UsernameField.mjs +32 -0
- package/build/components/LoginForm/UsernameField.mjs.map +1 -0
- package/build/components/LoginForm/styles.js +42 -32
- package/build/components/LoginForm/styles.js.map +1 -1
- package/build/components/LoginForm/styles.mjs +52 -0
- package/build/components/LoginForm/styles.mjs.map +1 -0
- package/build/components/LoginForm/useLoginForm.js +23 -18
- package/build/components/LoginForm/useLoginForm.js.map +1 -1
- package/build/components/LoginForm/useLoginForm.mjs +38 -0
- package/build/components/LoginForm/useLoginForm.mjs.map +1 -0
- package/build/components/Logo/Logo.js +44 -36
- package/build/components/Logo/Logo.js.map +1 -1
- package/build/components/Logo/Logo.mjs +74 -0
- package/build/components/Logo/Logo.mjs.map +1 -0
- package/build/components/Logo/img/logo-black-and-white.js +2 -2
- package/build/components/Logo/img/logo-black-and-white.js.map +1 -1
- package/build/components/Logo/img/logo-black-and-white.mjs +6 -0
- package/build/components/Logo/img/logo-black-and-white.mjs.map +1 -0
- package/build/components/Logo/img/logo.js +2 -2
- package/build/components/Logo/img/logo.js.map +1 -1
- package/build/components/Logo/img/logo.mjs +6 -0
- package/build/components/Logo/img/logo.mjs.map +1 -0
- package/build/components/Logo/index.js +1 -1
- package/build/components/Logo/index.mjs +1 -0
- package/build/components/MenuItem/MenuItem.js +18 -13
- package/build/components/MenuItem/MenuItem.js.map +1 -1
- package/build/components/MenuItem/MenuItem.mjs +30 -0
- package/build/components/MenuItem/MenuItem.mjs.map +1 -0
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/MenuItem/index.mjs +1 -0
- package/build/components/NoItems/NoItems.js +13 -9
- package/build/components/NoItems/NoItems.js.map +1 -1
- package/build/components/NoItems/NoItems.mjs +16 -0
- package/build/components/NoItems/NoItems.mjs.map +1 -0
- package/build/components/NoItems/index.js +1 -1
- package/build/components/NoItems/index.mjs +1 -0
- package/build/components/NotFound/NotFound.js +37 -27
- package/build/components/NotFound/NotFound.js.map +1 -1
- package/build/components/NotFound/NotFound.mjs +70 -0
- package/build/components/NotFound/NotFound.mjs.map +1 -0
- package/build/components/NotFound/index.js +1 -1
- package/build/components/NotFound/index.mjs +1 -0
- package/build/components/Package/Package.js +146 -112
- package/build/components/Package/Package.js.map +1 -1
- package/build/components/Package/Package.mjs +188 -0
- package/build/components/Package/Package.mjs.map +1 -0
- package/build/components/Package/index.js +1 -1
- package/build/components/Package/index.mjs +1 -0
- package/build/components/Package/styles.js +70 -41
- package/build/components/Package/styles.js.map +1 -1
- package/build/components/Package/styles.mjs +142 -0
- package/build/components/Package/styles.mjs.map +1 -0
- package/build/components/PackageList/PackageList.js +64 -55
- package/build/components/PackageList/PackageList.js.map +1 -1
- package/build/components/PackageList/PackageList.mjs +71 -0
- package/build/components/PackageList/PackageList.mjs.map +1 -0
- package/build/components/PackageList/index.js +1 -1
- package/build/components/PackageList/index.mjs +1 -0
- package/build/components/Person/Person.js +28 -23
- package/build/components/Person/Person.js.map +1 -1
- package/build/components/Person/Person.mjs +39 -0
- package/build/components/Person/Person.mjs.map +1 -0
- package/build/components/Person/PersonTooltip.js +20 -17
- package/build/components/Person/PersonTooltip.js.map +1 -1
- package/build/components/Person/PersonTooltip.mjs +26 -0
- package/build/components/Person/PersonTooltip.mjs.map +1 -0
- package/build/components/Person/index.js +1 -1
- package/build/components/Person/index.mjs +1 -0
- package/build/components/Person/utils.js +11 -8
- package/build/components/Person/utils.js.map +1 -1
- package/build/components/Person/utils.mjs +14 -0
- package/build/components/Person/utils.mjs.map +1 -0
- package/build/components/RawViewer/RawViewer.js +41 -30
- package/build/components/RawViewer/RawViewer.js.map +1 -1
- package/build/components/RawViewer/RawViewer.mjs +58 -0
- package/build/components/RawViewer/RawViewer.mjs.map +1 -0
- package/build/components/RawViewer/index.js +1 -1
- package/build/components/RawViewer/index.mjs +1 -0
- package/build/components/Readme/Readme.js +30 -23
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/Readme.mjs +45 -0
- package/build/components/Readme/Readme.mjs.map +1 -0
- package/build/components/Readme/index.js +1 -1
- package/build/components/Readme/index.mjs +1 -0
- package/build/components/Readme/utils.js +21 -18
- package/build/components/Readme/utils.js.map +1 -1
- package/build/components/Readme/utils.mjs +26 -0
- package/build/components/Readme/utils.mjs.map +1 -0
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +23 -18
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.mjs +32 -0
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.mjs.map +1 -0
- package/build/components/RegistryInfoDialog/index.js +1 -1
- package/build/components/RegistryInfoDialog/index.mjs +1 -0
- package/build/components/RegistryInfoDialog/styles.js +19 -13
- package/build/components/RegistryInfoDialog/styles.js.map +1 -1
- package/build/components/RegistryInfoDialog/styles.mjs +25 -0
- package/build/components/RegistryInfoDialog/styles.mjs.map +1 -0
- package/build/components/Repository/Repository.js +63 -46
- package/build/components/Repository/Repository.js.map +1 -1
- package/build/components/Repository/Repository.mjs +96 -0
- package/build/components/Repository/Repository.mjs.map +1 -0
- package/build/components/Repository/index.js +1 -1
- package/build/components/Repository/index.mjs +1 -0
- package/build/components/Search/AutoComplete/AutoComplete.js +42 -27
- package/build/components/Search/AutoComplete/AutoComplete.js.map +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.mjs +47 -0
- package/build/components/Search/AutoComplete/AutoComplete.mjs.map +1 -0
- package/build/components/Search/AutoComplete/index.js +1 -1
- package/build/components/Search/AutoComplete/index.mjs +1 -0
- package/build/components/Search/AutoComplete/styles.js +7 -5
- package/build/components/Search/AutoComplete/styles.js.map +1 -1
- package/build/components/Search/AutoComplete/styles.mjs +20 -0
- package/build/components/Search/AutoComplete/styles.mjs.map +1 -0
- package/build/components/Search/Search.js +121 -78
- package/build/components/Search/Search.js.map +1 -1
- package/build/components/Search/Search.mjs +133 -0
- package/build/components/Search/Search.mjs.map +1 -0
- package/build/components/Search/SearchItem.js +62 -47
- package/build/components/Search/SearchItem.js.map +1 -1
- package/build/components/Search/SearchItem.mjs +115 -0
- package/build/components/Search/SearchItem.mjs.map +1 -0
- package/build/components/Search/index.js +1 -1
- package/build/components/Search/index.mjs +1 -0
- package/build/components/Search/styles.js +17 -12
- package/build/components/Search/styles.js.map +1 -1
- package/build/components/Search/styles.mjs +32 -0
- package/build/components/Search/styles.mjs.map +1 -0
- package/build/components/Search/utils.js +13 -10
- package/build/components/Search/utils.js.map +1 -1
- package/build/components/Search/utils.mjs +19 -0
- package/build/components/Search/utils.mjs.map +1 -0
- package/build/components/SettingsMenu/SettingsMenu.js +84 -61
- package/build/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/build/components/SettingsMenu/SettingsMenu.mjs +111 -0
- package/build/components/SettingsMenu/SettingsMenu.mjs.map +1 -0
- package/build/components/SettingsMenu/index.js +1 -1
- package/build/components/SettingsMenu/index.mjs +1 -0
- package/build/components/SideBarTitle/SideBarTitle.js +47 -34
- package/build/components/SideBarTitle/SideBarTitle.js.map +1 -1
- package/build/components/SideBarTitle/SideBarTitle.mjs +79 -0
- package/build/components/SideBarTitle/SideBarTitle.mjs.map +1 -0
- package/build/components/SideBarTitle/index.js +1 -1
- package/build/components/SideBarTitle/index.mjs +1 -0
- package/build/components/SideBarTitle/utils.js +10 -7
- package/build/components/SideBarTitle/utils.js.map +1 -1
- package/build/components/SideBarTitle/utils.mjs +13 -0
- package/build/components/SideBarTitle/utils.mjs.map +1 -0
- package/build/components/UpLinks/UpLinks.js +46 -38
- package/build/components/UpLinks/UpLinks.js.map +1 -1
- package/build/components/UpLinks/UpLinks.mjs +60 -0
- package/build/components/UpLinks/UpLinks.mjs.map +1 -0
- package/build/components/UpLinks/UplinkLink.js +15 -13
- package/build/components/UpLinks/UplinkLink.js.map +1 -1
- package/build/components/UpLinks/UplinkLink.mjs +19 -0
- package/build/components/UpLinks/UplinkLink.mjs.map +1 -0
- package/build/components/UpLinks/index.js +2 -2
- package/build/components/UpLinks/index.mjs +2 -0
- package/build/components/UpLinks/styles.js +20 -12
- package/build/components/UpLinks/styles.js.map +1 -1
- package/build/components/UpLinks/styles.mjs +31 -0
- package/build/components/UpLinks/styles.mjs.map +1 -0
- package/build/components/Versions/HistoryList.js +51 -41
- package/build/components/Versions/HistoryList.js.map +1 -1
- package/build/components/Versions/HistoryList.mjs +67 -0
- package/build/components/Versions/HistoryList.mjs.map +1 -0
- package/build/components/Versions/TagList.js +26 -20
- package/build/components/Versions/TagList.js.map +1 -1
- package/build/components/Versions/TagList.mjs +33 -0
- package/build/components/Versions/TagList.mjs.map +1 -0
- package/build/components/Versions/Versions.js +73 -48
- package/build/components/Versions/Versions.js.map +1 -1
- package/build/components/Versions/Versions.mjs +92 -0
- package/build/components/Versions/Versions.mjs.map +1 -0
- package/build/components/Versions/index.js +2 -2
- package/build/components/Versions/index.mjs +2 -0
- package/build/components/Versions/styles.js +15 -10
- package/build/components/Versions/styles.js.map +1 -1
- package/build/components/Versions/styles.mjs +26 -0
- package/build/components/Versions/styles.mjs.map +1 -0
- package/build/configuration.js +6 -6
- package/build/configuration.js.map +1 -1
- package/build/configuration.mjs +23 -0
- package/build/configuration.mjs.map +1 -0
- package/build/hooks/index.js +2 -2
- package/build/hooks/index.mjs +2 -0
- package/build/hooks/useLocalStorage.js +28 -14
- package/build/hooks/useLocalStorage.js.map +1 -1
- package/build/hooks/useLocalStorage.mjs +37 -0
- package/build/hooks/useLocalStorage.mjs.map +1 -0
- package/build/hooks/useOnClickOutside.js +20 -9
- package/build/hooks/useOnClickOutside.js.map +1 -1
- package/build/hooks/useOnClickOutside.mjs +26 -0
- package/build/hooks/useOnClickOutside.mjs.map +1 -0
- package/build/index.js +225 -118
- package/build/index.mjs +118 -0
- package/build/layouts/Security/Dialog.js +14 -8
- package/build/layouts/Security/Dialog.js.map +1 -1
- package/build/layouts/Security/Dialog.mjs +23 -0
- package/build/layouts/Security/Dialog.mjs.map +1 -0
- package/build/layouts/Version/Version.js +31 -26
- package/build/layouts/Version/Version.js.map +1 -1
- package/build/layouts/Version/Version.mjs +32 -0
- package/build/layouts/Version/Version.mjs.map +1 -0
- package/build/layouts/Version/index.js +1 -1
- package/build/layouts/Version/index.mjs +1 -0
- package/build/pages/Front/Home.js +4 -4
- package/build/pages/Front/Home.js.map +1 -1
- package/build/pages/Front/Home.mjs +8 -0
- package/build/pages/Front/Home.mjs.map +1 -0
- package/build/pages/Front/index.js +2 -2
- package/build/pages/Front/index.mjs +2 -0
- package/build/pages/Security/AddUser.js +4 -4
- package/build/pages/Security/AddUser.js.map +1 -1
- package/build/pages/Security/AddUser.mjs +8 -0
- package/build/pages/Security/AddUser.mjs.map +1 -0
- package/build/pages/Security/ChangePassword.js +4 -4
- package/build/pages/Security/ChangePassword.js.map +1 -1
- package/build/pages/Security/ChangePassword.mjs +8 -0
- package/build/pages/Security/ChangePassword.mjs.map +1 -0
- package/build/pages/Security/Login.js +4 -4
- package/build/pages/Security/Login.js.map +1 -1
- package/build/pages/Security/Login.mjs +8 -0
- package/build/pages/Security/Login.mjs.map +1 -0
- package/build/pages/Security/Success.js +4 -4
- package/build/pages/Security/Success.js.map +1 -1
- package/build/pages/Security/Success.mjs +8 -0
- package/build/pages/Security/Success.mjs.map +1 -0
- package/build/pages/Security/index.js +4 -4
- package/build/pages/Security/index.mjs +4 -0
- package/build/pages/Version/Version.js +19 -13
- package/build/pages/Version/Version.js.map +1 -1
- package/build/pages/Version/Version.mjs +22 -0
- package/build/pages/Version/Version.mjs.map +1 -0
- package/build/pages/Version/index.js +2 -2
- package/build/pages/Version/index.mjs +2 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +44 -34
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.mjs +62 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.mjs.map +1 -0
- package/build/providers/AppConfigurationProvider/index.js +1 -1
- package/build/providers/AppConfigurationProvider/index.mjs +1 -0
- package/build/providers/AuthProvider/AuthProvider.js +41 -25
- package/build/providers/AuthProvider/AuthProvider.js.map +1 -1
- package/build/providers/AuthProvider/AuthProvider.mjs +51 -0
- package/build/providers/AuthProvider/AuthProvider.mjs.map +1 -0
- package/build/providers/AuthProvider/index.js +1 -1
- package/build/providers/AuthProvider/index.mjs +1 -0
- package/build/providers/AuthProvider/utils.js +13 -12
- package/build/providers/AuthProvider/utils.js.map +1 -1
- package/build/providers/AuthProvider/utils.mjs +22 -0
- package/build/providers/AuthProvider/utils.mjs.map +1 -0
- package/build/providers/DownloadProvider/DownloadProvider.js +27 -21
- package/build/providers/DownloadProvider/DownloadProvider.js.map +1 -1
- package/build/providers/DownloadProvider/DownloadProvider.mjs +34 -0
- package/build/providers/DownloadProvider/DownloadProvider.mjs.map +1 -0
- package/build/providers/DownloadProvider/index.js +1 -1
- package/build/providers/DownloadProvider/index.mjs +1 -0
- package/build/providers/ManifestsProvider/ManifestsProvider.js +21 -15
- package/build/providers/ManifestsProvider/ManifestsProvider.js.map +1 -1
- package/build/providers/ManifestsProvider/ManifestsProvider.mjs +25 -0
- package/build/providers/ManifestsProvider/ManifestsProvider.mjs.map +1 -0
- package/build/providers/ManifestsProvider/index.js +1 -1
- package/build/providers/ManifestsProvider/index.mjs +1 -0
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +28 -19
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js.map +1 -1
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.mjs +30 -0
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.mjs.map +1 -0
- package/build/providers/PersistenceSettingProvider/index.js +1 -1
- package/build/providers/PersistenceSettingProvider/index.mjs +1 -0
- package/build/providers/SearchProvider/SearchProvider.js +47 -36
- package/build/providers/SearchProvider/SearchProvider.js.map +1 -1
- package/build/providers/SearchProvider/SearchProvider.mjs +53 -0
- package/build/providers/SearchProvider/SearchProvider.mjs.map +1 -0
- package/build/providers/SearchProvider/index.js +1 -1
- package/build/providers/SearchProvider/index.mjs +1 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.js +37 -24
- package/build/providers/TranslatorProvider/TranslatorProvider.js.map +1 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.mjs +45 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.mjs.map +1 -0
- package/build/providers/TranslatorProvider/index.js +1 -1
- package/build/providers/TranslatorProvider/index.mjs +1 -0
- package/build/providers/VersionProvider/VersionProvider.js +49 -36
- package/build/providers/VersionProvider/VersionProvider.js.map +1 -1
- package/build/providers/VersionProvider/VersionProvider.mjs +55 -0
- package/build/providers/VersionProvider/VersionProvider.mjs.map +1 -0
- package/build/providers/VersionProvider/index.js +1 -1
- package/build/providers/VersionProvider/index.mjs +1 -0
- package/build/providers/index.js +16 -16
- package/build/providers/index.mjs +16 -0
- package/build/sections/Detail/ContainerContent.js +28 -18
- package/build/sections/Detail/ContainerContent.js.map +1 -1
- package/build/sections/Detail/ContainerContent.mjs +34 -0
- package/build/sections/Detail/ContainerContent.mjs.map +1 -0
- package/build/sections/Detail/Detail.js +38 -26
- package/build/sections/Detail/Detail.js.map +1 -1
- package/build/sections/Detail/Detail.mjs +50 -0
- package/build/sections/Detail/Detail.mjs.map +1 -0
- package/build/sections/Detail/ReadmeSection.js +11 -6
- package/build/sections/Detail/ReadmeSection.js.map +1 -1
- package/build/sections/Detail/ReadmeSection.mjs +13 -0
- package/build/sections/Detail/ReadmeSection.mjs.map +1 -0
- package/build/sections/Detail/Tabs.js +36 -27
- package/build/sections/Detail/Tabs.js.map +1 -1
- package/build/sections/Detail/Tabs.mjs +59 -0
- package/build/sections/Detail/Tabs.mjs.map +1 -0
- package/build/sections/Detail/index.js +1 -1
- package/build/sections/Detail/index.mjs +1 -0
- package/build/sections/Footer/Footer.js +56 -46
- package/build/sections/Footer/Footer.js.map +1 -1
- package/build/sections/Footer/Footer.mjs +105 -0
- package/build/sections/Footer/Footer.mjs.map +1 -0
- package/build/sections/Footer/index.js +1 -1
- package/build/sections/Footer/index.mjs +1 -0
- package/build/sections/Footer/styles.js +31 -21
- package/build/sections/Footer/styles.js.map +1 -1
- package/build/sections/Footer/styles.mjs +65 -0
- package/build/sections/Footer/styles.mjs.map +1 -0
- package/build/sections/Header/Header.js +76 -63
- package/build/sections/Header/Header.js.map +1 -1
- package/build/sections/Header/Header.mjs +101 -0
- package/build/sections/Header/Header.mjs.map +1 -0
- package/build/sections/Header/HeaderGreetings.js +13 -11
- package/build/sections/Header/HeaderGreetings.js.map +1 -1
- package/build/sections/Header/HeaderGreetings.mjs +19 -0
- package/build/sections/Header/HeaderGreetings.mjs.map +1 -0
- package/build/sections/Header/HeaderLeft.js +17 -14
- package/build/sections/Header/HeaderLeft.js.map +1 -1
- package/build/sections/Header/HeaderLeft.mjs +33 -0
- package/build/sections/Header/HeaderLeft.mjs.map +1 -0
- package/build/sections/Header/HeaderMenu.js +27 -22
- package/build/sections/Header/HeaderMenu.js.map +1 -1
- package/build/sections/Header/HeaderMenu.mjs +45 -0
- package/build/sections/Header/HeaderMenu.mjs.map +1 -0
- package/build/sections/Header/HeaderRight.js +68 -47
- package/build/sections/Header/HeaderRight.js.map +1 -1
- package/build/sections/Header/HeaderRight.mjs +95 -0
- package/build/sections/Header/HeaderRight.mjs.map +1 -0
- package/build/sections/Header/HeaderSettingsDialog.js +70 -59
- package/build/sections/Header/HeaderSettingsDialog.js.map +1 -1
- package/build/sections/Header/HeaderSettingsDialog.mjs +99 -0
- package/build/sections/Header/HeaderSettingsDialog.mjs.map +1 -0
- package/build/sections/Header/HeaderToolTip.js +9 -7
- package/build/sections/Header/HeaderToolTip.js.map +1 -1
- package/build/sections/Header/HeaderToolTip.mjs +12 -0
- package/build/sections/Header/HeaderToolTip.mjs.map +1 -0
- package/build/sections/Header/HeaderToolTipIcon.js +38 -31
- package/build/sections/Header/HeaderToolTipIcon.js.map +1 -1
- package/build/sections/Header/HeaderToolTipIcon.mjs +58 -0
- package/build/sections/Header/HeaderToolTipIcon.mjs.map +1 -0
- package/build/sections/Header/LanguageSwitch.js +75 -51
- package/build/sections/Header/LanguageSwitch.js.map +1 -1
- package/build/sections/Header/LanguageSwitch.mjs +99 -0
- package/build/sections/Header/LanguageSwitch.mjs.map +1 -0
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +136 -105
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs +199 -0
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs.map +1 -0
- package/build/sections/Header/RegistryInfoContent/index.js +1 -1
- package/build/sections/Header/RegistryInfoContent/index.mjs +1 -0
- package/build/sections/Header/RegistryInfoContent/styles.js +10 -6
- package/build/sections/Header/RegistryInfoContent/styles.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.mjs +20 -0
- package/build/sections/Header/RegistryInfoContent/styles.mjs.map +1 -0
- package/build/sections/Header/index.js +1 -1
- package/build/sections/Header/index.mjs +1 -0
- package/build/sections/Header/styles.js +60 -37
- package/build/sections/Header/styles.js.map +1 -1
- package/build/sections/Header/styles.mjs +126 -0
- package/build/sections/Header/styles.mjs.map +1 -0
- package/build/sections/Home/Home.js +14 -11
- package/build/sections/Home/Home.js.map +1 -1
- package/build/sections/Home/Home.mjs +20 -0
- package/build/sections/Home/Home.mjs.map +1 -0
- package/build/sections/Home/index.js +1 -1
- package/build/sections/Home/index.mjs +1 -0
- package/build/sections/Security/AddUser.js +84 -68
- package/build/sections/Security/AddUser.js.map +1 -1
- package/build/sections/Security/AddUser.mjs +132 -0
- package/build/sections/Security/AddUser.mjs.map +1 -0
- package/build/sections/Security/ChangePassword.js +83 -71
- package/build/sections/Security/ChangePassword.js.map +1 -1
- package/build/sections/Security/ChangePassword.mjs +123 -0
- package/build/sections/Security/ChangePassword.mjs.map +1 -0
- package/build/sections/Security/Login.js +70 -54
- package/build/sections/Security/Login.js.map +1 -1
- package/build/sections/Security/Login.mjs +94 -0
- package/build/sections/Security/Login.mjs.map +1 -0
- package/build/sections/Security/Success.js +39 -26
- package/build/sections/Security/Success.js.map +1 -1
- package/build/sections/Security/Success.mjs +51 -0
- package/build/sections/Security/Success.mjs.map +1 -0
- package/build/sections/Security/index.js +4 -4
- package/build/sections/Security/index.mjs +4 -0
- package/build/sections/Security/styles.js +19 -14
- package/build/sections/Security/styles.js.map +1 -1
- package/build/sections/Security/styles.mjs +29 -0
- package/build/sections/Security/styles.mjs.map +1 -0
- package/build/sections/Security/utils.js +14 -11
- package/build/sections/Security/utils.js.map +1 -1
- package/build/sections/Security/utils.mjs +19 -0
- package/build/sections/Security/utils.mjs.map +1 -0
- package/build/sections/SideBar/Sidebar.js +73 -64
- package/build/sections/SideBar/Sidebar.js.map +1 -1
- package/build/sections/SideBar/Sidebar.mjs +93 -0
- package/build/sections/SideBar/Sidebar.mjs.map +1 -0
- package/build/sections/SideBar/index.js +1 -1
- package/build/sections/SideBar/index.mjs +1 -0
- package/build/sections/index.js +4 -4
- package/build/sections/index.mjs +4 -0
- package/build/store/api.js +57 -41
- package/build/store/api.js.map +1 -1
- package/build/store/api.mjs +76 -0
- package/build/store/api.mjs.map +1 -0
- package/build/store/index.js +1 -1
- package/build/store/index.mjs +1 -0
- package/build/store/routes.js +13 -3
- package/build/store/routes.js.map +1 -1
- package/build/store/routes.mjs +18 -0
- package/build/store/routes.mjs.map +1 -0
- package/build/store/storage.js +22 -13
- package/build/store/storage.js.map +1 -1
- package/build/store/storage.mjs +29 -0
- package/build/store/storage.mjs.map +1 -0
- package/build/store/utils.js +5 -4
- package/build/store/utils.js.map +1 -1
- package/build/store/utils.mjs +9 -0
- package/build/store/utils.mjs.map +1 -0
- package/build/ui-components.css +1198 -1
- package/build/utils/cli-utils.js +19 -16
- package/build/utils/cli-utils.js.map +1 -1
- package/build/utils/cli-utils.mjs +26 -0
- package/build/utils/cli-utils.mjs.map +1 -0
- package/build/utils/index.js +6 -6
- package/build/utils/index.mjs +6 -0
- package/build/utils/loadable.js +18 -7
- package/build/utils/loadable.js.map +1 -1
- package/build/utils/loadable.mjs +23 -0
- package/build/utils/loadable.mjs.map +1 -0
- package/build/utils/routes.js +26 -5
- package/build/utils/routes.js.map +1 -1
- package/build/utils/routes.mjs +30 -0
- package/build/utils/routes.mjs.map +1 -0
- package/build/utils/schemas.js +22 -14
- package/build/utils/schemas.js.map +1 -1
- package/build/utils/schemas.mjs +22 -0
- package/build/utils/schemas.mjs.map +1 -0
- package/build/utils/token.js +19 -15
- package/build/utils/token.js.map +1 -1
- package/build/utils/token.mjs +23 -0
- package/build/utils/token.mjs.map +1 -0
- package/build/utils/url.js +50 -30
- package/build/utils/url.js.map +1 -1
- package/build/utils/url.mjs +61 -0
- package/build/utils/url.mjs.map +1 -0
- package/build/utils/utils.js +93 -49
- package/build/utils/utils.js.map +1 -1
- package/build/utils/utils.mjs +93 -0
- package/build/utils/utils.mjs.map +1 -0
- package/package.json +17 -9
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
+
let _emotion_styled_base = require("@emotion/styled/base");
|
|
3
|
+
_emotion_styled_base = require_runtime.__toESM(_emotion_styled_base);
|
|
4
|
+
let _mui_material_Typography = require("@mui/material/Typography");
|
|
5
|
+
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
6
|
+
let _mui_material_ListItem = require("@mui/material/ListItem");
|
|
7
|
+
_mui_material_ListItem = require_runtime.__toESM(_mui_material_ListItem);
|
|
8
|
+
let _mui_material_Chip = require("@mui/material/Chip");
|
|
9
|
+
_mui_material_Chip = require_runtime.__toESM(_mui_material_Chip);
|
|
5
10
|
//#region src/components/Distribution/styles.ts
|
|
6
|
-
function
|
|
11
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
7
12
|
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).";
|
|
8
13
|
}
|
|
9
|
-
var
|
|
14
|
+
var StyledText = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_Typography.default, process.env.NODE_ENV === "production" ? { target: "e1mn5d922" } : {
|
|
10
15
|
target: "e1mn5d922",
|
|
11
16
|
label: "StyledText"
|
|
12
|
-
})((
|
|
13
|
-
fontWeight:
|
|
17
|
+
})((props) => ({
|
|
18
|
+
fontWeight: props.theme.fontWeight.bold,
|
|
14
19
|
textTransform: "capitalize"
|
|
15
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU8wQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */")
|
|
20
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU8wQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */");
|
|
21
|
+
var DistListItem = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_ListItem.default, process.env.NODE_ENV === "production" ? { target: "e1mn5d921" } : {
|
|
16
22
|
target: "e1mn5d921",
|
|
17
23
|
label: "DistListItem"
|
|
18
24
|
})(process.env.NODE_ENV === "production" ? {
|
|
@@ -21,8 +27,9 @@ var a = /* @__PURE__ */ e(t, process.env.NODE_ENV === "production" ? { target: "
|
|
|
21
27
|
} : {
|
|
22
28
|
name: "8a1gtu",
|
|
23
29
|
styles: "padding-left:0;padding-right:0;flex-wrap:wrap/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk0QiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */",
|
|
24
|
-
toString:
|
|
25
|
-
})
|
|
30
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
31
|
+
});
|
|
32
|
+
var DistChips = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_Chip.default, process.env.NODE_ENV === "production" ? { target: "e1mn5d920" } : {
|
|
26
33
|
target: "e1mn5d920",
|
|
27
34
|
label: "DistChips"
|
|
28
35
|
})(process.env.NODE_ENV === "production" ? {
|
|
@@ -31,9 +38,11 @@ var a = /* @__PURE__ */ e(t, process.env.NODE_ENV === "production" ? { target: "
|
|
|
31
38
|
} : {
|
|
32
39
|
name: "186t8fy",
|
|
33
40
|
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCeUIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0Rpc3RyaWJ1dGlvbi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgQ2hpcCBmcm9tICdAbXVpL21hdGVyaWFsL0NoaXAnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0TGlzdEl0ZW0gPSBzdHlsZWQoTGlzdEl0ZW0pKHtcbiAgcGFkZGluZ0xlZnQ6IDAsXG4gIHBhZGRpbmdSaWdodDogMCxcbiAgZmxleFdyYXA6ICd3cmFwJyxcbn0pO1xuXG5leHBvcnQgY29uc3QgRGlzdENoaXBzID0gc3R5bGVkKENoaXApKHtcbiAgbWFyZ2luUmlnaHQ6IDUsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbiAgbWFyZ2luVG9wOiA1LFxufSk7XG4iXX0= */",
|
|
34
|
-
toString:
|
|
41
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
35
42
|
});
|
|
36
43
|
//#endregion
|
|
37
|
-
|
|
44
|
+
exports.DistChips = DistChips;
|
|
45
|
+
exports.DistListItem = DistListItem;
|
|
46
|
+
exports.StyledText = StyledText;
|
|
38
47
|
|
|
39
48
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["Chip","ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","DistListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","DistChips"],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.js","names":["Chip","ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","DistListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","DistChips"],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;;;;;;;;;AAOA,IAAaI,aAAaC,iBAAAA,GAAAA,qBAAAA,SAAOH,yBAAAA,SAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAO,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAqBE,WAAW;CAC1EC,YAAYD,MAAMD,MAAME,WAAWC;CACnCC,eAAe;CAChB,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,8vCAAC;AAEH,IAAaC,eAAeX,iBAAAA,GAAAA,qBAAAA,SAAOJ,uBAAAA,SAAAA,QAAAA,IAAAA,aAAQ,eAAA,EAAAQ,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAI3C,CAAC;AAEF,IAAaC,YAAYhB,iBAAAA,GAAAA,qBAAAA,SAAOL,mBAAAA,SAAAA,QAAAA,IAAAA,aAAI,eAAA,EAAAS,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAIpC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
|
2
|
+
import Typography from "@mui/material/Typography";
|
|
3
|
+
import ListItem from "@mui/material/ListItem";
|
|
4
|
+
import Chip from "@mui/material/Chip";
|
|
5
|
+
//#region src/components/Distribution/styles.ts
|
|
6
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
7
|
+
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).";
|
|
8
|
+
}
|
|
9
|
+
var StyledText = /* @__PURE__ */ _styled(Typography, process.env.NODE_ENV === "production" ? { target: "e1mn5d922" } : {
|
|
10
|
+
target: "e1mn5d922",
|
|
11
|
+
label: "StyledText"
|
|
12
|
+
})((props) => ({
|
|
13
|
+
fontWeight: props.theme.fontWeight.bold,
|
|
14
|
+
textTransform: "capitalize"
|
|
15
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU8wQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */");
|
|
16
|
+
var DistListItem = /* @__PURE__ */ _styled(ListItem, process.env.NODE_ENV === "production" ? { target: "e1mn5d921" } : {
|
|
17
|
+
target: "e1mn5d921",
|
|
18
|
+
label: "DistListItem"
|
|
19
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
20
|
+
name: "8a1gtu",
|
|
21
|
+
styles: "padding-left:0;padding-right:0;flex-wrap:wrap"
|
|
22
|
+
} : {
|
|
23
|
+
name: "8a1gtu",
|
|
24
|
+
styles: "padding-left:0;padding-right:0;flex-wrap:wrap/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk0QiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */",
|
|
25
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26
|
+
});
|
|
27
|
+
var DistChips = /* @__PURE__ */ _styled(Chip, process.env.NODE_ENV === "production" ? { target: "e1mn5d920" } : {
|
|
28
|
+
target: "e1mn5d920",
|
|
29
|
+
label: "DistChips"
|
|
30
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
31
|
+
name: "186t8fy",
|
|
32
|
+
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px"
|
|
33
|
+
} : {
|
|
34
|
+
name: "186t8fy",
|
|
35
|
+
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCeUIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0Rpc3RyaWJ1dGlvbi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgQ2hpcCBmcm9tICdAbXVpL21hdGVyaWFsL0NoaXAnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0TGlzdEl0ZW0gPSBzdHlsZWQoTGlzdEl0ZW0pKHtcbiAgcGFkZGluZ0xlZnQ6IDAsXG4gIHBhZGRpbmdSaWdodDogMCxcbiAgZmxleFdyYXA6ICd3cmFwJyxcbn0pO1xuXG5leHBvcnQgY29uc3QgRGlzdENoaXBzID0gc3R5bGVkKENoaXApKHtcbiAgbWFyZ2luUmlnaHQ6IDUsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbiAgbWFyZ2luVG9wOiA1LFxufSk7XG4iXX0= */",
|
|
36
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { DistChips, DistListItem, StyledText };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.mjs","names":["Chip","ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","DistListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","DistChips"],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;;;;AAOA,IAAaI,aAAaC,wBAAOH,YAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAO,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAqBE,WAAW;CAC1EC,YAAYD,MAAMD,MAAME,WAAWC;CACnCC,eAAe;CAChB,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,8vCAAC;AAEH,IAAaC,eAAeX,wBAAOJ,UAAAA,QAAAA,IAAAA,aAAQ,eAAA,EAAAQ,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAI3C,CAAC;AAEF,IAAaC,YAAYhB,wBAAOL,MAAAA,QAAAA,IAAAA,aAAI,eAAA,EAAAS,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAIpC,CAAC"}
|
|
@@ -1,69 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
+
const require_NodeJS = require("../Icons/DevsIcons/NodeJS2.js");
|
|
3
|
+
const require_Npm = require("../Icons/Managers/Npm2.js");
|
|
4
|
+
const require_Pnpm = require("../Icons/Managers/Pnpm2.js");
|
|
5
|
+
const require_Yarn = require("../Icons/Managers/Yarn2.js");
|
|
6
|
+
require("../Icons/index.js");
|
|
7
|
+
const require_styles = require("./styles.js");
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let react = require("react");
|
|
10
|
+
react = require_runtime.__toESM(react);
|
|
11
|
+
let react_i18next = require("react-i18next");
|
|
12
|
+
let _mui_material_List = require("@mui/material/List");
|
|
13
|
+
_mui_material_List = require_runtime.__toESM(_mui_material_List);
|
|
14
|
+
let _mui_material = require("@mui/material");
|
|
15
|
+
let _mui_material_Avatar = require("@mui/material/Avatar");
|
|
16
|
+
_mui_material_Avatar = require_runtime.__toESM(_mui_material_Avatar);
|
|
17
|
+
let _mui_material_Grid = require("@mui/material/Grid");
|
|
18
|
+
_mui_material_Grid = require_runtime.__toESM(_mui_material_Grid);
|
|
14
19
|
//#region src/components/Engines/Engines.tsx
|
|
15
|
-
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @category Component
|
|
24
|
+
*/
|
|
25
|
+
var EngineItem = ({ title, element, engineText }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_Grid.default, {
|
|
16
26
|
size: { xs: 6 },
|
|
17
|
-
children: /* @__PURE__ */
|
|
18
|
-
subheader: /* @__PURE__ */
|
|
27
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_List.default, {
|
|
28
|
+
subheader: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_styles.StyledText, {
|
|
19
29
|
variant: "subtitle1",
|
|
20
|
-
children:
|
|
30
|
+
children: title
|
|
21
31
|
}),
|
|
22
|
-
children: /* @__PURE__ */
|
|
32
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_styles.EngineListItem, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_Avatar.default, {
|
|
23
33
|
sx: {
|
|
24
34
|
backgroundColor: "transparent",
|
|
25
35
|
marginLeft: 0,
|
|
26
36
|
padding: 0
|
|
27
37
|
},
|
|
28
|
-
children:
|
|
29
|
-
}), /* @__PURE__ */
|
|
38
|
+
children: element
|
|
39
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material.Typography, {
|
|
30
40
|
sx: {
|
|
31
41
|
margin: 0,
|
|
32
42
|
padding: "0 0 0 10px"
|
|
33
43
|
},
|
|
34
44
|
variant: "subtitle2",
|
|
35
|
-
children:
|
|
45
|
+
children: engineText
|
|
36
46
|
})] })
|
|
37
47
|
})
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
48
|
+
});
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* @category Component
|
|
53
|
+
*/
|
|
54
|
+
var Engine = ({ packageMeta }) => {
|
|
55
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
56
|
+
const engines = packageMeta?.latest?.engines;
|
|
57
|
+
if (!engines) return null;
|
|
58
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mui_material_Grid.default, {
|
|
59
|
+
container: true,
|
|
42
60
|
children: [
|
|
43
|
-
|
|
44
|
-
element: /* @__PURE__ */
|
|
45
|
-
engineText:
|
|
46
|
-
title:
|
|
61
|
+
engines.node ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EngineItem, {
|
|
62
|
+
element: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_NodeJS.NodeJS, {}),
|
|
63
|
+
engineText: engines.node,
|
|
64
|
+
title: t("sidebar.engines.node-js")
|
|
47
65
|
}) : null,
|
|
48
|
-
|
|
49
|
-
element: /* @__PURE__ */
|
|
50
|
-
engineText:
|
|
51
|
-
title:
|
|
66
|
+
engines.npm ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EngineItem, {
|
|
67
|
+
element: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Npm.Npm, {}),
|
|
68
|
+
engineText: engines.npm,
|
|
69
|
+
title: t("sidebar.engines.npm-version")
|
|
52
70
|
}) : null,
|
|
53
|
-
|
|
54
|
-
element: /* @__PURE__ */
|
|
55
|
-
engineText:
|
|
56
|
-
title:
|
|
71
|
+
engines.yarn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EngineItem, {
|
|
72
|
+
element: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Yarn.Yarn, {}),
|
|
73
|
+
engineText: engines.yarn,
|
|
74
|
+
title: t("sidebar.engines.yarn-version")
|
|
57
75
|
}) : null,
|
|
58
|
-
|
|
59
|
-
element: /* @__PURE__ */
|
|
60
|
-
engineText:
|
|
61
|
-
title:
|
|
76
|
+
engines.pnpm ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EngineItem, {
|
|
77
|
+
element: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Pnpm.Pnpm, {}),
|
|
78
|
+
engineText: engines.pnpm,
|
|
79
|
+
title: t("sidebar.engines.pnpm-version")
|
|
62
80
|
}) : null
|
|
63
81
|
]
|
|
64
|
-
})
|
|
82
|
+
});
|
|
65
83
|
};
|
|
66
84
|
//#endregion
|
|
67
|
-
|
|
85
|
+
exports.default = Engine;
|
|
68
86
|
|
|
69
87
|
//# sourceMappingURL=Engines.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engines.js","names":["Typography","Avatar","Grid","List","FC","React","useTranslation","PackageMetaInterface","NodeJS","Npm","Pnpm","Yarn","EngineListItem","StyledText","EngineItemProps","title","element","ReactElement","engineText","EngineItem","xs","backgroundColor","marginLeft","padding","margin","EngineMetadata","Omit","latest","engines","npm","node","pnpm","yarn","Props","packageMeta","Engine","t"],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Engines.js","names":["Typography","Avatar","Grid","List","FC","React","useTranslation","PackageMetaInterface","NodeJS","Npm","Pnpm","Yarn","EngineListItem","StyledText","EngineItemProps","title","element","ReactElement","engineText","EngineItem","xs","backgroundColor","marginLeft","padding","margin","EngineMetadata","Omit","latest","engines","npm","node","pnpm","yarn","Props","packageMeta","Engine","t"],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAMmB,cAAmC,EAAEJ,OAAOC,SAASE,iBACzD,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;CAAM,MAAM,EAAEE,IAAI,GAAG;WACnB,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;EAAM,WAAW,iBAAA,GAAA,kBAAA,KAAC,eAAA,YAAD;GAAY,SAAS;aAAcL;GAAmB,CAAA;YACrE,iBAAA,GAAA,kBAAA,MAAC,eAAA,gBAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAC,qBAAA,SAAD;GAAQ,IAAI;IAAEM,iBAAiB;IAAeC,YAAY;IAAGC,SAAS;IAAG;aACtEP;GACK,CAAA,EACR,iBAAA,GAAA,kBAAA,KAAC,cAAA,YAAD;GAAY,IAAI;IAAEQ,QAAQ;IAAGD,SAAS;IAAc;GAAE,SAAQ;aAC3DL;GACS,CAAA,CACE,EAAA,CAAA;EACZ,CAAA;CAET,CAAA;;;;;;AAkBD,IAAMiB,UAA2B,EAAED,kBAAkB;CACnD,MAAM,EAAEE,OAAAA,GAAAA,cAAAA,iBAAsB;CAE9B,MAAMR,UAAUM,aAAaP,QAAQC;AAErC,KAAI,CAACA,QACH,QAAO;AAGT,QACE,iBAAA,GAAA,kBAAA,MAAC,mBAAA,SAAD;EAAM,WAAW;YAAjB;GACGA,QAAQE,OACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,eAAA,QAAD,EAAU,CAAA;IACnB,YAAYF,QAAQE;IACpB,OAAOM,EAAE,0BAA0B;IACnC,CAAA,GACA;GAEHR,QAAQC,MACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,YAAA,KAAD,EAAO,CAAA;IAChB,YAAYD,QAAQC;IACpB,OAAOO,EAAE,8BAA8B;IACvC,CAAA,GACA;GAEHR,QAAQI,OACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,aAAA,MAAD,EAAQ,CAAA;IACjB,YAAYJ,QAAQI;IACpB,OAAOI,EAAE,+BAA+B;IACxC,CAAA,GACA;GAEHR,QAAQG,OACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,aAAA,MAAD,EAAQ,CAAA;IACjB,YAAYH,QAAQG;IACpB,OAAOK,EAAE,+BAA+B;IACxC,CAAA,GACA;GACC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { NodeJS } from "../Icons/DevsIcons/NodeJS2.mjs";
|
|
2
|
+
import { Npm } from "../Icons/Managers/Npm2.mjs";
|
|
3
|
+
import { Pnpm } from "../Icons/Managers/Pnpm2.mjs";
|
|
4
|
+
import { Yarn } from "../Icons/Managers/Yarn2.mjs";
|
|
5
|
+
import "../Icons/index.mjs";
|
|
6
|
+
import { EngineListItem, StyledText } from "./styles.mjs";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import "react";
|
|
9
|
+
import { useTranslation } from "react-i18next";
|
|
10
|
+
import List from "@mui/material/List";
|
|
11
|
+
import { Typography } from "@mui/material";
|
|
12
|
+
import Avatar from "@mui/material/Avatar";
|
|
13
|
+
import Grid from "@mui/material/Grid";
|
|
14
|
+
//#region src/components/Engines/Engines.tsx
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @category Component
|
|
19
|
+
*/
|
|
20
|
+
var EngineItem = ({ title, element, engineText }) => /* @__PURE__ */ jsx(Grid, {
|
|
21
|
+
size: { xs: 6 },
|
|
22
|
+
children: /* @__PURE__ */ jsx(List, {
|
|
23
|
+
subheader: /* @__PURE__ */ jsx(StyledText, {
|
|
24
|
+
variant: "subtitle1",
|
|
25
|
+
children: title
|
|
26
|
+
}),
|
|
27
|
+
children: /* @__PURE__ */ jsxs(EngineListItem, { children: [/* @__PURE__ */ jsx(Avatar, {
|
|
28
|
+
sx: {
|
|
29
|
+
backgroundColor: "transparent",
|
|
30
|
+
marginLeft: 0,
|
|
31
|
+
padding: 0
|
|
32
|
+
},
|
|
33
|
+
children: element
|
|
34
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
35
|
+
sx: {
|
|
36
|
+
margin: 0,
|
|
37
|
+
padding: "0 0 0 10px"
|
|
38
|
+
},
|
|
39
|
+
variant: "subtitle2",
|
|
40
|
+
children: engineText
|
|
41
|
+
})] })
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* @category Component
|
|
48
|
+
*/
|
|
49
|
+
var Engine = ({ packageMeta }) => {
|
|
50
|
+
const { t } = useTranslation();
|
|
51
|
+
const engines = packageMeta?.latest?.engines;
|
|
52
|
+
if (!engines) return null;
|
|
53
|
+
return /* @__PURE__ */ jsxs(Grid, {
|
|
54
|
+
container: true,
|
|
55
|
+
children: [
|
|
56
|
+
engines.node ? /* @__PURE__ */ jsx(EngineItem, {
|
|
57
|
+
element: /* @__PURE__ */ jsx(NodeJS, {}),
|
|
58
|
+
engineText: engines.node,
|
|
59
|
+
title: t("sidebar.engines.node-js")
|
|
60
|
+
}) : null,
|
|
61
|
+
engines.npm ? /* @__PURE__ */ jsx(EngineItem, {
|
|
62
|
+
element: /* @__PURE__ */ jsx(Npm, {}),
|
|
63
|
+
engineText: engines.npm,
|
|
64
|
+
title: t("sidebar.engines.npm-version")
|
|
65
|
+
}) : null,
|
|
66
|
+
engines.yarn ? /* @__PURE__ */ jsx(EngineItem, {
|
|
67
|
+
element: /* @__PURE__ */ jsx(Yarn, {}),
|
|
68
|
+
engineText: engines.yarn,
|
|
69
|
+
title: t("sidebar.engines.yarn-version")
|
|
70
|
+
}) : null,
|
|
71
|
+
engines.pnpm ? /* @__PURE__ */ jsx(EngineItem, {
|
|
72
|
+
element: /* @__PURE__ */ jsx(Pnpm, {}),
|
|
73
|
+
engineText: engines.pnpm,
|
|
74
|
+
title: t("sidebar.engines.pnpm-version")
|
|
75
|
+
}) : null
|
|
76
|
+
]
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
export { Engine as default };
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=Engines.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Engines.mjs","names":["Typography","Avatar","Grid","List","FC","React","useTranslation","PackageMetaInterface","NodeJS","Npm","Pnpm","Yarn","EngineListItem","StyledText","EngineItemProps","title","element","ReactElement","engineText","EngineItem","xs","backgroundColor","marginLeft","padding","margin","EngineMetadata","Omit","latest","engines","npm","node","pnpm","yarn","Props","packageMeta","Engine","t"],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBA,IAAMmB,cAAmC,EAAEJ,OAAOC,SAASE,iBACzD,oBAAC,MAAD;CAAM,MAAM,EAAEE,IAAI,GAAG;WACnB,oBAAC,MAAD;EAAM,WAAW,oBAAC,YAAD;GAAY,SAAS;aAAcL;GAAmB,CAAA;YACrE,qBAAC,gBAAD,EAAA,UAAA,CACE,oBAAC,QAAD;GAAQ,IAAI;IAAEM,iBAAiB;IAAeC,YAAY;IAAGC,SAAS;IAAG;aACtEP;GACK,CAAA,EACR,oBAAC,YAAD;GAAY,IAAI;IAAEQ,QAAQ;IAAGD,SAAS;IAAc;GAAE,SAAQ;aAC3DL;GACS,CAAA,CACE,EAAA,CAAA;EACZ,CAAA;CAET,CAAA;;;;;;AAkBD,IAAMiB,UAA2B,EAAED,kBAAkB;CACnD,MAAM,EAAEE,MAAM9B,gBAAgB;CAE9B,MAAMsB,UAAUM,aAAaP,QAAQC;AAErC,KAAI,CAACA,QACH,QAAO;AAGT,QACE,qBAAC,MAAD;EAAM,WAAW;YAAjB;GACGA,QAAQE,OACP,oBAAC,YAAD;IACE,SAAS,oBAAC,QAAD,EAAU,CAAA;IACnB,YAAYF,QAAQE;IACpB,OAAOM,EAAE,0BAA0B;IACnC,CAAA,GACA;GAEHR,QAAQC,MACP,oBAAC,YAAD;IACE,SAAS,oBAAC,KAAD,EAAO,CAAA;IAChB,YAAYD,QAAQC;IACpB,OAAOO,EAAE,8BAA8B;IACvC,CAAA,GACA;GAEHR,QAAQI,OACP,oBAAC,YAAD;IACE,SAAS,oBAAC,MAAD,EAAQ,CAAA;IACjB,YAAYJ,QAAQI;IACpB,OAAOI,EAAE,+BAA+B;IACxC,CAAA,GACA;GAEHR,QAAQG,OACP,oBAAC,YAAD;IACE,SAAS,oBAAC,MAAD,EAAQ,CAAA;IACjB,YAAYH,QAAQG;IACpB,OAAOK,EAAE,+BAA+B;IACxC,CAAA,GACA;GACC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
require("./Engines.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Engines.mjs";
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
+
let _emotion_styled_base = require("@emotion/styled/base");
|
|
3
|
+
_emotion_styled_base = require_runtime.__toESM(_emotion_styled_base);
|
|
4
|
+
let _mui_material_Typography = require("@mui/material/Typography");
|
|
5
|
+
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
6
|
+
let _mui_material_ListItem = require("@mui/material/ListItem");
|
|
7
|
+
_mui_material_ListItem = require_runtime.__toESM(_mui_material_ListItem);
|
|
4
8
|
//#region src/components/Engines/styles.ts
|
|
5
|
-
function
|
|
9
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
6
10
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
7
11
|
}
|
|
8
|
-
var
|
|
12
|
+
var StyledText = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_Typography.default, process.env.NODE_ENV === "production" ? { target: "exjcs7c1" } : {
|
|
9
13
|
target: "exjcs7c1",
|
|
10
14
|
label: "StyledText"
|
|
11
|
-
})((
|
|
12
|
-
fontWeight:
|
|
15
|
+
})((props) => ({
|
|
16
|
+
fontWeight: props.theme.fontWeight.bold,
|
|
13
17
|
textTransform: "capitalize"
|
|
14
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNMEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */")
|
|
18
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNMEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */");
|
|
19
|
+
var EngineListItem = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_ListItem.default, process.env.NODE_ENV === "production" ? { target: "exjcs7c0" } : {
|
|
15
20
|
target: "exjcs7c0",
|
|
16
21
|
label: "EngineListItem"
|
|
17
22
|
})(process.env.NODE_ENV === "production" ? {
|
|
@@ -20,9 +25,10 @@ var i = /* @__PURE__ */ e(t, process.env.NODE_ENV === "production" ? { target: "
|
|
|
20
25
|
} : {
|
|
21
26
|
name: "1hcx8jb",
|
|
22
27
|
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */",
|
|
23
|
-
toString:
|
|
28
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
29
|
});
|
|
25
30
|
//#endregion
|
|
26
|
-
|
|
31
|
+
exports.EngineListItem = EngineListItem;
|
|
32
|
+
exports.StyledText = StyledText;
|
|
27
33
|
|
|
28
34
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","EngineListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__"],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.js","names":["ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","EngineListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__"],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;;;;;;;;AAMA,IAAaG,aAAaC,iBAAAA,GAAAA,qBAAAA,SAAOH,yBAAAA,SAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAO,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAqBE,WAAW;CAC1EC,YAAYD,MAAMD,MAAME,WAAWC;CACnCC,eAAe;CAChB,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,s+BAAC;AAEH,IAAaC,iBAAiBX,iBAAAA,GAAAA,qBAAAA,SAAOJ,uBAAAA,SAAAA,QAAAA,IAAAA,aAAQ,eAAA,EAAAQ,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAE7C,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
|
2
|
+
import Typography from "@mui/material/Typography";
|
|
3
|
+
import ListItem from "@mui/material/ListItem";
|
|
4
|
+
//#region src/components/Engines/styles.ts
|
|
5
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
6
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
7
|
+
}
|
|
8
|
+
var StyledText = /* @__PURE__ */ _styled(Typography, process.env.NODE_ENV === "production" ? { target: "exjcs7c1" } : {
|
|
9
|
+
target: "exjcs7c1",
|
|
10
|
+
label: "StyledText"
|
|
11
|
+
})((props) => ({
|
|
12
|
+
fontWeight: props.theme.fontWeight.bold,
|
|
13
|
+
textTransform: "capitalize"
|
|
14
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNMEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */");
|
|
15
|
+
var EngineListItem = /* @__PURE__ */ _styled(ListItem, process.env.NODE_ENV === "production" ? { target: "exjcs7c0" } : {
|
|
16
|
+
target: "exjcs7c0",
|
|
17
|
+
label: "EngineListItem"
|
|
18
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
19
|
+
name: "1hcx8jb",
|
|
20
|
+
styles: "padding:0"
|
|
21
|
+
} : {
|
|
22
|
+
name: "1hcx8jb",
|
|
23
|
+
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */",
|
|
24
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { EngineListItem, StyledText };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.mjs","names":["ListItem","Typography","Theme","StyledText","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","bold","textTransform","EngineListItem","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__"],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;;;;AAMA,IAAaG,aAAaC,wBAAOH,YAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAO,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAqBE,WAAW;CAC1EC,YAAYD,MAAMD,MAAME,WAAWC;CACnCC,eAAe;CAChB,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,s+BAAC;AAEH,IAAaC,iBAAiBX,wBAAOJ,UAAAA,QAAAA,IAAAA,aAAQ,eAAA,EAAAQ,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAO,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAE7C,CAAC"}
|
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
let react = require("react");
|
|
4
|
+
react = require_runtime.__toESM(react);
|
|
3
5
|
//#region src/components/ErrorBoundary/ErrorBoundary.tsx
|
|
4
|
-
var
|
|
6
|
+
var ErrorBoundary = class extends react.Component {
|
|
5
7
|
state = {
|
|
6
|
-
hasError:
|
|
8
|
+
hasError: false,
|
|
7
9
|
error: null
|
|
8
10
|
};
|
|
9
|
-
static getDerivedStateFromError(
|
|
11
|
+
static getDerivedStateFromError(error) {
|
|
10
12
|
return {
|
|
11
|
-
hasError:
|
|
12
|
-
error
|
|
13
|
+
hasError: true,
|
|
14
|
+
error
|
|
13
15
|
};
|
|
14
16
|
}
|
|
15
|
-
componentDidCatch(
|
|
16
|
-
console.error("ErrorBoundary caught:",
|
|
17
|
+
componentDidCatch(error, info) {
|
|
18
|
+
console.error("ErrorBoundary caught:", error, info);
|
|
17
19
|
}
|
|
18
20
|
render() {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
const { hasError, error } = this.state;
|
|
22
|
+
const { children } = this.props;
|
|
23
|
+
if (hasError) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
21
24
|
role: "alert",
|
|
22
|
-
children: [/* @__PURE__ */
|
|
23
|
-
})
|
|
25
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", { children: "Something went wrong." }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", { children: error?.message })]
|
|
26
|
+
});
|
|
27
|
+
return children;
|
|
24
28
|
}
|
|
25
29
|
};
|
|
26
30
|
//#endregion
|
|
27
|
-
|
|
31
|
+
exports.default = ErrorBoundary;
|
|
28
32
|
|
|
29
33
|
//# sourceMappingURL=ErrorBoundary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","names":["ErrorInfo","ReactNode","React","Component","ErrorBoundaryProps","children","ErrorBoundaryState","hasError","error","Error","ErrorBoundary","state","getDerivedStateFromError","componentDidCatch","info","console","render","props","message"],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.js","names":["ErrorInfo","ReactNode","React","Component","ErrorBoundaryProps","children","ErrorBoundaryState","hasError","error","Error","ErrorBoundary","state","getDerivedStateFromError","componentDidCatch","info","console","render","props","message"],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;;;AAYA,IAAqBU,gBAArB,cAA2CP,MAAAA,UAAkD;CAC3FQ,QAA4B;EAC1BJ,UAAU;EACVC,OAAO;EACR;CAED,OAAOI,yBAAyBJ,OAAkC;AAChE,SAAO;GACLD,UAAU;GACVC;GACD;;CAGHK,kBAAkBL,OAAcM,MAAiB;AAE/CC,UAAQP,MAAM,yBAAyBA,OAAOM,KAAK;;CAGrDE,SAAS;EACP,MAAM,EAAET,UAAUC,UAAU,KAAKG;EACjC,MAAM,EAAEN,aAAa,KAAKY;AAE1B,MAAIV,SACF,QACE,iBAAA,GAAA,kBAAA,MAAC,OAAD;GAAK,MAAK;aAAV,CACE,iBAAA,GAAA,kBAAA,KAAC,MAAD,EAAA,UAAK,yBAA4B,CAAA,EACjC,iBAAA,GAAA,kBAAA,KAAC,OAAD,EAAA,UAAMC,OAAOU,SAAa,CAAA,CACtB;;AAIV,SAAOb"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Component } from "react";
|
|
3
|
+
//#region src/components/ErrorBoundary/ErrorBoundary.tsx
|
|
4
|
+
var ErrorBoundary = class extends Component {
|
|
5
|
+
state = {
|
|
6
|
+
hasError: false,
|
|
7
|
+
error: null
|
|
8
|
+
};
|
|
9
|
+
static getDerivedStateFromError(error) {
|
|
10
|
+
return {
|
|
11
|
+
hasError: true,
|
|
12
|
+
error
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
componentDidCatch(error, info) {
|
|
16
|
+
console.error("ErrorBoundary caught:", error, info);
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const { hasError, error } = this.state;
|
|
20
|
+
const { children } = this.props;
|
|
21
|
+
if (hasError) return /* @__PURE__ */ jsxs("div", {
|
|
22
|
+
role: "alert",
|
|
23
|
+
children: [/* @__PURE__ */ jsx("h1", { children: "Something went wrong." }), /* @__PURE__ */ jsx("pre", { children: error?.message })]
|
|
24
|
+
});
|
|
25
|
+
return children;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ErrorBoundary as default };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=ErrorBoundary.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.mjs","names":["ErrorInfo","ReactNode","React","Component","ErrorBoundaryProps","children","ErrorBoundaryState","hasError","error","Error","ErrorBoundary","state","getDerivedStateFromError","componentDidCatch","info","console","render","props","message"],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;AAYA,IAAqBU,gBAArB,cAA2CP,UAAkD;CAC3FQ,QAA4B;EAC1BJ,UAAU;EACVC,OAAO;EACR;CAED,OAAOI,yBAAyBJ,OAAkC;AAChE,SAAO;GACLD,UAAU;GACVC;GACD;;CAGHK,kBAAkBL,OAAcM,MAAiB;AAE/CC,UAAQP,MAAM,yBAAyBA,OAAOM,KAAK;;CAGrDE,SAAS;EACP,MAAM,EAAET,UAAUC,UAAU,KAAKG;EACjC,MAAM,EAAEN,aAAa,KAAKY;AAE1B,MAAIV,SACF,QACE,qBAAC,OAAD;GAAK,MAAK;aAAV,CACE,oBAAC,MAAD,EAAA,UAAK,yBAA4B,CAAA,EACjC,oBAAC,OAAD,EAAA,UAAMC,OAAOU,SAAa,CAAA,CACtB;;AAIV,SAAOb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
require("./ErrorBoundary.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./ErrorBoundary.mjs";
|