import{computed as a}from"vue";import s from"../../vc-util/warning.mjs";function l(t,e){return a(()=>t?.value?t.value:e?.value?(s(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(e.value).map(n=>{const r=e.value[n],u=typeof r=="function"?r():r;return{label:n,value:u}})):[])}export{l as default};
