@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,72 @@
1
+ export function vector_heatmap({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ confSchema: {
6
+ style: {
7
+ colorScheme: {
8
+ label: string;
9
+ type: string;
10
+ clearable: boolean;
11
+ defaultValue: string;
12
+ options: {
13
+ value: string;
14
+ label: import("react").JSX.Element;
15
+ }[];
16
+ };
17
+ opacity: {
18
+ type: string;
19
+ label: string;
20
+ size: string;
21
+ min: number;
22
+ max: number;
23
+ step: number;
24
+ defaultValue: number;
25
+ notify: string;
26
+ } | null;
27
+ };
28
+ };
29
+ metadata: {
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
+ sources: {
39
+ main: {
40
+ promoteId: string;
41
+ type: string;
42
+ tiles: string[];
43
+ };
44
+ };
45
+ layers: {
46
+ main_heatmap: {
47
+ [x: string]: any;
48
+ $$resolver: symbol;
49
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
50
+ dependencies: any;
51
+ value: (...args: any[]) => any;
52
+ defaultValue?: any;
53
+ context?: any;
54
+ };
55
+ main_circle: any;
56
+ };
57
+ download: {
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
+ id: any;
67
+ metodology: any;
68
+ label: any;
69
+ path: any;
70
+ sourceLabel: any;
71
+ shortDescription: any;
72
+ };
@@ -0,0 +1,12 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_heatmap: {
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
+ main_circle: any;
12
+ };
@@ -0,0 +1,9 @@
1
+ export function metadata(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
+ };
@@ -0,0 +1,20 @@
1
+ type HeatmapSteps = {
2
+ step: number;
3
+ label: string;
4
+ color?: string;
5
+ };
6
+ export type StyleSpec = {
7
+ minzoom?: number;
8
+ maxzoom?: number;
9
+ weight?: number;
10
+ radius?: number | number[];
11
+ opacity?: number | number[];
12
+ steps?: HeatmapSteps[];
13
+ circle?: Boolean;
14
+ circle_radius?: number | number[];
15
+ colorScheme?: 'schemeBlues' | 'schemeGreens' | 'schemeGreys' | 'schemeOranges' | 'schemePurples' | 'schemeReds' | 'schemeBuGn' | 'schemeBuPu' | 'schemeGnBu' | 'schemeOrRd' | 'schemePuBuGn' | 'schemePuBu' | 'schemePuRd' | 'schemeRdPu' | 'schemeYlGnBu' | 'schemeYlGn' | 'schemeYlOrBr' | 'schemeYlOrRd' | '-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' | '-schemeBrBG' | '-schemePRGn' | '-schemePiYG' | '-schemePuOr' | '-schemeRdBu' | '-schemeRdGy' | '-schemeRdYlBu' | '-schemeRdYlGn' | '-schemeSpectral';
16
+ };
17
+ export type StyleSpecInput = StyleSpec;
18
+ export declare const DEFAULT_HEATMAP_COLOR_SCHEME_ID = "-schemeSpectral";
19
+ export declare function parseStyleSpec(styleInput?: StyleSpecInput): StyleSpec;
20
+ 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";
@@ -19,58 +19,10 @@ export function vector_line({ label, line, color, tiles, source_layer, sources,
19
19
  type: string;
20
20
  clearable: boolean;
21
21
  defaultValue: any;
22
- options: ({
23
- label: import("react").JSX.Element;
24
- value: string;
25
- } | {
26
- label: import("react").JSX.Element;
27
- value: string;
28
- } | {
29
- label: import("react").JSX.Element;
30
- value: string;
31
- } | {
32
- label: import("react").JSX.Element;
33
- value: string;
34
- } | {
35
- label: import("react").JSX.Element;
36
- value: string;
37
- } | {
38
- label: import("react").JSX.Element;
39
- value: string;
40
- } | {
41
- label: import("react").JSX.Element;
42
- value: string;
43
- } | {
44
- label: import("react").JSX.Element;
45
- value: string;
46
- } | {
47
- label: import("react").JSX.Element;
48
- value: string;
49
- } | {
50
- label: import("react").JSX.Element;
51
- value: string;
52
- } | {
53
- label: import("react").JSX.Element;
54
- value: string;
55
- } | {
56
- label: import("react").JSX.Element;
57
- value: string;
58
- } | {
59
- label: import("react").JSX.Element;
60
- value: string;
61
- } | {
62
- label: import("react").JSX.Element;
63
- value: string;
64
- } | {
65
- label: import("react").JSX.Element;
66
- value: string;
67
- } | {
68
- label: import("react").JSX.Element;
22
+ options: {
69
23
  value: string;
70
- } | {
71
24
  label: import("react").JSX.Element;
72
- value: string;
73
- })[];
25
+ }[];
74
26
  };
75
27
  linePattern: {
76
28
  label: string;
@@ -0,0 +1,39 @@
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
+ value: string;
13
+ label: string;
14
+ })[];
15
+ };
16
+ linePattern: {
17
+ label: string;
18
+ helperText: string;
19
+ type: string;
20
+ clearable: boolean;
21
+ defaultValue: string;
22
+ options: {
23
+ label: import("react").JSX.Element;
24
+ value: string;
25
+ }[];
26
+ };
27
+ lineWidth: {
28
+ label: string;
29
+ helperText: string;
30
+ type: string;
31
+ clearable: boolean;
32
+ defaultValue: number;
33
+ options: {
34
+ label: import("react").JSX.Element;
35
+ value: number;
36
+ }[];
37
+ };
38
+ };
39
+ };
@@ -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,88 @@
1
+ export function vector_line_categorical({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ confSchema: {
6
+ style: {
7
+ colorScheme: {
8
+ label: string;
9
+ type: string;
10
+ clearable: boolean;
11
+ defaultValue: string;
12
+ options: ({
13
+ value: string;
14
+ label: import("react").JSX.Element;
15
+ } | {
16
+ value: string;
17
+ label: string;
18
+ })[];
19
+ };
20
+ linePattern: {
21
+ label: string;
22
+ helperText: string;
23
+ type: string;
24
+ clearable: boolean;
25
+ defaultValue: string;
26
+ options: {
27
+ label: import("react").JSX.Element;
28
+ value: string;
29
+ }[];
30
+ };
31
+ lineWidth: {
32
+ label: string;
33
+ helperText: string;
34
+ type: string;
35
+ clearable: boolean;
36
+ defaultValue: number;
37
+ options: {
38
+ label: import("react").JSX.Element;
39
+ value: number;
40
+ }[];
41
+ };
42
+ };
43
+ };
44
+ metadata: {
45
+ categories: {
46
+ [x: string]: any;
47
+ $$resolver: symbol;
48
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
49
+ dependencies: any;
50
+ value: (...args: any[]) => any;
51
+ defaultValue?: any;
52
+ context?: any;
53
+ };
54
+ };
55
+ sources: {
56
+ main: {
57
+ promoteId: string;
58
+ type: string;
59
+ tiles: string[];
60
+ };
61
+ };
62
+ layers: {
63
+ main_line: {
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
+ };
73
+ download: {
74
+ [x: string]: any;
75
+ $$resolver: symbol;
76
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
77
+ dependencies: any;
78
+ value: (...args: any[]) => any;
79
+ defaultValue?: any;
80
+ context?: any;
81
+ } | null;
82
+ id: any;
83
+ metodology: any;
84
+ label: any;
85
+ path: any;
86
+ sourceLabel: any;
87
+ shortDescription: any;
88
+ };
@@ -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
+ categories: {
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,15 @@
1
+ type Category = {
2
+ value: string;
3
+ label?: string;
4
+ color?: string;
5
+ };
6
+ export type StyleSpec = {
7
+ categoryKey: string;
8
+ colorScheme?: 'schemeGeoReDUSSafe' | 'schemeCategory10' | 'schemeAccent' | 'schemeDark2' | 'schemeObservable10' | 'schemePaired' | 'schemePastel1' | 'schemePastel2' | 'schemeSet1' | 'schemeSet2' | 'schemeSet3' | 'schemeTableau10' | 'customColorScheme';
9
+ categories: string | (string | Category)[];
10
+ linePattern?: 'solid' | 'dashed' | 'dotted';
11
+ lineWidth?: number;
12
+ };
13
+ export type StyleSpecInput = StyleSpec;
14
+ export declare function parseStyleSpec(styleInput?: StyleSpecInput): StyleSpec;
15
+ 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,37 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ style: {
3
+ color: {
4
+ label: string;
5
+ helperText: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: any;
9
+ options: {
10
+ value: string;
11
+ label: import("react").JSX.Element;
12
+ }[];
13
+ };
14
+ linePattern: {
15
+ label: string;
16
+ helperText: string;
17
+ type: string;
18
+ clearable: boolean;
19
+ defaultValue: string;
20
+ options: {
21
+ label: import("react").JSX.Element;
22
+ value: string;
23
+ }[];
24
+ };
25
+ lineWidth: {
26
+ label: string;
27
+ helperText: string;
28
+ type: string;
29
+ clearable: boolean;
30
+ defaultValue: number;
31
+ options: {
32
+ label: import("react").JSX.Element;
33
+ value: number;
34
+ }[];
35
+ };
36
+ };
37
+ };
@@ -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
+ };
@@ -0,0 +1,76 @@
1
+ export function vector_line_single({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ confSchema: {
6
+ style: {
7
+ color: {
8
+ label: string;
9
+ helperText: string;
10
+ type: string;
11
+ clearable: boolean;
12
+ defaultValue: any;
13
+ options: {
14
+ value: string;
15
+ label: import("react").JSX.Element;
16
+ }[];
17
+ };
18
+ linePattern: {
19
+ label: string;
20
+ helperText: string;
21
+ type: string;
22
+ clearable: boolean;
23
+ defaultValue: string;
24
+ options: {
25
+ label: import("react").JSX.Element;
26
+ value: string;
27
+ }[];
28
+ };
29
+ lineWidth: {
30
+ label: string;
31
+ helperText: string;
32
+ type: string;
33
+ clearable: boolean;
34
+ defaultValue: number;
35
+ options: {
36
+ label: import("react").JSX.Element;
37
+ value: number;
38
+ }[];
39
+ };
40
+ };
41
+ };
42
+ metadata: {};
43
+ sources: {
44
+ main: {
45
+ promoteId: string;
46
+ type: string;
47
+ tiles: string[];
48
+ };
49
+ };
50
+ layers: {
51
+ main_line: {
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
+ download: {
62
+ [x: string]: any;
63
+ $$resolver: symbol;
64
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
65
+ dependencies: any;
66
+ value: (...args: any[]) => any;
67
+ defaultValue?: any;
68
+ context?: any;
69
+ };
70
+ id: any;
71
+ metodology: any;
72
+ label: any;
73
+ path: any;
74
+ sourceLabel: any;
75
+ shortDescription: any;
76
+ };
@@ -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 @@
1
+ export function metadata(viewSpec: any, allViewSpecs: any, context: any): {};
@@ -0,0 +1,7 @@
1
+ export type StyleSpec = {
2
+ color?: string;
3
+ linePattern?: 'solid' | 'dashed' | 'dotted';
4
+ lineWidth?: number;
5
+ };
6
+ export type StyleSpecInput = string | StyleSpec;
7
+ export declare function parseStyleSpec(styleInput?: StyleSpecInput): StyleSpec;
@@ -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,17 @@
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
+ value: string;
13
+ label: string;
14
+ })[];
15
+ };
16
+ };
17
+ };
@@ -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
+ };
@@ -0,0 +1,100 @@
1
+ export function vector_point_categorical({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ confSchema: {
6
+ style: {
7
+ colorScheme: {
8
+ label: string;
9
+ type: string;
10
+ clearable: boolean;
11
+ defaultValue: string;
12
+ options: ({
13
+ value: string;
14
+ label: import("react").JSX.Element;
15
+ } | {
16
+ value: string;
17
+ label: string;
18
+ })[];
19
+ };
20
+ };
21
+ };
22
+ metadata: {
23
+ categories: {
24
+ [x: string]: any;
25
+ $$resolver: symbol;
26
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
27
+ dependencies: any;
28
+ value: (...args: any[]) => any;
29
+ defaultValue?: any;
30
+ context?: any;
31
+ };
32
+ };
33
+ sources: {
34
+ main: {
35
+ promoteId: string;
36
+ type: string;
37
+ tiles: string[];
38
+ };
39
+ };
40
+ layers: {
41
+ main_circle: {
42
+ zIndex: number;
43
+ source: string;
44
+ 'source-layer': any;
45
+ interactive: boolean;
46
+ type: string;
47
+ paint: {
48
+ 'circle-color': any;
49
+ 'circle-opacity': any;
50
+ 'circle-radius': any;
51
+ 'circle-stroke-color': string;
52
+ 'circle-stroke-width': number;
53
+ };
54
+ legends: {
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
+ tooltip: {
64
+ title: (string | {
65
+ [x: string]: any;
66
+ $$resolver: symbol;
67
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
68
+ dependencies: any;
69
+ value: (...args: any[]) => any;
70
+ defaultValue?: any;
71
+ context?: any;
72
+ })[];
73
+ entries: (string | {
74
+ [x: string]: any;
75
+ $$resolver: symbol;
76
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
77
+ dependencies: any;
78
+ value: (...args: any[]) => any;
79
+ defaultValue?: any;
80
+ context?: any;
81
+ })[];
82
+ };
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
+ };
94
+ id: any;
95
+ metodology: any;
96
+ label: any;
97
+ path: any;
98
+ sourceLabel: any;
99
+ shortDescription: any;
100
+ };