import{d as u,K as m,b as _,t as b,w as y,z as d,J as f,O as g,Q as h,x as i,U as n,q as w}from"./registerWidgets.08925b03.js";import{a as I}from"./asyncComputed.fdfb8cdb.js";import"./gateway.95c71ee5.js";import{B as x}from"./build.6a86bcd4.js";import"./index.2d2fdeda.js";import{C as v}from"./CrudView.730ee379.js";import"./passwordlessManager.c2cb8449.js";import"./pubsub.7723f722.js";import"./activeRecord.030cb164.js";import"./DropdownMenu.b53ce7fe.js";import"./Modal.b942b0e2.js";import"./LoadingIndicator.0a2d30b1.js";import"./lottie.028476ab.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4c68505b-5507-4b4a-937a-5ad178492bc9",e._sentryDebugIdIdentifier="sentry-dbid-4c68505b-5507-4b4a-937a-5ad178492bc9")}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=f().params.projectId,{loading:c,result:p}=I(()=>x.list(r)),l=m(()=>{var o,s;return{columns:[{name:"Id"},{name:"Creation date"},{name:"Status"}],rows:(s=(o=p.value)==null?void 0:o.map(t=>({key:t.id,cells:[{text:t.id,classes:["title","centered"]},{text:t.createdAt.toLocaleString(),classes:[]},{text:t.status,classes:["centered"]}]})))!=null?s:[]}});return(o,s)=>(_(),b(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":y(()=>[C]),_:1},8,["loading","table"]))}});const L=w(S,[["__scopeId","data-v-1b7a68a8"]]);export{L as default};
//# sourceMappingURL=Builds.185f4e6a.js.map
