import{u as i,j as e}from"./index-gnHkq9KV.js";function a({commands:n,emptyMessage:t}){const{t:r}=i();return!n||n.length===0?e.jsx("p",{className:"text-dim",children:t||r("No resolved commands available.")}):e.jsx("div",{className:"table-wrap workflow-command-preview-table",children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:r("Check Type")}),e.jsx("th",{children:r("Environment")}),e.jsx("th",{children:r("Command")})]})}),e.jsx("tbody",{children:n.map((s,l)=>e.jsxs("tr",{children:[e.jsx("td",{children:s.checkType}),e.jsx("td",{className:"text-dim",children:s.environmentName||r("Base")}),e.jsx("td",{children:e.jsx("code",{className:"workflow-command-preview-code",children:s.command})})]},`${s.checkType}-${s.environmentName||"base"}-${l}`))})]})})}export{a as W};
