diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-04-04 05:43:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 05:43:41 +0300 |
commit | b507907a6e306c8e890c2926028e6bf01a3fd7b3 (patch) | |
tree | 0480f700de2c752fa71c7a9a6a04f2d934cc790e /plugins/CoreVue/types/index.d.ts | |
parent | 745f45fc4bf32f3803f42510147a05fda6c1d3f9 (diff) |
[Vue] migrate transitions plugin to Vue (#19005)
* migrate transition exporter to Vue
* migrate transition switcher to Vue
* get ui tests to pass locally + test manually
* compile vue entry components for dashboard widgets
* fix export in dashboard
* fix warning caused by empty translation key
Diffstat (limited to 'plugins/CoreVue/types/index.d.ts')
-rw-r--r-- | plugins/CoreVue/types/index.d.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index 4a0de71f22..fe19e74b40 100644 --- a/plugins/CoreVue/types/index.d.ts +++ b/plugins/CoreVue/types/index.d.ts @@ -187,6 +187,15 @@ declare global { formatCurrency(value?: number|string, currency: string): string; } + interface Transitions { + reset(actionType: string, actionName: string, overrideParams: string); + showPopover(showEmbeddedInReport: boolean): void; + } + + interface TransitionsGlobal { + new (actionType: string, actionName: string, rowAction: unknown|null, overrideParams: string): Transitions; + } + interface Window { angular: IAngularStatic; globalAjaxQueue: GlobalAjaxQueue; @@ -201,6 +210,7 @@ declare global { $: JQueryStatic; Piwik_Popover: PiwikPopoverGlobal; NumberFormatter: NumberFormatter; + Piwik_Transitions: TransitionsGlobal; _pk_translate(translationStringId: string, values: string[]): string; require(p: string): any; |