@testgorilla/tgo-ui 4.2.4 → 5.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 (425) hide show
  1. package/components/accordion/accordion.component.d.ts +2 -2
  2. package/components/accordion/accordion.component.module.d.ts +2 -2
  3. package/components/accordion/index.d.ts +5 -0
  4. package/components/accordion/public-api.d.ts +4 -0
  5. package/components/ai-feedback/ai-feedback.module.d.ts +2 -2
  6. package/components/ai-feedback/index.d.ts +5 -0
  7. package/components/ai-feedback/public-api.d.ts +4 -0
  8. package/components/alert-banner/alert-banner.component.d.ts +3 -3
  9. package/components/alert-banner/alert-banner.component.module.d.ts +3 -3
  10. package/components/alert-banner/index.d.ts +5 -0
  11. package/components/alert-banner/public-api.d.ts +4 -0
  12. package/components/autocomplete/autocomplete.component.d.ts +2 -2
  13. package/components/autocomplete/autocomplete.component.module.d.ts +9 -10
  14. package/components/autocomplete/index.d.ts +5 -0
  15. package/components/autocomplete/public-api.d.ts +4 -0
  16. package/components/avatar/avatar.component.d.ts +2 -2
  17. package/components/avatar/avatar.component.module.d.ts +4 -4
  18. package/components/avatar/avatar.model.d.ts +1 -1
  19. package/components/avatar/index.d.ts +5 -0
  20. package/components/avatar/public-api.d.ts +4 -0
  21. package/components/badge/badge.component.d.ts +2 -2
  22. package/components/badge/badge.component.module.d.ts +1 -1
  23. package/components/badge/index.d.ts +5 -0
  24. package/components/badge/public-api.d.ts +4 -0
  25. package/components/breadcrumb/breadcrumb.component.d.ts +2 -2
  26. package/components/breadcrumb/breadcrumb.component.module.d.ts +8 -9
  27. package/components/breadcrumb/index.d.ts +5 -0
  28. package/components/breadcrumb/public-api.d.ts +4 -0
  29. package/components/button/button.component.d.ts +2 -2
  30. package/components/button/button.component.module.d.ts +4 -5
  31. package/components/button/button.model.d.ts +1 -1
  32. package/components/button/index.d.ts +5 -0
  33. package/components/button/public-api.d.ts +5 -0
  34. package/components/card/card.component.d.ts +2 -2
  35. package/components/card/card.component.module.d.ts +1 -1
  36. package/components/card/index.d.ts +5 -0
  37. package/components/card/public-api.d.ts +4 -0
  38. package/components/checkbox/checkbox.component.d.ts +2 -2
  39. package/components/checkbox/checkbox.component.module.d.ts +6 -8
  40. package/components/checkbox/index.d.ts +5 -0
  41. package/components/checkbox/public-api.d.ts +4 -0
  42. package/components/checklist/checklist.component.d.ts +1 -2
  43. package/components/checklist/index.d.ts +5 -0
  44. package/components/checklist/public-api.d.ts +3 -0
  45. package/{utils → components/core}/alert-bars.utils.d.ts +1 -2
  46. package/components/core/application-theme.model.d.ts +7 -0
  47. package/components/core/color-contrast.d.ts +28 -0
  48. package/components/core/index.d.ts +5 -0
  49. package/components/core/link-target.model.d.ts +1 -0
  50. package/components/core/public-api.d.ts +25 -0
  51. package/components/core/select-text.directive.d.ts +19 -0
  52. package/{pipes → components/core}/truncate.pipe.d.ts +1 -1
  53. package/{pipes → components/core}/ui-translate.pipe.d.ts +1 -1
  54. package/components/datepicker/datepicker.component.d.ts +1 -1
  55. package/components/datepicker/datepicker.component.module.d.ts +4 -5
  56. package/components/datepicker/index.d.ts +5 -0
  57. package/components/datepicker/public-api.d.ts +6 -0
  58. package/components/{confirm-dialog → dialog/confirm-dialog}/confirm-dialog.component.d.ts +4 -4
  59. package/components/{confirm-dialog → dialog/confirm-dialog}/confirm-dialog.component.module.d.ts +3 -3
  60. package/components/{confirm-dialog → dialog/confirm-dialog}/confirm-dialog.model.d.ts +3 -3
  61. package/components/dialog/dialog-custom/dialog-custom.component.d.ts +22 -0
  62. package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +10 -0
  63. package/components/dialog/dialog.component.d.ts +4 -4
  64. package/components/dialog/dialog.component.module.d.ts +2 -2
  65. package/components/dialog/dialog.model.d.ts +1 -1
  66. package/components/dialog/dialog.service.d.ts +1 -1
  67. package/components/dialog/index.d.ts +5 -0
  68. package/components/dialog/public-api.d.ts +10 -0
  69. package/components/divider/divider.component.d.ts +1 -1
  70. package/components/divider/index.d.ts +5 -0
  71. package/components/divider/public-api.d.ts +4 -0
  72. package/components/donut-chart/donut-chart.component.d.ts +1 -1
  73. package/components/donut-chart/index.d.ts +5 -0
  74. package/components/donut-chart/public-api.d.ts +3 -0
  75. package/components/dropdown/dropdown.component.d.ts +2 -2
  76. package/components/dropdown/dropdown.component.module.d.ts +5 -6
  77. package/components/dropdown/index.d.ts +5 -0
  78. package/components/dropdown/public-api.d.ts +4 -0
  79. package/components/elevation-shadow/elevation-shadow.component.d.ts +1 -1
  80. package/components/elevation-shadow/index.d.ts +5 -0
  81. package/components/elevation-shadow/public-api.d.ts +3 -0
  82. package/components/empty-state/empty-state.component.d.ts +4 -4
  83. package/components/empty-state/empty-state.component.module.d.ts +3 -3
  84. package/components/empty-state/index.d.ts +5 -0
  85. package/components/empty-state/public-api.d.ts +4 -0
  86. package/components/field/field.component.d.ts +4 -4
  87. package/components/field/field.component.module.d.ts +6 -8
  88. package/components/field/index.d.ts +5 -0
  89. package/components/field/public-api.d.ts +4 -0
  90. package/components/file-upload/file-upload.component.d.ts +1 -2
  91. package/components/file-upload/file-upload.component.module.d.ts +4 -4
  92. package/components/file-upload/index.d.ts +5 -0
  93. package/components/file-upload/public-api.d.ts +3 -0
  94. package/components/filter-button/filter-button.component.d.ts +3 -3
  95. package/components/filter-button/filter-button.component.module.d.ts +7 -8
  96. package/components/filter-button/filter-button.model.d.ts +1 -1
  97. package/components/filter-button/index.d.ts +5 -0
  98. package/components/filter-button/public-api.d.ts +4 -0
  99. package/components/gaussian-chart/gaussian-chart.component.d.ts +1 -1
  100. package/components/gaussian-chart/gaussian-chart.module.d.ts +3 -4
  101. package/components/gaussian-chart/index.d.ts +5 -0
  102. package/components/gaussian-chart/public-api.d.ts +2 -0
  103. package/components/icon/icon.component.d.ts +2 -2
  104. package/components/icon/index.d.ts +5 -0
  105. package/components/icon/public-api.d.ts +6 -0
  106. package/components/icon-label/icon-label.component.d.ts +2 -2
  107. package/components/icon-label/icon-label.component.module.d.ts +1 -1
  108. package/components/icon-label/index.d.ts +5 -0
  109. package/components/icon-label/public-api.d.ts +2 -0
  110. package/components/inline-field/index.d.ts +5 -0
  111. package/components/inline-field/inline-field.component.d.ts +5 -5
  112. package/components/inline-field/inline-field.component.module.d.ts +3 -3
  113. package/components/inline-field/inline-field.model.d.ts +1 -1
  114. package/components/inline-field/public-api.d.ts +4 -0
  115. package/components/logo/index.d.ts +5 -0
  116. package/components/logo/logo.component.d.ts +1 -1
  117. package/components/logo/public-api.d.ts +4 -0
  118. package/components/media-card/index.d.ts +5 -0
  119. package/components/media-card/public-api.d.ts +1 -0
  120. package/components/media-dialog/index.d.ts +5 -0
  121. package/components/media-dialog/public-api.d.ts +2 -0
  122. package/components/multi-input/index.d.ts +5 -0
  123. package/components/multi-input/multi-input.component.module.d.ts +7 -8
  124. package/components/multi-input/public-api.d.ts +5 -0
  125. package/components/navbar/index.d.ts +5 -0
  126. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +2 -2
  127. package/components/navbar/navbar.component.d.ts +4 -4
  128. package/components/navbar/navbar.component.module.d.ts +7 -7
  129. package/components/navbar/navbar.model.d.ts +2 -2
  130. package/components/navbar/public-api.d.ts +5 -0
  131. package/components/overflow-menu/index.d.ts +5 -0
  132. package/components/overflow-menu/overflow-menu.component.d.ts +3 -3
  133. package/components/overflow-menu/overflow-menu.component.module.d.ts +4 -5
  134. package/components/overflow-menu/overflow-menu.model.d.ts +1 -1
  135. package/components/overflow-menu/public-api.d.ts +4 -0
  136. package/components/page-header/index.d.ts +5 -0
  137. package/components/page-header/page-header.component.d.ts +1 -1
  138. package/components/page-header/page-header.component.module.d.ts +2 -2
  139. package/components/page-header/public-api.d.ts +3 -0
  140. package/components/paginator/index.d.ts +5 -0
  141. package/components/paginator/paginator.component.d.ts +1 -1
  142. package/components/paginator/public-api.d.ts +3 -0
  143. package/components/password-criteria/index.d.ts +5 -0
  144. package/components/password-criteria/password.component.module.d.ts +4 -4
  145. package/components/password-criteria/public-api.d.ts +3 -0
  146. package/components/password-strength/index.d.ts +5 -0
  147. package/components/password-strength/password-strength.component.d.ts +2 -2
  148. package/components/password-strength/password-strength.component.module.d.ts +3 -3
  149. package/components/password-strength/public-api.d.ts +3 -0
  150. package/components/phone-input/index.d.ts +5 -0
  151. package/components/phone-input/phone-input.component.d.ts +1 -1
  152. package/components/phone-input/phone-input.component.module.d.ts +5 -6
  153. package/components/phone-input/public-api.d.ts +5 -0
  154. package/components/progress-bar/index.d.ts +5 -0
  155. package/components/progress-bar/progress-bar.component.d.ts +1 -1
  156. package/components/progress-bar/progress-bar.component.module.d.ts +1 -1
  157. package/components/progress-bar/public-api.d.ts +3 -0
  158. package/components/prompt/index.d.ts +5 -0
  159. package/components/prompt/prompt.component.d.ts +2 -2
  160. package/components/prompt/prompt.module.d.ts +8 -8
  161. package/components/prompt/public-api.d.ts +4 -0
  162. package/components/radial-progress/index.d.ts +5 -0
  163. package/components/radial-progress/public-api.d.ts +4 -0
  164. package/components/radial-progress/radial-progress.component.d.ts +2 -2
  165. package/components/radial-progress/radial-progress.component.module.d.ts +1 -1
  166. package/components/radio-button/index.d.ts +5 -0
  167. package/components/radio-button/public-api.d.ts +4 -0
  168. package/components/radio-button/radio-button.component.d.ts +2 -2
  169. package/components/radio-button/radio-button.component.module.d.ts +2 -2
  170. package/components/rating/index.d.ts +5 -0
  171. package/components/rating/public-api.d.ts +3 -0
  172. package/components/rating/rating.component.d.ts +1 -1
  173. package/components/scale/index.d.ts +5 -0
  174. package/components/scale/public-api.d.ts +3 -0
  175. package/components/scale/scale.component.d.ts +1 -1
  176. package/components/scale-table/index.d.ts +5 -0
  177. package/components/scale-table/public-api.d.ts +3 -0
  178. package/components/scale-table/scale-table.component.d.ts +1 -1
  179. package/components/segmented-bar/index.d.ts +5 -0
  180. package/components/segmented-bar/public-api.d.ts +4 -0
  181. package/components/segmented-bar/segmented-bar.component.d.ts +1 -1
  182. package/components/segmented-bar/segmented-bar.component.module.d.ts +2 -2
  183. package/components/segmented-bar/segmented-bar.model.d.ts +1 -1
  184. package/components/segmented-button/index.d.ts +5 -0
  185. package/components/segmented-button/public-api.d.ts +4 -0
  186. package/components/segmented-button/segmented-button.component.d.ts +1 -1
  187. package/components/selectable-card/index.d.ts +5 -0
  188. package/components/selectable-card/public-api.d.ts +2 -0
  189. package/components/selectable-card/selectable-card.component.d.ts +1 -1
  190. package/components/selectable-card/selectable-card.component.module.d.ts +2 -2
  191. package/components/side-panel/index.d.ts +5 -0
  192. package/components/side-panel/public-api.d.ts +5 -0
  193. package/components/side-panel/side-panel.component.d.ts +1 -1
  194. package/components/side-sheet/index.d.ts +5 -0
  195. package/components/side-sheet/public-api.d.ts +4 -0
  196. package/components/side-sheet/side-sheet.component.d.ts +1 -1
  197. package/components/side-sheet/side-sheet.component.module.d.ts +4 -4
  198. package/components/skeleton/index.d.ts +5 -0
  199. package/components/skeleton/public-api.d.ts +3 -0
  200. package/components/skeleton/skeleton.component.d.ts +2 -2
  201. package/components/slider/index.d.ts +5 -0
  202. package/components/slider/public-api.d.ts +4 -0
  203. package/components/slider/slider.component.d.ts +1 -1
  204. package/components/snackbar/index.d.ts +5 -0
  205. package/components/snackbar/public-api.d.ts +5 -0
  206. package/components/snackbar/snackbar.component.d.ts +4 -4
  207. package/components/snackbar/snackbar.component.module.d.ts +3 -3
  208. package/components/snackbar/snackbar.service.d.ts +1 -1
  209. package/components/spider-chart/index.d.ts +5 -0
  210. package/components/spider-chart/public-api.d.ts +3 -0
  211. package/components/spider-chart/spider-chart.component.d.ts +1 -1
  212. package/components/spider-chart/spider-chart.module.d.ts +3 -4
  213. package/components/spinner/index.d.ts +5 -0
  214. package/components/spinner/public-api.d.ts +4 -0
  215. package/components/spinner/spinner.component.d.ts +2 -2
  216. package/components/spinner/spinner.module.d.ts +2 -2
  217. package/components/stepper/index.d.ts +5 -0
  218. package/components/stepper/public-api.d.ts +7 -0
  219. package/{directives → components/stepper}/step-line-element.directive.d.ts +1 -1
  220. package/components/{step → stepper}/step.component.d.ts +4 -4
  221. package/components/{step → stepper}/step.component.module.d.ts +2 -2
  222. package/components/stepper/stepper.component.d.ts +1 -1
  223. package/components/stepper/stepper.component.module.d.ts +5 -5
  224. package/components/stepper/stepper.model.d.ts +1 -1
  225. package/components/table/index.d.ts +5 -0
  226. package/components/table/public-api.d.ts +6 -0
  227. package/components/table/table.component.d.ts +1 -1
  228. package/components/table/table.component.module.d.ts +6 -9
  229. package/{utils → components/table}/table.utils.d.ts +1 -1
  230. package/components/tabs/index.d.ts +5 -0
  231. package/components/tabs/public-api.d.ts +5 -0
  232. package/components/tabs/tab.directive.d.ts +1 -1
  233. package/components/tabs/tabs.component.d.ts +1 -1
  234. package/components/tabs/tabs.component.module.d.ts +3 -3
  235. package/components/tabs/tabs.model.d.ts +1 -1
  236. package/components/tag/index.d.ts +5 -0
  237. package/components/tag/public-api.d.ts +4 -0
  238. package/components/tag/tag.component.d.ts +2 -2
  239. package/components/tag/tag.component.module.d.ts +3 -3
  240. package/components/toggle/index.d.ts +5 -0
  241. package/components/toggle/public-api.d.ts +3 -0
  242. package/components/toggle/toggle.component.d.ts +1 -1
  243. package/components/toggle/toggle.component.module.d.ts +4 -5
  244. package/components/tooltip/index.d.ts +5 -0
  245. package/components/tooltip/public-api.d.ts +5 -0
  246. package/components/tooltip/tooltip.component.d.ts +1 -1
  247. package/components/tooltip/tooltip.component.module.d.ts +2 -3
  248. package/components/universal-skills/index.d.ts +5 -0
  249. package/components/universal-skills/public-api.d.ts +6 -0
  250. package/components/{universal-skills-spider-charts → universal-skills/spider-charts}/universal-skills-spider-charts.component.d.ts +4 -4
  251. package/components/{universal-skills-spider-charts → universal-skills/spider-charts}/universal-skills-spider-charts.component.module.d.ts +7 -9
  252. package/components/{universal-skills-report → universal-skills}/universal-skills-report.component.d.ts +4 -4
  253. package/components/{universal-skills-report → universal-skills}/universal-skills-report.component.module.d.ts +5 -7
  254. package/{models → components/universal-skills}/universal-skills-report.model.d.ts +1 -1
  255. package/{services → components/universal-skills}/universal-skills.service.d.ts +1 -1
  256. package/components/validation-error/index.d.ts +5 -0
  257. package/components/validation-error/public-api.d.ts +3 -0
  258. package/components/validation-error/validation-error.component.d.ts +1 -1
  259. package/components/validation-error/validation-error.module.d.ts +2 -2
  260. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +179 -0
  261. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -0
  262. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +59 -0
  263. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -0
  264. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +222 -0
  265. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -0
  266. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1045 -0
  267. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -0
  268. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +173 -0
  269. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -0
  270. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +180 -0
  271. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -0
  272. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +250 -0
  273. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -0
  274. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +635 -0
  275. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -0
  276. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +164 -0
  277. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -0
  278. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +402 -0
  279. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -0
  280. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +162 -0
  281. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -0
  282. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +11243 -0
  283. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -0
  284. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +512 -0
  285. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -0
  286. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +481 -0
  287. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -0
  288. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +88 -0
  289. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -0
  290. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +146 -0
  291. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -0
  292. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +434 -0
  293. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -0
  294. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +75 -0
  295. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -0
  296. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +326 -0
  297. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -0
  298. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +639 -0
  299. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -0
  300. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +402 -0
  301. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -0
  302. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +314 -0
  303. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -0
  304. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +297 -0
  305. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -0
  306. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +98 -0
  307. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -0
  308. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1496 -0
  309. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -0
  310. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +367 -0
  311. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -0
  312. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +218 -0
  313. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -0
  314. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +54 -0
  315. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -0
  316. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +82 -0
  317. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -0
  318. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +343 -0
  319. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -0
  320. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +358 -0
  321. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -0
  322. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +279 -0
  323. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -0
  324. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +94 -0
  325. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -0
  326. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +110 -0
  327. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -0
  328. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +153 -0
  329. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -0
  330. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +118 -0
  331. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -0
  332. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +428 -0
  333. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -0
  334. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +128 -0
  335. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -0
  336. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +252 -0
  337. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -0
  338. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +152 -0
  339. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -0
  340. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +373 -0
  341. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -0
  342. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +150 -0
  343. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -0
  344. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +68 -0
  345. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -0
  346. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +158 -0
  347. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -0
  348. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +137 -0
  349. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -0
  350. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +128 -0
  351. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -0
  352. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +81 -0
  353. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -0
  354. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +231 -0
  355. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -0
  356. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +180 -0
  357. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -0
  358. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +81 -0
  359. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -0
  360. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +274 -0
  361. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -0
  362. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +299 -0
  363. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -0
  364. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +490 -0
  365. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -0
  366. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +108 -0
  367. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -0
  368. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +507 -0
  369. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -0
  370. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +394 -0
  371. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -0
  372. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +304 -0
  373. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -0
  374. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +239 -0
  375. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -0
  376. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +216 -0
  377. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -0
  378. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +272 -0
  379. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -0
  380. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +381 -0
  381. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -0
  382. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +79 -0
  383. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -0
  384. package/fesm2022/testgorilla-tgo-ui.mjs +118 -27024
  385. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  386. package/package.json +249 -1
  387. package/public-api.d.ts +75 -183
  388. package/components/ai-caveat/ai-caveat.component.d.ts +0 -36
  389. package/components/ai-caveat/ai-caveat.component.module.d.ts +0 -10
  390. package/models/application-theme.model.d.ts +0 -1
  391. package/projects/tgo-canopy-ui/assets/i18n/da-dk.json +0 -820
  392. package/projects/tgo-canopy-ui/assets/i18n/de.json +0 -820
  393. package/projects/tgo-canopy-ui/assets/i18n/en.json +0 -830
  394. package/projects/tgo-canopy-ui/assets/i18n/es.json +0 -820
  395. package/projects/tgo-canopy-ui/assets/i18n/fr.json +0 -820
  396. package/projects/tgo-canopy-ui/assets/i18n/it-it.json +0 -820
  397. package/projects/tgo-canopy-ui/assets/i18n/ja-jp.json +0 -820
  398. package/projects/tgo-canopy-ui/assets/i18n/nb-no.json +0 -820
  399. package/projects/tgo-canopy-ui/assets/i18n/nl.json +0 -820
  400. package/projects/tgo-canopy-ui/assets/i18n/pl-pl.json +0 -820
  401. package/projects/tgo-canopy-ui/assets/i18n/pt-br.json +0 -820
  402. package/projects/tgo-canopy-ui/assets/i18n/sv-se.json +0 -820
  403. /package/{directives → components/autocomplete}/select-text.directive.d.ts +0 -0
  404. /package/{pipes → components/avatar}/name-initials.pipe.d.ts +0 -0
  405. /package/{utils → components/button}/color-contrast.d.ts +0 -0
  406. /package/{utils → components/core}/alert-bar.model.d.ts +0 -0
  407. /package/{utils → components/core}/autocomplete-utils.d.ts +0 -0
  408. /package/{models → components/core}/checkbox.model.d.ts +0 -0
  409. /package/{models → components/core}/colors.model.d.ts +0 -0
  410. /package/{pipes/data-property-getter.d.ts → components/core/data-property-getter.pipe.d.ts} +0 -0
  411. /package/{directives → components/core}/digits-only.directive.d.ts +0 -0
  412. /package/{directives → components/core}/dynamic-component.directive.d.ts +0 -0
  413. /package/{directives → components/core}/ellipse-text.directive.d.ts +0 -0
  414. /package/{pipes → components/core}/has-validation-error.pipe.d.ts +0 -0
  415. /package/{utils → components/core}/hex-to-rgb.d.ts +0 -0
  416. /package/{providers → components/core}/is-large-tablet.d.ts +0 -0
  417. /package/{providers → components/core}/is-mobile.d.ts +0 -0
  418. /package/{models → components/core}/keyboard-events.model.d.ts +0 -0
  419. /package/{utils/localization → components/core}/language.model.d.ts +0 -0
  420. /package/{utils/localization → components/core}/language.service.d.ts +0 -0
  421. /package/{pipes → components/core}/memoize-func.pipe.d.ts +0 -0
  422. /package/{models → components/core}/screen-breakpoints.model.d.ts +0 -0
  423. /package/{pipes → components/core}/ui-ordinal-suffix.pipe.d.ts +0 -0
  424. /package/{directives → components/file-upload}/drag-drop.directive.d.ts +0 -0
  425. /package/{services → components/icon}/icons.service.d.ts +0 -0
@@ -0,0 +1,381 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Input, Optional, Inject, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i4 from '@testgorilla/tgo-ui/components/badge';
4
+ import { RebrandBadgeColorEnum, BadgeComponentModule } from '@testgorilla/tgo-ui/components/badge';
5
+ import * as i2 from '@angular/common';
6
+ import { CommonModule, KeyValuePipe } from '@angular/common';
7
+ import * as i3 from '@testgorilla/tgo-ui/components/accordion';
8
+ import { AccordionComponentModule } from '@testgorilla/tgo-ui/components/accordion';
9
+ import * as i5 from '@testgorilla/tgo-ui/components/progress-bar';
10
+ import { ProgressBarComponentModule } from '@testgorilla/tgo-ui/components/progress-bar';
11
+ import * as i6 from '@testgorilla/tgo-ui/components/core';
12
+ import { MemoizeFuncPipe, UiTranslatePipe, OrdinalSuffixPipe } from '@testgorilla/tgo-ui/components/core';
13
+ import { take } from 'rxjs';
14
+ import * as i4$1 from '@testgorilla/tgo-ui/components/spider-chart';
15
+ import { SpiderChartComponentModule } from '@testgorilla/tgo-ui/components/spider-chart';
16
+ import * as i5$1 from '@testgorilla/tgo-ui/components/divider';
17
+ import { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';
18
+
19
+ //TODO Update this model after backend/endpoint definitions
20
+ var SkillAreaGroupTypes;
21
+ (function (SkillAreaGroupTypes) {
22
+ SkillAreaGroupTypes[SkillAreaGroupTypes["FocusingOnObjectives"] = 1] = "FocusingOnObjectives";
23
+ SkillAreaGroupTypes[SkillAreaGroupTypes["WorkingWithPeople"] = 2] = "WorkingWithPeople";
24
+ SkillAreaGroupTypes[SkillAreaGroupTypes["ManagingOnesSelf"] = 3] = "ManagingOnesSelf";
25
+ })(SkillAreaGroupTypes || (SkillAreaGroupTypes = {}));
26
+ //TODO Update this model after backend/endpoint definitions
27
+ var SkillAreaTypes;
28
+ (function (SkillAreaTypes) {
29
+ SkillAreaTypes["BusinessSavvy"] = "BUSINESS_SAVVY";
30
+ SkillAreaTypes["StrategicPerspective"] = "STRATEGIC_PERSPECTIVE";
31
+ SkillAreaTypes["CustomerFocus"] = "CUSTOMER_FOCUS";
32
+ SkillAreaTypes["NavigatingComplexity"] = "NAVIGATING_COMPLEXITY";
33
+ SkillAreaTypes["AgileDecisionMaking"] = "AGILE_DECISION_MAKING";
34
+ SkillAreaTypes["EmbracingInnovation"] = "EMBRACING_INNOVATION";
35
+ SkillAreaTypes["PlanningAndPrioritizing"] = "PLANNING_AND_PRIORITIZING";
36
+ SkillAreaTypes["OrganizingResources"] = "ORGANIZING_RESOURCES";
37
+ SkillAreaTypes["DrivingResults"] = "DRIVING_RESULTS";
38
+ SkillAreaTypes["WorkingCollaboratively"] = "WORKING_COLLABORATIVELY";
39
+ SkillAreaTypes["SocialAgility"] = "SOCIAL_AGILITY";
40
+ SkillAreaTypes["CommunicatingEffectively"] = "COMMUNICATING_EFFECTIVELY";
41
+ SkillAreaTypes["HandlingConflict"] = "HANDLING_CONFLICT";
42
+ SkillAreaTypes["ValuingDiversity"] = "VALUING_DIVERSITY";
43
+ SkillAreaTypes["DevelopingOthers"] = "DEVELOPING_OTHERS";
44
+ SkillAreaTypes["ShowingResilience"] = "SHOWING_RESILIENCE";
45
+ SkillAreaTypes["NavigatingAmbiguity"] = "NAVIGATING_AMBIGUITY";
46
+ SkillAreaTypes["SelfAwareness"] = "SELF_AWARENESS";
47
+ SkillAreaTypes["SelfDevelopment"] = "SELF_DEVELOPMENT";
48
+ SkillAreaTypes["BeingBold"] = "BEING_BOLD";
49
+ SkillAreaTypes["EarningTrust"] = "EARNING_TRUST";
50
+ })(SkillAreaTypes || (SkillAreaTypes = {}));
51
+
52
+ class UniversalSkillsService {
53
+ constructor() {
54
+ this.translationContext = 'UNIVERSAL_SKILLS_REPORT.';
55
+ this.staticSkillAreaGroupMap = [
56
+ [
57
+ SkillAreaTypes.BusinessSavvy,
58
+ SkillAreaTypes.StrategicPerspective,
59
+ SkillAreaTypes.CustomerFocus,
60
+ SkillAreaTypes.NavigatingComplexity,
61
+ SkillAreaTypes.AgileDecisionMaking,
62
+ SkillAreaTypes.EmbracingInnovation,
63
+ SkillAreaTypes.PlanningAndPrioritizing,
64
+ SkillAreaTypes.OrganizingResources,
65
+ SkillAreaTypes.DrivingResults,
66
+ ],
67
+ [
68
+ SkillAreaTypes.WorkingCollaboratively,
69
+ SkillAreaTypes.SocialAgility,
70
+ SkillAreaTypes.CommunicatingEffectively,
71
+ SkillAreaTypes.HandlingConflict,
72
+ SkillAreaTypes.ValuingDiversity,
73
+ SkillAreaTypes.DevelopingOthers,
74
+ ],
75
+ [
76
+ SkillAreaTypes.ShowingResilience,
77
+ SkillAreaTypes.NavigatingAmbiguity,
78
+ SkillAreaTypes.SelfAwareness,
79
+ SkillAreaTypes.SelfDevelopment,
80
+ SkillAreaTypes.EarningTrust,
81
+ SkillAreaTypes.BeingBold,
82
+ ],
83
+ ];
84
+ }
85
+ initializeSkillAreaGroupMap() {
86
+ this.skillAreaGroupMap = {
87
+ [SkillAreaGroupTypes.FocusingOnObjectives]: {
88
+ title: `${this.translationContext}SKILL_AREA_GROUP_TYPES.FOCUSING_ON_OBJECTIVES.TITLE`,
89
+ description: `${this.translationContext}SKILL_AREA_GROUP_TYPES.FOCUSING_ON_OBJECTIVES.DESCRIPTION`,
90
+ skillAreaList: [],
91
+ },
92
+ [SkillAreaGroupTypes.WorkingWithPeople]: {
93
+ title: `${this.translationContext}SKILL_AREA_GROUP_TYPES.WORKING_WITH_PEOPLE.TITLE`,
94
+ description: `${this.translationContext}SKILL_AREA_GROUP_TYPES.WORKING_WITH_PEOPLE.DESCRIPTION`,
95
+ skillAreaList: [],
96
+ },
97
+ [SkillAreaGroupTypes.ManagingOnesSelf]: {
98
+ title: `${this.translationContext}SKILL_AREA_GROUP_TYPES.MANAGING_ONES_SELF.TITLE`,
99
+ description: `${this.translationContext}SKILL_AREA_GROUP_TYPES.MANAGING_ONES_SELF.DESCRIPTION`,
100
+ skillAreaList: [],
101
+ },
102
+ };
103
+ }
104
+ prepareSkillAreaGroupMap(skillAreaDataList) {
105
+ skillAreaDataList?.forEach(currentItem => {
106
+ const formattedSkillAreaType = currentItem.skillAreaName;
107
+ if (this.staticSkillAreaGroupMap[0].includes(formattedSkillAreaType)) {
108
+ this.skillAreaGroupMap[SkillAreaGroupTypes.FocusingOnObjectives]?.skillAreaList?.push(currentItem);
109
+ }
110
+ if (this.staticSkillAreaGroupMap[1].includes(formattedSkillAreaType)) {
111
+ this.skillAreaGroupMap[SkillAreaGroupTypes.WorkingWithPeople]?.skillAreaList?.push(currentItem);
112
+ }
113
+ if (this.staticSkillAreaGroupMap[2].includes(formattedSkillAreaType)) {
114
+ this.skillAreaGroupMap[SkillAreaGroupTypes.ManagingOnesSelf]?.skillAreaList?.push(currentItem);
115
+ }
116
+ });
117
+ }
118
+ getSkillAreaGroupMap() {
119
+ return this.skillAreaGroupMap;
120
+ }
121
+ getStaticSkillAreaGroupMap() {
122
+ return this.staticSkillAreaGroupMap;
123
+ }
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
125
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsService, providedIn: 'root' }); }
126
+ }
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsService, decorators: [{
128
+ type: Injectable,
129
+ args: [{
130
+ providedIn: 'root',
131
+ }]
132
+ }] });
133
+
134
+ class UniversalSkillsReportComponent {
135
+ constructor(defaultAppTheme, universalSkillsService) {
136
+ this.defaultAppTheme = defaultAppTheme;
137
+ this.universalSkillsService = universalSkillsService;
138
+ /**
139
+ * Defines the application theme
140
+ * @property applicationTheme
141
+ * @type {ApplicationTheme}
142
+ * @memberof UniversalSkillsReportComponent
143
+ */
144
+ this.applicationTheme = 'light';
145
+ this.translationContext = 'UNIVERSAL_SKILLS_REPORT.';
146
+ if (defaultAppTheme) {
147
+ this.applicationTheme = defaultAppTheme;
148
+ }
149
+ }
150
+ ngOnInit() {
151
+ this.universalSkillsService.initializeSkillAreaGroupMap();
152
+ this.universalSkillsService.prepareSkillAreaGroupMap(this.skillAreaDataList);
153
+ this.skillAreaGroupMap = this.universalSkillsService.getSkillAreaGroupMap();
154
+ }
155
+ getScoreBadgeLabel(percentileScoring) {
156
+ return `PERCENTILE_LABEL_TYPES.${this.checkScoreClassification([percentileScoring, true])}`;
157
+ }
158
+ getScoreBadgeColor(percentileScoring) {
159
+ return this.checkScoreClassification([percentileScoring, false]);
160
+ }
161
+ checkScoreClassification([percentileScoring, isLabelRequest]) {
162
+ let scoreBadgeLabel = '';
163
+ let scoreBadgeColor = RebrandBadgeColorEnum.BLUE_10;
164
+ if (percentileScoring >= 1 && percentileScoring <= 19) {
165
+ scoreBadgeLabel = 'WELL_BELOW_AVERAGE';
166
+ scoreBadgeColor = RebrandBadgeColorEnum.GREY_30;
167
+ }
168
+ if (percentileScoring >= 20 && percentileScoring <= 39) {
169
+ scoreBadgeLabel = 'BELOW_AVERAGE';
170
+ scoreBadgeColor = RebrandBadgeColorEnum.GREY_10;
171
+ }
172
+ if (percentileScoring >= 40 && percentileScoring <= 59) {
173
+ scoreBadgeLabel = 'AVERAGE';
174
+ scoreBadgeColor = RebrandBadgeColorEnum.BLUE_10;
175
+ }
176
+ if (percentileScoring >= 60 && percentileScoring <= 79) {
177
+ scoreBadgeLabel = 'ABOVE_AVERAGE';
178
+ scoreBadgeColor = RebrandBadgeColorEnum.BLUE_20;
179
+ }
180
+ if (percentileScoring >= 80 && percentileScoring <= 100) {
181
+ scoreBadgeLabel = 'WELL_ABOVE_AVERAGE';
182
+ scoreBadgeColor = RebrandBadgeColorEnum.BLUE_40;
183
+ }
184
+ return isLabelRequest ? scoreBadgeLabel : scoreBadgeColor;
185
+ }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsReportComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: UniversalSkillsService }], target: i0.ɵɵFactoryTarget.Component }); }
187
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: UniversalSkillsReportComponent, isStandalone: false, selector: "ui-universal-skills-report", inputs: { applicationTheme: "applicationTheme", skillAreaDataList: "skillAreaDataList" }, ngImport: i0, template: "<div\n *ngFor=\"let skillAreaGroup of skillAreaGroupMap | keyvalue\"\n class=\"universal-skills-report\"\n>\n <section class=\"title-and-info\">\n <h4>{{skillAreaGroup.value.title | uiTranslate | async}}</h4>\n <span>{{skillAreaGroup.value.description | uiTranslate | async}}</span>\n </section>\n\n <section class=\"accordion-items\">\n <ui-accordion\n *ngFor=\"let skillAreaData of skillAreaGroup?.value?.skillAreaList\"\n class=\"universal-skills-accordion\"\n label=\"-\"\n [allowCustomHeader]=\"true\"\n >\n <div\n customHeader\n class=\"custom-header\"\n >\n <h4 class=\"custom-header-subtitle\">{{ (translationContext + 'SKILL_AREA_TYPES.' + skillAreaData.skillAreaName + '.TITLE') | uiTranslate | async}}</h4>\n\n <div class=\"inner-container\">\n <ui-badge\n class=\"percentile-scoring-badge\"\n [label]=\"((skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeLabel : this) | uiTranslate | async) || 'neutral'\"\n [rebrandColor]=\"skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeColor : this\"\n [applicationTheme]=\"'light'\"\n ></ui-badge>\n\n <h5 class=\"percentile-quantity\">\n {{skillAreaData?.percentileScoring}}\n <sup class=\"percentile-suffix\">{{(skillAreaData.percentileScoring | ordinalSuffix) | uiTranslate | async}}</sup>\n {{(translationContext + 'PERCENTILE') | uiTranslate | async}}\n </h5>\n\n <ui-progress-bar\n class=\"percentile-scoring-bar\"\n mode=\"determinate\"\n [progress]=\"skillAreaData.percentileScoring\"\n ></ui-progress-bar>\n </div>\n </div>\n\n <div class=\"content-container\">\n <p class=\"skill-description\">{{ (translationContext + 'SKILL_AREA_TYPES.' + skillAreaData.skillAreaName + '.DESCRIPTION') | uiTranslate | async}}</p>\n\n <h5>{{(skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeLabel : this) | uiTranslate | async}} score</h5>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.GENERAL')\n | uiTranslate | async}}</p>\n </div>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.WORK_ENVIRONMENT')\n | uiTranslate | async}}</p>\n </div>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.RECOMMENDATIONS')\n | uiTranslate | async}}</p>\n </div>\n </div>\n </ui-accordion>\n </section>\n</div>\n\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.universal-skills-report{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:2.2rem}.universal-skills-report:last-of-type{margin-bottom:0}.universal-skills-report .title-and-info{width:100%;display:flex;flex-direction:column;gap:.7rem}.universal-skills-report .accordion-items{width:100%;display:flex;flex-direction:column;gap:.6rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .custom-header-subtitle{font-weight:400}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container{width:70%;max-width:450px;display:flex;justify-content:space-between;align-items:center;gap:1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-scoring-badge{width:126px;display:flex;justify-content:center}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-quantity{margin-top:-.4rem;white-space:nowrap}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-quantity .percentile-suffix{font-size:8px;line-height:22px;font-weight:700;margin-left:-.1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-scoring-bar{width:180px;height:8px}@media (max-width: 600px){.universal-skills-report .accordion-items .universal-skills-accordion .custom-header{flex-direction:column;align-items:flex-start;min-height:60px}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .custom-header-subtitle{white-space:nowrap}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container{width:100%;max-width:none;position:absolute;top:45px;left:0;padding:0 1.5rem 0 1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-scoring-badge{justify-content:flex-start}}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel{border:1px solid #D3D3D3}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body{background-color:transparent}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container{display:flex;flex-direction:column;gap:1rem}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container p{line-height:21px;margin:0}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container .skill-description{color:#666;line-height:22px;margin:.5rem 0}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container .inner-container{background-color:#f4f4f4;padding:1rem;border-radius:10px;display:flex;flex-direction:column;gap:1rem}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.AccordionComponent, selector: "ui-accordion", inputs: ["label", "open", "disabled", "showPremiumIcon", "premiumTooltipText", "applicationTheme", "labelIcon", "variant", "allowCustomHeader", "noBackgroundColor", "toggleIconPosition"], outputs: ["closed", "opened"] }, { kind: "component", type: i4.BadgeComponent, selector: "ui-badge", inputs: ["label", "icon", "color", "variant", "notificationsAmount", "applicationTheme", "rebrandColor", "truncateLabel", "enableAnimation"] }, { kind: "component", type: i5.ProgressBarComponent, selector: "ui-progress-bar", inputs: ["companyColor", "progress", "mode", "buffer", "applicationTheme", "ariaLabel", "ariaDescribedBy", "showPercentage"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: i6.MemoizeFuncPipe, name: "memoizeFunc" }, { kind: "pipe", type: i6.UiTranslatePipe, name: "uiTranslate" }, { kind: "pipe", type: i6.OrdinalSuffixPipe, name: "ordinalSuffix" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
188
+ }
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsReportComponent, decorators: [{
190
+ type: Component,
191
+ args: [{ selector: 'ui-universal-skills-report', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n *ngFor=\"let skillAreaGroup of skillAreaGroupMap | keyvalue\"\n class=\"universal-skills-report\"\n>\n <section class=\"title-and-info\">\n <h4>{{skillAreaGroup.value.title | uiTranslate | async}}</h4>\n <span>{{skillAreaGroup.value.description | uiTranslate | async}}</span>\n </section>\n\n <section class=\"accordion-items\">\n <ui-accordion\n *ngFor=\"let skillAreaData of skillAreaGroup?.value?.skillAreaList\"\n class=\"universal-skills-accordion\"\n label=\"-\"\n [allowCustomHeader]=\"true\"\n >\n <div\n customHeader\n class=\"custom-header\"\n >\n <h4 class=\"custom-header-subtitle\">{{ (translationContext + 'SKILL_AREA_TYPES.' + skillAreaData.skillAreaName + '.TITLE') | uiTranslate | async}}</h4>\n\n <div class=\"inner-container\">\n <ui-badge\n class=\"percentile-scoring-badge\"\n [label]=\"((skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeLabel : this) | uiTranslate | async) || 'neutral'\"\n [rebrandColor]=\"skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeColor : this\"\n [applicationTheme]=\"'light'\"\n ></ui-badge>\n\n <h5 class=\"percentile-quantity\">\n {{skillAreaData?.percentileScoring}}\n <sup class=\"percentile-suffix\">{{(skillAreaData.percentileScoring | ordinalSuffix) | uiTranslate | async}}</sup>\n {{(translationContext + 'PERCENTILE') | uiTranslate | async}}\n </h5>\n\n <ui-progress-bar\n class=\"percentile-scoring-bar\"\n mode=\"determinate\"\n [progress]=\"skillAreaData.percentileScoring\"\n ></ui-progress-bar>\n </div>\n </div>\n\n <div class=\"content-container\">\n <p class=\"skill-description\">{{ (translationContext + 'SKILL_AREA_TYPES.' + skillAreaData.skillAreaName + '.DESCRIPTION') | uiTranslate | async}}</p>\n\n <h5>{{(skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeLabel : this) | uiTranslate | async}} score</h5>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.GENERAL')\n | uiTranslate | async}}</p>\n </div>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.WORK_ENVIRONMENT')\n | uiTranslate | async}}</p>\n </div>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.RECOMMENDATIONS')\n | uiTranslate | async}}</p>\n </div>\n </div>\n </ui-accordion>\n </section>\n</div>\n\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.universal-skills-report{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:2.2rem}.universal-skills-report:last-of-type{margin-bottom:0}.universal-skills-report .title-and-info{width:100%;display:flex;flex-direction:column;gap:.7rem}.universal-skills-report .accordion-items{width:100%;display:flex;flex-direction:column;gap:.6rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .custom-header-subtitle{font-weight:400}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container{width:70%;max-width:450px;display:flex;justify-content:space-between;align-items:center;gap:1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-scoring-badge{width:126px;display:flex;justify-content:center}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-quantity{margin-top:-.4rem;white-space:nowrap}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-quantity .percentile-suffix{font-size:8px;line-height:22px;font-weight:700;margin-left:-.1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-scoring-bar{width:180px;height:8px}@media (max-width: 600px){.universal-skills-report .accordion-items .universal-skills-accordion .custom-header{flex-direction:column;align-items:flex-start;min-height:60px}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .custom-header-subtitle{white-space:nowrap}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container{width:100%;max-width:none;position:absolute;top:45px;left:0;padding:0 1.5rem 0 1rem}.universal-skills-report .accordion-items .universal-skills-accordion .custom-header .inner-container .percentile-scoring-badge{justify-content:flex-start}}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel{border:1px solid #D3D3D3}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body{background-color:transparent}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container{display:flex;flex-direction:column;gap:1rem}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container p{line-height:21px;margin:0}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container .skill-description{color:#666;line-height:22px;margin:.5rem 0}.universal-skills-report .accordion-items .universal-skills-accordion ::ng-deep .mat-accordion .mat-expansion-panel .mat-expansion-panel-body .content-container .inner-container{background-color:#f4f4f4;padding:1rem;border-radius:10px;display:flex;flex-direction:column;gap:1rem}\n"] }]
192
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
193
+ type: Optional
194
+ }, {
195
+ type: Inject,
196
+ args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
197
+ }] }, { type: UniversalSkillsService }], propDecorators: { applicationTheme: [{
198
+ type: Input
199
+ }], skillAreaDataList: [{
200
+ type: Input
201
+ }] } });
202
+
203
+ class UniversalSkillsReportComponentModule {
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsReportComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
205
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsReportComponentModule, declarations: [UniversalSkillsReportComponent], imports: [CommonModule,
206
+ AccordionComponentModule,
207
+ BadgeComponentModule,
208
+ ProgressBarComponentModule,
209
+ MemoizeFuncPipe,
210
+ UiTranslatePipe,
211
+ OrdinalSuffixPipe,
212
+ KeyValuePipe], exports: [UniversalSkillsReportComponent] }); }
213
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsReportComponentModule, imports: [CommonModule,
214
+ AccordionComponentModule,
215
+ BadgeComponentModule,
216
+ ProgressBarComponentModule] }); }
217
+ }
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsReportComponentModule, decorators: [{
219
+ type: NgModule,
220
+ args: [{
221
+ declarations: [UniversalSkillsReportComponent],
222
+ imports: [
223
+ CommonModule,
224
+ AccordionComponentModule,
225
+ BadgeComponentModule,
226
+ ProgressBarComponentModule,
227
+ MemoizeFuncPipe,
228
+ UiTranslatePipe,
229
+ OrdinalSuffixPipe,
230
+ KeyValuePipe,
231
+ ],
232
+ exports: [UniversalSkillsReportComponent]
233
+ }]
234
+ }] });
235
+
236
+ class UniversalSkillsSpiderChartsComponent {
237
+ constructor(defaultAppTheme, universalSkillsService, uiTranslatePipe) {
238
+ this.defaultAppTheme = defaultAppTheme;
239
+ this.universalSkillsService = universalSkillsService;
240
+ this.uiTranslatePipe = uiTranslatePipe;
241
+ /**
242
+ * Defines the application theme
243
+ * @property applicationTheme
244
+ * @type {ApplicationTheme}
245
+ * @memberof UniversalSkillsSpiderChartsComponent
246
+ */
247
+ this.applicationTheme = 'light';
248
+ /**
249
+ * Defines if the component is loading
250
+ * @property loading
251
+ * @type {boolean}
252
+ * @memberof UniversalSkillsSpiderChartsComponent
253
+ */
254
+ this.loading = false;
255
+ /**
256
+ * Defines the size of the spider chart
257
+ * @property size
258
+ * @type {'small' | 'large'}
259
+ * @memberof UniversalSkillsSpiderChartsComponent
260
+ */
261
+ this.size = 'large';
262
+ this.translationContext = 'UNIVERSAL_SKILLS_REPORT.';
263
+ this.skillAreaSpiderChartData = [];
264
+ if (defaultAppTheme) {
265
+ this.applicationTheme = defaultAppTheme;
266
+ }
267
+ }
268
+ ngOnInit() {
269
+ this.universalSkillsService.initializeSkillAreaGroupMap();
270
+ this.universalSkillsService.prepareSkillAreaGroupMap(this.skillAreaDataList);
271
+ this.skillAreaGroupMap = this.universalSkillsService.getSkillAreaGroupMap();
272
+ this.prepareSpiderChartData();
273
+ }
274
+ prepareSpiderChartData() {
275
+ this.skillAreaSpiderChartData = [];
276
+ Object.values(this.skillAreaGroupMap).forEach(skillAreaGroup => {
277
+ const labelObservables = skillAreaGroup.skillAreaList.map(skillArea => this.uiTranslatePipe.transform(`${this.translationContext}SKILL_AREA_TYPES.${skillArea.skillAreaName}.TITLE`));
278
+ const labelDescriptionObservables = skillAreaGroup.skillAreaList.map(skillArea => this.uiTranslatePipe.transform(`${this.translationContext}SKILL_AREA_TYPES.${skillArea.skillAreaName}.DESCRIPTION`));
279
+ const allObservables = [...labelObservables, ...labelDescriptionObservables];
280
+ const translations = [];
281
+ allObservables.forEach(observable => {
282
+ observable.pipe(take(1)).subscribe(translation => {
283
+ translations.push(translation);
284
+ });
285
+ });
286
+ const labels = translations.slice(0, labelObservables.length);
287
+ const labelDescriptions = translations.slice(labelObservables.length);
288
+ this.skillAreaSpiderChartData.push({
289
+ title: skillAreaGroup.title,
290
+ description: skillAreaGroup.description,
291
+ spiderChartData: {
292
+ labels: labels,
293
+ labelDescription: labelDescriptions,
294
+ plotData: skillAreaGroup.skillAreaList?.[0]?.poolPercentileScoring !== undefined
295
+ ? [
296
+ {
297
+ data: skillAreaGroup.skillAreaList.map(skillArea => skillArea.percentileScoring),
298
+ databaseLabel: "This candidate's score",
299
+ },
300
+ {
301
+ data: skillAreaGroup.skillAreaList.map(skillArea => skillArea.poolPercentileScoring ?? 0),
302
+ databaseLabel: 'Average score of all candidates',
303
+ },
304
+ ]
305
+ : [
306
+ {
307
+ data: skillAreaGroup.skillAreaList.map(skillArea => skillArea.percentileScoring),
308
+ databaseLabel: "This candidate's score",
309
+ },
310
+ ],
311
+ },
312
+ });
313
+ });
314
+ }
315
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsSpiderChartsComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: UniversalSkillsService }, { token: i6.UiTranslatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
316
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: UniversalSkillsSpiderChartsComponent, isStandalone: false, selector: "ui-universal-skills-spider-charts", inputs: { applicationTheme: "applicationTheme", skillAreaDataList: "skillAreaDataList", loading: "loading", size: "size" }, ngImport: i0, template: "@for (spiderChartData of skillAreaSpiderChartData; track spiderChartData) {\n <ui-accordion class=\"universal-skills-spider-charts\" [label]=\"(spiderChartData.title | uiTranslate | async) || ''\" variant=\"filter\">\n <ui-spider-chart [spiderChartData]=\"spiderChartData.spiderChartData\" [loading]=\"loading\" [size]=\"size\"></ui-spider-chart>\n </ui-accordion>\n @if ($index < skillAreaSpiderChartData.length - 1) {\n <ui-divider class=\"universal-skills-spider-charts-divider\" size=\"small\"></ui-divider>\n }\n}\n", styles: [".universal-skills-spider-charts ::ng-deep .accordion-wrapper[theme=light] .mat-expansion-panel .mat-expansion-panel-header .accordion-label{font-weight:700}.universal-skills-spider-charts-divider ::ng-deep .ui-divider-wrapper{margin-top:8px;margin-bottom:8px}\n"], dependencies: [{ kind: "component", type: i3.AccordionComponent, selector: "ui-accordion", inputs: ["label", "open", "disabled", "showPremiumIcon", "premiumTooltipText", "applicationTheme", "labelIcon", "variant", "allowCustomHeader", "noBackgroundColor", "toggleIconPosition"], outputs: ["closed", "opened"] }, { kind: "component", type: i4$1.SpiderChartComponent, selector: "ui-spider-chart", inputs: ["size", "spiderChartData", "stepSize", "ariaLabel", "loading", "applicationTheme"] }, { kind: "component", type: i5$1.DividerComponent, selector: "ui-divider", inputs: ["size", "companyColor", "applicationTheme", "label"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.UiTranslatePipe, name: "uiTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
317
+ }
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsSpiderChartsComponent, decorators: [{
319
+ type: Component,
320
+ args: [{ selector: 'ui-universal-skills-spider-charts', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@for (spiderChartData of skillAreaSpiderChartData; track spiderChartData) {\n <ui-accordion class=\"universal-skills-spider-charts\" [label]=\"(spiderChartData.title | uiTranslate | async) || ''\" variant=\"filter\">\n <ui-spider-chart [spiderChartData]=\"spiderChartData.spiderChartData\" [loading]=\"loading\" [size]=\"size\"></ui-spider-chart>\n </ui-accordion>\n @if ($index < skillAreaSpiderChartData.length - 1) {\n <ui-divider class=\"universal-skills-spider-charts-divider\" size=\"small\"></ui-divider>\n }\n}\n", styles: [".universal-skills-spider-charts ::ng-deep .accordion-wrapper[theme=light] .mat-expansion-panel .mat-expansion-panel-header .accordion-label{font-weight:700}.universal-skills-spider-charts-divider ::ng-deep .ui-divider-wrapper{margin-top:8px;margin-bottom:8px}\n"] }]
321
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
322
+ type: Optional
323
+ }, {
324
+ type: Inject,
325
+ args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
326
+ }] }, { type: UniversalSkillsService }, { type: i6.UiTranslatePipe }], propDecorators: { applicationTheme: [{
327
+ type: Input
328
+ }], skillAreaDataList: [{
329
+ type: Input
330
+ }], loading: [{
331
+ type: Input
332
+ }], size: [{
333
+ type: Input
334
+ }] } });
335
+
336
+ class UniversalSkillsSpiderChartsComponentModule {
337
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsSpiderChartsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
338
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsSpiderChartsComponentModule, declarations: [UniversalSkillsSpiderChartsComponent], imports: [CommonModule,
339
+ AccordionComponentModule,
340
+ BadgeComponentModule,
341
+ ProgressBarComponentModule,
342
+ SpiderChartComponentModule,
343
+ DividerComponentModule,
344
+ MemoizeFuncPipe,
345
+ UiTranslatePipe,
346
+ OrdinalSuffixPipe,
347
+ KeyValuePipe], exports: [UniversalSkillsSpiderChartsComponent] }); }
348
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsSpiderChartsComponentModule, providers: [UiTranslatePipe], imports: [CommonModule,
349
+ AccordionComponentModule,
350
+ BadgeComponentModule,
351
+ ProgressBarComponentModule,
352
+ SpiderChartComponentModule,
353
+ DividerComponentModule] }); }
354
+ }
355
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: UniversalSkillsSpiderChartsComponentModule, decorators: [{
356
+ type: NgModule,
357
+ args: [{
358
+ declarations: [UniversalSkillsSpiderChartsComponent],
359
+ imports: [
360
+ CommonModule,
361
+ AccordionComponentModule,
362
+ BadgeComponentModule,
363
+ ProgressBarComponentModule,
364
+ SpiderChartComponentModule,
365
+ DividerComponentModule,
366
+ MemoizeFuncPipe,
367
+ UiTranslatePipe,
368
+ OrdinalSuffixPipe,
369
+ KeyValuePipe,
370
+ ],
371
+ providers: [UiTranslatePipe],
372
+ exports: [UniversalSkillsSpiderChartsComponent],
373
+ }]
374
+ }] });
375
+
376
+ /**
377
+ * Generated bundle index. Do not edit.
378
+ */
379
+
380
+ export { SkillAreaGroupTypes, SkillAreaTypes, UniversalSkillsReportComponent, UniversalSkillsReportComponentModule, UniversalSkillsService, UniversalSkillsSpiderChartsComponent, UniversalSkillsSpiderChartsComponentModule };
381
+ //# sourceMappingURL=testgorilla-tgo-ui-components-universal-skills.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testgorilla-tgo-ui-components-universal-skills.mjs","sources":["../../../components/universal-skills/universal-skills-report.model.ts","../../../components/universal-skills/universal-skills.service.ts","../../../components/universal-skills/universal-skills-report.component.ts","../../../components/universal-skills/universal-skills-report.component.html","../../../components/universal-skills/universal-skills-report.component.module.ts","../../../components/universal-skills/spider-charts/universal-skills-spider-charts.component.ts","../../../components/universal-skills/spider-charts/universal-skills-spider-charts.component.html","../../../components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.ts","../../../components/universal-skills/testgorilla-tgo-ui-components-universal-skills.ts"],"sourcesContent":["import { SpiderChartData } from '@testgorilla/tgo-ui/components/spider-chart';\n\nexport interface SkillAreaGroup {\n title: string;\n description: string;\n skillAreaList: SkillAreaData[];\n}\n\nexport interface SkillAreaSpiderChartData {\n title: string;\n description: string;\n spiderChartData: SpiderChartData;\n}\n\nexport interface SkillAreaData {\n percentileScoring: number;\n poolPercentileScoring?: number;\n skillAreaName: SkillAreaTypes;\n}\n\n//TODO Update this model after backend/endpoint definitions\nexport enum SkillAreaGroupTypes {\n FocusingOnObjectives = 1,\n WorkingWithPeople = 2,\n ManagingOnesSelf = 3,\n}\n\n//TODO Update this model after backend/endpoint definitions\nexport enum SkillAreaTypes {\n BusinessSavvy = 'BUSINESS_SAVVY',\n StrategicPerspective = 'STRATEGIC_PERSPECTIVE',\n CustomerFocus = 'CUSTOMER_FOCUS',\n NavigatingComplexity = 'NAVIGATING_COMPLEXITY',\n AgileDecisionMaking = 'AGILE_DECISION_MAKING',\n EmbracingInnovation = 'EMBRACING_INNOVATION',\n PlanningAndPrioritizing = 'PLANNING_AND_PRIORITIZING',\n OrganizingResources = 'ORGANIZING_RESOURCES',\n DrivingResults = 'DRIVING_RESULTS',\n\n WorkingCollaboratively = 'WORKING_COLLABORATIVELY',\n SocialAgility = 'SOCIAL_AGILITY',\n CommunicatingEffectively = 'COMMUNICATING_EFFECTIVELY',\n HandlingConflict = 'HANDLING_CONFLICT',\n ValuingDiversity = 'VALUING_DIVERSITY',\n DevelopingOthers = 'DEVELOPING_OTHERS',\n\n ShowingResilience = 'SHOWING_RESILIENCE',\n NavigatingAmbiguity = 'NAVIGATING_AMBIGUITY',\n SelfAwareness = 'SELF_AWARENESS',\n SelfDevelopment = 'SELF_DEVELOPMENT',\n BeingBold = 'BEING_BOLD',\n EarningTrust = 'EARNING_TRUST',\n}\n","import { Injectable } from '@angular/core';\nimport {\n SkillAreaData,\n SkillAreaGroup,\n SkillAreaGroupTypes,\n SkillAreaTypes,\n} from './universal-skills-report.model';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class UniversalSkillsService {\n readonly translationContext = 'UNIVERSAL_SKILLS_REPORT.';\n\n private skillAreaGroupMap: Record<SkillAreaGroupTypes, SkillAreaGroup>;\n private staticSkillAreaGroupMap: SkillAreaTypes[][] = [\n [\n SkillAreaTypes.BusinessSavvy,\n SkillAreaTypes.StrategicPerspective,\n SkillAreaTypes.CustomerFocus,\n SkillAreaTypes.NavigatingComplexity,\n SkillAreaTypes.AgileDecisionMaking,\n SkillAreaTypes.EmbracingInnovation,\n SkillAreaTypes.PlanningAndPrioritizing,\n SkillAreaTypes.OrganizingResources,\n SkillAreaTypes.DrivingResults,\n ],\n [\n SkillAreaTypes.WorkingCollaboratively,\n SkillAreaTypes.SocialAgility,\n SkillAreaTypes.CommunicatingEffectively,\n SkillAreaTypes.HandlingConflict,\n SkillAreaTypes.ValuingDiversity,\n SkillAreaTypes.DevelopingOthers,\n ],\n [\n SkillAreaTypes.ShowingResilience,\n SkillAreaTypes.NavigatingAmbiguity,\n SkillAreaTypes.SelfAwareness,\n SkillAreaTypes.SelfDevelopment,\n SkillAreaTypes.EarningTrust,\n SkillAreaTypes.BeingBold,\n ],\n ];\n\n initializeSkillAreaGroupMap(): void {\n this.skillAreaGroupMap = {\n [SkillAreaGroupTypes.FocusingOnObjectives]: {\n title: `${this.translationContext}SKILL_AREA_GROUP_TYPES.FOCUSING_ON_OBJECTIVES.TITLE`,\n description: `${this.translationContext}SKILL_AREA_GROUP_TYPES.FOCUSING_ON_OBJECTIVES.DESCRIPTION`,\n skillAreaList: [],\n },\n [SkillAreaGroupTypes.WorkingWithPeople]: {\n title: `${this.translationContext}SKILL_AREA_GROUP_TYPES.WORKING_WITH_PEOPLE.TITLE`,\n description: `${this.translationContext}SKILL_AREA_GROUP_TYPES.WORKING_WITH_PEOPLE.DESCRIPTION`,\n skillAreaList: [],\n },\n [SkillAreaGroupTypes.ManagingOnesSelf]: {\n title: `${this.translationContext}SKILL_AREA_GROUP_TYPES.MANAGING_ONES_SELF.TITLE`,\n description: `${this.translationContext}SKILL_AREA_GROUP_TYPES.MANAGING_ONES_SELF.DESCRIPTION`,\n skillAreaList: [],\n },\n };\n }\n\n prepareSkillAreaGroupMap(skillAreaDataList: SkillAreaData[]): void {\n skillAreaDataList?.forEach(currentItem => {\n const formattedSkillAreaType = currentItem.skillAreaName;\n\n if (this.staticSkillAreaGroupMap[0].includes(formattedSkillAreaType)) {\n this.skillAreaGroupMap[SkillAreaGroupTypes.FocusingOnObjectives]?.skillAreaList?.push(currentItem);\n }\n\n if (this.staticSkillAreaGroupMap[1].includes(formattedSkillAreaType)) {\n this.skillAreaGroupMap[SkillAreaGroupTypes.WorkingWithPeople]?.skillAreaList?.push(currentItem);\n }\n\n if (this.staticSkillAreaGroupMap[2].includes(formattedSkillAreaType)) {\n this.skillAreaGroupMap[SkillAreaGroupTypes.ManagingOnesSelf]?.skillAreaList?.push(currentItem);\n }\n });\n }\n\n getSkillAreaGroupMap(): Record<SkillAreaGroupTypes, SkillAreaGroup> {\n return this.skillAreaGroupMap;\n }\n\n getStaticSkillAreaGroupMap(): SkillAreaTypes[][] {\n return this.staticSkillAreaGroupMap;\n }\n}\n","import { ChangeDetectionStrategy, Component, Inject, Input, OnInit, Optional } from '@angular/core';\nimport { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';\nimport { RebrandBadgeColor, RebrandBadgeColorEnum } from '@testgorilla/tgo-ui/components/badge';\nimport { SkillAreaData, SkillAreaGroup, SkillAreaGroupTypes } from './universal-skills-report.model';\nimport { UniversalSkillsService } from './universal-skills.service';\n\n@Component({\n selector: 'ui-universal-skills-report',\n templateUrl: './universal-skills-report.component.html',\n styleUrls: ['./universal-skills-report.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class UniversalSkillsReportComponent implements OnInit {\n /**\n * Defines the application theme\n * @property applicationTheme\n * @type {ApplicationTheme}\n * @memberof UniversalSkillsReportComponent\n */\n @Input() applicationTheme: ApplicationTheme = 'light';\n\n /**\n * The list of items to be used\n * @property items\n * @type {SkillAreaData[]}\n * @memberof UniversalSkillsReportComponent\n */\n @Input() skillAreaDataList: SkillAreaData[];\n\n readonly translationContext = 'UNIVERSAL_SKILLS_REPORT.';\n\n skillAreaGroupMap: Record<SkillAreaGroupTypes, SkillAreaGroup>;\n\n constructor(\n @Optional() @Inject('CANOPYUI_DEFAULT_APPLICATION_THEME') private readonly defaultAppTheme: ApplicationTheme,\n private universalSkillsService: UniversalSkillsService\n ) {\n if (defaultAppTheme) {\n this.applicationTheme = defaultAppTheme;\n }\n }\n\n ngOnInit() {\n this.universalSkillsService.initializeSkillAreaGroupMap();\n this.universalSkillsService.prepareSkillAreaGroupMap(this.skillAreaDataList);\n this.skillAreaGroupMap = this.universalSkillsService.getSkillAreaGroupMap();\n }\n\n getScoreBadgeLabel(percentileScoring: number): string {\n return `PERCENTILE_LABEL_TYPES.${this.checkScoreClassification([percentileScoring, true])}`;\n }\n\n getScoreBadgeColor(percentileScoring: number): RebrandBadgeColor {\n return this.checkScoreClassification([percentileScoring, false]) as RebrandBadgeColor;\n }\n\n checkScoreClassification([percentileScoring, isLabelRequest]: [number, boolean]): string | RebrandBadgeColor {\n let scoreBadgeLabel = '';\n let scoreBadgeColor: RebrandBadgeColor = RebrandBadgeColorEnum.BLUE_10;\n\n if (percentileScoring >= 1 && percentileScoring <= 19) {\n scoreBadgeLabel = 'WELL_BELOW_AVERAGE';\n scoreBadgeColor = RebrandBadgeColorEnum.GREY_30;\n }\n\n if (percentileScoring >= 20 && percentileScoring <= 39) {\n scoreBadgeLabel = 'BELOW_AVERAGE';\n scoreBadgeColor = RebrandBadgeColorEnum.GREY_10;\n }\n\n if (percentileScoring >= 40 && percentileScoring <= 59) {\n scoreBadgeLabel = 'AVERAGE';\n scoreBadgeColor = RebrandBadgeColorEnum.BLUE_10;\n }\n\n if (percentileScoring >= 60 && percentileScoring <= 79) {\n scoreBadgeLabel = 'ABOVE_AVERAGE';\n scoreBadgeColor = RebrandBadgeColorEnum.BLUE_20;\n }\n\n if (percentileScoring >= 80 && percentileScoring <= 100) {\n scoreBadgeLabel = 'WELL_ABOVE_AVERAGE';\n scoreBadgeColor = RebrandBadgeColorEnum.BLUE_40;\n }\n\n return isLabelRequest ? scoreBadgeLabel : scoreBadgeColor;\n }\n}\n","<div\n *ngFor=\"let skillAreaGroup of skillAreaGroupMap | keyvalue\"\n class=\"universal-skills-report\"\n>\n <section class=\"title-and-info\">\n <h4>{{skillAreaGroup.value.title | uiTranslate | async}}</h4>\n <span>{{skillAreaGroup.value.description | uiTranslate | async}}</span>\n </section>\n\n <section class=\"accordion-items\">\n <ui-accordion\n *ngFor=\"let skillAreaData of skillAreaGroup?.value?.skillAreaList\"\n class=\"universal-skills-accordion\"\n label=\"-\"\n [allowCustomHeader]=\"true\"\n >\n <div\n customHeader\n class=\"custom-header\"\n >\n <h4 class=\"custom-header-subtitle\">{{ (translationContext + 'SKILL_AREA_TYPES.' + skillAreaData.skillAreaName + '.TITLE') | uiTranslate | async}}</h4>\n\n <div class=\"inner-container\">\n <ui-badge\n class=\"percentile-scoring-badge\"\n [label]=\"((skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeLabel : this) | uiTranslate | async) || 'neutral'\"\n [rebrandColor]=\"skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeColor : this\"\n [applicationTheme]=\"'light'\"\n ></ui-badge>\n\n <h5 class=\"percentile-quantity\">\n {{skillAreaData?.percentileScoring}}\n <sup class=\"percentile-suffix\">{{(skillAreaData.percentileScoring | ordinalSuffix) | uiTranslate | async}}</sup>\n {{(translationContext + 'PERCENTILE') | uiTranslate | async}}\n </h5>\n\n <ui-progress-bar\n class=\"percentile-scoring-bar\"\n mode=\"determinate\"\n [progress]=\"skillAreaData.percentileScoring\"\n ></ui-progress-bar>\n </div>\n </div>\n\n <div class=\"content-container\">\n <p class=\"skill-description\">{{ (translationContext + 'SKILL_AREA_TYPES.' + skillAreaData.skillAreaName + '.DESCRIPTION') | uiTranslate | async}}</p>\n\n <h5>{{(skillAreaData.percentileScoring | memoizeFunc : getScoreBadgeLabel : this) | uiTranslate | async}} score</h5>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.GENERAL')\n | uiTranslate | async}}</p>\n </div>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.WORK_ENVIRONMENT')\n | uiTranslate | async}}</p>\n </div>\n\n <div class=\"inner-container\">\n <p>{{ (translationContext +\n 'SKILL_AREA_TYPES.' +\n skillAreaData.skillAreaName + '.' +\n ([skillAreaData.percentileScoring, true] | memoizeFunc : checkScoreClassification : this) +\n '.RECOMMENDATIONS')\n | uiTranslate | async}}</p>\n </div>\n </div>\n </ui-accordion>\n </section>\n</div>\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule, KeyValuePipe } from '@angular/common';\nimport { UniversalSkillsReportComponent } from './universal-skills-report.component';\nimport { AccordionComponentModule } from '@testgorilla/tgo-ui/components/accordion';\nimport { BadgeComponentModule } from '@testgorilla/tgo-ui/components/badge';\nimport { ProgressBarComponentModule } from '@testgorilla/tgo-ui/components/progress-bar';\nimport { MemoizeFuncPipe, UiTranslatePipe, OrdinalSuffixPipe } from '@testgorilla/tgo-ui/components/core';\n\n@NgModule({\n declarations: [UniversalSkillsReportComponent],\n imports: [\n CommonModule,\n AccordionComponentModule,\n BadgeComponentModule,\n ProgressBarComponentModule,\n MemoizeFuncPipe,\n UiTranslatePipe,\n OrdinalSuffixPipe,\n KeyValuePipe,\n ],\n exports: [UniversalSkillsReportComponent]\n})\nexport class UniversalSkillsReportComponentModule {\n}\n","import { ChangeDetectionStrategy, Component, Inject, Input, OnInit, Optional } from '@angular/core';\nimport { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';\nimport {\n SkillAreaData,\n SkillAreaGroup,\n SkillAreaGroupTypes,\n SkillAreaSpiderChartData,\n} from '../universal-skills-report.model';\nimport { UniversalSkillsService } from '../universal-skills.service';\nimport { UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';\nimport { forkJoin, take } from 'rxjs';\n\n@Component({\n selector: 'ui-universal-skills-spider-charts',\n templateUrl: './universal-skills-spider-charts.component.html',\n styleUrls: ['./universal-skills-spider-charts.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class UniversalSkillsSpiderChartsComponent implements OnInit {\n /**\n * Defines the application theme\n * @property applicationTheme\n * @type {ApplicationTheme}\n * @memberof UniversalSkillsSpiderChartsComponent\n */\n @Input() applicationTheme: ApplicationTheme = 'light';\n\n /**\n * The list of items to be used\n * @property items\n * @type {SkillAreaData[]}\n * @memberof UniversalSkillsReportComponent\n */\n @Input() skillAreaDataList: SkillAreaData[];\n\n /**\n * Defines if the component is loading\n * @property loading\n * @type {boolean}\n * @memberof UniversalSkillsSpiderChartsComponent\n */\n @Input() loading: boolean = false;\n\n /**\n * Defines the size of the spider chart\n * @property size\n * @type {'small' | 'large'}\n * @memberof UniversalSkillsSpiderChartsComponent\n */\n @Input() size: 'small' | 'large' = 'large';\n\n readonly translationContext = 'UNIVERSAL_SKILLS_REPORT.';\n\n skillAreaGroupMap: Record<SkillAreaGroupTypes, SkillAreaGroup>;\n skillAreaSpiderChartData: SkillAreaSpiderChartData[] = [];\n\n constructor(\n @Optional() @Inject('CANOPYUI_DEFAULT_APPLICATION_THEME') private readonly defaultAppTheme: ApplicationTheme,\n private universalSkillsService: UniversalSkillsService,\n private uiTranslatePipe: UiTranslatePipe\n ) {\n if (defaultAppTheme) {\n this.applicationTheme = defaultAppTheme;\n }\n }\n\n ngOnInit() {\n this.universalSkillsService.initializeSkillAreaGroupMap();\n this.universalSkillsService.prepareSkillAreaGroupMap(this.skillAreaDataList);\n this.skillAreaGroupMap = this.universalSkillsService.getSkillAreaGroupMap();\n this.prepareSpiderChartData();\n }\n\n prepareSpiderChartData(): void {\n this.skillAreaSpiderChartData = [];\n Object.values(this.skillAreaGroupMap).forEach(skillAreaGroup => {\n const labelObservables = skillAreaGroup.skillAreaList.map(skillArea =>\n this.uiTranslatePipe.transform(`${this.translationContext}SKILL_AREA_TYPES.${skillArea.skillAreaName}.TITLE`)\n );\n\n const labelDescriptionObservables = skillAreaGroup.skillAreaList.map(skillArea =>\n this.uiTranslatePipe.transform(\n `${this.translationContext}SKILL_AREA_TYPES.${skillArea.skillAreaName}.DESCRIPTION`\n )\n );\n\n const allObservables = [...labelObservables, ...labelDescriptionObservables];\n const translations: string[] = [];\n allObservables.forEach(observable => {\n observable.pipe(take(1)).subscribe(translation => {\n translations.push(translation);\n });\n });\n const labels = translations.slice(0, labelObservables.length);\n const labelDescriptions = translations.slice(labelObservables.length);\n\n this.skillAreaSpiderChartData.push({\n title: skillAreaGroup.title,\n description: skillAreaGroup.description,\n spiderChartData: {\n labels: labels,\n labelDescription: labelDescriptions,\n plotData:\n skillAreaGroup.skillAreaList?.[0]?.poolPercentileScoring !== undefined\n ? [\n {\n data: skillAreaGroup.skillAreaList.map(skillArea => skillArea.percentileScoring),\n databaseLabel: \"This candidate's score\",\n },\n {\n data: skillAreaGroup.skillAreaList.map(skillArea => skillArea.poolPercentileScoring ?? 0),\n databaseLabel: 'Average score of all candidates',\n },\n ]\n : [\n {\n data: skillAreaGroup.skillAreaList.map(skillArea => skillArea.percentileScoring),\n databaseLabel: \"This candidate's score\",\n },\n ],\n },\n });\n });\n }\n}\n","@for (spiderChartData of skillAreaSpiderChartData; track spiderChartData) {\n <ui-accordion class=\"universal-skills-spider-charts\" [label]=\"(spiderChartData.title | uiTranslate | async) || ''\" variant=\"filter\">\n <ui-spider-chart [spiderChartData]=\"spiderChartData.spiderChartData\" [loading]=\"loading\" [size]=\"size\"></ui-spider-chart>\n </ui-accordion>\n @if ($index < skillAreaSpiderChartData.length - 1) {\n <ui-divider class=\"universal-skills-spider-charts-divider\" size=\"small\"></ui-divider>\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule, KeyValuePipe } from '@angular/common';\nimport { UniversalSkillsSpiderChartsComponent } from './universal-skills-spider-charts.component';\nimport { AccordionComponentModule } from '@testgorilla/tgo-ui/components/accordion';\nimport { BadgeComponentModule } from '@testgorilla/tgo-ui/components/badge';\nimport { ProgressBarComponentModule } from '@testgorilla/tgo-ui/components/progress-bar';\nimport { MemoizeFuncPipe, UiTranslatePipe, OrdinalSuffixPipe } from '@testgorilla/tgo-ui/components/core';\nimport { SpiderChartComponentModule } from '@testgorilla/tgo-ui/components/spider-chart';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\n\n@NgModule({\n declarations: [UniversalSkillsSpiderChartsComponent],\n imports: [\n CommonModule,\n AccordionComponentModule,\n BadgeComponentModule,\n ProgressBarComponentModule,\n SpiderChartComponentModule,\n DividerComponentModule,\n MemoizeFuncPipe,\n UiTranslatePipe,\n OrdinalSuffixPipe,\n KeyValuePipe,\n ],\n providers: [UiTranslatePipe],\n exports: [UniversalSkillsSpiderChartsComponent],\n})\nexport class UniversalSkillsSpiderChartsComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.UniversalSkillsService","i2","i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA;IACY;AAAZ,CAAA,UAAY,mBAAmB,EAAA;AAC7B,IAAA,mBAAA,CAAA,mBAAA,CAAA,sBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,sBAAwB;AACxB,IAAA,mBAAA,CAAA,mBAAA,CAAA,mBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,mBAAqB;AACrB,IAAA,mBAAA,CAAA,mBAAA,CAAA,kBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,kBAAoB;AACtB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,GAI9B,EAAA,CAAA,CAAA;AAED;IACY;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,eAAA,CAAA,GAAA,gBAAgC;AAChC,IAAA,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BAAsB;wBACtB,eAAe;wBACf,eAAe;wBACf,iBAAiB;wBACjB,YAAY;AACb,qBAAA;oBACD,SAAS,EAAE,CAAC,eAAe,CAAC;oBAC5B,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAChD,iBAAA;;;AC1BD;;AAEG;;;;"}
@@ -0,0 +1,79 @@
1
+ import * as i0 from '@angular/core';
2
+ import { HostBinding, Input, Component, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@testgorilla/tgo-ui/components/icon';
6
+ import { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';
7
+ import * as i3 from '@testgorilla/tgo-ui/components/core';
8
+ import { UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';
9
+
10
+ class ValidationErrorComponent {
11
+ constructor() {
12
+ this.touchedOn = true;
13
+ this.errorMessage = '';
14
+ /**
15
+ *
16
+ * Defines the application theme
17
+ *
18
+ * @type {ApplicationTheme}
19
+ * @memberof ValidationErrorComponent
20
+ */
21
+ this.applicationTheme = 'light';
22
+ this.translationContextErrors = 'ERRORS.';
23
+ }
24
+ getErrorValue(type) {
25
+ const ngControlErrors = this.ngControl.errors;
26
+ switch (type) {
27
+ case 'maxlength':
28
+ return ngControlErrors.maxlength.requiredLength;
29
+ case 'minlength':
30
+ return ngControlErrors.minlength.requiredLength;
31
+ case 'max':
32
+ return ngControlErrors.max.max;
33
+ case 'min':
34
+ return ngControlErrors.min.min;
35
+ default:
36
+ return 0;
37
+ }
38
+ }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ValidationErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
40
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: ValidationErrorComponent, isStandalone: false, selector: "ui-validation-error", inputs: { ngControl: "ngControl", touchedOn: "touchedOn", errorMessage: "errorMessage", label: "label", applicationTheme: "applicationTheme" }, host: { properties: { "attr.theme": "this.applicationTheme" } }, ngImport: i0, template: "<div class=\"errors\" *ngIf=\"ngControl?.hasError('maxlength')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MAX_LENGTH' | uiTranslate : { maxlength: getErrorValue('maxlength') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('minlength')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MIN_LENGTH' | uiTranslate : { maxlength: getErrorValue('minlength') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('min')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MIN' | uiTranslate : { min: getErrorValue('min') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('max')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MAX' | uiTranslate : { max: getErrorValue('max') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('required') && (touchedOn ? ngControl?.touched : true)\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + (label ? 'REQUIRED_FIELD' : 'REQUIRED') | uiTranslate : { label } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('email')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'EMAIL_INCORRECT' | uiTranslate | async }}</span>\n</div>\n\n<div class=\"custom-errors\" *ngIf=\"errorMessage\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ errorMessage }}</span>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.UiTranslatePipe, name: "uiTranslate" }] }); }
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ValidationErrorComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'ui-validation-error', standalone: false, template: "<div class=\"errors\" *ngIf=\"ngControl?.hasError('maxlength')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MAX_LENGTH' | uiTranslate : { maxlength: getErrorValue('maxlength') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('minlength')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MIN_LENGTH' | uiTranslate : { maxlength: getErrorValue('minlength') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('min')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MIN' | uiTranslate : { min: getErrorValue('min') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('max')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MAX' | uiTranslate : { max: getErrorValue('max') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('required') && (touchedOn ? ngControl?.touched : true)\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + (label ? 'REQUIRED_FIELD' : 'REQUIRED') | uiTranslate : { label } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('email')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'EMAIL_INCORRECT' | uiTranslate | async }}</span>\n</div>\n\n<div class=\"custom-errors\" *ngIf=\"errorMessage\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ errorMessage }}</span>\n</div>\n" }]
45
+ }], propDecorators: { ngControl: [{
46
+ type: Input
47
+ }], touchedOn: [{
48
+ type: Input
49
+ }], errorMessage: [{
50
+ type: Input
51
+ }], label: [{
52
+ type: Input
53
+ }], applicationTheme: [{
54
+ type: HostBinding,
55
+ args: ['attr.theme']
56
+ }, {
57
+ type: Input
58
+ }] } });
59
+
60
+ class ValidationErrorModule {
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ValidationErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
62
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: ValidationErrorModule, declarations: [ValidationErrorComponent], imports: [CommonModule, IconComponentModule, UiTranslatePipe], exports: [ValidationErrorComponent] }); }
63
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ValidationErrorModule, imports: [CommonModule, IconComponentModule] }); }
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ValidationErrorModule, decorators: [{
66
+ type: NgModule,
67
+ args: [{
68
+ declarations: [ValidationErrorComponent],
69
+ exports: [ValidationErrorComponent],
70
+ imports: [CommonModule, IconComponentModule, UiTranslatePipe],
71
+ }]
72
+ }] });
73
+
74
+ /**
75
+ * Generated bundle index. Do not edit.
76
+ */
77
+
78
+ export { ValidationErrorComponent, ValidationErrorModule };
79
+ //# sourceMappingURL=testgorilla-tgo-ui-components-validation-error.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testgorilla-tgo-ui-components-validation-error.mjs","sources":["../../../components/validation-error/validation-error.component.ts","../../../components/validation-error/validation-error.component.html","../../../components/validation-error/validation-error.module.ts","../../../components/validation-error/testgorilla-tgo-ui-components-validation-error.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { errorType } from './validation-error.model';\nimport { NgControl } from '@angular/forms';\nimport { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';\n\n@Component({\n selector: 'ui-validation-error',\n templateUrl: './validation-error.component.html',\n styleUrls: ['./validation-error.component.scss'],\n standalone: false\n})\nexport class ValidationErrorComponent {\n @Input() ngControl: NgControl;\n @Input() touchedOn = true;\n @Input() errorMessage = '';\n\n @Input() label: string | undefined | null;\n\n /**\n *\n * Defines the application theme\n *\n * @type {ApplicationTheme}\n * @memberof ValidationErrorComponent\n */\n @HostBinding('attr.theme')\n @Input()\n applicationTheme: ApplicationTheme = 'light';\n\n getErrorValue(type: errorType): number {\n const ngControlErrors: any = this.ngControl.errors;\n switch (type) {\n case 'maxlength':\n return ngControlErrors.maxlength.requiredLength;\n case 'minlength':\n return ngControlErrors.minlength.requiredLength;\n case 'max':\n return ngControlErrors.max.max;\n case 'min':\n return ngControlErrors.min.min;\n default:\n return 0;\n }\n }\n\n translationContextErrors = 'ERRORS.';\n}\n","<div class=\"errors\" *ngIf=\"ngControl?.hasError('maxlength')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MAX_LENGTH' | uiTranslate : { maxlength: getErrorValue('maxlength') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('minlength')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MIN_LENGTH' | uiTranslate : { maxlength: getErrorValue('minlength') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('min')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MIN' | uiTranslate : { min: getErrorValue('min') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('max')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'MAX' | uiTranslate : { max: getErrorValue('max') } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('required') && (touchedOn ? ngControl?.touched : true)\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + (label ? 'REQUIRED_FIELD' : 'REQUIRED') | uiTranslate : { label } | async }}</span>\n</div>\n\n<div class=\"errors\" *ngIf=\"ngControl?.hasError('email')\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ translationContextErrors + 'EMAIL_INCORRECT' | uiTranslate | async }}</span>\n</div>\n\n<div class=\"custom-errors\" *ngIf=\"errorMessage\">\n <ui-icon [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span>{{ errorMessage }}</span>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ValidationErrorComponent } from './validation-error.component';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';\n\n@NgModule({\n declarations: [ValidationErrorComponent],\n exports: [ValidationErrorComponent],\n imports: [CommonModule, IconComponentModule, UiTranslatePipe],\n})\nexport class ValidationErrorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';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