gamma-app-controller 1.2.9 → 1.2.11

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 (22) hide show
  1. package/esm2020/lib/application-controller/common-header/common-header.component.mjs +3 -3
  2. package/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +23 -3
  3. package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +29 -7
  4. package/esm2020/lib/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.mjs +3 -3
  5. package/esm2020/lib/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.mjs +5 -5
  6. package/esm2020/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +3 -3
  7. package/esm2020/lib/shared/app-title/app-title.component.mjs +3 -3
  8. package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +443 -105
  9. package/esm2020/lib/template-module/defaulLandingComponent/landing.tokenStorage.servce.mjs +36 -0
  10. package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +60 -8
  11. package/esm2020/public-api.mjs +2 -1
  12. package/fesm2015/gamma-app-controller.mjs +609 -136
  13. package/fesm2015/gamma-app-controller.mjs.map +1 -1
  14. package/fesm2020/gamma-app-controller.mjs +598 -136
  15. package/fesm2020/gamma-app-controller.mjs.map +1 -1
  16. package/lib/application-controller/support-components/dash-chart/dash-chart.component.d.ts +1 -0
  17. package/lib/application-controller/support-components/dash-table/dash-table.component.d.ts +1 -0
  18. package/lib/template-module/defaulLandingComponent/landing-component.component.d.ts +30 -1
  19. package/lib/template-module/defaulLandingComponent/landing.tokenStorage.servce.d.ts +12 -0
  20. package/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.d.ts +1 -0
  21. package/package.json +1 -1
  22. package/public-api.d.ts +1 -0
@@ -69,6 +69,7 @@ export declare class DashChartComponent implements OnInit {
69
69
  viewProperties: any;
70
70
  optionalDrilDownDataSource: any;
71
71
  allConfiguredViews: any;
72
+ allConfiguredPage: any;
72
73
  isLoader: boolean;
73
74
  getChartConfigOutPut: EventEmitter<any>;
74
75
  set chartconfigData(value: any);
@@ -45,6 +45,7 @@ export declare class DashTableComponent implements OnInit {
45
45
  enrichNameList: string[];
46
46
  selectedTableViewType: any;
47
47
  isLoader: boolean;
48
+ allConfiguredPage: any;
48
49
  selectedViewConfigs: any;
49
50
  constructor(commonService: CommonService, cdr: ChangeDetectorRef, service: ApplicationContentService, taostr: ToastrService);
50
51
  activeTab: string;
@@ -8,9 +8,12 @@ import { GammaTableWithPercentageComponent } from '../../shared/advanced-compone
8
8
  import { GammSingleNumberCardComponent } from '../../shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component';
9
9
  import { GammaAdvanceOperatorTableComponent } from '../../shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
10
10
  import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component';
11
+ import { GammaGeoChartComponent } from '../../shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
12
+ import { GammaHeatChartComponent } from '../../shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
11
13
  import { ToastrService } from 'ngx-toastr';
12
14
  import { LandingComponentService } from './landing-component.service';
13
15
  import { LandingApplicationDatssetsCall } from './landing-dataset-call.service';
16
+ import { AppLandingLayoutLocalStorage } from './landing.tokenStorage.servce';
14
17
  import * as i0 from "@angular/core";
15
18
  export declare class LandingComponentComponent implements OnInit {
16
19
  commonService: CommonService;
@@ -21,6 +24,7 @@ export declare class LandingComponentComponent implements OnInit {
21
24
  private toastr;
22
25
  private router;
23
26
  private datasetService;
27
+ private storage;
24
28
  dashbord_container: any;
25
29
  selected_width: any;
26
30
  widget_width: string[];
@@ -31,6 +35,7 @@ export declare class LandingComponentComponent implements OnInit {
31
35
  dynamicComponentContainer: ViewContainerRef;
32
36
  containerRef: ViewContainerRef;
33
37
  dynamicContainer: ElementRef;
38
+ dynamicContainerForPopup: ElementRef;
34
39
  dynamicComponentRefs: ComponentRef<any>[];
35
40
  CompRefs: ComponentRef<any>;
36
41
  componentClassMap: {
@@ -41,6 +46,8 @@ export declare class LandingComponentComponent implements OnInit {
41
46
  GammSingleNumberCardComponent: typeof GammSingleNumberCardComponent;
42
47
  GammaAdvanceOperatorTableComponent: typeof GammaAdvanceOperatorTableComponent;
43
48
  AdvanceWidgetHeaderFilterComponent: typeof AdvanceWidgetHeaderFilterComponent;
49
+ GammaGeoChartComponent: typeof GammaGeoChartComponent;
50
+ GammaHeatChartComponent: typeof GammaHeatChartComponent;
44
51
  };
45
52
  dataSourceMataData: any;
46
53
  queryType: string;
@@ -78,7 +85,20 @@ export declare class LandingComponentComponent implements OnInit {
78
85
  globalDefaultFilter: any;
79
86
  pageId: any;
80
87
  kpi_breadcrumbs_container: any;
81
- constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: LandingComponentService, toastr: ToastrService, router: Router, datasetService: LandingApplicationDatssetsCall);
88
+ operatorName: any;
89
+ defaultViewIds: any;
90
+ defaultViewIdsOnPageRefresh: any;
91
+ isPopupView: boolean;
92
+ modalConfigs: any;
93
+ defaultMatchedFilters: {
94
+ operationFilter: {
95
+ startDate: string;
96
+ endDate: string;
97
+ };
98
+ };
99
+ isDefaultFilterParams: boolean;
100
+ viewParams: any;
101
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: LandingComponentService, toastr: ToastrService, router: Router, datasetService: LandingApplicationDatssetsCall, storage: AppLandingLayoutLocalStorage);
82
102
  ngOnInit(): void;
83
103
  getFiltersForTemplate(filter: any): Promise<void>;
84
104
  getPadeDataSource(context: any): Promise<void>;
@@ -94,7 +114,9 @@ export declare class LandingComponentComponent implements OnInit {
94
114
  getContextClick(event: any): void;
95
115
  getRowClick(event: any): Promise<void>;
96
116
  getViewByRowCLickForHourlyChart(event: any, node: any): void;
117
+ getModalViewByRowCLick(event: any, view: any): Promise<void>;
97
118
  getViewByRowCLick(event: any, view: any): Promise<void>;
119
+ replaceAssociatedParams(template: string, params: any, appliedFilters: any): string;
98
120
  scrollToBottom(container: HTMLElement): void;
99
121
  findWidgetById(configs: any[], id: string): any | undefined;
100
122
  updateOperatorData(key_name: string[], value_data: any): any;
@@ -104,6 +126,13 @@ export declare class LandingComponentComponent implements OnInit {
104
126
  getRearchResultFromInputBox(inputValue: any, viewConfig: any, filterObject: any): void;
105
127
  submitFilter(): void;
106
128
  getWidgetFilterForTemplate(value: any): void;
129
+ loadDataByOperator(opName: any): Promise<void>;
130
+ getContextFilterData(value: any): Promise<void>;
131
+ parseInput(input: any): any;
132
+ getDrilldownDisplayByUrlParams(all_views: any): void;
133
+ getFiltersForQueryParams(operators: any, filters: any, viewParams: any): void;
134
+ getDrildownFilter(drildownFilter: any, defaultFilter: any): any;
135
+ getTitleParams(items: any): string;
107
136
  static ɵfac: i0.ɵɵFactoryDeclaration<LandingComponentComponent, never>;
108
137
  static ɵcmp: i0.ɵɵComponentDeclaration<LandingComponentComponent, "app-landing-component", never, {}, {}, never, never, false>;
109
138
  }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppLandingLayoutLocalStorage {
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<AppLandingLayoutLocalStorage, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppLandingLayoutLocalStorage>;
12
+ }
@@ -118,6 +118,7 @@ export declare class KpiWithDataSetTestComponent implements OnInit {
118
118
  getViewByRowCLickForHourlyChart(event: any, node: any): void;
119
119
  getModalViewByRowCLick(event: any, view: any): Promise<void>;
120
120
  getViewByRowCLick(event: any, view: any): Promise<void>;
121
+ replaceAssociatedParams(template: string, params: any, appliedFilters: any): string;
121
122
  scrollToBottom(container: HTMLElement): void;
122
123
  findWidgetById(configs: any[], id: string): any | undefined;
123
124
  updateOperatorData(key_name: string[], value_data: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamma-app-controller",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
package/public-api.d.ts CHANGED
@@ -88,6 +88,7 @@ export * from './lib/template-module/defaulLandingComponent/landing-component.co
88
88
  export * from './lib/template-module/defaulLandingComponent/defaultLandingComponent.module';
89
89
  export * from './lib/template-module/defaulLandingComponent/landing-component.service';
90
90
  export * from './lib/template-module/defaulLandingComponent/landing-dataset-call.service';
91
+ export * from './lib/template-module/defaulLandingComponent/landing.tokenStorage.servce';
91
92
  export * from './lib/template-module/bookmarked-template/bookmarked-template.component';
92
93
  export * from './lib/template-module/bookmarked-template/bookmarkedTemplate.module';
93
94
  export * from './lib/template-module/bookmarked-template/bookmarked-layout.service';