{"version":3,"file":"select.mjs","sources":["../../../../../../packages/components/select/src/select.ts"],"sourcesContent":["import { buildProps, definePropType } from \"@xplus/utils/props\";\nimport { useSizeProp } from \"@xplus/hooks\";\nimport type { ExtractPropTypes } from \"vue\";\n\nexport const selectProps = buildProps({\n  options: {\n    type: definePropType<Record<string, any>[]>(Array),\n  },\n  labelKey: {\n    type: String,\n    default: \"text\",\n  },\n  valueKey: {\n    type: String,\n    default: \"id\",\n  },\n  size: useSizeProp,\n} as const);\n\nexport type SelectProps = ExtractPropTypes<typeof selectProps>;\n"],"names":[],"mappings":";;;;AAEY,MAAC,WAAW,GAAG,UAAU,CAAC;AACtC,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,IAAI,EAAE,WAAW;AACnB,CAAC;;;;"}