@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
package/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ActionBarComponent implements OnInit {
|
|
4
|
+
actionType: any;
|
|
5
|
+
configType: any;
|
|
6
|
+
sendApproval: EventEmitter<any>;
|
|
7
|
+
closeAction: EventEmitter<any>;
|
|
8
|
+
app_strings: any;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
SendForApproval(): void;
|
|
12
|
+
closeActionBar(): void;
|
|
13
|
+
getApproveLevelText(res: any): string | undefined;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionBarComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionBarComponent, "lib-action-bar", never, { "actionType": { "alias": "actionType"; "required": false; }; "configType": { "alias": "configType"; "required": false; }; }, { "sendApproval": "sendApproval"; "closeAction": "closeAction"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=action-bar.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/action-bar/action-bar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAU,YAAY,EAAS,MAAM,eAAe,CAAC;;AAG/E,qBAKa,kBAAmB,YAAW,MAAM;IACtC,UAAU,EAAC,GAAG,CAAC;IACf,UAAU,EAAC,GAAG,CAAC;IACd,YAAY,oBAAsB;IAClC,WAAW,oBAAsB;IAC3C,WAAW,EAAE,GAAG,CAAU;;IAG1B,QAAQ;IAGR,eAAe;IAIf,cAAc;IAGd,mBAAmB,CAAC,GAAG,EAAC,GAAG;yCAlBhB,kBAAkB;2CAAlB,kBAAkB;CAsB9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ApprovalComponent implements OnInit {
|
|
4
|
+
app_strings: any;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalComponent, "lib-approval", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=approval.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/approval/approval.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAqB,MAAM,eAAe,CAAC;;AAGrE,qBAMa,iBAAkB,YAAW,MAAM;IAC9C,WAAW,EAAE,GAAG,CAAU;;IAI1B,QAAQ;yCALG,iBAAiB;2CAAjB,iBAAiB;CAQ7B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ApprovalService } from '../../services/approval.service';
|
|
4
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
5
|
+
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApproveViewComponent implements OnInit {
|
|
8
|
+
private activatedRoute;
|
|
9
|
+
private approvalService;
|
|
10
|
+
private frameworkService;
|
|
11
|
+
private _snackBar;
|
|
12
|
+
list$: any;
|
|
13
|
+
workflowDetails: any;
|
|
14
|
+
listItems: any;
|
|
15
|
+
categories: string[];
|
|
16
|
+
showAction: boolean;
|
|
17
|
+
lineRef: never[];
|
|
18
|
+
constructor(activatedRoute: ActivatedRoute, approvalService: ApprovalService, frameworkService: FrameworkService, _snackBar: MatSnackBar);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
getworkFlowDetails(id: any): void;
|
|
21
|
+
approvalRequest(_approvalTerms: any): void;
|
|
22
|
+
closeActionBar(_e: any): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApproveViewComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApproveViewComponent, "lib-approve-view", never, {}, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=approve-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approve-view.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/approve-view/approve-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,oCAAoC,CAAC;;AAEtF,qBAKa,oBAAqB,YAAW,MAAM;IAOrC,OAAO,CAAC,cAAc;IAChC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,SAAS;IATnB,KAAK,EAAG,GAAG,CAAC;IACZ,eAAe,EAAC,GAAG,CAAC;IACpB,SAAS,EAAE,GAAG,CAAK;IACnB,UAAU,EAAE,MAAM,EAAE,CAAK;IACzB,UAAU,UAAO;IACjB,OAAO,UAAK;gBACQ,cAAc,EAAE,cAAc,EACxC,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,WAAW;IAEhC,QAAQ;IASR,kBAAkB,CAAC,EAAE,EAAE,GAAG;IAW1B,eAAe,CAAC,cAAc,EAAE,GAAG;IAWnC,cAAc,CAAC,EAAE,EAAC,GAAG;IA6BrB,WAAW;yCAxEA,oBAAoB;2CAApB,oBAAoB;CA2EhC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CategoriesPreviewComponent implements OnChanges, OnInit {
|
|
4
|
+
data: any;
|
|
5
|
+
lineRef: any;
|
|
6
|
+
app_strings: any;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
drawLine(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CategoriesPreviewComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CategoriesPreviewComponent, "lib-categories-preview", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=categories-preview.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories-preview.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/categories-preview/categories-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;AAIpE,qBAKa,0BAA2B,YAAW,SAAS,EAAE,MAAM;IAEzD,IAAI,EAAE,GAAG,CAAC;IACnB,OAAO,EAAE,GAAG,CAAM;IAClB,WAAW,EAAE,GAAG,CAAU;;IAG1B,WAAW;IAMX,QAAQ;IAMR,QAAQ;yCAnBG,0BAA0B;2CAA1B,0BAA0B;CAsCtC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
3
|
+
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
|
|
4
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ConforamtionPopupComponent implements OnInit {
|
|
7
|
+
private dialogRef;
|
|
8
|
+
private data;
|
|
9
|
+
frameworkService: FrameworkService;
|
|
10
|
+
private _snackBar;
|
|
11
|
+
dialogDetails: any;
|
|
12
|
+
showLoader: boolean;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<ConforamtionPopupComponent>, data: any, frameworkService: FrameworkService, _snackBar: MatSnackBar);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
closePopup(event: any): void;
|
|
16
|
+
dialogClose(event: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConforamtionPopupComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConforamtionPopupComponent, "lib-conforamtion-popup", never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=conforamtion-popup.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conforamtion-popup.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/conforamtion-popup/conforamtion-popup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAA6C,kBAAkB,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAChI,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;AAIpE,qBAKa,0BAA2B,YAAW,MAAM;IAMrD,OAAO,CAAC,SAAS;IACQ,OAAO,CAAC,IAAI;IAC9B,gBAAgB,EAAE,gBAAgB;IACzC,OAAO,CAAC,SAAS;IAPnB,aAAa,EAAE,GAAG,CAAA;IAClB,UAAU,EAAE,OAAO,CAAQ;gBAGjB,SAAS,EAAE,YAAY,CAAC,0BAA0B,CAAC,EAC1B,IAAI,EAAE,GAAG,EACnC,gBAAgB,EAAE,gBAAgB,EACjC,SAAS,EAAE,WAAW;IAKhC,QAAQ;IAGR,UAAU,CAAC,KAAK,EAAE,GAAG;IAqCrB,WAAW,CAAC,KAAK,EAAE,GAAG;yCAtDX,0BAA0B;2CAA1B,0BAA0B;CA6DtC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
4
|
+
import { LocalConnectionService } from '../../services/local-connection.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ConnectorComponent implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<ConnectorComponent>;
|
|
8
|
+
data: any;
|
|
9
|
+
private localScv;
|
|
10
|
+
private fb;
|
|
11
|
+
connectorForm: UntypedFormGroup;
|
|
12
|
+
app_strings: any;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<ConnectorComponent>, data: any, localScv: LocalConnectionService, fb: UntypedFormBuilder);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
initConnectorForm(): void;
|
|
16
|
+
saveConnection(): void;
|
|
17
|
+
clear(): void;
|
|
18
|
+
dialogClose(): void;
|
|
19
|
+
loadDefault(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectorComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConnectorComponent, "lib-connector", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=connector.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connector.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/connector/connector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAc,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,kBAAkB,IAAI,YAAY,EAA6C,MAAM,iCAAiC,CAAC;AAChI,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;;AAKjF,qBAMa,kBAAmB,YAAW,MAAM;IAItC,SAAS,EAAE,YAAY,CAAC,kBAAkB,CAAC;IAClB,IAAI,EAAE,GAAG;IACzC,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,EAAE;IANZ,aAAa,EAAG,gBAAgB,CAAC;IACjC,WAAW,EAAE,GAAG,CAAU;gBAEjB,SAAS,EAAE,YAAY,CAAC,kBAAkB,CAAC,EAClB,IAAI,EAAE,GAAG,EACjC,QAAQ,EAAE,sBAAsB,EAChC,EAAE,EAAE,kBAAkB;IAGhC,QAAQ;IAcR,iBAAiB;IASjB,cAAc;IAKd,KAAK;IAIL,WAAW;IAGX,WAAW;yCA7CA,kBAAkB;2CAAlB,kBAAkB;CAiD9B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CreateCategoriesComponent implements OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
taxonomyInfo: any;
|
|
8
|
+
updateCategory: EventEmitter<any>;
|
|
9
|
+
removeCategories: EventEmitter<any>;
|
|
10
|
+
changePosition: EventEmitter<any>;
|
|
11
|
+
createCategoriesForm: UntypedFormGroup;
|
|
12
|
+
app_strings: any;
|
|
13
|
+
constructor(fb: UntypedFormBuilder);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
categories(): UntypedFormArray;
|
|
16
|
+
newCategories(): UntypedFormGroup;
|
|
17
|
+
addCategory(): void;
|
|
18
|
+
removeCategory(i: number): void;
|
|
19
|
+
initCategoryForm(): void;
|
|
20
|
+
saveForm(): void;
|
|
21
|
+
emitCategory(event: any): void;
|
|
22
|
+
drop(event: CdkDragDrop<string[]>): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateCategoriesComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateCategoriesComponent, "lib-create-categories", never, { "taxonomyInfo": { "alias": "taxonomyInfo"; "required": false; }; }, { "updateCategory": "updateCategory"; "removeCategories": "removeCategories"; "changePosition": "changePosition"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=create-categories.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-categories.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/create-categories/create-categories.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAsC,MAAM,wBAAwB,CAAC;AACzF,OAAO,EAAa,MAAM,EAAkB,YAAY,EAAC,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;;AAIxF,qBAKa,yBAA0B,YAAW,MAAM;IAU1C,OAAO,CAAC,EAAE;IATb,YAAY,EAAC,GAAG,CAAA;IACf,cAAc,oBAAqB;IACnC,gBAAgB,oBAAqB;IACrC,cAAc,oBAAqB;IAE7C,oBAAoB,EAAG,gBAAgB,CAAA;IAEvC,WAAW,EAAE,GAAG,CAAU;gBAEN,EAAE,EAAE,kBAAkB;IAE1C,QAAQ;IAUR,UAAU,IAAI,gBAAgB;IAI9B,aAAa,IAAI,gBAAgB;IAMjC,WAAW;IAIX,cAAc,CAAC,CAAC,EAAC,MAAM;IAKvB,gBAAgB;IAUhB,QAAQ;IAIR,YAAY,CAAC,KAAK,EAAC,GAAG;IAGtB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;yCA1DtB,yBAAyB;2CAAzB,yBAAyB;CAuErC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
3
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
4
|
+
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
5
|
+
import { Card } from '../../models/variable-type.model';
|
|
6
|
+
import { OdcsService } from '../../services/odcs.service';
|
|
7
|
+
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CreateTermComponent implements OnInit, AfterViewInit {
|
|
10
|
+
dialogRef: MatDialogRef<CreateTermComponent>;
|
|
11
|
+
data: any;
|
|
12
|
+
private frameWorkService;
|
|
13
|
+
private fb;
|
|
14
|
+
private odcsService;
|
|
15
|
+
private _snackBar;
|
|
16
|
+
private cdr;
|
|
17
|
+
name: string;
|
|
18
|
+
termLists: Array<Card>;
|
|
19
|
+
filtedTermLists: any;
|
|
20
|
+
createTermForm: any;
|
|
21
|
+
createThemeForm: UntypedFormGroup;
|
|
22
|
+
createThemeFormMulti: UntypedFormGroup;
|
|
23
|
+
disableCreate: boolean;
|
|
24
|
+
disableUpdate: boolean;
|
|
25
|
+
disableMultiCreate: boolean;
|
|
26
|
+
isTermExist: boolean;
|
|
27
|
+
selectedTerm: Card;
|
|
28
|
+
app_strings: {
|
|
29
|
+
flag: string;
|
|
30
|
+
createNew: string;
|
|
31
|
+
edit: string;
|
|
32
|
+
build: string;
|
|
33
|
+
noData: string;
|
|
34
|
+
loading: string;
|
|
35
|
+
add: string;
|
|
36
|
+
pendingApproval: string;
|
|
37
|
+
date: string;
|
|
38
|
+
more: string;
|
|
39
|
+
rightArrow: string;
|
|
40
|
+
alreadyExist: string;
|
|
41
|
+
cancel: string;
|
|
42
|
+
create: string;
|
|
43
|
+
update: string;
|
|
44
|
+
createCategories: string;
|
|
45
|
+
category: string;
|
|
46
|
+
removeCircleOutline: string;
|
|
47
|
+
close: string;
|
|
48
|
+
endPoint: string;
|
|
49
|
+
token: string;
|
|
50
|
+
enterFrameworkName: string;
|
|
51
|
+
frameworkName: string;
|
|
52
|
+
clear: string;
|
|
53
|
+
or: string;
|
|
54
|
+
experienceTaxonomy: string;
|
|
55
|
+
playWithIt: string;
|
|
56
|
+
newConnection: string;
|
|
57
|
+
categoryPreview: string;
|
|
58
|
+
allFrac: string;
|
|
59
|
+
treeView: string;
|
|
60
|
+
categoryName: string;
|
|
61
|
+
name: string;
|
|
62
|
+
description: string;
|
|
63
|
+
addCompetency: string;
|
|
64
|
+
add_btn: string;
|
|
65
|
+
delete: string;
|
|
66
|
+
};
|
|
67
|
+
colCode: string;
|
|
68
|
+
savedDesignations: any;
|
|
69
|
+
addedDesignationCount: number;
|
|
70
|
+
designationsList: never[];
|
|
71
|
+
panelOpenState: any[];
|
|
72
|
+
allCompetency: any[];
|
|
73
|
+
seletedCompetencyArea: any;
|
|
74
|
+
allCompetencyTheme: any[];
|
|
75
|
+
filteredallCompetencyTheme: any[];
|
|
76
|
+
allCompetencySubtheme: any[];
|
|
77
|
+
filteredallCompetencySubTheme: any[];
|
|
78
|
+
competencyForm: UntypedFormGroup;
|
|
79
|
+
compLabeltext: string;
|
|
80
|
+
masterList: any[];
|
|
81
|
+
filteredMasterList: any[];
|
|
82
|
+
expansionTitle: string;
|
|
83
|
+
private debounceTimeout;
|
|
84
|
+
private debounceDelay;
|
|
85
|
+
values: string;
|
|
86
|
+
toolTipText: string;
|
|
87
|
+
previousCategoryCode: string;
|
|
88
|
+
previousTermCode: string;
|
|
89
|
+
previousCatCode: string;
|
|
90
|
+
previousTermCatCode: string;
|
|
91
|
+
selectedTermArray: any;
|
|
92
|
+
constructor(dialogRef: MatDialogRef<CreateTermComponent>, data: any, frameWorkService: FrameworkService, fb: UntypedFormBuilder, odcsService: OdcsService, _snackBar: MatSnackBar, cdr: ChangeDetectorRef);
|
|
93
|
+
ngOnInit(): void;
|
|
94
|
+
ngAfterViewInit(): void;
|
|
95
|
+
initTermForm(): void;
|
|
96
|
+
getComptencyData(): void;
|
|
97
|
+
get themeFields(): UntypedFormArray;
|
|
98
|
+
get themeFieldsControls(): any;
|
|
99
|
+
createThemeFields(): UntypedFormGroup;
|
|
100
|
+
addThemeFields(): void;
|
|
101
|
+
removeThemeFields(index: number): void;
|
|
102
|
+
getCreateName(name: string): string;
|
|
103
|
+
getCategoryName(categoryName: any, term: any): any;
|
|
104
|
+
getName(item: any): any;
|
|
105
|
+
getLabelName(labelName: string): string;
|
|
106
|
+
createCompThemeFields(): UntypedFormGroup;
|
|
107
|
+
addCompetencyTheme(): void;
|
|
108
|
+
removeCompFields(index: number): void;
|
|
109
|
+
get compThemeFields(): UntypedFormArray;
|
|
110
|
+
updateFormView(form: any, data: any): void;
|
|
111
|
+
updateFormEdit(form: any, data: any): void;
|
|
112
|
+
onKey(event: any): void;
|
|
113
|
+
filterOrgValues(searchValue: string, array: any): any;
|
|
114
|
+
getKcmSearch(): void;
|
|
115
|
+
onDisableTheme(option: any): boolean;
|
|
116
|
+
multiCreate(form: any, _data: any): void;
|
|
117
|
+
updateTermAssociationsMulti(createdTerms: any[]): Promise<void>;
|
|
118
|
+
callUpdateAssociations(counter: any, parent: any, reguestBody: any): Promise<any>;
|
|
119
|
+
updateDname(_name: any, _form: any, _i?: any): void;
|
|
120
|
+
change(event: any, form: any, i?: any): void;
|
|
121
|
+
getExpansionTitle(form: any): any;
|
|
122
|
+
get designationControls(): import("@angular/forms").AbstractControl<any, any>[];
|
|
123
|
+
loadDesignations(): void;
|
|
124
|
+
getFilteredDesignationList(index: string): never[];
|
|
125
|
+
addDesignation(): void;
|
|
126
|
+
clearSelectedDesignaionOnChange(index: any, event: any): void;
|
|
127
|
+
deleteDesignation(index: number): void;
|
|
128
|
+
saveDesignation(index: number): void;
|
|
129
|
+
submitDesignation(): void;
|
|
130
|
+
cancel(): void;
|
|
131
|
+
get enableAddBtn(): boolean;
|
|
132
|
+
private _filter;
|
|
133
|
+
private _normalizeValue;
|
|
134
|
+
onSelectionArea(option: any): void;
|
|
135
|
+
OnThemeSelection(event: any): void;
|
|
136
|
+
onSelect(term: any, form: any): void;
|
|
137
|
+
saveTerm(): void;
|
|
138
|
+
updateTermData(form: any, data: any): void;
|
|
139
|
+
updateTermDataAssociations(updateData: any): void;
|
|
140
|
+
updateTermAssociations(updateData?: any): void;
|
|
141
|
+
saveThemeTerm(): void;
|
|
142
|
+
dialogClose(term: any): void;
|
|
143
|
+
updateTermAssociationsMultiV2(createdTerms: any[], parentSelectedTerm?: any): Promise<void>;
|
|
144
|
+
callUpdateAssociationsV2(counter: any, parent: any, reguestBody: any): Promise<any>;
|
|
145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateTermComponent, never>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateTermComponent, "lib-create-term", never, {}, {}, never, never, false, never>;
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=create-term.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-term.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/create-term/create-term.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAE,kBAAkB,IAAI,YAAY,EAA6C,MAAM,iCAAiC,CAAC;AAChI,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAc,MAAM,gBAAgB,CAAC;AAKpG,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,oCAAoC,CAAC;;AAGtF,qBAMa,mBAAoB,YAAW,MAAM,EAAE,aAAa;IAyCtD,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC;IACnB,IAAI,EAAE,GAAG;IACzC,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,GAAG;IA9Cb,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,CAAM;IAC5B,eAAe,EAAE,GAAG,CAAC;IACrB,cAAc,EAAE,GAAG,CAAA;IACnB,eAAe,EAAE,gBA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,EAAE,GAAG;IAuBpC,iBAAiB,CAAC,IAAI,EAAE,GAAG;IAQ3B,IAAI,mBAAmB,yDAEtB;IAED,gBAAgB;IAShB,0BAA0B,CAAC,KAAK,EAAE,MAAM;IAUxC,cAAc;IAcd,+BAA+B,CAAC,KAAK,EAAC,GAAG,EAAE,KAAK,EAAC,GAAG;IAQpD,iBAAiB,CAAC,KAAK,EAAE,MAAM;IAM/B,eAAe,CAAC,KAAK,EAAE,MAAM;IAc7B,iBAAiB;IAIjB,MAAM;IAIN,IAAI,YAAY,YAKf;IAID,OAAO,CAAC,OAAO;IAWf,OAAO,CAAC,eAAe;IAIvB,eAAe,CAAC,MAAM,EAAC,GAAG;IAY1B,gBAAgB,CAAC,KAAK,EAAC,GAAG;IA0B1B,QAAQ,CAAC,IAAI,EAAC,GAAG,EAAE,IAAI,EAAC,GAAG;IAgB3B,QAAQ;IAsCR,cAAc,CAAC,IAAI,EAAC,GAAG,EAAE,IAAI,EAAC,GAAG;IAqBjC,0BAA0B,CAAC,UAAU,EAAC,GAAG;IA+CzC,sBAAsB,CAAC,UAAU,CAAC,EAAE,GAAG;IAkDvC,aAAa;IAuCb,WAAW,CAAC,IAAI,EAAE,GAAG;IAOf,6BAA6B,CAAC,YAAY,EAAE,GAAG,EAAE,EAAE,kBAAkB,CAAC,EAAC,GAAG;IAyF3E,wBAAwB,CAAC,OAAO,EAAC,GAAG,EAAE,MAAM,EAAC,GAAG,EAAE,WAAW,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;yCArgC3E,mBAAmB;2CAAnB,mBAAmB;CAkjC/B"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { MatLegacyDialog as MatDialog, MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
4
|
+
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
|
|
5
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
6
|
+
import { Card } from '../../models/variable-type.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CreateTermFromFrameworkComponent implements OnInit {
|
|
9
|
+
dialogRef: MatDialogRef<CreateTermFromFrameworkComponent>;
|
|
10
|
+
data: any;
|
|
11
|
+
private dialog;
|
|
12
|
+
frameWorkService: FrameworkService;
|
|
13
|
+
private fb;
|
|
14
|
+
private _snackBar;
|
|
15
|
+
app_strings: {
|
|
16
|
+
flag: string;
|
|
17
|
+
createNew: string;
|
|
18
|
+
edit: string;
|
|
19
|
+
build: string;
|
|
20
|
+
noData: string;
|
|
21
|
+
loading: string;
|
|
22
|
+
add: string;
|
|
23
|
+
pendingApproval: string;
|
|
24
|
+
date: string;
|
|
25
|
+
more: string;
|
|
26
|
+
rightArrow: string;
|
|
27
|
+
alreadyExist: string;
|
|
28
|
+
cancel: string;
|
|
29
|
+
create: string;
|
|
30
|
+
update: string;
|
|
31
|
+
createCategories: string;
|
|
32
|
+
category: string;
|
|
33
|
+
removeCircleOutline: string;
|
|
34
|
+
close: string;
|
|
35
|
+
endPoint: string;
|
|
36
|
+
token: string;
|
|
37
|
+
enterFrameworkName: string;
|
|
38
|
+
frameworkName: string;
|
|
39
|
+
clear: string;
|
|
40
|
+
or: string;
|
|
41
|
+
experienceTaxonomy: string;
|
|
42
|
+
playWithIt: string;
|
|
43
|
+
newConnection: string;
|
|
44
|
+
categoryPreview: string;
|
|
45
|
+
allFrac: string;
|
|
46
|
+
treeView: string;
|
|
47
|
+
categoryName: string;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
addCompetency: string;
|
|
51
|
+
add_btn: string;
|
|
52
|
+
delete: string;
|
|
53
|
+
};
|
|
54
|
+
environment: any;
|
|
55
|
+
selectedTerm: Card;
|
|
56
|
+
selectedTermArray: any;
|
|
57
|
+
kcmConfigData: any;
|
|
58
|
+
selectedThemeData: any;
|
|
59
|
+
isTermExist: boolean;
|
|
60
|
+
disableCreate: boolean;
|
|
61
|
+
disableMultiCreate: boolean;
|
|
62
|
+
disableUpdate: boolean;
|
|
63
|
+
competencyForm: UntypedFormGroup;
|
|
64
|
+
kcmList: any;
|
|
65
|
+
competencyArea: any;
|
|
66
|
+
selectedCardCompThemeData: any;
|
|
67
|
+
allCompetency: any[];
|
|
68
|
+
seletedCompetencyArea: any;
|
|
69
|
+
allCompetencyTheme: any[];
|
|
70
|
+
filteredallCompetencyTheme: any[];
|
|
71
|
+
allCompetencySubtheme: any[];
|
|
72
|
+
filteredallCompetencySubTheme: any[];
|
|
73
|
+
constructor(dialogRef: MatDialogRef<CreateTermFromFrameworkComponent>, data: any, dialog: MatDialog, frameWorkService: FrameworkService, fb: UntypedFormBuilder, _snackBar: MatSnackBar);
|
|
74
|
+
ngOnInit(): void;
|
|
75
|
+
getComptencyData(): void;
|
|
76
|
+
formateData(response: any, frameworkId: string): void;
|
|
77
|
+
createCompThemeFields(): UntypedFormGroup;
|
|
78
|
+
getCreateName(data: any): string;
|
|
79
|
+
clearSelectedThemes(option: any): void;
|
|
80
|
+
get isThemeSelected(): boolean;
|
|
81
|
+
openConforamtionPopup(option: any): void;
|
|
82
|
+
onSelectionArea(option: any): void;
|
|
83
|
+
addCompetencyTheme(): void;
|
|
84
|
+
removeCompFields(index: number): void;
|
|
85
|
+
OnThemeSelection(event: any, _indexValue: any, optionData: any): void;
|
|
86
|
+
onTermRemove(termData: any, indexValue: number): void;
|
|
87
|
+
OnSubThemeSelection(_event: any, _indexValue: number, _option: any): void;
|
|
88
|
+
multiCreate(form: any, _data: any): Promise<void>;
|
|
89
|
+
crateTerm(frameworkId: any, colCode: any, requestBody: any): Promise<unknown>;
|
|
90
|
+
updateTermAssociationsMultiV2(createdTerms: any[], parentSelectedTerm?: any, _runningIndex?: number, _themFieldsLength?: number): Promise<any>;
|
|
91
|
+
updateTermAssociationsMulti(createdTerms: any[]): Promise<void>;
|
|
92
|
+
callUpdateAssociationsV2(counter: any, parent: any, reguestBody: any): Promise<any>;
|
|
93
|
+
callUpdateAssociations(counter: any, parent: any, reguestBody: any): Promise<any>;
|
|
94
|
+
updateTermData(form: any, data: any): void;
|
|
95
|
+
updateTermAssociations(updateData?: any): void;
|
|
96
|
+
dialogClose(term: any): void;
|
|
97
|
+
multiCreateSubTheme(_form: any, data: any): Promise<void>;
|
|
98
|
+
onDisableTheme(option: any): boolean;
|
|
99
|
+
updateLocalList(item: any, parent: any, selectedTermArray: any, updateType?: any): void;
|
|
100
|
+
deleteTheme(): void;
|
|
101
|
+
get compThemeFields(): UntypedFormArray;
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateTermFromFrameworkComponent, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateTermFromFrameworkComponent, "lib-create-term-from-framework", never, {}, {}, never, never, false, never>;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=create-term-from-framework.component.d.ts.map
|
package/lib/components/create-term-from-framework/create-term-from-framework.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-term-from-framework.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/create-term-from-framework/create-term-from-framework.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAsB,gBAAgB,EAAc,MAAM,gBAAgB,CAAC;AACxH,OAAO,EAA6C,eAAe,IAAI,SAAS,EAAE,kBAAkB,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC9J,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,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AE,GAAG;IAmG/C,cAAc,CAAC,MAAM,EAAE,GAAG;IA6B1B,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,iBAAiB,EAAE,GAAG,EAAE,UAAU,CAAC,EAAC,GAAG;IA0C9E,WAAW;IAoCX,IAAI,eAAe,IAAI,gBAAgB,CAEtC;yCAp8BU,gCAAgC;2CAAhC,gCAAgC;CAs8B5C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { TreeHierarchyService } from '../../tree-hierarchy.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OrgHierarchyAddModalComponent implements OnInit, OnDestroy {
|
|
7
|
+
dialogRef: MatDialogRef<OrgHierarchyAddModalComponent>;
|
|
8
|
+
data: any;
|
|
9
|
+
private treeHierarchySvc;
|
|
10
|
+
searchControl: FormControl<string | null>;
|
|
11
|
+
selectedOrgsControl: FormControl<(string | number)[] | null>;
|
|
12
|
+
orgOptions: any[];
|
|
13
|
+
filteredOptions: any[];
|
|
14
|
+
private destroy$;
|
|
15
|
+
constructor(dialogRef: MatDialogRef<OrgHierarchyAddModalComponent>, data: any, treeHierarchySvc: TreeHierarchyService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
filterOptions(searchValue: string): void;
|
|
19
|
+
private sortOptionsWithSelectedFirst;
|
|
20
|
+
clearSearch(event: Event): void;
|
|
21
|
+
toggleSelectAll(event: Event): void;
|
|
22
|
+
isAllSelected(): boolean;
|
|
23
|
+
getSelectedOptions(): any[];
|
|
24
|
+
removeSelected(id: string | number): void;
|
|
25
|
+
onClose(): void;
|
|
26
|
+
onSave(): void;
|
|
27
|
+
getSelectedStateOrg(): Promise<void>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrgHierarchyAddModalComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrgHierarchyAddModalComponent, "sb-cb-tree-org-hierarchy-add-modal", never, {}, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=org-hierarchy-add-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"org-hierarchy-add-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,kBAAkB,IAAI,YAAY,EAA6C,MAAM,iCAAiC,CAAC;AAChI,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;;AAEpE,qBAKa,6BAA8B,YAAW,MAAM,EAAE,SAAS;IAW5D,SAAS,EAAE,YAAY,CAAC,6BAA6B,CAAC;IAC7B,IAAI,EAAE,GAAG;IACzC,OAAO,CAAC,gBAAgB;IAZ1B,aAAa,6BAAuB;IACpC,mBAAmB,0CAA4C;IAG/D,UAAU,EAAE,GAAG,EAAE,CAAM;IACvB,eAAe,EAAE,GAAG,EAAE,CAAM;IAE5B,OAAO,CAAC,QAAQ,CAAuB;gBAG9B,SAAS,EAAE,YAAY,CAAC,6BAA6B,CAAC,EAC7B,IAAI,EAAE,GAAG,EACjC,gBAAgB,EAAE,oBAAoB;IAGhD,QAAQ;IAWR,WAAW;IAKX,aAAa,CAAC,WAAW,EAAE,MAAM;IA2BjC,OAAO,CAAC,4BAA4B;IAmBpC,WAAW,CAAC,KAAK,EAAE,KAAK;IAKxB,eAAe,CAAC,KAAK,EAAE,KAAK;IAU5B,aAAa,IAAI,OAAO;IAMxB,kBAAkB;IAKlB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM;IAOlC,OAAO;IAIP,MAAM;IAKA,mBAAmB;yCAxHd,6BAA6B;2CAA7B,6BAA6B;CA2JzC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ApprovalService } from '../../services/approval.service';
|
|
3
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PendingApprovalComponent implements OnInit {
|
|
6
|
+
private approvalService;
|
|
7
|
+
private frameworkService;
|
|
8
|
+
pendingList: never[];
|
|
9
|
+
approvalList: never[];
|
|
10
|
+
categories: never[];
|
|
11
|
+
app_strings: any;
|
|
12
|
+
constructor(approvalService: ApprovalService, frameworkService: FrameworkService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getApprovalList(): void;
|
|
15
|
+
removeDuplicates(arr: any): unknown[];
|
|
16
|
+
createApprovalList(updateFieldValues: any): any;
|
|
17
|
+
getTerms(terms: any): any;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PendingApprovalComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PendingApprovalComponent, "lib-pending-approval", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=pending-approval.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-approval.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/pending-approval/pending-approval.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;AAIpE,qBAKa,wBAAyB,YAAW,MAAM;IAKzC,OAAO,CAAC,eAAe;IAAmB,OAAO,CAAC,gBAAgB;IAJ9E,WAAW,UAAM;IACjB,YAAY,UAAM;IAClB,UAAU,UAAM;IAChB,WAAW,EAAE,GAAG,CAAU;gBACN,eAAe,EAAE,eAAe,EAAU,gBAAgB,EAAE,gBAAgB;IAEhG,QAAQ;IAOR,eAAe;IAOf,gBAAgB,CAAC,GAAG,EAAC,GAAG;IAIxB,kBAAkB,CAAC,iBAAiB,EAAE,GAAG;IAgBzC,QAAQ,CAAC,KAAK,EAAE,GAAG;yCAzCR,wBAAwB;2CAAxB,wBAAwB;CA+CpC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { NSFramework } from '../../models/framework.model';
|
|
3
|
+
import { ApprovalService } from '../../services/approval.service';
|
|
4
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
5
|
+
import { LocalConnectionService } from '../../services/local-connection.service';
|
|
6
|
+
import { CardSelection, CardChecked, Card } from '../../models/variable-type.model';
|
|
7
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TermCardComponent implements OnInit, OnDestroy {
|
|
10
|
+
private frameworkService;
|
|
11
|
+
private localConnectionService;
|
|
12
|
+
private approvalService;
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private _data;
|
|
15
|
+
isApprovalRequired: boolean;
|
|
16
|
+
approvalList: Array<Card>;
|
|
17
|
+
heightLighted: never[];
|
|
18
|
+
app_strings: any;
|
|
19
|
+
loaded: any;
|
|
20
|
+
isCompetencyArea: any;
|
|
21
|
+
environment: any;
|
|
22
|
+
subscription: any;
|
|
23
|
+
set data(value: any);
|
|
24
|
+
get data(): any;
|
|
25
|
+
isSelected: EventEmitter<CardSelection>;
|
|
26
|
+
selectedCard: EventEmitter<CardChecked>;
|
|
27
|
+
constructor(frameworkService: FrameworkService, localConnectionService: LocalConnectionService, approvalService: ApprovalService, dialog: MatDialog);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
cardClicked(data: any, cardRef: any): void;
|
|
30
|
+
handleProductClick(term: any, event: any): void;
|
|
31
|
+
updateApprovalStatus(): void;
|
|
32
|
+
getColor(indexClass: number, cardRef: any, property: string, data: any): any;
|
|
33
|
+
view(data: any, childrenData: any, index: any): void;
|
|
34
|
+
edit(data: any, childrenData: any, index: any, cardRef: any): void;
|
|
35
|
+
create(data: any, mode?: string): void;
|
|
36
|
+
getNextCatName(data: any): string | null;
|
|
37
|
+
getNextCat(data: any): NSFramework.ICategory | null;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
delete(data: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TermCardComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TermCardComponent, "lib-term-card", never, { "data": { "alias": "data"; "required": false; }; }, { "isSelected": "isSelected"; "selectedCard": "selectedCard"; }, never, never, false, never>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=term-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"term-card.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/term-card/term-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAA;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,eAAe,I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AC,MAAM;IAiE9B,cAAc,CAAC,IAAI,EAAE,GAAG;IAWxB,UAAU,CAAC,IAAI,EAAE,GAAG;IAQpB,WAAW,IAAI,IAAI;IAKnB,MAAM,CAAC,IAAI,EAAE,GAAG;yCA1TL,iBAAiB;2CAAjB,iBAAiB;CA2W7B"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FrameworkService } from '../../services/framework.service';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { ConnectorService } from '../../services/connector.service';
|
|
5
|
+
import { ApprovalService } from '../../services/approval.service';
|
|
6
|
+
import { CardChecked, CardSelection, CardsCount, Card } from '../../models/variable-type.model';
|
|
7
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TreeColumnViewComponent implements OnInit, OnDestroy, OnChanges {
|
|
10
|
+
private frameworkService;
|
|
11
|
+
private connectorService;
|
|
12
|
+
private approvalService;
|
|
13
|
+
column: any;
|
|
14
|
+
containerId: string | undefined;
|
|
15
|
+
connectorMapping: any;
|
|
16
|
+
updateTaxonomyTerm: EventEmitter<CardSelection>;
|
|
17
|
+
updateTermList: EventEmitter<CardChecked>;
|
|
18
|
+
cardsCount: EventEmitter<CardsCount>;
|
|
19
|
+
columnData: Array<Card>;
|
|
20
|
+
childSubscription: Subscription | undefined;
|
|
21
|
+
newTermSubscription: Subscription | undefined;
|
|
22
|
+
approvalTerm: any;
|
|
23
|
+
termshafall: Array<Card>;
|
|
24
|
+
searchValue: UntypedFormControl;
|
|
25
|
+
startIndex: number;
|
|
26
|
+
limitToAdd: number;
|
|
27
|
+
currentLastIndex: number;
|
|
28
|
+
columnItems: any;
|
|
29
|
+
filteredColumnItems: any;
|
|
30
|
+
constructor(frameworkService: FrameworkService, connectorService: ConnectorService, approvalService: ApprovalService);
|
|
31
|
+
ngOnChanges(): void;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
isExists(e: any): boolean;
|
|
34
|
+
subscribeEvents(): void;
|
|
35
|
+
insertUpdateHandler(e: any, _next: any, isUpdate?: any): void;
|
|
36
|
+
updateSelection1(_data: any): void;
|
|
37
|
+
updateSelection(_selection: any): void;
|
|
38
|
+
setColumnItems(): void;
|
|
39
|
+
transform(value: any, sortBy?: string): any;
|
|
40
|
+
searchFilterData(_ele: any): void;
|
|
41
|
+
clearSearch(): void;
|
|
42
|
+
loadMore(): void;
|
|
43
|
+
setConnectors(elementClicked: any, columnItem: any, mode: any): void;
|
|
44
|
+
removeConnectors(currentElement: any, prevCol: any, currentIndex: any): void;
|
|
45
|
+
selectedCard(event: any): void;
|
|
46
|
+
get showLoadMoreBtn(): boolean;
|
|
47
|
+
get disableLoadButton(): boolean;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeColumnViewComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeColumnViewComponent, "lib-tree-column-view", never, { "column": { "alias": "column"; "required": false; }; "containerId": { "alias": "containerId"; "required": false; }; }, { "updateTaxonomyTerm": "updateTaxonomyTerm"; "updateTermList": "updateTermList"; "cardsCount": "cardsCount"; }, never, never, false, never>;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=tree-column-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-column-view.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/tree-hierarchy/src/lib/components/tree-column-view/tree-column-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,gBA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