gamma-app-controller 2.0.2 → 2.0.4
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/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +2 -2
- package/esm2020/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.mjs +4 -4
- package/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +8 -4
- package/esm2020/lib/application-controller/support-components/geo-map/geo-map.component.mjs +95 -6
- package/esm2020/lib/shared/advanced-component/google-geo-map/google-geo-map.component.mjs +110 -3
- package/esm2020/lib/shared/gamma-bread-crumbs/bread-crumbs.component.mjs +1 -3
- package/esm2020/lib/shared/user-access/user-access.component.mjs +3 -3
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +4 -1
- package/fesm2015/gamma-app-controller.mjs +226 -19
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +219 -18
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.d.ts +4 -0
- package/lib/application-controller/support-components/geo-map/geo-map.component.d.ts +29 -2
- package/lib/shared/advanced-component/google-geo-map/google-geo-map.component.d.ts +13 -0
- package/package.json +1 -1
|
@@ -33,6 +33,10 @@ export declare class CreateCompViewComponent implements OnInit {
|
|
|
33
33
|
compName: string;
|
|
34
34
|
item: string;
|
|
35
35
|
}[];
|
|
36
|
+
componentNamesForGoogleMap: {
|
|
37
|
+
compName: string;
|
|
38
|
+
item: string;
|
|
39
|
+
}[];
|
|
36
40
|
componentName: any;
|
|
37
41
|
defaultStartDate: string;
|
|
38
42
|
defaultEndDate: string;
|
|
@@ -13,9 +13,12 @@ export declare class GeoMapComponent {
|
|
|
13
13
|
value: string;
|
|
14
14
|
}[];
|
|
15
15
|
chartViewType: any;
|
|
16
|
-
chartViewTypeDataSource: string[];
|
|
17
16
|
mapIconsDataSource: string[];
|
|
18
17
|
mapType: any;
|
|
18
|
+
chartViewTypeDataSource: {
|
|
19
|
+
name: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
19
22
|
regionData: string[];
|
|
20
23
|
chartDataSourceForMap: any;
|
|
21
24
|
colors: string[];
|
|
@@ -68,6 +71,28 @@ export declare class GeoMapComponent {
|
|
|
68
71
|
backgroundColor: string;
|
|
69
72
|
colors: string[];
|
|
70
73
|
};
|
|
74
|
+
choroplethMapConfig: {
|
|
75
|
+
chart_config: {
|
|
76
|
+
dataField: string;
|
|
77
|
+
caption: string;
|
|
78
|
+
displayFor: string;
|
|
79
|
+
enrichName: string;
|
|
80
|
+
}[];
|
|
81
|
+
zoom: string;
|
|
82
|
+
centerLat: string;
|
|
83
|
+
centerLng: string;
|
|
84
|
+
argumentField: string;
|
|
85
|
+
gjsonFilePath: string;
|
|
86
|
+
size: string;
|
|
87
|
+
chartType: string;
|
|
88
|
+
colorOne: string;
|
|
89
|
+
colorTwo: string;
|
|
90
|
+
};
|
|
91
|
+
isCenterdChoroplethMap: boolean;
|
|
92
|
+
centarLaitngObject: {
|
|
93
|
+
latKey: string;
|
|
94
|
+
lngKey: string;
|
|
95
|
+
};
|
|
71
96
|
enrichNameList: string[];
|
|
72
97
|
selectedTableViewType: any;
|
|
73
98
|
isLoader: boolean;
|
|
@@ -96,7 +121,9 @@ export declare class GeoMapComponent {
|
|
|
96
121
|
onColorChange(value: string, index: number): void;
|
|
97
122
|
viewMapForTest(): void;
|
|
98
123
|
heatMapCategory(e: any): void;
|
|
99
|
-
changeMapType(
|
|
124
|
+
changeMapType(event: any): void;
|
|
125
|
+
onLatLngKeyChange(event: any): void;
|
|
126
|
+
calculateCenterFromDatasource(): void;
|
|
100
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<GeoMapComponent, never>;
|
|
101
128
|
static ɵcmp: i0.ɵɵComponentDeclaration<GeoMapComponent, "app-geo-map", never, { "chartconfigData": "datasetmodal"; }, { "createOtherComponentView": "createOtherComponentView"; }, never, never, false>;
|
|
102
129
|
}
|
|
@@ -33,6 +33,9 @@ export declare class GoogleGeoMapComponent {
|
|
|
33
33
|
bounds: any;
|
|
34
34
|
sortBy: any;
|
|
35
35
|
filteredObjects: any;
|
|
36
|
+
choropleth_map_data_source: Map<string, number>;
|
|
37
|
+
minChoroplethMapCnt: number;
|
|
38
|
+
maxChoroplethMapCnt: number;
|
|
36
39
|
set chartDataSource(value: any);
|
|
37
40
|
constructor(commonService: CommonService);
|
|
38
41
|
ngOnInit(): void;
|
|
@@ -57,6 +60,16 @@ export declare class GoogleGeoMapComponent {
|
|
|
57
60
|
handleZoomChange(): void;
|
|
58
61
|
addBubbleMarkers(): void;
|
|
59
62
|
prepareBubbleData(): void;
|
|
63
|
+
getColor(cnt: number, startColor: string, endColor: string): string;
|
|
64
|
+
lerp(start: number, end: number, ratio: number): number;
|
|
65
|
+
hexToRgb(hex: string): {
|
|
66
|
+
r: number;
|
|
67
|
+
g: number;
|
|
68
|
+
b: number;
|
|
69
|
+
};
|
|
70
|
+
initChoroplethMapMap(chartConfig: any, tootTipColumn: any[], choroplethMapDataSource: Map<string, number>, choroplethTooltipDataSource: Map<string, any>): void;
|
|
71
|
+
getFeatureCenter(feature: any): any;
|
|
72
|
+
buildInfoWindowContent(district: string, row: any, tootTipColumn: any[]): string;
|
|
60
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleGeoMapComponent, never>;
|
|
61
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoogleGeoMapComponent, "app-google-geo-map", never, { "rightClickEnable": "rightClickEnable"; "chartDataSource": "chartDataSource"; }, { "getTableConfigOutPut": "getTableConfigOutPut"; "oRowClick": "oRowClick"; "onrightClickContextSelection": "onrightClickContextSelection"; }, never, never, false>;
|
|
62
75
|
}
|