@redus/georedus-ui 0.8.8 → 0.9.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 (44) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/index.d.ts +2 -0
  3. package/dist/main.js +6400 -3896
  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/overture_places_poc.d.ts +32 -0
  12. package/dist/viewSpecs/presets/cem_censo/2010_2022/buildings/index.d.ts +65 -0
  13. package/dist/viewSpecs/presets/cem_censo/2010_2022/chartUtil.d.ts +26 -0
  14. package/dist/viewSpecs/presets/cem_censo/2010_2022/confSchema.d.ts +87 -0
  15. package/dist/viewSpecs/presets/cem_censo/2010_2022/customGeoJSON/index.d.ts +93 -0
  16. package/dist/viewSpecs/presets/cem_censo/2010_2022/dataUtil.d.ts +13 -0
  17. package/dist/viewSpecs/presets/cem_censo/2010_2022/download.d.ts +11 -0
  18. package/dist/viewSpecs/presets/{cem_censo_2010_2022 → cem_censo/2010_2022}/index.d.ts +5 -117
  19. package/dist/viewSpecs/presets/cem_censo/2010_2022/metadata.d.ts +67 -0
  20. package/dist/viewSpecs/presets/cem_censo/2010_2022/parseSchema.d.ts +13 -0
  21. package/dist/viewSpecs/presets/cem_censo/2010_2022/setor_censitario/index.d.ts +71 -0
  22. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/constants.d.ts +2 -0
  23. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/index.d.ts +31 -0
  24. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/index.d.ts +35 -0
  25. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/metadata.d.ts +12 -0
  26. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrabr/municipio.d.ts +34 -0
  27. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/buildings.d.ts +51 -0
  28. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/customGeoJson.d.ts +104 -0
  29. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/index.d.ts +205 -0
  30. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/defaultMetadata.d.ts +11 -0
  31. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/index.d.ts +10 -0
  32. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/metadata/util.d.ts +1 -0
  33. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intramun/setor_censitario.d.ts +112 -0
  34. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/index.d.ts +36 -0
  35. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/metadata.d.ts +12 -0
  36. package/dist/viewSpecs/presets/cem_censo/2022/choropleth/intrauf/municipio.d.ts +35 -0
  37. package/dist/viewSpecs/presets/cem_censo/2022/index.d.ts +130 -0
  38. package/dist/viewSpecs/presets/index.d.ts +2 -1
  39. package/dist/viewSpecs/resolveView/resolveView.d.ts +4 -4
  40. package/dist/viewSpecs/resolveView/tmp_resolveView.future.d.ts +1 -1
  41. package/dist/viewSpecs/zIndexes.d.ts +4 -0
  42. package/package.json +18 -13
  43. package/dist/DevControls/importViewSpecsFromCsv/index.d.ts +0 -6
  44. /package/dist/GeoReDUS/{useMapStyle.d.ts → _useMapStyle.d.ts} +0 -0
@@ -0,0 +1,53 @@
1
+ export function fullMapStyle(): any;
2
+ export function baseMapStyle(opts: any): {
3
+ version: number;
4
+ sources: {
5
+ [k: string]: any;
6
+ };
7
+ glyphs: string | null;
8
+ sprite: any;
9
+ layers: any;
10
+ };
11
+ export function topViews(opts: any): ({
12
+ id: string;
13
+ sources: {
14
+ "ibge_malha_br_municipio_2024.geom": {
15
+ type: string;
16
+ minzoom: number;
17
+ maxzoom: number;
18
+ tiles: string[];
19
+ };
20
+ };
21
+ layers: {
22
+ "ibge_malha_br_municipio_2024.geom_selected_bounds": {
23
+ source: string;
24
+ 'source-layer': string;
25
+ type: string;
26
+ filter: (string | any[])[];
27
+ paint: {
28
+ 'line-color': string;
29
+ 'line-width': number;
30
+ 'line-opacity': number;
31
+ };
32
+ };
33
+ "ibge_malha_br_municipio_2024.geom_other_bounds": {
34
+ source: string;
35
+ 'source-layer': string;
36
+ type: string;
37
+ filter: (string | (string | any[])[])[];
38
+ paint: {
39
+ 'line-color': string;
40
+ 'line-width': number;
41
+ 'line-opacity': number;
42
+ };
43
+ };
44
+ };
45
+ } | {
46
+ id: string;
47
+ layers: any;
48
+ })[];
49
+ export namespace dataviz {
50
+ export { fullMapStyle };
51
+ export { baseMapStyle };
52
+ export { topViews };
53
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./dataviz";
2
+ export * from "./satellite";
@@ -0,0 +1,53 @@
1
+ export function fullMapStyle(): any;
2
+ export function baseMapStyle(): {
3
+ version: number;
4
+ sources: {
5
+ [k: string]: any;
6
+ };
7
+ glyphs: string | null;
8
+ sprite: any;
9
+ layers: any;
10
+ };
11
+ export function topViews(opts: any): ({
12
+ id: string;
13
+ sources: {
14
+ "ibge_malha_br_municipio_2024.geom": {
15
+ type: string;
16
+ minzoom: number;
17
+ maxzoom: number;
18
+ tiles: string[];
19
+ };
20
+ };
21
+ layers: {
22
+ "ibge_malha_br_municipio_2024.geom_selected_bounds": {
23
+ source: string;
24
+ 'source-layer': string;
25
+ type: string;
26
+ filter: (string | any[])[];
27
+ paint: {
28
+ 'line-color': string;
29
+ 'line-width': number;
30
+ 'line-opacity': number;
31
+ };
32
+ };
33
+ "ibge_malha_br_municipio_2024.geom_other_bounds": {
34
+ source: string;
35
+ 'source-layer': string;
36
+ type: string;
37
+ filter: (string | (string | any[])[])[];
38
+ paint: {
39
+ 'line-color': string;
40
+ 'line-width': number;
41
+ 'line-opacity': number;
42
+ };
43
+ };
44
+ };
45
+ } | {
46
+ id: string;
47
+ layers: any;
48
+ })[];
49
+ export namespace satellite {
50
+ export { fullMapStyle };
51
+ export { baseMapStyle };
52
+ export { topViews };
53
+ }
@@ -0,0 +1,39 @@
1
+ export function br_municipios({ api, app }: {
2
+ api: any;
3
+ app: any;
4
+ }): {
5
+ id: string;
6
+ sources: {
7
+ "ibge_malha_br_municipio_2024.geom": {
8
+ type: string;
9
+ minzoom: number;
10
+ maxzoom: number;
11
+ tiles: string[];
12
+ };
13
+ };
14
+ layers: {
15
+ "ibge_malha_br_municipio_2024.geom_selected_bounds": {
16
+ source: string;
17
+ 'source-layer': string;
18
+ type: string;
19
+ filter: (string | any[])[];
20
+ paint: {
21
+ 'line-color': string;
22
+ 'line-width': number;
23
+ 'line-opacity': number;
24
+ };
25
+ };
26
+ "ibge_malha_br_municipio_2024.geom_other_bounds": {
27
+ source: string;
28
+ 'source-layer': string;
29
+ type: string;
30
+ filter: (string | (string | any[])[])[];
31
+ paint: {
32
+ 'line-color': string;
33
+ 'line-width': number;
34
+ 'line-opacity': number;
35
+ };
36
+ };
37
+ };
38
+ };
39
+ export const BR_MUNICIPIOS_ID: "ibge_malha_br_municipio_2024.geom";
@@ -0,0 +1,20 @@
1
+ export function mapTilerSpecFromStyleJson({ styleJson, topLayerIds, apiKey, }: {
2
+ styleJson: any;
3
+ topLayerIds?: never[] | undefined;
4
+ apiKey?: string | undefined;
5
+ }): {
6
+ fullMapStyle: any;
7
+ sources: {
8
+ [k: string]: any;
9
+ };
10
+ allLayers: any;
11
+ layersById: {
12
+ [k: string]: any;
13
+ };
14
+ topLayers: any[];
15
+ baseLayers: any;
16
+ glyphs: string | null;
17
+ sprite: any;
18
+ };
19
+ export * from "./maptiler-dataviz-map-style";
20
+ export * from "./maptiler-satellite-map-style";