@redus/georedus-ui 0.20.3 → 0.22.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 (109) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/Markdown/index.d.ts +4 -1
  3. package/dist/main.js +3896 -1033
  4. package/dist/viewSpecs/presets/cem_censo/2010_2022/confSchema.d.ts +1 -0
  5. package/dist/viewSpecs/presets/cem_censo/2010_2022/index.d.ts +1 -0
  6. package/dist/viewSpecs/presets/cem_censo/2022/index.d.ts +1 -0
  7. package/dist/viewSpecs/presets/gtfs_lines/confSchema.d.ts +51 -0
  8. package/dist/viewSpecs/presets/gtfs_lines/consts.d.ts +3 -0
  9. package/dist/viewSpecs/presets/gtfs_lines/download.d.ts +9 -0
  10. package/dist/viewSpecs/presets/gtfs_lines/index.d.ts +100 -0
  11. package/dist/viewSpecs/presets/gtfs_lines/layers.d.ts +11 -0
  12. package/dist/viewSpecs/presets/gtfs_lines/metadata/index.d.ts +11 -0
  13. package/dist/viewSpecs/presets/gtfs_lines/metadata/widthScaleStopsResolvers.d.ts +24 -0
  14. package/dist/viewSpecs/presets/gtfs_lines/parseStyleSpec.d.ts +26 -0
  15. package/dist/viewSpecs/presets/gtfs_lines/sources.d.ts +7 -0
  16. package/dist/viewSpecs/presets/gtfs_stops/confSchema.d.ts +46 -0
  17. package/dist/viewSpecs/presets/gtfs_stops/download.d.ts +9 -0
  18. package/dist/viewSpecs/presets/gtfs_stops/index.d.ts +147 -0
  19. package/dist/viewSpecs/presets/gtfs_stops/layers.d.ts +62 -0
  20. package/dist/viewSpecs/presets/gtfs_stops/metadata/colorScaleStopResolvers.d.ts +30 -0
  21. package/dist/viewSpecs/presets/gtfs_stops/metadata/index.d.ts +11 -0
  22. package/dist/viewSpecs/presets/gtfs_stops/parseStyleSpec.d.ts +33 -0
  23. package/dist/viewSpecs/presets/gtfs_stops/sources.d.ts +8 -0
  24. package/dist/viewSpecs/presets/gtfs_travel_time_hex/confSchema.d.ts +21 -0
  25. package/dist/viewSpecs/presets/gtfs_travel_time_hex/fetchDataForHex.d.ts +7 -0
  26. package/dist/viewSpecs/presets/gtfs_travel_time_hex/index.d.ts +113 -0
  27. package/dist/viewSpecs/presets/gtfs_travel_time_hex/layers.d.ts +72 -0
  28. package/dist/viewSpecs/presets/gtfs_travel_time_hex/sources.d.ts +10 -0
  29. package/dist/viewSpecs/presets/index.d.ts +13 -5
  30. package/dist/viewSpecs/presets/raster_categorical/index.d.ts +34 -0
  31. package/dist/viewSpecs/presets/raster_categorical/layers.d.ts +15 -0
  32. package/dist/viewSpecs/presets/raster_categorical/parseStyleSpec.d.ts +12 -0
  33. package/dist/viewSpecs/presets/raster_categorical/sources.d.ts +9 -0
  34. package/dist/viewSpecs/presets/tmp_gtfs_travel_time_hex/parseStyleSpec.d.ts +13 -0
  35. package/dist/viewSpecs/presets/util/components/basicTooltip.d.ts +1 -1
  36. package/dist/viewSpecs/presets/util/components/confInputs/categoricalColorSchemeSelector.d.ts +17 -0
  37. package/dist/viewSpecs/presets/util/components/confInputs/colorSelector.d.ts +63 -0
  38. package/dist/viewSpecs/presets/util/components/confInputs/continuousColorSchemeSelector.d.ts +12 -0
  39. package/dist/viewSpecs/presets/util/components/confInputs/fillPatternSelector.d.ts +16 -0
  40. package/dist/viewSpecs/presets/util/components/confInputs/index.d.ts +7 -0
  41. package/dist/viewSpecs/presets/util/components/confInputs/linePatternSelector.d.ts +18 -0
  42. package/dist/viewSpecs/presets/util/components/confInputs/lineWidthSelector.d.ts +18 -0
  43. package/dist/viewSpecs/presets/util/components/confInputs/opacitySlider.d.ts +10 -0
  44. package/dist/viewSpecs/presets/util/components/rawFileDownload.d.ts +12 -0
  45. package/dist/viewSpecs/presets/util/hourUtil.d.ts +9 -0
  46. package/dist/viewSpecs/presets/util/index.d.ts +2 -0
  47. package/dist/viewSpecs/presets/util/municipioFilter.d.ts +9 -0
  48. package/dist/viewSpecs/presets/vector_circle/index.d.ts +2 -50
  49. package/dist/viewSpecs/presets/vector_heatmap/confSchema.d.ts +24 -0
  50. package/dist/viewSpecs/presets/vector_heatmap/download.d.ts +9 -0
  51. package/dist/viewSpecs/presets/vector_heatmap/index.d.ts +72 -0
  52. package/dist/viewSpecs/presets/vector_heatmap/layers.d.ts +12 -0
  53. package/dist/viewSpecs/presets/vector_heatmap/metadata/index.d.ts +9 -0
  54. package/dist/viewSpecs/presets/vector_heatmap/parseStyleSpec.d.ts +20 -0
  55. package/dist/viewSpecs/presets/vector_heatmap/sources.d.ts +8 -0
  56. package/dist/viewSpecs/presets/vector_line/index.d.ts +2 -50
  57. package/dist/viewSpecs/presets/vector_line_categorical/confSchema.d.ts +39 -0
  58. package/dist/viewSpecs/presets/vector_line_categorical/download.d.ts +9 -0
  59. package/dist/viewSpecs/presets/vector_line_categorical/index.d.ts +88 -0
  60. package/dist/viewSpecs/presets/vector_line_categorical/layers.d.ts +11 -0
  61. package/dist/viewSpecs/presets/vector_line_categorical/metadata.d.ts +11 -0
  62. package/dist/viewSpecs/presets/vector_line_categorical/parseStyleSpec.d.ts +15 -0
  63. package/dist/viewSpecs/presets/vector_line_categorical/sources.d.ts +7 -0
  64. package/dist/viewSpecs/presets/vector_line_single/confSchema.d.ts +37 -0
  65. package/dist/viewSpecs/presets/vector_line_single/download.d.ts +9 -0
  66. package/dist/viewSpecs/presets/vector_line_single/index.d.ts +76 -0
  67. package/dist/viewSpecs/presets/vector_line_single/layers.d.ts +11 -0
  68. package/dist/viewSpecs/presets/vector_line_single/metadata.d.ts +1 -0
  69. package/dist/viewSpecs/presets/vector_line_single/parseStyleSpec.d.ts +7 -0
  70. package/dist/viewSpecs/presets/vector_line_single/sources.d.ts +7 -0
  71. package/dist/viewSpecs/presets/vector_point_categorical/confSchema.d.ts +17 -0
  72. package/dist/viewSpecs/presets/vector_point_categorical/download.d.ts +9 -0
  73. package/dist/viewSpecs/presets/vector_point_categorical/index.d.ts +100 -0
  74. package/dist/viewSpecs/presets/vector_point_categorical/layers.d.ts +45 -0
  75. package/dist/viewSpecs/presets/vector_point_categorical/metadata/index.d.ts +11 -0
  76. package/dist/viewSpecs/presets/vector_point_categorical/parseStyleSpec.d.ts +15 -0
  77. package/dist/viewSpecs/presets/vector_point_categorical/sources.d.ts +8 -0
  78. package/dist/viewSpecs/presets/vector_point_continuous/parseStyleSpec.d.ts +1 -20
  79. package/dist/viewSpecs/presets/vector_point_single/confSchema.d.ts +2 -50
  80. package/dist/viewSpecs/presets/vector_point_single/index.d.ts +2 -50
  81. package/dist/viewSpecs/presets/vector_point_single/parseStyleSpec.d.ts +1 -4
  82. package/dist/viewSpecs/presets/vector_polygon/index.d.ts +2 -50
  83. package/dist/viewSpecs/presets/vector_polygon_categorical/confSchema.d.ts +23 -0
  84. package/dist/viewSpecs/presets/vector_polygon_categorical/index.d.ts +23 -0
  85. package/dist/viewSpecs/presets/vector_polygon_categorical/parseStyleSpec.d.ts +2 -1
  86. package/dist/viewSpecs/presets/vector_polygon_continuous/confSchema.d.ts +11 -1
  87. package/dist/viewSpecs/presets/vector_polygon_continuous/index.d.ts +21 -3
  88. package/dist/viewSpecs/presets/vector_polygon_continuous/layers.d.ts +9 -2
  89. package/dist/viewSpecs/presets/vector_polygon_continuous/parseStyleSpec.d.ts +1 -3
  90. package/dist/viewSpecs/presets/vector_polygon_single/confSchema.d.ts +12 -50
  91. package/dist/viewSpecs/presets/vector_polygon_single/index.d.ts +12 -50
  92. package/dist/viewSpecs/presets/vector_polygon_single/parseStyleSpec.d.ts +1 -0
  93. package/dist/viewSpecs/resolveView/resolveView.d.ts +2 -2
  94. package/dist/viewSpecs/types.d.ts +5 -0
  95. package/dist/viewSpecs/useViews/constants.d.ts +22 -0
  96. package/dist/viewSpecs/useViews/tmp_useViews.d.ts +42 -0
  97. package/dist/viewSpecs/useViews/types.d.ts +15 -0
  98. package/dist/viewSpecs/useViews/useViewStageQueries.d.ts +23 -0
  99. package/dist/viewSpecs/useViews/useViews.d.ts +39 -10
  100. package/dist/viewSpecs/useViews/util/index.d.ts +5 -0
  101. package/dist/viewSpecs/useViews/util/useViewStageQueriesCache.d.ts +2 -0
  102. package/dist/viewSpecs/useViews/util/viewHasResolvedStages.d.ts +6 -0
  103. package/dist/viewSpecs/useViews/util/viewStageQueryKey.d.ts +45 -0
  104. package/dist/viewSpecs/useViews/util/viewsFromStageQueries.d.ts +12 -0
  105. package/dist/viewSpecs/util/colorSchemes/d3.d.ts +1 -1
  106. package/dist/viewSpecs/util/colorSchemes/index.d.ts +1 -1
  107. package/package.json +6 -4
  108. package/dist/viewSpecs/presets/util/components/confInputs.d.ts +0 -127
  109. /package/dist/viewSpecs/useViews/{queryKeyHashFnWithFileSupport.d.ts → util/queryKeyHashFnWithFileSupport.d.ts} +0 -0
@@ -0,0 +1,113 @@
1
+ export function gtfs_travel_time_hex({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ confSchema: {
6
+ data: {
7
+ travelTimeBoundary: {
8
+ type: string;
9
+ label: {
10
+ [x: string]: any;
11
+ $$resolver: symbol;
12
+ context?: any;
13
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
14
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
15
+ value: any;
16
+ };
17
+ size: string;
18
+ min: number;
19
+ max: number;
20
+ step: number;
21
+ defaultValue: number;
22
+ notify: string;
23
+ };
24
+ };
25
+ };
26
+ sources: {
27
+ [x: string]: any;
28
+ $$resolver: symbol;
29
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
30
+ dependencies: any;
31
+ value: (...args: any[]) => any;
32
+ defaultValue?: any;
33
+ context?: any;
34
+ };
35
+ layers: {
36
+ main_fill: {
37
+ source: string;
38
+ 'source-layer': string;
39
+ type: string;
40
+ interactive: boolean;
41
+ paint: {
42
+ 'fill-color': {
43
+ [x: string]: any;
44
+ $$resolver: symbol;
45
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
46
+ dependencies: any;
47
+ value: (...args: any[]) => any;
48
+ defaultValue?: any;
49
+ context?: any;
50
+ };
51
+ 'fill-opacity': number;
52
+ 'fill-outline-color': (string | (string | boolean | string[])[])[];
53
+ };
54
+ tooltip: {
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
+ onMouseMove: {
64
+ [x: string]: any;
65
+ $$resolver: symbol;
66
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
67
+ dependencies: any;
68
+ value: (...args: any[]) => any;
69
+ defaultValue?: any;
70
+ context?: any;
71
+ };
72
+ onClick: {
73
+ [x: string]: any;
74
+ $$resolver: symbol;
75
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
76
+ dependencies: any;
77
+ value: (...args: any[]) => any;
78
+ defaultValue?: any;
79
+ context?: any;
80
+ };
81
+ legends: {
82
+ title: string;
83
+ type: string;
84
+ steps: any[];
85
+ }[];
86
+ };
87
+ cursors_fill: {
88
+ zIndex: number;
89
+ source: string;
90
+ type: string;
91
+ filter: string[];
92
+ paint: {
93
+ 'fill-color': (string | string[])[];
94
+ };
95
+ };
96
+ cursors_line: {
97
+ zIndex: number;
98
+ source: string;
99
+ type: string;
100
+ filter: string[];
101
+ paint: {
102
+ 'line-color': (string | string[])[];
103
+ 'line-width': (string | number | string[])[];
104
+ };
105
+ };
106
+ };
107
+ id: any;
108
+ metodology: any;
109
+ label: any;
110
+ path: any;
111
+ sourceLabel: any;
112
+ shortDescription: any;
113
+ };
@@ -0,0 +1,72 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_fill: {
3
+ source: string;
4
+ 'source-layer': string;
5
+ type: string;
6
+ interactive: boolean;
7
+ paint: {
8
+ 'fill-color': {
9
+ [x: string]: any;
10
+ $$resolver: symbol;
11
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
12
+ dependencies: any;
13
+ value: (...args: any[]) => any;
14
+ defaultValue?: any;
15
+ context?: any;
16
+ };
17
+ 'fill-opacity': number;
18
+ 'fill-outline-color': (string | (string | boolean | string[])[])[];
19
+ };
20
+ tooltip: {
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
+ onMouseMove: {
30
+ [x: string]: any;
31
+ $$resolver: symbol;
32
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
33
+ dependencies: any;
34
+ value: (...args: any[]) => any;
35
+ defaultValue?: any;
36
+ context?: any;
37
+ };
38
+ onClick: {
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
+ legends: {
48
+ title: string;
49
+ type: string;
50
+ steps: any[];
51
+ }[];
52
+ };
53
+ cursors_fill: {
54
+ zIndex: number;
55
+ source: string;
56
+ type: string;
57
+ filter: string[];
58
+ paint: {
59
+ 'fill-color': (string | string[])[];
60
+ };
61
+ };
62
+ cursors_line: {
63
+ zIndex: number;
64
+ source: string;
65
+ type: string;
66
+ filter: string[];
67
+ paint: {
68
+ 'line-color': (string | string[])[];
69
+ 'line-width': (string | number | string[])[];
70
+ };
71
+ };
72
+ };
@@ -0,0 +1,10 @@
1
+ export function sources(viewSpec: any, allViewSpecs: any, context: 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 const SOURCE_LAYER_ID: "cem_malha_hex_res9.geom";
@@ -2,11 +2,19 @@ export * from "./cem_escolas_2022";
2
2
  export * from "./cem_censo/2010_2022";
3
3
  export * from "./cem_censo/2022";
4
4
  export * from "./cem_saude_2024";
5
- export * from "./vector_polygon";
6
- export * from "./vector_polygon_categorical";
7
- export * from "./vector_polygon_single";
8
- export * from "./vector_polygon_continuous";
9
- export * from "./vector_line";
10
5
  export * from "./vector_circle";
6
+ export * from "./vector_line";
7
+ export * from "./vector_polygon";
11
8
  export * from "./vector_point_single";
9
+ export * from "./vector_point_categorical";
12
10
  export * from "./vector_point_continuous";
11
+ export * from "./vector_heatmap";
12
+ export * from "./vector_line_single";
13
+ export * from "./vector_line_categorical";
14
+ export * from "./vector_polygon_single";
15
+ export * from "./vector_polygon_categorical";
16
+ export * from "./vector_polygon_continuous";
17
+ export * from "./raster_categorical";
18
+ export * from "./gtfs_travel_time_hex";
19
+ export * from "./gtfs_stops";
20
+ export * from "./gtfs_lines";
@@ -0,0 +1,34 @@
1
+ export function raster_categorical({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ sources: {
6
+ main: {
7
+ minzoom: number;
8
+ maxzoom: number;
9
+ type: string;
10
+ tiles: string[];
11
+ };
12
+ };
13
+ layers: {
14
+ main_raster: {
15
+ minzoom: number;
16
+ type: string;
17
+ source: string;
18
+ paint: {
19
+ 'raster-opacity': number;
20
+ };
21
+ legends: {
22
+ type: string;
23
+ title: any;
24
+ items: any;
25
+ }[];
26
+ };
27
+ };
28
+ id: any;
29
+ metodology: any;
30
+ label: any;
31
+ path: any;
32
+ sourceLabel: any;
33
+ shortDescription: any;
34
+ };
@@ -0,0 +1,15 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_raster: {
3
+ minzoom: number;
4
+ type: string;
5
+ source: string;
6
+ paint: {
7
+ 'raster-opacity': number;
8
+ };
9
+ legends: {
10
+ type: string;
11
+ title: any;
12
+ items: any;
13
+ }[];
14
+ };
15
+ };
@@ -0,0 +1,12 @@
1
+ type Category = {
2
+ value: string;
3
+ label: string;
4
+ color?: string;
5
+ };
6
+ export type StyleSpec = {
7
+ colorScheme?: 'schemeGeoReDUSSafe' | 'schemeGeoReDUS' | 'schemeCategory10' | 'schemeAccent' | 'schemeDark2' | 'schemeObservable10' | 'schemePaired' | 'schemePastel1' | 'schemePastel2' | 'schemeSet1' | 'schemeSet2' | 'schemeSet3' | 'schemeTableau10';
8
+ categories: Category[];
9
+ };
10
+ export type StyleSpecInput = StyleSpec;
11
+ export declare function parseStyleSpec(styleInput: StyleSpecInput): StyleSpec;
12
+ export {};
@@ -0,0 +1,9 @@
1
+ export function sources(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main: {
3
+ minzoom: number;
4
+ maxzoom: number;
5
+ type: string;
6
+ tiles: string[];
7
+ };
8
+ };
9
+ export const MAIN_SOURCE_ID: "main";
@@ -0,0 +1,13 @@
1
+ export declare function parseStyleSpec(style?: Record<string, any>): {
2
+ bands: any;
3
+ minzoom: any;
4
+ dvtView: any;
5
+ originIdKey: any;
6
+ originKey: any;
7
+ destKey: any;
8
+ valueKey: any;
9
+ baseFillColor: any;
10
+ baseFillOpacity: any;
11
+ outlineColor: any;
12
+ outlineWidth: any;
13
+ };
@@ -1,4 +1,4 @@
1
- export function basicTooltip({ title, entries }?: {}): {
1
+ export function basicTooltip({ title, entries }?: {}, { extraEntries }?: {}): {
2
2
  title: (string | {
3
3
  [x: string]: any;
4
4
  $$resolver: symbol;
@@ -0,0 +1,17 @@
1
+ export function categoricalColorSchemeSelector({ defaultValue, customColor, }: {
2
+ defaultValue?: string | undefined;
3
+ customColor?: boolean | undefined;
4
+ }): {
5
+ label: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: string;
9
+ options: ({
10
+ value: string;
11
+ label: import("react").JSX.Element;
12
+ } | {
13
+ value: string;
14
+ label: string;
15
+ })[];
16
+ };
17
+ export const CUSTOM_COLOR_SCHEME: "customColorScheme";
@@ -0,0 +1,63 @@
1
+ export function colorSelector(_initialColor: any, _customColor?: boolean): {
2
+ label: string;
3
+ helperText: string;
4
+ type: string;
5
+ clearable: boolean;
6
+ defaultValue: any;
7
+ options: {
8
+ value: string;
9
+ label: import("react").JSX.Element;
10
+ }[];
11
+ };
12
+ export const COLOR_OPTIONS: ({
13
+ label: string;
14
+ value: string;
15
+ } | {
16
+ label: string;
17
+ value: string;
18
+ } | {
19
+ label: string;
20
+ value: string;
21
+ } | {
22
+ label: string;
23
+ value: string;
24
+ } | {
25
+ label: string;
26
+ value: string;
27
+ } | {
28
+ label: string;
29
+ value: string;
30
+ } | {
31
+ label: string;
32
+ value: string;
33
+ } | {
34
+ label: string;
35
+ value: string;
36
+ } | {
37
+ label: string;
38
+ value: string;
39
+ } | {
40
+ label: string;
41
+ value: string;
42
+ } | {
43
+ label: string;
44
+ value: string;
45
+ } | {
46
+ label: string;
47
+ value: string;
48
+ } | {
49
+ label: string;
50
+ value: string;
51
+ } | {
52
+ label: string;
53
+ value: string;
54
+ } | {
55
+ label: string;
56
+ value: string;
57
+ } | {
58
+ label: string;
59
+ value: string;
60
+ } | {
61
+ label: string;
62
+ value: string;
63
+ })[];
@@ -0,0 +1,12 @@
1
+ export function continuousColorSchemeSelector({ defaultValue }: {
2
+ defaultValue?: string | undefined;
3
+ }): {
4
+ label: string;
5
+ type: string;
6
+ clearable: boolean;
7
+ defaultValue: string;
8
+ options: {
9
+ value: string;
10
+ label: import("react").JSX.Element;
11
+ }[];
12
+ };
@@ -0,0 +1,16 @@
1
+ export function svgBgImage(svg: any): string;
2
+ export function fillPatternSelector(_defaultValue?: string, props?: {}): {
3
+ label: string;
4
+ type: string;
5
+ clearable: boolean;
6
+ defaultValue: string;
7
+ options: {
8
+ label: import("react").JSX.Element;
9
+ value: string;
10
+ }[];
11
+ };
12
+ export const FILL_PATTERN_SOLID: "solid";
13
+ export const FILL_PATTERN_OPTIONS: {
14
+ label: string;
15
+ value: string;
16
+ }[];
@@ -0,0 +1,7 @@
1
+ export * from "./colorSelector";
2
+ export * from "./fillPatternSelector";
3
+ export * from "./categoricalColorSchemeSelector";
4
+ export * from "./continuousColorSchemeSelector";
5
+ export * from "./linePatternSelector";
6
+ export * from "./lineWidthSelector";
7
+ export * from "./opacitySlider";
@@ -0,0 +1,18 @@
1
+ export function linePatternSelector({ defaultValue, }?: {
2
+ defaultValue?: string | undefined;
3
+ }): {
4
+ label: string;
5
+ helperText: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: string;
9
+ options: {
10
+ label: import("react").JSX.Element;
11
+ value: string;
12
+ }[];
13
+ };
14
+ export const LINE_PATTERN_SOLID: "solid";
15
+ export const LINE_PATTERN_OPTIONS: {
16
+ label: string;
17
+ value: string;
18
+ }[];
@@ -0,0 +1,18 @@
1
+ export function lineWidthSelector({ defaultValue }?: {
2
+ defaultValue?: number | undefined;
3
+ }): {
4
+ label: string;
5
+ helperText: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: number;
9
+ options: {
10
+ label: import("react").JSX.Element;
11
+ value: number;
12
+ }[];
13
+ };
14
+ export const LINE_WIDTH_1: 1;
15
+ export const LINE_WIDTH_OPTIONS: {
16
+ label: string;
17
+ value: number;
18
+ }[];
@@ -0,0 +1,10 @@
1
+ export function opacitySlider({ ...props }?: {}): {
2
+ type: string;
3
+ label: string;
4
+ size: string;
5
+ min: number;
6
+ max: number;
7
+ step: number;
8
+ defaultValue: number;
9
+ notify: string;
10
+ };
@@ -0,0 +1,12 @@
1
+ export function rawFileDownload({ fileName, downloadUrl }: {
2
+ fileName: any;
3
+ downloadUrl: 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,9 @@
1
+ export function buildHourlyFieldNames(valueKey: any): string[];
2
+ export function isMaxAggregationKey(valueKey: any): boolean;
3
+ export function buildPeriodValueExpression(valueKey: any, periodFrom: any, periodTo: any): (string | number | (string | (string | number | string[])[])[])[];
4
+ export function buildPeriodMaxExpression(valueKey: any, periodFrom: any, periodTo: any): (string | (string | number | string[])[])[];
5
+ export function buildPeriodExpression(valueKey: any, periodFrom: any, periodTo: any): (string | (string | number | string[])[])[] | (string | number | (string | (string | number | string[])[])[])[];
6
+ export function buildPeriodFrequencyExpression(valueKey: any, periodFrom: any, periodTo: any): (string | number | (string | (string | number | (string | number | (string | number | string[])[])[])[])[])[];
7
+ export function computePeriodFrequency(getValue: any, valueKey: any, periodFrom: any, periodTo: any): number;
8
+ export function computePeriodValue(getValue: any, valueKey: any, periodFrom: any, periodTo: any): number;
9
+ export function formatHour(fraction: any): string;
@@ -3,4 +3,6 @@ export * from "./url";
3
3
  export * from "./string";
4
4
  export * from "./components/basicTooltip";
5
5
  export * from "./components/basicDownload";
6
+ export * from "./components/rawFileDownload";
6
7
  export * from "./components/confInputs";
8
+ export * from "./municipioFilter";
@@ -0,0 +1,9 @@
1
+ export declare function municipioFilter(): {
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
+ };
@@ -17,58 +17,10 @@ export function vector_circle({ label, circle, color, tiles, source_layer, sourc
17
17
  type: string;
18
18
  clearable: boolean;
19
19
  defaultValue: any;
20
- options: ({
21
- label: import("react").JSX.Element;
22
- value: string;
23
- } | {
24
- label: import("react").JSX.Element;
25
- value: string;
26
- } | {
27
- label: import("react").JSX.Element;
28
- value: string;
29
- } | {
30
- label: import("react").JSX.Element;
31
- value: string;
32
- } | {
33
- label: import("react").JSX.Element;
34
- value: string;
35
- } | {
36
- label: import("react").JSX.Element;
37
- value: string;
38
- } | {
39
- label: import("react").JSX.Element;
40
- value: string;
41
- } | {
42
- label: import("react").JSX.Element;
43
- value: string;
44
- } | {
45
- label: import("react").JSX.Element;
20
+ options: {
46
21
  value: string;
47
- } | {
48
22
  label: import("react").JSX.Element;
49
- value: string;
50
- } | {
51
- label: import("react").JSX.Element;
52
- value: string;
53
- } | {
54
- label: import("react").JSX.Element;
55
- value: string;
56
- } | {
57
- label: import("react").JSX.Element;
58
- value: string;
59
- } | {
60
- label: import("react").JSX.Element;
61
- value: string;
62
- } | {
63
- label: import("react").JSX.Element;
64
- value: string;
65
- } | {
66
- label: import("react").JSX.Element;
67
- value: string;
68
- } | {
69
- label: import("react").JSX.Element;
70
- value: string;
71
- })[];
23
+ }[];
72
24
  };
73
25
  };
74
26
  };
@@ -0,0 +1,24 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ style: {
3
+ colorScheme: {
4
+ label: string;
5
+ type: string;
6
+ clearable: boolean;
7
+ defaultValue: string;
8
+ options: {
9
+ value: string;
10
+ label: import("react").JSX.Element;
11
+ }[];
12
+ };
13
+ opacity: {
14
+ type: string;
15
+ label: string;
16
+ size: string;
17
+ min: number;
18
+ max: number;
19
+ step: number;
20
+ defaultValue: number;
21
+ notify: string;
22
+ } | null;
23
+ };
24
+ };
@@ -0,0 +1,9 @@
1
+ export function download(viewSpec: any, allViewSpecs: any, context: 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
+ } | null;