@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,299 @@
1
+ import { trigger, transition, style, animate } from '@angular/animations';
2
+ import * as i0 from '@angular/core';
3
+ import { Input, Optional, Inject, Component, Injectable, NgModule } from '@angular/core';
4
+ import * as i1 from '@angular/material/snack-bar';
5
+ import { MAT_SNACK_BAR_DATA, MatSnackBarModule } from '@angular/material/snack-bar';
6
+ import * as i7 from '@testgorilla/tgo-ui/components/core';
7
+ import { alertBarsUtil, UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';
8
+ import * as i2 from '@angular/platform-browser';
9
+ import * as i3 from '@angular/common';
10
+ import { CommonModule } from '@angular/common';
11
+ import * as i4 from '@testgorilla/tgo-ui/components/button';
12
+ import { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';
13
+ import * as i5 from '@testgorilla/tgo-ui/components/icon';
14
+ import { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';
15
+ import * as i6 from '@angular/material/tooltip';
16
+ import { MatTooltipModule } from '@angular/material/tooltip';
17
+
18
+ class SnackbarComponent {
19
+ /**
20
+ * Snackbar message from html
21
+ *
22
+ * @memberof SnackbarComponent
23
+ */
24
+ set html(value) {
25
+ if (value) {
26
+ this.safeHtml = this.domSanitizer.bypassSecurityTrustHtml(value);
27
+ }
28
+ }
29
+ constructor(defaultAppTheme, data, snackbarRef, domSanitizer) {
30
+ this.defaultAppTheme = defaultAppTheme;
31
+ this.data = data;
32
+ this.snackbarRef = snackbarRef;
33
+ this.domSanitizer = domSanitizer;
34
+ /**
35
+ * Background color of the button while in active state
36
+ *
37
+ * @type {SnackbarType}
38
+ * @memberof SnackbarComponent
39
+ */
40
+ this.snackbarType = 'success';
41
+ /**
42
+ * Snackbar message
43
+ *
44
+ * @memberof SnackbarComponent
45
+ */
46
+ this.message = '';
47
+ /**
48
+ * Set the time that the snackbar will be visible
49
+ *
50
+ * @memberof SnackbarComponent
51
+ */
52
+ this.seconds = 5;
53
+ /**
54
+ * Include dismmiss button
55
+ *
56
+ * @memberof SnackbarComponent
57
+ */
58
+ this.includeDismissButton = true;
59
+ /**
60
+ * Static or fixed position
61
+ *
62
+ * @memberof SnackbarComponent
63
+ */
64
+ this.fixed = true;
65
+ /**
66
+ * Link text that will appended at the end of message
67
+ *
68
+ * @memberof AlertBannerComponent
69
+ */
70
+ this.linkText = '';
71
+ /**
72
+ * Link target
73
+ *
74
+ * @type {@type {LinkTargetType}}
75
+ * @memberof AlertBannerComponent
76
+ */
77
+ this.linkTarget = '_blank';
78
+ /**
79
+ * The variant to be used
80
+ *
81
+ * @type {SnackbarVariant}
82
+ * @memberof SnackbarComponent
83
+ */
84
+ this.variant = 'desktop';
85
+ /**
86
+ *
87
+ * Defines the application theme
88
+ *
89
+ * @type {ApplicationTheme}
90
+ * @memberof SnackbarComponent
91
+ */
92
+ this.applicationTheme = 'light';
93
+ /**
94
+ * Close button tooltip
95
+ *
96
+ * @type {string}
97
+ * @memberof SnackbarComponent
98
+ */
99
+ this.closeButtonTooltip = '';
100
+ /**
101
+ * A string representing the ARIA requirement for accessibility.
102
+ * This attribute is used to indicate whether an input field is required for form submission.
103
+ * @type {string}
104
+ * @memberof SnackbarComponent
105
+ */
106
+ this.ariaDescribedby = '';
107
+ this.showSnackbar = true;
108
+ this.visible = false;
109
+ this.timerStartedAt = 0;
110
+ this.timerPausedAt = 0;
111
+ this.translationContext = 'SNACKBAR.';
112
+ this.maxCharacters = 70;
113
+ if (defaultAppTheme) {
114
+ this.applicationTheme = defaultAppTheme;
115
+ }
116
+ this.snackbarType = data.snackbarType ?? 'success';
117
+ this.message = data.message ?? '';
118
+ this.safeHtml = data.html ? this.domSanitizer.bypassSecurityTrustHtml(data.html) : '';
119
+ this.linkText = data.link?.text ?? '';
120
+ this.linkUrl = data.link?.url ?? '';
121
+ this.seconds = data.seconds ?? 5;
122
+ }
123
+ ngOnInit() {
124
+ this.milisenconds = this.seconds * 1000;
125
+ this.iconName = alertBarsUtil.setIcon(this.snackbarType);
126
+ this.show();
127
+ this.position = alertBarsUtil.setPosition(this.fixed);
128
+ }
129
+ //Show snackbar
130
+ show() {
131
+ this.timerStartedAt = Date.now();
132
+ this.visible = true;
133
+ this.timer = window.setTimeout(() => this.hide(), this.milisenconds);
134
+ }
135
+ //Hide snackbar
136
+ hide() {
137
+ this.visible = false;
138
+ this.timerPausedAt = 0;
139
+ this.timerStartedAt = 0;
140
+ clearTimeout(this.timer);
141
+ this.timer = undefined;
142
+ this.dismissSnackbar();
143
+ }
144
+ //Pause timer when mouse enter
145
+ onMouseEnter() {
146
+ this.visible = true;
147
+ this.timerPausedAt = Date.now();
148
+ clearTimeout(this.timer);
149
+ }
150
+ //Continue timer when mouse leave
151
+ onMouseLeave() {
152
+ const diff = this.timerPausedAt - this.timerStartedAt;
153
+ if (diff <= 0) {
154
+ return this.hide();
155
+ }
156
+ this.timer = window.setTimeout(() => this.hide(), this.milisenconds - diff);
157
+ }
158
+ //Hide snackbar when dismiss button is clicked
159
+ dismissClick() {
160
+ this.visible = false;
161
+ this.dismissSnackbar();
162
+ }
163
+ onLinkClick(event) {
164
+ event?.preventDefault();
165
+ if (this.data.link?.action) {
166
+ this.data.link?.action();
167
+ }
168
+ else if (this.data.link?.url) {
169
+ window.open(this.data.link?.url, '_blank');
170
+ }
171
+ }
172
+ dismissSnackbar() {
173
+ if (Object.keys(this.snackbarRef).length > 0) {
174
+ this.snackbarRef.dismiss();
175
+ }
176
+ }
177
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: MAT_SNACK_BAR_DATA }, { token: i1.MatSnackBarRef }, { token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
178
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SnackbarComponent, isStandalone: false, selector: "ui-snackbar", inputs: { snackbarType: "snackbarType", message: "message", html: "html", seconds: "seconds", includeDismissButton: "includeDismissButton", fixed: "fixed", linkText: "linkText", linkUrl: "linkUrl", linkTarget: "linkTarget", variant: "variant", applicationTheme: "applicationTheme", closeButtonTooltip: "closeButtonTooltip", ariaDescribedby: "ariaDescribedby" }, ngImport: i0, template: "<ng-container>\n <div\n [ngClass]=\"snackbarType + ' ' + position\"\n [@openClose]\n *ngIf=\"visible\"\n class=\"snackbar-container\"\n [attr.theme]=\"applicationTheme\"\n [class.mobile]=\"variant === 'mobile'\"\n [class.desktop]=\"variant === 'desktop'\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n data-testid=\"snackbar-wrapper\"\n [attr.data-test-snackbar-type]=\"snackbarType\"\n [attr.aria-describedby]=\"'describedby'\"\n role=\"alert\"\n [attr.aria-labelledby]=\"'labelledby'\"\n >\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{ ('ALERT_BANNER.' + (snackbarType | uppercase)) | uiTranslate | async }}</span>\n <span style=\"position: absolute; left: -9999px\">{{ message }}\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\" (click)=\"onLinkClick($event)\">{{ linkText }}</a>\n </span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div\n aria-hidden=\"true\"\n class=\"snackbar-text\"\n [matTooltip]=\"message.length > maxCharacters ? message : ''\"\n data-testid=\"snackbar-content\"\n >\n <ui-icon *ngIf=\"applicationTheme === 'classic'\" [name]=\"iconName\" size=\"24\"></ui-icon>\n {{ message.length > maxCharacters ? (message | slice: 0:maxCharacters) + '..' : message }}\n <div *ngIf=\"safeHtml\" [innerHTML]=\"safeHtml\"></div>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\" (click)=\"onLinkClick($event)\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [label]=\"(translationContext + 'DISMISS' | uiTranslate | async)!\"\n [applicationTheme]=\"applicationTheme !== 'classic' ? 'light' : 'classic'\"\n (buttonClickEvent)=\"dismissClick()\"\n data-testid=\"snackbar-dismiss-button\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic'\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"'light'\"\n [iconName]=\"'Close-in-line'\"\n [size]=\"'small'\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n data-testid=\"snackbar-dismiss-button\"\n ></ui-button>\n </div>\n</ng-container>\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}:host{display:flex;width:100%;justify-content:center}:host .snackbar-container{max-width:600px}:host .alert-container,:host .snackbar-container{margin:0 auto;display:flex;padding:0 14px;border-radius:4px;align-items:center;justify-content:space-between;opacity:1;min-height:48px}:host .alert-container.fixed,:host .snackbar-container.fixed{position:fixed}:host .alert-container.static,:host .snackbar-container.static{position:relative}:host .alert-container ui-icon,:host .snackbar-container ui-icon{margin-right:14px}:host .alert-container ui-button,:host .snackbar-container ui-button{margin-left:14px}:host .alert-container ::ng-deep button.mat-mdc-unelevated-button.big,:host .snackbar-container ::ng-deep button.mat-mdc-unelevated-button.big{padding:0;min-width:auto}:host .alert-container .alert-text,:host .alert-container .snackbar-text,:host .snackbar-container .alert-text,:host .snackbar-container .snackbar-text{display:flex;align-items:center;color:#000}:host .alert-container .alert-text a,:host .alert-container .snackbar-text a,:host .snackbar-container .alert-text a,:host .snackbar-container .snackbar-text a{color:#000;text-decoration:underline;font-weight:700}:host .alert-container .alert-text a:hover,:host .alert-container .alert-text a:visited,:host .alert-container .alert-text a:focus,:host .alert-container .snackbar-text a:hover,:host .alert-container .snackbar-text a:visited,:host .alert-container .snackbar-text a:focus,:host .snackbar-container .alert-text a:hover,:host .snackbar-container .alert-text a:visited,:host .snackbar-container .alert-text a:focus,:host .snackbar-container .snackbar-text a:hover,:host .snackbar-container .snackbar-text a:visited,:host .snackbar-container .snackbar-text a:focus{text-decoration:none}:host .alert-container.success,:host .snackbar-container.success{background-color:#cbd6cb}:host .alert-container.info,:host .snackbar-container.info{background-color:#c8d7de}:host .alert-container.warning,:host .snackbar-container.warning{background-color:#f0d6bb}:host .alert-container.error,:host .snackbar-container.error{background-color:#e3c3c6}:host .alert-container[theme=dark].success,:host .alert-container[theme=light].success,:host .snackbar-container[theme=dark].success,:host .snackbar-container[theme=light].success{background-color:#aae47a}:host .alert-container[theme=dark].info,:host .alert-container[theme=light].info,:host .snackbar-container[theme=dark].info,:host .snackbar-container[theme=light].info{background-color:#d9e8ff}:host .alert-container[theme=dark].warning,:host .alert-container[theme=light].warning,:host .snackbar-container[theme=dark].warning,:host .snackbar-container[theme=light].warning{background-color:#ffe1b3}:host .alert-container[theme=dark].error,:host .alert-container[theme=light].error,:host .snackbar-container[theme=dark].error,:host .snackbar-container[theme=light].error{background-color:#ffac9a}::ng-deep .display-none{display:none!important}@media (max-width: 600px){:host .alert-container,:host .snackbar-container{padding:8px 14px}}:host .snackbar-container{bottom:0;z-index:98}:host .snackbar-container[theme=dark] ui-icon,:host .snackbar-container[theme=light] ui-icon{margin-right:10px;cursor:pointer}:host .snackbar-container[theme=dark] .snackbar-text,:host .snackbar-container[theme=light] .snackbar-text{padding-left:10px;margin-right:8px}:host .snackbar-container[theme=dark] .snackbar-text a,:host .snackbar-container[theme=light] .snackbar-text a{margin-left:4px}:host .snackbar-container[theme=dark].desktop,:host .snackbar-container[theme=light].desktop{border-radius:24px;box-shadow:0 4px 16px #2424240a;width:fit-content;max-width:600px;min-height:48px;line-height:1.4;font-size:14px;padding:16px 24px}:host .snackbar-container[theme=dark].mobile,:host .snackbar-container[theme=light].mobile{width:100%;min-width:100%;word-break:break-word}:host .mat-mdc-snack-bar-container{margin:16px 8px}::ng-deep .mdc-snackbar__surface{height:0}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "component", type: i5.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i7.UiTranslatePipe, name: "uiTranslate" }], animations: [
179
+ trigger('openClose', [
180
+ transition(':enter', [
181
+ style({ bottom: '-55px', opacity: 0 }),
182
+ animate('0.2s ease-out', style({ opacity: 1, bottom: '10px' })),
183
+ ]),
184
+ transition(':leave', [
185
+ style({ bottom: '10px', opacity: 1 }),
186
+ animate('0.2s ease-in', style({ bottom: '-55px', opacity: 0 })),
187
+ ]),
188
+ ]),
189
+ ] }); }
190
+ }
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarComponent, decorators: [{
192
+ type: Component,
193
+ args: [{ selector: 'ui-snackbar', animations: [
194
+ trigger('openClose', [
195
+ transition(':enter', [
196
+ style({ bottom: '-55px', opacity: 0 }),
197
+ animate('0.2s ease-out', style({ opacity: 1, bottom: '10px' })),
198
+ ]),
199
+ transition(':leave', [
200
+ style({ bottom: '10px', opacity: 1 }),
201
+ animate('0.2s ease-in', style({ bottom: '-55px', opacity: 0 })),
202
+ ]),
203
+ ]),
204
+ ], standalone: false, template: "<ng-container>\n <div\n [ngClass]=\"snackbarType + ' ' + position\"\n [@openClose]\n *ngIf=\"visible\"\n class=\"snackbar-container\"\n [attr.theme]=\"applicationTheme\"\n [class.mobile]=\"variant === 'mobile'\"\n [class.desktop]=\"variant === 'desktop'\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n data-testid=\"snackbar-wrapper\"\n [attr.data-test-snackbar-type]=\"snackbarType\"\n [attr.aria-describedby]=\"'describedby'\"\n role=\"alert\"\n [attr.aria-labelledby]=\"'labelledby'\"\n >\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{ ('ALERT_BANNER.' + (snackbarType | uppercase)) | uiTranslate | async }}</span>\n <span style=\"position: absolute; left: -9999px\">{{ message }}\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\" (click)=\"onLinkClick($event)\">{{ linkText }}</a>\n </span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div\n aria-hidden=\"true\"\n class=\"snackbar-text\"\n [matTooltip]=\"message.length > maxCharacters ? message : ''\"\n data-testid=\"snackbar-content\"\n >\n <ui-icon *ngIf=\"applicationTheme === 'classic'\" [name]=\"iconName\" size=\"24\"></ui-icon>\n {{ message.length > maxCharacters ? (message | slice: 0:maxCharacters) + '..' : message }}\n <div *ngIf=\"safeHtml\" [innerHTML]=\"safeHtml\"></div>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\" (click)=\"onLinkClick($event)\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [label]=\"(translationContext + 'DISMISS' | uiTranslate | async)!\"\n [applicationTheme]=\"applicationTheme !== 'classic' ? 'light' : 'classic'\"\n (buttonClickEvent)=\"dismissClick()\"\n data-testid=\"snackbar-dismiss-button\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic'\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"'light'\"\n [iconName]=\"'Close-in-line'\"\n [size]=\"'small'\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n data-testid=\"snackbar-dismiss-button\"\n ></ui-button>\n </div>\n</ng-container>\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}:host{display:flex;width:100%;justify-content:center}:host .snackbar-container{max-width:600px}:host .alert-container,:host .snackbar-container{margin:0 auto;display:flex;padding:0 14px;border-radius:4px;align-items:center;justify-content:space-between;opacity:1;min-height:48px}:host .alert-container.fixed,:host .snackbar-container.fixed{position:fixed}:host .alert-container.static,:host .snackbar-container.static{position:relative}:host .alert-container ui-icon,:host .snackbar-container ui-icon{margin-right:14px}:host .alert-container ui-button,:host .snackbar-container ui-button{margin-left:14px}:host .alert-container ::ng-deep button.mat-mdc-unelevated-button.big,:host .snackbar-container ::ng-deep button.mat-mdc-unelevated-button.big{padding:0;min-width:auto}:host .alert-container .alert-text,:host .alert-container .snackbar-text,:host .snackbar-container .alert-text,:host .snackbar-container .snackbar-text{display:flex;align-items:center;color:#000}:host .alert-container .alert-text a,:host .alert-container .snackbar-text a,:host .snackbar-container .alert-text a,:host .snackbar-container .snackbar-text a{color:#000;text-decoration:underline;font-weight:700}:host .alert-container .alert-text a:hover,:host .alert-container .alert-text a:visited,:host .alert-container .alert-text a:focus,:host .alert-container .snackbar-text a:hover,:host .alert-container .snackbar-text a:visited,:host .alert-container .snackbar-text a:focus,:host .snackbar-container .alert-text a:hover,:host .snackbar-container .alert-text a:visited,:host .snackbar-container .alert-text a:focus,:host .snackbar-container .snackbar-text a:hover,:host .snackbar-container .snackbar-text a:visited,:host .snackbar-container .snackbar-text a:focus{text-decoration:none}:host .alert-container.success,:host .snackbar-container.success{background-color:#cbd6cb}:host .alert-container.info,:host .snackbar-container.info{background-color:#c8d7de}:host .alert-container.warning,:host .snackbar-container.warning{background-color:#f0d6bb}:host .alert-container.error,:host .snackbar-container.error{background-color:#e3c3c6}:host .alert-container[theme=dark].success,:host .alert-container[theme=light].success,:host .snackbar-container[theme=dark].success,:host .snackbar-container[theme=light].success{background-color:#aae47a}:host .alert-container[theme=dark].info,:host .alert-container[theme=light].info,:host .snackbar-container[theme=dark].info,:host .snackbar-container[theme=light].info{background-color:#d9e8ff}:host .alert-container[theme=dark].warning,:host .alert-container[theme=light].warning,:host .snackbar-container[theme=dark].warning,:host .snackbar-container[theme=light].warning{background-color:#ffe1b3}:host .alert-container[theme=dark].error,:host .alert-container[theme=light].error,:host .snackbar-container[theme=dark].error,:host .snackbar-container[theme=light].error{background-color:#ffac9a}::ng-deep .display-none{display:none!important}@media (max-width: 600px){:host .alert-container,:host .snackbar-container{padding:8px 14px}}:host .snackbar-container{bottom:0;z-index:98}:host .snackbar-container[theme=dark] ui-icon,:host .snackbar-container[theme=light] ui-icon{margin-right:10px;cursor:pointer}:host .snackbar-container[theme=dark] .snackbar-text,:host .snackbar-container[theme=light] .snackbar-text{padding-left:10px;margin-right:8px}:host .snackbar-container[theme=dark] .snackbar-text a,:host .snackbar-container[theme=light] .snackbar-text a{margin-left:4px}:host .snackbar-container[theme=dark].desktop,:host .snackbar-container[theme=light].desktop{border-radius:24px;box-shadow:0 4px 16px #2424240a;width:fit-content;max-width:600px;min-height:48px;line-height:1.4;font-size:14px;padding:16px 24px}:host .snackbar-container[theme=dark].mobile,:host .snackbar-container[theme=light].mobile{width:100%;min-width:100%;word-break:break-word}:host .mat-mdc-snack-bar-container{margin:16px 8px}::ng-deep .mdc-snackbar__surface{height:0}\n"] }]
205
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
206
+ type: Optional
207
+ }, {
208
+ type: Inject,
209
+ args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
210
+ }] }, { type: undefined, decorators: [{
211
+ type: Inject,
212
+ args: [MAT_SNACK_BAR_DATA]
213
+ }] }, { type: i1.MatSnackBarRef }, { type: i2.DomSanitizer }], propDecorators: { snackbarType: [{
214
+ type: Input
215
+ }], message: [{
216
+ type: Input
217
+ }], html: [{
218
+ type: Input
219
+ }], seconds: [{
220
+ type: Input
221
+ }], includeDismissButton: [{
222
+ type: Input
223
+ }], fixed: [{
224
+ type: Input
225
+ }], linkText: [{
226
+ type: Input
227
+ }], linkUrl: [{
228
+ type: Input
229
+ }], linkTarget: [{
230
+ type: Input
231
+ }], variant: [{
232
+ type: Input
233
+ }], applicationTheme: [{
234
+ type: Input
235
+ }], closeButtonTooltip: [{
236
+ type: Input
237
+ }], ariaDescribedby: [{
238
+ type: Input
239
+ }] } });
240
+
241
+ class SnackbarService {
242
+ constructor(snackBar) {
243
+ this.snackBar = snackBar;
244
+ }
245
+ error(message, applicationTheme, html, link, seconds) {
246
+ return this.show('error', message, applicationTheme, html, link, seconds);
247
+ }
248
+ success(message, applicationTheme, html, link, seconds) {
249
+ return this.show('success', message, applicationTheme, html, link, seconds);
250
+ }
251
+ info(message, applicationTheme, html, link, seconds) {
252
+ return this.show('info', message, applicationTheme, html, link, seconds);
253
+ }
254
+ warning(message, applicationTheme, html, link, seconds) {
255
+ return this.show('warning', message, applicationTheme, html, link, seconds);
256
+ }
257
+ show(snackbarType, message, applicationTheme, html, link, seconds) {
258
+ const componentRef = this.snackBar.openFromComponent(SnackbarComponent, {
259
+ data: {
260
+ snackbarType,
261
+ message,
262
+ link,
263
+ html,
264
+ seconds,
265
+ },
266
+ });
267
+ if (applicationTheme) {
268
+ componentRef.instance.applicationTheme = applicationTheme;
269
+ }
270
+ return componentRef;
271
+ }
272
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarService, deps: [{ token: i1.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable }); }
273
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarService }); }
274
+ }
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarService, decorators: [{
276
+ type: Injectable
277
+ }], ctorParameters: () => [{ type: i1.MatSnackBar }] });
278
+
279
+ class SnackbarComponentModule {
280
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
281
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SnackbarComponentModule, declarations: [SnackbarComponent], imports: [CommonModule, ButtonComponentModule, IconComponentModule, UiTranslatePipe, MatSnackBarModule, MatTooltipModule], exports: [SnackbarComponent] }); }
282
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarComponentModule, providers: [SnackbarService], imports: [CommonModule, ButtonComponentModule, IconComponentModule, MatSnackBarModule, MatTooltipModule] }); }
283
+ }
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SnackbarComponentModule, decorators: [{
285
+ type: NgModule,
286
+ args: [{
287
+ declarations: [SnackbarComponent],
288
+ imports: [CommonModule, ButtonComponentModule, IconComponentModule, UiTranslatePipe, MatSnackBarModule, MatTooltipModule],
289
+ exports: [SnackbarComponent],
290
+ providers: [SnackbarService],
291
+ }]
292
+ }] });
293
+
294
+ /**
295
+ * Generated bundle index. Do not edit.
296
+ */
297
+
298
+ export { SnackbarComponent, SnackbarComponentModule, SnackbarService };
299
+ //# sourceMappingURL=testgorilla-tgo-ui-components-snackbar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testgorilla-tgo-ui-components-snackbar.mjs","sources":["../../../components/snackbar/snackbar.component.ts","../../../components/snackbar/snackbar.component.html","../../../components/snackbar/snackbar.service.ts","../../../components/snackbar/snackbar.component.module.ts","../../../components/snackbar/testgorilla-tgo-ui-components-snackbar.ts"],"sourcesContent":["import { animate, style, transition, trigger } from '@angular/animations';\nimport { Component, Inject, Input, OnInit, Optional } from '@angular/core';\nimport { MAT_SNACK_BAR_DATA, MatSnackBarRef } from '@angular/material/snack-bar';\nimport { IconName } from '@testgorilla/tgo-ui/components/icon';\nimport { SnackbarLink, SnackbarType, SnackbarVariant } from './snackbar.model';\nimport { alertBarsUtil } from '@testgorilla/tgo-ui/components/core';\nimport { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';\nimport { LinkTargetType } from '@testgorilla/tgo-ui/components/alert-banner';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Component({\n selector: 'ui-snackbar',\n templateUrl: './snackbar.component.html',\n styleUrls: ['./snackbar.component.scss'],\n animations: [\n trigger('openClose', [\n transition(':enter', [\n style({ bottom: '-55px', opacity: 0 }),\n animate('0.2s ease-out', style({ opacity: 1, bottom: '10px' })),\n ]),\n transition(':leave', [\n style({ bottom: '10px', opacity: 1 }),\n animate('0.2s ease-in', style({ bottom: '-55px', opacity: 0 })),\n ]),\n ]),\n ],\n standalone: false\n})\nexport class SnackbarComponent implements OnInit {\n /**\n * Background color of the button while in active state\n *\n * @type {SnackbarType}\n * @memberof SnackbarComponent\n */\n @Input() snackbarType: SnackbarType = 'success';\n\n /**\n * Snackbar message\n *\n * @memberof SnackbarComponent\n */\n @Input() message = '';\n\n /**\n * Snackbar message from html\n *\n * @memberof SnackbarComponent\n */\n @Input() set html(value: string) {\n if (value) {\n this.safeHtml = this.domSanitizer.bypassSecurityTrustHtml(value);\n }\n }\n\n /**\n * Set the time that the snackbar will be visible\n *\n * @memberof SnackbarComponent\n */\n @Input() seconds = 5;\n\n /**\n * Include dismmiss button\n *\n * @memberof SnackbarComponent\n */\n @Input() includeDismissButton = true;\n\n /**\n * Static or fixed position\n *\n * @memberof SnackbarComponent\n */\n @Input() fixed = true;\n\n /**\n * Link text that will appended at the end of message\n *\n * @memberof AlertBannerComponent\n */\n @Input() linkText? = '';\n\n /**\n * Link url\n *\n * @memberof AlertBannerComponent\n */\n @Input() linkUrl?: string;\n\n /**\n * Link target\n *\n * @type {@type {LinkTargetType}}\n * @memberof AlertBannerComponent\n */\n @Input() linkTarget?: LinkTargetType = '_blank';\n\n /**\n * The variant to be used\n *\n * @type {SnackbarVariant}\n * @memberof SnackbarComponent\n */\n @Input() variant: SnackbarVariant = 'desktop';\n\n /**\n *\n * Defines the application theme\n *\n * @type {ApplicationTheme}\n * @memberof SnackbarComponent\n */\n @Input() applicationTheme: ApplicationTheme = 'light';\n\n /**\n * Close button tooltip\n *\n * @type {string}\n * @memberof SnackbarComponent\n */\n @Input() closeButtonTooltip = '';\n\n /**\n * A string representing the ARIA requirement for accessibility.\n * This attribute is used to indicate whether an input field is required for form submission.\n * @type {string}\n * @memberof SnackbarComponent\n */\n @Input() ariaDescribedby = '';\n\n iconName: IconName;\n showSnackbar = true;\n milisenconds: number;\n visible = false;\n timer?: number;\n timerStartedAt = 0;\n timerPausedAt = 0;\n position: string;\n safeHtml: SafeHtml;\n\n translationContext = 'SNACKBAR.';\n protected readonly maxCharacters = 70;\n\n constructor(\n @Optional() @Inject('CANOPYUI_DEFAULT_APPLICATION_THEME') private readonly defaultAppTheme: ApplicationTheme,\n @Inject(MAT_SNACK_BAR_DATA)\n private data: {\n snackbarType: SnackbarType;\n message: string;\n link?: SnackbarLink;\n applicationTheme?: ApplicationTheme;\n html?: string;\n seconds?: number;\n },\n private snackbarRef: MatSnackBarRef<SnackbarComponent>,\n private domSanitizer: DomSanitizer\n ) {\n if (defaultAppTheme) {\n this.applicationTheme = defaultAppTheme;\n }\n\n this.snackbarType = data.snackbarType ?? 'success';\n this.message = data.message ?? '';\n this.safeHtml = data.html ? this.domSanitizer.bypassSecurityTrustHtml(data.html) : '';\n this.linkText = data.link?.text ?? '';\n this.linkUrl = data.link?.url ?? '';\n this.seconds = data.seconds ?? 5;\n }\n\n ngOnInit(): void {\n this.milisenconds = this.seconds * 1000;\n this.iconName = alertBarsUtil.setIcon(this.snackbarType) as IconName;\n this.show();\n this.position = alertBarsUtil.setPosition(this.fixed);\n }\n\n //Show snackbar\n show() {\n this.timerStartedAt = Date.now();\n this.visible = true;\n this.timer = window.setTimeout(() => this.hide(), this.milisenconds);\n }\n\n //Hide snackbar\n hide() {\n this.visible = false;\n this.timerPausedAt = 0;\n this.timerStartedAt = 0;\n clearTimeout(this.timer);\n this.timer = undefined;\n this.dismissSnackbar();\n }\n\n //Pause timer when mouse enter\n onMouseEnter() {\n this.visible = true;\n this.timerPausedAt = Date.now();\n clearTimeout(this.timer);\n }\n\n //Continue timer when mouse leave\n onMouseLeave() {\n const diff = this.timerPausedAt - this.timerStartedAt;\n if (diff <= 0) {\n return this.hide();\n }\n this.timer = window.setTimeout(() => this.hide(), this.milisenconds - diff);\n }\n\n //Hide snackbar when dismiss button is clicked\n dismissClick() {\n this.visible = false;\n this.dismissSnackbar();\n }\n\n onLinkClick(event: Event): void {\n event?.preventDefault();\n\n if (this.data.link?.action) {\n this.data.link?.action();\n } else if (this.data.link?.url) {\n window.open(this.data.link?.url, '_blank');\n }\n }\n\n private dismissSnackbar(): void {\n if (Object.keys(this.snackbarRef).length > 0) {\n this.snackbarRef.dismiss();\n }\n }\n}\n","<ng-container>\n <div\n [ngClass]=\"snackbarType + ' ' + position\"\n [@openClose]\n *ngIf=\"visible\"\n class=\"snackbar-container\"\n [attr.theme]=\"applicationTheme\"\n [class.mobile]=\"variant === 'mobile'\"\n [class.desktop]=\"variant === 'desktop'\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n data-testid=\"snackbar-wrapper\"\n [attr.data-test-snackbar-type]=\"snackbarType\"\n [attr.aria-describedby]=\"'describedby'\"\n role=\"alert\"\n [attr.aria-labelledby]=\"'labelledby'\"\n >\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{ ('ALERT_BANNER.' + (snackbarType | uppercase)) | uiTranslate | async }}</span>\n <span style=\"position: absolute; left: -9999px\">{{ message }}\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\" (click)=\"onLinkClick($event)\">{{ linkText }}</a>\n </span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div\n aria-hidden=\"true\"\n class=\"snackbar-text\"\n [matTooltip]=\"message.length > maxCharacters ? message : ''\"\n data-testid=\"snackbar-content\"\n >\n <ui-icon *ngIf=\"applicationTheme === 'classic'\" [name]=\"iconName\" size=\"24\"></ui-icon>\n {{ message.length > maxCharacters ? (message | slice: 0:maxCharacters) + '..' : message }}\n <div *ngIf=\"safeHtml\" [innerHTML]=\"safeHtml\"></div>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\" (click)=\"onLinkClick($event)\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [label]=\"(translationContext + 'DISMISS' | uiTranslate | async)!\"\n [applicationTheme]=\"applicationTheme !== 'classic' ? 'light' : 'classic'\"\n (buttonClickEvent)=\"dismissClick()\"\n data-testid=\"snackbar-dismiss-button\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic'\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"'light'\"\n [iconName]=\"'Close-in-line'\"\n [size]=\"'small'\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n data-testid=\"snackbar-dismiss-button\"\n ></ui-button>\n </div>\n</ng-container>\n","import { Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { SnackbarComponent } from './snackbar.component';\nimport { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';\nimport { SnackbarLink, SnackbarType } from './snackbar.model';\n\n@Injectable()\nexport class SnackbarService {\n constructor(private snackBar: MatSnackBar) {}\n\n error(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number) {\n return this.show('error', message, applicationTheme, html, link, seconds);\n }\n\n success(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number) {\n return this.show('success', message, applicationTheme, html, link, seconds);\n }\n\n info(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number) {\n return this.show('info', message, applicationTheme, html, link, seconds);\n }\n\n warning(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number) {\n return this.show('warning', message, applicationTheme, html, link, seconds);\n }\n\n show(\n snackbarType: SnackbarType,\n message: string,\n applicationTheme?: ApplicationTheme,\n html?: string,\n link?: SnackbarLink,\n seconds?: number\n ) {\n const componentRef = this.snackBar.openFromComponent(SnackbarComponent, {\n data: {\n snackbarType,\n message,\n link,\n html,\n seconds,\n },\n });\n if (applicationTheme) {\n componentRef.instance.applicationTheme = applicationTheme;\n }\n return componentRef;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { SnackbarComponent } from './snackbar.component';\nimport { SnackbarService } from './snackbar.service';\nimport { UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n@NgModule({\n declarations: [SnackbarComponent],\n imports: [CommonModule, ButtonComponentModule, IconComponentModule, UiTranslatePipe, MatSnackBarModule, MatTooltipModule],\n exports: [SnackbarComponent],\n providers: [SnackbarService],\n})\nexport class SnackbarComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MA4Ba,iBAAiB,CAAA;AAgB5B;;;;AAIG;IACH,IAAa,IAAI,CAAC,KAAa,EAAA;QAC7B,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,KAAK,CAAC;;;AA6FpE,IAAA,WAAA,CAC6E,eAAiC,EAEpG,IAOP,EACO,WAA8C,EAC9C,YAA0B,EAAA;QAXyC,IAAe,CAAA,eAAA,GAAf,eAAe;QAElF,IAAI,CAAA,IAAA,GAAJ,IAAI;QAQJ,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAY,CAAA,YAAA,GAAZ,YAAY;AA/HtB;;;;;AAKG;QACM,I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