@techdocs/cli 0.0.0-nightly-20231129021646 → 0.0.0-nightly-20231201021806
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 +3 -3
- package/dist/embedded-app/.config-schema.json +30 -30
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/static/{main.58e94ce8.js → main.ad173588.js} +1 -1
- package/dist/embedded-app/static/{main.58e94ce8.js.map → main.ad173588.js.map} +1 -1
- package/dist/embedded-app/static/{runtime.58e94ce8.js → runtime.ad173588.js} +1 -1
- package/dist/embedded-app/static/{runtime.58e94ce8.js.map → runtime.ad173588.js.map} +1 -1
- package/dist/embedded-app/static/vendor.ad173588.js +164 -0
- package/dist/embedded-app/static/vendor.ad173588.js.map +1 -0
- package/package.json +4 -4
- package/dist/embedded-app/static/vendor.58e94ce8.js +0 -164
- package/dist/embedded-app/static/vendor.58e94ce8.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20231201021806
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
### Patch Changes
|
|
11
11
|
|
|
12
12
|
- Updated dependencies
|
|
13
|
-
- @backstage/backend-common@0.0.0-nightly-
|
|
14
|
-
- @backstage/plugin-techdocs-node@0.0.0-nightly-
|
|
13
|
+
- @backstage/backend-common@0.0.0-nightly-20231201021806
|
|
14
|
+
- @backstage/plugin-techdocs-node@0.0.0-nightly-20231201021806
|
|
15
15
|
- @backstage/catalog-model@1.4.3
|
|
16
16
|
- @backstage/cli-common@0.1.13
|
|
17
17
|
- @backstage/config@1.1.1
|
|
@@ -416,36 +416,6 @@
|
|
|
416
416
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
417
417
|
}
|
|
418
418
|
},
|
|
419
|
-
{
|
|
420
|
-
"path": "../../plugins/catalog/config.d.ts",
|
|
421
|
-
"value": {
|
|
422
|
-
"type": "object",
|
|
423
|
-
"properties": {
|
|
424
|
-
"catalog": {
|
|
425
|
-
"type": "object",
|
|
426
|
-
"properties": {
|
|
427
|
-
"experimentalPagination": {
|
|
428
|
-
"deepVisibility": "frontend",
|
|
429
|
-
"anyOf": [
|
|
430
|
-
{
|
|
431
|
-
"type": "object",
|
|
432
|
-
"properties": {
|
|
433
|
-
"limit": {
|
|
434
|
-
"type": "number"
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"type": "boolean"
|
|
440
|
-
}
|
|
441
|
-
]
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
419
|
{
|
|
450
420
|
"path": "../integration/config.d.ts",
|
|
451
421
|
"value": {
|
|
@@ -858,6 +828,36 @@
|
|
|
858
828
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
859
829
|
}
|
|
860
830
|
},
|
|
831
|
+
{
|
|
832
|
+
"path": "../../plugins/catalog/config.d.ts",
|
|
833
|
+
"value": {
|
|
834
|
+
"type": "object",
|
|
835
|
+
"properties": {
|
|
836
|
+
"catalog": {
|
|
837
|
+
"type": "object",
|
|
838
|
+
"properties": {
|
|
839
|
+
"experimentalPagination": {
|
|
840
|
+
"deepVisibility": "frontend",
|
|
841
|
+
"anyOf": [
|
|
842
|
+
{
|
|
843
|
+
"type": "object",
|
|
844
|
+
"properties": {
|
|
845
|
+
"limit": {
|
|
846
|
+
"type": "number"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"type": "boolean"
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
861
|
{
|
|
862
862
|
"path": "../frontend-app-api/config.d.ts",
|
|
863
863
|
"value": {
|
|
@@ -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.
|
|
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.ad173588.js"></script><script defer="defer" src="/static/module-material-ui.0420d68d.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.3c68edc1.js"></script><script defer="defer" src="/static/module-react-dom.f7ae1c8b.js"></script><script defer="defer" src="/static/module-react-router.67245b2c.js"></script><script defer="defer" src="/static/module-react-router-dom.48ea1f60.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.71ae82d9.js"></script><script defer="defer" src="/static/vendor.ad173588.js"></script><script defer="defer" src="/static/main.ad173588.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 w}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),w},Kn=()=>f=>(setTimeout(()=>{const w=f==null?void 0:f.querySelectorAll("li.md-nav__item--active");w.length!==0&&(w.forEach(F=>{const tt=F==null?void 0:F.querySelector("input");tt!=null&&tt.checked||tt==null||tt.click()}),w[w.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[w,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:w,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=>w=>{const B=w.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 w},$o=({baseUrl:f,onClick:w})=>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(),w(tt,ft))})}),B),Vn=({onLoading:f,onLoaded:w})=>B=>(f(),B.addEventListener(x,function F(){w(),B.removeEventListener(x,F)}),B);function Fo(f,w){const B=new URL(w),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 w=No(),B=(0,ct.Z)(),F=(0,Ot.Z)(Wo),tt=Un(),ot=Ao(),ft=(0,_.z)(),Ct=(0,k.h_)(ie.D),It=(0,k.h_)(Rt.q),{state:$t,path:Yt,content:Ft}=$e(),[Pt,le]=(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 ce=(Xt=document)===null||Xt===void 0?void 0:Xt.querySelector(".techdocs-reader-page");var Ce;const Ze=(Ce=ce==null?void 0:ce.getBoundingClientRect().top)!==null&&Ce!==void 0?Ce:0;var Te;let pe=(Te=Pt.getBoundingClientRect().top)!==null&&Te!==void 0?Te:0;const Je=Pt.querySelector(".md-container > .md-tabs");var Fe;const dn=(Fe=Je==null?void 0:Je.getBoundingClientRect().height)!==null&&Fe!==void 0?Fe:0;pe<Ze&&(pe=Ze),zt.style.top=`${Math.max(pe,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 Lt=Pt.querySelector(".md-footer");Lt&&(Lt.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 oe=(0,i.useCallback)((Lt,zt)=>Nn(Lt,[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 Lt=>Nn(Lt,[Kn(),Uo(B),$o({baseUrl:window.location.origin,onClick:(zt,Xt)=>{var Ce;const Te=zt.ctrlKey||zt.metaKey,Fe=new URL(Xt),ce=((Ce=zt.target)===null||Ce===void 0?void 0:Ce.innerText)||Xt,Ze=Xt.replace(window.location.origin,"");if(ft.captureEvent("click",ce,{attributes:{to:Ze}}),Fe.hash)if(Te)window.open(Xt,"_blank");else{var pe;w(Xt),Lt==null||(pe=Lt.querySelector(`[id="${Fe.hash.slice(1)}"]`))===null||pe===void 0||pe.scrollIntoView()}else Te?window.open(Xt,"_blank"):w(Xt)}}),Vn({onLoading:()=>{},onLoaded:()=>{var zt;(zt=Lt.querySelector(".md-nav__title"))===null||zt===void 0||zt.removeAttribute("for")}}),Vn({onLoading:()=>{Array.from(Lt.querySelectorAll(".md-sidebar")).forEach(Xt=>{Xt.style.setProperty("opacity","0")})},onLoaded:()=>{}})]),[B,w,ft]);return(0,i.useEffect)(()=>{if(!Ft)return()=>{};let Lt=!0;return oe(Ft,Yt).then(async zt=>{if(!(zt!=null&&zt.innerHTML)||!Lt)return;window.scroll({top:0});const Xt=await ye(zt);le(Xt)}),()=>{Lt=!1}},[Ft,Yt,oe,ye]),Pt};var cn=t(8560),Yn=t(2296),wt=t(57058);const he=()=>{const f=(0,Yn.$L)(),{shadowRoot:w}=(0,v.x)(),B=w==null?void 0:w.querySelector('[data-md-component="content"]'),F=w==null?void 0:w.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=w==null?void 0:w.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 w;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),[le]=R([`[id="${Ft.slice(1)}"]`]);(0,i.useEffect)(()=>{if(!Pt)if(Ft)le&&le.scrollIntoView();else{var Qt,Bt;(Bt=document)===null||Bt===void 0||(Qt=Bt.querySelector("header"))===null||Qt===void 0||Qt.scrollIntoView()}},[Yt,Ft,le,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||(w=ot.metadata)===null||w===void 0?void 0:w.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(J,T,t){"use strict";t.d(T,{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),P=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)(P.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,Q=L(),j=(0,o.jsx)(y,{className:Q.value,value:Tt||"<Unknown>",typographyRootComponent:xt});return(0,o.jsx)(S.Z,{item:!0,children:(0,o.jsxs)(P.Z,{component:"span",className:Q.root,children:[(0,o.jsx)(P.Z,{className:Q.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:Q,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:Dt}=it;return(!Dt||Dt==="None")&&(Dt=""),Dt}))},[it,j,q]);const G=xt.getOptional("app.title")||"Backstage",H=[Q,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:Q||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(J,T,t){"use strict";t.d(T,{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(J,T,t){"use strict";t.r(T),t.d(T,{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:P,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:P||(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(J){var T=function(o){return J(J.s=o)};J.O(0,[2370,6202,9284,7012,427,242,5109,6816,1213,5218,4736],function(){return T(17363)});var t=J.O()}]);})();
|
|
490
490
|
|
|
491
|
-
//# sourceMappingURL=main.
|
|
491
|
+
//# sourceMappingURL=main.ad173588.js.map
|