@redus/georedus-ui 0.8.9 → 0.10.0
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/CHANGELOG.md +27 -0
- package/dist/index.d.ts +2 -0
- package/dist/main.js +8428 -4856
- package/dist/viewSpecs/basemaps/dataviz/index.d.ts +53 -0
- package/dist/viewSpecs/basemaps/index.d.ts +2 -0
- package/dist/viewSpecs/basemaps/satellite/index.d.ts +53 -0
- package/dist/viewSpecs/basemaps/util/br_municipios/index.d.ts +39 -0
- package/dist/viewSpecs/basemaps/util/maptiler/index.d.ts +20 -0
- package/dist/viewSpecs/basemaps/util/maptiler/maptiler-dataviz-map-style.d.ts +2044 -0
- package/dist/viewSpecs/basemaps/util/maptiler/maptiler-satellite-map-style.d.ts +588 -0
- package/dist/viewSpecs/development/ana_br_bacias_hidrograficas.d.ts +24 -0
- package/dist/viewSpecs/development/br_divisao_territorial.d.ts +65 -0
- package/dist/viewSpecs/development/curvatura.d.ts +41 -0
- package/dist/viewSpecs/development/declividade.d.ts +67 -0
- package/dist/viewSpecs/development/hand.d.ts +83 -0
- package/dist/viewSpecs/development/index.d.ts +8 -0
- package/dist/viewSpecs/development/overture_places_poc.d.ts +32 -0
- package/dist/viewSpecs/development/redus_mutirao_cop_2025.d.ts +94 -0
- package/dist/viewSpecs/development/temperatura_superficie.d.ts +86 -0
- package/dist/viewSpecs/index.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/buildings/index.d.ts +65 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/chartUtil.d.ts +26 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/confSchema.d.ts +87 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/customGeoJSON/index.d.ts +93 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/dataUtil.d.ts +13 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/download.d.ts +11 -0
- package/dist/viewSpecs/presets/{cem_censo_2010_2022 → cem_censo/2010_2022}/index.d.ts +5 -117
- package/dist/viewSpecs/presets/cem_censo/2010_2022/metadata.d.ts +67 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/parseSchema.d.ts +13 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/setor_censitario/index.d.ts +71 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/constants.d.ts +2 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/index.d.ts +31 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/index.d.ts +35 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/metadata.d.ts +12 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/municipio.d.ts +34 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/buildings.d.ts +51 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/customGeoJson.d.ts +104 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/index.d.ts +205 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/defaultMetadata.d.ts +11 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/index.d.ts +10 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/util.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/setor_censitario.d.ts +112 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/index.d.ts +36 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/metadata.d.ts +12 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/municipio.d.ts +35 -0
- package/dist/viewSpecs/presets/cem_censo/2022/index.d.ts +130 -0
- package/dist/viewSpecs/presets/index.d.ts +2 -1
- package/dist/viewSpecs/resolveView/resolveView.d.ts +4 -4
- package/dist/viewSpecs/resolveView/tmp_resolveView.future.d.ts +1 -1
- package/dist/viewSpecs/zIndexes.d.ts +4 -0
- package/package.json +17 -12
- package/dist/DevControls/importViewSpecsFromCsv/index.d.ts +0 -6
- /package/dist/GeoReDUS/{useMapStyle.d.ts → _useMapStyle.d.ts} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export function curvatura({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
2
|
+
RASTER_TILE_SERVER_ENDPOINT: any;
|
|
3
|
+
mosaicJsonUrl: any;
|
|
4
|
+
}): {
|
|
5
|
+
viewType: string;
|
|
6
|
+
collection_id: string;
|
|
7
|
+
indicator_id: string;
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
path: string;
|
|
11
|
+
confSchema: {
|
|
12
|
+
data: {};
|
|
13
|
+
};
|
|
14
|
+
metadata: {};
|
|
15
|
+
sources: {
|
|
16
|
+
curvatura: {
|
|
17
|
+
minzoom: number;
|
|
18
|
+
maxzoom: number;
|
|
19
|
+
type: string;
|
|
20
|
+
tiles: {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
$$resolver: symbol;
|
|
23
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
24
|
+
dependencies: any;
|
|
25
|
+
value: (...args: any[]) => any;
|
|
26
|
+
defaultValue?: any;
|
|
27
|
+
context?: any;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
layers: {
|
|
32
|
+
curvatura: {
|
|
33
|
+
minzoom: number;
|
|
34
|
+
type: string;
|
|
35
|
+
source: string;
|
|
36
|
+
paint: {
|
|
37
|
+
'raster-opacity': number;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export function declividade({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
2
|
+
RASTER_TILE_SERVER_ENDPOINT: any;
|
|
3
|
+
mosaicJsonUrl: any;
|
|
4
|
+
}): {
|
|
5
|
+
viewType: string;
|
|
6
|
+
collection_id: string;
|
|
7
|
+
indicator_id: string;
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
path: string;
|
|
11
|
+
confSchema: {
|
|
12
|
+
data: {
|
|
13
|
+
declividadeRange: {
|
|
14
|
+
type: string;
|
|
15
|
+
defaultValue: number[];
|
|
16
|
+
step: number;
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
|
+
label: {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
$$resolver: symbol;
|
|
22
|
+
context?: any;
|
|
23
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
24
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
25
|
+
value: any;
|
|
26
|
+
};
|
|
27
|
+
helperText: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
metadata: {};
|
|
32
|
+
sources: {
|
|
33
|
+
declividade: {
|
|
34
|
+
minzoom: number;
|
|
35
|
+
maxzoom: number;
|
|
36
|
+
type: string;
|
|
37
|
+
tiles: {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
$$resolver: symbol;
|
|
40
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
41
|
+
dependencies: any;
|
|
42
|
+
value: (...args: any[]) => any;
|
|
43
|
+
defaultValue?: any;
|
|
44
|
+
context?: any;
|
|
45
|
+
}[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
layers: {
|
|
49
|
+
declividade: {
|
|
50
|
+
minzoom: number;
|
|
51
|
+
type: string;
|
|
52
|
+
source: string;
|
|
53
|
+
paint: {
|
|
54
|
+
'raster-opacity': number;
|
|
55
|
+
};
|
|
56
|
+
legends: {
|
|
57
|
+
type: string;
|
|
58
|
+
title: string;
|
|
59
|
+
items: {
|
|
60
|
+
color: string;
|
|
61
|
+
label: string;
|
|
62
|
+
range: number[];
|
|
63
|
+
}[];
|
|
64
|
+
}[];
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export function hand({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
2
|
+
RASTER_TILE_SERVER_ENDPOINT: any;
|
|
3
|
+
mosaicJsonUrl: any;
|
|
4
|
+
}): {
|
|
5
|
+
viewType: string;
|
|
6
|
+
collection_id: string;
|
|
7
|
+
indicator_id: string;
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
path: string;
|
|
11
|
+
confSchema: {
|
|
12
|
+
data: {
|
|
13
|
+
handValue: {
|
|
14
|
+
type: string;
|
|
15
|
+
defaultValue: number;
|
|
16
|
+
step: number;
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
|
+
label: {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
$$resolver: symbol;
|
|
22
|
+
context?: any;
|
|
23
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
24
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
25
|
+
value: any;
|
|
26
|
+
};
|
|
27
|
+
helperText: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
metadata: {};
|
|
32
|
+
sources: {
|
|
33
|
+
hand: {
|
|
34
|
+
type: string;
|
|
35
|
+
minzoom: number;
|
|
36
|
+
maxzoom: number;
|
|
37
|
+
tiles: {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
$$resolver: symbol;
|
|
40
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
41
|
+
dependencies: any;
|
|
42
|
+
value: (...args: any[]) => any;
|
|
43
|
+
defaultValue?: any;
|
|
44
|
+
context?: any;
|
|
45
|
+
}[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
layers: {
|
|
49
|
+
hand: {
|
|
50
|
+
minzoom: number;
|
|
51
|
+
type: string;
|
|
52
|
+
source: string;
|
|
53
|
+
paint: {
|
|
54
|
+
'raster-opacity': number;
|
|
55
|
+
};
|
|
56
|
+
legends: {
|
|
57
|
+
type: string;
|
|
58
|
+
title: string;
|
|
59
|
+
unit: string;
|
|
60
|
+
numberUnit: string;
|
|
61
|
+
colors: {
|
|
62
|
+
[x: string]: any;
|
|
63
|
+
$$resolver: symbol;
|
|
64
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
65
|
+
dependencies: any;
|
|
66
|
+
value: (...args: any[]) => any;
|
|
67
|
+
defaultValue?: any;
|
|
68
|
+
context?: any;
|
|
69
|
+
};
|
|
70
|
+
domain: {
|
|
71
|
+
[x: string]: any;
|
|
72
|
+
$$resolver: symbol;
|
|
73
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
74
|
+
dependencies: any;
|
|
75
|
+
value: (...args: any[]) => any;
|
|
76
|
+
defaultValue?: any;
|
|
77
|
+
context?: any;
|
|
78
|
+
};
|
|
79
|
+
barHeight: number;
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./ana_br_bacias_hidrograficas";
|
|
2
|
+
export * from "./br_divisao_territorial";
|
|
3
|
+
export * from "./curvatura";
|
|
4
|
+
export * from "./declividade";
|
|
5
|
+
export * from "./hand";
|
|
6
|
+
export * from "./overture_places_poc";
|
|
7
|
+
export * from "./redus_mutirao_cop_2025";
|
|
8
|
+
export * from "./temperatura_superficie";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function overture_places_poc({ VECTOR_TILE_SERVER_ENDPOINT }: {
|
|
2
|
+
VECTOR_TILE_SERVER_ENDPOINT: any;
|
|
3
|
+
}): {
|
|
4
|
+
collection_id: string;
|
|
5
|
+
indicator_id: string;
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
sourceLabel: string;
|
|
9
|
+
path: string;
|
|
10
|
+
metadata: {};
|
|
11
|
+
sources: {
|
|
12
|
+
atividade_comercial: {
|
|
13
|
+
type: string;
|
|
14
|
+
tiles: string[];
|
|
15
|
+
minzoom: number;
|
|
16
|
+
maxzoom: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
layers: {
|
|
20
|
+
atividade_comercial: {
|
|
21
|
+
source: string;
|
|
22
|
+
'source-layer': string;
|
|
23
|
+
filter: (string | string[])[];
|
|
24
|
+
type: string;
|
|
25
|
+
paint: {
|
|
26
|
+
'circle-radius': number;
|
|
27
|
+
'circle-color': string;
|
|
28
|
+
'circle-opacity': (string | number | string[])[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export function redus_mutirao_cop_2025(conf: any): {
|
|
2
|
+
collection_id: string;
|
|
3
|
+
indicator_id: string;
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
path: string;
|
|
7
|
+
metadata: {};
|
|
8
|
+
sources: {
|
|
9
|
+
"redus_mutirao_cop_2025.geom": {
|
|
10
|
+
type: string;
|
|
11
|
+
minzoom: number;
|
|
12
|
+
tiles: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
layers: {
|
|
16
|
+
"redus_mutirao_cop_2025.geom_symbols": {
|
|
17
|
+
type: string;
|
|
18
|
+
source: string;
|
|
19
|
+
zIndex: number;
|
|
20
|
+
'source-layer': string;
|
|
21
|
+
minzoom: number;
|
|
22
|
+
layout: {
|
|
23
|
+
'icon-image': (string | string[])[];
|
|
24
|
+
'icon-size': (string | number | string[])[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
"redus_mutirao_cop_2025.geom_circles": {
|
|
28
|
+
zIndex: number;
|
|
29
|
+
source: string;
|
|
30
|
+
'source-layer': string;
|
|
31
|
+
minzoom: number;
|
|
32
|
+
type: string;
|
|
33
|
+
paint: {
|
|
34
|
+
'circle-opacity': number;
|
|
35
|
+
'circle-radius': (string | number | string[])[];
|
|
36
|
+
'circle-stroke-width': number;
|
|
37
|
+
'circle-stroke-color': string;
|
|
38
|
+
'circle-color': any[];
|
|
39
|
+
};
|
|
40
|
+
interactive: boolean;
|
|
41
|
+
onClick: (feature: any, e: any, context: any) => Promise<void>;
|
|
42
|
+
tooltip: {
|
|
43
|
+
title: {
|
|
44
|
+
[x: string]: any;
|
|
45
|
+
$$resolver: symbol;
|
|
46
|
+
context?: any;
|
|
47
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
48
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
49
|
+
value: any;
|
|
50
|
+
};
|
|
51
|
+
entries: ({
|
|
52
|
+
[x: string]: any;
|
|
53
|
+
$$resolver: symbol;
|
|
54
|
+
context?: any;
|
|
55
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
56
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
57
|
+
value: any;
|
|
58
|
+
} | (string | (string | string[])[])[])[];
|
|
59
|
+
};
|
|
60
|
+
legends: {
|
|
61
|
+
type: string;
|
|
62
|
+
title: string;
|
|
63
|
+
unit: string;
|
|
64
|
+
items: ({
|
|
65
|
+
box: {
|
|
66
|
+
children: "" | import("react").JSX.Element | null;
|
|
67
|
+
style: {
|
|
68
|
+
borderRadius: string;
|
|
69
|
+
borderColor: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
color: any;
|
|
75
|
+
iconPath: string;
|
|
76
|
+
icon: string;
|
|
77
|
+
} | {
|
|
78
|
+
box: {
|
|
79
|
+
children: "" | import("react").JSX.Element | null;
|
|
80
|
+
style: {
|
|
81
|
+
borderRadius: string;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
label: string;
|
|
86
|
+
value: string;
|
|
87
|
+
color: any;
|
|
88
|
+
iconPath: null;
|
|
89
|
+
icon: string;
|
|
90
|
+
})[];
|
|
91
|
+
}[];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export function temperatura_superficie({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl, }: {
|
|
2
|
+
RASTER_TILE_SERVER_ENDPOINT: any;
|
|
3
|
+
mosaicJsonUrl: any;
|
|
4
|
+
}): {
|
|
5
|
+
viewType: string;
|
|
6
|
+
collection_id: string;
|
|
7
|
+
indicator_id: string;
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
year: string;
|
|
11
|
+
path: string;
|
|
12
|
+
confSchema: {
|
|
13
|
+
data: {
|
|
14
|
+
temperaturaRange: {
|
|
15
|
+
type: string;
|
|
16
|
+
defaultValue: number[];
|
|
17
|
+
step: number;
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
label: {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
$$resolver: symbol;
|
|
23
|
+
context?: any;
|
|
24
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
25
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
26
|
+
value: any;
|
|
27
|
+
};
|
|
28
|
+
helperText: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
metadata: {};
|
|
33
|
+
sources: {
|
|
34
|
+
temperatura_superficie: {
|
|
35
|
+
minzoom: number;
|
|
36
|
+
maxzoom: number;
|
|
37
|
+
type: string;
|
|
38
|
+
tiles: {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
$$resolver: symbol;
|
|
41
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
42
|
+
dependencies: any;
|
|
43
|
+
value: (...args: any[]) => any;
|
|
44
|
+
defaultValue?: any;
|
|
45
|
+
context?: any;
|
|
46
|
+
}[];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
layers: {
|
|
50
|
+
temperatura_superficie: {
|
|
51
|
+
minzoom: number;
|
|
52
|
+
type: string;
|
|
53
|
+
source: string;
|
|
54
|
+
paint: {
|
|
55
|
+
'raster-opacity': number;
|
|
56
|
+
};
|
|
57
|
+
legends: {
|
|
58
|
+
type: string;
|
|
59
|
+
title: string;
|
|
60
|
+
unit: string;
|
|
61
|
+
numberUnit: string;
|
|
62
|
+
colors: {
|
|
63
|
+
[x: string]: any;
|
|
64
|
+
$$resolver: symbol;
|
|
65
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
66
|
+
dependencies: any;
|
|
67
|
+
value: (...args: any[]) => any;
|
|
68
|
+
defaultValue?: any;
|
|
69
|
+
context?: any;
|
|
70
|
+
};
|
|
71
|
+
domain: {
|
|
72
|
+
[x: string]: any;
|
|
73
|
+
$$resolver: symbol;
|
|
74
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
75
|
+
dependencies: any;
|
|
76
|
+
value: (...args: any[]) => any;
|
|
77
|
+
defaultValue?: any;
|
|
78
|
+
context?: any;
|
|
79
|
+
};
|
|
80
|
+
barDirection: string;
|
|
81
|
+
barWidth: string;
|
|
82
|
+
barHeight: number;
|
|
83
|
+
}[];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export function buildings(viewSpec: any, allViewSpecs: any, context: any, { CHART_UTIL, DATA_UTIL, PARSED_SCHEMA }: {
|
|
2
|
+
CHART_UTIL: any;
|
|
3
|
+
DATA_UTIL: any;
|
|
4
|
+
PARSED_SCHEMA: any;
|
|
5
|
+
}): {
|
|
6
|
+
sources: {
|
|
7
|
+
[x: string]: {
|
|
8
|
+
type: string;
|
|
9
|
+
attribution: any;
|
|
10
|
+
minzoom: number;
|
|
11
|
+
maxzoom: number;
|
|
12
|
+
bounds: {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
$$resolver: symbol;
|
|
15
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
16
|
+
dependencies: any;
|
|
17
|
+
value: (...args: any[]) => any;
|
|
18
|
+
defaultValue?: any;
|
|
19
|
+
context?: any;
|
|
20
|
+
};
|
|
21
|
+
tiles: {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
$$resolver: symbol;
|
|
24
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
25
|
+
dependencies: any;
|
|
26
|
+
value: (...args: any[]) => any;
|
|
27
|
+
defaultValue?: any;
|
|
28
|
+
context?: any;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
layers: {
|
|
33
|
+
[x: string]: {
|
|
34
|
+
hidden: (string | (string | string[])[])[];
|
|
35
|
+
interactive: boolean;
|
|
36
|
+
source: string;
|
|
37
|
+
'source-layer': string;
|
|
38
|
+
type: string;
|
|
39
|
+
minzoom: number;
|
|
40
|
+
paint: {
|
|
41
|
+
'fill-color': (string | (string | (string | number | (string | string[])[])[])[][])[] | (string | (string | (string | string[])[])[] | (string | (string | (string | number | (string | string[])[])[])[][])[])[];
|
|
42
|
+
'fill-opacity': number;
|
|
43
|
+
'fill-extrusion-color'?: undefined;
|
|
44
|
+
'fill-extrusion-opacity'?: undefined;
|
|
45
|
+
'fill-extrusion-height'?: undefined;
|
|
46
|
+
};
|
|
47
|
+
} | {
|
|
48
|
+
hidden: (string | (string | string[])[])[];
|
|
49
|
+
interactive: boolean;
|
|
50
|
+
source: string;
|
|
51
|
+
'source-layer': string;
|
|
52
|
+
type: string;
|
|
53
|
+
minzoom: number;
|
|
54
|
+
paint: {
|
|
55
|
+
'fill-extrusion-color': (string | (string | (string | number | (string | string[])[])[])[][])[] | (string | (string | (string | string[])[])[] | (string | (string | (string | number | (string | string[])[])[])[][])[])[];
|
|
56
|
+
'fill-extrusion-opacity': number;
|
|
57
|
+
'fill-extrusion-height': (string | number | (string | number | string[])[])[];
|
|
58
|
+
"fill-color"?: undefined;
|
|
59
|
+
"fill-opacity"?: undefined;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export const BUILDINGS_MIN_ZOOM: 14;
|
|
65
|
+
export const BUILDINGS_3D_MIN_ZOOM: 16;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function chartUtil(viewSpec: any, allViewSpecs: any, context: any): {
|
|
2
|
+
NUMBER_FMT: (string | (string | string[])[] | (string | {
|
|
3
|
+
style: string;
|
|
4
|
+
})[] | {}[])[];
|
|
5
|
+
_color_scheme: any;
|
|
6
|
+
_legends: {
|
|
7
|
+
type: string;
|
|
8
|
+
title: (string | string[])[];
|
|
9
|
+
unit: (string | string[])[];
|
|
10
|
+
steps: (string | (string | (string | string[])[])[])[];
|
|
11
|
+
format: {
|
|
12
|
+
number: (string | (string | string[])[] | (string | {
|
|
13
|
+
style: string;
|
|
14
|
+
})[] | {}[])[];
|
|
15
|
+
below: string;
|
|
16
|
+
above: (string | (string | string[])[] | null)[];
|
|
17
|
+
};
|
|
18
|
+
__filterFeaturesForStep: (stepInfo: any, features: any) => any;
|
|
19
|
+
}[];
|
|
20
|
+
_variableValueTooltipEntry: (string | (string | (string | (string | string[])[])[] | {
|
|
21
|
+
number: (string | (string | string[])[] | (string | {
|
|
22
|
+
style: string;
|
|
23
|
+
})[] | {}[])[];
|
|
24
|
+
})[])[][];
|
|
25
|
+
};
|
|
26
|
+
export const INSUFFICIENT_DATA_COLOR: "red";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export function confSchema(viewSpec: any, allViewSpecs: any, context: any, { PARSED_SCHEMA }: {
|
|
2
|
+
PARSED_SCHEMA: any;
|
|
3
|
+
}): {
|
|
4
|
+
data: {
|
|
5
|
+
variableId: {
|
|
6
|
+
label: string;
|
|
7
|
+
type: string;
|
|
8
|
+
options: any;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
clearable: boolean;
|
|
11
|
+
defaultValue: any;
|
|
12
|
+
};
|
|
13
|
+
customSpatialAggregationUnit: {
|
|
14
|
+
type: string;
|
|
15
|
+
label: string;
|
|
16
|
+
helperText: string;
|
|
17
|
+
};
|
|
18
|
+
pointsDisplayMode: {
|
|
19
|
+
inactive: {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
$$resolver: symbol;
|
|
22
|
+
context?: any;
|
|
23
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
24
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
25
|
+
value: any;
|
|
26
|
+
};
|
|
27
|
+
clearable: boolean;
|
|
28
|
+
type: string;
|
|
29
|
+
label: string;
|
|
30
|
+
options: {
|
|
31
|
+
path: null;
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[];
|
|
35
|
+
defaultValue: string;
|
|
36
|
+
};
|
|
37
|
+
bufferSize: {
|
|
38
|
+
type: string;
|
|
39
|
+
label: {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
$$resolver: symbol;
|
|
42
|
+
context?: any;
|
|
43
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
44
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
45
|
+
value: any;
|
|
46
|
+
};
|
|
47
|
+
helperText: string;
|
|
48
|
+
min: number;
|
|
49
|
+
max: number;
|
|
50
|
+
step: number;
|
|
51
|
+
defaultValue: number;
|
|
52
|
+
inactive: {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
$$resolver: symbol;
|
|
55
|
+
context?: any;
|
|
56
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
57
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
58
|
+
value: any;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
dissolveOverlappingGeometries: {
|
|
62
|
+
inactive: {
|
|
63
|
+
[x: string]: any;
|
|
64
|
+
$$resolver: symbol;
|
|
65
|
+
context?: any;
|
|
66
|
+
defaultValue?: import("@orioro/resolve").ResolutionNode | any;
|
|
67
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
68
|
+
value: any;
|
|
69
|
+
};
|
|
70
|
+
type: string;
|
|
71
|
+
label: string;
|
|
72
|
+
description: string;
|
|
73
|
+
defaultValue: boolean;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
style: {
|
|
77
|
+
layerOpacity: {
|
|
78
|
+
type: string;
|
|
79
|
+
label: string;
|
|
80
|
+
size: string;
|
|
81
|
+
min: number;
|
|
82
|
+
max: number;
|
|
83
|
+
step: number;
|
|
84
|
+
defaultValue: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export function customGeoJSON(viewSpec: any, allViewSpecs: any, context: any, { CHART_UTIL }: {
|
|
2
|
+
CHART_UTIL: any;
|
|
3
|
+
}): {
|
|
4
|
+
sources: {
|
|
5
|
+
customGeoJSON_Points: (string | {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
$$resolver: symbol;
|
|
8
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
9
|
+
dependencies: any;
|
|
10
|
+
value: (...args: any[]) => any;
|
|
11
|
+
defaultValue?: any;
|
|
12
|
+
context?: any;
|
|
13
|
+
} | (string | string[])[][] | null)[];
|
|
14
|
+
customGeoJSON_LineStrings: (string | {
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
$$resolver: symbol;
|
|
17
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
18
|
+
dependencies: any;
|
|
19
|
+
value: (...args: any[]) => any;
|
|
20
|
+
defaultValue?: any;
|
|
21
|
+
context?: any;
|
|
22
|
+
} | (string | string[])[][] | null)[];
|
|
23
|
+
customGeoJSON_Areas: (string | {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
$$resolver: symbol;
|
|
26
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
27
|
+
dependencies: any;
|
|
28
|
+
value: (...args: any[]) => any;
|
|
29
|
+
defaultValue?: any;
|
|
30
|
+
context?: any;
|
|
31
|
+
} | (string | string[])[][] | null)[];
|
|
32
|
+
};
|
|
33
|
+
layers: {
|
|
34
|
+
customGeoJSON_Areas_fill: {
|
|
35
|
+
hidden: (string | string[])[];
|
|
36
|
+
source: string;
|
|
37
|
+
type: string;
|
|
38
|
+
legends: any;
|
|
39
|
+
tooltip: {
|
|
40
|
+
title: (string | (string | (string | (string | (string | string[])[])[])[])[])[];
|
|
41
|
+
entries: any[];
|
|
42
|
+
};
|
|
43
|
+
paint: {
|
|
44
|
+
'fill-color': (string | (string | string[])[] | (string | (string | (string | number | (string | string[])[])[])[][])[])[];
|
|
45
|
+
'fill-opacity': string[];
|
|
46
|
+
'fill-outline-color': string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
customGeoJSON_Areas_line: {
|
|
50
|
+
hidden: (string | string[])[];
|
|
51
|
+
source: string;
|
|
52
|
+
type: string;
|
|
53
|
+
paint: {
|
|
54
|
+
'line-color': any;
|
|
55
|
+
'line-width': number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
customGeoJSON_LineStrings_line: {
|
|
59
|
+
hidden: (string | string[])[];
|
|
60
|
+
source: string;
|
|
61
|
+
type: string;
|
|
62
|
+
paint: {
|
|
63
|
+
'line-color': any;
|
|
64
|
+
'line-width': number;
|
|
65
|
+
};
|
|
66
|
+
tooltip: {
|
|
67
|
+
title: (string | (string | (string | (string | (string | string[])[])[])[])[])[];
|
|
68
|
+
entries: (string | (string | string[])[])[];
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
customGeoJSON_Points_circle: {
|
|
72
|
+
hidden: (string | (string | (string | string[])[])[])[];
|
|
73
|
+
source: string;
|
|
74
|
+
type: string;
|
|
75
|
+
paint: {
|
|
76
|
+
'circle-opacity': number;
|
|
77
|
+
'circle-radius': number;
|
|
78
|
+
'circle-stroke-width': number;
|
|
79
|
+
'circle-stroke-color': string;
|
|
80
|
+
'circle-color': string;
|
|
81
|
+
};
|
|
82
|
+
tooltip: {
|
|
83
|
+
title: (string | (string | (string | (string | (string | string[])[])[])[])[])[];
|
|
84
|
+
entries: (string | (string | string[])[])[];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
customGeoJSON_Points_heatmap: {
|
|
88
|
+
hidden: (string | (string | (string | string[])[])[])[];
|
|
89
|
+
source: string;
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|