1 |
- {"version":3,"sources":["../../../../src/components/VDatePicker/util/isDateAllowed.ts"],"names":[],"mappings":";;;;;kBAEwB,a;AAAV,SAAU,aAAV,CAAyB,IAAzB,EAAuC,GAAvC,EAAoD,GAApD,EAAiE,SAAjE,EAA2G;AACvH,WAAO,CAAC,CAAC,SAAD,IAAc,UAAU,IAAV,CAAf,MACJ,CAAC,GAAD,IAAQ,QAAQ,GADZ,MAEJ,CAAC,GAAD,IAAQ,QAAQ,GAFZ,CAAP;AAGD","sourcesContent":["export type AllowedDateFunction = (date: string) => boolean\n\nexport default function isDateAllowed (date: string, min: string, max: string, allowedFn: AllowedDateFunction | undefined) {\n return (!allowedFn || allowedFn(date)) &&\n (!min || date >= min) &&\n (!max || date <= max)\n}\n"],"sourceRoot":""}
|