@redus/georedus-ui 0.21.0 → 0.22.1

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 (84) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/Markdown/index.d.ts +4 -1
  3. package/dist/main.js +3693 -1876
  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 +10 -7
  30. package/dist/viewSpecs/presets/tmp_gtfs_travel_time_hex/parseStyleSpec.d.ts +13 -0
  31. package/dist/viewSpecs/presets/util/components/basicTooltip.d.ts +1 -1
  32. package/dist/viewSpecs/presets/util/components/confInputs/categoricalColorSchemeSelector.d.ts +8 -4
  33. package/dist/viewSpecs/presets/util/components/confInputs/colorSelector.d.ts +3 -51
  34. package/dist/viewSpecs/presets/util/components/confInputs/continuousColorSchemeSelector.d.ts +1 -0
  35. package/dist/viewSpecs/presets/util/components/confInputs/opacitySlider.d.ts +2 -3
  36. package/dist/viewSpecs/presets/util/components/rawFileDownload.d.ts +12 -0
  37. package/dist/viewSpecs/presets/util/hourUtil.d.ts +9 -0
  38. package/dist/viewSpecs/presets/util/index.d.ts +2 -0
  39. package/dist/viewSpecs/presets/util/municipioFilter.d.ts +9 -0
  40. package/dist/viewSpecs/presets/vector_circle/index.d.ts +2 -50
  41. package/dist/viewSpecs/presets/vector_heatmap/confSchema.d.ts +2 -0
  42. package/dist/viewSpecs/presets/vector_heatmap/download.d.ts +1 -1
  43. package/dist/viewSpecs/presets/vector_heatmap/index.d.ts +3 -1
  44. package/dist/viewSpecs/presets/vector_heatmap/parseStyleSpec.d.ts +3 -0
  45. package/dist/viewSpecs/presets/vector_line/index.d.ts +2 -50
  46. package/dist/viewSpecs/presets/vector_line_categorical/confSchema.d.ts +13 -0
  47. package/dist/viewSpecs/presets/vector_line_categorical/download.d.ts +1 -1
  48. package/dist/viewSpecs/presets/vector_line_categorical/index.d.ts +14 -1
  49. package/dist/viewSpecs/presets/vector_line_categorical/parseStyleSpec.d.ts +1 -1
  50. package/dist/viewSpecs/presets/vector_line_single/confSchema.d.ts +2 -50
  51. package/dist/viewSpecs/presets/vector_line_single/index.d.ts +2 -50
  52. package/dist/viewSpecs/presets/vector_point_categorical/confSchema.d.ts +17 -0
  53. package/dist/viewSpecs/presets/vector_point_categorical/index.d.ts +18 -1
  54. package/dist/viewSpecs/presets/vector_point_categorical/layers.d.ts +1 -1
  55. package/dist/viewSpecs/presets/vector_point_categorical/parseStyleSpec.d.ts +2 -1
  56. package/dist/viewSpecs/presets/vector_point_continuous/parseStyleSpec.d.ts +1 -20
  57. package/dist/viewSpecs/presets/vector_point_single/confSchema.d.ts +2 -50
  58. package/dist/viewSpecs/presets/vector_point_single/index.d.ts +2 -50
  59. package/dist/viewSpecs/presets/vector_point_single/parseStyleSpec.d.ts +1 -1
  60. package/dist/viewSpecs/presets/vector_polygon/index.d.ts +2 -50
  61. package/dist/viewSpecs/presets/vector_polygon_categorical/confSchema.d.ts +9 -5
  62. package/dist/viewSpecs/presets/vector_polygon_categorical/index.d.ts +9 -5
  63. package/dist/viewSpecs/presets/vector_polygon_categorical/parseStyleSpec.d.ts +2 -1
  64. package/dist/viewSpecs/presets/vector_polygon_continuous/confSchema.d.ts +2 -0
  65. package/dist/viewSpecs/presets/vector_polygon_continuous/index.d.ts +3 -1
  66. package/dist/viewSpecs/presets/vector_polygon_continuous/layers.d.ts +0 -1
  67. package/dist/viewSpecs/presets/vector_polygon_continuous/parseStyleSpec.d.ts +1 -0
  68. package/dist/viewSpecs/presets/vector_polygon_single/confSchema.d.ts +3 -50
  69. package/dist/viewSpecs/presets/vector_polygon_single/index.d.ts +3 -50
  70. package/dist/viewSpecs/presets/vector_polygon_single/parseStyleSpec.d.ts +1 -0
  71. package/dist/viewSpecs/resolveView/resolveView.d.ts +2 -2
  72. package/dist/viewSpecs/types.d.ts +5 -0
  73. package/dist/viewSpecs/useViews/constants.d.ts +22 -0
  74. package/dist/viewSpecs/useViews/tmp_useViews.d.ts +42 -0
  75. package/dist/viewSpecs/useViews/types.d.ts +15 -0
  76. package/dist/viewSpecs/useViews/useViewStageQueries.d.ts +23 -0
  77. package/dist/viewSpecs/useViews/useViews.d.ts +39 -10
  78. package/dist/viewSpecs/useViews/util/index.d.ts +5 -0
  79. package/dist/viewSpecs/useViews/util/useViewStageQueriesCache.d.ts +2 -0
  80. package/dist/viewSpecs/useViews/util/viewHasResolvedStages.d.ts +6 -0
  81. package/dist/viewSpecs/useViews/util/viewStageQueryKey.d.ts +45 -0
  82. package/dist/viewSpecs/useViews/util/viewsFromStageQueries.d.ts +12 -0
  83. package/package.json +6 -4
  84. /package/dist/viewSpecs/useViews/{queryKeyHashFnWithFileSupport.d.ts → util/queryKeyHashFnWithFileSupport.d.ts} +0 -0
@@ -82,6 +82,7 @@ export function confSchema(viewSpec: any, allViewSpecs: any, context: any, { PAR
82
82
  max: number;
83
83
  step: number;
84
84
  defaultValue: number;
85
+ notify: string;
85
86
  };
86
87
  };
87
88
  };
@@ -88,6 +88,7 @@ export function cem_censo_2010_2022(viewSpec: any, allViewSpecs: any, context: a
88
88
  max: number;
89
89
  step: number;
90
90
  defaultValue: number;
91
+ notify: string;
91
92
  };
92
93
  };
93
94
  };
@@ -88,6 +88,7 @@ export function cem_censo_2022(viewSpec: any, allViewSpecs: any, context: any):
88
88
  max: number;
89
89
  step: number;
90
90
  defaultValue: number;
91
+ notify: string;
91
92
  };
92
93
  };
93
94
  };
@@ -0,0 +1,51 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ style: {
3
+ classificationMethodType: {
4
+ label: string;
5
+ type: string;
6
+ clearable: boolean;
7
+ defaultValue: any;
8
+ options: {
9
+ value: string;
10
+ label: string;
11
+ }[];
12
+ };
13
+ color: {
14
+ label: string;
15
+ helperText: string;
16
+ type: string;
17
+ clearable: boolean;
18
+ defaultValue: any;
19
+ options: {
20
+ value: string;
21
+ label: import("react").JSX.Element;
22
+ }[];
23
+ };
24
+ opacity: {
25
+ type: string;
26
+ label: string;
27
+ size: string;
28
+ min: number;
29
+ max: number;
30
+ step: number;
31
+ defaultValue: number;
32
+ notify: string;
33
+ };
34
+ periodHourSlider: {
35
+ type: string;
36
+ size: string;
37
+ min: number;
38
+ max: number;
39
+ step: number;
40
+ defaultValue: number[];
41
+ label: {
42
+ [x: string]: any;
43
+ $$resolver: symbol;
44
+ context?: any;
45
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
46
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
47
+ value: any;
48
+ };
49
+ };
50
+ };
51
+ };
@@ -0,0 +1,3 @@
1
+ export const WIDTH_MIN: 1;
2
+ export const WIDTH_MAX: 8;
3
+ export const DEFAULT_LINE_OPACITY: 0.5;
@@ -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;
@@ -0,0 +1,100 @@
1
+ export function gtfs_lines({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ confSchema: {
6
+ style: {
7
+ classificationMethodType: {
8
+ label: string;
9
+ type: string;
10
+ clearable: boolean;
11
+ defaultValue: any;
12
+ options: {
13
+ value: string;
14
+ label: string;
15
+ }[];
16
+ };
17
+ color: {
18
+ label: string;
19
+ helperText: string;
20
+ type: string;
21
+ clearable: boolean;
22
+ defaultValue: any;
23
+ options: {
24
+ value: string;
25
+ label: import("react").JSX.Element;
26
+ }[];
27
+ };
28
+ opacity: {
29
+ type: string;
30
+ label: string;
31
+ size: string;
32
+ min: number;
33
+ max: number;
34
+ step: number;
35
+ defaultValue: number;
36
+ notify: string;
37
+ };
38
+ periodHourSlider: {
39
+ type: string;
40
+ size: string;
41
+ min: number;
42
+ max: number;
43
+ step: number;
44
+ defaultValue: number[];
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
+ };
54
+ };
55
+ };
56
+ metadata: {
57
+ widthData: {
58
+ [x: string]: any;
59
+ $$resolver: symbol;
60
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
61
+ dependencies: any;
62
+ value: (...args: any[]) => any;
63
+ defaultValue?: any;
64
+ context?: any;
65
+ } | null;
66
+ };
67
+ sources: {
68
+ main: {
69
+ promoteId: string;
70
+ type: string;
71
+ tiles: string[];
72
+ };
73
+ };
74
+ layers: {
75
+ main_line: {
76
+ [x: string]: any;
77
+ $$resolver: symbol;
78
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
79
+ dependencies: any;
80
+ value: (...args: any[]) => any;
81
+ defaultValue?: any;
82
+ context?: any;
83
+ };
84
+ };
85
+ download: {
86
+ [x: string]: any;
87
+ $$resolver: symbol;
88
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
89
+ dependencies: any;
90
+ value: (...args: any[]) => any;
91
+ defaultValue?: any;
92
+ context?: any;
93
+ } | null;
94
+ id: any;
95
+ metodology: any;
96
+ label: any;
97
+ path: any;
98
+ sourceLabel: any;
99
+ shortDescription: any;
100
+ };
@@ -0,0 +1,11 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_line: {
3
+ [x: string]: any;
4
+ $$resolver: symbol;
5
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
6
+ dependencies: any;
7
+ value: (...args: any[]) => any;
8
+ defaultValue?: any;
9
+ context?: any;
10
+ };
11
+ };
@@ -0,0 +1,11 @@
1
+ export function metadata(viewSpec: any, allViewSpecs: any, context: any): {
2
+ widthData: {
3
+ [x: string]: any;
4
+ $$resolver: symbol;
5
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
6
+ dependencies: any;
7
+ value: (...args: any[]) => any;
8
+ defaultValue?: any;
9
+ context?: any;
10
+ } | null;
11
+ };
@@ -0,0 +1,24 @@
1
+ export namespace WIDTH_SCALE_STOPS_RESOLVERS {
2
+ export { equalIntervals };
3
+ export { quantile };
4
+ export { naturalBreaks };
5
+ }
6
+ declare function equalIntervals({ values, classificationMethod, sizeMin, sizeMax }: {
7
+ values: any;
8
+ classificationMethod: any;
9
+ sizeMin: any;
10
+ sizeMax: any;
11
+ }): any[];
12
+ declare function quantile({ values, classificationMethod, sizeMin, sizeMax }: {
13
+ values: any;
14
+ classificationMethod: any;
15
+ sizeMin: any;
16
+ sizeMax: any;
17
+ }): any[];
18
+ declare function naturalBreaks({ values, classificationMethod, sizeMin, sizeMax }: {
19
+ values: any;
20
+ classificationMethod: any;
21
+ sizeMin: any;
22
+ sizeMax: any;
23
+ }): any[];
24
+ export {};
@@ -0,0 +1,26 @@
1
+ type ClassificationMethod = {
2
+ type: 'naturalBreaks';
3
+ k: number;
4
+ } | 'naturalBreaks' | {
5
+ type: 'quantile';
6
+ k: number;
7
+ } | 'quantile' | {
8
+ type: 'equalIntervals';
9
+ k: number;
10
+ } | 'equalIntervals';
11
+ type ContinuousSpecBase = {
12
+ valueKey: string;
13
+ valueLabel: string;
14
+ viewKey: string;
15
+ cd_mun: string;
16
+ classificationMethod?: ClassificationMethod;
17
+ };
18
+ export type StyleSpec = {
19
+ colorKey?: string;
20
+ opacity?: number;
21
+ lineWidth?: number | ContinuousSpecBase;
22
+ };
23
+ export type StyleSpecInput = StyleSpec;
24
+ export declare const DEFAULT_COLOR_SCHEME_ID = "schemeOrRd";
25
+ export declare function parseStyleSpec(styleInput: StyleSpecInput): StyleSpec;
26
+ export {};
@@ -0,0 +1,7 @@
1
+ export function sources(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main: {
3
+ promoteId: string;
4
+ type: string;
5
+ tiles: string[];
6
+ };
7
+ };
@@ -0,0 +1,46 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ style: {
3
+ classificationMethodType?: undefined;
4
+ colorScheme?: undefined;
5
+ periodHourSlider?: undefined;
6
+ };
7
+ } | {
8
+ style: {
9
+ classificationMethodType: {
10
+ label: string;
11
+ type: string;
12
+ clearable: boolean;
13
+ defaultValue: any;
14
+ options: {
15
+ value: string;
16
+ label: string;
17
+ }[];
18
+ };
19
+ colorScheme: {
20
+ label: string;
21
+ type: string;
22
+ clearable: boolean;
23
+ defaultValue: string;
24
+ options: {
25
+ value: string;
26
+ label: import("react").JSX.Element;
27
+ }[];
28
+ };
29
+ periodHourSlider: {
30
+ type: string;
31
+ size: string;
32
+ min: number;
33
+ max: number;
34
+ step: number;
35
+ defaultValue: number[];
36
+ label: {
37
+ [x: string]: any;
38
+ $$resolver: symbol;
39
+ context?: any;
40
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
41
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
42
+ value: any;
43
+ };
44
+ };
45
+ };
46
+ };
@@ -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;
@@ -0,0 +1,147 @@
1
+ export function gtfs_stops({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ viewType: string;
6
+ confSchema: {
7
+ style: {
8
+ classificationMethodType?: undefined;
9
+ colorScheme?: undefined;
10
+ periodHourSlider?: undefined;
11
+ };
12
+ } | {
13
+ style: {
14
+ classificationMethodType: {
15
+ label: string;
16
+ type: string;
17
+ clearable: boolean;
18
+ defaultValue: any;
19
+ options: {
20
+ value: string;
21
+ label: string;
22
+ }[];
23
+ };
24
+ colorScheme: {
25
+ label: string;
26
+ type: string;
27
+ clearable: boolean;
28
+ defaultValue: string;
29
+ options: {
30
+ value: string;
31
+ label: import("react").JSX.Element;
32
+ }[];
33
+ };
34
+ periodHourSlider: {
35
+ type: string;
36
+ size: string;
37
+ min: number;
38
+ max: number;
39
+ step: number;
40
+ defaultValue: number[];
41
+ label: {
42
+ [x: string]: any;
43
+ $$resolver: symbol;
44
+ context?: any;
45
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
46
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
47
+ value: any;
48
+ };
49
+ };
50
+ };
51
+ };
52
+ metadata: {
53
+ radiusData: {
54
+ [x: string]: any;
55
+ $$resolver: symbol;
56
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
57
+ dependencies: any;
58
+ value: (...args: any[]) => any;
59
+ defaultValue?: any;
60
+ context?: any;
61
+ } | null;
62
+ };
63
+ sources: {
64
+ main: {
65
+ promoteId: string;
66
+ type: string;
67
+ tiles: string[];
68
+ };
69
+ };
70
+ layers: {
71
+ main_circle: {
72
+ zIndex: number;
73
+ source: string;
74
+ 'source-layer': any;
75
+ interactive: boolean;
76
+ filter: any;
77
+ type: string;
78
+ paint: {
79
+ 'circle-stroke-color': string;
80
+ 'circle-stroke-width': number;
81
+ 'circle-color': any;
82
+ 'circle-opacity': {
83
+ [x: string]: any;
84
+ $$resolver: symbol;
85
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
86
+ dependencies: any;
87
+ value: (...args: any[]) => any;
88
+ defaultValue?: any;
89
+ context?: any;
90
+ };
91
+ 'circle-radius': {
92
+ [x: string]: any;
93
+ $$resolver: symbol;
94
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
95
+ dependencies: any;
96
+ value: (...args: any[]) => any;
97
+ defaultValue?: any;
98
+ context?: any;
99
+ };
100
+ };
101
+ legends: {
102
+ [x: string]: any;
103
+ $$resolver: symbol;
104
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
105
+ dependencies: any;
106
+ value: (...args: any[]) => any;
107
+ defaultValue?: any;
108
+ context?: any;
109
+ };
110
+ tooltip: {
111
+ title: (string | {
112
+ [x: string]: any;
113
+ $$resolver: symbol;
114
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
115
+ dependencies: any;
116
+ value: (...args: any[]) => any;
117
+ defaultValue?: any;
118
+ context?: any;
119
+ })[];
120
+ entries: (string | {
121
+ [x: string]: any;
122
+ $$resolver: symbol;
123
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
124
+ dependencies: any;
125
+ value: (...args: any[]) => any;
126
+ defaultValue?: any;
127
+ context?: any;
128
+ })[];
129
+ };
130
+ };
131
+ };
132
+ download: {
133
+ [x: string]: any;
134
+ $$resolver: symbol;
135
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
136
+ dependencies: any;
137
+ value: (...args: any[]) => any;
138
+ defaultValue?: any;
139
+ context?: any;
140
+ } | null;
141
+ id: any;
142
+ metodology: any;
143
+ label: any;
144
+ path: any;
145
+ sourceLabel: any;
146
+ shortDescription: any;
147
+ };
@@ -0,0 +1,62 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_circle: {
3
+ zIndex: number;
4
+ source: string;
5
+ 'source-layer': any;
6
+ interactive: boolean;
7
+ filter: any;
8
+ type: string;
9
+ paint: {
10
+ 'circle-stroke-color': string;
11
+ 'circle-stroke-width': number;
12
+ 'circle-color': any;
13
+ 'circle-opacity': {
14
+ [x: string]: any;
15
+ $$resolver: symbol;
16
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
17
+ dependencies: any;
18
+ value: (...args: any[]) => any;
19
+ defaultValue?: any;
20
+ context?: any;
21
+ };
22
+ 'circle-radius': {
23
+ [x: string]: any;
24
+ $$resolver: symbol;
25
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
26
+ dependencies: any;
27
+ value: (...args: any[]) => any;
28
+ defaultValue?: any;
29
+ context?: any;
30
+ };
31
+ };
32
+ legends: {
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
+ };
41
+ tooltip: {
42
+ title: (string | {
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
+ entries: (string | {
52
+ [x: string]: any;
53
+ $$resolver: symbol;
54
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
55
+ dependencies: any;
56
+ value: (...args: any[]) => any;
57
+ defaultValue?: any;
58
+ context?: any;
59
+ })[];
60
+ };
61
+ };
62
+ };
@@ -0,0 +1,30 @@
1
+ export namespace COLOR_SCALE_STOPS_RESOLVERS {
2
+ export { equalIntervals };
3
+ export { quantile };
4
+ export { naturalBreaks };
5
+ }
6
+ declare function equalIntervals({ values, colorScheme, classificationMethod }: {
7
+ values: any;
8
+ colorScheme: any;
9
+ classificationMethod: any;
10
+ }): {
11
+ colorScaleStops: any[];
12
+ hasLowerValues: boolean;
13
+ };
14
+ declare function quantile({ values, colorScheme, classificationMethod }: {
15
+ values: any;
16
+ colorScheme: any;
17
+ classificationMethod: any;
18
+ }): {
19
+ colorScaleStops: any[];
20
+ hasLowerValues: boolean;
21
+ };
22
+ declare function naturalBreaks({ values, colorScheme, classificationMethod }: {
23
+ values: any;
24
+ colorScheme: any;
25
+ classificationMethod: any;
26
+ }): {
27
+ colorScaleStops: any[];
28
+ hasLowerValues: boolean;
29
+ };
30
+ export {};
@@ -0,0 +1,11 @@
1
+ export function metadata(viewSpec: any, allViewSpecs: any, context: any): {
2
+ radiusData: {
3
+ [x: string]: any;
4
+ $$resolver: symbol;
5
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
6
+ dependencies: any;
7
+ value: (...args: any[]) => any;
8
+ defaultValue?: any;
9
+ context?: any;
10
+ } | null;
11
+ };
@@ -0,0 +1,33 @@
1
+ type ClassificationMethod = {
2
+ type: 'naturalBreaks';
3
+ k: number;
4
+ } | 'naturalBreaks' | {
5
+ type: 'quantile';
6
+ k: number;
7
+ } | 'quantile' | {
8
+ type: 'equalIntervals';
9
+ k: number;
10
+ } | 'equalIntervals';
11
+ type ContinuousSpecBase = {
12
+ valueKey: string;
13
+ cd_mun: string;
14
+ values: string | number[] | {
15
+ value: number;
16
+ }[];
17
+ numberFormat?: any;
18
+ classificationMethod?: ClassificationMethod;
19
+ colorScheme?: 'schemeBlues' | 'schemeGreens' | 'schemeGreys' | 'schemeOranges' | 'schemePurples' | 'schemeReds' | 'schemeBuGn' | 'schemeBuPu' | 'schemeGnBu' | 'schemeOrRd' | 'schemePuBuGn' | 'schemePuBu' | 'schemePuRd' | 'schemeRdPu' | 'schemeYlGnBu' | 'schemeYlGn' | 'schemeYlOrBr' | 'schemeYlOrRd' | 'schemeBrBG' | 'schemePRGn' | 'schemePiYG' | 'schemePuOr' | 'schemeRdBu' | 'schemeRdGy' | 'schemeRdYlBu' | 'schemeRdYlGn' | 'schemeSpectral' | string[];
20
+ legend?: {
21
+ format: {
22
+ [key: string]: number;
23
+ };
24
+ };
25
+ };
26
+ export type StyleSpec = {
27
+ color?: string;
28
+ radius?: ContinuousSpecBase & {};
29
+ };
30
+ export type StyleSpecInput = StyleSpec;
31
+ export declare const DEFAULT_COLOR_SCHEME_ID = "schemeRdYlGn";
32
+ export declare function parseStyleSpec(styleInput: StyleSpecInput): StyleSpec;
33
+ export {};
@@ -0,0 +1,8 @@
1
+ export function sources(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main: {
3
+ promoteId: string;
4
+ type: string;
5
+ tiles: string[];
6
+ };
7
+ };
8
+ export const MAIN_SOURCE_ID: "main";
@@ -0,0 +1,21 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ data: {
3
+ travelTimeBoundary: {
4
+ type: string;
5
+ label: {
6
+ [x: string]: any;
7
+ $$resolver: symbol;
8
+ context?: any;
9
+ defaultValue?: import("@orioro/resolve").ResolutionNode | any;
10
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
11
+ value: any;
12
+ };
13
+ size: string;
14
+ min: number;
15
+ max: number;
16
+ step: number;
17
+ defaultValue: number;
18
+ notify: string;
19
+ };
20
+ };
21
+ };
@@ -0,0 +1,7 @@
1
+ export declare function fetchDataForHex({ hexId, METADATA_API_ENDPOINT, signal, }: {
2
+ hexId: string;
3
+ METADATA_API_ENDPOINT: string;
4
+ signal?: AbortSignal;
5
+ }): Promise<Record<string, {
6
+ t: number;
7
+ }>>;