@techdocs/cli 0.0.0-nightly-20231225021500 → 0.0.0-nightly-20231227021335

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,15 +1,26 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20231225021500
3
+ ## 0.0.0-nightly-20231227021335
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-common@0.0.0-nightly-20231225021500
8
+ - @backstage/backend-common@0.0.0-nightly-20231227021335
9
9
  - @backstage/catalog-model@1.4.3
10
10
  - @backstage/cli-common@0.1.13
11
11
  - @backstage/config@1.1.1
12
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20231225021500
12
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20231227021335
13
+
14
+ ## 1.8.1-next.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @backstage/backend-common@0.20.1-next.0
20
+ - @backstage/catalog-model@1.4.3
21
+ - @backstage/cli-common@0.1.13
22
+ - @backstage/config@1.1.1
23
+ - @backstage/plugin-techdocs-node@1.11.1-next.0
13
24
 
14
25
  ## 1.8.0
15
26
 
@@ -962,52 +962,52 @@
962
962
  }
963
963
  },
964
964
  {
965
- "path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
965
+ "path": "../../plugins/stackstorm/config.d.ts",
966
966
  "value": {
967
967
  "type": "object",
968
968
  "properties": {
969
- "scorecards": {
970
- "description": "Extra configuration for score card plugin",
969
+ "stackstorm": {
971
970
  "type": "object",
972
971
  "properties": {
973
- "jsonDataUrl": {
974
- "description": "The public absolute root URL with json file defining the score card entries.",
975
- "visibility": "frontend",
976
- "type": "string"
977
- },
978
- "wikiLinkTemplate": {
979
- "description": "The template for the link to the wiki, e.g. \"https://TBD/XXX/_wiki/wikis/XXX.wiki/{id}\"",
972
+ "webUrl": {
973
+ "description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
980
974
  "visibility": "frontend",
981
975
  "type": "string"
982
976
  }
983
- }
977
+ },
978
+ "required": [
979
+ "webUrl"
980
+ ]
984
981
  }
985
982
  },
986
- "required": [
987
- "scorecards"
988
- ],
989
983
  "$schema": "http://json-schema.org/draft-07/schema#"
990
984
  }
991
985
  },
992
986
  {
993
- "path": "../../plugins/stackstorm/config.d.ts",
987
+ "path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
994
988
  "value": {
995
989
  "type": "object",
996
990
  "properties": {
997
- "stackstorm": {
991
+ "scorecards": {
992
+ "description": "Extra configuration for score card plugin",
998
993
  "type": "object",
999
994
  "properties": {
1000
- "webUrl": {
1001
- "description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
995
+ "jsonDataUrl": {
996
+ "description": "The public absolute root URL with json file defining the score card entries.",
997
+ "visibility": "frontend",
998
+ "type": "string"
999
+ },
1000
+ "wikiLinkTemplate": {
1001
+ "description": "The template for the link to the wiki, e.g. \"https://TBD/XXX/_wiki/wikis/XXX.wiki/{id}\"",
1002
1002
  "visibility": "frontend",
1003
1003
  "type": "string"
1004
1004
  }
1005
- },
1006
- "required": [
1007
- "webUrl"
1008
- ]
1005
+ }
1009
1006
  }
1010
1007
  },
1008
+ "required": [
1009
+ "scorecards"
1010
+ ],
1011
1011
  "$schema": "http://json-schema.org/draft-07/schema#"
1012
1012
  }
1013
1013
  },
@@ -1590,6 +1590,51 @@
1590
1590
  },
1591
1591
  "$schema": "http://json-schema.org/draft-07/schema#"
1592
1592
  }
1593
+ },
1594
+ {
1595
+ "path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/plugin-catalog-react/node_modules/@backstage/core-components/config.d.ts",
1596
+ "value": {
1597
+ "type": "object",
1598
+ "properties": {
1599
+ "auth": {
1600
+ "type": "object",
1601
+ "properties": {
1602
+ "autologout": {
1603
+ "description": "Autologout feature configuration",
1604
+ "type": "object",
1605
+ "properties": {
1606
+ "enabled": {
1607
+ "description": "Enable or disable the autologout feature",
1608
+ "visibility": "frontend",
1609
+ "type": "boolean"
1610
+ },
1611
+ "idleTimeoutMinutes": {
1612
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
1613
+ "visibility": "frontend",
1614
+ "type": "number"
1615
+ },
1616
+ "promptBeforeIdleSeconds": {
1617
+ "description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
1618
+ "visibility": "frontend",
1619
+ "type": "number"
1620
+ },
1621
+ "useWorkerTimers": {
1622
+ "description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
1623
+ "visibility": "frontend",
1624
+ "type": "boolean"
1625
+ },
1626
+ "logoutIfDisconnected": {
1627
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
1628
+ "visibility": "frontend",
1629
+ "type": "boolean"
1630
+ }
1631
+ }
1632
+ }
1633
+ }
1634
+ }
1635
+ },
1636
+ "$schema": "http://json-schema.org/draft-07/schema#"
1637
+ }
1593
1638
  }
1594
1639
  ],
1595
1640
  "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 platform 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><script defer="defer" src="/static/runtime.318ea97a.js"></script><script defer="defer" src="/static/module-material-ui.c8f92ef8.js"></script><script defer="defer" src="/static/module-lodash.fa492ce2.js"></script><script defer="defer" src="/static/module-date-fns.b8b6c380.js"></script><script defer="defer" src="/static/module-material-table.b510f85c.js"></script><script defer="defer" src="/static/module-react-dom.c3454ade.js"></script><script defer="defer" src="/static/module-react-router.e7f42b6c.js"></script><script defer="defer" src="/static/module-react-router-dom.81a9f610.js"></script><script defer="defer" src="/static/module-zod.9e0f365e.js"></script><script defer="defer" src="/static/module-i18next.db8a27ed.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.1f1d9332.js"></script><script defer="defer" src="/static/vendor.318ea97a.js"></script><script defer="defer" src="/static/main.318ea97a.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 platform 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><script defer="defer" src="/static/runtime.ead3a23c.js"></script><script defer="defer" src="/static/module-material-ui.c8f92ef8.js"></script><script defer="defer" src="/static/module-lodash.fa492ce2.js"></script><script defer="defer" src="/static/module-date-fns.b8b6c380.js"></script><script defer="defer" src="/static/module-material-table.b510f85c.js"></script><script defer="defer" src="/static/module-react-dom.c3454ade.js"></script><script defer="defer" src="/static/module-react-router.e7f42b6c.js"></script><script defer="defer" src="/static/module-react-router-dom.81a9f610.js"></script><script defer="defer" src="/static/module-zod.9e0f365e.js"></script><script defer="defer" src="/static/module-i18next.db8a27ed.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.1f1d9332.js"></script><script defer="defer" src="/static/vendor.ead3a23c.js"></script><script defer="defer" src="/static/main.ead3a23c.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -488,4 +488,4 @@ ${F.href}
488
488
 
489
489
  Feedback:`),$t=(ot==null?void 0:ot.type)==="github"?(0,Ro.B)(tt.href,"blob"):tt.href,Yt=Do()($t),Ft=`/${Yt.organization}/${Yt.name}`,Pt=F.cloneNode();switch(ot==null?void 0:ot.type){case"gitlab":Pt.href=`${tt.origin}${Ft}/issues/new?issue[title]=${Ct}&issue[description]=${It}`;break;case"github":Pt.href=`${tt.origin}${Ft}/issues/new?title=${Ct}&body=${It}`;break;default:return P}return Cn(i.createElement(Io.Z),Pt),Pt.style.paddingLeft="5px",Pt.title="Leave feedback for this page",Pt.id="git-feedback-link",F==null||F.insertAdjacentElement("beforebegin",Pt),P},Kn=()=>f=>(setTimeout(()=>{const P=f==null?void 0:f.querySelectorAll("li.md-nav__item--active");P.length!==0&&(P.forEach(F=>{const tt=F==null?void 0:F.querySelector("input");tt!=null&&tt.checked||tt==null||tt.click()}),P[P.length-1].scrollIntoView())},200),f);var Hn=t(15459),Lo=t(80030),An=t(72379),Sn=t(41547),jo=t(95074);const Gn=(0,Hn.Z)(f=>({tooltip:{fontSize:"inherit",color:f.palette.text.primary,margin:0,padding:f.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(Lo.ZP),Mo=()=>(0,o.jsx)(An.Z,{children:(0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),Bo=({text:f})=>{const[P,B]=(0,i.useState)(!1),[,F]=(0,jo.Z)(),tt=(0,i.useCallback)(()=>{F(f),B(!0)},[f,F]),ot=(0,i.useCallback)(()=>{B(!1)},[B]);return(0,o.jsx)(Gn,{title:"Copied to clipboard",placement:"left",open:P,onClose:ot,leaveDelay:1e3,children:(0,o.jsx)(St.Z,{style:{color:"inherit"},className:"md-clipboard md-icon",onClick:tt,children:(0,o.jsx)(Mo,{})})})},Uo=f=>P=>{const B=P.querySelectorAll("pre > code");for(const tt of B){var F;const ot=tt.textContent||"",ft=document.createElement("div");tt==null||(F=tt.parentElement)===null||F===void 0||F.prepend(ft),Cn((0,o.jsx)(Sn.Z,{theme:f,children:(0,o.jsx)(Bo,{text:ot})}),ft)}return P},$o=({baseUrl:f,onClick:P})=>B=>(Array.from(B.getElementsByTagName("a")).forEach(F=>{F.addEventListener("click",tt=>{const ft=F.getAttribute("href");ft&&ft.startsWith(f)&&!F.hasAttribute("download")&&(tt.preventDefault(),P(tt,ft))})}),B),Vn=({onLoading:f,onLoaded:P})=>B=>(f(),B.addEventListener(x,function F(){P(),B.removeEventListener(x,F)}),B);function Fo(f,P){const B=new URL(P),F=`${B.origin}${B.pathname.replace(/\/$/,"")}`,tt=f.replace(F,"").replace(/^\/+/,""),ot=new URL(`http://localhost/${tt}`);return`${ot.pathname}${ot.search}${ot.hash}`}function No(){const f=(0,Mt.s0)(),B=(0,k.h_)(dt.D).getOptionalString("app.baseUrl");return(0,i.useCallback)(tt=>{let ot=tt;if(B)try{ot=Fo(tt,B)}catch{}f(ot)},[f,B])}const Wo="screen and (max-width: 76.1875em)",Zo=f=>{const P=No(),B=(0,ct.Z)(),F=(0,Ot.Z)(Wo),tt=Un(),ot=Ao(),ft=(0,_.z)(),Ct=(0,k.h_)(ae.D),It=(0,k.h_)(Rt.q),{state:$t,path:Yt,content:Ft}=Fe(),[Pt,ce]=(0,i.useState)(null),me=m(Pt),Qt=(0,i.useCallback)(()=>{if(!Pt)return;Pt.querySelectorAll(".md-sidebar").forEach(zt=>{if(F)zt.style.top="0px";else{var Xt;const pe=(Xt=document)===null||Xt===void 0?void 0:Xt.querySelector(".techdocs-reader-page");var Ce;const Re=(Ce=pe==null?void 0:pe.getBoundingClientRect().top)!==null&&Ce!==void 0?Ce:0;var Te;let ee=(Te=Pt.getBoundingClientRect().top)!==null&&Te!==void 0?Te:0;const Je=Pt.querySelector(".md-container > .md-tabs");var Ne;const dn=(Ne=Je==null?void 0:Je.getBoundingClientRect().height)!==null&&Ne!==void 0?Ne:0;ee<Re&&(ee=Re),zt.style.top=`${Math.max(ee,0)+dn}px`}zt.style.setProperty("opacity","1")})},[Pt,F]);(0,i.useEffect)(()=>(window.addEventListener("resize",Qt),window.addEventListener("scroll",Qt,!0),()=>{window.removeEventListener("resize",Qt),window.removeEventListener("scroll",Qt,!0)}),[Pt,Qt]);const Bt=(0,i.useCallback)(()=>{if(!Pt)return;const Dt=Pt.querySelector(".md-footer");Dt&&(Dt.style.width=`${Pt.getBoundingClientRect().width}px`)},[Pt]);(0,i.useEffect)(()=>(window.addEventListener("resize",Bt),()=>{window.removeEventListener("resize",Bt)}),[Pt,Bt]),(0,i.useEffect)(()=>{me||(Bt(),Qt())},[$t,me,Bt,Qt]);const re=(0,i.useCallback)((Dt,zt)=>Nn(Dt,[tt,So({techdocsStorageApi:Ct,entityId:f,path:zt}),Wn(),wo(),Po(),To(),zn(It),ot]),[f,It,Ct,tt,ot]),ye=(0,i.useCallback)(async Dt=>Nn(Dt,[Kn(),Uo(B),$o({baseUrl:window.location.origin,onClick:(zt,Xt)=>{var Ce;const Te=zt.ctrlKey||zt.metaKey,Ne=new URL(Xt),pe=((Ce=zt.target)===null||Ce===void 0?void 0:Ce.innerText)||Xt,Re=Xt.replace(window.location.origin,"");if(ft.captureEvent("click",pe,{attributes:{to:Re}}),Ne.hash)if(Te)window.open(Xt,"_blank");else{var ee;P(Xt),Dt==null||(ee=Dt.querySelector(`[id="${Ne.hash.slice(1)}"]`))===null||ee===void 0||ee.scrollIntoView()}else Te?window.open(Xt,"_blank"):P(Xt)}}),Vn({onLoading:()=>{},onLoaded:()=>{var zt;(zt=Dt.querySelector(".md-nav__title"))===null||zt===void 0||zt.removeAttribute("for")}}),Vn({onLoading:()=>{Array.from(Dt.querySelectorAll(".md-sidebar")).forEach(Xt=>{Xt.style.setProperty("opacity","0")})},onLoaded:()=>{}})]),[B,P,ft]);return(0,i.useEffect)(()=>{if(!Ft)return()=>{};let Dt=!0;return re(Ft,Yt).then(async zt=>{if(!(zt!=null&&zt.innerHTML)||!Dt)return;window.scroll({top:0});const Xt=await ye(zt);ce(Xt)}),()=>{Dt=!1}},[Ft,Yt,re,ye]),Pt};var cn=t(8560),Yn=t(2296),wt=t(57058);const he=()=>{const f=(0,Yn.$L)(),{shadowRoot:P}=(0,v.x)(),B=P==null?void 0:P.querySelector('[data-md-component="content"]'),F=P==null?void 0:P.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]');let tt=F==null?void 0:F.querySelector('[data-techdocs-addons-location="primary sidebar"]');tt||(tt=document.createElement("div"),tt.setAttribute("data-techdocs-addons-location","primary sidebar"),F==null||F.prepend(tt));const ot=P==null?void 0:P.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]');let ft=ot==null?void 0:ot.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return ft||(ft=document.createElement("div"),ft.setAttribute("data-techdocs-addons-location","secondary sidebar"),ot==null||ot.prepend(ft)),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(cn.Z,{container:tt,children:f.renderComponentsByLocation(wt.o.PrimarySidebar)}),(0,o.jsx)(cn.Z,{container:B,children:f.renderComponentsByLocation(wt.o.Content)}),(0,o.jsx)(cn.Z,{container:ft,children:f.renderComponentsByLocation(wt.o.SecondarySidebar)})]})},fe=(0,d.Z)({search:{width:"100%","@media (min-width: 76.1875em)":{width:"calc(100% - 34.4rem)",margin:"0 auto"},"@media print":{display:"none"}}}),ko=h(f=>{var P;const{withSearch:B=!0,onReady:F}=f,tt=fe(),{entityMetadata:{value:ot,loading:ft},entityRef:Ct,setShadowRoot:It}=(0,v.x)(),$t=Zo(Ct),Yt=window.location.pathname,Ft=window.location.hash,Pt=m($t),[ce]=R([`[id="${Ft.slice(1)}"]`]);(0,i.useEffect)(()=>{if(!Pt)if(Ft)ce&&ce.scrollIntoView();else{var Qt,Bt;(Bt=document)===null||Bt===void 0||(Qt=Bt.querySelector("header"))===null||Qt===void 0||Qt.scrollIntoView()}},[Yt,Ft,ce,Pt]);const me=(0,i.useCallback)(Qt=>{It(Qt),F instanceof Function&&F()},[It,F]);return ft===!1&&!ot?(0,o.jsx)(L.m,{status:"404",statusMessage:"PAGE NOT FOUND"}):$t?(0,o.jsx)(y.V,{children:(0,o.jsxs)(S.Z,{container:!0,children:[(0,o.jsx)(S.Z,{xs:12,item:!0,children:(0,o.jsx)(W,{})}),B&&(0,o.jsx)(S.Z,{className:tt.search,xs:"auto",item:!0,children:(0,o.jsx)(qt,{entityId:Ct,entityTitle:ot==null||(P=ot.metadata)===null||P===void 0?void 0:P.title})}),(0,o.jsx)(S.Z,{xs:12,item:!0,children:(0,o.jsx)(b,{element:$t,onAppend:me,children:(0,o.jsx)(he,{})})})]})}):(0,o.jsx)(y.V,{children:(0,o.jsx)(S.Z,{container:!0,children:(0,o.jsx)(S.Z,{xs:12,item:!0,children:(0,o.jsx)(W,{})})})})}),cr=null},65386:function(Q,w,t){"use strict";t.d(w,{S:function(){return dt}});var o=t(52322),i=t(2784),d=t(18671),S=t(60905),v=t(98069),p=t(60364),c=t(73250),u=t(2296),A=t(68979),x=t(57058),O=t(75435),m=t(84719),b=t(51194),g=t(8709),M=t(79692),R=t(41128),T=t(90436),$=t(98864);const L=(0,M.Z)(vt=>({root:{textAlign:"left"},label:{color:vt.page.fontColor,fontWeight:vt.typography.fontWeightBold,letterSpacing:0,fontSize:vt.typography.fontSize,marginBottom:vt.spacing(1)/2,lineHeight:1},value:{color:(0,R.Fq)(vt.page.fontColor,.8),fontSize:vt.typography.fontSize,lineHeight:1}}),{name:"BackstageHeaderLabel"}),y=({value:vt,className:Et,typographyRootComponent:Tt})=>(0,o.jsx)(T.Z,{component:Tt!=null?Tt:typeof vt=="string"?"p":"span",className:Et,children:vt});function Z(vt){const{label:Et,value:Tt,url:gt,contentTypograpyRootComponent:xt}=vt,J=L(),j=(0,o.jsx)(y,{className:J.value,value:Tt||"<Unknown>",typographyRootComponent:xt});return(0,o.jsx)(S.Z,{item:!0,children:(0,o.jsxs)(T.Z,{component:"span",className:J.root,children:[(0,o.jsx)(T.Z,{className:J.label,children:Et}),gt?(0,o.jsx)($.rU,{to:gt,children:j}):j]})})}var V=t(48037),et=t(44394),Y=t(6542),K=t(37321),k=t(76635),_=t(95573);const rt=(0,o.jsx)(v.Z,{animation:"wave",variant:"text",height:40}),dt=vt=>{const{palette:{common:{white:Et}}}=(0,p.Z)(),{children:Tt}=vt,gt=(0,u.$L)(),xt=(0,et.h_)(Y.D),{title:J,setTitle:j,subtitle:z,setSubtitle:q,entityRef:st,metadata:{value:it,loading:at},entityMetadata:{value:nt,loading:St}}=(0,A.x)();(0,i.useEffect)(()=>{it&&(j(it.site_name),q(()=>{let{site_description:Lt}=it;return(!Lt||Lt==="None")&&(Lt=""),Lt}))},[it,j,q]);const G=xt.getOptional("app.title")||"Backstage",H=[J,z,G].filter(Boolean).join(" | "),{locationMetadata:ut,spec:ht}=nt||{},mt=ht==null?void 0:ht.lifecycle,bt=nt?(0,O.h)(nt,g.S4):[],jt=(0,K.t)(_._Z)(),Jt=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Z,{label:(0,k.capitalize)((nt==null?void 0:nt.kind)||"entity"),value:(0,o.jsx)(m.d,{color:"inherit",entityRef:st,title:nt==null?void 0:nt.metadata.title,defaultKind:"Component"})}),bt.length>0&&(0,o.jsx)(Z,{label:"Owner",value:(0,o.jsx)(b.r,{color:"inherit",entityRefs:bt,defaultKind:"group"})}),mt?(0,o.jsx)(Z,{label:"Lifecycle",value:String(mt)}):null,ut&&ut.type!=="dir"&&ut.type!=="file"?(0,o.jsx)(Z,{label:"",value:(0,o.jsxs)(S.Z,{container:!0,direction:"column",alignItems:"center",style:{color:Et},children:[(0,o.jsx)(S.Z,{style:{padding:0},item:!0,children:(0,o.jsx)(c.Z,{style:{marginTop:"-25px"}})}),(0,o.jsx)(S.Z,{style:{padding:0},item:!0,children:"Source"})]}),url:ut.target}):null]});return!St&&nt===void 0||!at&&it===void 0?null:(0,o.jsxs)(V.h,{type:"Documentation",typeLink:jt,title:J||rt,subtitle:z===""?void 0:z||rt,children:[(0,o.jsx)(d.Z,{titleTemplate:"%s",children:(0,o.jsx)("title",{children:H})}),Jt,Tt,gt.renderComponentsByLocation(x.o.Header)]})}},95573:function(Q,w,t){"use strict";t.d(w,{Fw:function(){return d},_Z:function(){return i},pd:function(){return S}});var o=t(30283);const i=(0,o.N)({id:"techdocs:index-page"}),d=(0,o.N)({id:"techdocs:reader-page",params:["namespace","kind","name"]}),S=(0,o.N)({id:"techdocs:catalog-reader-view"})},55511:function(Q,w,t){"use strict";t.r(w),t.d(w,{TechDocsSearchResultListItem:function(){return x}});var o=t(52322),i=t(2784),d=t(79692),S=t(49378),v=t(86136),p=t(90436),c=t(98864),u=t(76079);const A=(0,d.Z)({flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",marginBottom:"1rem"}}),x=O=>{const{result:m,highlight:b,lineClamp:g=5,asListItem:M=!0,asLink:R=!0,title:T,icon:$}=O,L=A(),y=({children:et})=>R?(0,o.jsx)(c.rU,{noTrack:!0,to:m.location,children:et}):(0,o.jsx)(o.Fragment,{children:et}),Z=()=>{const et=b!=null&&b.fields.title?(0,o.jsx)(u.F,{text:b.fields.title,preTag:b.preTag,postTag:b.postTag}):m.title,Y=b!=null&&b.fields.entityTitle?(0,o.jsx)(u.F,{text:b.fields.entityTitle,preTag:b.preTag,postTag:b.postTag}):m.entityTitle,K=b!=null&&b.fields.name?(0,o.jsx)(u.F,{text:b.fields.name,preTag:b.preTag,postTag:b.postTag}):m.name;return m?(0,o.jsx)(S.Z,{className:L.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,o.jsx)(y,{children:T||(0,o.jsxs)(o.Fragment,{children:[et," | ",Y!=null?Y:K," docs"]})}),secondary:(0,o.jsx)(p.Z,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:g,overflow:"hidden"},color:"textSecondary",variant:"body2",children:b!=null&&b.fields.text?(0,o.jsx)(u.F,{text:b.fields.text,preTag:b.preTag,postTag:b.postTag}):m.text})}):null},V=({children:et})=>M?(0,o.jsxs)(o.Fragment,{children:[$&&(0,o.jsx)(v.Z,{children:typeof $=="function"?$(m):$}),(0,o.jsx)("div",{className:L.flexContainer,children:et})]}):(0,o.jsx)(o.Fragment,{children:et});return(0,o.jsx)(V,{children:(0,o.jsx)(Z,{})})}},53260:function(){}},function(Q){var w=function(o){return Q(Q.s=o)};Q.O(0,[2370,6202,9284,7012,427,242,5109,6816,1213,5218,4736],function(){return w(51280)});var t=Q.O()}]);})();
490
490
 
491
- //# sourceMappingURL=main.318ea97a.js.map
491
+ //# sourceMappingURL=main.ead3a23c.js.map