gamma-app-controller 1.2.0 → 1.2.2

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 (29) hide show
  1. package/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +1 -5
  2. package/esm2020/lib/application-controller/application-dataset-component/dataset-query-bulder/dataset-query-bulder.component.mjs +1 -8
  3. package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +1 -2
  4. package/esm2020/lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component.mjs +1 -2
  5. package/esm2020/lib/application-controller/tokenStorage.servce.mjs +36 -0
  6. package/esm2020/lib/shared/advanced-component/app-advance-header/app-header.component.mjs +20 -18
  7. package/esm2020/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +1 -2
  8. package/esm2020/lib/template-module/bookmarked-template/bookmarked-template.component.mjs +10 -9
  9. package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +10 -9
  10. package/esm2020/lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component.mjs +1 -2
  11. package/esm2020/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.mjs +16 -15
  12. package/esm2020/lib/template-module/kpiWithSingleLayout/dynamin-modal.component.mjs +1 -2
  13. package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +47 -29
  14. package/esm2020/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.mjs +6 -4
  15. package/esm2020/public-api.mjs +2 -1
  16. package/fesm2015/gamma-app-controller.mjs +101 -63
  17. package/fesm2015/gamma-app-controller.mjs.map +1 -1
  18. package/fesm2020/gamma-app-controller.mjs +97 -61
  19. package/fesm2020/gamma-app-controller.mjs.map +1 -1
  20. package/lib/application-controller/application-dataset-component/dataset-query-bulder/dataset-query-bulder.component.d.ts +0 -1
  21. package/lib/application-controller/tokenStorage.servce.d.ts +12 -0
  22. package/lib/shared/advanced-component/app-advance-header/app-header.component.d.ts +3 -1
  23. package/lib/template-module/bookmarked-template/bookmarked-template.component.d.ts +3 -1
  24. package/lib/template-module/defaulLandingComponent/landing-component.component.d.ts +3 -1
  25. package/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.d.ts +3 -1
  26. package/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.d.ts +12 -1
  27. package/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.d.ts +3 -1
  28. package/package.json +1 -1
  29. package/public-api.d.ts +1 -0
@@ -35,7 +35,6 @@ export declare class DatasetQueryBulderComponent implements OnInit {
35
35
  deleteReconColume(i: any): void;
36
36
  saveReconsColume(): void;
37
37
  saveColumnsAndMasures(): void;
38
- saveDataToStore(): void;
39
38
  transformColumnsForMesurs(inputColumns: any): any[];
40
39
  addFilter(): void;
41
40
  deleteFilter(i: any): void;
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppLocalStorage {
3
+ private environment;
4
+ constructor(environment: any);
5
+ save(type: any, token: any): void;
6
+ get(type: any): string;
7
+ delete(type: any): string;
8
+ destroy(): void;
9
+ getAppVariableName(attributeName: string): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppLocalStorage, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppLocalStorage>;
12
+ }
@@ -1,11 +1,13 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { CommonService } from '../../../application-controller/common';
4
+ import { AppLocalStorage } from '../../../application-controller/tokenStorage.servce';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AppAdvanceHeaderComponent implements OnInit {
6
7
  private activatedRoute;
7
8
  private route;
8
9
  private commonService;
10
+ private storage;
9
11
  pageTitle: string;
10
12
  bread_crumbs_container: any;
11
13
  isEditButton: boolean;
@@ -37,7 +39,7 @@ export declare class AppAdvanceHeaderComponent implements OnInit {
37
39
  getFilterPageConfig: EventEmitter<any>;
38
40
  getOperatorName: EventEmitter<any>;
39
41
  getContextFilterData: EventEmitter<any>;
40
- constructor(activatedRoute: ActivatedRoute, route: Router, commonService: CommonService);
42
+ constructor(activatedRoute: ActivatedRoute, route: Router, commonService: CommonService, storage: AppLocalStorage);
41
43
  filterItemsForFilter: any;
42
44
  operatorLogo: string;
43
45
  set filterItems(value: any);
@@ -11,6 +11,7 @@ import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-compon
11
11
  import { BookmarkedApplicationDatssetsCall } from './bookmarked-dataset-call.service';
12
12
  import { ToastrService } from 'ngx-toastr';
13
13
  import { BookmarkedService } from './bookmarked-layout.service';
14
+ import { AppLocalStorage } from '../../application-controller/tokenStorage.servce';
14
15
  import * as i0 from "@angular/core";
15
16
  export declare class BookmarkedTemplateComponent implements OnInit {
16
17
  commonService: CommonService;
@@ -21,6 +22,7 @@ export declare class BookmarkedTemplateComponent implements OnInit {
21
22
  private toastr;
22
23
  private router;
23
24
  private datasetService;
25
+ private storage;
24
26
  dashbord_container: any;
25
27
  selected_width: any;
26
28
  widget_width: string[];
@@ -78,7 +80,7 @@ export declare class BookmarkedTemplateComponent implements OnInit {
78
80
  globalDefaultFilter: any;
79
81
  pageId: any;
80
82
  kpi_breadcrumbs_container: any;
81
- constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: BookmarkedService, toastr: ToastrService, router: Router, datasetService: BookmarkedApplicationDatssetsCall);
83
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: BookmarkedService, toastr: ToastrService, router: Router, datasetService: BookmarkedApplicationDatssetsCall, storage: AppLocalStorage);
82
84
  ngOnInit(): void;
83
85
  getFiltersForTemplate(filter: any): Promise<void>;
84
86
  getPadeDataSource(context: any): Promise<void>;
@@ -11,6 +11,7 @@ import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-compon
11
11
  import { ToastrService } from 'ngx-toastr';
12
12
  import { LandingComponentService } from './landing-component.service';
13
13
  import { LandingApplicationDatssetsCall } from './landing-dataset-call.service';
14
+ import { AppLocalStorage } from '../../application-controller/tokenStorage.servce';
14
15
  import * as i0 from "@angular/core";
15
16
  export declare class LandingComponentComponent implements OnInit {
16
17
  commonService: CommonService;
@@ -21,6 +22,7 @@ export declare class LandingComponentComponent implements OnInit {
21
22
  private toastr;
22
23
  private router;
23
24
  private datasetService;
25
+ private storage;
24
26
  dashbord_container: any;
25
27
  selected_width: any;
26
28
  widget_width: string[];
@@ -78,7 +80,7 @@ export declare class LandingComponentComponent implements OnInit {
78
80
  globalDefaultFilter: any;
79
81
  pageId: any;
80
82
  kpi_breadcrumbs_container: any;
81
- constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: LandingComponentService, toastr: ToastrService, router: Router, datasetService: LandingApplicationDatssetsCall);
83
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: LandingComponentService, toastr: ToastrService, router: Router, datasetService: LandingApplicationDatssetsCall, storage: AppLocalStorage);
82
84
  ngOnInit(): void;
83
85
  getFiltersForTemplate(filter: any): Promise<void>;
84
86
  getPadeDataSource(context: any): Promise<void>;
@@ -13,6 +13,7 @@ import { GammaGeoChartComponent } from '../../shared/advanced-component/gamma-ge
13
13
  import { GammaHeatChartComponent } from '../../shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
14
14
  import { KpiWithMultiLayoutService } from './kpi-multi-layout.service';
15
15
  import { MultilayoutApplicationDatssetsCall } from './multi-layout-dataset-call.service';
16
+ import { AppLocalStorage } from '../../application-controller/tokenStorage.servce';
16
17
  import * as i0 from "@angular/core";
17
18
  export declare class KpiWithMultilayoutSetTestComponent implements OnInit {
18
19
  commonService: CommonService;
@@ -23,6 +24,7 @@ export declare class KpiWithMultilayoutSetTestComponent implements OnInit {
23
24
  private toastr;
24
25
  private router;
25
26
  private datasetService;
27
+ private storage;
26
28
  dashbord_container: any;
27
29
  selected_width: any;
28
30
  widget_width: string[];
@@ -83,7 +85,7 @@ export declare class KpiWithMultilayoutSetTestComponent implements OnInit {
83
85
  pageId: any;
84
86
  kpi_breadcrumbs_container: any;
85
87
  operatorName: any;
86
- constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: KpiWithMultiLayoutService, toastr: ToastrService, router: Router, datasetService: MultilayoutApplicationDatssetsCall);
88
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: KpiWithMultiLayoutService, toastr: ToastrService, router: Router, datasetService: MultilayoutApplicationDatssetsCall, storage: AppLocalStorage);
87
89
  ngOnInit(): void;
88
90
  getFiltersForTemplate(filter: any): Promise<void>;
89
91
  getPadeDataSource(context: any): Promise<void>;
@@ -14,6 +14,7 @@ import { GammaHeatChartComponent } from '../../shared/advanced-component/gamma-h
14
14
  import { KpiWithSingleLayoutService } from './kpi-single-layout.service';
15
15
  import { SingleLayoutApplicationDatssetsCall } from './single-layout-dataset-call.service';
16
16
  import { ApplicationChatApiCallService } from './application-chat-api-call.service';
17
+ import { AppLocalStorage } from '../../application-controller/tokenStorage.servce';
17
18
  import * as i0 from "@angular/core";
18
19
  export declare class KpiWithDataSetTestComponent implements OnInit {
19
20
  commonService: CommonService;
@@ -25,6 +26,7 @@ export declare class KpiWithDataSetTestComponent implements OnInit {
25
26
  private router;
26
27
  private datasetService;
27
28
  private chatApiService;
29
+ private storage;
28
30
  dashbord_container: any;
29
31
  selected_width: any;
30
32
  widget_width: string[];
@@ -87,9 +89,17 @@ export declare class KpiWithDataSetTestComponent implements OnInit {
87
89
  kpi_breadcrumbs_container: any;
88
90
  operatorName: any;
89
91
  defaultViewIds: any;
92
+ defaultViewIdsOnPageRefresh: any;
90
93
  isPopupView: boolean;
91
94
  modalConfigs: any;
92
- constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: KpiWithSingleLayoutService, toastr: ToastrService, router: Router, datasetService: SingleLayoutApplicationDatssetsCall, chatApiService: ApplicationChatApiCallService);
95
+ defaultMatchedFilters: {
96
+ operationFilter: {
97
+ startDate: string;
98
+ endDate: string;
99
+ };
100
+ };
101
+ isDefaultFilterParams: boolean;
102
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: KpiWithSingleLayoutService, toastr: ToastrService, router: Router, datasetService: SingleLayoutApplicationDatssetsCall, chatApiService: ApplicationChatApiCallService, storage: AppLocalStorage);
93
103
  ngOnInit(): void;
94
104
  getFiltersForTemplate(filter: any): Promise<void>;
95
105
  getPadeDataSource(context: any): Promise<void>;
@@ -107,6 +117,7 @@ export declare class KpiWithDataSetTestComponent implements OnInit {
107
117
  getViewByRowCLickForHourlyChart(event: any, node: any): void;
108
118
  getModalViewByRowCLick(event: any, view: any): Promise<void>;
109
119
  getViewByRowCLick(event: any, view: any): Promise<void>;
120
+ getFiltersForQueryParams(operators: any, filters: any): void;
110
121
  scrollToBottom(container: HTMLElement): void;
111
122
  findWidgetById(configs: any[], id: string): any | undefined;
112
123
  updateOperatorData(key_name: string[], value_data: any): any;
@@ -1,14 +1,16 @@
1
1
  import { ToastrService } from 'ngx-toastr';
2
2
  import { kpicommonService } from '../../application-controller/kpi-service';
3
3
  import { KpiWithMultiLayoutService } from '../kpiWithMultiLayout/kpi-multi-layout.service';
4
+ import { Router } from '@angular/router';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class SingleLayoutApplicationDatssetsCall {
6
7
  private service;
7
8
  private kpiService;
8
9
  private toastr;
10
+ private router;
9
11
  private environment;
10
12
  uniqueDataSetObject: {};
11
- constructor(service: KpiWithMultiLayoutService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
13
+ constructor(service: KpiWithMultiLayoutService, kpiService: kpicommonService, toastr: ToastrService, router: Router, environment: any);
12
14
  getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
13
15
  getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
14
16
  getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamma-app-controller",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
package/public-api.d.ts CHANGED
@@ -45,6 +45,7 @@ export * from './lib/application-controller/kpi-service';
45
45
  export * from './lib/application-controller/app.http.service';
46
46
  export * from './lib/gamma-app-controller.service';
47
47
  export * from './lib/application-controller/application-content.service';
48
+ export * from './lib/application-controller/tokenStorage.servce';
48
49
  export * from './lib/shared/safeHtmlPipe';
49
50
  export * from './lib/application-controller/application-dataset-component/create-dataset-sql/sqlFormatter';
50
51
  export * from './lib/shared/advanced-component/gamma-table-with-percentage/contentSafeHtml';