@verdaccio/ui-components 2.0.0-6-next.8 → 2.0.0-6-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +1 -9
- package/CHANGELOG.md +12 -0
- package/build/Theme/ResetStyles.js +34 -37
- package/build/Theme/StyleBaseline.js +4 -6
- package/build/Theme/ThemeProvider.js +24 -34
- package/build/Theme/colors.js +1 -1
- package/build/Theme/index.js +9 -10
- package/build/Theme/theme.js +26 -28
- package/build/__mocks__/react-markdown.js +6 -5
- package/build/__mocks__/remark-plugin.js +1 -1
- package/build/components/ActionBar/ActionBar.js +23 -36
- package/build/components/ActionBar/ActionBarAction.js +45 -58
- package/build/components/ActionBar/index.js +3 -3
- package/build/components/Author/Author.js +26 -21
- package/build/components/Author/index.js +3 -3
- package/build/components/Author/styles.js +5 -5
- package/build/components/CopyClipboard/CopyToClipBoard.js +21 -23
- package/build/components/CopyClipboard/index.js +4 -4
- package/build/components/CopyClipboard/utils.js +14 -16
- package/build/components/Dependencies/Dependencies.js +68 -66
- package/build/components/Dependencies/index.js +3 -3
- package/build/components/Dependencies/styles.js +9 -11
- package/build/components/Deprecated/Deprecated.js +12 -15
- package/build/components/Deprecated/index.js +3 -3
- package/build/components/Developers/Developers.js +30 -45
- package/build/components/Developers/Title.js +22 -21
- package/build/components/Developers/get-unique-developer-values.js +3 -13
- package/build/components/Developers/index.js +5 -6
- package/build/components/Developers/styles.js +7 -7
- package/build/components/Distribution/Dist.js +28 -23
- package/build/components/Distribution/index.js +3 -3
- package/build/components/Distribution/styles.js +7 -7
- package/build/components/Distribution/utils.js +0 -1
- package/build/components/Distribution/utilts.spec.js +18 -0
- package/build/components/Engines/Engines.js +46 -36
- package/build/components/Engines/index.js +3 -3
- package/build/components/Engines/styles.js +4 -4
- package/build/components/ErrorBoundary/ErrorBoundary.js +29 -50
- package/build/components/ErrorBoundary/index.js +3 -3
- package/build/components/FundButton/FundButton.js +28 -29
- package/build/components/FundButton/index.js +3 -3
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +33 -44
- package/build/components/HeaderInfoDialog/index.js +3 -3
- package/build/components/Heading/Heading.js +10 -14
- package/build/components/Heading/index.js +3 -3
- package/build/components/Help/Help.js +22 -21
- package/build/components/Help/index.js +3 -3
- package/build/components/Help/styles.js +2 -2
- package/build/components/Icons/DevsIcons/CommonJS.js +9 -10
- package/build/components/Icons/DevsIcons/ES6Module.js +9 -10
- package/build/components/Icons/DevsIcons/Git.js +9 -10
- package/build/components/Icons/DevsIcons/NodeJS.js +9 -10
- package/build/components/Icons/DevsIcons/TypeScript.js +9 -10
- package/build/components/Icons/DevsIcons/index.js +5 -5
- package/build/components/Icons/Earth.js +11 -11
- package/build/components/Icons/FileBinary.js +4 -4
- package/build/components/Icons/Law.js +4 -4
- package/build/components/Icons/License.js +5 -5
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/Managers/Npm.js +9 -10
- package/build/components/Icons/Managers/Pnpm.js +9 -10
- package/build/components/Icons/Managers/Yarn.js +9 -10
- package/build/components/Icons/Managers/index.js +3 -3
- package/build/components/Icons/SvgIcon.js +14 -22
- package/build/components/Icons/Time.js +6 -6
- package/build/components/Icons/Version.js +4 -4
- package/build/components/Icons/index.js +8 -8
- package/build/components/Install/Install.js +40 -26
- package/build/components/Install/InstallListItem.js +49 -40
- package/build/components/Install/index.js +3 -3
- package/build/components/Label/Label.js +13 -18
- package/build/components/Label/index.js +3 -3
- package/build/components/Link/Link.js +16 -15
- package/build/components/Link/index.js +3 -3
- package/build/components/Loading/Loading.js +10 -12
- package/build/components/Loading/Spinner/Spinner.js +27 -37
- package/build/components/Loading/Spinner/index.js +3 -3
- package/build/components/Loading/index.js +3 -3
- package/build/components/Loading/styles.js +11 -12
- package/build/components/LoginDialog/LoginDialog.js +44 -83
- package/build/components/LoginDialog/LoginDialogCloseButton.js +20 -19
- package/build/components/LoginDialog/LoginDialogForm.js +41 -40
- package/build/components/LoginDialog/LoginDialogFormError.js +26 -28
- package/build/components/LoginDialog/LoginDialogHeader.js +29 -29
- package/build/components/LoginDialog/index.js +3 -3
- package/build/components/Logo/Logo.js +35 -36
- package/build/components/Logo/index.js +3 -3
- package/build/components/MenuItem/MenuItem.js +8 -9
- package/build/components/MenuItem/index.js +3 -3
- package/build/components/NoItems/NoItems.js +10 -21
- package/build/components/NoItems/index.js +3 -3
- package/build/components/NotFound/NotFound.js +25 -26
- package/build/components/NotFound/index.js +3 -3
- package/build/components/Package/Package.js +112 -152
- package/build/components/Package/Tag/Tag.js +6 -7
- package/build/components/Package/Tag/index.js +3 -3
- package/build/components/Package/Tag/styles.js +2 -2
- package/build/components/Package/index.js +5 -6
- package/build/components/Package/styles.js +65 -70
- package/build/components/PackageList/PackageList.js +56 -52
- package/build/components/PackageList/index.js +3 -3
- package/build/components/RawViewer/RawViewer.js +23 -22
- package/build/components/RawViewer/index.js +3 -3
- package/build/components/Readme/Readme.js +21 -21
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/Readme.spec.js +6 -6
- package/build/components/Readme/Readme.spec.js.map +1 -1
- package/build/components/Readme/index.js +3 -3
- package/build/components/Readme/utils.js +7 -8
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +14 -14
- package/build/components/RegistryInfoDialog/index.js +3 -3
- package/build/components/RegistryInfoDialog/styles.js +17 -19
- package/build/components/Repository/Repository.js +37 -36
- package/build/components/Repository/index.js +3 -3
- package/build/components/Search/AutoComplete/AutoComplete.js +26 -35
- package/build/components/Search/AutoComplete/index.js +3 -3
- package/build/components/Search/AutoComplete/styles.js +15 -16
- package/build/components/Search/Search.js +54 -54
- package/build/components/Search/SearchItem.js +57 -65
- package/build/components/Search/index.js +3 -3
- package/build/components/Search/styles.js +16 -17
- package/build/components/SettingsMenu/SettingsMenu.js +68 -0
- package/build/components/SettingsMenu/index.js +14 -0
- package/build/components/SideBarTittle/SideBarTittle.js +33 -31
- package/build/components/SideBarTittle/index.js +3 -3
- package/build/components/SideBarTittle/utils.js +4 -4
- package/build/components/TextField/TextField.js +18 -23
- package/build/components/TextField/index.js +3 -3
- package/build/components/UpLinks/UpLinks.js +18 -16
- package/build/components/UpLinks/index.js +3 -3
- package/build/components/UpLinks/styles.js +20 -22
- package/build/components/Versions/HistoryList.js +25 -25
- package/build/components/Versions/TagList.js +19 -22
- package/build/components/Versions/Versions.js +21 -20
- package/build/components/Versions/index.js +3 -3
- package/build/components/Versions/styles.js +19 -21
- package/build/hooks/index.js +5 -5
- package/build/hooks/useLocalStorage.js +18 -27
- package/build/hooks/useOnClickOutside.js +5 -5
- package/build/index.js +104 -97
- package/build/layouts/Version/Version.js +8 -8
- package/build/layouts/Version/index.js +3 -3
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +18 -31
- package/build/providers/AppConfigurationProvider/index.js +5 -6
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +38 -0
- package/build/providers/PersistenceSettingProvider/index.js +21 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.js +26 -51
- package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +54 -0
- package/build/providers/TranslatorProvider/index.js +6 -7
- package/build/providers/VersionProvider/VersionProvider.js +32 -34
- package/build/providers/VersionProvider/index.js +5 -6
- package/build/providers/index.js +3 -3
- package/build/sections/Detail/ContainerContent.js +24 -35
- package/build/sections/Detail/Detail.js +21 -30
- package/build/sections/Detail/ReadmeSection.js +7 -6
- package/build/sections/Detail/Tabs.js +16 -14
- package/build/sections/Detail/index.js +3 -3
- package/build/sections/Footer/Footer.js +55 -57
- package/build/sections/Footer/index.js +3 -3
- package/build/sections/Footer/styles.js +41 -47
- package/build/sections/Header/Header.js +36 -70
- package/build/sections/Header/HeaderGreetings.js +10 -8
- package/build/sections/Header/HeaderLeft.js +11 -12
- package/build/sections/Header/HeaderMenu.js +18 -17
- package/build/sections/Header/HeaderRight.js +41 -51
- package/build/sections/Header/HeaderSettingsDialog.js +48 -57
- package/build/sections/Header/HeaderToolTip.js +10 -11
- package/build/sections/Header/HeaderToolTipIcon.js +19 -19
- package/build/sections/Header/LanguageSwitch.js +51 -56
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +72 -71
- package/build/sections/Header/RegistryInfoContent/index.js +3 -3
- package/build/sections/Header/RegistryInfoContent/styles.js +13 -16
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +14 -14
- package/build/sections/Header/RegistryInfoDialog/index.js +3 -3
- package/build/sections/Header/RegistryInfoDialog/styles.js +17 -19
- package/build/sections/Header/index.js +3 -3
- package/build/sections/Header/styles.js +35 -38
- package/build/sections/Home/Home.js +11 -14
- package/build/sections/Home/index.js +3 -3
- package/build/sections/SideBar/Sidebar.js +38 -54
- package/build/sections/SideBar/index.js +3 -3
- package/build/sections/index.js +5 -5
- package/build/src/components/ActionBar/ActionBar.stories.d.ts +11 -6
- package/build/src/components/ActionBar/ActionBarAction.d.ts +1 -34
- package/build/src/components/Author/styles.d.ts +1 -20
- package/build/src/components/Dependencies/Dependencies.stories.d.ts +8 -6
- package/build/src/components/Dependencies/styles.d.ts +2 -30
- package/build/src/components/Deprecated/Deprecated.d.ts +1 -11
- package/build/src/components/Developers/Developers.d.ts +1 -34
- package/build/src/components/Developers/styles.d.ts +1 -34
- package/build/src/components/Distribution/Dist.stories.d.ts +4 -1
- package/build/src/components/Distribution/styles.d.ts +3 -76
- package/build/src/components/Distribution/utils.d.ts +2 -1
- package/build/src/components/Engines/styles.d.ts +1 -21
- package/build/src/components/FundButton/FundButton.stories.d.ts +7 -5
- package/build/src/components/Help/styles.d.ts +1 -10
- package/build/src/components/Icons/Earth.d.ts +2 -2
- package/build/src/components/Icons/FileBinary.d.ts +2 -2
- package/build/src/components/Icons/Law.d.ts +2 -2
- package/build/src/components/Icons/License.d.ts +2 -2
- package/build/src/components/Icons/SvgIcon.d.ts +1 -1
- package/build/src/components/Icons/Time.d.ts +2 -2
- package/build/src/components/Icons/Version.d.ts +2 -2
- package/build/src/components/Install/Install.stories.d.ts +9 -5
- package/build/src/components/MenuItem/MenuItem.d.ts +1 -1
- package/build/src/components/NoItems/NoItems.d.ts +0 -1
- package/build/src/components/Package/styles.d.ts +3 -61
- package/build/src/components/RegistryInfoDialog/styles.d.ts +1 -11
- package/build/src/components/Repository/Repository.stories.d.ts +8 -6
- package/build/src/components/Search/AutoComplete/styles.d.ts +1 -1
- package/build/src/components/Search/Search.d.ts +1 -1
- package/build/src/components/Search/styles.d.ts +2 -16
- package/build/src/components/SettingsMenu/SettingsMenu.d.ts +6 -0
- package/build/src/components/SettingsMenu/index.d.ts +1 -0
- package/build/src/components/SideBarTittle/SideBarTittle.stories.d.ts +9 -0
- package/build/src/components/TextField/TextField.d.ts +1 -1
- package/build/src/components/Versions/types.d.ts +0 -2
- package/build/src/index.d.ts +1 -0
- package/build/src/layouts/Version/Version.stories.d.ts +7 -6
- package/build/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +6 -0
- package/build/src/providers/PersistenceSettingProvider/index.d.ts +1 -0
- package/build/src/providers/TranslatorProvider/TranslatorProvider.d.ts +2 -1
- package/build/src/providers/TranslatorProvider/TranslatorProvider.spec.d.ts +1 -0
- package/build/src/providers/VersionProvider/VersionProvider.d.ts +0 -2
- package/build/src/sections/Header/LanguageSwitch.d.ts +3 -23
- package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +1 -11
- package/build/src/sections/Header/styles.d.ts +8 -166
- package/build/src/types/packageMeta.d.ts +6 -6
- package/build/store/api.js +35 -52
- package/build/store/index.js +9 -9
- package/build/store/models/configuration.js +12 -34
- package/build/store/models/download.js +22 -46
- package/build/store/models/index.js +1 -1
- package/build/store/models/login.js +55 -79
- package/build/store/models/manifest.js +52 -78
- package/build/store/models/packages.js +22 -51
- package/build/store/models/search.js +59 -87
- package/build/store/storage.js +5 -5
- package/build/store/store.js +3 -3
- package/build/test/i18n-config.js +5 -5
- package/build/test/test-react-testing-library.js +19 -24
- package/build/utils/__partials__/packageMeta.js +1 -1
- package/build/utils/cli-utils.js +27 -20
- package/build/utils/index.js +10 -11
- package/build/utils/loadable.js +9 -12
- package/build/utils/routes.js +4 -4
- package/build/utils/url.js +9 -9
- package/build/utils/utils.js +18 -22
- package/package.json +22 -19
- package/src/Theme/ThemeProvider.tsx +0 -1
- package/src/components/ActionBar/ActionBar.stories.tsx +60 -46
- package/src/components/Author/Author.stories.tsx +1 -1
- package/src/components/CopyClipboard/CopyToClipBoard.stories.tsx +1 -1
- package/src/components/CopyClipboard/CopyToClipBoard.tsx +2 -2
- package/src/components/Dependencies/Dependencies.stories.tsx +151 -51
- package/src/components/Dependencies/Dependencies.tsx +61 -51
- package/src/components/Deprecated/Deprecated.stories.tsx +1 -1
- package/src/components/Deprecated/Deprecated.tsx +1 -1
- package/src/components/Developers/Developers.stories.tsx +1 -1
- package/src/components/Distribution/Dist.stories.tsx +46 -3
- package/src/components/Distribution/Dist.test.tsx +33 -6
- package/src/components/Distribution/Dist.tsx +13 -5
- package/src/components/Distribution/utils.ts +3 -2
- package/src/components/Distribution/utilts.spec.ts +17 -0
- package/src/components/Engines/Engines.stories.tsx +1 -1
- package/src/components/FundButton/FundButton.stories.tsx +48 -17
- package/src/components/Help/Help.stories.tsx +1 -1
- package/src/components/Icons/Icons.stories.tsx +1 -1
- package/src/components/Install/Install.stories.tsx +79 -26
- package/src/components/Install/Install.tsx +28 -14
- package/src/components/Install/InstallListItem.tsx +24 -8
- package/src/components/Loading/Loading.stories.tsx +1 -1
- package/src/components/LoginDialog/LoginDialog.stories.tsx +1 -1
- package/src/components/NoItems/NoItems.stories.tsx +1 -1
- package/src/components/NoItems/NoItems.tsx +5 -6
- package/src/components/Package/Package.tsx +1 -1
- package/src/components/Repository/Repository.stories.tsx +39 -12
- package/src/components/Repository/Repository.tsx +2 -4
- package/src/components/Search/Search.stories.tsx +1 -1
- package/src/components/SettingsMenu/SettingsMenu.tsx +67 -0
- package/src/components/SettingsMenu/index.ts +1 -0
- package/src/components/SideBarTittle/SideBarTittle.stories.tsx +68 -0
- package/src/components/UpLinks/Uplinks.stories.tsx +1 -1
- package/src/components/Versions/types.ts +0 -2
- package/src/index.ts +2 -0
- package/src/layouts/Version/Version.stories.tsx +35 -20
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +0 -1
- package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +57 -0
- package/src/providers/PersistenceSettingProvider/index.ts +1 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.spec.tsx +52 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.tsx +2 -1
- package/src/providers/VersionProvider/VersionProvider.test.tsx +1 -1
- package/src/providers/VersionProvider/VersionProvider.tsx +0 -2
- package/src/sections/Detail/Detail.stories.tsx +1 -1
- package/src/sections/Header/Header.stories.tsx +1 -1
- package/src/sections/Home/Home.stories.tsx +1 -1
- package/src/sections/SideBar/Sidebar.stories.tsx +1 -1
- package/src/sections/SideBar/Sidebar.test.tsx +0 -1
- package/src/test/test-react-testing-library.tsx +17 -12
- package/src/types/index.d.ts +2 -0
- package/src/types/packageMeta.ts +6 -6
- package/src/utils/url.test.ts +4 -0
- package/src/utils/url.ts +1 -1
- package/tsconfig.build.json +1 -0
- package/tsconfig.json +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = exports.NODE_MANAGER = exports.LinkContainer = exports.CommandContainer = exports.AccordionContainer = void 0;
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _ExpandMore = _interopRequireDefault(require("@mui/icons-material/ExpandMore"));
|
|
9
9
|
var _Accordion = _interopRequireDefault(require("@mui/material/Accordion"));
|
|
@@ -19,74 +19,72 @@ var _reactMarkdown = _interopRequireDefault(require("react-markdown"));
|
|
|
19
19
|
var _remarkGfm = _interopRequireDefault(require("remark-gfm"));
|
|
20
20
|
var _ = require("../../../");
|
|
21
21
|
var _styles = require("./styles");
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
24
|
-
|
|
24
|
+
const NODE_MANAGER = {
|
|
25
25
|
npm: 'npm',
|
|
26
26
|
yarn: 'yarn',
|
|
27
27
|
pnpm: 'pnpm'
|
|
28
28
|
};
|
|
29
29
|
exports.NODE_MANAGER = NODE_MANAGER;
|
|
30
|
-
|
|
31
|
-
return /*#__PURE__*/_react
|
|
30
|
+
const renderNpmTab = (scope, registryUrl) => {
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
32
32
|
display: "flex",
|
|
33
33
|
flexDirection: "column"
|
|
34
|
-
}, /*#__PURE__*/_react
|
|
34
|
+
}, /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
35
35
|
dataTestId: "copy",
|
|
36
|
-
text: (0, _.getCLISetConfigRegistry)(
|
|
37
|
-
}), /*#__PURE__*/_react
|
|
36
|
+
text: (0, _.getCLISetConfigRegistry)(`${NODE_MANAGER.npm} set`, scope, registryUrl)
|
|
37
|
+
}), /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
38
38
|
dataTestId: "copy",
|
|
39
|
-
text: (0, _.getCLISetRegistry)(
|
|
40
|
-
}), /*#__PURE__*/_react
|
|
39
|
+
text: (0, _.getCLISetRegistry)(`${NODE_MANAGER.npm} adduser`, registryUrl)
|
|
40
|
+
}), /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
41
41
|
dataTestId: "copy",
|
|
42
42
|
text: (0, _.getCLIChangePassword)(NODE_MANAGER.npm, registryUrl)
|
|
43
43
|
}));
|
|
44
44
|
};
|
|
45
|
-
|
|
46
|
-
return /*#__PURE__*/_react
|
|
45
|
+
const renderPnpmTab = (scope, registryUrl) => {
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
47
47
|
display: "flex",
|
|
48
48
|
flexDirection: "column"
|
|
49
|
-
}, /*#__PURE__*/_react
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
50
50
|
dataTestId: "copy",
|
|
51
|
-
text: (0, _.getCLISetConfigRegistry)(
|
|
52
|
-
}), /*#__PURE__*/_react
|
|
51
|
+
text: (0, _.getCLISetConfigRegistry)(`${NODE_MANAGER.pnpm} set`, scope, registryUrl)
|
|
52
|
+
}), /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
53
53
|
dataTestId: "copy",
|
|
54
|
-
text: (0, _.getCLISetRegistry)(
|
|
55
|
-
}), /*#__PURE__*/_react
|
|
54
|
+
text: (0, _.getCLISetRegistry)(`${NODE_MANAGER.pnpm} adduser`, registryUrl)
|
|
55
|
+
}), /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
56
56
|
dataTestId: "copy",
|
|
57
57
|
text: (0, _.getCLIChangePassword)(NODE_MANAGER.pnpm, registryUrl)
|
|
58
58
|
}));
|
|
59
59
|
};
|
|
60
|
-
|
|
61
|
-
return /*#__PURE__*/_react
|
|
60
|
+
const renderYarnTab = (scope, registryUrl) => {
|
|
61
|
+
return /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
62
62
|
display: "flex",
|
|
63
63
|
flexDirection: "column"
|
|
64
|
-
}, /*#__PURE__*/_react
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
65
65
|
dataTestId: "copy",
|
|
66
|
-
text: (0, _.getCLISetConfigRegistry)(
|
|
66
|
+
text: (0, _.getCLISetConfigRegistry)(`${NODE_MANAGER.yarn} config set`, scope, registryUrl)
|
|
67
67
|
}));
|
|
68
68
|
};
|
|
69
|
-
|
|
70
|
-
return /*#__PURE__*/_react
|
|
69
|
+
const renderYarnBerryTab = (scope, registryUrl) => {
|
|
70
|
+
return /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
71
71
|
display: "flex",
|
|
72
72
|
flexDirection: "column"
|
|
73
|
-
}, /*#__PURE__*/_react
|
|
73
|
+
}, /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
|
|
74
74
|
dataTestId: "copy",
|
|
75
75
|
text: (0, _.getCLISBerryYamlRegistry)(scope, registryUrl)
|
|
76
76
|
}));
|
|
77
77
|
};
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
});
|
|
89
|
-
var AccordionContainer = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
78
|
+
const useStyles = (0, _makeStyles.default)(theme => ({
|
|
79
|
+
root: {
|
|
80
|
+
width: '100%'
|
|
81
|
+
},
|
|
82
|
+
heading: {
|
|
83
|
+
fontSize: theme.typography.pxToRem(15),
|
|
84
|
+
fontWeight: theme.typography.fontWeightBold
|
|
85
|
+
}
|
|
86
|
+
}));
|
|
87
|
+
const AccordionContainer = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
90
88
|
target: "e1hl3ygs2"
|
|
91
89
|
} : {
|
|
92
90
|
target: "e1hl3ygs2",
|
|
@@ -101,7 +99,7 @@ var AccordionContainer = /*#__PURE__*/(0, _base["default"])('div', process.env.N
|
|
|
101
99
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
102
100
|
});
|
|
103
101
|
exports.AccordionContainer = AccordionContainer;
|
|
104
|
-
|
|
102
|
+
const CommandContainer = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
105
103
|
target: "e1hl3ygs1"
|
|
106
104
|
} : {
|
|
107
105
|
target: "e1hl3ygs1",
|
|
@@ -116,7 +114,7 @@ var CommandContainer = /*#__PURE__*/(0, _base["default"])('div', process.env.NOD
|
|
|
116
114
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
117
115
|
});
|
|
118
116
|
exports.CommandContainer = CommandContainer;
|
|
119
|
-
|
|
117
|
+
const LinkContainer = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
120
118
|
target: "e1hl3ygs0"
|
|
121
119
|
} : {
|
|
122
120
|
target: "e1hl3ygs0",
|
|
@@ -131,59 +129,62 @@ var LinkContainer = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_E
|
|
|
131
129
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
132
130
|
});
|
|
133
131
|
exports.LinkContainer = LinkContainer;
|
|
134
|
-
|
|
132
|
+
const RegistryInfoContent = ({
|
|
133
|
+
scope,
|
|
134
|
+
registryUrl
|
|
135
|
+
}) => {
|
|
135
136
|
var _configOptions$pkgMan, _configOptions$pkgMan2, _configOptions$pkgMan3;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
137
|
+
const {
|
|
138
|
+
t
|
|
139
|
+
} = (0, _reactI18next.useTranslation)();
|
|
140
|
+
const classes = useStyles();
|
|
141
|
+
const {
|
|
142
|
+
configOptions
|
|
143
|
+
} = (0, _.useConfig)();
|
|
144
|
+
const hasNpm = configOptions === null || configOptions === void 0 ? void 0 : (_configOptions$pkgMan = configOptions.pkgManagers) === null || _configOptions$pkgMan === void 0 ? void 0 : _configOptions$pkgMan.includes('npm');
|
|
145
|
+
const hasYarn = configOptions === null || configOptions === void 0 ? void 0 : (_configOptions$pkgMan2 = configOptions.pkgManagers) === null || _configOptions$pkgMan2 === void 0 ? void 0 : _configOptions$pkgMan2.includes('yarn');
|
|
146
|
+
const hasPnpm = configOptions === null || configOptions === void 0 ? void 0 : (_configOptions$pkgMan3 = configOptions.pkgManagers) === null || _configOptions$pkgMan3 === void 0 ? void 0 : _configOptions$pkgMan3.includes('pnpm');
|
|
146
147
|
// TODO: we can improve this logic, expanding only one accordion based on which package manager is enabled
|
|
147
148
|
// feel free to contribute here
|
|
148
|
-
return /*#__PURE__*/_react
|
|
149
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.TextContent, null, t('packageManagers.description')), /*#__PURE__*/_react.default.createElement(AccordionContainer, null, /*#__PURE__*/_react.default.createElement(_Accordion.default, {
|
|
149
150
|
disabled: !hasNpm
|
|
150
|
-
}, /*#__PURE__*/_react
|
|
151
|
+
}, /*#__PURE__*/_react.default.createElement(_AccordionSummary.default, {
|
|
151
152
|
"aria-controls": "panel1a-content",
|
|
152
|
-
expandIcon: /*#__PURE__*/_react
|
|
153
|
+
expandIcon: /*#__PURE__*/_react.default.createElement(_ExpandMore.default, null),
|
|
153
154
|
id: "panel1a-header"
|
|
154
|
-
}, /*#__PURE__*/_react
|
|
155
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
155
156
|
className: classes.heading
|
|
156
|
-
}, 'npm')), /*#__PURE__*/_react
|
|
157
|
+
}, 'npm')), /*#__PURE__*/_react.default.createElement(_AccordionDetails.default, null, /*#__PURE__*/_react.default.createElement(CommandContainer, {
|
|
157
158
|
"data-testid": 'tab-content'
|
|
158
|
-
}, renderNpmTab(scope, registryUrl)))), /*#__PURE__*/_react
|
|
159
|
+
}, renderNpmTab(scope, registryUrl)))), /*#__PURE__*/_react.default.createElement(_Accordion.default, {
|
|
159
160
|
disabled: !hasYarn
|
|
160
|
-
}, /*#__PURE__*/_react
|
|
161
|
+
}, /*#__PURE__*/_react.default.createElement(_AccordionSummary.default, {
|
|
161
162
|
"aria-controls": "panel2a-content",
|
|
162
|
-
expandIcon: /*#__PURE__*/_react
|
|
163
|
+
expandIcon: /*#__PURE__*/_react.default.createElement(_ExpandMore.default, null),
|
|
163
164
|
id: "panel2a-header"
|
|
164
|
-
}, /*#__PURE__*/_react
|
|
165
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
165
166
|
className: classes.heading
|
|
166
|
-
}, 'yarn')), /*#__PURE__*/_react
|
|
167
|
-
remarkPlugins: [_remarkGfm
|
|
168
|
-
}, t('packageManagers.yarnclassicDetails'))), /*#__PURE__*/_react
|
|
167
|
+
}, 'yarn')), /*#__PURE__*/_react.default.createElement(_AccordionDetails.default, null, /*#__PURE__*/_react.default.createElement(_styles.Description, null, /*#__PURE__*/_react.default.createElement(_reactMarkdown.default, {
|
|
168
|
+
remarkPlugins: [_remarkGfm.default]
|
|
169
|
+
}, t('packageManagers.yarnclassicDetails'))), /*#__PURE__*/_react.default.createElement(CommandContainer, {
|
|
169
170
|
"data-testid": 'tab-content'
|
|
170
|
-
}, renderYarnTab(scope, registryUrl)), /*#__PURE__*/_react
|
|
171
|
-
remarkPlugins: [_remarkGfm
|
|
172
|
-
}, t('packageManagers.yarnBerryDetails'))), /*#__PURE__*/_react
|
|
171
|
+
}, renderYarnTab(scope, registryUrl)), /*#__PURE__*/_react.default.createElement(_styles.Description, null, /*#__PURE__*/_react.default.createElement(_reactMarkdown.default, {
|
|
172
|
+
remarkPlugins: [_remarkGfm.default]
|
|
173
|
+
}, t('packageManagers.yarnBerryDetails'))), /*#__PURE__*/_react.default.createElement(CommandContainer, {
|
|
173
174
|
"data-testid": 'tab-content'
|
|
174
|
-
}, renderYarnBerryTab(scope, registryUrl)))), /*#__PURE__*/_react
|
|
175
|
+
}, renderYarnBerryTab(scope, registryUrl)))), /*#__PURE__*/_react.default.createElement(_Accordion.default, {
|
|
175
176
|
disabled: !hasPnpm
|
|
176
|
-
}, /*#__PURE__*/_react
|
|
177
|
+
}, /*#__PURE__*/_react.default.createElement(_AccordionSummary.default, {
|
|
177
178
|
"aria-controls": "panel3a-content",
|
|
178
|
-
expandIcon: /*#__PURE__*/_react
|
|
179
|
+
expandIcon: /*#__PURE__*/_react.default.createElement(_ExpandMore.default, null),
|
|
179
180
|
id: "panel3a-header"
|
|
180
|
-
}, 'pnpm'), /*#__PURE__*/_react
|
|
181
|
+
}, 'pnpm'), /*#__PURE__*/_react.default.createElement(_AccordionDetails.default, null, /*#__PURE__*/_react.default.createElement(CommandContainer, {
|
|
181
182
|
"data-testid": 'tab-content'
|
|
182
|
-
}, renderPnpmTab(scope, registryUrl)))), /*#__PURE__*/_react
|
|
183
|
+
}, renderPnpmTab(scope, registryUrl)))), /*#__PURE__*/_react.default.createElement(LinkContainer, null, /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
183
184
|
href: "https://verdaccio.org/docs/en/cli-registry",
|
|
184
185
|
target: "_blank"
|
|
185
|
-
}, /*#__PURE__*/_react
|
|
186
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, null, t('header.registry-info-link'))))));
|
|
186
187
|
};
|
|
187
188
|
var _default = RegistryInfoContent;
|
|
188
|
-
exports
|
|
189
|
+
exports.default = _default;
|
|
189
190
|
//# sourceMappingURL=RegistryInfoContent.js.map
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "default", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
9
|
-
return _RegistryInfoContent
|
|
8
|
+
get: function () {
|
|
9
|
+
return _RegistryInfoContent.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _RegistryInfoContent = _interopRequireDefault(require("./RegistryInfoContent"));
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,30 +5,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TextContent = exports.Description = void 0;
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
9
|
-
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
const TextContent = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
10
10
|
target: "e1lxinid1"
|
|
11
11
|
} : {
|
|
12
12
|
target: "e1lxinid1",
|
|
13
13
|
label: "TextContent"
|
|
14
|
-
})(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSTJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vJztcblxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZ0JvdHRvbTogJzEwcHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKCkgPT4gKHtcbiAgZm9udFNpemU6ICcxcmVtJyxcbiAgZm9udFN0eWxlOiAnaXRhbGljJyxcbn0pKTtcbiJdfQ== */");
|
|
14
|
+
})(({
|
|
15
|
+
theme
|
|
16
|
+
}) => ({
|
|
17
|
+
paddingBottom: '10px',
|
|
18
|
+
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.background.default
|
|
19
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSTJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vJztcblxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZ0JvdHRvbTogJzEwcHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKCkgPT4gKHtcbiAgZm9udFNpemU6ICcxcmVtJyxcbiAgZm9udFN0eWxlOiAnaXRhbGljJyxcbn0pKTtcbiJdfQ== */");
|
|
21
20
|
exports.TextContent = TextContent;
|
|
22
|
-
|
|
21
|
+
const Description = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
23
22
|
target: "e1lxinid0"
|
|
24
23
|
} : {
|
|
25
24
|
target: "e1lxinid0",
|
|
26
25
|
label: "Description"
|
|
27
|
-
})(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUzJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vJztcblxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZ0JvdHRvbTogJzEwcHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKCkgPT4gKHtcbiAgZm9udFNpemU6ICcxcmVtJyxcbiAgZm9udFN0eWxlOiAnaXRhbGljJyxcbn0pKTtcbiJdfQ== */");
|
|
26
|
+
})(() => ({
|
|
27
|
+
fontSize: '1rem',
|
|
28
|
+
fontStyle: 'italic'
|
|
29
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUzJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvQ29udGVudC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vJztcblxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZ0JvdHRvbTogJzEwcHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKCkgPT4gKHtcbiAgZm9udFNpemU6ICcxcmVtJyxcbiAgZm9udFN0eWxlOiAnaXRhbGljJyxcbn0pKTtcbiJdfQ== */");
|
|
33
30
|
exports.Description = Description;
|
|
34
31
|
//# sourceMappingURL=styles.js.map
|
|
@@ -3,35 +3,35 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
8
8
|
var _Dialog = _interopRequireDefault(require("@mui/material/Dialog"));
|
|
9
9
|
var _DialogActions = _interopRequireDefault(require("@mui/material/DialogActions"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _reactI18next = require("react-i18next");
|
|
12
12
|
var _styles = require("./styles");
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return /*#__PURE__*/_react
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
const RegistryInfoDialog = ({
|
|
15
|
+
open = false,
|
|
16
|
+
children,
|
|
17
|
+
onClose,
|
|
18
|
+
title = ''
|
|
19
|
+
}) => {
|
|
20
|
+
const {
|
|
21
|
+
t
|
|
22
|
+
} = (0, _reactI18next.useTranslation)();
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
24
24
|
"data-testid": 'registryInfo--dialog',
|
|
25
25
|
id: "registryInfo--dialog-container",
|
|
26
26
|
maxWidth: "sm",
|
|
27
27
|
onClose: onClose,
|
|
28
28
|
open: open
|
|
29
|
-
}, /*#__PURE__*/_react
|
|
29
|
+
}, /*#__PURE__*/_react.default.createElement(_styles.Title, null, title), /*#__PURE__*/_react.default.createElement(_styles.Content, null, children), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
30
30
|
color: "inherit",
|
|
31
31
|
id: "registryInfo--dialog-close",
|
|
32
32
|
onClick: onClose
|
|
33
33
|
}, t('button.close'))));
|
|
34
34
|
};
|
|
35
35
|
var _default = RegistryInfoDialog;
|
|
36
|
-
exports
|
|
36
|
+
exports.default = _default;
|
|
37
37
|
//# sourceMappingURL=RegistryInfoDialog.js.map
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "default", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
9
|
-
return _RegistryInfoDialog
|
|
8
|
+
get: function () {
|
|
9
|
+
return _RegistryInfoDialog.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _RegistryInfoDialog = _interopRequireDefault(require("./RegistryInfoDialog"));
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -7,13 +7,13 @@ exports.Title = exports.TextContent = exports.Content = void 0;
|
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _DialogContent = _interopRequireDefault(require("@mui/material/DialogContent"));
|
|
9
9
|
var _DialogTitle = _interopRequireDefault(require("@mui/material/DialogTitle"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
11
|
-
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
const Title = /*#__PURE__*/(0, _base.default)(_DialogTitle.default, process.env.NODE_ENV === "production" ? {
|
|
12
12
|
target: "e1gzb7522"
|
|
13
13
|
} : {
|
|
14
14
|
target: "e1gzb7522",
|
|
15
15
|
label: "Title"
|
|
16
|
-
})(
|
|
16
|
+
})(props => {
|
|
17
17
|
var _props$theme, _props$theme2, _props$theme3;
|
|
18
18
|
return {
|
|
19
19
|
backgroundColor: (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.palette.primary.main,
|
|
@@ -22,30 +22,28 @@ var Title = /*#__PURE__*/(0, _base["default"])(_DialogTitle["default"], process.
|
|
|
22
22
|
};
|
|
23
23
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNcUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3NlY3Rpb25zL0hlYWRlci9SZWdpc3RyeUluZm9EaWFsb2cvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IERpYWxvZ0NvbnRlbnQgZnJvbSAnQG11aS9tYXRlcmlhbC9EaWFsb2dDb250ZW50JztcbmltcG9ydCBEaWFsb2dUaXRsZSBmcm9tICdAbXVpL21hdGVyaWFsL0RpYWxvZ1RpdGxlJztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi8uLi8nO1xuXG5leHBvcnQgY29uc3QgVGl0bGUgPSBzdHlsZWQoRGlhbG9nVGl0bGUpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGJhY2tncm91bmRDb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUucHJpbWFyeS5tYWluLFxuICBjb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUud2hpdGUsXG4gIGZvbnRTaXplOiBwcm9wcy50aGVtZT8uZm9udFNpemUubGcsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBDb250ZW50ID0gc3R5bGVkKERpYWxvZ0NvbnRlbnQpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBwYWRkaW5nOiAnMCAyNHB4JyxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZT8ucGFsZXR0ZS5iYWNrZ3JvdW5kLmRlZmF1bHQsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBUZXh0Q29udGVudCA9IHN0eWxlZCgnZGl2Jyk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6ICcxMHB4IDI0cHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcbiJdfQ== */");
|
|
24
24
|
exports.Title = Title;
|
|
25
|
-
|
|
25
|
+
const Content = /*#__PURE__*/(0, _base.default)(_DialogContent.default, process.env.NODE_ENV === "production" ? {
|
|
26
26
|
target: "e1gzb7521"
|
|
27
27
|
} : {
|
|
28
28
|
target: "e1gzb7521",
|
|
29
29
|
label: "Content"
|
|
30
|
-
})(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3NlY3Rpb25zL0hlYWRlci9SZWdpc3RyeUluZm9EaWFsb2cvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IERpYWxvZ0NvbnRlbnQgZnJvbSAnQG11aS9tYXRlcmlhbC9EaWFsb2dDb250ZW50JztcbmltcG9ydCBEaWFsb2dUaXRsZSBmcm9tICdAbXVpL21hdGVyaWFsL0RpYWxvZ1RpdGxlJztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi8uLi8nO1xuXG5leHBvcnQgY29uc3QgVGl0bGUgPSBzdHlsZWQoRGlhbG9nVGl0bGUpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGJhY2tncm91bmRDb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUucHJpbWFyeS5tYWluLFxuICBjb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUud2hpdGUsXG4gIGZvbnRTaXplOiBwcm9wcy50aGVtZT8uZm9udFNpemUubGcsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBDb250ZW50ID0gc3R5bGVkKERpYWxvZ0NvbnRlbnQpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBwYWRkaW5nOiAnMCAyNHB4JyxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZT8ucGFsZXR0ZS5iYWNrZ3JvdW5kLmRlZmF1bHQsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBUZXh0Q29udGVudCA9IHN0eWxlZCgnZGl2Jyk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6ICcxMHB4IDI0cHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcbiJdfQ== */");
|
|
30
|
+
})(({
|
|
31
|
+
theme
|
|
32
|
+
}) => ({
|
|
33
|
+
padding: '0 24px',
|
|
34
|
+
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.background.default
|
|
35
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3NlY3Rpb25zL0hlYWRlci9SZWdpc3RyeUluZm9EaWFsb2cvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IERpYWxvZ0NvbnRlbnQgZnJvbSAnQG11aS9tYXRlcmlhbC9EaWFsb2dDb250ZW50JztcbmltcG9ydCBEaWFsb2dUaXRsZSBmcm9tICdAbXVpL21hdGVyaWFsL0RpYWxvZ1RpdGxlJztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi8uLi8nO1xuXG5leHBvcnQgY29uc3QgVGl0bGUgPSBzdHlsZWQoRGlhbG9nVGl0bGUpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGJhY2tncm91bmRDb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUucHJpbWFyeS5tYWluLFxuICBjb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUud2hpdGUsXG4gIGZvbnRTaXplOiBwcm9wcy50aGVtZT8uZm9udFNpemUubGcsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBDb250ZW50ID0gc3R5bGVkKERpYWxvZ0NvbnRlbnQpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBwYWRkaW5nOiAnMCAyNHB4JyxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZT8ucGFsZXR0ZS5iYWNrZ3JvdW5kLmRlZmF1bHQsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBUZXh0Q29udGVudCA9IHN0eWxlZCgnZGl2Jyk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6ICcxMHB4IDI0cHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcbiJdfQ== */");
|
|
37
36
|
exports.Content = Content;
|
|
38
|
-
|
|
37
|
+
const TextContent = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
39
38
|
target: "e1gzb7520"
|
|
40
39
|
} : {
|
|
41
40
|
target: "e1gzb7520",
|
|
42
41
|
label: "TextContent"
|
|
43
|
-
})(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQjJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBEaWFsb2dDb250ZW50IGZyb20gJ0BtdWkvbWF0ZXJpYWwvRGlhbG9nQ29udGVudCc7XG5pbXBvcnQgRGlhbG9nVGl0bGUgZnJvbSAnQG11aS9tYXRlcmlhbC9EaWFsb2dUaXRsZSc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vJztcblxuZXhwb3J0IGNvbnN0IFRpdGxlID0gc3R5bGVkKERpYWxvZ1RpdGxlKTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBiYWNrZ3JvdW5kQ29sb3I6IHByb3BzLnRoZW1lPy5wYWxldHRlLnByaW1hcnkubWFpbixcbiAgY29sb3I6IHByb3BzLnRoZW1lPy5wYWxldHRlLndoaXRlLFxuICBmb250U2l6ZTogcHJvcHMudGhlbWU/LmZvbnRTaXplLmxnLFxufSkpO1xuXG5leHBvcnQgY29uc3QgQ29udGVudCA9IHN0eWxlZChEaWFsb2dDb250ZW50KTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZzogJzAgMjRweCcsXG4gIGJhY2tncm91bmRDb2xvcjogdGhlbWU/LnBhbGV0dGUuYmFja2dyb3VuZC5kZWZhdWx0LFxufSkpO1xuXG5leHBvcnQgY29uc3QgVGV4dENvbnRlbnQgPSBzdHlsZWQoJ2RpdicpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBwYWRkaW5nOiAnMTBweCAyNHB4JyxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZT8ucGFsZXR0ZS5iYWNrZ3JvdW5kLmRlZmF1bHQsXG59KSk7XG4iXX0= */");
|
|
42
|
+
})(({
|
|
43
|
+
theme
|
|
44
|
+
}) => ({
|
|
45
|
+
padding: '10px 24px',
|
|
46
|
+
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.background.default
|
|
47
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQjJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9zZWN0aW9ucy9IZWFkZXIvUmVnaXN0cnlJbmZvRGlhbG9nL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBEaWFsb2dDb250ZW50IGZyb20gJ0BtdWkvbWF0ZXJpYWwvRGlhbG9nQ29udGVudCc7XG5pbXBvcnQgRGlhbG9nVGl0bGUgZnJvbSAnQG11aS9tYXRlcmlhbC9EaWFsb2dUaXRsZSc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vJztcblxuZXhwb3J0IGNvbnN0IFRpdGxlID0gc3R5bGVkKERpYWxvZ1RpdGxlKTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBiYWNrZ3JvdW5kQ29sb3I6IHByb3BzLnRoZW1lPy5wYWxldHRlLnByaW1hcnkubWFpbixcbiAgY29sb3I6IHByb3BzLnRoZW1lPy5wYWxldHRlLndoaXRlLFxuICBmb250U2l6ZTogcHJvcHMudGhlbWU/LmZvbnRTaXplLmxnLFxufSkpO1xuXG5leHBvcnQgY29uc3QgQ29udGVudCA9IHN0eWxlZChEaWFsb2dDb250ZW50KTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZzogJzAgMjRweCcsXG4gIGJhY2tncm91bmRDb2xvcjogdGhlbWU/LnBhbGV0dGUuYmFja2dyb3VuZC5kZWZhdWx0LFxufSkpO1xuXG5leHBvcnQgY29uc3QgVGV4dENvbnRlbnQgPSBzdHlsZWQoJ2RpdicpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBwYWRkaW5nOiAnMTBweCAyNHB4JyxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZT8ucGFsZXR0ZS5iYWNrZ3JvdW5kLmRlZmF1bHQsXG59KSk7XG4iXX0= */");
|
|
50
48
|
exports.TextContent = TextContent;
|
|
51
49
|
//# sourceMappingURL=styles.js.map
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "default", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
9
|
-
return _Header
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Header.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _Header = _interopRequireDefault(require("./Header"));
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|