{"version":3,"file":"segmented.mjs","sources":["../../../../../../packages/components/segmented/src/segmented.ts"],"sourcesContent":["import { buildProps } from '@ll-plus/utils'\r\nimport { ExtractPropTypes } from 'vue'\r\nimport Segmented from './segmented.vue'\r\n\r\nconst checkedStyle = ['white', 'blue']\r\n\r\n// props\r\nexport const segmentedProps = buildProps({\r\n  // 选中风格\r\n  checkedStyle: {\r\n    type: String,\r\n    values: checkedStyle,\r\n    default: 'blue',\r\n  },\r\n  // 开启悬浮效果\r\n  useHover: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n} as const)\r\n\r\n// props\r\nexport type SegmentedProps = ExtractPropTypes<typeof segmentedProps>\r\n\r\n// 导出segmented实列类型\r\nexport type SegmentedInstance = InstanceType<typeof Segmented>\r\n"],"names":[],"mappings":";;;;AAIA,MAAM,YAAA,GAAe,CAAC,OAAA,EAAS,MAAM,CAAA;AAG9B,MAAM,iBAAiB,UAAA,CAAW;AAAA;AAAA,EAEvC,YAAA,EAAc;AAAA,IACZ,IAAA,EAAM,MAAA;AAAA,IACN,MAAA,EAAQ,YAAA;AAAA,IACR,OAAA,EAAS;AAAA,GACX;AAAA;AAAA,EAEA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA;AAEb,CAAU;;;;"}