-
Notifications
You must be signed in to change notification settings - Fork 326
/
AddNewServices-b971b2a3.js
7 lines (7 loc) 路 2.13 KB
/
AddNewServices-b971b2a3.js
1
2
3
4
5
6
7
import{O as w,a as y,b as h}from"./OnboardingPage-ee04fe47.js";import{d as _,o as m,j as S,R as B,y as C,q as v,r as c,g as k,w as t,h as n,l as a,m as e,B as A,C as N}from"./index-213666ad.js";const R=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,V=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,I=_({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:d}){const i=o;return(r,s)=>(m(),S("div",{class:C(["box",{"box--active":i.active}]),"data-testid":"box",onClick:s[0]||(s[0]=l=>d("clicked"))},[B(r.$slots,"default",{},void 0,!0)],2))}});const p=v(I,[["__scopeId","data-v-9846ff30"]]),u=o=>(A("data-v-c81d235d"),o=o(),N(),o),$={class:"service-mode-list"},O=u(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},`
Demo app
`),a(),e("p",null,"Counter application")],-1)),T=u(()=>e("div",{class:"service-box-content"},[e("img",{src:V}),a(),e("p",{class:"service-mode-title"},`
Manually
`),a(),e("p",null,"After this wizard")],-1)),q=_({__name:"AddNewServices",props:{mode:{}},emits:["change"],setup(o,{emit:d}){const i=o;return(r,s)=>{const l=c("RouteTitle"),f=c("AppView"),g=c("RouteView");return m(),k(g,{name:"onboarding-add-services"},{default:t(({t:b})=>[n(l,{title:b("onboarding.routes.add-services.title")},null,8,["title"]),a(),n(f,null,{default:t(()=>[n(w,null,{header:t(()=>[n(y,null,{title:t(()=>[a(`
Add services
`)]),_:1})]),content:t(()=>[e("div",$,[n(p,{"data-testid":"onboarding-demo",active:i.mode==="demo",onClicked:s[0]||(s[0]=x=>d("change","demo"))},{default:t(()=>[O]),_:1},8,["active"]),a(),n(p,{"data-testid":"onboarding-manually",active:i.mode==="manually",onClicked:s[1]||(s[1]=x=>d("change","manually"))},{default:t(()=>[T]),_:1},8,["active"])])]),navigation:t(()=>[n(h,{"next-step":i.mode==="manually"?"onboarding-completed":"onboarding-add-services-code","previous-step":"onboarding-create-mesh"},null,8,["next-step"])]),_:1})]),_:1})]),_:1})}}});const U=v(q,[["__scopeId","data-v-c81d235d"]]);export{U as default};