vcomply-workflow-engine 6.0.91 → 6.0.92

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 (107) hide show
  1. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +7 -30
  2. package/esm2022/lib/constants/api.constants.mjs +6 -1
  3. package/esm2022/lib/constants/mock.mjs +152 -0
  4. package/esm2022/lib/interfaces/frequency.interface.mjs +2 -0
  5. package/esm2022/lib/interfaces/iframe-type.mjs +7 -0
  6. package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
  7. package/esm2022/lib/more-option/more-option.component.mjs +17 -183
  8. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +3 -2
  9. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +4 -7
  10. package/esm2022/lib/services/common.service.mjs +40 -1
  11. package/esm2022/lib/services/iframe.service.mjs +14 -1
  12. package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +3 -6
  13. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +10 -21
  14. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +5 -1
  15. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +5 -1
  16. package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
  17. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +2 -1
  18. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +6 -2
  19. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +3 -2
  20. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +3 -1
  21. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +5 -1
  22. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +9 -2
  23. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +4 -2
  24. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +267 -5
  25. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +48 -16
  26. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +8 -4
  27. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +52 -0
  28. package/esm2022/lib/sharedComponents/program-list/constant.mjs +22 -0
  29. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +2 -0
  30. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +2 -0
  31. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +23 -0
  32. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +175 -0
  33. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +47 -0
  34. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +27 -0
  35. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +32 -0
  36. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +24 -0
  37. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +19 -0
  38. package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +45 -17
  39. package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +13 -10
  40. package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +62 -35
  41. package/esm2022/lib/workflow/shared/services/grc.service.mjs +15 -2
  42. package/esm2022/lib/workflow/shared/workflow-pipes/get-user-details.pipe.mjs +26 -0
  43. package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +8 -3
  44. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +294 -453
  45. package/esm2022/lib/workflow-engine-container/api-constants.mjs +3 -2
  46. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +32 -53
  47. package/esm2022/lib/workflow-engine.module.mjs +11 -7
  48. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +46 -29
  49. package/esm2022/lib/workflow-program/constants.mjs +3 -3
  50. package/esm2022/lib/workflow-program/workflow-program.component.mjs +125 -338
  51. package/esm2022/lib/workflow-services/policy.service.mjs +8 -9
  52. package/esm2022/lib/workflow-services/programs.service.mjs +26 -113
  53. package/esm2022/lib/workflow-services/responsibility.service.mjs +60 -55
  54. package/fesm2022/vcomply-workflow-engine.mjs +5118 -4952
  55. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  56. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +0 -3
  57. package/lib/constants/api.constants.d.ts +5 -0
  58. package/lib/constants/mock.d.ts +15 -0
  59. package/lib/interfaces/frequency.interface.d.ts +37 -0
  60. package/lib/interfaces/iframe-type.d.ts +5 -0
  61. package/lib/interfaces/responsibilty.interface.d.ts +13 -13
  62. package/lib/services/common.service.d.ts +28 -0
  63. package/lib/services/iframe.service.d.ts +6 -0
  64. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +0 -6
  65. package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +1 -4
  66. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +1 -0
  67. package/lib/sharedComponents/frequency/frequency.service.d.ts +92 -2
  68. package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +2 -1
  69. package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +2 -1
  70. package/lib/sharedComponents/list-container/list-container.component.d.ts +9 -0
  71. package/lib/sharedComponents/program-list/constant.d.ts +15 -0
  72. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +4 -0
  73. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +5 -0
  74. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +7 -0
  75. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +45 -0
  76. package/lib/sharedComponents/program-list/program-list.module.d.ts +14 -0
  77. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +7 -0
  78. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +14 -0
  79. package/lib/ui-kit/loaders/loaders.module.d.ts +8 -0
  80. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +9 -0
  81. package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +5 -1
  82. package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +3 -1
  83. package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +6 -2
  84. package/lib/workflow/shared/services/grc.service.d.ts +1 -0
  85. package/lib/workflow/shared/workflow-pipes/get-user-details.pipe.d.ts +7 -0
  86. package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +3 -2
  87. package/lib/workflow-compliance/workflow-compliance.component.d.ts +32 -10
  88. package/lib/workflow-engine-container/api-constants.d.ts +1 -0
  89. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +5 -2
  90. package/lib/workflow-engine.module.d.ts +3 -2
  91. package/lib/workflow-policy/workflow-policy.component.d.ts +9 -0
  92. package/lib/workflow-program/workflow-program.component.d.ts +8 -4
  93. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  94. package/lib/workflow-services/policy.service.d.ts +1 -1
  95. package/lib/workflow-services/programs.service.d.ts +13 -53
  96. package/lib/workflow-services/responsibility.service.d.ts +17 -4
  97. package/package.json +1 -1
  98. package/esm2022/lib/constants/policy.constant.mjs +0 -6
  99. package/esm2022/lib/constants/regix.constants.mjs +0 -4
  100. package/esm2022/lib/constants/responsibility.mjs +0 -8
  101. package/esm2022/lib/interfaces/policy.interface.mjs +0 -2
  102. package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +0 -19
  103. package/lib/constants/policy.constant.d.ts +0 -2
  104. package/lib/constants/regix.constants.d.ts +0 -3
  105. package/lib/constants/responsibility.d.ts +0 -7
  106. package/lib/interfaces/policy.interface.d.ts +0 -5
  107. package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +0 -7
@@ -0,0 +1,19 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class TableLoaderComponent {
5
+ constructor() {
6
+ this.listSize = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
7
+ }
8
+ ngOnInit() {
9
+ }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableLoaderComponent, selector: "app-table-loader", inputs: { listSize: "listSize" }, ngImport: i0, template: "<div class=\"table\">\n <table class=\"table-loader\">\n <tbody>\n <tr *ngFor=\"let data of listSize\">\n <td class=\"serial\">\n <span class=\"serial\"></span>\n </td>\n <td class=\"name\" width=\"50%\">\n <span class=\"loader\"></span>\n </td>\n <td class=\"action\" width=\"50%\">\n <span class=\"loader\"></span>\n </td>\n </tr>\n </tbody>\n </table>\n</div>", styles: [".table table.table-loader{width:100%;position:relative;border-collapse:separate;border-spacing:0 .1875rem;border:none;table-layout:auto}.table table.table-loader thead tr th{font-size:.6875rem;padding:.75rem .625rem;background:#f1f1f1;text-transform:uppercase;color:#747576;font-weight:600;line-height:1.0625rem;text-align:left;position:sticky;top:.1875rem;font-weight:400;white-space:nowrap;z-index:2}.table table.table-loader thead tr th:before{height:.3125rem;content:\"\";position:absolute;top:-.1875rem;right:0;left:0;background:#f1f1f1;z-index:1}.table table.table-loader thead tr th:first-child{border-radius:2px 0 0;text-align:center;width:2.75rem}.table table.table-loader thead tr th:last-child{border-radius:0 2px 0 0}.table table.table-loader thead tr th:last-child:before{border-radius:0 2px 0 0}.table table.table-loader tbody tr{margin-bottom:.1875rem;table-layout:auto;position:relative;transition:all .2s ease-in-out}.table table.table-loader tbody tr td{background:#fff;padding:0 .5rem;height:3.125rem;max-width:15.625rem;border:none;width:50%;table-layout:auto}.table table.table-loader tbody tr td.serial{width:2rem}.table table.table-loader tbody tr td span.serial{width:1rem;margin:0;background:#f8f8f8;writing-mode:vertical-lr;color:#747576;font-size:.625rem;display:flex;align-items:center;justify-content:center;height:3.125rem;font-weight:500}.table table.table-loader tbody tr td span.loader{display:block;width:100%;height:.75rem;border-radius:.75rem;background:#f3f3f3}.table table.table-loader tbody tr td.name{width:calc(100% - 31.25rem);padding-left:0}.table table.table-loader tbody tr td:first-child{border-radius:2px 0 0 2px}.table table.table-loader tbody tr td:last-child{text-align:right;border-radius:0 2px 2px 0}.table table.table-loader tbody tr td:last-child .loader{border-radius:.5rem;width:1.5rem;float:right}.table table.table-loader tbody tr:hover{box-shadow:0 0 15px #1e5dd359;z-index:2}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableLoaderComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'app-table-loader', template: "<div class=\"table\">\n <table class=\"table-loader\">\n <tbody>\n <tr *ngFor=\"let data of listSize\">\n <td class=\"serial\">\n <span class=\"serial\"></span>\n </td>\n <td class=\"name\" width=\"50%\">\n <span class=\"loader\"></span>\n </td>\n <td class=\"action\" width=\"50%\">\n <span class=\"loader\"></span>\n </td>\n </tr>\n </tbody>\n </table>\n</div>", styles: [".table table.table-loader{width:100%;position:relative;border-collapse:separate;border-spacing:0 .1875rem;border:none;table-layout:auto}.table table.table-loader thead tr th{font-size:.6875rem;padding:.75rem .625rem;background:#f1f1f1;text-transform:uppercase;color:#747576;font-weight:600;line-height:1.0625rem;text-align:left;position:sticky;top:.1875rem;font-weight:400;white-space:nowrap;z-index:2}.table table.table-loader thead tr th:before{height:.3125rem;content:\"\";position:absolute;top:-.1875rem;right:0;left:0;background:#f1f1f1;z-index:1}.table table.table-loader thead tr th:first-child{border-radius:2px 0 0;text-align:center;width:2.75rem}.table table.table-loader thead tr th:last-child{border-radius:0 2px 0 0}.table table.table-loader thead tr th:last-child:before{border-radius:0 2px 0 0}.table table.table-loader tbody tr{margin-bottom:.1875rem;table-layout:auto;position:relative;transition:all .2s ease-in-out}.table table.table-loader tbody tr td{background:#fff;padding:0 .5rem;height:3.125rem;max-width:15.625rem;border:none;width:50%;table-layout:auto}.table table.table-loader tbody tr td.serial{width:2rem}.table table.table-loader tbody tr td span.serial{width:1rem;margin:0;background:#f8f8f8;writing-mode:vertical-lr;color:#747576;font-size:.625rem;display:flex;align-items:center;justify-content:center;height:3.125rem;font-weight:500}.table table.table-loader tbody tr td span.loader{display:block;width:100%;height:.75rem;border-radius:.75rem;background:#f3f3f3}.table table.table-loader tbody tr td.name{width:calc(100% - 31.25rem);padding-left:0}.table table.table-loader tbody tr td:first-child{border-radius:2px 0 0 2px}.table table.table-loader tbody tr td:last-child{text-align:right;border-radius:0 2px 2px 0}.table table.table-loader tbody tr td:last-child .loader{border-radius:.5rem;width:1.5rem;float:right}.table table.table-loader tbody tr:hover{box-shadow:0 0 15px #1e5dd359;z-index:2}\n"] }]
16
+ }], ctorParameters: function () { return []; }, propDecorators: { listSize: [{
17
+ type: Input
18
+ }] } });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtbG9hZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3VpLWtpdC9sb2FkZXJzL3RhYmxlLWxvYWRlci90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