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