gamma-app-controller 1.1.5 → 1.1.6

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.
@@ -85,6 +85,10 @@ export declare class ApplicationContentService extends AppHttpService {
85
85
  getAppAppMenuConfigById(manuid: any): Observable<any>;
86
86
  updateAppMenuConfig(manueConfig: any): Observable<any>;
87
87
  deleteAppMenuConfig(menuId: any): any;
88
+ listMetricConfigs(): any;
89
+ deleteMetricConfig(metricId: any): any;
90
+ saveOnlineMetricConfig(metricConfig: any): Observable<any>;
91
+ editOfflineMetricConfig(metricConfig: any): Observable<any>;
88
92
  static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationContentService, never>;
89
93
  static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationContentService>;
90
94
  }
@@ -41,18 +41,19 @@ import * as i39 from "./page-controller/page-config-multi-layout/page-config-mul
41
41
  import * as i40 from "./application-metric-config/create-metrics/create-metrics.component";
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
- 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";
44
+ import * as i43 from "./application-metric-config/all-metrics-config/all-metrics-config.component";
45
+ import * as i44 from "@angular/common";
46
+ import * as i45 from "@angular/router";
47
+ import * as i46 from "devextreme-angular";
48
+ import * as i47 from "@angular/forms";
49
+ import * as i48 from "@angular/material/icon";
50
+ import * as i49 from "@angular/material/tooltip";
51
+ import * as i50 from "@angular/material/button";
52
+ import * as i51 from "@angular/material/divider";
53
+ import * as i52 from "@angular/material/menu";
54
+ import * as i53 from "./shared/loading/loadingModule";
54
55
  export declare class PackageApplicationControllerModule {
55
56
  static ɵfac: i0.ɵɵFactoryDeclaration<PackageApplicationControllerModule, never>;
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]>;
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 i44.CommonModule, typeof i45.RouterModule, typeof i46.DevExtremeModule, typeof i46.DxButtonModule, typeof i46.DxCheckBoxModule, typeof i46.DxNumberBoxModule, typeof i46.DxDataGridModule, typeof i46.DxDropDownBoxModule, typeof i46.DxTreeViewModule, typeof i46.DxScrollViewModule, typeof i46.DxFormModule, typeof i46.DxAccordionModule, typeof i47.FormsModule, typeof i46.DxTagBoxModule, typeof i47.ReactiveFormsModule, typeof i48.MatIconModule, typeof i46.DxHtmlEditorModule, typeof i46.DxBulletModule, typeof i46.DxChartModule, typeof i46.DxDateBoxModule, typeof i46.DxLoadPanelModule, typeof i46.DxLookupModule, typeof i46.DxPivotGridModule, typeof i46.DxTemplateModule, typeof i46.DxTextAreaModule, typeof i46.DxValidationSummaryModule, typeof i46.DxValidatorModule, typeof i46.DxCalendarModule, typeof i46.DxTooltipModule, typeof i46.DxContextMenuModule, typeof i46.DxLoadIndicatorModule, typeof i49.MatTooltipModule, typeof i46.DxPopupModule, typeof i46.DxSelectBoxModule, typeof i46.DxTextBoxModule, typeof i46.DxTreeViewModule, typeof i50.MatButtonModule, typeof i51.MatDividerModule, typeof i52.MatMenuModule, typeof i48.MatIconModule, typeof i53.LoadingModule], [typeof i45.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]>;
57
58
  static ɵinj: i0.ɵɵInjectorDeclaration<PackageApplicationControllerModule>;
58
59
  }
@@ -0,0 +1,41 @@
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import { ToastrService } from 'ngx-toastr';
3
+ import { Title } from "@angular/platform-browser";
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { ApplicationContentService } from '../../application-content.service';
6
+ import { CommonService } from '../../common';
7
+ import { kpicommonService } from '../../kpi-service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class AllMetricsConfigComponent implements OnInit {
10
+ private service;
11
+ commonService: CommonService;
12
+ private toastr;
13
+ private activatedRoute;
14
+ private router;
15
+ private title;
16
+ private kpiService;
17
+ metricsDatasource: any;
18
+ isLoader: boolean;
19
+ isDuplidateView: boolean;
20
+ isNewDataSetCreateView: boolean;
21
+ pageViewId: boolean;
22
+ pageConfigId: boolean;
23
+ scrollToElement: ElementRef;
24
+ defaultStartDate: any;
25
+ defaultEndDate: any;
26
+ isDatasetPreview: boolean;
27
+ isFilterInputs: boolean;
28
+ isDatasetloader: boolean;
29
+ dataSourceModal: any;
30
+ selectedDataSet: any;
31
+ constructor(service: ApplicationContentService, commonService: CommonService, toastr: ToastrService, activatedRoute: ActivatedRoute, router: Router, title: Title, kpiService: kpicommonService);
32
+ ngOnInit(): void;
33
+ getMetricsDataCongigs(): void;
34
+ getCreateNewMetrics(): void;
35
+ editMetricsConfigs(data: any): void;
36
+ deleteMetricConfig(data: any): void;
37
+ activatedReport(data: any): void;
38
+ deActivatedReport(data: any): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<AllMetricsConfigComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<AllMetricsConfigComponent, "app-all-metrics-config", never, {}, {}, never, never, false>;
41
+ }
@@ -1,10 +1,14 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { ToastrService } from 'ngx-toastr';
3
3
  import { CommonService } from '../../common';
4
+ import { ApplicationContentService } from '../../application-content.service';
5
+ import { Router } from '@angular/router';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class CreateMetricsComponent implements OnInit {
6
8
  commonService: CommonService;
7
9
  private toastr;
10
+ private router;
11
+ private service;
8
12
  loadingModal: boolean;
9
13
  reqFieldsDataSource: any;
10
14
  isreqFields: boolean;
@@ -79,6 +83,7 @@ export declare class CreateMetricsComponent implements OnInit {
79
83
  databaseName: string;
80
84
  dbConfig: string;
81
85
  tableName: string;
86
+ partitionColumn: string;
82
87
  dimensionColumns: string[];
83
88
  measureColumns: string[];
84
89
  createTable: boolean;
@@ -91,6 +96,7 @@ export declare class CreateMetricsComponent implements OnInit {
91
96
  metricId: string;
92
97
  metricDisplayName: string;
93
98
  metricType: string;
99
+ runner: string;
94
100
  source: {
95
101
  databaseName: string;
96
102
  dbConfig: string;
@@ -120,7 +126,7 @@ export declare class CreateMetricsComponent implements OnInit {
120
126
  };
121
127
  };
122
128
  metrictype: any;
123
- constructor(commonService: CommonService, toastr: ToastrService);
129
+ constructor(commonService: CommonService, toastr: ToastrService, router: Router, service: ApplicationContentService);
124
130
  ngOnInit(): void;
125
131
  getMetricType(e: any): void;
126
132
  submittOnlineMetrics(data: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamma-app-controller",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
package/public-api.d.ts CHANGED
@@ -39,6 +39,7 @@ export * from './lib/application-controller/page-controller/page-controller/page
39
39
  export * from './lib/application-controller/application-metric-config/create-metrics/create-metrics.component';
40
40
  export * from './lib/application-controller/application-metric-config/ofline-metrics/ofline-metrics.component';
41
41
  export * from './lib/application-controller/application-metric-config/online-metrics/online-metrics.component';
42
+ export * from './lib/application-controller/application-metric-config/all-metrics-config/all-metrics-config.component';
42
43
  export * from './lib/application-controller/application-dataset-call.service';
43
44
  export * from './lib/application-controller/application-content.service';
44
45
  export * from './lib/application-controller/kpi-service';