gamma-app-controller 1.2.28 → 1.2.30

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 (58) hide show
  1. package/esm2020/lib/application-controller/application-content.service.mjs +3 -3
  2. package/esm2020/lib/application-controller/application-controller.module.mjs +9 -5
  3. package/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +2 -2
  4. package/esm2020/lib/application-controller/application-dataset-component/create-dataset-sql/create-dataset-sql.component.mjs +3 -3
  5. package/esm2020/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.mjs +15 -39
  6. package/esm2020/lib/application-controller/application-menu-controller/application-menus/application-menus.component.mjs +5 -5
  7. package/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +4 -1
  8. package/esm2020/lib/application-controller/common.mjs +1 -1
  9. package/esm2020/lib/application-controller/page-controller/page-controller/page-controller.component.mjs +12 -6
  10. package/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +19 -4
  11. package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +8 -4
  12. package/esm2020/lib/application-controller/support-components/dash-today-previous/dash-today-previous.component.mjs +3 -3
  13. package/esm2020/lib/application-controller/support-components/table-with-bar/table-with-bar.component.mjs +9 -5
  14. package/esm2020/lib/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.mjs +3 -3
  15. package/esm2020/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +1 -4
  16. package/esm2020/lib/shared/gamma-bread-crumbs/bread-crumbs.component.mjs +1 -3
  17. package/esm2020/lib/shared/permission-helper.mjs +54 -0
  18. package/esm2020/lib/shared/security_principal.mjs +3 -0
  19. package/esm2020/lib/shared/shared.module.mjs +119 -0
  20. package/esm2020/lib/shared/template-dataset-call-service.mjs +376 -0
  21. package/esm2020/lib/shared/user-access/user-access.component.mjs +51 -0
  22. package/esm2020/lib/template-module/KpiCreationModule/create-kpi-tree.component.mjs +38 -4
  23. package/esm2020/lib/template-module/KpiCreationModule/kpiCreation.module.mjs +7 -3
  24. package/esm2020/lib/template-module/bookmarked-template/bookmarked-dataset-call.service.mjs +12 -344
  25. package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +2 -2
  26. package/esm2020/lib/template-module/defaulLandingComponent/landing-dataset-call.service.mjs +12 -344
  27. package/esm2020/lib/template-module/defaulLandingMultiLayoutComponent/defaulLandingMultiLayout.component.mjs +1 -3
  28. package/esm2020/lib/template-module/defaulLandingMultiLayoutComponent/multi-landing-dataset-call.service.mjs +12 -344
  29. package/esm2020/lib/template-module/kpiWithMultiLayout/multi-layout-dataset-call.service.mjs +13 -345
  30. package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +55 -26
  31. package/esm2020/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.mjs +12 -347
  32. package/esm2020/public-api.mjs +6 -1
  33. package/fesm2015/gamma-app-controller.mjs +1863 -2879
  34. package/fesm2015/gamma-app-controller.mjs.map +1 -1
  35. package/fesm2020/gamma-app-controller.mjs +1237 -2257
  36. package/fesm2020/gamma-app-controller.mjs.map +1 -1
  37. package/lib/application-controller/application-content.service.d.ts +1 -1
  38. package/lib/application-controller/application-controller.module.d.ts +2 -1
  39. package/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.d.ts +2 -4
  40. package/lib/application-controller/page-controller/page-controller/page-controller.component.d.ts +3 -1
  41. package/lib/application-controller/support-components/dash-chart/dash-chart.component.d.ts +2 -0
  42. package/lib/application-controller/support-components/dash-table/dash-table.component.d.ts +1 -0
  43. package/lib/application-controller/support-components/table-with-bar/table-with-bar.component.d.ts +1 -0
  44. package/lib/shared/permission-helper.d.ts +8 -0
  45. package/lib/shared/security_principal.d.ts +2 -0
  46. package/lib/shared/shared.module.d.ts +10 -0
  47. package/lib/shared/template-dataset-call-service.d.ts +23 -0
  48. package/lib/shared/user-access/user-access.component.d.ts +20 -0
  49. package/lib/template-module/KpiCreationModule/create-kpi-tree.component.d.ts +2 -0
  50. package/lib/template-module/KpiCreationModule/kpiCreation.module.d.ts +2 -1
  51. package/lib/template-module/bookmarked-template/bookmarked-dataset-call.service.d.ts +6 -13
  52. package/lib/template-module/defaulLandingComponent/landing-dataset-call.service.d.ts +5 -12
  53. package/lib/template-module/defaulLandingMultiLayoutComponent/multi-landing-dataset-call.service.d.ts +5 -12
  54. package/lib/template-module/kpiWithMultiLayout/multi-layout-dataset-call.service.d.ts +6 -13
  55. package/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.d.ts +4 -2
  56. package/lib/template-module/kpiWithSingleLayout/single-layout-dataset-call.service.d.ts +5 -14
  57. package/package.json +1 -1
  58. package/public-api.d.ts +5 -0
@@ -86,7 +86,7 @@ export declare class ApplicationContentService {
86
86
  pagintedActivityLogs(parms: any, api: any): Observable<any>;
87
87
  getApiData(): any;
88
88
  configureAppMenuConfig(manueConfig: any): Observable<any>;
89
- getListOfParentAppMenu(): Observable<any>;
89
+ listAppMenuConfigs(): Observable<any>;
90
90
  getAppAppMenuConfigById(manuid: any): Observable<any>;
91
91
  updateAppMenuConfig(manueConfig: any): Observable<any>;
92
92
  deleteAppMenuConfig(menuId: any): any;
@@ -55,8 +55,9 @@ import * as i53 from "@angular/material/button";
55
55
  import * as i54 from "@angular/material/divider";
56
56
  import * as i55 from "@angular/material/menu";
57
57
  import * as i56 from "../shared/loading/loadingModule";
58
+ import * as i57 from "../shared/shared.module";
58
59
  export declare class PackageApplicationControllerModule {
59
60
  static ɵfac: i0.ɵɵFactoryDeclaration<PackageApplicationControllerModule, never>;
60
- 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.CreateDatasetComponent, typeof i14.TableWithBarComponent, typeof i15.CreateDatasetSqlComponent, typeof i16.CreateDatasetJsonComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i30.SqlPipe, typeof i31.SafeHtmlPipe, typeof i32.CommonHeaderComponent, typeof i33.GoogleGeoMapComponent, typeof i34.GammaTableClumnBarChartComponent, typeof i35.ApplicationMenusComponent, typeof i36.ApplicationCreateMenuComponent, typeof i37.GammaGeoChartComponent, typeof i38.PageConfigMultilayoutComponent, typeof i39.CreateMetricsComponent, typeof i40.OnlineMetricsComponent, typeof i41.OflineMetricsComponent, typeof i42.AllMetricsConfigComponent, typeof i43.DashTodayPreviousComponent, typeof i44.SingleCardComponent, typeof i45.HeatMapSupportComponent, typeof i46.GammaHeatChartComponent], [typeof i47.CommonModule, typeof i48.RouterModule, typeof i49.DevExtremeModule, typeof i49.DxButtonModule, typeof i49.DxCheckBoxModule, typeof i49.DxNumberBoxModule, typeof i49.DxDataGridModule, typeof i49.DxDropDownBoxModule, typeof i49.DxTreeViewModule, typeof i49.DxScrollViewModule, typeof i49.DxFormModule, typeof i49.DxAccordionModule, typeof i50.FormsModule, typeof i49.DxTagBoxModule, typeof i50.ReactiveFormsModule, typeof i51.MatIconModule, typeof i49.DxHtmlEditorModule, typeof i49.DxBulletModule, typeof i49.DxChartModule, typeof i49.DxDateBoxModule, typeof i49.DxLoadPanelModule, typeof i49.DxLookupModule, typeof i49.DxPivotGridModule, typeof i49.DxTemplateModule, typeof i49.DxTextAreaModule, typeof i49.DxValidationSummaryModule, typeof i49.DxValidatorModule, typeof i49.DxCalendarModule, typeof i49.DxTooltipModule, typeof i49.DxContextMenuModule, typeof i49.DxLoadIndicatorModule, typeof i49.DxPieChartModule, typeof i52.MatTooltipModule, typeof i49.DxPopupModule, typeof i49.DxSelectBoxModule, typeof i49.DxTextBoxModule, typeof i49.DxTreeViewModule, typeof i53.MatButtonModule, typeof i54.MatDividerModule, typeof i55.MatMenuModule, typeof i51.MatIconModule, typeof i56.LoadingModule], [typeof i48.RouterModule, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i13.CreateDatasetComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i32.CommonHeaderComponent, typeof i6.GeoMapComponent, typeof i31.SafeHtmlPipe, typeof i33.GoogleGeoMapComponent, typeof i34.GammaTableClumnBarChartComponent, typeof i37.GammaGeoChartComponent, typeof i38.PageConfigMultilayoutComponent, typeof i39.CreateMetricsComponent, typeof i40.OnlineMetricsComponent, typeof i41.OflineMetricsComponent, typeof i42.AllMetricsConfigComponent, typeof i43.DashTodayPreviousComponent, typeof i45.HeatMapSupportComponent, typeof i46.GammaHeatChartComponent]>;
61
+ 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.CreateDatasetComponent, typeof i14.TableWithBarComponent, typeof i15.CreateDatasetSqlComponent, typeof i16.CreateDatasetJsonComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i30.SqlPipe, typeof i31.SafeHtmlPipe, typeof i32.CommonHeaderComponent, typeof i33.GoogleGeoMapComponent, typeof i34.GammaTableClumnBarChartComponent, typeof i35.ApplicationMenusComponent, typeof i36.ApplicationCreateMenuComponent, typeof i37.GammaGeoChartComponent, typeof i38.PageConfigMultilayoutComponent, typeof i39.CreateMetricsComponent, typeof i40.OnlineMetricsComponent, typeof i41.OflineMetricsComponent, typeof i42.AllMetricsConfigComponent, typeof i43.DashTodayPreviousComponent, typeof i44.SingleCardComponent, typeof i45.HeatMapSupportComponent, typeof i46.GammaHeatChartComponent], [typeof i47.CommonModule, typeof i48.RouterModule, typeof i49.DevExtremeModule, typeof i49.DxButtonModule, typeof i49.DxCheckBoxModule, typeof i49.DxNumberBoxModule, typeof i49.DxDataGridModule, typeof i49.DxDropDownBoxModule, typeof i49.DxTreeViewModule, typeof i49.DxScrollViewModule, typeof i49.DxFormModule, typeof i49.DxAccordionModule, typeof i50.FormsModule, typeof i49.DxTagBoxModule, typeof i50.ReactiveFormsModule, typeof i51.MatIconModule, typeof i49.DxHtmlEditorModule, typeof i49.DxBulletModule, typeof i49.DxChartModule, typeof i49.DxDateBoxModule, typeof i49.DxLoadPanelModule, typeof i49.DxLookupModule, typeof i49.DxPivotGridModule, typeof i49.DxTemplateModule, typeof i49.DxTextAreaModule, typeof i49.DxValidationSummaryModule, typeof i49.DxValidatorModule, typeof i49.DxCalendarModule, typeof i49.DxTooltipModule, typeof i49.DxContextMenuModule, typeof i49.DxLoadIndicatorModule, typeof i49.DxPieChartModule, typeof i52.MatTooltipModule, typeof i49.DxPopupModule, typeof i49.DxSelectBoxModule, typeof i49.DxTextBoxModule, typeof i49.DxTreeViewModule, typeof i53.MatButtonModule, typeof i54.MatDividerModule, typeof i55.MatMenuModule, typeof i51.MatIconModule, typeof i56.LoadingModule, typeof i57.SharedModule], [typeof i48.RouterModule, typeof i8.DashChartComponent, typeof i9.DashTableComponent, typeof i10.ApplicationFilterComponent, typeof i13.CreateDatasetComponent, typeof i17.AppTitleComponent, typeof i18.LoaderComponent, typeof i19.GamamWidgetComponent, typeof i20.GammaAdvanceFilterComponent, typeof i21.GammaAdvanceChartComponent, typeof i22.GammaAdvanceOperatorTableComponent, typeof i23.AppAdvanceHeaderComponent, typeof i24.GammaTodayPreviousComponent, typeof i25.GammaTableWithPercentageComponent, typeof i26.contentSafeHtml, typeof i27.GammSingleNumberCardComponent, typeof i28.AdvanceWidgetHeaderFilterComponent, typeof i29.BreadCrumbsComponent, typeof i32.CommonHeaderComponent, typeof i6.GeoMapComponent, typeof i31.SafeHtmlPipe, typeof i33.GoogleGeoMapComponent, typeof i34.GammaTableClumnBarChartComponent, typeof i37.GammaGeoChartComponent, typeof i38.PageConfigMultilayoutComponent, typeof i39.CreateMetricsComponent, typeof i40.OnlineMetricsComponent, typeof i41.OflineMetricsComponent, typeof i42.AllMetricsConfigComponent, typeof i43.DashTodayPreviousComponent, typeof i45.HeatMapSupportComponent, typeof i46.GammaHeatChartComponent]>;
61
62
  static ɵinj: i0.ɵɵInjectorDeclaration<PackageApplicationControllerModule>;
62
63
  }
@@ -13,16 +13,14 @@ export declare class ApplicationCreateMenuComponent implements OnInit {
13
13
  menuObject: any;
14
14
  ismenuContainer: boolean;
15
15
  isContentType: boolean;
16
- menuType: string[];
17
- paparentMenuDatasource: any;
18
16
  userOptionContainer: any;
17
+ paparentMenuDatasource: any;
19
18
  defaultSelectedParent: any;
19
+ selectedQueryParamStr: string;
20
20
  constructor(commonservice: CommonService, service: ApplicationContentService, toasterService: ToastrService, activatedRoute: ActivatedRoute, router: Router);
21
21
  ngOnInit(): void;
22
22
  getParentMenuList(): void;
23
23
  getMenuType(e: any): void;
24
- addNewUser(): void;
25
- deleteUser(i: any): void;
26
24
  submitNewMenu(): void;
27
25
  updateMenu(): void;
28
26
  getMenuTidType(item: any): void;
@@ -30,6 +30,8 @@ export declare class PageControlerComponent implements OnInit {
30
30
  }[];
31
31
  private scrollContainer;
32
32
  selected_page: any;
33
+ userOptionContainer: any;
34
+ menuType: string[];
33
35
  constructor(router: Router, commonService: CommonService, service: ApplicationContentService, toastr: ToastrService, dynamicRouteService: DynamicRouteService);
34
36
  ngOnInit(): void;
35
37
  getFilterDataSet(): void;
@@ -38,7 +40,7 @@ export declare class PageControlerComponent implements OnInit {
38
40
  viewsPage(item: any): void;
39
41
  deleteTamplete(item: any): void;
40
42
  editTemplate(item: any): void;
41
- getSaveChartConfig(): void;
43
+ getSavePageConfig(): void;
42
44
  viewConfiguredTemplate(item: any): void;
43
45
  configuredTemplate(item: any): void;
44
46
  getCreateDashboard(): void;
@@ -40,6 +40,7 @@ export declare class DashChartComponent implements OnInit {
40
40
  size: string;
41
41
  chartType: string;
42
42
  chartAxis: string;
43
+ displayCenterLabel: boolean;
43
44
  legendDisplay: boolean;
44
45
  caption: string;
45
46
  palette: string;
@@ -76,6 +77,7 @@ export declare class DashChartComponent implements OnInit {
76
77
  allConfiguredPage: any;
77
78
  chartWithThreeDimentionDataSeries: any;
78
79
  isLoader: boolean;
80
+ userOptionContainer: any;
79
81
  getChartConfigOutPut: EventEmitter<any>;
80
82
  set chartconfigData(value: any);
81
83
  setActiveTab(tab: string): void;
@@ -47,6 +47,7 @@ export declare class DashTableComponent implements OnInit {
47
47
  isLoader: boolean;
48
48
  allConfiguredPage: any;
49
49
  selectedViewConfigs: any;
50
+ userOptionContainer: any;
50
51
  constructor(commonService: CommonService, cdr: ChangeDetectorRef, service: ApplicationContentService, taostr: ToastrService);
51
52
  activeTab: string;
52
53
  getTableConfigOutPut: EventEmitter<any>;
@@ -46,6 +46,7 @@ export declare class TableWithBarComponent implements OnInit {
46
46
  selectedTableViewType: any;
47
47
  isLoader: boolean;
48
48
  selectedViewConfigs: any;
49
+ userOptionContainer: any;
49
50
  constructor(commonService: CommonService, cdr: ChangeDetectorRef, service: ApplicationContentService, taostr: ToastrService);
50
51
  activeTab: string;
51
52
  createOtherComponentView: EventEmitter<any>;
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class PermissionHelper {
3
+ private securityPrincipal;
4
+ constructor(securityPrincipal: any);
5
+ getPermissionEntity(permission: any): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionHelper, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionHelper>;
8
+ }
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const APP_SECURITY_PRINCIPAL: InjectionToken<any>;
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./user-access/user-access.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "devextreme-angular";
6
+ export declare class SharedModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.UserAccessComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.DevExtremeModule, typeof i4.DxAccordionModule, typeof i4.DxButtonModule, typeof i4.DxCheckBoxModule, typeof i4.DxDataGridModule, typeof i4.DxDropDownBoxModule, typeof i4.DxFormModule, typeof i4.DxHtmlEditorModule, typeof i4.DxNumberBoxModule, typeof i4.DxPopupModule, typeof i4.DxSelectBoxModule, typeof i4.DxTagBoxModule, typeof i4.DxTextBoxModule, typeof i4.DxTreeViewModule, typeof i4.DxBulletModule, typeof i4.DxChartModule, typeof i4.DxDateBoxModule, typeof i4.DxLoadPanelModule, typeof i4.DxLookupModule, typeof i4.DxPivotGridModule, typeof i4.DxTemplateModule, typeof i4.DxTextAreaModule, typeof i4.DxValidationSummaryModule, typeof i4.DxValidatorModule, typeof i4.DxCalendarModule, typeof i4.DxTooltipModule, typeof i4.DxContextMenuModule, typeof i4.DxLoadIndicatorModule, typeof i4.DxPieChartModule, typeof i4.DxScrollViewModule], [typeof i1.UserAccessComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
10
+ }
@@ -0,0 +1,23 @@
1
+ import { ToastrService } from 'ngx-toastr';
2
+ import { kpicommonService } from '../application-controller/kpi-service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateDatasetCallService {
5
+ private kpiService;
6
+ private toastr;
7
+ private environment;
8
+ private securityPrincipal;
9
+ uniqueDataSetObject: any;
10
+ constructor(kpiService: kpicommonService, toastr: ToastrService, environment: any, securityPrincipal: any);
11
+ getDataFromDataSet(backendService: any, dataset: any, datasetId: string, filters: any): Promise<void>;
12
+ private getDataSetForMongo;
13
+ private getDatasetForImpala;
14
+ private getFormatObjectForColumn;
15
+ private transformDataForMFilter;
16
+ private getDatasetForSimpleApiImpala;
17
+ private getDatasetForPlainJson;
18
+ private getDatasetForSqlTemplate;
19
+ private transformDataForMFilterForSQl;
20
+ getUniqueDataSetObject(): any;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateDatasetCallService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<TemplateDatasetCallService>;
23
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CommonService } from '../../application-controller/common';
3
+ import * as i0 from "@angular/core";
4
+ export interface UserOption {
5
+ entityName: string;
6
+ entityValues: string[];
7
+ }
8
+ export declare class UserAccessComponent implements OnInit {
9
+ commonService: CommonService;
10
+ userOptionContainer: UserOption[];
11
+ userOptionContainerChange: EventEmitter<UserOption[]>;
12
+ menuType: string[];
13
+ constructor(commonService: CommonService);
14
+ ngOnInit(): void;
15
+ addNewUser(): void;
16
+ deleteUser(index: number): void;
17
+ emitChanges(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserAccessComponent, "app-user-access", never, { "userOptionContainer": "userOptionContainer"; }, { "userOptionContainerChange": "userOptionContainerChange"; }, never, never, false>;
20
+ }
@@ -43,6 +43,7 @@ export declare class CreateKpiTreeComponent implements OnInit {
43
43
  parante_kpi_name: any;
44
44
  isComponentUpdata: boolean;
45
45
  templateDataSource: any;
46
+ userOptionContainer: any;
46
47
  constructor(commonService: CommonService, formBuilder: FormBuilder, service: CreateKpIService, toastr: ToastrService, router: Router);
47
48
  ngOnInit(): void;
48
49
  getAppPageConfigs(): void;
@@ -69,6 +70,7 @@ export declare class CreateKpiTreeComponent implements OnInit {
69
70
  reseteUpdateKpiForm(): void;
70
71
  submitNewKpi(): void;
71
72
  getNewParrentKpiItemValue(e: any): void;
73
+ makeNewKpiWithUserEntity(): void;
72
74
  routeToKpiConfig(): void;
73
75
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateKpiTreeComponent, never>;
74
76
  static ɵcmp: i0.ɵɵComponentDeclaration<CreateKpiTreeComponent, "app-create-kpi", never, {}, {}, never, never, false>;
@@ -16,8 +16,9 @@ import * as i14 from "@angular/material/tooltip";
16
16
  import * as i15 from "@angular/material/button";
17
17
  import * as i16 from "@angular/material/divider";
18
18
  import * as i17 from "@angular/material/menu";
19
+ import * as i18 from "../../shared/shared.module";
19
20
  export declare class KpiCreationModule {
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<KpiCreationModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<KpiCreationModule, [typeof i1.CreateKpiTreeComponent, typeof i2.TreeviewComponent, typeof i3.TreeViewAsideItemComponent, typeof i4.TreeViewBasicItemComponent, typeof i5.TreeViewCollapsableItemComponent, typeof i6.TreeViewDividerItemComponent, typeof i7.TreeViewGroupItemComponent, typeof i8.TreeViewSpacerItemComponent], [typeof i9.CommonModule, typeof i10.LoadingModule, typeof i9.CommonModule, typeof i11.DevExtremeModule, typeof i11.DxButtonModule, typeof i11.DxCheckBoxModule, typeof i11.DxNumberBoxModule, typeof i11.DxDataGridModule, typeof i11.DxDropDownBoxModule, typeof i11.DxTreeViewModule, typeof i11.DxScrollViewModule, typeof i11.DxFormModule, typeof i11.DxAccordionModule, typeof i12.FormsModule, typeof i11.DxTagBoxModule, typeof i12.ReactiveFormsModule, typeof i13.MatIconModule, typeof i11.DxHtmlEditorModule, typeof i11.DxBulletModule, typeof i11.DxChartModule, typeof i11.DxDateBoxModule, typeof i11.DxLoadPanelModule, typeof i11.DxLookupModule, typeof i11.DxPivotGridModule, typeof i11.DxTemplateModule, typeof i11.DxTextAreaModule, typeof i11.DxValidationSummaryModule, typeof i11.DxValidatorModule, typeof i11.DxCalendarModule, typeof i11.DxTooltipModule, typeof i11.DxContextMenuModule, typeof i11.DxLoadIndicatorModule, typeof i11.DxPieChartModule, typeof i14.MatTooltipModule, typeof i11.DxPopupModule, typeof i11.DxSelectBoxModule, typeof i11.DxTextBoxModule, typeof i11.DxTreeViewModule, typeof i15.MatButtonModule, typeof i16.MatDividerModule, typeof i17.MatMenuModule, typeof i13.MatIconModule, typeof i10.LoadingModule], [typeof i1.CreateKpiTreeComponent, typeof i2.TreeviewComponent, typeof i3.TreeViewAsideItemComponent, typeof i4.TreeViewBasicItemComponent, typeof i5.TreeViewCollapsableItemComponent, typeof i6.TreeViewDividerItemComponent, typeof i7.TreeViewGroupItemComponent, typeof i8.TreeViewSpacerItemComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KpiCreationModule, [typeof i1.CreateKpiTreeComponent, typeof i2.TreeviewComponent, typeof i3.TreeViewAsideItemComponent, typeof i4.TreeViewBasicItemComponent, typeof i5.TreeViewCollapsableItemComponent, typeof i6.TreeViewDividerItemComponent, typeof i7.TreeViewGroupItemComponent, typeof i8.TreeViewSpacerItemComponent], [typeof i9.CommonModule, typeof i10.LoadingModule, typeof i9.CommonModule, typeof i11.DevExtremeModule, typeof i11.DxButtonModule, typeof i11.DxCheckBoxModule, typeof i11.DxNumberBoxModule, typeof i11.DxDataGridModule, typeof i11.DxDropDownBoxModule, typeof i11.DxTreeViewModule, typeof i11.DxScrollViewModule, typeof i11.DxFormModule, typeof i11.DxAccordionModule, typeof i12.FormsModule, typeof i11.DxTagBoxModule, typeof i12.ReactiveFormsModule, typeof i13.MatIconModule, typeof i11.DxHtmlEditorModule, typeof i11.DxBulletModule, typeof i11.DxChartModule, typeof i11.DxDateBoxModule, typeof i11.DxLoadPanelModule, typeof i11.DxLookupModule, typeof i11.DxPivotGridModule, typeof i11.DxTemplateModule, typeof i11.DxTextAreaModule, typeof i11.DxValidationSummaryModule, typeof i11.DxValidatorModule, typeof i11.DxCalendarModule, typeof i11.DxTooltipModule, typeof i11.DxContextMenuModule, typeof i11.DxLoadIndicatorModule, typeof i11.DxPieChartModule, typeof i14.MatTooltipModule, typeof i11.DxPopupModule, typeof i11.DxSelectBoxModule, typeof i11.DxTextBoxModule, typeof i11.DxTreeViewModule, typeof i15.MatButtonModule, typeof i16.MatDividerModule, typeof i17.MatMenuModule, typeof i13.MatIconModule, typeof i10.LoadingModule, typeof i18.SharedModule], [typeof i1.CreateKpiTreeComponent, typeof i2.TreeviewComponent, typeof i3.TreeViewAsideItemComponent, typeof i4.TreeViewBasicItemComponent, typeof i5.TreeViewCollapsableItemComponent, typeof i6.TreeViewDividerItemComponent, typeof i7.TreeViewGroupItemComponent, typeof i8.TreeViewSpacerItemComponent]>;
22
23
  static ɵinj: i0.ɵɵInjectorDeclaration<KpiCreationModule>;
23
24
  }
@@ -1,24 +1,17 @@
1
+ import { BookmarkedService } from './bookmarked-layout.service';
1
2
  import { ToastrService } from 'ngx-toastr';
2
3
  import { kpicommonService } from '../../application-controller/kpi-service';
3
- import { BookmarkedService } from './bookmarked-layout.service';
4
+ import { TemplateDatasetCallService } from '../../shared/template-dataset-call-service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class BookmarkedApplicationDatssetsCall {
6
- private service;
7
+ private backend;
8
+ private common;
7
9
  private kpiService;
8
10
  private toastr;
9
11
  private environment;
10
- uniqueDataSetObject: {};
11
- constructor(service: BookmarkedService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
+ constructor(backend: BookmarkedService, common: TemplateDatasetCallService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
13
  getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
13
- getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
14
- getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
15
- getFormatObjectForColumn(columns: any): any[];
16
- transformDataForMFilter(filterdata: any, mapData: any): any[];
17
- getDatasetForSimpleApiImpala(dataset: any, datasetId: string, filters: any): Promise<void>;
18
- getDatasetForPlainJson(dataset: any, datasetId: any, filter: any): Promise<void>;
19
- getDatasetForSqlTemplate(dataset: any, datasetId: any, filters: any): Promise<void>;
20
- transformDataForMFilterForSQl(filterdata: any, mapData: any): any[];
21
- getUniqueDataSetObject(): {};
14
+ getUniqueDataSetObject(): any;
22
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkedApplicationDatssetsCall, never>;
23
16
  static ɵprov: i0.ɵɵInjectableDeclaration<BookmarkedApplicationDatssetsCall>;
24
17
  }
@@ -1,24 +1,17 @@
1
1
  import { ToastrService } from 'ngx-toastr';
2
2
  import { kpicommonService } from '../../application-controller/kpi-service';
3
+ import { TemplateDatasetCallService } from '../../shared/template-dataset-call-service';
3
4
  import { LandingComponentService } from './landing-component.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class LandingApplicationDatssetsCall {
6
- private service;
7
+ private backend;
8
+ private common;
7
9
  private kpiService;
8
10
  private toastr;
9
11
  private environment;
10
- uniqueDataSetObject: {};
11
- constructor(service: LandingComponentService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
+ constructor(backend: LandingComponentService, common: TemplateDatasetCallService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
13
  getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
13
- getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
14
- getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
15
- getFormatObjectForColumn(columns: any): any[];
16
- transformDataForMFilter(filterdata: any, mapData: any): any[];
17
- getDatasetForSimpleApiImpala(dataset: any, datasetId: string, filters: any): Promise<void>;
18
- getDatasetForPlainJson(dataset: any, datasetId: any, filter: any): Promise<void>;
19
- getDatasetForSqlTemplate(dataset: any, datasetId: any, filters: any): Promise<void>;
20
- transformDataForMFilterForSQl(filterdata: any, mapData: any): any[];
21
- getUniqueDataSetObject(): {};
14
+ getUniqueDataSetObject(): any;
22
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LandingApplicationDatssetsCall, never>;
23
16
  static ɵprov: i0.ɵɵInjectableDeclaration<LandingApplicationDatssetsCall>;
24
17
  }
@@ -1,24 +1,17 @@
1
1
  import { ToastrService } from 'ngx-toastr';
2
2
  import { kpicommonService } from '../../application-controller/kpi-service';
3
+ import { TemplateDatasetCallService } from '../../shared/template-dataset-call-service';
3
4
  import { LandingMultiLayoutComponentService } from './defaulLandingMultiLayout.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class LandingMultiLayoutApplicationDatssetsCall {
6
- private service;
7
+ private backend;
8
+ private common;
7
9
  private kpiService;
8
10
  private toastr;
9
11
  private environment;
10
- uniqueDataSetObject: {};
11
- constructor(service: LandingMultiLayoutComponentService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
+ constructor(backend: LandingMultiLayoutComponentService, common: TemplateDatasetCallService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
13
  getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
13
- getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
14
- getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
15
- getFormatObjectForColumn(columns: any): any[];
16
- transformDataForMFilter(filterdata: any, mapData: any): any[];
17
- getDatasetForSimpleApiImpala(dataset: any, datasetId: string, filters: any): Promise<void>;
18
- getDatasetForPlainJson(dataset: any, datasetId: any, filter: any): Promise<void>;
19
- getDatasetForSqlTemplate(dataset: any, datasetId: any, filters: any): Promise<void>;
20
- transformDataForMFilterForSQl(filterdata: any, mapData: any): any[];
21
- getUniqueDataSetObject(): {};
14
+ getUniqueDataSetObject(): any;
22
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LandingMultiLayoutApplicationDatssetsCall, never>;
23
16
  static ɵprov: i0.ɵɵInjectableDeclaration<LandingMultiLayoutApplicationDatssetsCall>;
24
17
  }
@@ -1,24 +1,17 @@
1
1
  import { ToastrService } from 'ngx-toastr';
2
- import { KpiWithSingleLayoutService } from '../kpiWithSingleLayout/kpi-single-layout.service';
3
2
  import { kpicommonService } from '../../application-controller/kpi-service';
3
+ import { TemplateDatasetCallService } from '../../shared/template-dataset-call-service';
4
+ import { KpiWithMultiLayoutService } from './kpi-multi-layout.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class MultilayoutApplicationDatssetsCall {
6
- private service;
7
+ private backend;
8
+ private common;
7
9
  private kpiService;
8
10
  private toastr;
9
11
  private environment;
10
- uniqueDataSetObject: {};
11
- constructor(service: KpiWithSingleLayoutService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
+ constructor(backend: KpiWithMultiLayoutService, common: TemplateDatasetCallService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
12
13
  getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
13
- getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
14
- getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
15
- getFormatObjectForColumn(columns: any): any[];
16
- transformDataForMFilter(filterdata: any, mapData: any): any[];
17
- getDatasetForSimpleApiImpala(dataset: any, datasetId: string, filters: any): Promise<void>;
18
- getDatasetForPlainJson(dataset: any, datasetId: any, filter: any): Promise<void>;
19
- getDatasetForSqlTemplate(dataset: any, datasetId: any, filters: any): Promise<void>;
20
- transformDataForMFilterForSQl(filterdata: any, mapData: any): any[];
21
- getUniqueDataSetObject(): {};
14
+ getUniqueDataSetObject(): any;
22
15
  static ɵfac: i0.ɵɵFactoryDeclaration<MultilayoutApplicationDatssetsCall, never>;
23
16
  static ɵprov: i0.ɵɵInjectableDeclaration<MultilayoutApplicationDatssetsCall>;
24
17
  }
@@ -15,6 +15,7 @@ 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
17
  import { AppSingleLayoutLocalStorage } from './single.tokenStorage.servce';
18
+ import { PermissionHelper } from '../../shared/permission-helper';
18
19
  import * as i0 from "@angular/core";
19
20
  export declare class KpiWithDataSetTestComponent implements OnInit {
20
21
  commonService: CommonService;
@@ -28,6 +29,7 @@ export declare class KpiWithDataSetTestComponent implements OnInit {
28
29
  private chatApiService;
29
30
  private storage;
30
31
  private cdr;
32
+ private permissionHelper;
31
33
  dashbord_container: any;
32
34
  selected_width: any;
33
35
  widget_width: string[];
@@ -101,11 +103,11 @@ export declare class KpiWithDataSetTestComponent implements OnInit {
101
103
  };
102
104
  isDefaultFilterParams: boolean;
103
105
  viewParams: any;
104
- constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: KpiWithSingleLayoutService, toastr: ToastrService, router: Router, datasetService: SingleLayoutApplicationDatssetsCall, chatApiService: ApplicationChatApiCallService, storage: AppSingleLayoutLocalStorage, cdr: ChangeDetectorRef);
106
+ constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: KpiWithSingleLayoutService, toastr: ToastrService, router: Router, datasetService: SingleLayoutApplicationDatssetsCall, chatApiService: ApplicationChatApiCallService, storage: AppSingleLayoutLocalStorage, cdr: ChangeDetectorRef, permissionHelper: PermissionHelper);
105
107
  ngOnInit(): void;
106
108
  getFiltersForTemplate(filter: any): Promise<void>;
107
109
  getWidgetFilterItems(widgetFilterData: any): any;
108
- getPadeDataSource(context: any): Promise<void>;
110
+ getPageDataSource(context: any): Promise<void>;
109
111
  getComponentConfigSet(): void;
110
112
  getDataSet(): void;
111
113
  createDivElements(datasetById: any, context: any): Promise<void>;
@@ -1,26 +1,17 @@
1
1
  import { ToastrService } from 'ngx-toastr';
2
2
  import { kpicommonService } from '../../application-controller/kpi-service';
3
- import { Router } from '@angular/router';
3
+ import { TemplateDatasetCallService } from '../../shared/template-dataset-call-service';
4
4
  import { KpiWithSingleLayoutService } from './kpi-single-layout.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SingleLayoutApplicationDatssetsCall {
7
- private service;
7
+ private backend;
8
+ private common;
8
9
  private kpiService;
9
10
  private toastr;
10
- private router;
11
11
  private environment;
12
- uniqueDataSetObject: {};
13
- constructor(service: KpiWithSingleLayoutService, kpiService: kpicommonService, toastr: ToastrService, router: Router, environment: any);
12
+ constructor(backend: KpiWithSingleLayoutService, common: TemplateDatasetCallService, kpiService: kpicommonService, toastr: ToastrService, environment: any);
14
13
  getDataFromDataSet(dataset: any, datasetId: any, filters: any): Promise<void>;
15
- getDataSetForMongo(dataset: any, datasetId: any): Promise<void>;
16
- getDatasetForImpala(dataset: any, datasetId: any, filters: any): Promise<void>;
17
- getFormatObjectForColumn(columns: any): any[];
18
- transformDataForMFilter(filterdata: any, mapData: any): any[];
19
- getDatasetForSimpleApiImpala(dataset: any, datasetId: string, filters: any): Promise<void>;
20
- getDatasetForPlainJson(dataset: any, datasetId: any, filter: any): Promise<void>;
21
- getDatasetForSqlTemplate(dataset: any, datasetId: any, filters: any): Promise<void>;
22
- transformDataForMFilterForSQl(filterdata: any, mapData: any): any[];
23
- getUniqueDataSetObject(): {};
14
+ getUniqueDataSetObject(): any;
24
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SingleLayoutApplicationDatssetsCall, never>;
25
16
  static ɵprov: i0.ɵɵInjectableDeclaration<SingleLayoutApplicationDatssetsCall>;
26
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamma-app-controller",
3
- "version": "1.2.28",
3
+ "version": "1.2.30",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
package/public-api.d.ts CHANGED
@@ -33,6 +33,8 @@ export * from './lib/application-controller/support-components/geo-map/geo-map.c
33
33
  export * from './lib/shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
34
34
  export * from './lib/shared/advanced-component/google-geo-map/google-geo-map.component';
35
35
  export * from './lib/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
36
+ export * from './lib/shared/user-access/user-access.component';
37
+ export * from './lib/shared/shared.module';
36
38
  export * from './lib/application-controller/page-controller/page-config/page-config.component';
37
39
  export * from './lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component';
38
40
  export * from './lib/application-controller/page-controller/page-controller/page-controller.component';
@@ -98,3 +100,6 @@ export * from './lib/template-module/bookmarked-template/bookmarked-template.com
98
100
  export * from './lib/template-module/bookmarked-template/bookmarkedTemplate.module';
99
101
  export * from './lib/template-module/bookmarked-template/bookmarked-layout.service';
100
102
  export * from './lib/template-module/bookmarked-template/bookmarked-dataset-call.service';
103
+ export * from './lib/shared/template-dataset-call-service';
104
+ export * from './lib/shared/security_principal';
105
+ export * from './lib/shared/permission-helper';