import{d as u,K as m,b as _,t as f,w as b,z as d,J as y,O as g,Q as h,x as i,S as n,q as w}from"./registerWidgets.5bbfbb1a.js";import{a as I}from"./asyncComputed.0fa43cb9.js";import"./gateway.8a51e2ca.js";import{B as x}from"./build.07ce72ec.js";import{C as v}from"./CrudView.42acda9a.js";import"./passwordlessManager.d271c8e1.js";import"./activeRecord.0bf8afc8.js";import"./DropdownMenu.1816b8ae.js";import"./Modal.34b86d8f.js";import"./LoadingIndicator.2d4920b8.js";import"./lottie.5c7f29e3.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]="be93c09f-51f0-4548-85bc-fdd4d06ce853",e._sentryDebugIdIdentifier="sentry-dbid-be93c09f-51f0-4548-85bc-fdd4d06ce853")}catch{}})();const B=e=>(g("data-v-1b7a68a8"),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,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 J=w(S,[["__scopeId","data-v-1b7a68a8"]]);export{J as default};
//# sourceMappingURL=Builds.780726fe.js.map
