@techdocs/cli 1.9.8 → 1.9.9-next.1
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 +20 -0
- package/dist/embedded-app/.config-schema.json +87 -0
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/index.html.tmpl +1 -1
- package/dist/embedded-app/static/1361.b49d5da2.chunk.js +2 -0
- package/dist/embedded-app/static/1361.b49d5da2.chunk.js.map +1 -0
- package/dist/embedded-app/static/1479.a3db2d84.chunk.js +2 -0
- package/dist/embedded-app/static/1479.a3db2d84.chunk.js.map +1 -0
- package/dist/embedded-app/static/4142.9ff1c48d.chunk.js +2 -0
- package/dist/embedded-app/static/4142.9ff1c48d.chunk.js.map +1 -0
- package/dist/embedded-app/static/4217.94088e45.chunk.js +2 -0
- package/dist/embedded-app/static/4217.94088e45.chunk.js.map +1 -0
- package/dist/embedded-app/static/4446.ef8715aa.chunk.js +2 -0
- package/dist/embedded-app/static/4446.ef8715aa.chunk.js.map +1 -0
- package/dist/embedded-app/static/5526.6a3c45d2.chunk.js +2 -0
- package/dist/embedded-app/static/5526.6a3c45d2.chunk.js.map +1 -0
- package/dist/embedded-app/static/{6333.0782515a.chunk.js → 6333.60fe4ccc.chunk.js} +2 -2
- package/dist/embedded-app/static/{6333.0782515a.chunk.js.map → 6333.60fe4ccc.chunk.js.map} +1 -1
- package/dist/embedded-app/static/73.3281579f.chunk.js +2 -0
- package/dist/embedded-app/static/73.3281579f.chunk.js.map +1 -0
- package/dist/embedded-app/static/7952.baa34c9e.chunk.js +2 -0
- package/dist/embedded-app/static/7952.baa34c9e.chunk.js.map +1 -0
- package/dist/embedded-app/static/8111.446b0c32.chunk.js +2 -0
- package/dist/embedded-app/static/8111.446b0c32.chunk.js.map +1 -0
- package/dist/embedded-app/static/{main.65c066bf.js → main.d2c82976.js} +2 -2
- package/dist/embedded-app/static/main.d2c82976.js.map +1 -0
- package/dist/embedded-app/static/{runtime.5e0f3509.js → runtime.bdaa41ef.js} +2 -2
- package/dist/embedded-app/static/{runtime.5e0f3509.js.map → runtime.bdaa41ef.js.map} +1 -1
- package/dist/embedded-app/static/{vendor.4f2223d6.js → vendor.06d5fbda.js} +2 -2
- package/dist/embedded-app/static/vendor.06d5fbda.js.map +1 -0
- package/dist/package.json.cjs.js +1 -1
- package/package.json +7 -7
- package/dist/embedded-app/static/1361.7604740c.chunk.js +0 -2
- package/dist/embedded-app/static/1361.7604740c.chunk.js.map +0 -1
- package/dist/embedded-app/static/1479.5beef444.chunk.js +0 -2
- package/dist/embedded-app/static/1479.5beef444.chunk.js.map +0 -1
- package/dist/embedded-app/static/4142.696247f3.chunk.js +0 -2
- package/dist/embedded-app/static/4142.696247f3.chunk.js.map +0 -1
- package/dist/embedded-app/static/4217.4e492f57.chunk.js +0 -2
- package/dist/embedded-app/static/4217.4e492f57.chunk.js.map +0 -1
- package/dist/embedded-app/static/4446.bb0c3080.chunk.js +0 -2
- package/dist/embedded-app/static/4446.bb0c3080.chunk.js.map +0 -1
- package/dist/embedded-app/static/5526.25e08a28.chunk.js +0 -2
- package/dist/embedded-app/static/5526.25e08a28.chunk.js.map +0 -1
- package/dist/embedded-app/static/73.20ff1e8c.chunk.js +0 -2
- package/dist/embedded-app/static/73.20ff1e8c.chunk.js.map +0 -1
- package/dist/embedded-app/static/7952.8477042e.chunk.js +0 -2
- package/dist/embedded-app/static/7952.8477042e.chunk.js.map +0 -1
- package/dist/embedded-app/static/8111.a06e9408.chunk.js +0 -2
- package/dist/embedded-app/static/8111.a06e9408.chunk.js.map +0 -1
- package/dist/embedded-app/static/main.65c066bf.js.map +0 -1
- package/dist/embedded-app/static/vendor.4f2223d6.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
+
## 1.9.9-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/config@1.3.4-next.0
|
|
9
|
+
- @backstage/backend-defaults@0.13.0-next.1
|
|
10
|
+
- @backstage/plugin-techdocs-node@1.13.8-next.1
|
|
11
|
+
|
|
12
|
+
## 1.9.9-next.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @backstage/backend-defaults@0.13.0-next.0
|
|
18
|
+
- @backstage/plugin-techdocs-node@1.13.8-next.0
|
|
19
|
+
- @backstage/catalog-model@1.7.5
|
|
20
|
+
- @backstage/cli-common@0.1.15
|
|
21
|
+
- @backstage/config@1.3.3
|
|
22
|
+
|
|
3
23
|
## 1.9.8
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -554,6 +554,67 @@
|
|
|
554
554
|
]
|
|
555
555
|
}
|
|
556
556
|
},
|
|
557
|
+
"azureBlobStorage": {
|
|
558
|
+
"description": "Integration configuration for Azure Blob Storage",
|
|
559
|
+
"type": "array",
|
|
560
|
+
"items": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"accountName": {
|
|
564
|
+
"description": "The name of the Azure Storage Account, e.g., \"mystorageaccount\".",
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
"accountKey": {
|
|
568
|
+
"description": "The primary or secondary key for the Azure Storage Account.\nOnly required if connectionString or SAS token are not specified.",
|
|
569
|
+
"visibility": "secret",
|
|
570
|
+
"type": "string"
|
|
571
|
+
},
|
|
572
|
+
"sasToken": {
|
|
573
|
+
"description": "A Shared Access Signature (SAS) token for limited access to resources.",
|
|
574
|
+
"visibility": "secret",
|
|
575
|
+
"type": "string"
|
|
576
|
+
},
|
|
577
|
+
"connectionString": {
|
|
578
|
+
"description": "A full connection string for the Azure Storage Account.\nThis includes the account name, key, and endpoint details.",
|
|
579
|
+
"visibility": "secret",
|
|
580
|
+
"type": "string"
|
|
581
|
+
},
|
|
582
|
+
"endpointSuffix": {
|
|
583
|
+
"description": "Optional endpoint suffix for custom domains or sovereign clouds.\ne.g., \"core.windows.net\" for public Azure or \"core.usgovcloudapi.net\" for US Government cloud.",
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"endpoint": {
|
|
587
|
+
"description": "Optional endpoint URL for custom domain. Uses default if not provided.",
|
|
588
|
+
"visibility": "frontend",
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"aadCredential": {
|
|
592
|
+
"description": "Optional credential to use for Azure Active Directory authentication.",
|
|
593
|
+
"deepVisibility": "secret",
|
|
594
|
+
"type": "object",
|
|
595
|
+
"properties": {
|
|
596
|
+
"clientId": {
|
|
597
|
+
"description": "The client ID of the Azure AD application.",
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
"tenantId": {
|
|
601
|
+
"description": "The tenant ID for Azure AD.",
|
|
602
|
+
"type": "string"
|
|
603
|
+
},
|
|
604
|
+
"clientSecret": {
|
|
605
|
+
"description": "The client secret for the Azure AD application.",
|
|
606
|
+
"type": "string"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"required": [
|
|
610
|
+
"clientId",
|
|
611
|
+
"clientSecret",
|
|
612
|
+
"tenantId"
|
|
613
|
+
]
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
},
|
|
557
618
|
"bitbucket": {
|
|
558
619
|
"description": "Integration configuration for Bitbucket",
|
|
559
620
|
"deprecated": "replaced by bitbucketCloud and bitbucketServer",
|
|
@@ -1603,6 +1664,32 @@
|
|
|
1603
1664
|
}
|
|
1604
1665
|
]
|
|
1605
1666
|
},
|
|
1667
|
+
"server": {
|
|
1668
|
+
"description": "Server-level HTTP options configuration for the backend.\nThese options are passed directly to the underlying Node.js HTTP server.\n\nTimeout values support multiple formats:\n- A number in milliseconds\n- A string in the format of '1d', '2 seconds' etc. as supported by the `ms` library\n- A standard ISO formatted duration string, e.g. 'P2DT6H' or 'PT1M'\n- An object with individual units (in plural) as keys, e.g. `{ days: 2, hours: 6 }`",
|
|
1669
|
+
"type": "object",
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"headersTimeout": {
|
|
1672
|
+
"description": "Sets the timeout value for receiving the complete HTTP headers from the client."
|
|
1673
|
+
},
|
|
1674
|
+
"requestTimeout": {
|
|
1675
|
+
"description": "Sets the timeout value for receiving the entire request (headers and body) from the client."
|
|
1676
|
+
},
|
|
1677
|
+
"keepAliveTimeout": {
|
|
1678
|
+
"description": "Sets the timeout value for inactivity on a socket during keep-alive."
|
|
1679
|
+
},
|
|
1680
|
+
"timeout": {
|
|
1681
|
+
"description": "Sets the timeout value for sockets."
|
|
1682
|
+
},
|
|
1683
|
+
"maxHeadersCount": {
|
|
1684
|
+
"description": "Limits maximum incoming headers count.",
|
|
1685
|
+
"type": "number"
|
|
1686
|
+
},
|
|
1687
|
+
"maxRequestsPerSocket": {
|
|
1688
|
+
"description": "Sets the maximum number of requests socket can handle before closing keep alive connection.",
|
|
1689
|
+
"type": "number"
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1606
1693
|
"auditor": {
|
|
1607
1694
|
"description": "Options used by the default auditor service.",
|
|
1608
1695
|
"type": "object",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.bdaa41ef.js"></script><script defer="defer" src="/static/module-material-ui.d59b3501.js"></script><script defer="defer" src="/static/module-lodash.011b7e00.js"></script><script defer="defer" src="/static/module-date-fns.0117079c.js"></script><script defer="defer" src="/static/module-mui.642fff5d.js"></script><script defer="defer" src="/static/module-material-table.fb5299bb.js"></script><script defer="defer" src="/static/module-zod.76c8aba2.js"></script><script defer="defer" src="/static/module-react-dom.e3032225.js"></script><script defer="defer" src="/static/module-i18next.93181ae4.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.4021175e.js"></script><script defer="defer" src="/static/module-remix-run.df99de31.js"></script><script defer="defer" src="/static/vendor.06d5fbda.js"></script><script defer="defer" src="/static/main.d2c82976.js"></script><script type="backstage.io/config">[
|
|
2
2
|
{
|
|
3
3
|
"context": "app-config.yaml",
|
|
4
4
|
"data": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
color="#5bbad5"
|
|
43
43
|
/>
|
|
44
44
|
<title><%= config.getString('app.title') %></title>
|
|
45
|
-
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.
|
|
45
|
+
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.bdaa41ef.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.d59b3501.js"></script><script defer src="<%= publicPath %>/static/module-lodash.011b7e00.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.0117079c.js"></script><script defer src="<%= publicPath %>/static/module-mui.642fff5d.js"></script><script defer src="<%= publicPath %>/static/module-material-table.fb5299bb.js"></script><script defer src="<%= publicPath %>/static/module-zod.76c8aba2.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.e3032225.js"></script><script defer src="<%= publicPath %>/static/module-i18next.93181ae4.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.4021175e.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.df99de31.js"></script><script defer src="<%= publicPath %>/static/vendor.06d5fbda.js"></script><script defer src="<%= publicPath %>/static/main.d2c82976.js"></script></head>
|
|
46
46
|
<body>
|
|
47
47
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
48
48
|
<div id="root"></div>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1361"],{27597:function(e,t,n){var i=n(15755),a=n(25357);t.default=void 0;var o=a(n(2784));t.default=(0,i(n(50175)).default)(o.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},57575:function(e,t,n){n.d(t,{O:()=>l});var i=n(52322),a=n(79692),o=n(80030),r=n(90436);let s=(0,a.Z)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:e})=>e||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function l(e){let t=s(e);return(0,i.jsx)(o.ZP,{title:e.title??(e.text||""),placement:e.placement,children:(0,i.jsx)(r.Z,{className:t.typo,variant:"inherit",children:e.text})})}},35402:function(e,t,n){n.d(t,{r:()=>R});var i=n(52322),a=n(94339),o=n(14503),r=n(24579),s=n(32552),l=n(85256),c=n(79692),d=n(77392),u=n(16709),m=n.n(u),p=n(53244),y=n(90436),h=n(27597),f=n(13039);let g=(0,c.Z)(e=>({root:{maxWidth:"fit-content",padding:e.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:e.palette.textSubtle},arrow:{color:e.palette.textSubtle}}),{name:"BackstageBottomLink"});function x(e){let{link:t,title:n,onClick:a}=e,o=g();return(0,i.jsxs)(p.Z,{children:[(0,i.jsx)(l.Z,{}),(0,i.jsx)(f.rU,{to:t,onClick:a,underline:"none",children:(0,i.jsxs)(p.Z,{display:"flex",alignItems:"center",className:o.root,children:[(0,i.jsx)(p.Z,{className:o.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,i.jsx)(y.Z,{children:(0,i.jsx)("strong",{children:n})})}),(0,i.jsx)(h.default,{className:o.arrow})]})})]})}var C=n(2784),b=n(37667),v=n(33414),w=n(2210),j=n(14380);let E=e=>{let{slackChannel:t}=e,{t:n}=(0,j.i)(w.v);return t?"string"==typeof t?(0,i.jsx)(y.Z,{children:n("errorBoundary.title",{slackChannel:t})}):t.href?(0,i.jsx)(b.Q,{to:t.href,variant:"contained",children:t.name}):(0,i.jsx)(y.Z,{children:n("errorBoundary.title",{slackChannel:t.name})}):null},T=class extends C.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,t){console.error(`ErrorBoundary, error: ${e}`,{error:e,errorInfo:t}),this.setState({error:e,errorInfo:t})}render(){let{slackChannel:e,children:t}=this.props,{error:n}=this.state;return n?(0,i.jsx)(v.y,{title:"Something Went Wrong",error:n,children:(0,i.jsx)(E,{slackChannel:e})}):t}},k=(0,c.Z)(e=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:e.spacing(2,2,2,2.5)},headerTitle:{fontWeight:e.typography.fontWeightBold},headerSubheader:{paddingTop:e.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),S=(0,d.Z)(e=>({root:{display:"inline-block",padding:e.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(o.Z),L={flex:{display:"flex",flexDirection:"column"},fullHeight:{display:"flex",flexDirection:"column",height:"100%"},gridItem:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px",breakInside:"avoid-page","@media print":{height:"auto"}}},Z={fullHeight:{flex:1},gridItem:{flex:1}};function R(e){let{title:t,subheader:n,divider:c=!0,deepLink:d,slackChannel:u,errorBoundaryProps:p,variant:y,alignContent:h="normal",children:f,headerStyle:g,headerProps:C,icon:b,action:v,actionsClassName:w,actions:j,cardClassName:E,actionsTopRight:R,className:D,noPadding:M,titleTypographyProps:N,subheaderTypographyProps:O}=e,B=k(),A={},I={};return y&&y.split(/[\s]+/g).forEach(e=>{A={...A,...L[e]},I={...I,...Z[e]}}),(0,i.jsx)(a.Z,{style:A,className:D,children:(0,i.jsxs)(T,{...p||(u?{slackChannel:u}:{}),children:[t&&(0,i.jsx)(s.Z,{classes:{root:m()(B.header),title:B.headerTitle,subheader:B.headerSubheader,avatar:B.headerAvatar,action:B.headerAction,content:B.headerContent},title:t,subheader:n||b?(0,i.jsxs)("div",{"data-testid":"info-card-subheader",children:[n&&(0,i.jsx)("div",{className:B.subheader,children:n}),b]}):null,action:v,style:{...g},titleTypographyProps:N,subheaderTypographyProps:O,...C}),R&&(0,i.jsx)(S,{children:R}),c&&(0,i.jsx)(l.Z,{}),(0,i.jsx)(r.Z,{className:m()(E,{[B.noPadding]:M,[B.contentAlignBottom]:"bottom"===h}),style:I,children:f}),j&&(0,i.jsx)(o.Z,{className:w,children:j}),d&&(0,i.jsx)(x,{...d})]})})}},47898:function(e,t,n){n.d(t,{u:()=>g});var i=n(52322),a=n(79692),o=n(58985),r=n(57575),s=n(79043),l=n(93386),c=n(41410),d=n(57148),u=n(58833);let m=Object.freeze({createEntityRefColumn(e){let{defaultKind:t}=e;function n(e){return e.metadata?.title||(0,l.$)(e,{defaultKind:t})}return{title:(0,i.jsx)(u.Z,{translationKey:"name"}),highlight:!0,customFilterAndSearch:(e,t)=>n(t).includes(e),customSort:(e,t)=>n(e).localeCompare(n(t)),render:e=>(0,i.jsx)(c.d,{entityRef:e,defaultKind:t,title:e.metadata?.title})}},createEntityRelationColumn(e){let{title:t,relation:n,defaultKind:a,filter:o}=e;function r(e){return(0,s.h)(e,n,o)}function c(e){return r(e).map(e=>(0,l.$)(e,{defaultKind:a})).join(", ")}return{title:t,customFilterAndSearch:(e,t)=>c(t).includes(e),customSort:(e,t)=>c(e).localeCompare(c(t)),render:e=>(0,i.jsx)(d.r,{entityRefs:r(e),defaultKind:a})}},createOwnerColumn(){return this.createEntityRelationColumn({title:(0,i.jsx)(u.Z,{translationKey:"owner"}),relation:o.S4,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:(0,i.jsx)(u.Z,{translationKey:"domain"}),relation:o.cz,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:(0,i.jsx)(u.Z,{translationKey:"system"}),relation:o.cz,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn:()=>({title:(0,i.jsx)(u.Z,{translationKey:"description"}),field:"metadata.description",render:e=>(0,i.jsx)(r.O,{text:e.metadata.description,placement:"bottom-start",line:2})}),createSpecLifecycleColumn:()=>({title:(0,i.jsx)(u.Z,{translationKey:"lifecycle"}),field:"spec.lifecycle"}),createSpecTypeColumn:()=>({title:(0,i.jsx)(u.Z,{translationKey:"type"}),field:"spec.type"})}),p=[m.createEntityRefColumn({defaultKind:"system"}),m.createDomainColumn(),m.createOwnerColumn(),m.createMetadataDescriptionColumn()],y=[m.createEntityRefColumn({defaultKind:"component"}),m.createSystemColumn(),m.createOwnerColumn(),m.createSpecTypeColumn(),m.createSpecLifecycleColumn(),m.createMetadataDescriptionColumn()];var h=n(33702);let f=(0,a.Z)(e=>({empty:{padding:e.spacing(2),display:"flex",justifyContent:"center"}})),g=e=>{let{entities:t,title:n,emptyContent:a,variant:o="gridItem",columns:r,tableOptions:s={}}=e,l=f(),c={minWidth:"0",width:"100%"};return"gridItem"===o&&(c.height="calc(100% - 10px)"),(0,i.jsx)(h.i,{columns:r,title:n,style:c,emptyContent:a&&(0,i.jsx)("div",{className:l.empty,children:a}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...s},data:t})};g.columns=m,g.systemEntityColumns=p,g.componentEntityColumns=y},58833:function(e,t,n){n.d(t,{Z:()=>o});var i=n(14380),a=n(79669);let o=({translationKey:e})=>{let{t}=(0,i.i)(a.P);return t(`entityTableColumnTitle.${e}`)}},5e4:function(e,t,n){n.d(t,{X2:()=>d,ce:()=>u,h$:()=>c});var i=n(52322),a=n(39381),o=n(60214),r=n(18011),s=n(88260);let l=(0,r.CT)("entity-context"),c=e=>{let{children:t,entity:n,loading:r,error:c,refresh:d}=e;return(0,i.jsx)(l.Provider,{value:(0,s.E)({1:{entity:n,loading:r,error:c,refresh:d}}),children:(0,i.jsx)(o.fC,{attributes:{...n?{entityRef:(0,a.eE)(n)}:void 0},children:t})})};function d(){let e=(0,r.Vt)("entity-context");if(!e)throw Error("Entity context is not available");let t=e.atVersion(1);if(!t)throw Error("EntityContext v1 not available");if(!t.entity)throw Error("useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.");return{entity:t.entity}}function u(){let e=(0,r.Vt)("entity-context");if(!e)throw Error("Entity context is not available");let t=e.atVersion(1);if(!t)throw Error("EntityContext v1 not available");let{entity:n,loading:i,error:a,refresh:o}=t;return{entity:n,loading:i,error:a,refresh:o}}},94890:function(e,t,n){n.d(t,{s:()=>i});let i=(0,n(73669).F)({id:"catalog",messages:{indexPage:{title:"{{orgName}} Catalog",createButtonTitle:"Create",supportButtonContent:"All your software catalog entities"},aboutCard:{title:"About",refreshButtonTitle:"Schedule entity refresh",editButtonTitle:"Edit Metadata",createSimilarButtonTitle:"Create something similar",refreshScheduledMessage:"Refresh scheduled",launchTemplate:"Launch Template",viewTechdocs:"View TechDocs",viewSource:"View Source",descriptionField:{label:"Description",value:"No description"},ownerField:{label:"Owner",value:"No Owner"},domainField:{label:"Domain",value:"No Domain"},systemField:{label:"System",value:"No System"},parentComponentField:{label:"Parent Component",value:"No Parent Component"},typeField:{label:"Type"},lifecycleField:{label:"Lifecycle"},tagsField:{label:"Tags",value:"No Tags"},targetsField:{label:"Targets"}},searchResultItem:{lifecycle:"Lifecycle",Owner:"Owner"},catalogTable:{warningPanelTitle:"Could not fetch catalog entities.",viewActionTitle:"View",editActionTitle:"Edit",starActionTitle:"Add to favorites",unStarActionTitle:"Remove from favorites"},dependencyOfComponentsCard:{title:"Dependency of components",emptyMessage:"No component depends on this component"},dependsOnComponentsCard:{title:"Depends on components",emptyMessage:"No component is a dependency of this component"},dependsOnResourcesCard:{title:"Depends on resources",emptyMessage:"No resource is a dependency of this component"},entityContextMenu:{copiedMessage:"Copied!",moreButtonTitle:"More",inspectMenuTitle:"Inspect entity",copyURLMenuTitle:"Copy entity URL",unregisterMenuTitle:"Unregister entity"},entityLabelsCard:{title:"Labels",emptyDescription:"No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityLabels:{warningPanelTitle:"Entity not found",ownerLabel:"Owner",lifecycleLabel:"Lifecycle"},entityLinksCard:{title:"Links",emptyDescription:"No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityNotFound:{title:"Entity was not found",description:"Want to help us build this? Check out our Getting Started documentation.",docButtonTitle:"DOCS"},deleteEntity:{dialogTitle:"Are you sure you want to delete this entity?",deleteButtonTitle:"Delete",cancelButtonTitle:"Cancel",description:"This entity is not referenced by any location and is therefore not receiving updates. Click here to delete."},entityProcessingErrorsDescription:"The error below originates from",entityRelationWarningDescription:"This entity has relations to other entities, which can't be found in the catalog.\n Entities not found are: ",hasComponentsCard:{title:"Has components",emptyMessage:"No component is part of this system"},hasResourcesCard:{title:"Has resources",emptyMessage:"No resource is part of this system"},hasSubcomponentsCard:{title:"Has subcomponents",emptyMessage:"No subcomponent is part of this component"},hasSubdomainsCard:{title:"Has subdomains",emptyMessage:"No subdomain is part of this domain"},hasSystemsCard:{title:"Has systems",emptyMessage:"No system is part of this domain"},relatedEntitiesCard:{emptyHelpLinkTitle:"Learn how to change this"},systemDiagramCard:{title:"System Diagram",description:"Use pinch & zoom to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})},49908:function(e,t,n){n.r(t),n.d(t,{HasSubcomponentsCard:()=>c});var i=n(52322),a=n(58985),o=n(39408),r=n(87416),s=n(94890),l=n(14380);function c(e){let{t}=(0,l.i)(s.s),{variant:n="gridItem",title:c=t("hasSubcomponentsCard.title"),columns:d=o.we,tableOptions:u={},kind:m="Component"}=e;return(0,i.jsx)(r.f,{variant:n,title:c,entityKind:m,relationType:a.aS,columns:d,asRenderableEntities:o.D,emptyMessage:t("hasSubcomponentsCard.emptyMessage"),emptyHelpLink:"https://backstage.io/docs/features/software-catalog/descriptor-format#specsubcomponentof-optional",tableOptions:u})}},87416:function(e,t,n){n.d(t,{f:()=>k});var i=n(52322),a=n(90436),o=n(5e4),r=n(39381),s=n(16162),l=n(4812),c=n(84081),d=n(47898),u=n(35402),m=n(77344),p=n(79692),y=n(85256),h=n(38402),f=n(49378),g=n(12753),x=n(50276),C=n(33414);let b=(0,p.Z)(e=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:e.spacing(2)},divider:{margin:e.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function v(e){let{title:t,error:n,defaultExpanded:a}=e,o=b();if("ResponseError"!==n.name)return(0,i.jsx)(C.y,{title:t??n.message,defaultExpanded:a,error:n});let{body:r,cause:s}=n,{request:l,response:c}=r,d=`${c.statusCode}: ${s.name}`,u=l&&`${l.method} ${l.url}`,m=s.message.replace(/\\n/g,"\n"),p=s.stack?.replace(/\\n/g,"\n"),v=JSON.stringify(r,void 0,2);return(0,i.jsxs)(C.y,{title:t??n.message,defaultExpanded:a,error:{name:d,message:m,stack:p},children:[u&&(0,i.jsxs)(h.Z,{alignItems:"flex-start",children:[(0,i.jsx)(f.Z,{classes:{secondary:o.text},primary:"Request",secondary:l?`${u}`:void 0}),(0,i.jsx)(x.b,{text:u})]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y.Z,{component:"li",className:o.divider}),(0,i.jsx)(h.Z,{alignItems:"flex-start",children:(0,i.jsx)(f.Z,{classes:{secondary:o.text},primary:"Full Error as JSON"})}),(0,i.jsx)(g.O,{language:"json",text:v,showCopyCodeButton:!0})]})]})}var w=n(13039),j=n(39408),E=n(94890),T=n(14380);let k=e=>{let{variant:t="gridItem",title:n,columns:p,entityKind:y,relationType:h,emptyMessage:f,emptyHelpLink:g,asRenderableEntities:x,tableOptions:C={}}=e,{t:b}=(0,T.i)(E.s),{entity:j}=(0,o.X2)(),{entities:k,loading:S,error:L}=function(e,t){let n=t?.type?.toLocaleLowerCase("en-US"),i=t?.kind?.toLocaleLowerCase("en-US"),a=(0,s.h_)(c.A),{loading:o,value:d,error:u}=(0,l.Z)(async()=>{let t=e.relations?.filter(e=>(!n||e.type.toLocaleLowerCase("en-US")===n)&&(!i||(0,r.of)(e.targetRef).kind===i));if(!t?.length)return[];let{items:o}=await a.getEntitiesByRefs({entityRefs:t.map(e=>e.targetRef)});return o.filter(e=>!!e)},[e,n,i]);return{entities:d,loading:o,error:u}}(j,{type:h,kind:y});return S?(0,i.jsx)(u.r,{variant:t,title:n,children:(0,i.jsx)(m.E,{})}):L?(0,i.jsx)(u.r,{variant:t,title:n,children:(0,i.jsx)(v,{error:L})}):(0,i.jsx)(d.u,{title:n,variant:t,emptyContent:(0,i.jsxs)("div",{style:{textAlign:"center"},children:[(0,i.jsx)(a.Z,{variant:"body1",children:f}),(0,i.jsx)(a.Z,{variant:"body2",children:(0,i.jsx)(w.rU,{to:g,externalLinkIcon:!0,children:b("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:p,entities:x(k||[]),tableOptions:C})};k.componentEntityColumns=j.we,k.componentEntityHelpLink=j.AE,k.asComponentEntities=j.D,k.resourceEntityColumns=j.xp,k.resourceEntityHelpLink=j.Uc,k.asResourceEntities=j.$c,k.systemEntityColumns=j._v,k.systemEntityHelpLink=j.G5,k.asSystemEntities=j.el,k.domainEntityColums=j.w7,k.domainEntityHelpLink=j.WW,k.asDomainEntities=j.OC},39408:function(e,t,n){n.d(t,{$c:()=>c,AE:()=>o,D:()=>r,G5:()=>u,OC:()=>h,Uc:()=>l,WW:()=>y,_v:()=>d,el:()=>m,w7:()=>p,we:()=>a,xp:()=>s});var i=n(47898);let a=[i.u.columns.createEntityRefColumn({defaultKind:"component"}),i.u.columns.createOwnerColumn(),i.u.columns.createSpecTypeColumn(),i.u.columns.createSpecLifecycleColumn(),i.u.columns.createMetadataDescriptionColumn()],o="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",r=e=>e,s=[i.u.columns.createEntityRefColumn({defaultKind:"resource"}),i.u.columns.createOwnerColumn(),i.u.columns.createSpecTypeColumn(),i.u.columns.createSpecLifecycleColumn(),i.u.columns.createMetadataDescriptionColumn()],l="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",c=e=>e,d=[i.u.columns.createEntityRefColumn({defaultKind:"system"}),i.u.columns.createOwnerColumn(),i.u.columns.createMetadataDescriptionColumn()],u="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",m=e=>e,p=[i.u.columns.createEntityRefColumn({defaultKind:"domain"}),i.u.columns.createOwnerColumn(),i.u.columns.createMetadataDescriptionColumn()],y="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain",h=e=>e}}]);
|
|
2
|
+
//# sourceMappingURL=1361.b49d5da2.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/1361.b49d5da2.chunk.js","sources":["webpack://techdocs-cli-embedded-app/../../node_modules/@material-ui/icons/ArrowForward.js","webpack://techdocs-cli-embedded-app/../core-components/src/components/OverflowTooltip/OverflowTooltip.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/BottomLink/BottomLink.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/ErrorBoundary/ErrorBoundary.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/InfoCard/InfoCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/columns.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/presets.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/EntityTable.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/TitleColumn.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useEntity.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/alpha/translation.ts","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/HasSubcomponentsCard/HasSubcomponentsCard.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/components/ResponseErrorPanel/ResponseErrorPanel.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/RelatedEntitiesCard/RelatedEntitiesCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useRelatedEntities.ts","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/RelatedEntitiesCard/presets.ts"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"\n}), 'ArrowForward');\n\nexports.default = _default;","/*\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 Tooltip, { TooltipProps } from '@material-ui/core/Tooltip';\nimport Typography from '@material-ui/core/Typography';\n\ntype Props = {\n text?: string | undefined;\n title?: TooltipProps['title'];\n line?: number | undefined;\n placement?: TooltipProps['placement'];\n};\n\nexport type OverflowTooltipClassKey = 'container';\n\nconst useStyles = makeStyles(\n {\n container: {\n overflow: 'visible !important',\n },\n typo: {\n fontSize: 'inherit',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n display: '-webkit-box',\n '-webkit-line-clamp': ({ line }: Props) => line || 1,\n '-webkit-box-orient': 'vertical',\n },\n },\n { name: 'BackstageOverflowTooltip' },\n);\n\nexport function OverflowTooltip(props: Props) {\n const classes = useStyles(props);\n\n return (\n <Tooltip\n title={props.title ?? (props.text || '')}\n placement={props.placement}\n >\n <Typography className={classes.typo} variant=\"inherit\">\n {props.text}\n </Typography>\n </Tooltip>\n );\n}\n","/*\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 Box from '@material-ui/core/Box';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport ArrowIcon from '@material-ui/icons/ArrowForward';\nimport { MouseEvent } from 'react';\nimport { Link } from '../../components/Link';\n\n/** @public */\nexport type BottomLinkClassKey = 'root' | 'boxTitle' | 'arrow';\n\nconst useStyles = makeStyles(\n theme => ({\n root: {\n maxWidth: 'fit-content',\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n boxTitle: {\n margin: 0,\n color: theme.palette.textSubtle,\n },\n arrow: {\n color: theme.palette.textSubtle,\n },\n }),\n { name: 'BackstageBottomLink' },\n);\n\n/** @public */\nexport type BottomLinkProps = {\n link: string;\n title: string;\n onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;\n};\n\n/**\n * Footer with link used in {@link InfoCard } and {@link TabbedCard}\n *\n * @public\n *\n */\nexport function BottomLink(props: BottomLinkProps) {\n const { link, title, onClick } = props;\n const classes = useStyles();\n\n return (\n <Box>\n <Divider />\n <Link to={link} onClick={onClick} underline=\"none\">\n <Box display=\"flex\" alignItems=\"center\" className={classes.root}>\n <Box className={classes.boxTitle} fontWeight=\"fontWeightBold\" m={1}>\n <Typography>\n <strong>{title}</strong>\n </Typography>\n </Box>\n <ArrowIcon className={classes.arrow} />\n </Box>\n </Link>\n </Box>\n );\n}\n","/*\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 Typography from '@material-ui/core/Typography';\nimport { PropsWithChildren, ComponentClass, Component, ErrorInfo } from 'react';\nimport { LinkButton } from '../../components/LinkButton';\nimport { ErrorPanel } from '../../components/ErrorPanel';\nimport { coreComponentsTranslationRef } from '../../translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\ntype SlackChannel = {\n name: string;\n href?: string;\n};\n\n/** @public */\nexport type ErrorBoundaryProps = PropsWithChildren<{\n slackChannel?: string | SlackChannel;\n onError?: (error: Error, errorInfo: string) => null;\n}>;\n\ntype State = {\n error?: Error;\n errorInfo?: ErrorInfo;\n};\n\nconst SlackLink = (props: { slackChannel?: string | SlackChannel }) => {\n const { slackChannel } = props;\n const { t } = useTranslationRef(coreComponentsTranslationRef);\n\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === 'string') {\n return (\n <Typography>{t('errorBoundary.title', { slackChannel })}</Typography>\n );\n } else if (!slackChannel.href) {\n return (\n <Typography>\n {t('errorBoundary.title', {\n slackChannel: slackChannel.name,\n })}\n </Typography>\n );\n }\n\n return (\n <LinkButton to={slackChannel.href} variant=\"contained\">\n {slackChannel.name}\n </LinkButton>\n );\n};\n\n/** @public */\nexport const ErrorBoundary: ComponentClass<\n ErrorBoundaryProps,\n State\n> = class ErrorBoundary extends Component<ErrorBoundaryProps, State> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n error: undefined,\n errorInfo: undefined,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n // eslint-disable-next-line no-console\n console.error(`ErrorBoundary, error: ${error}`, { error, errorInfo });\n this.setState({ error, errorInfo });\n }\n\n render() {\n const { slackChannel, children } = this.props;\n const { error } = this.state;\n\n if (!error) {\n return children;\n }\n\n return (\n <ErrorPanel title=\"Something Went Wrong\" error={error}>\n <SlackLink slackChannel={slackChannel} />\n </ErrorPanel>\n );\n }\n};\n","/*\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 Card from '@material-ui/core/Card';\nimport CardActions from '@material-ui/core/CardActions';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardHeader, { CardHeaderProps } from '@material-ui/core/CardHeader';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport { ReactNode } from 'react';\nimport { BottomLink, BottomLinkProps } from '../BottomLink';\nimport { ErrorBoundary, ErrorBoundaryProps } from '../ErrorBoundary';\n\n/** @public */\nexport type InfoCardClassKey =\n | 'noPadding'\n | 'header'\n | 'headerTitle'\n | 'headerSubheader'\n | 'headerAvatar'\n | 'headerAction'\n | 'headerContent';\n\nconst useStyles = makeStyles(\n theme => ({\n noPadding: {\n padding: 0,\n '&:last-child': {\n paddingBottom: 0,\n },\n },\n contentAlignBottom: {\n display: 'flex',\n alignItems: 'self-end',\n },\n header: {\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n headerTitle: {\n fontWeight: theme.typography.fontWeightBold,\n },\n headerSubheader: {\n paddingTop: theme.spacing(1),\n },\n headerAvatar: {},\n headerAction: {},\n headerContent: {},\n subheader: {\n display: 'flex',\n },\n }),\n { name: 'BackstageInfoCard' },\n);\n\n/** @public */\nexport type CardActionsTopRightClassKey = 'root';\n\nconst CardActionsTopRight = withStyles(\n theme => ({\n root: {\n display: 'inline-block',\n padding: theme.spacing(8, 8, 0, 0),\n float: 'right',\n },\n }),\n { name: 'BackstageInfoCardCardActionsTopRight' },\n)(CardActions);\n\nconst VARIANT_STYLES = {\n card: {\n flex: {\n display: 'flex',\n flexDirection: 'column',\n },\n fullHeight: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n },\n gridItem: {\n display: 'flex',\n flexDirection: 'column',\n height: 'calc(100% - 10px)', // for pages without content header\n marginBottom: '10px',\n breakInside: 'avoid-page',\n '@media print': {\n height: 'auto',\n },\n },\n },\n cardContent: {\n fullHeight: {\n flex: 1,\n },\n gridItem: {\n flex: 1,\n },\n },\n};\n\n/** @public */\nexport type InfoCardVariants = 'flex' | 'fullHeight' | 'gridItem';\n\n/**\n * InfoCard is used to display a paper-styled block on the screen, similar to a panel.\n *\n * You can custom style an InfoCard with the 'className' (outer container) and 'cardClassName' (inner container)\n * props. This is typically used with the material-ui makeStyles mechanism.\n *\n * The InfoCard serves as an error boundary. As a result, if you provide an 'errorBoundaryProps' property this\n * specifies the extra information to display in the error component that is displayed if an error occurs\n * in any descendent components.\n *\n * By default the InfoCard has no custom layout of its children, but is treated as a block element. A\n * couple common variants are provided and can be specified via the variant property:\n *\n * When the InfoCard is displayed as a grid item within a grid, you may want items to have the same height for all items.\n * Set to the 'gridItem' variant to display the InfoCard with full height suitable for Grid:\n *\n * `<InfoCard variant=\"gridItem\">...</InfoCard>`\n */\nexport type Props = {\n title?: ReactNode;\n subheader?: ReactNode;\n divider?: boolean;\n deepLink?: BottomLinkProps;\n /** @deprecated Use errorBoundaryProps instead */\n slackChannel?: string;\n errorBoundaryProps?: ErrorBoundaryProps;\n variant?: InfoCardVariants;\n alignContent?: 'normal' | 'bottom';\n children?: ReactNode;\n headerStyle?: object;\n headerProps?: CardHeaderProps;\n icon?: ReactNode;\n action?: ReactNode;\n actionsClassName?: string;\n actions?: ReactNode;\n cardClassName?: string;\n actionsTopRight?: ReactNode;\n className?: string;\n noPadding?: boolean;\n titleTypographyProps?: object;\n subheaderTypographyProps?: object;\n};\n\n/**\n * Material-ui card with header , content and actions footer\n *\n * @public\n *\n */\nexport function InfoCard(props: Props): JSX.Element {\n const {\n title,\n subheader,\n divider = true,\n deepLink,\n slackChannel,\n errorBoundaryProps,\n variant,\n alignContent = 'normal',\n children,\n headerStyle,\n headerProps,\n icon,\n action,\n actionsClassName,\n actions,\n cardClassName,\n actionsTopRight,\n className,\n noPadding,\n titleTypographyProps,\n subheaderTypographyProps,\n } = props;\n const classes = useStyles();\n /**\n * If variant is specified, we build up styles for that particular variant for both\n * the Card and the CardContent (since these need to be synced)\n */\n let calculatedStyle = {};\n let calculatedCardStyle = {};\n if (variant) {\n const variants = variant.split(/[\\s]+/g);\n variants.forEach(name => {\n calculatedStyle = {\n ...calculatedStyle,\n ...VARIANT_STYLES.card[name as keyof (typeof VARIANT_STYLES)['card']],\n };\n calculatedCardStyle = {\n ...calculatedCardStyle,\n ...VARIANT_STYLES.cardContent[\n name as keyof (typeof VARIANT_STYLES)['cardContent']\n ],\n };\n });\n }\n\n const cardSubTitle = () => {\n if (!subheader && !icon) {\n return null;\n }\n\n return (\n <div data-testid=\"info-card-subheader\">\n {subheader && <div className={classes.subheader}>{subheader}</div>}\n {icon}\n </div>\n );\n };\n\n const errProps: ErrorBoundaryProps =\n errorBoundaryProps || (slackChannel ? { slackChannel } : {});\n\n return (\n <Card style={calculatedStyle} className={className}>\n <ErrorBoundary {...errProps}>\n {title && (\n <CardHeader\n classes={{\n root: classNames(classes.header),\n title: classes.headerTitle,\n subheader: classes.headerSubheader,\n avatar: classes.headerAvatar,\n action: classes.headerAction,\n content: classes.headerContent,\n }}\n title={title}\n subheader={cardSubTitle()}\n action={action}\n style={{ ...headerStyle }}\n titleTypographyProps={titleTypographyProps}\n subheaderTypographyProps={subheaderTypographyProps}\n {...headerProps}\n />\n )}\n {actionsTopRight && (\n <CardActionsTopRight>{actionsTopRight}</CardActionsTopRight>\n )}\n {divider && <Divider />}\n <CardContent\n className={classNames(cardClassName, {\n [classes.noPadding]: noPadding,\n [classes.contentAlignBottom]: alignContent === 'bottom',\n })}\n style={calculatedCardStyle}\n >\n {children}\n </CardContent>\n {actions && (\n <CardActions className={actionsClassName}>{actions}</CardActions>\n )}\n {deepLink && <BottomLink {...deepLink} />}\n </ErrorBoundary>\n </Card>\n );\n}\n","/*\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 Entity,\n CompoundEntityRef,\n RELATION_OWNED_BY,\n RELATION_PART_OF,\n} from '@backstage/catalog-model';\nimport { OverflowTooltip, TableColumn } from '@backstage/core-components';\nimport { getEntityRelations } from '../../utils';\nimport {\n EntityRefLink,\n EntityRefLinks,\n humanizeEntityRef,\n} from '../EntityRefLink';\nimport { EntityTableColumnTitle } from './TitleColumn';\n\n/** @public */\nexport const columnFactories = Object.freeze({\n createEntityRefColumn<T extends Entity>(options: {\n defaultKind?: string;\n }): TableColumn<T> {\n const { defaultKind } = options;\n function formatContent(entity: T): string {\n return (\n entity.metadata?.title ||\n humanizeEntityRef(entity, {\n defaultKind,\n })\n );\n }\n\n return {\n title: <EntityTableColumnTitle translationKey=\"name\" />,\n highlight: true,\n customFilterAndSearch(filter, entity) {\n // TODO: We could implement this more efficiently, like searching over\n // each field that is displayed individually (kind, namespace, name).\n // but that might confuse the user as it will behave different than a\n // simple text search.\n // Another alternative would be to cache the values. But writing them\n // into the entity feels bad too.\n return formatContent(entity).includes(filter);\n },\n customSort(entity1, entity2) {\n // TODO: We could implement this more efficiently by comparing field by field.\n // This has similar issues as above.\n return formatContent(entity1).localeCompare(formatContent(entity2));\n },\n render: entity => (\n <EntityRefLink\n entityRef={entity}\n defaultKind={defaultKind}\n title={entity.metadata?.title}\n />\n ),\n };\n },\n createEntityRelationColumn<T extends Entity>(options: {\n title: string | JSX.Element;\n relation: string;\n defaultKind?: string;\n filter?: { kind: string };\n }): TableColumn<T> {\n const { title, relation, defaultKind, filter: entityFilter } = options;\n\n function getRelations(entity: T): CompoundEntityRef[] {\n return getEntityRelations(entity, relation, entityFilter);\n }\n\n function formatContent(entity: T): string {\n return getRelations(entity)\n .map(r => humanizeEntityRef(r, { defaultKind }))\n .join(', ');\n }\n\n return {\n title,\n customFilterAndSearch(filter, entity) {\n return formatContent(entity).includes(filter);\n },\n customSort(entity1, entity2) {\n return formatContent(entity1).localeCompare(formatContent(entity2));\n },\n render: entity => {\n return (\n <EntityRefLinks\n entityRefs={getRelations(entity)}\n defaultKind={defaultKind}\n />\n );\n },\n };\n },\n createOwnerColumn<T extends Entity>(): TableColumn<T> {\n return this.createEntityRelationColumn({\n title: <EntityTableColumnTitle translationKey=\"owner\" />,\n relation: RELATION_OWNED_BY,\n defaultKind: 'group',\n });\n },\n createDomainColumn<T extends Entity>(): TableColumn<T> {\n return this.createEntityRelationColumn({\n title: <EntityTableColumnTitle translationKey=\"domain\" />,\n relation: RELATION_PART_OF,\n defaultKind: 'domain',\n filter: {\n kind: 'domain',\n },\n });\n },\n createSystemColumn<T extends Entity>(): TableColumn<T> {\n return this.createEntityRelationColumn({\n title: <EntityTableColumnTitle translationKey=\"system\" />,\n relation: RELATION_PART_OF,\n defaultKind: 'system',\n filter: {\n kind: 'system',\n },\n });\n },\n createMetadataDescriptionColumn<T extends Entity>(): TableColumn<T> {\n return {\n title: <EntityTableColumnTitle translationKey=\"description\" />,\n field: 'metadata.description',\n render: entity => (\n <OverflowTooltip\n text={entity.metadata.description}\n placement=\"bottom-start\"\n line={2}\n />\n ),\n };\n },\n createSpecLifecycleColumn<T extends Entity>(): TableColumn<T> {\n return {\n title: <EntityTableColumnTitle translationKey=\"lifecycle\" />,\n field: 'spec.lifecycle',\n };\n },\n createSpecTypeColumn<T extends Entity>(): TableColumn<T> {\n return {\n title: <EntityTableColumnTitle translationKey=\"type\" />,\n field: 'spec.type',\n };\n },\n});\n","/*\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 { ComponentEntity, SystemEntity } from '@backstage/catalog-model';\nimport { TableColumn } from '@backstage/core-components';\nimport { columnFactories } from './columns';\n\nexport const systemEntityColumns: TableColumn<SystemEntity>[] = [\n columnFactories.createEntityRefColumn({ defaultKind: 'system' }),\n columnFactories.createDomainColumn(),\n columnFactories.createOwnerColumn(),\n columnFactories.createMetadataDescriptionColumn(),\n];\n\nexport const componentEntityColumns: TableColumn<ComponentEntity>[] = [\n columnFactories.createEntityRefColumn({ defaultKind: 'component' }),\n columnFactories.createSystemColumn(),\n columnFactories.createOwnerColumn(),\n columnFactories.createSpecTypeColumn(),\n columnFactories.createSpecLifecycleColumn(),\n columnFactories.createMetadataDescriptionColumn(),\n];\n","/*\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 { Entity } from '@backstage/catalog-model';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { CSSProperties, ReactNode } from 'react';\nimport { columnFactories } from './columns';\nimport { componentEntityColumns, systemEntityColumns } from './presets';\nimport {\n InfoCardVariants,\n Table,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\n\n/**\n * Props for {@link EntityTable}.\n *\n * @public\n */\nexport interface EntityTableProps<T extends Entity> {\n title: string;\n variant?: InfoCardVariants;\n entities: T[];\n emptyContent?: ReactNode;\n columns: TableColumn<T>[];\n tableOptions?: TableOptions;\n}\n\nconst useStyles = makeStyles(theme => ({\n empty: {\n padding: theme.spacing(2),\n display: 'flex',\n justifyContent: 'center',\n },\n}));\n\n/**\n * A general entity table component, that can be used for composing more\n * specific entity tables.\n *\n * @public\n */\nexport const EntityTable = <T extends Entity>(props: EntityTableProps<T>) => {\n const {\n entities,\n title,\n emptyContent,\n variant = 'gridItem',\n columns,\n tableOptions = {},\n } = props;\n\n const classes = useStyles();\n const tableStyle: CSSProperties = {\n minWidth: '0',\n width: '100%',\n };\n\n if (variant === 'gridItem') {\n tableStyle.height = 'calc(100% - 10px)';\n }\n\n return (\n <Table<T>\n columns={columns}\n title={title}\n style={tableStyle}\n emptyContent={\n emptyContent && <div className={classes.empty}>{emptyContent}</div>\n }\n options={{\n // TODO: Toolbar padding if off compared to other cards, should be: padding: 16px 24px;\n search: false,\n paging: false,\n actionsColumnIndex: -1,\n padding: 'dense',\n draggable: false,\n ...tableOptions,\n }}\n data={entities}\n />\n );\n};\n\nEntityTable.columns = columnFactories;\n\nEntityTable.systemEntityColumns = systemEntityColumns;\n\nEntityTable.componentEntityColumns = componentEntityColumns;\n","/*\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 */\n\nimport { useTranslationRef } from '@backstage/frontend-plugin-api';\nimport { catalogReactTranslationRef } from '../../translation';\n\n/**\n * @alpha\n */\nexport type EntityTableColumnTitleProps = {\n translationKey:\n | 'name'\n | 'system'\n | 'owner'\n | 'type'\n | 'lifecycle'\n | 'namespace'\n | 'description'\n | 'tags'\n | 'targets'\n | 'title'\n | 'label'\n | 'domain';\n};\n\n/**\n * @alpha\n */\nexport const EntityTableColumnTitle = ({\n translationKey,\n}: EntityTableColumnTitleProps) => {\n const { t } = useTranslationRef(catalogReactTranslationRef);\n return t(`entityTableColumnTitle.${translationKey}`);\n};\n","/*\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 */\nimport { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { AnalyticsContext } from '@backstage/core-plugin-api';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n useVersionedContext,\n} from '@backstage/version-bridge';\nimport { ReactNode } from 'react';\n\n/** @public */\nexport type EntityLoadingStatus<TEntity extends Entity = Entity> = {\n entity?: TEntity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n};\n\n// This context has support for multiple concurrent versions of this package.\n// It is currently used in parallel with the old context in order to provide\n// a smooth transition, but will eventually be the only context we use.\nconst NewEntityContext = createVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n);\n\n/**\n * Properties for the AsyncEntityProvider component.\n *\n * @public\n */\nexport interface AsyncEntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n}\n\n/**\n * Provides a loaded entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const AsyncEntityProvider = (props: AsyncEntityProviderProps) => {\n const { children, entity, loading, error, refresh } = props;\n const value = { entity, loading, error, refresh };\n // We provide both the old and the new context, since\n // consumers might be doing things like `useContext(EntityContext)`\n return (\n <NewEntityContext.Provider value={createVersionedValueMap({ 1: value })}>\n <AnalyticsContext\n attributes={{\n ...(entity ? { entityRef: stringifyEntityRef(entity) } : undefined),\n }}\n >\n {children}\n </AnalyticsContext>\n </NewEntityContext.Provider>\n );\n};\n\n/**\n * Properties for the EntityProvider component.\n *\n * @public\n */\nexport interface EntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n}\n\n/**\n * Provides an entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const EntityProvider = (props: EntityProviderProps) => (\n <AsyncEntityProvider\n entity={props.entity}\n loading={!Boolean(props.entity)}\n error={undefined}\n refresh={undefined}\n children={props.children}\n />\n);\n\n/**\n * Grab the current entity from the context, throws if the entity has not yet been loaded\n * or is not available.\n *\n * @public\n */\nexport function useEntity<TEntity extends Entity = Entity>(): {\n entity: TEntity;\n} {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n if (!value.entity) {\n throw new Error(\n 'useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.',\n );\n }\n\n return { entity: value.entity as TEntity };\n}\n\n/**\n * Grab the current entity from the context, provides loading state and errors, and the ability to refresh.\n *\n * @public\n */\nexport function useAsyncEntity<\n TEntity extends Entity = Entity,\n>(): EntityLoadingStatus<TEntity> {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n const { entity, loading, error, refresh } = value;\n return { entity: entity as TEntity, loading, error, refresh };\n}\n","/*\n * Copyright 2023 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 { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const catalogTranslationRef = createTranslationRef({\n id: 'catalog',\n messages: {\n indexPage: {\n title: `{{orgName}} Catalog`,\n createButtonTitle: 'Create',\n supportButtonContent: 'All your software catalog entities',\n },\n aboutCard: {\n title: 'About',\n refreshButtonTitle: 'Schedule entity refresh',\n editButtonTitle: 'Edit Metadata',\n createSimilarButtonTitle: 'Create something similar',\n refreshScheduledMessage: 'Refresh scheduled',\n launchTemplate: 'Launch Template',\n viewTechdocs: 'View TechDocs',\n viewSource: 'View Source',\n descriptionField: {\n label: 'Description',\n value: 'No description',\n },\n ownerField: {\n label: 'Owner',\n value: 'No Owner',\n },\n domainField: {\n label: 'Domain',\n value: 'No Domain',\n },\n systemField: {\n label: 'System',\n value: 'No System',\n },\n parentComponentField: {\n label: 'Parent Component',\n value: 'No Parent Component',\n },\n typeField: {\n label: 'Type',\n },\n lifecycleField: {\n label: 'Lifecycle',\n },\n tagsField: {\n label: 'Tags',\n value: 'No Tags',\n },\n targetsField: {\n label: 'Targets',\n },\n },\n searchResultItem: {\n lifecycle: 'Lifecycle',\n Owner: 'Owner',\n },\n catalogTable: {\n warningPanelTitle: 'Could not fetch catalog entities.',\n viewActionTitle: 'View',\n editActionTitle: 'Edit',\n starActionTitle: 'Add to favorites',\n unStarActionTitle: 'Remove from favorites',\n },\n dependencyOfComponentsCard: {\n title: 'Dependency of components',\n emptyMessage: 'No component depends on this component',\n },\n dependsOnComponentsCard: {\n title: 'Depends on components',\n emptyMessage: 'No component is a dependency of this component',\n },\n dependsOnResourcesCard: {\n title: 'Depends on resources',\n emptyMessage: 'No resource is a dependency of this component',\n },\n entityContextMenu: {\n copiedMessage: 'Copied!',\n moreButtonTitle: 'More',\n inspectMenuTitle: 'Inspect entity',\n copyURLMenuTitle: 'Copy entity URL',\n unregisterMenuTitle: 'Unregister entity',\n },\n entityLabelsCard: {\n title: 'Labels',\n emptyDescription:\n 'No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:',\n readMoreButtonTitle: 'Read more',\n },\n entityLabels: {\n warningPanelTitle: 'Entity not found',\n ownerLabel: 'Owner',\n lifecycleLabel: 'Lifecycle',\n },\n entityLinksCard: {\n title: 'Links',\n emptyDescription:\n 'No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:',\n readMoreButtonTitle: 'Read more',\n },\n entityNotFound: {\n title: 'Entity was not found',\n description:\n 'Want to help us build this? Check out our Getting Started documentation.',\n docButtonTitle: 'DOCS',\n },\n deleteEntity: {\n dialogTitle: 'Are you sure you want to delete this entity?',\n deleteButtonTitle: 'Delete',\n cancelButtonTitle: 'Cancel',\n description:\n 'This entity is not referenced by any location and is therefore not receiving updates. Click here to delete.',\n },\n entityProcessingErrorsDescription: 'The error below originates from',\n entityRelationWarningDescription:\n \"This entity has relations to other entities, which can't be found in the catalog.\\n Entities not found are: \",\n hasComponentsCard: {\n title: 'Has components',\n emptyMessage: 'No component is part of this system',\n },\n hasResourcesCard: {\n title: 'Has resources',\n emptyMessage: 'No resource is part of this system',\n },\n hasSubcomponentsCard: {\n title: 'Has subcomponents',\n emptyMessage: 'No subcomponent is part of this component',\n },\n hasSubdomainsCard: {\n title: 'Has subdomains',\n emptyMessage: 'No subdomain is part of this domain',\n },\n hasSystemsCard: {\n title: 'Has systems',\n emptyMessage: 'No system is part of this domain',\n },\n relatedEntitiesCard: {\n emptyHelpLinkTitle: 'Learn how to change this',\n },\n systemDiagramCard: {\n title: 'System Diagram',\n description: 'Use pinch & zoom to move around the diagram.',\n edgeLabels: {\n partOf: 'part of',\n provides: 'provides',\n dependsOn: 'depends on',\n },\n },\n },\n});\n","/*\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 { ComponentEntity, RELATION_HAS_PART } from '@backstage/catalog-model';\nimport {\n InfoCardVariants,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\nimport {\n asComponentEntities,\n componentEntityColumns,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\nimport { catalogTranslationRef } from '../../alpha/translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @public */\nexport interface HasSubcomponentsCardProps {\n variant?: InfoCardVariants;\n title?: string;\n columns?: TableColumn<ComponentEntity>[];\n tableOptions?: TableOptions;\n kind?: string;\n}\n\nexport function HasSubcomponentsCard(props: HasSubcomponentsCardProps) {\n const { t } = useTranslationRef(catalogTranslationRef);\n const {\n variant = 'gridItem',\n title = t('hasSubcomponentsCard.title'),\n columns = componentEntityColumns,\n tableOptions = {},\n kind = 'Component',\n } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind={kind}\n relationType={RELATION_HAS_PART}\n columns={columns}\n asRenderableEntities={asComponentEntities}\n emptyMessage={t('hasSubcomponentsCard.emptyMessage')}\n emptyHelpLink=\"https://backstage.io/docs/features/software-catalog/descriptor-format#specsubcomponentof-optional\"\n tableOptions={tableOptions}\n />\n );\n}\n","/*\n * Copyright 2021 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 { ResponseError } from '@backstage/errors';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Divider from '@material-ui/core/Divider';\nimport ListItem from '@material-ui/core/ListItem';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport { CodeSnippet } from '../CodeSnippet';\nimport { CopyTextButton } from '../CopyTextButton';\nimport { ErrorPanel, ErrorPanelProps } from '../ErrorPanel';\n\nexport type ResponseErrorPanelClassKey = 'text' | 'divider';\n\nconst useStyles = makeStyles(\n theme => ({\n text: {\n fontFamily: 'monospace',\n whiteSpace: 'pre',\n overflowX: 'auto',\n marginRight: theme.spacing(2),\n },\n divider: {\n margin: theme.spacing(2),\n },\n }),\n { name: 'BackstageResponseErrorPanel' },\n);\n\n/**\n * Renders a warning panel as the effect of a failed server request.\n *\n * @remarks\n * Has special treatment for ResponseError errors, to display rich\n * server-provided information about what happened.\n */\nexport function ResponseErrorPanel(props: ErrorPanelProps) {\n const { title, error, defaultExpanded } = props;\n const classes = useStyles();\n\n if (error.name !== 'ResponseError') {\n return (\n <ErrorPanel\n title={title ?? error.message}\n defaultExpanded={defaultExpanded}\n error={error}\n />\n );\n }\n\n const { body, cause } = error as ResponseError;\n const { request, response } = body;\n\n const errorString = `${response.statusCode}: ${cause.name}`;\n const requestString = request && `${request.method} ${request.url}`;\n const messageString = cause.message.replace(/\\\\n/g, '\\n');\n const stackString = cause.stack?.replace(/\\\\n/g, '\\n');\n const jsonString = JSON.stringify(body, undefined, 2);\n\n return (\n <ErrorPanel\n title={title ?? error.message}\n defaultExpanded={defaultExpanded}\n error={{ name: errorString, message: messageString, stack: stackString }}\n >\n {requestString && (\n <ListItem alignItems=\"flex-start\">\n <ListItemText\n classes={{ secondary: classes.text }}\n primary=\"Request\"\n secondary={request ? `${requestString}` : undefined}\n />\n <CopyTextButton text={requestString} />\n </ListItem>\n )}\n <>\n <Divider component=\"li\" className={classes.divider} />\n <ListItem alignItems=\"flex-start\">\n <ListItemText\n classes={{ secondary: classes.text }}\n primary=\"Full Error as JSON\"\n />\n </ListItem>\n <CodeSnippet language=\"json\" text={jsonString} showCopyCodeButton />\n </>\n </ErrorPanel>\n );\n}\n","/*\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 { Entity } from '@backstage/catalog-model';\nimport Typography from '@material-ui/core/Typography';\nimport {\n EntityTable,\n useEntity,\n useRelatedEntities,\n} from '@backstage/plugin-catalog-react';\nimport {\n InfoCard,\n InfoCardVariants,\n Link,\n Progress,\n ResponseErrorPanel,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\nimport {\n asComponentEntities,\n asDomainEntities,\n asResourceEntities,\n asSystemEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n domainEntityColumns,\n domainEntityHelpLink,\n resourceEntityColumns,\n resourceEntityHelpLink,\n systemEntityColumns,\n systemEntityHelpLink,\n} from './presets';\nimport { catalogTranslationRef } from '../../alpha/translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @public */\nexport type RelatedEntitiesCardProps<T extends Entity> = {\n variant?: InfoCardVariants;\n title: string;\n columns: TableColumn<T>[];\n entityKind?: string;\n relationType: string;\n emptyMessage: string;\n emptyHelpLink: string;\n asRenderableEntities: (entities: Entity[]) => T[];\n tableOptions?: TableOptions;\n};\n\n/**\n * A low level card component that can be used as a building block for more\n * specific cards.\n *\n * @remarks\n *\n * You probably want to make a dedicated component for your needs, which renders\n * this card as its implementation with some of the props set to the appropriate\n * values.\n *\n * @public\n */\nexport const RelatedEntitiesCard = <T extends Entity>(\n props: RelatedEntitiesCardProps<T>,\n) => {\n const {\n variant = 'gridItem',\n title,\n columns,\n entityKind,\n relationType,\n emptyMessage,\n emptyHelpLink,\n asRenderableEntities,\n tableOptions = {},\n } = props;\n const { t } = useTranslationRef(catalogTranslationRef);\n const { entity } = useEntity();\n const { entities, loading, error } = useRelatedEntities(entity, {\n type: relationType,\n kind: entityKind,\n });\n\n if (loading) {\n return (\n <InfoCard variant={variant} title={title}>\n <Progress />\n </InfoCard>\n );\n }\n\n if (error) {\n return (\n <InfoCard variant={variant} title={title}>\n <ResponseErrorPanel error={error} />\n </InfoCard>\n );\n }\n\n return (\n <EntityTable\n title={title}\n variant={variant}\n emptyContent={\n <div style={{ textAlign: 'center' }}>\n <Typography variant=\"body1\">{emptyMessage}</Typography>\n <Typography variant=\"body2\">\n <Link to={emptyHelpLink} externalLinkIcon>\n {t('relatedEntitiesCard.emptyHelpLinkTitle')}\n </Link>\n </Typography>\n </div>\n }\n columns={columns}\n entities={asRenderableEntities(entities || [])}\n tableOptions={tableOptions}\n />\n );\n};\n\nRelatedEntitiesCard.componentEntityColumns = componentEntityColumns;\nRelatedEntitiesCard.componentEntityHelpLink = componentEntityHelpLink;\nRelatedEntitiesCard.asComponentEntities = asComponentEntities;\nRelatedEntitiesCard.resourceEntityColumns = resourceEntityColumns;\nRelatedEntitiesCard.resourceEntityHelpLink = resourceEntityHelpLink;\nRelatedEntitiesCard.asResourceEntities = asResourceEntities;\nRelatedEntitiesCard.systemEntityColumns = systemEntityColumns;\nRelatedEntitiesCard.systemEntityHelpLink = systemEntityHelpLink;\nRelatedEntitiesCard.asSystemEntities = asSystemEntities;\nRelatedEntitiesCard.domainEntityColums = domainEntityColumns;\nRelatedEntitiesCard.domainEntityHelpLink = domainEntityHelpLink;\nRelatedEntitiesCard.asDomainEntities = asDomainEntities;\n","/*\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 { Entity, parseEntityRef } from '@backstage/catalog-model';\nimport { useApi } from '@backstage/core-plugin-api';\nimport useAsync from 'react-use/esm/useAsync';\nimport { catalogApiRef } from '../api';\n\n/**\n * Fetches all entities that appear in the entity's relations, optionally\n * filtered by relation type and kind.\n *\n * @public\n */\nexport function useRelatedEntities(\n entity: Entity,\n relationFilter: { type?: string; kind?: string },\n): {\n entities: Entity[] | undefined;\n loading: boolean;\n error: Error | undefined;\n} {\n const filterByTypeLower = relationFilter?.type?.toLocaleLowerCase('en-US');\n const filterByKindLower = relationFilter?.kind?.toLocaleLowerCase('en-US');\n const catalogApi = useApi(catalogApiRef);\n\n const {\n loading,\n value: entities,\n error,\n } = useAsync(async () => {\n const relations = entity.relations?.filter(\n r =>\n (!filterByTypeLower ||\n r.type.toLocaleLowerCase('en-US') === filterByTypeLower) &&\n (!filterByKindLower ||\n parseEntityRef(r.targetRef).kind === filterByKindLower),\n );\n\n if (!relations?.length) {\n return [];\n }\n\n const { items } = await catalogApi.getEntitiesByRefs({\n entityRefs: relations.map(r => r.targetRef),\n });\n\n return items.filter((x): x is Entity => Boolean(x));\n }, [entity, filterByTypeLower, filterByKindLower]);\n\n return {\n entities,\n loading,\n error,\n };\n}\n","/*\n * Copyright 2021 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 {\n ComponentEntity,\n DomainEntity,\n Entity,\n ResourceEntity,\n SystemEntity,\n} from '@backstage/catalog-model';\nimport { EntityTable } from '@backstage/plugin-catalog-react';\nimport { TableColumn } from '@backstage/core-components';\n\nexport const componentEntityColumns: TableColumn<ComponentEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'component' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createSpecTypeColumn(),\n EntityTable.columns.createSpecLifecycleColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const componentEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component';\nexport const asComponentEntities = (entities: Entity[]): ComponentEntity[] =>\n entities as ComponentEntity[];\n\nexport const resourceEntityColumns: TableColumn<ResourceEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'resource' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createSpecTypeColumn(),\n EntityTable.columns.createSpecLifecycleColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const resourceEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource';\nexport const asResourceEntities = (entities: Entity[]): ResourceEntity[] =>\n entities as ResourceEntity[];\n\nexport const systemEntityColumns: TableColumn<SystemEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'system' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const systemEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system';\nexport const asSystemEntities = (entities: Entity[]): SystemEntity[] =>\n entities as SystemEntity[];\n\nexport const domainEntityColumns: TableColumn<DomainEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'domain' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const domainEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain';\nexport const asDomainEntities = (entities: Entity[]): DomainEntity[] =>\n entities as DomainEntity[];\n"],"names":["useStyles","makeStyles","line","OverflowTooltip","props","classes","Tooltip","Typography","theme","BottomLink","link","title","onClick","Box","Divider","Link","ArrowIcon","SlackLink","slackChannel","t","useTranslationRef","coreComponentsTranslationRef","LinkButton","ErrorBoundary","Component","undefined","error","errorInfo","console","children","ErrorPanel","CardActionsTopRight","withStyles","CardActions","InfoCard","subheader","divider","deepLink","errorBoundaryProps","variant","alignContent","headerStyle","headerProps","icon","action","actionsClassName","actions","cardClassName","actionsTopRight","className","noPadding","titleTypographyProps","subheaderTypographyProps","calculatedStyle","calculatedCardStyle","variants","name","VARIANT_STYLES","Card","CardHeader","classNames","CardContent","columnFactories","Object","options","defaultKind","formatContent","entity","humanizeEntityRef","EntityTableColumnTitle","filter","entity1","entity2","EntityRefLink","relation","entityFilter","getRelations","getEntityRelations","r","EntityRefLinks","RELATION_OWNED_BY","RELATION_PART_OF","systemEntityColumns","componentEntityColumns","EntityTable","entities","emptyContent","columns","tableOptions","tableStyle","Table","translationKey","catalogReactTranslationRef","NewEntityContext","createVersionedContext","AsyncEntityProvider","loading","refresh","createVersionedValueMap","AnalyticsContext","stringifyEntityRef","useEntity","versionedHolder","useVersionedContext","Error","value","useAsyncEntity","catalogTranslationRef","createTranslationRef","HasSubcomponentsCard","kind","RelatedEntitiesCard","RELATION_HAS_PART","asComponentEntities","ResponseErrorPanel","defaultExpanded","body","cause","request","response","errorString","requestString","messageString","stackString","jsonString","JSON","ListItem","ListItemText","CopyTextButton","CodeSnippet","entityKind","relationType","emptyMessage","emptyHelpLink","asRenderableEntities","useRelatedEntities","relationFilter","filterByTypeLower","filterByKindLower","catalogApi","useApi","catalogApiRef","useAsync","relations","parseEntityRef","items","x","Boolean","Progress","componentEntityHelpLink","resourceEntityColumns","resourceEntityHelpLink","asResourceEntities","systemEntityHelpLink","asSystemEntities","domainEntityColumns","domainEntityHelpLink","asDomainEntities"],"mappings":"+IAEA,IAAI,EAAyB,EAAQ,OAEjC,EAA0B,EAAQ,MAKtC,UAAe,CAAG,KAAK,EAEvB,IAAI,EAAQ,EAAwB,EAAQ,MAQ5C,UAAe,CAJA,AAAC,GAAG,AAFE,EAAuB,EAAQ,QAElB,OAAO,AAAD,EAAiB,EAAM,aAAa,CAAC,OAAQ,CACnF,EAAG,2DACL,GAAI,e,yFCYJ,IAAMA,EAAYC,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAChB,CACE,UAAW,CACT,SAAU,oBACZ,EACA,KAAM,CACJ,SAAU,UACV,SAAU,SACV,aAAc,WACd,QAAS,cACT,qBAAsB,CAAC,CAAEC,KAAAA,CAAI,CAAS,GAAKA,GAAQ,EACnD,qBAAsB,UACxB,CACF,EACA,CAAE,KAAM,0BAA2B,GAG9B,SAASC,EAAgBC,CAAY,EAC1C,IAAMC,EAAUL,EAAUI,GAE1B,MACE,UAACE,EAAAA,EAAOA,CAAAA,CACN,MAAOF,EAAM,KAAK,EAAKA,CAAAA,EAAM,IAAI,EAAI,EAAC,EACtC,UAAWA,EAAM,SAAS,C,SAE1B,UAACG,EAAAA,CAAUA,CAAAA,CAAC,UAAWF,EAAQ,IAAI,CAAE,QAAQ,U,SAC1CD,EAAM,IAAI,A,IAInB,C,qMChCA,IAAMJ,EAAYC,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAChBO,AAAAA,GAAU,EACR,KAAM,CACJ,SAAU,cACV,QAASA,EAAM,OAAO,CAAC,EAAG,EAAG,EAAG,IAClC,EACA,SAAU,CACR,OAAQ,EACR,MAAOA,EAAM,OAAO,CAAC,UAAU,AACjC,EACA,MAAO,CACL,MAAOA,EAAM,OAAO,CAAC,UAAU,AACjC,CACF,GACA,CAAE,KAAM,qBAAsB,GAgBzB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CAAAA,CAAAA,OAAAA,CAAAA,oBAAwC,GACxCA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,yBAA6C,GAC7CA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,+BAAmD,GACpD,CACYiE,EACX,uFACWpC,EAAsB,AAAC5B,GAClCA,EAEWiE,EAAuD,CAClElE,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,qBAAyC,CAAC,CAAE,YAAa,UAAW,GACpEA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,iBAAqC,GACrCA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,oBAAwC,GACxCA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,yBAA6C,GAC7CA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,+BAAmD,GACpD,CACYmE,EACX,sFACWC,EAAqB,AAACnE,GACjCA,EAEWH,EAAmD,CAC9DE,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,qBAAyC,CAAC,CAAE,YAAa,QAAS,GAClEA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,iBAAqC,GACrCA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,+BAAmD,GACpD,CACYqE,EACX,oFACWC,EAAmB,AAACrE,GAC/BA,EAEWsE,EAAmD,CAC9DvE,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,qBAAyC,CAAC,CAAE,YAAa,QAAS,GAClEA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,iBAAqC,GACrCA,EAAAA,CAAAA,CAAAA,OAAAA,CAAAA,+BAAmD,GACpD,CACYwE,EACX,oFACWC,EAAmB,AAACxE,GAC/BA,C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1479"],{27597:function(e,t,n){var i=n(15755),a=n(25357);t.default=void 0;var o=a(n(2784));t.default=(0,i(n(50175)).default)(o.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},57575:function(e,t,n){n.d(t,{O:()=>l});var i=n(52322),a=n(79692),o=n(80030),r=n(90436);let s=(0,a.Z)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:e})=>e||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function l(e){let t=s(e);return(0,i.jsx)(o.ZP,{title:e.title??(e.text||""),placement:e.placement,children:(0,i.jsx)(r.Z,{className:t.typo,variant:"inherit",children:e.text})})}},35402:function(e,t,n){n.d(t,{r:()=>R});var i=n(52322),a=n(94339),o=n(14503),r=n(24579),s=n(32552),l=n(85256),c=n(79692),d=n(77392),u=n(16709),m=n.n(u),p=n(53244),y=n(90436),h=n(27597),f=n(13039);let g=(0,c.Z)(e=>({root:{maxWidth:"fit-content",padding:e.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:e.palette.textSubtle},arrow:{color:e.palette.textSubtle}}),{name:"BackstageBottomLink"});function C(e){let{link:t,title:n,onClick:a}=e,o=g();return(0,i.jsxs)(p.Z,{children:[(0,i.jsx)(l.Z,{}),(0,i.jsx)(f.rU,{to:t,onClick:a,underline:"none",children:(0,i.jsxs)(p.Z,{display:"flex",alignItems:"center",className:o.root,children:[(0,i.jsx)(p.Z,{className:o.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,i.jsx)(y.Z,{children:(0,i.jsx)("strong",{children:n})})}),(0,i.jsx)(h.default,{className:o.arrow})]})})]})}var x=n(2784),b=n(37667),v=n(33414),w=n(2210),j=n(14380);let E=e=>{let{slackChannel:t}=e,{t:n}=(0,j.i)(w.v);return t?"string"==typeof t?(0,i.jsx)(y.Z,{children:n("errorBoundary.title",{slackChannel:t})}):t.href?(0,i.jsx)(b.Q,{to:t.href,variant:"contained",children:t.name}):(0,i.jsx)(y.Z,{children:n("errorBoundary.title",{slackChannel:t.name})}):null},T=class extends x.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,t){console.error(`ErrorBoundary, error: ${e}`,{error:e,errorInfo:t}),this.setState({error:e,errorInfo:t})}render(){let{slackChannel:e,children:t}=this.props,{error:n}=this.state;return n?(0,i.jsx)(v.y,{title:"Something Went Wrong",error:n,children:(0,i.jsx)(E,{slackChannel:e})}):t}},k=(0,c.Z)(e=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:e.spacing(2,2,2,2.5)},headerTitle:{fontWeight:e.typography.fontWeightBold},headerSubheader:{paddingTop:e.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),S=(0,d.Z)(e=>({root:{display:"inline-block",padding:e.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(o.Z),L={flex:{display:"flex",flexDirection:"column"},fullHeight:{display:"flex",flexDirection:"column",height:"100%"},gridItem:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px",breakInside:"avoid-page","@media print":{height:"auto"}}},Z={fullHeight:{flex:1},gridItem:{flex:1}};function R(e){let{title:t,subheader:n,divider:c=!0,deepLink:d,slackChannel:u,errorBoundaryProps:p,variant:y,alignContent:h="normal",children:f,headerStyle:g,headerProps:x,icon:b,action:v,actionsClassName:w,actions:j,cardClassName:E,actionsTopRight:R,className:D,noPadding:O,titleTypographyProps:M,subheaderTypographyProps:N}=e,B=k(),A={},I={};return y&&y.split(/[\s]+/g).forEach(e=>{A={...A,...L[e]},I={...I,...Z[e]}}),(0,i.jsx)(a.Z,{style:A,className:D,children:(0,i.jsxs)(T,{...p||(u?{slackChannel:u}:{}),children:[t&&(0,i.jsx)(s.Z,{classes:{root:m()(B.header),title:B.headerTitle,subheader:B.headerSubheader,avatar:B.headerAvatar,action:B.headerAction,content:B.headerContent},title:t,subheader:n||b?(0,i.jsxs)("div",{"data-testid":"info-card-subheader",children:[n&&(0,i.jsx)("div",{className:B.subheader,children:n}),b]}):null,action:v,style:{...g},titleTypographyProps:M,subheaderTypographyProps:N,...x}),R&&(0,i.jsx)(S,{children:R}),c&&(0,i.jsx)(l.Z,{}),(0,i.jsx)(r.Z,{className:m()(E,{[B.noPadding]:O,[B.contentAlignBottom]:"bottom"===h}),style:I,children:f}),j&&(0,i.jsx)(o.Z,{className:w,children:j}),d&&(0,i.jsx)(C,{...d})]})})}},47898:function(e,t,n){n.d(t,{u:()=>g});var i=n(52322),a=n(79692),o=n(58985),r=n(57575),s=n(79043),l=n(93386),c=n(41410),d=n(57148),u=n(58833);let m=Object.freeze({createEntityRefColumn(e){let{defaultKind:t}=e;function n(e){return e.metadata?.title||(0,l.$)(e,{defaultKind:t})}return{title:(0,i.jsx)(u.Z,{translationKey:"name"}),highlight:!0,customFilterAndSearch:(e,t)=>n(t).includes(e),customSort:(e,t)=>n(e).localeCompare(n(t)),render:e=>(0,i.jsx)(c.d,{entityRef:e,defaultKind:t,title:e.metadata?.title})}},createEntityRelationColumn(e){let{title:t,relation:n,defaultKind:a,filter:o}=e;function r(e){return(0,s.h)(e,n,o)}function c(e){return r(e).map(e=>(0,l.$)(e,{defaultKind:a})).join(", ")}return{title:t,customFilterAndSearch:(e,t)=>c(t).includes(e),customSort:(e,t)=>c(e).localeCompare(c(t)),render:e=>(0,i.jsx)(d.r,{entityRefs:r(e),defaultKind:a})}},createOwnerColumn(){return this.createEntityRelationColumn({title:(0,i.jsx)(u.Z,{translationKey:"owner"}),relation:o.S4,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:(0,i.jsx)(u.Z,{translationKey:"domain"}),relation:o.cz,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:(0,i.jsx)(u.Z,{translationKey:"system"}),relation:o.cz,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn:()=>({title:(0,i.jsx)(u.Z,{translationKey:"description"}),field:"metadata.description",render:e=>(0,i.jsx)(r.O,{text:e.metadata.description,placement:"bottom-start",line:2})}),createSpecLifecycleColumn:()=>({title:(0,i.jsx)(u.Z,{translationKey:"lifecycle"}),field:"spec.lifecycle"}),createSpecTypeColumn:()=>({title:(0,i.jsx)(u.Z,{translationKey:"type"}),field:"spec.type"})}),p=[m.createEntityRefColumn({defaultKind:"system"}),m.createDomainColumn(),m.createOwnerColumn(),m.createMetadataDescriptionColumn()],y=[m.createEntityRefColumn({defaultKind:"component"}),m.createSystemColumn(),m.createOwnerColumn(),m.createSpecTypeColumn(),m.createSpecLifecycleColumn(),m.createMetadataDescriptionColumn()];var h=n(33702);let f=(0,a.Z)(e=>({empty:{padding:e.spacing(2),display:"flex",justifyContent:"center"}})),g=e=>{let{entities:t,title:n,emptyContent:a,variant:o="gridItem",columns:r,tableOptions:s={}}=e,l=f(),c={minWidth:"0",width:"100%"};return"gridItem"===o&&(c.height="calc(100% - 10px)"),(0,i.jsx)(h.i,{columns:r,title:n,style:c,emptyContent:a&&(0,i.jsx)("div",{className:l.empty,children:a}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...s},data:t})};g.columns=m,g.systemEntityColumns=p,g.componentEntityColumns=y},58833:function(e,t,n){n.d(t,{Z:()=>o});var i=n(14380),a=n(79669);let o=({translationKey:e})=>{let{t}=(0,i.i)(a.P);return t(`entityTableColumnTitle.${e}`)}},5e4:function(e,t,n){n.d(t,{X2:()=>d,ce:()=>u,h$:()=>c});var i=n(52322),a=n(39381),o=n(60214),r=n(18011),s=n(88260);let l=(0,r.CT)("entity-context"),c=e=>{let{children:t,entity:n,loading:r,error:c,refresh:d}=e;return(0,i.jsx)(l.Provider,{value:(0,s.E)({1:{entity:n,loading:r,error:c,refresh:d}}),children:(0,i.jsx)(o.fC,{attributes:{...n?{entityRef:(0,a.eE)(n)}:void 0},children:t})})};function d(){let e=(0,r.Vt)("entity-context");if(!e)throw Error("Entity context is not available");let t=e.atVersion(1);if(!t)throw Error("EntityContext v1 not available");if(!t.entity)throw Error("useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.");return{entity:t.entity}}function u(){let e=(0,r.Vt)("entity-context");if(!e)throw Error("Entity context is not available");let t=e.atVersion(1);if(!t)throw Error("EntityContext v1 not available");let{entity:n,loading:i,error:a,refresh:o}=t;return{entity:n,loading:i,error:a,refresh:o}}},94890:function(e,t,n){n.d(t,{s:()=>i});let i=(0,n(73669).F)({id:"catalog",messages:{indexPage:{title:"{{orgName}} Catalog",createButtonTitle:"Create",supportButtonContent:"All your software catalog entities"},aboutCard:{title:"About",refreshButtonTitle:"Schedule entity refresh",editButtonTitle:"Edit Metadata",createSimilarButtonTitle:"Create something similar",refreshScheduledMessage:"Refresh scheduled",launchTemplate:"Launch Template",viewTechdocs:"View TechDocs",viewSource:"View Source",descriptionField:{label:"Description",value:"No description"},ownerField:{label:"Owner",value:"No Owner"},domainField:{label:"Domain",value:"No Domain"},systemField:{label:"System",value:"No System"},parentComponentField:{label:"Parent Component",value:"No Parent Component"},typeField:{label:"Type"},lifecycleField:{label:"Lifecycle"},tagsField:{label:"Tags",value:"No Tags"},targetsField:{label:"Targets"}},searchResultItem:{lifecycle:"Lifecycle",Owner:"Owner"},catalogTable:{warningPanelTitle:"Could not fetch catalog entities.",viewActionTitle:"View",editActionTitle:"Edit",starActionTitle:"Add to favorites",unStarActionTitle:"Remove from favorites"},dependencyOfComponentsCard:{title:"Dependency of components",emptyMessage:"No component depends on this component"},dependsOnComponentsCard:{title:"Depends on components",emptyMessage:"No component is a dependency of this component"},dependsOnResourcesCard:{title:"Depends on resources",emptyMessage:"No resource is a dependency of this component"},entityContextMenu:{copiedMessage:"Copied!",moreButtonTitle:"More",inspectMenuTitle:"Inspect entity",copyURLMenuTitle:"Copy entity URL",unregisterMenuTitle:"Unregister entity"},entityLabelsCard:{title:"Labels",emptyDescription:"No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityLabels:{warningPanelTitle:"Entity not found",ownerLabel:"Owner",lifecycleLabel:"Lifecycle"},entityLinksCard:{title:"Links",emptyDescription:"No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityNotFound:{title:"Entity was not found",description:"Want to help us build this? Check out our Getting Started documentation.",docButtonTitle:"DOCS"},deleteEntity:{dialogTitle:"Are you sure you want to delete this entity?",deleteButtonTitle:"Delete",cancelButtonTitle:"Cancel",description:"This entity is not referenced by any location and is therefore not receiving updates. Click here to delete."},entityProcessingErrorsDescription:"The error below originates from",entityRelationWarningDescription:"This entity has relations to other entities, which can't be found in the catalog.\n Entities not found are: ",hasComponentsCard:{title:"Has components",emptyMessage:"No component is part of this system"},hasResourcesCard:{title:"Has resources",emptyMessage:"No resource is part of this system"},hasSubcomponentsCard:{title:"Has subcomponents",emptyMessage:"No subcomponent is part of this component"},hasSubdomainsCard:{title:"Has subdomains",emptyMessage:"No subdomain is part of this domain"},hasSystemsCard:{title:"Has systems",emptyMessage:"No system is part of this domain"},relatedEntitiesCard:{emptyHelpLinkTitle:"Learn how to change this"},systemDiagramCard:{title:"System Diagram",description:"Use pinch & zoom to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})},39010:function(e,t,n){n.r(t),n.d(t,{DependsOnComponentsCard:()=>c});var i=n(52322),a=n(58985),o=n(39408),r=n(87416),s=n(94890),l=n(14380);function c(e){let{t}=(0,l.i)(s.s),{variant:n="gridItem",title:c=t("dependsOnComponentsCard.title"),columns:d=o.we,tableOptions:u={}}=e;return(0,i.jsx)(r.f,{variant:n,title:c,entityKind:"Component",relationType:a.nP,columns:d,emptyMessage:t("dependsOnComponentsCard.emptyMessage"),emptyHelpLink:o.AE,asRenderableEntities:o.D,tableOptions:u})}},87416:function(e,t,n){n.d(t,{f:()=>k});var i=n(52322),a=n(90436),o=n(5e4),r=n(39381),s=n(16162),l=n(4812),c=n(84081),d=n(47898),u=n(35402),m=n(77344),p=n(79692),y=n(85256),h=n(38402),f=n(49378),g=n(12753),C=n(50276),x=n(33414);let b=(0,p.Z)(e=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:e.spacing(2)},divider:{margin:e.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function v(e){let{title:t,error:n,defaultExpanded:a}=e,o=b();if("ResponseError"!==n.name)return(0,i.jsx)(x.y,{title:t??n.message,defaultExpanded:a,error:n});let{body:r,cause:s}=n,{request:l,response:c}=r,d=`${c.statusCode}: ${s.name}`,u=l&&`${l.method} ${l.url}`,m=s.message.replace(/\\n/g,"\n"),p=s.stack?.replace(/\\n/g,"\n"),v=JSON.stringify(r,void 0,2);return(0,i.jsxs)(x.y,{title:t??n.message,defaultExpanded:a,error:{name:d,message:m,stack:p},children:[u&&(0,i.jsxs)(h.Z,{alignItems:"flex-start",children:[(0,i.jsx)(f.Z,{classes:{secondary:o.text},primary:"Request",secondary:l?`${u}`:void 0}),(0,i.jsx)(C.b,{text:u})]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y.Z,{component:"li",className:o.divider}),(0,i.jsx)(h.Z,{alignItems:"flex-start",children:(0,i.jsx)(f.Z,{classes:{secondary:o.text},primary:"Full Error as JSON"})}),(0,i.jsx)(g.O,{language:"json",text:v,showCopyCodeButton:!0})]})]})}var w=n(13039),j=n(39408),E=n(94890),T=n(14380);let k=e=>{let{variant:t="gridItem",title:n,columns:p,entityKind:y,relationType:h,emptyMessage:f,emptyHelpLink:g,asRenderableEntities:C,tableOptions:x={}}=e,{t:b}=(0,T.i)(E.s),{entity:j}=(0,o.X2)(),{entities:k,loading:S,error:L}=function(e,t){let n=t?.type?.toLocaleLowerCase("en-US"),i=t?.kind?.toLocaleLowerCase("en-US"),a=(0,s.h_)(c.A),{loading:o,value:d,error:u}=(0,l.Z)(async()=>{let t=e.relations?.filter(e=>(!n||e.type.toLocaleLowerCase("en-US")===n)&&(!i||(0,r.of)(e.targetRef).kind===i));if(!t?.length)return[];let{items:o}=await a.getEntitiesByRefs({entityRefs:t.map(e=>e.targetRef)});return o.filter(e=>!!e)},[e,n,i]);return{entities:d,loading:o,error:u}}(j,{type:h,kind:y});return S?(0,i.jsx)(u.r,{variant:t,title:n,children:(0,i.jsx)(m.E,{})}):L?(0,i.jsx)(u.r,{variant:t,title:n,children:(0,i.jsx)(v,{error:L})}):(0,i.jsx)(d.u,{title:n,variant:t,emptyContent:(0,i.jsxs)("div",{style:{textAlign:"center"},children:[(0,i.jsx)(a.Z,{variant:"body1",children:f}),(0,i.jsx)(a.Z,{variant:"body2",children:(0,i.jsx)(w.rU,{to:g,externalLinkIcon:!0,children:b("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:p,entities:C(k||[]),tableOptions:x})};k.componentEntityColumns=j.we,k.componentEntityHelpLink=j.AE,k.asComponentEntities=j.D,k.resourceEntityColumns=j.xp,k.resourceEntityHelpLink=j.Uc,k.asResourceEntities=j.$c,k.systemEntityColumns=j._v,k.systemEntityHelpLink=j.G5,k.asSystemEntities=j.el,k.domainEntityColums=j.w7,k.domainEntityHelpLink=j.WW,k.asDomainEntities=j.OC},39408:function(e,t,n){n.d(t,{$c:()=>c,AE:()=>o,D:()=>r,G5:()=>u,OC:()=>h,Uc:()=>l,WW:()=>y,_v:()=>d,el:()=>m,w7:()=>p,we:()=>a,xp:()=>s});var i=n(47898);let a=[i.u.columns.createEntityRefColumn({defaultKind:"component"}),i.u.columns.createOwnerColumn(),i.u.columns.createSpecTypeColumn(),i.u.columns.createSpecLifecycleColumn(),i.u.columns.createMetadataDescriptionColumn()],o="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",r=e=>e,s=[i.u.columns.createEntityRefColumn({defaultKind:"resource"}),i.u.columns.createOwnerColumn(),i.u.columns.createSpecTypeColumn(),i.u.columns.createSpecLifecycleColumn(),i.u.columns.createMetadataDescriptionColumn()],l="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",c=e=>e,d=[i.u.columns.createEntityRefColumn({defaultKind:"system"}),i.u.columns.createOwnerColumn(),i.u.columns.createMetadataDescriptionColumn()],u="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",m=e=>e,p=[i.u.columns.createEntityRefColumn({defaultKind:"domain"}),i.u.columns.createOwnerColumn(),i.u.columns.createMetadataDescriptionColumn()],y="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain",h=e=>e}}]);
|
|
2
|
+
//# sourceMappingURL=1479.a3db2d84.chunk.js.map
|