gamma-app-controller 2.0.24 → 4.0.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 (56) hide show
  1. package/esm2020/lib/application-controller/application-content.service.mjs +36 -36
  2. package/esm2020/lib/application-controller/application-controller.module.mjs +6 -1
  3. package/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +2 -2
  4. package/esm2020/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.mjs +10 -27
  5. package/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +6 -3
  6. package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +3 -3
  7. package/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +32 -167
  8. package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +4 -3
  9. package/esm2020/lib/application-controller/support-components/geo-map/geo-map.component.mjs +12 -228
  10. package/esm2020/lib/application-controller/support-components/single-card/single-card.component.mjs +24 -34
  11. package/esm2020/lib/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.mjs +3 -4
  12. package/esm2020/lib/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.mjs +39 -109
  13. package/esm2020/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +15 -2
  14. package/esm2020/lib/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component.mjs +7 -272
  15. package/esm2020/lib/shared/advanced-component/gamma-heatmap/gamma-heatmap.component.mjs +3 -3
  16. package/esm2020/lib/shared/advanced-component/google-geo-map/google-geo-map.component.mjs +439 -0
  17. package/esm2020/lib/shared/gamma-bread-crumbs/bread-crumbs.component.mjs +57 -51
  18. package/esm2020/lib/shared/permission-helper.mjs +4 -35
  19. package/esm2020/lib/shared/template-dataset-call-service.mjs +5 -1
  20. package/esm2020/lib/shared/user-access/user-access.component.mjs +5 -5
  21. package/esm2020/lib/template-module/KpiCreationModule/create-kpi-tree.component.mjs +275 -153
  22. package/esm2020/lib/template-module/KpiCreationModule/createKpi.service.mjs +6 -37
  23. package/esm2020/lib/template-module/KpiCreationModule/treeview/components/basic/basic.component.mjs +3 -3
  24. package/esm2020/lib/template-module/KpiCreationModule/treeview/components/collapsable/collapsable.component.mjs +15 -4
  25. package/esm2020/lib/template-module/KpiCreationModule/treeview/treeview.component.mjs +6 -4
  26. package/esm2020/lib/template-module/bookmarked-template/bookmarked-layout.service.mjs +8 -8
  27. package/esm2020/lib/template-module/cdrConfigModule/cdr-browser.service.mjs +2 -2
  28. package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +2 -1
  29. package/esm2020/lib/template-module/defaulLandingComponent/landing-component.service.mjs +8 -8
  30. package/esm2020/lib/template-module/defaulLandingMultiLayoutComponent/defaulLandingMultiLayout.service.mjs +8 -8
  31. package/esm2020/lib/template-module/kpiWithMultiLayout/kpi-multi-layout.service.mjs +8 -8
  32. package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-single-layout.service.mjs +8 -16
  33. package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +6 -10
  34. package/esm2020/public-api.mjs +3 -1
  35. package/fesm2015/gamma-app-controller.mjs +8672 -8850
  36. package/fesm2015/gamma-app-controller.mjs.map +1 -1
  37. package/fesm2020/gamma-app-controller.mjs +8427 -8617
  38. package/fesm2020/gamma-app-controller.mjs.map +1 -1
  39. package/lib/application-controller/application-content.service.d.ts +1 -1
  40. package/lib/application-controller/application-controller.module.d.ts +26 -25
  41. package/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.d.ts +0 -2
  42. package/lib/application-controller/support-components/dash-chart/dash-chart.component.d.ts +3 -18
  43. package/lib/application-controller/support-components/geo-map/geo-map.component.d.ts +2 -46
  44. package/lib/application-controller/support-components/single-card/single-card.component.d.ts +2 -5
  45. package/lib/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.d.ts +0 -1
  46. package/lib/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.d.ts +1 -3
  47. package/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.d.ts +1 -0
  48. package/lib/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component.d.ts +0 -40
  49. package/lib/shared/advanced-component/google-geo-map/google-geo-map.component.d.ts +62 -0
  50. package/lib/shared/gamma-bread-crumbs/bread-crumbs.component.d.ts +0 -2
  51. package/lib/shared/permission-helper.d.ts +0 -1
  52. package/lib/template-module/KpiCreationModule/create-kpi-tree.component.d.ts +15 -11
  53. package/lib/template-module/KpiCreationModule/createKpi.service.d.ts +0 -4
  54. package/lib/template-module/kpiWithSingleLayout/kpi-single-layout.service.d.ts +0 -1
  55. package/package.json +1 -1
  56. package/public-api.d.ts +2 -0
@@ -87,7 +87,7 @@ export declare class ApplicationContentService {
87
87
  getApiData(): any;
88
88
  configureAppMenuConfig(manueConfig: any): Observable<any>;
89
89
  listAppMenuConfigs(): Observable<any>;
90
- getAppMenuConfigById(manuid: any): Observable<any>;
90
+ getAppAppMenuConfigById(manuid: any): Observable<any>;
91
91
  updateAppMenuConfig(manueConfig: any): Observable<any>;
92
92
  deleteAppMenuConfig(menuId: any): any;
93
93
  listMetricConfigs(): any;
@@ -31,32 +31,33 @@ import * as i29 from "../shared/gamma-bread-crumbs/bread-crumbs.component";
31
31
  import * as i30 from "./application-dataset-component/create-dataset-sql/sqlFormatter";
32
32
  import * as i31 from "../shared/safeHtmlPipe";
33
33
  import * as i32 from "./common-header/common-header.component";
34
- import * as i33 from "../shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component";
35
- import * as i34 from "./application-menu-controller/application-menus/application-menus.component";
36
- import * as i35 from "./application-menu-controller/application-create-menu/application-create-menu.component";
37
- import * as i36 from "../shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component";
38
- import * as i37 from "./page-controller/page-config-multi-layout/page-config-multi-layout.component";
39
- import * as i38 from "./application-metric-config/create-metrics/create-metrics.component";
40
- import * as i39 from "./application-metric-config/online-metrics/online-metrics.component";
41
- import * as i40 from "./application-metric-config/ofline-metrics/ofline-metrics.component";
42
- import * as i41 from "./application-metric-config/all-metrics-config/all-metrics-config.component";
43
- import * as i42 from "./support-components/dash-today-previous/dash-today-previous.component";
44
- import * as i43 from "./support-components/single-card/single-card.component";
45
- import * as i44 from "./support-components/heat-map/heat-map.component";
46
- import * as i45 from "../shared/advanced-component/gamma-heatmap/gamma-heatmap.component";
47
- import * as i46 from "@angular/common";
48
- import * as i47 from "@angular/router";
49
- import * as i48 from "devextreme-angular";
50
- import * as i49 from "@angular/forms";
51
- import * as i50 from "@angular/material/icon";
52
- import * as i51 from "@angular/material/tooltip";
53
- import * as i52 from "@angular/material/button";
54
- import * as i53 from "@angular/material/divider";
55
- import * as i54 from "@angular/material/menu";
56
- import * as i55 from "../shared/loading/loadingModule";
57
- import * as i56 from "../shared/shared.module";
34
+ import * as i33 from "../shared/advanced-component/google-geo-map/google-geo-map.component";
35
+ import * as i34 from "../shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component";
36
+ import * as i35 from "./application-menu-controller/application-menus/application-menus.component";
37
+ import * as i36 from "./application-menu-controller/application-create-menu/application-create-menu.component";
38
+ import * as i37 from "../shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component";
39
+ import * as i38 from "./page-controller/page-config-multi-layout/page-config-multi-layout.component";
40
+ import * as i39 from "./application-metric-config/create-metrics/create-metrics.component";
41
+ import * as i40 from "./application-metric-config/online-metrics/online-metrics.component";
42
+ import * as i41 from "./application-metric-config/ofline-metrics/ofline-metrics.component";
43
+ import * as i42 from "./application-metric-config/all-metrics-config/all-metrics-config.component";
44
+ import * as i43 from "./support-components/dash-today-previous/dash-today-previous.component";
45
+ import * as i44 from "./support-components/single-card/single-card.component";
46
+ import * as i45 from "./support-components/heat-map/heat-map.component";
47
+ import * as i46 from "../shared/advanced-component/gamma-heatmap/gamma-heatmap.component";
48
+ import * as i47 from "@angular/common";
49
+ import * as i48 from "@angular/router";
50
+ import * as i49 from "devextreme-angular";
51
+ import * as i50 from "@angular/forms";
52
+ import * as i51 from "@angular/material/icon";
53
+ import * as i52 from "@angular/material/tooltip";
54
+ import * as i53 from "@angular/material/button";
55
+ import * as i54 from "@angular/material/divider";
56
+ import * as i55 from "@angular/material/menu";
57
+ import * as i56 from "../shared/loading/loadingModule";
58
+ import * as i57 from "../shared/shared.module";
58
59
  export declare class PackageApplicationControllerModule {
59
60
  static ɵfac: i0.ɵɵFactoryDeclaration<PackageApplicationControllerModule, never>;
60
- static ɵmod: i0.ɵɵNgModuleDeclaration<PackageApplicationControllerModule, [typeof i1.ApplicationDatasetComponent, typeof i2.ApplicationViewsComponent, typeof i3.DatasetMongoComponent, typeof i4.DatasetQueryBulderComponent, typeof i5.DatasetRestApiComponent, typeof i6.GeoMapComponent, typeof i7.CreateCompViewComponent, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i11.PageConfigComponent, typeof i12.PageControlerComponent, typeof i13.CreateDatasetComponent, typeof i14.TableWithBarComponent, typeof i15.CreateDatasetSqlComponent, typeof i16.CreateDatasetJsonComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i30.SqlPipe, typeof i31.SafeHtmlPipe, typeof i32.CommonHeaderComponent, typeof i33.GammaTableClumnBarChartComponent, typeof i34.ApplicationMenusComponent, typeof i35.ApplicationCreateMenuComponent, typeof i36.GammaGeoChartComponent, typeof i37.PageConfigMultilayoutComponent, typeof i38.CreateMetricsComponent, typeof i39.OnlineMetricsComponent, typeof i40.OflineMetricsComponent, typeof i41.AllMetricsConfigComponent, typeof i42.DashTodayPreviousComponent, typeof i43.SingleCardComponent, typeof i44.HeatMapSupportComponent, typeof i45.GammaHeatChartComponent], [typeof i46.CommonModule, typeof i47.RouterModule, typeof i48.DevExtremeModule, typeof i48.DxButtonModule, typeof i48.DxCheckBoxModule, typeof i48.DxNumberBoxModule, typeof i48.DxDataGridModule, typeof i48.DxDropDownBoxModule, typeof i48.DxTreeViewModule, typeof i48.DxScrollViewModule, typeof i48.DxFormModule, typeof i48.DxAccordionModule, typeof i49.FormsModule, typeof i48.DxTagBoxModule, typeof i49.ReactiveFormsModule, typeof i50.MatIconModule, typeof i48.DxHtmlEditorModule, typeof i48.DxBulletModule, typeof i48.DxChartModule, typeof i48.DxDateBoxModule, typeof i48.DxLoadPanelModule, typeof i48.DxLookupModule, typeof i48.DxPivotGridModule, typeof i48.DxTemplateModule, typeof i48.DxTextAreaModule, typeof i48.DxValidationSummaryModule, typeof i48.DxValidatorModule, typeof i48.DxCalendarModule, typeof i48.DxTooltipModule, typeof i48.DxContextMenuModule, typeof i48.DxLoadIndicatorModule, typeof i48.DxPieChartModule, typeof i51.MatTooltipModule, typeof i48.DxPopupModule, typeof i48.DxSelectBoxModule, typeof i48.DxTextBoxModule, typeof i48.DxTreeViewModule, typeof i52.MatButtonModule, typeof i53.MatDividerModule, typeof i54.MatMenuModule, typeof i50.MatIconModule, typeof i55.LoadingModule, typeof i56.SharedModule], [typeof i47.RouterModule, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i13.CreateDatasetComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i32.CommonHeaderComponent, typeof i6.GeoMapComponent, typeof i31.SafeHtmlPipe, typeof i33.GammaTableClumnBarChartComponent, typeof i36.GammaGeoChartComponent, typeof i37.PageConfigMultilayoutComponent, typeof i38.CreateMetricsComponent, typeof i39.OnlineMetricsComponent, typeof i40.OflineMetricsComponent, typeof i41.AllMetricsConfigComponent, typeof i42.DashTodayPreviousComponent, typeof i44.HeatMapSupportComponent, typeof i45.GammaHeatChartComponent]>;
61
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PackageApplicationControllerModule, [typeof i1.ApplicationDatasetComponent, typeof i2.ApplicationViewsComponent, typeof i3.DatasetMongoComponent, typeof i4.DatasetQueryBulderComponent, typeof i5.DatasetRestApiComponent, typeof i6.GeoMapComponent, typeof i7.CreateCompViewComponent, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i11.PageConfigComponent, typeof i12.PageControlerComponent, typeof i13.CreateDatasetComponent, typeof i14.TableWithBarComponent, typeof i15.CreateDatasetSqlComponent, typeof i16.CreateDatasetJsonComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i30.SqlPipe, typeof i31.SafeHtmlPipe, typeof i32.CommonHeaderComponent, typeof i33.GoogleGeoMapComponent, typeof i34.GammaTableClumnBarChartComponent, typeof i35.ApplicationMenusComponent, typeof i36.ApplicationCreateMenuComponent, typeof i37.GammaGeoChartComponent, typeof i38.PageConfigMultilayoutComponent, typeof i39.CreateMetricsComponent, typeof i40.OnlineMetricsComponent, typeof i41.OflineMetricsComponent, typeof i42.AllMetricsConfigComponent, typeof i43.DashTodayPreviousComponent, typeof i44.SingleCardComponent, typeof i45.HeatMapSupportComponent, typeof i46.GammaHeatChartComponent], [typeof i47.CommonModule, typeof i48.RouterModule, typeof i49.DevExtremeModule, typeof i49.DxButtonModule, typeof i49.DxCheckBoxModule, typeof i49.DxNumberBoxModule, typeof i49.DxDataGridModule, typeof i49.DxDropDownBoxModule, typeof i49.DxTreeViewModule, typeof i49.DxScrollViewModule, typeof i49.DxFormModule, typeof i49.DxAccordionModule, typeof i50.FormsModule, typeof i49.DxTagBoxModule, typeof i50.ReactiveFormsModule, typeof i51.MatIconModule, typeof i49.DxHtmlEditorModule, typeof i49.DxBulletModule, typeof i49.DxChartModule, typeof i49.DxDateBoxModule, typeof i49.DxLoadPanelModule, typeof i49.DxLookupModule, typeof i49.DxPivotGridModule, typeof i49.DxTemplateModule, typeof i49.DxTextAreaModule, typeof i49.DxValidationSummaryModule, typeof i49.DxValidatorModule, typeof i49.DxCalendarModule, typeof i49.DxTooltipModule, typeof i49.DxContextMenuModule, typeof i49.DxLoadIndicatorModule, typeof i49.DxPieChartModule, typeof i52.MatTooltipModule, typeof i49.DxPopupModule, typeof i49.DxSelectBoxModule, typeof i49.DxTextBoxModule, typeof i49.DxTreeViewModule, typeof i53.MatButtonModule, typeof i54.MatDividerModule, typeof i55.MatMenuModule, typeof i51.MatIconModule, typeof i56.LoadingModule, typeof i57.SharedModule], [typeof i48.RouterModule, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i13.CreateDatasetComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i32.CommonHeaderComponent, typeof i6.GeoMapComponent, typeof i31.SafeHtmlPipe, typeof i33.GoogleGeoMapComponent, typeof i34.GammaTableClumnBarChartComponent, typeof i37.GammaGeoChartComponent, typeof i38.PageConfigMultilayoutComponent, typeof i39.CreateMetricsComponent, typeof i40.OnlineMetricsComponent, typeof i41.OflineMetricsComponent, typeof i42.AllMetricsConfigComponent, typeof i43.DashTodayPreviousComponent, typeof i45.HeatMapSupportComponent, typeof i46.GammaHeatChartComponent]>;
61
62
  static ɵinj: i0.ɵɵInjectorDeclaration<PackageApplicationControllerModule>;
62
63
  }
@@ -17,7 +17,6 @@ export declare class ApplicationCreateMenuComponent implements OnInit {
17
17
  paparentMenuDatasource: any;
18
18
  defaultSelectedParent: any;
19
19
  selectedQueryParamStr: string;
20
- allManuDatasource: any;
21
20
  constructor(commonservice: CommonService, service: ApplicationContentService, toasterService: ToastrService, activatedRoute: ActivatedRoute, router: Router);
22
21
  ngOnInit(): void;
23
22
  getParentMenuList(): void;
@@ -25,7 +24,6 @@ export declare class ApplicationCreateMenuComponent implements OnInit {
25
24
  submitNewMenu(): void;
26
25
  updateMenu(): void;
27
26
  getMenuTidType(item: any): void;
28
- getNextChildTid(parentTid: string, allManuDatasource: any[]): string;
29
27
  menuList(): void;
30
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationCreateMenuComponent, never>;
31
29
  static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationCreateMenuComponent, "lib-application-create-menu", never, {}, {}, never, never, false>;
@@ -35,12 +35,6 @@ export declare class DashChartComponent implements OnInit {
35
35
  title: string;
36
36
  argumentField: string;
37
37
  chartGroupBy: string;
38
- isDataAggregation: boolean;
39
- dataAggregationConfig: {
40
- dataAggregateColumes: any[];
41
- aggregateFields: any[];
42
- };
43
- dataGroupBy: string;
44
38
  chartSortBy: string;
45
39
  verticalAlignment: string;
46
40
  horizontalAlignment: string;
@@ -85,7 +79,6 @@ export declare class DashChartComponent implements OnInit {
85
79
  chartWithThreeDimentionDataSeries: any;
86
80
  isLoader: boolean;
87
81
  userOptionContainer: any;
88
- chartDataSource: any;
89
82
  getChartConfigOutPut: EventEmitter<any>;
90
83
  set chartconfigData(value: any);
91
84
  setActiveTab(tab: string): void;
@@ -102,7 +95,7 @@ export declare class DashChartComponent implements OnInit {
102
95
  };
103
96
  calculateTotal(pieChart: any): string;
104
97
  pointClickHandler(arg: any): void;
105
- geBubblemapData(): void;
98
+ getHeatmapData(): void;
106
99
  generateData(data: any, chartConfig: any): {
107
100
  result: any[];
108
101
  uniqueDates: unknown[];
@@ -113,19 +106,11 @@ export declare class DashChartComponent implements OnInit {
113
106
  addAssociatedParams(): void;
114
107
  getSelectedEventType(e: any): void;
115
108
  resetViewProprstise(): void;
116
- getChartMultiSerisChart(event: any): void;
117
- geChartWithGroupByForMultiSeris(previewdata: any[], argumentValue: string, valueField: string, groupBy: string): {
109
+ getChartStackbarChart(event: any): void;
110
+ getStackBarChart(previewdata: any[], argumentValue: string, valueField: string, groupBy: string): {
118
111
  dataSourceForChart: any[];
119
112
  listOfGroupByData: string[];
120
113
  };
121
- dataAggregationContainer: any[];
122
- dataAggregateGroupByColume: any;
123
- addAggregationColume(): void;
124
- deleteAggregationColume(i: any): void;
125
- onDataGroupByChange(event: any): void;
126
- saveAggregationColume(): void;
127
- getGroupDataForChart(data: any, aggregationConfig: any, groupByColumns: any): unknown[];
128
- viewMapForTest(): void;
129
114
  static ɵfac: i0.ɵɵFactoryDeclaration<DashChartComponent, never>;
130
115
  static ɵcmp: i0.ɵɵComponentDeclaration<DashChartComponent, "app-dash-chart", never, { "chartconfigData": "datasetmodal"; }, { "getChartConfigOutPut": "getChartConfigOutPut"; }, never, never, false>;
131
116
  }
@@ -13,12 +13,9 @@ export declare class GeoMapComponent {
13
13
  value: string;
14
14
  }[];
15
15
  chartViewType: any;
16
+ chartViewTypeDataSource: string[];
16
17
  mapIconsDataSource: string[];
17
18
  mapType: any;
18
- chartViewTypeDataSource: {
19
- name: string;
20
- value: string;
21
- }[];
22
19
  regionData: string[];
23
20
  chartDataSourceForMap: any;
24
21
  colors: string[];
@@ -71,42 +68,10 @@ export declare class GeoMapComponent {
71
68
  backgroundColor: string;
72
69
  colors: string[];
73
70
  };
74
- choroplethMapConfig: {
75
- chart_config: {
76
- dataField: string;
77
- caption: string;
78
- displayFor: string;
79
- enrichName: string;
80
- }[];
81
- zoom: string;
82
- isValueFieldRangeSlider: boolean;
83
- slideSpeed: number;
84
- isDataAggregation: boolean;
85
- dataAggregationConfig: {
86
- dataAggregateColumes: any[];
87
- aggregateFields: any[];
88
- };
89
- sliderValueField: string;
90
- centerLat: string;
91
- centerLng: string;
92
- argumentField: string;
93
- gjsonFilePath: string;
94
- size: string;
95
- chartType: string;
96
- colorOne: string;
97
- colorTwo: string;
98
- };
99
- isCenterdChoroplethMap: boolean;
100
- centarLaitngObject: {
101
- latKey: string;
102
- lngKey: string;
103
- };
104
71
  enrichNameList: string[];
105
72
  selectedTableViewType: any;
106
73
  isLoader: boolean;
107
74
  selectedViewConfigs: any;
108
- userOptionContainer: any;
109
- previewData: any;
110
75
  constructor(commonService: CommonService, cdr: ChangeDetectorRef, service: ApplicationContentService, taostr: ToastrService);
111
76
  activeTab: string;
112
77
  createOtherComponentView: EventEmitter<any>;
@@ -131,16 +96,7 @@ export declare class GeoMapComponent {
131
96
  onColorChange(value: string, index: number): void;
132
97
  viewMapForTest(): void;
133
98
  heatMapCategory(e: any): void;
134
- changeMapType(event: any): void;
135
- onLatLngKeyChange(event: any): void;
136
- calculateCenterFromDatasource(): void;
137
- dataAggregationContainer: any[];
138
- dataAggregateGroupByColume: any;
139
- addAggregationColume(): void;
140
- deleteAggregationColume(i: any): void;
141
- onDataGroupByChange(event: any): void;
142
- saveAggregationColume(): void;
143
- getGroupDataForChart(data: any, aggregationConfig: any, groupByColumns: any): unknown[];
99
+ changeMapType($event: any): void;
144
100
  static ɵfac: i0.ɵɵFactoryDeclaration<GeoMapComponent, never>;
145
101
  static ɵcmp: i0.ɵɵComponentDeclaration<GeoMapComponent, "app-geo-map", never, { "chartconfigData": "datasetmodal"; }, { "createOtherComponentView": "createOtherComponentView"; }, never, never, false>;
146
102
  }
@@ -15,7 +15,7 @@ export declare class SingleCardComponent implements OnInit {
15
15
  allConfiguredViews: any;
16
16
  viewProperties: any;
17
17
  optionalDrilDownDataSource: any;
18
- cardMainComponentObject: {
18
+ table_columns_config: {
19
19
  kpiConfig: {
20
20
  serviceId: string;
21
21
  api: string;
@@ -26,7 +26,7 @@ export declare class SingleCardComponent implements OnInit {
26
26
  dataConfig: {};
27
27
  };
28
28
  };
29
- cardDataConfig: {
29
+ tableDataConfig: {
30
30
  color: string;
31
31
  size: string;
32
32
  isIcon: boolean;
@@ -41,12 +41,9 @@ export declare class SingleCardComponent implements OnInit {
41
41
  selectedTableViewType: any;
42
42
  isLoader: boolean;
43
43
  selectedViewConfigs: any;
44
- userOptionContainer: any;
45
44
  constructor(commonService: CommonService, cdr: ChangeDetectorRef, service: ApplicationContentService, taostr: ToastrService);
46
45
  activeTab: string;
47
46
  getSingleCardConfigOutPut: EventEmitter<any>;
48
- cardDataSourceModel: any;
49
- previewData: any;
50
47
  set chartconfigData(value: any);
51
48
  ngOnInit(): void;
52
49
  addColumns(): void;
@@ -14,7 +14,6 @@ export declare class GammSingleNumberCardComponent implements OnInit {
14
14
  isPreviousDay: boolean;
15
15
  sortBy: any;
16
16
  selectedColumn: any;
17
- selectedCaption: any;
18
17
  subscriber_count: any;
19
18
  isLoader: boolean;
20
19
  colors: string[];
@@ -25,14 +25,12 @@ export declare class GammaAdvanceChartComponent implements OnInit {
25
25
  isFullScreen: boolean;
26
26
  heatChartDataSource: any;
27
27
  bubbleChartData: any;
28
- chartTypeWhenMultiSeries: any;
29
28
  constructor(commonService: CommonService, toastr: ToastrService, kpiService: kpicommonService, renderer: Renderer2, el: ElementRef, cdr: ChangeDetectorRef, environment: any);
30
29
  page_parms: any;
31
30
  chartOrderBy: boolean;
32
31
  chartDisplayDateFormat: any;
33
32
  onChartPointClick: EventEmitter<any>;
34
33
  set chartDataSource(value: any);
35
- getGroupDataForChart(data: any, aggregationConfig: any, groupByColumns: any): unknown[];
36
34
  ngOnInit(): void;
37
35
  getHourChart(data: any, dataConfig: any): void;
38
36
  getMonthlyChart(data: any, dataConfig: any): void;
@@ -62,7 +60,7 @@ export declare class GammaAdvanceChartComponent implements OnInit {
62
60
  };
63
61
  getFormateDataByColorCode(filedata: any, valueField: any, minBubbleSize: any, maxBubbleSize: any): any;
64
62
  mapRange(value: any, inMin: any, inMax: any, outMin: any, outMax: any): any;
65
- geChartWithGroupByForMultiSeris(previewdata: any[], argumentValue: string, valueField: string, groupBy: string): {
63
+ getStackBarChart(previewdata: any[], argumentValue: string, valueField: string, groupBy: string): {
66
64
  dataSourceForChart: any[];
67
65
  listOfGroupByData: string[];
68
66
  };
@@ -31,6 +31,7 @@ export declare class GammaAdvanceOperatorTableComponent implements OnInit {
31
31
  setTableHeight(value: any): any;
32
32
  callServiceFunction(functionName: string, value: any): any;
33
33
  shouldShowColumn(field: string): boolean;
34
+ getParamsTitle(data: any): any;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<GammaAdvanceOperatorTableComponent, never>;
35
36
  static ɵcmp: i0.ɵɵComponentDeclaration<GammaAdvanceOperatorTableComponent, "app-gamma-advance-operator-table", never, { "chartDataSource": "chartDataSource"; }, { "getTableConfigOutPut": "getTableConfigOutPut"; "oRowClick": "oRowClick"; "onrightClickContextSelection": "onrightClickContextSelection"; }, never, never, false>;
36
37
  }
@@ -33,26 +33,10 @@ export declare class GammaGeoChartComponent implements OnInit, AfterViewInit {
33
33
  page_parms: any;
34
34
  sortBy: any;
35
35
  filteredObjects: any;
36
- choropleth_map_data_source: Map<string, number>;
37
- minChoroplethMapCnt: number;
38
- maxChoroplethMapCnt: number;
39
- allSelectedRangeSliderValues: any[];
40
- selectedRangeSliderValue: string;
41
- choroplethMapDataSource: Map<string, number>;
42
- choroplethTooltipDataSource: Map<string, any>;
43
- choroplethMapData: any;
44
- isRangeSliderVisible: boolean;
45
- choroplethMapChartConfig: any;
46
- isPlaying: boolean;
47
- playInterval: any;
48
- choroplethMapCurrentIndex: number;
49
- choroplethMapslideSpeed: number;
50
- chartConfig: any;
51
36
  set chartDataSource(value: any);
52
37
  constructor(commonService: CommonService);
53
38
  ngOnInit(): void;
54
39
  ngAfterViewInit(): void;
55
- getGroupDataForChart(data: any, aggregationConfig: any, groupByColumns: any): unknown[];
56
40
  loadGoogleCharts(): void;
57
41
  drawChart(): void;
58
42
  getTooltip(data: any): string;
@@ -73,30 +57,6 @@ export declare class GammaGeoChartComponent implements OnInit, AfterViewInit {
73
57
  handleZoomChange(): void;
74
58
  addBubbleMarkers(): void;
75
59
  prepareBubbleData(): void;
76
- getColor(cnt: number, startColor: string, endColor: string, minCount: number, maxCount: number): string;
77
- lerp(start: number, end: number, ratio: number): number;
78
- hexToRgb(hex: string): {
79
- r: number;
80
- g: number;
81
- b: number;
82
- };
83
- initChoroplethMap(chartConfig: any, tootTipColumn: any[]): void;
84
- applyChoroplethStyles(chartConfig: any): void;
85
- buildInfoWindowContent(district: string, row: any, tootTipColumn: any[]): string;
86
- updateChoroplethMapData(year: string, chartConfig: any): void;
87
- getFeatureStyle(feature: any, chartConfig: any, minCount: any, maxCount: any): {
88
- fillColor: string;
89
- strokeColor: string;
90
- strokeWeight: number;
91
- fillOpacity: number;
92
- };
93
- togglePlay(): void;
94
- play(): void;
95
- pause(): void;
96
- restart(): void;
97
- onYearChange(event: any): void;
98
- setYearByIndex(index: number): void;
99
- updateYearByIndex(index: number): void;
100
60
  static ɵfac: i0.ɵɵFactoryDeclaration<GammaGeoChartComponent, never>;
101
61
  static ɵcmp: i0.ɵɵComponentDeclaration<GammaGeoChartComponent, "app-gamma-geo-chart", never, { "rightClickEnable": "rightClickEnable"; "chartDataSource": "chartDataSource"; }, { "getTableConfigOutPut": "getTableConfigOutPut"; "oRowClick": "oRowClick"; "onrightClickContextSelection": "onrightClickContextSelection"; }, never, never, false>;
102
62
  }
@@ -0,0 +1,62 @@
1
+ import { ElementRef, EventEmitter } from "@angular/core";
2
+ import { CommonService } from '../../../application-controller/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoogleGeoMapComponent {
5
+ commonService: CommonService;
6
+ googlMap: ElementRef;
7
+ charData: any;
8
+ chartHeight: any;
9
+ bacgroundColor: any;
10
+ mapColors: any;
11
+ chartType: any;
12
+ tootTipColumn: any;
13
+ region: any;
14
+ getTableConfigOutPut: EventEmitter<any>;
15
+ oRowClick: EventEmitter<any>;
16
+ onrightClickContextSelection: EventEmitter<any>;
17
+ rightClickEnable: boolean;
18
+ isLoader: boolean;
19
+ page_config: any;
20
+ page_parms: any;
21
+ regionCode: any;
22
+ map: any;
23
+ locations: any;
24
+ mapTYpe: any;
25
+ mapOptionForHeatMap: {
26
+ zoom: number;
27
+ };
28
+ currentInfoWindow: any;
29
+ markers: any[];
30
+ heatmap: any;
31
+ heatmapData: any;
32
+ zoomValuForAll: number;
33
+ bounds: any;
34
+ sortBy: any;
35
+ filteredObjects: any;
36
+ set chartDataSource(value: any);
37
+ constructor(commonService: CommonService);
38
+ ngOnInit(): void;
39
+ ngAfterViewInit(): void;
40
+ loadGoogleCharts(): void;
41
+ drawChart(): void;
42
+ getTooltip(data: any): string;
43
+ getOptionConfig(): {
44
+ backgroundColor: any;
45
+ tooltip: {
46
+ isHtml: boolean;
47
+ };
48
+ colorAxis: {
49
+ colors: any;
50
+ };
51
+ };
52
+ initializeMap(): void;
53
+ addMarkers(): void;
54
+ getInfoWindoData(data: any): string;
55
+ loadGoogleHeatOnlyMaps(data: any): void;
56
+ initializeHeatWithMarkerMap(data: any): void;
57
+ handleZoomChange(): void;
58
+ addBubbleMarkers(): void;
59
+ prepareBubbleData(): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoogleGeoMapComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoogleGeoMapComponent, "app-google-geo-map", never, { "rightClickEnable": "rightClickEnable"; "chartDataSource": "chartDataSource"; }, { "getTableConfigOutPut": "getTableConfigOutPut"; "oRowClick": "oRowClick"; "onrightClickContextSelection": "onrightClickContextSelection"; }, never, never, false>;
62
+ }
@@ -27,8 +27,6 @@ export declare class BreadCrumbsComponent implements OnInit {
27
27
  getKpiName(data: any, relativePath: any): void;
28
28
  getBreadCrumbsData(data: any): {};
29
29
  loadBreadCrumbs(): void;
30
- buildKpiPath(kpiListData: any, startTid: any): string;
31
- buildTidArray(startTid: any): any[];
32
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbsComponent, never>;
33
31
  static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbsComponent, "gamma-bread-crumbs", never, { "kpi_data_container": "kpi_data_container"; }, {}, never, never, false>;
34
32
  }
@@ -3,7 +3,6 @@ export declare class PermissionHelper {
3
3
  private securityPrincipal;
4
4
  constructor(securityPrincipal: any);
5
5
  getPermissionEntity(permission: any): boolean;
6
- buildMenuTree(userName: string, kpiData: any[]): any[];
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<PermissionHelper, never>;
8
7
  static ɵprov: i0.ɵɵInjectableDeclaration<PermissionHelper>;
9
8
  }
@@ -38,36 +38,40 @@ export declare class CreateKpiTreeComponent implements OnInit {
38
38
  editable_tag_type: any;
39
39
  editable_kpi_name: any;
40
40
  editable_kpi_tid: any;
41
- selected_kpi_child_tid: any;
42
41
  kpi_visibility: boolean;
43
42
  kpi_external: boolean;
44
43
  parante_kpi_name: any;
45
44
  isComponentUpdata: boolean;
46
45
  templateDataSource: any;
47
46
  userOptionContainer: any;
48
- selected_aliases: any;
49
- isKpiTreePrepared: boolean;
50
- kpiConfigDataSource: any;
51
47
  constructor(commonService: CommonService, formBuilder: FormBuilder, service: CreateKpIService, toastr: ToastrService, router: Router);
52
48
  ngOnInit(): void;
53
49
  getAppPageConfigs(): void;
54
50
  getAllKpiData(): void;
55
51
  prepareParentDataSource(data: any): void;
56
- makeNewKpiWithUserEntity(): void;
57
- getEditableKpi(kpi: any): void;
58
- getUpdateKpi(): void;
59
- onCustomDimentionCreating(args: any): void;
52
+ makeNewKpi(): void;
53
+ createNewKpiWithTid(): void;
60
54
  getReseteKpi(): void;
55
+ getDeletKpi(tid: any): void;
61
56
  addTagtypeValue(e: any): void;
62
57
  getKpiItemValue(e: any): void;
63
- getNextChildTid(parentTid: string, kpiConfigDataSource: any[]): string;
58
+ autoIncrement(string1: string, string2: string | null): string;
59
+ setKpibyTid(data: any, tid: any, newKpiObj: any): void;
60
+ getHeistId(data: any, tid: string): any;
61
+ getHighestTid(data: any): any;
64
62
  addNewKpi(): void;
65
63
  cancelUpdate(): void;
64
+ getEditableKpi(data: any): void;
66
65
  getKpiParrentName(input: any): any;
67
- getDeletKpi(): void;
66
+ getUpdateKpi(): void;
67
+ getDeleteKpi(): void;
68
+ getUpdateKpiName(data: any, tid: string): any;
69
+ getDeleteKpiName(data: any, tid: string): any;
68
70
  reseteUpdateKpiForm(): void;
69
71
  submitNewKpi(): void;
70
- buildMenuTree(userName: string, kpiData: any[]): any[];
72
+ getNewParrentKpiItemValue(e: any): void;
73
+ makeNewKpiWithUserEntity(): void;
74
+ routeToKpiConfig(): void;
71
75
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateKpiTreeComponent, never>;
72
76
  static ɵcmp: i0.ɵɵComponentDeclaration<CreateKpiTreeComponent, "app-create-kpi", never, {}, {}, never, never, false>;
73
77
  }
@@ -27,10 +27,6 @@ export declare class CreateKpIService {
27
27
  getlistKpiBrowser(): any;
28
28
  configureKpiBrowserConfig(body: any): any;
29
29
  getCreateKpi(body: any): any;
30
- listKpiEntryConfigs(): any;
31
- createKpiEntryConfig(kpiObj: any): any;
32
- updateKpiEntryConfig(kpiObj: any): any;
33
- deleteKpiEntryConfig(kpiId: any): any;
34
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateKpIService, never>;
35
31
  static ɵprov: i0.ɵɵInjectableDeclaration<CreateKpIService>;
36
32
  }
@@ -29,7 +29,6 @@ export declare class KpiWithSingleLayoutService {
29
29
  getJsonDatasetPayload(requestApi: any): any;
30
30
  genericSqlQueryResponse(requestApi: any, body: any): any;
31
31
  getFilterDataByDrillDown(apiName: any): any;
32
- listKpiEntryConfigs(): any;
33
32
  static ɵfac: i0.ɵɵFactoryDeclaration<KpiWithSingleLayoutService, never>;
34
33
  static ɵprov: i0.ɵɵInjectableDeclaration<KpiWithSingleLayoutService>;
35
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamma-app-controller",
3
- "version": "2.0.24",
3
+ "version": "4.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
package/public-api.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './lib/shared/advanced-component/gamma-advance-chart/gamma-advance
21
21
  export * from './lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
22
22
  export * from './lib/shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component';
23
23
  export * from './lib/shared/advanced-component/gamma-today-previous/gamma-today-previous.component';
24
+ export * from './lib/shared/advanced-component/google-geo-map/google-geo-map.component';
24
25
  export * from './lib/shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component';
25
26
  export * from './lib/shared/app-title/app-title.component';
26
27
  export * from './lib/shared/gamam-widget/gamam-widget.component';
@@ -30,6 +31,7 @@ export * from './lib/shared/loader/loader.component';
30
31
  export * from './lib/application-controller/support-components/table-with-bar/table-with-bar.component';
31
32
  export * from './lib/application-controller/support-components/geo-map/geo-map.component';
32
33
  export * from './lib/shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
34
+ export * from './lib/shared/advanced-component/google-geo-map/google-geo-map.component';
33
35
  export * from './lib/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
34
36
  export * from './lib/shared/user-access/user-access.component';
35
37
  export * from './lib/shared/shared.module';