1 line
676 B
Text
1 line
676 B
Text
|
{"version":3,"sources":["../../../../src/components/VDatePicker/util/isDateAllowed.ts"],"names":[],"mappings":"AAEA,eAAc,SAAU,aAAV,CAAyB,IAAzB,EAAuC,GAAvC,EAAoD,GAApD,EAAiE,SAAjE,EAA2G;AACvH,SAAO,CAAC,CAAC,SAAD,IAAc,SAAS,CAAC,IAAD,CAAxB,MACJ,CAAC,GAAD,IAAQ,IAAI,IAAI,GADZ,MAEJ,CAAC,GAAD,IAAQ,IAAI,IAAI,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":"","file":"isDateAllowed.js"}
|