@redus/georedus-ui 0.19.5 → 0.20.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 (65) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +132 -0
  3. package/dist/ExportImage/ExportImage.d.ts +1 -0
  4. package/dist/ExportImage/NorthArrow.d.ts +15 -0
  5. package/dist/ExportImage/constants.d.ts +2 -0
  6. package/dist/ExportImage/createMapBlob.d.ts +20 -0
  7. package/dist/ExportImage/createMapImage.d.ts +1 -0
  8. package/dist/ExportImage/index.d.ts +1 -0
  9. package/dist/ExportImage/paperDimensions.d.ts +8 -0
  10. package/dist/GeoReDUS/constants.d.ts +9 -0
  11. package/dist/GeoReDUSLogo/GeoReDUSLogo.d.ts +1 -1
  12. package/dist/LeftPanel/LeftPanel.d.ts +7 -3
  13. package/dist/LeftPanel/SharePanel.d.ts +7 -3
  14. package/dist/main.js +2681 -236
  15. package/dist/viewSpecs/presets/index.d.ts +5 -0
  16. package/dist/viewSpecs/presets/util/colorUtil.d.ts +2 -0
  17. package/dist/viewSpecs/presets/util/components/basicDownload.d.ts +12 -0
  18. package/dist/viewSpecs/presets/util/components/basicTooltip.d.ts +20 -0
  19. package/dist/viewSpecs/presets/util/components/confInputs.d.ts +127 -0
  20. package/dist/viewSpecs/presets/util/index.d.ts +6 -0
  21. package/dist/viewSpecs/presets/util/string.d.ts +1 -0
  22. package/dist/viewSpecs/presets/util/url.d.ts +7 -0
  23. package/dist/viewSpecs/presets/vector_circle/index.d.ts +75 -1
  24. package/dist/viewSpecs/presets/vector_line/index.d.ts +95 -2
  25. package/dist/viewSpecs/presets/vector_point_continuous/download.d.ts +9 -0
  26. package/dist/viewSpecs/presets/vector_point_continuous/index.d.ts +95 -0
  27. package/dist/viewSpecs/presets/vector_point_continuous/layers.d.ts +59 -0
  28. package/dist/viewSpecs/presets/vector_point_continuous/metadata/index.d.ts +11 -0
  29. package/dist/viewSpecs/presets/vector_point_continuous/parseStyleSpec.d.ts +34 -0
  30. package/dist/viewSpecs/presets/vector_point_continuous/sources.d.ts +8 -0
  31. package/dist/viewSpecs/presets/vector_point_single/confSchema.d.ts +63 -0
  32. package/dist/viewSpecs/presets/vector_point_single/download.d.ts +9 -0
  33. package/dist/viewSpecs/presets/vector_point_single/index.d.ts +142 -0
  34. package/dist/viewSpecs/presets/vector_point_single/layers.d.ts +53 -0
  35. package/dist/viewSpecs/presets/vector_point_single/metadata/index.d.ts +1 -0
  36. package/dist/viewSpecs/presets/vector_point_single/parseStyleSpec.d.ts +11 -0
  37. package/dist/viewSpecs/presets/vector_point_single/sources.d.ts +8 -0
  38. package/dist/viewSpecs/presets/vector_polygon/index.d.ts +93 -10
  39. package/dist/viewSpecs/presets/vector_polygon_categorical/confSchema.d.ts +14 -0
  40. package/dist/viewSpecs/presets/vector_polygon_categorical/download.d.ts +9 -0
  41. package/dist/viewSpecs/presets/vector_polygon_categorical/index.d.ts +108 -0
  42. package/dist/viewSpecs/presets/vector_polygon_categorical/layers.d.ts +58 -0
  43. package/dist/viewSpecs/presets/vector_polygon_categorical/metadata.d.ts +11 -0
  44. package/dist/viewSpecs/presets/vector_polygon_categorical/parseStyleSpec.d.ts +17 -0
  45. package/dist/viewSpecs/presets/vector_polygon_categorical/sources.d.ts +8 -0
  46. package/dist/viewSpecs/presets/vector_polygon_continuous/confSchema.d.ts +24 -0
  47. package/dist/viewSpecs/presets/vector_polygon_continuous/download.d.ts +9 -0
  48. package/dist/viewSpecs/presets/vector_polygon_continuous/index.d.ts +112 -0
  49. package/dist/viewSpecs/presets/vector_polygon_continuous/layers.d.ts +54 -0
  50. package/dist/viewSpecs/presets/vector_polygon_continuous/metadata/colorScaleStopResolvers.d.ts +21 -0
  51. package/dist/viewSpecs/presets/vector_polygon_continuous/metadata/index.d.ts +9 -0
  52. package/dist/viewSpecs/presets/vector_polygon_continuous/parseStyleSpec.d.ts +31 -0
  53. package/dist/viewSpecs/presets/vector_polygon_continuous/sources.d.ts +8 -0
  54. package/dist/viewSpecs/presets/vector_polygon_single/confSchema.d.ts +73 -0
  55. package/dist/viewSpecs/presets/vector_polygon_single/download.d.ts +9 -0
  56. package/dist/viewSpecs/presets/vector_polygon_single/index.d.ts +157 -0
  57. package/dist/viewSpecs/presets/vector_polygon_single/layers.d.ts +58 -0
  58. package/dist/viewSpecs/presets/vector_polygon_single/metadata.d.ts +1 -0
  59. package/dist/viewSpecs/presets/vector_polygon_single/parseStyleSpec.d.ts +7 -0
  60. package/dist/viewSpecs/presets/vector_polygon_single/sources.d.ts +7 -0
  61. package/dist/viewSpecs/util/colorSchemes/d3.d.ts +58 -0
  62. package/dist/viewSpecs/util/colorSchemes/georedus.d.ts +156 -0
  63. package/dist/viewSpecs/util/colorSchemes/index.d.ts +13 -0
  64. package/package.json +4 -2
  65. package/dist/viewSpecs/util/colorSchemes.d.ts +0 -15
@@ -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,112 @@
1
+ export function vector_polygon_continuous({ 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
+ colorScheme: {
18
+ label: string;
19
+ type: string;
20
+ clearable: boolean;
21
+ defaultValue: any;
22
+ options: {
23
+ value: string;
24
+ label: import("react").JSX.Element;
25
+ }[];
26
+ };
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_line: {
47
+ zIndex: number;
48
+ source: string;
49
+ 'source-layer': any;
50
+ type: string;
51
+ interactive: boolean;
52
+ paint: {
53
+ 'line-color': any;
54
+ 'line-width': number;
55
+ 'line-opacity': (string | number | (string | boolean | string[])[])[];
56
+ };
57
+ };
58
+ main_fill: {
59
+ zIndex: number;
60
+ source: string;
61
+ 'source-layer': any;
62
+ interactive: boolean;
63
+ type: string;
64
+ paint: {
65
+ 'fill-color': any;
66
+ 'fill-opacity': number;
67
+ };
68
+ legends: {
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
+ tooltip: {
78
+ title: (string | {
79
+ [x: string]: any;
80
+ $$resolver: symbol;
81
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
82
+ dependencies: any;
83
+ value: (...args: any[]) => any;
84
+ defaultValue?: any;
85
+ context?: any;
86
+ })[];
87
+ entries: (string | {
88
+ [x: string]: any;
89
+ $$resolver: symbol;
90
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
91
+ dependencies: any;
92
+ value: (...args: any[]) => any;
93
+ defaultValue?: any;
94
+ context?: any;
95
+ })[];
96
+ };
97
+ };
98
+ };
99
+ download: {
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
+ id: any;
109
+ label: any;
110
+ path: any;
111
+ sourceLabel: any;
112
+ };
@@ -0,0 +1,54 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_line: {
3
+ zIndex: number;
4
+ source: string;
5
+ 'source-layer': any;
6
+ type: string;
7
+ interactive: boolean;
8
+ paint: {
9
+ 'line-color': any;
10
+ 'line-width': number;
11
+ 'line-opacity': (string | number | (string | boolean | string[])[])[];
12
+ };
13
+ };
14
+ main_fill: {
15
+ zIndex: number;
16
+ source: string;
17
+ 'source-layer': any;
18
+ interactive: boolean;
19
+ type: string;
20
+ paint: {
21
+ 'fill-color': any;
22
+ 'fill-opacity': number;
23
+ };
24
+ legends: {
25
+ [x: string]: any;
26
+ $$resolver: symbol;
27
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
28
+ dependencies: any;
29
+ value: (...args: any[]) => any;
30
+ defaultValue?: any;
31
+ context?: any;
32
+ };
33
+ tooltip: {
34
+ title: (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
+ entries: (string | {
44
+ [x: string]: any;
45
+ $$resolver: symbol;
46
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
47
+ dependencies: any;
48
+ value: (...args: any[]) => any;
49
+ defaultValue?: any;
50
+ context?: any;
51
+ })[];
52
+ };
53
+ };
54
+ };
@@ -0,0 +1,21 @@
1
+ export namespace COLOR_SCALE_STOPS_RESOLVERS {
2
+ export { custom };
3
+ export { quantile };
4
+ export { naturalBreaks };
5
+ }
6
+ declare function custom({ values, colorScheme, classificationMethod }: {
7
+ values: any;
8
+ colorScheme: any;
9
+ classificationMethod: any;
10
+ }): any[];
11
+ declare function quantile({ values, colorScheme, classificationMethod }: {
12
+ values: any;
13
+ colorScheme: any;
14
+ classificationMethod: any;
15
+ }): any;
16
+ declare function naturalBreaks({ values, colorScheme, classificationMethod }: {
17
+ values: any;
18
+ colorScheme: any;
19
+ classificationMethod: any;
20
+ }): any[];
21
+ export {};
@@ -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,31 @@
1
+ type ClassificationMethod = {
2
+ type: 'naturalBreaks';
3
+ k: number;
4
+ } | 'naturalBreaks' | {
5
+ type: 'quantile';
6
+ k: number;
7
+ } | 'quantile' | {
8
+ type: 'custom';
9
+ breaks: number[];
10
+ };
11
+ export type StyleSpec = {
12
+ valueKey: string;
13
+ values: string | number[] | {
14
+ value: number;
15
+ }[];
16
+ numberFormat?: any;
17
+ legend?: {
18
+ format: {
19
+ [key: string]: any;
20
+ };
21
+ };
22
+ tooltip?: {
23
+ [key: string]: any;
24
+ };
25
+ 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
+ classificationMethod?: ClassificationMethod;
27
+ };
28
+ export type StyleSpecInput = StyleSpec;
29
+ export declare const DEFAULT_COLOR_SCHEME_ID = "schemeOrRd";
30
+ export declare function parseStyleSpec(styleInput: StyleSpecInput): StyleSpec;
31
+ 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,73 @@
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
+ label: import("react").JSX.Element;
11
+ value: string;
12
+ } | {
13
+ label: import("react").JSX.Element;
14
+ value: string;
15
+ } | {
16
+ label: import("react").JSX.Element;
17
+ value: string;
18
+ } | {
19
+ label: import("react").JSX.Element;
20
+ value: string;
21
+ } | {
22
+ label: import("react").JSX.Element;
23
+ value: string;
24
+ } | {
25
+ label: import("react").JSX.Element;
26
+ value: string;
27
+ } | {
28
+ label: import("react").JSX.Element;
29
+ value: string;
30
+ } | {
31
+ label: import("react").JSX.Element;
32
+ value: string;
33
+ } | {
34
+ label: import("react").JSX.Element;
35
+ value: string;
36
+ } | {
37
+ label: import("react").JSX.Element;
38
+ value: string;
39
+ } | {
40
+ label: import("react").JSX.Element;
41
+ value: string;
42
+ } | {
43
+ label: import("react").JSX.Element;
44
+ value: string;
45
+ } | {
46
+ label: import("react").JSX.Element;
47
+ value: string;
48
+ } | {
49
+ label: import("react").JSX.Element;
50
+ value: string;
51
+ } | {
52
+ label: import("react").JSX.Element;
53
+ value: string;
54
+ } | {
55
+ label: import("react").JSX.Element;
56
+ value: string;
57
+ } | {
58
+ label: import("react").JSX.Element;
59
+ value: string;
60
+ })[];
61
+ };
62
+ fillPattern: {
63
+ label: string;
64
+ type: string;
65
+ clearable: boolean;
66
+ defaultValue: string;
67
+ options: {
68
+ label: import("react").JSX.Element;
69
+ value: string;
70
+ }[];
71
+ };
72
+ };
73
+ };
@@ -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,157 @@
1
+ export function vector_polygon_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
+ fillPattern: {
67
+ label: string;
68
+ type: string;
69
+ clearable: boolean;
70
+ defaultValue: string;
71
+ options: {
72
+ label: import("react").JSX.Element;
73
+ value: string;
74
+ }[];
75
+ };
76
+ };
77
+ };
78
+ metadata: {};
79
+ sources: {
80
+ main: {
81
+ promoteId: string;
82
+ type: string;
83
+ tiles: string[];
84
+ };
85
+ };
86
+ layers: {
87
+ main_line: {
88
+ zIndex: number;
89
+ source: string;
90
+ 'source-layer': any;
91
+ type: string;
92
+ layout: {
93
+ 'line-cap': string;
94
+ } | {
95
+ 'line-cap'?: undefined;
96
+ };
97
+ paint: any;
98
+ } | null;
99
+ main_fill: {
100
+ zIndex: number;
101
+ source: string;
102
+ 'source-layer': any;
103
+ type: string;
104
+ paint: {
105
+ [x: string]: any;
106
+ $$resolver: symbol;
107
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
108
+ dependencies: any;
109
+ value: (...args: any[]) => any;
110
+ defaultValue?: any;
111
+ context?: any;
112
+ };
113
+ legends: {
114
+ [x: string]: any;
115
+ $$resolver: symbol;
116
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
117
+ dependencies: any;
118
+ value: (...args: any[]) => any;
119
+ defaultValue?: any;
120
+ context?: any;
121
+ }[];
122
+ tooltip: {
123
+ title: (string | {
124
+ [x: string]: any;
125
+ $$resolver: symbol;
126
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
127
+ dependencies: any;
128
+ value: (...args: any[]) => any;
129
+ defaultValue?: any;
130
+ context?: any;
131
+ })[];
132
+ entries: (string | {
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
+ })[];
141
+ };
142
+ };
143
+ };
144
+ download: {
145
+ [x: string]: any;
146
+ $$resolver: symbol;
147
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
148
+ dependencies: any;
149
+ value: (...args: any[]) => any;
150
+ defaultValue?: any;
151
+ context?: any;
152
+ };
153
+ id: any;
154
+ label: any;
155
+ path: any;
156
+ sourceLabel: any;
157
+ };
@@ -0,0 +1,58 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_line: {
3
+ zIndex: number;
4
+ source: string;
5
+ 'source-layer': any;
6
+ type: string;
7
+ layout: {
8
+ 'line-cap': string;
9
+ } | {
10
+ 'line-cap'?: undefined;
11
+ };
12
+ paint: any;
13
+ } | null;
14
+ main_fill: {
15
+ zIndex: number;
16
+ source: string;
17
+ 'source-layer': any;
18
+ type: string;
19
+ paint: {
20
+ [x: string]: any;
21
+ $$resolver: symbol;
22
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
23
+ dependencies: any;
24
+ value: (...args: any[]) => any;
25
+ defaultValue?: any;
26
+ context?: any;
27
+ };
28
+ legends: {
29
+ [x: string]: any;
30
+ $$resolver: symbol;
31
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
32
+ dependencies: any;
33
+ value: (...args: any[]) => any;
34
+ defaultValue?: any;
35
+ context?: any;
36
+ }[];
37
+ tooltip: {
38
+ title: (string | {
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
+ entries: (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
+ };
57
+ };
58
+ };
@@ -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
+ fillPattern?: 'circles_1' | 'cross_1' | 'diamonds_1' | 'lines_1' | 'mosaic_1' | 'mosaic_2' | 'squares_1' | 'triangles_1' | 'waves_1' | 'solid';
4
+ borderStyle?: 'solid' | 'dashed' | 'dotted' | 'none';
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,58 @@
1
+ export declare const DEFAULT_NULL_COLOR = "#CCCCCC";
2
+ export type CategoricalScheme = {
3
+ colors: string[];
4
+ defaultColor: string;
5
+ };
6
+ export type ByKScheme = {
7
+ scalesByK: (string[] | null)[];
8
+ defaultColor: string;
9
+ minK: number;
10
+ maxK: number;
11
+ };
12
+ export declare const D3_CATEGORICAL: {
13
+ schemeCategory10: any;
14
+ schemeAccent: any;
15
+ schemeDark2: any;
16
+ schemeObservable10: any;
17
+ schemePaired: any;
18
+ schemePastel1: any;
19
+ schemePastel2: any;
20
+ schemeSet1: any;
21
+ schemeSet2: any;
22
+ schemeSet3: any;
23
+ schemeTableau10: any;
24
+ };
25
+ export declare const D3_DIVERGING: {
26
+ schemeBrBG: any;
27
+ schemePRGn: any;
28
+ schemePiYG: any;
29
+ schemePuOr: any;
30
+ schemeRdBu: any;
31
+ schemeRdGy: any;
32
+ schemeRdYlBu: any;
33
+ schemeRdYlGn: any;
34
+ schemeSpectral: any;
35
+ };
36
+ export declare const D3_SEQUENTIAL: {
37
+ schemeBlues: any;
38
+ schemeGreens: any;
39
+ schemeGreys: any;
40
+ schemeOranges: any;
41
+ schemePurples: any;
42
+ schemeReds: any;
43
+ schemeBuGn: any;
44
+ schemeBuPu: any;
45
+ schemeGnBu: any;
46
+ schemeOrRd: any;
47
+ schemePuBuGn: any;
48
+ schemePuBu: any;
49
+ schemePuRd: any;
50
+ schemeRdPu: any;
51
+ schemeYlGnBu: any;
52
+ schemeYlGn: any;
53
+ schemeYlOrBr: any;
54
+ schemeYlOrRd: any;
55
+ };
56
+ export declare const D3_COLOR_SCHEMES: {
57
+ schemeGeoReDUS: string[];
58
+ };