@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.
Files changed (53) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/index.d.ts +2 -0
  3. package/dist/main.js +8428 -4856
  4. package/dist/viewSpecs/basemaps/dataviz/index.d.ts +53 -0
  5. package/dist/viewSpecs/basemaps/index.d.ts +2 -0
  6. package/dist/viewSpecs/basemaps/satellite/index.d.ts +53 -0
  7. package/dist/viewSpecs/basemaps/util/br_municipios/index.d.ts +39 -0
  8. package/dist/viewSpecs/basemaps/util/maptiler/index.d.ts +20 -0
  9. package/dist/viewSpecs/basemaps/util/maptiler/maptiler-dataviz-map-style.d.ts +2044 -0
  10. package/dist/viewSpecs/basemaps/util/maptiler/maptiler-satellite-map-style.d.ts +588 -0
  11. package/dist/viewSpecs/development/ana_br_bacias_hidrograficas.d.ts +24 -0
  12. package/dist/viewSpecs/development/br_divisao_territorial.d.ts +65 -0
  13. package/dist/viewSpecs/development/curvatura.d.ts +41 -0
  14. package/dist/viewSpecs/development/declividade.d.ts +67 -0
  15. package/dist/viewSpecs/development/hand.d.ts +83 -0
  16. package/dist/viewSpecs/development/index.d.ts +8 -0
  17. package/dist/viewSpecs/development/overture_places_poc.d.ts +32 -0
  18. package/dist/viewSpecs/development/redus_mutirao_cop_2025.d.ts +94 -0
  19. package/dist/viewSpecs/development/temperatura_superficie.d.ts +86 -0
  20. package/dist/viewSpecs/index.d.ts +1 -0
  21. package/dist/viewSpecs/presets/cem_censo/2010_2022/buildings/index.d.ts +65 -0
  22. package/dist/viewSpecs/presets/cem_censo/2010_2022/chartUtil.d.ts +26 -0
  23. package/dist/viewSpecs/presets/cem_censo/2010_2022/confSchema.d.ts +87 -0
  24. package/dist/viewSpecs/presets/cem_censo/2010_2022/customGeoJSON/index.d.ts +93 -0
  25. package/dist/viewSpecs/presets/cem_censo/2010_2022/dataUtil.d.ts +13 -0
  26. package/dist/viewSpecs/presets/cem_censo/2010_2022/download.d.ts +11 -0
  27. package/dist/viewSpecs/presets/{cem_censo_2010_2022 → cem_censo/2010_2022}/index.d.ts +5 -117
  28. package/dist/viewSpecs/presets/cem_censo/2010_2022/metadata.d.ts +67 -0
  29. package/dist/viewSpecs/presets/cem_censo/2010_2022/parseSchema.d.ts +13 -0
  30. package/dist/viewSpecs/presets/cem_censo/2010_2022/setor_censitario/index.d.ts +71 -0
  31. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/constants.d.ts +2 -0
  32. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/index.d.ts +31 -0
  33. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/index.d.ts +35 -0
  34. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/metadata.d.ts +12 -0
  35. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/municipio.d.ts +34 -0
  36. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/buildings.d.ts +51 -0
  37. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/customGeoJson.d.ts +104 -0
  38. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/index.d.ts +205 -0
  39. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/defaultMetadata.d.ts +11 -0
  40. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/index.d.ts +10 -0
  41. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/util.d.ts +1 -0
  42. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/setor_censitario.d.ts +112 -0
  43. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/index.d.ts +36 -0
  44. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/metadata.d.ts +12 -0
  45. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/municipio.d.ts +35 -0
  46. package/dist/viewSpecs/presets/cem_censo/2022/index.d.ts +130 -0
  47. package/dist/viewSpecs/presets/index.d.ts +2 -1
  48. package/dist/viewSpecs/resolveView/resolveView.d.ts +4 -4
  49. package/dist/viewSpecs/resolveView/tmp_resolveView.future.d.ts +1 -1
  50. package/dist/viewSpecs/zIndexes.d.ts +4 -0
  51. package/package.json +17 -12
  52. package/dist/DevControls/importViewSpecsFromCsv/index.d.ts +0 -6
  53. /package/dist/GeoReDUS/{useMapStyle.d.ts → _useMapStyle.d.ts} +0 -0
@@ -0,0 +1,205 @@
1
+ export namespace intramun {
2
+ export { metadata };
3
+ export function sources(opts: any): {
4
+ customGeoJSON_Areas: (string | {
5
+ [x: string]: any;
6
+ $$resolver: symbol;
7
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
8
+ dependencies: any;
9
+ value: (...args: any[]) => any;
10
+ defaultValue?: any;
11
+ context?: any;
12
+ } | (string | string[])[][] | null)[];
13
+ "overture_br_buildings.geom": {
14
+ type: string;
15
+ attribution: any;
16
+ minzoom: number;
17
+ maxzoom: number;
18
+ tiles: {
19
+ [x: string]: any;
20
+ $$resolver: symbol;
21
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
22
+ dependencies: any;
23
+ value: (...args: any[]) => any;
24
+ defaultValue?: any;
25
+ context?: any;
26
+ }[];
27
+ };
28
+ "ibge_malha_br_setor_censitario_2022.geom": {
29
+ type: string;
30
+ attribution: any;
31
+ minzoom: number;
32
+ maxzoom: number;
33
+ promoteId: string;
34
+ tiles: {
35
+ [x: string]: any;
36
+ $$resolver: symbol;
37
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
38
+ dependencies: any;
39
+ value: (...args: any[]) => any;
40
+ defaultValue?: any;
41
+ context?: any;
42
+ }[];
43
+ };
44
+ };
45
+ export function layers(opts: any): {
46
+ customGeoJSON_Areas_fill: {
47
+ zIndex: number;
48
+ hidden: (string | string[])[];
49
+ source: string;
50
+ type: string;
51
+ legends: {
52
+ type: string;
53
+ title: (string | string[])[];
54
+ unit: (string | string[])[];
55
+ steps: (string | (string | (string | string[])[])[])[];
56
+ format: {
57
+ number: (string | (string | string[])[] | (string | {
58
+ style: string;
59
+ })[] | {}[])[];
60
+ below: string;
61
+ above: (string | (string | string[])[] | null)[];
62
+ };
63
+ __filterFeaturesForStep: (stepInfo: any, features: any) => any;
64
+ }[];
65
+ tooltip: {
66
+ title: (string | (string | (string | (string | (string | string[])[])[])[])[])[];
67
+ entries: (string | (string | string[] | {
68
+ number: (string | (string | string[])[] | (string | {
69
+ style: string;
70
+ })[] | {}[])[];
71
+ })[])[][][];
72
+ };
73
+ paint: {
74
+ 'fill-color': {
75
+ [x: string]: any;
76
+ $$resolver: symbol;
77
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
78
+ dependencies: any;
79
+ value: (...args: any[]) => any;
80
+ defaultValue?: any;
81
+ context?: any;
82
+ };
83
+ 'fill-opacity': string[];
84
+ 'fill-outline-color': string;
85
+ };
86
+ };
87
+ customGeoJSON_Areas_line: {
88
+ zIndex: number;
89
+ hidden: (string | string[])[];
90
+ source: string;
91
+ type: string;
92
+ paint: {
93
+ 'line-color': {
94
+ [x: string]: any;
95
+ $$resolver: symbol;
96
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
97
+ dependencies: any;
98
+ value: (...args: any[]) => any;
99
+ defaultValue?: any;
100
+ context?: any;
101
+ };
102
+ 'line-width': number;
103
+ };
104
+ };
105
+ "overture_br_buildings.geom_fill": {
106
+ hidden: (string | (string | string[])[])[];
107
+ interactive: boolean;
108
+ source: string;
109
+ 'source-layer': string;
110
+ type: string;
111
+ minzoom: number;
112
+ paint: {
113
+ 'fill-color': (string | (string | (string | number | string[])[])[][])[] | (string | (string | (string | string[])[])[] | (string | (string | (string | number | string[])[])[][])[])[];
114
+ 'fill-opacity': number;
115
+ };
116
+ };
117
+ "overture_br_buildings.geom_fill_extrusion": {
118
+ hidden: (string | (string | string[])[])[];
119
+ interactive: boolean;
120
+ source: string;
121
+ 'source-layer': string;
122
+ type: string;
123
+ minzoom: number;
124
+ paint: {
125
+ 'fill-extrusion-color': (string | (string | (string | number | string[])[])[][])[] | (string | (string | (string | string[])[])[] | (string | (string | (string | number | string[])[])[][])[])[];
126
+ 'fill-extrusion-opacity': number;
127
+ 'fill-extrusion-height': (string | number | (string | number | string[])[])[];
128
+ };
129
+ };
130
+ "ibge_malha_br_setor_censitario_2022.geom_fill": {
131
+ hidden: (string | (string | string[])[])[];
132
+ interactive: boolean;
133
+ source: string;
134
+ 'source-layer': string;
135
+ type: string;
136
+ legends: {
137
+ type: string;
138
+ title: (string | string[])[];
139
+ unit: (string | string[])[];
140
+ steps: (string | (string | (string | string[])[])[])[];
141
+ format: {
142
+ number: (string | (string | string[])[] | (string | {
143
+ style: string;
144
+ })[] | {}[])[];
145
+ below: string;
146
+ above: (string | (string | string[])[] | null)[];
147
+ };
148
+ __filterFeaturesForStep: (stepInfo: any, features: any) => any;
149
+ }[];
150
+ tooltip: {
151
+ title: (string | (string | string[])[])[];
152
+ entries: ((string | (string | string[])[])[] | (string | (string | string[] | {
153
+ number: (string | (string | string[])[] | (string | {
154
+ style: string;
155
+ })[] | {}[])[];
156
+ })[])[][])[];
157
+ };
158
+ filter: {
159
+ [x: string]: any;
160
+ $$resolver: symbol;
161
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
162
+ dependencies: any;
163
+ value: (...args: any[]) => any;
164
+ defaultValue?: any;
165
+ context?: any;
166
+ };
167
+ paint: {
168
+ 'fill-color': (string | (string | (string | number | string[])[])[][])[];
169
+ 'fill-opacity': (string | number | (string | number | (string | boolean | string[])[])[])[];
170
+ 'fill-outline-color': string;
171
+ };
172
+ };
173
+ "ibge_malha_br_setor_censitario_2022.geom_bounds": {
174
+ zIndex: number;
175
+ hidden: (string | (string | string[])[])[];
176
+ interactive: boolean;
177
+ type: string;
178
+ source: string;
179
+ 'source-layer': string;
180
+ filter: {
181
+ [x: string]: any;
182
+ $$resolver: symbol;
183
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
184
+ dependencies: any;
185
+ value: (...args: any[]) => any;
186
+ defaultValue?: any;
187
+ context?: any;
188
+ };
189
+ paint: {
190
+ 'line-color': {
191
+ [x: string]: any;
192
+ $$resolver: symbol;
193
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
194
+ dependencies: any;
195
+ value: (...args: any[]) => any;
196
+ defaultValue?: any;
197
+ context?: any;
198
+ };
199
+ 'line-width': (string | number | (string | number | (string | boolean | string[])[])[])[];
200
+ 'line-opacity': (string | number | (string | boolean | string[])[])[];
201
+ };
202
+ };
203
+ };
204
+ }
205
+ import { metadata } from './metadata';
@@ -0,0 +1,11 @@
1
+ export function defaultMetadata({ GLOBAL_CONTEXT, PARSED_SCHEMA }: {
2
+ GLOBAL_CONTEXT: any;
3
+ PARSED_SCHEMA: any;
4
+ }, context: any): Promise<{
5
+ labels: any;
6
+ measureUnits: any;
7
+ rawDataCacheUrl: string;
8
+ rawData: Record<string, any>[];
9
+ colorScheme: any;
10
+ colorScaleStops: any[];
11
+ }>;
@@ -0,0 +1,10 @@
1
+ export function metadata(opts: any): {
2
+ [x: string]: any;
3
+ $$resolver: symbol;
4
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
5
+ dependencies: any;
6
+ value: (...args: any[]) => any;
7
+ defaultValue?: any;
8
+ context?: any;
9
+ };
10
+ export * from "./util";
@@ -0,0 +1 @@
1
+ export function _censoColorScheme(colorSchemeName: any): any;
@@ -0,0 +1,112 @@
1
+ export function setor_censitario_legends({ PARSED_SCHEMA }: {
2
+ PARSED_SCHEMA: any;
3
+ }): {
4
+ type: string;
5
+ title: (string | string[])[];
6
+ unit: (string | string[])[];
7
+ steps: (string | (string | (string | string[])[])[])[];
8
+ format: {
9
+ number: (string | (string | string[])[] | (string | {
10
+ style: string;
11
+ })[] | {}[])[];
12
+ below: string;
13
+ above: (string | (string | string[])[] | null)[];
14
+ };
15
+ __filterFeaturesForStep: (stepInfo: any, features: any) => any;
16
+ }[];
17
+ export function setor_censitario_sources({ GLOBAL_CONTEXT, PARSED_SCHEMA }: {
18
+ GLOBAL_CONTEXT: any;
19
+ PARSED_SCHEMA: any;
20
+ }): {
21
+ "ibge_malha_br_setor_censitario_2022.geom": {
22
+ type: string;
23
+ attribution: any;
24
+ minzoom: number;
25
+ maxzoom: number;
26
+ promoteId: string;
27
+ tiles: {
28
+ [x: string]: any;
29
+ $$resolver: symbol;
30
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
31
+ dependencies: any;
32
+ value: (...args: any[]) => any;
33
+ defaultValue?: any;
34
+ context?: any;
35
+ }[];
36
+ };
37
+ };
38
+ export function setor_censitario_layers(opts: any): {
39
+ "ibge_malha_br_setor_censitario_2022.geom_fill": {
40
+ hidden: (string | (string | string[])[])[];
41
+ interactive: boolean;
42
+ source: string;
43
+ 'source-layer': string;
44
+ type: string;
45
+ legends: {
46
+ type: string;
47
+ title: (string | string[])[];
48
+ unit: (string | string[])[];
49
+ steps: (string | (string | (string | string[])[])[])[];
50
+ format: {
51
+ number: (string | (string | string[])[] | (string | {
52
+ style: string;
53
+ })[] | {}[])[];
54
+ below: string;
55
+ above: (string | (string | string[])[] | null)[];
56
+ };
57
+ __filterFeaturesForStep: (stepInfo: any, features: any) => any;
58
+ }[];
59
+ tooltip: {
60
+ title: (string | (string | string[])[])[];
61
+ entries: ((string | (string | string[])[])[] | (string | (string | string[] | {
62
+ number: (string | (string | string[])[] | (string | {
63
+ style: string;
64
+ })[] | {}[])[];
65
+ })[])[][])[];
66
+ };
67
+ filter: {
68
+ [x: string]: any;
69
+ $$resolver: symbol;
70
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
71
+ dependencies: any;
72
+ value: (...args: any[]) => any;
73
+ defaultValue?: any;
74
+ context?: any;
75
+ };
76
+ paint: {
77
+ 'fill-color': (string | (string | (string | number | string[])[])[][])[];
78
+ 'fill-opacity': (string | number | (string | number | (string | boolean | string[])[])[])[];
79
+ 'fill-outline-color': string;
80
+ };
81
+ };
82
+ "ibge_malha_br_setor_censitario_2022.geom_bounds": {
83
+ zIndex: number;
84
+ hidden: (string | (string | string[])[])[];
85
+ interactive: boolean;
86
+ type: string;
87
+ source: string;
88
+ 'source-layer': string;
89
+ filter: {
90
+ [x: string]: any;
91
+ $$resolver: symbol;
92
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
93
+ dependencies: any;
94
+ value: (...args: any[]) => any;
95
+ defaultValue?: any;
96
+ context?: any;
97
+ };
98
+ paint: {
99
+ 'line-color': {
100
+ [x: string]: any;
101
+ $$resolver: symbol;
102
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
103
+ dependencies: any;
104
+ value: (...args: any[]) => any;
105
+ defaultValue?: any;
106
+ context?: any;
107
+ };
108
+ 'line-width': (string | number | (string | number | (string | boolean | string[])[])[])[];
109
+ 'line-opacity': (string | number | (string | boolean | string[])[])[];
110
+ };
111
+ };
112
+ };
@@ -0,0 +1,36 @@
1
+ export namespace intrauf {
2
+ export { metadata };
3
+ export function sources(opts: any): {
4
+ "ibge_malha_br_municipio_2024.geom": {
5
+ type: string;
6
+ attribution: any;
7
+ bounds: string[];
8
+ promoteId: string;
9
+ tiles: {
10
+ [x: string]: any;
11
+ $$resolver: symbol;
12
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
13
+ dependencies: any;
14
+ value: (...args: any[]) => any;
15
+ defaultValue?: any;
16
+ context?: any;
17
+ }[];
18
+ };
19
+ };
20
+ export function layers(opts: any): {
21
+ "ibge_malha_br_municipio_2024.geom_fill": {
22
+ hidden: (string | (string | string[])[])[];
23
+ interactive: boolean;
24
+ source: string;
25
+ 'source-layer': string;
26
+ type: string;
27
+ filter: (string | (string | string[])[])[];
28
+ paint: {
29
+ 'fill-color': (string | (string | (string | number | (string | string[])[])[])[][])[];
30
+ 'fill-opacity': (string | number | (string | boolean | string[])[])[];
31
+ 'fill-outline-color': string;
32
+ };
33
+ };
34
+ };
35
+ }
36
+ import { metadata } from './metadata';
@@ -0,0 +1,12 @@
1
+ export function metadata({ GLOBAL_CONTEXT, PARSED_SCHEMA }: {
2
+ GLOBAL_CONTEXT: any;
3
+ PARSED_SCHEMA: any;
4
+ }): {
5
+ [x: string]: any;
6
+ $$resolver: symbol;
7
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
8
+ dependencies: any;
9
+ value: (...args: any[]) => any;
10
+ defaultValue?: any;
11
+ context?: any;
12
+ };
@@ -0,0 +1,35 @@
1
+ export function municipio_sources({ GLOBAL_CONTEXT, PARSED_SCHEMA }: {
2
+ GLOBAL_CONTEXT: any;
3
+ PARSED_SCHEMA: any;
4
+ }): {
5
+ "ibge_malha_br_municipio_2024.geom": {
6
+ type: string;
7
+ attribution: any;
8
+ bounds: string[];
9
+ promoteId: string;
10
+ tiles: {
11
+ [x: string]: any;
12
+ $$resolver: symbol;
13
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
14
+ dependencies: any;
15
+ value: (...args: any[]) => any;
16
+ defaultValue?: any;
17
+ context?: any;
18
+ }[];
19
+ };
20
+ };
21
+ export function municipio_layers(): {
22
+ "ibge_malha_br_municipio_2024.geom_fill": {
23
+ hidden: (string | (string | string[])[])[];
24
+ interactive: boolean;
25
+ source: string;
26
+ 'source-layer': string;
27
+ type: string;
28
+ filter: (string | (string | string[])[])[];
29
+ paint: {
30
+ 'fill-color': (string | (string | (string | number | (string | string[])[])[])[][])[];
31
+ 'fill-opacity': (string | number | (string | boolean | string[])[])[];
32
+ 'fill-outline-color': string;
33
+ };
34
+ };
35
+ };
@@ -0,0 +1,130 @@
1
+ export function cem_censo_2022(viewSpec: any, allViewSpecs: any, context: any): {
2
+ id: string;
3
+ path: any;
4
+ label: any;
5
+ metodology: any;
6
+ sourceLabel: string;
7
+ keywords: any[];
8
+ viewType: string;
9
+ confSchema: {
10
+ data: import("lodash").Omit<{
11
+ variableId: {
12
+ label: string;
13
+ type: string;
14
+ options: any;
15
+ placeholder: string;
16
+ clearable: boolean;
17
+ defaultValue: any;
18
+ };
19
+ customSpatialAggregationUnit: {
20
+ type: string;
21
+ label: string;
22
+ helperText: string;
23
+ };
24
+ pointsDisplayMode: {
25
+ inactive: {
26
+ [x: string]: any;
27
+ $$resolver: symbol;
28
+ context?: any;
29
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
30
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
31
+ value: any;
32
+ };
33
+ clearable: boolean;
34
+ type: string;
35
+ label: string;
36
+ options: {
37
+ path: null;
38
+ label: string;
39
+ value: string;
40
+ }[];
41
+ defaultValue: string;
42
+ };
43
+ bufferSize: {
44
+ type: string;
45
+ label: {
46
+ [x: string]: any;
47
+ $$resolver: symbol;
48
+ context?: any;
49
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
50
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
51
+ value: any;
52
+ };
53
+ helperText: string;
54
+ min: number;
55
+ max: number;
56
+ step: number;
57
+ defaultValue: number;
58
+ inactive: {
59
+ [x: string]: any;
60
+ $$resolver: symbol;
61
+ context?: any;
62
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
63
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
64
+ value: any;
65
+ };
66
+ };
67
+ dissolveOverlappingGeometries: {
68
+ inactive: {
69
+ [x: string]: any;
70
+ $$resolver: symbol;
71
+ context?: any;
72
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
73
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
74
+ value: any;
75
+ };
76
+ type: string;
77
+ label: string;
78
+ description: string;
79
+ defaultValue: boolean;
80
+ };
81
+ }, "dissolveOverlappingGeometries">;
82
+ style: {
83
+ layerOpacity: {
84
+ type: string;
85
+ label: string;
86
+ size: string;
87
+ min: number;
88
+ max: number;
89
+ step: number;
90
+ defaultValue: number;
91
+ };
92
+ };
93
+ };
94
+ metadata: {
95
+ [x: string]: any;
96
+ $$resolver: symbol;
97
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
98
+ dependencies: any;
99
+ value: (...args: any[]) => any;
100
+ defaultValue?: any;
101
+ context?: any;
102
+ };
103
+ sources: {
104
+ [x: string]: any;
105
+ $$resolver: symbol;
106
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
107
+ dependencies: any;
108
+ value: (...args: any[]) => any;
109
+ defaultValue?: any;
110
+ context?: any;
111
+ };
112
+ layers: {
113
+ [x: string]: any;
114
+ $$resolver: symbol;
115
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
116
+ dependencies: any;
117
+ value: (...args: any[]) => any;
118
+ defaultValue?: any;
119
+ context?: any;
120
+ };
121
+ download: {
122
+ [x: string]: any;
123
+ $$resolver: symbol;
124
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
125
+ dependencies: any;
126
+ value: (...args: any[]) => any;
127
+ defaultValue?: any;
128
+ context?: any;
129
+ };
130
+ } | null;
@@ -1,3 +1,4 @@
1
1
  export * from "./cem_escolas_2022";
2
- export * from "./cem_censo_2010_2022";
2
+ export * from "./cem_censo/2010_2022";
3
+ export * from "./cem_censo/2022";
3
4
  export * from "./cem_saude_2024";
@@ -3,10 +3,10 @@ export declare const STAGE_VALUE_KEY = "_value";
3
3
  export declare const STAGE_SPECIAL_KEYS: string[];
4
4
  export declare function resolveConfSchema(viewSpec: ViewSpec, partialView: Partial<ResolvedView>, viewResolutionContextBase: ViewResolutionContextBase): Partial<ResolvedView>;
5
5
  export declare const resolveMetadata: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<import("../types").ViewMetadata>;
6
- export declare const resolveSources: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf" | "metadata">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<Record<string, any>>;
7
- export declare const resolveLayers: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf" | "sources" | "metadata">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<Record<string, import("@orioro/react-maplibre-util").MapViewLayer>>;
8
- export declare const resolveControls: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf" | "sources" | "layers" | "metadata">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<import("../types").ViewControls>;
9
- export declare const resolveDownload: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf" | "sources" | "layers" | "metadata">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<import("../types").ViewDownload>;
6
+ export declare const resolveSources: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "metadata" | "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<Record<string, any>>;
7
+ export declare const resolveLayers: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "metadata" | "sources" | "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<Record<string, import("@orioro/react-maplibre-util").MapViewLayer>>;
8
+ export declare const resolveControls: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "metadata" | "sources" | "layers" | "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<import("../types").ViewControls>;
9
+ export declare const resolveDownload: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "metadata" | "sources" | "layers" | "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<import("../types").ViewDownload>;
10
10
  export declare function resolveView(viewSpec: ViewSpec, viewConf: ResolvedViewConf, viewResolutionContextBase: ViewResolutionContextBase): Promise<{
11
11
  id: string;
12
12
  keywords: string | string[] | undefined;
@@ -1,6 +1,6 @@
1
1
  import { ResolvedView, ResolvedViewConf, ViewSpec, ViewResolutionContextBase } from '../types';
2
2
  export declare const resolveViewMetadata: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<import("../types").ViewMetadata>;
3
- export declare const resolveViewSources: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "conf" | "metadata">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<Record<string, any>>;
3
+ export declare const resolveViewSources: (viewSpec: ViewSpec, partialViewAtStage: Pick<ResolvedView, "metadata" | "conf">, viewResolutionContextBase: ViewResolutionContextBase) => Promise<Record<string, any>>;
4
4
  export declare function resolveView(viewSpec: ViewSpec, viewConf: ResolvedViewConf, viewResolutionContextBase: ViewResolutionContextBase): Promise<{
5
5
  id: string;
6
6
  keywords: string | string[] | undefined;
@@ -0,0 +1,4 @@
1
+ export declare const Z_BASE_UNINDEXED: null;
2
+ export declare const Z_OVERLAY_BASE_1000 = 1000;
3
+ export declare const Z_OVERLAY_MIDDLE_2000 = 2000;
4
+ export declare const Z_OVERLAY_TOP_3000 = 3000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redus/georedus-ui",
3
- "version": "0.8.9",
3
+ "version": "0.10.0",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -20,7 +20,8 @@
20
20
  "prepublish": "yarn build",
21
21
  "build": "rm -rf dist && rollup --config ./rollup.config.mjs",
22
22
  "dev": "storybook dev -p 6006",
23
- "build-storybook": "storybook build"
23
+ "build-storybook": "storybook build",
24
+ "deploy-storybook": "yarn build-storybook && gh-pages -d storybook-static"
24
25
  },
25
26
  "peerDependencies": {
26
27
  "@radix-ui/themes": "^3.0.1",
@@ -34,6 +35,7 @@
34
35
  "@orioro/react-versioned-state": "^0.0.2",
35
36
  "@radix-ui/themes": "^3.0.1",
36
37
  "@types/geojson": "^7946.0.16",
38
+ "gh-pages": "^6.3.0",
37
39
  "maplibre-gl": "^5.1.0",
38
40
  "next": "14.1.0",
39
41
  "react": "^18.2.0",
@@ -48,30 +50,33 @@
48
50
  "@mdi/react": "^1.6.1",
49
51
  "@orioro/cast": "^0.0.2",
50
52
  "@orioro/get": "^0.0.2",
51
- "@orioro/react-chart-util": "^0.2.0",
52
- "@orioro/react-csv": "^0.0.2",
53
- "@orioro/react-dialogs": "^0.0.2",
54
- "@orioro/react-dir-nav": "^0.1.0",
55
- "@orioro/react-maplibre-util": "^0.5.2",
56
- "@orioro/react-sortable": "^0.0.2",
57
- "@orioro/react-ui-core": "^0.0.6",
58
- "@orioro/resolve": "^0.1.2",
59
- "@orioro/scale-util": "^0.0.2",
53
+ "@orioro/react-chart-util": "^0.3.0",
54
+ "@orioro/react-csv": "^0.0.11",
55
+ "@orioro/react-dialogs": "^0.0.10",
56
+ "@orioro/react-dir-nav": "^0.2.0",
57
+ "@orioro/react-maplibre-util": "^0.6.0",
58
+ "@orioro/react-sortable": "^0.0.10",
59
+ "@orioro/react-ui-core": "^0.0.14",
60
+ "@orioro/resolve": "^0.1.9",
61
+ "@orioro/scale-util": "^0.0.9",
60
62
  "@orioro/tree-model": "^0.0.2",
61
63
  "@orioro/util": "^0.14.0",
62
64
  "@orioro/validate": "^0.0.2",
63
- "@orioro/vector-tile-util": "^0.2.1",
65
+ "@orioro/vector-tile-util": "^0.3.0",
64
66
  "@radix-ui/react-collapsible": "^1.1.3",
65
67
  "@tanstack/react-query": "^5.18.0",
66
68
  "@turf/turf": "^7.1.0",
69
+ "colord": "^2.9.3",
67
70
  "comlink": "^4.4.2",
68
71
  "d3-dsv": "^3.0.1",
72
+ "d3-interpolate": "^3.0.1",
69
73
  "d3-scale-chromatic": "^3.1.0",
70
74
  "file-saver": "^2.0.5",
71
75
  "gdal3.js": "^2.8.1",
72
76
  "katex": "^0.16.22",
73
77
  "lodash": "^4.17.21",
74
78
  "query-string": "^9.1.1",
79
+ "react-confetti": "^6.1.0",
75
80
  "react-copy-to-clipboard": "^5.1.0",
76
81
  "react-highlight-words": "^0.21.0",
77
82
  "react-share": "^5.1.0",