import{h,F as Fragment}from"./index-2305c23c.js";import{e as executionIconByStatus}from"./codeUtils-453d011a.js";var CodeExecuteStatus=function(e){var t;if(e.nodeKind==="Parameter"){return h("stencila-icon",{icon:"asterisk",color:"neutral-500, #6e7591",class:"executeStatus"})}if(e.executeRequired===undefined||e.executeStatus===undefined){return h(Fragment,null)}var o=executionIconByStatus(e.executeStatus,e.executeRequired);return h("stencila-tooltip",{text:o.title,slot:e.slot,position:"right-end"},h("stencila-icon",{icon:o.icon,color:o.color,class:"executeStatus executeRequired-".concat(e.executeRequired," ").concat((t=e.executeStatus)===null||t===void 0?void 0:t.toLowerCase())}))};export{CodeExecuteStatus as C};
//# sourceMappingURL=codeExecuteStatus-e8a6c019.js.map