Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

2 linhas
11 KiB

  1. import{j as y,k as o,z as b,C as h,s as u,c as p,a as A,i as H,t as w,d as f,p as j,q as Y,e as E,o as Q,_ as m}from"./index-5dca7a6a.js";import{c as M,g as r,a as X}from"./api-2fe5baa7.js";const i=n=>(j("data-v-1f6203f4"),n=n(),Y(),n),L={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},x=f('<header class="app-header" data-v-1f6203f4><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0" data-v-1f6203f4><ul class="navbar-nav" data-v-1f6203f4><li class="nav-item d-block d-lg-none" data-v-1f6203f4><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)" data-v-1f6203f4><i class="ti ti-menu-2" data-v-1f6203f4></i></a></li><li class="nav-item d-none d-lg-block" data-v-1f6203f4><a href="index.html" class="text-nowrap nav-link" data-v-1f6203f4><img src="'+E+'" class="light-logo" width="180" alt="" data-v-1f6203f4></a></li></ul></nav></header>',1),G={class:"body-wrapper overflow-hidden"},k={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},P={class:"d-flex align-items-center justify-content-center w-100"},T={class:"row justify-content-center w-100"},R={class:"col-md-8 col-lg-8 col-xxl-8"},S={class:"card mb-0"},V={class:"card-body"},W=i(()=>A("h1",{class:"display-6 fs-7 mb-4 text-center"}," Select Website Layout ",-1)),N={class:"col-12 pb-5 text-center"},O={class:"radio-tile-group"},q={class:"input-container"},z=i(()=>A("div",{class:"radio-tile"},[A("div",{class:"icon walk-icon"},[A("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAACLCAYAAADcdC2rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8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J/8IsDednRfIpG4qp90CbB3dWkH/YnoSGeI7/XDJb21CbA32H7ZQvjRDhL5j2oU3+qH0wLsblf11qMhrL+B9A/gI1FBrVgSAgAAAABJRU5ErkJggg==",alt:""})])],-1)),U={class:"input-container"},F=i(()=>A("div",{class:"radio-tile"},[A("div",{class:"icon walk-icon"},[A("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAACLCAYAAAA+qDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAcLSURBVHgB7drbclNVGMDxL03aNGkTWlprWwuEDigIHnAGRh1HYYYLvXHwicQnUd/ANxAv9AIcYQYYULGUQ6H0TAtt0ySN37e6d/kop7RYJMn/N7OnSfbO7iHrn71WICEbVKvVgn45pVuXAI1rTrefEonEqH8wEd+IQvhet+MCNI8fdPsuDiMEEcXws24FAZrPqG4nLIqW6IFvhRjQvAqyNjuSRHR1uC4ACnaFOCUAzDcWBJ8mAWu6WgTAOoIAHIIAnFStBy4Vy7K0UpZGlGlLSSb97D9FpVIJG+pTMpkMWy1qD0JjmF0oSkPKyQuDKJVKgvpVaxBMmQCHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIOrY4tJy2PDfSck2Grt1U8Zu35TDHxyRbLbjsX0j1/6Wqcl7cuyTzwSbYxGcv3hVlvRrNtMe7h/96LDsyHXKVt1feCClUll6d3bJVk3NzElra+qlfo7/27YGYZKplMxOTz8WRLG4LLOz04KtuaAx2MB9Z18h3LeB+NvZC3Ly84/DgNyK8XtTIayXCeLW2HgIlCCe4403+mR8/I70DwyGOMzszIzk8zv066MoFhcfyo3rI7KiseTyXbKnsDccf+XyReno6AjHVioVebN/UN7atVsW5u/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D3K4S7749LMlky2PPieV1HdGebltbT7hzvC6SyWTYavBLolqtntYb377oyJkF/beDhaI0ou5cWnbmnj2lWNHgSqWSoD61trZKW1tbLYd+x3/dAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAJxUrQdm2vTQnDSk8Ls9RzKZFNSvzbx+tQeRToWtGdkflCiaA1MmwCEIwCEIwLEg5gSAmUtUq9WC3rguAPa2JBKJUb1xRoDm9oO1kLBb0VXiZ90KAjSfUd1OWBBhUR1dJU7o9qMAzeWMRDHYncTGvdHV4pRuXQI0Lvsw6ac4hNi/TvVOE3+UQFkAAAAASUVORK5CYII=",alt:""})])],-1)),J={class:"input-container"},Z=i(()=>A("div",{class:"radio-tile"},[A("div",{class:"icon walk-icon"},[A("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAACLCAYAAADcdC2rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAcySURBVHgB7d3rbhRlHMfx/+yhe2gLiAh4QKti1IgJmmiMMYoJifrGeAd6B14CcgdegpegL/WNvFETNEKiRlAOVVCKUiiltLvd3a7P7+E/TakUdrczC7TfTzJsZ3dmtiHPb57nP6cmtkK3290WXvaH6YABG9vxJEk+X/lGkv4QgvBxePkkTNsM2Bwmw3Q4hOIzzcQwhCAcshtBADajT0IgDichCBNh5qwBm9vbhfDPIQPwoXqGK0adAMwoDF0DYAUDEBEGwBEGwJV6XXBxcdGA+9HIyEhPy/UchlarZcD9qNcwMEwCHGEAHGEAHGEAXM8FNJCXQqEQpyRZvqNAV1Lb0tJSnIaFMOCuUMMvlUpWLpdN1wNdb7RM7b7jjb9SLlplpGzFQhIP6w8jGIQBQ6cQ6HDn3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nomvK/1r87O2XTYxu6dO+ylF5+z305N2p+hIcsxOxHfS3uf2bBsvV61V17aF7fxy6+nrBS+Q7+DtrHn0d1x+aPHfrbp6Znl31HvoT/UDH2a96HRamlj1XDnTAiCwnLwrRs9hRq1aBh0IfQAaqjvv3sgPkVu6p9L9sLze+2picds964dy41YPc3DYf69g2/Yk088Zt//+HN8fzGso+C8Gr5P21ePolBoXutrOwRhMIQhYxqqPBz2+Glg1CuosSoIoh4k/azm9cZqsX4IjV7DHa076iFLl3089AYKWRwSbRmjiM8Iw6Q+rVUTzIbGWqtWY6Nf2XOUSzeWb/XxLNE0OOnQSTQcSreFfPC/2yc1dDVW7bEf9GJXe+Yj3/wQhy31VXt7/Zzuxfv5Dtn33N6BC3L0j2FSn7R3fvaZiVgHaEik6ftQvD4VxvVqxBqzq7hVsax6IP3sTlQUq3fRutqOimt9h0J3MhTYR71muB2tp+/UNtA//ljJgDSGP3d+Kg5/VOiq8abUG6iIXv2ZGqmK5nT+Qmi4Cld6JOrk75PxyFEaHgUtDYfeUy+xcp10mS2hblB9cattoPc/VkIYsOH1GgaGSYAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAr9bpguVw2YCNLuoEBYJgEpAgD4AgD4BSGGQMwozB8YQA+19GkA+GHrw3Y3J4sJElyJPxw2IDN63DIwWSSzoUe4qPwcihMEwZsDqqXFYRPNZOs/jSE4oPwst+Aje1ImI6HICwfQPoPNyLYCTW3n80AAAAASUVORK5CYII=",alt:""})])],-1)),K=["disabled"],_=i(()=>A("i",{class:"ti ti-chevron-right fs-4 me-2"},null,-1)),$=y({__name:"chooseLayout",setup(n){const v=o(),a=o(!1),e=o("Continue"),d=b().params.id,D=h(),c=o(),I=o();u(()=>{M(),B()});async function B(){try{a.value=!0,e.value="Getting info...",(await r)("/color_swatches/").then(t=>{console.log(t.data),v.value=t.data,a.value=!1,e.value="Continue"}),r(`/create_site/sites/${d}/`).then(t=>{c.value=t.data.site_name,a.value=!1}).catch(()=>{a.value=!1,e.value="Failed. Refresh the page"})}catch(t){console.error(t)}}const g=async()=>{a.value=!0,e.value="loading",(await X)(`/create_site/sites/${d}/`,{site_name:c.value,layout:I.value}).then(t=>{t.data&&(D.push("branding"),a.value=!1)}).catch(()=>{a.value=!1,e.value="Failed. Try Again"}),console.log("alert")},l=t=>{I.value=t};return(t,s)=>(Q(),p("div",L,[x,A("div",G,[A("div",k,[A("div",P,[A("div",T,[A("div",R,[A("div",S,[A("div",V,[A("div",null,[W,A("div",N,[A("div",O,[A("div",q,[A("input",{id:"walk",class:"radio-button",type:"radio",name:"tools",onClick:s[0]||(s[0]=C=>l("top".toString()))}),z]),A("div",U,[A("input",{id:"walk",class:"radio-button",type:"radio",name:"tools",onClick:s[1]||(s[1]=C=>l("left".toString()))}),F]),A("div",J,[A("input",{id:"walk",class:"radio-button",type:"radio",name:"tools",onClick:s[2]||(s[2]=C=>l("float".toString()))}),Z])])]),A("button",{onClick:g,disabled:a.value,class:"btn btn-success w-100 py-8 mb-4 rounded-2"},[H(w(e.value)+" ",1),_],8,K)])])])])])])])])]))}});const eA=m($,[["__scopeId","data-v-1f6203f4"]]);export{eA as default};