"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[1297],{61297:(m,s,e)=>{e.r(s),e.d(s,{CatalogSearchResultListItem:()=>x});var t=e(31085),r=e(14041),h=e(10394),a=e(67720),p=e(46423),y=e(5951),u=e(72501),g=e(58837),f=e(72072),d=e(70734),T=e(98508),C=e(87849);const v=(0,g.A)({item:{display:"flex"},flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}},{name:"CatalogSearchResultListItem"});function x(o){const n=o.result,i=o.highlight,l=v(),{t:c}=(0,C.i)(T.W);return n?(0,t.jsxs)("div",{className:l.item,children:[o.icon&&(0,t.jsx)(p.A,{children:typeof o.icon=="function"?o.icon(n):o.icon}),(0,t.jsxs)("div",{className:l.flexContainer,children:[(0,t.jsx)(y.A,{className:l.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,t.jsx)(f.N_,{noTrack:!0,to:n.location,children:i!=null&&i.fields.title?(0,t.jsx)(d.e,{text:i.fields.title,preTag:i.preTag,postTag:i.postTag}):n.title}),secondary:(0,t.jsx)(u.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o.lineClamp,overflow:"hidden"},color:"textSecondary",variant:"body2",children:i!=null&&i.fields.text?(0,t.jsx)(d.e,{text:i.fields.text,preTag:i.preTag,postTag:i.postTag}):n.text})}),(0,t.jsxs)(h.A,{children:[n.kind&&(0,t.jsx)(a.A,{label:`Kind: ${n.kind}`,size:"small"}),n.type&&(0,t.jsx)(a.A,{label:`Type: ${n.type}`,size:"small"}),n.lifecycle&&(0,t.jsx)(a.A,{label:`${c("searchResultItem.lifecycle")}: ${n.lifecycle}`,size:"small"}),n.owner&&(0,t.jsx)(a.A,{label:`${c("searchResultItem.Owner")}: ${n.owner}`,size:"small"})]})]})]}):null}},98508:(m,s,e)=>{e.d(s,{W:()=>r});var t=e(93184);const r=(0,t.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.
 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"},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 & zoo to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})}}]);})();

//# sourceMappingURL=1297.5524f555.chunk.js.map