@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
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import CopyToClipBoard from "../CopyClipboard/CopyToClipBoard.mjs";
|
|
2
|
+
import "../CopyClipboard/index.mjs";
|
|
3
|
+
import { useSettings } from "../../providers/PersistenceSettingProvider/PersistenceSettingProvider.mjs";
|
|
4
|
+
import "../../providers/PersistenceSettingProvider/index.mjs";
|
|
5
|
+
import { Npm } from "../Icons/Managers/Npm2.mjs";
|
|
6
|
+
import { Pnpm } from "../Icons/Managers/Pnpm2.mjs";
|
|
7
|
+
import { Yarn } from "../Icons/Managers/Yarn2.mjs";
|
|
8
|
+
import "../Icons/index.mjs";
|
|
9
|
+
import _styled from "@emotion/styled/base";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import "react";
|
|
12
|
+
import { common } from "@mui/material/colors";
|
|
13
|
+
import Avatar from "@mui/material/Avatar";
|
|
14
|
+
import ListItem from "@mui/material/ListItem";
|
|
15
|
+
import ListItemText from "@mui/material/ListItemText";
|
|
16
|
+
//#region src/components/Install/InstallListItem.tsx
|
|
17
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
18
|
+
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).";
|
|
19
|
+
}
|
|
20
|
+
var InstallItem = /* @__PURE__ */ _styled(ListItem, process.env.NODE_ENV === "production" ? { target: "e19lng442" } : {
|
|
21
|
+
target: "e19lng442",
|
|
22
|
+
label: "InstallItem"
|
|
23
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
24
|
+
name: "zw46c6",
|
|
25
|
+
styles: "padding:0;:hover{background-color:transparent;}"
|
|
26
|
+
} : {
|
|
27
|
+
name: "zw46c6",
|
|
28
|
+
styles: "padding:0;:hover{background-color:transparent;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9JbnN0YWxsL0luc3RhbGxMaXN0SXRlbS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV29CIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9JbnN0YWxsL0luc3RhbGxMaXN0SXRlbS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90a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naW5zdGFsbExpc3RJdGVtLXlhcm4nfT5cbiAgICAgICAgICA8UGFja2FnZU1hbmdlckF2YXRhciBhbHQ9XCJ5YXJuXCIgc3g9e3sgYmdjb2xvcjogY29tbW9uLndoaXRlIH19PlxuICAgICAgICAgICAgPFlhcm4gLz5cbiAgICAgICAgICA8L1BhY2thZ2VNYW5nZXJBdmF0YXI+XG4gICAgICAgICAgPEluc3RhbGxMaXN0SXRlbVRleHRcbiAgICAgICAgICAgIHByaW1hcnk9e1xuICAgICAgICAgICAgICA8Q29weVRvQ2xpcEJvYXJkXG4gICAgICAgICAgICAgICAgZGF0YVRlc3RJZD1cImluc3RhbGxZYXJuXCJcbiAgICAgICAgICAgICAgICB0ZXh0PXtcbiAgICAgICAgICAgICAgICAgIGlzR2xvYmFsXG4gICAgICAgICAgICAgICAgICAgID8gYHlhcm4gJHtsb2NhbFNldHRpbmdzLnlhcm5Nb2Rlcm4gPyAnJyA6ICdnbG9iYWwnfSBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKFxuICAgICAgICAgICAgICAgICAgICAgICAgaXNHbG9iYWwsXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlVmVyc2lvbixcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VOYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgdHJ1ZVxuICAgICAgICAgICAgICAgICAgICAgICl9YFxuICAgICAgICAgICAgICAgICAgICA6IGB5YXJuIGFkZCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUsIHRydWUpfWBcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgdGl0bGU9e1xuICAgICAgICAgICAgICAgICAgaXNHbG9iYWxcbiAgICAgICAgICAgICAgICAgICAgPyBgeWFybiBnbG9iYWwgYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChcbiAgICAgICAgICAgICAgICAgICAgICAgIGlzR2xvYmFsLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZVZlcnNpb24sXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICAgICAgICAgICApfWBcbiAgICAgICAgICAgICAgICAgICAgOiBgeWFybiBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lLCB0cnVlKX1gXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvSW5zdGFsbEl0ZW0+XG4gICAgICApO1xuICAgIGNhc2UgRGVwZW5kZW5jeU1hbmFnZXIuUE5QTTpcbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxJbnN0YWxsSXRlbSBkYXRhLXRlc3RpZD17J2luc3RhbGxMaXN0SXRlbS1wbnBtJ30+XG4gICAgICAgICAgPFBhY2thZ2VNYW5nZXJBdmF0YXIgYWx0PXsncG5wbSd9IHN4PXt7IGJnY29sb3I6IGNvbW1vbi53aGl0ZSB9fT5cbiAgICAgICAgICAgIDxQbnBtIC8+XG4gICAgICAgICAgPC9QYWNrYWdlTWFuZ2VyQXZhdGFyPlxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1UZXh0XG4gICAgICAgICAgICBwcmltYXJ5PXtcbiAgICAgICAgICAgICAgPENvcHlUb0NsaXBCb2FyZFxuICAgICAgICAgICAgICAgIGRhdGFUZXN0SWQ9XCJpbnN0YWxsUG5wbVwiXG4gICAgICAgICAgICAgICAgdGV4dD17YHBucG0gaW5zdGFsbCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUpfWB9XG4gICAgICAgICAgICAgICAgdGl0bGU9e2BwbnBtIGluc3RhbGwgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lKX1gfVxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvSW5zdGFsbEl0ZW0+XG4gICAgICApO1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gbnVsbDtcbiAgfVxufTtcblxuZXhwb3J0IGRlZmF1bHQgSW5zdGFsbExpc3RJdGVtO1xuIl19 */",
|
|
29
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
30
|
+
});
|
|
31
|
+
var InstallListItemText = /* @__PURE__ */ _styled(ListItemText, process.env.NODE_ENV === "production" ? { target: "e19lng441" } : {
|
|
32
|
+
target: "e19lng441",
|
|
33
|
+
label: "InstallListItemText"
|
|
34
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
35
|
+
name: "42bvt",
|
|
36
|
+
styles: "padding:0 0 0 10px;margin:0"
|
|
37
|
+
} : {
|
|
38
|
+
name: "42bvt",
|
|
39
|
+
styles: "padding:0 0 0 10px;margin:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9JbnN0YWxsL0luc3RhbGxMaXN0SXRlbS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0I0QiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvSW5zdGFsbC9JbnN0YWxsTGlzdEl0ZW0udHN4Iiwic291cmN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UFSTjpcbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxJbnN0YWxsSXRlbSBkYXRhLXRlc3RpZD17J2luc3RhbGxMaXN0SXRlbS15YXJuJ30+XG4gICAgICAgICAgPFBhY2thZ2VNYW5nZXJBdmF0YXIgYWx0PVwieWFyblwiIHN4PXt7IGJnY29sb3I6IGNvbW1vbi53aGl0ZSB9fT5cbiAgICAgICAgICAgIDxZYXJuIC8+XG4gICAgICAgICAgPC9QYWNrYWdlTWFuZ2VyQXZhdGFyPlxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1UZXh0XG4gICAgICAgICAgICBwcmltYXJ5PXtcbiAgICAgICAgICAgICAgPENvcHlUb0NsaXBCb2FyZFxuICAgICAgICAgICAgICAgIGRhdGFUZXN0SWQ9XCJpbnN0YWxsWWFyblwiXG4gICAgICAgICAgICAgICAgdGV4dD17XG4gICAgICAgICAgICAgICAgICBpc0dsb2JhbFxuICAgICAgICAgICAgICAgICAgICA/IGB5YXJuICR7bG9jYWxTZXR0aW5ncy55YXJuTW9kZXJuID8gJycgOiAnZ2xvYmFsJ30gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChcbiAgICAgICAgICAgICAgICAgICAgICAgIGlzR2xvYmFsLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZVZlcnNpb24sXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICAgICAgICAgICApfWBcbiAgICAgICAgICAgICAgICAgICAgOiBgeWFybiBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lLCB0cnVlKX1gXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHRpdGxlPXtcbiAgICAgICAgICAgICAgICAgIGlzR2xvYmFsXG4gICAgICAgICAgICAgICAgICAgID8gYHlhcm4gZ2xvYmFsIGFkZCAke2dldEdsb2JhbEluc3RhbGwoXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0dsb2JhbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgKX1gXG4gICAgICAgICAgICAgICAgICAgIDogYHlhcm4gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSwgdHJ1ZSl9YFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAvPlxuICAgICAgICA8L0luc3RhbGxJdGVtPlxuICAgICAgKTtcbiAgICBjYXNlIERlcGVuZGVuY3lNYW5hZ2VyLlBOUE06XG4gICAgICByZXR1cm4gKFxuICAgICAgICA8SW5zdGFsbEl0ZW0gZGF0YS10ZXN0aWQ9eydpbnN0YWxsTGlzdEl0ZW0tcG5wbSd9PlxuICAgICAgICAgIDxQYWNrYWdlTWFuZ2VyQXZhdGFyIGFsdD17J3BucG0nfSBzeD17eyBiZ2NvbG9yOiBjb21tb24ud2hpdGUgfX0+XG4gICAgICAgICAgICA8UG5wbSAvPlxuICAgICAgICAgIDwvUGFja2FnZU1hbmdlckF2YXRhcj5cbiAgICAgICAgICA8SW5zdGFsbExpc3RJdGVtVGV4dFxuICAgICAgICAgICAgcHJpbWFyeT17XG4gICAgICAgICAgICAgIDxDb3B5VG9DbGlwQm9hcmRcbiAgICAgICAgICAgICAgICBkYXRhVGVzdElkPVwiaW5zdGFsbFBucG1cIlxuICAgICAgICAgICAgICAgIHRleHQ9e2BwbnBtIGluc3RhbGwgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lKX1gfVxuICAgICAgICAgICAgICAgIHRpdGxlPXtgcG5wbSBpbnN0YWxsICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSl9YH1cbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAvPlxuICAgICAgICA8L0luc3RhbGxJdGVtPlxuICAgICAgKTtcbiAgICBkZWZhdWx0OlxuICAgICAgcmV0dXJuIG51bGw7XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IEluc3RhbGxMaXN0SXRlbTtcbiJdfQ== */",
|
|
40
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
41
|
+
});
|
|
42
|
+
var PackageMangerAvatar = /* @__PURE__ */ _styled(Avatar, process.env.NODE_ENV === "production" ? { target: "e19lng440" } : {
|
|
43
|
+
target: "e19lng440",
|
|
44
|
+
label: "PackageMangerAvatar"
|
|
45
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
46
|
+
name: "19ijsa5",
|
|
47
|
+
styles: "background-color:transparent;padding:0;margin-left:0"
|
|
48
|
+
} : {
|
|
49
|
+
name: "19ijsa5",
|
|
50
|
+
styles: "background-color:transparent;padding:0;margin-left:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9JbnN0YWxsL0luc3RhbGxMaXN0SXRlbS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUI0QiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2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AgICAgIC8+XG4gICAgICAgIDwvSW5zdGFsbEl0ZW0+XG4gICAgICApO1xuICAgIGNhc2UgRGVwZW5kZW5jeU1hbmFnZXIuWUFSTjpcbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxJbnN0YWxsSXRlbSBkYXRhLXRlc3RpZD17J2luc3RhbGxMaXN0SXRlbS15YXJuJ30+XG4gICAgICAgICAgPFBhY2thZ2VNYW5nZXJBdmF0YXIgYWx0PVwieWFyblwiIHN4PXt7IGJnY29sb3I6IGNvbW1vbi53aGl0ZSB9fT5cbiAgICAgICAgICAgIDxZYXJuIC8+XG4gICAgICAgICAgPC9QYWNrYWdlTWFuZ2VyQXZhdGFyPlxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1UZXh0XG4gICAgICAgICAgICBwcmltYXJ5PXtcbiAgICAgICAgICAgICAgPENvcHlUb0NsaXBCb2FyZFxuICAgICAgICAgICAgICAgIGRhdGFUZXN0SWQ9XCJpbnN0YWxsWWFyblwiXG4gICAgICAgICAgICAgICAgdGV4dD17XG4gICAgICAgICAgICAgICAgICBpc0dsb2JhbFxuICAgICAgICAgICAgICAgICAgICA/IGB5YXJuICR7bG9jYWxTZXR0aW5ncy55YXJuTW9kZXJuID8gJycgOiAnZ2xvYmFsJ30gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChcbiAgICAgICAgICAgICAgICAgICAgICAgIGlzR2xvYmFsLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZVZlcnNpb24sXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICAgICAgICAgICApfWBcbiAgICAgICAgICAgICAgICAgICAgOiBgeWFybiBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lLCB0cnVlKX1gXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHRpdGxlPXtcbiAgICAgICAgICAgICAgICAgIGlzR2xvYmFsXG4gICAgICAgICAgICAgICAgICAgID8gYHlhcm4gZ2xvYmFsIGFkZCAke2dldEdsb2JhbEluc3RhbGwoXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0dsb2JhbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgKX1gXG4gICAgICAgICAgICAgICAgICAgIDogYHlhcm4gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSwgdHJ1ZSl9YFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAvPlxuICAgICAgICA8L0luc3RhbGxJdGVtPlxuICAgICAgKTtcbiAgICBjYXNlIERlcGVuZGVuY3lNYW5hZ2VyLlBOUE06XG4gICAgICByZXR1cm4gKFxuICAgICAgICA8SW5zdGFsbEl0ZW0gZGF0YS10ZXN0aWQ9eydpbnN0YWxsTGlzdEl0ZW0tcG5wbSd9PlxuICAgICAgICAgIDxQYWNrYWdlTWFuZ2VyQXZhdGFyIGFsdD17J3BucG0nfSBzeD17eyBiZ2NvbG9yOiBjb21tb24ud2hpdGUgfX0+XG4gICAgICAgICAgICA8UG5wbSAvPlxuICAgICAgICAgIDwvUGFja2FnZU1hbmdlckF2YXRhcj5cbiAgICAgICAgICA8SW5zdGFsbExpc3RJdGVtVGV4dFxuICAgICAgICAgICAgcHJpbWFyeT17XG4gICAgICAgICAgICAgIDxDb3B5VG9DbGlwQm9hcmRcbiAgICAgICAgICAgICAgICBkYXRhVGVzdElkPVwiaW5zdGFsbFBucG1cIlxuICAgICAgICAgICAgICAgIHRleHQ9e2BwbnBtIGluc3RhbGwgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lKX1gfVxuICAgICAgICAgICAgICAgIHRpdGxlPXtgcG5wbSBpbnN0YWxsICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSl9YH1cbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAvPlxuICAgICAgICA8L0luc3RhbGxJdGVtPlxuICAgICAgKTtcbiAgICBkZWZhdWx0OlxuICAgICAgcmV0dXJuIG51bGw7XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IEluc3RhbGxMaXN0SXRlbTtcbiJdfQ== */",
|
|
51
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
52
|
+
});
|
|
53
|
+
var DependencyManager = /* @__PURE__ */ function(DependencyManager) {
|
|
54
|
+
DependencyManager["NPM"] = "npm";
|
|
55
|
+
DependencyManager["YARN"] = "yarn";
|
|
56
|
+
DependencyManager["PNPM"] = "pnpm";
|
|
57
|
+
return DependencyManager;
|
|
58
|
+
}({});
|
|
59
|
+
function getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, isYarn = false) {
|
|
60
|
+
return (isGlobal ? `${isYarn ? "" : "-g"} ${packageVersion && !isLatest ? `${packageName}@${packageVersion}` : packageName}` : packageVersion && !isLatest ? `${packageName}@${packageVersion}` : packageName).trim();
|
|
61
|
+
}
|
|
62
|
+
var InstallListItem = ({ packageName, dependencyManager, packageVersion }) => {
|
|
63
|
+
const { localSettings } = useSettings();
|
|
64
|
+
const isLatest = localSettings[packageName]?.latest ?? false;
|
|
65
|
+
const isGlobal = localSettings[packageName]?.global ?? false;
|
|
66
|
+
switch (dependencyManager) {
|
|
67
|
+
case DependencyManager.NPM: return /* @__PURE__ */ jsxs(InstallItem, {
|
|
68
|
+
"data-testid": "installListItem-npm",
|
|
69
|
+
children: [/* @__PURE__ */ jsx(PackageMangerAvatar, {
|
|
70
|
+
alt: "npm",
|
|
71
|
+
sx: { bgcolor: common.white },
|
|
72
|
+
children: /* @__PURE__ */ jsx(Npm, {})
|
|
73
|
+
}), /* @__PURE__ */ jsx(InstallListItemText, { primary: /* @__PURE__ */ jsx(CopyToClipBoard, {
|
|
74
|
+
dataTestId: "installNpm",
|
|
75
|
+
text: `npm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`,
|
|
76
|
+
title: `npm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`
|
|
77
|
+
}) })]
|
|
78
|
+
});
|
|
79
|
+
case DependencyManager.YARN: return /* @__PURE__ */ jsxs(InstallItem, {
|
|
80
|
+
"data-testid": "installListItem-yarn",
|
|
81
|
+
children: [/* @__PURE__ */ jsx(PackageMangerAvatar, {
|
|
82
|
+
alt: "yarn",
|
|
83
|
+
sx: { bgcolor: common.white },
|
|
84
|
+
children: /* @__PURE__ */ jsx(Yarn, {})
|
|
85
|
+
}), /* @__PURE__ */ jsx(InstallListItemText, { primary: /* @__PURE__ */ jsx(CopyToClipBoard, {
|
|
86
|
+
dataTestId: "installYarn",
|
|
87
|
+
text: isGlobal ? `yarn ${localSettings.yarnModern ? "" : "global"} add ${getGlobalInstall(isGlobal, packageVersion, packageName, true)}` : `yarn add ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, true)}`,
|
|
88
|
+
title: isGlobal ? `yarn global add ${getGlobalInstall(isGlobal, packageVersion, packageName, true)}` : `yarn add ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, true)}`
|
|
89
|
+
}) })]
|
|
90
|
+
});
|
|
91
|
+
case DependencyManager.PNPM: return /* @__PURE__ */ jsxs(InstallItem, {
|
|
92
|
+
"data-testid": "installListItem-pnpm",
|
|
93
|
+
children: [/* @__PURE__ */ jsx(PackageMangerAvatar, {
|
|
94
|
+
alt: "pnpm",
|
|
95
|
+
sx: { bgcolor: common.white },
|
|
96
|
+
children: /* @__PURE__ */ jsx(Pnpm, {})
|
|
97
|
+
}), /* @__PURE__ */ jsx(InstallListItemText, { primary: /* @__PURE__ */ jsx(CopyToClipBoard, {
|
|
98
|
+
dataTestId: "installPnpm",
|
|
99
|
+
text: `pnpm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`,
|
|
100
|
+
title: `pnpm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`
|
|
101
|
+
}) })]
|
|
102
|
+
});
|
|
103
|
+
default: return null;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
//#endregion
|
|
107
|
+
export { DependencyManager, InstallListItem as default };
|
|
108
|
+
|
|
109
|
+
//# sourceMappingURL=InstallListItem.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstallListItem.mjs","names":["Avatar","ListItem","ListItemText","common","React","useSettings","CopyToClipBoard","Npm","Pnpm","Yarn","InstallItem","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","InstallListItemText","PackageMangerAvatar","DependencyManager","NPM","YARN","PNPM","Interface","packageName","dependencyManager","packageVersion","getGlobalInstall","isLatest","isGlobal","isYarn","trim","InstallListItem","FC","localSettings","latest","global","bgcolor","white","yarnModern"],"sources":["../../../src/components/Install/InstallListItem.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Avatar from '@mui/material/Avatar';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemText from '@mui/material/ListItemText';\nimport { common } from '@mui/material/colors';\nimport React from 'react';\n\nimport { useSettings } from '../../providers/PersistenceSettingProvider';\nimport CopyToClipBoard from '../CopyClipboard';\nimport { Npm, Pnpm, Yarn } from '../Icons';\n\nconst InstallItem = styled(ListItem)({\n padding: 0,\n ':hover': {\n backgroundColor: 'transparent',\n },\n});\n\nconst InstallListItemText = styled(ListItemText)({\n padding: '0 0 0 10px',\n margin: 0,\n});\n\nconst PackageMangerAvatar = styled(Avatar)({\n backgroundColor: 'transparent',\n padding: 0,\n marginLeft: 0,\n});\n\nexport enum DependencyManager {\n NPM = 'npm',\n YARN = 'yarn',\n PNPM = 'pnpm',\n}\n\ninterface Interface {\n packageName: string;\n dependencyManager: DependencyManager;\n packageVersion?: string;\n}\n\nexport function getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, isYarn = false) {\n const name = isGlobal\n ? `${isYarn ? '' : '-g'} ${packageVersion && !isLatest ? `${packageName}@${packageVersion}` : packageName}`\n : packageVersion && !isLatest\n ? `${packageName}@${packageVersion}`\n : packageName;\n\n return name.trim();\n}\n\nconst InstallListItem: React.FC<Interface> = ({\n packageName,\n dependencyManager,\n packageVersion,\n}) => {\n const { localSettings } = useSettings();\n // const theme: Theme = useTheme();\n const isLatest = localSettings[packageName]?.latest ?? false;\n const isGlobal = localSettings[packageName]?.global ?? false;\n switch (dependencyManager) {\n case DependencyManager.NPM:\n return (\n <InstallItem data-testid={'installListItem-npm'}>\n <PackageMangerAvatar alt=\"npm\" sx={{ bgcolor: common.white }}>\n <Npm />\n </PackageMangerAvatar>\n <InstallListItemText\n primary={\n <CopyToClipBoard\n dataTestId=\"installNpm\"\n text={`npm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`}\n title={`npm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`}\n />\n }\n />\n </InstallItem>\n );\n case DependencyManager.YARN:\n return (\n <InstallItem data-testid={'installListItem-yarn'}>\n <PackageMangerAvatar alt=\"yarn\" sx={{ bgcolor: common.white }}>\n <Yarn />\n </PackageMangerAvatar>\n <InstallListItemText\n primary={\n <CopyToClipBoard\n dataTestId=\"installYarn\"\n text={\n isGlobal\n ? `yarn ${localSettings.yarnModern ? '' : 'global'} add ${getGlobalInstall(\n isGlobal,\n packageVersion,\n packageName,\n true\n )}`\n : `yarn add ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, true)}`\n }\n title={\n isGlobal\n ? `yarn global add ${getGlobalInstall(\n isGlobal,\n packageVersion,\n packageName,\n true\n )}`\n : `yarn add ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, true)}`\n }\n />\n }\n />\n </InstallItem>\n );\n case DependencyManager.PNPM:\n return (\n <InstallItem data-testid={'installListItem-pnpm'}>\n <PackageMangerAvatar alt={'pnpm'} sx={{ bgcolor: common.white }}>\n <Pnpm />\n </PackageMangerAvatar>\n <InstallListItemText\n primary={\n <CopyToClipBoard\n dataTestId=\"installPnpm\"\n text={`pnpm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`}\n title={`pnpm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`}\n />\n }\n />\n </InstallItem>\n );\n default:\n return null;\n }\n};\n\nexport default InstallListItem;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,IAAMU,cAAcC,wBAAOV,UAAAA,QAAAA,IAAAA,aAAQ,eAAA,EAAAc,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAC,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAKnC,CAAC;AAEF,IAAMC,sBAAsBV,wBAAOT,cAAAA,QAAAA,IAAAA,aAAY,eAAA,EAAAa,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAC,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAG/C,CAAC;AAEF,IAAME,sBAAsBX,wBAAOX,QAAAA,QAAAA,IAAAA,aAAM,eAAA,EAAAe,QAAA,aAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CA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AA;IACc,CAAA,EACrB,oBAAC,qBAAD,EACE,SACE,oBAAC,iBAAD;IACE,YAAW;IACX,MACET,WACI,QAAQK,cAAcK,aAAa,KAAK,SAAQ,OAAQZ,iBACtDE,UACAH,gBACAF,aACA,KACD,KACD,YAAYG,iBAAiBC,UAAUC,UAAUH,gBAAgBF,aAAa,KAAK;IAEzF,OACEK,WACI,mBAAmBF,iBACjBE,UACAH,gBACAF,aACA,KACD,KACD,YAAYG,iBAAiBC,UAAUC,UAAUH,gBAAgBF,aAAa,KAAK;IAG7F,CAAA,EAAC,CAAA,CAES;;EAElB,KAAKL,kBAAkBG,KACrB,QACE,qBAAC,aAAD;GAAa,eAAa;aAA1B,CACE,oBAAC,qBAAD;IAAqB,KAAK;IAAQ,IAAI,EAAEe,SAAStC,OAAOuC,OAAO;cAC7D,oBAAC,MAAD,EAAK,CAAA;IACc,CAAA,EACrB,oBAAC,qBAAD,EACE,SACE,oBAAC,iBAAD;IACE,YAAW;IACX,MAAM,gBAAgBX,iBAAiBC,UAAUC,UAAUH,gBAAgBF,YAAY;IACvF,OAAO,gBAAgBG,iBAAiBC,UAAUC,UAAUH,gBAAgBF,YAAY;IAE5F,CAAA,EAAC,CAAA,CAES;;EAElB,QACE,QAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
require("./Install.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Install.mjs";
|
|
@@ -1,27 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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);
|
|
5
|
+
let _mui_material_ListItem = require("@mui/material/ListItem");
|
|
6
|
+
_mui_material_ListItem = require_runtime.__toESM(_mui_material_ListItem);
|
|
7
|
+
let _mui_material_Chip = require("@mui/material/Chip");
|
|
8
|
+
_mui_material_Chip = require_runtime.__toESM(_mui_material_Chip);
|
|
5
9
|
//#region src/components/Keywords/KeywordListItems.tsx
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
var KeywordListItems = ({ keywords }) => {
|
|
11
|
+
const keywordList = typeof keywords === "string" ? keywords.replace(/,/g, " ").split(" ") : keywords;
|
|
12
|
+
if (!keywordList) return null;
|
|
13
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_ListItem.default, {
|
|
9
14
|
sx: {
|
|
10
15
|
px: 0,
|
|
11
16
|
mt: 0,
|
|
12
17
|
flexWrap: "wrap"
|
|
13
18
|
},
|
|
14
|
-
children:
|
|
15
|
-
label:
|
|
19
|
+
children: keywordList.sort().map((keyword, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_Chip.default, {
|
|
20
|
+
label: keyword,
|
|
16
21
|
size: "small",
|
|
17
22
|
sx: {
|
|
18
23
|
mt: .5,
|
|
19
24
|
mr: .5
|
|
20
25
|
}
|
|
21
|
-
},
|
|
22
|
-
})
|
|
26
|
+
}, index))
|
|
27
|
+
});
|
|
23
28
|
};
|
|
24
29
|
//#endregion
|
|
25
|
-
|
|
30
|
+
exports.default = KeywordListItems;
|
|
26
31
|
|
|
27
32
|
//# sourceMappingURL=KeywordListItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeywordListItems.js","names":["Chip","ListItem","React","KeywordListItems","FC","keywords","keywordList","replace","split","px","mt","flexWrap","sort","map","keyword","index","mr"],"sources":["../../../src/components/Keywords/KeywordListItems.tsx"],"sourcesContent":["import Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport React from 'react';\n\nconst KeywordListItems: React.FC<{ keywords: undefined | string | string[] }> = ({ keywords }) => {\n const keywordList =\n typeof keywords === 'string' ? keywords.replace(/,/g, ' ').split(' ') : keywords;\n\n if (!keywordList) {\n return null;\n }\n\n return (\n <ListItem sx={{ px: 0, mt: 0, flexWrap: 'wrap' }}>\n {keywordList.sort().map((keyword, index) => (\n <Chip key={index} label={keyword} size=\"small\" sx={{ mt: 0.5, mr: 0.5 }} />\n ))}\n </ListItem>\n );\n};\n\nexport default KeywordListItems;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeywordListItems.js","names":["Chip","ListItem","React","KeywordListItems","FC","keywords","keywordList","replace","split","px","mt","flexWrap","sort","map","keyword","index","mr"],"sources":["../../../src/components/Keywords/KeywordListItems.tsx"],"sourcesContent":["import Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport React from 'react';\n\nconst KeywordListItems: React.FC<{ keywords: undefined | string | string[] }> = ({ keywords }) => {\n const keywordList =\n typeof keywords === 'string' ? keywords.replace(/,/g, ' ').split(' ') : keywords;\n\n if (!keywordList) {\n return null;\n }\n\n return (\n <ListItem sx={{ px: 0, mt: 0, flexWrap: 'wrap' }}>\n {keywordList.sort().map((keyword, index) => (\n <Chip key={index} label={keyword} size=\"small\" sx={{ mt: 0.5, mr: 0.5 }} />\n ))}\n </ListItem>\n );\n};\n\nexport default KeywordListItems;\n"],"mappings":";;;;;;;;;AAIA,IAAMG,oBAA2E,EAAEE,eAAe;CAChG,MAAMC,cACJ,OAAOD,aAAa,WAAWA,SAASE,QAAQ,MAAM,IAAI,CAACC,MAAM,IAAI,GAAGH;AAE1E,KAAI,CAACC,YACH,QAAO;AAGT,QACE,iBAAA,GAAA,kBAAA,KAAC,uBAAA,SAAD;EAAU,IAAI;GAAEG,IAAI;GAAGC,IAAI;GAAGC,UAAU;GAAQ;YAC7CL,YAAYM,MAAM,CAACC,KAAKC,SAASC,UAChC,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;GAAkB,OAAOD;GAAS,MAAK;GAAQ,IAAI;IAAEJ,IAAI;IAAKM,IAAI;IAAK;GACxE,EADYD,MACZ,CAAC;EACO,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import ListItem from "@mui/material/ListItem";
|
|
4
|
+
import Chip from "@mui/material/Chip";
|
|
5
|
+
//#region src/components/Keywords/KeywordListItems.tsx
|
|
6
|
+
var KeywordListItems = ({ keywords }) => {
|
|
7
|
+
const keywordList = typeof keywords === "string" ? keywords.replace(/,/g, " ").split(" ") : keywords;
|
|
8
|
+
if (!keywordList) return null;
|
|
9
|
+
return /* @__PURE__ */ jsx(ListItem, {
|
|
10
|
+
sx: {
|
|
11
|
+
px: 0,
|
|
12
|
+
mt: 0,
|
|
13
|
+
flexWrap: "wrap"
|
|
14
|
+
},
|
|
15
|
+
children: keywordList.sort().map((keyword, index) => /* @__PURE__ */ jsx(Chip, {
|
|
16
|
+
label: keyword,
|
|
17
|
+
size: "small",
|
|
18
|
+
sx: {
|
|
19
|
+
mt: .5,
|
|
20
|
+
mr: .5
|
|
21
|
+
}
|
|
22
|
+
}, index))
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { KeywordListItems as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=KeywordListItems.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeywordListItems.mjs","names":["Chip","ListItem","React","KeywordListItems","FC","keywords","keywordList","replace","split","px","mt","flexWrap","sort","map","keyword","index","mr"],"sources":["../../../src/components/Keywords/KeywordListItems.tsx"],"sourcesContent":["import Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport React from 'react';\n\nconst KeywordListItems: React.FC<{ keywords: undefined | string | string[] }> = ({ keywords }) => {\n const keywordList =\n typeof keywords === 'string' ? keywords.replace(/,/g, ' ').split(' ') : keywords;\n\n if (!keywordList) {\n return null;\n }\n\n return (\n <ListItem sx={{ px: 0, mt: 0, flexWrap: 'wrap' }}>\n {keywordList.sort().map((keyword, index) => (\n <Chip key={index} label={keyword} size=\"small\" sx={{ mt: 0.5, mr: 0.5 }} />\n ))}\n </ListItem>\n );\n};\n\nexport default KeywordListItems;\n"],"mappings":";;;;;AAIA,IAAMG,oBAA2E,EAAEE,eAAe;CAChG,MAAMC,cACJ,OAAOD,aAAa,WAAWA,SAASE,QAAQ,MAAM,IAAI,CAACC,MAAM,IAAI,GAAGH;AAE1E,KAAI,CAACC,YACH,QAAO;AAGT,QACE,oBAAC,UAAD;EAAU,IAAI;GAAEG,IAAI;GAAGC,IAAI;GAAGC,UAAU;GAAQ;YAC7CL,YAAYM,MAAM,CAACC,KAAKC,SAASC,UAChC,oBAAC,MAAD;GAAkB,OAAOD;GAAS,MAAK;GAAQ,IAAI;IAAEJ,IAAI;IAAKM,IAAI;IAAK;GACxE,EADYD,MACZ,CAAC;EACO,CAAA"}
|
|
@@ -1,27 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
+
const require_KeywordListItems = require("./KeywordListItems.js");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_runtime.__toESM(react);
|
|
6
|
+
let _mui_material_styles = require("@mui/material/styles");
|
|
7
|
+
let react_i18next = require("react-i18next");
|
|
8
|
+
let _mui_material_List = require("@mui/material/List");
|
|
9
|
+
_mui_material_List = require_runtime.__toESM(_mui_material_List);
|
|
10
|
+
let _mui_material_Typography = require("@mui/material/Typography");
|
|
11
|
+
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
8
12
|
//#region src/components/Keywords/Keywords.tsx
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
var Keywords = ({ packageMeta }) => {
|
|
14
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
15
|
+
const theme = (0, _mui_material_styles.useTheme)();
|
|
16
|
+
if (!packageMeta?.latest?.keywords) return null;
|
|
17
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_List.default, {
|
|
12
18
|
"data-testid": "keyword-list",
|
|
13
|
-
subheader: /* @__PURE__ */
|
|
19
|
+
subheader: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_Typography.default, {
|
|
14
20
|
sx: {
|
|
15
|
-
fontWeight:
|
|
21
|
+
fontWeight: theme.fontWeight.bold,
|
|
16
22
|
textTransform: "capitalize"
|
|
17
23
|
},
|
|
18
24
|
variant: "subtitle1",
|
|
19
|
-
children:
|
|
25
|
+
children: t("sidebar.keywords.title")
|
|
20
26
|
}),
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
-
})
|
|
27
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_KeywordListItems.default, { keywords: packageMeta?.latest?.keywords })
|
|
28
|
+
});
|
|
23
29
|
};
|
|
24
30
|
//#endregion
|
|
25
|
-
|
|
31
|
+
exports.default = Keywords;
|
|
26
32
|
|
|
27
33
|
//# sourceMappingURL=Keywords.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Keywords.js","names":["List","Typography","useTheme","React","useTranslation","Theme","PackageMetaInterface","KeywordListItems","Keywords","FC","packageMeta","t","theme","latest","keywords","fontWeight","bold","textTransform"],"sources":["../../../src/components/Keywords/Keywords.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport Typography from '@mui/material/Typography';\nimport { useTheme } from '@mui/material/styles';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport KeywordListItems from './KeywordListItems';\n\nconst Keywords: React.FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n const theme: Theme = useTheme();\n\n if (!packageMeta?.latest?.keywords) {\n return null;\n }\n\n return (\n <List\n data-testid=\"keyword-list\"\n subheader={\n <Typography\n sx={{ fontWeight: theme.fontWeight.bold, textTransform: 'capitalize' }}\n variant=\"subtitle1\"\n >\n {t('sidebar.keywords.title')}\n </Typography>\n }\n >\n <KeywordListItems keywords={packageMeta?.latest?.keywords} />\n </List>\n );\n};\n\nexport default Keywords;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Keywords.js","names":["List","Typography","useTheme","React","useTranslation","Theme","PackageMetaInterface","KeywordListItems","Keywords","FC","packageMeta","t","theme","latest","keywords","fontWeight","bold","textTransform"],"sources":["../../../src/components/Keywords/Keywords.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport Typography from '@mui/material/Typography';\nimport { useTheme } from '@mui/material/styles';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport KeywordListItems from './KeywordListItems';\n\nconst Keywords: React.FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n const theme: Theme = useTheme();\n\n if (!packageMeta?.latest?.keywords) {\n return null;\n }\n\n return (\n <List\n data-testid=\"keyword-list\"\n subheader={\n <Typography\n sx={{ fontWeight: theme.fontWeight.bold, textTransform: 'capitalize' }}\n variant=\"subtitle1\"\n >\n {t('sidebar.keywords.title')}\n </Typography>\n }\n >\n <KeywordListItems keywords={packageMeta?.latest?.keywords} />\n </List>\n );\n};\n\nexport default Keywords;\n"],"mappings":";;;;;;;;;;;;AAUA,IAAMQ,YAA6D,EAAEE,kBAAkB;CACrF,MAAM,EAAEC,OAAAA,GAAAA,cAAAA,iBAAsB;CAC9B,MAAMC,SAAAA,GAAAA,qBAAAA,WAAyB;AAE/B,KAAI,CAACF,aAAaG,QAAQC,SACxB,QAAO;AAGT,QACE,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;EACE,eAAY;EACZ,WACE,iBAAA,GAAA,kBAAA,KAAC,yBAAA,SAAD;GACE,IAAI;IAAEC,YAAYH,MAAMG,WAAWC;IAAMC,eAAe;IAAc;GACtE,SAAQ;aAEPN,EAAE,yBAAyB;GAEhC,CAAA;YAEA,iBAAA,GAAA,kBAAA,KAAC,yBAAA,SAAD,EAAkB,UAAUD,aAAaG,QAAQC,UAAS,CAAA;EACrD,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import KeywordListItems from "./KeywordListItems.mjs";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { useTheme } from "@mui/material/styles";
|
|
5
|
+
import { useTranslation } from "react-i18next";
|
|
6
|
+
import List from "@mui/material/List";
|
|
7
|
+
import Typography from "@mui/material/Typography";
|
|
8
|
+
//#region src/components/Keywords/Keywords.tsx
|
|
9
|
+
var Keywords = ({ packageMeta }) => {
|
|
10
|
+
const { t } = useTranslation();
|
|
11
|
+
const theme = useTheme();
|
|
12
|
+
if (!packageMeta?.latest?.keywords) return null;
|
|
13
|
+
return /* @__PURE__ */ jsx(List, {
|
|
14
|
+
"data-testid": "keyword-list",
|
|
15
|
+
subheader: /* @__PURE__ */ jsx(Typography, {
|
|
16
|
+
sx: {
|
|
17
|
+
fontWeight: theme.fontWeight.bold,
|
|
18
|
+
textTransform: "capitalize"
|
|
19
|
+
},
|
|
20
|
+
variant: "subtitle1",
|
|
21
|
+
children: t("sidebar.keywords.title")
|
|
22
|
+
}),
|
|
23
|
+
children: /* @__PURE__ */ jsx(KeywordListItems, { keywords: packageMeta?.latest?.keywords })
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Keywords as default };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=Keywords.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Keywords.mjs","names":["List","Typography","useTheme","React","useTranslation","Theme","PackageMetaInterface","KeywordListItems","Keywords","FC","packageMeta","t","theme","latest","keywords","fontWeight","bold","textTransform"],"sources":["../../../src/components/Keywords/Keywords.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport Typography from '@mui/material/Typography';\nimport { useTheme } from '@mui/material/styles';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport KeywordListItems from './KeywordListItems';\n\nconst Keywords: React.FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n const theme: Theme = useTheme();\n\n if (!packageMeta?.latest?.keywords) {\n return null;\n }\n\n return (\n <List\n data-testid=\"keyword-list\"\n subheader={\n <Typography\n sx={{ fontWeight: theme.fontWeight.bold, textTransform: 'capitalize' }}\n variant=\"subtitle1\"\n >\n {t('sidebar.keywords.title')}\n </Typography>\n }\n >\n <KeywordListItems keywords={packageMeta?.latest?.keywords} />\n </List>\n );\n};\n\nexport default Keywords;\n"],"mappings":";;;;;;;;AAUA,IAAMQ,YAA6D,EAAEE,kBAAkB;CACrF,MAAM,EAAEC,MAAMP,gBAAgB;CAC9B,MAAMQ,QAAeV,UAAU;AAE/B,KAAI,CAACQ,aAAaG,QAAQC,SACxB,QAAO;AAGT,QACE,oBAAC,MAAD;EACE,eAAY;EACZ,WACE,oBAAC,YAAD;GACE,IAAI;IAAEC,YAAYH,MAAMG,WAAWC;IAAMC,eAAe;IAAc;GACtE,SAAQ;aAEPN,EAAE,yBAAyB;GAEhC,CAAA;YAEA,oBAAC,kBAAD,EAAkB,UAAUD,aAAaG,QAAQC,UAAS,CAAA;EACrD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
require("./Keywords.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Keywords.mjs";
|
|
@@ -1,20 +1,26 @@
|
|
|
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 react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
react = require_runtime.__toESM(react);
|
|
4
7
|
//#region src/components/Label/Label.tsx
|
|
5
|
-
var
|
|
8
|
+
var Wrapper = /* @__PURE__ */ (0, _emotion_styled_base.default)("div", process.env.NODE_ENV === "production" ? { target: "erabg9d0" } : {
|
|
6
9
|
target: "erabg9d0",
|
|
7
10
|
label: "Wrapper"
|
|
8
|
-
})((
|
|
9
|
-
fontWeight:
|
|
10
|
-
textTransform:
|
|
11
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9MYWJlbC9MYWJlbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0JnQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvTGFiZWwvTGFiZWwudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBGb250V2VpZ2h0LCBUaGVtZSB9IGZyb20gJy4uLy4uLyc7XG5cbmludGVyZmFjZSBQcm9wcyB7XG4gIHRleHQ6IHN0cmluZztcbiAgY2FwaXRhbGl6ZT86IGJvb2xlYW47XG4gIHdlaWdodD86IEZvbnRXZWlnaHQ7XG59XG5cbmludGVyZmFjZSBXcmFwcGVyUHJvcHMge1xuICBjYXBpdGFsaXplOiBib29sZWFuO1xuICB3ZWlnaHQ6IEZvbnRXZWlnaHQ7XG59XG5cbmNvbnN0IFdyYXBwZXIgPSBzdHlsZWQoJ2RpdicpPFdyYXBwZXJQcm9wcyAmIHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGZvbnRXZWlnaHQ6IHByb3BzLnRoZW1lLmZvbnRXZWlnaHRbcHJvcHMud2VpZ2h0XSxcbiAgdGV4dFRyYW5zZm9ybTogcHJvcHMuY2FwaXRhbGl6ZSA/ICdjYXBpdGFsaXplJyA6ICdub25lJyxcbn0pKTtcblxuY29uc3QgTGFiZWw6IFJlYWN0LkZDPFByb3BzPiA9ICh7XG4gIHRleHQgPSAnJyxcbiAgY2FwaXRhbGl6ZSA9IGZhbHNlLFxuICB3ZWlnaHQgPSAncmVndWxhcicsXG4gIC4uLnByb3BzXG59KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPFdyYXBwZXIgY2FwaXRhbGl6ZT17Y2FwaXRhbGl6ZX0gd2VpZ2h0PXt3ZWlnaHR9IHsuLi5wcm9wc30+XG4gICAgICB7dGV4dH1cbiAgICA8L1dyYXBwZXI+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBMYWJlbDtcbiJdfQ== */")
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
})((props) => ({
|
|
12
|
+
fontWeight: props.theme.fontWeight[props.weight],
|
|
13
|
+
textTransform: props.capitalize ? "capitalize" : "none"
|
|
14
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9MYWJlbC9MYWJlbC50c3giXSwibmFtZXMiOltdLCJtYXBw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3ZWlnaHR9IHsuLi5wcm9wc30+XG4gICAgICB7dGV4dH1cbiAgICA8L1dyYXBwZXI+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBMYWJlbDtcbiJdfQ== */");
|
|
15
|
+
var Label = ({ text = "", capitalize = false, weight = "regular", ...props }) => {
|
|
16
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Wrapper, {
|
|
17
|
+
capitalize,
|
|
18
|
+
weight,
|
|
19
|
+
...props,
|
|
20
|
+
children: text
|
|
21
|
+
});
|
|
22
|
+
};
|
|
17
23
|
//#endregion
|
|
18
|
-
|
|
24
|
+
exports.default = Label;
|
|
19
25
|
|
|
20
26
|
//# sourceMappingURL=Label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.js","names":["React","FontWeight","Theme","Props","text","capitalize","weight","WrapperProps","Wrapper","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","textTransform","Label","FC"],"sources":["../../../src/components/Label/Label.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport React from 'react';\n\nimport type { FontWeight, Theme } from '../../';\n\ninterface Props {\n text: string;\n capitalize?: boolean;\n weight?: FontWeight;\n}\n\ninterface WrapperProps {\n capitalize: boolean;\n weight: FontWeight;\n}\n\nconst Wrapper = styled('div')<WrapperProps & { theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight[props.weight],\n textTransform: props.capitalize ? 'capitalize' : 'none',\n}));\n\nconst Label: React.FC<Props> = ({\n text = '',\n capitalize = false,\n weight = 'regular',\n ...props\n}) => {\n return (\n <Wrapper capitalize={capitalize} weight={weight} {...props}>\n {text}\n </Wrapper>\n );\n};\n\nexport default Label;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Label.js","names":["React","FontWeight","Theme","Props","text","capitalize","weight","WrapperProps","Wrapper","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","textTransform","Label","FC"],"sources":["../../../src/components/Label/Label.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport React from 'react';\n\nimport type { FontWeight, Theme } from '../../';\n\ninterface Props {\n text: string;\n capitalize?: boolean;\n weight?: FontWeight;\n}\n\ninterface WrapperProps {\n capitalize: boolean;\n weight: FontWeight;\n}\n\nconst Wrapper = styled('div')<WrapperProps & { theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight[props.weight],\n textTransform: props.capitalize ? 'capitalize' : 'none',\n}));\n\nconst Label: React.FC<Props> = ({\n text = '',\n capitalize = false,\n weight = 'regular',\n ...props\n}) => {\n return (\n <Wrapper capitalize={capitalize} weight={weight} {...props}>\n {text}\n </Wrapper>\n );\n};\n\nexport default Label;\n"],"mappings":";;;;;;;AAgBA,IAAMQ,UAAUC,iBAAAA,GAAAA,qBAAAA,SAAO,OAAA,QAAA,IAAA,aAAK,eAAA,EAAAI,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAoCE,WAAW;CAC1EC,YAAYD,MAAMD,MAAME,WAAWD,MAAMV;CACzCY,eAAeF,MAAMX,aAAa,eAAe;CAClD,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,05CAAC;AAEH,IAAMc,SAA0B,EAC9Bf,OAAO,IACPC,aAAa,OACbC,SAAS,WACT,GAAGU,YACC;AACJ,QACE,iBAAA,GAAA,kBAAA,KAAC,SAAD;EAAqBX;EAAoBC;EAAQ,GAAIU;YAClDZ;EACO,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
//#region src/components/Label/Label.tsx
|
|
5
|
+
var Wrapper = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? { target: "erabg9d0" } : {
|
|
6
|
+
target: "erabg9d0",
|
|
7
|
+
label: "Wrapper"
|
|
8
|
+
})((props) => ({
|
|
9
|
+
fontWeight: props.theme.fontWeight[props.weight],
|
|
10
|
+
textTransform: props.capitalize ? "capitalize" : "none"
|
|
11
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9MYWJlbC9MYWJlbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0JnQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvTGFiZWwvTGFiZWwudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBGb250V2VpZ2h0LCBUaGVtZSB9IGZyb20gJy4uLy4uLyc7XG5cbmludGVyZmFjZSBQcm9wcyB7XG4gIHRleHQ6IHN0cmluZztcbiAgY2FwaXRhbGl6ZT86IGJvb2xlYW47XG4gIHdlaWdodD86IEZvbnRXZWlnaHQ7XG59XG5cbmludGVyZmFjZSBXcmFwcGVyUHJvcHMge1xuICBjYXBpdGFsaXplOiBib29sZWFuO1xuICB3ZWlnaHQ6IEZvbnRXZWlnaHQ7XG59XG5cbmNvbnN0IFdyYXBwZXIgPSBzdHlsZWQoJ2RpdicpPFdyYXBwZXJQcm9wcyAmIHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGZvbnRXZWlnaHQ6IHByb3BzLnRoZW1lLmZvbnRXZWlnaHRbcHJvcHMud2VpZ2h0XSxcbiAgdGV4dFRyYW5zZm9ybTogcHJvcHMuY2FwaXRhbGl6ZSA/ICdjYXBpdGFsaXplJyA6ICdub25lJyxcbn0pKTtcblxuY29uc3QgTGFiZWw6IFJlYWN0LkZDPFByb3BzPiA9ICh7XG4gIHRleHQgPSAnJyxcbiAgY2FwaXRhbGl6ZSA9IGZhbHNlLFxuICB3ZWlnaHQgPSAncmVndWxhcicsXG4gIC4uLnByb3BzXG59KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPFdyYXBwZXIgY2FwaXRhbGl6ZT17Y2FwaXRhbGl6ZX0gd2VpZ2h0PXt3ZWlnaHR9IHsuLi5wcm9wc30+XG4gICAgICB7dGV4dH1cbiAgICA8L1dyYXBwZXI+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBMYWJlbDtcbiJdfQ== */");
|
|
12
|
+
var Label = ({ text = "", capitalize = false, weight = "regular", ...props }) => {
|
|
13
|
+
return /* @__PURE__ */ jsx(Wrapper, {
|
|
14
|
+
capitalize,
|
|
15
|
+
weight,
|
|
16
|
+
...props,
|
|
17
|
+
children: text
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Label as default };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=Label.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.mjs","names":["React","FontWeight","Theme","Props","text","capitalize","weight","WrapperProps","Wrapper","_styled","process","env","NODE_ENV","target","label","theme","props","fontWeight","textTransform","Label","FC"],"sources":["../../../src/components/Label/Label.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport React from 'react';\n\nimport type { FontWeight, Theme } from '../../';\n\ninterface Props {\n text: string;\n capitalize?: boolean;\n weight?: FontWeight;\n}\n\ninterface WrapperProps {\n capitalize: boolean;\n weight: FontWeight;\n}\n\nconst Wrapper = styled('div')<WrapperProps & { theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight[props.weight],\n textTransform: props.capitalize ? 'capitalize' : 'none',\n}));\n\nconst Label: React.FC<Props> = ({\n text = '',\n capitalize = false,\n weight = 'regular',\n ...props\n}) => {\n return (\n <Wrapper capitalize={capitalize} weight={weight} {...props}>\n {text}\n </Wrapper>\n );\n};\n\nexport default Label;\n"],"mappings":";;;;AAgBA,IAAMQ,UAAUC,wBAAO,OAAA,QAAA,IAAA,aAAK,eAAA,EAAAI,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,EAAoCE,WAAW;CAC1EC,YAAYD,MAAMD,MAAME,WAAWD,MAAMV;CACzCY,eAAeF,MAAMX,aAAa,eAAe;CAClD,GAAA,QAAA,IAAA,aAAC,eAAA,KAAA,05CAAC;AAEH,IAAMc,SAA0B,EAC9Bf,OAAO,IACPC,aAAa,OACbC,SAAS,WACT,GAAGU,YACC;AACJ,QACE,oBAAC,SAAD;EAAqBX;EAAoBC;EAAQ,GAAIU;YAClDZ;EACO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
require("./Label.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Label.mjs";
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
react = require_runtime.__toESM(react);
|
|
7
|
+
let react_router = require("react-router");
|
|
8
|
+
let _mui_material_Typography = require("@mui/material/Typography");
|
|
9
|
+
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
6
10
|
//#region src/components/Link/Link.tsx
|
|
7
|
-
function
|
|
11
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
8
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).";
|
|
9
13
|
}
|
|
10
|
-
var
|
|
14
|
+
var CustomRouterLink = /* @__PURE__ */ (0, _emotion_styled_base.default)(react_router.Link, process.env.NODE_ENV === "production" ? { target: "e2ct7p50" } : {
|
|
11
15
|
target: "e2ct7p50",
|
|
12
16
|
label: "CustomRouterLink"
|
|
13
17
|
})(process.env.NODE_ENV === "production" ? {
|
|
@@ -16,21 +20,22 @@ var a = /* @__PURE__ */ e(n, process.env.NODE_ENV === "production" ? { target: "
|
|
|
16
20
|
} : {
|
|
17
21
|
name: "lq5caq",
|
|
18
22
|
styles: "text-decoration:none;&:hover,&:focus{text-decoration:underline;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9MaW5rL0xpbmsudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUsyQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvTGluay9MaW5rLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgTGluayBhcyBSb3V0ZXJMaW5rIH0gZnJvbSAncmVhY3Qtcm91dGVyJztcblxuY29uc3QgQ3VzdG9tUm91dGVyTGluayA9IHN0eWxlZChSb3V0ZXJMaW5rKWBcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAmOmhvdmVyLFxuICAmOmZvY3VzIHtcbiAgICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbiAgfVxuYDtcblxuY29uc3QgTGluayA9IGZ1bmN0aW9uIExpbmtGdW5jdGlvbih7XG4gIHJlZixcbiAgdG8sXG4gIGNoaWxkcmVuLFxuICB2YXJpYW50LFxuICBjbGFzc05hbWUsXG4gIG9uQ2xpY2ssXG59OiBhbnkgJiB7IHJlZj86IFJlYWN0LlJlZk9iamVjdDxIVE1MQW5jaG9yRWxlbWVudCB8IG51bGw+IH0pIHtcbiAgcmV0dXJuIChcbiAgICA8Q3VzdG9tUm91dGVyTGluayBjbGFzc05hbWU9e2NsYXNzTmFtZX0gb25DbGljaz17b25DbGlja30gcmVmPXtyZWZ9IHRvPXt0b30+XG4gICAgICA8VHlwb2dyYXBoeSBjb2xvcj1cInByaW1hcnlcIiB2YXJpYW50PXt2YXJpYW50fT5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9UeXBvZ3JhcGh5PlxuICAgIDwvQ3VzdG9tUm91dGVyTGluaz5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IExpbms7XG4iXX0= */",
|
|
19
|
-
toString:
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
|
+
});
|
|
25
|
+
var Link = function LinkFunction({ ref, to, children, variant, className, onClick }) {
|
|
26
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CustomRouterLink, {
|
|
27
|
+
className,
|
|
28
|
+
onClick,
|
|
29
|
+
ref,
|
|
30
|
+
to,
|
|
31
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mui_material_Typography.default, {
|
|
27
32
|
color: "primary",
|
|
28
|
-
variant
|
|
29
|
-
children
|
|
33
|
+
variant,
|
|
34
|
+
children
|
|
30
35
|
})
|
|
31
36
|
});
|
|
32
37
|
};
|
|
33
38
|
//#endregion
|
|
34
|
-
|
|
39
|
+
exports.default = Link;
|
|
35
40
|
|
|
36
41
|
//# sourceMappingURL=Link.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","names":["Typography","React","Link","RouterLink","CustomRouterLink","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","LinkFunction","ref","to","children","variant","className","onClick","RefObject","HTMLAnchorElement"],"sources":["../../../src/components/Link/Link.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { Link as RouterLink } from 'react-router';\n\nconst CustomRouterLink = styled(RouterLink)`\n text-decoration: none;\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n`;\n\nconst Link = function LinkFunction({\n ref,\n to,\n children,\n variant,\n className,\n onClick,\n}: any & { ref?: React.RefObject<HTMLAnchorElement | null> }) {\n return (\n <CustomRouterLink className={className} onClick={onClick} ref={ref} to={to}>\n <Typography color=\"primary\" variant={variant}>\n {children}\n </Typography>\n </CustomRouterLink>\n );\n};\n\nexport default Link;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Link.js","names":["Typography","React","Link","RouterLink","CustomRouterLink","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","LinkFunction","ref","to","children","variant","className","onClick","RefObject","HTMLAnchorElement"],"sources":["../../../src/components/Link/Link.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { Link as RouterLink } from 'react-router';\n\nconst CustomRouterLink = styled(RouterLink)`\n text-decoration: none;\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n`;\n\nconst Link = function LinkFunction({\n ref,\n to,\n children,\n variant,\n className,\n onClick,\n}: any & { ref?: React.RefObject<HTMLAnchorElement | null> }) {\n return (\n <CustomRouterLink className={className} onClick={onClick} ref={ref} to={to}>\n <Typography color=\"primary\" variant={variant}>\n {children}\n </Typography>\n </CustomRouterLink>\n );\n};\n\nexport default Link;\n"],"mappings":";;;;;;;;;;;;;AAKA,IAAMI,mBAAmBC,iBAAAA,GAAAA,qBAAAA,SAAOF,aAAAA,MAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAM,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAC,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAAA,CAM1C;AAED,IAAMZ,OAAO,SAASa,aAAa,EACjCC,KACAC,IACAC,UACAC,SACAC,WACAC,WAC4D;AAC5D,QACE,iBAAA,GAAA,kBAAA,KAAC,kBAAD;EAA6BD;EAAoBC;EAAcL;EAASC;YACtE,iBAAA,GAAA,kBAAA,KAAC,yBAAA,SAAD;GAAY,OAAM;GAAmBE;GAClCD;GACS,CAAA;EACK,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Link } from "react-router";
|
|
5
|
+
import Typography from "@mui/material/Typography";
|
|
6
|
+
//#region src/components/Link/Link.tsx
|
|
7
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
8
|
+
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).";
|
|
9
|
+
}
|
|
10
|
+
var CustomRouterLink = /* @__PURE__ */ _styled(Link, process.env.NODE_ENV === "production" ? { target: "e2ct7p50" } : {
|
|
11
|
+
target: "e2ct7p50",
|
|
12
|
+
label: "CustomRouterLink"
|
|
13
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
14
|
+
name: "lq5caq",
|
|
15
|
+
styles: "text-decoration:none;&:hover,&:focus{text-decoration:underline;}"
|
|
16
|
+
} : {
|
|
17
|
+
name: "lq5caq",
|
|
18
|
+
styles: "text-decoration:none;&:hover,&:focus{text-decoration:underline;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9MaW5rL0xpbmsudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUsyQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvTGluay9MaW5rLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgTGluayBhcyBSb3V0ZXJMaW5rIH0gZnJvbSAncmVhY3Qtcm91dGVyJztcblxuY29uc3QgQ3VzdG9tUm91dGVyTGluayA9IHN0eWxlZChSb3V0ZXJMaW5rKWBcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAmOmhvdmVyLFxuICAmOmZvY3VzIHtcbiAgICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbiAgfVxuYDtcblxuY29uc3QgTGluayA9IGZ1bmN0aW9uIExpbmtGdW5jdGlvbih7XG4gIHJlZixcbiAgdG8sXG4gIGNoaWxkcmVuLFxuICB2YXJpYW50LFxuICBjbGFzc05hbWUsXG4gIG9uQ2xpY2ssXG59OiBhbnkgJiB7IHJlZj86IFJlYWN0LlJlZk9iamVjdDxIVE1MQW5jaG9yRWxlbWVudCB8IG51bGw+IH0pIHtcbiAgcmV0dXJuIChcbiAgICA8Q3VzdG9tUm91dGVyTGluayBjbGFzc05hbWU9e2NsYXNzTmFtZX0gb25DbGljaz17b25DbGlja30gcmVmPXtyZWZ9IHRvPXt0b30+XG4gICAgICA8VHlwb2dyYXBoeSBjb2xvcj1cInByaW1hcnlcIiB2YXJpYW50PXt2YXJpYW50fT5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9UeXBvZ3JhcGh5PlxuICAgIDwvQ3VzdG9tUm91dGVyTGluaz5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IExpbms7XG4iXX0= */",
|
|
19
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
20
|
+
});
|
|
21
|
+
var Link$1 = function LinkFunction({ ref, to, children, variant, className, onClick }) {
|
|
22
|
+
return /* @__PURE__ */ jsx(CustomRouterLink, {
|
|
23
|
+
className,
|
|
24
|
+
onClick,
|
|
25
|
+
ref,
|
|
26
|
+
to,
|
|
27
|
+
children: /* @__PURE__ */ jsx(Typography, {
|
|
28
|
+
color: "primary",
|
|
29
|
+
variant,
|
|
30
|
+
children
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { Link$1 as default };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=Link.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.mjs","names":["Typography","React","Link","RouterLink","CustomRouterLink","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","LinkFunction","ref","to","children","variant","className","onClick","RefObject","HTMLAnchorElement"],"sources":["../../../src/components/Link/Link.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { Link as RouterLink } from 'react-router';\n\nconst CustomRouterLink = styled(RouterLink)`\n text-decoration: none;\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n`;\n\nconst Link = function LinkFunction({\n ref,\n to,\n children,\n variant,\n className,\n onClick,\n}: any & { ref?: React.RefObject<HTMLAnchorElement | null> }) {\n return (\n <CustomRouterLink className={className} onClick={onClick} ref={ref} to={to}>\n <Typography color=\"primary\" variant={variant}>\n {children}\n </Typography>\n </CustomRouterLink>\n );\n};\n\nexport default Link;\n"],"mappings":";;;;;;;;;AAKA,IAAMI,mBAAmBC,wBAAOF,MAAAA,QAAAA,IAAAA,aAAU,eAAA,EAAAM,QAAA,YAAA,GAAA;CAAAA,QAAA;CAAAC,OAAA;CAAA,CAAC,CAAA,QAAA,IAAA,aAAA,eAAA;CAAAC,MAAA;CAAAC,QAAA;CAAA,GAAA;CAAAD,MAAA;CAAAC,QAAA;CAAAC,UAAAC;CAAA,CAM1C;AAED,IAAMZ,SAAO,SAASa,aAAa,EACjCC,KACAC,IACAC,UACAC,SACAC,WACAC,WAC4D;AAC5D,QACE,oBAAC,kBAAD;EAA6BD;EAAoBC;EAAcL;EAASC;YACtE,oBAAC,YAAD;GAAY,OAAM;GAAmBE;GAClCD;GACS,CAAA;EACK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
require("./Link.js");
|