@testgorilla/tgo-ui 3.9.4 → 3.9.5-beta-20.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 (441) hide show
  1. package/fesm2022/testgorilla-tgo-ui.mjs +712 -766
  2. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  3. package/index.d.ts +7060 -3
  4. package/package.json +15 -16
  5. package/projects/tgo-canopy-ui/assets/icons/Switch-tab.svg +3 -0
  6. package/projects/tgo-canopy-ui/assets/icons/rebrand/Switch-tab-filled.svg +3 -0
  7. package/projects/tgo-canopy-ui/assets/icons/rebrand/Switch-tab-in-line.svg +3 -0
  8. package/projects/tgo-canopy-ui/theme/_input.scss +1 -1
  9. package/projects/tgo-canopy-ui/theme/_palette.scss +2 -1
  10. package/projects/tgo-canopy-ui/theme/_tooltip.scss +4 -4
  11. package/components/accordion/accordion.component.d.ts +0 -100
  12. package/components/accordion/accordion.component.module.d.ts +0 -12
  13. package/components/accordion/accordion.model.d.ts +0 -2
  14. package/components/ai-feedback/ai-feedback.component.d.ts +0 -15
  15. package/components/ai-feedback/ai-feedback.model.d.ts +0 -1
  16. package/components/ai-feedback/ai-feedback.module.d.ts +0 -10
  17. package/components/alert-banner/alert-banner.component.d.ts +0 -132
  18. package/components/alert-banner/alert-banner.component.module.d.ts +0 -11
  19. package/components/alert-banner/alert-banner.model.d.ts +0 -1
  20. package/components/autocomplete/autocomplete.component.d.ts +0 -314
  21. package/components/autocomplete/autocomplete.component.module.d.ts +0 -24
  22. package/components/autocomplete/autocomplete.model.d.ts +0 -22
  23. package/components/autocomplete/includes.pipe.d.ts +0 -12
  24. package/components/autocomplete/prevent-input.directive.d.ts +0 -7
  25. package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
  26. package/components/avatar/avatar.component.d.ts +0 -67
  27. package/components/avatar/avatar.component.module.d.ts +0 -13
  28. package/components/avatar/avatar.model.d.ts +0 -16
  29. package/components/badge/badge.component.d.ts +0 -59
  30. package/components/badge/badge.component.module.d.ts +0 -10
  31. package/components/badge/badge.model.d.ts +0 -37
  32. package/components/button/button.component.d.ts +0 -235
  33. package/components/button/button.component.module.d.ts +0 -16
  34. package/components/button/button.model.d.ts +0 -14
  35. package/components/card/card.component.d.ts +0 -75
  36. package/components/card/card.component.module.d.ts +0 -9
  37. package/components/card/card.model.d.ts +0 -2
  38. package/components/checkbox/checkbox.component.d.ts +0 -193
  39. package/components/checkbox/checkbox.component.module.d.ts +0 -18
  40. package/components/checkbox/focus-visible.directive.d.ts +0 -12
  41. package/components/checklist/checklist.component.d.ts +0 -85
  42. package/components/checklist/checklist.model.d.ts +0 -9
  43. package/components/confirm-dialog/confirm-dialog.component.d.ts +0 -38
  44. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
  45. package/components/confirm-dialog/confirm-dialog.model.d.ts +0 -19
  46. package/components/datepicker/date-adapter.d.ts +0 -34
  47. package/components/datepicker/datepicker.component.d.ts +0 -214
  48. package/components/datepicker/datepicker.component.module.d.ts +0 -18
  49. package/components/datepicker/datepicker.service.d.ts +0 -8
  50. package/components/datepicker/no-date-format.directive.d.ts +0 -11
  51. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +0 -38
  52. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +0 -9
  53. package/components/dialog/dialog.component.d.ts +0 -162
  54. package/components/dialog/dialog.component.module.d.ts +0 -11
  55. package/components/dialog/dialog.model.d.ts +0 -12
  56. package/components/dialog/dialog.service.d.ts +0 -14
  57. package/components/divider/divider.component.d.ts +0 -39
  58. package/components/divider/divider.component.module.d.ts +0 -9
  59. package/components/divider/divider.model.d.ts +0 -1
  60. package/components/donut-chart/donut-chart.component.d.ts +0 -34
  61. package/components/donut-chart/donut-chart.component.model.d.ts +0 -6
  62. package/components/donut-chart/donut-chart.component.module.d.ts +0 -8
  63. package/components/dropdown/dropdown.component.d.ts +0 -214
  64. package/components/dropdown/dropdown.component.module.d.ts +0 -17
  65. package/components/dropdown/dropdown.model.d.ts +0 -6
  66. package/components/elevation-shadow/elevation-shadow.component.d.ts +0 -26
  67. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +0 -8
  68. package/components/elevation-shadow/elevation-shadow.constant.d.ts +0 -8
  69. package/components/empty-state/empty-state.component.d.ts +0 -202
  70. package/components/empty-state/empty-state.component.module.d.ts +0 -11
  71. package/components/empty-state/empty-state.model.d.ts +0 -3
  72. package/components/field/field.component.d.ts +0 -361
  73. package/components/field/field.component.module.d.ts +0 -19
  74. package/components/field/field.model.d.ts +0 -1
  75. package/components/file-upload/file-upload.component.d.ts +0 -137
  76. package/components/file-upload/file-upload.component.module.d.ts +0 -14
  77. package/components/filter-button/filter-button.component.d.ts +0 -140
  78. package/components/filter-button/filter-button.component.module.d.ts +0 -18
  79. package/components/filter-button/filter-button.model.d.ts +0 -13
  80. package/components/gaussian-chart/gaussian-chart.component.d.ts +0 -75
  81. package/components/gaussian-chart/gaussian-chart.module.d.ts +0 -13
  82. package/components/icon/icon.component.d.ts +0 -72
  83. package/components/icon/icon.component.module.d.ts +0 -10
  84. package/components/icon/icon.config.d.ts +0 -10
  85. package/components/icon/icon.model.d.ts +0 -7
  86. package/components/icon-label/icon-label.component.d.ts +0 -46
  87. package/components/icon-label/icon-label.component.module.d.ts +0 -9
  88. package/components/logo/logo.component.d.ts +0 -66
  89. package/components/logo/logo.component.module.d.ts +0 -8
  90. package/components/logo/logo.model.d.ts +0 -29
  91. package/components/media-card/media-card.component.d.ts +0 -32
  92. package/components/multi-input/multi-input.component.d.ts +0 -171
  93. package/components/multi-input/multi-input.component.module.d.ts +0 -18
  94. package/components/multi-input/multi-input.model.d.ts +0 -1
  95. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -27
  96. package/components/navbar/navbar.component.d.ts +0 -126
  97. package/components/navbar/navbar.component.module.d.ts +0 -21
  98. package/components/navbar/navbar.model.d.ts +0 -21
  99. package/components/overflow-menu/overflow-menu.component.d.ts +0 -96
  100. package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -15
  101. package/components/overflow-menu/overflow-menu.model.d.ts +0 -28
  102. package/components/page-header/page-header.component.d.ts +0 -38
  103. package/components/page-header/page-header.component.module.d.ts +0 -10
  104. package/components/paginator/paginator.component.d.ts +0 -58
  105. package/components/paginator/paginator.component.module.d.ts +0 -9
  106. package/components/password-criteria/password.component.d.ts +0 -44
  107. package/components/password-criteria/password.component.module.d.ts +0 -13
  108. package/components/password-strength/password-strength.component.d.ts +0 -45
  109. package/components/password-strength/password-strength.component.module.d.ts +0 -11
  110. package/components/phone-input/join-strings.pipe.d.ts +0 -7
  111. package/components/phone-input/phone-input.component.d.ts +0 -147
  112. package/components/phone-input/phone-input.component.module.d.ts +0 -20
  113. package/components/phone-input/phone-input.model.d.ts +0 -8
  114. package/components/progress-bar/progress-bar.component.d.ts +0 -73
  115. package/components/progress-bar/progress-bar.component.module.d.ts +0 -10
  116. package/components/radial-progress/radial-progress.component.d.ts +0 -75
  117. package/components/radial-progress/radial-progress.component.module.d.ts +0 -10
  118. package/components/radial-progress/radial-progress.model.d.ts +0 -10
  119. package/components/radio-button/radio-button.component.d.ts +0 -182
  120. package/components/radio-button/radio-button.component.module.d.ts +0 -15
  121. package/components/radio-button/radio-button.model.d.ts +0 -4
  122. package/components/rating/half-star.pipe.d.ts +0 -14
  123. package/components/rating/rating.component.d.ts +0 -71
  124. package/components/rating/rating.component.module.d.ts +0 -10
  125. package/components/scale/scale.component.d.ts +0 -54
  126. package/components/scale/scale.component.module.d.ts +0 -8
  127. package/components/scale-table/scale-table.component.d.ts +0 -39
  128. package/components/scale-table/scale-table.model.d.ts +0 -5
  129. package/components/segmented-bar/segmented-bar.component.d.ts +0 -63
  130. package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -12
  131. package/components/segmented-bar/segmented-bar.model.d.ts +0 -12
  132. package/components/segmented-button/segmented-button.component.d.ts +0 -55
  133. package/components/segmented-button/segmented-button.component.module.d.ts +0 -11
  134. package/components/segmented-button/segmented-button.model.d.ts +0 -8
  135. package/components/side-panel/side-panel-data-injection-token.d.ts +0 -2
  136. package/components/side-panel/side-panel.animations.d.ts +0 -3
  137. package/components/side-panel/side-panel.component.d.ts +0 -19
  138. package/components/side-panel/side-panel.model.d.ts +0 -19
  139. package/components/side-panel/side-panel.service.d.ts +0 -21
  140. package/components/side-sheet/side-sheet.component.d.ts +0 -43
  141. package/components/side-sheet/side-sheet.component.module.d.ts +0 -14
  142. package/components/side-sheet/side-sheet.model.d.ts +0 -10
  143. package/components/side-sheet/side-sheet.service.d.ts +0 -14
  144. package/components/skeleton/skeleton.component.d.ts +0 -27
  145. package/components/skeleton/skeleton.model.d.ts +0 -2
  146. package/components/slider/slider.component.d.ts +0 -116
  147. package/components/slider/slider.component.module.d.ts +0 -7
  148. package/components/slider/slider.model.d.ts +0 -5
  149. package/components/snackbar/snackbar.component.d.ts +0 -119
  150. package/components/snackbar/snackbar.component.module.d.ts +0 -13
  151. package/components/snackbar/snackbar.model.d.ts +0 -2
  152. package/components/snackbar/snackbar.service.d.ts +0 -16
  153. package/components/spider-chart/spider-chart.component.d.ts +0 -90
  154. package/components/spider-chart/spider-chart.model.d.ts +0 -12
  155. package/components/spider-chart/spider-chart.module.d.ts +0 -13
  156. package/components/spinner/spinner.component.d.ts +0 -59
  157. package/components/spinner/spinner.model.d.ts +0 -1
  158. package/components/spinner/spinner.module.d.ts +0 -10
  159. package/components/step/step.component.d.ts +0 -184
  160. package/components/step/step.component.module.d.ts +0 -11
  161. package/components/stepper/stepper.component.d.ts +0 -102
  162. package/components/stepper/stepper.component.module.d.ts +0 -15
  163. package/components/stepper/stepper.model.d.ts +0 -23
  164. package/components/table/sentence-case.pipe.d.ts +0 -7
  165. package/components/table/table.component.d.ts +0 -117
  166. package/components/table/table.component.module.d.ts +0 -20
  167. package/components/table/table.model.d.ts +0 -104
  168. package/components/tabs/tab.directive.d.ts +0 -28
  169. package/components/tabs/tabs.component.d.ts +0 -77
  170. package/components/tabs/tabs.component.module.d.ts +0 -13
  171. package/components/tabs/tabs.model.d.ts +0 -20
  172. package/components/tag/tag.component.d.ts +0 -131
  173. package/components/tag/tag.component.module.d.ts +0 -13
  174. package/components/tag/tag.model.d.ts +0 -1
  175. package/components/toggle/toggle.component.d.ts +0 -113
  176. package/components/toggle/toggle.component.module.d.ts +0 -14
  177. package/components/toggle/toggle.model.d.ts +0 -1
  178. package/components/tooltip/tooltip-template.directive.d.ts +0 -27
  179. package/components/tooltip/tooltip.component.d.ts +0 -64
  180. package/components/tooltip/tooltip.component.module.d.ts +0 -12
  181. package/components/tooltip/tooltip.model.d.ts +0 -8
  182. package/components/universal-skills-report/universal-skills-report.component.d.ts +0 -33
  183. package/components/universal-skills-report/universal-skills-report.component.module.d.ts +0 -14
  184. package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts +0 -47
  185. package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.d.ts +0 -16
  186. package/components/validation-error/validation-error.component.d.ts +0 -22
  187. package/components/validation-error/validation-error.model.d.ts +0 -1
  188. package/components/validation-error/validation-error.module.d.ts +0 -10
  189. package/directives/digits-only.directive.d.ts +0 -17
  190. package/directives/drag-drop.directive.d.ts +0 -12
  191. package/directives/dynamic-component.directive.d.ts +0 -20
  192. package/directives/ellipse-text.directive.d.ts +0 -20
  193. package/directives/select-text.directive.d.ts +0 -19
  194. package/directives/step-line-element.directive.d.ts +0 -17
  195. package/esm2022/assets/i18n/da-dk.json +0 -181
  196. package/esm2022/assets/i18n/de.json +0 -181
  197. package/esm2022/assets/i18n/en.json +0 -820
  198. package/esm2022/assets/i18n/es.json +0 -181
  199. package/esm2022/assets/i18n/fr.json +0 -181
  200. package/esm2022/assets/i18n/it-it.json +0 -181
  201. package/esm2022/assets/i18n/ja-jp.json +0 -181
  202. package/esm2022/assets/i18n/nb-no.json +0 -181
  203. package/esm2022/assets/i18n/nl.json +0 -181
  204. package/esm2022/assets/i18n/pl-pl.json +0 -181
  205. package/esm2022/assets/i18n/pt-br.json +0 -181
  206. package/esm2022/assets/i18n/sv-se.json +0 -181
  207. package/esm2022/components/accordion/accordion.component.mjs +0 -135
  208. package/esm2022/components/accordion/accordion.component.module.mjs +0 -40
  209. package/esm2022/components/accordion/accordion.model.mjs +0 -2
  210. package/esm2022/components/ai-feedback/ai-feedback.component.mjs +0 -35
  211. package/esm2022/components/ai-feedback/ai-feedback.model.mjs +0 -2
  212. package/esm2022/components/ai-feedback/ai-feedback.module.mjs +0 -20
  213. package/esm2022/components/alert-banner/alert-banner.component.mjs +0 -198
  214. package/esm2022/components/alert-banner/alert-banner.component.module.mjs +0 -21
  215. package/esm2022/components/alert-banner/alert-banner.model.mjs +0 -2
  216. package/esm2022/components/autocomplete/autocomplete.component.mjs +0 -814
  217. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +0 -77
  218. package/esm2022/components/autocomplete/autocomplete.model.mjs +0 -25
  219. package/esm2022/components/autocomplete/includes.pipe.mjs +0 -25
  220. package/esm2022/components/autocomplete/prevent-input.directive.mjs +0 -27
  221. package/esm2022/components/autocomplete/transform-Item.pipe.mjs +0 -32
  222. package/esm2022/components/avatar/avatar.component.mjs +0 -104
  223. package/esm2022/components/avatar/avatar.component.module.mjs +0 -23
  224. package/esm2022/components/avatar/avatar.model.mjs +0 -21
  225. package/esm2022/components/badge/badge.component.mjs +0 -109
  226. package/esm2022/components/badge/badge.component.module.mjs +0 -20
  227. package/esm2022/components/badge/badge.model.mjs +0 -38
  228. package/esm2022/components/button/button.component.mjs +0 -445
  229. package/esm2022/components/button/button.component.module.mjs +0 -51
  230. package/esm2022/components/button/button.model.mjs +0 -2
  231. package/esm2022/components/card/card.component.mjs +0 -132
  232. package/esm2022/components/card/card.component.module.mjs +0 -19
  233. package/esm2022/components/card/card.model.mjs +0 -2
  234. package/esm2022/components/checkbox/checkbox.component.mjs +0 -329
  235. package/esm2022/components/checkbox/checkbox.component.module.mjs +0 -28
  236. package/esm2022/components/checkbox/focus-visible.directive.mjs +0 -40
  237. package/esm2022/components/checklist/checklist.component.mjs +0 -157
  238. package/esm2022/components/checklist/checklist.model.mjs +0 -2
  239. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +0 -66
  240. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +0 -29
  241. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +0 -2
  242. package/esm2022/components/datepicker/date-adapter.mjs +0 -39
  243. package/esm2022/components/datepicker/datepicker.component.mjs +0 -333
  244. package/esm2022/components/datepicker/datepicker.component.module.mjs +0 -60
  245. package/esm2022/components/datepicker/datepicker.service.mjs +0 -20
  246. package/esm2022/components/datepicker/no-date-format.directive.mjs +0 -56
  247. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +0 -55
  248. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +0 -20
  249. package/esm2022/components/dialog/dialog.component.mjs +0 -274
  250. package/esm2022/components/dialog/dialog.component.module.mjs +0 -23
  251. package/esm2022/components/dialog/dialog.model.mjs +0 -2
  252. package/esm2022/components/dialog/dialog.service.mjs +0 -36
  253. package/esm2022/components/divider/divider.component.mjs +0 -65
  254. package/esm2022/components/divider/divider.component.module.mjs +0 -19
  255. package/esm2022/components/divider/divider.model.mjs +0 -2
  256. package/esm2022/components/donut-chart/donut-chart.component.mjs +0 -122
  257. package/esm2022/components/donut-chart/donut-chart.component.model.mjs +0 -2
  258. package/esm2022/components/donut-chart/donut-chart.component.module.mjs +0 -20
  259. package/esm2022/components/dropdown/dropdown.component.mjs +0 -378
  260. package/esm2022/components/dropdown/dropdown.component.module.mjs +0 -57
  261. package/esm2022/components/dropdown/dropdown.model.mjs +0 -2
  262. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +0 -45
  263. package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +0 -18
  264. package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +0 -9
  265. package/esm2022/components/empty-state/empty-state.component.mjs +0 -301
  266. package/esm2022/components/empty-state/empty-state.component.module.mjs +0 -21
  267. package/esm2022/components/empty-state/empty-state.model.mjs +0 -2
  268. package/esm2022/components/field/field.component.mjs +0 -544
  269. package/esm2022/components/field/field.component.module.mjs +0 -64
  270. package/esm2022/components/field/field.model.mjs +0 -2
  271. package/esm2022/components/file-upload/file-upload.component.mjs +0 -296
  272. package/esm2022/components/file-upload/file-upload.component.module.mjs +0 -40
  273. package/esm2022/components/filter-button/filter-button.component.mjs +0 -255
  274. package/esm2022/components/filter-button/filter-button.component.module.mjs +0 -58
  275. package/esm2022/components/filter-button/filter-button.model.mjs +0 -2
  276. package/esm2022/components/gaussian-chart/gaussian-chart.component.mjs +0 -246
  277. package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +0 -42
  278. package/esm2022/components/icon/icon.component.mjs +0 -162
  279. package/esm2022/components/icon/icon.component.module.mjs +0 -21
  280. package/esm2022/components/icon/icon.config.mjs +0 -749
  281. package/esm2022/components/icon/icon.model.mjs +0 -2
  282. package/esm2022/components/icon-label/icon-label.component.mjs +0 -62
  283. package/esm2022/components/icon-label/icon-label.component.module.mjs +0 -20
  284. package/esm2022/components/logo/logo.component.mjs +0 -165
  285. package/esm2022/components/logo/logo.component.module.mjs +0 -18
  286. package/esm2022/components/logo/logo.model.mjs +0 -32
  287. package/esm2022/components/media-card/media-card.component.mjs +0 -47
  288. package/esm2022/components/multi-input/multi-input.component.mjs +0 -331
  289. package/esm2022/components/multi-input/multi-input.component.module.mjs +0 -58
  290. package/esm2022/components/multi-input/multi-input.model.mjs +0 -2
  291. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +0 -86
  292. package/esm2022/components/navbar/navbar.component.mjs +0 -212
  293. package/esm2022/components/navbar/navbar.component.module.mjs +0 -71
  294. package/esm2022/components/navbar/navbar.model.mjs +0 -2
  295. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +0 -214
  296. package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +0 -25
  297. package/esm2022/components/overflow-menu/overflow-menu.model.mjs +0 -2
  298. package/esm2022/components/page-header/page-header.component.mjs +0 -71
  299. package/esm2022/components/page-header/page-header.component.module.mjs +0 -20
  300. package/esm2022/components/paginator/paginator.component.mjs +0 -87
  301. package/esm2022/components/paginator/paginator.component.module.mjs +0 -19
  302. package/esm2022/components/password-criteria/password.component.mjs +0 -111
  303. package/esm2022/components/password-criteria/password.component.module.mjs +0 -39
  304. package/esm2022/components/password-strength/password-strength.component.mjs +0 -93
  305. package/esm2022/components/password-strength/password-strength.component.module.mjs +0 -21
  306. package/esm2022/components/phone-input/join-strings.pipe.mjs +0 -14
  307. package/esm2022/components/phone-input/phone-input.component.mjs +0 -353
  308. package/esm2022/components/phone-input/phone-input.component.module.mjs +0 -63
  309. package/esm2022/components/phone-input/phone-input.model.mjs +0 -2
  310. package/esm2022/components/progress-bar/progress-bar.component.mjs +0 -103
  311. package/esm2022/components/progress-bar/progress-bar.component.module.mjs +0 -21
  312. package/esm2022/components/radial-progress/radial-progress.component.mjs +0 -118
  313. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +0 -20
  314. package/esm2022/components/radial-progress/radial-progress.model.mjs +0 -11
  315. package/esm2022/components/radio-button/radio-button.component.mjs +0 -329
  316. package/esm2022/components/radio-button/radio-button.component.module.mjs +0 -25
  317. package/esm2022/components/radio-button/radio-button.model.mjs +0 -2
  318. package/esm2022/components/rating/half-star.pipe.mjs +0 -23
  319. package/esm2022/components/rating/rating.component.mjs +0 -106
  320. package/esm2022/components/rating/rating.component.module.mjs +0 -20
  321. package/esm2022/components/scale/scale.component.mjs +0 -136
  322. package/esm2022/components/scale/scale.component.module.mjs +0 -18
  323. package/esm2022/components/scale-table/scale-table.component.mjs +0 -61
  324. package/esm2022/components/scale-table/scale-table.model.mjs +0 -2
  325. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +0 -106
  326. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +0 -22
  327. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +0 -2
  328. package/esm2022/components/segmented-button/segmented-button.component.mjs +0 -104
  329. package/esm2022/components/segmented-button/segmented-button.component.module.mjs +0 -21
  330. package/esm2022/components/segmented-button/segmented-button.model.mjs +0 -2
  331. package/esm2022/components/side-panel/side-panel-data-injection-token.mjs +0 -3
  332. package/esm2022/components/side-panel/side-panel.animations.mjs +0 -26
  333. package/esm2022/components/side-panel/side-panel.component.mjs +0 -51
  334. package/esm2022/components/side-panel/side-panel.model.mjs +0 -23
  335. package/esm2022/components/side-panel/side-panel.service.mjs +0 -86
  336. package/esm2022/components/side-sheet/side-sheet.component.mjs +0 -105
  337. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +0 -43
  338. package/esm2022/components/side-sheet/side-sheet.model.mjs +0 -2
  339. package/esm2022/components/side-sheet/side-sheet.service.mjs +0 -31
  340. package/esm2022/components/skeleton/skeleton.component.mjs +0 -74
  341. package/esm2022/components/skeleton/skeleton.model.mjs +0 -2
  342. package/esm2022/components/slider/slider.component.mjs +0 -256
  343. package/esm2022/components/slider/slider.component.module.mjs +0 -16
  344. package/esm2022/components/slider/slider.model.mjs +0 -2
  345. package/esm2022/components/snackbar/snackbar.component.mjs +0 -218
  346. package/esm2022/components/snackbar/snackbar.component.module.mjs +0 -25
  347. package/esm2022/components/snackbar/snackbar.model.mjs +0 -2
  348. package/esm2022/components/snackbar/snackbar.service.mjs +0 -40
  349. package/esm2022/components/spider-chart/spider-chart.component.mjs +0 -443
  350. package/esm2022/components/spider-chart/spider-chart.model.mjs +0 -4
  351. package/esm2022/components/spider-chart/spider-chart.module.mjs +0 -44
  352. package/esm2022/components/spinner/spinner.component.mjs +0 -84
  353. package/esm2022/components/spinner/spinner.model.mjs +0 -2
  354. package/esm2022/components/spinner/spinner.module.mjs +0 -20
  355. package/esm2022/components/step/step.component.mjs +0 -209
  356. package/esm2022/components/step/step.component.module.mjs +0 -21
  357. package/esm2022/components/stepper/stepper.component.mjs +0 -198
  358. package/esm2022/components/stepper/stepper.component.module.mjs +0 -44
  359. package/esm2022/components/stepper/stepper.model.mjs +0 -2
  360. package/esm2022/components/table/sentence-case.pipe.mjs +0 -19
  361. package/esm2022/components/table/table.component.mjs +0 -273
  362. package/esm2022/components/table/table.component.module.mjs +0 -61
  363. package/esm2022/components/table/table.model.mjs +0 -25
  364. package/esm2022/components/tabs/tab.directive.mjs +0 -63
  365. package/esm2022/components/tabs/tabs.component.mjs +0 -219
  366. package/esm2022/components/tabs/tabs.component.module.mjs +0 -23
  367. package/esm2022/components/tabs/tabs.model.mjs +0 -2
  368. package/esm2022/components/tag/tag.component.mjs +0 -212
  369. package/esm2022/components/tag/tag.component.module.mjs +0 -24
  370. package/esm2022/components/tag/tag.model.mjs +0 -2
  371. package/esm2022/components/toggle/toggle.component.mjs +0 -190
  372. package/esm2022/components/toggle/toggle.component.module.mjs +0 -24
  373. package/esm2022/components/toggle/toggle.model.mjs +0 -2
  374. package/esm2022/components/tooltip/tooltip-template.directive.mjs +0 -133
  375. package/esm2022/components/tooltip/tooltip.component.mjs +0 -108
  376. package/esm2022/components/tooltip/tooltip.component.module.mjs +0 -27
  377. package/esm2022/components/tooltip/tooltip.model.mjs +0 -8
  378. package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +0 -80
  379. package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +0 -43
  380. package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.mjs +0 -109
  381. package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.mjs +0 -52
  382. package/esm2022/components/validation-error/validation-error.component.mjs +0 -55
  383. package/esm2022/components/validation-error/validation-error.model.mjs +0 -2
  384. package/esm2022/components/validation-error/validation-error.module.mjs +0 -20
  385. package/esm2022/directives/digits-only.directive.mjs +0 -77
  386. package/esm2022/directives/drag-drop.directive.mjs +0 -55
  387. package/esm2022/directives/dynamic-component.directive.mjs +0 -40
  388. package/esm2022/directives/ellipse-text.directive.mjs +0 -51
  389. package/esm2022/directives/select-text.directive.mjs +0 -40
  390. package/esm2022/directives/step-line-element.directive.mjs +0 -51
  391. package/esm2022/models/application-theme.model.mjs +0 -2
  392. package/esm2022/models/checkbox.model.mjs +0 -2
  393. package/esm2022/models/colors.model.mjs +0 -78
  394. package/esm2022/models/keyboard-events.model.mjs +0 -13
  395. package/esm2022/models/screen-breakpoints.model.mjs +0 -7
  396. package/esm2022/models/universal-skills-report.model.mjs +0 -33
  397. package/esm2022/pipes/data-property-getter.mjs +0 -33
  398. package/esm2022/pipes/has-validation-error.pipe.mjs +0 -27
  399. package/esm2022/pipes/memoize-func.pipe.mjs +0 -39
  400. package/esm2022/pipes/name-initials.pipe.mjs +0 -25
  401. package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +0 -31
  402. package/esm2022/pipes/ui-translate.pipe.mjs +0 -81
  403. package/esm2022/providers/is-large-tablet.mjs +0 -11
  404. package/esm2022/providers/is-mobile.mjs +0 -11
  405. package/esm2022/public-api.mjs +0 -239
  406. package/esm2022/services/icons.service.mjs +0 -22
  407. package/esm2022/services/universal-skills.service.mjs +0 -85
  408. package/esm2022/testgorilla-tgo-ui.mjs +0 -5
  409. package/esm2022/utils/alert-bar.model.mjs +0 -2
  410. package/esm2022/utils/alert-bars.utils.mjs +0 -34
  411. package/esm2022/utils/autocomplete-utils.mjs +0 -78
  412. package/esm2022/utils/color-contrast.mjs +0 -131
  413. package/esm2022/utils/hex-to-rgb.mjs +0 -9
  414. package/esm2022/utils/localization/language.model.mjs +0 -16
  415. package/esm2022/utils/localization/language.service.mjs +0 -44
  416. package/esm2022/utils/table.utils.mjs +0 -25
  417. package/models/application-theme.model.d.ts +0 -1
  418. package/models/checkbox.model.d.ts +0 -1
  419. package/models/colors.model.d.ts +0 -63
  420. package/models/keyboard-events.model.d.ts +0 -11
  421. package/models/screen-breakpoints.model.d.ts +0 -5
  422. package/models/universal-skills-report.model.d.ts +0 -44
  423. package/pipes/data-property-getter.d.ts +0 -8
  424. package/pipes/has-validation-error.pipe.d.ts +0 -15
  425. package/pipes/memoize-func.pipe.d.ts +0 -26
  426. package/pipes/name-initials.pipe.d.ts +0 -7
  427. package/pipes/ui-ordinal-suffix.pipe.d.ts +0 -7
  428. package/pipes/ui-translate.pipe.d.ts +0 -32
  429. package/providers/is-large-tablet.d.ts +0 -2
  430. package/providers/is-mobile.d.ts +0 -2
  431. package/public-api.d.ts +0 -168
  432. package/services/icons.service.d.ts +0 -8
  433. package/services/universal-skills.service.d.ts +0 -13
  434. package/utils/alert-bar.model.d.ts +0 -2
  435. package/utils/alert-bars.utils.d.ts +0 -7
  436. package/utils/autocomplete-utils.d.ts +0 -12
  437. package/utils/color-contrast.d.ts +0 -28
  438. package/utils/hex-to-rgb.d.ts +0 -1
  439. package/utils/localization/language.model.d.ts +0 -14
  440. package/utils/localization/language.service.d.ts +0 -20
  441. package/utils/table.utils.d.ts +0 -6
@@ -1,218 +0,0 @@
1
- import { animate, style, transition, trigger } from '@angular/animations';
2
- import { Component, Inject, Input, Optional } from '@angular/core';
3
- import { MAT_SNACK_BAR_DATA } from '@angular/material/snack-bar';
4
- import { alertBarsUtil } from '../../utils/alert-bars.utils';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/material/snack-bar";
7
- import * as i2 from "@angular/platform-browser";
8
- import * as i3 from "@angular/common";
9
- import * as i4 from "../button/button.component";
10
- import * as i5 from "../icon/icon.component";
11
- import * as i6 from "@angular/material/tooltip";
12
- import * as i7 from "../../pipes/ui-translate.pipe";
13
- export class SnackbarComponent {
14
- /**
15
- * Snackbar message from html
16
- *
17
- * @memberof SnackbarComponent
18
- */
19
- set html(value) {
20
- if (value) {
21
- this.safeHtml = this.domSanitizer.bypassSecurityTrustHtml(value);
22
- }
23
- }
24
- constructor(defaultAppTheme, data, snackbarRef, domSanitizer) {
25
- this.defaultAppTheme = defaultAppTheme;
26
- this.data = data;
27
- this.snackbarRef = snackbarRef;
28
- this.domSanitizer = domSanitizer;
29
- /**
30
- * Background color of the button while in active state
31
- *
32
- * @type {SnackbarType}
33
- * @memberof SnackbarComponent
34
- */
35
- this.snackbarType = 'success';
36
- /**
37
- * Snackbar message
38
- *
39
- * @memberof SnackbarComponent
40
- */
41
- this.message = '';
42
- /**
43
- * Set the time that the snackbar will be visible
44
- *
45
- * @memberof SnackbarComponent
46
- */
47
- this.seconds = 5;
48
- /**
49
- * Include dismmiss button
50
- *
51
- * @memberof SnackbarComponent
52
- */
53
- this.includeDismissButton = true;
54
- /**
55
- * Static or fixed position
56
- *
57
- * @memberof SnackbarComponent
58
- */
59
- this.fixed = true;
60
- /**
61
- * Link text that will appended at the end of message
62
- *
63
- * @memberof AlertBannerComponent
64
- */
65
- this.linkText = '';
66
- /**
67
- * Link target
68
- *
69
- * @type {@type {LinkTargetType}}
70
- * @memberof AlertBannerComponent
71
- */
72
- this.linkTarget = '_blank';
73
- /**
74
- * The variant to be used
75
- *
76
- * @type {SnackbarVariant}
77
- * @memberof SnackbarComponent
78
- */
79
- this.variant = 'desktop';
80
- /**
81
- *
82
- * Defines the application theme
83
- *
84
- * @type {ApplicationTheme}
85
- * @memberof SnackbarComponent
86
- */
87
- this.applicationTheme = 'light';
88
- /**
89
- * Close button tooltip
90
- *
91
- * @type {string}
92
- * @memberof SnackbarComponent
93
- */
94
- this.closeButtonTooltip = '';
95
- /**
96
- * A string representing the ARIA requirement for accessibility.
97
- * This attribute is used to indicate whether an input field is required for form submission.
98
- * @type {string}
99
- * @memberof SnackbarComponent
100
- */
101
- this.ariaDescribedby = '';
102
- this.showSnackbar = true;
103
- this.visible = false;
104
- this.timerStartedAt = 0;
105
- this.timerPausedAt = 0;
106
- this.translationContext = 'SNACKBAR.';
107
- this.maxCharacters = 70;
108
- if (defaultAppTheme) {
109
- this.applicationTheme = defaultAppTheme;
110
- }
111
- this.snackbarType = data.snackbarType ?? 'success';
112
- this.message = data.message ?? '';
113
- this.safeHtml = data.html ? this.domSanitizer.bypassSecurityTrustHtml(data.html) : '';
114
- }
115
- ngOnInit() {
116
- this.milisenconds = this.seconds * 1000;
117
- this.iconName = alertBarsUtil.setIcon(this.snackbarType);
118
- this.show();
119
- this.position = alertBarsUtil.setPosition(this.fixed);
120
- }
121
- //Show snackbar
122
- show() {
123
- this.timerStartedAt = Date.now();
124
- this.visible = true;
125
- this.timer = window.setTimeout(() => this.hide(), this.milisenconds);
126
- }
127
- //Hide snackbar
128
- hide() {
129
- this.visible = false;
130
- this.timerPausedAt = 0;
131
- this.timerStartedAt = 0;
132
- clearTimeout(this.timer);
133
- this.timer = undefined;
134
- this.snackbarRef.dismiss();
135
- }
136
- //Pause timer when mouse enter
137
- onMouseEnter() {
138
- this.visible = true;
139
- this.timerPausedAt = Date.now();
140
- clearTimeout(this.timer);
141
- }
142
- //Continue timer when mouse leave
143
- onMouseLeave() {
144
- const diff = this.timerPausedAt - this.timerStartedAt;
145
- if (diff <= 0) {
146
- return this.hide();
147
- }
148
- this.timer = window.setTimeout(() => this.hide(), this.milisenconds - diff);
149
- }
150
- //Hide snackbar when dismiss button is clicked
151
- dismissClick() {
152
- this.visible = false;
153
- this.snackbarRef.dismiss();
154
- }
155
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", 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 }); }
156
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SnackbarComponent, 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\">{{ 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\">{{ 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: [
157
- trigger('openClose', [
158
- transition(':enter', [
159
- style({ bottom: '-55px', opacity: 0 }),
160
- animate('0.2s ease-out', style({ opacity: 1, bottom: '10px' })),
161
- ]),
162
- transition(':leave', [
163
- style({ bottom: '10px', opacity: 1 }),
164
- animate('0.2s ease-in', style({ bottom: '-55px', opacity: 0 })),
165
- ]),
166
- ]),
167
- ] }); }
168
- }
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarComponent, decorators: [{
170
- type: Component,
171
- args: [{ selector: 'ui-snackbar', animations: [
172
- trigger('openClose', [
173
- transition(':enter', [
174
- style({ bottom: '-55px', opacity: 0 }),
175
- animate('0.2s ease-out', style({ opacity: 1, bottom: '10px' })),
176
- ]),
177
- transition(':leave', [
178
- style({ bottom: '10px', opacity: 1 }),
179
- animate('0.2s ease-in', style({ bottom: '-55px', opacity: 0 })),
180
- ]),
181
- ]),
182
- ], 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\">{{ 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\">{{ 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"] }]
183
- }], ctorParameters: () => [{ type: undefined, decorators: [{
184
- type: Optional
185
- }, {
186
- type: Inject,
187
- args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
188
- }] }, { type: undefined, decorators: [{
189
- type: Inject,
190
- args: [MAT_SNACK_BAR_DATA]
191
- }] }, { type: i1.MatSnackBarRef }, { type: i2.DomSanitizer }], propDecorators: { snackbarType: [{
192
- type: Input
193
- }], message: [{
194
- type: Input
195
- }], html: [{
196
- type: Input
197
- }], seconds: [{
198
- type: Input
199
- }], includeDismissButton: [{
200
- type: Input
201
- }], fixed: [{
202
- type: Input
203
- }], linkText: [{
204
- type: Input
205
- }], linkUrl: [{
206
- type: Input
207
- }], linkTarget: [{
208
- type: Input
209
- }], variant: [{
210
- type: Input
211
- }], applicationTheme: [{
212
- type: Input
213
- }], closeButtonTooltip: [{
214
- type: Input
215
- }], ariaDescribedby: [{
216
- type: Input
217
- }] } });
218
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NuYWNrYmFyL3NuYWNrYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zbmFja2Jhci9zbmFja2Jhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDMUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFVLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRSxPQUFPLEVBQUUsa0JBQWtCLEVBQWtCLE1BQU0sNkJBQTZCLENBQUM7QUFHakYsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7Ozs7Ozs7QUFzQjdELE1BQU0sT0FBTyxpQkFBaUI7SUFnQjVCOzs7O09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lICE9PSAnY2xhc3NpYydcIlxuICAgICAgW3ZhcmlhbnRdPVwiJ2ljb24tYnV0dG9uJ1wiXG4gICAgICBbYXBwbGljYXRpb25UaGVtZV09XCInbGlnaHQnXCJcbiAgICAgIFtpY29uTmFtZV09XCInQ2xvc2UtaW4tbGluZSdcIlxuICAgICAgW3NpemVdPVwiJ3NtYWxsJ1wiXG4gICAgICBbdG9vbHRpcF09XCIoY2xvc2VCdXR0b25Ub29sdGlwIHx8ICgnQ09NTU9OLkNMT1NFJyB8IHVpVHJhbnNsYXRlIHwgYXN5bmMpKSFcIlxuICAgICAgKGNsaWNrKT1cImRpc21pc3NDbGljaygpXCJcbiAgICAgIGRhdGEtdGVzdGlkPVwic25hY2tiYXItZGlzbWlzcy1idXR0b25cIlxuICAgID48L3VpLWJ1dHRvbj5cbiAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,25 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { ButtonComponentModule } from '../button/button.component.module';
4
- import { IconComponentModule } from '../icon/icon.component.module';
5
- import { SnackbarComponent } from './snackbar.component';
6
- import { SnackbarService } from './snackbar.service';
7
- import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
8
- import { MatSnackBarModule } from '@angular/material/snack-bar';
9
- import { MatTooltipModule } from '@angular/material/tooltip';
10
- import * as i0 from "@angular/core";
11
- export class SnackbarComponentModule {
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
13
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SnackbarComponentModule, declarations: [SnackbarComponent], imports: [CommonModule, ButtonComponentModule, IconComponentModule, UiTranslatePipe, MatSnackBarModule, MatTooltipModule], exports: [SnackbarComponent] }); }
14
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarComponentModule, providers: [SnackbarService], imports: [CommonModule, ButtonComponentModule, IconComponentModule, MatSnackBarModule, MatTooltipModule] }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarComponentModule, decorators: [{
17
- type: NgModule,
18
- args: [{
19
- declarations: [SnackbarComponent],
20
- imports: [CommonModule, ButtonComponentModule, IconComponentModule, UiTranslatePipe, MatSnackBarModule, MatTooltipModule],
21
- exports: [SnackbarComponent],
22
- providers: [SnackbarService],
23
- }]
24
- }] });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIuY29tcG9uZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zbmFja2Jhci9zbmFja2Jhci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDaEUsT0FB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bi5jb21wb25lbnQubW9kdWxlJztcbmltcG9ydCB7IFNuYWNrYmFyQ29tcG9uZW50IH0gZnJvbSAnLi9zbmFja2Jhci5jb21wb25lbnQnO1xuaW1wb3J0IHsgU25hY2tiYXJTZXJ2aWNlIH0gZnJvbSAnLi9zbmFja2Jhci5zZXJ2aWNlJztcbmltcG9ydCB7IFVpVHJhbnNsYXRlUGlwZSB9IGZyb20gJy4uLy4uL3BpcGVzL3VpLXRyYW5zbGF0ZS5waXBlJztcbmltcG9ydCB7IE1hdFNuYWNrQmFyTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvc25hY2stYmFyJztcbmltcG9ydCB7IE1hdFRvb2x0aXBNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC90b29sdGlwJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbU25hY2tiYXJDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBCdXR0b25Db21wb25lbnRNb2R1bGUsIEljb25Db21wb25lbnRNb2R1bGUsIFVpVHJhbnNsYXRlUGlwZSwgTWF0U25hY2tCYXJNb2R1bGUsIE1hdFRvb2x0aXBNb2R1bGVdLFxuICBleHBvcnRzOiBbU25hY2tiYXJDb21wb25lbnRdLFxuICBwcm92aWRlcnM6IFtTbmFja2JhclNlcnZpY2VdLFxufSlcbmV4cG9ydCBjbGFzcyBTbmFja2JhckNvbXBvbmVudE1vZHVsZSB7fVxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvc25hY2tiYXIvc25hY2tiYXIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFNuYWNrYmFyVHlwZSA9ICdzdWNjZXNzJyB8ICdlcnJvcicgfCAnaW5mbycgfCAnd2FybmluZyc7XG5leHBvcnQgdHlwZSBTbmFja2JhclZhcmlhbnQgPSAnZGVza3RvcCcgfCAnbW9iaWxlJztcbiJdfQ==
@@ -1,40 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { SnackbarComponent } from './snackbar.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/snack-bar";
5
- export class SnackbarService {
6
- constructor(snackBar) {
7
- this.snackBar = snackBar;
8
- }
9
- error(message, applicationTheme, html) {
10
- return this.show('error', message, applicationTheme, html);
11
- }
12
- success(message, applicationTheme, html) {
13
- return this.show('success', message, applicationTheme, html);
14
- }
15
- info(message, applicationTheme, html) {
16
- return this.show('info', message, applicationTheme, html);
17
- }
18
- warning(message, applicationTheme, html) {
19
- return this.show('warning', message, applicationTheme, html);
20
- }
21
- show(snackbarType, message, applicationTheme, html) {
22
- const componentRef = this.snackBar.openFromComponent(SnackbarComponent, {
23
- data: {
24
- snackbarType,
25
- message,
26
- html,
27
- },
28
- });
29
- if (applicationTheme) {
30
- componentRef.instance.applicationTheme = applicationTheme;
31
- }
32
- return componentRef;
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarService, deps: [{ token: i1.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable }); }
35
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarService }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SnackbarService, decorators: [{
38
- type: Injectable
39
- }], ctorParameters: () => [{ type: i1.MatSnackBar }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2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