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.1fe34791.js";import{a as I}from"./asyncComputed.92243be5.js";import"./gateway.0608e29b.js";import{B as x}from"./build.fc752a6e.js";import"./index.132551ca.js";import{C as v}from"./CrudView.0cd32c10.js";import"./passwordlessManager.4fd7bb4b.js";import"./pubsub.b559dee6.js";import"./activeRecord.74b17129.js";import"./DropdownMenu.00adbbe9.js";import"./Modal.1d6d71ee.js";import"./LoadingIndicator.ae04a1f8.js";import"./lottie.e5b4ac5e.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]="a0983d23-c76d-4f8f-b3bc-f29f704681f9",e._sentryDebugIdIdentifier="sentry-dbid-a0983d23-c76d-4f8f-b3bc-f29f704681f9")}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 L=w(S,[["__scopeId","data-v-1b7a68a8"]]);export{L as default};
//# sourceMappingURL=Builds.1878cd79.js.map
