let e=require("vue");var t=({defaultType:t,steps:n,current:r,defaultCurrent:i})=>{let a=(0,e.ref)(i?.value);(0,e.watch)((0,e.computed)(()=>r?.value),e=>{a.value=e??i?.value},{immediate:!0});let o=e=>{a.value=e},s=(0,e.computed)(()=>typeof a.value==`number`?n&&n.value?.[a.value]?.type:t?.value);return{currentMergedType:(0,e.computed)(()=>s.value??t?.value),updateInnerCurrent:o}};exports.default=t;