/
index.d.ts
53 lines (42 loc) · 1003 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
declare module "@reside-ic/vue-maps" {
}
import Vue from "vue";
export declare class BubblePlot extends Vue {
}
export type Dict<V> = { [k: string]: V }
export interface LevelLabel {
id: number;
area_level_label: string;
display: boolean;
}
export interface IndicatorMetadata {
indicator: string;
value_column: string;
indicator_column?: string;
indicator_value?: string;
name: string;
min: number;
max: number;
colour: string;
invert_scale: boolean;
}
export interface FilterOption {
label: string;
id: string;
}
export interface Filter extends FilterOption {
column_id: string,
options: FilterOption[]
}
export interface BubblePlotLabels {
filtersLabel: string,
colorIndicatorLabel: string,
sizeIndicatorLabel: string,
detailLabel: string
}
export interface BubblePlotSelections {
colorIndicatorId: string,
sizeIndicatorId: string,
selectedFilterOptions: Dict<FilterOption[]>,
detail: number
}