@redus/georedus-ui 0.10.1 → 0.12.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 +12 -0
- package/dist/DocumentIframe/index.d.ts +3 -0
- package/dist/GeoReDUS/GeoReDUS.d.ts +1 -0
- package/dist/GeoReDUS/util.d.ts +17 -0
- package/dist/main.js +670 -400
- package/dist/viewSpecs/basemaps/dataviz/index.d.ts +9 -8
- package/dist/viewSpecs/basemaps/satellite/index.d.ts +9 -8
- package/dist/viewSpecs/development/ana_br_bacias_hidrograficas.d.ts +1 -0
- package/dist/viewSpecs/development/curvatura.d.ts +27 -1
- package/dist/viewSpecs/development/declividade.d.ts +18 -18
- package/dist/viewSpecs/development/hand.d.ts +23 -1
- package/dist/viewSpecs/development/redus_mutirao_cop_2025.d.ts +3 -1
- package/dist/viewSpecs/development/temperatura_superficie.d.ts +4 -0
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/index.d.ts +18 -5
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/defaultMetadata.d.ts +1 -1
- package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/setor_censitario.d.ts +18 -5
- package/package.json +3 -1
- package/dist/GeoReDUS/_useMapStyle.d.ts +0 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export namespace dataviz {
|
|
2
|
+
export { fullMapStyle };
|
|
3
|
+
export { baseMapStyle };
|
|
4
|
+
export { topViews };
|
|
5
|
+
}
|
|
6
|
+
declare function fullMapStyle(): any;
|
|
7
|
+
declare function baseMapStyle(opts: any): {
|
|
3
8
|
version: number;
|
|
4
9
|
sources: {
|
|
5
10
|
[k: string]: any;
|
|
@@ -8,7 +13,7 @@ export function baseMapStyle(opts: any): {
|
|
|
8
13
|
sprite: any;
|
|
9
14
|
layers: any;
|
|
10
15
|
};
|
|
11
|
-
|
|
16
|
+
declare function topViews(opts: any): ({
|
|
12
17
|
id: string;
|
|
13
18
|
sources: {
|
|
14
19
|
"ibge_malha_br_municipio_2024.geom": {
|
|
@@ -46,8 +51,4 @@ export function topViews(opts: any): ({
|
|
|
46
51
|
id: string;
|
|
47
52
|
layers: any;
|
|
48
53
|
})[];
|
|
49
|
-
export
|
|
50
|
-
export { fullMapStyle };
|
|
51
|
-
export { baseMapStyle };
|
|
52
|
-
export { topViews };
|
|
53
|
-
}
|
|
54
|
+
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export namespace satellite {
|
|
2
|
+
export { fullMapStyle };
|
|
3
|
+
export { baseMapStyle };
|
|
4
|
+
export { topViews };
|
|
5
|
+
}
|
|
6
|
+
declare function fullMapStyle(): any;
|
|
7
|
+
declare function baseMapStyle(): {
|
|
3
8
|
version: number;
|
|
4
9
|
sources: {
|
|
5
10
|
[k: string]: any;
|
|
@@ -8,7 +13,7 @@ export function baseMapStyle(): {
|
|
|
8
13
|
sprite: any;
|
|
9
14
|
layers: any;
|
|
10
15
|
};
|
|
11
|
-
|
|
16
|
+
declare function topViews(opts: any): ({
|
|
12
17
|
id: string;
|
|
13
18
|
sources: {
|
|
14
19
|
"ibge_malha_br_municipio_2024.geom": {
|
|
@@ -46,8 +51,4 @@ export function topViews(opts: any): ({
|
|
|
46
51
|
id: string;
|
|
47
52
|
layers: any;
|
|
48
53
|
})[];
|
|
49
|
-
export
|
|
50
|
-
export { fullMapStyle };
|
|
51
|
-
export { baseMapStyle };
|
|
52
|
-
export { topViews };
|
|
53
|
-
}
|
|
54
|
+
export {};
|
|
@@ -6,10 +6,22 @@ export function curvatura({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
|
6
6
|
collection_id: string;
|
|
7
7
|
indicator_id: string;
|
|
8
8
|
id: string;
|
|
9
|
+
sourceLabel: string;
|
|
9
10
|
label: string;
|
|
11
|
+
shortDescription: string;
|
|
10
12
|
path: string;
|
|
13
|
+
metodology: React.JSX.Element;
|
|
11
14
|
confSchema: {
|
|
12
|
-
data: {
|
|
15
|
+
data: {
|
|
16
|
+
curvaturaActiveClasses: {
|
|
17
|
+
type: string;
|
|
18
|
+
options: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: number;
|
|
21
|
+
}[];
|
|
22
|
+
defaultValue: number[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
13
25
|
};
|
|
14
26
|
metadata: {};
|
|
15
27
|
sources: {
|
|
@@ -36,6 +48,20 @@ export function curvatura({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
|
36
48
|
paint: {
|
|
37
49
|
'raster-opacity': number;
|
|
38
50
|
};
|
|
51
|
+
legends: {
|
|
52
|
+
type: string;
|
|
53
|
+
title: string;
|
|
54
|
+
items: {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
$$resolver: symbol;
|
|
57
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
58
|
+
dependencies: any;
|
|
59
|
+
value: (...args: any[]) => any;
|
|
60
|
+
defaultValue?: any;
|
|
61
|
+
context?: any;
|
|
62
|
+
};
|
|
63
|
+
}[];
|
|
39
64
|
};
|
|
40
65
|
};
|
|
41
66
|
};
|
|
67
|
+
import React from 'react';
|
|
@@ -6,25 +6,20 @@ export function declividade({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
|
6
6
|
collection_id: string;
|
|
7
7
|
indicator_id: string;
|
|
8
8
|
id: string;
|
|
9
|
+
sourceLabel: string;
|
|
9
10
|
label: string;
|
|
11
|
+
shortDescription: string;
|
|
10
12
|
path: string;
|
|
13
|
+
metodology: React.JSX.Element;
|
|
11
14
|
confSchema: {
|
|
12
15
|
data: {
|
|
13
|
-
|
|
16
|
+
declividadeActiveClasses: {
|
|
14
17
|
type: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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;
|
|
18
|
+
options: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
defaultValue: string[];
|
|
28
23
|
};
|
|
29
24
|
};
|
|
30
25
|
};
|
|
@@ -57,11 +52,16 @@ export function declividade({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
|
57
52
|
type: string;
|
|
58
53
|
title: string;
|
|
59
54
|
items: {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
$$resolver: symbol;
|
|
57
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
58
|
+
dependencies: any;
|
|
59
|
+
value: (...args: any[]) => any;
|
|
60
|
+
defaultValue?: any;
|
|
61
|
+
context?: any;
|
|
62
|
+
};
|
|
64
63
|
}[];
|
|
65
64
|
};
|
|
66
65
|
};
|
|
67
66
|
};
|
|
67
|
+
import React from 'react';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
export function hand({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
1
|
+
export function hand({ RASTER_TILE_SERVER_ENDPOINT, VECTOR_TILE_SERVER_ENDPOINT, mosaicJsonUrl, }: {
|
|
2
2
|
RASTER_TILE_SERVER_ENDPOINT: any;
|
|
3
|
+
VECTOR_TILE_SERVER_ENDPOINT: any;
|
|
3
4
|
mosaicJsonUrl: any;
|
|
4
5
|
}): {
|
|
5
6
|
viewType: string;
|
|
6
7
|
collection_id: string;
|
|
7
8
|
indicator_id: string;
|
|
8
9
|
id: string;
|
|
10
|
+
sourceLabel: string;
|
|
9
11
|
label: string;
|
|
12
|
+
shortDescription: string;
|
|
10
13
|
path: string;
|
|
14
|
+
metodology: React.JSX.Element;
|
|
11
15
|
confSchema: {
|
|
12
16
|
data: {
|
|
13
17
|
handValue: {
|
|
@@ -44,6 +48,11 @@ export function hand({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
|
44
48
|
context?: any;
|
|
45
49
|
}[];
|
|
46
50
|
};
|
|
51
|
+
"ana_malha_br_bacias_hidrograficas_2017_otto_3.geom": {
|
|
52
|
+
type: string;
|
|
53
|
+
minzoom: number;
|
|
54
|
+
tiles: string[];
|
|
55
|
+
};
|
|
47
56
|
};
|
|
48
57
|
layers: {
|
|
49
58
|
hand: {
|
|
@@ -79,5 +88,18 @@ export function hand({ RASTER_TILE_SERVER_ENDPOINT, mosaicJsonUrl }: {
|
|
|
79
88
|
barHeight: number;
|
|
80
89
|
}[];
|
|
81
90
|
};
|
|
91
|
+
"ana_malha_br_bacias_hidrograficas_2017_otto_3.geom_bounds": {
|
|
92
|
+
source: string;
|
|
93
|
+
'source-layer': string;
|
|
94
|
+
minzoom: number;
|
|
95
|
+
type: string;
|
|
96
|
+
paint: {
|
|
97
|
+
'line-color': any;
|
|
98
|
+
'line-width': number;
|
|
99
|
+
'line-dasharray': number[];
|
|
100
|
+
'line-opacity': number;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
82
103
|
};
|
|
83
104
|
};
|
|
105
|
+
import React from 'react';
|
|
@@ -2,8 +2,10 @@ export function redus_mutirao_cop_2025(conf: any): {
|
|
|
2
2
|
collection_id: string;
|
|
3
3
|
indicator_id: string;
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
sourceLabel: string;
|
|
6
6
|
path: string;
|
|
7
|
+
label: string;
|
|
8
|
+
shortDescription: string;
|
|
7
9
|
metadata: {};
|
|
8
10
|
sources: {
|
|
9
11
|
"redus_mutirao_cop_2025.geom": {
|
|
@@ -6,6 +6,9 @@ export function temperatura_superficie({ RASTER_TILE_SERVER_ENDPOINT, mosaicJson
|
|
|
6
6
|
collection_id: string;
|
|
7
7
|
indicator_id: string;
|
|
8
8
|
id: string;
|
|
9
|
+
sourceLabel: string;
|
|
10
|
+
shortDescription: string;
|
|
11
|
+
metodology: React.JSX.Element;
|
|
9
12
|
label: string;
|
|
10
13
|
year: string;
|
|
11
14
|
path: string;
|
|
@@ -84,3 +87,4 @@ export function temperatura_superficie({ RASTER_TILE_SERVER_ENDPOINT, mosaicJson
|
|
|
84
87
|
};
|
|
85
88
|
};
|
|
86
89
|
};
|
|
90
|
+
import React from 'react';
|
|
@@ -29,6 +29,15 @@ export namespace intramun {
|
|
|
29
29
|
type: string;
|
|
30
30
|
attribution: any;
|
|
31
31
|
minzoom: number;
|
|
32
|
+
bounds: {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
$$resolver: symbol;
|
|
35
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
36
|
+
dependencies: any;
|
|
37
|
+
value: (...args: any[]) => any;
|
|
38
|
+
defaultValue?: any;
|
|
39
|
+
context?: any;
|
|
40
|
+
};
|
|
32
41
|
maxzoom: number;
|
|
33
42
|
promoteId: string;
|
|
34
43
|
tiles: {
|
|
@@ -149,11 +158,15 @@ export namespace intramun {
|
|
|
149
158
|
}[];
|
|
150
159
|
tooltip: {
|
|
151
160
|
title: (string | (string | string[])[])[];
|
|
152
|
-
entries: ((string | (string | string[])[])[] | (string |
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
161
|
+
entries: ((string | (string | string[])[])[] | ((string | string[])[] | (string | {
|
|
162
|
+
[x: string]: any;
|
|
163
|
+
$$resolver: symbol;
|
|
164
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
165
|
+
dependencies: any;
|
|
166
|
+
value: (...args: any[]) => any;
|
|
167
|
+
defaultValue?: any;
|
|
168
|
+
context?: any;
|
|
169
|
+
})[])[])[];
|
|
157
170
|
};
|
|
158
171
|
filter: {
|
|
159
172
|
[x: string]: any;
|
|
@@ -22,6 +22,15 @@ export function setor_censitario_sources({ GLOBAL_CONTEXT, PARSED_SCHEMA }: {
|
|
|
22
22
|
type: string;
|
|
23
23
|
attribution: any;
|
|
24
24
|
minzoom: number;
|
|
25
|
+
bounds: {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
$$resolver: symbol;
|
|
28
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
29
|
+
dependencies: any;
|
|
30
|
+
value: (...args: any[]) => any;
|
|
31
|
+
defaultValue?: any;
|
|
32
|
+
context?: any;
|
|
33
|
+
};
|
|
25
34
|
maxzoom: number;
|
|
26
35
|
promoteId: string;
|
|
27
36
|
tiles: {
|
|
@@ -58,11 +67,15 @@ export function setor_censitario_layers(opts: any): {
|
|
|
58
67
|
}[];
|
|
59
68
|
tooltip: {
|
|
60
69
|
title: (string | (string | string[])[])[];
|
|
61
|
-
entries: ((string | (string | string[])[])[] | (string |
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
70
|
+
entries: ((string | (string | string[])[])[] | ((string | string[])[] | (string | {
|
|
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
|
+
})[])[])[];
|
|
66
79
|
};
|
|
67
80
|
filter: {
|
|
68
81
|
[x: string]: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redus/georedus-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"packageManager": "yarn@4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"storybook": "^8.0.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
+
"@mapbox/tilebelt": "2.0.0",
|
|
49
50
|
"@mdi/js": "^7.4.47",
|
|
50
51
|
"@mdi/react": "^1.6.1",
|
|
51
52
|
"@orioro/cast": "^0.0.2",
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
"comlink": "^4.4.2",
|
|
71
72
|
"d3-dsv": "^3.0.1",
|
|
72
73
|
"d3-interpolate": "^3.0.1",
|
|
74
|
+
"d3-scale": "^4.0.2",
|
|
73
75
|
"d3-scale-chromatic": "^3.1.0",
|
|
74
76
|
"file-saver": "^2.0.5",
|
|
75
77
|
"gdal3.js": "^2.8.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useMapStyle(input: string | object, modifier?: (styleBase: Record<string, any>) => Record<string, any>): any;
|