import{d as O,P as d}from"./index.170379627897387.js";import{d as c,k as v,o as g,x as S,b,u as s,M as N,F as C}from"./vue.1703796278973.js";const U=c({name:"DoubleParamsDropdown"}),P=c({...U,props:{...O},emits:["update:value","update:source","select"],setup(f,{emit:t}){const p=f,r={0:void 0,1:void 0},l=v(p.value||[void 0,void 0]),n=v(p.source),i=(e,o,a)=>{t("update:value",l.value),r[a]=o,t("select",l.value,o,r)},m=e=>{t("update:source",e)};return(e,o)=>(g(),S(C,null,[b(d,{value:s(l)[0],"onUpdate:value":o[0]||(o[0]=a=>s(l)[0]=a),source:s(n),"onUpdate:source":o[1]||(o[1]=a=>N(n)?n.value=a:null),valueName:e.valueName,labelName:e.labelName,options:e.options,icon:e.icon,placeholder:e.placeholder,"tabs-options":e.tabsOptions,metricOptions:e.metricOptions,onSelect:o[2]||(o[2]=(a,u)=>i(a,u,0)),onTabChange:m},null,8,["value","source","valueName","labelName","options","icon","placeholder","tabs-options","metricOptions"]),b(d,{value:s(l)[1],"onUpdate:value":o[3]||(o[3]=a=>s(l)[1]=a),source:s(n),"onUpdate:source":o[4]||(o[4]=a=>N(n)?n.value=a:null),valueName:e.valueName,labelName:e.labelName,icon:e.icon,placeholder:e.placeholder,"tabs-options":e.tabsOptions,metricOptions:e.metricOptions,options:e.options,onSelect:o[5]||(o[5]=(a,u)=>i(a,u,1)),onTabChange:m},null,8,["value","source","valueName","labelName","icon","placeholder","tabs-options","metricOptions","options"])],64))}});export{P as _};
