@redus/georedus-ui 0.20.3 → 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 (55) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/main.js +1254 -208
  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_categorical/confSchema.d.ts +26 -0
  24. package/dist/viewSpecs/presets/vector_line_categorical/download.d.ts +9 -0
  25. package/dist/viewSpecs/presets/vector_line_categorical/index.d.ts +75 -0
  26. package/dist/viewSpecs/presets/vector_line_categorical/layers.d.ts +11 -0
  27. package/dist/viewSpecs/presets/vector_line_categorical/metadata.d.ts +11 -0
  28. package/dist/viewSpecs/presets/vector_line_categorical/parseStyleSpec.d.ts +15 -0
  29. package/dist/viewSpecs/presets/vector_line_categorical/sources.d.ts +7 -0
  30. package/dist/viewSpecs/presets/vector_line_single/confSchema.d.ts +85 -0
  31. package/dist/viewSpecs/presets/vector_line_single/download.d.ts +9 -0
  32. package/dist/viewSpecs/presets/vector_line_single/index.d.ts +124 -0
  33. package/dist/viewSpecs/presets/vector_line_single/layers.d.ts +11 -0
  34. package/dist/viewSpecs/presets/vector_line_single/metadata.d.ts +1 -0
  35. package/dist/viewSpecs/presets/vector_line_single/parseStyleSpec.d.ts +7 -0
  36. package/dist/viewSpecs/presets/vector_line_single/sources.d.ts +7 -0
  37. package/dist/viewSpecs/presets/vector_point_categorical/download.d.ts +9 -0
  38. package/dist/viewSpecs/presets/vector_point_categorical/index.d.ts +83 -0
  39. package/dist/viewSpecs/presets/vector_point_categorical/layers.d.ts +45 -0
  40. package/dist/viewSpecs/presets/vector_point_categorical/metadata/index.d.ts +11 -0
  41. package/dist/viewSpecs/presets/vector_point_categorical/parseStyleSpec.d.ts +14 -0
  42. package/dist/viewSpecs/presets/vector_point_categorical/sources.d.ts +8 -0
  43. package/dist/viewSpecs/presets/vector_point_single/parseStyleSpec.d.ts +0 -3
  44. package/dist/viewSpecs/presets/vector_polygon_categorical/confSchema.d.ts +19 -0
  45. package/dist/viewSpecs/presets/vector_polygon_categorical/index.d.ts +19 -0
  46. package/dist/viewSpecs/presets/vector_polygon_categorical/parseStyleSpec.d.ts +1 -1
  47. package/dist/viewSpecs/presets/vector_polygon_continuous/confSchema.d.ts +10 -2
  48. package/dist/viewSpecs/presets/vector_polygon_continuous/index.d.ts +19 -3
  49. package/dist/viewSpecs/presets/vector_polygon_continuous/layers.d.ts +9 -1
  50. package/dist/viewSpecs/presets/vector_polygon_continuous/parseStyleSpec.d.ts +0 -3
  51. package/dist/viewSpecs/presets/vector_polygon_single/confSchema.d.ts +9 -0
  52. package/dist/viewSpecs/presets/vector_polygon_single/index.d.ts +9 -0
  53. package/dist/viewSpecs/util/colorSchemes/d3.d.ts +1 -1
  54. package/dist/viewSpecs/util/colorSchemes/index.d.ts +1 -1
  55. package/package.json +1 -1
@@ -10,3 +10,8 @@ export * from "./vector_line";
10
10
  export * from "./vector_circle";
11
11
  export * from "./vector_point_single";
12
12
  export * from "./vector_point_continuous";
13
+ export * from "./vector_line_single";
14
+ export * from "./vector_line_categorical";
15
+ export * from "./raster_categorical";
16
+ export * from "./vector_point_categorical";
17
+ export * from "./vector_heatmap";
@@ -0,0 +1,34 @@
1
+ export function raster_categorical({ style, ...viewSpec }: {
2
+ [x: string]: any;
3
+ style: any;
4
+ }, allViewSpecs: any, context: any): {
5
+ sources: {
6
+ main: {
7
+ minzoom: number;
8
+ maxzoom: number;
9
+ type: string;
10
+ tiles: string[];
11
+ };
12
+ };
13
+ layers: {
14
+ main_raster: {
15
+ minzoom: number;
16
+ type: string;
17
+ source: string;
18
+ paint: {
19
+ 'raster-opacity': number;
20
+ };
21
+ legends: {
22
+ type: string;
23
+ title: any;
24
+ items: any;
25
+ }[];
26
+ };
27
+ };
28
+ id: any;
29
+ metodology: any;
30
+ label: any;
31
+ path: any;
32
+ sourceLabel: any;
33
+ shortDescription: any;
34
+ };
@@ -0,0 +1,15 @@
1
+ export function layers(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main_raster: {
3
+ minzoom: number;
4
+ type: string;
5
+ source: string;
6
+ paint: {
7
+ 'raster-opacity': number;
8
+ };
9
+ legends: {
10
+ type: string;
11
+ title: any;
12
+ items: any;
13
+ }[];
14
+ };
15
+ };
@@ -0,0 +1,12 @@
1
+ type Category = {
2
+ value: string;
3
+ label: string;
4
+ color?: string;
5
+ };
6
+ export type StyleSpec = {
7
+ colorScheme?: 'schemeGeoReDUSSafe' | 'schemeGeoReDUS' | 'schemeCategory10' | 'schemeAccent' | 'schemeDark2' | 'schemeObservable10' | 'schemePaired' | 'schemePastel1' | 'schemePastel2' | 'schemeSet1' | 'schemeSet2' | 'schemeSet3' | 'schemeTableau10';
8
+ categories: Category[];
9
+ };
10
+ export type StyleSpecInput = StyleSpec;
11
+ export declare function parseStyleSpec(styleInput: StyleSpecInput): StyleSpec;
12
+ export {};
@@ -0,0 +1,9 @@
1
+ export function sources(viewSpec: any, allViewSpecs: any, context: any): {
2
+ main: {
3
+ minzoom: number;
4
+ maxzoom: number;
5
+ type: string;
6
+ tiles: string[];
7
+ };
8
+ };
9
+ export const MAIN_SOURCE_ID: "main";
@@ -0,0 +1,13 @@
1
+ export function categoricalColorSchemeSelector({ clearable, defaultValue, }: {
2
+ clearable?: boolean | undefined;
3
+ defaultValue?: string | undefined;
4
+ }): {
5
+ label: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: string;
9
+ options: {
10
+ value: string;
11
+ label: import("react").JSX.Element;
12
+ }[];
13
+ };
@@ -57,17 +57,6 @@ export function colorSelector(_initialColor: any): {
57
57
  value: string;
58
58
  })[];
59
59
  };
60
- export function svgBgImage(svg: any): string;
61
- export function fillPatternSelector(props?: {}): {
62
- label: string;
63
- type: string;
64
- clearable: boolean;
65
- defaultValue: string;
66
- options: {
67
- label: import("react").JSX.Element;
68
- value: string;
69
- }[];
70
- };
71
60
  export const COLOR_OPTIONS: ({
72
61
  label: string;
73
62
  value: string;
@@ -120,8 +109,3 @@ export const COLOR_OPTIONS: ({
120
109
  label: string;
121
110
  value: string;
122
111
  })[];
123
- export const FILL_PATTERN_SOLID: "solid";
124
- export const FILL_PATTERN_OPTIONS: {
125
- label: string;
126
- value: string;
127
- }[];
@@ -0,0 +1,11 @@
1
+ export function continuousColorSchemeSelector({ defaultValue }: {
2
+ defaultValue?: string | undefined;
3
+ }): {
4
+ label: string;
5
+ type: string;
6
+ defaultValue: string;
7
+ options: {
8
+ value: string;
9
+ label: import("react").JSX.Element;
10
+ }[];
11
+ };
@@ -0,0 +1,16 @@
1
+ export function svgBgImage(svg: any): string;
2
+ export function fillPatternSelector(_defaultValue?: string, props?: {}): {
3
+ label: string;
4
+ type: string;
5
+ clearable: boolean;
6
+ defaultValue: string;
7
+ options: {
8
+ label: import("react").JSX.Element;
9
+ value: string;
10
+ }[];
11
+ };
12
+ export const FILL_PATTERN_SOLID: "solid";
13
+ export const FILL_PATTERN_OPTIONS: {
14
+ label: string;
15
+ value: string;
16
+ }[];
@@ -0,0 +1,7 @@
1
+ export * from "./colorSelector";
2
+ export * from "./fillPatternSelector";
3
+ export * from "./categoricalColorSchemeSelector";
4
+ export * from "./continuousColorSchemeSelector";
5
+ export * from "./linePatternSelector";
6
+ export * from "./lineWidthSelector";
7
+ export * from "./opacitySlider";
@@ -0,0 +1,18 @@
1
+ export function linePatternSelector({ defaultValue, }?: {
2
+ defaultValue?: string | undefined;
3
+ }): {
4
+ label: string;
5
+ helperText: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: string;
9
+ options: {
10
+ label: import("react").JSX.Element;
11
+ value: string;
12
+ }[];
13
+ };
14
+ export const LINE_PATTERN_SOLID: "solid";
15
+ export const LINE_PATTERN_OPTIONS: {
16
+ label: string;
17
+ value: string;
18
+ }[];
@@ -0,0 +1,18 @@
1
+ export function lineWidthSelector({ defaultValue }?: {
2
+ defaultValue?: number | undefined;
3
+ }): {
4
+ label: string;
5
+ helperText: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: number;
9
+ options: {
10
+ label: import("react").JSX.Element;
11
+ value: number;
12
+ }[];
13
+ };
14
+ export const LINE_WIDTH_1: 1;
15
+ export const LINE_WIDTH_OPTIONS: {
16
+ label: string;
17
+ value: number;
18
+ }[];
@@ -0,0 +1,11 @@
1
+ export function opacitySlider({ defaultValue }: {
2
+ defaultValue?: number | undefined;
3
+ }): {
4
+ type: string;
5
+ label: string;
6
+ size: string;
7
+ min: number;
8
+ max: number;
9
+ step: number;
10
+ defaultValue: number;
11
+ };
@@ -0,0 +1,22 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ style: {
3
+ colorScheme: {
4
+ label: string;
5
+ type: string;
6
+ defaultValue: string;
7
+ options: {
8
+ value: string;
9
+ label: import("react").JSX.Element;
10
+ }[];
11
+ };
12
+ opacity: {
13
+ type: string;
14
+ label: string;
15
+ size: string;
16
+ min: number;
17
+ max: number;
18
+ step: number;
19
+ defaultValue: number;
20
+ } | null;
21
+ };
22
+ };
@@ -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,70 @@
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
+ defaultValue: string;
11
+ options: {
12
+ value: string;
13
+ label: import("react").JSX.Element;
14
+ }[];
15
+ };
16
+ opacity: {
17
+ type: string;
18
+ label: string;
19
+ size: string;
20
+ min: number;
21
+ max: number;
22
+ step: number;
23
+ defaultValue: number;
24
+ } | null;
25
+ };
26
+ };
27
+ metadata: {
28
+ [x: string]: any;
29
+ $$resolver: symbol;
30
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
31
+ dependencies: any;
32
+ value: (...args: any[]) => any;
33
+ defaultValue?: any;
34
+ context?: any;
35
+ };
36
+ sources: {
37
+ main: {
38
+ promoteId: string;
39
+ type: string;
40
+ tiles: string[];
41
+ };
42
+ };
43
+ layers: {
44
+ main_heatmap: {
45
+ [x: string]: any;
46
+ $$resolver: symbol;
47
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
48
+ dependencies: any;
49
+ value: (...args: any[]) => any;
50
+ defaultValue?: any;
51
+ context?: any;
52
+ };
53
+ main_circle: any;
54
+ };
55
+ download: {
56
+ [x: string]: any;
57
+ $$resolver: symbol;
58
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
59
+ dependencies: any;
60
+ value: (...args: any[]) => any;
61
+ defaultValue?: any;
62
+ context?: any;
63
+ };
64
+ id: any;
65
+ metodology: any;
66
+ label: any;
67
+ path: any;
68
+ sourceLabel: any;
69
+ shortDescription: any;
70
+ };
@@ -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,17 @@
1
+ type HeatmapSteps = {
2
+ step: number;
3
+ label: string;
4
+ color?: string;
5
+ };
6
+ export type StyleSpec = {
7
+ weight?: number;
8
+ radius?: number | number[];
9
+ opacity?: number | number[];
10
+ steps?: HeatmapSteps[];
11
+ circle?: Boolean;
12
+ 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';
13
+ };
14
+ export type StyleSpecInput = StyleSpec;
15
+ export declare const DEFAULT_HEATMAP_COLOR_SCHEME_ID = "-schemeSpectral";
16
+ export declare function parseStyleSpec(styleInput?: StyleSpecInput): StyleSpec;
17
+ 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,26 @@
1
+ export function confSchema(viewSpec: any, allViewSpecs: any, context: any): {
2
+ style: {
3
+ linePattern: {
4
+ label: string;
5
+ helperText: string;
6
+ type: string;
7
+ clearable: boolean;
8
+ defaultValue: string;
9
+ options: {
10
+ label: import("react").JSX.Element;
11
+ value: string;
12
+ }[];
13
+ };
14
+ lineWidth: {
15
+ label: string;
16
+ helperText: string;
17
+ type: string;
18
+ clearable: boolean;
19
+ defaultValue: number;
20
+ options: {
21
+ label: import("react").JSX.Element;
22
+ value: number;
23
+ }[];
24
+ };
25
+ };
26
+ };
@@ -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,75 @@
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
+ linePattern: {
8
+ label: string;
9
+ helperText: string;
10
+ type: string;
11
+ clearable: boolean;
12
+ defaultValue: string;
13
+ options: {
14
+ label: import("react").JSX.Element;
15
+ value: string;
16
+ }[];
17
+ };
18
+ lineWidth: {
19
+ label: string;
20
+ helperText: string;
21
+ type: string;
22
+ clearable: boolean;
23
+ defaultValue: number;
24
+ options: {
25
+ label: import("react").JSX.Element;
26
+ value: number;
27
+ }[];
28
+ };
29
+ };
30
+ };
31
+ metadata: {
32
+ categories: {
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
+ };
42
+ sources: {
43
+ main: {
44
+ promoteId: string;
45
+ type: string;
46
+ tiles: string[];
47
+ };
48
+ };
49
+ layers: {
50
+ main_line: {
51
+ [x: string]: any;
52
+ $$resolver: symbol;
53
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
54
+ dependencies: any;
55
+ value: (...args: any[]) => any;
56
+ defaultValue?: any;
57
+ context?: any;
58
+ };
59
+ };
60
+ download: {
61
+ [x: string]: any;
62
+ $$resolver: symbol;
63
+ $$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
64
+ dependencies: any;
65
+ value: (...args: any[]) => any;
66
+ defaultValue?: any;
67
+ context?: any;
68
+ };
69
+ id: any;
70
+ metodology: any;
71
+ label: any;
72
+ path: any;
73
+ sourceLabel: any;
74
+ shortDescription: any;
75
+ };
@@ -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';
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,85 @@
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
+ linePattern: {
63
+ label: string;
64
+ helperText: string;
65
+ type: string;
66
+ clearable: boolean;
67
+ defaultValue: string;
68
+ options: {
69
+ label: import("react").JSX.Element;
70
+ value: string;
71
+ }[];
72
+ };
73
+ lineWidth: {
74
+ label: string;
75
+ helperText: string;
76
+ type: string;
77
+ clearable: boolean;
78
+ defaultValue: number;
79
+ options: {
80
+ label: import("react").JSX.Element;
81
+ value: number;
82
+ }[];
83
+ };
84
+ };
85
+ };
@@ -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
+ };