gamma-app-controller 1.1.6 → 1.1.8
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-controller.module.mjs +10 -5
- package/esm2020/lib/application-controller/application-dataset-call.service.mjs +15 -10
- package/esm2020/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.mjs +14 -10
- package/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +17 -11
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-today-previous/gamma-today-previous.component.mjs +30 -19
- package/esm2020/lib/application-controller/support-components/dash-today-previous/dash-today-previous.component.mjs +278 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/gamma-app-controller.mjs +346 -48
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +339 -48
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-controller.module.d.ts +12 -11
- package/lib/application-controller/application-dataset-call.service.d.ts +2 -1
- package/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.d.ts +2 -1
- package/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.d.ts +2 -1
- package/lib/application-controller/shared/advanced-component/gamma-today-previous/gamma-today-previous.component.d.ts +3 -0
- package/lib/application-controller/support-components/dash-today-previous/dash-today-previous.component.d.ts +63 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -42,18 +42,19 @@ import * as i40 from "./application-metric-config/create-metrics/create-metrics.
|
|
|
42
42
|
import * as i41 from "./application-metric-config/online-metrics/online-metrics.component";
|
|
43
43
|
import * as i42 from "./application-metric-config/ofline-metrics/ofline-metrics.component";
|
|
44
44
|
import * as i43 from "./application-metric-config/all-metrics-config/all-metrics-config.component";
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "@angular/
|
|
47
|
-
import * as i46 from "
|
|
48
|
-
import * as i47 from "
|
|
49
|
-
import * as i48 from "@angular/
|
|
50
|
-
import * as i49 from "@angular/material/
|
|
51
|
-
import * as i50 from "@angular/material/
|
|
52
|
-
import * as i51 from "@angular/material/
|
|
53
|
-
import * as i52 from "@angular/material/
|
|
54
|
-
import * as i53 from "
|
|
45
|
+
import * as i44 from "./support-components/dash-today-previous/dash-today-previous.component";
|
|
46
|
+
import * as i45 from "@angular/common";
|
|
47
|
+
import * as i46 from "@angular/router";
|
|
48
|
+
import * as i47 from "devextreme-angular";
|
|
49
|
+
import * as i48 from "@angular/forms";
|
|
50
|
+
import * as i49 from "@angular/material/icon";
|
|
51
|
+
import * as i50 from "@angular/material/tooltip";
|
|
52
|
+
import * as i51 from "@angular/material/button";
|
|
53
|
+
import * as i52 from "@angular/material/divider";
|
|
54
|
+
import * as i53 from "@angular/material/menu";
|
|
55
|
+
import * as i54 from "./shared/loading/loadingModule";
|
|
55
56
|
export declare class PackageApplicationControllerModule {
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<PackageApplicationControllerModule, never>;
|
|
57
|
-
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.AllMetricsConfigComponent], [typeof
|
|
58
|
+
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.AllMetricsConfigComponent, typeof i44.DashTodayPreviousComponent], [typeof i45.CommonModule, typeof i46.RouterModule, typeof i47.DevExtremeModule, typeof i47.DxButtonModule, typeof i47.DxCheckBoxModule, typeof i47.DxNumberBoxModule, typeof i47.DxDataGridModule, typeof i47.DxDropDownBoxModule, typeof i47.DxTreeViewModule, typeof i47.DxScrollViewModule, typeof i47.DxFormModule, typeof i47.DxAccordionModule, typeof i48.FormsModule, typeof i47.DxTagBoxModule, typeof i48.ReactiveFormsModule, typeof i49.MatIconModule, typeof i47.DxHtmlEditorModule, typeof i47.DxBulletModule, typeof i47.DxChartModule, typeof i47.DxDateBoxModule, typeof i47.DxLoadPanelModule, typeof i47.DxLookupModule, typeof i47.DxPivotGridModule, typeof i47.DxTemplateModule, typeof i47.DxTextAreaModule, typeof i47.DxValidationSummaryModule, typeof i47.DxValidatorModule, typeof i47.DxCalendarModule, typeof i47.DxTooltipModule, typeof i47.DxContextMenuModule, typeof i47.DxLoadIndicatorModule, typeof i50.MatTooltipModule, typeof i47.DxPopupModule, typeof i47.DxSelectBoxModule, typeof i47.DxTextBoxModule, typeof i47.DxTreeViewModule, typeof i51.MatButtonModule, typeof i52.MatDividerModule, typeof i53.MatMenuModule, typeof i49.MatIconModule, typeof i54.LoadingModule], [typeof i46.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, typeof i43.AllMetricsConfigComponent, typeof i44.DashTodayPreviousComponent]>;
|
|
58
59
|
static ɵinj: i0.ɵɵInjectorDeclaration<PackageApplicationControllerModule>;
|
|
59
60
|
}
|
|
@@ -4,8 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ApplicationDatssetsCall {
|
|
5
5
|
private service;
|
|
6
6
|
private kpiService;
|
|
7
|
+
private environment;
|
|
7
8
|
uniqueDataSetObject: {};
|
|
8
|
-
constructor(service: ApplicationContentService, kpiService: kpicommonService);
|
|
9
|
+
constructor(service: ApplicationContentService, kpiService: kpicommonService, environment: any);
|
|
9
10
|
getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
|
|
10
11
|
getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
|
|
11
12
|
getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
|
|
@@ -14,6 +14,7 @@ export declare class ApplicationDatasetComponent implements OnInit {
|
|
|
14
14
|
private router;
|
|
15
15
|
private title;
|
|
16
16
|
private kpiService;
|
|
17
|
+
private environment;
|
|
17
18
|
dataSettableDataSource: any;
|
|
18
19
|
isLoader: boolean;
|
|
19
20
|
isDuplidateView: boolean;
|
|
@@ -28,7 +29,7 @@ export declare class ApplicationDatasetComponent implements OnInit {
|
|
|
28
29
|
isDatasetloader: boolean;
|
|
29
30
|
dataSourceModal: any;
|
|
30
31
|
selectedDataSet: any;
|
|
31
|
-
constructor(service: ApplicationContentService, commonService: CommonService, toastr: ToastrService, activatedRoute: ActivatedRoute, router: Router, title: Title, kpiService: kpicommonService);
|
|
32
|
+
constructor(service: ApplicationContentService, commonService: CommonService, toastr: ToastrService, activatedRoute: ActivatedRoute, router: Router, title: Title, kpiService: kpicommonService, environment: any);
|
|
32
33
|
ngOnInit(): void;
|
|
33
34
|
getDataSet(): void;
|
|
34
35
|
getCreateNewDataset(): void;
|
|
@@ -12,6 +12,7 @@ export declare class CreateCompViewComponent implements OnInit {
|
|
|
12
12
|
private kpiService;
|
|
13
13
|
private router;
|
|
14
14
|
private activatedRoute;
|
|
15
|
+
private environment;
|
|
15
16
|
kpiTreeData: any;
|
|
16
17
|
isLoader: boolean;
|
|
17
18
|
isGenerate: boolean;
|
|
@@ -38,7 +39,7 @@ export declare class CreateCompViewComponent implements OnInit {
|
|
|
38
39
|
inputViewId: any;
|
|
39
40
|
isHeader: boolean;
|
|
40
41
|
set selectedViewId(value: any);
|
|
41
|
-
constructor(toastr: ToastrService, commonService: CommonService, service: ApplicationContentService, kpiService: kpicommonService, router: Router, activatedRoute: ActivatedRoute);
|
|
42
|
+
constructor(toastr: ToastrService, commonService: CommonService, service: ApplicationContentService, kpiService: kpicommonService, router: Router, activatedRoute: ActivatedRoute, environment: any);
|
|
42
43
|
ngOnInit(): void;
|
|
43
44
|
getViewType(e: any): void;
|
|
44
45
|
getDataSet(): void;
|
|
@@ -11,6 +11,9 @@ export declare class GammaTodayPreviousComponent implements OnInit {
|
|
|
11
11
|
currentDateData: any;
|
|
12
12
|
prevousDaysData: any;
|
|
13
13
|
calculatedValue: any;
|
|
14
|
+
isPreviousDay: boolean;
|
|
15
|
+
sortBy: any;
|
|
16
|
+
selectedColumn: any;
|
|
14
17
|
constructor(cdr: ChangeDetectorRef, commonService: CommonService);
|
|
15
18
|
set chartDataSource(value: any);
|
|
16
19
|
ngOnInit(): void;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ApplicationContentService } from '../../application-content.service';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { CommonService } from '../../common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DashTodayPreviousComponent implements OnInit {
|
|
7
|
+
commonService: CommonService;
|
|
8
|
+
private cdr;
|
|
9
|
+
private service;
|
|
10
|
+
private taostr;
|
|
11
|
+
isJsonPreview: boolean;
|
|
12
|
+
dataSourseForTable: any;
|
|
13
|
+
jsaonDatasource: any;
|
|
14
|
+
previousRevenue: any;
|
|
15
|
+
configColume: any;
|
|
16
|
+
allConfiguredViews: any;
|
|
17
|
+
viewProperties: any;
|
|
18
|
+
optionalDrilDownDataSource: any;
|
|
19
|
+
table_columns_config: {
|
|
20
|
+
kpiConfig: {
|
|
21
|
+
serviceId: string;
|
|
22
|
+
api: string;
|
|
23
|
+
displayType: string;
|
|
24
|
+
formate: string;
|
|
25
|
+
keyToPass: any[];
|
|
26
|
+
componentName: string;
|
|
27
|
+
dataConfig: {};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
tableDataConfig: {
|
|
31
|
+
timeUnit: string;
|
|
32
|
+
timeValue: number;
|
|
33
|
+
isPreviousDay: boolean;
|
|
34
|
+
color: string;
|
|
35
|
+
size: string;
|
|
36
|
+
sortBy: any[];
|
|
37
|
+
columns: any[];
|
|
38
|
+
};
|
|
39
|
+
enrichNameList: string[];
|
|
40
|
+
selectedTableViewType: any;
|
|
41
|
+
isLoader: boolean;
|
|
42
|
+
selectedViewConfigs: any;
|
|
43
|
+
constructor(commonService: CommonService, cdr: ChangeDetectorRef, service: ApplicationContentService, taostr: ToastrService);
|
|
44
|
+
activeTab: string;
|
|
45
|
+
gettodayPreviousConfigOutPut: EventEmitter<any>;
|
|
46
|
+
set chartconfigData(value: any);
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
addColumns(): void;
|
|
49
|
+
deleteColumns(i: any): void;
|
|
50
|
+
getEnrichClassName(e: any, item: any): void;
|
|
51
|
+
moveItemForColumns(index: number, direction: 'up' | 'down'): void;
|
|
52
|
+
getObjectKeys(obj: any): string[];
|
|
53
|
+
setActiveTab(tab: string): void;
|
|
54
|
+
getGroupColumns(columns: any): any;
|
|
55
|
+
geColumnsFromGroup(columns: any): any[];
|
|
56
|
+
getSaveConfig(): void;
|
|
57
|
+
deleteAssociatedParams(index: any): void;
|
|
58
|
+
addAssociatedParams(): void;
|
|
59
|
+
getSelectedEventType(e: any): void;
|
|
60
|
+
resetViewProprstise(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashTodayPreviousComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashTodayPreviousComponent, "lib-dash-today-previous", never, { "chartconfigData": "datasetmodal"; }, { "gettodayPreviousConfigOutPut": "gettodayPreviousConfigOutPut"; }, never, never, false>;
|
|
63
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -54,4 +54,5 @@ export * from './lib/application-controller/common';
|
|
|
54
54
|
export * from './lib/application-controller/environment';
|
|
55
55
|
export * from './lib/application-controller/support-components/dash-chart/dash-chart.component';
|
|
56
56
|
export * from './lib/application-controller/support-components/dash-table/dash-table.component';
|
|
57
|
+
export * from './lib/application-controller/support-components/dash-today-previous/dash-today-previous.component';
|
|
57
58
|
export * from './lib/application-controller/moment-helper';
|