@sunbird-cb/tree-hierarchy 0.0.1-cbrelease-4.8.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/README.md +24 -0
- package/esm2022/lib/components/action-bar/action-bar.component.mjs +41 -0
- package/esm2022/lib/components/approval/approval.component.mjs +19 -0
- package/esm2022/lib/components/approve-view/approve-view.component.mjs +64 -0
- package/esm2022/lib/components/categories-preview/categories-preview.component.mjs +44 -0
- package/esm2022/lib/components/conforamtion-popup/conforamtion-popup.component.mjs +74 -0
- package/esm2022/lib/components/connector/connector.component.mjs +59 -0
- package/esm2022/lib/components/create-categories/create-categories.component.mjs +83 -0
- package/esm2022/lib/components/create-term/create-term.component.mjs +847 -0
- package/esm2022/lib/components/create-term-from-framework/create-term-from-framework.component.mjs +823 -0
- package/esm2022/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.mjs +149 -0
- package/esm2022/lib/components/pending-approval/pending-approval.component.mjs +64 -0
- package/esm2022/lib/components/term-card/term-card.component.mjs +311 -0
- package/esm2022/lib/components/tree-column-view/tree-column-view.component.mjs +322 -0
- package/esm2022/lib/components/tree-view/tree-view.component.mjs +497 -0
- package/esm2022/lib/constants/app-constant.mjs +40 -0
- package/esm2022/lib/constants/data.mjs +6972 -0
- package/esm2022/lib/containers/config-framework/config-framework.component.mjs +92 -0
- package/esm2022/lib/containers/dashboard/dashboard.component.mjs +14 -0
- package/esm2022/lib/labels/strings.mjs +40 -0
- package/esm2022/lib/models/approval.model.mjs +2 -0
- package/esm2022/lib/models/connection-type.model.mjs +2 -0
- package/esm2022/lib/models/connection.model.mjs +2 -0
- package/esm2022/lib/models/framework.model.mjs +2 -0
- package/esm2022/lib/models/variable-type.model.mjs +2 -0
- package/esm2022/lib/pipes/order-by.pipe.mjs +35 -0
- package/esm2022/lib/services/approval.service.mjs +47 -0
- package/esm2022/lib/services/connection.service.mjs +3 -0
- package/esm2022/lib/services/connector.service.mjs +240 -0
- package/esm2022/lib/services/framework.service.mjs +387 -0
- package/esm2022/lib/services/local-connection.service.mjs +75 -0
- package/esm2022/lib/services/odcs.service.mjs +23 -0
- package/esm2022/lib/tree-hierarchy-routing.module.mjs +43 -0
- package/esm2022/lib/tree-hierarchy.component.mjs +24 -0
- package/esm2022/lib/tree-hierarchy.module.mjs +138 -0
- package/esm2022/lib/tree-hierarchy.service.mjs +41 -0
- package/esm2022/material.module.mjs +199 -0
- package/esm2022/public-api.mjs +9 -0
- package/esm2022/sunbird-cb-tree-hierarchy.mjs +2 -0
- package/fesm2022/sunbird-cb-tree-hierarchy.mjs +11577 -0
- package/fesm2022/sunbird-cb-tree-hierarchy.mjs.map +1 -0
- package/index.d.ts +3 -0
- package/lib/components/action-bar/action-bar.component.d.ts +17 -0
- package/lib/components/action-bar/action-bar.component.d.ts.map +1 -0
- package/lib/components/approval/approval.component.d.ts +10 -0
- package/lib/components/approval/approval.component.d.ts.map +1 -0
- package/lib/components/approve-view/approve-view.component.d.ts +27 -0
- package/lib/components/approve-view/approve-view.component.d.ts.map +1 -0
- package/lib/components/categories-preview/categories-preview.component.d.ts +14 -0
- package/lib/components/categories-preview/categories-preview.component.d.ts.map +1 -0
- package/lib/components/conforamtion-popup/conforamtion-popup.component.d.ts +20 -0
- package/lib/components/conforamtion-popup/conforamtion-popup.component.d.ts.map +1 -0
- package/lib/components/connector/connector.component.d.ts +23 -0
- package/lib/components/connector/connector.component.d.ts.map +1 -0
- package/lib/components/create-categories/create-categories.component.d.ts +26 -0
- package/lib/components/create-categories/create-categories.component.d.ts.map +1 -0
- package/lib/components/create-term/create-term.component.d.ts +148 -0
- package/lib/components/create-term/create-term.component.d.ts.map +1 -0
- package/lib/components/create-term-from-framework/create-term-from-framework.component.d.ts +105 -0
- package/lib/components/create-term-from-framework/create-term-from-framework.component.d.ts.map +1 -0
- package/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.d.ts +31 -0
- package/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.d.ts.map +1 -0
- package/lib/components/pending-approval/pending-approval.component.d.ts +21 -0
- package/lib/components/pending-approval/pending-approval.component.d.ts.map +1 -0
- package/lib/components/term-card/term-card.component.d.ts +43 -0
- package/lib/components/term-card/term-card.component.d.ts.map +1 -0
- package/lib/components/tree-column-view/tree-column-view.component.d.ts +52 -0
- package/lib/components/tree-column-view/tree-column-view.component.d.ts.map +1 -0
- package/lib/components/tree-view/tree-view.component.d.ts +91 -0
- package/lib/components/tree-view/tree-view.component.d.ts.map +1 -0
- package/lib/constants/app-constant.d.ts +44 -0
- package/lib/constants/app-constant.d.ts.map +1 -0
- package/lib/constants/data.d.ts +117 -0
- package/lib/constants/data.d.ts.map +1 -0
- package/lib/containers/config-framework/config-framework.component.d.ts +32 -0
- package/lib/containers/config-framework/config-framework.component.d.ts.map +1 -0
- package/lib/containers/dashboard/dashboard.component.d.ts +9 -0
- package/lib/containers/dashboard/dashboard.component.d.ts.map +1 -0
- package/lib/labels/strings.d.ts +40 -0
- package/lib/labels/strings.d.ts.map +1 -0
- package/lib/models/approval.model.d.ts +11 -0
- package/lib/models/approval.model.d.ts.map +1 -0
- package/lib/models/connection-type.model.d.ts +6 -0
- package/lib/models/connection-type.model.d.ts.map +1 -0
- package/lib/models/connection.model.d.ts +7 -0
- package/lib/models/connection.model.d.ts.map +1 -0
- package/lib/models/framework.model.d.ts +88 -0
- package/lib/models/framework.model.d.ts.map +1 -0
- package/lib/models/variable-type.model.d.ts +46 -0
- package/lib/models/variable-type.model.d.ts.map +1 -0
- package/lib/pipes/order-by.pipe.d.ts +10 -0
- package/lib/pipes/order-by.pipe.d.ts.map +1 -0
- package/lib/services/approval.service.d.ts +21 -0
- package/lib/services/approval.service.d.ts.map +1 -0
- package/lib/services/connection.service.d.ts +4 -0
- package/lib/services/connection.service.d.ts.map +1 -0
- package/lib/services/connector.service.d.ts +17 -0
- package/lib/services/connector.service.d.ts.map +1 -0
- package/lib/services/framework.service.d.ts +82 -0
- package/lib/services/framework.service.d.ts.map +1 -0
- package/lib/services/local-connection.service.d.ts +18 -0
- package/lib/services/local-connection.service.d.ts.map +1 -0
- package/lib/services/odcs.service.d.ts +11 -0
- package/lib/services/odcs.service.d.ts.map +1 -0
- package/lib/tree-hierarchy-routing.module.d.ts +8 -0
- package/lib/tree-hierarchy-routing.module.d.ts.map +1 -0
- package/lib/tree-hierarchy.component.d.ts +13 -0
- package/lib/tree-hierarchy.component.d.ts.map +1 -0
- package/lib/tree-hierarchy.module.d.ts +31 -0
- package/lib/tree-hierarchy.module.d.ts.map +1 -0
- package/lib/tree-hierarchy.service.d.ts +17 -0
- package/lib/tree-hierarchy.service.d.ts.map +1 -0
- package/material.module.d.ts +52 -0
- package/material.module.d.ts.map +1 -0
- package/package.json +43 -0
- package/public-api.d.ts +9 -0
- package/public-api.d.ts.map +1 -0
- package/sunbird-cb-tree-hierarchy.d.ts.map +1 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
3
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
4
|
+
import { LocalConnectionService } from '../../services/local-connection.service';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { ConnectorService } from '../../services/connector.service';
|
|
7
|
+
import { ApprovalService } from '../../services/approval.service';
|
|
8
|
+
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
|
|
9
|
+
import { Card } from '../../models/variable-type.model';
|
|
10
|
+
import { TreeHierarchyService } from '../../tree-hierarchy.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class TreeViewComponent implements OnInit, OnDestroy {
|
|
13
|
+
private frameworkService;
|
|
14
|
+
private localSvc;
|
|
15
|
+
dialog: MatDialog;
|
|
16
|
+
private approvalService;
|
|
17
|
+
private _snackBar;
|
|
18
|
+
private connectorSvc;
|
|
19
|
+
private cdr;
|
|
20
|
+
private treeHierarchySvc;
|
|
21
|
+
private changeDetector;
|
|
22
|
+
approvalList: Array<Card>;
|
|
23
|
+
isApprovalView: boolean;
|
|
24
|
+
workFlowStatus: string;
|
|
25
|
+
environment: any;
|
|
26
|
+
taxonomyConfig: any;
|
|
27
|
+
orgSelectedData: any;
|
|
28
|
+
sentForApprove: EventEmitter<any>;
|
|
29
|
+
loaderEnable: EventEmitter<any>;
|
|
30
|
+
mapping: {};
|
|
31
|
+
heightLighted: never[];
|
|
32
|
+
localList: never[];
|
|
33
|
+
showPublish: boolean;
|
|
34
|
+
newTermSubscription: Subscription | undefined;
|
|
35
|
+
loaded: any;
|
|
36
|
+
showActionBar: boolean;
|
|
37
|
+
approvalRequiredTerms: never[];
|
|
38
|
+
draftTerms: Array<Card>;
|
|
39
|
+
isLoading: boolean;
|
|
40
|
+
categoryList: any;
|
|
41
|
+
app_strings: any;
|
|
42
|
+
isHideBtnEna: boolean;
|
|
43
|
+
columnId: string;
|
|
44
|
+
configCodeBtn: any;
|
|
45
|
+
dataConfig: any;
|
|
46
|
+
isFraworkLoading: boolean;
|
|
47
|
+
loaderSubscription: Subscription;
|
|
48
|
+
constructor(frameworkService: FrameworkService, localSvc: LocalConnectionService, dialog: MatDialog, approvalService: ApprovalService, _snackBar: MatSnackBar, connectorSvc: ConnectorService, cdr: ChangeDetectorRef, treeHierarchySvc: TreeHierarchyService, changeDetector: ChangeDetectorRef);
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngOnChanges(): void;
|
|
51
|
+
ngAfterContentChecked(): void;
|
|
52
|
+
init(): void;
|
|
53
|
+
refreshData(resData: any): void;
|
|
54
|
+
makeFirstTermSelected(): void;
|
|
55
|
+
updateTaxonomyTerm(data: {
|
|
56
|
+
selectedTerm: any;
|
|
57
|
+
isSelected: boolean;
|
|
58
|
+
isUpdate?: any;
|
|
59
|
+
}): void;
|
|
60
|
+
updateSelection(category: string, selectedTermCode: string): void;
|
|
61
|
+
updateFinalList(data: {
|
|
62
|
+
selectedTerm: any;
|
|
63
|
+
isSelected: boolean;
|
|
64
|
+
parentData?: any;
|
|
65
|
+
colIndex?: any;
|
|
66
|
+
}, type?: any): void;
|
|
67
|
+
isEnabled(columnCode: string): boolean;
|
|
68
|
+
isEnableds(): void;
|
|
69
|
+
openCreateTermDialog(column: any, colIndex: any): void;
|
|
70
|
+
openOrganizationDialog(column: any, _index: any): void;
|
|
71
|
+
get list(): any[];
|
|
72
|
+
drawHeaderLine(len: number): void;
|
|
73
|
+
getColumn(columnCode: string): import("../../models/framework.model").NSFramework.IColumnView | undefined;
|
|
74
|
+
newConnection(): void;
|
|
75
|
+
updateDraftStatusTerms(event: any): void;
|
|
76
|
+
getNoOfCards(event: any): void;
|
|
77
|
+
getCount(code: string): number;
|
|
78
|
+
sendForApproval(): void;
|
|
79
|
+
closeActionBar(_e: any): void;
|
|
80
|
+
initConfig(): void;
|
|
81
|
+
ngOnDestroy(): void;
|
|
82
|
+
getNextCat(data: any): import("../../models/framework.model").NSFramework.ICategory | null;
|
|
83
|
+
isCurrentOrNextTerm(_column: any, index: number): boolean;
|
|
84
|
+
shouldShowSvgBorderWrapper(column: any, index: number): boolean;
|
|
85
|
+
createTerms(selectedList: any, column: any): void;
|
|
86
|
+
updateAssociation(nodeId: string, frameworkData: any): Promise<void>;
|
|
87
|
+
publishFramework(frameworkData: any): void;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "lib-tree-view", never, { "approvalList": { "alias": "approvalList"; "required": false; }; "isApprovalView": { "alias": "isApprovalView"; "required": false; }; "workFlowStatus": { "alias": "workFlowStatus"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "taxonomyConfig": { "alias": "taxonomyConfig"; "required": false; }; "orgSelectedData": { "alias": "orgSelectedData"; "required": false; }; }, { "sentForApprove": "sentForApprove"; "loaderEnable": "loaderEnable"; }, never, never, false, never>;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=tree-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-view.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/tree-view/tree-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAU,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC7G,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,eAAe,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAGtF,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAGxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;;AAIpE,qBAKa,iBAAkB,YAAW,MAAM,EAAE,SAAS;IA2B7C,OAAO,CAAC,gBAAgB;IAClC,OAAO,CAAC,QAAQ;IACT,MAAM,EAAE,SAAS;IACxB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,cAAc;IAlCf,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,CAAM;IAC/B,cAAc,EAAE,OAAO,CAAS;IAChC,cAAc,EAAE,MAAM,CAAM;IAC5B,WAAW,EAAC,GAAG,CAAC;IAChB,c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PUBLISH: string;
|
|
6
|
+
ACTION: string;
|
|
7
|
+
SERVICE_NAME: string;
|
|
8
|
+
CREATE: string;
|
|
9
|
+
SEARCH: string;
|
|
10
|
+
READ: string;
|
|
11
|
+
UPDATE: string;
|
|
12
|
+
APPROVE: string;
|
|
13
|
+
REJECT: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const LIVE = "Live";
|
|
16
|
+
export declare const DRAFT = "Draft";
|
|
17
|
+
type plugType = 'disc' | 'square' | 'hand' | 'arrow1' | 'arrow2' | 'arrow3';
|
|
18
|
+
type pathType = 'straight' | 'arc' | 'fluid' | 'magnet' | 'grid';
|
|
19
|
+
export interface LLOptions {
|
|
20
|
+
startPlug?: plugType;
|
|
21
|
+
startPlugColor?: string;
|
|
22
|
+
startPlugSize?: Number;
|
|
23
|
+
startPlugOutlineColor?: string;
|
|
24
|
+
endPlug?: plugType;
|
|
25
|
+
endPlugColor?: string;
|
|
26
|
+
endPlugSize?: Number;
|
|
27
|
+
endPlugOutlineColor?: string;
|
|
28
|
+
color?: string;
|
|
29
|
+
size?: number;
|
|
30
|
+
path?: pathType;
|
|
31
|
+
startSocket?: string;
|
|
32
|
+
endSocket?: string;
|
|
33
|
+
dash?: any;
|
|
34
|
+
positionByWindowResize?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare const defaultConfig: LLOptions;
|
|
37
|
+
export declare const headerLineConfig: {
|
|
38
|
+
endPlugColor: string;
|
|
39
|
+
endPlugOutlineColor: string;
|
|
40
|
+
color: string;
|
|
41
|
+
startPlug: string;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=app-constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-constant.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/constants/app-constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAiBpB,CAAA;AAED,eAAO,MAAM,IAAI,SAAS,CAAA;AAC1B,eAAO,MAAM,KAAK,UAAU,CAAA;AAE5B,KAAK,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC5E,KAAK,QAAQ,GAAG,UAAU,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjE,MAAM,WAAW,SAAS;IACtB,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,sBAAsB,CAAC,EAAE,OAAO,CAAA;CACjC;AAEH,eAAO,MAAM,aAAa,EAAE,SAezB,CAAA;AAEH,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAA"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export declare const FRAMEWORK: {
|
|
2
|
+
id: string;
|
|
3
|
+
ver: string;
|
|
4
|
+
ts: string;
|
|
5
|
+
params: {
|
|
6
|
+
resmsgid: string;
|
|
7
|
+
msgid: string;
|
|
8
|
+
status: string;
|
|
9
|
+
err: null;
|
|
10
|
+
errmsg: null;
|
|
11
|
+
};
|
|
12
|
+
responseCode: string;
|
|
13
|
+
result: {
|
|
14
|
+
framework: {
|
|
15
|
+
identifier: string;
|
|
16
|
+
code: string;
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
categories: {
|
|
20
|
+
identifier: string;
|
|
21
|
+
code: string;
|
|
22
|
+
terms: ({
|
|
23
|
+
associations: {
|
|
24
|
+
identifier: string;
|
|
25
|
+
code: string;
|
|
26
|
+
translations: null;
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
index: number;
|
|
30
|
+
category: string;
|
|
31
|
+
status: string;
|
|
32
|
+
}[];
|
|
33
|
+
identifier: string;
|
|
34
|
+
code: string;
|
|
35
|
+
translations: null;
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
index: number;
|
|
39
|
+
category: string;
|
|
40
|
+
status: string;
|
|
41
|
+
} | {
|
|
42
|
+
identifier: string;
|
|
43
|
+
code: string;
|
|
44
|
+
translations: null;
|
|
45
|
+
name: string;
|
|
46
|
+
description: string;
|
|
47
|
+
index: number;
|
|
48
|
+
category: string;
|
|
49
|
+
status: string;
|
|
50
|
+
associations?: undefined;
|
|
51
|
+
})[];
|
|
52
|
+
translations: null;
|
|
53
|
+
name: string;
|
|
54
|
+
description: string;
|
|
55
|
+
index: number;
|
|
56
|
+
status: string;
|
|
57
|
+
}[];
|
|
58
|
+
type: string;
|
|
59
|
+
objectType: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export declare const categoryRepresentations: ({
|
|
64
|
+
name: string;
|
|
65
|
+
description: string;
|
|
66
|
+
terms: ({
|
|
67
|
+
name: string;
|
|
68
|
+
description: string;
|
|
69
|
+
domId: string;
|
|
70
|
+
selected?: undefined;
|
|
71
|
+
connected?: undefined;
|
|
72
|
+
connectedDomId?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
name: string;
|
|
75
|
+
description: string;
|
|
76
|
+
selected: boolean;
|
|
77
|
+
connected: boolean;
|
|
78
|
+
domId: string;
|
|
79
|
+
connectedDomId: string;
|
|
80
|
+
})[];
|
|
81
|
+
} | {
|
|
82
|
+
name: string;
|
|
83
|
+
description: string;
|
|
84
|
+
terms: ({
|
|
85
|
+
name: string;
|
|
86
|
+
description: string;
|
|
87
|
+
selected: boolean;
|
|
88
|
+
connected: boolean;
|
|
89
|
+
domId: string;
|
|
90
|
+
} | {
|
|
91
|
+
name: string;
|
|
92
|
+
description: string;
|
|
93
|
+
domId: string;
|
|
94
|
+
selected?: undefined;
|
|
95
|
+
connected?: undefined;
|
|
96
|
+
})[];
|
|
97
|
+
})[];
|
|
98
|
+
export declare const categoryRepresentationsV1: {
|
|
99
|
+
name: string;
|
|
100
|
+
description: string;
|
|
101
|
+
terms: ({
|
|
102
|
+
name: string;
|
|
103
|
+
description: string;
|
|
104
|
+
domId: string;
|
|
105
|
+
selected?: undefined;
|
|
106
|
+
connected?: undefined;
|
|
107
|
+
parent?: undefined;
|
|
108
|
+
} | {
|
|
109
|
+
name: string;
|
|
110
|
+
description: string;
|
|
111
|
+
selected: boolean;
|
|
112
|
+
connected: boolean;
|
|
113
|
+
domId: string;
|
|
114
|
+
parent: string;
|
|
115
|
+
})[];
|
|
116
|
+
}[];
|
|
117
|
+
//# sourceMappingURL=data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/constants/data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+pNnB,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4EnC,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;GA6ErC,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ConfigFrameworkComponent implements OnInit {
|
|
5
|
+
private frameworkService;
|
|
6
|
+
frameworkCategories: any;
|
|
7
|
+
categoriesRepresentations: any[];
|
|
8
|
+
tempCategoryRepresentaions: any[];
|
|
9
|
+
oldElements: any[];
|
|
10
|
+
constructor(frameworkService: FrameworkService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
updateCategory(name: string): void;
|
|
13
|
+
updateTermArry(current: string, parent: any, index: number): ({
|
|
14
|
+
name: string;
|
|
15
|
+
domId: string;
|
|
16
|
+
selected?: undefined;
|
|
17
|
+
connected?: undefined;
|
|
18
|
+
parent?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
name: string;
|
|
21
|
+
selected: boolean;
|
|
22
|
+
connected: boolean;
|
|
23
|
+
domId: string;
|
|
24
|
+
parent: string;
|
|
25
|
+
})[];
|
|
26
|
+
removeOldLine(): void;
|
|
27
|
+
removeCategory(index: number): void;
|
|
28
|
+
changePosition(event: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigFrameworkComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigFrameworkComponent, "lib-config-framework", never, {}, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=config-framework.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-framework.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/containers/config-framework/config-framework.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;AAGpE,qBAKa,wBAAyB,YAAW,MAAM;IAKzC,OAAO,CAAC,gBAAgB;IAJpC,mBAAmB,EAAE,GAAG,CAAC;IACzB,yBAAyB,EAAE,GAAG,EAAE,CAAM;IACtC,0BAA0B,EAAE,GAAG,EAAE,CAAM;IACvC,WAAW,EAAE,GAAG,EAAE,CAAM;gBACJ,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IA4DR,cAAc,CAAC,IAAI,EAAE,MAAM;IAW3B,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM;;;;;;;;;;;;;IAkC1D,aAAa;IAOb,cAAc,CAAC,KAAK,EAAE,MAAM;IAU5B,cAAc,CAAC,KAAK,EAAE,GAAG;yCAjId,wBAAwB;2CAAxB,wBAAwB;CA2IpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DashboardComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "lib-dashboard", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=dashboard.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/containers/dashboard/dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;;AAElD,qBAKa,kBAAmB,YAAW,MAAM;;IAI/C,QAAQ;yCAJG,kBAAkB;2CAAlB,kBAAkB;CAO9B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const labels: {
|
|
2
|
+
flag: string;
|
|
3
|
+
createNew: string;
|
|
4
|
+
edit: string;
|
|
5
|
+
build: string;
|
|
6
|
+
noData: string;
|
|
7
|
+
loading: string;
|
|
8
|
+
add: string;
|
|
9
|
+
pendingApproval: string;
|
|
10
|
+
date: string;
|
|
11
|
+
more: string;
|
|
12
|
+
rightArrow: string;
|
|
13
|
+
alreadyExist: string;
|
|
14
|
+
cancel: string;
|
|
15
|
+
create: string;
|
|
16
|
+
update: string;
|
|
17
|
+
createCategories: string;
|
|
18
|
+
category: string;
|
|
19
|
+
removeCircleOutline: string;
|
|
20
|
+
close: string;
|
|
21
|
+
endPoint: string;
|
|
22
|
+
token: string;
|
|
23
|
+
enterFrameworkName: string;
|
|
24
|
+
frameworkName: string;
|
|
25
|
+
clear: string;
|
|
26
|
+
or: string;
|
|
27
|
+
experienceTaxonomy: string;
|
|
28
|
+
playWithIt: string;
|
|
29
|
+
newConnection: string;
|
|
30
|
+
categoryPreview: string;
|
|
31
|
+
allFrac: string;
|
|
32
|
+
treeView: string;
|
|
33
|
+
categoryName: string;
|
|
34
|
+
name: string;
|
|
35
|
+
description: string;
|
|
36
|
+
addCompetency: string;
|
|
37
|
+
add_btn: string;
|
|
38
|
+
delete: string;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=strings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/labels/strings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsClB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval.model.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/models/approval.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,iBAAiB,EAAC,MAAM,CAAA;IACxB,WAAW,EAAC,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-type.model.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/models/connection-type.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD,MAAM,WAAW,eAAe;IAC5B,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.model.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/models/connection.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAC,OAAO,CAAA;CAC7B"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare namespace NSFramework {
|
|
2
|
+
type TCardSubType = 'standard' | 'minimal' | 'space-saving';
|
|
3
|
+
type TNodeStatus = 'draft' | 'live';
|
|
4
|
+
interface ICategory {
|
|
5
|
+
identifier?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
status?: TNodeStatus;
|
|
9
|
+
code: string;
|
|
10
|
+
translations?: any;
|
|
11
|
+
index: number;
|
|
12
|
+
terms: any[];
|
|
13
|
+
}
|
|
14
|
+
interface ITerm {
|
|
15
|
+
associations?: ICategory[];
|
|
16
|
+
code: string;
|
|
17
|
+
translations?: string | null;
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
index?: number;
|
|
21
|
+
category: string;
|
|
22
|
+
status: TNodeStatus;
|
|
23
|
+
}
|
|
24
|
+
interface ITermCard {
|
|
25
|
+
children: any;
|
|
26
|
+
cardSubType: TCardSubType;
|
|
27
|
+
deletedMode?: 'greyOut' | 'hide';
|
|
28
|
+
stateData?: any;
|
|
29
|
+
selected?: boolean;
|
|
30
|
+
category: string;
|
|
31
|
+
isViewOnly?: boolean;
|
|
32
|
+
highlight?: boolean;
|
|
33
|
+
}
|
|
34
|
+
interface ISelectedCategory {
|
|
35
|
+
columnCode: string;
|
|
36
|
+
children: IFrameworkView[];
|
|
37
|
+
}
|
|
38
|
+
interface ITermsByCategory {
|
|
39
|
+
categoryIdentifier: string;
|
|
40
|
+
categoryLevel: number;
|
|
41
|
+
categoryName: string;
|
|
42
|
+
categoryCode: string;
|
|
43
|
+
terms: ITerm[];
|
|
44
|
+
}
|
|
45
|
+
interface IFrameworkView {
|
|
46
|
+
identifier: string;
|
|
47
|
+
code: string;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
children: [];
|
|
51
|
+
parent?: any;
|
|
52
|
+
}
|
|
53
|
+
interface IColumnView {
|
|
54
|
+
identifier: string;
|
|
55
|
+
name: string;
|
|
56
|
+
selected: boolean;
|
|
57
|
+
description?: string;
|
|
58
|
+
status: TNodeStatus;
|
|
59
|
+
code: string;
|
|
60
|
+
translations?: any;
|
|
61
|
+
index: number;
|
|
62
|
+
children: any[];
|
|
63
|
+
category: string;
|
|
64
|
+
associations: string;
|
|
65
|
+
config: any;
|
|
66
|
+
cardRef?: any;
|
|
67
|
+
}
|
|
68
|
+
interface ParentsElements {
|
|
69
|
+
identifier: string;
|
|
70
|
+
}
|
|
71
|
+
interface AdditionalProperties {
|
|
72
|
+
}
|
|
73
|
+
interface ICreateTerm {
|
|
74
|
+
code: string;
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
category: string;
|
|
78
|
+
status: string;
|
|
79
|
+
approvalStatus?: string;
|
|
80
|
+
displayName?: string;
|
|
81
|
+
parents?: ParentsElements[] | null;
|
|
82
|
+
additionalProperties: AdditionalProperties;
|
|
83
|
+
refId?: string;
|
|
84
|
+
refType?: string;
|
|
85
|
+
framework?: string;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=framework.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"framework.model.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/models/framework.model.ts"],"names":[],"mappings":"AACA,yBAAiB,WAAW,CAAC;IAEzB,KAAY,YAAY,GAClB,UAAU,GACV,SAAS,GACT,cAAc,CAAA;IAEpB,KAAY,WAAW,GACjB,OAAO,GACP,MAAM,CAAA;IAEZ,UAAiB,SAAS;QACtB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,MAAM,CAAC,EAAE,WAAW,CAAA;QACpB,IAAI,EAAE,MAAM,CAAA;QACZ,YAAY,CAAC,EAAE,GAAG,CAAA;QAClB,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,GAAG,EAAE,CAAA;KACf;IAED,UAAiB,KAAK;QAClB,YAAY,CAAC,EAAE,SAAS,EAAE,CAAA;QAC1B,IAAI,EAAE,MAAM,CAAA;QACZ,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC5B,IAAI,EAAE,MAAM,CAAA;QACZ,WAAW,EAAE,MAAM,CAAA;QACnB,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,WAAW,CAAA;KACtB;IAED,UAAiB,SAAS;QACtB,QAAQ,EAAE,GAAG,CAAA;QACb,WAAW,EAAE,YAAY,CAAA;QACzB,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;QAChC,SAAS,CAAC,EAAE,GAAG,CAAA;QACf,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,CAAC,E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E,MAAM,CAAC;QACf,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;QACnC,oBAAoB,EAAE,oBAAoB,CAAC;QAC3C,KAAK,CAAC,EAAC,MAAM,CAAC;QACd,OAAO,CAAC,EAAC,MAAM,CAAC;QAChB,SAAS,CAAC,EAAC,MAAM,CAAA;KACpB;CACJ"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export interface Card {
|
|
2
|
+
approvalStatus?: string;
|
|
3
|
+
associations?: Array<Card>;
|
|
4
|
+
identifier?: string;
|
|
5
|
+
code?: string;
|
|
6
|
+
translations?: any;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
index?: number;
|
|
10
|
+
additionalProperties?: any;
|
|
11
|
+
category?: string;
|
|
12
|
+
status?: string;
|
|
13
|
+
icon?: string;
|
|
14
|
+
color?: string;
|
|
15
|
+
children?: Array<Card>;
|
|
16
|
+
highlight?: boolean;
|
|
17
|
+
associationProperties?: associationProperties;
|
|
18
|
+
selected?: boolean;
|
|
19
|
+
config?: Config;
|
|
20
|
+
parents?: any;
|
|
21
|
+
}
|
|
22
|
+
export interface CardSelection {
|
|
23
|
+
element?: Array<Card>;
|
|
24
|
+
selectedTerm?: Array<Card>;
|
|
25
|
+
isSelected: boolean;
|
|
26
|
+
cardRef?: any;
|
|
27
|
+
isUpdate?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface CardChecked {
|
|
30
|
+
term: Card;
|
|
31
|
+
checked: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface associationProperties {
|
|
34
|
+
approvalStatus?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CardsCount {
|
|
37
|
+
category: string;
|
|
38
|
+
count: number;
|
|
39
|
+
}
|
|
40
|
+
export interface Config {
|
|
41
|
+
index: number;
|
|
42
|
+
category: string;
|
|
43
|
+
icon: string;
|
|
44
|
+
color: string;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=variable-type.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-type.model.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/models/variable-type.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,GAAG,CAAA;CAChB;AAED,MAAM,WAAY,aAAa;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACtB,YAAY,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,UAAU;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OrderByPipe implements PipeTransform {
|
|
4
|
+
approvalTerms: never[];
|
|
5
|
+
constructor();
|
|
6
|
+
transform(value: any, sortBy?: string): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderByPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OrderByPipe, "orderBy", false>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=order-by.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-by.pipe.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/pipes/order-by.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;;AAEpD,qBAGa,WAAY,YAAW,aAAa;IAC/C,aAAa,UAAM;;IAGnB,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG;yCAJhC,WAAW;uCAAX,WAAW;CA2BvB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FrameworkService } from '../services/framework.service';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ApprovalService {
|
|
6
|
+
private frameworkService;
|
|
7
|
+
private http;
|
|
8
|
+
environment: any;
|
|
9
|
+
approvalListSubject: BehaviorSubject<any>;
|
|
10
|
+
constructor(frameworkService: FrameworkService, http: HttpClient);
|
|
11
|
+
createApproval(req: any): import("rxjs").Observable<Object>;
|
|
12
|
+
getApprovalList(req: any): import("rxjs").Observable<Object>;
|
|
13
|
+
getWorkflowDetails(id: any): import("rxjs").Observable<Object>;
|
|
14
|
+
updateWorkFlowApproval(req: any): import("rxjs").Observable<Object>;
|
|
15
|
+
removeDuplicates(arr: string[]): string[];
|
|
16
|
+
setApprovalList(list: any): void;
|
|
17
|
+
getUpdateList(): import("rxjs").Observable<any>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalService>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=approval.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval.service.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/services/approval.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAEhE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAG,MAAM,MAAM,CAAC;;AAExC,qBAGa,eAAe;IAId,OAAO,CAAC,gBAAgB;IAAoB,OAAO,CAAC,IAAI;IAHpE,WAAW,MAAA;IACX,mBAAmB,EAAE,eAAe,CAAC,GAAG,CAAC,CAA2B;gBAEhD,gBAAgB,EAAE,gBAAgB,EAAU,IAAI,EAAE,UAAU;IAIhF,cAAc,CAAC,GAAG,EAAC,GAAG;IAOtB,eAAe,CAAC,GAAG,EAAC,GAAG;IAIvB,kBAAkB,CAAC,EAAE,EAAC,GAAG;IAIzB,sBAAsB,CAAC,GAAG,EAAC,GAAG;IAI9B,gBAAgB,CAAC,GAAG,EAAC,MAAM,EAAE,GAAE,MAAM,EAAE;IAIvC,eAAe,CAAC,IAAI,EAAC,GAAG;IAGxB,aAAa;yCAlCF,eAAe;6CAAf,eAAe;CAqC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.service.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/services/connection.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,eAAe,CAAqC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ConnectorService {
|
|
3
|
+
connectorMap: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
elmWrapper: any;
|
|
7
|
+
containerSelector: string;
|
|
8
|
+
constructor();
|
|
9
|
+
_drawLine(source: any, target: any, options?: any, sourceContainerId?: any, targetContainerId?: any): any;
|
|
10
|
+
private renderLine;
|
|
11
|
+
updateConnectorsMap(map: any): void;
|
|
12
|
+
position(line: any): void;
|
|
13
|
+
removeAllLines(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectorService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectorService>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=connector.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connector.service.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/services/connector.service.ts"],"names":[],"mappings":";AAoBA,qBACa,gBAAgB;IAC3B,YAAY,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAM;IACxC,UAAU,EAAE,GAAG,CAAC;IAChB,iBAAiB,SAAwB;;IAIzC,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAE,GAAmB,EAAE,iBAAiB,GAAE,GAAe,EAAE,iBAAiB,GAAE,GAAe,GAAG,GAAG;IA6C9I,OAAO,CAAC,UAAU;IAoNlB,mBAAmB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAInC,QAAQ,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAazB,cAAc,IAAI,IAAI;yCAzRX,gBAAgB;6CAAhB,gBAAgB;CA0S5B"}
|