import{d as u,K as m,b as f,t as _,w as b,z as d,J as y,O as g,Q as h,x as i,U as n,q as w}from"./registerWidgets.cb3a7b8d.js";import{a as I}from"./asyncComputed.31994732.js";import"./gateway.2edca867.js";import{B as x}from"./build.56ee1e90.js";import"./index.7fea4022.js";import{C as v}from"./CrudView.87a92735.js";import"./passwordlessManager.afd7d1d0.js";import"./pubsub.f85a17d2.js";import"./activeRecord.adfc6223.js";import"./DropdownMenu.c973057b.js";import"./Modal.43c3d47a.js";import"./LoadingIndicator.d4ffd545.js";import"./lottie.234eb92e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5ba8fb0e-343c-4fb1-9b6c-b1395d8ae6ec",e._sentryDebugIdIdentifier="sentry-dbid-5ba8fb0e-343c-4fb1-9b6c-b1395d8ae6ec")}catch{}})();const B=e=>(g("data-v-63f61fb1"),e=e(),h(),e),C=B(()=>i("div",{class:"instructions"},[n(" Get started with the local editor in seconds: "),i("pre",null,`    $ pip install abstra --upgrade
    $ abstra serve ./your-project-directory
    `),n(" And you're done! Explore the local editor and start building apps. ")],-1)),S=u({__name:"Builds",setup(e){const r=y().params.projectId,{loading:c,result:p}=I(()=>x.list(r)),l=m(()=>{var s,a;return{columns:[{name:"Id"},{name:"Creation date"},{name:"Status"}],rows:(a=(s=p.value)==null?void 0:s.map(t=>({key:t.id,cells:[{text:t.id,classes:["title","centered"]},{text:t.createdAt.toLocaleString(),classes:[]},{text:t.status+(t.log?": "+t.log:""),classes:["centered"]}]})))!=null?a:[]}});return(s,a)=>(f(),_(v,{"entity-name":"build",loading:d(c),title:"Builds",description:"Each build is a version of your app. You can create a new build by deploying your app from the local editor.","empty-title":"No builds here yet",table:d(l)},{"empty-description":b(()=>[C]),_:1},8,["loading","table"]))}});const L=w(S,[["__scopeId","data-v-63f61fb1"]]);export{L as default};
//# sourceMappingURL=Builds.f10692eb.js.map
