const e=require("../../vc-util/warning.js");let t=require("vue");function n(n,r){return(0,t.computed)(()=>n?.value?n.value:r?.value?(e.default(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(r.value).map(e=>{let t=r.value[e];return{label:e,value:typeof t==`function`?t():t}})):[])}exports.default=n;