element-plus
Version:
A Component Library for Vue 3
1 lines • 1.45 kB
Source Map (JSON)
{"version":3,"file":"breadcrumb-item.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb-item.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type { RouteLocationRaw } from 'vue-router'\n\nexport interface BreadcrumbItemProps {\n /**\n * @description target route of the link, same as `to` of `vue-router`\n */\n to?: RouteLocationRaw\n /**\n * @description if `true`, the navigation will not leave a history record\n */\n replace?: boolean\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `BreadcrumbItemProps` instead.\n */\nexport const breadcrumbItemProps = buildProps({\n /**\n * @description target route of the link, same as `to` of `vue-router`\n */\n to: {\n type: definePropType<RouteLocationRaw>([String, Object]),\n default: '',\n },\n /**\n * @description if `true`, the navigation will not leave a history record\n */\n replace: Boolean,\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `BreadcrumbItemProps` instead.\n */\nexport type BreadcrumbItemPropsPublic = ExtractPublicPropTypes<\n typeof breadcrumbItemProps\n>\n"],"names":[],"mappings":";;AAmBO,MAAM,sBAAsB,UAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAI5C,EAAA,EAAI;AAAA,IACF,IAAA,EAAM,cAAA,CAAiC,CAAC,MAAA,EAAQ,MAAM,CAAC,CAAA;AAAA,IACvD,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,OAAA,EAAS;AACX,CAAU;;;;"}