{"version":3,"file":"props.cjs","sources":["../../../components/breadcrumb/props.ts"],"sourcesContent":["import { booleanProp, buildProps, eventProp, wrapProps } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { Router } from 'vue-router'\nimport type { ConfigurableProps, EventListener } from '@vexip-ui/config'\nimport type { BreadcrumbOptions, BreadcrumbSlots, SelectEvent } from './symbol'\n\nexport const breadcrumbProps = buildProps({\n  separator: String,\n  border: booleanProp,\n  options: Array as PropType<(string | BreadcrumbOptions)[]>,\n  router: Object as PropType<Router>,\n  slots: Object as PropType<BreadcrumbSlots>,\n  onSelect: eventProp<EventListener<SelectEvent>>(),\n  onSeparatorClick: eventProp<EventListener<SelectEvent>>(),\n})\n\nexport type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>\nexport type BreadcrumbCProps = ConfigurableProps<BreadcrumbProps>\n\nexport const breadcrumbItemProps = wrapProps({\n  label: {\n    type: [String, Number],\n    default: null,\n  },\n  onSelect: eventProp<EventListener<SelectEvent>>(),\n  onSeparatorClick: eventProp<EventListener<SelectEvent>>(),\n})\n\nexport type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>\n"],"names":["breadcrumbProps","buildProps","booleanProp","eventProp","breadcrumbItemProps","wrapProps"],"mappings":"oHAOaA,EAAkBC,EAAAA,WAAW,CACxC,UAAW,OACX,OAAQC,EAAA,YACR,QAAS,MACT,OAAQ,OACR,MAAO,OACP,SAAUC,EAAAA,UAAsC,EAChD,iBAAkBA,EAAsC,UAAA,CAC1D,CAAC,EAKYC,EAAsBC,EAAAA,UAAU,CAC3C,MAAO,CACL,KAAM,CAAC,OAAQ,MAAM,EACrB,QAAS,IACX,EACA,SAAUF,EAAAA,UAAsC,EAChD,iBAAkBA,EAAsC,UAAA,CAC1D,CAAC"}