import{d as n,o as c,P as d,g as v,f as m,h as u,b5 as b,k as f}from"./index-D92x6h1h.js";import{I as g}from"./IdnodeConfigForm-BL6DOswR.js";const k=n({__name:"ServiceMapperDialog",props:{visible:{type:Boolean},preselect:{}},emits:["update:visible","started"],setup(s,{emit:l}){const r=s,e=l,a=f({get:()=>r.visible,set:t=>e("update:visible",t)});function o(){e("started"),e("update:visible",!1)}return(t,i)=>(c(),d(u(b),{visible:a.value,"onUpdate:visible":i[0]||(i[0]=p=>a.value=p),modal:"",closable:!0,draggable:!1,"dismissable-mask":!0,header:"Map Services to Channels",class:"service-mapper-dialog",style:{width:"560px",maxWidth:"calc(100vw - 32px)",maxHeight:"90vh"},breakpoints:{"768px":"100vw"}},{default:v(()=>[m(g,{"load-endpoint":"service/mapper/load","save-endpoint":"service/mapper/save","save-label":"Map services","save-tooltip":"Start mapping the selected services to channels.",preselect:s.preselect,"always-dirty":!0,onSaved:o},null,8,["preselect"])]),_:1},8,["visible"]))}});export{k as _};
