gamma-app-controller 1.0.1

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 (120) hide show
  1. package/README.md +24 -0
  2. package/esm2020/gamma-app-controller.mjs +2 -0
  3. package/esm2020/lib/application-controller/app.http.service.mjs +24 -0
  4. package/esm2020/lib/application-controller/application-content.service.mjs +482 -0
  5. package/esm2020/lib/application-controller/application-controller.module.mjs +324 -0
  6. package/esm2020/lib/application-controller/application-dataset-call.service.mjs +321 -0
  7. package/esm2020/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.mjs +390 -0
  8. package/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +349 -0
  9. package/esm2020/lib/application-controller/application-dataset-component/create-dataset-json/create-dataset-json.component.mjs +148 -0
  10. package/esm2020/lib/application-controller/application-dataset-component/create-dataset-sql/create-dataset-sql.component.mjs +167 -0
  11. package/esm2020/lib/application-controller/application-dataset-component/create-dataset-sql/sqlFormatter.mjs +17 -0
  12. package/esm2020/lib/application-controller/application-dataset-component/dataset-mongo/dataset-mongo.component.mjs +57 -0
  13. package/esm2020/lib/application-controller/application-dataset-component/dataset-query-bulder/dataset-query-bulder.component.mjs +409 -0
  14. package/esm2020/lib/application-controller/application-dataset-component/dataset-rest-api/dataset-rest-api.component.mjs +61 -0
  15. package/esm2020/lib/application-controller/application-filter/application-filter.component.mjs +186 -0
  16. package/esm2020/lib/application-controller/application-view-components/application-views/application-views.component.mjs +134 -0
  17. package/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +559 -0
  18. package/esm2020/lib/application-controller/common-header/common-header.component.mjs +33 -0
  19. package/esm2020/lib/application-controller/common.mjs +1207 -0
  20. package/esm2020/lib/application-controller/environment.mjs +26 -0
  21. package/esm2020/lib/application-controller/kpi-comon-service.mjs +537 -0
  22. package/esm2020/lib/application-controller/kpi-service.mjs +108 -0
  23. package/esm2020/lib/application-controller/loading/loading.component.mjs +16 -0
  24. package/esm2020/lib/application-controller/loading/loadingModule.mjs +28 -0
  25. package/esm2020/lib/application-controller/moment-helper.mjs +4 -0
  26. package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +977 -0
  27. package/esm2020/lib/application-controller/page-controller/page-controller/page-controller.component.mjs +172 -0
  28. package/esm2020/lib/application-controller/page-templates/cdr-config/cdr-config.component.mjs +227 -0
  29. package/esm2020/lib/application-controller/page-templates/dynamic-route-service.mjs +22 -0
  30. package/esm2020/lib/application-controller/shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component.mjs +118 -0
  31. package/esm2020/lib/application-controller/shared/advanced-component/app-advance-header/app-header.component.mjs +181 -0
  32. package/esm2020/lib/application-controller/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.mjs +71 -0
  33. package/esm2020/lib/application-controller/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.mjs +266 -0
  34. package/esm2020/lib/application-controller/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +159 -0
  35. package/esm2020/lib/application-controller/shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component.mjs +144 -0
  36. package/esm2020/lib/application-controller/shared/advanced-component/gamma-table-with-percentage/contentSafeHtml.mjs +20 -0
  37. package/esm2020/lib/application-controller/shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component.mjs +168 -0
  38. package/esm2020/lib/application-controller/shared/advanced-component/gamma-today-previous/gamma-today-previous.component.mjs +74 -0
  39. package/esm2020/lib/application-controller/shared/advanced-component/google-geo-map/google-geo-map.component.mjs +118 -0
  40. package/esm2020/lib/application-controller/shared/api.service.mjs +117 -0
  41. package/esm2020/lib/application-controller/shared/app-title/app-title.component.mjs +67 -0
  42. package/esm2020/lib/application-controller/shared/gamam-widget/gamam-widget.component.mjs +37 -0
  43. package/esm2020/lib/application-controller/shared/gamma-advance-filter/gamma-advance-filter.component.mjs +229 -0
  44. package/esm2020/lib/application-controller/shared/gamma-bread-crumbs/bread-crumbs.component.mjs +144 -0
  45. package/esm2020/lib/application-controller/shared/kpi-comon-service.mjs +537 -0
  46. package/esm2020/lib/application-controller/shared/loader/loader.component.mjs +14 -0
  47. package/esm2020/lib/application-controller/shared/loading/loading.component.mjs +16 -0
  48. package/esm2020/lib/application-controller/shared/loading/loadingModule.mjs +28 -0
  49. package/esm2020/lib/application-controller/shared/safeHtmlPipe.mjs +20 -0
  50. package/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +294 -0
  51. package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +287 -0
  52. package/esm2020/lib/application-controller/support-components/geo-map/geo-map.component.mjs +255 -0
  53. package/esm2020/lib/application-controller/support-components/table-with-bar/table-with-bar.component.mjs +269 -0
  54. package/esm2020/lib/gamma-app-controller.component.mjs +16 -0
  55. package/esm2020/lib/gamma-app-controller.module.mjs +43 -0
  56. package/esm2020/lib/gamma-app-controller.service.mjs +20 -0
  57. package/esm2020/lib/icons.module.mjs +23 -0
  58. package/esm2020/public-api.mjs +49 -0
  59. package/fesm2015/gamma-app-controller.mjs +10250 -0
  60. package/fesm2015/gamma-app-controller.mjs.map +1 -0
  61. package/fesm2020/gamma-app-controller.mjs +10248 -0
  62. package/fesm2020/gamma-app-controller.mjs.map +1 -0
  63. package/index.d.ts +2 -0
  64. package/lib/application-controller/app.http.service.d.ts +15 -0
  65. package/lib/application-controller/application-content.service.d.ts +79 -0
  66. package/lib/application-controller/application-controller.module.d.ts +51 -0
  67. package/lib/application-controller/application-dataset-call.service.d.ts +20 -0
  68. package/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.d.ts +55 -0
  69. package/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.d.ts +121 -0
  70. package/lib/application-controller/application-dataset-component/create-dataset-json/create-dataset-json.component.d.ts +38 -0
  71. package/lib/application-controller/application-dataset-component/create-dataset-sql/create-dataset-sql.component.d.ts +42 -0
  72. package/lib/application-controller/application-dataset-component/create-dataset-sql/sqlFormatter.d.ts +7 -0
  73. package/lib/application-controller/application-dataset-component/dataset-mongo/dataset-mongo.component.d.ts +21 -0
  74. package/lib/application-controller/application-dataset-component/dataset-query-bulder/dataset-query-bulder.component.d.ts +62 -0
  75. package/lib/application-controller/application-dataset-component/dataset-rest-api/dataset-rest-api.component.d.ts +22 -0
  76. package/lib/application-controller/application-filter/application-filter.component.d.ts +36 -0
  77. package/lib/application-controller/application-view-components/application-views/application-views.component.d.ts +47 -0
  78. package/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.d.ts +73 -0
  79. package/lib/application-controller/common-header/common-header.component.d.ts +15 -0
  80. package/lib/application-controller/common.d.ts +148 -0
  81. package/lib/application-controller/environment.d.ts +25 -0
  82. package/lib/application-controller/kpi-comon-service.d.ts +14 -0
  83. package/lib/application-controller/kpi-service.d.ts +6 -0
  84. package/lib/application-controller/loading/loading.component.d.ts +9 -0
  85. package/lib/application-controller/loading/loadingModule.d.ts +10 -0
  86. package/lib/application-controller/moment-helper.d.ts +3 -0
  87. package/lib/application-controller/page-controller/page-config/page-config.component.d.ts +188 -0
  88. package/lib/application-controller/page-controller/page-controller/page-controller.component.d.ts +47 -0
  89. package/lib/application-controller/page-templates/cdr-config/cdr-config.component.d.ts +44 -0
  90. package/lib/application-controller/page-templates/dynamic-route-service.d.ts +8 -0
  91. package/lib/application-controller/shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component.d.ts +33 -0
  92. package/lib/application-controller/shared/advanced-component/app-advance-header/app-header.component.d.ts +43 -0
  93. package/lib/application-controller/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.d.ts +20 -0
  94. package/lib/application-controller/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.d.ts +51 -0
  95. package/lib/application-controller/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.d.ts +32 -0
  96. package/lib/application-controller/shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component.d.ts +31 -0
  97. package/lib/application-controller/shared/advanced-component/gamma-table-with-percentage/contentSafeHtml.d.ts +10 -0
  98. package/lib/application-controller/shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component.d.ts +26 -0
  99. package/lib/application-controller/shared/advanced-component/gamma-today-previous/gamma-today-previous.component.d.ts +21 -0
  100. package/lib/application-controller/shared/advanced-component/google-geo-map/google-geo-map.component.d.ts +29 -0
  101. package/lib/application-controller/shared/api.service.d.ts +26 -0
  102. package/lib/application-controller/shared/app-title/app-title.component.d.ts +28 -0
  103. package/lib/application-controller/shared/gamam-widget/gamam-widget.component.d.ts +20 -0
  104. package/lib/application-controller/shared/gamma-advance-filter/gamma-advance-filter.component.d.ts +45 -0
  105. package/lib/application-controller/shared/gamma-bread-crumbs/bread-crumbs.component.d.ts +32 -0
  106. package/lib/application-controller/shared/kpi-comon-service.d.ts +14 -0
  107. package/lib/application-controller/shared/loader/loader.component.d.ts +8 -0
  108. package/lib/application-controller/shared/loading/loading.component.d.ts +9 -0
  109. package/lib/application-controller/shared/loading/loadingModule.d.ts +10 -0
  110. package/lib/application-controller/shared/safeHtmlPipe.d.ts +10 -0
  111. package/lib/application-controller/support-components/dash-chart/dash-chart.component.d.ts +83 -0
  112. package/lib/application-controller/support-components/dash-table/dash-table.component.d.ts +67 -0
  113. package/lib/application-controller/support-components/geo-map/geo-map.component.d.ts +70 -0
  114. package/lib/application-controller/support-components/table-with-bar/table-with-bar.component.d.ts +70 -0
  115. package/lib/gamma-app-controller.component.d.ts +5 -0
  116. package/lib/gamma-app-controller.module.d.ts +10 -0
  117. package/lib/gamma-app-controller.service.d.ts +7 -0
  118. package/lib/icons.module.d.ts +11 -0
  119. package/package.json +33 -0
  120. package/public-api.d.ts +48 -0
@@ -0,0 +1,73 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ToastrService } from 'ngx-toastr';
3
+ import { ApplicationContentService } from '../../application-content.service';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { CommonService } from '../../common';
6
+ import { kpicommonService } from '../../kpi-service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CreateCompViewComponent implements OnInit {
9
+ private toastr;
10
+ commonService: CommonService;
11
+ private service;
12
+ private kpiService;
13
+ private router;
14
+ private activatedRoute;
15
+ kpiTreeData: any;
16
+ isLoader: boolean;
17
+ isGenerate: boolean;
18
+ isCreateNewView: boolean;
19
+ isKpiSelected: boolean;
20
+ isKpiConfigSelected: boolean;
21
+ apiConfigData: any;
22
+ singleDataSetConfig: any;
23
+ selectedDataSet: any;
24
+ dataSourceModal: any;
25
+ dataSettableDataSource: any;
26
+ isDuplidateView: boolean;
27
+ isFilterInputs: boolean;
28
+ selectedDataSetOnedit: any;
29
+ selectedViewType: any;
30
+ creatCompViewObject: any;
31
+ componentNamesOthers: {
32
+ compName: string;
33
+ item: string;
34
+ }[];
35
+ componentName: any;
36
+ defaultStartDate: any;
37
+ defaultEndDate: any;
38
+ inputViewId: any;
39
+ isHeader: boolean;
40
+ set selectedViewId(value: any);
41
+ constructor(toastr: ToastrService, commonService: CommonService, service: ApplicationContentService, kpiService: kpicommonService, router: Router, activatedRoute: ActivatedRoute);
42
+ ngOnInit(): void;
43
+ getViewType(e: any): void;
44
+ getDataSet(): void;
45
+ getViewById(viewId: any): void;
46
+ getDataSetName(datasetId: any): any;
47
+ getDataSetDetails(event: any): void;
48
+ getKpiSingleConfig(event: any): void;
49
+ generateDataSet(): void;
50
+ getDataSetForMongo(dataset: any): void;
51
+ getDatasetForImpala(dataset: any): void;
52
+ transformColumnsForColumns(inputColumns: any): any[];
53
+ transformDataForMFilter(filterdata: any, mapData: any): any[];
54
+ getDatasetForSimpleApiImpala(dataset: any): void;
55
+ getEditDataSet(): void;
56
+ createNewView(): void;
57
+ createOtherComponentView(): void;
58
+ getCapitalize(item: string): any;
59
+ getFilter(item: any): boolean;
60
+ startDateChange(e: any, item: any): void;
61
+ gotoViewsset(): void;
62
+ getEmitNewTableConfig(data: any): void;
63
+ getEmitNewChartCongig(data: any): void;
64
+ getEmitNewOtherSetCongig(data: any): void;
65
+ createViewConfig(data: any): void;
66
+ createAppConfigView(): void;
67
+ addNewView(): void;
68
+ getDatasetForPlainJson(dataset: any): void;
69
+ getDatasetForSqlTemplate(dataset: any): void;
70
+ transformDataForMFilterForSQl(mapData: any): any[];
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateCompViewComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateCompViewComponent, "app-create-comp-view", never, { "kpiTreeData": "kpiTreeData"; "isHeader": "isHeader"; "selectedViewId": "selectedViewId"; }, {}, never, never, false>;
73
+ }
@@ -0,0 +1,15 @@
1
+ import { Router } from '@angular/router';
2
+ import { CommonService } from '../common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CommonHeaderComponent {
5
+ commonService: CommonService;
6
+ private router;
7
+ pageTitle: any;
8
+ constructor(commonService: CommonService, router: Router);
9
+ gotoViews(): void;
10
+ gotoPages(): void;
11
+ gotoFilters(): void;
12
+ gotoDataSets(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommonHeaderComponent, "lib-common-header", never, { "pageTitle": "pageTitle"; }, {}, never, never, false>;
15
+ }
@@ -0,0 +1,148 @@
1
+ import { HttpClient } from "@angular/common/http";
2
+ import "rxjs";
3
+ import { ToastrService } from "ngx-toastr";
4
+ import { DomSanitizer } from "@angular/platform-browser";
5
+ import * as i0 from "@angular/core";
6
+ export declare class CommonService {
7
+ private http;
8
+ private toastr;
9
+ private sanitizer;
10
+ kpiListDataObject: any;
11
+ G_DEFAULT_START_DATE: string;
12
+ G_DEFAULT_END_DATE: string;
13
+ defaultCurrentDate: string;
14
+ defaultCurrentDateMillis: string;
15
+ global_loading: any;
16
+ selectedOperator: any;
17
+ KpiId: any;
18
+ kpiUrlObjectContainer: any[];
19
+ allKpibrowserDetailContainer: any;
20
+ GlOBAL_AUTO_RELOADING_TIME_SET: number;
21
+ breadCumbsListArray: any[];
22
+ breadCumbsListId: any;
23
+ currentUrl: any;
24
+ global_kpi_name: any;
25
+ globalDocLink: string;
26
+ mapChartDetailHolder: object;
27
+ fusionThemeName: any;
28
+ btnPrimaryBlue: string;
29
+ btnPrimaryBlueSm: string;
30
+ btnSecondaryAlternet: string;
31
+ BtnDarkBlack: string;
32
+ BtnLightWhite: string;
33
+ btnSuccessGreen: string;
34
+ btnDangerRed: string;
35
+ btnDangerRedSm: string;
36
+ btnWarningYellow: string;
37
+ btnOthersPurple: string;
38
+ inputOne: string;
39
+ btn_success_lg: string;
40
+ btn_success_md: string;
41
+ btn_success_sm: string;
42
+ btn_primary_lg: string;
43
+ btn_primary_md: string;
44
+ btn_primary_sm: string;
45
+ badge_primary_sm: string;
46
+ btn_danger_lg: string;
47
+ btn_danger_md: string;
48
+ btn_danger_sm: string;
49
+ btn_warning_lg: string;
50
+ btn_warning_md: string;
51
+ btn_warning_sm: string;
52
+ btn_dark_lg: string;
53
+ btn_dark_md: string;
54
+ btn_dark_sm: string;
55
+ btn_light_lg: string;
56
+ btn_light_md: string;
57
+ btn_light_sm: string;
58
+ btnDarkBlack: string;
59
+ btnLightWhite: string;
60
+ btnPrimaryBlue_sm: string;
61
+ constructor(http: HttpClient, toastr: ToastrService, sanitizer: DomSanitizer);
62
+ ngOnInit(): void;
63
+ chartRenderNew(caption: any): any;
64
+ getNewmscombidy2d(pYAxisName: any, sYAxisName: any): any;
65
+ JSONToCSVConvertor(JSONData: any, ReportTitle: any, ShowLabel: any): void;
66
+ createHtml(width: any, data: any, color: any): string;
67
+ scaleNumber(inputY: any, yMin: any, yMax: any, xMin: any, xMax: any): any;
68
+ ThousandSeparator(value: any): any;
69
+ reformatNumberWithThousandSeparator(value: any): any;
70
+ reformatNumberWithThousandSeparatorV2(value: any, exp: any): any;
71
+ reformatNumberWithThousandSeparatorV3(value: any, exp: any): string;
72
+ reformatNumberWithThousandSeparatorV4(value: any, exp?: number): any;
73
+ reformatNumberWithThousandSeparatorV5(value: any, exp?: number): number;
74
+ reformatNumberWithThousandSeparatorIfrsType(value: any, exp?: number): any;
75
+ foramteValueForAmount(value: any, exp: any): string;
76
+ foramteValueForCharge(value: any, exp: any): string;
77
+ foramteValueForMoU(value: any, exp: any): string;
78
+ abbreviateNumber(number: any): string | number;
79
+ createVarianceHtmlForCount(width: any, data1: any, data2: any): string;
80
+ roundOffTillTwo(value: any, exp: any): number;
81
+ getmapChartDetailHolder(val: any): void;
82
+ get_percentage_change(prev: any, now: any): string;
83
+ getLabel(attr_name: any): string;
84
+ capitaliseWord(content: any): string;
85
+ convertToSpaceSeparatedCapitalized(input: any): any;
86
+ capitalizeFirstLetter(text: any): any;
87
+ formatMillisec(value: any): any;
88
+ formatBytes(bytes: any, decimals: any): string;
89
+ formatBytesv2(bytes: any, decimals: any): string;
90
+ formatBytsToKb(bytes: any, decimals: any): string;
91
+ formatBytsToGb(bytes: any, decimals: any): string;
92
+ reformatNumber(value: any): string;
93
+ ifNullUndefined(data: any): any;
94
+ getVarianceOfMou(value1: any, value2: any): any;
95
+ getVarianceOfCount(value1: any, value2: any): any;
96
+ getPercentageMou(value1: any, value2: any): any;
97
+ getPercentageCount(value1: any, value2: any): number;
98
+ getColorCodeSpan(data: any): string;
99
+ get_operator_color_code_map(): {
100
+ AFGAT: string;
101
+ AFGAW: string;
102
+ AFGEA: string;
103
+ AFGAR: string;
104
+ AFGTD: string;
105
+ };
106
+ getOperatorByKey(): {
107
+ AFGAT: string;
108
+ AFGAW: string;
109
+ AFGEA: string;
110
+ AFGAR: string;
111
+ AFGTD: string;
112
+ };
113
+ getOperatorBylogo(): {
114
+ AFGAT: string;
115
+ AFGAW: string;
116
+ AFGEA: string;
117
+ AFGAR: string;
118
+ AFGTD: string;
119
+ };
120
+ getOperatorProfile(opName: any): any;
121
+ isEmptyOrNullOrUndefinedForNan(data: any): any;
122
+ getabsoluteVal(data: any): number;
123
+ returnNullValueIfEmptyOrUndefined(value: any): any;
124
+ customValueSorter(value1: any, value2: any): any;
125
+ customValueSorterForBar(valueOne: any, valueTwo: any): 1 | -1 | 0;
126
+ onExcelExporting(e: any, excel_data: any, report_name: any): void;
127
+ removeHtmlContentFromData(columns: any, rows: any): void;
128
+ customizeExcelCell(options: any): void;
129
+ removeHtmlForJobsummaryContentFromData(columns: any, rows: any): void;
130
+ getDaysBetweenDates(start: any, end: any, dayName: any): any[];
131
+ getAllSeviceApiJson(apiJsonObject: any): any;
132
+ primeryRendomeId(length: any): string;
133
+ chartTooltip(a: any, b: any, c: any, d: any): any;
134
+ convertToTitleCase(value: any): any;
135
+ formatKeyValuePairs(keys: any, values: any): string;
136
+ getValuesByKey(obj: any, keys: any): any[];
137
+ transformHeaderAsKeyName(mainobj: any): any[];
138
+ formatDecimalValuesForCdrDataTable(dataSource: any): any;
139
+ generateSampleData(startDate: string, endDate: string, fields: string[]): any[];
140
+ getRendomNumberWithdecimals(length: any, exp: any): any;
141
+ formatTimestamp(timestamp: string): string;
142
+ formatDurationFromMilisecond(milliseconds: any): string;
143
+ removeDuplicates(jobArray: any, context: any): any;
144
+ getKey: (obj: any) => string;
145
+ convertString(input: any): any;
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
147
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
148
+ }
@@ -0,0 +1,25 @@
1
+ export declare const environment: {
2
+ production: boolean;
3
+ hmr: boolean;
4
+ apiVersion: string;
5
+ basePath: string;
6
+ appName: string;
7
+ appLogo: string;
8
+ kibanaBase: string;
9
+ documentationFrameworkBase: string;
10
+ appUrl: string;
11
+ gatewayUrl: string;
12
+ gatewayServerUrl: string;
13
+ authServerUrl: string;
14
+ ruleServerUrl: string;
15
+ caseServerUrl: string;
16
+ chatUrl: string;
17
+ authenticationType: string;
18
+ footerText: string;
19
+ appLogoutUri: string;
20
+ appClientId: string;
21
+ appClientSecret: string;
22
+ appLogoutLogo: string;
23
+ iamAppUrl: string;
24
+ caseTrackerGuiUrl: string;
25
+ };
@@ -0,0 +1,14 @@
1
+ import { CommonService } from './common';
2
+ import * as i0 from "@angular/core";
3
+ export declare class kpicommonService {
4
+ commonService: CommonService;
5
+ constructor(commonService: CommonService);
6
+ getAllSeviceApiJson(apiJsonObject: any): any;
7
+ filterOperationData(data: any, key: any): any;
8
+ dataprocessArrary(arrayOne: any, arrayTwo: any): any[];
9
+ processNetworkArray(arrayOne: any, arrayTwo: any): any[];
10
+ processNetworkArrayForFilter(arrayOne: any, arrayTwo: any): any[];
11
+ hasDecimal(number: any): boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<kpicommonService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<kpicommonService>;
14
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class kpicommonService {
3
+ getAllSeviceApiJson(apiJsonObject: any): any;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<kpicommonService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<kpicommonService>;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingComponent implements OnInit {
4
+ showLoadingModal: boolean;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "app-loading", never, {}, {}, never, never, false>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./loading.component";
3
+ import * as i2 from "@angular/router";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ export declare class LoadingModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LoadingModule, [typeof i1.LoadingComponent], [typeof i2.RouterModule, typeof i3.CommonModule, typeof i4.FormsModule], [typeof i1.LoadingComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<LoadingModule>;
10
+ }
@@ -0,0 +1,3 @@
1
+ import momentNamespace from 'moment';
2
+ declare const moment: typeof momentNamespace;
3
+ export default moment;
@@ -0,0 +1,188 @@
1
+ import { ComponentFactoryResolver, ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { ToastrService } from 'ngx-toastr';
4
+ import { ApplicationContentService } from '../../application-content.service';
5
+ import { DxScrollViewComponent } from 'devextreme-angular';
6
+ import { ApplicationDatssetsCall } from '../../application-dataset-call.service';
7
+ import { GammaTodayPreviousComponent } from '../../shared/advanced-component/gamma-today-previous/gamma-today-previous.component';
8
+ import { AppAdvanceHeaderComponent } from '../../shared/advanced-component/app-advance-header/app-header.component';
9
+ import { GammaTableWithPercentageComponent } from '../../shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component';
10
+ import { GammSingleNumberCardComponent } from '../../shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component';
11
+ import { GammaAdvanceOperatorTableComponent } from '../../shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
12
+ import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component';
13
+ import { CommonService } from '../../common';
14
+ import { GammaAdvanceChartComponent } from '../../shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component';
15
+ import * as i0 from "@angular/core";
16
+ export declare class PageConfigComponent implements OnInit, OnDestroy {
17
+ commonService: CommonService;
18
+ private activatedRoute;
19
+ private viewContainerRef;
20
+ private componentFactoryResolver;
21
+ private service;
22
+ private toastr;
23
+ private router;
24
+ private datasetService;
25
+ dashbord_container: any;
26
+ selected_width: any;
27
+ widget_width: string[];
28
+ loadingModal: boolean;
29
+ customers: any;
30
+ pageHeadersData: any;
31
+ page_title: string;
32
+ isSrvTypeOperator: boolean;
33
+ defaultStartDate: any;
34
+ defaultEndDate: any;
35
+ page_config: any;
36
+ operationLevels: any;
37
+ filter_value: any;
38
+ isToggleSwich: boolean;
39
+ isDatePicker: boolean;
40
+ isToggleEventStatus: boolean;
41
+ isEditClick: boolean;
42
+ isConfigView: boolean;
43
+ isLoader: boolean;
44
+ componentName: any;
45
+ isUpdateWidget: boolean;
46
+ isChartButtonClick: boolean;
47
+ chartAccess: any;
48
+ chartType: any;
49
+ dashChartComSource: any;
50
+ isGenerate: boolean;
51
+ isFilterInputs: boolean;
52
+ dynamicComponentContainer: ViewContainerRef;
53
+ containerRef: ViewContainerRef;
54
+ dynamicContainer: ElementRef;
55
+ dynamicComponentRefs: ComponentRef<any>[];
56
+ CompRefs: ComponentRef<any>;
57
+ componentClassMap: {
58
+ GammaAdvanceChartComponent: typeof GammaAdvanceChartComponent;
59
+ GammaTodayPreviousComponent: typeof GammaTodayPreviousComponent;
60
+ AppAdvanceHeaderComponent: typeof AppAdvanceHeaderComponent;
61
+ GammaTableWithPercentageComponent: typeof GammaTableWithPercentageComponent;
62
+ GammSingleNumberCardComponent: typeof GammSingleNumberCardComponent;
63
+ GammaAdvanceOperatorTableComponent: typeof GammaAdvanceOperatorTableComponent;
64
+ AdvanceWidgetHeaderFilterComponent: typeof AdvanceWidgetHeaderFilterComponent;
65
+ };
66
+ dataSourceMataData: any;
67
+ queryType: string;
68
+ dataSetModal: any;
69
+ componentConfigDataSource: any;
70
+ selescedDataSource: any;
71
+ dataSourceModal: any;
72
+ isDashBoardContent: boolean;
73
+ selectedViewFormComponent: any;
74
+ addedwidGetConfig: {
75
+ display: boolean;
76
+ widgetTitle: string;
77
+ width: string;
78
+ height: string;
79
+ isWidgetFilter: boolean;
80
+ };
81
+ dashBoardWidgetConfig: any;
82
+ isWidgetCreationContent: boolean;
83
+ selectedWidth: any;
84
+ selectedHeight: any;
85
+ newWidgetIndex: any;
86
+ selectedIndexObjForChart: any;
87
+ selectedContainerObjectForChart: any;
88
+ dataSettableDataSource: any;
89
+ uniqueDataSetObject: {};
90
+ isDashBoardContentTypeView: boolean;
91
+ pageId: any;
92
+ islayoutCreate: boolean;
93
+ widgetName: any;
94
+ widgetTitle: any;
95
+ allWidgetInnerContent: any;
96
+ isDefaultView: Boolean;
97
+ isEditMainLayout: Boolean;
98
+ filterDataSource: any;
99
+ selectedFilterId: any;
100
+ viewToSearch: string;
101
+ filteredComponentConfig: any[];
102
+ isEditOptionClick: boolean;
103
+ editViewdataSourceModal: any;
104
+ editItemForUpdate: any;
105
+ pageTitle: any;
106
+ pageUrl: any;
107
+ allWidgetByDataset: any;
108
+ selectedFiltersDefault: any;
109
+ nodeProperticeFilters: any;
110
+ isCreateDataset: boolean;
111
+ selectedDatasetId: any;
112
+ isCreateDatasetWithDatasetId: boolean;
113
+ isCreateNewView: boolean;
114
+ isCreateNewViewWithDefaultView: boolean;
115
+ defaultApplyedFilter: any;
116
+ isWidgetFilters: boolean;
117
+ nodeproperticeFilterDataSource: any;
118
+ selectedFilterDatasource: any;
119
+ scrollView: DxScrollViewComponent;
120
+ selectedViewId: any;
121
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: ApplicationContentService, toastr: ToastrService, router: Router, datasetService: ApplicationDatssetsCall);
122
+ ngOnInit(): void;
123
+ getAllViewsItems(): void;
124
+ getFilterItems(): void;
125
+ getAppPageDetailConfigByPageId(): void;
126
+ getComponentConfigSet(): void;
127
+ ngOnDestroy(): void;
128
+ getDataSet(): void;
129
+ getComponentConfig(event: any): void;
130
+ addNewchart(): void;
131
+ addWidget(): void;
132
+ getWith(e: any): void;
133
+ getHeight(e: any): void;
134
+ addLayoutTOview(): void;
135
+ reformatWidgetConfig(dashBoardWidgetConfig: any, index?: any): any;
136
+ updateWidget(): void;
137
+ updateLayoutWidgetTOview(): void;
138
+ addWidgetTOview(): void;
139
+ insertNewWiget(index: any): void;
140
+ insertChartWiget(indexObj: any, containerElement: any): void;
141
+ getEmitNewChartConfig(data: any): Promise<void>;
142
+ updateToView(): void;
143
+ deleteWidget(item: any, index: any): void;
144
+ deleteInsertWidget(item: any, childIndex: any, parentIndex: any): void;
145
+ getWidgetTitleDiv(item: any, div: any): HTMLDivElement;
146
+ getFilterValueById(event: any): void;
147
+ createDivElements(datasetById: any): void;
148
+ loadWidgetNodes(div: any, mainItemDiv: any, datasetById: any): void;
149
+ loadSingleWidgetNode(item: any, containerElement: HTMLElement, datasetById: any, div: any): void;
150
+ findWidgetById(configs: any[], id: string): any | undefined;
151
+ deleteWidgetById(configs: any[], id: string): void;
152
+ loadDynamicComponent(data: any, indexObj: any, containerElement: any): any;
153
+ loadFilterComponent(indexObj: any, containerElement: any, filterItems: any): void;
154
+ loadWidgetFilterComponent(indexObj: any, containerElement: any, filterItems: any): void;
155
+ getDeleteViewFromConfig(index: any): void;
156
+ moveItemForPageView(index: number, direction: 'up' | 'down'): void;
157
+ moveItemForColumns(index: number, direction: 'up' | 'down'): void;
158
+ moveItemForWidget(index: number, direction: 'up' | 'down'): void;
159
+ getEditViewFromLayout(data: any, index: any): void;
160
+ backToMainView(): void;
161
+ filterViews(): void;
162
+ editComponentViews(item: any): void;
163
+ editComponentDatasets(item: any): void;
164
+ getAllPage(): void;
165
+ transformColumnsForColumns(inputColumns: any): any[];
166
+ getCreateDataSetPage(): void;
167
+ getCreateViewPage(): void;
168
+ getEmitNewChartCongig(event: any): void;
169
+ getViewPage(): void;
170
+ getNodeProperticeFilterOption(): void;
171
+ deleteNodeFilter(index: any): void;
172
+ setDataSetsLimit(dataset: any): any;
173
+ getViewPopupHide(e: any): void;
174
+ getDatasetPopupHide(e: any): void;
175
+ submitFilter(): void;
176
+ getWidgetFilterForTemplate(value: any): void;
177
+ getDeleteViewFromLayout(item: any, i: any): void;
178
+ isAdvanceLayout: boolean;
179
+ isProceed: boolean;
180
+ selectedViewsIds: any;
181
+ advanceLayoutContainer: any;
182
+ getProcessForConfig(): void;
183
+ getSelectedColumnSource(event: any): void;
184
+ submitAdvanceView(): void;
185
+ deleteView(i: any): void;
186
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageConfigComponent, never>;
187
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageConfigComponent, "app-dashbord-config", never, {}, {}, never, never, false>;
188
+ }
@@ -0,0 +1,47 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { ToastrService } from 'ngx-toastr';
4
+ import { ApplicationContentService } from '../../application-content.service';
5
+ import { DynamicRouteService } from '../../page-templates/dynamic-route-service';
6
+ import { CommonService } from '../../common';
7
+ import * as i0 from "@angular/core";
8
+ export declare class PageControlerComponent implements OnInit {
9
+ private router;
10
+ commonService: CommonService;
11
+ private service;
12
+ private toastr;
13
+ private dynamicRouteService;
14
+ dashboardConfig: {
15
+ pageName: string;
16
+ pageTitle: string;
17
+ pageUrl: string;
18
+ pageTemplate: string;
19
+ pageDocumentationUrl: string;
20
+ widgets: any[];
21
+ filterId: string;
22
+ };
23
+ isNewTampleteCreate: boolean;
24
+ isLoader: boolean;
25
+ templateDataSource: any;
26
+ filterDataSource: any;
27
+ componentTemplates: {
28
+ compName: string;
29
+ item: string;
30
+ }[];
31
+ private scrollContainer;
32
+ constructor(router: Router, commonService: CommonService, service: ApplicationContentService, toastr: ToastrService, dynamicRouteService: DynamicRouteService);
33
+ ngOnInit(): void;
34
+ getFilterDataSet(): void;
35
+ getAppPageConfigs(): void;
36
+ createNewTamplete(): void;
37
+ viewsPage(item: any): void;
38
+ deleteTamplete(item: any): void;
39
+ editTemplate(item: any): void;
40
+ getSaveChartConfig(): void;
41
+ viewConfiguredTemplate(item: any): void;
42
+ configuredTemplate(item: any): void;
43
+ getCreateDashboard(): void;
44
+ scrollToBottom(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageControlerComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageControlerComponent, "app-dashbord-controller", never, {}, {}, never, never, false>;
47
+ }
@@ -0,0 +1,44 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ToastrService } from 'ngx-toastr';
3
+ import { ApplicationContentService } from '../../application-content.service';
4
+ import { CommonService } from '../../common';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CdrConfigComponent implements OnInit {
7
+ private service;
8
+ private toastr;
9
+ commonService: CommonService;
10
+ loadingModal: boolean;
11
+ availableTableDatasource: any;
12
+ selectedTableName: any;
13
+ isTableSelected: boolean;
14
+ isProceed: boolean;
15
+ listOfColumns: any;
16
+ submitObject: any;
17
+ selectedColumnDatasource: any;
18
+ kpi_enrichment_name: any;
19
+ CdrBrowserAllowedDatasource: any;
20
+ cdrTableDataSource: any;
21
+ allTablsDropDownData: any;
22
+ selectedColumnName: any;
23
+ isCdrConfigCreate: boolean;
24
+ isEditDatasource: boolean;
25
+ filter_type: string[];
26
+ constructor(service: ApplicationContentService, toastr: ToastrService, commonService: CommonService);
27
+ ngOnInit(): void;
28
+ getFilterDataSet(): void;
29
+ searchDatasourceDetails(): void;
30
+ getCdrBrowserAllowedOperation(): void;
31
+ getAvailableTabeName(): void;
32
+ getSelectedTableMetaData(e: any): void;
33
+ getSelectedColumnSource(e: any): void;
34
+ getProcessForConfig(): void;
35
+ submitDatasource(): void;
36
+ editCdrConfigConfig(data: any): void;
37
+ updateDatasource(): void;
38
+ deleteCdrConfig(data: any): void;
39
+ createCDRConfig(): void;
40
+ cancelCdrConfig(): void;
41
+ deleteColume(i: any): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdrConfigComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<CdrConfigComponent, "app-cdr-config", never, {}, {}, never, never, false>;
44
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DynamicRouteService {
3
+ private routeConfigs;
4
+ setRouteConfigs(configs: any[]): void;
5
+ getRouteConfigs(): any[];
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicRouteService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicRouteService>;
8
+ }
@@ -0,0 +1,33 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { KpiApiService } from '../../api.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AdvanceWidgetHeaderFilterComponent implements OnInit {
6
+ private activatedRoute;
7
+ private route;
8
+ private service;
9
+ selectedDates: any;
10
+ viewIds: any;
11
+ toggleEvent: EventEmitter<string>;
12
+ isAdvanceFilter: boolean;
13
+ browser_config: any;
14
+ kpi_id: any;
15
+ filterStartDate: any;
16
+ filterEndDate: any;
17
+ filterOptions: any;
18
+ autoload_button: boolean;
19
+ private time_out_id;
20
+ toolTipText: string;
21
+ daterange: any;
22
+ daterange_options: any;
23
+ selectedDetesforView: any;
24
+ getWidgetFilterConfig: EventEmitter<any>;
25
+ filterItemsForFilter: any;
26
+ set filterItems(value: any);
27
+ constructor(activatedRoute: ActivatedRoute, route: Router, service: KpiApiService);
28
+ ngOnInit(): void;
29
+ advanceFilterKpi(): void;
30
+ getSerchFilter(filter: any): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdvanceWidgetHeaderFilterComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdvanceWidgetHeaderFilterComponent, "app-advance-widget-header-filter", never, { "selectedDates": "selectedDates"; "viewIds": "viewIds"; "filterItems": "filterItems"; }, { "toggleEvent": "toggleEvent"; "getWidgetFilterConfig": "getWidgetFilterConfig"; }, never, never, false>;
33
+ }