vc-create-dashboard 2.9.7 → 3.0.0

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 (367) hide show
  1. package/esm2022/lib/configurations.mjs +7 -0
  2. package/esm2022/lib/create-dashboard-container/categories/categories-config.mjs +2 -0
  3. package/esm2022/lib/create-dashboard-container/categories/categories.component.mjs +210 -0
  4. package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +549 -0
  5. package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +2 -0
  6. package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets.module.mjs +45 -0
  7. package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +2 -0
  8. package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +1109 -0
  9. package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +125 -0
  10. package/esm2022/lib/create-dashboard-container/directives/directives.module.mjs +24 -0
  11. package/esm2022/lib/create-dashboard-container/directives/scroll-in-view.directive.mjs +36 -0
  12. package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +152 -0
  13. package/esm2022/lib/create-dashboard-container/frequency/frequency.component.mjs +309 -0
  14. package/esm2022/lib/create-dashboard-container/interfaces/widget-data-model.mjs +2 -0
  15. package/esm2022/lib/create-dashboard-container/pipes/filter.pipe.mjs +30 -0
  16. package/esm2022/lib/create-dashboard-container/pipes/search.pipe.mjs +25 -0
  17. package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +19 -0
  18. package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +145 -0
  19. package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories-config.mjs +2 -0
  20. package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories.component.mjs +195 -0
  21. package/esm2022/lib/create-dashboard-container/services/auth.service.mjs +31 -0
  22. package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +227 -0
  23. package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +160 -0
  24. package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +28 -0
  25. package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +421 -0
  26. package/esm2022/lib/create-dashboard-container/user-list/user-list.config.mjs +2 -0
  27. package/esm2022/lib/create-dashboard.service.mjs +14 -0
  28. package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.mjs +52 -0
  29. package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer-config.mjs +2 -0
  30. package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer.module.mjs +32 -0
  31. package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +7 -0
  32. package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +17 -0
  33. package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +11 -0
  34. package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +96 -0
  35. package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +20 -0
  36. package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +56 -0
  37. package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +17 -0
  38. package/esm2022/lib/ui-kit/floating-bar/floating-bar.component.mjs +57 -0
  39. package/esm2022/lib/ui-kit/floating-bar/floating-bar.module.mjs +32 -0
  40. package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +30 -0
  41. package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +29 -0
  42. package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +34 -0
  43. package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +14 -0
  44. package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +119 -0
  45. package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +39 -0
  46. package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +55 -0
  47. package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +19 -0
  48. package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +24 -0
  49. package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +47 -0
  50. package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +18 -0
  51. package/esm2022/lib/ui-kit/pagination/pagination.component.mjs +130 -0
  52. package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +18 -0
  53. package/esm2022/lib/ui-kit/popover/popover.component.mjs +142 -0
  54. package/esm2022/lib/ui-kit/popover/popover.directive.mjs +93 -0
  55. package/esm2022/lib/ui-kit/popover/popover.module.mjs +21 -0
  56. package/esm2022/lib/ui-kit/popover/popover.service.mjs +23 -0
  57. package/esm2022/lib/ui-kit/select/cs-option/cs-option.component.mjs +41 -0
  58. package/esm2022/lib/ui-kit/select/cs-select/cs-select.component.mjs +105 -0
  59. package/esm2022/lib/ui-kit/select/safe-html.pipe.mjs +21 -0
  60. package/esm2022/lib/ui-kit/select/select.module.mjs +21 -0
  61. package/esm2022/lib/ui-kit/services/cs-select.service.mjs +16 -0
  62. package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +52 -0
  63. package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +18 -0
  64. package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +46 -0
  65. package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +18 -0
  66. package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +23 -0
  67. package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +161 -0
  68. package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +18 -0
  69. package/esm2022/lib/ui-kit/v-loader/loader/loader.component.mjs +23 -0
  70. package/esm2022/lib/ui-kit/v-loader/loader-inline/loader-inline.component.mjs +23 -0
  71. package/esm2022/lib/ui-kit/v-loader/v-loader.module.mjs +19 -0
  72. package/esm2022/public-api.mjs +10 -0
  73. package/esm2022/vc-create-dashboard.mjs +5 -0
  74. package/fesm2022/vc-create-dashboard.mjs +5401 -0
  75. package/fesm2022/vc-create-dashboard.mjs.map +1 -0
  76. package/index.d.ts +5 -0
  77. package/lib/configurations.d.ts +4 -0
  78. package/lib/create-dashboard-container/categories/categories-config.d.ts +18 -0
  79. package/lib/create-dashboard-container/categories/categories.component.d.ts +31 -0
  80. package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +88 -0
  81. package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +9 -0
  82. package/lib/create-dashboard-container/configure-widgets/configure-widgets.module.d.ts +14 -0
  83. package/lib/create-dashboard-container/create-dashboard-config.d.ts +18 -0
  84. package/lib/create-dashboard-container/create-dashboard.component.d.ts +177 -0
  85. package/lib/create-dashboard-container/create-dashboard.module.d.ts +36 -0
  86. package/lib/create-dashboard-container/directives/directives.module.d.ts +8 -0
  87. package/lib/create-dashboard-container/directives/scroll-in-view.directive.d.ts +12 -0
  88. package/lib/create-dashboard-container/form-group/form-group.component.d.ts +47 -0
  89. package/lib/create-dashboard-container/frequency/frequency.component.d.ts +39 -0
  90. package/{src/lib/create-dashboard-container/interfaces/widget-data-model.ts → lib/create-dashboard-container/interfaces/widget-data-model.d.ts} +1 -1
  91. package/lib/create-dashboard-container/pipes/filter.pipe.d.ts +7 -0
  92. package/lib/create-dashboard-container/pipes/search.pipe.d.ts +7 -0
  93. package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +7 -0
  94. package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +27 -0
  95. package/lib/create-dashboard-container/risk-categories/risk-categories-config.d.ts +18 -0
  96. package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +31 -0
  97. package/lib/create-dashboard-container/services/auth.service.d.ts +11 -0
  98. package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +38 -0
  99. package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +45 -0
  100. package/lib/create-dashboard-container/services/pagination.service.d.ts +12 -0
  101. package/lib/create-dashboard-container/user-list/user-list.component.d.ts +88 -0
  102. package/{src/lib/create-dashboard-container/user-list/user-list.config.ts → lib/create-dashboard-container/user-list/user-list.config.d.ts} +6 -6
  103. package/lib/create-dashboard.service.d.ts +6 -0
  104. package/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.d.ts +17 -0
  105. package/lib/ui-kit/dashboard-footer/dashboard-footer-config.d.ts +11 -0
  106. package/lib/ui-kit/dashboard-footer/dashboard-footer.module.d.ts +10 -0
  107. package/lib/ui-kit/dialog/dialog-config.d.ts +6 -0
  108. package/lib/ui-kit/dialog/dialog-injector.d.ts +7 -0
  109. package/lib/ui-kit/dialog/dialog-ref.d.ts +7 -0
  110. package/lib/ui-kit/dialog/dialog.component.d.ts +33 -0
  111. package/lib/ui-kit/dialog/dialog.module.d.ts +9 -0
  112. package/lib/ui-kit/dialog/dialog.service.d.ts +17 -0
  113. package/lib/ui-kit/dialog/insertion.directive.d.ts +8 -0
  114. package/lib/ui-kit/floating-bar/floating-bar.component.d.ts +20 -0
  115. package/lib/ui-kit/floating-bar/floating-bar.module.d.ts +10 -0
  116. package/lib/ui-kit/formgroup/click-outside.directive.d.ts +10 -0
  117. package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +13 -0
  118. package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +15 -0
  119. package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +8 -0
  120. package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +36 -0
  121. package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +15 -0
  122. package/lib/ui-kit/formgroup/formgroup.module.d.ts +17 -0
  123. package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +7 -0
  124. package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +7 -0
  125. package/lib/ui-kit/no-data/no-data.component.d.ts +19 -0
  126. package/lib/ui-kit/no-data/no-data.module.d.ts +8 -0
  127. package/lib/ui-kit/pagination/pagination.component.d.ts +21 -0
  128. package/lib/ui-kit/pagination/pagination.module.d.ts +8 -0
  129. package/lib/ui-kit/popover/popover.component.d.ts +28 -0
  130. package/lib/ui-kit/popover/popover.directive.d.ts +17 -0
  131. package/lib/ui-kit/popover/popover.module.d.ts +9 -0
  132. package/lib/ui-kit/popover/popover.service.d.ts +13 -0
  133. package/lib/ui-kit/select/cs-option/cs-option.component.d.ts +16 -0
  134. package/lib/ui-kit/select/cs-select/cs-select.component.d.ts +32 -0
  135. package/lib/ui-kit/select/safe-html.pipe.d.ts +10 -0
  136. package/lib/ui-kit/select/select.module.d.ts +11 -0
  137. package/lib/ui-kit/services/cs-select.service.d.ts +7 -0
  138. package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +17 -0
  139. package/lib/ui-kit/smiley-dialog/smiley-dialog.module.d.ts +8 -0
  140. package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +17 -0
  141. package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +8 -0
  142. package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +9 -0
  143. package/lib/ui-kit/tooltip/tooltip.directive.d.ts +27 -0
  144. package/lib/ui-kit/tooltip/tooltip.module.d.ts +8 -0
  145. package/lib/ui-kit/v-loader/loader/loader.component.d.ts +11 -0
  146. package/lib/ui-kit/v-loader/loader-inline/loader-inline.component.d.ts +11 -0
  147. package/lib/ui-kit/v-loader/v-loader.module.d.ts +9 -0
  148. package/package.json +25 -11
  149. package/public-api.d.ts +3 -0
  150. package/karma.conf.js +0 -44
  151. package/ng-package.json +0 -7
  152. package/src/lib/categoryList.ts +0 -23
  153. package/src/lib/configurations.ts +0 -8
  154. package/src/lib/create-dashboard-container/categories/categories-config.ts +0 -18
  155. package/src/lib/create-dashboard-container/categories/categories.component.html +0 -84
  156. package/src/lib/create-dashboard-container/categories/categories.component.less +0 -252
  157. package/src/lib/create-dashboard-container/categories/categories.component.spec.ts +0 -43
  158. package/src/lib/create-dashboard-container/categories/categories.component.ts +0 -205
  159. package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.html +0 -70
  160. package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.less +0 -381
  161. package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.spec.ts +0 -48
  162. package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.ts +0 -545
  163. package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.ts +0 -9
  164. package/src/lib/create-dashboard-container/configure-widgets/configure-widgets.module.ts +0 -29
  165. package/src/lib/create-dashboard-container/create-dashboard-config.ts +0 -24
  166. package/src/lib/create-dashboard-container/create-dashboard-mockData.ts +0 -341
  167. package/src/lib/create-dashboard-container/create-dashboard.component.html +0 -1258
  168. package/src/lib/create-dashboard-container/create-dashboard.component.less +0 -1277
  169. package/src/lib/create-dashboard-container/create-dashboard.component.spec.ts +0 -755
  170. package/src/lib/create-dashboard-container/create-dashboard.component.ts +0 -1281
  171. package/src/lib/create-dashboard-container/create-dashboard.module.ts +0 -76
  172. package/src/lib/create-dashboard-container/directives/directives.module.ts +0 -18
  173. package/src/lib/create-dashboard-container/directives/scroll-in-view.directive.ts +0 -28
  174. package/src/lib/create-dashboard-container/form-group/form-group.component.html +0 -287
  175. package/src/lib/create-dashboard-container/form-group/form-group.component.less +0 -450
  176. package/src/lib/create-dashboard-container/form-group/form-group.component.spec.ts +0 -90
  177. package/src/lib/create-dashboard-container/form-group/form-group.component.ts +0 -162
  178. package/src/lib/create-dashboard-container/frequency/frequency.component.html +0 -61
  179. package/src/lib/create-dashboard-container/frequency/frequency.component.less +0 -183
  180. package/src/lib/create-dashboard-container/frequency/frequency.component.spec.ts +0 -120
  181. package/src/lib/create-dashboard-container/frequency/frequency.component.ts +0 -303
  182. package/src/lib/create-dashboard-container/pipes/filter.pipe.ts +0 -25
  183. package/src/lib/create-dashboard-container/pipes/search.pipe.ts +0 -23
  184. package/src/lib/create-dashboard-container/pipes/text-count.pipe.spec.ts +0 -8
  185. package/src/lib/create-dashboard-container/pipes/text-count.pipe.ts +0 -15
  186. package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.html +0 -44
  187. package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.less +0 -181
  188. package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.spec.ts +0 -41
  189. package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.ts +0 -136
  190. package/src/lib/create-dashboard-container/risk-categories/risk-categories-config.ts +0 -18
  191. package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.html +0 -83
  192. package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.less +0 -230
  193. package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.spec.ts +0 -39
  194. package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.ts +0 -191
  195. package/src/lib/create-dashboard-container/services/auth.service.ts +0 -27
  196. package/src/lib/create-dashboard-container/services/configure-widgets.service.spec.ts +0 -19
  197. package/src/lib/create-dashboard-container/services/configure-widgets.service.ts +0 -228
  198. package/src/lib/create-dashboard-container/services/create-dashboard.service.spec.ts +0 -19
  199. package/src/lib/create-dashboard-container/services/create-dashboard.service.ts +0 -139
  200. package/src/lib/create-dashboard-container/services/pagination.service.spec.ts +0 -16
  201. package/src/lib/create-dashboard-container/services/pagination.service.ts +0 -25
  202. package/src/lib/create-dashboard-container/user-list/user-list.component.html +0 -146
  203. package/src/lib/create-dashboard-container/user-list/user-list.component.less +0 -451
  204. package/src/lib/create-dashboard-container/user-list/user-list.component.spec.ts +0 -153
  205. package/src/lib/create-dashboard-container/user-list/user-list.component.ts +0 -433
  206. package/src/lib/create-dashboard.service.ts +0 -8
  207. package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.html +0 -22
  208. package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.less +0 -218
  209. package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.ts +0 -30
  210. package/src/lib/ui-kit/action-dialog/action-dialog.module.ts +0 -53
  211. package/src/lib/ui-kit/action-dialog/active/active.component.html +0 -1
  212. package/src/lib/ui-kit/action-dialog/active/active.component.less +0 -0
  213. package/src/lib/ui-kit/action-dialog/active/active.component.ts +0 -12
  214. package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.html +0 -18
  215. package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.less +0 -98
  216. package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.ts +0 -18
  217. package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.html +0 -20
  218. package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.less +0 -325
  219. package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.ts +0 -26
  220. package/src/lib/ui-kit/action-dialog/delete/delete.component.html +0 -24
  221. package/src/lib/ui-kit/action-dialog/delete/delete.component.less +0 -240
  222. package/src/lib/ui-kit/action-dialog/delete/delete.component.ts +0 -22
  223. package/src/lib/ui-kit/action-dialog/error/error.component.html +0 -20
  224. package/src/lib/ui-kit/action-dialog/error/error.component.less +0 -103
  225. package/src/lib/ui-kit/action-dialog/error/error.component.ts +0 -18
  226. package/src/lib/ui-kit/action-dialog/inactive/inactive.component.html +0 -23
  227. package/src/lib/ui-kit/action-dialog/inactive/inactive.component.less +0 -167
  228. package/src/lib/ui-kit/action-dialog/inactive/inactive.component.ts +0 -12
  229. package/src/lib/ui-kit/action-dialog/link/link.component.html +0 -57
  230. package/src/lib/ui-kit/action-dialog/link/link.component.less +0 -222
  231. package/src/lib/ui-kit/action-dialog/link/link.component.ts +0 -18
  232. package/src/lib/ui-kit/action-dialog/move/move.component.html +0 -43
  233. package/src/lib/ui-kit/action-dialog/move/move.component.less +0 -157
  234. package/src/lib/ui-kit/action-dialog/move/move.component.ts +0 -25
  235. package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.html +0 -19
  236. package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.less +0 -97
  237. package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.ts +0 -18
  238. package/src/lib/ui-kit/action-dialog/upload/upload.component.html +0 -19
  239. package/src/lib/ui-kit/action-dialog/upload/upload.component.less +0 -97
  240. package/src/lib/ui-kit/action-dialog/upload/upload.component.ts +0 -12
  241. package/src/lib/ui-kit/chart/bar/bar.component.html +0 -28
  242. package/src/lib/ui-kit/chart/bar/bar.component.less +0 -13
  243. package/src/lib/ui-kit/chart/bar/bar.component.ts +0 -44
  244. package/src/lib/ui-kit/chart/chart.module.ts +0 -12
  245. package/src/lib/ui-kit/chart/pipes/segmenter.pipe.ts +0 -28
  246. package/src/lib/ui-kit/chart/pipes/x-calculator.pipe.ts +0 -22
  247. package/src/lib/ui-kit/circle-progresss/circle/circle.component.html +0 -37
  248. package/src/lib/ui-kit/circle-progresss/circle/circle.component.less +0 -1448
  249. package/src/lib/ui-kit/circle-progresss/circle/circle.component.ts +0 -19
  250. package/src/lib/ui-kit/circle-progresss/circle-progresss.module.ts +0 -10
  251. package/src/lib/ui-kit/click-outside/click-outside.directive.ts +0 -16
  252. package/src/lib/ui-kit/click-outside/click-outside.module.ts +0 -16
  253. package/src/lib/ui-kit/color-palette/color-palette.component.html +0 -110
  254. package/src/lib/ui-kit/color-palette/color-palette.component.less +0 -54
  255. package/src/lib/ui-kit/color-palette/color-palette.component.ts +0 -28
  256. package/src/lib/ui-kit/color-palette/color-palette.module.ts +0 -10
  257. package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.html +0 -37
  258. package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.less +0 -335
  259. package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.spec.ts +0 -25
  260. package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.ts +0 -44
  261. package/src/lib/ui-kit/dashboard-footer/dashboard-footer-config.ts +0 -11
  262. package/src/lib/ui-kit/dashboard-footer/dashboard-footer.module.ts +0 -22
  263. package/src/lib/ui-kit/dialog/dialog-config.ts +0 -6
  264. package/src/lib/ui-kit/dialog/dialog-injector.ts +0 -18
  265. package/src/lib/ui-kit/dialog/dialog-ref.ts +0 -12
  266. package/src/lib/ui-kit/dialog/dialog.component.css +0 -89
  267. package/src/lib/ui-kit/dialog/dialog.component.html +0 -27
  268. package/src/lib/ui-kit/dialog/dialog.component.ts +0 -96
  269. package/src/lib/ui-kit/dialog/dialog.module.ts +0 -11
  270. package/src/lib/ui-kit/dialog/dialog.service.ts +0 -57
  271. package/src/lib/ui-kit/dialog/insertion.directive.ts +0 -8
  272. package/src/lib/ui-kit/floating-bar/floating-bar.component.html +0 -42
  273. package/src/lib/ui-kit/floating-bar/floating-bar.component.less +0 -355
  274. package/src/lib/ui-kit/floating-bar/floating-bar.component.spec.ts +0 -25
  275. package/src/lib/ui-kit/floating-bar/floating-bar.component.ts +0 -40
  276. package/src/lib/ui-kit/floating-bar/floating-bar.module.ts +0 -22
  277. package/src/lib/ui-kit/formgroup/click-outside.directive.ts +0 -16
  278. package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.html +0 -11
  279. package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.less +0 -102
  280. package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.ts +0 -19
  281. package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.html +0 -11
  282. package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.less +0 -125
  283. package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.ts +0 -21
  284. package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.html +0 -4
  285. package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.less +0 -0
  286. package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.ts +0 -12
  287. package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.html +0 -78
  288. package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.less +0 -259
  289. package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.ts +0 -92
  290. package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.html +0 -30
  291. package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.less +0 -103
  292. package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.ts +0 -23
  293. package/src/lib/ui-kit/formgroup/formgroup.module.ts +0 -35
  294. package/src/lib/ui-kit/formgroup/pipes/pascal.pipe.ts +0 -13
  295. package/src/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.ts +0 -18
  296. package/src/lib/ui-kit/line-loader/line-loader.component.html +0 -3
  297. package/src/lib/ui-kit/line-loader/line-loader.component.less +0 -34
  298. package/src/lib/ui-kit/line-loader/line-loader.component.ts +0 -14
  299. package/src/lib/ui-kit/line-loader/line-loader.module.ts +0 -10
  300. package/src/lib/ui-kit/longpress/longpress.directive.ts +0 -28
  301. package/src/lib/ui-kit/longpress/longpress.module.ts +0 -10
  302. package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.html +0 -51
  303. package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.less +0 -365
  304. package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.spec.ts +0 -24
  305. package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.ts +0 -139
  306. package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.html +0 -9
  307. package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.less +0 -105
  308. package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.spec.ts +0 -27
  309. package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.ts +0 -24
  310. package/src/lib/ui-kit/multi-select/multi-select.module.ts +0 -24
  311. package/src/lib/ui-kit/multi-select/multi-select.service.ts +0 -10
  312. package/src/lib/ui-kit/no-data/no-data.component.html +0 -14
  313. package/src/lib/ui-kit/no-data/no-data.component.less +0 -87
  314. package/src/lib/ui-kit/no-data/no-data.component.ts +0 -26
  315. package/src/lib/ui-kit/no-data/no-data.module.ts +0 -10
  316. package/src/lib/ui-kit/pagination/pagination.component.html +0 -11
  317. package/src/lib/ui-kit/pagination/pagination.component.less +0 -72
  318. package/src/lib/ui-kit/pagination/pagination.component.spec.ts +0 -25
  319. package/src/lib/ui-kit/pagination/pagination.component.ts +0 -138
  320. package/src/lib/ui-kit/pagination/pagination.module.ts +0 -10
  321. package/src/lib/ui-kit/pipes/pipes.module.ts +0 -10
  322. package/src/lib/ui-kit/pipes/safeHTML.pipe.ts +0 -12
  323. package/src/lib/ui-kit/pipes/trim.pipe.ts +0 -10
  324. package/src/lib/ui-kit/popover/popover.component.html +0 -6
  325. package/src/lib/ui-kit/popover/popover.component.less +0 -20
  326. package/src/lib/ui-kit/popover/popover.component.ts +0 -124
  327. package/src/lib/ui-kit/popover/popover.directive.ts +0 -72
  328. package/src/lib/ui-kit/popover/popover.module.ts +0 -13
  329. package/src/lib/ui-kit/popover/popover.service.ts +0 -17
  330. package/src/lib/ui-kit/ripple/ripple.directive.ts +0 -33
  331. package/src/lib/ui-kit/ripple/ripple.module.ts +0 -10
  332. package/src/lib/ui-kit/select/cs-option/cs-option.component.html +0 -8
  333. package/src/lib/ui-kit/select/cs-option/cs-option.component.less +0 -49
  334. package/src/lib/ui-kit/select/cs-option/cs-option.component.ts +0 -31
  335. package/src/lib/ui-kit/select/cs-select/cs-select.component.html +0 -16
  336. package/src/lib/ui-kit/select/cs-select/cs-select.component.less +0 -142
  337. package/src/lib/ui-kit/select/cs-select/cs-select.component.ts +0 -96
  338. package/src/lib/ui-kit/select/safe-html.pipe.ts +0 -13
  339. package/src/lib/ui-kit/select/select.module.ts +0 -13
  340. package/src/lib/ui-kit/services/cs-select.service.ts +0 -10
  341. package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.html +0 -30
  342. package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.less +0 -442
  343. package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.ts +0 -40
  344. package/src/lib/ui-kit/smiley-dialog/smiley-dialog.module.ts +0 -11
  345. package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.html +0 -10
  346. package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.less +0 -110
  347. package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.ts +0 -42
  348. package/src/lib/ui-kit/snack-bar/snack-bar.module.ts +0 -10
  349. package/src/lib/ui-kit/snack-bar/snack-bar.service.ts +0 -18
  350. package/src/lib/ui-kit/time-filter/time-filter.component.html +0 -84
  351. package/src/lib/ui-kit/time-filter/time-filter.component.less +0 -481
  352. package/src/lib/ui-kit/time-filter/time-filter.component.ts +0 -284
  353. package/src/lib/ui-kit/time-filter/time-filter.module.ts +0 -10
  354. package/src/lib/ui-kit/tooltip/tooltip.directive.ts +0 -127
  355. package/src/lib/ui-kit/tooltip/tooltip.module.ts +0 -10
  356. package/src/lib/ui-kit/v-loader/loader/loader.component.html +0 -6
  357. package/src/lib/ui-kit/v-loader/loader/loader.component.less +0 -52
  358. package/src/lib/ui-kit/v-loader/loader/loader.component.ts +0 -22
  359. package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.html +0 -6
  360. package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.less +0 -52
  361. package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.ts +0 -22
  362. package/src/lib/ui-kit/v-loader/v-loader.module.ts +0 -11
  363. package/src/public-api.ts +0 -11
  364. package/src/test.ts +0 -28
  365. package/tsconfig.lib.json +0 -20
  366. package/tsconfig.lib.prod.json +0 -10
  367. package/tsconfig.spec.json +0 -17
@@ -1,1258 +0,0 @@
1
- <app-snack-bar></app-snack-bar>
2
- <div class="create-dashboard" *ngIf="!openConfigureWidgets">
3
- <div
4
- class="create-dashboard-container vx-d-flex vx-justify-end"
5
- [class.animate-slideInRight]="animation"
6
- >
7
- <div
8
- class="more-option"
9
- *ngIf="activeSelector && activeSelector !== 'name'"
10
- >
11
- <app-user-list
12
- *ngIf="activeSelector === 'whoCanView'"
13
- (saveSelectedUsers)="saveSelectedList('whoCanView', $event)"
14
- (closeUserList)="activateSelector('', false)"
15
- [totalPages]="totalPages"
16
- [totalList]="totalList"
17
- [listDetails]="listDetails"
18
- [totalgroupscount]="totalgroups"
19
- [feature]="feature"
20
- ></app-user-list>
21
- <app-responsibility-center
22
- *ngIf="activeSelector === 'rcList'"
23
- [responsibilityCentersList]="responsibilityCentersList"
24
- [radioSelection]="false"
25
- [selectedResponsibilityCenters]="
26
- dashboardForm.selectedResponsibilityCenters
27
- "
28
- [rcIdKey]="'item_id'"
29
- (saveSelectedList)="saveSelectedList('rc', $event)"
30
- (closeRcList)="activateSelector('', false)"
31
- >
32
- </app-responsibility-center>
33
- <app-categories
34
- *ngIf="activeSelector === 'responsibilityCategories'"
35
- [categoryList]="responsibilityCategoriesTree"
36
- [allCategories]="allComplianceCategories"
37
- [categoryIdKey]="'category_id'"
38
- [selectedCategories]="dashboardForm.selectedResponsibilityCategories"
39
- (saveSelectedCategory)="
40
- saveSelectedList('responsibilityCategories', $event)
41
- "
42
- (closeCategoriesList)="activateSelector('', false)"
43
- ></app-categories>
44
- <app-risk-categories
45
- *ngIf="activeSelector === 'riskCategories'"
46
- [categoryList]="riskCategoryList"
47
- [allCategories]="allRiskCategories"
48
- [categoryIdKey]="'category_id'"
49
- [selectedCategories]="dashboardForm.selectedRiskCategories"
50
- (saveSelectedCategory)="saveSelectedList('riskCategory', $event)"
51
- (closeCategoriesList)="activateSelector('', false)"
52
- ></app-risk-categories>
53
-
54
- <app-frequency
55
- *ngIf="activeSelector === 'frequency'"
56
- (closeFrequencyPopup)="activateSelector('', false)"
57
- (saveFrequency)="saveFrequency($event)"
58
- [savedFrequencyTab]="dashboardForm.selectedFrequencyType"
59
- [selectedDate]="dashboardForm.frequencyDate"
60
- [savedFrequencies]="dashboardForm.selectedFrequencies"
61
- >
62
- </app-frequency>
63
- </div>
64
- <div
65
- class="vx-dialog-container side-dialog"
66
- [class.tablet-width]="activeSelector && activeSelector !== 'name'"
67
- >
68
- <app-loader-inline *ngIf="vLoader"></app-loader-inline>
69
-
70
- <div class="form-group" [class.disabled]="disabled">
71
- <div
72
- class="vx-dialog-body-container"
73
- (scroll)="animateImage()"
74
- [class.hidden-scroll]="popoverService.stopScroll"
75
- >
76
- <!-- Dashboard Name -->
77
- <div
78
- class="form-group-row"
79
- [class.disabled]="activeSelector && activeSelector !== 'name'"
80
- >
81
- <div class="image">
82
- <img
83
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/what.svg"
84
- *ngIf="
85
- !dashboardForm.dashboardName || activeSelector === 'name'
86
- "
87
- alt=""
88
- />
89
- <svg
90
- class="checkIcon"
91
- *ngIf="dashboardForm.dashboardName && activeSelector !== 'name'"
92
- xmlns="http://www.w3.org/2000/svg"
93
- viewBox="0 0 52 52"
94
- >
95
- <circle
96
- class="checkIcon__circle"
97
- cx="26"
98
- cy="26"
99
- r="25"
100
- fill="none"
101
- />
102
- <path
103
- class="checkIcon__check"
104
- fill="none"
105
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
106
- />
107
- </svg>
108
- </div>
109
- <div class="form">
110
- <div class="vx-form-group vx-d-block vx-mb-4">
111
- <label
112
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
113
- >Dashboard Name
114
- <span class="require vx-txt-red vx-fs-16 vx-fw-400"
115
- >*</span
116
- ></label
117
- >
118
- <div class="vx-input-group">
119
- <input
120
- class="textField"
121
- placeholder="Add dashboard name (Max limit: 30 characters)."
122
- [(ngModel)]="dashboardForm.dashboardName"
123
- (keydown)="activeSelector = 'name'"
124
- (focusin)="activateSelector('name', true)"
125
- (focusout)="activateSelector('name', false)"
126
- />
127
-
128
- <span
129
- class="counter"
130
- *ngIf="dashboardForm?.dashboardName?.length > 0"
131
- >{{ 30 - dashboardForm.dashboardName.length }}</span
132
- >
133
- </div>
134
-
135
- <p
136
- class="vx-txt-error"
137
- [appScrollInView]="true"
138
- *ngIf="
139
- submitted &&
140
- (dashboardForm?.dashboardName?.length > 30 ||
141
- !dashboardForm?.dashboardName)
142
- "
143
- >
144
- {{
145
- dashboardForm.dashboardName.length > 30
146
- ? "You have exceeded the maximum character limit of 30 characters."
147
- : "Please enter a name for this Dashboard."
148
- }}
149
- </p>
150
-
151
- <div class="vx-input-group vx-mt-2">
152
- <vcomply-editor
153
- [editorConfig]="dashboardDescription"
154
- [(ngModel)]="dashboardForm.dashboardDescriptionText"
155
- ></vcomply-editor>
156
- <span
157
- class="counter"
158
- *ngIf="dashboardForm?.dashboardDescriptionText?.length > 0"
159
- >{{
160
- 250 -
161
- (dashboardForm?.dashboardDescriptionText | textCount)
162
- }}</span
163
- >
164
- </div>
165
-
166
- <p
167
- class="vx-txt-error"
168
- [appScrollInView]="true"
169
- *ngIf="
170
- submitted &&
171
- (dashboardForm?.dashboardDescriptionText | textCount) > 250
172
- "
173
- >
174
- You have exceeded the maximum character limit of 250
175
- characters.
176
- </p>
177
- </div>
178
- </div>
179
- </div>
180
-
181
- <!-- Who -->
182
- <div
183
- class="form-group-row"
184
- [class.active]="activeSelector === 'whoCanView'"
185
- [class.disabled]="
186
- activeSelector &&
187
- activeSelector !== 'whoCanView' &&
188
- activeSelector !== 'name'
189
- "
190
- >
191
- <div class="image">
192
- <img
193
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/who.svg"
194
- *ngIf="
195
- dashboardForm?.selectedViewers?.length == 0 ||
196
- activeSelector === 'whoCanView'
197
- "
198
- alt=""
199
- />
200
- <svg
201
- class="checkIcon"
202
- *ngIf="
203
- dashboardForm?.selectedViewers?.length > 0 &&
204
- activeSelector !== 'whoCanView'
205
- "
206
- xmlns="http://www.w3.org/2000/svg"
207
- viewBox="0 0 52 52"
208
- >
209
- <circle
210
- class="checkIcon__circle"
211
- cx="26"
212
- cy="26"
213
- r="25"
214
- fill="none"
215
- />
216
- <path
217
- class="checkIcon__check"
218
- fill="none"
219
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
220
- />
221
- </svg>
222
- </div>
223
- <div class="form">
224
- <div class="vx-form-group vx-d-block vx-mb-4">
225
- <label
226
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
227
- >Who can view this dashboard?<span
228
- class="require vx-txt-red vx-fs-16 vx-fw-400"
229
- >*</span
230
- ></label
231
- >
232
- <div
233
- *ngIf="dashboardForm?.selectedViewers?.length == 0"
234
- class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
235
- (click)="activateSelector('whoCanView', true)"
236
- >
237
- <div
238
- class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4"
239
- >
240
- Who can view this dashboard?
241
- </div>
242
- </div>
243
-
244
- <div
245
- *ngIf="dashboardForm?.selectedViewers?.length > 0"
246
- class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between"
247
- >
248
- <ng-container *ngIf="!groupsEnabled" id="onlyuserslist">
249
- <div
250
- class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2"
251
- *ngFor="
252
- let user of dashboardForm?.selectedViewers?.slice(0, 1)
253
- "
254
- >
255
- <i
256
- class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1"
257
- *ngIf="
258
- !listDetails.nonRemovableUsersList.includes(
259
- user.member_id
260
- )
261
- "
262
- (click)="remove('whoCanView', user)"
263
- >&#xe9ae;</i
264
- >
265
- <span
266
- class="chipName vx-fs-11 vx-label-txt"
267
- [arTooltip]="user.member_name"
268
- placement="bottom-left"
269
- delay="0"
270
- type="black"
271
- [tooltipMandatory]="false"
272
- >{{ user.member_name }}</span
273
- >
274
- <button
275
- *ngIf="
276
- dashboardForm?.selectedViewers?.length > 1 &&
277
- !groupsEnabled
278
- "
279
- class="countBtn greenBg vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
280
- appPopover
281
- (click)="userList.popover()"
282
- placement="left"
283
- >
284
- +{{ dashboardForm?.selectedViewers?.slice(1).length }}
285
- </button>
286
- </div>
287
- <app-popover #userList [dontCloseonClick]="true">
288
- <div class="action-list">
289
- <ul class="action-item">
290
- <li
291
- *ngFor="
292
- let user of dashboardForm?.selectedViewers
293
- | slice : 1;
294
- let j = index
295
- "
296
- >
297
- <div class="avatar-card">
298
- <span
299
- class="value"
300
- [arTooltip]="user?.member_name"
301
- placement="bottom-left"
302
- delay="0"
303
- type="black"
304
- [tooltipMandatory]="false"
305
- >
306
- <i
307
- class="icons cross-icon"
308
- *ngIf="
309
- !listDetails.nonRemovableUsersList.includes(
310
- user.member_id
311
- ) && !groupsEnabled
312
- "
313
- (click)="remove('whoCanView', user)"
314
- >&#xe90d;</i
315
- >
316
- {{ user?.member_name }}
317
- </span>
318
- </div>
319
- </li>
320
- </ul>
321
- </div>
322
- </app-popover>
323
- </ng-container>
324
-
325
- <div *ngIf="groupsEnabled" class="vx-d-flex vx-align-center">
326
- <div
327
- class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2"
328
- >
329
- <span class="chipName vx-fs-11 vx-label-txt"
330
- >USER(S)</span
331
- >
332
- <button
333
- class="countBtn greenBg vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
334
- appPopover
335
- (click)="userCount.popover()"
336
- placement="left"
337
- >
338
- {{ dashboardForm?.selectedViewers?.length }}
339
- </button>
340
- </div>
341
- <span
342
- class="vx-fs-12 vx-paragraph-txt vx-ml-2 vx-mr-2"
343
- *ngIf="
344
- dashboardForm?.selectedGroup?.length &&
345
- dashboardForm?.selectedViewers?.length
346
- "
347
- >&</span
348
- >
349
- <div
350
- *ngIf="dashboardForm?.selectedGroup?.length"
351
- id="usersandgroups"
352
- class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2"
353
- >
354
- <span class="chipName vx-fs-11 vx-label-txt"
355
- >USER GROUP(S)</span
356
- >
357
- <button
358
- class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
359
- appPopover
360
- (click)="groupCount.popover()"
361
- placement="right"
362
- >
363
- {{ dashboardForm?.selectedGroup?.length }}
364
- </button>
365
- </div>
366
-
367
- <app-popover #userCount [dontCloseonClick]="true">
368
- <div class="action-list">
369
- <ul class="action-item">
370
- <li
371
- *ngFor="let data of dashboardForm?.selectedViewers"
372
- >
373
- <div class="avatar-card">
374
- <span
375
- class="value"
376
- [arTooltip]="data.member_name"
377
- placement="bottom-left"
378
- delay="0"
379
- type="black"
380
- [tooltipMandatory]="false"
381
- >
382
- <i
383
- class="icons cross-icon"
384
- *ngIf="
385
- !listDetails.nonRemovableUsersList.includes(
386
- data.member_id
387
- )
388
- "
389
- (click)="remove('whoCanView', data)"
390
- >&#xe90d;</i
391
- >
392
- {{ data.member_name }}
393
- </span>
394
- </div>
395
- </li>
396
- </ul>
397
- </div>
398
- </app-popover>
399
-
400
- <app-popover #groupCount [dontCloseonClick]="true">
401
- <div class="action-list">
402
- <ul class="action-item">
403
- <li *ngFor="let data of dashboardForm?.selectedGroup">
404
- <div class="avatar-card">
405
- <span
406
- class="value"
407
- [arTooltip]="data.group_name"
408
- placement="bottom-left"
409
- delay="0"
410
- type="black"
411
- [tooltipMandatory]="false"
412
- >
413
- <i
414
- class="icons cross-icon"
415
- (click)="remove('whoCanViewGroup', data)"
416
- >&#xe90d;</i
417
- >
418
- {{ data.group_name }}
419
- </span>
420
- </div>
421
- </li>
422
- </ul>
423
- </div>
424
- </app-popover>
425
- </div>
426
-
427
- <button
428
- *ngIf="activeSelector !== 'whoCanView'"
429
- class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
430
- (click)="activateSelector('whoCanView', true)"
431
- >
432
- <i class="icons vx-mr-1">&#xe90c;</i> EDIT
433
- </button>
434
- </div>
435
- </div>
436
- </div>
437
- </div>
438
-
439
- <!-- Responsibility Center -->
440
- <div
441
- class="form-group-row"
442
- [class.active]="activeSelector === 'rcList'"
443
- [class.disabled]="
444
- activeSelector &&
445
- activeSelector !== 'rcList' &&
446
- activeSelector !== 'name'
447
- "
448
- >
449
- <div class="image">
450
- <img
451
- *ngIf="
452
- dashboardForm?.selectedResponsibilityCenters?.length == 0 ||
453
- activeSelector === 'rcList'
454
- "
455
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/responsibility-center.svg"
456
- alt=""
457
- />
458
- <svg
459
- *ngIf="
460
- dashboardForm?.selectedResponsibilityCenters?.length > 0 &&
461
- activeSelector !== 'rcList'
462
- "
463
- class="checkIcon"
464
- xmlns="http://www.w3.org/2000/svg"
465
- viewBox="0 0 52 52"
466
- >
467
- <circle
468
- class="checkIcon__circle"
469
- cx="26"
470
- cy="26"
471
- r="25"
472
- fill="none"
473
- />
474
- <path
475
- class="checkIcon__check"
476
- fill="none"
477
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
478
- />
479
- </svg>
480
- </div>
481
- <div class="form">
482
- <div class="vx-form-group vx-d-block vx-mb-4">
483
- <label
484
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
485
- >RESPONSIBILITY CENTER(S)</label
486
- >
487
- <div
488
- *ngIf="
489
- dashboardForm?.selectedResponsibilityCenters?.length == 0
490
- "
491
- class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
492
- (click)="activateSelector('rcList', true)"
493
- [class.error]="
494
- submitted &&
495
- dashboardForm?.selectedResponsibilityCenters?.length == 0 &&
496
- dashboardForm?.selectedResponsibilityCategories?.length ==
497
- 0 &&
498
- dashboardForm?.selectedRiskCategories?.length == 0
499
- "
500
- >
501
- <div
502
- class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4"
503
- >
504
- Select the Responsibility Center(s) that you would like<br />displayed
505
- in the Dashboard, if any.
506
- </div>
507
- </div>
508
-
509
- <div
510
- *ngIf="
511
- dashboardForm?.selectedResponsibilityCenters?.length > 0
512
- "
513
- class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between"
514
- >
515
- <div
516
- class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2"
517
- *ngFor="
518
- let rc of dashboardForm?.selectedResponsibilityCenters?.slice(
519
- 0,
520
- 1
521
- )
522
- "
523
- >
524
- <i
525
- class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1"
526
- (click)="remove('rc', rc)"
527
- >&#xe9ae;</i
528
- >
529
- <span
530
- class="chipName vx-fs-11 vx-label-txt"
531
- [arTooltip]="rc.item_name"
532
- placement="bottom-left"
533
- delay="0"
534
- type="black"
535
- [tooltipMandatory]="false"
536
- >{{ rc.item_name }}</span
537
- >
538
- <button
539
- *ngIf="
540
- dashboardForm?.selectedResponsibilityCenters?.length > 1
541
- "
542
- class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
543
- appPopover
544
- (click)="rcList.popover()"
545
- placement="left"
546
- >
547
- +{{
548
- dashboardForm?.selectedResponsibilityCenters?.slice(1)
549
- .length
550
- }}
551
- </button>
552
-
553
- <app-popover #rcList [dontCloseonClick]="true">
554
- <div class="action-list">
555
- <ul class="action-item">
556
- <li
557
- *ngFor="
558
- let rc of dashboardForm?.selectedResponsibilityCenters
559
- | slice : 1;
560
- let j = index
561
- "
562
- >
563
- <div class="avatar-card">
564
- <span
565
- class="value"
566
- [arTooltip]="rc?.item_name"
567
- placement="bottom-left"
568
- delay="0"
569
- type="black"
570
- [tooltipMandatory]="false"
571
- >
572
- <i
573
- class="icons cross-icon"
574
- (click)="remove('rc', rc)"
575
- >&#xe90d;</i
576
- >
577
- {{ rc?.item_name }}
578
- </span>
579
- </div>
580
- </li>
581
- </ul>
582
- </div>
583
- </app-popover>
584
- </div>
585
-
586
- <button
587
- *ngIf="activeSelector !== 'rcList'"
588
- class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
589
- (click)="activateSelector('rcList', true)"
590
- >
591
- <i class="icons vx-mr-1">&#xe90c;</i> EDIT
592
- </button>
593
- </div>
594
- </div>
595
- </div>
596
- </div>
597
-
598
- <!-- Program -->
599
- <div
600
- class="form-group-row"
601
- [class.active]="activeSelector === 'responsibilityCategories'"
602
- [class.disabled]="
603
- activeSelector &&
604
- activeSelector !== 'responsibilityCategories' &&
605
- activeSelector !== 'name'
606
- "
607
- >
608
- <div class="image">
609
- <img
610
- *ngIf="
611
- dashboardForm?.selectedResponsibilityCategories?.length ==
612
- 0 || activeSelector === 'responsibilityCategories'
613
- "
614
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/category.svg"
615
- alt=""
616
- />
617
- <svg
618
- *ngIf="
619
- dashboardForm?.selectedResponsibilityCategories?.length > 0 &&
620
- activeSelector !== 'responsibilityCategories'
621
- "
622
- class="checkIcon"
623
- xmlns="http://www.w3.org/2000/svg"
624
- viewBox="0 0 52 52"
625
- >
626
- <circle
627
- class="checkIcon__circle"
628
- cx="26"
629
- cy="26"
630
- r="25"
631
- fill="none"
632
- />
633
- <path
634
- class="checkIcon__check"
635
- fill="none"
636
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
637
- />
638
- </svg>
639
- </div>
640
- <div class="form">
641
- <div class="vx-form-group vx-d-block vx-mb-4">
642
- <label
643
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
644
- >PROGRAM</label
645
- >
646
- <div
647
- *ngIf="
648
- dashboardForm?.selectedResponsibilityCategories?.length == 0
649
- "
650
- class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
651
- (click)="activateSelector('responsibilityCategories', true)"
652
- [class.error]="
653
- submitted &&
654
- dashboardForm?.selectedResponsibilityCenters?.length == 0 &&
655
- dashboardForm?.selectedResponsibilityCategories?.length ==
656
- 0 &&
657
- dashboardForm?.selectedRiskCategories?.length == 0
658
- "
659
- >
660
- <div
661
- class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4"
662
- >
663
- Select the Program(s) that you would like displayed in
664
- the<br />Dashboard, if any.
665
- </div>
666
- </div>
667
-
668
- <div
669
- *ngIf="
670
- dashboardForm?.selectedResponsibilityCategories?.length > 0
671
- "
672
- class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between"
673
- >
674
- <div
675
- class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2"
676
- *ngFor="
677
- let rCategory of dashboardForm?.selectedResponsibilityCategories?.slice(
678
- 0,
679
- 1
680
- )
681
- "
682
- >
683
- <i
684
- class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1"
685
- (click)="remove('responsibilityCategories', rCategory)"
686
- >&#xe9ae;</i
687
- >
688
- <span
689
- class="chipName vx-fs-11 vx-label-txt"
690
- [arTooltip]="rCategory.item_name"
691
- placement="bottom-left"
692
- delay="0"
693
- type="black"
694
- [tooltipMandatory]="false"
695
- >{{ rCategory.item_name }}</span
696
- >
697
- <button
698
- *ngIf="
699
- dashboardForm?.selectedResponsibilityCategories
700
- ?.length > 1
701
- "
702
- class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
703
- appPopover
704
- (click)="rCategoryList.popover()"
705
- placement="left"
706
- >
707
- +{{
708
- dashboardForm?.selectedResponsibilityCategories?.slice(
709
- 1
710
- ).length
711
- }}
712
- </button>
713
-
714
- <app-popover #rCategoryList [dontCloseonClick]="true">
715
- <div class="action-list">
716
- <ul class="action-item">
717
- <li
718
- *ngFor="
719
- let rCategory of dashboardForm?.selectedResponsibilityCategories
720
- | slice : 1;
721
- let j = index
722
- "
723
- >
724
- <div class="avatar-card">
725
- <span
726
- class="value"
727
- [arTooltip]="rCategory?.item_name"
728
- placement="bottom-left"
729
- delay="0"
730
- type="black"
731
- [tooltipMandatory]="false"
732
- >
733
- <i
734
- class="icons cross-icon"
735
- (click)="
736
- remove(
737
- 'responsibilityCategories',
738
- rCategory
739
- )
740
- "
741
- >&#xe90d;</i
742
- >
743
- {{ rCategory?.item_name }}
744
- </span>
745
- </div>
746
- </li>
747
- </ul>
748
- </div>
749
- </app-popover>
750
- </div>
751
-
752
- <button
753
- *ngIf="activeSelector !== 'responsibilityCategories'"
754
- class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
755
- (click)="activateSelector('responsibilityCategories', true)"
756
- >
757
- <i class="icons vx-mr-1">&#xe90c;</i> EDIT
758
- </button>
759
- </div>
760
- </div>
761
- </div>
762
- </div>
763
-
764
- <!-- Risk Category -->
765
- <div
766
- class="form-group-row"
767
- [class.active]="activeSelector === 'riskCategories'"
768
- *ngIf="showRiskCategory && isManageRisk"
769
- [class.disabled]="
770
- activeSelector &&
771
- activeSelector !== 'riskCategories' &&
772
- activeSelector !== 'name'
773
- "
774
- >
775
- <div class="image">
776
- <img
777
- *ngIf="
778
- dashboardForm?.selectedRiskCategories?.length == 0 ||
779
- activeSelector === 'riskCategories'
780
- "
781
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/category.svg"
782
- alt=""
783
- />
784
- <svg
785
- *ngIf="
786
- dashboardForm?.selectedRiskCategories?.length > 0 &&
787
- activeSelector !== 'riskCategories'
788
- "
789
- class="checkIcon"
790
- xmlns="http://www.w3.org/2000/svg"
791
- viewBox="0 0 52 52"
792
- >
793
- <circle
794
- class="checkIcon__circle"
795
- cx="26"
796
- cy="26"
797
- r="25"
798
- fill="none"
799
- />
800
- <path
801
- class="checkIcon__check"
802
- fill="none"
803
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
804
- />
805
- </svg>
806
- </div>
807
- <div class="form" *ngIf="isManageRisk">
808
- <div class="vx-form-group vx-d-block vx-mb-4">
809
- <label
810
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
811
- >RISK CATEGORIES</label
812
- >
813
- <div
814
- *ngIf="dashboardForm?.selectedRiskCategories?.length == 0"
815
- class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
816
- (click)="activateSelector('riskCategories', true)"
817
- [class.error]="
818
- submitted &&
819
- dashboardForm?.selectedResponsibilityCenters?.length == 0 &&
820
- dashboardForm?.selectedResponsibilityCategories?.length ==
821
- 0 &&
822
- dashboardForm?.selectedRiskCategories?.length == 0
823
- "
824
- >
825
- <div
826
- class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4"
827
- >
828
- Select the Risk Categories that you would like displayed<br />in
829
- the Dashboard, if any.
830
- </div>
831
- </div>
832
-
833
- <div
834
- *ngIf="dashboardForm?.selectedRiskCategories?.length > 0"
835
- class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between"
836
- >
837
- <div
838
- class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2"
839
- *ngFor="
840
- let riskCategory of dashboardForm?.selectedRiskCategories?.slice(
841
- 0,
842
- 1
843
- )
844
- "
845
- >
846
- <i
847
- class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1"
848
- (click)="remove('riskCategory', riskCategory)"
849
- >&#xe9ae;</i
850
- >
851
- <span
852
- class="chipName vx-fs-11 vx-label-txt"
853
- [arTooltip]="riskCategory.category_name"
854
- placement="bottom-left"
855
- delay="0"
856
- type="black"
857
- [tooltipMandatory]="false"
858
- >{{ riskCategory.category_name }}</span
859
- >
860
- <button
861
- *ngIf="dashboardForm?.selectedRiskCategories?.length > 1"
862
- class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
863
- appPopover
864
- (click)="riskList.popover()"
865
- placement="left"
866
- >
867
- +{{
868
- dashboardForm?.selectedRiskCategories?.slice(1).length
869
- }}
870
- </button>
871
-
872
- <app-popover #riskList [dontCloseonClick]="true">
873
- <div class="action-list">
874
- <ul class="action-item">
875
- <li
876
- *ngFor="
877
- let riskCategory of dashboardForm?.selectedRiskCategories
878
- | slice : 1;
879
- let j = index
880
- "
881
- >
882
- <div class="avatar-card">
883
- <span
884
- class="value"
885
- [arTooltip]="riskCategory?.category_name"
886
- placement="bottom-left"
887
- delay="0"
888
- type="black"
889
- [tooltipMandatory]="false"
890
- >
891
- <i
892
- class="icons cross-icon"
893
- (click)="remove('riskCategory', riskCategory)"
894
- >&#xe90d;</i
895
- >
896
- {{ riskCategory?.category_name }}
897
- </span>
898
- </div>
899
- </li>
900
- </ul>
901
- </div>
902
- </app-popover>
903
- </div>
904
-
905
- <button
906
- *ngIf="activeSelector !== 'riskCategories'"
907
- class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
908
- (click)="activateSelector('riskCategories', true)"
909
- >
910
- <i class="icons vx-mr-1">&#xe90c;</i> EDIT
911
- </button>
912
- </div>
913
- </div>
914
- </div>
915
- </div>
916
-
917
- <!-- Display Criteria -->
918
- <div
919
- class="form-group-row"
920
- [class.disabled]="activeSelector && activeSelector !== 'name'"
921
- >
922
- <div class="image">
923
- <img
924
- *ngIf="dashboardForm?.displayCriteria?.length == 0"
925
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/who.svg"
926
- alt=""
927
- />
928
- <svg
929
- *ngIf="dashboardForm?.displayCriteria?.length > 0"
930
- class="checkIcon"
931
- xmlns="http://www.w3.org/2000/svg"
932
- viewBox="0 0 52 52"
933
- >
934
- <circle
935
- class="checkIcon__circle"
936
- cx="26"
937
- cy="26"
938
- r="25"
939
- fill="none"
940
- />
941
- <path
942
- class="checkIcon__check"
943
- fill="none"
944
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
945
- />
946
- </svg>
947
- </div>
948
- <div class="form">
949
- <div class="vx-form-group vx-d-block vx-mb-4">
950
- <label
951
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
952
- >DISPLAY CRITERIA</label
953
- >
954
- <div class="radio-group" *ngIf="showCriteria">
955
- <app-cs-radio
956
- [checked]="dashboardForm.displayCriteria == 'or'"
957
- (checkedEvent)="dashboardForm.displayCriteria = 'or'"
958
- >
959
- Those Items that have been assigned to either the selected
960
- Responsibility Center(s) or the selected
961
- Categories.</app-cs-radio
962
- >
963
-
964
- <app-cs-radio
965
- [checked]="dashboardForm.displayCriteria == 'and'"
966
- (checkedEvent)="dashboardForm.displayCriteria = 'and'"
967
- >
968
- Those Items that have been assigned to both the selected
969
- Responsibility Center(s) and the selected
970
- Categories.</app-cs-radio
971
- >
972
- </div>
973
- </div>
974
- </div>
975
- </div>
976
-
977
- <!-- Timeframe -->
978
- <div
979
- class="form-group-row"
980
- [class.disabled]="activeSelector && activeSelector !== 'name'"
981
- >
982
- <div class="image">
983
- <img
984
- *ngIf="
985
- !dashboardForm?.selectedFromDate ||
986
- !dashboardForm?.selectedToDate
987
- "
988
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/when.svg"
989
- alt=""
990
- />
991
- <svg
992
- *ngIf="
993
- dashboardForm?.selectedFromDate &&
994
- dashboardForm?.selectedToDate
995
- "
996
- class="checkIcon"
997
- xmlns="http://www.w3.org/2000/svg"
998
- viewBox="0 0 52 52"
999
- >
1000
- <circle
1001
- class="checkIcon__circle"
1002
- cx="26"
1003
- cy="26"
1004
- r="25"
1005
- fill="none"
1006
- />
1007
- <path
1008
- class="checkIcon__check"
1009
- fill="none"
1010
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
1011
- />
1012
- </svg>
1013
- </div>
1014
- <div class="form">
1015
- <div class="vx-form-group vx-d-block vx-mb-4">
1016
- <label
1017
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
1018
- >TIMEFRAME</label
1019
- >
1020
- <label class="vx-control-panel-sub-label"
1021
- >Select how long you would like the information selected to be
1022
- displayed for. If no timeframe is selected, the information
1023
- will be displayed permanently.</label
1024
- >
1025
- <div class="input-group vx-d-flex vx-justify-between">
1026
- <div class="date-select">
1027
- <i class="icons">&#xe92d;</i>
1028
- <input
1029
- type="text"
1030
- [value]="
1031
- dashboardForm?.selectedFromDate | date : 'dd MMM yyyy'
1032
- "
1033
- [placeholder]="'From'"
1034
- (click)="openFromDatePicker()"
1035
- readonly
1036
- />
1037
- <dp-date-picker
1038
- #fromDatePicker
1039
- [(ngModel)]="dashboardForm.selectedFromDate"
1040
- placeholder="Select Date"
1041
- (onSelect)="
1042
- closeFromDatePicker(); datePickerOverlay = false
1043
- "
1044
- [config]="fromDatePickerConfig"
1045
- ></dp-date-picker>
1046
- <div
1047
- class="overlay"
1048
- (click)="closeFromDatePicker()"
1049
- *ngIf="datePickerOverlay"
1050
- ></div>
1051
- </div>
1052
- <div
1053
- class="date-select"
1054
- *ngIf="!hideToDate"
1055
- [class.disabled]="!dashboardForm?.selectedFromDate"
1056
- >
1057
- <i class="icons">&#xe92d;</i>
1058
- <input
1059
- type="text"
1060
- [value]="
1061
- dashboardForm?.selectedToDate | date : 'dd MMM yyyy'
1062
- "
1063
- [placeholder]="'To'"
1064
- (click)="openToDatePicker()"
1065
- readonly
1066
- />
1067
- <dp-date-picker
1068
- #toDatePicker
1069
- [(ngModel)]="dashboardForm.selectedToDate"
1070
- placeholder="Select Date"
1071
- (onSelect)="
1072
- closeToDatePicker(); datePickerOverlay = false
1073
- "
1074
- [config]="toDatePickerConfig"
1075
- ></dp-date-picker>
1076
- <div
1077
- class="overlay"
1078
- (click)="closeToDatePicker()"
1079
- *ngIf="datePickerOverlay"
1080
- ></div>
1081
- </div>
1082
- </div>
1083
- <p
1084
- class="vx-txt-error"
1085
- [appScrollInView]="true"
1086
- *ngIf="
1087
- submitted &&
1088
- dashboardForm.selectedFromDate &&
1089
- !dashboardForm.selectedToDate
1090
- "
1091
- >
1092
- Select a time-frame.
1093
- </p>
1094
- </div>
1095
- </div>
1096
- </div>
1097
-
1098
- <!-- Email Summary -->
1099
- <div
1100
- class="form-group-row"
1101
- [class.active]="activeSelector === 'frequency'"
1102
- [class.disabled]="
1103
- activeSelector &&
1104
- activeSelector !== 'frequency' &&
1105
- activeSelector !== 'name'
1106
- "
1107
- >
1108
- <div class="image">
1109
- <img
1110
- *ngIf="!dashboardForm.frequencyMessage"
1111
- src="https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/send-resolution.svg"
1112
- alt=""
1113
- />
1114
- <svg
1115
- *ngIf="dashboardForm.frequencyMessage"
1116
- class="checkIcon"
1117
- xmlns="http://www.w3.org/2000/svg"
1118
- viewBox="0 0 52 52"
1119
- >
1120
- <circle
1121
- class="checkIcon__circle"
1122
- cx="26"
1123
- cy="26"
1124
- r="25"
1125
- fill="none"
1126
- />
1127
- <path
1128
- class="checkIcon__check"
1129
- fill="none"
1130
- d="M14.1 27.2l7.1 7.2 16.7-16.8"
1131
- />
1132
- </svg>
1133
- </div>
1134
- <div class="form">
1135
- <div class="vx-form-group vx-d-block">
1136
- <label
1137
- class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
1138
- >Email Summaries</label
1139
- >
1140
- <label class="vx-control-panel-sub-label"
1141
- >If you would like to send a summary of this Dashboard, please
1142
- select a frequency(By default VComply sends a weekly
1143
- Summary).</label
1144
- >
1145
- <div
1146
- *ngIf="!dashboardForm.frequencyMessage"
1147
- class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
1148
- (click)="activateSelector('frequency', true)"
1149
- >
1150
- <div
1151
- class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4"
1152
- >
1153
- Email Summaries
1154
- </div>
1155
- </div>
1156
-
1157
- <div
1158
- *ngIf="dashboardForm.frequencyMessage"
1159
- class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between"
1160
- >
1161
- <div
1162
- class="selectBoxText vx-fs-13 vx-paragraph-txt"
1163
- [arTooltip]="dashboardForm.frequencyMessage"
1164
- placement="bottom-left"
1165
- type="black"
1166
- delay="0"
1167
- [tooltipMandatory]="false"
1168
- [innerHTML]="dashboardForm.frequencyMessage"
1169
- ></div>
1170
-
1171
- <button
1172
- *ngIf="
1173
- dashboardForm.frequencyMessage &&
1174
- activeSelector !== 'frequency'
1175
- "
1176
- class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
1177
- (click)="activateSelector('frequency', true)"
1178
- >
1179
- <i class="icons vx-mr-1">&#xe90c;</i> EDIT
1180
- </button>
1181
- </div>
1182
- </div>
1183
- </div>
1184
- </div>
1185
- </div>
1186
- <div class="button-block">
1187
- <button
1188
- class="vx-btn block primary"
1189
- [disabled]="activeSelector && activeSelector !== 'name'"
1190
- (click)="configureDashboard()"
1191
- >
1192
- Next: Configure Widgets
1193
- </button>
1194
- </div>
1195
- </div>
1196
-
1197
- <button
1198
- class="close-dialog"
1199
- type="button"
1200
- [disabled]="activeSelector && activeSelector !== 'name'"
1201
- (click)="close.emit({ mode: 'discard' })"
1202
- [arTooltip]="'[Esc] to close'"
1203
- placement="left"
1204
- type="black"
1205
- delay="0"
1206
- [tooltipMandatory]="true"
1207
- [class.hide]="activeSelector && activeSelector !== 'name'"
1208
- >
1209
- <i class="icons">&#xe93f;</i>
1210
- </button>
1211
- <div
1212
- class="global-confirmation-alert"
1213
- *ngIf="
1214
- submitted &&
1215
- dashboardForm?.selectedResponsibilityCenters?.length == 0 &&
1216
- dashboardForm?.selectedResponsibilityCategories?.length == 0 &&
1217
- dashboardForm?.selectedRiskCategories?.length == 0
1218
- "
1219
- >
1220
- <div class="global-confirmation-alert-top">
1221
- <span class="icon-block">
1222
- <i class="icons">&#xe930;</i>
1223
- </span>
1224
- <p class="text" *ngIf="showRiskCategory">
1225
- Select a Responsibility Center, Program or Risk Category.
1226
- </p>
1227
- <p class="text" *ngIf="!showRiskCategory">
1228
- Select a Responsibility Center or Program.
1229
- </p>
1230
- </div>
1231
- <div class="global-confirmation-alert-bottom">
1232
- <p class="message"></p>
1233
- <div class="button-group">
1234
- <button class="fill" type="button" (click)="submitted = false">
1235
- OKAY
1236
- </button>
1237
- </div>
1238
- </div>
1239
- </div>
1240
- </div>
1241
- </div>
1242
- </div>
1243
-
1244
- <app-smiley-dialog
1245
- *ngIf="isSmiley"
1246
- [message]="smileyMessage"
1247
- ></app-smiley-dialog>
1248
-
1249
- <app-configure-widgets
1250
- *ngIf="openConfigureWidgets"
1251
- [mode]="mode"
1252
- [displayedWidgets]="displayedWidgets"
1253
- [showRisk]="showRiskWidgets"
1254
- [showCompliance]="showComplianceWidgets"
1255
- [selectedWidgetsData]="selectedWidgets"
1256
- (widgetsDataModified)="setSelectedWidgets($event)"
1257
- (closeConfigureWidgets)="closeConfigureWidgets($event)"
1258
- ></app-configure-widgets>