gamma-app-controller 1.1.3 → 1.1.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.
- package/esm2020/lib/application-controller/application-content.service.mjs +40 -1
- package/esm2020/lib/application-controller/application-controller.module.mjs +24 -5
- package/esm2020/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.mjs +6 -6
- package/esm2020/lib/application-controller/application-filter/application-filter.component.mjs +2 -2
- package/esm2020/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.mjs +104 -27
- package/esm2020/lib/application-controller/application-menu-controller/application-menus/application-menus.component.mjs +95 -7
- package/esm2020/lib/application-controller/application-metric-config/create-metrics/create-metrics.component.mjs +152 -0
- package/esm2020/lib/application-controller/application-metric-config/ofline-metrics/ofline-metrics.component.mjs +77 -0
- package/esm2020/lib/application-controller/application-metric-config/online-metrics/online-metrics.component.mjs +169 -0
- package/esm2020/lib/application-controller/application-view-components/application-views/application-views.component.mjs +3 -3
- package/esm2020/lib/application-controller/common-header/common-header.component.mjs +6 -3
- package/esm2020/lib/application-controller/common.mjs +21 -1
- package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +34 -8
- package/esm2020/lib/application-controller/page-controller/page-controller/page-controller.component.mjs +3 -3
- package/esm2020/lib/application-controller/shared/advanced-component/app-advance-header/app-header.component.mjs +1 -3
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/gamma-app-controller.mjs +677 -69
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +691 -69
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-content.service.d.ts +5 -0
- package/lib/application-controller/application-controller.module.d.ts +14 -11
- package/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.d.ts +15 -5
- package/lib/application-controller/application-menu-controller/application-menus/application-menus.component.d.ts +14 -1
- package/lib/application-controller/application-metric-config/create-metrics/create-metrics.component.d.ts +130 -0
- package/lib/application-controller/application-metric-config/ofline-metrics/ofline-metrics.component.d.ts +42 -0
- package/lib/application-controller/application-metric-config/online-metrics/online-metrics.component.d.ts +49 -0
- package/lib/application-controller/common-header/common-header.component.d.ts +1 -0
- package/lib/application-controller/common.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -80,6 +80,11 @@ export declare class ApplicationContentService extends AppHttpService {
|
|
|
80
80
|
getSrvTypeDataSource(): any;
|
|
81
81
|
pagintedActivityLogs(parms: any, api: any): Observable<any>;
|
|
82
82
|
getApiData(): any;
|
|
83
|
+
configureAppMenuConfig(manueConfig: any): Observable<any>;
|
|
84
|
+
getListOfParentAppMenu(): Observable<any>;
|
|
85
|
+
getAppAppMenuConfigById(manuid: any): Observable<any>;
|
|
86
|
+
updateAppMenuConfig(manueConfig: any): Observable<any>;
|
|
87
|
+
deleteAppMenuConfig(menuId: any): any;
|
|
83
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationContentService, never>;
|
|
84
89
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationContentService>;
|
|
85
90
|
}
|
|
@@ -38,18 +38,21 @@ import * as i36 from "./application-menu-controller/application-menus/applicatio
|
|
|
38
38
|
import * as i37 from "./application-menu-controller/application-create-menu/application-create-menu.component";
|
|
39
39
|
import * as i38 from "./shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component";
|
|
40
40
|
import * as i39 from "./page-controller/page-config-multi-layout/page-config-multi-layout.component";
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "
|
|
44
|
-
import * as i43 from "@angular/
|
|
45
|
-
import * as i44 from "@angular/
|
|
46
|
-
import * as i45 from "
|
|
47
|
-
import * as i46 from "@angular/
|
|
48
|
-
import * as i47 from "@angular/material/
|
|
49
|
-
import * as i48 from "@angular/material/
|
|
50
|
-
import * as i49 from "
|
|
41
|
+
import * as i40 from "./application-metric-config/create-metrics/create-metrics.component";
|
|
42
|
+
import * as i41 from "./application-metric-config/online-metrics/online-metrics.component";
|
|
43
|
+
import * as i42 from "./application-metric-config/ofline-metrics/ofline-metrics.component";
|
|
44
|
+
import * as i43 from "@angular/common";
|
|
45
|
+
import * as i44 from "@angular/router";
|
|
46
|
+
import * as i45 from "devextreme-angular";
|
|
47
|
+
import * as i46 from "@angular/forms";
|
|
48
|
+
import * as i47 from "@angular/material/icon";
|
|
49
|
+
import * as i48 from "@angular/material/tooltip";
|
|
50
|
+
import * as i49 from "@angular/material/button";
|
|
51
|
+
import * as i50 from "@angular/material/divider";
|
|
52
|
+
import * as i51 from "@angular/material/menu";
|
|
53
|
+
import * as i52 from "./shared/loading/loadingModule";
|
|
51
54
|
export declare class PackageApplicationControllerModule {
|
|
52
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<PackageApplicationControllerModule, never>;
|
|
53
|
-
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.CdrConfigComponent, typeof i14.CreateDatasetComponent, typeof i15.TableWithBarComponent, typeof i16.CreateDatasetSqlComponent, typeof i17.CreateDatasetJsonComponent, typeof i18.AppTitleComponent, typeof i19.LoaderComponent, typeof i20.GamamWidgetComponent, typeof i21.GammaAdvanceFilterComponent, typeof i22.GammaAdvanceChartComponent, typeof i23.GammaAdvanceOperatorTableComponent, typeof i24.AppAdvanceHeaderComponent, typeof i25.GammaTodayPreviousComponent, typeof i26.GammaTableWithPercentageComponent, typeof i27.contentSafeHtml, typeof i28.GammSingleNumberCardComponent, typeof i29.AdvanceWidgetHeaderFilterComponent, typeof i30.BreadCrumbsComponent, typeof i31.SqlPipe, typeof i32.SafeHtmlPipe, typeof i33.CommonHeaderComponent, typeof i34.GoogleGeoMapComponent, typeof i35.GammaTableClumnBarChartComponent, typeof i36.ApplicationMenusComponent, typeof i37.ApplicationCreateMenuComponent, typeof i38.GammaGeoChartComponent, typeof i39.PageConfigMultilayoutComponent], [typeof
|
|
56
|
+
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.CdrConfigComponent, typeof i14.CreateDatasetComponent, typeof i15.TableWithBarComponent, typeof i16.CreateDatasetSqlComponent, typeof i17.CreateDatasetJsonComponent, typeof i18.AppTitleComponent, typeof i19.LoaderComponent, typeof i20.GamamWidgetComponent, typeof i21.GammaAdvanceFilterComponent, typeof i22.GammaAdvanceChartComponent, typeof i23.GammaAdvanceOperatorTableComponent, typeof i24.AppAdvanceHeaderComponent, typeof i25.GammaTodayPreviousComponent, typeof i26.GammaTableWithPercentageComponent, typeof i27.contentSafeHtml, typeof i28.GammSingleNumberCardComponent, typeof i29.AdvanceWidgetHeaderFilterComponent, typeof i30.BreadCrumbsComponent, typeof i31.SqlPipe, typeof i32.SafeHtmlPipe, typeof i33.CommonHeaderComponent, typeof i34.GoogleGeoMapComponent, typeof i35.GammaTableClumnBarChartComponent, typeof i36.ApplicationMenusComponent, typeof i37.ApplicationCreateMenuComponent, typeof i38.GammaGeoChartComponent, typeof i39.PageConfigMultilayoutComponent, typeof i40.CreateMetricsComponent, typeof i41.OnlineMetricsComponent, typeof i42.OflineMetricsComponent], [typeof i43.CommonModule, typeof i44.RouterModule, typeof i45.DevExtremeModule, typeof i45.DxButtonModule, typeof i45.DxCheckBoxModule, typeof i45.DxNumberBoxModule, typeof i45.DxDataGridModule, typeof i45.DxDropDownBoxModule, typeof i45.DxTreeViewModule, typeof i45.DxScrollViewModule, typeof i45.DxFormModule, typeof i45.DxAccordionModule, typeof i46.FormsModule, typeof i45.DxTagBoxModule, typeof i46.ReactiveFormsModule, typeof i47.MatIconModule, typeof i45.DxHtmlEditorModule, typeof i45.DxBulletModule, typeof i45.DxChartModule, typeof i45.DxDateBoxModule, typeof i45.DxLoadPanelModule, typeof i45.DxLookupModule, typeof i45.DxPivotGridModule, typeof i45.DxTemplateModule, typeof i45.DxTextAreaModule, typeof i45.DxValidationSummaryModule, typeof i45.DxValidatorModule, typeof i45.DxCalendarModule, typeof i45.DxTooltipModule, typeof i45.DxContextMenuModule, typeof i45.DxLoadIndicatorModule, typeof i48.MatTooltipModule, typeof i45.DxPopupModule, typeof i45.DxSelectBoxModule, typeof i45.DxTextBoxModule, typeof i45.DxTreeViewModule, typeof i49.MatButtonModule, typeof i50.MatDividerModule, typeof i51.MatMenuModule, typeof i47.MatIconModule, typeof i52.LoadingModule], [typeof i44.RouterModule, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i14.CreateDatasetComponent, typeof i18.AppTitleComponent, typeof i19.LoaderComponent, typeof i20.GamamWidgetComponent, typeof i21.GammaAdvanceFilterComponent, typeof i22.GammaAdvanceChartComponent, typeof i23.GammaAdvanceOperatorTableComponent, typeof i24.AppAdvanceHeaderComponent, typeof i25.GammaTodayPreviousComponent, typeof i26.GammaTableWithPercentageComponent, typeof i27.contentSafeHtml, typeof i28.GammSingleNumberCardComponent, typeof i29.AdvanceWidgetHeaderFilterComponent, typeof i30.BreadCrumbsComponent, typeof i33.CommonHeaderComponent, typeof i6.GeoMapComponent, typeof i32.SafeHtmlPipe, typeof i34.GoogleGeoMapComponent, typeof i35.GammaTableClumnBarChartComponent, typeof i38.GammaGeoChartComponent, typeof i39.PageConfigMultilayoutComponent, typeof i40.CreateMetricsComponent, typeof i41.OnlineMetricsComponent, typeof i42.OflineMetricsComponent]>;
|
|
54
57
|
static ɵinj: i0.ɵɵInjectorDeclaration<PackageApplicationControllerModule>;
|
|
55
58
|
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
3
|
import { CommonService } from '../../common';
|
|
4
|
+
import { ApplicationContentService } from '../../application-content.service';
|
|
5
|
+
import { ToastrService } from 'ngx-toastr';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
export declare class ApplicationCreateMenuComponent implements OnInit {
|
|
5
8
|
commonservice: CommonService;
|
|
9
|
+
private service;
|
|
10
|
+
private toasterService;
|
|
11
|
+
private activatedRoute;
|
|
12
|
+
private router;
|
|
6
13
|
menuObject: any;
|
|
7
14
|
ismenuContainer: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}[];
|
|
15
|
+
isContentType: boolean;
|
|
16
|
+
menuType: string[];
|
|
17
|
+
paparentMenuDatasource: any;
|
|
12
18
|
userOptionContainer: any;
|
|
13
|
-
constructor(commonservice: CommonService);
|
|
19
|
+
constructor(commonservice: CommonService, service: ApplicationContentService, toasterService: ToastrService, activatedRoute: ActivatedRoute, router: Router);
|
|
14
20
|
ngOnInit(): void;
|
|
21
|
+
getParentMenuList(): void;
|
|
15
22
|
getMenuType(e: any): void;
|
|
16
23
|
addNewUser(): void;
|
|
17
24
|
deleteUser(i: any): void;
|
|
18
25
|
submitNewMenu(): void;
|
|
26
|
+
updateMenu(): void;
|
|
27
|
+
getMenuTidType(item: any): void;
|
|
28
|
+
menuList(): void;
|
|
19
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationCreateMenuComponent, never>;
|
|
20
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationCreateMenuComponent, "lib-application-create-menu", never, {}, {}, never, never, false>;
|
|
21
31
|
}
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { CommonService } from '../../common';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
+
import { ApplicationContentService } from '../../application-content.service';
|
|
5
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class ApplicationMenusComponent implements OnInit {
|
|
6
8
|
commonService: CommonService;
|
|
7
9
|
private router;
|
|
8
|
-
|
|
10
|
+
commonservice: CommonService;
|
|
11
|
+
private service;
|
|
12
|
+
private toasterService;
|
|
13
|
+
paparentMenuDatasource: any;
|
|
14
|
+
isLoader: boolean;
|
|
15
|
+
treviewDatasource: any;
|
|
16
|
+
constructor(commonService: CommonService, router: Router, commonservice: CommonService, service: ApplicationContentService, toasterService: ToastrService);
|
|
9
17
|
ngOnInit(): void;
|
|
18
|
+
getParentMenuList(): void;
|
|
19
|
+
editMenu(item: any): void;
|
|
20
|
+
deleteMenu(item: any): void;
|
|
21
|
+
getUsers(items: any): string;
|
|
10
22
|
createNewMenu(): void;
|
|
23
|
+
buildMenuTree(userName: string, menuData: any[]): any[];
|
|
11
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationMenusComponent, never>;
|
|
12
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationMenusComponent, "lib-application-menus", never, {}, {}, never, never, false>;
|
|
13
26
|
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ToastrService } from 'ngx-toastr';
|
|
3
|
+
import { CommonService } from '../../common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CreateMetricsComponent implements OnInit {
|
|
6
|
+
commonService: CommonService;
|
|
7
|
+
private toastr;
|
|
8
|
+
loadingModal: boolean;
|
|
9
|
+
reqFieldsDataSource: any;
|
|
10
|
+
isreqFields: boolean;
|
|
11
|
+
iscdrParams: boolean;
|
|
12
|
+
cdrFieldsDataSource: any;
|
|
13
|
+
kpi_function: any;
|
|
14
|
+
kpi_operator: any;
|
|
15
|
+
kpi_enrichment_name: any;
|
|
16
|
+
reqShortDataSource: any;
|
|
17
|
+
filterMapingDatasource: any;
|
|
18
|
+
query_data: any;
|
|
19
|
+
isModelVisible: boolean;
|
|
20
|
+
isSqlCopiedText: boolean;
|
|
21
|
+
queryBulderDataset: any;
|
|
22
|
+
isReconColume: boolean;
|
|
23
|
+
reconColumeDatasource: any[];
|
|
24
|
+
selectedDataSource: any;
|
|
25
|
+
isQueryTypeSelect: boolean;
|
|
26
|
+
mesuresAndDimentionsColumns: any[];
|
|
27
|
+
metricOnlineObject: {
|
|
28
|
+
metricName: string;
|
|
29
|
+
metricId: string;
|
|
30
|
+
metricDisplayName: string;
|
|
31
|
+
metricType: string;
|
|
32
|
+
source: {
|
|
33
|
+
datasource: string;
|
|
34
|
+
eventName: string;
|
|
35
|
+
filters: {
|
|
36
|
+
fieldName: string;
|
|
37
|
+
operation: string;
|
|
38
|
+
threshold: string;
|
|
39
|
+
comparator: string;
|
|
40
|
+
}[];
|
|
41
|
+
exclusions: {
|
|
42
|
+
fieldName: string;
|
|
43
|
+
operation: string;
|
|
44
|
+
threshold: string;
|
|
45
|
+
comparator: string;
|
|
46
|
+
}[];
|
|
47
|
+
dimensions: ({
|
|
48
|
+
fieldName: string;
|
|
49
|
+
aliasName: string;
|
|
50
|
+
dataType: string;
|
|
51
|
+
format: string;
|
|
52
|
+
method?: undefined;
|
|
53
|
+
} | {
|
|
54
|
+
fieldName: string;
|
|
55
|
+
aliasName: string;
|
|
56
|
+
dataType: string;
|
|
57
|
+
format?: undefined;
|
|
58
|
+
method?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
fieldName: string;
|
|
61
|
+
aliasName: string;
|
|
62
|
+
dataType: string;
|
|
63
|
+
method: string;
|
|
64
|
+
format?: undefined;
|
|
65
|
+
})[];
|
|
66
|
+
measures: ({
|
|
67
|
+
fieldName: string;
|
|
68
|
+
aliasName: string;
|
|
69
|
+
dataType: string;
|
|
70
|
+
type: string;
|
|
71
|
+
} | {
|
|
72
|
+
aliasName: string;
|
|
73
|
+
type: string;
|
|
74
|
+
fieldName?: undefined;
|
|
75
|
+
dataType?: undefined;
|
|
76
|
+
})[];
|
|
77
|
+
};
|
|
78
|
+
target: {
|
|
79
|
+
databaseName: string;
|
|
80
|
+
dbConfig: string;
|
|
81
|
+
tableName: string;
|
|
82
|
+
dimensionColumns: string[];
|
|
83
|
+
measureColumns: string[];
|
|
84
|
+
createTable: boolean;
|
|
85
|
+
writeDisposition: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
metricMainObject: any;
|
|
89
|
+
metricOflineObject: {
|
|
90
|
+
metricName: string;
|
|
91
|
+
metricId: string;
|
|
92
|
+
metricDisplayName: string;
|
|
93
|
+
metricType: string;
|
|
94
|
+
source: {
|
|
95
|
+
databaseName: string;
|
|
96
|
+
dbConfig: string;
|
|
97
|
+
queryTemplate: string;
|
|
98
|
+
queryTemplateFile: string;
|
|
99
|
+
};
|
|
100
|
+
target: {
|
|
101
|
+
databaseName: string;
|
|
102
|
+
dbConfig: string;
|
|
103
|
+
tableName: string;
|
|
104
|
+
dimensionColumns: any[];
|
|
105
|
+
measureColumns: any[];
|
|
106
|
+
partitionColumn: string;
|
|
107
|
+
createTable: boolean;
|
|
108
|
+
writeDisposition: string;
|
|
109
|
+
};
|
|
110
|
+
execution: {
|
|
111
|
+
type: string;
|
|
112
|
+
jobGroupId: string;
|
|
113
|
+
arguments: {
|
|
114
|
+
argumentName: string;
|
|
115
|
+
labelName: string;
|
|
116
|
+
datatype: string;
|
|
117
|
+
runtimeValue: string;
|
|
118
|
+
function: string;
|
|
119
|
+
}[];
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
metrictype: any;
|
|
123
|
+
constructor(commonService: CommonService, toastr: ToastrService);
|
|
124
|
+
ngOnInit(): void;
|
|
125
|
+
getMetricType(e: any): void;
|
|
126
|
+
submittOnlineMetrics(data: any): void;
|
|
127
|
+
submittOfflineMetrics(data: any): void;
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateMetricsComponent, never>;
|
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateMetricsComponent, "app-create-metrics", never, {}, {}, never, never, false>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter, 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 OflineMetricsComponent implements OnInit {
|
|
7
|
+
commonService: CommonService;
|
|
8
|
+
private toastr;
|
|
9
|
+
private service;
|
|
10
|
+
loadingModal: boolean;
|
|
11
|
+
reqFieldsDataSource: any;
|
|
12
|
+
isreqFields: boolean;
|
|
13
|
+
iscdrParams: boolean;
|
|
14
|
+
cdrFieldsDataSource: any;
|
|
15
|
+
kpi_function: any;
|
|
16
|
+
kpi_operator: any;
|
|
17
|
+
kpi_enrichment_name: any;
|
|
18
|
+
reqShortDataSource: any;
|
|
19
|
+
filterMapingDatasource: any;
|
|
20
|
+
query_data: any;
|
|
21
|
+
isModelVisible: boolean;
|
|
22
|
+
isSqlCopiedText: boolean;
|
|
23
|
+
queryBulderDataset: any;
|
|
24
|
+
isReconColume: boolean;
|
|
25
|
+
getMetRicOflineDataSet: EventEmitter<any>;
|
|
26
|
+
functionNameContainer: string[];
|
|
27
|
+
reconColumeDatasource: any[];
|
|
28
|
+
selectedDataSource: any;
|
|
29
|
+
isQueryTypeSelect: boolean;
|
|
30
|
+
mesuresAndDimentionsColumns: any[];
|
|
31
|
+
metricMainObject: any;
|
|
32
|
+
metrictype: any;
|
|
33
|
+
set onflineMetricData(value: any);
|
|
34
|
+
constructor(commonService: CommonService, toastr: ToastrService, service: ApplicationContentService);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
addArguments(): void;
|
|
37
|
+
deleteArguments(i: any): void;
|
|
38
|
+
createOflineMetrics(): void;
|
|
39
|
+
getDataConfig(e: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OflineMetricsComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OflineMetricsComponent, "app-ofline-metrics", never, { "onflineMetricData": "onflineMetricData"; }, { "getMetRicOflineDataSet": "getMetRicOflineDataSet"; }, never, never, false>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter, 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 OnlineMetricsComponent implements OnInit {
|
|
7
|
+
commonService: CommonService;
|
|
8
|
+
private toastr;
|
|
9
|
+
private service;
|
|
10
|
+
loadingModal: boolean;
|
|
11
|
+
reqFieldsDataSource: any;
|
|
12
|
+
isreqFields: boolean;
|
|
13
|
+
iscdrParams: boolean;
|
|
14
|
+
cdrFieldsDataSource: any;
|
|
15
|
+
kpi_function: any;
|
|
16
|
+
kpi_operator: any;
|
|
17
|
+
kpi_enrichment_name: any;
|
|
18
|
+
reqShortDataSource: any;
|
|
19
|
+
filterMapingDatasource: any;
|
|
20
|
+
query_data: any;
|
|
21
|
+
isModelVisible: boolean;
|
|
22
|
+
isSqlCopiedText: boolean;
|
|
23
|
+
queryBulderDataset: any;
|
|
24
|
+
isReconColume: boolean;
|
|
25
|
+
getMetRicOnlineDataSet: EventEmitter<any>;
|
|
26
|
+
reconColumeDatasource: any[];
|
|
27
|
+
selectedDataSource: any;
|
|
28
|
+
isQueryTypeSelect: boolean;
|
|
29
|
+
mesuresAndDimentionsColumns: any[];
|
|
30
|
+
metricMainObject: any;
|
|
31
|
+
metrictype: any;
|
|
32
|
+
set onlineMetricData(value: any);
|
|
33
|
+
constructor(commonService: CommonService, toastr: ToastrService, service: ApplicationContentService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
addColumns(): void;
|
|
36
|
+
deleteColumns(i: any): void;
|
|
37
|
+
addFilterMapingColumns(): void;
|
|
38
|
+
deleteFilterMapingColumns(i: any): void;
|
|
39
|
+
addExclusionsMapingColumns(): void;
|
|
40
|
+
deleteExclusionsMapingColumns(i: any): void;
|
|
41
|
+
transformDataForMFilter(mapfilter: any): any[];
|
|
42
|
+
createOnlineMetrics(): void;
|
|
43
|
+
getQueryForDetailsData(e: any): void;
|
|
44
|
+
getDataConfig(e: any): void;
|
|
45
|
+
addHavingsColume(): void;
|
|
46
|
+
deleteHavingsColume(i: any): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlineMetricsComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnlineMetricsComponent, "app-online-metrics", never, { "onlineMetricData": "onlineMetricData"; }, { "getMetRicOnlineDataSet": "getMetRicOnlineDataSet"; }, never, never, false>;
|
|
49
|
+
}
|
|
@@ -10,6 +10,7 @@ export declare class CommonHeaderComponent {
|
|
|
10
10
|
gotoPages(): void;
|
|
11
11
|
gotoFilters(): void;
|
|
12
12
|
gotoDataSets(): void;
|
|
13
|
+
gotoMenuConfig(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderComponent, never>;
|
|
14
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommonHeaderComponent, "lib-common-header", never, { "pageTitle": "pageTitle"; }, {}, never, never, false>;
|
|
15
16
|
}
|
|
@@ -55,6 +55,9 @@ export declare class CommonService {
|
|
|
55
55
|
btn_light_lg: string;
|
|
56
56
|
btn_light_md: string;
|
|
57
57
|
btn_light_sm: string;
|
|
58
|
+
btn_purple_lg: string;
|
|
59
|
+
btn_purple_md: string;
|
|
60
|
+
btn_purple_sm: string;
|
|
58
61
|
btnDarkBlack: string;
|
|
59
62
|
btnLightWhite: string;
|
|
60
63
|
btnPrimaryBlue_sm: string;
|
|
@@ -143,6 +146,7 @@ export declare class CommonService {
|
|
|
143
146
|
removeDuplicates(jobArray: any, context: any): any;
|
|
144
147
|
getKey: (obj: any) => string;
|
|
145
148
|
convertString(input: any): any;
|
|
149
|
+
ThousandSeparatorWithTwoDecimals(value: any): number;
|
|
146
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
|
|
147
151
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
|
|
148
152
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -36,6 +36,9 @@ export * from './lib/application-controller/shared/advanced-component/gamma-geo-
|
|
|
36
36
|
export * from './lib/application-controller/page-controller/page-config/page-config.component';
|
|
37
37
|
export * from './lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component';
|
|
38
38
|
export * from './lib/application-controller/page-controller/page-controller/page-controller.component';
|
|
39
|
+
export * from './lib/application-controller/application-metric-config/create-metrics/create-metrics.component';
|
|
40
|
+
export * from './lib/application-controller/application-metric-config/ofline-metrics/ofline-metrics.component';
|
|
41
|
+
export * from './lib/application-controller/application-metric-config/online-metrics/online-metrics.component';
|
|
39
42
|
export * from './lib/application-controller/application-dataset-call.service';
|
|
40
43
|
export * from './lib/application-controller/application-content.service';
|
|
41
44
|
export * from './lib/application-controller/kpi-service';
|