vcomply-workflow-engine 3.5.3 → 3.5.4

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 (645) hide show
  1. package/esm2022/lib/add-multiple-responsibility/add-multiple-responsibility.component.mjs +897 -0
  2. package/esm2022/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.mjs +204 -0
  3. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +1569 -0
  4. package/esm2022/lib/add-multiple-risk/add-multiple-risk.component.mjs +774 -0
  5. package/esm2022/lib/configurations.mjs +6 -0
  6. package/esm2022/lib/confirmation-alert/confirmation-alert.component.mjs +28 -0
  7. package/esm2022/lib/constants/link-responsibility.constants.mjs +9 -0
  8. package/esm2022/lib/constants/time.constants.mjs +3 -0
  9. package/esm2022/lib/create-documents/create-documents.component.mjs +145 -0
  10. package/esm2022/lib/formgroup/cs-checkbox/cs-checkbox.component.mjs +36 -0
  11. package/esm2022/lib/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.mjs +35 -0
  12. package/esm2022/lib/formgroup/cs-radio/cs-radio.component.mjs +34 -0
  13. package/esm2022/lib/formgroup/cs-radio-group/cs-radio-group.component.mjs +14 -0
  14. package/esm2022/lib/formgroup/cs-select/cs-select.component.mjs +95 -0
  15. package/esm2022/lib/formgroup/cs-switch/cs-switch.component.mjs +31 -0
  16. package/esm2022/lib/formgroup/formgroup.module.mjs +56 -0
  17. package/esm2022/lib/formgroup/pipes/pascal.pipe.mjs +19 -0
  18. package/esm2022/lib/formgroup/select/cs-option/cs-option.component.mjs +42 -0
  19. package/esm2022/lib/formgroup/select/cs-select/cs-select.component.mjs +106 -0
  20. package/esm2022/lib/formgroup/select/select.module.mjs +21 -0
  21. package/esm2022/lib/formgroup/select/select.service.mjs +48 -0
  22. package/esm2022/lib/interfaces/categoryList.mjs +2 -0
  23. package/esm2022/lib/interfaces/confirmation-alert.mjs +2 -0
  24. package/esm2022/lib/interfaces/issue-data.mjs +2 -0
  25. package/esm2022/lib/log-an-issue/log-an-issue.component.mjs +1212 -0
  26. package/esm2022/lib/more-option/more-option.component.mjs +790 -0
  27. package/esm2022/lib/pipes/data-type.pipe.mjs +16 -0
  28. package/esm2022/lib/pipes/dom-sanitizer.pipe.mjs +24 -0
  29. package/esm2022/lib/pipes/filter.pipe.mjs +24 -0
  30. package/esm2022/lib/pipes/is-read-more.pipe.mjs +21 -0
  31. package/esm2022/lib/pipes/list-mapper.pipe.mjs +21 -0
  32. package/esm2022/lib/pipes/pipes.module.mjs +67 -0
  33. package/esm2022/lib/pipes/search.pipe.mjs +37 -0
  34. package/esm2022/lib/pipes/space-breaker.pipe.mjs +21 -0
  35. package/esm2022/lib/pipes/uncategorized-filter.pipe.mjs +21 -0
  36. package/esm2022/lib/pipes/user-filter.pipe.mjs +30 -0
  37. package/esm2022/lib/services/bulk-upload.service.mjs +44 -0
  38. package/esm2022/lib/services/common.service.mjs +41 -0
  39. package/esm2022/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.mjs +265 -0
  40. package/esm2022/lib/sharedComponents/approval-workflow/approval-workflow-list/approval-workflow-list.component.mjs +73 -0
  41. package/esm2022/lib/sharedComponents/approval-workflow/approval-workflow.component.mjs +83 -0
  42. package/esm2022/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.mjs +347 -0
  43. package/esm2022/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.mjs +75 -0
  44. package/esm2022/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.mjs +33 -0
  45. package/esm2022/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.mjs +124 -0
  46. package/esm2022/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.mjs +154 -0
  47. package/esm2022/lib/sharedComponents/assessment-editor/components/build/build.module.mjs +111 -0
  48. package/esm2022/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.mjs +37 -0
  49. package/esm2022/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.mjs +74 -0
  50. package/esm2022/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.mjs +18 -0
  51. package/esm2022/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.mjs +37 -0
  52. package/esm2022/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.mjs +15 -0
  53. package/esm2022/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.mjs +14 -0
  54. package/esm2022/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.mjs +14 -0
  55. package/esm2022/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.mjs +37 -0
  56. package/esm2022/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.mjs +14 -0
  57. package/esm2022/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.mjs +14 -0
  58. package/esm2022/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.mjs +14 -0
  59. package/esm2022/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.mjs +28 -0
  60. package/esm2022/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.mjs +14 -0
  61. package/esm2022/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.mjs +56 -0
  62. package/esm2022/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.mjs +14 -0
  63. package/esm2022/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.mjs +179 -0
  64. package/esm2022/lib/sharedComponents/assessment-editor/components/errorInterface/error.mjs +2 -0
  65. package/esm2022/lib/sharedComponents/assessment-editor/components/errorInterface/question.mjs +2 -0
  66. package/esm2022/lib/sharedComponents/assessment-editor/components/errorInterface/validateStructure.mjs +2 -0
  67. package/esm2022/lib/sharedComponents/assessment-editor/components/logic/logic.component.mjs +104 -0
  68. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.mjs +26 -0
  69. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.mjs +14 -0
  70. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.mjs +56 -0
  71. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.mjs +33 -0
  72. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.mjs +17 -0
  73. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.mjs +26 -0
  74. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.mjs +16 -0
  75. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-questions.module.mjs +101 -0
  76. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.mjs +16 -0
  77. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.mjs +24 -0
  78. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.mjs +14 -0
  79. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.mjs +16 -0
  80. package/esm2022/lib/sharedComponents/assessment-editor/components/move/move.component.mjs +103 -0
  81. package/esm2022/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.mjs +23 -0
  82. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/current-page-question.pipe.mjs +22 -0
  83. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/error-message.pipe.mjs +27 -0
  84. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/formatter.pipe.mjs +21 -0
  85. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/question-filter.pipe.mjs +17 -0
  86. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/question-page-filter.pipe.mjs +16 -0
  87. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/question-parser.pipe.mjs +21 -0
  88. package/esm2022/lib/sharedComponents/assessment-editor/components/pipes/type-of.pipe.mjs +16 -0
  89. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.mjs +28 -0
  90. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.mjs +14 -0
  91. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.mjs +49 -0
  92. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.mjs +30 -0
  93. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.mjs +21 -0
  94. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.mjs +17 -0
  95. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.mjs +31 -0
  96. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.mjs +28 -0
  97. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.mjs +28 -0
  98. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.mjs +16 -0
  99. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.mjs +16 -0
  100. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.mjs +16 -0
  101. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.mjs +14 -0
  102. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.mjs +16 -0
  103. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.mjs +78 -0
  104. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/preview.module.mjs +152 -0
  105. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.mjs +14 -0
  106. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.mjs +14 -0
  107. package/esm2022/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.mjs +19 -0
  108. package/esm2022/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.mjs +252 -0
  109. package/esm2022/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.mjs +35 -0
  110. package/esm2022/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.mjs +61 -0
  111. package/esm2022/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.mjs +163 -0
  112. package/esm2022/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.mjs +118 -0
  113. package/esm2022/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.mjs +23 -0
  114. package/esm2022/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.mjs +97 -0
  115. package/esm2022/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.mjs +493 -0
  116. package/esm2022/lib/sharedComponents/assessment-editor/create-assessment.module.mjs +154 -0
  117. package/esm2022/lib/sharedComponents/assessment-editor/services/editor.service.mjs +635 -0
  118. package/esm2022/lib/sharedComponents/assessment-editor/services/result-criteria.service.mjs +48 -0
  119. package/esm2022/lib/sharedComponents/assessment-editor/services/validator.service.mjs +546 -0
  120. package/esm2022/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.mjs +15 -0
  121. package/esm2022/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.mjs +15 -0
  122. package/esm2022/lib/sharedComponents/assessment-list/assessment-list.component.mjs +207 -0
  123. package/esm2022/lib/sharedComponents/assessment-list/service/assessment.interface.mjs +2 -0
  124. package/esm2022/lib/sharedComponents/assessment-list/service/assessment.service.mjs +31 -0
  125. package/esm2022/lib/sharedComponents/assessment-preview/assessment-preview.module.mjs +113 -0
  126. package/esm2022/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.mjs +33 -0
  127. package/esm2022/lib/sharedComponents/assessment-preview/date-time/date-time.component.mjs +53 -0
  128. package/esm2022/lib/sharedComponents/assessment-preview/description-preview/description-preview.component.mjs +24 -0
  129. package/esm2022/lib/sharedComponents/assessment-preview/device/device.component.mjs +21 -0
  130. package/esm2022/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.mjs +22 -0
  131. package/esm2022/lib/sharedComponents/assessment-preview/page-header/page-header.component.mjs +21 -0
  132. package/esm2022/lib/sharedComponents/assessment-preview/pipes/get-section-order.pipe.mjs +24 -0
  133. package/esm2022/lib/sharedComponents/assessment-preview/preview/preview.component.mjs +62 -0
  134. package/esm2022/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.mjs +22 -0
  135. package/esm2022/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.mjs +22 -0
  136. package/esm2022/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.mjs +33 -0
  137. package/esm2022/lib/sharedComponents/assessment-preview/section-details/section-details.component.mjs +20 -0
  138. package/esm2022/lib/sharedComponents/assessment-preview/select-question/select-question.component.mjs +35 -0
  139. package/esm2022/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.mjs +21 -0
  140. package/esm2022/lib/sharedComponents/assessment-preview/welcome/welcome.component.mjs +17 -0
  141. package/esm2022/lib/sharedComponents/audit-category-list/audit-category-list.component.mjs +61 -0
  142. package/esm2022/lib/sharedComponents/audit-category-list/audit-category.model.mjs +2 -0
  143. package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +72 -0
  144. package/esm2022/lib/sharedComponents/bulk-view/bulk-view.component.mjs +75 -0
  145. package/esm2022/lib/sharedComponents/category-list/category-list.component.mjs +84 -0
  146. package/esm2022/lib/sharedComponents/category-multiselect/category-multi-select.component.mjs +166 -0
  147. package/esm2022/lib/sharedComponents/checkbox-list/checkbox-list.component.mjs +92 -0
  148. package/esm2022/lib/sharedComponents/checkpoint/checkpoints/checkpoints.component.mjs +315 -0
  149. package/esm2022/lib/sharedComponents/checkpoint/checkpoints-list/checkpoints-list.component.mjs +25 -0
  150. package/esm2022/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.mjs +149 -0
  151. package/esm2022/lib/sharedComponents/checkpoint-floating-bar/checkpoint-floating-bar.component.mjs +48 -0
  152. package/esm2022/lib/sharedComponents/checkpoint-policy/checkpoints-policy-container/checkpoints-policy-container.component.mjs +77 -0
  153. package/esm2022/lib/sharedComponents/checkpoint-policy/checkpoints-policy-list/checkpoints-policy-list.component.mjs +14 -0
  154. package/esm2022/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.mjs +197 -0
  155. package/esm2022/lib/sharedComponents/directive/autofocus.directive.mjs +22 -0
  156. package/esm2022/lib/sharedComponents/directive/conditional-focus.directive.mjs +35 -0
  157. package/esm2022/lib/sharedComponents/directive/drag-drop.directive.mjs +52 -0
  158. package/esm2022/lib/sharedComponents/directive/input-trim.directive.mjs +21 -0
  159. package/esm2022/lib/sharedComponents/directive/scroll-in-view.directive.mjs +35 -0
  160. package/esm2022/lib/sharedComponents/document-section/document-section.component.mjs +184 -0
  161. package/esm2022/lib/sharedComponents/floating-bar/floating-bar.component.mjs +122 -0
  162. package/esm2022/lib/sharedComponents/floating-bar/floating-bar.module.mjs +20 -0
  163. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +308 -0
  164. package/esm2022/lib/sharedComponents/framework-list/framework-integration-interfaces.mjs +2 -0
  165. package/esm2022/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.mjs +38 -0
  166. package/esm2022/lib/sharedComponents/framework-list/framework-list.component.mjs +429 -0
  167. package/esm2022/lib/sharedComponents/framework-list/framework-responsibility-table/framework-responsibility-table.component.mjs +43 -0
  168. package/esm2022/lib/sharedComponents/framework-list/framework-table-loader/framework-table-loader.component.mjs +15 -0
  169. package/esm2022/lib/sharedComponents/framework-list/parent-table/parent-table.component.mjs +95 -0
  170. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +297 -0
  171. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +218 -0
  172. package/esm2022/lib/sharedComponents/frequency/frequency-checkbox-list/frequency-checkbox-list.component.mjs +36 -0
  173. package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +303 -0
  174. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +152 -0
  175. package/esm2022/lib/sharedComponents/frequency/frequency-due-date/due-date.contant.mjs +21 -0
  176. package/esm2022/lib/sharedComponents/frequency/frequency-due-date/frequency-due-date.component.mjs +83 -0
  177. package/esm2022/lib/sharedComponents/frequency/frequency-lifecycle/frequency-lifecycle.component.mjs +199 -0
  178. package/esm2022/lib/sharedComponents/frequency/frequency-lifecycle/lifecycl.constant.mjs +12 -0
  179. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +223 -0
  180. package/esm2022/lib/sharedComponents/frequency/frequency-on-completion-of/frequency-on-completion-of.component.mjs +170 -0
  181. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +189 -0
  182. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +75 -0
  183. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +214 -0
  184. package/esm2022/lib/sharedComponents/frequency/frequency-radio-list/frequency-radio-list.component.mjs +36 -0
  185. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +253 -0
  186. package/esm2022/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.mjs +213 -0
  187. package/esm2022/lib/sharedComponents/frequency/frequency-top/frequency-top.component.mjs +133 -0
  188. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +200 -0
  189. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +573 -0
  190. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.mjs +300 -0
  191. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.mjs +216 -0
  192. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.mjs +29 -0
  193. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.mjs +296 -0
  194. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.mjs +110 -0
  195. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.mjs +227 -0
  196. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.mjs +213 -0
  197. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.mjs +212 -0
  198. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.mjs +33 -0
  199. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.mjs +128 -0
  200. package/esm2022/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.mjs +197 -0
  201. package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +259 -0
  202. package/esm2022/lib/sharedComponents/link-program/link-program/link-program.component.mjs +472 -0
  203. package/esm2022/lib/sharedComponents/link-program/link-program/program-list-model.mjs +2 -0
  204. package/esm2022/lib/sharedComponents/link-program/program-integration-interfaces.mjs +2 -0
  205. package/esm2022/lib/sharedComponents/link-program/restapi.service.mjs +149 -0
  206. package/esm2022/lib/sharedComponents/link-program/tooltip-validation.pipe.mjs +28 -0
  207. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +221 -0
  208. package/esm2022/lib/sharedComponents/list-loader/list-loader.component.mjs +15 -0
  209. package/esm2022/lib/sharedComponents/list-loader/list-loader.module.mjs +18 -0
  210. package/esm2022/lib/sharedComponents/no-data/no-data.component.mjs +36 -0
  211. package/esm2022/lib/sharedComponents/no-data/no-data.module.mjs +18 -0
  212. package/esm2022/lib/sharedComponents/owner-list/owner-list.component.mjs +176 -0
  213. package/esm2022/lib/sharedComponents/pipes/array-filter.pipe.mjs +18 -0
  214. package/esm2022/lib/sharedComponents/pipes/filterPipe.mjs +30 -0
  215. package/esm2022/lib/sharedComponents/pipes/rcTreeToolTip.pipe.mjs +26 -0
  216. package/esm2022/lib/sharedComponents/pipes/short-merge.pipe.mjs +24 -0
  217. package/esm2022/lib/sharedComponents/pipes/spaceTrim.pipe.mjs +18 -0
  218. package/esm2022/lib/sharedComponents/pipes/within-data.pipe.mjs +21 -0
  219. package/esm2022/lib/sharedComponents/policy-access/policy-access.component.mjs +88 -0
  220. package/esm2022/lib/sharedComponents/program-listing/program-list-model.mjs +2 -0
  221. package/esm2022/lib/sharedComponents/program-listing/program-listing.component.mjs +739 -0
  222. package/esm2022/lib/sharedComponents/radio-list/radio-list.component.mjs +82 -0
  223. package/esm2022/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.mjs +14 -0
  224. package/esm2022/lib/sharedComponents/radio-list-with-pagination/radio-list.component.mjs +128 -0
  225. package/esm2022/lib/sharedComponents/responsibility-centers-list/rc-list.module.mjs +40 -0
  226. package/esm2022/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.mjs +125 -0
  227. package/esm2022/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.mjs +81 -0
  228. package/esm2022/lib/sharedComponents/review-frequency/review-frequency.component.mjs +44 -0
  229. package/esm2022/lib/sharedComponents/risk-classification/risk-classification.component.mjs +102 -0
  230. package/esm2022/lib/sharedComponents/roles-list/roles-list.component.mjs +30 -0
  231. package/esm2022/lib/sharedComponents/select-approvers/select-approvers.component.mjs +78 -0
  232. package/esm2022/lib/sharedComponents/table-card-loader/table-card-loader.component.mjs +15 -0
  233. package/esm2022/lib/sharedComponents/users-radio-list/users-radio-list.component.mjs +83 -0
  234. package/esm2022/lib/sharedComponents/v-loader/loader/loader.component.mjs +21 -0
  235. package/esm2022/lib/sharedComponents/v-loader/loader-inline/loader-inline.component.mjs +21 -0
  236. package/esm2022/lib/sharedComponents/v-loader/v-loader.module.mjs +19 -0
  237. package/esm2022/lib/ui-kit/action-dialog/action-dialog.module.mjs +21 -0
  238. package/esm2022/lib/ui-kit/action-dialog/active/active.component.mjs +32 -0
  239. package/esm2022/lib/ui-kit/action-dialog/deactivate/deactivate.component.mjs +33 -0
  240. package/esm2022/lib/ui-kit/action-dialog/delete/delete.component.mjs +26 -0
  241. package/esm2022/lib/ui-kit/action-dialog/duplicate/duplicate.component.mjs +28 -0
  242. package/esm2022/lib/ui-kit/click-outside/click-outside.directive.mjs +29 -0
  243. package/esm2022/lib/ui-kit/click-outside/click-outside.module.mjs +22 -0
  244. package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +3 -0
  245. package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +14 -0
  246. package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +11 -0
  247. package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +88 -0
  248. package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +20 -0
  249. package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +58 -0
  250. package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +16 -0
  251. package/esm2022/lib/ui-kit/directive/directive.module.mjs +24 -0
  252. package/esm2022/lib/ui-kit/directive/stop-propagation.directive.mjs +20 -0
  253. package/esm2022/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.mjs +15 -0
  254. package/esm2022/lib/ui-kit/editor-loader/editor-loader.module.mjs +22 -0
  255. package/esm2022/lib/ui-kit/format-html.pipe.mjs +20 -0
  256. package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +29 -0
  257. package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +31 -0
  258. package/esm2022/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.mjs +35 -0
  259. package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +30 -0
  260. package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +14 -0
  261. package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +100 -0
  262. package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +32 -0
  263. package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +60 -0
  264. package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +19 -0
  265. package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +24 -0
  266. package/esm2022/lib/ui-kit/line-loader/line-loader.component.mjs +15 -0
  267. package/esm2022/lib/ui-kit/line-loader/line-loader.module.mjs +18 -0
  268. package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +45 -0
  269. package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +18 -0
  270. package/esm2022/lib/ui-kit/pagination/pagination/pagination.component.mjs +116 -0
  271. package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +28 -0
  272. package/esm2022/lib/ui-kit/popover/popover-event.directive.mjs +28 -0
  273. package/esm2022/lib/ui-kit/popover/popover-longpress.directive.mjs +44 -0
  274. package/esm2022/lib/ui-kit/popover/popover.component.mjs +138 -0
  275. package/esm2022/lib/ui-kit/popover/popover.directive.mjs +97 -0
  276. package/esm2022/lib/ui-kit/popover/popover.module.mjs +23 -0
  277. package/esm2022/lib/ui-kit/popover/popover.service.mjs +15 -0
  278. package/esm2022/lib/ui-kit/popover-hover/popover-hover.component.mjs +109 -0
  279. package/esm2022/lib/ui-kit/popover-hover/popover-hover.directive.mjs +34 -0
  280. package/esm2022/lib/ui-kit/popover-hover/popover-hover.module.mjs +31 -0
  281. package/esm2022/lib/ui-kit/popover-hover/popover-hover.service.mjs +14 -0
  282. package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +43 -0
  283. package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +18 -0
  284. package/esm2022/lib/ui-kit/smiley-dialog-inline/smiley-dialog-inline.component.mjs +43 -0
  285. package/esm2022/lib/ui-kit/smiley-dialog-inline/smiley-dialog-inline.module.mjs +18 -0
  286. package/esm2022/lib/ui-kit/snack-bar/snack-bar.component.mjs +51 -0
  287. package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +18 -0
  288. package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +32 -0
  289. package/esm2022/lib/ui-kit/time-picker/constants/constant.mjs +5 -0
  290. package/esm2022/lib/ui-kit/time-picker/time-picker/time-picker.component.mjs +220 -0
  291. package/esm2022/lib/ui-kit/time-picker/time-picker.module.mjs +24 -0
  292. package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +156 -0
  293. package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +18 -0
  294. package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +831 -0
  295. package/esm2022/lib/workflow/grc-object/grc-object.module.mjs +64 -0
  296. package/esm2022/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.mjs +95 -0
  297. package/esm2022/lib/workflow/shared/components/attributes/attributes-dropdown/attributes-dropdown.component.mjs +110 -0
  298. package/esm2022/lib/workflow/shared/components/attributes/attributes-text-box/attributes-text-box.component.mjs +118 -0
  299. package/esm2022/lib/workflow/shared/components/attributes/attributes.component.mjs +100 -0
  300. package/esm2022/lib/workflow/shared/components/attributes/date-picker/date-picker.component.mjs +116 -0
  301. package/esm2022/lib/workflow/shared/components/edit-mode/edit-mode.component.mjs +216 -0
  302. package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +119 -0
  303. package/esm2022/lib/workflow/shared/components/grc-object-list/grc-object-list.component.mjs +198 -0
  304. package/esm2022/lib/workflow/shared/components/grc-responsibility-listing/grc-responsibility-listing.component.mjs +202 -0
  305. package/esm2022/lib/workflow/shared/components/grc-risk-listing/grc-risk-listing.component.mjs +191 -0
  306. package/esm2022/lib/workflow/shared/components/grc-sub-category-listing/grc-sub-category-listing.component.mjs +86 -0
  307. package/esm2022/lib/workflow/shared/components/list-popup/list-popup.component.mjs +209 -0
  308. package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +411 -0
  309. package/esm2022/lib/workflow/shared/components/risk-category-risk-listing/risk-category-risk-listing.component.mjs +241 -0
  310. package/esm2022/lib/workflow/shared/components/table-card/table-card.component.mjs +32 -0
  311. package/esm2022/lib/workflow/shared/components/text-field/text-field.component.mjs +143 -0
  312. package/esm2022/lib/workflow/shared/components/text-field-icon/text-field-icon.component.mjs +56 -0
  313. package/esm2022/lib/workflow/shared/constants/cdn-link.constant.mjs +11 -0
  314. package/esm2022/lib/workflow/shared/constants/field-text.constant.mjs +17 -0
  315. package/esm2022/lib/workflow/shared/constants/grcObject.constant.mjs +88 -0
  316. package/esm2022/lib/workflow/shared/constants/link-responsibility.constant.mjs +19 -0
  317. package/esm2022/lib/workflow/shared/constants/message.contstant.mjs +5 -0
  318. package/esm2022/lib/workflow/shared/constants/pagination-limits.constant.mjs +6 -0
  319. package/esm2022/lib/workflow/shared/constants/svg-link.constant.mjs +4 -0
  320. package/esm2022/lib/workflow/shared/constants/validation-message.constant.mjs +8 -0
  321. package/esm2022/lib/workflow/shared/interfaces/add-grc.mjs +2 -0
  322. package/esm2022/lib/workflow/shared/services/grc.service.mjs +310 -0
  323. package/esm2022/lib/workflow/shared/workflow-pipes/get-selected-value.pipe.mjs +30 -0
  324. package/esm2022/lib/workflow/shared/workflow-pipes/is-attributes-valid.pipe.mjs +48 -0
  325. package/esm2022/lib/workflow/shared/workflow-pipes/unique-responsibilities.pipe.mjs +24 -0
  326. package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +32 -0
  327. package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +668 -0
  328. package/esm2022/lib/workflow-assessment/workflow-assessment.component.mjs +254 -0
  329. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +3913 -0
  330. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +734 -0
  331. package/esm2022/lib/workflow-engine.module.mjs +467 -0
  332. package/esm2022/lib/workflow-engine.service.mjs +14 -0
  333. package/esm2022/lib/workflow-interfaces/create-policy-form.mjs +2 -0
  334. package/esm2022/lib/workflow-pagination/workflow-pagination.component.mjs +116 -0
  335. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +1875 -0
  336. package/esm2022/lib/workflow-program/constants.mjs +51 -0
  337. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/assessment-loader/assessment-loader.component.mjs +15 -0
  338. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.mjs +292 -0
  339. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/assessment-sub-loader/assessment-sub-loader.component.mjs +15 -0
  340. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/assessment.service.mjs +43 -0
  341. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/selected-assessment.pipe.mjs +22 -0
  342. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/workflow-pagination/workflow-pagination.component.mjs +116 -0
  343. package/esm2022/lib/workflow-program/create-program-ui/checkbox/checkbox.component.mjs +39 -0
  344. package/esm2022/lib/workflow-program/create-program-ui/create-program-ui.module.mjs +194 -0
  345. package/esm2022/lib/workflow-program/create-program-ui/cs-switch/cs-switch.component.mjs +44 -0
  346. package/esm2022/lib/workflow-program/create-program-ui/custom-field/custom-field.component.mjs +82 -0
  347. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.mjs +267 -0
  348. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/framework.service.mjs +44 -0
  349. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/loader/loader.component.mjs +15 -0
  350. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/category-all-select.pipe.mjs +23 -0
  351. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/search.pipe.mjs +23 -0
  352. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/sub-cat-indeter.pipe.mjs +26 -0
  353. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +68 -0
  354. package/esm2022/lib/workflow-program/create-program-ui/directives/input-trim.directive.mjs +21 -0
  355. package/esm2022/lib/workflow-program/create-program-ui/file-pill/file-pill.component.mjs +27 -0
  356. package/esm2022/lib/workflow-program/create-program-ui/floating-bar/floating-bar.component.mjs +106 -0
  357. package/esm2022/lib/workflow-program/create-program-ui/form-field/form-field.component.mjs +16 -0
  358. package/esm2022/lib/workflow-program/create-program-ui/input-with-pill/input-with-pill.component.mjs +30 -0
  359. package/esm2022/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.mjs +166 -0
  360. package/esm2022/lib/workflow-program/create-program-ui/pagination/pagination.module.mjs +28 -0
  361. package/esm2022/lib/workflow-program/create-program-ui/pipes/array-concat.pipe.mjs +16 -0
  362. package/esm2022/lib/workflow-program/create-program-ui/pipes/assessment-resolver.pipe.mjs +27 -0
  363. package/esm2022/lib/workflow-program/create-program-ui/pipes/filter.pipe.mjs +30 -0
  364. package/esm2022/lib/workflow-program/create-program-ui/pipes/list-to-id.pipe.mjs +16 -0
  365. package/esm2022/lib/workflow-program/create-program-ui/pipes/pager.pipe.mjs +21 -0
  366. package/esm2022/lib/workflow-program/create-program-ui/pipes/ref-disconnect.pipe.mjs +17 -0
  367. package/esm2022/lib/workflow-program/create-program-ui/pipes/search.pipe.mjs +23 -0
  368. package/esm2022/lib/workflow-program/create-program-ui/role-list/loader/loader.component.mjs +15 -0
  369. package/esm2022/lib/workflow-program/create-program-ui/role-list/role-list.component.mjs +240 -0
  370. package/esm2022/lib/workflow-program/create-program-ui/tab-selector/tab-selector.component.mjs +43 -0
  371. package/esm2022/lib/workflow-program/create-program-ui/tick-mark/tick-mark.component.mjs +15 -0
  372. package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +434 -0
  373. package/esm2022/lib/workflow-program/workflow-program.component.mjs +1550 -0
  374. package/esm2022/lib/workflow-risk/workflow-risk.component.mjs +1642 -0
  375. package/esm2022/lib/workflow-services/add-risk.service.mjs +150 -0
  376. package/esm2022/lib/workflow-services/assessment.service.mjs +117 -0
  377. package/esm2022/lib/workflow-services/auth.service.mjs +229 -0
  378. package/esm2022/lib/workflow-services/frequency.service.mjs +173 -0
  379. package/esm2022/lib/workflow-services/log-issue.service.mjs +360 -0
  380. package/esm2022/lib/workflow-services/policy.service.mjs +163 -0
  381. package/esm2022/lib/workflow-services/programs.service.mjs +319 -0
  382. package/esm2022/lib/workflow-services/responsibility.service.mjs +293 -0
  383. package/esm2022/lib/workflow-services/token-decoder.service.mjs +38 -0
  384. package/esm2022/lib/workflow-services/ui-kit.service.mjs +17 -0
  385. package/esm2022/lib/workflow-survey-form/workflow-survey-form.component.mjs +26 -0
  386. package/esm2022/public-api.mjs +8 -0
  387. package/esm2022/vcomply-workflow-engine.mjs +5 -0
  388. package/fesm2022/vcomply-workflow-engine.mjs +44351 -0
  389. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -0
  390. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +1 -1
  391. package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +1 -1
  392. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +1 -1
  393. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -1
  394. package/lib/confirmation-alert/confirmation-alert.component.d.ts +1 -1
  395. package/lib/create-documents/create-documents.component.d.ts +1 -1
  396. package/lib/formgroup/cs-checkbox/cs-checkbox.component.d.ts +1 -1
  397. package/lib/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.d.ts +1 -1
  398. package/lib/formgroup/cs-radio/cs-radio.component.d.ts +1 -1
  399. package/lib/formgroup/cs-radio-group/cs-radio-group.component.d.ts +1 -1
  400. package/lib/formgroup/cs-select/cs-select.component.d.ts +1 -1
  401. package/lib/formgroup/cs-switch/cs-switch.component.d.ts +1 -1
  402. package/lib/formgroup/select/cs-option/cs-option.component.d.ts +1 -1
  403. package/lib/formgroup/select/cs-select/cs-select.component.d.ts +1 -1
  404. package/lib/log-an-issue/log-an-issue.component.d.ts +7 -3
  405. package/lib/more-option/more-option.component.d.ts +1 -1
  406. package/lib/services/common.service.d.ts +14 -0
  407. package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +1 -1
  408. package/lib/sharedComponents/approval-workflow/approval-workflow-list/approval-workflow-list.component.d.ts +1 -1
  409. package/lib/sharedComponents/approval-workflow/approval-workflow.component.d.ts +1 -1
  410. package/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.d.ts +1 -1
  411. package/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.d.ts +1 -1
  412. package/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.d.ts +1 -1
  413. package/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.d.ts +1 -1
  414. package/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.d.ts +1 -1
  415. package/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.d.ts +1 -1
  416. package/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.d.ts +1 -1
  417. package/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.d.ts +1 -1
  418. package/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.d.ts +1 -1
  419. package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +1 -1
  420. package/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.d.ts +1 -1
  421. package/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.d.ts +1 -1
  422. package/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.d.ts +1 -1
  423. package/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.d.ts +1 -1
  424. package/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.d.ts +1 -1
  425. package/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.d.ts +1 -1
  426. package/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.d.ts +1 -1
  427. package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +1 -1
  428. package/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.d.ts +1 -1
  429. package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +1 -1
  430. package/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.d.ts +1 -1
  431. package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +1 -1
  432. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.d.ts +1 -1
  433. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.d.ts +1 -1
  434. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.d.ts +7 -3
  435. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.d.ts +1 -1
  436. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +1 -1
  437. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.d.ts +1 -1
  438. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.d.ts +1 -1
  439. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.d.ts +1 -1
  440. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.d.ts +1 -1
  441. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.d.ts +1 -1
  442. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.d.ts +1 -1
  443. package/lib/sharedComponents/assessment-editor/components/move/move.component.d.ts +1 -1
  444. package/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.d.ts +1 -1
  445. package/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.d.ts +1 -1
  446. package/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.d.ts +1 -1
  447. package/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.d.ts +8 -5
  448. package/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.d.ts +1 -1
  449. package/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.d.ts +1 -1
  450. package/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.d.ts +1 -1
  451. package/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.d.ts +1 -1
  452. package/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.d.ts +1 -1
  453. package/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.d.ts +1 -1
  454. package/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.d.ts +1 -1
  455. package/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.d.ts +1 -1
  456. package/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.d.ts +1 -1
  457. package/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.d.ts +1 -1
  458. package/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.d.ts +1 -1
  459. package/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.d.ts +1 -1
  460. package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +1 -1
  461. package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +1 -1
  462. package/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.d.ts +1 -1
  463. package/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.d.ts +1 -1
  464. package/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.d.ts +1 -1
  465. package/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.d.ts +1 -1
  466. package/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.d.ts +1 -1
  467. package/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.d.ts +1 -1
  468. package/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.d.ts +1 -1
  469. package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +1 -1
  470. package/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.d.ts +1 -1
  471. package/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.d.ts +1 -1
  472. package/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.d.ts +1 -1
  473. package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +1 -1
  474. package/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.d.ts +1 -1
  475. package/lib/sharedComponents/assessment-preview/date-time/date-time.component.d.ts +8 -5
  476. package/lib/sharedComponents/assessment-preview/description-preview/description-preview.component.d.ts +1 -1
  477. package/lib/sharedComponents/assessment-preview/device/device.component.d.ts +1 -1
  478. package/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.d.ts +1 -1
  479. package/lib/sharedComponents/assessment-preview/page-header/page-header.component.d.ts +1 -1
  480. package/lib/sharedComponents/assessment-preview/preview/preview.component.d.ts +1 -1
  481. package/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.d.ts +1 -1
  482. package/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.d.ts +1 -1
  483. package/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.d.ts +1 -1
  484. package/lib/sharedComponents/assessment-preview/section-details/section-details.component.d.ts +1 -1
  485. package/lib/sharedComponents/assessment-preview/select-question/select-question.component.d.ts +1 -1
  486. package/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.d.ts +1 -1
  487. package/lib/sharedComponents/assessment-preview/welcome/welcome.component.d.ts +1 -1
  488. package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +1 -1
  489. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +1 -1
  490. package/lib/sharedComponents/bulk-view/bulk-view.component.d.ts +1 -1
  491. package/lib/sharedComponents/category-list/category-list.component.d.ts +1 -1
  492. package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +1 -1
  493. package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +1 -1
  494. package/lib/sharedComponents/checkpoint/checkpoints/checkpoints.component.d.ts +1 -1
  495. package/lib/sharedComponents/checkpoint/checkpoints-list/checkpoints-list.component.d.ts +1 -1
  496. package/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.d.ts +6 -2
  497. package/lib/sharedComponents/checkpoint-floating-bar/checkpoint-floating-bar.component.d.ts +1 -1
  498. package/lib/sharedComponents/checkpoint-policy/checkpoints-policy-container/checkpoints-policy-container.component.d.ts +1 -1
  499. package/lib/sharedComponents/checkpoint-policy/checkpoints-policy-list/checkpoints-policy-list.component.d.ts +1 -1
  500. package/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.d.ts +1 -1
  501. package/lib/sharedComponents/directive/autofocus.directive.d.ts +1 -1
  502. package/lib/sharedComponents/directive/conditional-focus.directive.d.ts +1 -1
  503. package/lib/sharedComponents/directive/drag-drop.directive.d.ts +1 -1
  504. package/lib/sharedComponents/directive/input-trim.directive.d.ts +1 -1
  505. package/lib/sharedComponents/directive/scroll-in-view.directive.d.ts +1 -1
  506. package/lib/sharedComponents/document-section/document-section.component.d.ts +1 -1
  507. package/lib/sharedComponents/floating-bar/floating-bar.component.d.ts +1 -1
  508. package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +1 -1
  509. package/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.d.ts +1 -1
  510. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +1 -1
  511. package/lib/sharedComponents/framework-list/framework-responsibility-table/framework-responsibility-table.component.d.ts +1 -1
  512. package/lib/sharedComponents/framework-list/framework-table-loader/framework-table-loader.component.d.ts +1 -1
  513. package/lib/sharedComponents/framework-list/parent-table/parent-table.component.d.ts +1 -1
  514. package/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.d.ts +1 -1
  515. package/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.d.ts +1 -1
  516. package/lib/sharedComponents/frequency/frequency-checkbox-list/frequency-checkbox-list.component.d.ts +1 -1
  517. package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts +1 -1
  518. package/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.d.ts +1 -1
  519. package/lib/sharedComponents/frequency/frequency-due-date/frequency-due-date.component.d.ts +1 -1
  520. package/lib/sharedComponents/frequency/frequency-lifecycle/frequency-lifecycle.component.d.ts +10 -4
  521. package/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.d.ts +1 -1
  522. package/lib/sharedComponents/frequency/frequency-on-completion-of/frequency-on-completion-of.component.d.ts +1 -1
  523. package/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.d.ts +9 -5
  524. package/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.d.ts +1 -1
  525. package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts +1 -1
  526. package/lib/sharedComponents/frequency/frequency-radio-list/frequency-radio-list.component.d.ts +1 -1
  527. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +1 -1
  528. package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +1 -1
  529. package/lib/sharedComponents/frequency/frequency-top/frequency-top.component.d.ts +1 -1
  530. package/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.d.ts +1 -1
  531. package/lib/sharedComponents/frequency/frequency.service.d.ts +1 -0
  532. package/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.d.ts +1 -1
  533. package/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.d.ts +1 -1
  534. package/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.d.ts +1 -1
  535. package/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.d.ts +1 -1
  536. package/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.d.ts +1 -1
  537. package/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.d.ts +1 -1
  538. package/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.d.ts +10 -5
  539. package/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.d.ts +1 -1
  540. package/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.d.ts +1 -1
  541. package/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.d.ts +1 -1
  542. package/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.d.ts +1 -1
  543. package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +1 -1
  544. package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +1 -1
  545. package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +1 -1
  546. package/lib/sharedComponents/list-loader/list-loader.component.d.ts +1 -1
  547. package/lib/sharedComponents/no-data/no-data.component.d.ts +1 -1
  548. package/lib/sharedComponents/owner-list/owner-list.component.d.ts +1 -1
  549. package/lib/sharedComponents/policy-access/policy-access.component.d.ts +1 -1
  550. package/lib/sharedComponents/program-listing/program-listing.component.d.ts +1 -1
  551. package/lib/sharedComponents/radio-list/radio-list.component.d.ts +1 -1
  552. package/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.d.ts +1 -1
  553. package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +1 -1
  554. package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +1 -1
  555. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +1 -1
  556. package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +1 -1
  557. package/lib/sharedComponents/risk-classification/risk-classification.component.d.ts +1 -1
  558. package/lib/sharedComponents/roles-list/roles-list.component.d.ts +1 -1
  559. package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +1 -1
  560. package/lib/sharedComponents/table-card-loader/table-card-loader.component.d.ts +1 -1
  561. package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +1 -1
  562. package/lib/sharedComponents/v-loader/loader/loader.component.d.ts +1 -1
  563. package/lib/sharedComponents/v-loader/loader-inline/loader-inline.component.d.ts +1 -1
  564. package/lib/ui-kit/action-dialog/active/active.component.d.ts +1 -1
  565. package/lib/ui-kit/action-dialog/deactivate/deactivate.component.d.ts +1 -1
  566. package/lib/ui-kit/action-dialog/delete/delete.component.d.ts +1 -1
  567. package/lib/ui-kit/action-dialog/duplicate/duplicate.component.d.ts +1 -1
  568. package/lib/ui-kit/click-outside/click-outside.directive.d.ts +1 -1
  569. package/lib/ui-kit/dialog/dialog-injector.d.ts +2 -2
  570. package/lib/ui-kit/dialog/dialog.component.d.ts +6 -4
  571. package/lib/ui-kit/dialog/dialog.service.d.ts +3 -3
  572. package/lib/ui-kit/dialog/insertion.directive.d.ts +1 -1
  573. package/lib/ui-kit/directive/stop-propagation.directive.d.ts +1 -1
  574. package/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.d.ts +1 -1
  575. package/lib/ui-kit/formgroup/click-outside.directive.d.ts +1 -1
  576. package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +1 -1
  577. package/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.d.ts +1 -1
  578. package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +1 -1
  579. package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +1 -1
  580. package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +1 -1
  581. package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +1 -1
  582. package/lib/ui-kit/line-loader/line-loader.component.d.ts +1 -1
  583. package/lib/ui-kit/no-data/no-data.component.d.ts +1 -1
  584. package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +1 -1
  585. package/lib/ui-kit/popover/popover-event.directive.d.ts +1 -1
  586. package/lib/ui-kit/popover/popover-longpress.directive.d.ts +1 -1
  587. package/lib/ui-kit/popover/popover.component.d.ts +1 -1
  588. package/lib/ui-kit/popover/popover.directive.d.ts +1 -1
  589. package/lib/ui-kit/popover-hover/popover-hover.component.d.ts +1 -1
  590. package/lib/ui-kit/popover-hover/popover-hover.directive.d.ts +1 -1
  591. package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +1 -1
  592. package/lib/ui-kit/smiley-dialog-inline/smiley-dialog-inline.component.d.ts +1 -1
  593. package/lib/ui-kit/snack-bar/snack-bar.component.d.ts +1 -1
  594. package/lib/ui-kit/time-picker/time-picker/time-picker.component.d.ts +1 -1
  595. package/lib/ui-kit/tooltip/tooltip.directive.d.ts +1 -1
  596. package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +1 -1
  597. package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +1 -1
  598. package/lib/workflow/shared/components/attributes/attributes-dropdown/attributes-dropdown.component.d.ts +1 -1
  599. package/lib/workflow/shared/components/attributes/attributes-text-box/attributes-text-box.component.d.ts +1 -1
  600. package/lib/workflow/shared/components/attributes/attributes.component.d.ts +1 -1
  601. package/lib/workflow/shared/components/attributes/date-picker/date-picker.component.d.ts +1 -1
  602. package/lib/workflow/shared/components/edit-mode/edit-mode.component.d.ts +1 -1
  603. package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +1 -1
  604. package/lib/workflow/shared/components/grc-object-list/grc-object-list.component.d.ts +1 -1
  605. package/lib/workflow/shared/components/grc-responsibility-listing/grc-responsibility-listing.component.d.ts +1 -1
  606. package/lib/workflow/shared/components/grc-risk-listing/grc-risk-listing.component.d.ts +1 -1
  607. package/lib/workflow/shared/components/grc-sub-category-listing/grc-sub-category-listing.component.d.ts +1 -1
  608. package/lib/workflow/shared/components/list-popup/list-popup.component.d.ts +1 -1
  609. package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +1 -1
  610. package/lib/workflow/shared/components/risk-category-risk-listing/risk-category-risk-listing.component.d.ts +1 -1
  611. package/lib/workflow/shared/components/table-card/table-card.component.d.ts +1 -1
  612. package/lib/workflow/shared/components/text-field/text-field.component.d.ts +1 -1
  613. package/lib/workflow/shared/components/text-field-icon/text-field-icon.component.d.ts +1 -1
  614. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +1 -1
  615. package/lib/workflow-assessment/workflow-assessment.component.d.ts +1 -1
  616. package/lib/workflow-compliance/workflow-compliance.component.d.ts +1 -1
  617. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -1
  618. package/lib/workflow-pagination/workflow-pagination.component.d.ts +1 -1
  619. package/lib/workflow-policy/workflow-policy.component.d.ts +7 -3
  620. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-loader/assessment-loader.component.d.ts +1 -1
  621. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +1 -1
  622. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-sub-loader/assessment-sub-loader.component.d.ts +1 -1
  623. package/lib/workflow-program/create-program-ui/assessment-picker/workflow-pagination/workflow-pagination.component.d.ts +1 -1
  624. package/lib/workflow-program/create-program-ui/checkbox/checkbox.component.d.ts +1 -1
  625. package/lib/workflow-program/create-program-ui/cs-switch/cs-switch.component.d.ts +1 -1
  626. package/lib/workflow-program/create-program-ui/custom-field/custom-field.component.d.ts +1 -1
  627. package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +1 -1
  628. package/lib/workflow-program/create-program-ui/define-framework-listing/loader/loader.component.d.ts +1 -1
  629. package/lib/workflow-program/create-program-ui/directives/input-trim.directive.d.ts +1 -1
  630. package/lib/workflow-program/create-program-ui/file-pill/file-pill.component.d.ts +1 -1
  631. package/lib/workflow-program/create-program-ui/floating-bar/floating-bar.component.d.ts +1 -1
  632. package/lib/workflow-program/create-program-ui/form-field/form-field.component.d.ts +1 -1
  633. package/lib/workflow-program/create-program-ui/input-with-pill/input-with-pill.component.d.ts +1 -1
  634. package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +1 -1
  635. package/lib/workflow-program/create-program-ui/role-list/loader/loader.component.d.ts +1 -1
  636. package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -1
  637. package/lib/workflow-program/create-program-ui/tab-selector/tab-selector.component.d.ts +1 -1
  638. package/lib/workflow-program/create-program-ui/tick-mark/tick-mark.component.d.ts +1 -1
  639. package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +1 -1
  640. package/lib/workflow-program/workflow-program.component.d.ts +1 -1
  641. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  642. package/lib/workflow-services/auth.service.d.ts +0 -1
  643. package/lib/workflow-services/log-issue.service.d.ts +1 -0
  644. package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +1 -1
  645. package/package.json +5 -12
@@ -0,0 +1,75 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../../ui-kit/dialog/dialog-config";
4
+ import * as i2 from "../../../../ui-kit/dialog/dialog-ref";
5
+ import * as i3 from "@vcomply/editor";
6
+ import * as i4 from "@angular/forms";
7
+ import * as i5 from "../single-line-editor/single-line-editor.component";
8
+ export class AddPageDetailsComponent {
9
+ constructor(config, dialogRef) {
10
+ this.config = config;
11
+ this.dialogRef = dialogRef;
12
+ this.pageDetails = { pageName: '', pageNumber: 0, pageDescription: '' };
13
+ this.description = {
14
+ mode: 'prime',
15
+ placeholder: 'Add description',
16
+ };
17
+ this.fd = config.data?.ref;
18
+ }
19
+ ngOnInit() {
20
+ this.tempPageDetails = JSON.stringify(this.config.data);
21
+ this.pageDetails.pageNumber = this.config.data.page;
22
+ this.pageDetails.pageName = this.config.data.pageDetails.pageName;
23
+ this.pageDetails.pageDescription = this.config.data.pageDetails.pageDescription;
24
+ this.pageDesc = this.config.data.pageDetails.pageDescription;
25
+ this.populatePageDetailsList();
26
+ }
27
+ savePageDetails() {
28
+ this.pageDetails.pageName = this.extractContent(this.pageDetails.pageName).trim().length > 0 ? this.pageDetails.pageName : '';
29
+ this.pageDetails.pageDescription = this.extractContent(this.pageDetails.pageDescription).trim().length > 0 ? this.pageDetails.pageDescription : '';
30
+ this.fd.currentPageDetails = { ...this.pageDetails };
31
+ this.populatePageDetailsList();
32
+ if (this.pageDetails.pageName.trim().length > 0 || this.pageDetails.pageDescription.trim().length > 0) {
33
+ this.fd.showAddPageOption = false;
34
+ this.fd.showPageDetails = true;
35
+ }
36
+ else {
37
+ this.fd.showAddPageOption = true;
38
+ this.fd.showPageDetails = false;
39
+ }
40
+ this.dialogRef.close('SAVE');
41
+ }
42
+ extractContent(s) {
43
+ var span = document.createElement('span');
44
+ span.innerHTML = s;
45
+ return span.textContent || span.innerText;
46
+ }
47
+ ;
48
+ populatePageDetailsList() {
49
+ let pagePresent = false;
50
+ this.fd.formsPage.pageDetailsList.forEach((pageDetails) => {
51
+ if (this.pageDetails.pageNumber === pageDetails.pageNumber) {
52
+ pageDetails.pageName = this.pageDetails.pageName;
53
+ pageDetails.pageDescription = this.pageDetails.pageDescription;
54
+ pagePresent = true;
55
+ }
56
+ });
57
+ if (!pagePresent) {
58
+ this.fd.formsPage.pageDetailsList.push({ ...this.pageDetails });
59
+ }
60
+ }
61
+ cancelPageDetails() {
62
+ //this.cancel.emit();
63
+ this.pageDetails = JSON.parse(this.tempPageDetails)?.pageDetails;
64
+ this.fd.currentPageDetails = JSON.parse(this.tempPageDetails)?.pageDetails;
65
+ this.populatePageDetailsList();
66
+ this.dialogRef.close('CANCEL');
67
+ }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddPageDetailsComponent, deps: [{ token: i1.DialogConfig }, { token: i2.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
69
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AddPageDetailsComponent, selector: "app-add-page-details", ngImport: i0, template: "<div class=\"form-dialog\">\r\n <div class=\"form-dialog-heading vx-d-flex vx-align-center vx-justify-between vx-pt-3 vx-pb-3 vx-pl-4 vx-pr-4 vx-mb-5\">\r\n <div class=\"heading vx-fs-14 vx-fw-500 vx-label-txt\">Add Page Details</div>\r\n <button (click)=\"cancelPageDetails()\" class=\"close vx-p-0 vx-m-0 vx-d-flex vx-align-center\"><i class=\"icons vx-fs-16 vx-label-txt\">&#xe93f;</i></button>\r\n </div>\r\n\r\n <div class=\"form-dialog-mid vx-pb-5\">\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">PAGE TITLE</label>\r\n <!-- <div class=\"input-field\">\r\n <input type=\"text\" placeholder=\"Page title\" [class.error]=\"false\" />\r\n <button class=\"action vx-fs-13 vx-label-txt vx-p-0 vx-m-0 vx-ad-flex vx-align-center vx-justify-center\" (click)=\"clickEditor()\">Aa</button>\r\n <div class=\"editor-option\" *ngIf=\"showEditor\">\r\n <ul class=\"vx-d-flex vx-align-center vx-m-0\">\r\n <li><button class=\"vx-fs-13 vx-txt-white vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.active]=\"true\">B</button></li>\r\n <li><button class=\"vx-fs-13 vx-txt-white vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.active]=\"false\"><em>I</em></button></li>\r\n <li><button class=\"vx-fs-11 vx-txt-white vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.active]=\"false\"><i class=\"icons\">&#xeb0a;</i></button></li>\r\n </ul>\r\n </div>\r\n </div> -->\r\n <app-single-line-editor [placeholder]=\"'Page title'\" [label]=\"false\" [editorMode]=\"'multiline'\" [(ngModel)]=\"pageDetails.pageName\"></app-single-line-editor>\r\n <!-- <div class=\"overlay\" *ngIf=\"showEditor\" ></div> -->\r\n </div>\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">PAGE DESCRIPTION</label>\r\n <vcomply-editor [editorConfig]=\"description\" [(ngModel)]='pageDetails.pageDescription'></vcomply-editor>\r\n </div>\r\n </div>\r\n <div class=\"form-dialog-btn vx-mt-4 vx-p-3 vx-d-flex vx-align-center vx-justify-end\">\r\n <button class=\"cancel-btn vx-fs-11 vx-fw-500 vx-txt-blue vx-tt-uppercase vx-m-0 vx-p-0 vx-d-flex vx-align-center vx-justify-center\" (click)=\"cancelPageDetails()\">CANCEL</button>\r\n <button class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-m-0 vx-ml-1 vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.disabled]=\"false\" (click)=\"savePageDetails()\">SAVE</button>\r\n </div>\r\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .form-dialog{background:#fff;width:31.25rem;height:100vh}::ng-deep .form-dialog-heading{background:#f8f8f8;border-bottom:1px solid #F1F1F1;height:2.75rem}::ng-deep .form-dialog-heading button.close{background:transparent;border:none;border-radius:0}::ng-deep .form-dialog-mid{padding-left:2rem;padding-right:2rem;height:calc(100vh - 8.125rem);overflow:auto}::ng-deep .form-dialog-mid::-webkit-scrollbar-track{background-color:#fff}::ng-deep .form-dialog-mid .from-group{position:relative}::ng-deep .form-dialog-mid .from-group .input-field{position:relative;z-index:2}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]{height:2.5rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem .75rem;line-height:1.25rem;font-size:13px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:hover,::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:hover+button.action,::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:focus+button.action{border-color:#1e5dd3}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]::placeholder{color:#dbdbdb;opacity:1}::ng-deep .form-dialog-mid .from-group .input-field button.action{background:#f1f1f1;border-radius:0 .25rem .25rem 0;border:1px solid #DBDBDB;border-left:none;position:absolute;top:0;right:0;width:2.5rem;height:2.5rem;transition:all .2s ease-in-out}::ng-deep .form-dialog-mid .from-group .input-field .editor-option{background:#161b2f;border-radius:0 0 .25rem .25rem;position:absolute;top:2.5rem;right:0;z-index:1}::ng-deep .form-dialog-mid .from-group .input-field .editor-option ul{list-style-type:none;padding:0 .125rem}::ng-deep .form-dialog-mid .from-group .input-field .editor-option ul li button{background:transparent;border:1px solid transparent;border-radius:0;width:2rem;height:2rem;margin:.25rem .125rem}::ng-deep .form-dialog-mid .from-group .input-field .editor-option ul li button.active{border-color:#f1f1f150}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline{height:2.5rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem 2.5rem .5rem .75rem!important;line-height:1.5rem;font-size:13px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline:hover,::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline:before{color:#747576}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .action{bottom:1px;right:1px;background:#fff;padding:.625rem;border-radius:0 .25rem .25rem 0}::ng-deep .form-dialog-mid .from-group vcomply-editor .editor-container .editable-block{max-height:calc(100vh - 400px)}::ng-deep .form-dialog-btn{background:#f8f8f8;border-top:1px solid #F1F1F1;height:3.125rem}::ng-deep .form-dialog-btn button{border-radius:.125rem;height:1.75rem;width:4.5rem}::ng-deep .form-dialog-btn button.cancel-btn{background:#fff;border:1px solid #F1F1F1}::ng-deep .form-dialog-btn button.save-btn{background:#1e5dd3;border:none}::ng-deep .form-dialog-btn button.disabled{background:#f1f1f1;color:#747576;pointer-events:none}\n"], dependencies: [{ kind: "component", type: i3.MarxEditorComponent, selector: "vcomply-editor", inputs: ["editorConfig"], outputs: ["comment", "sendSavedFiles", "popup"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.SingleLineEditorComponent, selector: "app-single-line-editor", inputs: ["placeholder", "editorMode", "label", "id"] }] }); }
70
+ }
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddPageDetailsComponent, decorators: [{
72
+ type: Component,
73
+ args: [{ selector: 'app-add-page-details', template: "<div class=\"form-dialog\">\r\n <div class=\"form-dialog-heading vx-d-flex vx-align-center vx-justify-between vx-pt-3 vx-pb-3 vx-pl-4 vx-pr-4 vx-mb-5\">\r\n <div class=\"heading vx-fs-14 vx-fw-500 vx-label-txt\">Add Page Details</div>\r\n <button (click)=\"cancelPageDetails()\" class=\"close vx-p-0 vx-m-0 vx-d-flex vx-align-center\"><i class=\"icons vx-fs-16 vx-label-txt\">&#xe93f;</i></button>\r\n </div>\r\n\r\n <div class=\"form-dialog-mid vx-pb-5\">\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">PAGE TITLE</label>\r\n <!-- <div class=\"input-field\">\r\n <input type=\"text\" placeholder=\"Page title\" [class.error]=\"false\" />\r\n <button class=\"action vx-fs-13 vx-label-txt vx-p-0 vx-m-0 vx-ad-flex vx-align-center vx-justify-center\" (click)=\"clickEditor()\">Aa</button>\r\n <div class=\"editor-option\" *ngIf=\"showEditor\">\r\n <ul class=\"vx-d-flex vx-align-center vx-m-0\">\r\n <li><button class=\"vx-fs-13 vx-txt-white vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.active]=\"true\">B</button></li>\r\n <li><button class=\"vx-fs-13 vx-txt-white vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.active]=\"false\"><em>I</em></button></li>\r\n <li><button class=\"vx-fs-11 vx-txt-white vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.active]=\"false\"><i class=\"icons\">&#xeb0a;</i></button></li>\r\n </ul>\r\n </div>\r\n </div> -->\r\n <app-single-line-editor [placeholder]=\"'Page title'\" [label]=\"false\" [editorMode]=\"'multiline'\" [(ngModel)]=\"pageDetails.pageName\"></app-single-line-editor>\r\n <!-- <div class=\"overlay\" *ngIf=\"showEditor\" ></div> -->\r\n </div>\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">PAGE DESCRIPTION</label>\r\n <vcomply-editor [editorConfig]=\"description\" [(ngModel)]='pageDetails.pageDescription'></vcomply-editor>\r\n </div>\r\n </div>\r\n <div class=\"form-dialog-btn vx-mt-4 vx-p-3 vx-d-flex vx-align-center vx-justify-end\">\r\n <button class=\"cancel-btn vx-fs-11 vx-fw-500 vx-txt-blue vx-tt-uppercase vx-m-0 vx-p-0 vx-d-flex vx-align-center vx-justify-center\" (click)=\"cancelPageDetails()\">CANCEL</button>\r\n <button class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-m-0 vx-ml-1 vx-p-0 vx-d-flex vx-align-center vx-justify-center\" [class.disabled]=\"false\" (click)=\"savePageDetails()\">SAVE</button>\r\n </div>\r\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .form-dialog{background:#fff;width:31.25rem;height:100vh}::ng-deep .form-dialog-heading{background:#f8f8f8;border-bottom:1px solid #F1F1F1;height:2.75rem}::ng-deep .form-dialog-heading button.close{background:transparent;border:none;border-radius:0}::ng-deep .form-dialog-mid{padding-left:2rem;padding-right:2rem;height:calc(100vh - 8.125rem);overflow:auto}::ng-deep .form-dialog-mid::-webkit-scrollbar-track{background-color:#fff}::ng-deep .form-dialog-mid .from-group{position:relative}::ng-deep .form-dialog-mid .from-group .input-field{position:relative;z-index:2}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]{height:2.5rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem .75rem;line-height:1.25rem;font-size:13px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:hover,::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:hover+button.action,::ng-deep .form-dialog-mid .from-group .input-field input[type=text]:focus+button.action{border-color:#1e5dd3}::ng-deep .form-dialog-mid .from-group .input-field input[type=text]::placeholder{color:#dbdbdb;opacity:1}::ng-deep .form-dialog-mid .from-group .input-field button.action{background:#f1f1f1;border-radius:0 .25rem .25rem 0;border:1px solid #DBDBDB;border-left:none;position:absolute;top:0;right:0;width:2.5rem;height:2.5rem;transition:all .2s ease-in-out}::ng-deep .form-dialog-mid .from-group .input-field .editor-option{background:#161b2f;border-radius:0 0 .25rem .25rem;position:absolute;top:2.5rem;right:0;z-index:1}::ng-deep .form-dialog-mid .from-group .input-field .editor-option ul{list-style-type:none;padding:0 .125rem}::ng-deep .form-dialog-mid .from-group .input-field .editor-option ul li button{background:transparent;border:1px solid transparent;border-radius:0;width:2rem;height:2rem;margin:.25rem .125rem}::ng-deep .form-dialog-mid .from-group .input-field .editor-option ul li button.active{border-color:#f1f1f150}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline{height:2.5rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem 2.5rem .5rem .75rem!important;line-height:1.5rem;font-size:13px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline:hover,::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .editable-box.multiline:before{color:#747576}::ng-deep .form-dialog-mid .from-group app-single-line-editor .single-line-editor .action{bottom:1px;right:1px;background:#fff;padding:.625rem;border-radius:0 .25rem .25rem 0}::ng-deep .form-dialog-mid .from-group vcomply-editor .editor-container .editable-block{max-height:calc(100vh - 400px)}::ng-deep .form-dialog-btn{background:#f8f8f8;border-top:1px solid #F1F1F1;height:3.125rem}::ng-deep .form-dialog-btn button{border-radius:.125rem;height:1.75rem;width:4.5rem}::ng-deep .form-dialog-btn button.cancel-btn{background:#fff;border:1px solid #F1F1F1}::ng-deep .form-dialog-btn button.save-btn{background:#1e5dd3;border:none}::ng-deep .form-dialog-btn button.disabled{background:#f1f1f1;color:#747576;pointer-events:none}\n"] }]
74
+ }], ctorParameters: function () { return [{ type: i1.DialogConfig }, { type: i2.DialogRef }]; } });
75
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXBhZ2UtZGV0YWlscy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL2Fzc2Vzc21lbnQtZWRpdG9yL2NvbXBvbmVudHMvYWRkLXBhZ2UtZGV0YWlscy9hZGQtcGFnZS1kZXRhaWxzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3NoYXJlZENvbXBvbmVudHMvYXNzZXNzbWVudC1lZGl0b3IvY29tcG9uZW50cy9hZGQtcGFnZS1kZXRhaWxzL2FkZC1wYWdl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wMCB2eC1sYWJlbC10eHQgdngtdHQtdXBwZXJjYXNlIHZ4LW1iLTFcIj5QQUdFIERFU0NSSVBUSU9OPC9sYWJlbD5cclxuICAgICAgICAgICAgPHZjb21wbHktZWRpdG9yIFtlZGl0b3JDb25maWddPVwiZGVzY3JpcHRpb25cIiBbKG5nTW9kZWwpXT0ncGFnZURldGFpbHMucGFnZURlc2NyaXB0aW9uJz48L3Zjb21wbHktZWRpdG9yPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiZm9ybS1kaWFsb2ctYnRuIHZ4LW10LTQgdngtcC0zIHZ4LWQtZmxleCB2eC1hbGlnbi1jZW50ZXIgdngtanVzdGlmeS1lbmRcIj5cclxuICAgICAgICA8YnV0dG9uIGNsYXNzPVwiY2FuY2VsLWJ0biB2eC1mcy0xMSB2eC1mdy01MDAgdngtdHh0LWJsdWUgdngtdHQtdXBwZXJjYXNlIHZ4LW0tMCB2eC1wLTAgdngtZC1mbGV4IHZ4LWFsaWduLWNlbnRlciB2eC1qdXN0aWZ5LWNlbnRlclwiIChjbGljayk9XCJjYW5jZWxQYWdlRGV0YWlscygpXCI+Q0FOQ0VMPC9idXR0b24+XHJcbiAgICAgICAgPGJ1dHRvbiBjbGFzcz1cInNhdmUtYnRuIHZ4LWZzLTExIHZ4LWZ3LTUwMCB2eC10eHQtd2hpdGUgdngtdHQtdXBwZXJjYXNlIHZ4LW0tMCB2eC1tbC0xIHZ4LXAtMCB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyIHZ4LWp1c3RpZnktY2VudGVyXCIgW2NsYXNzLmRpc2FibGVkXT1cImZhbHNlXCIgKGNsaWNrKT1cInNhdmVQYWdlRGV0YWlscygpXCI+U0FWRTwvYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
@@ -0,0 +1,33 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "../../../../ui-kit/tooltip/tooltip.directive";
5
+ import * as i3 from "../../../../ui-kit/popover/popover.component";
6
+ import * as i4 from "../../../../ui-kit/popover/popover.directive";
7
+ import * as i5 from "../../../../formgroup/cs-checkbox/cs-checkbox.component";
8
+ import * as i6 from "../../../../formgroup/cs-radio/cs-radio.component";
9
+ import * as i7 from "../../../../formgroup/cs-switch/cs-switch.component";
10
+ export class AddResponseSetPopupComponent {
11
+ constructor() {
12
+ this.setResponse = false;
13
+ this.hideSpecificCategory = false;
14
+ }
15
+ ngOnInit() {
16
+ }
17
+ showResponse() {
18
+ this.setResponse = !this.setResponse;
19
+ }
20
+ clickSpecificCategory() {
21
+ this.hideSpecificCategory = true;
22
+ }
23
+ backResponseSet() {
24
+ this.hideSpecificCategory = false;
25
+ }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddResponseSetPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AddResponseSetPopupComponent, selector: "app-add-response-set-popup", ngImport: i0, template: "<div class=\"form-dialog\">\r\n <div class=\"form-dialog-heading vx-d-flex vx-align-center vx-justify-between vx-pt-3 vx-pb-3 vx-pl-4 vx-pr-4 vx-mb-2\">\r\n <ng-container *ngIf=\"!hideSpecificCategory\">\r\n <div class=\"heading vx-fs-14 vx-fw-500 vx-label-txt\">Add a Response Set</div>\r\n <button class=\"close vx-p-0 vx-m-0 vx-d-flex vx-align-center\" [appTooltip]=\"'[Esc] to close'\" placement=\"left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"true\"><i class=\"icons vx-fs-16 vx-label-txt\">&#xe93f;</i></button>\r\n </ng-container>\r\n <ng-container *ngIf=\"hideSpecificCategory\">\r\n <div class=\"heading vx-fs-14 vx-fw-500 vx-label-txt\">Select Form Categories</div>\r\n <button (click)=\"backResponseSet()\" class=\"close vx-fs-12 vx-fw-500 vx-label-txt vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center\"><i class=\"icons vx-fs-16 vx-mr-2\">&#xe91d;</i> BACK</button>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"!hideSpecificCategory\" class=\"form-dialog-mid vx-p-4 vx-pt-0\">\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">RESPONSE SET NAME</label>\r\n <input type=\"text\" placeholder=\"Name this response set\" />\r\n </div>\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">THIS RESPONSE SET IS APPLICABLE FOR:</label>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"set-item vx-d-flex vx-align-center vx-p-2\">\r\n <app-cs-radio><span class=\"name vx-fs-11 vx-fw-500 vx-paragraph-txt vx-tt-uppercase\">ALL FORM CATEGORIES</span></app-cs-radio>\r\n </div>\r\n <div class=\"set-item vx-d-flex vx-align-center vx-p-2\">\r\n <div class=\"specific-radio vx-d-flex vx-align-center\" (click)=\"clickSpecificCategory()\">\r\n <span class=\"circle-radio vx-mr-3\"></span>\r\n <span class=\"name vx-fs-11 vx-fw-500 vx-paragraph-txt vx-tt-uppercase\">SPECIFIC FORM CATEGORIES</span>\r\n </div>\r\n <div *ngIf=\"false\" class=\"after-select vx-d-flex vx-align-center vx-w-100\">\r\n <span class=\"circle-radio vx-mr-3\"></span>\r\n <div class=\"input-group vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"left vx-d-flex vx-align-center\">\r\n <div class=\"chip vx-fs-11 vx-txt-blue vx-pl-2 vx-pr-2 vx-lh-5\" [appTooltip]=\"'category text'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">category text</div>\r\n <button class=\"count vx-fs-10 vx-txt-white vx-p-0 vx-pl-1 vx-pr-1 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center vx-lh-5\" appPopover (click)=\"responseCount.popover()\" position=\"right\">+13</button>\r\n <app-popover #responseCount>\r\n <div class=\"wf-action-list\">\r\n <ul class=\"action-item\">\r\n <li *ngFor=\"let data of [1, 1, 1, 1, 1, 1, 1]\">\r\n <div class=\"chip-item\">\r\n <span class=\"vx-paragraph-txt\" [appTooltip]=\"'Category response name'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"true\">Category response name</span>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n </app-popover>\r\n </div>\r\n <button class=\"edit vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-lh-5\">EDIT</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">RESPONSE CHOICES</label>\r\n <div class=\"choice-item vx-d-flex vx-mt-5\">\r\n <div class=\"number vx-fs-12 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-p-1 vx-mr-4\" style=\"background: #1E5DD3;\">1</div>\r\n <div class=\"right\">\r\n <ng-container>\r\n <div class=\"edit-mode\" (click)=\"showResponse()\">\r\n <input type=\"text\" placeholder=\"Type your response\" />\r\n <button class=\"set-icon vx-fs-14 vx-txt-blue vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\">&#xe913;</i></button>\r\n </div>\r\n <div class=\"set-popup vx-p-3 vx-d-flex vx-justify-between\" *ngIf=\"!setResponse\">\r\n <div class=\"item\">\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SET COLOR</div>\r\n <div class=\"color-box vx-p-1 vx-d-flex vx-align-center vx-justify-center\" style=\"color: #1E5DD3;\">\r\n <i class=\"icons vx-fs-18\">&#xeb01;</i>\r\n <input type=\"color\" />\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">ADD SCORE</div>\r\n <div class=\"score-input vx-d-flex\">\r\n <input type=\"number\" value=\"1\" />\r\n <div class=\"buttons\">\r\n <button class=\"plus-btn vx-fs-12 vx-fw-500 vx-paragraph-txt vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n <button class=\"minus-btn vx-fs-12 vx-fw-500 vx-paragraph-txt vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">-</button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1 vx-d-flex vx-align-center\">SET AS A FAILED RESPONSE <i class=\"icons info vx-fs-12 vx-txt-blue vx-ml-1\" appTooltip=\"If this response choice is 'Set as a failed response' VComply would automatically flag it as an exception when selected by the respondent. This can help identify areas for improvement and in the development of corrective action plans.\" placement=\"bottom-right\" delay=\"0\" type=\"white\" [tooltipMandatory]=\"true\">&#xeb16;</i></div>\r\n <app-cs-switch></app-cs-switch>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"after-set-response vx-d-flex vx-align-center vx-justify-between vx-pl-3 vx-pr-3\">\r\n <div class=\"value vx-fs-12 vx-label-txt\" [appTooltip]=\"'Response choice content'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">Response choice content</div>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <button class=\"edit vx-fs-12 vx-txt-blue vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center\"><i class=\"icons\">&#xe9ba;</i></button>\r\n <button class=\"delete vx-fs-12 vx-txt-red vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center\"><i class=\"icons\">&#xe923;</i></button>\r\n </div>\r\n </div>\r\n <div class=\"response-value vx-fs-10 vx-fw-500 vx-txt-blue vx-tt-uppercase vx-text-right vx-mt-1\">SCORE: 1</div>\r\n <div class=\"response-value vx-fs-10 vx-fw-500 vx-txt-red vx-tt-uppercase vx-text-right vx-mt-1\">THIS HAS BEEN SET AS A FAILED RESPONSE.</div>\r\n </div>\r\n </div>\r\n <button class=\"add-response-btn vx-fs-11 vx-fw-500 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-mt-5 vx-d-flex vx-align-center\"><i class=\"icons vx-fs-12 vx-mr-2 vx-d-flex\">&#xe915;</i> ADD RESPONSE</button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"hideSpecificCategory\" class=\"category-mid vx-p-4 vx-pr-0 vx-pt-0 vx-mt-4\">\r\n <div class=\"search-field vx-pr-4 vx-mb-3\">\r\n <input type=\"search\" placeholder=\"Search...\" />\r\n <i class=\"icons search vx-fs-14\">&#xe90b;</i>\r\n </div>\r\n <app-cs-checkbox><span class=\"name vx-fw-500\">Select All</span></app-cs-checkbox>\r\n <!-- <app-cs-checkbox-indeterminate *ngIf=\"false\"><span class=\"name vx-fw-500\">Select All</span></app-cs-checkbox-indeterminate> -->\r\n <div class=\"list vx-pr-4 vx-mt-3\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <li class=\"vx-mb-3\" *ngFor=\"let data of [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]\"><app-cs-checkbox><span class=\"name\" [appTooltip]=\"'Select form category name'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">Select form category name</span></app-cs-checkbox></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div *ngIf=\"hideSpecificCategory\" class=\"category-bottom vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4 vx-mt-4\">\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <div class=\"count vx-fs-11 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-pl-1 vx-pr-1\">12</div> <span class=\"vx-fs-12 vx-fw-500 vx-paragraph-txt vx-ml-2\">Form Category selected</span>\r\n </div>\r\n <button class=\"next-btn vx-fs-11 vx-fw-500 vx-txt-white vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center vx-lh-7\">NEXT</button>\r\n </div>\r\n <button *ngIf=\"!hideSpecificCategory\" class=\"form-dialog-btn vx-fs-13 vx-fw-600 vx-tt-uppercase vx-p-0 vx-m-0 vx-mt-4 vx-d-flex vx-align-center vx-justify-center\" [class.disabled]=\"false\">SAVE</button>\r\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .form-dialog{background:#fff;width:31.25rem;height:100vh}::ng-deep .form-dialog-heading{background:#f8f8f8;border-bottom:1px solid #F1F1F1;height:2.75rem}::ng-deep .form-dialog-heading button.close{background:transparent;border:none;border-radius:0}::ng-deep .form-dialog-mid{height:calc(100vh - 7.25rem);overflow:auto}::ng-deep .form-dialog-mid::-webkit-scrollbar-track{background-color:#fff}::ng-deep .form-dialog-mid .from-group{position:relative}::ng-deep .form-dialog-mid .from-group input[type=text]{height:2.5rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem .75rem;line-height:1.25rem;font-size:13px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group input[type=text]:hover,::ng-deep .form-dialog-mid .from-group input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group input[type=text]::placeholder{color:#dbdbdb;opacity:1}::ng-deep .form-dialog-mid .from-group .set-item{border:1px solid #DBDBDB;border-radius:.25rem;width:calc(50% - .25rem);height:2.5rem}::ng-deep .form-dialog-mid .from-group .set-item cs-radio{display:flex;width:100%}::ng-deep .form-dialog-mid .from-group .set-item cs-radio .radio-item{width:100%}::ng-deep .form-dialog-mid .from-group .set-item .specific-radio{cursor:pointer}::ng-deep .form-dialog-mid .from-group .set-item .specific-radio .circle-radio{background:#fff;border:1px solid #DBDBDB;border-radius:50%;height:1rem;width:1rem}::ng-deep .form-dialog-mid .from-group .set-item .after-select .circle-radio{background:#fff;border:5px solid #34aa44;border-radius:50%;height:1rem;width:1rem}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group{width:calc(100% - 1.75rem)}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group .left{width:calc(100% - 3rem)}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group .left .chip{background:#fff;box-shadow:0 1px 4px #1e5dd326;border-radius:.125rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group .left button.count{background:#1e5dd3;border:none;border-radius:.125rem;min-width:1.25rem}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group button.edit{background:#34aa44;border:none;border-radius:.125rem}::ng-deep .form-dialog-mid .from-group .choice-item:first-of-type{margin-top:.5rem!important}::ng-deep .form-dialog-mid .from-group .choice-item .number{border-radius:50%;width:1.75rem;height:1.75rem;margin-top:.125rem}::ng-deep .form-dialog-mid .from-group .choice-item .right{width:calc(100% - 2.75rem);position:relative}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]{height:2rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem 2.625rem .5rem .75rem;line-height:1.25rem;font-size:12px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]:hover,::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]::placeholder{color:#dbdbdb;opacity:1}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode button.set-icon{background:#f8f8f8;border-radius:0 .25rem .25rem 0;border:none;position:absolute;top:1px;right:1px;width:1.875rem;height:1.875rem}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup{background:#fff;border-radius:.25rem;box-shadow:0 3px 6px #1e5dd326;width:100%}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .heading I.info{cursor:pointer}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item app-cs-switch{display:flex;justify-content:start}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item app-cs-switch .cs-switch{width:auto}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .color-box{background:#f1f1f1;border-radius:.125rem;width:1.875rem;height:1.875rem;position:relative}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .color-box input{position:absolute;inset:0;margin:0;width:100%;height:100%;cursor:pointer;opacity:0}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input{border:1px solid #F1F1F1;border-radius:.125rem;height:1.875rem;width:3.75rem}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input input{background:#fff;border:none;border-right:1px solid #F1F1F1;border-radius:0;font-size:12px;font-weight:400;color:#161b2f;padding:0 .5rem;margin:0;width:42px;outline:none}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input .buttons button{background:transparent;border:none;border-radius:0;width:1rem;height:.875rem}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input .buttons button.plus-btn{border-bottom:1px solid #F1F1F1}::ng-deep .form-dialog-mid .from-group .choice-item .right .after-set-response{height:2rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#f8f8f8}::ng-deep .form-dialog-mid .from-group .choice-item .right .after-set-response .value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:calc(100% - 5rem)}::ng-deep .form-dialog-mid .from-group .choice-item .right .after-set-response button{background:transparent;border:none;border-radius:0}::ng-deep .form-dialog-mid .from-group button.add-response-btn{background:transparent;border:none;border-radius:0;padding-left:2.75rem!important}::ng-deep .form-dialog .category-mid{height:calc(100vh - 7.5rem)}::ng-deep .form-dialog .category-mid .search-field{position:relative}::ng-deep .form-dialog .category-mid .search-field input{background:#fff;border:1px solid #7475763F;border-radius:.25rem;color:#161b2f;font-size:13px;font-weight:400;padding:.5rem .75rem .5rem 2.25rem;width:100%;height:2.5rem;outline:none}::ng-deep .form-dialog .category-mid .search-field i.search{position:absolute;top:.75rem;left:1.5rem;color:#f1f1f1}::ng-deep .form-dialog .category-mid .list{height:calc(100vh - 13rem);overflow:auto}::ng-deep .form-dialog .category-mid .list::-webkit-scrollbar-track{background-color:#fff}::ng-deep .form-dialog .category-mid .list ul{list-style-type:none}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item{position:relative;padding-left:1.5rem;width:100%}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item .checkbox,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item .checkbox{position:absolute!important;left:0;top:0}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item .checkmark,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item .checkmark{position:absolute!important;left:0;top:0}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item span,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item span{justify-content:unset!important;margin:0!important}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item span.value,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item span.value{color:#747576!important;font-size:11px!important;width:100%}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item span.value .name,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item span.value .name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::ng-deep .form-dialog .category-bottom{background:#f8f8f8;border-top:1px solid #F1F1F1;height:2.75rem}::ng-deep .form-dialog .category-bottom .count{background:#34aa44;border-radius:.125rem;min-width:1.25rem;height:1.25rem}::ng-deep .form-dialog .category-bottom button.next-btn{background:#1e5dd3;border-radius:.125rem;border:none;width:4rem}::ng-deep .form-dialog-btn{background:#1e5dd3;border:none;border-radius:0;color:#fff;width:100%;height:3.125rem;letter-spacing:1.3px}::ng-deep .form-dialog-btn.disabled{background:#f1f1f1;color:#747576!important;opacity:1;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ToolTipDirective, selector: "[appTooltip]", inputs: ["appTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "component", type: i3.PopoverComponent, selector: "app-popover", inputs: ["dontCloseonClick"] }, { kind: "directive", type: i4.PopoverDirective, selector: "[appPopover]", inputs: ["refrence", "placement"] }, { kind: "component", type: i5.CsCheckboxComponent, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value", "readonly", "oneLine"], outputs: ["ngValueChange"] }, { kind: "component", type: i6.CsRadioComponent, selector: "app-cs-radio", inputs: ["disabled", "readonly", "name", "checked", "value", "oneLine"], outputs: ["checkedEvent"] }, { kind: "component", type: i7.CsSwitchComponent, selector: "app-cs-switch", inputs: ["disabled", "ngValue", "value", "tooltipMessage", "position"], outputs: ["ngValueChange"] }] }); }
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddResponseSetPopupComponent, decorators: [{
30
+ type: Component,
31
+ args: [{ selector: 'app-add-response-set-popup', template: "<div class=\"form-dialog\">\r\n <div class=\"form-dialog-heading vx-d-flex vx-align-center vx-justify-between vx-pt-3 vx-pb-3 vx-pl-4 vx-pr-4 vx-mb-2\">\r\n <ng-container *ngIf=\"!hideSpecificCategory\">\r\n <div class=\"heading vx-fs-14 vx-fw-500 vx-label-txt\">Add a Response Set</div>\r\n <button class=\"close vx-p-0 vx-m-0 vx-d-flex vx-align-center\" [appTooltip]=\"'[Esc] to close'\" placement=\"left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"true\"><i class=\"icons vx-fs-16 vx-label-txt\">&#xe93f;</i></button>\r\n </ng-container>\r\n <ng-container *ngIf=\"hideSpecificCategory\">\r\n <div class=\"heading vx-fs-14 vx-fw-500 vx-label-txt\">Select Form Categories</div>\r\n <button (click)=\"backResponseSet()\" class=\"close vx-fs-12 vx-fw-500 vx-label-txt vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center\"><i class=\"icons vx-fs-16 vx-mr-2\">&#xe91d;</i> BACK</button>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"!hideSpecificCategory\" class=\"form-dialog-mid vx-p-4 vx-pt-0\">\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">RESPONSE SET NAME</label>\r\n <input type=\"text\" placeholder=\"Name this response set\" />\r\n </div>\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">THIS RESPONSE SET IS APPLICABLE FOR:</label>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"set-item vx-d-flex vx-align-center vx-p-2\">\r\n <app-cs-radio><span class=\"name vx-fs-11 vx-fw-500 vx-paragraph-txt vx-tt-uppercase\">ALL FORM CATEGORIES</span></app-cs-radio>\r\n </div>\r\n <div class=\"set-item vx-d-flex vx-align-center vx-p-2\">\r\n <div class=\"specific-radio vx-d-flex vx-align-center\" (click)=\"clickSpecificCategory()\">\r\n <span class=\"circle-radio vx-mr-3\"></span>\r\n <span class=\"name vx-fs-11 vx-fw-500 vx-paragraph-txt vx-tt-uppercase\">SPECIFIC FORM CATEGORIES</span>\r\n </div>\r\n <div *ngIf=\"false\" class=\"after-select vx-d-flex vx-align-center vx-w-100\">\r\n <span class=\"circle-radio vx-mr-3\"></span>\r\n <div class=\"input-group vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"left vx-d-flex vx-align-center\">\r\n <div class=\"chip vx-fs-11 vx-txt-blue vx-pl-2 vx-pr-2 vx-lh-5\" [appTooltip]=\"'category text'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">category text</div>\r\n <button class=\"count vx-fs-10 vx-txt-white vx-p-0 vx-pl-1 vx-pr-1 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center vx-lh-5\" appPopover (click)=\"responseCount.popover()\" position=\"right\">+13</button>\r\n <app-popover #responseCount>\r\n <div class=\"wf-action-list\">\r\n <ul class=\"action-item\">\r\n <li *ngFor=\"let data of [1, 1, 1, 1, 1, 1, 1]\">\r\n <div class=\"chip-item\">\r\n <span class=\"vx-paragraph-txt\" [appTooltip]=\"'Category response name'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"true\">Category response name</span>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n </app-popover>\r\n </div>\r\n <button class=\"edit vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-lh-5\">EDIT</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"from-group vx-mt-1 vx-mb-4\">\r\n <label class=\"vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">RESPONSE CHOICES</label>\r\n <div class=\"choice-item vx-d-flex vx-mt-5\">\r\n <div class=\"number vx-fs-12 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-p-1 vx-mr-4\" style=\"background: #1E5DD3;\">1</div>\r\n <div class=\"right\">\r\n <ng-container>\r\n <div class=\"edit-mode\" (click)=\"showResponse()\">\r\n <input type=\"text\" placeholder=\"Type your response\" />\r\n <button class=\"set-icon vx-fs-14 vx-txt-blue vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\">&#xe913;</i></button>\r\n </div>\r\n <div class=\"set-popup vx-p-3 vx-d-flex vx-justify-between\" *ngIf=\"!setResponse\">\r\n <div class=\"item\">\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SET COLOR</div>\r\n <div class=\"color-box vx-p-1 vx-d-flex vx-align-center vx-justify-center\" style=\"color: #1E5DD3;\">\r\n <i class=\"icons vx-fs-18\">&#xeb01;</i>\r\n <input type=\"color\" />\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">ADD SCORE</div>\r\n <div class=\"score-input vx-d-flex\">\r\n <input type=\"number\" value=\"1\" />\r\n <div class=\"buttons\">\r\n <button class=\"plus-btn vx-fs-12 vx-fw-500 vx-paragraph-txt vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n <button class=\"minus-btn vx-fs-12 vx-fw-500 vx-paragraph-txt vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">-</button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1 vx-d-flex vx-align-center\">SET AS A FAILED RESPONSE <i class=\"icons info vx-fs-12 vx-txt-blue vx-ml-1\" appTooltip=\"If this response choice is 'Set as a failed response' VComply would automatically flag it as an exception when selected by the respondent. This can help identify areas for improvement and in the development of corrective action plans.\" placement=\"bottom-right\" delay=\"0\" type=\"white\" [tooltipMandatory]=\"true\">&#xeb16;</i></div>\r\n <app-cs-switch></app-cs-switch>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"after-set-response vx-d-flex vx-align-center vx-justify-between vx-pl-3 vx-pr-3\">\r\n <div class=\"value vx-fs-12 vx-label-txt\" [appTooltip]=\"'Response choice content'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">Response choice content</div>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <button class=\"edit vx-fs-12 vx-txt-blue vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center\"><i class=\"icons\">&#xe9ba;</i></button>\r\n <button class=\"delete vx-fs-12 vx-txt-red vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center\"><i class=\"icons\">&#xe923;</i></button>\r\n </div>\r\n </div>\r\n <div class=\"response-value vx-fs-10 vx-fw-500 vx-txt-blue vx-tt-uppercase vx-text-right vx-mt-1\">SCORE: 1</div>\r\n <div class=\"response-value vx-fs-10 vx-fw-500 vx-txt-red vx-tt-uppercase vx-text-right vx-mt-1\">THIS HAS BEEN SET AS A FAILED RESPONSE.</div>\r\n </div>\r\n </div>\r\n <button class=\"add-response-btn vx-fs-11 vx-fw-500 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-mt-5 vx-d-flex vx-align-center\"><i class=\"icons vx-fs-12 vx-mr-2 vx-d-flex\">&#xe915;</i> ADD RESPONSE</button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"hideSpecificCategory\" class=\"category-mid vx-p-4 vx-pr-0 vx-pt-0 vx-mt-4\">\r\n <div class=\"search-field vx-pr-4 vx-mb-3\">\r\n <input type=\"search\" placeholder=\"Search...\" />\r\n <i class=\"icons search vx-fs-14\">&#xe90b;</i>\r\n </div>\r\n <app-cs-checkbox><span class=\"name vx-fw-500\">Select All</span></app-cs-checkbox>\r\n <!-- <app-cs-checkbox-indeterminate *ngIf=\"false\"><span class=\"name vx-fw-500\">Select All</span></app-cs-checkbox-indeterminate> -->\r\n <div class=\"list vx-pr-4 vx-mt-3\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <li class=\"vx-mb-3\" *ngFor=\"let data of [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]\"><app-cs-checkbox><span class=\"name\" [appTooltip]=\"'Select form category name'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">Select form category name</span></app-cs-checkbox></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div *ngIf=\"hideSpecificCategory\" class=\"category-bottom vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4 vx-mt-4\">\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <div class=\"count vx-fs-11 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-pl-1 vx-pr-1\">12</div> <span class=\"vx-fs-12 vx-fw-500 vx-paragraph-txt vx-ml-2\">Form Category selected</span>\r\n </div>\r\n <button class=\"next-btn vx-fs-11 vx-fw-500 vx-txt-white vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center vx-lh-7\">NEXT</button>\r\n </div>\r\n <button *ngIf=\"!hideSpecificCategory\" class=\"form-dialog-btn vx-fs-13 vx-fw-600 vx-tt-uppercase vx-p-0 vx-m-0 vx-mt-4 vx-d-flex vx-align-center vx-justify-center\" [class.disabled]=\"false\">SAVE</button>\r\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .form-dialog{background:#fff;width:31.25rem;height:100vh}::ng-deep .form-dialog-heading{background:#f8f8f8;border-bottom:1px solid #F1F1F1;height:2.75rem}::ng-deep .form-dialog-heading button.close{background:transparent;border:none;border-radius:0}::ng-deep .form-dialog-mid{height:calc(100vh - 7.25rem);overflow:auto}::ng-deep .form-dialog-mid::-webkit-scrollbar-track{background-color:#fff}::ng-deep .form-dialog-mid .from-group{position:relative}::ng-deep .form-dialog-mid .from-group input[type=text]{height:2.5rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem .75rem;line-height:1.25rem;font-size:13px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group input[type=text]:hover,::ng-deep .form-dialog-mid .from-group input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group input[type=text]::placeholder{color:#dbdbdb;opacity:1}::ng-deep .form-dialog-mid .from-group .set-item{border:1px solid #DBDBDB;border-radius:.25rem;width:calc(50% - .25rem);height:2.5rem}::ng-deep .form-dialog-mid .from-group .set-item cs-radio{display:flex;width:100%}::ng-deep .form-dialog-mid .from-group .set-item cs-radio .radio-item{width:100%}::ng-deep .form-dialog-mid .from-group .set-item .specific-radio{cursor:pointer}::ng-deep .form-dialog-mid .from-group .set-item .specific-radio .circle-radio{background:#fff;border:1px solid #DBDBDB;border-radius:50%;height:1rem;width:1rem}::ng-deep .form-dialog-mid .from-group .set-item .after-select .circle-radio{background:#fff;border:5px solid #34aa44;border-radius:50%;height:1rem;width:1rem}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group{width:calc(100% - 1.75rem)}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group .left{width:calc(100% - 3rem)}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group .left .chip{background:#fff;box-shadow:0 1px 4px #1e5dd326;border-radius:.125rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group .left button.count{background:#1e5dd3;border:none;border-radius:.125rem;min-width:1.25rem}::ng-deep .form-dialog-mid .from-group .set-item .after-select .input-group button.edit{background:#34aa44;border:none;border-radius:.125rem}::ng-deep .form-dialog-mid .from-group .choice-item:first-of-type{margin-top:.5rem!important}::ng-deep .form-dialog-mid .from-group .choice-item .number{border-radius:50%;width:1.75rem;height:1.75rem;margin-top:.125rem}::ng-deep .form-dialog-mid .from-group .choice-item .right{width:calc(100% - 2.75rem);position:relative}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]{height:2rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#fff;outline:none;padding:.5rem 2.625rem .5rem .75rem;line-height:1.25rem;font-size:12px;font-weight:400;color:#747576;transition:all .2s ease-in-out;width:100%}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]:hover,::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px #1e5dd345}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode input[type=text]::placeholder{color:#dbdbdb;opacity:1}::ng-deep .form-dialog-mid .from-group .choice-item .right .edit-mode button.set-icon{background:#f8f8f8;border-radius:0 .25rem .25rem 0;border:none;position:absolute;top:1px;right:1px;width:1.875rem;height:1.875rem}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup{background:#fff;border-radius:.25rem;box-shadow:0 3px 6px #1e5dd326;width:100%}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .heading I.info{cursor:pointer}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item app-cs-switch{display:flex;justify-content:start}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item app-cs-switch .cs-switch{width:auto}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .color-box{background:#f1f1f1;border-radius:.125rem;width:1.875rem;height:1.875rem;position:relative}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .color-box input{position:absolute;inset:0;margin:0;width:100%;height:100%;cursor:pointer;opacity:0}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input{border:1px solid #F1F1F1;border-radius:.125rem;height:1.875rem;width:3.75rem}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input input{background:#fff;border:none;border-right:1px solid #F1F1F1;border-radius:0;font-size:12px;font-weight:400;color:#161b2f;padding:0 .5rem;margin:0;width:42px;outline:none}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input .buttons button{background:transparent;border:none;border-radius:0;width:1rem;height:.875rem}::ng-deep .form-dialog-mid .from-group .choice-item .right .set-popup .item .score-input .buttons button.plus-btn{border-bottom:1px solid #F1F1F1}::ng-deep .form-dialog-mid .from-group .choice-item .right .after-set-response{height:2rem;border-radius:.25rem;border:1px solid #DBDBDB;background:#f8f8f8}::ng-deep .form-dialog-mid .from-group .choice-item .right .after-set-response .value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:calc(100% - 5rem)}::ng-deep .form-dialog-mid .from-group .choice-item .right .after-set-response button{background:transparent;border:none;border-radius:0}::ng-deep .form-dialog-mid .from-group button.add-response-btn{background:transparent;border:none;border-radius:0;padding-left:2.75rem!important}::ng-deep .form-dialog .category-mid{height:calc(100vh - 7.5rem)}::ng-deep .form-dialog .category-mid .search-field{position:relative}::ng-deep .form-dialog .category-mid .search-field input{background:#fff;border:1px solid #7475763F;border-radius:.25rem;color:#161b2f;font-size:13px;font-weight:400;padding:.5rem .75rem .5rem 2.25rem;width:100%;height:2.5rem;outline:none}::ng-deep .form-dialog .category-mid .search-field i.search{position:absolute;top:.75rem;left:1.5rem;color:#f1f1f1}::ng-deep .form-dialog .category-mid .list{height:calc(100vh - 13rem);overflow:auto}::ng-deep .form-dialog .category-mid .list::-webkit-scrollbar-track{background-color:#fff}::ng-deep .form-dialog .category-mid .list ul{list-style-type:none}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item{position:relative;padding-left:1.5rem;width:100%}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item .checkbox,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item .checkbox{position:absolute!important;left:0;top:0}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item .checkmark,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item .checkmark{position:absolute!important;left:0;top:0}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item span,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item span{justify-content:unset!important;margin:0!important}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item span.value,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item span.value{color:#747576!important;font-size:11px!important;width:100%}::ng-deep .form-dialog .category-mid app-cs-checkbox .checkbox-item span.value .name,::ng-deep .form-dialog .category-mid app-cs-checkbox-indeterminate .checkbox-item span.value .name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::ng-deep .form-dialog .category-bottom{background:#f8f8f8;border-top:1px solid #F1F1F1;height:2.75rem}::ng-deep .form-dialog .category-bottom .count{background:#34aa44;border-radius:.125rem;min-width:1.25rem;height:1.25rem}::ng-deep .form-dialog .category-bottom button.next-btn{background:#1e5dd3;border-radius:.125rem;border:none;width:4rem}::ng-deep .form-dialog-btn{background:#1e5dd3;border:none;border-radius:0;color:#fff;width:100%;height:3.125rem;letter-spacing:1.3px}::ng-deep .form-dialog-btn.disabled{background:#f1f1f1;color:#747576!important;opacity:1;pointer-events:none}\n"] }]
32
+ }], ctorParameters: function () { return []; } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXJlc3BvbnNlLXNldC1wb3B1cC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL2Fzc2Vzc21lbnQtZWRpdG9yL2NvbXBvbmVudHMvYWRkLXJlc3BvbnNlLXNldC1wb3B1cC9hZGQtcmVzcG9uc2Utc2V0LXBvcHVwLmNvbXBvbmVudC50cyIsIi4uL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tYmx1ZSB2eC1wbC0yIHZ4LXByLTIgdngtbGgtNVwiIFthcHBUb29sdGlwXT1cIidjYXRlZ29yeSB0ZXh0J1wiIHBsYWNlbWVudD1cImJvdHRvbS1sZWZ0XCIgZGVsYXk9XCIwXCIgdHlwZT1cImJsYWNrXCIgW3Rvb2x0aXBNYW5kYXRvcnldPVwiZmFsc2VcIj5jYXRlZ29yeSB0ZXh0PC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImNvdW50IHZ4LWZzLTEwIHZ4LXR4dC13aGl0ZSB2eC1wLTAgdngtcGwtMSB2eC1wci0xIHZ4LW0tMCB2eC1tbC0xIHZ4LWQtZmxleCB2eC1hbGlnbi1jZW50ZXIgdngtanVzdGlmeS1jZW50ZXIgdngtbGgtNVwiIGFwcFBvcG92ZXIgKGNsaWNrKT1cInJlc3BvbnNlQ291bnQucG9wb3ZlcigpXCIgcG9zaXRpb249XCJyaWdodFwiPisxMzwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhcHAtcG9wb3ZlciAjcmVzcG9uc2VDb3VudD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIndmLWFjdGlvbi1saXN0XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwiYWN0aW9uLWl0ZW1cIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaSAqbmdGb3I9XCJsZXQgZGF0YSBvZiBbMSwgMSwgMSwgMSwgMSwgMSwgMV1cIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNoaXAtaXRlbVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ2eC1wYXJhZ3JhcGgtdHh0XCIgW2FwcFRvb2x0aXBdPVwiJ0NhdGVnb3J5IHJlc3BvbnNlIG5hbWUnXCIgcGxhY2VtZW50PVwiYm90dG9tLWxlZnRcIiBkZWxheT1cIjBcIiB0eXBlPVwiYmxhY2tcIiBbdG9vbHRpcE1hbmRhdG9yeV09XCJ0cnVlXCI+Q2F0ZWdvcnkgcmVzcG9uc2UgbmFtZTwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYXBwLXBvcG92ZXI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJlZGl0IHZ4LWZzLTExIHZ4LWZ3LTUwMCB2eC10eHQtd2hpdGUgdngtdHQtdXBwZXJjYXNlIHZ4LXAtMCB2eC1wbC0yIHZ4LXByLTIgdngtbS0wIHZ4LWQtZmxleCB2eC1hbGlnbi1jZW50ZXIgdngtbGgtNVwiPkVESVQ8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImZyb20tZ3JvdXAgdngtbXQtMSB2eC1tYi00XCI+XHJcbiAgICAgICAgICAgIDxsYWJlbCBjbGFzcz1cInZ4LWZzL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Wp1c3RpZnktYmV0d2VlblwiICpuZ0lmPVwiIXNldFJlc3BvbnNlXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaXRlbVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWFkaW5nIHZ4LWZzLTExIHZ4LWZ3LTUwMCB2eC1sYWJlbC10eHQgdngtdHQtdXBwZXJjYXNlIHZ4LW1iLTFcIj5TRVQgQ09MT1I8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sb3ItYm94IHZ4LXAtMSB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyIHZ4LWp1c3RpZnktY2VudGVyXCIgc3R5bGU9XCJjb2xvcjogIzFFNUREMztcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJpY29ucyB2eC1mcy0xOFwiPiYjeGViMDE7PC9pPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT1cImNvbG9yXCIgLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIml0ZW1cIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVhZGluZyB2eC1mcy0xMSB2eC1mdy01MDAgdngtbGFiZWwtdHh0IHZ4LXR0LXVwcGVyY2FzZSB2eC1tYi0xXCI+QUREIFNDT1JFPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInNjb3JlLWlucHV0IHZ4LWQtZmxleFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT1cIm51bWJlclwiIHZhbHVlPVwiMVwiIC8+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJidXR0b25zXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwicGx1cy1idG4gdngtZnMtMTIgdngtZnctNTAwIHZ4LXBhcmFncmFwaC10eHQgdngtcC0wIHZ4LW0tMCB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyIHZ4LWp1c3RpZnktY2VudGVyXCI+KzwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cIm1pbnVzLWJ0biB2eC1mcy0xMiB2eC1mdy01MDAgdngtcGFyYWdyYXBoLXR4dCB2eC1wLTAgdngtbS0wIHZ4LWQtZmxleCB2eC1hbGlnbi1jZW50ZXIgdngtanVzdGlmeS1jZW50ZXJcIj4tPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaXRlbVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWFkaW5nIHZ4LWZzLTExIHZ4LWZ3LTUwMCB2eC1sYWJlbC10eHQgdngtdHQtdXBwZXJjYXNlIHZ4LW1iLTEgdngtZC1mbGV4IHZ4LWFsaWduLWNlbnRlclwiPlNFVCBBUyBBIEZBSUxFRCBSRVNQT05TRSA8aSBjbGFzcz1cImljb25zIGluZm8gdngtZnMtMTIgdngtdHh0LWJsdWUgdngtb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2VudGVyIHZ4LWp1c3RpZnktY2VudGVyIHZ4LXBsLTEgdngtcHItMVwiPjEyPC9kaXY+IDxzcGFuIGNsYXNzPVwidngtZnMtMTIgdngtZnctNTAwIHZ4LXBhcmFncmFwaC10eHQgdngtbWwtMlwiPkZvcm0gQ2F0ZWdvcnkgc2VsZWN0ZWQ8L3NwYW4+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPGJ1dHRvbiBjbGFzcz1cIm5leHQtYnRuIHZ4LWZzLTExIHZ4LWZ3LTUwMCB2eC10eHQtd2hpdGUgdngtcC0wIHZ4LW0tMCB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyIHZ4LWp1c3RpZnktY2VudGVyIHZ4LWxoLTdcIj5ORVhUPC9idXR0b24+XHJcbiAgICA8L2Rpdj5cclxuICAgIDxidXR0b24gKm5nSWY9XCIhaGlkZVNwZWNpZmljQ2F0ZWdvcnlcIiBjbGFzcz1cImZvcm0tZGlhbG9nLWJ0biB2eC1mcy0xMyB2eC1mdy02MDAgdngtdHQtdXBwZXJjYXNlIHZ4LXAtMCB2eC1tLTAgdngtbXQtNCB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyIHZ4LWp1c3RpZnktY2VudGVyXCIgW2NsYXNzLmRpc2FibGVkXT1cImZhbHNlXCI+U0FWRTwvYnV0dG9uPlxyXG48L2Rpdj4iXX0=
@@ -0,0 +1,124 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@vcomply/editor";
5
+ import * as i3 from "@angular/forms";
6
+ export class AddSegmentPopupComponent {
7
+ constructor() {
8
+ this.selectedColor = '#325cd3';
9
+ this.save = new EventEmitter();
10
+ this.closeSegment = new EventEmitter();
11
+ this.segmentCollection = [];
12
+ this.criteria = {
13
+ id: '',
14
+ segmentName: '',
15
+ segmentDescription: '',
16
+ toRange: 0,
17
+ fromRange: 0,
18
+ color: '#000000'
19
+ };
20
+ this.segmentError = [];
21
+ this.description = {
22
+ mode: 'prime',
23
+ placeholder: 'Enter description for this segment',
24
+ };
25
+ }
26
+ ngOnInit() {
27
+ this.criteria = { ...this.criteria };
28
+ // this.segmentCollection = {...this.segmentCollection}
29
+ }
30
+ fromManager(mode) {
31
+ if (mode === '+') {
32
+ this.criteria.fromRange = this.criteria.fromRange + 1;
33
+ }
34
+ else if (mode === '-') {
35
+ if (this.criteria.fromRange > 0) {
36
+ this.criteria.fromRange = this.criteria.fromRange - 1;
37
+ }
38
+ }
39
+ }
40
+ toManager(mode) {
41
+ if (mode === '+') {
42
+ this.criteria.toRange = this.criteria.toRange + 1;
43
+ }
44
+ else if (mode === '-') {
45
+ if (this.criteria.toRange > 0) {
46
+ this.criteria.toRange = this.criteria.toRange - 1;
47
+ }
48
+ }
49
+ }
50
+ saveSegment() {
51
+ if (this.validateSegment()) {
52
+ this.save.emit({ ...this.criteria });
53
+ }
54
+ }
55
+ closeResult() {
56
+ // this.closeSegment.emit();
57
+ }
58
+ validateSegment() {
59
+ let fromRange = this.criteria.fromRange;
60
+ let toRange = this.criteria.toRange;
61
+ this.segmentError = [];
62
+ let status;
63
+ if (fromRange > this.maxRange || toRange > this.maxRange) {
64
+ this.segmentError.push({ type: 'INVALID_RANGE', message: 'Please enter a valid range for this segment.' });
65
+ return false;
66
+ }
67
+ if (this.criteria.segmentName.trim().length === 0) {
68
+ this.segmentError.push({ type: 'NAME_MISSING', message: 'Please enter a name for this segment.' });
69
+ return false;
70
+ }
71
+ else if (fromRange >= toRange) {
72
+ this.segmentError.push({ type: 'RANGE_REVERSE', message: 'Please enter a valid range for this segment.' });
73
+ return false;
74
+ }
75
+ else if (this.segmentCollection.length > 0) {
76
+ status = this.segmentCollection.some((segment) => {
77
+ if (this.mode === 'EDIT') {
78
+ if (segment.id !== this.criteria.id) {
79
+ return ((fromRange >= segment['fromRange'] && fromRange <= segment['toRange']) || (toRange >= segment['fromRange'] && toRange <= segment['toRange']));
80
+ }
81
+ else {
82
+ return false;
83
+ }
84
+ }
85
+ else {
86
+ return ((fromRange >= segment['fromRange'] && fromRange <= segment['toRange']) || (toRange >= segment['fromRange'] && toRange <= segment['toRange']));
87
+ }
88
+ });
89
+ }
90
+ else {
91
+ return true;
92
+ }
93
+ if (status === true) {
94
+ this.segmentError.push({ type: 'INVALID_RANGE', message: 'This score range already exists. Please select different values.' });
95
+ return false;
96
+ }
97
+ else {
98
+ return true;
99
+ }
100
+ }
101
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddSegmentPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
102
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AddSegmentPopupComponent, selector: "app-add-segment-popup", inputs: { top: "top", left: "left", segmentCollection: "segmentCollection", mode: "mode", maxRange: "maxRange", criteria: "criteria" }, outputs: { save: "save", closeSegment: "closeSegment" }, ngImport: i0, template: "<div class=\"add-segment-popup vx-p-5 vx-pb-0\" [class.error]=\"segmentError.length > 0\">\r\n <div class=\"form-item vx-mb-4\">\r\n <div class=\"label vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SEGMENT NAME <span class=\"vx-fs-16 vx-fw-400 vx-txt-red\">*</span></div>\r\n <input type=\"text\" placeholder=\"Enter Segment Name\" [(ngModel)]=\"criteria.segmentName\">\r\n <div class=\"action-color vx-d-flex vx-align-center vx-justify-center\">\r\n <input type=\"color\" [(ngModel)]=\"criteria.color\" [ngModelOptions]=\"{standalone: true}\">\r\n <i class=\"icons vx-fs-24\" [style.color]='criteria.color'>&#xeb01;</i>\r\n </div>\r\n </div>\r\n <div class=\"form-item vx-mb-4\">\r\n <div class=\"label vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SEGMENT DESCRIPTION</div>\r\n <vcomply-editor [editorConfig]=\"description\" [(ngModel)]=\"criteria.segmentDescription\"></vcomply-editor>\r\n </div>\r\n <div class=\"form-item vx-mb-4\">\r\n <div class=\"label vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SET SCORE RANGE <span class=\"vx-fs-16 vx-fw-400 vx-txt-red\">*</span></div>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"score-field vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"name vx-fs-12 vx-paragraph-txt vx-pl-3\">From</div>\r\n <div class=\"input-area vx-d-flex vx-align-center vx-pr-1\">\r\n <button (click)=\"fromManager('-')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">-</button>\r\n <input type=\"number\" [(ngModel)]=\"criteria.fromRange\" type=\"number\">\r\n <button (click)=\"fromManager('+')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n </div>\r\n </div>\r\n <div class=\"score-field vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"name vx-fs-12 vx-paragraph-txt vx-pl-3\">To</div>\r\n <div class=\"input-area vx-d-flex vx-align-center vx-pr-1\">\r\n <button (click)=\"toManager('-')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">-</button>\r\n <input [(ngModel)]=\"criteria.toRange\" type=\"number\">\r\n <button (click)=\"toManager('+')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"segment-popup-bottom vx-d-flex vx-align-center vx-justify-end vx-p-3 vx-pl-5 vx-pr-5\" *ngIf=\"segmentError.length === 0\">\r\n <button (click)=\"saveSegment()\" class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">SAVE</button>\r\n </div>\r\n <div class=\"segment-popup-bottom error vx-d-flex vx-align-center vx-justify-between vx-p-3 vx-pl-5 vx-pr-5\" *ngIf=\"segmentError.length > 0\">\r\n <div class=\"text vx-fs-12 vx-txt-white\">{{segmentError[0].message}}</div>\r\n <button (click)=\"saveSegment()\" class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-red vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">SAVE</button>\r\n </div>\r\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";.add-segment-popup{background:#fff;border-radius:.25rem;border:1px solid transparent;box-shadow:0 10px 20px #1e5dd326}.add-segment-popup.error{border-color:#d93b41}.add-segment-popup .form-item{position:relative}.add-segment-popup .form-item input{background:#fff;border:1px solid #DBDBDB;border-radius:.25rem;color:#747576;font-size:12px;padding:0 .75rem;height:2.25rem;width:100%;outline:none;transition:all .3s ease-in-out}.add-segment-popup .form-item input::placeholder{color:#747576;opacity:1}.add-segment-popup .form-item:hover input{border-color:#1e5dd3;box-shadow:0 3px 6px #1e5dd326}.add-segment-popup .form-item:hover input:hover,.add-segment-popup .form-item:hover input:focus{border-color:#1e5dd3;box-shadow:0 3px 6px #1e5dd326}.add-segment-popup .form-item:hover .score-field .input-area input{box-shadow:none}.add-segment-popup .form-item:hover .score-field .input-area input:hover,.add-segment-popup .form-item:hover .score-field .input-area input:focus{box-shadow:none}.add-segment-popup .form-item .action-color{background:#f1f1f1;border-radius:.125rem;width:1.875rem;height:1.875rem;position:absolute;bottom:.1875rem;right:.1875rem}.add-segment-popup .form-item .action-color input{position:absolute;inset:0;margin:0;width:100%;height:100%;cursor:pointer;opacity:0}.add-segment-popup .form-item vcomply-editor .editor-container .editable-block{font-size:12px;padding:.5rem .75rem}.add-segment-popup .form-item vcomply-editor .editor-container .editable-block:before{color:#747576!important}.add-segment-popup .form-item .score-field{border:1px solid #DBDBDB;border-radius:.25rem;width:calc(50% - .5rem);height:2.25rem}.add-segment-popup .form-item .score-field .input-area button{background:transparent;border:none;border-radius:0;width:1.25rem;height:1.25rem}.add-segment-popup .form-item .score-field .input-area input{-moz-appearance:textfield!important;background:#fff;border:1px solid #F1F1F1;border-radius:.25rem;color:#747576;font-size:13px;text-align:center;width:44px;height:1.5rem;outline:none}.add-segment-popup .form-item .score-field .input-area input:hover,.add-segment-popup .form-item .score-field .input-area input:focus{box-shadow:none}.add-segment-popup .segment-popup-bottom{background:#fbfbfb;border-top:1px solid #F1F1F1;border-radius:0 0 3px 3px;margin:0 0 0 -1.3125rem;width:calc(100% + 2.625rem);position:relative;bottom:-.0625rem}.add-segment-popup .segment-popup-bottom button{border-radius:.125rem;height:1.875rem;width:5rem}.add-segment-popup .segment-popup-bottom button.save-btn{background:#1e5dd3;border:none}.add-segment-popup .segment-popup-bottom.error{background:#d93b41;border-color:#d93b41}.add-segment-popup .segment-popup-bottom.error button.save-btn{background:#fff;border-color:#d93b41}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MarxEditorComponent, selector: "vcomply-editor", inputs: ["editorConfig"], outputs: ["comment", "sendSavedFiles", "popup"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
103
+ }
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddSegmentPopupComponent, decorators: [{
105
+ type: Component,
106
+ args: [{ selector: 'app-add-segment-popup', template: "<div class=\"add-segment-popup vx-p-5 vx-pb-0\" [class.error]=\"segmentError.length > 0\">\r\n <div class=\"form-item vx-mb-4\">\r\n <div class=\"label vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SEGMENT NAME <span class=\"vx-fs-16 vx-fw-400 vx-txt-red\">*</span></div>\r\n <input type=\"text\" placeholder=\"Enter Segment Name\" [(ngModel)]=\"criteria.segmentName\">\r\n <div class=\"action-color vx-d-flex vx-align-center vx-justify-center\">\r\n <input type=\"color\" [(ngModel)]=\"criteria.color\" [ngModelOptions]=\"{standalone: true}\">\r\n <i class=\"icons vx-fs-24\" [style.color]='criteria.color'>&#xeb01;</i>\r\n </div>\r\n </div>\r\n <div class=\"form-item vx-mb-4\">\r\n <div class=\"label vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SEGMENT DESCRIPTION</div>\r\n <vcomply-editor [editorConfig]=\"description\" [(ngModel)]=\"criteria.segmentDescription\"></vcomply-editor>\r\n </div>\r\n <div class=\"form-item vx-mb-4\">\r\n <div class=\"label vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mb-1\">SET SCORE RANGE <span class=\"vx-fs-16 vx-fw-400 vx-txt-red\">*</span></div>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"score-field vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"name vx-fs-12 vx-paragraph-txt vx-pl-3\">From</div>\r\n <div class=\"input-area vx-d-flex vx-align-center vx-pr-1\">\r\n <button (click)=\"fromManager('-')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">-</button>\r\n <input type=\"number\" [(ngModel)]=\"criteria.fromRange\" type=\"number\">\r\n <button (click)=\"fromManager('+')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n </div>\r\n </div>\r\n <div class=\"score-field vx-d-flex vx-align-center vx-justify-between\">\r\n <div class=\"name vx-fs-12 vx-paragraph-txt vx-pl-3\">To</div>\r\n <div class=\"input-area vx-d-flex vx-align-center vx-pr-1\">\r\n <button (click)=\"toManager('-')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">-</button>\r\n <input [(ngModel)]=\"criteria.toRange\" type=\"number\">\r\n <button (click)=\"toManager('+')\" class=\"vx-fs-14 vx-fw-500 vx-paragraph-txt vx-p-0 vx-pl-2 vx-pr-2 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"segment-popup-bottom vx-d-flex vx-align-center vx-justify-end vx-p-3 vx-pl-5 vx-pr-5\" *ngIf=\"segmentError.length === 0\">\r\n <button (click)=\"saveSegment()\" class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">SAVE</button>\r\n </div>\r\n <div class=\"segment-popup-bottom error vx-d-flex vx-align-center vx-justify-between vx-p-3 vx-pl-5 vx-pr-5\" *ngIf=\"segmentError.length > 0\">\r\n <div class=\"text vx-fs-12 vx-txt-white\">{{segmentError[0].message}}</div>\r\n <button (click)=\"saveSegment()\" class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-red vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">SAVE</button>\r\n </div>\r\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";.add-segment-popup{background:#fff;border-radius:.25rem;border:1px solid transparent;box-shadow:0 10px 20px #1e5dd326}.add-segment-popup.error{border-color:#d93b41}.add-segment-popup .form-item{position:relative}.add-segment-popup .form-item input{background:#fff;border:1px solid #DBDBDB;border-radius:.25rem;color:#747576;font-size:12px;padding:0 .75rem;height:2.25rem;width:100%;outline:none;transition:all .3s ease-in-out}.add-segment-popup .form-item input::placeholder{color:#747576;opacity:1}.add-segment-popup .form-item:hover input{border-color:#1e5dd3;box-shadow:0 3px 6px #1e5dd326}.add-segment-popup .form-item:hover input:hover,.add-segment-popup .form-item:hover input:focus{border-color:#1e5dd3;box-shadow:0 3px 6px #1e5dd326}.add-segment-popup .form-item:hover .score-field .input-area input{box-shadow:none}.add-segment-popup .form-item:hover .score-field .input-area input:hover,.add-segment-popup .form-item:hover .score-field .input-area input:focus{box-shadow:none}.add-segment-popup .form-item .action-color{background:#f1f1f1;border-radius:.125rem;width:1.875rem;height:1.875rem;position:absolute;bottom:.1875rem;right:.1875rem}.add-segment-popup .form-item .action-color input{position:absolute;inset:0;margin:0;width:100%;height:100%;cursor:pointer;opacity:0}.add-segment-popup .form-item vcomply-editor .editor-container .editable-block{font-size:12px;padding:.5rem .75rem}.add-segment-popup .form-item vcomply-editor .editor-container .editable-block:before{color:#747576!important}.add-segment-popup .form-item .score-field{border:1px solid #DBDBDB;border-radius:.25rem;width:calc(50% - .5rem);height:2.25rem}.add-segment-popup .form-item .score-field .input-area button{background:transparent;border:none;border-radius:0;width:1.25rem;height:1.25rem}.add-segment-popup .form-item .score-field .input-area input{-moz-appearance:textfield!important;background:#fff;border:1px solid #F1F1F1;border-radius:.25rem;color:#747576;font-size:13px;text-align:center;width:44px;height:1.5rem;outline:none}.add-segment-popup .form-item .score-field .input-area input:hover,.add-segment-popup .form-item .score-field .input-area input:focus{box-shadow:none}.add-segment-popup .segment-popup-bottom{background:#fbfbfb;border-top:1px solid #F1F1F1;border-radius:0 0 3px 3px;margin:0 0 0 -1.3125rem;width:calc(100% + 2.625rem);position:relative;bottom:-.0625rem}.add-segment-popup .segment-popup-bottom button{border-radius:.125rem;height:1.875rem;width:5rem}.add-segment-popup .segment-popup-bottom button.save-btn{background:#1e5dd3;border:none}.add-segment-popup .segment-popup-bottom.error{background:#d93b41;border-color:#d93b41}.add-segment-popup .segment-popup-bottom.error button.save-btn{background:#fff;border-color:#d93b41}\n"] }]
107
+ }], ctorParameters: function () { return []; }, propDecorators: { top: [{
108
+ type: Input
109
+ }], left: [{
110
+ type: Input
111
+ }], save: [{
112
+ type: Output
113
+ }], closeSegment: [{
114
+ type: Output
115
+ }], segmentCollection: [{
116
+ type: Input
117
+ }], mode: [{
118
+ type: Input
119
+ }], maxRange: [{
120
+ type: Input
121
+ }], criteria: [{
122
+ type: Input
123
+ }] } });
124
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXNlZ21lbnQtcG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9hc3Nlc3NtZW50LWVkaXRvci9jb21wb25lbnRzL2FkZC1zZWdtZW50LXBvcHVwL2FkZC1zZWdtZW50LXBvcHVwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3NoYXJlZENvbXBvbmVudHMvYXNzZXNzbWVudC1lZGl0b3IvY29tcG9uZW50cy9hZGQtc2VnbWVudC1wb3B1cC9hZGQtc2VnbWVudC1wb3B1cC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzI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