}
}
-export const RouterLinkImpl = defineComponent({
+export const RouterLinkImpl = /*#__PURE__*/ defineComponent({
name: 'RouterLink',
props: {
to: {
* @param globalClass
* @param defaultClass
*/
-let getLinkClass = (
+const getLinkClass = (
propClass: string | undefined,
globalClass: string | undefined,
defaultClass: string
route?: RouteLocationNormalized
}
-export const RouterViewImpl = defineComponent({
+export const RouterViewImpl = /*#__PURE__*/ defineComponent({
name: 'RouterView',
props: {
name: {
NAVIGATION_DUPLICATED = 16,
}
-const NavigationFailureSymbol = PolySymbol(
+const NavigationFailureSymbol = /*#__PURE__*/ PolySymbol(
__DEV__ ? 'navigation failure' : 'nf'
)
: (__DEV__ ? '[vue-router]: ' : '_vr_') + name
// rvlm = Router View Location Matched
-export const matchedRouteKey = PolySymbol(
+export const matchedRouteKey = /*#__PURE__*/ PolySymbol(
__DEV__ ? 'router view location matched' : 'rvlm'
) as InjectionKey<ComputedRef<RouteRecordNormalized | undefined>>
// rvd = Router View Depth
-export const viewDepthKey = PolySymbol(
+export const viewDepthKey = /*#__PURE__*/ PolySymbol(
__DEV__ ? 'router view depth' : 'rvd'
) as InjectionKey<number>
// r = router
-export const routerKey = PolySymbol(__DEV__ ? 'router' : 'r') as InjectionKey<
- Router
->
+export const routerKey = /*#__PURE__*/ PolySymbol(
+ __DEV__ ? 'router' : 'r'
+) as InjectionKey<Router>
// rt = route location
-export const routeLocationKey = PolySymbol(
+export const routeLocationKey = /*#__PURE__*/ PolySymbol(
__DEV__ ? 'route location' : 'rl'
) as InjectionKey<RouteLocationNormalizedLoaded>