@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.
- package/CHANGELOG.md +20 -0
- package/dist/Markdown/index.d.ts +4 -1
- package/dist/main.js +3896 -1033
- package/dist/viewSpecs/presets/cem_censo/2010_2022/confSchema.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_censo/2010_2022/index.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_censo/2022/index.d.ts +1 -0
- package/dist/viewSpecs/presets/gtfs_lines/confSchema.d.ts +51 -0
- package/dist/viewSpecs/presets/gtfs_lines/consts.d.ts +3 -0
- package/dist/viewSpecs/presets/gtfs_lines/download.d.ts +9 -0
- package/dist/viewSpecs/presets/gtfs_lines/index.d.ts +100 -0
- package/dist/viewSpecs/presets/gtfs_lines/layers.d.ts +11 -0
- package/dist/viewSpecs/presets/gtfs_lines/metadata/index.d.ts +11 -0
- package/dist/viewSpecs/presets/gtfs_lines/metadata/widthScaleStopsResolvers.d.ts +24 -0
- package/dist/viewSpecs/presets/gtfs_lines/parseStyleSpec.d.ts +26 -0
- package/dist/viewSpecs/presets/gtfs_lines/sources.d.ts +7 -0
- package/dist/viewSpecs/presets/gtfs_stops/confSchema.d.ts +46 -0
- package/dist/viewSpecs/presets/gtfs_stops/download.d.ts +9 -0
- package/dist/viewSpecs/presets/gtfs_stops/index.d.ts +147 -0
- package/dist/viewSpecs/presets/gtfs_stops/layers.d.ts +62 -0
- package/dist/viewSpecs/presets/gtfs_stops/metadata/colorScaleStopResolvers.d.ts +30 -0
- package/dist/viewSpecs/presets/gtfs_stops/metadata/index.d.ts +11 -0
- package/dist/viewSpecs/presets/gtfs_stops/parseStyleSpec.d.ts +33 -0
- package/dist/viewSpecs/presets/gtfs_stops/sources.d.ts +8 -0
- package/dist/viewSpecs/presets/gtfs_travel_time_hex/confSchema.d.ts +21 -0
- package/dist/viewSpecs/presets/gtfs_travel_time_hex/fetchDataForHex.d.ts +7 -0
- package/dist/viewSpecs/presets/gtfs_travel_time_hex/index.d.ts +113 -0
- package/dist/viewSpecs/presets/gtfs_travel_time_hex/layers.d.ts +72 -0
- package/dist/viewSpecs/presets/gtfs_travel_time_hex/sources.d.ts +10 -0
- package/dist/viewSpecs/presets/index.d.ts +13 -5
- package/dist/viewSpecs/presets/raster_categorical/index.d.ts +34 -0
- package/dist/viewSpecs/presets/raster_categorical/layers.d.ts +15 -0
- package/dist/viewSpecs/presets/raster_categorical/parseStyleSpec.d.ts +12 -0
- package/dist/viewSpecs/presets/raster_categorical/sources.d.ts +9 -0
- package/dist/viewSpecs/presets/tmp_gtfs_travel_time_hex/parseStyleSpec.d.ts +13 -0
- package/dist/viewSpecs/presets/util/components/basicTooltip.d.ts +1 -1
- package/dist/viewSpecs/presets/util/components/confInputs/categoricalColorSchemeSelector.d.ts +17 -0
- package/dist/viewSpecs/presets/util/components/confInputs/colorSelector.d.ts +63 -0
- package/dist/viewSpecs/presets/util/components/confInputs/continuousColorSchemeSelector.d.ts +12 -0
- package/dist/viewSpecs/presets/util/components/confInputs/fillPatternSelector.d.ts +16 -0
- package/dist/viewSpecs/presets/util/components/confInputs/index.d.ts +7 -0
- package/dist/viewSpecs/presets/util/components/confInputs/linePatternSelector.d.ts +18 -0
- package/dist/viewSpecs/presets/util/components/confInputs/lineWidthSelector.d.ts +18 -0
- package/dist/viewSpecs/presets/util/components/confInputs/opacitySlider.d.ts +10 -0
- package/dist/viewSpecs/presets/util/components/rawFileDownload.d.ts +12 -0
- package/dist/viewSpecs/presets/util/hourUtil.d.ts +9 -0
- package/dist/viewSpecs/presets/util/index.d.ts +2 -0
- package/dist/viewSpecs/presets/util/municipioFilter.d.ts +9 -0
- package/dist/viewSpecs/presets/vector_circle/index.d.ts +2 -50
- package/dist/viewSpecs/presets/vector_heatmap/confSchema.d.ts +24 -0
- package/dist/viewSpecs/presets/vector_heatmap/download.d.ts +9 -0
- package/dist/viewSpecs/presets/vector_heatmap/index.d.ts +72 -0
- package/dist/viewSpecs/presets/vector_heatmap/layers.d.ts +12 -0
- package/dist/viewSpecs/presets/vector_heatmap/metadata/index.d.ts +9 -0
- package/dist/viewSpecs/presets/vector_heatmap/parseStyleSpec.d.ts +20 -0
- package/dist/viewSpecs/presets/vector_heatmap/sources.d.ts +8 -0
- package/dist/viewSpecs/presets/vector_line/index.d.ts +2 -50
- package/dist/viewSpecs/presets/vector_line_categorical/confSchema.d.ts +39 -0
- package/dist/viewSpecs/presets/vector_line_categorical/download.d.ts +9 -0
- package/dist/viewSpecs/presets/vector_line_categorical/index.d.ts +88 -0
- package/dist/viewSpecs/presets/vector_line_categorical/layers.d.ts +11 -0
- package/dist/viewSpecs/presets/vector_line_categorical/metadata.d.ts +11 -0
- package/dist/viewSpecs/presets/vector_line_categorical/parseStyleSpec.d.ts +15 -0
- package/dist/viewSpecs/presets/vector_line_categorical/sources.d.ts +7 -0
- package/dist/viewSpecs/presets/vector_line_single/confSchema.d.ts +37 -0
- package/dist/viewSpecs/presets/vector_line_single/download.d.ts +9 -0
- package/dist/viewSpecs/presets/vector_line_single/index.d.ts +76 -0
- package/dist/viewSpecs/presets/vector_line_single/layers.d.ts +11 -0
- package/dist/viewSpecs/presets/vector_line_single/metadata.d.ts +1 -0
- package/dist/viewSpecs/presets/vector_line_single/parseStyleSpec.d.ts +7 -0
- package/dist/viewSpecs/presets/vector_line_single/sources.d.ts +7 -0
- package/dist/viewSpecs/presets/vector_point_categorical/confSchema.d.ts +17 -0
- package/dist/viewSpecs/presets/vector_point_categorical/download.d.ts +9 -0
- package/dist/viewSpecs/presets/vector_point_categorical/index.d.ts +100 -0
- package/dist/viewSpecs/presets/vector_point_categorical/layers.d.ts +45 -0
- package/dist/viewSpecs/presets/vector_point_categorical/metadata/index.d.ts +11 -0
- package/dist/viewSpecs/presets/vector_point_categorical/parseStyleSpec.d.ts +15 -0
- package/dist/viewSpecs/presets/vector_point_categorical/sources.d.ts +8 -0
- package/dist/viewSpecs/presets/vector_point_continuous/parseStyleSpec.d.ts +1 -20
- package/dist/viewSpecs/presets/vector_point_single/confSchema.d.ts +2 -50
- package/dist/viewSpecs/presets/vector_point_single/index.d.ts +2 -50
- package/dist/viewSpecs/presets/vector_point_single/parseStyleSpec.d.ts +1 -4
- package/dist/viewSpecs/presets/vector_polygon/index.d.ts +2 -50
- package/dist/viewSpecs/presets/vector_polygon_categorical/confSchema.d.ts +23 -0
- package/dist/viewSpecs/presets/vector_polygon_categorical/index.d.ts +23 -0
- package/dist/viewSpecs/presets/vector_polygon_categorical/parseStyleSpec.d.ts +2 -1
- package/dist/viewSpecs/presets/vector_polygon_continuous/confSchema.d.ts +11 -1
- package/dist/viewSpecs/presets/vector_polygon_continuous/index.d.ts +21 -3
- package/dist/viewSpecs/presets/vector_polygon_continuous/layers.d.ts +9 -2
- package/dist/viewSpecs/presets/vector_polygon_continuous/parseStyleSpec.d.ts +1 -3
- package/dist/viewSpecs/presets/vector_polygon_single/confSchema.d.ts +12 -50
- package/dist/viewSpecs/presets/vector_polygon_single/index.d.ts +12 -50
- package/dist/viewSpecs/presets/vector_polygon_single/parseStyleSpec.d.ts +1 -0
- package/dist/viewSpecs/resolveView/resolveView.d.ts +2 -2
- package/dist/viewSpecs/types.d.ts +5 -0
- package/dist/viewSpecs/useViews/constants.d.ts +22 -0
- package/dist/viewSpecs/useViews/tmp_useViews.d.ts +42 -0
- package/dist/viewSpecs/useViews/types.d.ts +15 -0
- package/dist/viewSpecs/useViews/useViewStageQueries.d.ts +23 -0
- package/dist/viewSpecs/useViews/useViews.d.ts +39 -10
- package/dist/viewSpecs/useViews/util/index.d.ts +5 -0
- package/dist/viewSpecs/useViews/util/useViewStageQueriesCache.d.ts +2 -0
- package/dist/viewSpecs/useViews/util/viewHasResolvedStages.d.ts +6 -0
- package/dist/viewSpecs/useViews/util/viewStageQueryKey.d.ts +45 -0
- package/dist/viewSpecs/useViews/util/viewsFromStageQueries.d.ts +12 -0
- package/dist/viewSpecs/util/colorSchemes/d3.d.ts +1 -1
- package/dist/viewSpecs/util/colorSchemes/index.d.ts +1 -1
- package/package.json +6 -4
- package/dist/viewSpecs/presets/util/components/confInputs.d.ts +0 -127
- /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 {};
|
|
@@ -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
|
-
|
|
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,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,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
|
+
};
|