vcomply-workflow-engine 6.1.2 → 6.1.3

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 (173) hide show
  1. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +7 -34
  2. package/esm2022/lib/constants/api.constants.mjs +6 -1
  3. package/esm2022/lib/constants/assets.constants.mjs +1 -2
  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 +26 -191
  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/category-list-selection/category-list-selection/category-list-selection.component.mjs +7 -7
  14. package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection.module.mjs +27 -4
  15. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +10 -21
  16. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +5 -1
  17. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +5 -1
  18. package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
  19. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +2 -1
  20. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +6 -2
  21. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +3 -2
  22. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +3 -1
  23. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +5 -1
  24. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +9 -2
  25. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +4 -2
  26. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +267 -5
  27. package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +5 -2
  28. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +48 -16
  29. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +8 -4
  30. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +52 -0
  31. package/esm2022/lib/sharedComponents/program-list/constant.mjs +27 -0
  32. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +2 -0
  33. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +2 -0
  34. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +23 -0
  35. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +273 -0
  36. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +51 -0
  37. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +27 -0
  38. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +32 -0
  39. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +24 -0
  40. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +19 -0
  41. package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +45 -17
  42. package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +13 -10
  43. package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +62 -35
  44. package/esm2022/lib/workflow/shared/services/grc.service.mjs +15 -2
  45. package/esm2022/lib/workflow/shared/workflow-pipes/get-user-details.pipe.mjs +26 -0
  46. package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +8 -3
  47. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +294 -453
  48. package/esm2022/lib/workflow-engine-container/api-constants.mjs +3 -2
  49. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +32 -53
  50. package/esm2022/lib/workflow-engine.module.mjs +11 -16
  51. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +46 -29
  52. package/esm2022/lib/workflow-program/constants.mjs +3 -11
  53. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +1 -7
  54. package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +13 -11
  55. package/esm2022/lib/workflow-program/workflow-program.component.mjs +340 -311
  56. package/esm2022/lib/workflow-services/policy.service.mjs +8 -9
  57. package/esm2022/lib/workflow-services/programs.service.mjs +26 -114
  58. package/esm2022/lib/workflow-services/responsibility.service.mjs +60 -56
  59. package/fesm2022/vcomply-workflow-engine.mjs +5848 -5338
  60. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  61. package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +0 -1
  62. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +0 -3
  63. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +0 -1
  64. package/lib/constants/api.constants.d.ts +5 -0
  65. package/lib/constants/assets.constants.d.ts +0 -1
  66. package/lib/interfaces/frequency.interface.d.ts +37 -0
  67. package/lib/interfaces/iframe-type.d.ts +5 -0
  68. package/lib/interfaces/responsibilty.interface.d.ts +13 -13
  69. package/lib/log-an-issue/log-an-issue.component.d.ts +0 -1
  70. package/lib/more-option/more-option.component.d.ts +0 -1
  71. package/lib/report-a-case/components/assignee/assignee.component.d.ts +0 -1
  72. package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +0 -1
  73. package/lib/report-a-case/components/case-category/case-category.component.d.ts +0 -1
  74. package/lib/report-a-case/components/case-details/case-details.component.d.ts +0 -1
  75. package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +0 -1
  76. package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +0 -1
  77. package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +0 -1
  78. package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +0 -1
  79. package/lib/report-a-case/components/due-date/due-date.component.d.ts +0 -1
  80. package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +0 -1
  81. package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +0 -1
  82. package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +0 -1
  83. package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +0 -1
  84. package/lib/report-a-case/components/report-date/report-date.component.d.ts +0 -1
  85. package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +0 -1
  86. package/lib/services/common.service.d.ts +28 -0
  87. package/lib/services/iframe.service.d.ts +6 -0
  88. package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +0 -1
  89. package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +0 -1
  90. package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +0 -1
  91. package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +0 -1
  92. package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +0 -1
  93. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +0 -1
  94. package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +0 -1
  95. package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +0 -1
  96. package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +0 -1
  97. package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +0 -1
  98. package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +0 -1
  99. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +0 -6
  100. package/lib/sharedComponents/category-list/category-list.component.d.ts +0 -1
  101. package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +0 -1
  102. package/lib/sharedComponents/category-list-selection/category-list-selection.module.d.ts +5 -5
  103. package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +0 -1
  104. package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +0 -1
  105. package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +1 -5
  106. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +0 -1
  107. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +1 -0
  108. package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +0 -1
  109. package/lib/sharedComponents/frequency/frequency.service.d.ts +92 -2
  110. package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +0 -1
  111. package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +0 -1
  112. package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +2 -1
  113. package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +2 -1
  114. package/lib/sharedComponents/list-container/list-container.component.d.ts +9 -0
  115. package/lib/sharedComponents/owner-list/owner-list.component.d.ts +0 -1
  116. package/lib/sharedComponents/policy-access/policy-access.component.d.ts +0 -1
  117. package/lib/sharedComponents/program-list/constant.d.ts +20 -0
  118. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +4 -0
  119. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +5 -0
  120. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +7 -0
  121. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +126 -0
  122. package/lib/sharedComponents/program-list/program-list.module.d.ts +15 -0
  123. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +7 -0
  124. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +14 -0
  125. package/lib/sharedComponents/program-listing/program-listing.component.d.ts +0 -1
  126. package/lib/sharedComponents/radio-list/radio-list.component.d.ts +0 -1
  127. package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +0 -1
  128. package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +0 -1
  129. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +0 -1
  130. package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +0 -1
  131. package/lib/sharedComponents/roles-list/roles-list.component.d.ts +0 -1
  132. package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +0 -1
  133. package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +0 -1
  134. package/lib/ui-kit/loaders/loaders.module.d.ts +8 -0
  135. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +9 -0
  136. package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +0 -1
  137. package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +5 -1
  138. package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +0 -1
  139. package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +3 -1
  140. package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +6 -2
  141. package/lib/workflow/shared/services/grc.service.d.ts +1 -0
  142. package/lib/workflow/shared/workflow-pipes/get-user-details.pipe.d.ts +7 -0
  143. package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +3 -2
  144. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +0 -1
  145. package/lib/workflow-assessment/workflow-assessment.component.d.ts +0 -1
  146. package/lib/workflow-compliance/workflow-compliance.component.d.ts +32 -11
  147. package/lib/workflow-engine-container/api-constants.d.ts +1 -0
  148. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +5 -2
  149. package/lib/workflow-engine.module.d.ts +3 -2
  150. package/lib/workflow-policy/workflow-policy.component.d.ts +9 -1
  151. package/lib/workflow-program/constants.d.ts +0 -3
  152. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +0 -1
  153. package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +0 -1
  154. package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +0 -1
  155. package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +0 -1
  156. package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +0 -1
  157. package/lib/workflow-program/workflow-program.component.d.ts +9 -11
  158. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -2
  159. package/lib/workflow-services/policy.service.d.ts +1 -1
  160. package/lib/workflow-services/programs.service.d.ts +13 -54
  161. package/lib/workflow-services/responsibility.service.d.ts +17 -4
  162. package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +0 -1
  163. package/package.json +1 -1
  164. package/esm2022/lib/constants/policy.constant.mjs +0 -6
  165. package/esm2022/lib/constants/regix.constants.mjs +0 -4
  166. package/esm2022/lib/constants/responsibility.mjs +0 -8
  167. package/esm2022/lib/interfaces/policy.interface.mjs +0 -2
  168. package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +0 -19
  169. package/lib/constants/policy.constant.d.ts +0 -2
  170. package/lib/constants/regix.constants.d.ts +0 -3
  171. package/lib/constants/responsibility.d.ts +0 -7
  172. package/lib/interfaces/policy.interface.d.ts +0 -5
  173. package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +0 -7
@@ -1,6 +0,0 @@
1
- export const FILE_SIZE = {
2
- MAX_SIZE: 200 * 1024 * 1024,
3
- ERROR: 'alert',
4
- MESSAGE: 'Maximum allowed size is 200 MB.'
5
- };
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9saWN5LmNvbnN0YW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvY29uc3RhbnRzL3BvbGljeS5jb25zdGFudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxTQUFTLEdBQWE7SUFDL0IsUUFBUSxFQUFFLEdBQUcsR0FBRyxJQUFJLEdBQUcsSUFBSTtJQUMzQixLQUFLLEVBQUUsT0FBTztJQUNkLE9BQU8sRUFBRSxpQ0FBaUM7Q0FDM0MsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZpbGVTaXplIH0gZnJvbSBcIi4uL2ludGVyZmFjZXMvcG9saWN5LmludGVyZmFjZVwiO1xuXG5leHBvcnQgY29uc3QgRklMRV9TSVpFOiBGaWxlU2l6ZSA9IHtcbiAgICBNQVhfU0laRTogMjAwICogMTAyNCAqIDEwMjQsXG4gICAgRVJST1I6ICdhbGVydCcsXG4gICAgTUVTU0FHRTogJ01heGltdW0gYWxsb3dlZCBzaXplIGlzIDIwMCBNQi4nXG4gIH0iXX0=
@@ -1,4 +0,0 @@
1
- export const REGEX = {
2
- MONTH: /^[A-Za-z]+'\d{2}$/,
3
- };
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXguY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvY29uc3RhbnRzL3JlZ2l4LmNvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxLQUFLLEdBQUc7SUFDakIsS0FBSyxFQUFFLG1CQUFtQjtDQUM3QixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IFJFR0VYID0ge1xuICAgIE1PTlRIOiAvXltBLVphLXpdKydcXGR7Mn0kLyxcbn0iXX0=
@@ -1,8 +0,0 @@
1
- export const RISK_CLASS_LIST = ['high', 'low-medium', 'low', 'medium-high'];
2
- export const VALIDATION_MESSAGES = {
3
- RISK_CLASS: 'Invalid risk class. Select a valid option from the drop-down list.',
4
- DAY: 'Invalid day selection. Select a valid day from the drop-down list in the template.',
5
- DATE_FORMAT: 'Invalid date format. Select a valid date from the drop-down list in the template.',
6
- DUE_DATE: 'Invalid Due Date.',
7
- };
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzcG9uc2liaWxpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9jb25zdGFudHMvcmVzcG9uc2liaWxpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFHLENBQUMsTUFBTSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsYUFBYSxDQUFDLENBQUM7QUFFNUUsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUc7SUFDakMsVUFBVSxFQUNSLG9FQUFvRTtJQUN0RSxHQUFHLEVBQUUsb0ZBQW9GO0lBQ3pGLFdBQVcsRUFDVCxtRkFBbUY7SUFDckYsUUFBUSxFQUFFLG1CQUFtQjtDQUM5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IFJJU0tfQ0xBU1NfTElTVCA9IFsnaGlnaCcsICdsb3ctbWVkaXVtJywgJ2xvdycsICdtZWRpdW0taGlnaCddO1xuXG5leHBvcnQgY29uc3QgVkFMSURBVElPTl9NRVNTQUdFUyA9IHtcbiAgUklTS19DTEFTUzpcbiAgICAnSW52YWxpZCByaXNrIGNsYXNzLiBTZWxlY3QgYSB2YWxpZCBvcHRpb24gZnJvbSB0aGUgZHJvcC1kb3duIGxpc3QuJyxcbiAgREFZOiAnSW52YWxpZCBkYXkgc2VsZWN0aW9uLiBTZWxlY3QgYSB2YWxpZCBkYXkgZnJvbSB0aGUgZHJvcC1kb3duIGxpc3QgaW4gdGhlIHRlbXBsYXRlLicsXG4gIERBVEVfRk9STUFUOlxuICAgICdJbnZhbGlkIGRhdGUgZm9ybWF0LiBTZWxlY3QgYSB2YWxpZCBkYXRlIGZyb20gdGhlIGRyb3AtZG93biBsaXN0IGluIHRoZSB0ZW1wbGF0ZS4nLFxuICBEVUVfREFURTogJ0ludmFsaWQgRHVlIERhdGUuJyxcbn07XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9saWN5LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL2ludGVyZmFjZXMvcG9saWN5LmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBGaWxlU2l6ZSB7XG4gICAgTUFYX1NJWkU6IG51bWJlcjtcbiAgICBFUlJPUjogJ3N1Y2Nlc3MnfCd3YXJuaW5nJ3wnaW5mbyd8J2FsZXJ0J3wnZXJyb3InO1xuICAgIE1FU1NBR0U6IHN0cmluZztcbiAgfVxuICAiXX0=
@@ -1,19 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { RISK_CLASS_LIST } from '../../constants/responsibility';
3
- import * as i0 from "@angular/core";
4
- export class RiskClassPipe {
5
- transform(value) {
6
- if (!value)
7
- return true;
8
- return RISK_CLASS_LIST.includes(value?.toLowerCase());
9
- }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RiskClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RiskClassPipe, name: "riskClass" }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RiskClassPipe, decorators: [{
14
- type: Pipe,
15
- args: [{
16
- name: 'riskClass',
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlzay1jbGFzcy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9waXBlcy9yaXNrLWNsYXNzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOztBQUtqRSxNQUFNLE9BQU8sYUFBYTtJQUN4QixTQUFTLENBQUMsS0FBYTtRQUNyQixJQUFHLENBQUMsS0FBSztZQUFFLE9BQU8sSUFBSSxDQUFDO1FBQ3ZCLE9BQU8sZUFBZSxDQUFDLFFBQVEsQ0FBQyxLQUFLLEVBQUUsV0FBVyxFQUFFLENBQUMsQ0FBQztJQUN4RCxDQUFDOytHQUpVLGFBQWE7NkdBQWIsYUFBYTs7NEZBQWIsYUFBYTtrQkFIekIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsV0FBVztpQkFDbEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBSSVNLX0NMQVNTX0xJU1QgfSBmcm9tICcuLi8uLi9jb25zdGFudHMvcmVzcG9uc2liaWxpdHknO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdyaXNrQ2xhc3MnLFxufSlcbmV4cG9ydCBjbGFzcyBSaXNrQ2xhc3NQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nKTogYm9vbGVhbiB7XG4gICAgaWYoIXZhbHVlKSByZXR1cm4gdHJ1ZTtcbiAgICByZXR1cm4gUklTS19DTEFTU19MSVNULmluY2x1ZGVzKHZhbHVlPy50b0xvd2VyQ2FzZSgpKTtcbiAgfVxufVxuIl19
@@ -1,2 +0,0 @@
1
- import { FileSize } from "../interfaces/policy.interface";
2
- export declare const FILE_SIZE: FileSize;
@@ -1,3 +0,0 @@
1
- export declare const REGEX: {
2
- MONTH: RegExp;
3
- };
@@ -1,7 +0,0 @@
1
- export declare const RISK_CLASS_LIST: string[];
2
- export declare const VALIDATION_MESSAGES: {
3
- RISK_CLASS: string;
4
- DAY: string;
5
- DATE_FORMAT: string;
6
- DUE_DATE: string;
7
- };
@@ -1,5 +0,0 @@
1
- export interface FileSize {
2
- MAX_SIZE: number;
3
- ERROR: 'success' | 'warning' | 'info' | 'alert' | 'error';
4
- MESSAGE: string;
5
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class RiskClassPipe implements PipeTransform {
4
- transform(value: string): boolean;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RiskClassPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<RiskClassPipe, "riskClass", false>;
7
- }