@backstage-community/plugin-multi-source-security-viewer 0.2.2 → 0.3.0
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/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/dist/components/DialogLauncher/DialogLauncher.esm.js +17 -11
- package/dist/components/DialogLauncher/DialogLauncher.esm.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.esm.js +12 -9
- package/dist/components/EmptyState/EmptyState.esm.js.map +1 -1
- package/dist/components/EmptyState/EmptyStateNoData.esm.js +2 -2
- package/dist/components/EmptyState/EmptyStateNoData.esm.js.map +1 -1
- package/dist/components/EmptyState/EmptyStateNoMatch.esm.js +2 -2
- package/dist/components/EmptyState/EmptyStateNoMatch.esm.js.map +1 -1
- package/dist/components/EmptyState/EmptyStateSpinner.esm.js +7 -6
- package/dist/components/EmptyState/EmptyStateSpinner.esm.js.map +1 -1
- package/dist/components/Icons/CriticalIcon.esm.js +5 -5
- package/dist/components/Icons/CriticalIcon.esm.js.map +1 -1
- package/dist/components/Icons/EqualsIcon.esm.js +5 -5
- package/dist/components/Icons/EqualsIcon.esm.js.map +1 -1
- package/dist/components/Icons/IconWithValue.esm.js +7 -2
- package/dist/components/Icons/IconWithValue.esm.js.map +1 -1
- package/dist/components/Icons/LogsIcon.esm.js +6 -8
- package/dist/components/Icons/LogsIcon.esm.js.map +1 -1
- package/dist/components/Icons/OutputIcon.esm.js +5 -5
- package/dist/components/Icons/OutputIcon.esm.js.map +1 -1
- package/dist/components/Icons/SBOMLink.esm.js +6 -8
- package/dist/components/Icons/SBOMLink.esm.js.map +1 -1
- package/dist/components/PermissionAlert/PermissionAlert.esm.js +5 -2
- package/dist/components/PermissionAlert/PermissionAlert.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunList.esm.js +34 -30
- package/dist/components/PipelineRunList/PipelineRunList.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunOutput.esm.js +5 -4
- package/dist/components/PipelineRunList/PipelineRunOutput.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunSBOMLink.esm.js +31 -29
- package/dist/components/PipelineRunList/PipelineRunSBOMLink.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunTable.esm.js +12 -6
- package/dist/components/PipelineRunList/PipelineRunTable.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunTableBody.esm.js +2 -2
- package/dist/components/PipelineRunList/PipelineRunTableBody.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunTableColumns.esm.js +4 -3
- package/dist/components/PipelineRunList/PipelineRunTableColumns.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunTablePagination.esm.js +98 -86
- package/dist/components/PipelineRunList/PipelineRunTablePagination.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunTableRow.esm.js +44 -34
- package/dist/components/PipelineRunList/PipelineRunTableRow.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunTableRowActions.esm.js +64 -56
- package/dist/components/PipelineRunList/PipelineRunTableRowActions.esm.js.map +1 -1
- package/dist/components/PipelineRunList/PipelineRunToolbar.esm.js +41 -34
- package/dist/components/PipelineRunList/PipelineRunToolbar.esm.js.map +1 -1
- package/dist/components/PipelineRunLogs/PipelineRunLogs.esm.js +21 -21
- package/dist/components/PipelineRunLogs/PipelineRunLogs.esm.js.map +1 -1
- package/dist/components/PipelineRunLogs/PipelineRunLogsDownloader.esm.js +38 -27
- package/dist/components/PipelineRunLogs/PipelineRunLogsDownloader.esm.js.map +1 -1
- package/dist/components/PipelineRunLogs/PipelineRunStepViewer.esm.js +7 -6
- package/dist/components/PipelineRunLogs/PipelineRunStepViewer.esm.js.map +1 -1
- package/dist/components/PipelineRunLogs/PipelineRunStepper.esm.js +7 -6
- package/dist/components/PipelineRunLogs/PipelineRunStepper.esm.js.map +1 -1
- package/dist/components/Router.esm.js +36 -32
- package/dist/components/Router.esm.js.map +1 -1
- package/dist/components/SecurityViewer/SecurityViewerGithubActionsDetail.esm.js +2 -2
- package/dist/components/SecurityViewer/SecurityViewerGithubActionsDetail.esm.js.map +1 -1
- package/dist/components/SecurityViewer/SecurityViewerJenkinsDetail.esm.js +2 -2
- package/dist/components/SecurityViewer/SecurityViewerJenkinsDetail.esm.js.map +1 -1
- package/dist/components/SecurityViewer/SecurityViewerMultiCIPipelines.esm.js +24 -16
- package/dist/components/SecurityViewer/SecurityViewerMultiCIPipelines.esm.js.map +1 -1
- package/dist/components/SecurityViewer/SecurityViewerPipelineDetailList.esm.js +6 -5
- package/dist/components/SecurityViewer/SecurityViewerPipelineDetailList.esm.js.map +1 -1
- package/dist/components/SecurityViewer/SecurityViewerPipelineSummaryList.esm.js +6 -5
- package/dist/components/SecurityViewer/SecurityViewerPipelineSummaryList.esm.js.map +1 -1
- package/dist/components/SecurityViewer/SecurityViewerTabbedMultiCISummaryList.esm.js +13 -9
- package/dist/components/SecurityViewer/SecurityViewerTabbedMultiCISummaryList.esm.js.map +1 -1
- package/dist/hooks/useDarkTheme.esm.js +2 -2
- package/dist/hooks/useDarkTheme.esm.js.map +1 -1
- package/dist/hooks/usePipelineDetail.esm.js +2 -2
- package/dist/hooks/usePipelineDetail.esm.js.map +1 -1
- package/dist/hooks/usePipelineSummary.esm.js +2 -2
- package/dist/hooks/usePipelineSummary.esm.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @backstage-community/plugin-multi-source-security-viewer
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5477f85: Bump backstage version to v1.38.1
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [5477f85]
|
|
12
|
+
- @backstage-community/plugin-multi-source-security-viewer-common@0.2.0
|
|
13
|
+
|
|
14
|
+
## 0.2.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 4b13a33: Fix installation documentation
|
|
19
|
+
|
|
3
20
|
## 0.2.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This plugin enables you to visualize pipeline security information from multiple
|
|
|
21
21
|
1. Install the plugin using the following command:
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
yarn workspace app add @backstage-community/multi-source-security-viewer
|
|
24
|
+
yarn workspace app add @backstage-community/plugin-multi-source-security-viewer
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
To enable the PipelineRun list in the Security tab on the entity view page, add the following snippet in the packages/app/src/components/catalog/EntityPage.tsx.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
1
2
|
import { ErrorBoundary } from '@backstage/core-components';
|
|
2
3
|
import { Dialog, DialogTitle, Box, IconButton, DialogContent } from '@material-ui/core';
|
|
3
4
|
import CloseIcon from '@material-ui/icons/Close';
|
|
4
|
-
import
|
|
5
|
+
import { Fragment } from 'react';
|
|
5
6
|
|
|
6
7
|
const DialogLauncher = ({
|
|
7
8
|
open,
|
|
@@ -11,16 +12,21 @@ const DialogLauncher = ({
|
|
|
11
12
|
title,
|
|
12
13
|
...rest
|
|
13
14
|
}) => {
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Dialog, { open, onClose, ...rest, children: [
|
|
16
|
+
/* @__PURE__ */ jsx(DialogTitle, { children: /* @__PURE__ */ jsxs(
|
|
17
|
+
Box,
|
|
18
|
+
{
|
|
19
|
+
display: "flex",
|
|
20
|
+
justifyContent: { xs: "center", sm: "space-between" },
|
|
21
|
+
alignItems: "center",
|
|
22
|
+
children: [
|
|
23
|
+
title,
|
|
24
|
+
/* @__PURE__ */ jsx(IconButton, { onClick: onClose, children: /* @__PURE__ */ jsx(CloseIcon, {}) })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
) }),
|
|
28
|
+
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(ErrorBoundary, { children: /* @__PURE__ */ jsx(Component, { ...componentProps }) }) })
|
|
29
|
+
] }) });
|
|
24
30
|
};
|
|
25
31
|
|
|
26
32
|
export { DialogLauncher };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogLauncher.esm.js","sources":["../../../src/components/DialogLauncher/DialogLauncher.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ErrorBoundary } from '@backstage/core-components';\nimport {\n Box,\n Dialog,\n DialogContent,\n DialogProps,\n DialogTitle,\n IconButton,\n} from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\nimport
|
|
1
|
+
{"version":3,"file":"DialogLauncher.esm.js","sources":["../../../src/components/DialogLauncher/DialogLauncher.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ErrorBoundary } from '@backstage/core-components';\nimport {\n Box,\n Dialog,\n DialogContent,\n DialogProps,\n DialogTitle,\n IconButton,\n} from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\nimport type { FC } from 'react';\nimport { Fragment } from 'react';\n\ntype DialogLauncherProps = {\n component: FC<any>;\n componentProps?: Record<string, any>;\n title: string;\n open: boolean;\n onClose: () => void;\n} & DialogProps;\n\nexport const DialogLauncher: FC<DialogLauncherProps> = ({\n open,\n onClose,\n component: Component,\n componentProps = {},\n title,\n ...rest\n}) => {\n return (\n <Fragment>\n <Dialog open={open} onClose={onClose} {...rest}>\n <DialogTitle>\n <Box\n display=\"flex\"\n justifyContent={{ xs: 'center', sm: 'space-between' }}\n alignItems=\"center\"\n >\n {title}\n <IconButton onClick={onClose}>\n <CloseIcon />\n </IconButton>\n </Box>\n </DialogTitle>\n <DialogContent>\n <ErrorBoundary>\n <Component {...componentProps} />\n </ErrorBoundary>\n </DialogContent>\n </Dialog>\n </Fragment>\n );\n};\n"],"names":[],"mappings":";;;;;;AAoCO,MAAM,iBAA0C,CAAC;AAAA,EACtD,IAAA;AAAA,EACA,OAAA;AAAA,EACA,SAAW,EAAA,SAAA;AAAA,EACX,iBAAiB,EAAC;AAAA,EAClB,KAAA;AAAA,EACA,GAAG;AACL,CAAM,KAAA;AACJ,EAAA,2BACG,QACC,EAAA,EAAA,QAAA,kBAAA,IAAA,CAAC,UAAO,IAAY,EAAA,OAAA,EAAmB,GAAG,IACxC,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,WACC,EAAA,EAAA,QAAA,kBAAA,IAAA;AAAA,MAAC,GAAA;AAAA,MAAA;AAAA,QACC,OAAQ,EAAA,MAAA;AAAA,QACR,cAAgB,EAAA,EAAE,EAAI,EAAA,QAAA,EAAU,IAAI,eAAgB,EAAA;AAAA,QACpD,UAAW,EAAA,QAAA;AAAA,QAEV,QAAA,EAAA;AAAA,UAAA,KAAA;AAAA,8BACA,UAAW,EAAA,EAAA,OAAA,EAAS,OACnB,EAAA,QAAA,kBAAA,GAAA,CAAC,aAAU,CACb,EAAA;AAAA;AAAA;AAAA,KAEJ,EAAA,CAAA;AAAA,oBACA,GAAA,CAAC,iBACC,QAAC,kBAAA,GAAA,CAAA,aAAA,EAAA,EACC,8BAAC,SAAW,EAAA,EAAA,GAAG,cAAgB,EAAA,CAAA,EACjC,CACF,EAAA;AAAA,GAAA,EACF,CACF,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { Fragment } from 'react';
|
|
2
3
|
import { makeStyles, Box, Typography, Button } from '@material-ui/core';
|
|
3
4
|
|
|
4
5
|
const useStyles = makeStyles((theme) => ({
|
|
@@ -31,20 +32,22 @@ const EmptyState = ({
|
|
|
31
32
|
action
|
|
32
33
|
}) => {
|
|
33
34
|
const classes = useStyles();
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Box, { className: classes.box, children: /* @__PURE__ */ jsxs(
|
|
35
36
|
Box,
|
|
36
37
|
{
|
|
37
38
|
sx: {
|
|
38
39
|
display: "flex",
|
|
39
40
|
flexDirection: "column",
|
|
40
41
|
alignItems: "center"
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ jsx(Icon, { className: classes.icon }),
|
|
45
|
+
/* @__PURE__ */ jsx(Typography, { className: classes.title, variant: "h6", children: title }),
|
|
46
|
+
/* @__PURE__ */ jsx(Typography, { className: classes.helperText, variant: "body1", children: helperText }),
|
|
47
|
+
action && /* @__PURE__ */ jsx(Button, { onClick: action.fn, className: classes.actionText, children: action.text })
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
) }) });
|
|
48
51
|
};
|
|
49
52
|
|
|
50
53
|
export { EmptyState };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.esm.js","sources":["../../../src/components/EmptyState/EmptyState.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"EmptyState.esm.js","sources":["../../../src/components/EmptyState/EmptyState.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { ComponentType, FC } from 'react';\n\nimport { Fragment } from 'react';\nimport { Box, Button, makeStyles, Theme, Typography } from '@material-ui/core';\n\ntype EmptyStateProps = {\n icon: ComponentType<any>;\n title: string;\n helperText: string;\n action?: {\n text: string;\n fn: () => void;\n };\n};\n\nconst useStyles = makeStyles((theme: Theme) => ({\n box: {\n display: 'flex',\n justifyContent: 'center',\n marginBottom: theme.spacing(4),\n },\n icon: {\n margin: theme.spacing(4, 0, 2, 0),\n fontSize: theme.typography.h1?.fontSize ?? '4rem',\n fill: 'var(--pf-t--color--gray--50)',\n },\n title: {\n textAlign: 'center',\n marginBottom: theme.spacing(2),\n },\n helperText: {\n marginBottom: theme.spacing(4),\n },\n actionText: {\n textTransform: 'none',\n color: 'var(--pf-t--color--blue--40)',\n },\n}));\n\nexport const EmptyState: FC<EmptyStateProps> = ({\n icon: Icon,\n title,\n helperText,\n action,\n}) => {\n const classes = useStyles();\n\n return (\n <Fragment>\n <Box className={classes.box}>\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n }}\n >\n <Icon className={classes.icon} />\n <Typography className={classes.title} variant=\"h6\">\n {title}\n </Typography>\n <Typography className={classes.helperText} variant=\"body1\">\n {helperText}\n </Typography>\n {action && (\n <Button onClick={action.fn} className={classes.actionText}>\n {action.text}\n </Button>\n )}\n </Box>\n </Box>\n </Fragment>\n );\n};\n"],"names":[],"mappings":";;;;AA8BA,MAAM,SAAA,GAAY,UAAW,CAAA,CAAC,KAAkB,MAAA;AAAA,EAC9C,GAAK,EAAA;AAAA,IACH,OAAS,EAAA,MAAA;AAAA,IACT,cAAgB,EAAA,QAAA;AAAA,IAChB,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC;AAAA,GAC/B;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,QAAQ,KAAM,CAAA,OAAA,CAAQ,CAAG,EAAA,CAAA,EAAG,GAAG,CAAC,CAAA;AAAA,IAChC,QAAU,EAAA,KAAA,CAAM,UAAW,CAAA,EAAA,EAAI,QAAY,IAAA,MAAA;AAAA,IAC3C,IAAM,EAAA;AAAA,GACR;AAAA,EACA,KAAO,EAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC;AAAA,GAC/B;AAAA,EACA,UAAY,EAAA;AAAA,IACV,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC;AAAA,GAC/B;AAAA,EACA,UAAY,EAAA;AAAA,IACV,aAAe,EAAA,MAAA;AAAA,IACf,KAAO,EAAA;AAAA;AAEX,CAAE,CAAA,CAAA;AAEK,MAAM,aAAkC,CAAC;AAAA,EAC9C,IAAM,EAAA,IAAA;AAAA,EACN,KAAA;AAAA,EACA,UAAA;AAAA,EACA;AACF,CAAM,KAAA;AACJ,EAAA,MAAM,UAAU,SAAU,EAAA;AAE1B,EAAA,2BACG,QACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,GAAI,EAAA,EAAA,SAAA,EAAW,QAAQ,GACtB,EAAA,QAAA,kBAAA,IAAA;AAAA,IAAC,GAAA;AAAA,IAAA;AAAA,MACC,EAAI,EAAA;AAAA,QACF,OAAS,EAAA,MAAA;AAAA,QACT,aAAe,EAAA,QAAA;AAAA,QACf,UAAY,EAAA;AAAA,OACd;AAAA,MAEA,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,IAAA,EAAA,EAAK,SAAW,EAAA,OAAA,CAAQ,IAAM,EAAA,CAAA;AAAA,4BAC9B,UAAW,EAAA,EAAA,SAAA,EAAW,QAAQ,KAAO,EAAA,OAAA,EAAQ,MAC3C,QACH,EAAA,KAAA,EAAA,CAAA;AAAA,4BACC,UAAW,EAAA,EAAA,SAAA,EAAW,QAAQ,UAAY,EAAA,OAAA,EAAQ,SAChD,QACH,EAAA,UAAA,EAAA,CAAA;AAAA,QACC,MAAA,oBACE,GAAA,CAAA,MAAA,EAAA,EAAO,OAAS,EAAA,MAAA,CAAO,IAAI,SAAW,EAAA,OAAA,CAAQ,UAC5C,EAAA,QAAA,EAAA,MAAA,CAAO,IACV,EAAA;AAAA;AAAA;AAAA,KAGN,CACF,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { EmptyState } from './EmptyState.esm.js';
|
|
3
3
|
import SettingsIcon from '@mui/icons-material/Settings';
|
|
4
4
|
|
|
5
|
-
const EmptyStateNoData = () => /* @__PURE__ */
|
|
5
|
+
const EmptyStateNoData = () => /* @__PURE__ */ jsx(
|
|
6
6
|
EmptyState,
|
|
7
7
|
{
|
|
8
8
|
icon: SettingsIcon,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateNoData.esm.js","sources":["../../../src/components/EmptyState/EmptyStateNoData.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"EmptyStateNoData.esm.js","sources":["../../../src/components/EmptyState/EmptyStateNoData.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FunctionComponent } from 'react';\nimport { EmptyState } from './EmptyState';\nimport SettingsIcon from '@mui/icons-material/Settings';\n\nexport const EmptyStateNoData: FunctionComponent = () => (\n <EmptyState\n icon={SettingsIcon}\n title=\"No Pipeline Runs\"\n helperText=\"No pipeline runs available. Create a new pipeline run to get started.\"\n />\n);\n"],"names":[],"mappings":";;;;AAmBO,MAAM,mBAAsC,sBACjD,GAAA;AAAA,EAAC,UAAA;AAAA,EAAA;AAAA,IACC,IAAM,EAAA,YAAA;AAAA,IACN,KAAM,EAAA,kBAAA;AAAA,IACN,UAAW,EAAA;AAAA;AACb;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import SearchIcon from '@mui/icons-material/Search';
|
|
3
3
|
import { EmptyState } from './EmptyState.esm.js';
|
|
4
4
|
|
|
5
|
-
const EmptyStateNoMatchFound = ({ actionFn }) => /* @__PURE__ */
|
|
5
|
+
const EmptyStateNoMatchFound = ({ actionFn }) => /* @__PURE__ */ jsx(
|
|
6
6
|
EmptyState,
|
|
7
7
|
{
|
|
8
8
|
icon: SearchIcon,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateNoMatch.esm.js","sources":["../../../src/components/EmptyState/EmptyStateNoMatch.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"EmptyStateNoMatch.esm.js","sources":["../../../src/components/EmptyState/EmptyStateNoMatch.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FunctionComponent } from 'react';\nimport SearchIcon from '@mui/icons-material/Search';\nimport { EmptyState } from './EmptyState';\n\ntype EmptyStateNoMatchFoundProps = {\n actionFn: () => void;\n};\n\nexport const EmptyStateNoMatchFound: FunctionComponent<\n EmptyStateNoMatchFoundProps\n> = ({ actionFn }) => (\n <EmptyState\n icon={SearchIcon}\n title=\"No results found\"\n helperText=\"No results match the filter criteria. Remove all filters or clean all filters to show results.\"\n action={{ text: 'Clear all filters', fn: actionFn }}\n />\n);\n"],"names":[],"mappings":";;;;AAuBO,MAAM,sBAET,GAAA,CAAC,EAAE,QAAA,EACL,qBAAA,GAAA;AAAA,EAAC,UAAA;AAAA,EAAA;AAAA,IACC,IAAM,EAAA,UAAA;AAAA,IACN,KAAM,EAAA,kBAAA;AAAA,IACN,UAAW,EAAA,gGAAA;AAAA,IACX,MAAQ,EAAA,EAAE,IAAM,EAAA,mBAAA,EAAqB,IAAI,QAAS;AAAA;AACpD;;;;"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Fragment } from 'react';
|
|
2
3
|
import { Box, CircularProgress } from '@material-ui/core';
|
|
3
4
|
|
|
4
5
|
const EmptyStateSpinner = () => {
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
6
7
|
Box,
|
|
7
8
|
{
|
|
8
9
|
sx: {
|
|
9
10
|
display: "flex",
|
|
10
11
|
justifyContent: "center",
|
|
11
12
|
margin: "5rem 0 5rem 0"
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
));
|
|
13
|
+
},
|
|
14
|
+
children: /* @__PURE__ */ jsx(CircularProgress, { "data-testid": "spinner" })
|
|
15
|
+
}
|
|
16
|
+
) });
|
|
16
17
|
};
|
|
17
18
|
|
|
18
19
|
export { EmptyStateSpinner };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateSpinner.esm.js","sources":["../../../src/components/EmptyState/EmptyStateSpinner.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"EmptyStateSpinner.esm.js","sources":["../../../src/components/EmptyState/EmptyStateSpinner.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FC } from 'react';\n\nimport { Fragment } from 'react';\nimport { Box, CircularProgress } from '@material-ui/core';\n\nexport const EmptyStateSpinner: FC = () => {\n return (\n <Fragment>\n <Box\n sx={{\n display: 'flex',\n justifyContent: 'center',\n margin: '5rem 0 5rem 0',\n }}\n >\n <CircularProgress data-testid=\"spinner\" />\n </Box>\n </Fragment>\n );\n};\n"],"names":[],"mappings":";;;;AAoBO,MAAM,oBAAwB,MAAM;AACzC,EAAA,2BACG,QACC,EAAA,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,GAAA;AAAA,IAAA;AAAA,MACC,EAAI,EAAA;AAAA,QACF,OAAS,EAAA,MAAA;AAAA,QACT,cAAgB,EAAA,QAAA;AAAA,QAChB,MAAQ,EAAA;AAAA,OACV;AAAA,MAEA,QAAA,kBAAA,GAAA,CAAC,gBAAiB,EAAA,EAAA,aAAA,EAAY,SAAU,EAAA;AAAA;AAAA,GAE5C,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { t_color_red_50 } from '@patternfly/react-tokens';
|
|
3
3
|
|
|
4
4
|
const CriticalRiskIcon = ({ className }) => {
|
|
5
|
-
return /* @__PURE__ */
|
|
5
|
+
return /* @__PURE__ */ jsx(
|
|
6
6
|
"svg",
|
|
7
7
|
{
|
|
8
8
|
viewBox: "0 0 925 1024",
|
|
9
9
|
fill: t_color_red_50.value,
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
className
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
className,
|
|
12
|
+
children: /* @__PURE__ */ jsx("path", { d: "M897.86597,252.24865 L491.105712,7.96742801 C473.40731,-2.65897781 451.300057,-2.65597516 433.611654,7.97743687 L27.1213875,252.245648 C10.3059556,262.353595 0.0163032058,280.549701 0.0163032058,300.182078 L0.0163032058,967.971163 C-1.04266102,1010.81008 49.7156241,1038.89994 85.4314175,1015.41816 C85.4304175,1015.42016 432.807682,798.630273 432.807682,798.630273 C450.891071,787.348287 473.816296,787.342282 491.906685,798.624268 L839.584939,1015.4612 C875.297732,1039.03406 926.031018,1010.73602 924.984054,968.003192 C924.985054,968.005193 924.985054,300.192087 924.985054,300.192087 C924.985054,280.552703 914.688401,262.353595 897.86597,252.24865" })
|
|
13
|
+
}
|
|
14
14
|
);
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CriticalIcon.esm.js","sources":["../../../src/components/Icons/CriticalIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"CriticalIcon.esm.js","sources":["../../../src/components/Icons/CriticalIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FC } from 'react';\nimport { t_color_red_50 as criticalColor } from '@patternfly/react-tokens';\nimport { SvgIconProps } from '@material-ui/core';\n\nexport const CriticalRiskIcon: FC<SvgIconProps> = ({ className }) => {\n return (\n <svg\n viewBox=\"0 0 925 1024\"\n fill={criticalColor.value}\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n >\n <path d=\"M897.86597,252.24865 L491.105712,7.96742801 C473.40731,-2.65897781 451.300057,-2.65597516 433.611654,7.97743687 L27.1213875,252.245648 C10.3059556,262.353595 0.0163032058,280.549701 0.0163032058,300.182078 L0.0163032058,967.971163 C-1.04266102,1010.81008 49.7156241,1038.89994 85.4314175,1015.41816 C85.4304175,1015.42016 432.807682,798.630273 432.807682,798.630273 C450.891071,787.348287 473.816296,787.342282 491.906685,798.624268 L839.584939,1015.4612 C875.297732,1039.03406 926.031018,1010.73602 924.984054,968.003192 C924.985054,968.005193 924.985054,300.192087 924.985054,300.192087 C924.985054,280.552703 914.688401,262.353595 897.86597,252.24865\" />\n </svg>\n );\n};\n"],"names":["criticalColor"],"mappings":";;;AAmBO,MAAM,gBAAqC,GAAA,CAAC,EAAE,SAAA,EAAgB,KAAA;AACnE,EACE,uBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAQ,EAAA,cAAA;AAAA,MACR,MAAMA,cAAc,CAAA,KAAA;AAAA,MACpB,KAAM,EAAA,4BAAA;AAAA,MACN,SAAA;AAAA,MAEA,QAAA,kBAAA,GAAA,CAAC,MAAK,EAAA,EAAA,CAAA,EAAE,+oBAAgpB,EAAA;AAAA;AAAA,GAC1pB;AAEJ;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { t_color_yellow_40 } from '@patternfly/react-tokens';
|
|
3
3
|
|
|
4
4
|
const EqualsIcon = ({ className }) => {
|
|
5
|
-
return /* @__PURE__ */
|
|
5
|
+
return /* @__PURE__ */ jsx(
|
|
6
6
|
"svg",
|
|
7
7
|
{
|
|
8
8
|
viewBox: "0 -960 960 960",
|
|
9
9
|
fill: t_color_yellow_40.value,
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
className
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
className,
|
|
12
|
+
children: /* @__PURE__ */ jsx("path", { d: "M160-280v-120h640v120H160Zm0-280v-120h640v120H160Z" })
|
|
13
|
+
}
|
|
14
14
|
);
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EqualsIcon.esm.js","sources":["../../../src/components/Icons/EqualsIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"EqualsIcon.esm.js","sources":["../../../src/components/Icons/EqualsIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FC } from 'react';\nimport { t_color_yellow_40 as mediumColor } from '@patternfly/react-tokens';\nimport { SvgIconProps } from '@material-ui/core';\n\nexport const EqualsIcon: FC<SvgIconProps> = ({ className }) => {\n return (\n <svg\n viewBox=\"0 -960 960 960\"\n fill={mediumColor.value}\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n >\n <path d=\"M160-280v-120h640v120H160Zm0-280v-120h640v120H160Z\" />\n </svg>\n );\n};\n"],"names":["mediumColor"],"mappings":";;;AAmBO,MAAM,UAA+B,GAAA,CAAC,EAAE,SAAA,EAAgB,KAAA;AAC7D,EACE,uBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAQ,EAAA,gBAAA;AAAA,MACR,MAAMA,iBAAY,CAAA,KAAA;AAAA,MAClB,KAAM,EAAA,4BAAA;AAAA,MACN,SAAA;AAAA,MAEA,QAAA,kBAAA,GAAA,CAAC,MAAK,EAAA,EAAA,CAAA,EAAE,oDAAqD,EAAA;AAAA;AAAA,GAC/D;AAEJ;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
2
|
+
import { Fragment } from 'react';
|
|
2
3
|
import { isNumber } from 'lodash';
|
|
3
4
|
import Tooltip from '@mui/material/Tooltip';
|
|
4
5
|
import { Box, Typography } from '@material-ui/core';
|
|
@@ -9,7 +10,11 @@ const IconWithValue = ({
|
|
|
9
10
|
iconProps,
|
|
10
11
|
value
|
|
11
12
|
}) => {
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Tooltip, { title: tooltip, arrow: true, placement: "left", children: /* @__PURE__ */ jsx(Box, { display: "flex", alignItems: "center", style: { gap: ".5em" }, children: isNumber(value) ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
14
|
+
/* @__PURE__ */ jsx(IconComponent, { ...iconProps }),
|
|
15
|
+
" ",
|
|
16
|
+
value
|
|
17
|
+
] }) : /* @__PURE__ */ jsx(Typography, { variant: "body2", children: value }) }) }) });
|
|
13
18
|
};
|
|
14
19
|
|
|
15
20
|
export { IconWithValue };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconWithValue.esm.js","sources":["../../../src/components/Icons/IconWithValue.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"IconWithValue.esm.js","sources":["../../../src/components/Icons/IconWithValue.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { ComponentType, FC } from 'react';\n\nimport { Fragment } from 'react';\nimport { SvgIconProps } from '@mui/material/SvgIcon';\nimport { isNumber } from 'lodash';\nimport Tooltip from '@mui/material/Tooltip';\nimport { Box, Typography } from '@material-ui/core';\n\ntype PipelineRunIconProps = {\n iconComponent: ComponentType;\n tooltip: string;\n iconProps?: SvgIconProps;\n value: string | number; // if value is a number, it will be displayed with the icon\n};\n\nexport interface IconWithValueProps\n extends Omit<PipelineRunIconProps, 'iconComponent'> {}\n\nexport const IconWithValue: FC<PipelineRunIconProps> = ({\n iconComponent: IconComponent,\n tooltip,\n iconProps,\n value,\n}) => {\n return (\n <Fragment>\n <Tooltip title={tooltip} arrow placement=\"left\">\n <Box display=\"flex\" alignItems=\"center\" style={{ gap: '.5em' }}>\n {isNumber(value) ? (\n <>\n <IconComponent {...iconProps} /> {value}\n </>\n ) : (\n <Typography variant=\"body2\">{value}</Typography>\n )}\n </Box>\n </Tooltip>\n </Fragment>\n );\n};\n"],"names":["Fragment"],"mappings":";;;;;;AAiCO,MAAM,gBAA0C,CAAC;AAAA,EACtD,aAAe,EAAA,aAAA;AAAA,EACf,OAAA;AAAA,EACA,SAAA;AAAA,EACA;AACF,CAAM,KAAA;AACJ,EACE,uBAAA,GAAA,CAACA,QAAA,EAAA,EACC,QAAC,kBAAA,GAAA,CAAA,OAAA,EAAA,EAAQ,OAAO,OAAS,EAAA,KAAA,EAAK,IAAC,EAAA,SAAA,EAAU,MACvC,EAAA,QAAA,kBAAA,GAAA,CAAC,OAAI,OAAQ,EAAA,MAAA,EAAO,UAAW,EAAA,QAAA,EAAS,KAAO,EAAA,EAAE,GAAK,EAAA,MAAA,EACnD,EAAA,QAAA,EAAA,QAAA,CAAS,KAAK,CAAA,mBAEX,IAAA,CAAAA,UAAA,EAAA,EAAA,QAAA,EAAA;AAAA,oBAAC,GAAA,CAAA,aAAA,EAAA,EAAe,GAAG,SAAW,EAAA,CAAA;AAAA,IAAE,GAAA;AAAA,IAAE;AAAA,GACpC,EAAA,CAAA,uBAEC,UAAW,EAAA,EAAA,OAAA,EAAQ,SAAS,QAAM,EAAA,KAAA,EAAA,CAAA,EAEvC,GACF,CACF,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { makeStyles, createStyles } from '@material-ui/core';
|
|
3
3
|
|
|
4
4
|
const useStyles = makeStyles(
|
|
@@ -11,11 +11,9 @@ const useStyles = makeStyles(
|
|
|
11
11
|
}
|
|
12
12
|
})
|
|
13
13
|
);
|
|
14
|
-
const ViewLogsIcon = ({
|
|
15
|
-
disabled
|
|
16
|
-
}) => {
|
|
14
|
+
const ViewLogsIcon = ({ disabled }) => {
|
|
17
15
|
const classes = useStyles();
|
|
18
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ jsx(
|
|
19
17
|
"svg",
|
|
20
18
|
{
|
|
21
19
|
viewBox: "0 0 24 24",
|
|
@@ -23,9 +21,9 @@ const ViewLogsIcon = ({
|
|
|
23
21
|
height: "24",
|
|
24
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25
23
|
fill: "none",
|
|
26
|
-
className: disabled ? classes.disabledButton : classes.icon
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
className: disabled ? classes.disabledButton : classes.icon,
|
|
25
|
+
children: /* @__PURE__ */ jsx("path", { d: "M4.5 21C4.0875 21 3.73438 20.8531 3.44063 20.5594C3.14688 20.2656 3 19.9125 3 19.5V4.5C3 4.0875 3.14688 3.73438 3.44063 3.44063C3.73438 3.14688 4.0875 3 4.5 3H19.5C19.9125 3 20.2656 3.14688 20.5594 3.44063C20.8531 3.73438 21 4.0875 21 4.5V19.5C21 19.9125 20.8531 20.2656 20.5594 20.5594C20.2656 20.8531 19.9125 21 19.5 21H4.5ZM4.5 19.5H19.5V6.5H4.5V19.5ZM12.001 16.875C10.667 16.875 9.475 16.5154 8.425 15.7962C7.375 15.077 6.60833 14.1437 6.125 12.9962C6.60833 11.8487 7.37466 10.9167 8.42398 10.2C9.47329 9.48333 10.665 9.125 11.999 9.125C13.333 9.125 14.525 9.48459 15.575 10.2038C16.625 10.923 17.3917 11.8563 17.875 13.0038C17.3917 14.1513 16.6253 15.0833 15.576 15.8C14.5267 16.5167 13.335 16.875 12.001 16.875ZM11.9971 14.25C11.649 14.25 11.3542 14.1282 11.1125 13.8846C10.8708 13.6409 10.75 13.3451 10.75 12.9971C10.75 12.649 10.8718 12.3542 11.1155 12.1125C11.3591 11.8708 11.6549 11.75 12.003 11.75C12.351 11.75 12.6458 11.8718 12.8875 12.1155C13.1292 12.3591 13.25 12.6549 13.25 13.003C13.25 13.351 13.1282 13.6458 12.8846 13.8875C12.6409 14.1292 12.3451 14.25 11.9971 14.25ZM12 15C12.56 15 13.0333 14.8067 13.42 14.42C13.8067 14.0333 14 13.56 14 13C14 12.44 13.8067 11.9667 13.42 11.58C13.0333 11.1933 12.56 11 12 11C11.44 11 10.9667 11.1933 10.58 11.58C10.1933 11.9667 10 12.44 10 13C10 13.56 10.1933 14.0333 10.58 14.42C10.9667 14.8067 11.44 15 12 15Z" })
|
|
26
|
+
}
|
|
29
27
|
);
|
|
30
28
|
};
|
|
31
29
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogsIcon.esm.js","sources":["../../../src/components/Icons/LogsIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"LogsIcon.esm.js","sources":["../../../src/components/Icons/LogsIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FC } from 'react';\nimport { Theme, createStyles, makeStyles } from '@material-ui/core';\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n icon: {\n fill: theme.palette.text.primary,\n },\n disabledButton: {\n fill: theme.palette.grey[600],\n },\n }),\n);\n\nexport const ViewLogsIcon: FC<{ disabled?: boolean }> = ({ disabled }) => {\n const classes = useStyles();\n return (\n <svg\n viewBox=\"0 0 24 24\"\n width=\"24\"\n height=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n className={disabled ? classes.disabledButton : classes.icon}\n >\n <path d=\"M4.5 21C4.0875 21 3.73438 20.8531 3.44063 20.5594C3.14688 20.2656 3 19.9125 3 19.5V4.5C3 4.0875 3.14688 3.73438 3.44063 3.44063C3.73438 3.14688 4.0875 3 4.5 3H19.5C19.9125 3 20.2656 3.14688 20.5594 3.44063C20.8531 3.73438 21 4.0875 21 4.5V19.5C21 19.9125 20.8531 20.2656 20.5594 20.5594C20.2656 20.8531 19.9125 21 19.5 21H4.5ZM4.5 19.5H19.5V6.5H4.5V19.5ZM12.001 16.875C10.667 16.875 9.475 16.5154 8.425 15.7962C7.375 15.077 6.60833 14.1437 6.125 12.9962C6.60833 11.8487 7.37466 10.9167 8.42398 10.2C9.47329 9.48333 10.665 9.125 11.999 9.125C13.333 9.125 14.525 9.48459 15.575 10.2038C16.625 10.923 17.3917 11.8563 17.875 13.0038C17.3917 14.1513 16.6253 15.0833 15.576 15.8C14.5267 16.5167 13.335 16.875 12.001 16.875ZM11.9971 14.25C11.649 14.25 11.3542 14.1282 11.1125 13.8846C10.8708 13.6409 10.75 13.3451 10.75 12.9971C10.75 12.649 10.8718 12.3542 11.1155 12.1125C11.3591 11.8708 11.6549 11.75 12.003 11.75C12.351 11.75 12.6458 11.8718 12.8875 12.1155C13.1292 12.3591 13.25 12.6549 13.25 13.003C13.25 13.351 13.1282 13.6458 12.8846 13.8875C12.6409 14.1292 12.3451 14.25 11.9971 14.25ZM12 15C12.56 15 13.0333 14.8067 13.42 14.42C13.8067 14.0333 14 13.56 14 13C14 12.44 13.8067 11.9667 13.42 11.58C13.0333 11.1933 12.56 11 12 11C11.44 11 10.9667 11.1933 10.58 11.58C10.1933 11.9667 10 12.44 10 13C10 13.56 10.1933 14.0333 10.58 14.42C10.9667 14.8067 11.44 15 12 15Z\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";;;AAkBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAAW,CAAC,UAC5B,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,IAAA,EAAM,KAAM,CAAA,OAAA,CAAQ,IAAK,CAAA;AAAA,KAC3B;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,IAAM,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,CAAK,GAAG;AAAA;AAC9B,GACD;AACH,CAAA;AAEO,MAAM,YAA2C,GAAA,CAAC,EAAE,QAAA,EAAe,KAAA;AACxE,EAAA,MAAM,UAAU,SAAU,EAAA;AAC1B,EACE,uBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAQ,EAAA,WAAA;AAAA,MACR,KAAM,EAAA,IAAA;AAAA,MACN,MAAO,EAAA,IAAA;AAAA,MACP,KAAM,EAAA,4BAAA;AAAA,MACN,IAAK,EAAA,MAAA;AAAA,MACL,SAAW,EAAA,QAAA,GAAW,OAAQ,CAAA,cAAA,GAAiB,OAAQ,CAAA,IAAA;AAAA,MAEvD,QAAA,kBAAA,GAAA,CAAC,MAAK,EAAA,EAAA,CAAA,EAAE,u1CAAw1C,EAAA;AAAA;AAAA,GACl2C;AAEJ;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { makeStyles, createStyles } from '@material-ui/core';
|
|
3
3
|
|
|
4
4
|
const useStyles = makeStyles(
|
|
@@ -13,16 +13,16 @@ const useStyles = makeStyles(
|
|
|
13
13
|
);
|
|
14
14
|
const OutputIcon = ({ disabled }) => {
|
|
15
15
|
const classes = useStyles();
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ jsx(
|
|
17
17
|
"svg",
|
|
18
18
|
{
|
|
19
19
|
viewBox: "0 0 24 24",
|
|
20
20
|
width: "24",
|
|
21
21
|
height: "24",
|
|
22
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
-
className: disabled ? classes.disabledButton : classes.icon
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
className: disabled ? classes.disabledButton : classes.icon,
|
|
24
|
+
children: /* @__PURE__ */ jsx("path", { d: "M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V7H5V19ZM7 12V10H17V12H7ZM7 16V14H13V16H7Z" })
|
|
25
|
+
}
|
|
26
26
|
);
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputIcon.esm.js","sources":["../../../src/components/Icons/OutputIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"OutputIcon.esm.js","sources":["../../../src/components/Icons/OutputIcon.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FC } from 'react';\nimport { Theme, createStyles, makeStyles } from '@material-ui/core';\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n icon: {\n fill: theme.palette.text.primary,\n },\n disabledButton: {\n fill: theme.palette.grey[600],\n },\n }),\n);\n\nexport const OutputIcon: FC<{ disabled?: boolean }> = ({ disabled }) => {\n const classes = useStyles();\n return (\n <svg\n viewBox=\"0 0 24 24\"\n width=\"24\"\n height=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={disabled ? classes.disabledButton : classes.icon}\n >\n <path d=\"M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V7H5V19ZM7 12V10H17V12H7ZM7 16V14H13V16H7Z\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";;;AAkBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAAW,CAAC,UAC5B,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,IAAA,EAAM,KAAM,CAAA,OAAA,CAAQ,IAAK,CAAA;AAAA,KAC3B;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,IAAM,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,CAAK,GAAG;AAAA;AAC9B,GACD;AACH,CAAA;AAEO,MAAM,UAAyC,GAAA,CAAC,EAAE,QAAA,EAAe,KAAA;AACtE,EAAA,MAAM,UAAU,SAAU,EAAA;AAC1B,EACE,uBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAQ,EAAA,WAAA;AAAA,MACR,KAAM,EAAA,IAAA;AAAA,MACN,MAAO,EAAA,IAAA;AAAA,MACP,KAAM,EAAA,4BAAA;AAAA,MACN,SAAW,EAAA,QAAA,GAAW,OAAQ,CAAA,cAAA,GAAiB,OAAQ,CAAA,IAAA;AAAA,MAEvD,QAAA,kBAAA,GAAA,CAAC,MAAK,EAAA,EAAA,CAAA,EAAE,oVAAqV,EAAA;AAAA;AAAA,GAC/V;AAEJ;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { makeStyles, createStyles } from '@material-ui/core';
|
|
3
3
|
|
|
4
4
|
const useStyles = makeStyles(
|
|
@@ -11,20 +11,18 @@ const useStyles = makeStyles(
|
|
|
11
11
|
}
|
|
12
12
|
})
|
|
13
13
|
);
|
|
14
|
-
const SBOMLinkIcon = ({
|
|
15
|
-
disabled
|
|
16
|
-
}) => {
|
|
14
|
+
const SBOMLinkIcon = ({ disabled }) => {
|
|
17
15
|
const classes = useStyles();
|
|
18
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ jsx(
|
|
19
17
|
"svg",
|
|
20
18
|
{
|
|
21
19
|
viewBox: "0 0 24 24",
|
|
22
20
|
width: "24",
|
|
23
21
|
height: "24",
|
|
24
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
className: disabled ? classes.disabledButton : classes.icon
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
className: disabled ? classes.disabledButton : classes.icon,
|
|
24
|
+
children: /* @__PURE__ */ jsx("path", { d: "M11 17H7C5.61667 17 4.4375 16.5125 3.4625 15.5375C2.4875 14.5625 2 13.3833 2 12C2 10.6167 2.4875 9.4375 3.4625 8.4625C4.4375 7.4875 5.61667 7 7 7H11V9H7C6.16667 9 5.45833 9.29167 4.875 9.875C4.29167 10.4583 4 11.1667 4 12C4 12.8333 4.29167 13.5417 4.875 14.125C5.45833 14.7083 6.16667 15 7 15H11V17ZM8 13V11H16V13H8ZM13 17V15H17C17.8333 15 18.5417 14.7083 19.125 14.125C19.7083 13.5417 20 12.8333 20 12C20 11.1667 19.7083 10.4583 19.125 9.875C18.5417 9.29167 17.8333 9 17 9H13V7H17C18.3833 7 19.5625 7.4875 20.5375 8.4625C21.5125 9.4375 22 10.6167 22 12C22 13.3833 21.5125 14.5625 20.5375 15.5375C19.5625 16.5125 18.3833 17 17 17H13Z" })
|
|
25
|
+
}
|
|
28
26
|
);
|
|
29
27
|
};
|
|
30
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SBOMLink.esm.js","sources":["../../../src/components/Icons/SBOMLink.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"SBOMLink.esm.js","sources":["../../../src/components/Icons/SBOMLink.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { FC } from 'react';\nimport { Theme, createStyles, makeStyles } from '@material-ui/core';\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n icon: {\n fill: theme.palette.text.primary,\n },\n disabledButton: {\n fill: theme.palette.grey[600],\n },\n }),\n);\n\nexport const SBOMLinkIcon: FC<{ disabled?: boolean }> = ({ disabled }) => {\n const classes = useStyles();\n return (\n <svg\n viewBox=\"0 0 24 24\"\n width=\"24\"\n height=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={disabled ? classes.disabledButton : classes.icon}\n >\n <path d=\"M11 17H7C5.61667 17 4.4375 16.5125 3.4625 15.5375C2.4875 14.5625 2 13.3833 2 12C2 10.6167 2.4875 9.4375 3.4625 8.4625C4.4375 7.4875 5.61667 7 7 7H11V9H7C6.16667 9 5.45833 9.29167 4.875 9.875C4.29167 10.4583 4 11.1667 4 12C4 12.8333 4.29167 13.5417 4.875 14.125C5.45833 14.7083 6.16667 15 7 15H11V17ZM8 13V11H16V13H8ZM13 17V15H17C17.8333 15 18.5417 14.7083 19.125 14.125C19.7083 13.5417 20 12.8333 20 12C20 11.1667 19.7083 10.4583 19.125 9.875C18.5417 9.29167 17.8333 9 17 9H13V7H17C18.3833 7 19.5625 7.4875 20.5375 8.4625C21.5125 9.4375 22 10.6167 22 12C22 13.3833 21.5125 14.5625 20.5375 15.5375C19.5625 16.5125 18.3833 17 17 17H13Z\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";;;AAkBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAAW,CAAC,UAC5B,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,IAAA,EAAM,KAAM,CAAA,OAAA,CAAQ,IAAK,CAAA;AAAA,KAC3B;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,IAAM,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,CAAK,GAAG;AAAA;AAC9B,GACD;AACH,CAAA;AAEO,MAAM,YAA2C,GAAA,CAAC,EAAE,QAAA,EAAe,KAAA;AACxE,EAAA,MAAM,UAAU,SAAU,EAAA;AAC1B,EACE,uBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAQ,EAAA,WAAA;AAAA,MACR,KAAM,EAAA,IAAA;AAAA,MACN,MAAO,EAAA,IAAA;AAAA,MACP,KAAM,EAAA,4BAAA;AAAA,MACN,SAAW,EAAA,QAAA,GAAW,OAAQ,CAAA,cAAA,GAAiB,OAAQ,CAAA,IAAA;AAAA,MAEvD,QAAA,kBAAA,GAAA,CAAC,MAAK,EAAA,EAAA,CAAA,EAAE,2nBAA4nB,EAAA;AAAA;AAAA,GACtoB;AAEJ;;;;"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Alert, AlertTitle } from '@material-ui/lab';
|
|
3
3
|
|
|
4
4
|
const PermissionAlert = () => {
|
|
5
|
-
return /* @__PURE__ */
|
|
5
|
+
return /* @__PURE__ */ jsxs(Alert, { severity: "warning", "data-testid": "no-permission-alert", children: [
|
|
6
|
+
/* @__PURE__ */ jsx(AlertTitle, { children: "Permission required" }),
|
|
7
|
+
"To view security information, contact your administrator to give you the mssv.view.read permission."
|
|
8
|
+
] });
|
|
6
9
|
};
|
|
7
10
|
|
|
8
11
|
export { PermissionAlert as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionAlert.esm.js","sources":["../../../src/components/PermissionAlert/PermissionAlert.tsx"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport
|
|
1
|
+
{"version":3,"file":"PermissionAlert.esm.js","sources":["../../../src/components/PermissionAlert/PermissionAlert.tsx"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Alert, AlertTitle } from '@material-ui/lab';\n\nconst PermissionAlert = () => {\n return (\n <Alert severity=\"warning\" data-testid=\"no-permission-alert\">\n <AlertTitle>Permission required</AlertTitle>\n To view security information, contact your administrator to give you the\n mssv.view.read permission.\n </Alert>\n );\n};\nexport default PermissionAlert;\n"],"names":[],"mappings":";;;AAiBA,MAAM,kBAAkB,MAAM;AAC5B,EAAA,uBACG,IAAA,CAAA,KAAA,EAAA,EAAM,QAAS,EAAA,SAAA,EAAU,eAAY,qBACpC,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,cAAW,QAAmB,EAAA,qBAAA,EAAA,CAAA;AAAA,IAAa;AAAA,GAG9C,EAAA,CAAA;AAEJ;;;;"}
|