{"version":3,"file":"validator.mjs","sources":["../../../../packages/utils/vue/validator.ts"],"sourcesContent":["import {\n  componentSizes,\n  datePickTypes,\n  type DatePickType\n} from '@element-ultra/shared'\nimport type { ComponentSize } from '@element-ultra/shared'\n\nexport const isValidComponentSize = (val: string): val is ComponentSize | '' =>\n  ['', ...componentSizes].includes(val)\n\nexport const isValidDatePickType = (val: any): val is DatePickType =>\n  datePickTypes.has(val)\n"],"names":[],"mappings":";;;;AAOa,MAAA,oBAAA,GAAuB,CAAC,GACnC,KAAA,CAAC,IAAI,GAAG,cAAc,CAAE,CAAA,QAAA,CAAS,GAAG,EAAA;AAE/B,MAAM,mBAAsB,GAAA,CAAC,GAClC,KAAA,aAAA,CAAc,IAAI,GAAG;;;;"}