1import{r as y,d as v,j as C,o as g,w as t,b as l,a as s,f as o,u as i,n as w,br as c}from"./app-DAqHQWdA.js";import{_ as x}from"./ActionSection-D2WVVABd.js";import{_}from"./ConfirmationModal-C3b70mZC.js";import{_ as r}from"./AppButton-wUoY6mt7.js";import"./SectionTitle-Cgf_NEsZ.js";import"./Modal-BEXnZSVE.js";const b={class:"mt-5"},V={__name:"DeleteTeamForm",props:{team:Object},setup(m){const d=m,a=y(!1),n=v({}),p=()=>{a.value=!0},f=()=>{n.delete(c.destroy.url(d.team),{errorBag:"deleteTeam"})};return(D,e)=>(g(),C(x,null,{title:t(()=>e[2]||(e[2]=[o(" Delete Company ")])),description:t(()=>e[3]||(e[3]=[o(" Permanently delete this company. ")])),content:t(()=>[e[9]||(e[9]=l("div",{class:"max-w-xl text-sm text-muted-foreground"}," Once a company is deleted, all of its resources and data will be permanently deleted. Before deleting this company, please download any data or information regarding this company that you wish to retain. ",-1)),l("div",b,[s(r,{variant:"danger",onClick:p},{default:t(()=>e[4]||(e[4]=[o(" Delete Company ")])),_:1,__:[4]})]),s(_,{show:a.value,onClose:e[1]||(e[1]=u=>a.value=!1)},{title:t(()=>e[5]||(e[5]=[o(" Delete Company ")])),content:t(()=>e[6]||(e[6]=[o(" Are you sure you want to delete this company? Once a company is deleted, all of its resources and data will be permanently deleted. ")])),footer:t(()=>[s(r,{variant:"secondary",onClick:e[0]||(e[0]=u=>a.value=!1)},{default:t(()=>e[7]||(e[7]=[o(" Cancel ")])),_:1,__:[7]}),s(r,{variant:"danger",class:w(["ml-3",{"opacity-25":i(n).processing}]),disabled:i(n).processing,onClick:f},{default:t(()=>e[8]||(e[8]=[o(" Delete Company ")])),_:1,__:[8]},8,["class","disabled"])]),_:1},8,["show"])]),_:1}))}};export{V as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.