gamma-app-controller 1.1.24 → 1.1.26
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/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/cdrConfigModule/cdr-browser.service.mjs +4 -3
- package/esm2020/lib/template-module/exceptionConfigModule/exception-service.mjs +4 -3
- package/esm2020/public-api.mjs +10 -1
- package/fesm2015/gamma-app-controller.mjs +1735 -180
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +1733 -180
- package/fesm2020/gamma-app-controller.mjs.map +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/package.json +1 -1
- package/public-api.d.ts +9 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { CreateKpIService } from './createKpi.service';
|
|
6
|
+
import { CommonService } from '../../application-controller/common';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CreateKpiTreeComponent implements OnInit {
|
|
9
|
+
commonService: CommonService;
|
|
10
|
+
private formBuilder;
|
|
11
|
+
private service;
|
|
12
|
+
private toastr;
|
|
13
|
+
private router;
|
|
14
|
+
loadingModal: boolean;
|
|
15
|
+
keiParentDataSource: any;
|
|
16
|
+
myForm: FormGroup;
|
|
17
|
+
tagType: string[];
|
|
18
|
+
kpi_constructor: any[];
|
|
19
|
+
selected_p_kpi: any;
|
|
20
|
+
select_kpi_name: any;
|
|
21
|
+
select_tag_type: any;
|
|
22
|
+
selected_id: any;
|
|
23
|
+
selected_page_id: any;
|
|
24
|
+
selected_nested_name: any;
|
|
25
|
+
selected_kpi_tid: any;
|
|
26
|
+
selected_desc: any;
|
|
27
|
+
selected_info: any;
|
|
28
|
+
height: number;
|
|
29
|
+
kpiData: any;
|
|
30
|
+
heistValue: any;
|
|
31
|
+
isFromEditable: boolean;
|
|
32
|
+
isNewKpiAdded: boolean;
|
|
33
|
+
isEditKpiAdded: boolean;
|
|
34
|
+
editable_desc: string;
|
|
35
|
+
editable_info: string;
|
|
36
|
+
editable_id: any;
|
|
37
|
+
editable_page_id: any;
|
|
38
|
+
editable_tag_type: any;
|
|
39
|
+
editable_kpi_name: any;
|
|
40
|
+
editable_kpi_tid: any;
|
|
41
|
+
kpi_visibility: boolean;
|
|
42
|
+
kpi_external: boolean;
|
|
43
|
+
parante_kpi_name: any;
|
|
44
|
+
isComponentUpdata: boolean;
|
|
45
|
+
templateDataSource: any;
|
|
46
|
+
constructor(commonService: CommonService, formBuilder: FormBuilder, service: CreateKpIService, toastr: ToastrService, router: Router);
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
getAppPageConfigs(): void;
|
|
49
|
+
getAllKpiData(): void;
|
|
50
|
+
prepareParentDataSource(data: any): void;
|
|
51
|
+
makeNewKpi(): void;
|
|
52
|
+
createNewKpiWithTid(): void;
|
|
53
|
+
getReseteKpi(): void;
|
|
54
|
+
getDeletKpi(tid: any): void;
|
|
55
|
+
addTagtypeValue(e: any): void;
|
|
56
|
+
getKpiItemValue(e: any): void;
|
|
57
|
+
autoIncrement(string1: string, string2: string | null): string;
|
|
58
|
+
setKpibyTid(data: any, tid: any, newKpiObj: any): void;
|
|
59
|
+
getHeistId(data: any, tid: string): any;
|
|
60
|
+
getHighestTid(data: any): any;
|
|
61
|
+
addNewKpi(): void;
|
|
62
|
+
cancelUpdate(): void;
|
|
63
|
+
getEditableKpi(data: any): void;
|
|
64
|
+
getKpiParrentName(input: any): any;
|
|
65
|
+
getUpdateKpi(): void;
|
|
66
|
+
getDeleteKpi(): void;
|
|
67
|
+
getUpdateKpiName(data: any, tid: string): any;
|
|
68
|
+
getDeleteKpiName(data: any, tid: string): any;
|
|
69
|
+
reseteUpdateKpiForm(): void;
|
|
70
|
+
submitNewKpi(): void;
|
|
71
|
+
getNewParrentKpiItemValue(e: any): void;
|
|
72
|
+
routeToKpiConfig(): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateKpiTreeComponent, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateKpiTreeComponent, "app-create-kpi", never, {}, {}, never, never, false>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
2
|
+
import { Subject, Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CreateKpIService {
|
|
5
|
+
http: HttpClient;
|
|
6
|
+
private environment;
|
|
7
|
+
headers: HttpHeaders;
|
|
8
|
+
options: {
|
|
9
|
+
headers: HttpHeaders;
|
|
10
|
+
withCredentials: boolean;
|
|
11
|
+
};
|
|
12
|
+
_selectedKpiOnClick: Subject<any>;
|
|
13
|
+
_kpilist: Subject<any>;
|
|
14
|
+
_selectKpiFromDropDown: Subject<any>;
|
|
15
|
+
private _componentRegistry;
|
|
16
|
+
private kpiFilter;
|
|
17
|
+
constructor(http: HttpClient, environment: any);
|
|
18
|
+
handleError(error: any): Observable<Response>;
|
|
19
|
+
getFilterForKpi(pins: any): void;
|
|
20
|
+
getSelectedKPiData(kpiData: any): void;
|
|
21
|
+
getKpiList(kpilist: any): void;
|
|
22
|
+
getKpiFromDropDown(selectedKpi: any): void;
|
|
23
|
+
getComponent<T>(name: string): T;
|
|
24
|
+
getKpiName(): void;
|
|
25
|
+
getKpiBrowserConfigById(id: any): any;
|
|
26
|
+
getAppPageConfigs(): any;
|
|
27
|
+
getlistKpiBrowser(): any;
|
|
28
|
+
configureKpiBrowserConfig(body: any): any;
|
|
29
|
+
getCreateKpi(body: any): any;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateKpIService, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CreateKpIService>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./create-kpi-tree.component";
|
|
3
|
+
import * as i2 from "./treeview/treeview.component";
|
|
4
|
+
import * as i3 from "./treeview/components/aside/aside.component";
|
|
5
|
+
import * as i4 from "./treeview/components/basic/basic.component";
|
|
6
|
+
import * as i5 from "./treeview/components/collapsable/collapsable.component";
|
|
7
|
+
import * as i6 from "./treeview/components/divider/divider.component";
|
|
8
|
+
import * as i7 from "./treeview/components/group/group.component";
|
|
9
|
+
import * as i8 from "./treeview/components/spacer/spacer.component";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "../../application-controller/shared/loading/loadingModule";
|
|
12
|
+
import * as i11 from "devextreme-angular";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
15
|
+
import * as i14 from "@angular/material/tooltip";
|
|
16
|
+
import * as i15 from "@angular/material/button";
|
|
17
|
+
import * as i16 from "@angular/material/divider";
|
|
18
|
+
import * as i17 from "@angular/material/menu";
|
|
19
|
+
export declare class KpiCreationModule {
|
|
20
|
+
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 ɵinj: i0.ɵɵInjectorDeclaration<KpiCreationModule>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const gammaAnimations: import("@angular/animations").AnimationTriggerMetadata[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class FuseAnimationCurves {
|
|
2
|
+
static standard: string;
|
|
3
|
+
static deceleration: string;
|
|
4
|
+
static acceleration: string;
|
|
5
|
+
static sharp: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class FuseAnimationDurations {
|
|
8
|
+
static complex: string;
|
|
9
|
+
static entering: string;
|
|
10
|
+
static exiting: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const fadeIn: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
|
+
declare const fadeInTop: import("@angular/animations").AnimationTriggerMetadata;
|
|
3
|
+
declare const fadeInBottom: import("@angular/animations").AnimationTriggerMetadata;
|
|
4
|
+
declare const fadeInLeft: import("@angular/animations").AnimationTriggerMetadata;
|
|
5
|
+
declare const fadeInRight: import("@angular/animations").AnimationTriggerMetadata;
|
|
6
|
+
declare const fadeOut: import("@angular/animations").AnimationTriggerMetadata;
|
|
7
|
+
declare const fadeOutTop: import("@angular/animations").AnimationTriggerMetadata;
|
|
8
|
+
declare const fadeOutBottom: import("@angular/animations").AnimationTriggerMetadata;
|
|
9
|
+
declare const fadeOutLeft: import("@angular/animations").AnimationTriggerMetadata;
|
|
10
|
+
declare const fadeOutRight: import("@angular/animations").AnimationTriggerMetadata;
|
|
11
|
+
export { fadeIn, fadeInTop, fadeInBottom, fadeInLeft, fadeInRight, fadeOut, fadeOutTop, fadeOutBottom, fadeOutLeft, fadeOutRight };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const slideInTop: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
|
+
declare const slideInBottom: import("@angular/animations").AnimationTriggerMetadata;
|
|
3
|
+
declare const slideInLeft: import("@angular/animations").AnimationTriggerMetadata;
|
|
4
|
+
declare const slideInRight: import("@angular/animations").AnimationTriggerMetadata;
|
|
5
|
+
declare const slideOutTop: import("@angular/animations").AnimationTriggerMetadata;
|
|
6
|
+
declare const slideOutBottom: import("@angular/animations").AnimationTriggerMetadata;
|
|
7
|
+
declare const slideOutLeft: import("@angular/animations").AnimationTriggerMetadata;
|
|
8
|
+
declare const slideOutRight: import("@angular/animations").AnimationTriggerMetadata;
|
|
9
|
+
export { slideInTop, slideInBottom, slideInLeft, slideInRight, slideOutTop, slideOutBottom, slideOutLeft, slideOutRight };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TreeViewAsideItemComponent implements OnChanges, OnInit, OnDestroy {
|
|
6
|
+
private _changeDetectorRef;
|
|
7
|
+
private _router;
|
|
8
|
+
static ngAcceptInputType_autoCollapse: BooleanInput;
|
|
9
|
+
static ngAcceptInputType_skipChildren: BooleanInput;
|
|
10
|
+
activeItemId: string;
|
|
11
|
+
autoCollapse: boolean;
|
|
12
|
+
item: any;
|
|
13
|
+
name: string;
|
|
14
|
+
skipChildren: boolean;
|
|
15
|
+
active: boolean;
|
|
16
|
+
private _unsubscribeAll;
|
|
17
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _router: Router);
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
trackByFn(index: number, item: any): any;
|
|
22
|
+
private _hasActiveChild;
|
|
23
|
+
private _markIfActive;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewAsideItemComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewAsideItemComponent, "treeview-aside-item", never, { "activeItemId": "activeItemId"; "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; "skipChildren": "skipChildren"; }, {}, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { IsActiveMatchOptions, Router } from '@angular/router';
|
|
3
|
+
import { CreateKpIService } from '../../../createKpi.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TreeViewBasicItemComponent implements OnInit, OnDestroy {
|
|
6
|
+
private _changeDetectorRef;
|
|
7
|
+
private _treeviewService;
|
|
8
|
+
private route;
|
|
9
|
+
item: any;
|
|
10
|
+
name: string | undefined;
|
|
11
|
+
internalRoute: string | undefined;
|
|
12
|
+
isEditIcon: boolean;
|
|
13
|
+
treeId: any;
|
|
14
|
+
editableKpiBasicData: EventEmitter<any>;
|
|
15
|
+
isActiveMatchOptions: IsActiveMatchOptions;
|
|
16
|
+
private _unsubscribeAll;
|
|
17
|
+
G_DEFAULT_START_DATE: any;
|
|
18
|
+
G_DEFAULT_END_DATE: any;
|
|
19
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _treeviewService: CreateKpIService, route: Router);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
getKPIDataOnclick(kpiData: any, event: any): void;
|
|
23
|
+
getNavigateToKpi(data: any): void;
|
|
24
|
+
getNavigateKpi(data: any, kpiId: any, startDate: any, endDate: any): void;
|
|
25
|
+
getNavigateKpiByPageID(data: any, kpiId: any, pageId: any): void;
|
|
26
|
+
getEditTreeData(item: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewBasicItemComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewBasicItemComponent, "treeview-basic-item", never, { "item": "item"; "name": "name"; "internalRoute": "internalRoute"; "isEditIcon": "isEditIcon"; "treeId": "treeId"; }, { "editableKpiBasicData": "editableKpiBasicData"; }, never, never, false>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { TreeviewSharedService } from '../../treeview-shared.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TreeViewCollapsableItemComponent implements OnInit, OnDestroy {
|
|
7
|
+
private _changeDetectorRef;
|
|
8
|
+
private _router;
|
|
9
|
+
private _treeviewService;
|
|
10
|
+
static ngAcceptInputType_autoCollapse: BooleanInput;
|
|
11
|
+
autoCollapse: boolean;
|
|
12
|
+
item: any;
|
|
13
|
+
name: string;
|
|
14
|
+
treeId: string;
|
|
15
|
+
internalRoute: string;
|
|
16
|
+
isEditIcon: boolean;
|
|
17
|
+
isCollapsed: boolean;
|
|
18
|
+
editableKpiData: EventEmitter<any>;
|
|
19
|
+
isExpanded: boolean;
|
|
20
|
+
private _unsubscribeAll;
|
|
21
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _router: Router, _treeviewService: TreeviewSharedService);
|
|
22
|
+
get classList(): any;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
collapse(): void;
|
|
26
|
+
expand(): void;
|
|
27
|
+
toggleCollapsable(): void;
|
|
28
|
+
trackByFn(index: number, item: any): any;
|
|
29
|
+
private _hasActiveChild;
|
|
30
|
+
findActiveChild(item: any, treeId: any): any;
|
|
31
|
+
private _isChildrenOf;
|
|
32
|
+
getKpiEditKpiData(item: any): void;
|
|
33
|
+
getEditTreeData(item: any): void;
|
|
34
|
+
getKpiEditKpiBasicData(item: any): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewCollapsableItemComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewCollapsableItemComponent, "treeview-collapsable-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; "treeId": "treeId"; "internalRoute": "internalRoute"; "isEditIcon": "isEditIcon"; }, { "editableKpiData": "editableKpiData"; }, never, never, false>;
|
|
37
|
+
}
|
package/lib/template-module/KpiCreationModule/treeview/components/divider/divider.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TreeViewDividerItemComponent implements OnInit, OnDestroy {
|
|
4
|
+
private _changeDetectorRef;
|
|
5
|
+
item: any;
|
|
6
|
+
name: string;
|
|
7
|
+
private _unsubscribeAll;
|
|
8
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewDividerItemComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewDividerItemComponent, "treeview-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TreeViewGroupItemComponent implements OnInit, OnDestroy {
|
|
5
|
+
private _changeDetectorRef;
|
|
6
|
+
static ngAcceptInputType_autoCollapse: BooleanInput;
|
|
7
|
+
autoCollapse: boolean;
|
|
8
|
+
item: any;
|
|
9
|
+
name: string;
|
|
10
|
+
private _unsubscribeAll;
|
|
11
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
trackByFn(index: number, item: any): any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewGroupItemComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewGroupItemComponent, "treeview-group-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
17
|
+
}
|
package/lib/template-module/KpiCreationModule/treeview/components/spacer/spacer.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TreeViewSpacerItemComponent implements OnInit, OnDestroy {
|
|
4
|
+
private _changeDetectorRef;
|
|
5
|
+
item: any;
|
|
6
|
+
name: string;
|
|
7
|
+
private _unsubscribeAll;
|
|
8
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewSpacerItemComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewSpacerItemComponent, "treeview-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IsActiveMatchOptions, Params, QueryParamsHandling } from '@angular/router';
|
|
2
|
+
export interface TreeViewItem {
|
|
3
|
+
id?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
type: 'aside' | 'basic' | 'collapsable' | 'divider' | 'group' | 'spacer';
|
|
7
|
+
hidden?: (item: TreeViewItem) => boolean;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
link?: string;
|
|
12
|
+
fragment?: string;
|
|
13
|
+
preserveFragment?: boolean;
|
|
14
|
+
queryParams?: Params | null;
|
|
15
|
+
queryParamsHandling?: QueryParamsHandling | null;
|
|
16
|
+
externalLink?: boolean;
|
|
17
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
18
|
+
exactMatch?: boolean;
|
|
19
|
+
isActiveMatchOptions?: IsActiveMatchOptions;
|
|
20
|
+
function?: (item: TreeViewItem) => void;
|
|
21
|
+
classes?: {
|
|
22
|
+
title?: string;
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
wrapper?: string;
|
|
26
|
+
};
|
|
27
|
+
icon?: string;
|
|
28
|
+
badge?: {
|
|
29
|
+
title?: string;
|
|
30
|
+
classes?: string;
|
|
31
|
+
};
|
|
32
|
+
children?: TreeViewItem[];
|
|
33
|
+
meta?: any;
|
|
34
|
+
class?: any;
|
|
35
|
+
url?: any;
|
|
36
|
+
}
|
|
37
|
+
export declare type TreeViewItemAppearance = 'default' | 'compact' | 'dense' | 'thin';
|
|
38
|
+
export declare type TreeViewItemMode = 'over' | 'side';
|
|
39
|
+
export declare type TreeViewItemPosition = 'left' | 'right';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TreeviewSharedService {
|
|
4
|
+
onCollapsableItemCollapsed: Subject<any>;
|
|
5
|
+
onCollapsableItemExpanded: Subject<any>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeviewSharedService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TreeviewSharedService>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
4
|
+
import { ReplaySubject } from 'rxjs';
|
|
5
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
|
+
import { TreeViewItem } from './treeview-navigation.service';
|
|
7
|
+
import { ViewportScroller } from '@angular/common';
|
|
8
|
+
import { TreeviewSharedService } from './treeview-shared.service';
|
|
9
|
+
import { CreateKpIService } from '../createKpi.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class TreeviewComponent implements OnInit, OnDestroy {
|
|
12
|
+
private _router;
|
|
13
|
+
private _scrollStrategyOptions;
|
|
14
|
+
private _treeviewservice;
|
|
15
|
+
private _changeDetectorRef;
|
|
16
|
+
private scroller;
|
|
17
|
+
private _treeviewService;
|
|
18
|
+
static ngAcceptInputType_inner: BooleanInput;
|
|
19
|
+
static ngAcceptInputType_opened: BooleanInput;
|
|
20
|
+
static ngAcceptInputType_transparentOverlay: BooleanInput;
|
|
21
|
+
autoCollapse: boolean;
|
|
22
|
+
inner: boolean;
|
|
23
|
+
navigation: any;
|
|
24
|
+
opened: boolean;
|
|
25
|
+
isEditIcon: boolean;
|
|
26
|
+
isSearchBox: boolean;
|
|
27
|
+
transparentOverlay: boolean;
|
|
28
|
+
treeListForSearchBox: any;
|
|
29
|
+
name: string;
|
|
30
|
+
openTreeId: any;
|
|
31
|
+
routeKey: any;
|
|
32
|
+
activeAsideItemId: string | null;
|
|
33
|
+
onCollapsableItemCollapsed: ReplaySubject<TreeViewItem>;
|
|
34
|
+
onCollapsableItemExpanded: ReplaySubject<TreeViewItem>;
|
|
35
|
+
onRefreshed: ReplaySubject<boolean>;
|
|
36
|
+
private _animationsEnabled;
|
|
37
|
+
private _hovered;
|
|
38
|
+
private _scrollStrategy;
|
|
39
|
+
private _fuseScrollbarDirectivesSubscription;
|
|
40
|
+
private _unsubscribeAll;
|
|
41
|
+
editableKpiData: EventEmitter<any>;
|
|
42
|
+
constructor(_router: Router, _scrollStrategyOptions: ScrollStrategyOptions, _treeviewservice: CreateKpIService, _changeDetectorRef: ChangeDetectorRef, scroller: ViewportScroller, _treeviewService: TreeviewSharedService);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
getKpiName(data: any, relativePath: any): void;
|
|
46
|
+
selectedKpiNameFromSearchKpi(event: any): void;
|
|
47
|
+
getSelectedKpiforSearch(data: any, kpiId: any): void;
|
|
48
|
+
getEditKpiData(data: any): void;
|
|
49
|
+
getBasicEditKpiData(data: any): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeviewComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeviewComponent, "treeview", never, { "autoCollapse": "autoCollapse"; "inner": "inner"; "navigation": "navigation"; "opened": "opened"; "isEditIcon": "isEditIcon"; "isSearchBox": "isSearchBox"; "transparentOverlay": "transparentOverlay"; "treeListForSearchBox": "treeListForSearchBox"; "name": "name"; "openTreeId": "openTreeId"; "routeKey": "routeKey"; }, { "editableKpiData": "editableKpiData"; }, never, never, false>;
|
|
52
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -61,3 +61,12 @@ 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';
|