gamma-app-controller 2.0.3 → 2.0.5

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.
@@ -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($event: any): void;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamma-app-controller",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",