@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.
Files changed (118) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/components/action-bar/action-bar.component.mjs +41 -0
  3. package/esm2022/lib/components/approval/approval.component.mjs +19 -0
  4. package/esm2022/lib/components/approve-view/approve-view.component.mjs +64 -0
  5. package/esm2022/lib/components/categories-preview/categories-preview.component.mjs +44 -0
  6. package/esm2022/lib/components/conforamtion-popup/conforamtion-popup.component.mjs +74 -0
  7. package/esm2022/lib/components/connector/connector.component.mjs +59 -0
  8. package/esm2022/lib/components/create-categories/create-categories.component.mjs +83 -0
  9. package/esm2022/lib/components/create-term/create-term.component.mjs +847 -0
  10. package/esm2022/lib/components/create-term-from-framework/create-term-from-framework.component.mjs +823 -0
  11. package/esm2022/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.mjs +149 -0
  12. package/esm2022/lib/components/pending-approval/pending-approval.component.mjs +64 -0
  13. package/esm2022/lib/components/term-card/term-card.component.mjs +311 -0
  14. package/esm2022/lib/components/tree-column-view/tree-column-view.component.mjs +322 -0
  15. package/esm2022/lib/components/tree-view/tree-view.component.mjs +497 -0
  16. package/esm2022/lib/constants/app-constant.mjs +40 -0
  17. package/esm2022/lib/constants/data.mjs +6972 -0
  18. package/esm2022/lib/containers/config-framework/config-framework.component.mjs +92 -0
  19. package/esm2022/lib/containers/dashboard/dashboard.component.mjs +14 -0
  20. package/esm2022/lib/labels/strings.mjs +40 -0
  21. package/esm2022/lib/models/approval.model.mjs +2 -0
  22. package/esm2022/lib/models/connection-type.model.mjs +2 -0
  23. package/esm2022/lib/models/connection.model.mjs +2 -0
  24. package/esm2022/lib/models/framework.model.mjs +2 -0
  25. package/esm2022/lib/models/variable-type.model.mjs +2 -0
  26. package/esm2022/lib/pipes/order-by.pipe.mjs +35 -0
  27. package/esm2022/lib/services/approval.service.mjs +47 -0
  28. package/esm2022/lib/services/connection.service.mjs +3 -0
  29. package/esm2022/lib/services/connector.service.mjs +240 -0
  30. package/esm2022/lib/services/framework.service.mjs +387 -0
  31. package/esm2022/lib/services/local-connection.service.mjs +75 -0
  32. package/esm2022/lib/services/odcs.service.mjs +23 -0
  33. package/esm2022/lib/tree-hierarchy-routing.module.mjs +43 -0
  34. package/esm2022/lib/tree-hierarchy.component.mjs +24 -0
  35. package/esm2022/lib/tree-hierarchy.module.mjs +138 -0
  36. package/esm2022/lib/tree-hierarchy.service.mjs +41 -0
  37. package/esm2022/material.module.mjs +199 -0
  38. package/esm2022/public-api.mjs +9 -0
  39. package/esm2022/sunbird-cb-tree-hierarchy.mjs +2 -0
  40. package/fesm2022/sunbird-cb-tree-hierarchy.mjs +11577 -0
  41. package/fesm2022/sunbird-cb-tree-hierarchy.mjs.map +1 -0
  42. package/index.d.ts +3 -0
  43. package/lib/components/action-bar/action-bar.component.d.ts +17 -0
  44. package/lib/components/action-bar/action-bar.component.d.ts.map +1 -0
  45. package/lib/components/approval/approval.component.d.ts +10 -0
  46. package/lib/components/approval/approval.component.d.ts.map +1 -0
  47. package/lib/components/approve-view/approve-view.component.d.ts +27 -0
  48. package/lib/components/approve-view/approve-view.component.d.ts.map +1 -0
  49. package/lib/components/categories-preview/categories-preview.component.d.ts +14 -0
  50. package/lib/components/categories-preview/categories-preview.component.d.ts.map +1 -0
  51. package/lib/components/conforamtion-popup/conforamtion-popup.component.d.ts +20 -0
  52. package/lib/components/conforamtion-popup/conforamtion-popup.component.d.ts.map +1 -0
  53. package/lib/components/connector/connector.component.d.ts +23 -0
  54. package/lib/components/connector/connector.component.d.ts.map +1 -0
  55. package/lib/components/create-categories/create-categories.component.d.ts +26 -0
  56. package/lib/components/create-categories/create-categories.component.d.ts.map +1 -0
  57. package/lib/components/create-term/create-term.component.d.ts +148 -0
  58. package/lib/components/create-term/create-term.component.d.ts.map +1 -0
  59. package/lib/components/create-term-from-framework/create-term-from-framework.component.d.ts +105 -0
  60. package/lib/components/create-term-from-framework/create-term-from-framework.component.d.ts.map +1 -0
  61. package/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.d.ts +31 -0
  62. package/lib/components/org-hierarchy-add-modal/org-hierarchy-add-modal.component.d.ts.map +1 -0
  63. package/lib/components/pending-approval/pending-approval.component.d.ts +21 -0
  64. package/lib/components/pending-approval/pending-approval.component.d.ts.map +1 -0
  65. package/lib/components/term-card/term-card.component.d.ts +43 -0
  66. package/lib/components/term-card/term-card.component.d.ts.map +1 -0
  67. package/lib/components/tree-column-view/tree-column-view.component.d.ts +52 -0
  68. package/lib/components/tree-column-view/tree-column-view.component.d.ts.map +1 -0
  69. package/lib/components/tree-view/tree-view.component.d.ts +91 -0
  70. package/lib/components/tree-view/tree-view.component.d.ts.map +1 -0
  71. package/lib/constants/app-constant.d.ts +44 -0
  72. package/lib/constants/app-constant.d.ts.map +1 -0
  73. package/lib/constants/data.d.ts +117 -0
  74. package/lib/constants/data.d.ts.map +1 -0
  75. package/lib/containers/config-framework/config-framework.component.d.ts +32 -0
  76. package/lib/containers/config-framework/config-framework.component.d.ts.map +1 -0
  77. package/lib/containers/dashboard/dashboard.component.d.ts +9 -0
  78. package/lib/containers/dashboard/dashboard.component.d.ts.map +1 -0
  79. package/lib/labels/strings.d.ts +40 -0
  80. package/lib/labels/strings.d.ts.map +1 -0
  81. package/lib/models/approval.model.d.ts +11 -0
  82. package/lib/models/approval.model.d.ts.map +1 -0
  83. package/lib/models/connection-type.model.d.ts +6 -0
  84. package/lib/models/connection-type.model.d.ts.map +1 -0
  85. package/lib/models/connection.model.d.ts +7 -0
  86. package/lib/models/connection.model.d.ts.map +1 -0
  87. package/lib/models/framework.model.d.ts +88 -0
  88. package/lib/models/framework.model.d.ts.map +1 -0
  89. package/lib/models/variable-type.model.d.ts +46 -0
  90. package/lib/models/variable-type.model.d.ts.map +1 -0
  91. package/lib/pipes/order-by.pipe.d.ts +10 -0
  92. package/lib/pipes/order-by.pipe.d.ts.map +1 -0
  93. package/lib/services/approval.service.d.ts +21 -0
  94. package/lib/services/approval.service.d.ts.map +1 -0
  95. package/lib/services/connection.service.d.ts +4 -0
  96. package/lib/services/connection.service.d.ts.map +1 -0
  97. package/lib/services/connector.service.d.ts +17 -0
  98. package/lib/services/connector.service.d.ts.map +1 -0
  99. package/lib/services/framework.service.d.ts +82 -0
  100. package/lib/services/framework.service.d.ts.map +1 -0
  101. package/lib/services/local-connection.service.d.ts +18 -0
  102. package/lib/services/local-connection.service.d.ts.map +1 -0
  103. package/lib/services/odcs.service.d.ts +11 -0
  104. package/lib/services/odcs.service.d.ts.map +1 -0
  105. package/lib/tree-hierarchy-routing.module.d.ts +8 -0
  106. package/lib/tree-hierarchy-routing.module.d.ts.map +1 -0
  107. package/lib/tree-hierarchy.component.d.ts +13 -0
  108. package/lib/tree-hierarchy.component.d.ts.map +1 -0
  109. package/lib/tree-hierarchy.module.d.ts +31 -0
  110. package/lib/tree-hierarchy.module.d.ts.map +1 -0
  111. package/lib/tree-hierarchy.service.d.ts +17 -0
  112. package/lib/tree-hierarchy.service.d.ts.map +1 -0
  113. package/material.module.d.ts +52 -0
  114. package/material.module.d.ts.map +1 -0
  115. package/package.json +43 -0
  116. package/public-api.d.ts +9 -0
  117. package/public-api.d.ts.map +1 -0
  118. package/sunbird-cb-tree-hierarchy.d.ts.map +1 -0
@@ -0,0 +1,82 @@
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { NSFramework } from '../models/framework.model';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { IConnection } from '../models/connection.model';
5
+ import { LocalConnectionService } from './local-connection.service';
6
+ import * as i0 from "@angular/core";
7
+ interface NotifierType {
8
+ type: 'select' | 'insert' | 'update' | 'delete';
9
+ action: string;
10
+ data: any;
11
+ }
12
+ export declare class FrameworkService {
13
+ private http;
14
+ localConfig: LocalConnectionService;
15
+ categoriesHash: BehaviorSubject<NSFramework.ICategory[] | []>;
16
+ isDataUpdated: BehaviorSubject<boolean>;
17
+ currentSelection: BehaviorSubject<{
18
+ type: string;
19
+ data: any;
20
+ cardRef?: any;
21
+ isUpdate?: boolean;
22
+ } | null>;
23
+ termSubject: BehaviorSubject<any>;
24
+ afterAddOrEditSubject: BehaviorSubject<any>;
25
+ list: Map<string, NSFramework.IColumnView>;
26
+ selectionList: Map<string, any>;
27
+ insertUpdateDeleteNotifier: BehaviorSubject<NotifierType | null>;
28
+ environment: any;
29
+ libConfig: IConnection;
30
+ frameworkId: string;
31
+ rootConfig: any;
32
+ proxiesPath: string;
33
+ cardClkData: any;
34
+ CurrentCardClk: BehaviorSubject<any>;
35
+ constructor(http: HttpClient, localConfig: LocalConnectionService);
36
+ getFrameworkInfo(_orgData?: any): Observable<any>;
37
+ readTerms(frameworkId: string, categoryId: string, requestBody: any): Observable<any>;
38
+ createTerm(frameworkId: string, categoryId: string, requestBody: any): Observable<any>;
39
+ createTermsWrapper(category: string, requestBody: any): Observable<any>;
40
+ retireTerm(frameworkId: string, categoryId: string, categoryTermCode: string): Observable<any>;
41
+ retireMultipleTerm(frameworkId: string, categoryId: string, requestBody: any): Observable<any>;
42
+ updateTerm(frameworkId: string, categoryId: string, categoryTermCode: string, requestBody: any): Observable<any>;
43
+ publishFramework(): Observable<any>;
44
+ getUuid(): string;
45
+ updateEnvironment(env: any): void;
46
+ getEnviroment(): any;
47
+ getFrameworkId(): string;
48
+ getNextCategory(currentCategory: string): NSFramework.ICategory | null;
49
+ getPreviousCategory(currentCategory: string): NSFramework.ICategory | null;
50
+ getParentTerm(currentCategory: string): any;
51
+ childClick(event: {
52
+ type: string;
53
+ data: any;
54
+ }): void;
55
+ resetAll(): void;
56
+ isLastColumn(colCode: string): boolean;
57
+ removeItemFromArray(array: any[], item: any): any[];
58
+ set setTerm(res: any);
59
+ get getTerm(): any[];
60
+ updateAfterAddOrEditSubject(res: any): void;
61
+ getLocalTermsByParent(parentCode: string): any[];
62
+ getLocalTermsByCategory(parentCode: string): any[];
63
+ getLocalTermsCategory(category: string): any[];
64
+ formateData(response: any): void;
65
+ removeOldLine(): void;
66
+ setConfig(config: any): void;
67
+ getConfig(code: string): any;
68
+ getAllSelectedTerms(): any[];
69
+ getPreviousSelectedTerms(code: string): any[];
70
+ getKcmSearchList(requestBody: any, category: string): Observable<any>;
71
+ updateLocalList(item: any, parent: any, selectedTermArray: any[], updateType: string): void;
72
+ updateFrameworkList(columnCode: string, parentData: any, selectedTermArray: any[], updateType?: string): void;
73
+ getFrameworkRead(frameWorkId: string): Observable<any>;
74
+ getConfigOfCategoryConfigByFrameWorkId(code: string, frameworkId: string): any;
75
+ getConfigByFrameWorkId(frameworkId: string): any;
76
+ updateFullTermDataLocalMap(_columnCode: string, parentData: any): void;
77
+ updateLocalListTerm(item: any, parent: any): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrameworkService, never>;
79
+ static ɵprov: i0.ɵɵInjectableDeclaration<FrameworkService>;
80
+ }
81
+ export {};
82
+ //# sourceMappingURL=framework.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework.service.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/services/framework.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AAGvD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;;AAKpE,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;CACX;AAED,qBAGa,gBAAgB;IAmBzB,OAAO,CAAC,IAAI;IACL,WAAW,EAA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EAAE;IAQlD,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,EAAE;IAQ9C,WAAW,CAAC,QAAQ,EAAE,GAAG,GAAG,IAAI;IAwChC,aAAa,IAAI,IAAI;IAOrB,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI;IAI5B,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;IAe5B,mBAAmB,IAAI,GAAG,EAAE;IAc5B,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE;IAU7C,gBAAgB,CAAC,WAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAYrE,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAkC3F,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI;IAiC7G,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAUtD,sCAAsC,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,GAAG;IAY9E,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG;IAYhD,0BAA0B,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,IAAI;IAStE,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,GAAG,IAAI;yCA3ZtC,gBAAgB;6CAAhB,gBAAgB;CAwa5B"}
@@ -0,0 +1,18 @@
1
+ import { IConnectionType } from '../models/connection-type.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LocalConnectionService {
4
+ private _vars;
5
+ constructor();
6
+ get apiUrl(): string;
7
+ get token(): string;
8
+ get frameworkName(): string;
9
+ get connectionType(): "online" | "offline";
10
+ set localStorage(val: IConnectionType);
11
+ get localStorage(): IConnectionType;
12
+ updateLocalStorage(val: IConnectionType): void;
13
+ clearLocalStorage(): void;
14
+ getConfigInfo(): import("../models/connection.model").IConnection;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalConnectionService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalConnectionService>;
17
+ }
18
+ //# sourceMappingURL=local-connection.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-connection.service.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/services/local-connection.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;;AAElE,qBAGa,sBAAsB;IAE/B,OAAO,CAAC,KAAK,CAQZ;;IAWD,IAAI,MAAM,WAKT;IACD,IAAI,KAAK,WAKR;IACD,IAAI,aAAa,WAKhB;IACD,IAAI,cAAc,yBAKjB;IACD,IAAI,YAAY,CAAC,GAAG,EAAE,eAAe,EAEpC;IACD,IAAI,YAAY,IAAI,eAAe,CAMlC;IACD,kBAAkB,CAAC,GAAG,EAAE,eAAe;IAGvC,iBAAiB;IAIjB,aAAa;yCA9DJ,sBAAsB;6CAAtB,sBAAsB;CAiElC"}
@@ -0,0 +1,11 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class OdcsService {
5
+ private http;
6
+ constructor(http: HttpClient);
7
+ getDesignations(_req: any): Observable<any>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<OdcsService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<OdcsService>;
10
+ }
11
+ //# sourceMappingURL=odcs.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odcs.service.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/tree-hierarchy/src/lib/services/odcs.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;;AAMlC,qBAGa,WAAW;IAGpB,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAG1B,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;yCANhC,WAAW;6CAAX,WAAW;CASvB"}
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class TreeEditorRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeEditorRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TreeEditorRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TreeEditorRoutingModule>;
7
+ }
8
+ //# sourceMappingURL=tree-hierarchy-routing.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-hierarchy-routing.module.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/tree-hierarchy/src/lib/tree-hierarchy-routing.module.ts"],"names":[],"mappings":";;AA0BA,qBAOe,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAI"}
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FrameworkService } from './services/framework.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreeHierarchyComponent implements OnInit {
5
+ private frameworkService;
6
+ environment: any;
7
+ taxonomyConfig: any;
8
+ constructor(frameworkService: FrameworkService);
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeHierarchyComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeHierarchyComponent, "d-v2-tree-hierarchy", never, { "environment": { "alias": "environment"; "required": false; }; "taxonomyConfig": { "alias": "taxonomyConfig"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
13
+ //# sourceMappingURL=tree-hierarchy.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-hierarchy.component.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/tree-hierarchy/src/lib/tree-hierarchy.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAEhE,qBAKa,sBAAuB,YAAW,MAAM;IAIvC,OAAO,CAAC,gBAAgB;IAH3B,WAAW,EAAE,GAAG,CAAC;IACjB,cAAc,EAAE,GAAG,CAAC;gBAET,gBAAgB,EAAE,gBAAgB;IAGtD,QAAQ,IAAI,IAAI;yCAPL,sBAAsB;2CAAtB,sBAAsB;CAWlC"}
@@ -0,0 +1,31 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { IConnectionType } from './models/connection-type.model';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./tree-hierarchy.component";
5
+ import * as i2 from "./containers/dashboard/dashboard.component";
6
+ import * as i3 from "./containers/config-framework/config-framework.component";
7
+ import * as i4 from "./components/create-categories/create-categories.component";
8
+ import * as i5 from "./components/tree-view/tree-view.component";
9
+ import * as i6 from "./components/term-card/term-card.component";
10
+ import * as i7 from "./components/tree-column-view/tree-column-view.component";
11
+ import * as i8 from "./components/categories-preview/categories-preview.component";
12
+ import * as i9 from "./components/create-term/create-term.component";
13
+ import * as i10 from "./components/connector/connector.component";
14
+ import * as i11 from "./components/action-bar/action-bar.component";
15
+ import * as i12 from "./components/approval/approval.component";
16
+ import * as i13 from "./components/pending-approval/pending-approval.component";
17
+ import * as i14 from "./components/approve-view/approve-view.component";
18
+ import * as i15 from "./pipes/order-by.pipe";
19
+ import * as i16 from "./components/conforamtion-popup/conforamtion-popup.component";
20
+ import * as i17 from "./components/create-term-from-framework/create-term-from-framework.component";
21
+ import * as i18 from "./components/org-hierarchy-add-modal/org-hierarchy-add-modal.component";
22
+ import * as i19 from "@angular/common";
23
+ import * as i20 from "../material.module";
24
+ import * as i21 from "./tree-hierarchy-routing.module";
25
+ export declare class TreeHierarchyModule {
26
+ static forRoot(config: IConnectionType): ModuleWithProviders<TreeHierarchyModule>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeHierarchyModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TreeHierarchyModule, [typeof i1.TreeHierarchyComponent, typeof i2.DashboardComponent, typeof i3.ConfigFrameworkComponent, typeof i4.CreateCategoriesComponent, typeof i3.ConfigFrameworkComponent, typeof i5.TreeViewComponent, typeof i6.TermCardComponent, typeof i7.TreeColumnViewComponent, typeof i8.CategoriesPreviewComponent, typeof i8.CategoriesPreviewComponent, typeof i9.CreateTermComponent, typeof i10.ConnectorComponent, typeof i11.ActionBarComponent, typeof i12.ApprovalComponent, typeof i13.PendingApprovalComponent, typeof i14.ApproveViewComponent, typeof i15.OrderByPipe, typeof i16.ConforamtionPopupComponent, typeof i17.CreateTermFromFrameworkComponent, typeof i18.OrgHierarchyAddModalComponent], [typeof i19.CommonModule, typeof i20.MaterialModule, typeof i21.TreeEditorRoutingModule], [typeof i1.TreeHierarchyComponent, typeof i4.CreateCategoriesComponent, typeof i3.ConfigFrameworkComponent, typeof i5.TreeViewComponent, typeof i6.TermCardComponent, typeof i8.CategoriesPreviewComponent]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<TreeHierarchyModule>;
30
+ }
31
+ //# sourceMappingURL=tree-hierarchy.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-hierarchy.module.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/tree-hierarchy/src/lib/tree-hierarchy.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;AA4B9D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAKjE,qBAiDa,mBAAmB;IAC9B,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,eAAe,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;yCADtE,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAa/B"}
@@ -0,0 +1,17 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreeHierarchyService {
5
+ private http;
6
+ private loaderSubject;
7
+ loaderState$: Observable<boolean>;
8
+ constructor(http: HttpClient);
9
+ orgSerachApi(requestBody: any): Observable<any>;
10
+ createTerm(requestBody: any, frameworkObj: any): Observable<any>;
11
+ updateFrameworkAssociation(requestBody: any, frameworkObj: any, codeId: any): Observable<any>;
12
+ publishFreamework(frameworkObj: any): Observable<any>;
13
+ setLoaderState(isLoading: boolean): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeHierarchyService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<TreeHierarchyService>;
16
+ }
17
+ //# sourceMappingURL=tree-hierarchy.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-hierarchy.service.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/tree-hierarchy/src/lib/tree-hierarchy.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;;AAQnD,qBAGa,oBAAoB;IAKnB,OAAO,CAAC,IAAI;IAHxB,OAAO,CAAC,aAAa,CAAuC;IAC5D,YAAY,sBAAqC;gBAE7B,IAAI,EAAE,UAAU;IAEpC,YAAY,CAAC,WAAW,EAAE,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAI/C,UAAU,CAAC,WAAW,EAAE,GAAG,EAAE,YAAY,EAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAI/D,0BAA0B,CAAC,WAAW,EAAE,GAAG,EAAE,YAAY,EAAC,GAAG,EAAE,MAAM,EAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAI3F,iBAAiB,CAAC,YAAY,EAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAIpD,cAAc,CAAC,SAAS,EAAE,OAAO;yCAvBtB,oBAAoB;6CAApB,oBAAoB;CA2BhC"}
@@ -0,0 +1,52 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/cdk/a11y";
3
+ import * as i2 from "@angular/cdk/stepper";
4
+ import * as i3 from "@angular/cdk/table";
5
+ import * as i4 from "@angular/cdk/tree";
6
+ import * as i5 from "@angular/cdk/drag-drop";
7
+ import * as i6 from "@angular/material/autocomplete";
8
+ import * as i7 from "@angular/material/badge";
9
+ import * as i8 from "@angular/material/bottom-sheet";
10
+ import * as i9 from "@angular/material/button";
11
+ import * as i10 from "@angular/material/button-toggle";
12
+ import * as i11 from "@angular/material/card";
13
+ import * as i12 from "@angular/material/checkbox";
14
+ import * as i13 from "@angular/material/chips";
15
+ import * as i14 from "@angular/material/stepper";
16
+ import * as i15 from "@angular/material/datepicker";
17
+ import * as i16 from "@angular/material/dialog";
18
+ import * as i17 from "@angular/material/divider";
19
+ import * as i18 from "@angular/material/expansion";
20
+ import * as i19 from "@angular/material/grid-list";
21
+ import * as i20 from "@angular/material/icon";
22
+ import * as i21 from "@angular/material/input";
23
+ import * as i22 from "@angular/material/list";
24
+ import * as i23 from "@angular/material/menu";
25
+ import * as i24 from "@angular/material/core";
26
+ import * as i25 from "@angular/material/paginator";
27
+ import * as i26 from "@angular/material/progress-bar";
28
+ import * as i27 from "@angular/material/progress-spinner";
29
+ import * as i28 from "@angular/material/radio";
30
+ import * as i29 from "@angular/material/select";
31
+ import * as i30 from "@angular/material/sidenav";
32
+ import * as i31 from "@angular/material/slider";
33
+ import * as i32 from "@angular/material/slide-toggle";
34
+ import * as i33 from "@angular/material/snack-bar";
35
+ import * as i34 from "@angular/material/sort";
36
+ import * as i35 from "@angular/material/table";
37
+ import * as i36 from "@angular/material/tabs";
38
+ import * as i37 from "@angular/material/toolbar";
39
+ import * as i38 from "@angular/material/tooltip";
40
+ import * as i39 from "@angular/material/tree";
41
+ import * as i40 from "@angular/cdk/overlay";
42
+ import * as i41 from "@angular/cdk/portal";
43
+ import * as i42 from "@angular/cdk/scrolling";
44
+ import * as i43 from "@angular/material/form-field";
45
+ import * as i44 from "@angular/forms";
46
+ import * as i45 from "@angular/common/http";
47
+ export declare class MaterialModule {
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
49
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, never, [typeof i1.A11yModule, typeof i2.CdkStepperModule, typeof i3.CdkTableModule, typeof i4.CdkTreeModule, typeof i5.DragDropModule, typeof i6.MatAutocompleteModule, typeof i7.MatBadgeModule, typeof i8.MatBottomSheetModule, typeof i9.MatButtonModule, typeof i10.MatButtonToggleModule, typeof i11.MatCardModule, typeof i12.MatCheckboxModule, typeof i13.MatChipsModule, typeof i14.MatStepperModule, typeof i15.MatDatepickerModule, typeof i16.MatDialogModule, typeof i17.MatDividerModule, typeof i18.MatExpansionModule, typeof i19.MatGridListModule, typeof i20.MatIconModule, typeof i21.MatInputModule, typeof i22.MatListModule, typeof i23.MatMenuModule, typeof i24.MatNativeDateModule, typeof i25.MatPaginatorModule, typeof i26.MatProgressBarModule, typeof i27.MatProgressSpinnerModule, typeof i28.MatRadioModule, typeof i24.MatRippleModule, typeof i29.MatSelectModule, typeof i30.MatSidenavModule, typeof i31.MatSliderModule, typeof i32.MatSlideToggleModule, typeof i33.MatSnackBarModule, typeof i34.MatSortModule, typeof i35.MatTableModule, typeof i36.MatTabsModule, typeof i37.MatToolbarModule, typeof i38.MatTooltipModule, typeof i39.MatTreeModule, typeof i40.OverlayModule, typeof i41.PortalModule, typeof i42.ScrollingModule, typeof i43.MatFormFieldModule, typeof i44.ReactiveFormsModule, typeof i44.FormsModule, typeof i45.HttpClientModule]>;
50
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
51
+ }
52
+ //# sourceMappingURL=material.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"material.module.d.ts","sourceRoot":"","sources":["../../../library/sunbird-cb/tree-hierarchy/src/material.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,qBAoDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@sunbird-cb/tree-hierarchy",
3
+ "version": "0.0.1-cbrelease-4.8.26",
4
+ "dependencies": {
5
+ "tslib": "^2.0.0"
6
+ },
7
+ "peerDependencies": {
8
+ "@angular/common": "^16.2.12",
9
+ "@angular/core": "^16.2.12",
10
+ "@angular/animations": "^16.2.12",
11
+ "@angular/cdk": "^16.2.14",
12
+ "@angular/compiler": "^16.2.12",
13
+ "@angular/forms": "^16.2.12",
14
+ "@angular/material": "^16.2.14",
15
+ "@angular/platform-browser": "^16.2.12",
16
+ "@angular/platform-browser-dynamic": "^16.2.12",
17
+ "@angular/router": "^16.2.12",
18
+ "@ngx-translate/core": "^15.0.0",
19
+ "@ngx-translate/http-loader": "4.0.0",
20
+ "@types/lodash": "4.14.168",
21
+ "@sunbird-cb/design-system": "0.0.2",
22
+ "@sunbird-cb/utils-v2": "0.0.22-ang-13-16",
23
+ "@sunbird-cb/resolver-v2": "0.0.7-ang-13-16",
24
+ "ngx-image-cropper": "^6.3.4",
25
+ "moment": "^2.29.1",
26
+ "d3": "^7.8.5",
27
+ "leader-line": "^1.0.8"
28
+ },
29
+ "module": "fesm2022/sunbird-cb-tree-hierarchy.mjs",
30
+ "typings": "index.d.ts",
31
+ "exports": {
32
+ "./package.json": {
33
+ "default": "./package.json"
34
+ },
35
+ ".": {
36
+ "types": "./index.d.ts",
37
+ "esm2022": "./esm2022/sunbird-cb-tree-hierarchy.mjs",
38
+ "esm": "./esm2022/sunbird-cb-tree-hierarchy.mjs",
39
+ "default": "./fesm2022/sunbird-cb-tree-hierarchy.mjs"
40
+ }
41
+ },
42
+ "sideEffects": false
43
+ }
@@ -0,0 +1,9 @@
1
+ export * from './lib/tree-hierarchy.service';
2
+ export * from './lib/tree-hierarchy.component';
3
+ export * from './lib/tree-hierarchy.module';
4
+ export * from './lib/components/tree-view/tree-view.component';
5
+ export * from './lib/components/term-card/term-card.component';
6
+ export * from './lib/components/create-categories/create-categories.component';
7
+ export * from './lib/containers/config-framework/config-framework.component';
8
+ export * from './lib/components/categories-preview/categories-preview.component';
9
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../library/sunbird-cb/tree-hierarchy/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAG5C,cAAc,gDAAgD,CAAA;AAC9D,cAAc,gDAAgD,CAAA;AAC9D,cAAe,gEAAgE,CAAA;AAC/E,cAAe,8DAA8D,CAAA;AAC7E,cAAe,kEAAkE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sunbird-cb-tree-hierarchy.d.ts","sourceRoot":"","sources":["../../../library/sunbird-cb/tree-hierarchy/src/sunbird-cb-tree-hierarchy.ts"],"names":[],"mappings":";AAIA,cAAc,cAAc,CAAC"}