@redus/georedus-ui 0.20.2 → 0.21.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 (58) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/main.js +1271 -217
  3. package/dist/viewSpecs/presets/index.d.ts +5 -0
  4. package/dist/viewSpecs/presets/raster_categorical/index.d.ts +34 -0
  5. package/dist/viewSpecs/presets/raster_categorical/layers.d.ts +15 -0
  6. package/dist/viewSpecs/presets/raster_categorical/parseStyleSpec.d.ts +12 -0
  7. package/dist/viewSpecs/presets/raster_categorical/sources.d.ts +9 -0
  8. package/dist/viewSpecs/presets/util/components/confInputs/categoricalColorSchemeSelector.d.ts +13 -0
  9. package/dist/viewSpecs/presets/util/components/{confInputs.d.ts → confInputs/colorSelector.d.ts} +0 -16
  10. package/dist/viewSpecs/presets/util/components/confInputs/continuousColorSchemeSelector.d.ts +11 -0
  11. package/dist/viewSpecs/presets/util/components/confInputs/fillPatternSelector.d.ts +16 -0
  12. package/dist/viewSpecs/presets/util/components/confInputs/index.d.ts +7 -0
  13. package/dist/viewSpecs/presets/util/components/confInputs/linePatternSelector.d.ts +18 -0
  14. package/dist/viewSpecs/presets/util/components/confInputs/lineWidthSelector.d.ts +18 -0
  15. package/dist/viewSpecs/presets/util/components/confInputs/opacitySlider.d.ts +11 -0
  16. package/dist/viewSpecs/presets/vector_heatmap/confSchema.d.ts +22 -0
  17. package/dist/viewSpecs/presets/vector_heatmap/download.d.ts +9 -0
  18. package/dist/viewSpecs/presets/vector_heatmap/index.d.ts +70 -0
  19. package/dist/viewSpecs/presets/vector_heatmap/layers.d.ts +12 -0
  20. package/dist/viewSpecs/presets/vector_heatmap/metadata/index.d.ts +9 -0
  21. package/dist/viewSpecs/presets/vector_heatmap/parseStyleSpec.d.ts +17 -0
  22. package/dist/viewSpecs/presets/vector_heatmap/sources.d.ts +8 -0
  23. package/dist/viewSpecs/presets/vector_line/index.d.ts +11 -1
  24. package/dist/viewSpecs/presets/vector_line_categorical/confSchema.d.ts +26 -0
  25. package/dist/viewSpecs/presets/vector_line_categorical/download.d.ts +9 -0
  26. package/dist/viewSpecs/presets/vector_line_categorical/index.d.ts +75 -0
  27. package/dist/viewSpecs/presets/vector_line_categorical/layers.d.ts +11 -0
  28. package/dist/viewSpecs/presets/vector_line_categorical/metadata.d.ts +11 -0
  29. package/dist/viewSpecs/presets/vector_line_categorical/parseStyleSpec.d.ts +15 -0
  30. package/dist/viewSpecs/presets/vector_line_categorical/sources.d.ts +7 -0
  31. package/dist/viewSpecs/presets/vector_line_single/confSchema.d.ts +85 -0
  32. package/dist/viewSpecs/presets/vector_line_single/download.d.ts +9 -0
  33. package/dist/viewSpecs/presets/vector_line_single/index.d.ts +124 -0
  34. package/dist/viewSpecs/presets/vector_line_single/layers.d.ts +11 -0
  35. package/dist/viewSpecs/presets/vector_line_single/metadata.d.ts +1 -0
  36. package/dist/viewSpecs/presets/vector_line_single/parseStyleSpec.d.ts +7 -0
  37. package/dist/viewSpecs/presets/vector_line_single/sources.d.ts +7 -0
  38. package/dist/viewSpecs/presets/vector_point_categorical/download.d.ts +9 -0
  39. package/dist/viewSpecs/presets/vector_point_categorical/index.d.ts +83 -0
  40. package/dist/viewSpecs/presets/vector_point_categorical/layers.d.ts +45 -0
  41. package/dist/viewSpecs/presets/vector_point_categorical/metadata/index.d.ts +11 -0
  42. package/dist/viewSpecs/presets/vector_point_categorical/parseStyleSpec.d.ts +14 -0
  43. package/dist/viewSpecs/presets/vector_point_categorical/sources.d.ts +8 -0
  44. package/dist/viewSpecs/presets/vector_point_continuous/index.d.ts +2 -0
  45. package/dist/viewSpecs/presets/vector_point_single/index.d.ts +2 -0
  46. package/dist/viewSpecs/presets/vector_point_single/parseStyleSpec.d.ts +0 -3
  47. package/dist/viewSpecs/presets/vector_polygon_categorical/confSchema.d.ts +19 -0
  48. package/dist/viewSpecs/presets/vector_polygon_categorical/index.d.ts +21 -0
  49. package/dist/viewSpecs/presets/vector_polygon_categorical/parseStyleSpec.d.ts +1 -1
  50. package/dist/viewSpecs/presets/vector_polygon_continuous/confSchema.d.ts +10 -2
  51. package/dist/viewSpecs/presets/vector_polygon_continuous/index.d.ts +21 -3
  52. package/dist/viewSpecs/presets/vector_polygon_continuous/layers.d.ts +9 -1
  53. package/dist/viewSpecs/presets/vector_polygon_continuous/parseStyleSpec.d.ts +0 -3
  54. package/dist/viewSpecs/presets/vector_polygon_single/confSchema.d.ts +9 -0
  55. package/dist/viewSpecs/presets/vector_polygon_single/index.d.ts +11 -0
  56. package/dist/viewSpecs/util/colorSchemes/d3.d.ts +1 -1
  57. package/dist/viewSpecs/util/colorSchemes/index.d.ts +1 -1
  58. package/package.json +1 -1
@@ -0,0 +1,124 @@
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
+ label: import("react").JSX.Element;
15
+ value: string;
16
+ } | {
17
+ label: import("react").JSX.Element;
18
+ value: string;
19
+ } | {
20
+ label: import("react").JSX.Element;
21
+ value: string;
22
+ } | {
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
+ };
66
+ linePattern: {
67
+ label: string;
68
+ helperText: string;
69
+ type: string;
70
+ clearable: boolean;
71
+ defaultValue: string;
72
+ options: {
73
+ label: import("react").JSX.Element;
74
+ value: string;
75
+ }[];
76
+ };
77
+ lineWidth: {
78
+ label: string;
79
+ helperText: string;
80
+ type: string;
81
+ clearable: boolean;
82
+ defaultValue: number;
83
+ options: {
84
+ label: import("react").JSX.Element;
85
+ value: number;
86
+ }[];
87
+ };
88
+ };
89
+ };
90
+ metadata: {};
91
+ sources: {
92
+ main: {
93
+ promoteId: string;
94
+ type: string;
95
+ tiles: string[];
96
+ };
97
+ };
98
+ layers: {
99
+ main_line: {
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
+ };
109
+ download: {
110
+ [x: string]: any;
111
+ $$resolver: symbol;
112
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
113
+ dependencies: any;
114
+ value: (...args: any[]) => any;
115
+ defaultValue?: any;
116
+ context?: any;
117
+ };
118
+ id: any;
119
+ metodology: any;
120
+ label: any;
121
+ path: any;
122
+ sourceLabel: any;
123
+ shortDescription: any;
124
+ };
@@ -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,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,83 @@
1
+ export function vector_point_categorical({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ metadata: {
6
+ categories: {
7
+ [x: string]: any;
8
+ $$resolver: symbol;
9
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
10
+ dependencies: any;
11
+ value: (...args: any[]) => any;
12
+ defaultValue?: any;
13
+ context?: any;
14
+ };
15
+ };
16
+ sources: {
17
+ main: {
18
+ promoteId: string;
19
+ type: string;
20
+ tiles: string[];
21
+ };
22
+ };
23
+ layers: {
24
+ main_circle: {
25
+ zIndex: number;
26
+ source: string;
27
+ 'source-layer': any;
28
+ interactive: boolean;
29
+ type: string;
30
+ paint: {
31
+ 'circle-color': any;
32
+ 'circle-opacity': number;
33
+ 'circle-radius': any;
34
+ 'circle-stroke-color': string;
35
+ 'circle-stroke-width': number;
36
+ };
37
+ legends: {
38
+ [x: string]: any;
39
+ $$resolver: symbol;
40
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
41
+ dependencies: any;
42
+ value: (...args: any[]) => any;
43
+ defaultValue?: any;
44
+ context?: any;
45
+ };
46
+ tooltip: {
47
+ title: (string | {
48
+ [x: string]: any;
49
+ $$resolver: symbol;
50
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
51
+ dependencies: any;
52
+ value: (...args: any[]) => any;
53
+ defaultValue?: any;
54
+ context?: any;
55
+ })[];
56
+ entries: (string | {
57
+ [x: string]: any;
58
+ $$resolver: symbol;
59
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
60
+ dependencies: any;
61
+ value: (...args: any[]) => any;
62
+ defaultValue?: any;
63
+ context?: any;
64
+ })[];
65
+ };
66
+ };
67
+ };
68
+ download: {
69
+ [x: string]: any;
70
+ $$resolver: symbol;
71
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
72
+ dependencies: any;
73
+ value: (...args: any[]) => any;
74
+ defaultValue?: any;
75
+ context?: any;
76
+ };
77
+ id: any;
78
+ metodology: any;
79
+ label: any;
80
+ path: any;
81
+ sourceLabel: any;
82
+ shortDescription: any;
83
+ };
@@ -0,0 +1,45 @@
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
+ type: string;
8
+ paint: {
9
+ 'circle-color': any;
10
+ 'circle-opacity': number;
11
+ 'circle-radius': any;
12
+ 'circle-stroke-color': string;
13
+ 'circle-stroke-width': number;
14
+ };
15
+ legends: {
16
+ [x: string]: any;
17
+ $$resolver: symbol;
18
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
19
+ dependencies: any;
20
+ value: (...args: any[]) => any;
21
+ defaultValue?: any;
22
+ context?: any;
23
+ };
24
+ tooltip: {
25
+ title: (string | {
26
+ [x: string]: any;
27
+ $$resolver: symbol;
28
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
29
+ dependencies: any;
30
+ value: (...args: any[]) => any;
31
+ defaultValue?: any;
32
+ context?: any;
33
+ })[];
34
+ entries: (string | {
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
+ };
@@ -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,14 @@
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';
9
+ categories: string | Category[];
10
+ border?: boolean;
11
+ };
12
+ export type StyleSpecInput = StyleSpec;
13
+ export declare function parseStyleSpec(styleInput: StyleSpecInput): StyleSpec;
14
+ 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";
@@ -89,7 +89,9 @@ export function vector_point_continuous({ style, ...viewSpec }: {
89
89
  context?: any;
90
90
  };
91
91
  id: any;
92
+ metodology: any;
92
93
  label: any;
93
94
  path: any;
94
95
  sourceLabel: any;
96
+ shortDescription: any;
95
97
  };
@@ -136,7 +136,9 @@ export function vector_point_single({ style, ...viewSpec }: {
136
136
  context?: any;
137
137
  };
138
138
  id: any;
139
+ metodology: any;
139
140
  label: any;
140
141
  path: any;
141
142
  sourceLabel: any;
143
+ shortDescription: any;
142
144
  };
@@ -1,7 +1,4 @@
1
1
  export type StyleSpec = {
2
- tooltip?: {
3
- [key: string]: any;
4
- };
5
2
  radius?: number;
6
3
  color?: string;
7
4
  opacity?: number;
@@ -10,5 +10,24 @@ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
10
10
  value: string;
11
11
  }[];
12
12
  };
13
+ colorScheme: {
14
+ label: string;
15
+ type: string;
16
+ clearable: boolean;
17
+ defaultValue: string;
18
+ options: {
19
+ value: string;
20
+ label: import("react").JSX.Element;
21
+ }[];
22
+ };
23
+ opacity: {
24
+ type: string;
25
+ label: string;
26
+ size: string;
27
+ min: number;
28
+ max: number;
29
+ step: number;
30
+ defaultValue: number;
31
+ };
13
32
  };
14
33
  };
@@ -14,6 +14,25 @@ export function vector_polygon_categorical({ style, ...viewSpec }: {
14
14
  value: string;
15
15
  }[];
16
16
  };
17
+ colorScheme: {
18
+ label: string;
19
+ type: string;
20
+ clearable: boolean;
21
+ defaultValue: string;
22
+ options: {
23
+ value: string;
24
+ label: import("react").JSX.Element;
25
+ }[];
26
+ };
27
+ opacity: {
28
+ type: string;
29
+ label: string;
30
+ size: string;
31
+ min: number;
32
+ max: number;
33
+ step: number;
34
+ defaultValue: number;
35
+ };
17
36
  };
18
37
  };
19
38
  metadata: {
@@ -102,7 +121,9 @@ export function vector_polygon_categorical({ style, ...viewSpec }: {
102
121
  context?: any;
103
122
  };
104
123
  id: any;
124
+ metodology: any;
105
125
  label: any;
106
126
  path: any;
107
127
  sourceLabel: any;
128
+ shortDescription: any;
108
129
  };
@@ -9,7 +9,7 @@ type Category = CategoryStyleSpec & {
9
9
  };
10
10
  export type StyleSpec = {
11
11
  categoryKey: string;
12
- colorScheme?: 'schemeGeoReDUSSafe' | 'schemeCategory10' | 'schemeAccent' | 'schemeDark2' | 'schemeObservable10' | 'schemePaired' | 'schemePastel1' | 'schemePastel2' | 'schemeSet1' | 'schemeSet2' | 'schemeSet3' | 'schemeTableau10';
12
+ colorScheme?: 'schemeGeoReDUSSafe' | 'schemeCategory10' | 'schemeAccent' | 'schemeDark2' | 'schemeObservable10' | 'schemePaired' | 'schemePastel1' | 'schemePastel2' | 'schemeSet1' | 'schemeSet2' | 'schemeSet3' | 'schemeTableau10' | null;
13
13
  categories: string | (string | Category)[];
14
14
  } & Omit<CategoryStyleSpec, 'color'>;
15
15
  export type StyleSpecInput = StyleSpec;
@@ -13,12 +13,20 @@ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
13
13
  colorScheme: {
14
14
  label: string;
15
15
  type: string;
16
- clearable: boolean;
17
- defaultValue: any;
16
+ defaultValue: string;
18
17
  options: {
19
18
  value: string;
20
19
  label: import("react").JSX.Element;
21
20
  }[];
22
21
  };
22
+ opacity: {
23
+ type: string;
24
+ label: string;
25
+ size: string;
26
+ min: number;
27
+ max: number;
28
+ step: number;
29
+ defaultValue: number;
30
+ };
23
31
  };
24
32
  };
@@ -17,13 +17,21 @@ export function vector_polygon_continuous({ style, ...viewSpec }: {
17
17
  colorScheme: {
18
18
  label: string;
19
19
  type: string;
20
- clearable: boolean;
21
- defaultValue: any;
20
+ defaultValue: string;
22
21
  options: {
23
22
  value: string;
24
23
  label: import("react").JSX.Element;
25
24
  }[];
26
25
  };
26
+ opacity: {
27
+ type: string;
28
+ label: string;
29
+ size: string;
30
+ min: number;
31
+ max: number;
32
+ step: number;
33
+ defaultValue: number;
34
+ };
27
35
  };
28
36
  };
29
37
  metadata: {
@@ -63,7 +71,15 @@ export function vector_polygon_continuous({ style, ...viewSpec }: {
63
71
  type: string;
64
72
  paint: {
65
73
  'fill-color': any;
66
- 'fill-opacity': number;
74
+ 'fill-opacity': {
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
+ };
67
83
  };
68
84
  legends: {
69
85
  [x: string]: any;
@@ -106,7 +122,9 @@ export function vector_polygon_continuous({ style, ...viewSpec }: {
106
122
  context?: any;
107
123
  };
108
124
  id: any;
125
+ metodology: any;
109
126
  label: any;
110
127
  path: any;
111
128
  sourceLabel: any;
129
+ shortDescription: any;
112
130
  };
@@ -19,7 +19,15 @@ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
19
19
  type: string;
20
20
  paint: {
21
21
  'fill-color': any;
22
- 'fill-opacity': number;
22
+ 'fill-opacity': {
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
+ };
23
31
  };
24
32
  legends: {
25
33
  [x: string]: any;
@@ -19,9 +19,6 @@ export type StyleSpec = {
19
19
  [key: string]: any;
20
20
  };
21
21
  };
22
- tooltip?: {
23
- [key: string]: any;
24
- };
25
22
  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[];
26
23
  classificationMethod?: ClassificationMethod;
27
24
  };
@@ -69,5 +69,14 @@ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
69
69
  value: string;
70
70
  }[];
71
71
  };
72
+ opacity: {
73
+ type: string;
74
+ label: string;
75
+ size: string;
76
+ min: number;
77
+ max: number;
78
+ step: number;
79
+ defaultValue: number;
80
+ };
72
81
  };
73
82
  };
@@ -73,6 +73,15 @@ export function vector_polygon_single({ style, ...viewSpec }: {
73
73
  value: string;
74
74
  }[];
75
75
  };
76
+ opacity: {
77
+ type: string;
78
+ label: string;
79
+ size: string;
80
+ min: number;
81
+ max: number;
82
+ step: number;
83
+ defaultValue: number;
84
+ };
76
85
  };
77
86
  };
78
87
  metadata: {};
@@ -151,7 +160,9 @@ export function vector_polygon_single({ style, ...viewSpec }: {
151
160
  context?: any;
152
161
  };
153
162
  id: any;
163
+ metodology: any;
154
164
  label: any;
155
165
  path: any;
156
166
  sourceLabel: any;
167
+ shortDescription: any;
157
168
  };
@@ -54,5 +54,5 @@ export declare const D3_SEQUENTIAL: {
54
54
  schemeYlOrRd: any;
55
55
  };
56
56
  export declare const D3_COLOR_SCHEMES: {
57
- schemeGeoReDUS: string[];
57
+ [x: string]: any;
58
58
  };
@@ -8,6 +8,6 @@ export declare const COLOR_SCHEMES: {
8
8
  };
9
9
  export declare function colorScheme(path: string): any;
10
10
  export declare function resolveColor(colorInput: string): string;
11
- export declare function resolveSchemeColor(colorSchemeId: string, indexOrId: string | number): string;
11
+ export declare function resolveCategoricalSchemeColor(colorSchemeId: string, indexOrId: string | number): string;
12
12
  export * from './d3';
13
13
  export * from './georedus';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redus/georedus-ui",
3
- "version": "0.20.2",
3
+ "version": "0.21.0",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",