vcomply-workflow-engine 6.0.57 → 6.0.59

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 (72) hide show
  1. package/esm2022/lib/add-multiple-responsibility/add-multiple-responsibility.component.mjs +10 -1
  2. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +10 -1
  3. package/esm2022/lib/add-multiple-risk/add-multiple-risk.component.mjs +10 -1
  4. package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
  5. package/esm2022/lib/more-option/more-option.component.mjs +51 -5
  6. package/esm2022/lib/services/common.service.mjs +1 -31
  7. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +1 -5
  8. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +1 -5
  9. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +1 -2
  10. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +2 -6
  11. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +1 -2
  12. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +1 -3
  13. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +1 -5
  14. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +2 -9
  15. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +2 -4
  16. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +1 -244
  17. package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +10 -1
  18. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +354 -268
  19. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +31 -5
  20. package/esm2022/lib/workflow-engine.module.mjs +6 -13
  21. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +29 -73
  22. package/esm2022/lib/workflow-program/workflow-program.component.mjs +240 -83
  23. package/esm2022/lib/workflow-services/policy.service.mjs +4 -4
  24. package/esm2022/lib/workflow-services/programs.service.mjs +112 -28
  25. package/esm2022/lib/workflow-services/responsibility.service.mjs +25 -38
  26. package/fesm2022/vcomply-workflow-engine.mjs +17753 -18067
  27. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  28. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
  29. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +2 -0
  30. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +2 -0
  31. package/lib/interfaces/responsibilty.interface.d.ts +9 -9
  32. package/lib/services/common.service.d.ts +0 -24
  33. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +0 -1
  34. package/lib/sharedComponents/frequency/frequency.service.d.ts +0 -87
  35. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +2 -0
  36. package/lib/workflow-compliance/workflow-compliance.component.d.ts +5 -32
  37. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -2
  38. package/lib/workflow-engine.module.d.ts +40 -42
  39. package/lib/workflow-policy/workflow-policy.component.d.ts +0 -9
  40. package/lib/workflow-program/workflow-program.component.d.ts +4 -6
  41. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  42. package/lib/workflow-services/programs.service.d.ts +53 -13
  43. package/lib/workflow-services/responsibility.service.d.ts +1 -12
  44. package/package.json +1 -1
  45. package/esm2022/lib/constants/api.constants.mjs +0 -8
  46. package/esm2022/lib/constants/mock.mjs +0 -152
  47. package/esm2022/lib/interfaces/frequency.interface.mjs +0 -2
  48. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +0 -52
  49. package/esm2022/lib/sharedComponents/program-list/constant.mjs +0 -16
  50. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +0 -2
  51. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +0 -2
  52. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +0 -23
  53. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +0 -182
  54. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +0 -47
  55. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +0 -27
  56. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +0 -32
  57. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
  58. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -19
  59. package/lib/constants/api.constants.d.ts +0 -7
  60. package/lib/constants/mock.d.ts +0 -15
  61. package/lib/interfaces/frequency.interface.d.ts +0 -37
  62. package/lib/sharedComponents/list-container/list-container.component.d.ts +0 -9
  63. package/lib/sharedComponents/program-list/constant.d.ts +0 -9
  64. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +0 -4
  65. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +0 -5
  66. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
  67. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +0 -45
  68. package/lib/sharedComponents/program-list/program-list.module.d.ts +0 -14
  69. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +0 -7
  70. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +0 -14
  71. package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
  72. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +0 -9
@@ -1,45 +0,0 @@
1
- import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ListItem } from '../interfaces/list-item.interface';
3
- import { ListUtilsService } from '../services/list-utils.service';
4
- import { ProgramListApiService } from '../services/program-list-api.service';
5
- import * as i0 from "@angular/core";
6
- export declare class ProgramListComponent<T extends ListItem> implements OnInit, OnChanges {
7
- private listUtils;
8
- private programListApiService;
9
- items: T[];
10
- selectedItems: any | null;
11
- url: any;
12
- itemSelected: EventEmitter<T>;
13
- itemDeselected: EventEmitter<T>;
14
- itemsSelectedChange: EventEmitter<T[]>;
15
- tableHeaders: string[];
16
- currentPage: number;
17
- pageSize: number;
18
- totalPages: number;
19
- searchTerm: string;
20
- paginatedItems: T[];
21
- activeProgram: any | null;
22
- categoryList: any[];
23
- programTypeList: any[];
24
- selectedProgramType: any[];
25
- loaderState: any;
26
- constructor(listUtils: ListUtilsService, programListApiService: ProgramListApiService);
27
- ngOnInit(): void;
28
- ngOnChanges(changes: SimpleChanges): void;
29
- getProgramList(): void;
30
- loadData(data: any): void;
31
- search(): void;
32
- selectItem(event: any, item: any): void;
33
- deselectItem(item: T): void;
34
- isSelected(item: T): boolean;
35
- goToPage(page: number): void;
36
- getPageNumbers(): number[];
37
- paginateItems(): void;
38
- viewCategory(item?: any): void;
39
- addParentTreeToCategories(categories: any[]): any[];
40
- selectFilter(event: any, item: any): void;
41
- resetFilter(): void;
42
- onFilterChange(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListComponent<any>, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgramListComponent<any>, "app-program-list", never, { "items": { "alias": "items"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "itemSelected": "itemSelected"; "itemDeselected": "itemDeselected"; "itemsSelectedChange": "itemsSelectedChange"; }, never, never, false, never>;
45
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./program-list/program-list.component";
3
- import * as i2 from "./pipes/check-selected-items.pipes";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "../../formgroup/formgroup.module";
7
- import * as i6 from "../../ui-kit/no-data/no-data.module";
8
- import * as i7 from "../../ui-kit/popover/popover.module";
9
- import * as i8 from "../../ui-kit/loaders/loaders.module";
10
- export declare class ProgramListModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProgramListModule, [typeof i1.ProgramListComponent, typeof i2.CheckSelectedItemsPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.FormgroupModule, typeof i6.NoDataModule, typeof i7.PopoverModule, typeof i8.LoadersModule], [typeof i1.ProgramListComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<ProgramListModule>;
14
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ListUtilsService {
3
- paginate<T>(items: T[], currentPage: number, pageSize: number): T[];
4
- getPageNumbers(totalItems: number, pageSize: number): number[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ListUtilsService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<ListUtilsService>;
7
- }
@@ -1,14 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { Configurations } from '../../../configurations';
4
- import { AuthService } from '../../../workflow-services/auth.service';
5
- import * as i0 from "@angular/core";
6
- export declare class ProgramListApiService {
7
- private http;
8
- private authService;
9
- env: any;
10
- constructor(http: HttpClient, authService: AuthService, config?: Configurations);
11
- getProgramList(apiUrl: string): Observable<any>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListApiService, [null, null, { optional: true; }]>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<ProgramListApiService>;
14
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table-loader/table-loader.component";
3
- import * as i2 from "@angular/common";
4
- export declare class LoadersModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadersModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<LoadersModule, [typeof i1.TableLoaderComponent], [typeof i2.CommonModule], [typeof i1.TableLoaderComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<LoadersModule>;
8
- }
@@ -1,9 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TableLoaderComponent implements OnInit {
4
- listSize: number[];
5
- constructor();
6
- ngOnInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TableLoaderComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TableLoaderComponent, "app-table-loader", never, { "listSize": { "alias": "listSize"; "required": false; }; }, {}, never, never, false, never>;
9
- }