PageSourceSearch

https://time2book.me/build/assets/Setup-D6RFm8j1.js

js time2book.me collected 2026-09-30 15:21:02 UTC 9,391 bytes, 1 lines download raw bytes

1import{_ as v}from"./UiLoadingArea-ChMFTNhz.js";import{_ as b}from"./ShareProfileDialog-799lpFjZ.js";import{_ as k,l as x,d,b as e,p as i,e as t,c as f,w as h,o as n,i as C,f as z,a as w,n as g}from"./app-ziVVN7Ui.js";const P={components:{UiButton:x},props:{auth:{type:Object,default:()=>({})}},data(){return{servicesCount:0,slotsCount:0,plansCount:0,hasAppointmentServices:!1,availabilityCount:0,isPaidPlan:!1,setupLoaded:!1,shareProfileDialog:!1}},computed:{loaded(){return this.setupLoaded}},mounted(){axios.get("/api/setup").then(u=>{u.data&&(this.servicesCount=u.data.services_count,this.slotsCount=u.data.slots_count,this.plansCount=u.data.plans_count,this.hasAppointmentServices=u.data.has_appointment_services,this.availabilityCount=u.data.availability_count,this.isPaidPlan=u.data.is_paid_plan)}).finally(()=>{this.setupLoaded=!0})},methods:{openShareProfileDialog(){this.shareProfileDialog=!0},closeShareProfileDialog(){this.shareProfileDialog=!1}}},j={class:"flex flex-col pt-32 gap-10 w-full max-w-screen-md mx-auto"},S={key:0,class:"flex-1 flex flex-col pb-20"},D={class:"lg:ml-auto lg:pl-10 shrink-0"},A={class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},U={class:"lg:ml-auto lg:pl-10 shrink-0"},q={key:0,class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},B={class:"lg:ml-auto lg:pl-10 shrink-0"},L={key:0,class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},N={class:"lg:ml-auto lg:pl-10 shrink-0"},V={key:0,class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},E={class:"lg:ml-auto lg:pl-10 shrink-0"},T={key:0,class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},G={class:"lg:ml-auto lg:pl-10 shrink-0"},H={key:0,class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},O={class:"lg:ml-auto lg:pl-10 shrink-0"},R={key:0,class:"h-[34px] lg:size-7 bg-[#9df59e] text-neutral-900 flex items-center justify-center rounded-full shrink-0"},W={class:"py-6 flex flex-col justify-center items-center gap-4"},F={class:"grid sm:grid-cols-2 gap-3 mt-2"},I={class:"p-7 rounded-xl bg-neutral-50 flex flex-col gap-4 items-start"},J={class:"p-7 rounded-xl bg-neutral-50 flex flex-col gap-4 items-start"};function K(u,s,c,M,l,p){const o=C,a=z,r=x,m=w,y=b,_=v;return n(),d("section",j,[s[10]||(s[10]=e("div",{class:"flex flex-col items-center justify-center"},[e("h1",{class:"text-xl lg:text-2xl font-[550] tracking-tight !leading-[42px] text-center"},"Get started with your studio!"),e("span",{class:"text-sm opacity-60 text-center"},"Complete these simple steps to get your studio up and running")],-1)),p.loaded?(n(),d("div",S,[e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":c.auth}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":c.auth}])},[...s[0]||(s[0]=[e("span",{class:"text-sm font-medium"},"1",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":c.auth}])},[t(o,{title:"Create your profile",subtitle:"Take the first step towards making online studio profile."})],2),e("div",D,[e("div",A,[t(a,{name:"check",size:"16"})])])],2),e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":c.auth.business?.stripe_account_ready}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":c.auth.business?.stripe_account_ready}])},[...s[1]||(s[1]=[e("span",{class:"text-sm font-medium"},"2",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":c.auth.business?.stripe_account_ready}])},[t(o,{title:"Accept payments",subtitle:"Connect to Stripe to get paid for bookings and plans."})],2),e("div",U,[c.auth.business?.stripe_account_ready?(n(),d("div",q,[t(a,{name:"check",size:"16"})])):(n(),f(r,{key:1,title:"Connect Stripe",size:"s",theme:"secondary",href:"/settings/payments","fully-rounded":!0}))])],2),e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":l.servicesCount>0}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":l.servicesCount>0}])},[...s[2]||(s[2]=[e("span",{class:"text-sm font-medium"},"3",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":l.servicesCount>0}])},[t(o,{title:"Create your first service",subtitle:"Add what you offer so clients can book you."})],2),e("div",B,[l.servicesCount>0?(n(),d("div",L,[t(a,{name:"check",size:"16"})])):(n(),f(r,{key:1,title:"Add service",size:"s",theme:"secondary",href:"/services","fully-rounded":!0}))])],2),e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":l.slotsCount>0}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":l.slotsCount>0}])},[...s[3]||(s[3]=[e("span",{class:"text-sm font-medium"},"4",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":l.slotsCount>0}])},[t(o,{title:"Schedule your class",subtitle:"Set the days and times it runs—so clients can book."})],2),e("div",N,[l.slotsCount>0?(n(),d("div",V,[t(a,{name:"check",size:"16"})])):(n(),f(r,{key:1,title:"Set up schedule",size:"s",theme:"secondary",href:"/schedule","fully-rounded":!0}))])],2),e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":l.availabilityCount>0}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":l.availabilityCount>0}])},[...s[4]||(s[4]=[e("span",{class:"text-sm font-medium"},"5",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":l.availabilityCount>0}])},[t(o,{title:"Set your availability",subtitle:"Define when clients can book appointments with you."})],2),e("div",E,[l.availabilityCount>0?(n(),d("div",T,[t(a,{name:"check",size:"16"})])):(n(),f(r,{key:1,title:"Set availability",size:"s",theme:"secondary",href:"/settings/availability","fully-rounded":!0}))])],2),e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":l.plansCount>0}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":l.plansCount>0}])},[...s[5]||(s[5]=[e("span",{class:"text-sm font-medium"},"6",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":l.plansCount>0}])},[t(o,{title:"Create your first pricing plan",subtitle:"Add packs or memberships that clients can purchase anytime."})],2),e("div",G,[l.plansCount>0?(n(),d("div",H,[t(a,{name:"check",size:"16"})])):(n(),f(r,{key:1,title:"Add pricing",size:"s",theme:"secondary",href:"/plans","fully-rounded":!0}))])],2),e("div",{class:i(["flex flex-col lg:flex-row lg:items-center gap-4 p-6 rounded-2xl hover:bg-neutral-900/5",{"pointer-events-none":l.isPaidPlan}])},[e("div",{class:i(["size-10 bg-neutral-900/5 flex items-center justify-center rounded-full shrink-0",{"opacity-50":l.isPaidPlan}])},[...s[6]||(s[6]=[e("span",{class:"text-sm font-medium"},"7",-1)])],2),e("div",{class:i(["flex flex-col",{"opacity-50":l.isPaidPlan}])},[t(o,{title:"Upgrade your plan",subtitle:"Unlock more features and grow your studio with a paid plan."})],2),e("div",O,[l.isPaidPlan?(n(),d("div",R,[t(a,{name:"check",size:"16"})])):(n(),f(r,{key:1,title:"Upgrade plan",size:"s",theme:"secondary",href:"/settings/billing","fully-rounded":!0}))])],2),t(m,{class:"mx-6 my-4"}),e("div",W,[t(o,{title:"Ready to go public?",subtitle:"Share your profile link and let bookings come in.",class:"text-center"}),t(r,{title:"Share profile",icon:"share",reverse:!0,size:"s",theme:"secondary","fully-rounded":!0,onClick:p.openShareProfileDialog},null,8,["onClick"]),t(y,{profile:c.auth.business,open:l.shareProfileDialog,"onUpdate:open":p.closeShareProfileDialog},null,8,["profile","open","onUpdate:open"])]),t(m,{class:"mx-6 my-4"}),s[9]||(s[9]=e("div",{class:"flex flex-col items-center justify-center py-6"},[e("h2",{class:"text-lg lg:text-xl font-[550] tracking-tight !leading-[42px] text-center"},"Still having questions?"),e("span",{class:"text-sm opacity-60 text-center"},"We’re here to guide you every step of the way.")],-1)),e("div",F,[e("div",I,[t(a,{name:"question",size:"24"}),t(o,{title:"Help center",subtitle:"Step-by-step guides, tutorials, and quick answers to common questions."}),t(r,{size:"s",theme:"secondary",href:"https://www.time2book.me/help",target:"_blank","fully-rounded":!0},{default:h(()=>[...s[7]||(s[7]=[g("Learn more",-1)])]),_:1})]),e("div",J,[t(a,{name:"mail",size:"24"}),t(o,{title:"Contact support",subtitle:"Email us your questions and get a reply within 24 hours.",class:"pr-10"}),t(r,{size:"s",theme:"secondary",href:"mailto:[email protected]",target:"_blank","fully-rounded":!0},{default:h(()=>[...s[8]||(s[8]=[g("Contact",-1)])]),_:1})])])])):(n(),f(_,{key:1,class:"min-h-72"}))])}const Z=k(P,[["render",K]]);export{Z 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.