diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-03-21 03:56:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 03:56:59 +0300 |
commit | cd541083f351a2712e58fa83a2c54861a92c120e (patch) | |
tree | 77565759a0ca8cad23422c645a76c4a7a6b3cf57 /plugins/CoreVue/types/index.d.ts | |
parent | 53b56ded3e575a23bf42d17b867d934945c0e3d1 (diff) |
[Vue] migrate multisites plugin components to vue (#18939)
* migrate multisites site directive to vue
* migrate multisites dashboard service to store
* migrate evolution filter and migrate multisites dashboard directive to vue
* get to work in UI w/o error
* remove todo
* fixing UI tests
* add some spacing
* fix css tweak
* update expected screenshots
* correct href binding
* apply review feedback
* rebuild MultiSites
Diffstat (limited to 'plugins/CoreVue/types/index.d.ts')
-rw-r--r-- | plugins/CoreVue/types/index.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index 784ee26969..abef59d415 100644 --- a/plugins/CoreVue/types/index.d.ts +++ b/plugins/CoreVue/types/index.d.ts @@ -147,6 +147,7 @@ declare global { hasSuperUserAccess: boolean; language: string; cacheBuster: string; + numbers: Record<string, string>; updatePeriodParamsFromUrl(): void; updateDateInTitle(date: string, period: string): void; @@ -176,6 +177,12 @@ declare global { scrollToAnchorInUrl(): void; } + interface NumberFormatter { + formatNumber(value?: number|string): string; + formatPercent(value?: number|string): string; + formatCurrency(value?: number|string, currency: string): string; + } + interface Window { angular: IAngularStatic; globalAjaxQueue: GlobalAjaxQueue; @@ -189,6 +196,7 @@ declare global { anchorLinkFix: AnchorLinkFix; $: JQueryStatic; Piwik_Popover: PiwikPopoverGlobal; + NumberFormatter: NumberFormatter; _pk_translate(translationStringId: string, values: string[]): string; require(p: string): any; |