@fy-/fws-vue 2.0.39 → 2.0.40

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {
package/types.d.ts CHANGED
@@ -63,3 +63,19 @@ declare module "vue" {
63
63
  ClientOnly: typeof ClientOnly;
64
64
  }
65
65
  }
66
+
67
+ declare module "@vue/runtime-core" {
68
+ export interface ComponentCustomProperties {
69
+ $t: typeof i18next.t;
70
+ $eventBus: Emitter<Events>;
71
+ $cropText: typeof cropText;
72
+ $formatBytes: typeof formatBytes;
73
+ $formatTimeago: typeof formatTimeago;
74
+ $formatDatetime: typeof formatDatetime;
75
+ $formatDate: typeof formatDate;
76
+ $getContrastingTextColor: typeof getContrastingTextColor;
77
+ }
78
+ export interface GlobalComponents {
79
+ ClientOnly: typeof ClientOnly;
80
+ }
81
+ }