UNPKG

@vuesax-alpha/nightly

Version:
1 lines 936 B
{"version":3,"file":"navbar.mjs","sources":["../../../../packages/tokens/navbar.ts"],"sourcesContent":["import type { ComputedRef, InjectionKey } from 'vue'\n\nexport type NavbarRegisterContext = (id: string) => {\n unregister: () => void\n onClick: () => void\n isActive: ComputedRef<boolean>\n}\n\nexport const navbarRegisterContextKey: InjectionKey<NavbarRegisterContext> =\n Symbol('navbar-register')\n\nexport type NavbarContextKey = {\n modelValue: ComputedRef<string | undefined>\n}\n\nexport const navbarContextKey: InjectionKey<NavbarContextKey> = Symbol('navbar')\n\nexport type NavbarGroupRegisterContext = (id: string) => {\n unregister: () => void\n}\n\nexport const navbarGroupRegisterContextKey: InjectionKey<NavbarGroupRegisterContext> =\n Symbol('navbar-group-register')\n"],"names":[],"mappings":"AAQa,MAAA,wBAAA,GACX,OAAO,iBAAiB,EAAA;AAMb,MAAA,gBAAA,GAAmD,OAAO,QAAQ,EAAA;AAMlE,MAAA,6BAAA,GACX,OAAO,uBAAuB;;;;"}