@techdocs/cli 0.0.0-nightly-20250117022919 → 0.0.0-nightly-20250122023023

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +19 -3
  2. package/dist/embedded-app/.config-schema.json +133 -1
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/index.html.tmpl +1 -1
  5. package/dist/embedded-app/static/{124.f02a9318.chunk.js → 124.9c3315bf.chunk.js} +2 -2
  6. package/dist/embedded-app/static/{124.f02a9318.chunk.js.map → 124.9c3315bf.chunk.js.map} +1 -1
  7. package/dist/embedded-app/static/{2401.4d69c234.chunk.js → 2401.480d3231.chunk.js} +2 -2
  8. package/dist/embedded-app/static/{2401.4d69c234.chunk.js.map → 2401.480d3231.chunk.js.map} +1 -1
  9. package/dist/embedded-app/static/{2420.979e1d31.chunk.js → 2420.02740444.chunk.js} +2 -2
  10. package/dist/embedded-app/static/{2420.979e1d31.chunk.js.map → 2420.02740444.chunk.js.map} +1 -1
  11. package/dist/embedded-app/static/{287.e0b65890.chunk.js → 287.0a1ae361.chunk.js} +2 -2
  12. package/dist/embedded-app/static/{287.e0b65890.chunk.js.map → 287.0a1ae361.chunk.js.map} +1 -1
  13. package/dist/embedded-app/static/{3182.0ac241c5.chunk.js → 3182.8be35725.chunk.js} +2 -2
  14. package/dist/embedded-app/static/{3182.0ac241c5.chunk.js.map → 3182.8be35725.chunk.js.map} +1 -1
  15. package/dist/embedded-app/static/{3632.f343436e.chunk.js → 3632.75f621ce.chunk.js} +2 -2
  16. package/dist/embedded-app/static/{3632.f343436e.chunk.js.map → 3632.75f621ce.chunk.js.map} +1 -1
  17. package/dist/embedded-app/static/5470.1a28734c.chunk.js +3 -0
  18. package/dist/embedded-app/static/5470.1a28734c.chunk.js.map +1 -0
  19. package/dist/embedded-app/static/{5788.b8d84f8c.chunk.js → 5788.cd9a99f1.chunk.js} +1 -1
  20. package/dist/embedded-app/static/5788.cd9a99f1.chunk.js.map +1 -0
  21. package/dist/embedded-app/static/{6271.020ea145.chunk.js → 6271.1007bfa8.chunk.js} +2 -2
  22. package/dist/embedded-app/static/{6271.020ea145.chunk.js.map → 6271.1007bfa8.chunk.js.map} +1 -1
  23. package/dist/embedded-app/static/{6415.493349e2.chunk.js → 6415.8cce89fe.chunk.js} +2 -2
  24. package/dist/embedded-app/static/{6415.493349e2.chunk.js.map → 6415.8cce89fe.chunk.js.map} +1 -1
  25. package/dist/embedded-app/static/{8307.b0a2a85f.chunk.js → 8307.cf92a830.chunk.js} +2 -2
  26. package/dist/embedded-app/static/{8307.b0a2a85f.chunk.js.map → 8307.cf92a830.chunk.js.map} +1 -1
  27. package/dist/embedded-app/static/{8384.b9605cda.chunk.js → 8384.604de781.chunk.js} +2 -2
  28. package/dist/embedded-app/static/{8384.b9605cda.chunk.js.map → 8384.604de781.chunk.js.map} +1 -1
  29. package/dist/embedded-app/static/{8803.20e0d00b.chunk.js → 8803.511872f8.chunk.js} +1 -1
  30. package/dist/embedded-app/static/{8803.20e0d00b.chunk.js.map → 8803.511872f8.chunk.js.map} +1 -1
  31. package/dist/embedded-app/static/{9652.78fa0c73.chunk.js → 9652.be70f990.chunk.js} +2 -2
  32. package/dist/embedded-app/static/{9652.78fa0c73.chunk.js.map → 9652.be70f990.chunk.js.map} +1 -1
  33. package/dist/embedded-app/static/{main.21d5632b.js → main.a2e1e30a.js} +27 -27
  34. package/dist/embedded-app/static/main.a2e1e30a.js.map +1 -0
  35. package/dist/embedded-app/static/{react-syntax-highlighter_languages_highlight_lisp.4f6018a3.chunk.js → react-syntax-highlighter_languages_highlight_lisp.75c1c83e.chunk.js} +2 -2
  36. package/dist/embedded-app/static/{react-syntax-highlighter_languages_highlight_lisp.4f6018a3.chunk.js.map → react-syntax-highlighter_languages_highlight_lisp.75c1c83e.chunk.js.map} +1 -1
  37. package/dist/embedded-app/static/{runtime.21d5632b.js → runtime.a2e1e30a.js} +2 -2
  38. package/dist/embedded-app/static/{runtime.21d5632b.js.map → runtime.a2e1e30a.js.map} +1 -1
  39. package/dist/embedded-app/static/{vendor.21d5632b.js → vendor.a2e1e30a.js} +2 -2
  40. package/dist/embedded-app/static/{vendor.21d5632b.js.map → vendor.a2e1e30a.js.map} +1 -1
  41. package/dist/package.json.cjs.js +1 -1
  42. package/package.json +4 -4
  43. package/dist/embedded-app/static/4487.f04b8beb.chunk.js +0 -3
  44. package/dist/embedded-app/static/4487.f04b8beb.chunk.js.map +0 -1
  45. package/dist/embedded-app/static/5788.b8d84f8c.chunk.js.map +0 -1
  46. package/dist/embedded-app/static/main.21d5632b.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20250117022919
3
+ ## 0.0.0-nightly-20250122023023
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -10,8 +10,24 @@
10
10
 
11
11
  - 69f84ac: Internal update to work with dynamic imports.
12
12
  - Updated dependencies
13
- - @backstage/backend-defaults@0.0.0-nightly-20250117022919
14
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20250117022919
13
+ - @backstage/backend-defaults@0.0.0-nightly-20250122023023
14
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20250122023023
15
+ - @backstage/catalog-model@1.7.3
16
+ - @backstage/cli-common@0.1.15
17
+ - @backstage/config@1.3.2
18
+
19
+ ## 1.9.0-next.0
20
+
21
+ ### Minor Changes
22
+
23
+ - 8de3d2d: Allow configurable optional retries for publisher AWS S3 operations.
24
+
25
+ ### Patch Changes
26
+
27
+ - 69f84ac: Internal update to work with dynamic imports.
28
+ - Updated dependencies
29
+ - @backstage/backend-defaults@0.8.0-next.0
30
+ - @backstage/plugin-techdocs-node@1.13.0-next.0
15
31
  - @backstage/catalog-model@1.7.3
16
32
  - @backstage/cli-common@0.1.15
17
33
  - @backstage/config@1.3.2
@@ -1440,7 +1440,7 @@
1440
1440
  "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1441
1441
  },
1442
1442
  {
1443
- "path": "../../node_modules/@backstage-community/plugin-stackstorm/node_modules/@backstage/core-components/config.d.ts",
1443
+ "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/core-components/config.d.ts",
1444
1444
  "value": {
1445
1445
  "type": "object",
1446
1446
  "properties": {
@@ -4089,6 +4089,138 @@
4089
4089
  "$schema": "http://json-schema.org/draft-07/schema#"
4090
4090
  },
4091
4091
  "packageName": "@backstage/integration-aws-node"
4092
+ },
4093
+ {
4094
+ "path": "../../node_modules/@backstage/backend-common/node_modules/@backstage/backend-plugin-api/config.d.ts",
4095
+ "value": {
4096
+ "type": "object",
4097
+ "properties": {
4098
+ "backend": {
4099
+ "type": "object",
4100
+ "properties": {
4101
+ "workingDirectory": {
4102
+ "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
4103
+ "type": "string"
4104
+ }
4105
+ }
4106
+ }
4107
+ },
4108
+ "$schema": "http://json-schema.org/draft-07/schema#"
4109
+ },
4110
+ "packageName": "@backstage/backend-plugin-api"
4111
+ },
4112
+ {
4113
+ "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/frontend-app-api/config.d.ts",
4114
+ "value": {
4115
+ "type": "object",
4116
+ "properties": {
4117
+ "app": {
4118
+ "type": "object",
4119
+ "properties": {
4120
+ "experimental": {
4121
+ "type": "object",
4122
+ "properties": {
4123
+ "packages": {
4124
+ "visibility": "frontend",
4125
+ "deepVisibility": "frontend",
4126
+ "anyOf": [
4127
+ {
4128
+ "type": "object",
4129
+ "properties": {
4130
+ "include": {
4131
+ "type": "array",
4132
+ "items": {
4133
+ "type": "string"
4134
+ }
4135
+ },
4136
+ "exclude": {
4137
+ "type": "array",
4138
+ "items": {
4139
+ "type": "string"
4140
+ }
4141
+ }
4142
+ }
4143
+ },
4144
+ {
4145
+ "const": "all",
4146
+ "type": "string"
4147
+ }
4148
+ ]
4149
+ }
4150
+ }
4151
+ },
4152
+ "routes": {
4153
+ "type": "object",
4154
+ "properties": {
4155
+ "bindings": {
4156
+ "description": "Maps external route references to regular route references. Both the\nkey and the value is expected to be on the form `<pluginId>.<routeId>`.\nIf the value is `false`, the route will be disabled even if it has a\ndefault mapping.",
4157
+ "deepVisibility": "frontend",
4158
+ "type": "object",
4159
+ "additionalProperties": {
4160
+ "anyOf": [
4161
+ {
4162
+ "const": false,
4163
+ "type": "boolean"
4164
+ },
4165
+ {
4166
+ "type": "string"
4167
+ }
4168
+ ]
4169
+ }
4170
+ }
4171
+ }
4172
+ },
4173
+ "extensions": {
4174
+ "deepVisibility": "frontend",
4175
+ "type": "array",
4176
+ "items": {
4177
+ "anyOf": [
4178
+ {
4179
+ "type": "object",
4180
+ "additionalProperties": {
4181
+ "anyOf": [
4182
+ {
4183
+ "type": "object",
4184
+ "properties": {
4185
+ "attachTo": {
4186
+ "type": "object",
4187
+ "properties": {
4188
+ "id": {
4189
+ "type": "string"
4190
+ },
4191
+ "input": {
4192
+ "type": "string"
4193
+ }
4194
+ },
4195
+ "required": [
4196
+ "id",
4197
+ "input"
4198
+ ]
4199
+ },
4200
+ "disabled": {
4201
+ "type": "boolean"
4202
+ },
4203
+ "config": {}
4204
+ }
4205
+ },
4206
+ {
4207
+ "type": "boolean"
4208
+ }
4209
+ ]
4210
+ }
4211
+ },
4212
+ {
4213
+ "type": "string"
4214
+ }
4215
+ ]
4216
+ }
4217
+ }
4218
+ }
4219
+ }
4220
+ },
4221
+ "$schema": "http://json-schema.org/draft-07/schema#"
4222
+ },
4223
+ "packageName": "@backstage/frontend-app-api"
4092
4224
  }
4093
4225
  ],
4094
4226
  "backstageConfigSchemaVersion": 1
@@ -1 +1 @@
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.21d5632b.js"></script><script defer="defer" src="/static/module-material-ui.b24ef3a3.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f702282a.js"></script><script defer="defer" src="/static/module-material-table.d6e8d890.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.21d5632b.js"></script><script defer="defer" src="/static/main.21d5632b.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
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.a2e1e30a.js"></script><script defer="defer" src="/static/module-material-ui.b24ef3a3.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f702282a.js"></script><script defer="defer" src="/static/module-material-table.d6e8d890.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.a2e1e30a.js"></script><script defer="defer" src="/static/main.a2e1e30a.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -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.21d5632b.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.b24ef3a3.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f702282a.js"></script><script defer src="<%= publicPath %>/static/module-material-table.d6e8d890.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.21d5632b.js"></script><script defer src="<%= publicPath %>/static/main.21d5632b.js"></script></head>
45
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.a2e1e30a.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.b24ef3a3.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f702282a.js"></script><script defer src="<%= publicPath %>/static/module-material-table.d6e8d890.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.a2e1e30a.js"></script><script defer src="<%= publicPath %>/static/main.a2e1e30a.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>
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[124],{74616:(W,y,t)=>{var e,p=t(4293),E=t(78920);e={value:!0},y.A=void 0;var d=E(t(14041)),g=p(t(74044)),v=(0,g.default)(d.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");y.A=v},48514:(W,y,t)=>{t.d(y,{M:()=>C});var e=t(31085),p=t(58837),E=t(71677),d=t(14041),g=t(72501);const v=(0,p.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:c})=>c||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function C(c){const j=v(c);return(0,e.jsx)(E.Ay,{title:c.title??(c.text||""),placement:c.placement,children:(0,e.jsx)(g.A,{className:j.typo,variant:"inherit",children:c.text})})}},48045:(W,y,t)=>{t.d(y,{n:()=>B});var e=t(31085),p=t(40703),E=t(59469),d=t(48653),g=t(45685),v=t(37197),C=t(58837),c=t(87051),j=t(53373),i=t.n(j),O=t(14041),a=t(10394),m=t(72501),l=t(74616),S=t(72072);const f=(0,C.A)(s=>({root:{maxWidth:"fit-content",padding:s.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:s.palette.textSubtle},arrow:{color:s.palette.textSubtle}}),{name:"BackstageBottomLink"});function x(s){const{link:n,title:r,onClick:T}=s,R=f();return(0,e.jsxs)(a.A,{children:[(0,e.jsx)(v.A,{}),(0,e.jsx)(S.N_,{to:n,onClick:T,underline:"none",children:(0,e.jsxs)(a.A,{display:"flex",alignItems:"center",className:R.root,children:[(0,e.jsx)(a.A,{className:R.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,e.jsx)(m.A,{children:(0,e.jsx)("strong",{children:r})})}),(0,e.jsx)(l.A,{className:R.arrow})]})})]})}var L=t(73896),u=t(22020),M=t(10315),U=t(87849);const I=s=>{const{slackChannel:n}=s,{t:r}=(0,U.i)(M.O);if(n){if(typeof n=="string")return(0,e.jsx)(m.A,{children:r("errorBoundary.title",{slackChannel:n})});if(!n.href)return(0,e.jsx)(m.A,{children:r("errorBoundary.title",{slackChannel:n.name})})}else return null;return(0,e.jsx)(L.z,{to:n.href,variant:"contained",children:n.name})},o=class extends O.Component{constructor(n){super(n),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(n,r){console.error(`ErrorBoundary, error: ${n}`,{error:n,errorInfo:r}),this.setState({error:n,errorInfo:r})}render(){const{slackChannel:n,children:r}=this.props,{error:T}=this.state;return T?(0,e.jsx)(u.b,{title:"Something Went Wrong",error:T,children:(0,e.jsx)(I,{slackChannel:n})}):r}},D=(0,C.A)(s=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:s.spacing(2,2,2,2.5)},headerTitle:{fontWeight:s.typography.fontWeightBold},headerSubheader:{paddingTop:s.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),V=(0,c.A)(s=>({root:{display:"inline-block",padding:s.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(E.A),h={card:{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"}}},cardContent:{fullHeight:{flex:1},gridItem:{flex:1}}};function B(s){const{title:n,subheader:r,divider:T=!0,deepLink:R,slackChannel:P,errorBoundaryProps:N,variant:b,alignContent:H="normal",children:A,headerStyle:z,headerProps:k,icon:F,action:w,actionsClassName:G,actions:J,cardClassName:Z,actionsTopRight:X,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:et}=s,K=D();let Y={},$={};b&&b.split(/[\s]+/g).forEach(Q=>{Y={...Y,...h.card[Q]},$={...$,...h.cardContent[Q]}});const nt=()=>!r&&!F?null:(0,e.jsxs)("div",{"data-testid":"info-card-subheader",children:[r&&(0,e.jsx)("div",{className:K.subheader,children:r}),F]}),ot=N||(P?{slackChannel:P}:{});return(0,e.jsx)(p.A,{style:Y,className:q,children:(0,e.jsxs)(o,{...ot,children:[n&&(0,e.jsx)(g.A,{classes:{root:i()(K.header),title:K.headerTitle,subheader:K.headerSubheader,avatar:K.headerAvatar,action:K.headerAction,content:K.headerContent},title:n,subheader:nt(),action:w,style:{...z},titleTypographyProps:tt,subheaderTypographyProps:et,...k}),X&&(0,e.jsx)(V,{children:X}),T&&(0,e.jsx)(v.A,{}),(0,e.jsx)(d.A,{className:i()(Z,{[K.noPadding]:_,[K.contentAlignBottom]:H==="bottom"}),style:$,children:A}),J&&(0,e.jsx)(E.A,{className:G,children:J}),R&&(0,e.jsx)(x,{...R})]})})}},89648:(W,y,t)=>{t.d(y,{s:()=>S});var e=t(31085),p=t(58837),E=t(14041),d=t(51372),g=t(48514),v=t(67871),C=t(90184),c=t(8859),j=t(34428);const i=Object.freeze({createEntityRefColumn(f){const{defaultKind:x}=f;function L(u){return u.metadata?.title||(0,C.S)(u,{defaultKind:x})}return{title:"Name",highlight:!0,customFilterAndSearch(u,M){return L(M).includes(u)},customSort(u,M){return L(u).localeCompare(L(M))},render:u=>(0,e.jsx)(c.z,{entityRef:u,defaultKind:x,title:u.metadata?.title})}},createEntityRelationColumn(f){const{title:x,relation:L,defaultKind:u,filter:M}=f;function U(o){return(0,v.t)(o,L,M)}function I(o){return U(o).map(D=>(0,C.S)(D,{defaultKind:u})).join(", ")}return{title:x,customFilterAndSearch(o,D){return I(D).includes(o)},customSort(o,D){return I(o).localeCompare(I(D))},render:o=>(0,e.jsx)(j.i,{entityRefs:U(o),defaultKind:u})}},createOwnerColumn(){return this.createEntityRelationColumn({title:"Owner",relation:d.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:"Domain",relation:d.jn,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:"System",relation:d.jn,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn(){return{title:"Description",field:"metadata.description",render:f=>(0,e.jsx)(g.M,{text:f.metadata.description,placement:"bottom-start",line:2})}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"spec.lifecycle"}},createSpecTypeColumn(){return{title:"Type",field:"spec.type"}}}),O=[i.createEntityRefColumn({defaultKind:"system"}),i.createDomainColumn(),i.createOwnerColumn(),i.createMetadataDescriptionColumn()],a=[i.createEntityRefColumn({defaultKind:"component"}),i.createSystemColumn(),i.createOwnerColumn(),i.createSpecTypeColumn(),i.createSpecLifecycleColumn(),i.createMetadataDescriptionColumn()];var m=t(14209);const l=(0,p.A)(f=>({empty:{padding:f.spacing(2),display:"flex",justifyContent:"center"}})),S=f=>{const{entities:x,title:L,emptyContent:u,variant:M="gridItem",columns:U,tableOptions:I={}}=f,o=l(),D={minWidth:"0",width:"100%"};return M==="gridItem"&&(D.height="calc(100% - 10px)"),(0,e.jsx)(m.X,{columns:U,title:L,style:D,emptyContent:u&&(0,e.jsx)("div",{className:o.empty,children:u}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...I},data:x})};S.columns=i,S.systemEntityColumns=O,S.componentEntityColumns=a},99538:(W,y,t)=>{t.d(y,{T7:()=>c,TY:()=>O,tN:()=>i});var e=t(31085),p=t(6820),E=t(25862),d=t(43836),g=t(10602),v=t(14041);const C=(0,d.tK)("entity-context"),c=a=>{const{children:m,entity:l,loading:S,error:f,refresh:x}=a,L={entity:l,loading:S,error:f,refresh:x};return(0,e.jsx)(C.Provider,{value:(0,g.B)({1:L}),children:(0,e.jsx)(E.Ig,{attributes:{...l?{entityRef:(0,p.U2)(l)}:void 0},children:m})})},j=a=>_jsx(c,{entity:a.entity,loading:!a.entity,error:void 0,refresh:void 0,children:a.children});function i(){const a=(0,d.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");if(!m.entity)throw new 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:m.entity}}function O(){const a=(0,d.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");const{entity:l,loading:S,error:f,refresh:x}=m;return{entity:l,loading:S,error:f,refresh:x}}},90759:(W,y,t)=>{t.d(y,{W:()=>p});var e=t(93184);const p=(0,e.h)({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.
1
+ "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[124],{52235:(W,y,t)=>{var e,p=t(4293),E=t(78920);e={value:!0},y.A=void 0;var d=E(t(14041)),g=p(t(74044)),v=(0,g.default)(d.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");y.A=v},48514:(W,y,t)=>{t.d(y,{M:()=>C});var e=t(31085),p=t(58837),E=t(71677),d=t(14041),g=t(72501);const v=(0,p.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:c})=>c||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function C(c){const j=v(c);return(0,e.jsx)(E.Ay,{title:c.title??(c.text||""),placement:c.placement,children:(0,e.jsx)(g.A,{className:j.typo,variant:"inherit",children:c.text})})}},48045:(W,y,t)=>{t.d(y,{n:()=>B});var e=t(31085),p=t(40703),E=t(59469),d=t(48653),g=t(45685),v=t(37197),C=t(58837),c=t(87051),j=t(53373),i=t.n(j),O=t(14041),a=t(10394),m=t(72501),l=t(52235),S=t(72072);const f=(0,C.A)(s=>({root:{maxWidth:"fit-content",padding:s.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:s.palette.textSubtle},arrow:{color:s.palette.textSubtle}}),{name:"BackstageBottomLink"});function x(s){const{link:n,title:r,onClick:T}=s,R=f();return(0,e.jsxs)(a.A,{children:[(0,e.jsx)(v.A,{}),(0,e.jsx)(S.N_,{to:n,onClick:T,underline:"none",children:(0,e.jsxs)(a.A,{display:"flex",alignItems:"center",className:R.root,children:[(0,e.jsx)(a.A,{className:R.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,e.jsx)(m.A,{children:(0,e.jsx)("strong",{children:r})})}),(0,e.jsx)(l.A,{className:R.arrow})]})})]})}var L=t(73896),u=t(22020),M=t(10315),U=t(87849);const I=s=>{const{slackChannel:n}=s,{t:r}=(0,U.i)(M.O);if(n){if(typeof n=="string")return(0,e.jsx)(m.A,{children:r("errorBoundary.title",{slackChannel:n})});if(!n.href)return(0,e.jsx)(m.A,{children:r("errorBoundary.title",{slackChannel:n.name})})}else return null;return(0,e.jsx)(L.z,{to:n.href,variant:"contained",children:n.name})},o=class extends O.Component{constructor(n){super(n),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(n,r){console.error(`ErrorBoundary, error: ${n}`,{error:n,errorInfo:r}),this.setState({error:n,errorInfo:r})}render(){const{slackChannel:n,children:r}=this.props,{error:T}=this.state;return T?(0,e.jsx)(u.b,{title:"Something Went Wrong",error:T,children:(0,e.jsx)(I,{slackChannel:n})}):r}},D=(0,C.A)(s=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:s.spacing(2,2,2,2.5)},headerTitle:{fontWeight:s.typography.fontWeightBold},headerSubheader:{paddingTop:s.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),V=(0,c.A)(s=>({root:{display:"inline-block",padding:s.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(E.A),h={card:{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"}}},cardContent:{fullHeight:{flex:1},gridItem:{flex:1}}};function B(s){const{title:n,subheader:r,divider:T=!0,deepLink:R,slackChannel:P,errorBoundaryProps:N,variant:b,alignContent:H="normal",children:A,headerStyle:z,headerProps:k,icon:F,action:w,actionsClassName:G,actions:J,cardClassName:Z,actionsTopRight:X,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:et}=s,K=D();let Y={},$={};b&&b.split(/[\s]+/g).forEach(Q=>{Y={...Y,...h.card[Q]},$={...$,...h.cardContent[Q]}});const nt=()=>!r&&!F?null:(0,e.jsxs)("div",{"data-testid":"info-card-subheader",children:[r&&(0,e.jsx)("div",{className:K.subheader,children:r}),F]}),ot=N||(P?{slackChannel:P}:{});return(0,e.jsx)(p.A,{style:Y,className:q,children:(0,e.jsxs)(o,{...ot,children:[n&&(0,e.jsx)(g.A,{classes:{root:i()(K.header),title:K.headerTitle,subheader:K.headerSubheader,avatar:K.headerAvatar,action:K.headerAction,content:K.headerContent},title:n,subheader:nt(),action:w,style:{...z},titleTypographyProps:tt,subheaderTypographyProps:et,...k}),X&&(0,e.jsx)(V,{children:X}),T&&(0,e.jsx)(v.A,{}),(0,e.jsx)(d.A,{className:i()(Z,{[K.noPadding]:_,[K.contentAlignBottom]:H==="bottom"}),style:$,children:A}),J&&(0,e.jsx)(E.A,{className:G,children:J}),R&&(0,e.jsx)(x,{...R})]})})}},89648:(W,y,t)=>{t.d(y,{s:()=>S});var e=t(31085),p=t(58837),E=t(14041),d=t(51372),g=t(48514),v=t(67871),C=t(90184),c=t(8859),j=t(34428);const i=Object.freeze({createEntityRefColumn(f){const{defaultKind:x}=f;function L(u){return u.metadata?.title||(0,C.S)(u,{defaultKind:x})}return{title:"Name",highlight:!0,customFilterAndSearch(u,M){return L(M).includes(u)},customSort(u,M){return L(u).localeCompare(L(M))},render:u=>(0,e.jsx)(c.z,{entityRef:u,defaultKind:x,title:u.metadata?.title})}},createEntityRelationColumn(f){const{title:x,relation:L,defaultKind:u,filter:M}=f;function U(o){return(0,v.t)(o,L,M)}function I(o){return U(o).map(D=>(0,C.S)(D,{defaultKind:u})).join(", ")}return{title:x,customFilterAndSearch(o,D){return I(D).includes(o)},customSort(o,D){return I(o).localeCompare(I(D))},render:o=>(0,e.jsx)(j.i,{entityRefs:U(o),defaultKind:u})}},createOwnerColumn(){return this.createEntityRelationColumn({title:"Owner",relation:d.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:"Domain",relation:d.jn,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:"System",relation:d.jn,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn(){return{title:"Description",field:"metadata.description",render:f=>(0,e.jsx)(g.M,{text:f.metadata.description,placement:"bottom-start",line:2})}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"spec.lifecycle"}},createSpecTypeColumn(){return{title:"Type",field:"spec.type"}}}),O=[i.createEntityRefColumn({defaultKind:"system"}),i.createDomainColumn(),i.createOwnerColumn(),i.createMetadataDescriptionColumn()],a=[i.createEntityRefColumn({defaultKind:"component"}),i.createSystemColumn(),i.createOwnerColumn(),i.createSpecTypeColumn(),i.createSpecLifecycleColumn(),i.createMetadataDescriptionColumn()];var m=t(14209);const l=(0,p.A)(f=>({empty:{padding:f.spacing(2),display:"flex",justifyContent:"center"}})),S=f=>{const{entities:x,title:L,emptyContent:u,variant:M="gridItem",columns:U,tableOptions:I={}}=f,o=l(),D={minWidth:"0",width:"100%"};return M==="gridItem"&&(D.height="calc(100% - 10px)"),(0,e.jsx)(m.X,{columns:U,title:L,style:D,emptyContent:u&&(0,e.jsx)("div",{className:o.empty,children:u}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...I},data:x})};S.columns=i,S.systemEntityColumns=O,S.componentEntityColumns=a},99538:(W,y,t)=>{t.d(y,{T7:()=>c,TY:()=>O,tN:()=>i});var e=t(31085),p=t(6820),E=t(25862),d=t(43836),g=t(10602),v=t(14041);const C=(0,d.tK)("entity-context"),c=a=>{const{children:m,entity:l,loading:S,error:f,refresh:x}=a,L={entity:l,loading:S,error:f,refresh:x};return(0,e.jsx)(C.Provider,{value:(0,g.B)({1:L}),children:(0,e.jsx)(E.Ig,{attributes:{...l?{entityRef:(0,p.U2)(l)}:void 0},children:m})})},j=a=>_jsx(c,{entity:a.entity,loading:!a.entity,error:void 0,refresh:void 0,children:a.children});function i(){const a=(0,d.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");if(!m.entity)throw new 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:m.entity}}function O(){const a=(0,d.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");const{entity:l,loading:S,error:f,refresh:x}=m;return{entity:l,loading:S,error:f,refresh:x}}},90759:(W,y,t)=>{t.d(y,{W:()=>p});var e=t(93184);const p=(0,e.h)({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.
2
2
  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"}}}})},124:(W,y,t)=>{t.r(y),t.d(y,{DependencyOfComponentsCard:()=>c});var e=t(31085),p=t(51372),E=t(14041),d=t(48105),g=t(59251),v=t(90759),C=t(87849);function c(j){const{t:i}=(0,C.i)(v.W),{variant:O="gridItem",title:a=i("dependencyOfComponentsCard.title"),columns:m=d.mz,tableOptions:l={}}=j;return(0,e.jsx)(g.p,{variant:O,title:a,entityKind:"Component",relationType:p.fT,columns:m,emptyMessage:i("dependencyOfComponentsCard.emptyMessage"),emptyHelpLink:d.e2,asRenderableEntities:d.xJ,tableOptions:l})}},59251:(W,y,t)=>{t.d(y,{p:()=>h});var e=t(31085),p=t(72501),E=t(99538),d=t(6820),g=t(72427),v=t(73466),C=t(7341);function c(B,s){const n=s?.type?.toLocaleLowerCase("en-US"),r=s?.kind?.toLocaleLowerCase("en-US"),T=(0,g.gf)(C.v),{loading:R,value:P,error:N}=(0,v.A)(async()=>{const b=B.relations?.filter(A=>(!n||A.type.toLocaleLowerCase("en-US")===n)&&(!r||(0,d.KU)(A.targetRef).kind===r));if(!b?.length)return[];const{items:H}=await T.getEntitiesByRefs({entityRefs:b.map(A=>A.targetRef)});return H.filter(A=>!!A)},[B,n,r]);return{entities:P,loading:R,error:N}}var j=t(89648),i=t(14041),O=t(48045),a=t(68146),m=t(58837),l=t(37197),S=t(8109),f=t(5951),x=t(77310),L=t(37916),u=t(22020);const M=(0,m.A)(B=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:B.spacing(2)},divider:{margin:B.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function U(B){const{title:s,error:n,defaultExpanded:r}=B,T=M();if(n.name!=="ResponseError")return(0,e.jsx)(u.b,{title:s??n.message,defaultExpanded:r,error:n});const{body:R,cause:P}=n,{request:N,response:b}=R,H=`${b.statusCode}: ${P.name}`,A=N&&`${N.method} ${N.url}`,z=P.message.replace(/\\n/g,`
3
3
  `),k=P.stack?.replace(/\\n/g,`
4
4
  `),F=JSON.stringify(R,void 0,2);return(0,e.jsxs)(u.b,{title:s??n.message,defaultExpanded:r,error:{name:H,message:z,stack:k},children:[A&&(0,e.jsxs)(S.A,{alignItems:"flex-start",children:[(0,e.jsx)(f.A,{classes:{secondary:T.text},primary:"Request",secondary:N?`${A}`:void 0}),(0,e.jsx)(L.l,{text:A})]}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l.A,{component:"li",className:T.divider}),(0,e.jsx)(S.A,{alignItems:"flex-start",children:(0,e.jsx)(f.A,{classes:{secondary:T.text},primary:"Full Error as JSON"})}),(0,e.jsx)(x.z,{language:"json",text:F,showCopyCodeButton:!0})]})]})}var I=t(72072),o=t(48105),D=t(90759),V=t(87849);const h=B=>{const{variant:s="gridItem",title:n,columns:r,entityKind:T,relationType:R,emptyMessage:P,emptyHelpLink:N,asRenderableEntities:b,tableOptions:H={}}=B,{t:A}=(0,V.i)(D.W),{entity:z}=(0,E.tN)(),{entities:k,loading:F,error:w}=c(z,{type:R,kind:T});return F?(0,e.jsx)(O.n,{variant:s,title:n,children:(0,e.jsx)(a.k,{})}):w?(0,e.jsx)(O.n,{variant:s,title:n,children:(0,e.jsx)(U,{error:w})}):(0,e.jsx)(j.s,{title:n,variant:s,emptyContent:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)(p.A,{variant:"body1",children:P}),(0,e.jsx)(p.A,{variant:"body2",children:(0,e.jsx)(I.N_,{to:N,externalLinkIcon:!0,children:A("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:r,entities:b(k||[]),tableOptions:H})};h.componentEntityColumns=o.mz,h.componentEntityHelpLink=o.e2,h.asComponentEntities=o.xJ,h.resourceEntityColumns=o.v9,h.resourceEntityHelpLink=o.nz,h.asResourceEntities=o.eB,h.systemEntityColumns=o.MW,h.systemEntityHelpLink=o.iU,h.asSystemEntities=o.vy,h.domainEntityColums=o.xO,h.domainEntityHelpLink=o.Xr,h.asDomainEntities=o.QS},48105:(W,y,t)=>{t.d(y,{MW:()=>c,QS:()=>m,Xr:()=>a,e2:()=>E,eB:()=>C,iU:()=>j,mz:()=>p,nz:()=>v,v9:()=>g,vy:()=>i,xJ:()=>d,xO:()=>O});var e=t(89648);const p=[e.s.columns.createEntityRefColumn({defaultKind:"component"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],E="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",d=l=>l,g=[e.s.columns.createEntityRefColumn({defaultKind:"resource"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],v="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",C=l=>l,c=[e.s.columns.createEntityRefColumn({defaultKind:"system"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],j="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",i=l=>l,O=[e.s.columns.createEntityRefColumn({defaultKind:"domain"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],a="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain",m=l=>l}}]);})();
5
5
 
6
- //# sourceMappingURL=124.f02a9318.chunk.js.map
6
+ //# sourceMappingURL=124.9c3315bf.chunk.js.map