@backstage/plugin-api-docs 0.6.12 → 0.6.16

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 CHANGED
@@ -1,5 +1,49 @@
1
1
  # @backstage/plugin-api-docs
2
2
 
3
+ ## 0.6.16
4
+
5
+ ### Patch Changes
6
+
7
+ - 752a53d94e: Improve theme integration for OpenApi definition
8
+ - Updated dependencies
9
+ - @backstage/core-components@0.7.6
10
+ - @backstage/theme@0.2.14
11
+ - @backstage/core-plugin-api@0.2.2
12
+
13
+ ## 0.6.15
14
+
15
+ ### Patch Changes
16
+
17
+ - c982fc12cb: Adjusted some styles in the OpenAPI definition, for elements which were barely readable in dark mode.
18
+ - Updated dependencies
19
+ - @backstage/core-plugin-api@0.2.1
20
+ - @backstage/core-components@0.7.5
21
+
22
+ ## 0.6.14
23
+
24
+ ### Patch Changes
25
+
26
+ - a125278b81: Refactor out the deprecated path and icon from RouteRefs
27
+ - Updated dependencies
28
+ - @backstage/plugin-catalog@0.7.3
29
+ - @backstage/catalog-model@0.9.7
30
+ - @backstage/plugin-catalog-react@0.6.4
31
+ - @backstage/core-components@0.7.4
32
+ - @backstage/core-plugin-api@0.2.0
33
+
34
+ ## 0.6.13
35
+
36
+ ### Patch Changes
37
+
38
+ - 044c38e739: Lazy load all API definition widgets. The widgets use libraries like
39
+ `swagger-ui`, `graphiql`, and `@asyncapi/react-component` which are quite heavy
40
+ weight. To improve initial load times, the widgets are only loaded once used.
41
+ - Updated dependencies
42
+ - @backstage/core-components@0.7.3
43
+ - @backstage/theme@0.2.13
44
+ - @backstage/core-plugin-api@0.1.13
45
+ - @backstage/plugin-catalog-react@0.6.3
46
+
3
47
  ## 0.6.12
4
48
 
5
49
  ### Patch Changes
package/README.md CHANGED
@@ -160,6 +160,14 @@ by this plugin.
160
160
  Grab a copy of [oauth2-redirect.html](https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html)
161
161
  and put it in the `app/public/` directory in order to enable Swagger UI to complete this redirection.
162
162
 
163
+ This also may require you to adjust `Content Security Policy` header settings of your Backstage application, so that the script in `oauth2-redirect.html` can be executed. Since the script is static we can add the hash of it directly to our CSP policy, which we do by adding the following to the `csp` section of the app configuration:
164
+
165
+ ```yaml
166
+ script-src:
167
+ - "'self'"
168
+ - "'sha256-GeDavzSZ8O71Jggf/pQkKbt52dfZkrdNMQ3e+Ox+AkI='" # oauth2-redirect.html
169
+ ```
170
+
163
171
  #### Configuring your OAuth2 Client
164
172
 
165
173
  You'll need to make sure your OAuth2 client has been registered in your OAuth2 Authentication Server (AS)
@@ -0,0 +1,116 @@
1
+ import AsyncApi from '@asyncapi/react-component';
2
+ import '@asyncapi/react-component/lib/styles/fiori.css';
3
+ import { makeStyles, alpha } from '@material-ui/core/styles';
4
+ import React from 'react';
5
+
6
+ const useStyles = makeStyles((theme) => ({
7
+ root: {
8
+ "& .asyncapi": {
9
+ "font-family": "inherit",
10
+ background: "none"
11
+ },
12
+ "& h2": {
13
+ ...theme.typography.h6
14
+ },
15
+ "& .text-teal": {
16
+ color: theme.palette.primary.main
17
+ },
18
+ "& button": {
19
+ ...theme.typography.button,
20
+ background: "none",
21
+ boxSizing: "border-box",
22
+ minWidth: 64,
23
+ borderRadius: theme.shape.borderRadius,
24
+ transition: theme.transitions.create(["background-color", "box-shadow", "border"], {
25
+ duration: theme.transitions.duration.short
26
+ }),
27
+ padding: "5px 15px",
28
+ color: theme.palette.primary.main,
29
+ border: `1px solid ${alpha(theme.palette.primary.main, 0.5)}`,
30
+ "&:hover": {
31
+ textDecoration: "none",
32
+ "&.Mui-disabled": {
33
+ backgroundColor: "transparent"
34
+ },
35
+ border: `1px solid ${theme.palette.primary.main}`,
36
+ backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity),
37
+ "@media (hover: none)": {
38
+ backgroundColor: "transparent"
39
+ }
40
+ },
41
+ "&.Mui-disabled": {
42
+ color: theme.palette.action.disabled
43
+ }
44
+ },
45
+ "& .asyncapi__collapse-button:hover": {
46
+ color: theme.palette.primary.main
47
+ },
48
+ "& button.asyncapi__toggle-button": {
49
+ "min-width": "inherit"
50
+ },
51
+ "& .asyncapi__info-list li": {
52
+ "border-color": theme.palette.primary.main,
53
+ "&:hover": {
54
+ color: theme.palette.text.primary,
55
+ "border-color": theme.palette.primary.main,
56
+ "background-color": theme.palette.primary.main
57
+ }
58
+ },
59
+ "& .asyncapi__info-list li a": {
60
+ color: theme.palette.primary.main,
61
+ "&:hover": {
62
+ color: theme.palette.getContrastText(theme.palette.primary.main)
63
+ }
64
+ },
65
+ "& .asyncapi__enum": {
66
+ color: theme.palette.secondary.main
67
+ },
68
+ "& .asyncapi__info, .asyncapi__channel, .asyncapi__channels > div, .asyncapi__schema, .asyncapi__channel-operations-list .asyncapi__messages-list-item .asyncapi__message, .asyncapi__message, .asyncapi__server, .asyncapi__servers > div, .asyncapi__messages > div, .asyncapi__schemas > div": {
69
+ "background-color": "inherit"
70
+ },
71
+ "& .asyncapi__channel-parameters-header, .asyncapi__channel-operations-header, .asyncapi__channel-operation-oneOf-subscribe-header, .asyncapi__channel-operation-oneOf-publish-header, .asyncapi__channel-operation-message-header, .asyncapi__message-header, .asyncapi__message-header-title, .asyncapi__message-header-title > h3, .asyncapi__bindings, .asyncapi__bindings-header, .asyncapi__bindings-header > h4": {
72
+ "background-color": "inherit",
73
+ color: theme.palette.text.primary
74
+ },
75
+ "& .asyncapi__additional-properties-notice": {
76
+ color: theme.palette.text.hint
77
+ },
78
+ "& .asyncapi__code, .asyncapi__code-pre": {
79
+ background: theme.palette.background.default
80
+ },
81
+ "& .asyncapi__schema-example-header-title": {
82
+ color: theme.palette.text.secondary
83
+ },
84
+ "& .asyncapi__message-headers-header, .asyncapi__message-payload-header, .asyncapi__server-variables-header, .asyncapi__server-security-header": {
85
+ "background-color": "inherit",
86
+ color: theme.palette.text.secondary
87
+ },
88
+ "& .asyncapi__table-header": {
89
+ background: theme.palette.background.default
90
+ },
91
+ "& .asyncapi__table-body": {
92
+ color: theme.palette.text.primary
93
+ },
94
+ "& .asyncapi__server-security-flow": {
95
+ background: theme.palette.background.default,
96
+ border: "none"
97
+ },
98
+ "& .asyncapi__server-security-flows-list a": {
99
+ color: theme.palette.primary.main
100
+ },
101
+ "& .asyncapi__table-row--nested": {
102
+ color: theme.palette.text.secondary
103
+ }
104
+ }
105
+ }));
106
+ const AsyncApiDefinition = ({definition}) => {
107
+ const classes = useStyles();
108
+ return /* @__PURE__ */ React.createElement("div", {
109
+ className: classes.root
110
+ }, /* @__PURE__ */ React.createElement(AsyncApi, {
111
+ schema: definition
112
+ }));
113
+ };
114
+
115
+ export { AsyncApiDefinition };
116
+ //# sourceMappingURL=AsyncApiDefinition-21854d8d.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AsyncApiDefinition-21854d8d.esm.js","sources":["../../src/components/AsyncApiDefinitionWidget/AsyncApiDefinition.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport AsyncApi from '@asyncapi/react-component';\nimport '@asyncapi/react-component/lib/styles/fiori.css';\nimport { alpha, makeStyles } from '@material-ui/core/styles';\nimport React from 'react';\n\nconst useStyles = makeStyles(theme => ({\n root: {\n '& .asyncapi': {\n 'font-family': 'inherit',\n background: 'none',\n },\n '& h2': {\n ...theme.typography.h6,\n },\n '& .text-teal': {\n color: theme.palette.primary.main,\n },\n '& button': {\n ...theme.typography.button,\n background: 'none',\n boxSizing: 'border-box',\n minWidth: 64,\n borderRadius: theme.shape.borderRadius,\n transition: theme.transitions.create(\n ['background-color', 'box-shadow', 'border'],\n {\n duration: theme.transitions.duration.short,\n },\n ),\n padding: '5px 15px',\n color: theme.palette.primary.main,\n border: `1px solid ${alpha(theme.palette.primary.main, 0.5)}`,\n '&:hover': {\n textDecoration: 'none',\n '&.Mui-disabled': {\n backgroundColor: 'transparent',\n },\n border: `1px solid ${theme.palette.primary.main}`,\n backgroundColor: alpha(\n theme.palette.primary.main,\n theme.palette.action.hoverOpacity,\n ),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent',\n },\n },\n '&.Mui-disabled': {\n color: theme.palette.action.disabled,\n },\n },\n '& .asyncapi__collapse-button:hover': {\n color: theme.palette.primary.main,\n },\n '& button.asyncapi__toggle-button': {\n 'min-width': 'inherit',\n },\n '& .asyncapi__info-list li': {\n 'border-color': theme.palette.primary.main,\n '&:hover': {\n color: theme.palette.text.primary,\n 'border-color': theme.palette.primary.main,\n 'background-color': theme.palette.primary.main,\n },\n },\n '& .asyncapi__info-list li a': {\n color: theme.palette.primary.main,\n '&:hover': {\n color: theme.palette.getContrastText(theme.palette.primary.main),\n },\n },\n '& .asyncapi__enum': {\n color: theme.palette.secondary.main,\n },\n '& .asyncapi__info, .asyncapi__channel, .asyncapi__channels > div, .asyncapi__schema, .asyncapi__channel-operations-list .asyncapi__messages-list-item .asyncapi__message, .asyncapi__message, .asyncapi__server, .asyncapi__servers > div, .asyncapi__messages > div, .asyncapi__schemas > div':\n {\n 'background-color': 'inherit',\n },\n '& .asyncapi__channel-parameters-header, .asyncapi__channel-operations-header, .asyncapi__channel-operation-oneOf-subscribe-header, .asyncapi__channel-operation-oneOf-publish-header, .asyncapi__channel-operation-message-header, .asyncapi__message-header, .asyncapi__message-header-title, .asyncapi__message-header-title > h3, .asyncapi__bindings, .asyncapi__bindings-header, .asyncapi__bindings-header > h4':\n {\n 'background-color': 'inherit',\n color: theme.palette.text.primary,\n },\n '& .asyncapi__additional-properties-notice': {\n color: theme.palette.text.hint,\n },\n '& .asyncapi__code, .asyncapi__code-pre': {\n background: theme.palette.background.default,\n },\n '& .asyncapi__schema-example-header-title': {\n color: theme.palette.text.secondary,\n },\n '& .asyncapi__message-headers-header, .asyncapi__message-payload-header, .asyncapi__server-variables-header, .asyncapi__server-security-header':\n {\n 'background-color': 'inherit',\n color: theme.palette.text.secondary,\n },\n '& .asyncapi__table-header': {\n background: theme.palette.background.default,\n },\n '& .asyncapi__table-body': {\n color: theme.palette.text.primary,\n },\n '& .asyncapi__server-security-flow': {\n background: theme.palette.background.default,\n border: 'none',\n },\n '& .asyncapi__server-security-flows-list a': {\n color: theme.palette.primary.main,\n },\n '& .asyncapi__table-row--nested': {\n color: theme.palette.text.secondary,\n },\n },\n}));\n\ntype Props = {\n definition: string;\n};\n\nexport const AsyncApiDefinition = ({ definition }: Props) => {\n const classes = useStyles();\n\n return (\n <div className={classes.root}>\n <AsyncApi schema={definition} />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;AAqBA,MAAM,YAAY,WAAW;AAAU,EACrC,MAAM;AAAA,IACJ,eAAe;AAAA,MACb,eAAe;AAAA,MACf,YAAY;AAAA;AAAA,IAEd,QAAQ;AAAA,SACH,MAAM,WAAW;AAAA;AAAA,IAEtB,gBAAgB;AAAA,MACd,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,IAE/B,YAAY;AAAA,SACP,MAAM,WAAW;AAAA,MACpB,YAAY;AAAA,MACZ,WAAW;AAAA,MACX,UAAU;AAAA,MACV,cAAc,MAAM,MAAM;AAAA,MAC1B,YAAY,MAAM,YAAY,OAC5B,CAAC,oBAAoB,cAAc,WACnC;AAAA,QACE,UAAU,MAAM,YAAY,SAAS;AAAA;AAAA,MAGzC,SAAS;AAAA,MACT,OAAO,MAAM,QAAQ,QAAQ;AAAA,MAC7B,QAAQ,aAAa,MAAM,MAAM,QAAQ,QAAQ,MAAM;AAAA,MACvD,WAAW;AAAA,QACT,gBAAgB;AAAA,QAChB,kBAAkB;AAAA,UAChB,iBAAiB;AAAA;AAAA,QAEnB,QAAQ,aAAa,MAAM,QAAQ,QAAQ;AAAA,QAC3C,iBAAiB,MACf,MAAM,QAAQ,QAAQ,MACtB,MAAM,QAAQ,OAAO;AAAA,QAGvB,wBAAwB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA,MAGrB,kBAAkB;AAAA,QAChB,OAAO,MAAM,QAAQ,OAAO;AAAA;AAAA;AAAA,IAGhC,sCAAsC;AAAA,MACpC,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,IAE/B,oCAAoC;AAAA,MAClC,aAAa;AAAA;AAAA,IAEf,6BAA6B;AAAA,MAC3B,gBAAgB,MAAM,QAAQ,QAAQ;AAAA,MACtC,WAAW;AAAA,QACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,gBAAgB,MAAM,QAAQ,QAAQ;AAAA,QACtC,oBAAoB,MAAM,QAAQ,QAAQ;AAAA;AAAA;AAAA,IAG9C,+BAA+B;AAAA,MAC7B,OAAO,MAAM,QAAQ,QAAQ;AAAA,MAC7B,WAAW;AAAA,QACT,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ;AAAA;AAAA;AAAA,IAG/D,qBAAqB;AAAA,MACnB,OAAO,MAAM,QAAQ,UAAU;AAAA;AAAA,IAEjC,kSACE;AAAA,MACE,oBAAoB;AAAA;AAAA,IAExB,0ZACE;AAAA,MACE,oBAAoB;AAAA,MACpB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE9B,6CAA6C;AAAA,MAC3C,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE5B,0CAA0C;AAAA,MACxC,YAAY,MAAM,QAAQ,WAAW;AAAA;AAAA,IAEvC,4CAA4C;AAAA,MAC1C,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE5B,iJACE;AAAA,MACE,oBAAoB;AAAA,MACpB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE9B,6BAA6B;AAAA,MAC3B,YAAY,MAAM,QAAQ,WAAW;AAAA;AAAA,IAEvC,2BAA2B;AAAA,MACzB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE5B,qCAAqC;AAAA,MACnC,YAAY,MAAM,QAAQ,WAAW;AAAA,MACrC,QAAQ;AAAA;AAAA,IAEV,6CAA6C;AAAA,MAC3C,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,IAE/B,kCAAkC;AAAA,MAChC,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA;AAAA;MASnB,qBAAqB,CAAC,CAAE,gBAAwB;AAC3D,QAAM,UAAU;AAEhB,6CACG,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,UAAD;AAAA,IAAU,QAAQ;AAAA;AAAA;;;;"}
@@ -0,0 +1,41 @@
1
+ import { makeStyles } from '@material-ui/core/styles';
2
+ import GraphiQL from 'graphiql';
3
+ import 'graphiql/graphiql.css';
4
+ import { buildSchema } from 'graphql';
5
+ import React from 'react';
6
+
7
+ const useStyles = makeStyles(() => ({
8
+ root: {
9
+ height: "100%",
10
+ display: "flex",
11
+ flexFlow: "column nowrap"
12
+ },
13
+ graphiQlWrapper: {
14
+ flex: 1,
15
+ "@global": {
16
+ ".graphiql-container": {
17
+ boxSizing: "initial",
18
+ height: "100%",
19
+ minHeight: "600px",
20
+ flex: "1 1 auto"
21
+ }
22
+ }
23
+ }
24
+ }));
25
+ const GraphQlDefinition = ({definition}) => {
26
+ const classes = useStyles();
27
+ const schema = buildSchema(definition);
28
+ return /* @__PURE__ */ React.createElement("div", {
29
+ className: classes.root
30
+ }, /* @__PURE__ */ React.createElement("div", {
31
+ className: classes.graphiQlWrapper
32
+ }, /* @__PURE__ */ React.createElement(GraphiQL, {
33
+ fetcher: () => Promise.resolve(null),
34
+ schema,
35
+ docExplorerOpen: true,
36
+ defaultSecondaryEditorOpen: false
37
+ })));
38
+ };
39
+
40
+ export { GraphQlDefinition };
41
+ //# sourceMappingURL=GraphQlDefinition-547f34fe.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlDefinition-547f34fe.esm.js","sources":["../../src/components/GraphQlDefinitionWidget/GraphQlDefinition.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport { BackstageTheme } from '@backstage/theme';\nimport { makeStyles } from '@material-ui/core/styles';\nimport GraphiQL from 'graphiql';\nimport 'graphiql/graphiql.css';\nimport { buildSchema } from 'graphql';\nimport React from 'react';\n\nconst useStyles = makeStyles<BackstageTheme>(() => ({\n root: {\n height: '100%',\n display: 'flex',\n flexFlow: 'column nowrap',\n },\n graphiQlWrapper: {\n flex: 1,\n '@global': {\n '.graphiql-container': {\n boxSizing: 'initial',\n height: '100%',\n minHeight: '600px',\n flex: '1 1 auto',\n },\n },\n },\n}));\n\ntype Props = {\n definition: string;\n};\n\nexport const GraphQlDefinition = ({ definition }: Props) => {\n const classes = useStyles();\n const schema = buildSchema(definition);\n\n return (\n <div className={classes.root}>\n <div className={classes.graphiQlWrapper}>\n <GraphiQL\n fetcher={() => Promise.resolve(null) as any}\n schema={schema}\n docExplorerOpen\n defaultSecondaryEditorOpen={false}\n />\n </div>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;AAuBA,MAAM,YAAY,WAA2B;AAAO,EAClD,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA;AAAA,EAEZ,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,WAAW;AAAA,MACT,uBAAuB;AAAA,QACrB,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,WAAW;AAAA,QACX,MAAM;AAAA;AAAA;AAAA;AAAA;MAUD,oBAAoB,CAAC,CAAE,gBAAwB;AAC1D,QAAM,UAAU;AAChB,QAAM,SAAS,YAAY;AAE3B,6CACG,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,UAAD;AAAA,IACE,SAAS,MAAM,QAAQ,QAAQ;AAAA,IAC/B;AAAA,IACA,iBAAe;AAAA,IACf,4BAA4B;AAAA;AAAA;;;;"}
@@ -0,0 +1,131 @@
1
+ import { makeStyles } from '@material-ui/core/styles';
2
+ import React, { useState, useEffect } from 'react';
3
+ import SwaggerUI from 'swagger-ui-react';
4
+ import 'swagger-ui-react/swagger-ui.css';
5
+
6
+ const useStyles = makeStyles((theme) => ({
7
+ root: {
8
+ "& .swagger-ui": {
9
+ fontFamily: theme.typography.fontFamily,
10
+ color: theme.palette.text.primary,
11
+ [`& .scheme-container`]: {
12
+ backgroundColor: theme.palette.background.default
13
+ },
14
+ [`& .opblock-tag,
15
+ .opblock-tag small,
16
+ table thead tr td,
17
+ table thead tr th`]: {
18
+ fontFamily: theme.typography.fontFamily,
19
+ color: theme.palette.text.primary,
20
+ borderColor: theme.palette.divider
21
+ },
22
+ [`& section.models,
23
+ section.models.is-open h4`]: {
24
+ borderColor: theme.palette.divider
25
+ },
26
+ [`& .model-title,
27
+ .model .renderedMarkdown,
28
+ .model .description`]: {
29
+ fontFamily: theme.typography.fontFamily,
30
+ fontWeight: theme.typography.fontWeightRegular
31
+ },
32
+ [`& h1, h2, h3, h4, h5, h6,
33
+ .errors h4, .error h4, .opblock h4, section.models h4,
34
+ .response-control-media-type__accept-message,
35
+ .opblock-summary-description,
36
+ .opblock-summary-operation-id,
37
+ .opblock-summary-path,
38
+ .opblock-summary-path__deprecated,
39
+ .opblock-external-docs-wrapper,
40
+ .opblock-section-header .btn,
41
+ .opblock-section-header>label,
42
+ .scheme-container .schemes>label,a.nostyle,
43
+ .parameter__name,
44
+ .response-col_status,
45
+ .response-col_links,
46
+ .error .btn,
47
+ .info .title,
48
+ .info .base-url`]: {
49
+ fontFamily: theme.typography.fontFamily,
50
+ color: theme.palette.text.primary
51
+ },
52
+ [`& .opblock .opblock-section-header,
53
+ .model-box,
54
+ section.models .model-container`]: {
55
+ background: theme.palette.background.default
56
+ },
57
+ [`& .prop-format,
58
+ .parameter__in`]: {
59
+ color: theme.palette.text.disabled
60
+ },
61
+ [`& table.model,
62
+ .parameter__type,
63
+ .model.model-title,
64
+ .model-title,
65
+ .model span,
66
+ .model .brace-open,
67
+ .model .brace-close,
68
+ .model .property.primitive,
69
+ .model .renderedMarkdown,
70
+ .model .description,
71
+ .errors small`]: {
72
+ color: theme.palette.text.secondary
73
+ },
74
+ [`& .parameter__name.required:after`]: {
75
+ color: theme.palette.warning.dark
76
+ },
77
+ [`& table.model,
78
+ table.model .model,
79
+ .opblock-external-docs-wrapper`]: {
80
+ fontSize: theme.typography.fontSize
81
+ },
82
+ [`& table.headers td`]: {
83
+ color: theme.palette.text.primary,
84
+ fontWeight: theme.typography.fontWeightRegular
85
+ },
86
+ [`& .model-hint`]: {
87
+ color: theme.palette.text.hint,
88
+ backgroundColor: theme.palette.background.paper
89
+ },
90
+ [`& .opblock-summary-method,
91
+ .info a`]: {
92
+ fontFamily: theme.typography.fontFamily
93
+ },
94
+ [`& .info, .opblock, .tab`]: {
95
+ [`& li, p`]: {
96
+ fontFamily: theme.typography.fontFamily,
97
+ color: theme.palette.text.primary
98
+ }
99
+ },
100
+ [`& a`]: {
101
+ color: theme.palette.primary.main
102
+ },
103
+ [`& .renderedMarkdown code`]: {
104
+ color: theme.palette.secondary.light
105
+ },
106
+ [`& .property-row td:first-child`]: {
107
+ color: theme.palette.text.primary
108
+ },
109
+ [`& span.prop-type`]: {
110
+ color: theme.palette.success.light
111
+ }
112
+ }
113
+ }
114
+ }));
115
+ const OpenApiDefinition = ({definition}) => {
116
+ const classes = useStyles();
117
+ const [def, setDef] = useState("");
118
+ useEffect(() => {
119
+ const timer = setTimeout(() => setDef(definition), 0);
120
+ return () => clearTimeout(timer);
121
+ }, [definition, setDef]);
122
+ return /* @__PURE__ */ React.createElement("div", {
123
+ className: classes.root
124
+ }, /* @__PURE__ */ React.createElement(SwaggerUI, {
125
+ spec: def,
126
+ deepLinking: true
127
+ }));
128
+ };
129
+
130
+ export { OpenApiDefinition };
131
+ //# sourceMappingURL=OpenApiDefinition-64011770.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OpenApiDefinition-64011770.esm.js","sources":["../../src/components/OpenApiDefinitionWidget/OpenApiDefinition.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport React, { useEffect, useState } from 'react';\nimport SwaggerUI from 'swagger-ui-react';\nimport 'swagger-ui-react/swagger-ui.css';\n\nconst useStyles = makeStyles(theme => ({\n root: {\n '& .swagger-ui': {\n fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.primary,\n\n [`& .scheme-container`]: {\n backgroundColor: theme.palette.background.default,\n },\n [`& .opblock-tag,\n .opblock-tag small,\n table thead tr td,\n table thead tr th`]: {\n fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.primary,\n borderColor: theme.palette.divider,\n },\n [`& section.models,\n section.models.is-open h4`]: {\n borderColor: theme.palette.divider,\n },\n [`& .model-title,\n .model .renderedMarkdown,\n .model .description`]: {\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightRegular,\n },\n [`& h1, h2, h3, h4, h5, h6,\n .errors h4, .error h4, .opblock h4, section.models h4,\n .response-control-media-type__accept-message,\n .opblock-summary-description,\n .opblock-summary-operation-id,\n .opblock-summary-path,\n .opblock-summary-path__deprecated,\n .opblock-external-docs-wrapper,\n .opblock-section-header .btn,\n .opblock-section-header>label,\n .scheme-container .schemes>label,a.nostyle,\n .parameter__name,\n .response-col_status,\n .response-col_links,\n .error .btn,\n .info .title,\n .info .base-url`]: {\n fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.primary,\n },\n [`& .opblock .opblock-section-header, \n .model-box,\n section.models .model-container`]: {\n background: theme.palette.background.default,\n },\n [`& .prop-format,\n .parameter__in`]: {\n color: theme.palette.text.disabled,\n },\n [`& table.model, \n .parameter__type,\n .model.model-title,\n .model-title,\n .model span,\n .model .brace-open,\n .model .brace-close,\n .model .property.primitive,\n .model .renderedMarkdown,\n .model .description,\n .errors small`]: {\n color: theme.palette.text.secondary,\n },\n [`& .parameter__name.required:after`]: {\n color: theme.palette.warning.dark,\n },\n [`& table.model, \n table.model .model,\n .opblock-external-docs-wrapper`]: {\n fontSize: theme.typography.fontSize,\n },\n [`& table.headers td`]: {\n color: theme.palette.text.primary,\n fontWeight: theme.typography.fontWeightRegular,\n },\n [`& .model-hint`]: {\n color: theme.palette.text.hint,\n backgroundColor: theme.palette.background.paper,\n },\n [`& .opblock-summary-method, \n .info a`]: {\n fontFamily: theme.typography.fontFamily,\n },\n [`& .info, .opblock, .tab`]: {\n [`& li, p`]: {\n fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.primary,\n },\n },\n [`& a`]: {\n color: theme.palette.primary.main,\n },\n [`& .renderedMarkdown code`]: {\n color: theme.palette.secondary.light,\n },\n [`& .property-row td:first-child`]: {\n color: theme.palette.text.primary,\n },\n [`& span.prop-type`]: {\n color: theme.palette.success.light,\n },\n },\n },\n}));\n\nexport type OpenApiDefinitionProps = {\n definition: string;\n};\n\nexport const OpenApiDefinition = ({ definition }: OpenApiDefinitionProps) => {\n const classes = useStyles();\n\n // Due to a bug in the swagger-ui-react component, the component needs\n // to be created without content first.\n const [def, setDef] = useState('');\n\n useEffect(() => {\n const timer = setTimeout(() => setDef(definition), 0);\n return () => clearTimeout(timer);\n }, [definition, setDef]);\n\n return (\n <div className={classes.root}>\n <SwaggerUI spec={def} deepLinking />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;AAqBA,MAAM,YAAY,WAAW;AAAU,EACrC,MAAM;AAAA,IACJ,iBAAiB;AAAA,MACf,YAAY,MAAM,WAAW;AAAA,MAC7B,OAAO,MAAM,QAAQ,KAAK;AAAA,OAEzB,wBAAwB;AAAA,QACvB,iBAAiB,MAAM,QAAQ,WAAW;AAAA;AAAA,OAE3C;AAAA;AAAA;AAAA,+BAGwB;AAAA,QACvB,YAAY,MAAM,WAAW;AAAA,QAC7B,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,aAAa,MAAM,QAAQ;AAAA;AAAA,OAE5B;AAAA,uCACgC;AAAA,QAC/B,aAAa,MAAM,QAAQ;AAAA;AAAA,OAE5B;AAAA;AAAA,iCAE0B;AAAA,QACzB,YAAY,MAAM,WAAW;AAAA,QAC7B,YAAY,MAAM,WAAW;AAAA;AAAA,OAE9B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAgBsB;AAAA,QACrB,YAAY,MAAM,WAAW;AAAA,QAC7B,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B;AAAA;AAAA,6CAEsC;AAAA,QACrC,YAAY,MAAM,QAAQ,WAAW;AAAA;AAAA,OAEtC;AAAA,4BACqB;AAAA,QACpB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAUoB;AAAA,QACnB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B,sCAAsC;AAAA,QACrC,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,OAE9B;AAAA;AAAA,4CAEqC;AAAA,QACpC,UAAU,MAAM,WAAW;AAAA;AAAA,OAE5B,uBAAuB;AAAA,QACtB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,YAAY,MAAM,WAAW;AAAA;AAAA,OAE9B,kBAAkB;AAAA,QACjB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,iBAAiB,MAAM,QAAQ,WAAW;AAAA;AAAA,OAE3C;AAAA,qBACc;AAAA,QACb,YAAY,MAAM,WAAW;AAAA;AAAA,OAE9B,4BAA4B;AAAA,SAC1B,YAAY;AAAA,UACX,YAAY,MAAM,WAAW;AAAA,UAC7B,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA;AAAA,OAG7B,QAAQ;AAAA,QACP,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,OAE9B,6BAA6B;AAAA,QAC5B,OAAO,MAAM,QAAQ,UAAU;AAAA;AAAA,OAEhC,mCAAmC;AAAA,QAClC,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B,qBAAqB;AAAA,QACpB,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA;AAAA;AAAA;MAUxB,oBAAoB,CAAC,CAAE,gBAAyC;AAC3E,QAAM,UAAU;AAIhB,QAAM,CAAC,KAAK,UAAU,SAAS;AAE/B,YAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,OAAO,aAAa;AACnD,WAAO,MAAM,aAAa;AAAA,KACzB,CAAC,YAAY;AAEhB,6CACG,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,WAAD;AAAA,IAAW,MAAM;AAAA,IAAK,aAAW;AAAA;AAAA;;;;"}
@@ -0,0 +1,9 @@
1
+ export { A as ApiDefinitionCard, a as ApiTypeTitle, d as defaultDefinitionWidgets } from './index-c1d775ea.esm.js';
2
+ import '@backstage/plugin-catalog-react';
3
+ import '@material-ui/lab';
4
+ import 'react';
5
+ import '@backstage/core-plugin-api';
6
+ import '@backstage/core-components';
7
+ import '@backstage/catalog-model';
8
+ import '@material-ui/core';
9
+ //# sourceMappingURL=index-29e3fb16.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-29e3fb16.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,9 @@
1
+ export { b as ConsumingComponentsCard, e as ProvidingComponentsCard } from './index-c1d775ea.esm.js';
2
+ import '@backstage/plugin-catalog-react';
3
+ import '@material-ui/lab';
4
+ import 'react';
5
+ import '@backstage/core-plugin-api';
6
+ import '@backstage/core-components';
7
+ import '@backstage/catalog-model';
8
+ import '@material-ui/core';
9
+ //# sourceMappingURL=index-31dd65a0.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-31dd65a0.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,9 @@
1
+ export { C as ConsumedApisCard, H as HasApisCard, P as ProvidedApisCard } from './index-c1d775ea.esm.js';
2
+ import '@backstage/plugin-catalog-react';
3
+ import '@material-ui/lab';
4
+ import 'react';
5
+ import '@backstage/core-plugin-api';
6
+ import '@backstage/core-components';
7
+ import '@backstage/catalog-model';
8
+ import '@material-ui/core';
9
+ //# sourceMappingURL=index-5bfec09f.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-5bfec09f.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -3,15 +3,8 @@ import { useApi, configApiRef, useRouteRef } from '@backstage/core-plugin-api';
3
3
  import { CatalogTable, FilteredEntityLayout, FilterContainer, EntityListContainer } from '@backstage/plugin-catalog';
4
4
  import { EntityListProvider, EntityKindPicker, EntityTypePicker, UserListPicker, EntityOwnerPicker, EntityLifecyclePicker, EntityTagPicker } from '@backstage/plugin-catalog-react';
5
5
  import React from 'react';
6
- import { c as createComponentRouteRef } from './index-33c067eb.esm.js';
6
+ import { c as createComponentRouteRef } from './index-c1d775ea.esm.js';
7
7
  import '@material-ui/lab';
8
- import '@asyncapi/react-component';
9
- import '@asyncapi/react-component/lib/styles/fiori.css';
10
- import '@material-ui/core/styles';
11
- import 'graphiql/graphiql.css';
12
- import 'graphql';
13
- import 'swagger-ui-react';
14
- import 'swagger-ui-react/swagger-ui.css';
15
8
  import '@backstage/catalog-model';
16
9
  import '@material-ui/core';
17
10
 
@@ -55,4 +48,4 @@ const ApiExplorerPage = ({
55
48
  };
56
49
 
57
50
  export { ApiExplorerPage };
58
- //# sourceMappingURL=index-0916153c.esm.js.map
51
+ //# sourceMappingURL=index-8c4016a8.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-0916153c.esm.js","sources":["../../src/components/ApiExplorerPage/ApiExplorerPage.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport {\n Content,\n ContentHeader,\n CreateButton,\n PageWithHeader,\n SupportButton,\n TableColumn,\n TableProps,\n} from '@backstage/core-components';\nimport { configApiRef, useApi, useRouteRef } from '@backstage/core-plugin-api';\nimport {\n CatalogTable,\n CatalogTableRow,\n FilteredEntityLayout,\n EntityListContainer,\n FilterContainer,\n} from '@backstage/plugin-catalog';\nimport {\n EntityKindPicker,\n EntityLifecyclePicker,\n EntityListProvider,\n EntityOwnerPicker,\n EntityTagPicker,\n EntityTypePicker,\n UserListFilterKind,\n UserListPicker,\n} from '@backstage/plugin-catalog-react';\nimport React from 'react';\nimport { createComponentRouteRef } from '../../routes';\n\nconst defaultColumns: TableColumn<CatalogTableRow>[] = [\n CatalogTable.columns.createNameColumn({ defaultKind: 'API' }),\n CatalogTable.columns.createSystemColumn(),\n CatalogTable.columns.createOwnerColumn(),\n CatalogTable.columns.createSpecTypeColumn(),\n CatalogTable.columns.createSpecLifecycleColumn(),\n CatalogTable.columns.createMetadataDescriptionColumn(),\n CatalogTable.columns.createTagsColumn(),\n];\n\ntype ApiExplorerPageProps = {\n initiallySelectedFilter?: UserListFilterKind;\n columns?: TableColumn<CatalogTableRow>[];\n actions?: TableProps<CatalogTableRow>['actions'];\n};\n\nexport const ApiExplorerPage = ({\n initiallySelectedFilter = 'all',\n columns,\n actions,\n}: ApiExplorerPageProps) => {\n const configApi = useApi(configApiRef);\n const generatedSubtitle = `${\n configApi.getOptionalString('organization.name') ?? 'Backstage'\n } API Explorer`;\n const createComponentLink = useRouteRef(createComponentRouteRef);\n\n return (\n <PageWithHeader\n themeId=\"apis\"\n title=\"APIs\"\n subtitle={generatedSubtitle}\n pageTitleOverride=\"APIs\"\n >\n <Content>\n <ContentHeader title=\"\">\n <CreateButton\n title=\"Register Existing API\"\n to={createComponentLink?.()}\n />\n <SupportButton>All your APIs</SupportButton>\n </ContentHeader>\n <EntityListProvider>\n <FilteredEntityLayout>\n <FilterContainer>\n <EntityKindPicker initialFilter=\"api\" hidden />\n <EntityTypePicker />\n <UserListPicker initialFilter={initiallySelectedFilter} />\n <EntityOwnerPicker />\n <EntityLifecyclePicker />\n <EntityTagPicker />\n </FilterContainer>\n <EntityListContainer>\n <CatalogTable\n columns={columns || defaultColumns}\n actions={actions}\n />\n </EntityListContainer>\n </FilteredEntityLayout>\n </EntityListProvider>\n </Content>\n </PageWithHeader>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AA8CA,MAAM,iBAAiD;AAAA,EACrD,aAAa,QAAQ,iBAAiB,CAAE,aAAa;AAAA,EACrD,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA;MASV,kBAAkB,CAAC;AAAA,EAC9B,0BAA0B;AAAA,EAC1B;AAAA,EACA;AAAA,MAC0B;AAlE5B;AAmEE,QAAM,YAAY,OAAO;AACzB,QAAM,oBAAoB,GACxB,gBAAU,kBAAkB,yBAA5B,YAAoD;AAEtD,QAAM,sBAAsB,YAAY;AAExC,6CACG,gBAAD;AAAA,IACE,SAAQ;AAAA,IACR,OAAM;AAAA,IACN,UAAU;AAAA,IACV,mBAAkB;AAAA,yCAEjB,SAAD,0CACG,eAAD;AAAA,IAAe,OAAM;AAAA,yCAClB,cAAD;AAAA,IACE,OAAM;AAAA,IACN,IAAI;AAAA,0CAEL,eAAD,MAAe,uDAEhB,oBAAD,0CACG,sBAAD,0CACG,iBAAD,0CACG,kBAAD;AAAA,IAAkB,eAAc;AAAA,IAAM,QAAM;AAAA,0CAC3C,kBAAD,2CACC,gBAAD;AAAA,IAAgB,eAAe;AAAA,0CAC9B,mBAAD,2CACC,uBAAD,2CACC,iBAAD,4CAED,qBAAD,0CACG,cAAD;AAAA,IACE,SAAS,WAAW;AAAA,IACpB;AAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index-8c4016a8.esm.js","sources":["../../src/components/ApiExplorerPage/ApiExplorerPage.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport {\n Content,\n ContentHeader,\n CreateButton,\n PageWithHeader,\n SupportButton,\n TableColumn,\n TableProps,\n} from '@backstage/core-components';\nimport { configApiRef, useApi, useRouteRef } from '@backstage/core-plugin-api';\nimport {\n CatalogTable,\n CatalogTableRow,\n FilteredEntityLayout,\n EntityListContainer,\n FilterContainer,\n} from '@backstage/plugin-catalog';\nimport {\n EntityKindPicker,\n EntityLifecyclePicker,\n EntityListProvider,\n EntityOwnerPicker,\n EntityTagPicker,\n EntityTypePicker,\n UserListFilterKind,\n UserListPicker,\n} from '@backstage/plugin-catalog-react';\nimport React from 'react';\nimport { createComponentRouteRef } from '../../routes';\n\nconst defaultColumns: TableColumn<CatalogTableRow>[] = [\n CatalogTable.columns.createNameColumn({ defaultKind: 'API' }),\n CatalogTable.columns.createSystemColumn(),\n CatalogTable.columns.createOwnerColumn(),\n CatalogTable.columns.createSpecTypeColumn(),\n CatalogTable.columns.createSpecLifecycleColumn(),\n CatalogTable.columns.createMetadataDescriptionColumn(),\n CatalogTable.columns.createTagsColumn(),\n];\n\ntype ApiExplorerPageProps = {\n initiallySelectedFilter?: UserListFilterKind;\n columns?: TableColumn<CatalogTableRow>[];\n actions?: TableProps<CatalogTableRow>['actions'];\n};\n\nexport const ApiExplorerPage = ({\n initiallySelectedFilter = 'all',\n columns,\n actions,\n}: ApiExplorerPageProps) => {\n const configApi = useApi(configApiRef);\n const generatedSubtitle = `${\n configApi.getOptionalString('organization.name') ?? 'Backstage'\n } API Explorer`;\n const createComponentLink = useRouteRef(createComponentRouteRef);\n\n return (\n <PageWithHeader\n themeId=\"apis\"\n title=\"APIs\"\n subtitle={generatedSubtitle}\n pageTitleOverride=\"APIs\"\n >\n <Content>\n <ContentHeader title=\"\">\n <CreateButton\n title=\"Register Existing API\"\n to={createComponentLink?.()}\n />\n <SupportButton>All your APIs</SupportButton>\n </ContentHeader>\n <EntityListProvider>\n <FilteredEntityLayout>\n <FilterContainer>\n <EntityKindPicker initialFilter=\"api\" hidden />\n <EntityTypePicker />\n <UserListPicker initialFilter={initiallySelectedFilter} />\n <EntityOwnerPicker />\n <EntityLifecyclePicker />\n <EntityTagPicker />\n </FilterContainer>\n <EntityListContainer>\n <CatalogTable\n columns={columns || defaultColumns}\n actions={actions}\n />\n </EntityListContainer>\n </FilteredEntityLayout>\n </EntityListProvider>\n </Content>\n </PageWithHeader>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AA8CA,MAAM,iBAAiD;AAAA,EACrD,aAAa,QAAQ,iBAAiB,CAAE,aAAa;AAAA,EACrD,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA;MASV,kBAAkB,CAAC;AAAA,EAC9B,0BAA0B;AAAA,EAC1B;AAAA,EACA;AAAA,MAC0B;AAlE5B;AAmEE,QAAM,YAAY,OAAO;AACzB,QAAM,oBAAoB,GACxB,gBAAU,kBAAkB,yBAA5B,YAAoD;AAEtD,QAAM,sBAAsB,YAAY;AAExC,6CACG,gBAAD;AAAA,IACE,SAAQ;AAAA,IACR,OAAM;AAAA,IACN,UAAU;AAAA,IACV,mBAAkB;AAAA,yCAEjB,SAAD,0CACG,eAAD;AAAA,IAAe,OAAM;AAAA,yCAClB,cAAD;AAAA,IACE,OAAM;AAAA,IACN,IAAI;AAAA,0CAEL,eAAD,MAAe,uDAEhB,oBAAD,0CACG,sBAAD,0CACG,iBAAD,0CACG,kBAAD;AAAA,IAAkB,eAAc;AAAA,IAAM,QAAM;AAAA,0CAC3C,kBAAD,2CACC,gBAAD;AAAA,IAAgB,eAAe;AAAA,0CAC9B,mBAAD,2CACC,uBAAD,2CACC,iBAAD,4CAED,qBAAD,0CACG,cAAD;AAAA,IACE,SAAS,WAAW;AAAA,IACpB;AAAA;AAAA;;;;"}