@fy-/fws-vue 2.0.41 → 2.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +6 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ import { Emitter } from "mitt";
|
|
|
10
10
|
import { Events } from "./composables/event-bus";
|
|
11
11
|
import i18next from "i18next";
|
|
12
12
|
import { ClientOnly } from "./components/ssr/ClientOnly";
|
|
13
|
+
import type { Route } from "vue-router";
|
|
14
|
+
import type VueRouter from "vue-router";
|
|
13
15
|
|
|
14
16
|
export interface BreadcrumbLink {
|
|
15
17
|
name: string;
|
|
@@ -59,6 +61,8 @@ declare module "vue" {
|
|
|
59
61
|
$formatDate: typeof formatDate;
|
|
60
62
|
$getContrastingTextColor: typeof getContrastingTextColor;
|
|
61
63
|
$formatNumber: (value: number) => string;
|
|
64
|
+
$router: VueRouter;
|
|
65
|
+
$route: Route;
|
|
62
66
|
}
|
|
63
67
|
export interface GlobalComponents {
|
|
64
68
|
ClientOnly: typeof ClientOnly;
|
|
@@ -76,6 +80,8 @@ declare module "@vue/runtime-core" {
|
|
|
76
80
|
$formatDate: typeof formatDate;
|
|
77
81
|
$getContrastingTextColor: typeof getContrastingTextColor;
|
|
78
82
|
$formatNumber: (value: number) => string;
|
|
83
|
+
$router: VueRouter;
|
|
84
|
+
$route: Route;
|
|
79
85
|
}
|
|
80
86
|
export interface GlobalComponents {
|
|
81
87
|
ClientOnly: typeof ClientOnly;
|