koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
3 lines (2 loc) • 420 B
JavaScript
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=(e,t,[a,l])=>{const n=new Date(e.getValue(t));return n.getTime()>=a.getTime()&&n.getTime()<=l.getTime()};r.resolveFilterValue=([e,t])=>[new Date(e),new Date(t)];const i=(e,t,[a,l])=>{const n=e.getValue(t)*100;return n>=a&&n<=l};exports.isInDateRange=r;exports.isInPercentRange=i;
//# sourceMappingURL=filterFns.cjs.map