{"version":3,"file":"navbar-item.mjs","sources":["../../../../../../packages/components/navbar/src/navbar-item.ts"],"sourcesContent":["import { buildProps, definePropType } from '@vuesax-alpha/utils'\nimport type { RouteLocationRaw } from 'vue-router'\nimport type { NavbarItem as _NavbarItem } from '@vuesax-alpha/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type NavbarItem from './navbar-item.vue'\n\nexport const navbarItemProps = buildProps({\n  /** @description Determines if the component is in active status. */\n  active: {\n    type: Boolean,\n  },\n\n  /** @description User-level route location, used for router-link */\n  to: {\n    type: definePropType<RouteLocationRaw>([String, Object]),\n  },\n\n  /**\n   * @description navbar-item options\n   */\n  link: {\n    type: definePropType<_NavbarItem>([Object]),\n  },\n\n  id: {\n    type: String,\n    required: true,\n  },\n} as const)\n\nexport type NavbarItemProps = ExtractPropTypes<typeof navbarItemProps>\n\nexport type NavbarItemInstance = InstanceType<typeof NavbarItem>\n"],"names":[],"mappings":";;;AAOO,MAAM,kBAAkB,UAAW,CAAA;AAAA,EAExC,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,GACR;AAAA,EAGA,EAAI,EAAA;AAAA,IACF,IAAM,EAAA,cAAA,CAAiC,CAAC,MAAA,EAAQ,MAAM,CAAC,CAAA;AAAA,GACzD;AAAA,EAKA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,cAAA,CAA4B,CAAC,MAAM,CAAC,CAAA;AAAA,GAC5C;AAAA,EAEA,EAAI,EAAA;AAAA,IACF,IAAM,EAAA,MAAA;AAAA,IACN,QAAU,EAAA,IAAA;AAAA,GACZ;AACF,CAAU;;;;"}