gamma-app-controller 1.1.25 → 1.1.27
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 +20 -20
- package/esm2020/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-dataset-component/create-dataset/create-dataset.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-filter/application-filter.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-menu-controller/application-menus/application-menus.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-metric-config/all-metrics-config/all-metrics-config.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-metric-config/create-metrics/create-metrics.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-view-components/application-views/application-views.component.mjs +1 -1
- package/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +1 -1
- package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +11 -11
- package/esm2020/lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component.mjs +10 -10
- package/esm2020/lib/application-controller/page-controller/page-controller/page-controller.component.mjs +1 -1
- package/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +1 -1
- package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +1 -1
- package/esm2020/lib/application-controller/support-components/dash-today-previous/dash-today-previous.component.mjs +1 -1
- package/esm2020/lib/application-controller/support-components/geo-map/geo-map.component.mjs +2 -2
- package/esm2020/lib/application-controller/support-components/heat-map/heat-map.component.mjs +1 -1
- package/esm2020/lib/application-controller/support-components/single-card/single-card.component.mjs +1 -1
- package/esm2020/lib/application-controller/support-components/table-with-bar/table-with-bar.component.mjs +2 -2
- package/esm2020/lib/shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component.mjs +116 -0
- package/esm2020/lib/shared/advanced-component/app-advance-header/app-header.component.mjs +306 -0
- package/esm2020/lib/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.mjs +80 -0
- package/esm2020/lib/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.mjs +379 -0
- package/esm2020/lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +188 -0
- package/esm2020/lib/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component.mjs +435 -0
- package/esm2020/lib/shared/advanced-component/gamma-heatmap/gamma-heatmap.component.mjs +334 -0
- package/esm2020/lib/shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component.mjs +155 -0
- package/esm2020/lib/shared/advanced-component/gamma-table-with-percentage/contentSafeHtml.mjs +20 -0
- package/esm2020/lib/shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component.mjs +187 -0
- package/esm2020/lib/shared/advanced-component/gamma-today-previous/gamma-today-previous.component.mjs +86 -0
- package/esm2020/lib/shared/advanced-component/google-geo-map/google-geo-map.component.mjs +439 -0
- package/esm2020/lib/shared/app-title/app-title.component.mjs +67 -0
- package/esm2020/lib/shared/gamam-widget/gamam-widget.component.mjs +35 -0
- package/esm2020/lib/shared/gamma-advance-filter/gamma-advance-filter.component.mjs +273 -0
- package/esm2020/lib/shared/gamma-bread-crumbs/bread-crumbs.component.mjs +142 -0
- package/esm2020/lib/shared/kpi-comon-service.mjs +537 -0
- package/esm2020/lib/{application-controller/shared → shared}/loader/loader.component.mjs +1 -1
- package/esm2020/lib/{application-controller/shared → shared}/loading/loading.component.mjs +1 -1
- package/esm2020/lib/shared/loading/loadingModule.mjs +28 -0
- package/esm2020/lib/shared/safeHtmlPipe.mjs +20 -0
- package/esm2020/lib/template-module/KpiCreationModule/create-kpi-tree.component.mjs +381 -0
- package/esm2020/lib/template-module/KpiCreationModule/createKpi.service.mjs +90 -0
- package/esm2020/lib/template-module/KpiCreationModule/kpiCreation.module.mjs +184 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animation.mjs +15 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animations/defaults.mjs +12 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animations/expand-collapse.mjs +16 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animations/fade.mjs +160 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animations/shake.mjs +58 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animations/slide.mjs +116 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/animations/zoom.mjs +36 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/components/aside/aside.component.mjs +85 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/components/basic/basic.component.mjs +118 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/components/collapsable/collapsable.component.mjs +159 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/components/divider/divider.component.mjs +27 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/components/group/group.component.mjs +37 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/components/spacer/spacer.component.mjs +27 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/moment-helper.mjs +4 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/treeview-navigation.service.mjs +2 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/treeview-shared.service.mjs +16 -0
- package/esm2020/lib/template-module/KpiCreationModule/treeview/treeview.component.mjs +134 -0
- package/esm2020/lib/template-module/bookmarked-template/bookmarked-template.component.mjs +816 -0
- package/esm2020/lib/template-module/bookmarked-template/bookmarkedTemplate.module.mjs +149 -0
- package/esm2020/lib/template-module/cdrConfigModule/cdr-config.component.mjs +1 -1
- package/esm2020/lib/template-module/cdrConfigModule/cdrConfig.module.mjs +2 -2
- package/esm2020/lib/template-module/defaulLandingComponent/defaultLandingComponent.module.mjs +149 -0
- package/esm2020/lib/template-module/defaulLandingComponent/landing-component.component.mjs +870 -0
- package/esm2020/lib/template-module/exceptionConfigModule/exception-operation.component.mjs +1 -1
- package/esm2020/lib/template-module/exceptionConfigModule/exceptionConfig.module.mjs +2 -2
- package/esm2020/lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component.mjs +180 -0
- package/esm2020/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.mjs +992 -0
- package/esm2020/lib/template-module/kpiWithMultiLayout/kpiWithMultiayout.module.mjs +154 -0
- package/esm2020/lib/template-module/kpiWithSingleLayout/dynamin-modal.component.mjs +180 -0
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.mjs +1046 -0
- package/esm2020/lib/template-module/kpiWithSingleLayout/kpiWithSingleLayout.module.mjs +154 -0
- package/esm2020/public-api.mjs +39 -20
- package/fesm2015/gamma-app-controller.mjs +6750 -475
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +6709 -475
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-controller.module.d.ts +19 -19
- package/lib/application-controller/page-controller/page-config/page-config.component.d.ts +9 -9
- package/lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component.d.ts +8 -8
- package/lib/{application-controller/shared → shared}/advanced-component/app-advance-header/app-header.component.d.ts +18 -2
- package/lib/{application-controller/shared → shared}/advanced-component/gamm-single-number-card/gamm-single-number-card.component.d.ts +3 -5
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-advance-chart/gamma-advance-chart.component.d.ts +3 -1
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.d.ts +4 -2
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-geo-chart/gamma-geo-chart.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-heatmap/gamma-heatmap.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component.d.ts +6 -2
- package/lib/{application-controller/shared → shared}/advanced-component/gamma-today-previous/gamma-today-previous.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/advanced-component/google-geo-map/google-geo-map.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/app-title/app-title.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/gamam-widget/gamam-widget.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/gamma-advance-filter/gamma-advance-filter.component.d.ts +3 -2
- package/lib/{application-controller/shared → shared}/gamma-bread-crumbs/bread-crumbs.component.d.ts +1 -1
- package/lib/{application-controller/shared → shared}/kpi-comon-service.d.ts +1 -1
- package/lib/template-module/KpiCreationModule/create-kpi-tree.component.d.ts +75 -0
- package/lib/template-module/KpiCreationModule/createKpi.service.d.ts +32 -0
- package/lib/template-module/KpiCreationModule/kpiCreation.module.d.ts +23 -0
- package/lib/template-module/KpiCreationModule/treeview/animation.d.ts +1 -0
- package/lib/template-module/KpiCreationModule/treeview/animations/defaults.d.ts +11 -0
- package/lib/template-module/KpiCreationModule/treeview/animations/expand-collapse.d.ts +2 -0
- package/lib/template-module/KpiCreationModule/treeview/animations/fade.d.ts +11 -0
- package/lib/template-module/KpiCreationModule/treeview/animations/shake.d.ts +2 -0
- package/lib/template-module/KpiCreationModule/treeview/animations/slide.d.ts +9 -0
- package/lib/template-module/KpiCreationModule/treeview/animations/zoom.d.ts +3 -0
- package/lib/template-module/KpiCreationModule/treeview/components/aside/aside.component.d.ts +26 -0
- package/lib/template-module/KpiCreationModule/treeview/components/basic/basic.component.d.ts +29 -0
- package/lib/template-module/KpiCreationModule/treeview/components/collapsable/collapsable.component.d.ts +37 -0
- package/lib/template-module/KpiCreationModule/treeview/components/divider/divider.component.d.ts +13 -0
- package/lib/template-module/KpiCreationModule/treeview/components/group/group.component.d.ts +17 -0
- package/lib/template-module/KpiCreationModule/treeview/components/spacer/spacer.component.d.ts +13 -0
- package/lib/template-module/KpiCreationModule/treeview/moment-helper.d.ts +3 -0
- package/lib/template-module/KpiCreationModule/treeview/treeview-navigation.service.d.ts +39 -0
- package/lib/template-module/KpiCreationModule/treeview/treeview-shared.service.d.ts +8 -0
- package/lib/template-module/KpiCreationModule/treeview/treeview.component.d.ts +52 -0
- package/lib/template-module/bookmarked-template/bookmarked-template.component.d.ts +109 -0
- package/lib/template-module/bookmarked-template/bookmarkedTemplate.module.d.ts +16 -0
- package/lib/template-module/cdrConfigModule/cdrConfig.module.d.ts +1 -1
- package/lib/template-module/defaulLandingComponent/defaultLandingComponent.module.d.ts +16 -0
- package/lib/template-module/defaulLandingComponent/landing-component.component.d.ts +109 -0
- package/lib/template-module/exceptionConfigModule/exceptionConfig.module.d.ts +1 -1
- package/lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component.d.ts +42 -0
- package/lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component.d.ts +117 -0
- package/lib/template-module/kpiWithMultiLayout/kpiWithMultiayout.module.d.ts +17 -0
- package/lib/template-module/kpiWithSingleLayout/dynamin-modal.component.d.ts +42 -0
- package/lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component.d.ts +122 -0
- package/lib/template-module/kpiWithSingleLayout/kpiWithSingleLayout.module.d.ts +17 -0
- package/package.json +1 -1
- package/public-api.d.ts +38 -19
- package/esm2020/lib/application-controller/shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component.mjs +0 -124
- package/esm2020/lib/application-controller/shared/advanced-component/app-advance-header/app-header.component.mjs +0 -220
- package/esm2020/lib/application-controller/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component.mjs +0 -95
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component.mjs +0 -362
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component.mjs +0 -177
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component.mjs +0 -441
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-heatmap/gamma-heatmap.component.mjs +0 -328
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component.mjs +0 -155
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-table-with-percentage/contentSafeHtml.mjs +0 -20
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component.mjs +0 -157
- package/esm2020/lib/application-controller/shared/advanced-component/gamma-today-previous/gamma-today-previous.component.mjs +0 -85
- package/esm2020/lib/application-controller/shared/advanced-component/google-geo-map/google-geo-map.component.mjs +0 -439
- package/esm2020/lib/application-controller/shared/app-title/app-title.component.mjs +0 -67
- package/esm2020/lib/application-controller/shared/gamam-widget/gamam-widget.component.mjs +0 -35
- package/esm2020/lib/application-controller/shared/gamma-advance-filter/gamma-advance-filter.component.mjs +0 -237
- package/esm2020/lib/application-controller/shared/gamma-bread-crumbs/bread-crumbs.component.mjs +0 -142
- package/esm2020/lib/application-controller/shared/kpi-comon-service.mjs +0 -537
- package/esm2020/lib/application-controller/shared/loading/loadingModule.mjs +0 -28
- package/esm2020/lib/application-controller/shared/safeHtmlPipe.mjs +0 -20
- /package/lib/{application-controller/shared → shared}/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component.d.ts +0 -0
- /package/lib/{application-controller/shared → shared}/advanced-component/gamma-table-with-percentage/contentSafeHtml.d.ts +0 -0
- /package/lib/{application-controller/shared → shared}/loader/loader.component.d.ts +0 -0
- /package/lib/{application-controller/shared → shared}/loading/loading.component.d.ts +0 -0
- /package/lib/{application-controller/shared → shared}/loading/loadingModule.d.ts +0 -0
- /package/lib/{application-controller/shared → shared}/safeHtmlPipe.d.ts +0 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, ComponentRef, ElementRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { CommonService } from '../../application-controller/common';
|
|
5
|
+
import { GammaAdvanceChartComponent } from '../../shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component';
|
|
6
|
+
import { GammaTodayPreviousComponent } from '../../shared/advanced-component/gamma-today-previous/gamma-today-previous.component';
|
|
7
|
+
import { AppAdvanceHeaderComponent } from '../../shared/advanced-component/app-advance-header/app-header.component';
|
|
8
|
+
import { GammaTableWithPercentageComponent } from '../../shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component';
|
|
9
|
+
import { GammSingleNumberCardComponent } from '../../shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component';
|
|
10
|
+
import { GammaAdvanceOperatorTableComponent } from '../../shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
|
|
11
|
+
import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component';
|
|
12
|
+
import { GammaGeoChartComponent } from '../../shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
|
|
13
|
+
import { GammaHeatChartComponent } from '../../shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
|
|
14
|
+
import { ApplicationContentService } from '../../application-controller/application-content.service';
|
|
15
|
+
import { ApplicationDatssetsCall } from '../../application-controller/application-dataset-call.service';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class KpiWithMultilayoutSetTestComponent implements OnInit {
|
|
18
|
+
commonService: CommonService;
|
|
19
|
+
private activatedRoute;
|
|
20
|
+
private viewContainerRef;
|
|
21
|
+
private componentFactoryResolver;
|
|
22
|
+
private service;
|
|
23
|
+
private toastr;
|
|
24
|
+
private router;
|
|
25
|
+
private datasetService;
|
|
26
|
+
dashbord_container: any;
|
|
27
|
+
selected_width: any;
|
|
28
|
+
widget_width: string[];
|
|
29
|
+
loadingModal: boolean;
|
|
30
|
+
page_title: string;
|
|
31
|
+
defaultStartDate: any;
|
|
32
|
+
defaultEndDate: any;
|
|
33
|
+
dynamicComponentContainer: ViewContainerRef;
|
|
34
|
+
containerRef: ViewContainerRef;
|
|
35
|
+
dynamicContainer: ElementRef;
|
|
36
|
+
dynamicComponentRefs: ComponentRef<any>[];
|
|
37
|
+
CompRefs: ComponentRef<any>;
|
|
38
|
+
componentClassMap: {
|
|
39
|
+
GammaAdvanceChartComponent: typeof GammaAdvanceChartComponent;
|
|
40
|
+
GammaTodayPreviousComponent: typeof GammaTodayPreviousComponent;
|
|
41
|
+
AppAdvanceHeaderComponent: typeof AppAdvanceHeaderComponent;
|
|
42
|
+
GammaTableWithPercentageComponent: typeof GammaTableWithPercentageComponent;
|
|
43
|
+
GammSingleNumberCardComponent: typeof GammSingleNumberCardComponent;
|
|
44
|
+
GammaAdvanceOperatorTableComponent: typeof GammaAdvanceOperatorTableComponent;
|
|
45
|
+
AdvanceWidgetHeaderFilterComponent: typeof AdvanceWidgetHeaderFilterComponent;
|
|
46
|
+
GammaGeoChartComponent: typeof GammaGeoChartComponent;
|
|
47
|
+
GammaHeatChartComponent: typeof GammaHeatChartComponent;
|
|
48
|
+
};
|
|
49
|
+
dataSourceMataData: any;
|
|
50
|
+
queryType: string;
|
|
51
|
+
dataSetModal: any;
|
|
52
|
+
componentConfigDataSource: any;
|
|
53
|
+
selescedDataSource: any;
|
|
54
|
+
dataSourceModal: any;
|
|
55
|
+
isDashBoardContent: boolean;
|
|
56
|
+
selectedViewFormComponent: any;
|
|
57
|
+
addedwidGetConfig: {
|
|
58
|
+
display: boolean;
|
|
59
|
+
widgetTitle: string;
|
|
60
|
+
width: string;
|
|
61
|
+
height: string;
|
|
62
|
+
};
|
|
63
|
+
dashBoardWidgetConfig: any;
|
|
64
|
+
isWidgetCreationContent: boolean;
|
|
65
|
+
selectedWidth: any;
|
|
66
|
+
selectedHeight: any;
|
|
67
|
+
newWidgetIndex: any;
|
|
68
|
+
selectedIndexObjForChart: any;
|
|
69
|
+
selectedContainerObjectForChart: any;
|
|
70
|
+
dataSettableDataSource: any;
|
|
71
|
+
uniqueDataSetObject: {};
|
|
72
|
+
isDashBoardContentTypeView: boolean;
|
|
73
|
+
filters: any;
|
|
74
|
+
allWidgetByDataset: any[];
|
|
75
|
+
pageTitle: any;
|
|
76
|
+
stateDataSource: Map<any, any>;
|
|
77
|
+
mainPageDivElement: Map<any, any>;
|
|
78
|
+
contextMenuDataSource: any;
|
|
79
|
+
havingDataObject: any;
|
|
80
|
+
isWidgetFilters: boolean;
|
|
81
|
+
nodeproperticeFilterDataSource: any;
|
|
82
|
+
globalDefaultFilter: any;
|
|
83
|
+
pageId: any;
|
|
84
|
+
kpi_breadcrumbs_container: any;
|
|
85
|
+
operatorName: any;
|
|
86
|
+
constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: ApplicationContentService, toastr: ToastrService, router: Router, datasetService: ApplicationDatssetsCall);
|
|
87
|
+
ngOnInit(): void;
|
|
88
|
+
getFiltersForTemplate(filter: any): Promise<void>;
|
|
89
|
+
getPadeDataSource(context: any): Promise<void>;
|
|
90
|
+
getComponentConfigSet(): void;
|
|
91
|
+
getDataSet(): void;
|
|
92
|
+
createDivElements(datasetById: any, context: any): Promise<void>;
|
|
93
|
+
loadWidgetNodes(div: any, mainItemDiv: any, datasetById: any): void;
|
|
94
|
+
loadSingleWidgetNode(item: any, containerElement: any, datasetById: any, widgetId: any): void;
|
|
95
|
+
getWidgetTitleDiv(item: any): HTMLDivElement;
|
|
96
|
+
loadDynamicComponent(data: any, indexObj: any, containerElement: any): any;
|
|
97
|
+
loadFilterComponent(indexObj: any, containerElement: any, filterItems: any, context_filter: any): void;
|
|
98
|
+
loadWidgetFilterComponent(indexObj: any, containerElement: any, filterItems: any, viewIds: any): void;
|
|
99
|
+
getContextClick(event: any): void;
|
|
100
|
+
getRowClick(event: any): Promise<void>;
|
|
101
|
+
getViewByRowCLickForHourlyChart(event: any, node: any): void;
|
|
102
|
+
getViewByRowCLick(event: any, view: any, targetWidgetId: any): Promise<void>;
|
|
103
|
+
scrollToBottom(container: any, widgetId: any): void;
|
|
104
|
+
findWidgetById(configs: any[], id: string): any | undefined;
|
|
105
|
+
updateOperatorData(key_name: string[], value_data: any): any;
|
|
106
|
+
getElementOfCurrentView(node: any, viewId: any): any;
|
|
107
|
+
getHourlyData(node: any): any;
|
|
108
|
+
getSetOperatorFilter(objectData: any, previousViewStates: any): {};
|
|
109
|
+
getRearchResultFromInputBox(inputValue: any, viewConfig: any, filterObject: any): void;
|
|
110
|
+
submitFilter(): void;
|
|
111
|
+
getWidgetFilterForTemplate(value: any): void;
|
|
112
|
+
loadDataByOperator(opName: any): Promise<void>;
|
|
113
|
+
getContextFilterData(value: any): Promise<void>;
|
|
114
|
+
parseInput(input: any): any;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KpiWithMultilayoutSetTestComponent, never>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KpiWithMultilayoutSetTestComponent, "app-kpi-with-multilayout", never, {}, {}, never, never, false>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kpi-with-multilayout.component";
|
|
3
|
+
import * as i2 from "./dynamin-modal-multi.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../shared/loading/loadingModule";
|
|
6
|
+
import * as i5 from "devextreme-angular";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "@angular/material/icon";
|
|
9
|
+
import * as i8 from "@angular/material/tooltip";
|
|
10
|
+
import * as i9 from "@angular/material/button";
|
|
11
|
+
import * as i10 from "@angular/material/divider";
|
|
12
|
+
import * as i11 from "@angular/material/menu";
|
|
13
|
+
export declare class KpiWithMultiLayoutModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KpiWithMultiLayoutModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KpiWithMultiLayoutModule, [typeof i1.KpiWithMultilayoutSetTestComponent, typeof i2.DynamicWidgetForMultilayoutComponent], [typeof i3.CommonModule, typeof i4.LoadingModule, typeof i3.CommonModule, typeof i5.DevExtremeModule, typeof i5.DxButtonModule, typeof i5.DxCheckBoxModule, typeof i5.DxNumberBoxModule, typeof i5.DxDataGridModule, typeof i5.DxDropDownBoxModule, typeof i5.DxTreeViewModule, typeof i5.DxScrollViewModule, typeof i5.DxFormModule, typeof i5.DxAccordionModule, typeof i6.FormsModule, typeof i5.DxTagBoxModule, typeof i6.ReactiveFormsModule, typeof i7.MatIconModule, typeof i5.DxHtmlEditorModule, typeof i5.DxBulletModule, typeof i5.DxChartModule, typeof i5.DxDateBoxModule, typeof i5.DxLoadPanelModule, typeof i5.DxLookupModule, typeof i5.DxPivotGridModule, typeof i5.DxTemplateModule, typeof i5.DxTextAreaModule, typeof i5.DxValidationSummaryModule, typeof i5.DxValidatorModule, typeof i5.DxCalendarModule, typeof i5.DxTooltipModule, typeof i5.DxContextMenuModule, typeof i5.DxLoadIndicatorModule, typeof i5.DxPieChartModule, typeof i8.MatTooltipModule, typeof i5.DxPopupModule, typeof i5.DxSelectBoxModule, typeof i5.DxTextBoxModule, typeof i5.DxTreeViewModule, typeof i9.MatButtonModule, typeof i10.MatDividerModule, typeof i11.MatMenuModule, typeof i7.MatIconModule, typeof i4.LoadingModule], [typeof i1.KpiWithMultilayoutSetTestComponent, typeof i2.DynamicWidgetForMultilayoutComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KpiWithMultiLayoutModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OnInit, ElementRef, ComponentRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { GammaAdvanceChartComponent } from '../../shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component';
|
|
3
|
+
import { GammaTodayPreviousComponent } from '../../shared/advanced-component/gamma-today-previous/gamma-today-previous.component';
|
|
4
|
+
import { AppAdvanceHeaderComponent } from '../../shared/advanced-component/app-advance-header/app-header.component';
|
|
5
|
+
import { GammaTableWithPercentageComponent } from '../../shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component';
|
|
6
|
+
import { GammSingleNumberCardComponent } from '../../shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component';
|
|
7
|
+
import { GammaAdvanceOperatorTableComponent } from '../../shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
|
|
8
|
+
import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component';
|
|
9
|
+
import { GammaGeoChartComponent } from '../../shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
|
|
10
|
+
import { GammaHeatChartComponent } from '../../shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class DynamicWidgetComponent implements OnInit {
|
|
13
|
+
private viewContainerRef;
|
|
14
|
+
popupContainer: ElementRef;
|
|
15
|
+
view: any;
|
|
16
|
+
datasetById: any;
|
|
17
|
+
contextMenuDataSource: any;
|
|
18
|
+
isWidgetFilters: boolean;
|
|
19
|
+
dynamicComponentRefs: ComponentRef<any>[];
|
|
20
|
+
nodeproperticeFilterDataSource: any;
|
|
21
|
+
uniqueDataSetObject: any;
|
|
22
|
+
CompRefs: ComponentRef<any>;
|
|
23
|
+
componentClassMap: {
|
|
24
|
+
GammaAdvanceChartComponent: typeof GammaAdvanceChartComponent;
|
|
25
|
+
GammaTodayPreviousComponent: typeof GammaTodayPreviousComponent;
|
|
26
|
+
AppAdvanceHeaderComponent: typeof AppAdvanceHeaderComponent;
|
|
27
|
+
GammaTableWithPercentageComponent: typeof GammaTableWithPercentageComponent;
|
|
28
|
+
GammSingleNumberCardComponent: typeof GammSingleNumberCardComponent;
|
|
29
|
+
GammaAdvanceOperatorTableComponent: typeof GammaAdvanceOperatorTableComponent;
|
|
30
|
+
AdvanceWidgetHeaderFilterComponent: typeof AdvanceWidgetHeaderFilterComponent;
|
|
31
|
+
GammaGeoChartComponent: typeof GammaGeoChartComponent;
|
|
32
|
+
GammaHeatChartComponent: typeof GammaHeatChartComponent;
|
|
33
|
+
};
|
|
34
|
+
set modalConfigs(value: any);
|
|
35
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
loadDynamicComponent(data: any, containerElement: any): any;
|
|
38
|
+
getWidgetTitleDiv(item: any): HTMLDivElement;
|
|
39
|
+
loadWidgetFilterComponent(indexObj: any, containerElement: any, filterItems: any, viewIds: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicWidgetComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicWidgetComponent, "app-dynamic-widget", never, { "view": "view"; "datasetById": "datasetById"; "contextMenuDataSource": "contextMenuDataSource"; "modalConfigs": "modalConfigs"; }, {}, never, never, false>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, ComponentRef, ElementRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { CommonService } from '../../application-controller/common';
|
|
5
|
+
import { GammaAdvanceChartComponent } from '../../shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component';
|
|
6
|
+
import { GammaTodayPreviousComponent } from '../../shared/advanced-component/gamma-today-previous/gamma-today-previous.component';
|
|
7
|
+
import { AppAdvanceHeaderComponent } from '../../shared/advanced-component/app-advance-header/app-header.component';
|
|
8
|
+
import { GammaTableWithPercentageComponent } from '../../shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component';
|
|
9
|
+
import { GammSingleNumberCardComponent } from '../../shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component';
|
|
10
|
+
import { GammaAdvanceOperatorTableComponent } from '../../shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
|
|
11
|
+
import { AdvanceWidgetHeaderFilterComponent } from '../../shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component';
|
|
12
|
+
import { GammaGeoChartComponent } from '../../shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
|
|
13
|
+
import { GammaHeatChartComponent } from '../../shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
|
|
14
|
+
import { ApplicationContentService } from '../../application-controller/application-content.service';
|
|
15
|
+
import { ApplicationDatssetsCall } from '../../application-controller/application-dataset-call.service';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class KpiWithDataSetTestComponent implements OnInit {
|
|
18
|
+
commonService: CommonService;
|
|
19
|
+
private activatedRoute;
|
|
20
|
+
private viewContainerRef;
|
|
21
|
+
private componentFactoryResolver;
|
|
22
|
+
private service;
|
|
23
|
+
private toastr;
|
|
24
|
+
private router;
|
|
25
|
+
private datasetService;
|
|
26
|
+
dashbord_container: any;
|
|
27
|
+
selected_width: any;
|
|
28
|
+
widget_width: string[];
|
|
29
|
+
loadingModal: boolean;
|
|
30
|
+
page_title: string;
|
|
31
|
+
defaultStartDate: any;
|
|
32
|
+
defaultEndDate: any;
|
|
33
|
+
dynamicComponentContainer: ViewContainerRef;
|
|
34
|
+
containerRef: ViewContainerRef;
|
|
35
|
+
dynamicContainer: ElementRef;
|
|
36
|
+
dynamicContainerForPopup: ElementRef;
|
|
37
|
+
dynamicComponentRefs: ComponentRef<any>[];
|
|
38
|
+
CompRefs: ComponentRef<any>;
|
|
39
|
+
componentClassMap: {
|
|
40
|
+
GammaAdvanceChartComponent: typeof GammaAdvanceChartComponent;
|
|
41
|
+
GammaTodayPreviousComponent: typeof GammaTodayPreviousComponent;
|
|
42
|
+
AppAdvanceHeaderComponent: typeof AppAdvanceHeaderComponent;
|
|
43
|
+
GammaTableWithPercentageComponent: typeof GammaTableWithPercentageComponent;
|
|
44
|
+
GammSingleNumberCardComponent: typeof GammSingleNumberCardComponent;
|
|
45
|
+
GammaAdvanceOperatorTableComponent: typeof GammaAdvanceOperatorTableComponent;
|
|
46
|
+
AdvanceWidgetHeaderFilterComponent: typeof AdvanceWidgetHeaderFilterComponent;
|
|
47
|
+
GammaGeoChartComponent: typeof GammaGeoChartComponent;
|
|
48
|
+
GammaHeatChartComponent: typeof GammaHeatChartComponent;
|
|
49
|
+
};
|
|
50
|
+
dataSourceMataData: any;
|
|
51
|
+
queryType: string;
|
|
52
|
+
dataSetModal: any;
|
|
53
|
+
componentConfigDataSource: any;
|
|
54
|
+
selescedDataSource: any;
|
|
55
|
+
dataSourceModal: any;
|
|
56
|
+
isDashBoardContent: boolean;
|
|
57
|
+
selectedViewFormComponent: any;
|
|
58
|
+
addedwidGetConfig: {
|
|
59
|
+
display: boolean;
|
|
60
|
+
widgetTitle: string;
|
|
61
|
+
width: string;
|
|
62
|
+
height: string;
|
|
63
|
+
};
|
|
64
|
+
dashBoardWidgetConfig: any;
|
|
65
|
+
isWidgetCreationContent: boolean;
|
|
66
|
+
selectedWidth: any;
|
|
67
|
+
selectedHeight: any;
|
|
68
|
+
newWidgetIndex: any;
|
|
69
|
+
selectedIndexObjForChart: any;
|
|
70
|
+
selectedContainerObjectForChart: any;
|
|
71
|
+
dataSettableDataSource: any;
|
|
72
|
+
uniqueDataSetObject: {};
|
|
73
|
+
isDashBoardContentTypeView: boolean;
|
|
74
|
+
filters: any;
|
|
75
|
+
allWidgetByDataset: any[];
|
|
76
|
+
pageTitle: any;
|
|
77
|
+
stateDataSource: Map<any, any>;
|
|
78
|
+
mainPageDivElement: any;
|
|
79
|
+
contextMenuDataSource: any;
|
|
80
|
+
havingDataObject: any;
|
|
81
|
+
isWidgetFilters: boolean;
|
|
82
|
+
nodeproperticeFilterDataSource: any;
|
|
83
|
+
globalDefaultFilter: any;
|
|
84
|
+
pageId: any;
|
|
85
|
+
kpi_breadcrumbs_container: any;
|
|
86
|
+
operatorName: any;
|
|
87
|
+
defaultViewIds: any;
|
|
88
|
+
isPopupView: boolean;
|
|
89
|
+
modalConfigs: any;
|
|
90
|
+
constructor(commonService: CommonService, activatedRoute: ActivatedRoute, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, service: ApplicationContentService, toastr: ToastrService, router: Router, datasetService: ApplicationDatssetsCall);
|
|
91
|
+
ngOnInit(): void;
|
|
92
|
+
getFiltersForTemplate(filter: any): Promise<void>;
|
|
93
|
+
getPadeDataSource(context: any): Promise<void>;
|
|
94
|
+
getComponentConfigSet(): void;
|
|
95
|
+
getDataSet(): void;
|
|
96
|
+
createDivElements(datasetById: any, context: any): Promise<void>;
|
|
97
|
+
loadWidgetNodes(div: any, mainItemDiv: any, datasetById: any): void;
|
|
98
|
+
loadSingleWidgetNode(item: any, containerElement: HTMLElement, datasetById: any): void;
|
|
99
|
+
getWidgetTitleDiv(item: any): HTMLDivElement;
|
|
100
|
+
loadDynamicComponent(data: any, indexObj: any, containerElement: any): any;
|
|
101
|
+
loadFilterComponent(indexObj: any, containerElement: any, filterItems: any, context_filter: any): void;
|
|
102
|
+
loadWidgetFilterComponent(indexObj: any, containerElement: any, filterItems: any, viewIds: any): void;
|
|
103
|
+
getContextClick(event: any): void;
|
|
104
|
+
getRowClick(event: any): Promise<void>;
|
|
105
|
+
getViewByRowCLickForHourlyChart(event: any, node: any): void;
|
|
106
|
+
getModalViewByRowCLick(event: any, view: any): Promise<void>;
|
|
107
|
+
getViewByRowCLick(event: any, view: any): Promise<void>;
|
|
108
|
+
scrollToBottom(container: HTMLElement): void;
|
|
109
|
+
findWidgetById(configs: any[], id: string): any | undefined;
|
|
110
|
+
updateOperatorData(key_name: string[], value_data: any): any;
|
|
111
|
+
getElementOfCurrentView(node: any, viewId: any): any;
|
|
112
|
+
getHourlyData(node: any): any;
|
|
113
|
+
getSetOperatorFilter(objectData: any, previousViewStates: any): {};
|
|
114
|
+
getRearchResultFromInputBox(inputValue: any, viewConfig: any, filterObject: any): void;
|
|
115
|
+
submitFilter(): void;
|
|
116
|
+
getWidgetFilterForTemplate(value: any): void;
|
|
117
|
+
loadDataByOperator(opName: any): Promise<void>;
|
|
118
|
+
getContextFilterData(value: any): Promise<void>;
|
|
119
|
+
parseInput(input: any): any;
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KpiWithDataSetTestComponent, never>;
|
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KpiWithDataSetTestComponent, "app-kpi-with-dataset", never, {}, {}, never, never, false>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kpi-with-dataset.component";
|
|
3
|
+
import * as i2 from "./dynamin-modal.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../shared/loading/loadingModule";
|
|
6
|
+
import * as i5 from "devextreme-angular";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "@angular/material/icon";
|
|
9
|
+
import * as i8 from "@angular/material/tooltip";
|
|
10
|
+
import * as i9 from "@angular/material/button";
|
|
11
|
+
import * as i10 from "@angular/material/divider";
|
|
12
|
+
import * as i11 from "@angular/material/menu";
|
|
13
|
+
export declare class KpiWithSingleLayoutModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KpiWithSingleLayoutModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KpiWithSingleLayoutModule, [typeof i1.KpiWithDataSetTestComponent, typeof i2.DynamicWidgetComponent], [typeof i3.CommonModule, typeof i4.LoadingModule, typeof i3.CommonModule, typeof i5.DevExtremeModule, typeof i5.DxButtonModule, typeof i5.DxCheckBoxModule, typeof i5.DxNumberBoxModule, typeof i5.DxDataGridModule, typeof i5.DxDropDownBoxModule, typeof i5.DxTreeViewModule, typeof i5.DxScrollViewModule, typeof i5.DxFormModule, typeof i5.DxAccordionModule, typeof i6.FormsModule, typeof i5.DxTagBoxModule, typeof i6.ReactiveFormsModule, typeof i7.MatIconModule, typeof i5.DxHtmlEditorModule, typeof i5.DxBulletModule, typeof i5.DxChartModule, typeof i5.DxDateBoxModule, typeof i5.DxLoadPanelModule, typeof i5.DxLookupModule, typeof i5.DxPivotGridModule, typeof i5.DxTemplateModule, typeof i5.DxTextAreaModule, typeof i5.DxValidationSummaryModule, typeof i5.DxValidatorModule, typeof i5.DxCalendarModule, typeof i5.DxTooltipModule, typeof i5.DxContextMenuModule, typeof i5.DxLoadIndicatorModule, typeof i5.DxPieChartModule, typeof i8.MatTooltipModule, typeof i5.DxPopupModule, typeof i5.DxSelectBoxModule, typeof i5.DxTextBoxModule, typeof i5.DxTreeViewModule, typeof i9.MatButtonModule, typeof i10.MatDividerModule, typeof i11.MatMenuModule, typeof i7.MatIconModule, typeof i4.LoadingModule], [typeof i2.DynamicWidgetComponent, typeof i1.KpiWithDataSetTestComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KpiWithSingleLayoutModule>;
|
|
17
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -14,25 +14,25 @@ export * from './lib/application-controller/application-dataset-component/create
|
|
|
14
14
|
export * from './lib/application-controller/application-view-components/application-views/application-views.component';
|
|
15
15
|
export * from './lib/application-controller/application-view-components/create-comp-view/create-comp-view.component';
|
|
16
16
|
export * from './lib/application-controller/common-header/common-header.component';
|
|
17
|
-
export * from './lib/
|
|
18
|
-
export * from './lib/
|
|
19
|
-
export * from './lib/
|
|
20
|
-
export * from './lib/
|
|
21
|
-
export * from './lib/
|
|
22
|
-
export * from './lib/
|
|
23
|
-
export * from './lib/
|
|
24
|
-
export * from './lib/
|
|
25
|
-
export * from './lib/
|
|
26
|
-
export * from './lib/
|
|
27
|
-
export * from './lib/
|
|
28
|
-
export * from './lib/
|
|
29
|
-
export * from './lib/
|
|
30
|
-
export * from './lib/
|
|
17
|
+
export * from './lib/shared/advanced-component/advance-widget-header-filter/advance-widget-header-filter.component';
|
|
18
|
+
export * from './lib/shared/advanced-component/app-advance-header/app-header.component';
|
|
19
|
+
export * from './lib/shared/advanced-component/gamm-single-number-card/gamm-single-number-card.component';
|
|
20
|
+
export * from './lib/shared/advanced-component/gamma-advance-chart/gamma-advance-chart.component';
|
|
21
|
+
export * from './lib/shared/advanced-component/gamma-advance-operator-table/gamma-advance-operator-table.component';
|
|
22
|
+
export * from './lib/shared/advanced-component/gamma-table-with-percentage/gamma-table-with-percentage.component';
|
|
23
|
+
export * from './lib/shared/advanced-component/gamma-today-previous/gamma-today-previous.component';
|
|
24
|
+
export * from './lib/shared/advanced-component/google-geo-map/google-geo-map.component';
|
|
25
|
+
export * from './lib/shared/advanced-component/gamma-table-clumn-bar-chart/gamma-table-clumn-bar-chart.component';
|
|
26
|
+
export * from './lib/shared/app-title/app-title.component';
|
|
27
|
+
export * from './lib/shared/gamam-widget/gamam-widget.component';
|
|
28
|
+
export * from './lib/shared/gamma-advance-filter/gamma-advance-filter.component';
|
|
29
|
+
export * from './lib/shared/gamma-bread-crumbs/bread-crumbs.component';
|
|
30
|
+
export * from './lib/shared/loader/loader.component';
|
|
31
31
|
export * from './lib/application-controller/support-components/table-with-bar/table-with-bar.component';
|
|
32
32
|
export * from './lib/application-controller/support-components/geo-map/geo-map.component';
|
|
33
|
-
export * from './lib/
|
|
34
|
-
export * from './lib/
|
|
35
|
-
export * from './lib/
|
|
33
|
+
export * from './lib/shared/advanced-component/gamma-heatmap/gamma-heatmap.component';
|
|
34
|
+
export * from './lib/shared/advanced-component/google-geo-map/google-geo-map.component';
|
|
35
|
+
export * from './lib/shared/advanced-component/gamma-geo-chart/gamma-geo-chart.component';
|
|
36
36
|
export * from './lib/application-controller/page-controller/page-config/page-config.component';
|
|
37
37
|
export * from './lib/application-controller/page-controller/page-config-multi-layout/page-config-multi-layout.component';
|
|
38
38
|
export * from './lib/application-controller/page-controller/page-controller/page-controller.component';
|
|
@@ -45,9 +45,9 @@ 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/
|
|
48
|
+
export * from './lib/shared/safeHtmlPipe';
|
|
49
49
|
export * from './lib/application-controller/application-dataset-component/create-dataset-sql/sqlFormatter';
|
|
50
|
-
export * from './lib/
|
|
50
|
+
export * from './lib/shared/advanced-component/gamma-table-with-percentage/contentSafeHtml';
|
|
51
51
|
export * from './lib/gamma-app-controller.component';
|
|
52
52
|
export * from './lib/icons.module';
|
|
53
53
|
export * from './lib/application-controller/common';
|
|
@@ -61,3 +61,22 @@ export * from './lib/template-module/exceptionConfigModule/exception-operation.c
|
|
|
61
61
|
export * from './lib/template-module/exceptionConfigModule/exceptionConfig.module';
|
|
62
62
|
export * from './lib/template-module/cdrConfigModule/cdr-config.component';
|
|
63
63
|
export * from './lib/template-module/cdrConfigModule/cdrConfig.module';
|
|
64
|
+
export * from './lib/template-module/KpiCreationModule/create-kpi-tree.component';
|
|
65
|
+
export * from './lib/template-module/KpiCreationModule/kpiCreation.module';
|
|
66
|
+
export * from './lib/template-module/KpiCreationModule/treeview/treeview.component';
|
|
67
|
+
export * from './lib/template-module/KpiCreationModule/treeview/components/aside/aside.component';
|
|
68
|
+
export * from './lib/template-module/KpiCreationModule/treeview/components/basic/basic.component';
|
|
69
|
+
export * from './lib/template-module/KpiCreationModule/treeview/components/collapsable/collapsable.component';
|
|
70
|
+
export * from './lib/template-module/KpiCreationModule/treeview/components/divider/divider.component';
|
|
71
|
+
export * from './lib/template-module/KpiCreationModule/treeview/components/group/group.component';
|
|
72
|
+
export * from './lib/template-module/KpiCreationModule/treeview/components/spacer/spacer.component';
|
|
73
|
+
export * from './lib/template-module/kpiWithSingleLayout/kpiWithSingleLayout.module';
|
|
74
|
+
export * from './lib/template-module/kpiWithSingleLayout/kpi-with-dataset.component';
|
|
75
|
+
export * from './lib/template-module/kpiWithSingleLayout/dynamin-modal.component';
|
|
76
|
+
export * from './lib/template-module/kpiWithMultiLayout/dynamin-modal-multi.component';
|
|
77
|
+
export * from './lib/template-module/kpiWithMultiLayout/kpi-with-multilayout.component';
|
|
78
|
+
export * from './lib/template-module/kpiWithMultiLayout/kpiWithMultiayout.module';
|
|
79
|
+
export * from './lib/template-module/defaulLandingComponent/landing-component.component';
|
|
80
|
+
export * from './lib/template-module/defaulLandingComponent/defaultLandingComponent.module';
|
|
81
|
+
export * from './lib/template-module/bookmarked-template/bookmarked-template.component';
|
|
82
|
+
export * from './lib/template-module/bookmarked-template/bookmarkedTemplate.module';
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import moment from './../../../moment-helper';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/router";
|
|
5
|
-
import * as i2 from "devextreme-angular/core";
|
|
6
|
-
import * as i3 from "devextreme-angular/ui/popup";
|
|
7
|
-
import * as i4 from "@angular/material/icon";
|
|
8
|
-
import * as i5 from "../../gamma-advance-filter/gamma-advance-filter.component";
|
|
9
|
-
export class AdvanceWidgetHeaderFilterComponent {
|
|
10
|
-
constructor(activatedRoute, route) {
|
|
11
|
-
this.activatedRoute = activatedRoute;
|
|
12
|
-
this.route = route;
|
|
13
|
-
this.toggleEvent = new EventEmitter();
|
|
14
|
-
this.autoload_button = true;
|
|
15
|
-
this.toolTipText = 'By Date Range';
|
|
16
|
-
this.daterange = {};
|
|
17
|
-
this.daterange_options = {
|
|
18
|
-
locale: { format: 'YYYY-MM-DD' },
|
|
19
|
-
alwaysShowCalendars: true,
|
|
20
|
-
showCustomRangeLabel: true,
|
|
21
|
-
ranges: {
|
|
22
|
-
Today: [moment(), moment()],
|
|
23
|
-
'Last 1 Month': [moment().subtract(30, 'days'), moment()],
|
|
24
|
-
'Last 3 Month': [moment().subtract(91, 'days'), moment()],
|
|
25
|
-
'Last 6 Month': [moment().subtract(182, 'days'), moment()],
|
|
26
|
-
'Last 12 Month': [moment().subtract(365, 'days'), moment()],
|
|
27
|
-
'Last 13 Months': [
|
|
28
|
-
moment().subtract(12, 'month').startOf('month'),
|
|
29
|
-
moment(),
|
|
30
|
-
],
|
|
31
|
-
'This Month': [moment().startOf('month'), moment().endOf('month')],
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
this.getWidgetFilterConfig = new EventEmitter();
|
|
35
|
-
}
|
|
36
|
-
set filterItems(value) {
|
|
37
|
-
if (value === undefined || value.length === 0) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
let displayStartDate = '';
|
|
42
|
-
let displayEndDate = '';
|
|
43
|
-
this.filterItemsForFilter = value;
|
|
44
|
-
value.forEach(element => {
|
|
45
|
-
if (element.filterType === 'date' || element.filterType === 'datetime') {
|
|
46
|
-
if (element.defaultFilterType === "dynamic" && element.momentFunction !== "" && element.defaultFilterValue !== "" && element.momentFormat !== "") {
|
|
47
|
-
let [count, unit] = element.defaultFilterValue.split(',');
|
|
48
|
-
let formattedDate = moment()[element.momentFunction](parseInt(count), unit).format(element.momentFormat);
|
|
49
|
-
if (element.apiName === "startDate") {
|
|
50
|
-
if (element.display) {
|
|
51
|
-
displayStartDate = this.selectedDates[element.apiName];
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
if (element.apiName === "endDate") {
|
|
55
|
-
if (element.display) {
|
|
56
|
-
displayEndDate = this.selectedDates[element.apiName];
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
else if ((element.defaultFilterType == "static" && element.defaultFilterValue !== "")) {
|
|
61
|
-
if (element.apiName == "startDate") {
|
|
62
|
-
displayStartDate = element.defaultFilterValue;
|
|
63
|
-
}
|
|
64
|
-
if (element.apiName == "endDate") {
|
|
65
|
-
displayEndDate = element.defaultFilterValue;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
ngOnInit() {
|
|
73
|
-
}
|
|
74
|
-
advanceFilterKpi() {
|
|
75
|
-
this.isAdvanceFilter = true;
|
|
76
|
-
}
|
|
77
|
-
getSerchFilter(filter) {
|
|
78
|
-
this.isAdvanceFilter = false;
|
|
79
|
-
let displayStartDate = '';
|
|
80
|
-
let displayEndDate = '';
|
|
81
|
-
this.filterItemsForFilter.forEach(element => {
|
|
82
|
-
if (element.filterType === 'date' || element.filterType === 'datetime') {
|
|
83
|
-
if (element.defaultFilterType === "dynamic" && element.momentFunction !== "" && element.defaultFilterValue !== "" && element.momentFormat !== "") {
|
|
84
|
-
let [count, unit] = element.defaultFilterValue.split(',');
|
|
85
|
-
if (element.apiName === "startDate") {
|
|
86
|
-
if (element.display) {
|
|
87
|
-
filter.startDate = moment(filter.startDate).format(element.momentFormat);
|
|
88
|
-
displayStartDate = filter.startDate;
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
filter.startDate = moment(filter.endDate)[element.momentFunction](parseInt(count), unit).format(element.momentFormat);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
if (element.apiName === "endDate") {
|
|
95
|
-
filter.endDate = moment(filter.endDate).format(element.momentFormat);
|
|
96
|
-
if (element.display) {
|
|
97
|
-
displayEndDate = filter.endDate;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
filter['viewNodes'] = this.viewIds;
|
|
104
|
-
this.getWidgetFilterConfig.emit(filter);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
AdvanceWidgetHeaderFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AdvanceWidgetHeaderFilterComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
-
AdvanceWidgetHeaderFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AdvanceWidgetHeaderFilterComponent, selector: "app-advance-widget-header-filter", inputs: { selectedDates: "selectedDates", viewIds: "viewIds", filterItems: "filterItems" }, outputs: { toggleEvent: "toggleEvent", getWidgetFilterConfig: "getWidgetFilterConfig" }, ngImport: i0, template: "<div class=\"flex flex-col m-2\">\n <button class=\"mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base\" aria-haspopup=\"menu\"\n (click)=\"advanceFilterKpi()\">\n <span class=\"mat-button-wrapper\">\n <span class=\"relative\">\n <mat-icon title=\"Filters\" [svgIcon]=\"'heroicons_outline:adjustments'\">\n </mat-icon>\n </span>\n </span>\n </button>\n</div>\n\n<dx-popup [(visible)]=\"isAdvanceFilter\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"600\"\n [height]=\"'auto'\" [showTitle]=\"true\" class=\"popup\" title=\"Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <app-gamma-advance-filter [kpiId]=\"'231212'\" [filterOperatorData]=\"filterItemsForFilter\"\n [isButtonDesiable]=\"isAdvanceFilter\" [filterStartDate]=\"filterStartDate\" [filterEndDate]=\"filterEndDate\"\n (filterDataObject)=\"getSerchFilter($event)\"></app-gamma-advance-filter>\n </div>\n</dx-popup>", styles: [""], dependencies: [{ kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i3.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "elementAttr", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "elementAttrChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.GammaAdvanceFilterComponent, selector: "app-gamma-advance-filter", inputs: ["kpiId", "filterStartDate", "filterEndDate", "browser_api_config", "isButtonDesiable", "filterOperatorData"], outputs: ["filterDataObject"] }] });
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AdvanceWidgetHeaderFilterComponent, decorators: [{
|
|
110
|
-
type: Component,
|
|
111
|
-
args: [{ selector: 'app-advance-widget-header-filter', template: "<div class=\"flex flex-col m-2\">\n <button class=\"mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base\" aria-haspopup=\"menu\"\n (click)=\"advanceFilterKpi()\">\n <span class=\"mat-button-wrapper\">\n <span class=\"relative\">\n <mat-icon title=\"Filters\" [svgIcon]=\"'heroicons_outline:adjustments'\">\n </mat-icon>\n </span>\n </span>\n </button>\n</div>\n\n<dx-popup [(visible)]=\"isAdvanceFilter\" [closeOnOutsideClick]=\"false\" [dragEnabled]=\"false\" [width]=\"600\"\n [height]=\"'auto'\" [showTitle]=\"true\" class=\"popup\" title=\"Filter\">\n <div *dxTemplate=\"let data of 'content'\">\n <app-gamma-advance-filter [kpiId]=\"'231212'\" [filterOperatorData]=\"filterItemsForFilter\"\n [isButtonDesiable]=\"isAdvanceFilter\" [filterStartDate]=\"filterStartDate\" [filterEndDate]=\"filterEndDate\"\n (filterDataObject)=\"getSerchFilter($event)\"></app-gamma-advance-filter>\n </div>\n</dx-popup>" }]
|
|
112
|
-
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }]; }, propDecorators: { selectedDates: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], viewIds: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], toggleEvent: [{
|
|
117
|
-
type: Output
|
|
118
|
-
}], getWidgetFilterConfig: [{
|
|
119
|
-
type: Output
|
|
120
|
-
}], filterItems: [{
|
|
121
|
-
type: Input,
|
|
122
|
-
args: ['filterItems']
|
|
123
|
-
}] } });
|
|
124
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWR2YW5jZS13aWRnZXQtaGVhZGVyLWZpbHRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9nYW1tYS1hcHAtY29udHJvbGxlci9zcmMvbGliL2FwcGxpY2F0aW9uLWNvbnRyb2xsZXIvc2hhcmVkL2FkdmFuY2VkLWNvbXBvbmVudC9hZHZhbmNlLXdpZGdldC1oZWFkZXItZmlsdGVyL2FkdmFuY2Utd2lkZ2V0LWhlYWRlci1maWx0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vL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mFsdWUgIT09IFwiXCIgJiYgZWxlbWVudC5tb21lbnRGb3JtYXQgIT09IFwiXCIpIHtcbiAgICAgICAgICBsZXQgW2NvdW50LCB1bml0XSA9IGVsZW1lbnQuZGVmYXVsdEZpbHRlclZhbHVlLnNwbGl0KCcsJyk7XG4gICAgICAgICAgaWYgKGVsZW1lbnQuYXBpTmFtZSA9PT0gXCJzdGFydERhdGVcIikge1xuICAgICAgICAgICAgaWYgKGVsZW1lbnQuZGlzcGxheSkge1xuICAgICAgICAgICAgICBmaWx0ZXIuc3RhcnREYXRlID0gbW9tZW50KGZpbHRlci5zdGFydERhdGUpLmZvcm1hdChlbGVtZW50Lm1vbWVudEZvcm1hdCk7XG4gICAgICAgICAgICAgIGRpc3BsYXlTdGFydERhdGUgPSBmaWx0ZXIuc3RhcnREYXRlO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgZmlsdGVyLnN0YXJ0RGF0ZSA9IG1vbWVudChmaWx0ZXIuZW5kRGF0ZSlbZWxlbWVudC5tb21lbnRGdW5jdGlvbl0ocGFyc2VJbnQoY291bnQpLCB1bml0KS5mb3JtYXQoZWxlbWVudC5tb21lbnRGb3JtYXQpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoZWxlbWVudC5hcGlOYW1lID09PSBcImVuZERhdGVcIikge1xuICAgICAgICAgICAgZmlsdGVyLmVuZERhdGUgPSBtb21lbnQoZmlsdGVyLmVuZERhdGUpLmZvcm1hdChlbGVtZW50Lm1vbWVudEZvcm1hdCk7XG4gICAgICAgICAgICBpZiAoZWxlbWVudC5kaXNwbGF5KSB7XG4gICAgICAgICAgICAgIGRpc3BsYXlFbmREYXRlID0gZmlsdGVyLmVuZERhdGU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgIH1cblxuICAgIH0pO1xuICAgIGZpbHRlclsndmlld05vZGVzJ10gPSB0aGlzLnZpZXdJZHM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