@testgorilla/tgo-ui 7.0.0-beta.0 → 7.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 (518) hide show
  1. package/components/accordion/accordion.component.d.ts +100 -0
  2. package/components/accordion/accordion.component.module.d.ts +12 -0
  3. package/components/accordion/accordion.model.d.ts +2 -0
  4. package/components/accordion/index.d.ts +5 -118
  5. package/components/accordion/public-api.d.ts +4 -0
  6. package/components/ai-audio-circle/ai-audio-circle.component.d.ts +60 -0
  7. package/components/ai-audio-circle/ai-audio-circle.module.d.ts +8 -0
  8. package/components/ai-audio-circle/index.d.ts +5 -70
  9. package/components/ai-audio-circle/public-api.d.ts +2 -0
  10. package/components/ai-caveat/ai-caveat.component.d.ts +36 -0
  11. package/components/ai-caveat/ai-caveat.component.module.d.ts +10 -0
  12. package/components/ai-caveat/index.d.ts +3 -47
  13. package/components/ai-caveat/public-api.d.ts +3 -0
  14. package/components/ai-feedback/ai-feedback.component.d.ts +52 -0
  15. package/components/ai-feedback/ai-feedback.model.d.ts +19 -0
  16. package/components/ai-feedback/ai-feedback.module.d.ts +16 -0
  17. package/components/ai-feedback/index.d.ts +5 -92
  18. package/components/ai-feedback/public-api.d.ts +4 -0
  19. package/components/alert-banner/alert-banner.component.d.ts +144 -0
  20. package/components/alert-banner/alert-banner.component.module.d.ts +12 -0
  21. package/components/alert-banner/alert-banner.model.d.ts +6 -0
  22. package/components/alert-banner/index.d.ts +5 -165
  23. package/components/alert-banner/public-api.d.ts +4 -0
  24. package/components/audio-waveform/audio-waveform.component.d.ts +32 -0
  25. package/components/audio-waveform/audio-waveform.model.d.ts +8 -0
  26. package/components/audio-waveform/audio-waveform.module.d.ts +7 -0
  27. package/components/audio-waveform/audio-waveform.service.d.ts +21 -0
  28. package/components/audio-waveform/index.d.ts +5 -71
  29. package/components/audio-waveform/public-api.d.ts +4 -0
  30. package/components/autocomplete/autocomplete.component.d.ts +324 -0
  31. package/components/autocomplete/autocomplete.component.module.d.ts +23 -0
  32. package/components/autocomplete/autocomplete.model.d.ts +23 -0
  33. package/components/autocomplete/includes.pipe.d.ts +12 -0
  34. package/components/autocomplete/index.d.ts +3 -414
  35. package/components/autocomplete/prevent-input.directive.d.ts +7 -0
  36. package/components/autocomplete/public-api.d.ts +4 -0
  37. package/components/autocomplete/select-text.directive.d.ts +19 -0
  38. package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
  39. package/components/avatar/avatar.component.d.ts +67 -0
  40. package/components/avatar/avatar.component.module.d.ts +13 -0
  41. package/components/avatar/avatar.model.d.ts +18 -0
  42. package/components/avatar/index.d.ts +5 -107
  43. package/components/avatar/name-initials.pipe.d.ts +7 -0
  44. package/components/avatar/public-api.d.ts +4 -0
  45. package/components/badge/badge.component.d.ts +73 -0
  46. package/components/badge/badge.component.module.d.ts +10 -0
  47. package/components/badge/badge.model.d.ts +38 -0
  48. package/components/badge/index.d.ts +5 -125
  49. package/components/badge/public-api.d.ts +4 -0
  50. package/components/breadcrumb/breadcrumb.component.d.ts +40 -0
  51. package/components/breadcrumb/breadcrumb.component.module.d.ts +14 -0
  52. package/components/breadcrumb/breadcrumb.model.d.ts +5 -0
  53. package/components/breadcrumb/index.d.ts +5 -62
  54. package/components/breadcrumb/public-api.d.ts +4 -0
  55. package/components/button/button.component.d.ts +238 -0
  56. package/components/button/button.component.module.d.ts +15 -0
  57. package/components/button/button.model.d.ts +14 -0
  58. package/components/button/color-contrast.d.ts +28 -0
  59. package/components/button/index.d.ts +3 -298
  60. package/components/button/public-api.d.ts +5 -0
  61. package/components/card/card.component.d.ts +87 -0
  62. package/components/card/card.component.module.d.ts +9 -0
  63. package/components/card/card.model.d.ts +3 -0
  64. package/components/card/index.d.ts +5 -103
  65. package/components/card/public-api.d.ts +4 -0
  66. package/components/checkbox/checkbox.component.d.ts +193 -0
  67. package/components/checkbox/checkbox.component.module.d.ts +16 -0
  68. package/components/checkbox/focus-visible.directive.d.ts +12 -0
  69. package/components/checkbox/index.d.ts +5 -221
  70. package/components/checkbox/public-api.d.ts +4 -0
  71. package/components/checklist/checklist.component.d.ts +82 -0
  72. package/components/checklist/checklist.model.d.ts +9 -0
  73. package/components/checklist/index.d.ts +5 -97
  74. package/components/checklist/public-api.d.ts +3 -0
  75. package/components/core/alert-bar.model.d.ts +2 -0
  76. package/components/core/alert-bars.utils.d.ts +6 -0
  77. package/components/core/application-theme.model.d.ts +7 -0
  78. package/components/core/autocomplete-utils.d.ts +12 -0
  79. package/components/core/checkbox.model.d.ts +1 -0
  80. package/components/core/color-contrast.d.ts +28 -0
  81. package/components/core/colors.model.d.ts +63 -0
  82. package/components/core/data-property-getter.pipe.d.ts +8 -0
  83. package/components/core/digits-only.directive.d.ts +17 -0
  84. package/components/core/dynamic-component.directive.d.ts +20 -0
  85. package/components/core/ellipse-text.directive.d.ts +20 -0
  86. package/components/core/has-validation-error.pipe.d.ts +15 -0
  87. package/components/core/hex-to-rgb.d.ts +1 -0
  88. package/components/core/index.d.ts +3 -346
  89. package/components/core/is-large-tablet.d.ts +2 -0
  90. package/components/core/is-mobile.d.ts +2 -0
  91. package/components/core/keyboard-events.model.d.ts +11 -0
  92. package/components/core/language.model.d.ts +14 -0
  93. package/components/core/language.service.d.ts +20 -0
  94. package/components/core/link-target.model.d.ts +1 -0
  95. package/components/core/memoize-func.pipe.d.ts +26 -0
  96. package/components/core/public-api.d.ts +25 -0
  97. package/components/core/screen-breakpoints.model.d.ts +5 -0
  98. package/components/core/select-text.directive.d.ts +19 -0
  99. package/components/core/truncate.pipe.d.ts +7 -0
  100. package/components/core/ui-ordinal-suffix.pipe.d.ts +7 -0
  101. package/components/core/ui-translate.pipe.d.ts +32 -0
  102. package/components/datepicker/date-adapter.d.ts +34 -0
  103. package/components/datepicker/datepicker.component.d.ts +235 -0
  104. package/components/datepicker/datepicker.component.module.d.ts +17 -0
  105. package/components/datepicker/datepicker.service.d.ts +8 -0
  106. package/components/datepicker/index.d.ts +5 -305
  107. package/components/datepicker/no-date-format.directive.d.ts +11 -0
  108. package/components/datepicker/public-api.d.ts +6 -0
  109. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +34 -0
  110. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
  111. package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +38 -0
  112. package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
  113. package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +47 -0
  114. package/components/dialog/dialog-custom/dialog-custom.component.d.ts +22 -0
  115. package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +10 -0
  116. package/components/dialog/dialog.component.d.ts +163 -0
  117. package/components/dialog/dialog.component.module.d.ts +11 -0
  118. package/components/dialog/dialog.model.d.ts +12 -0
  119. package/components/dialog/dialog.service.d.ts +14 -0
  120. package/components/dialog/index.d.ts +5 -308
  121. package/components/dialog/public-api.d.ts +10 -0
  122. package/components/divider/divider.component.d.ts +39 -0
  123. package/components/divider/divider.component.module.d.ts +9 -0
  124. package/components/divider/divider.model.d.ts +1 -0
  125. package/components/divider/index.d.ts +5 -53
  126. package/components/divider/public-api.d.ts +4 -0
  127. package/components/donut-chart/donut-chart.component.d.ts +22 -0
  128. package/components/donut-chart/donut-chart.component.model.d.ts +6 -0
  129. package/components/donut-chart/donut-chart.component.module.d.ts +8 -0
  130. package/components/donut-chart/index.d.ts +5 -39
  131. package/components/donut-chart/public-api.d.ts +3 -0
  132. package/components/dropdown/dropdown.component.d.ts +214 -0
  133. package/components/dropdown/dropdown.component.module.d.ts +16 -0
  134. package/components/dropdown/dropdown.model.d.ts +6 -0
  135. package/components/dropdown/index.d.ts +5 -240
  136. package/components/dropdown/public-api.d.ts +4 -0
  137. package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
  138. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
  139. package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
  140. package/components/elevation-shadow/index.d.ts +5 -45
  141. package/components/elevation-shadow/public-api.d.ts +3 -0
  142. package/components/empty-state/empty-state.component.d.ts +199 -0
  143. package/components/empty-state/empty-state.component.module.d.ts +11 -0
  144. package/components/empty-state/empty-state.model.d.ts +3 -0
  145. package/components/empty-state/index.d.ts +5 -217
  146. package/components/empty-state/public-api.d.ts +4 -0
  147. package/components/field/field.component.d.ts +376 -0
  148. package/components/field/field.component.module.d.ts +17 -0
  149. package/components/field/field.model.d.ts +1 -0
  150. package/components/field/index.d.ts +3 -396
  151. package/components/field/public-api.d.ts +4 -0
  152. package/components/file-upload/drag-drop.directive.d.ts +12 -0
  153. package/components/file-upload/file-upload.component.d.ts +142 -0
  154. package/components/file-upload/file-upload.component.module.d.ts +14 -0
  155. package/components/file-upload/index.d.ts +5 -169
  156. package/components/file-upload/public-api.d.ts +3 -0
  157. package/components/filter-button/filter-button.component.d.ts +140 -0
  158. package/components/filter-button/filter-button.component.module.d.ts +17 -0
  159. package/components/filter-button/filter-button.model.d.ts +13 -0
  160. package/components/filter-button/index.d.ts +5 -173
  161. package/components/filter-button/public-api.d.ts +4 -0
  162. package/components/gaussian-chart/gaussian-chart.component.d.ts +82 -0
  163. package/components/gaussian-chart/gaussian-chart.module.d.ts +12 -0
  164. package/components/gaussian-chart/index.d.ts +5 -96
  165. package/components/gaussian-chart/public-api.d.ts +2 -0
  166. package/components/icon/icon-svg-content.d.ts +16 -0
  167. package/components/icon/icon.component.d.ts +72 -0
  168. package/components/icon/icon.component.module.d.ts +10 -0
  169. package/components/icon/icon.config.d.ts +10 -0
  170. package/components/icon/icon.model.d.ts +7 -0
  171. package/components/icon/icons.service.d.ts +8 -0
  172. package/components/icon/index.d.ts +5 -109
  173. package/components/icon/public-api.d.ts +6 -0
  174. package/components/icon-label/icon-label.component.d.ts +51 -0
  175. package/components/icon-label/icon-label.component.module.d.ts +9 -0
  176. package/components/icon-label/index.d.ts +5 -62
  177. package/components/icon-label/public-api.d.ts +2 -0
  178. package/components/inline-field/index.d.ts +3 -273
  179. package/components/inline-field/inline-field.component.d.ts +153 -0
  180. package/components/inline-field/inline-field.component.module.d.ts +13 -0
  181. package/components/inline-field/inline-field.model.d.ts +107 -0
  182. package/components/inline-field/public-api.d.ts +4 -0
  183. package/components/logo/index.d.ts +5 -106
  184. package/components/logo/logo.component.d.ts +66 -0
  185. package/components/logo/logo.component.module.d.ts +8 -0
  186. package/components/logo/logo.model.d.ts +29 -0
  187. package/components/logo/public-api.d.ts +4 -0
  188. package/components/media-card/index.d.ts +5 -35
  189. package/components/media-card/media-card.component.d.ts +32 -0
  190. package/components/media-card/public-api.d.ts +1 -0
  191. package/components/media-dialog/index.d.ts +5 -47
  192. package/components/media-dialog/media-dialog.component.d.ts +28 -0
  193. package/components/media-dialog/media-dialog.model.d.ts +16 -0
  194. package/components/media-dialog/public-api.d.ts +2 -0
  195. package/components/multi-input/index.d.ts +5 -185
  196. package/components/multi-input/multi-input.component.d.ts +158 -0
  197. package/components/multi-input/multi-input.component.module.d.ts +17 -0
  198. package/components/multi-input/multi-input.model.d.ts +4 -0
  199. package/components/multi-input/public-api.d.ts +5 -0
  200. package/components/multi-input/required-multi-input.validator.d.ts +3 -0
  201. package/components/navbar/index.d.ts +5 -203
  202. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +28 -0
  203. package/components/navbar/navbar.component.d.ts +133 -0
  204. package/components/navbar/navbar.component.module.d.ts +21 -0
  205. package/components/navbar/navbar.model.d.ts +21 -0
  206. package/components/navbar/public-api.d.ts +5 -0
  207. package/components/overflow-menu/index.d.ts +5 -163
  208. package/components/overflow-menu/overflow-menu.component.d.ts +117 -0
  209. package/components/overflow-menu/overflow-menu.component.module.d.ts +14 -0
  210. package/components/overflow-menu/overflow-menu.model.d.ts +32 -0
  211. package/components/overflow-menu/public-api.d.ts +4 -0
  212. package/components/page-header/index.d.ts +5 -51
  213. package/components/page-header/page-header.component.d.ts +38 -0
  214. package/components/page-header/page-header.component.module.d.ts +10 -0
  215. package/components/page-header/public-api.d.ts +3 -0
  216. package/components/paginator/index.d.ts +5 -70
  217. package/components/paginator/paginator.component.d.ts +58 -0
  218. package/components/paginator/paginator.component.module.d.ts +9 -0
  219. package/components/paginator/public-api.d.ts +3 -0
  220. package/components/password-criteria/index.d.ts +5 -60
  221. package/components/password-criteria/password.component.d.ts +44 -0
  222. package/components/password-criteria/password.component.module.d.ts +13 -0
  223. package/components/password-criteria/public-api.d.ts +3 -0
  224. package/components/password-strength/index.d.ts +5 -59
  225. package/components/password-strength/password-strength.component.d.ts +45 -0
  226. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  227. package/components/password-strength/public-api.d.ts +3 -0
  228. package/components/phone-input/index.d.ts +3 -179
  229. package/components/phone-input/join-strings.pipe.d.ts +7 -0
  230. package/components/phone-input/phone-input.component.d.ts +145 -0
  231. package/components/phone-input/phone-input.component.module.d.ts +19 -0
  232. package/components/phone-input/phone-input.model.d.ts +8 -0
  233. package/components/phone-input/public-api.d.ts +5 -0
  234. package/components/popover/index.d.ts +5 -34
  235. package/components/popover/popover.component.d.ts +9 -0
  236. package/components/popover/popover.directive.d.ts +31 -0
  237. package/components/popover/public-api.d.ts +1 -0
  238. package/components/progress-bar/index.d.ts +5 -86
  239. package/components/progress-bar/progress-bar.component.d.ts +73 -0
  240. package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
  241. package/components/progress-bar/public-api.d.ts +3 -0
  242. package/components/prompt/index.d.ts +5 -95
  243. package/components/prompt/prompt.component.d.ts +62 -0
  244. package/components/prompt/prompt.model.d.ts +9 -0
  245. package/components/prompt/prompt.module.d.ts +20 -0
  246. package/components/prompt/public-api.d.ts +4 -0
  247. package/components/radial-progress/index.d.ts +5 -99
  248. package/components/radial-progress/public-api.d.ts +4 -0
  249. package/components/radial-progress/radial-progress.component.d.ts +75 -0
  250. package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
  251. package/components/radial-progress/radial-progress.model.d.ts +10 -0
  252. package/components/radio-button/index.d.ts +5 -211
  253. package/components/radio-button/public-api.d.ts +4 -0
  254. package/components/radio-button/radio-button.component.d.ts +189 -0
  255. package/components/radio-button/radio-button.component.module.d.ts +15 -0
  256. package/components/radio-button/radio-button.model.d.ts +4 -0
  257. package/components/rating/half-star.pipe.d.ts +14 -0
  258. package/components/rating/index.d.ts +5 -97
  259. package/components/rating/public-api.d.ts +3 -0
  260. package/components/rating/rating.component.d.ts +71 -0
  261. package/components/rating/rating.component.module.d.ts +10 -0
  262. package/components/scale/index.d.ts +5 -65
  263. package/components/scale/public-api.d.ts +3 -0
  264. package/components/scale/scale.component.d.ts +54 -0
  265. package/components/scale/scale.component.module.d.ts +8 -0
  266. package/components/scale-table/index.d.ts +5 -49
  267. package/components/scale-table/public-api.d.ts +3 -0
  268. package/components/scale-table/scale-table.component.d.ts +39 -0
  269. package/components/scale-table/scale-table.model.d.ts +5 -0
  270. package/components/segmented-bar/index.d.ts +5 -92
  271. package/components/segmented-bar/public-api.d.ts +4 -0
  272. package/components/segmented-bar/segmented-bar.component.d.ts +64 -0
  273. package/components/segmented-bar/segmented-bar.component.module.d.ts +12 -0
  274. package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
  275. package/components/segmented-button/index.d.ts +5 -77
  276. package/components/segmented-button/public-api.d.ts +4 -0
  277. package/components/segmented-button/segmented-button.component.d.ts +55 -0
  278. package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
  279. package/components/segmented-button/segmented-button.model.d.ts +8 -0
  280. package/components/selectable-card/index.d.ts +5 -50
  281. package/components/selectable-card/public-api.d.ts +2 -0
  282. package/components/selectable-card/selectable-card.component.d.ts +38 -0
  283. package/components/selectable-card/selectable-card.component.module.d.ts +10 -0
  284. package/components/side-panel/index.d.ts +3 -97
  285. package/components/side-panel/public-api.d.ts +5 -0
  286. package/components/side-panel/side-panel-data-injection-token.d.ts +2 -0
  287. package/components/side-panel/side-panel.animations.d.ts +3 -0
  288. package/components/side-panel/side-panel.component.d.ts +22 -0
  289. package/components/side-panel/side-panel.model.d.ts +46 -0
  290. package/components/side-panel/side-panel.service.d.ts +22 -0
  291. package/components/side-sheet/index.d.ts +5 -81
  292. package/components/side-sheet/public-api.d.ts +4 -0
  293. package/components/side-sheet/side-sheet.component.d.ts +43 -0
  294. package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
  295. package/components/side-sheet/side-sheet.model.d.ts +10 -0
  296. package/components/side-sheet/side-sheet.service.d.ts +14 -0
  297. package/components/skeleton/index.d.ts +5 -34
  298. package/components/skeleton/public-api.d.ts +3 -0
  299. package/components/skeleton/skeleton.component.d.ts +27 -0
  300. package/components/skeleton/skeleton.model.d.ts +2 -0
  301. package/components/slider/index.d.ts +5 -144
  302. package/components/slider/public-api.d.ts +4 -0
  303. package/components/slider/slider.component.d.ts +128 -0
  304. package/components/slider/slider.component.module.d.ts +7 -0
  305. package/components/slider/slider.model.d.ts +5 -0
  306. package/components/snackbar/index.d.ts +5 -162
  307. package/components/snackbar/public-api.d.ts +5 -0
  308. package/components/snackbar/snackbar.component.d.ts +126 -0
  309. package/components/snackbar/snackbar.component.module.d.ts +13 -0
  310. package/components/snackbar/snackbar.model.d.ts +7 -0
  311. package/components/snackbar/snackbar.service.d.ts +16 -0
  312. package/components/spider-chart/index.d.ts +5 -127
  313. package/components/spider-chart/public-api.d.ts +3 -0
  314. package/components/spider-chart/spider-chart.component.d.ts +90 -0
  315. package/components/spider-chart/spider-chart.model.d.ts +12 -0
  316. package/components/spider-chart/spider-chart.module.d.ts +12 -0
  317. package/components/spinner/index.d.ts +5 -74
  318. package/components/spinner/public-api.d.ts +4 -0
  319. package/components/spinner/spinner.component.d.ts +59 -0
  320. package/components/spinner/spinner.model.d.ts +1 -0
  321. package/components/spinner/spinner.module.d.ts +10 -0
  322. package/components/stepper/index.d.ts +3 -341
  323. package/components/stepper/public-api.d.ts +7 -0
  324. package/components/stepper/step-line-element.directive.d.ts +17 -0
  325. package/components/stepper/step.component.d.ts +184 -0
  326. package/components/stepper/step.component.module.d.ts +11 -0
  327. package/components/stepper/stepper.component.d.ts +102 -0
  328. package/components/stepper/stepper.component.module.d.ts +15 -0
  329. package/components/stepper/stepper.model.d.ts +23 -0
  330. package/components/table/index.d.ts +3 -251
  331. package/components/table/public-api.d.ts +6 -0
  332. package/components/table/sentence-case.pipe.d.ts +7 -0
  333. package/components/table/table.component.d.ts +117 -0
  334. package/components/table/table.component.module.d.ts +17 -0
  335. package/components/table/table.model.d.ts +104 -0
  336. package/components/table/table.utils.d.ts +6 -0
  337. package/components/tabs/index.d.ts +5 -145
  338. package/components/tabs/public-api.d.ts +5 -0
  339. package/components/tabs/tab.directive.d.ts +28 -0
  340. package/components/tabs/tabs.component.d.ts +79 -0
  341. package/components/tabs/tabs.component.module.d.ts +13 -0
  342. package/components/tabs/tabs.model.d.ts +26 -0
  343. package/components/tag/index.d.ts +5 -166
  344. package/components/tag/public-api.d.ts +4 -0
  345. package/components/tag/tag.component.d.ts +145 -0
  346. package/components/tag/tag.component.module.d.ts +14 -0
  347. package/components/tag/tag.model.d.ts +1 -0
  348. package/components/toggle/index.d.ts +5 -130
  349. package/components/toggle/public-api.d.ts +3 -0
  350. package/components/toggle/toggle.component.d.ts +113 -0
  351. package/components/toggle/toggle.component.module.d.ts +13 -0
  352. package/components/toggle/toggle.model.d.ts +1 -0
  353. package/components/tooltip/index.d.ts +5 -111
  354. package/components/tooltip/public-api.d.ts +5 -0
  355. package/components/tooltip/tooltip-template.directive.d.ts +27 -0
  356. package/components/tooltip/tooltip.component.d.ts +64 -0
  357. package/components/tooltip/tooltip.component.module.d.ts +11 -0
  358. package/components/tooltip/tooltip.model.d.ts +8 -0
  359. package/components/universal-skills/index.d.ts +5 -153
  360. package/components/universal-skills/public-api.d.ts +6 -0
  361. package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
  362. package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +14 -0
  363. package/components/universal-skills/universal-skills-report.component.d.ts +33 -0
  364. package/components/universal-skills/universal-skills-report.component.module.d.ts +12 -0
  365. package/components/universal-skills/universal-skills-report.model.d.ts +44 -0
  366. package/components/universal-skills/universal-skills.service.d.ts +13 -0
  367. package/components/validation-error/index.d.ts +5 -36
  368. package/components/validation-error/public-api.d.ts +3 -0
  369. package/components/validation-error/validation-error.component.d.ts +22 -0
  370. package/components/validation-error/validation-error.model.d.ts +1 -0
  371. package/components/validation-error/validation-error.module.d.ts +10 -0
  372. package/components/write-with-ai/index.d.ts +3 -131
  373. package/components/write-with-ai/llm.service.d.ts +22 -0
  374. package/components/write-with-ai/public-api.d.ts +4 -0
  375. package/components/write-with-ai/write-with-ai.component.d.ts +79 -0
  376. package/components/write-with-ai/write-with-ai.model.d.ts +24 -0
  377. package/components/write-with-ai/write-with-ai.module.d.ts +7 -0
  378. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
  379. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  380. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +16 -16
  381. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  382. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
  383. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  384. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +24 -24
  385. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  386. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +8 -8
  387. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  388. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +24 -24
  389. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  390. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +23 -23
  391. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  392. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +11 -11
  393. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  394. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +8 -8
  395. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  396. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +23 -22
  397. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  398. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +9 -8
  399. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  400. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -7
  401. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  402. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +11 -11
  403. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  404. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +16 -16
  405. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  406. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +33 -33
  407. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  408. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +21 -21
  409. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  410. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +31 -31
  411. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  412. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -8
  413. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  414. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +13 -13
  415. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  416. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +10 -10
  417. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  418. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
  419. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  420. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +12 -12
  421. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  422. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +18 -18
  423. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  424. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +12 -12
  425. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  426. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +26 -26
  427. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  428. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +13 -12
  429. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  430. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
  431. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  432. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
  433. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  434. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
  435. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  436. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +9 -8
  437. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  438. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
  439. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  440. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
  441. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +34 -33
  442. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  443. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +21 -19
  444. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  445. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +11 -11
  446. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  447. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
  448. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  449. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -7
  450. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  451. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +9 -9
  452. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  453. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +8 -8
  454. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  455. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
  456. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  457. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +16 -16
  458. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  459. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +11 -11
  460. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  461. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +28 -28
  462. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  463. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
  464. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  465. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +8 -8
  466. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  467. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +11 -11
  468. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  469. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +9 -9
  470. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  471. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +9 -9
  472. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  473. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +8 -8
  474. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  475. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +9 -9
  476. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  477. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
  478. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  479. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +13 -13
  480. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  481. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +17 -17
  482. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  483. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
  484. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  485. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +15 -15
  486. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  487. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -11
  488. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  489. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +14 -32
  490. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  491. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
  492. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  493. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +20 -20
  494. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  495. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
  496. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  497. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +27 -27
  498. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  499. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +12 -12
  500. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  501. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +9 -9
  502. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  503. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +11 -11
  504. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  505. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +23 -23
  506. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  507. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +11 -11
  508. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  509. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +38 -38
  510. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  511. package/fesm2022/testgorilla-tgo-ui.mjs +8 -8
  512. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  513. package/index.d.ts +5 -46
  514. package/mcp/catalog.json +1 -0
  515. package/mcp/server.mjs +21567 -0
  516. package/package.json +30 -29
  517. package/projects/tgo-canopy-ui/theme/_tooltip.scss +0 -2
  518. package/public-api.d.ts +81 -0
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./confirm-dialog.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/dialog";
5
+ import * as i4 from "@testgorilla/tgo-ui/components/button";
6
+ import * as i5 from "../dialog.component.module";
7
+ import * as i6 from "@testgorilla/tgo-ui/components/core";
8
+ export declare class ConfirmDialogComponentModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof i1.ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.DialogComponentModule, typeof i6.UiTranslatePipe], [typeof i1.ConfirmDialogComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
12
+ }
@@ -0,0 +1,47 @@
1
+ import { Language } from '@testgorilla/tgo-ui/components/core';
2
+ import { ButtonColor, ButtonIconPosition } from '@testgorilla/tgo-ui/components/button';
3
+ import { IconName } from '@testgorilla/tgo-ui/components/icon';
4
+ export interface ConfirmDialogData {
5
+ message?: string;
6
+ confirmButtonText?: string;
7
+ cancelButtonText?: string;
8
+ title?: string;
9
+ color?: string;
10
+ language?: Language;
11
+ messageHtml?: string;
12
+ showCloseButton?: boolean;
13
+ showSecondaryButton?: boolean;
14
+ primaryButtonType?: ButtonColor;
15
+ primaryButtonIconPosition?: ButtonIconPosition;
16
+ secondaryButtonType?: ButtonColor;
17
+ primaryButtonIconName?: IconName;
18
+ primaryButtonDataTestId?: string;
19
+ secondaryButtonDataTestId?: string;
20
+ /**
21
+ * Callback function executed when the primary/confirm button is clicked.
22
+ *
23
+ * This callback is executed immediately before the dialog closes, within the same
24
+ * user gesture context. This is crucial for operations that may trigger popup blockers
25
+ * in restrictive browsers, such as:
26
+ * - Opening new tabs/windows (window.open)
27
+ * - Triggering file downloads
28
+ * - Navigating to external URLs
29
+ * - Accessing clipboard operations
30
+ *
31
+ * **Important**: Use this instead of subscribing to `afterClosed()` for popup-sensitive
32
+ * operations, as `afterClosed()` executes outside the user gesture context and will
33
+ * be blocked by popup blockers in most modern browsers.
34
+ *
35
+ * @example
36
+ * ```typescript
37
+ * // ✅ Good - executes within user gesture, won't be blocked
38
+ * onConfirm: () => window.open('https://example.com', '_blank')
39
+ *
40
+ * // ❌ Bad - executes outside user gesture, could be blocked
41
+ * dialogRef.afterClosed().subscribe(result => {
42
+ * if (result) window.open('https://example.com', '_blank');
43
+ * });
44
+ * ```
45
+ */
46
+ onConfirm?: () => void;
47
+ }
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DialogCustomComponent implements OnInit {
5
+ private readonly defaultAppTheme;
6
+ protected data: any;
7
+ canClose: () => boolean;
8
+ /**
9
+ *
10
+ * Defines the application theme
11
+ *
12
+ * @type {ApplicationTheme}
13
+ * @memberof DialogComponent
14
+ */
15
+ applicationTheme: ApplicationTheme;
16
+ constructor(defaultAppTheme: ApplicationTheme, data: any);
17
+ ngOnInit(): void;
18
+ canCloseFalse(): boolean;
19
+ canCloseTrue(): boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{ optional: true; }, null]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog-custom.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../dialog.component.module";
5
+ import * as i4 from "@testgorilla/tgo-ui/components/button";
6
+ export declare class DialogCustomComponentModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponentModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule, [typeof i1.DialogCustomComponent], [typeof i2.CommonModule, typeof i3.DialogComponentModule, typeof i4.ButtonComponentModule], [typeof i1.DialogCustomComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
10
+ }
@@ -0,0 +1,163 @@
1
+ import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
+ import { ButtonComponent } from '@testgorilla/tgo-ui/components/button';
5
+ import { ButtonColor, ButtonIconPosition } from '@testgorilla/tgo-ui/components/button';
6
+ import { IconName } from '@testgorilla/tgo-ui/components/icon';
7
+ import * as i0 from "@angular/core";
8
+ export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
9
+ private readonly defaultAppTheme;
10
+ dialogRef: MatDialogRef<DialogComponent>;
11
+ private data;
12
+ /**
13
+ * Dialog title
14
+ *
15
+ * @memberof DialogComponent
16
+ */
17
+ title?: string | undefined;
18
+ /**
19
+ * Show close button
20
+ *
21
+ * @memberof DialogComponent
22
+ */
23
+ showCloseButton: boolean;
24
+ /**
25
+ * Fuction called before dialgo is closed
26
+ *
27
+ * @memberof DialogComponent
28
+ */
29
+ canCloseFn: () => boolean;
30
+ /**
31
+ * Secondary button label
32
+ *
33
+ * @memberof DialogComponent
34
+ */
35
+ secondaryButtonLabel?: string | undefined;
36
+ /**
37
+ * Footer dialog message
38
+ *
39
+ * @memberof DialogComponent
40
+ */
41
+ footerMessage?: string | undefined;
42
+ /**
43
+ * Primary button label
44
+ *
45
+ * @memberof DialogComponent
46
+ */
47
+ primaryButtonLabel?: string | undefined;
48
+ /**
49
+ * Primary button icon name
50
+ *
51
+ * @memberof DialogComponent
52
+ */
53
+ primaryButtonIconName?: IconName | '';
54
+ /**
55
+ * Secondary button type
56
+ *
57
+ * @memberof DialogComponent
58
+ */
59
+ secondaryButtonType: ButtonColor;
60
+ /**
61
+ * Primary button type
62
+ *
63
+ * @memberof DialogComponent
64
+ */
65
+ primaryButtonType: ButtonColor;
66
+ /**
67
+ * Primary button test id
68
+ *
69
+ * @memberof DialogComponent
70
+ */
71
+ primaryButtonDataTestId: string | null;
72
+ /**
73
+ * Secondary button test id
74
+ *
75
+ * @memberof DialogComponent
76
+ */
77
+ secondaryButtonDataTestId: string | null;
78
+ /**
79
+ * Color of the dialog.
80
+ * Defaults to Test Gorilla primary color.
81
+ *
82
+ * @type {string}
83
+ * @memberof DialogComponent
84
+ */
85
+ companyColor: string | null;
86
+ /**
87
+ *
88
+ * Defines the application theme
89
+ *
90
+ * @type {ApplicationTheme}
91
+ * @memberof DialogComponent
92
+ */
93
+ applicationTheme: ApplicationTheme;
94
+ /**
95
+ *
96
+ * Disable primary button
97
+ *
98
+ * @type {boolean}
99
+ * @memberof DialogComponent
100
+ */
101
+ disablePrimaryButton: boolean;
102
+ /**
103
+ *
104
+ * Disable close button
105
+ *
106
+ * @type {boolean}
107
+ * @memberof DialogComponent
108
+ */
109
+ disableClose: boolean;
110
+ /**
111
+ *
112
+ * Disable button when canCloseFn is used
113
+ *
114
+ * @type {boolean}
115
+ * @memberof DialogComponent
116
+ */
117
+ shouldDisableButtons: boolean;
118
+ /**
119
+ * A string representing the ARIA requirement for accessibility.
120
+ * This attribute is used to indicate whether an input field is required for form submission.
121
+ * @type {string}
122
+ * @memberof DialogComponent
123
+ */
124
+ ariaLabelledby: string;
125
+ /**
126
+ * A string representing the ARIA requirement for accessibility.
127
+ * This attribute is used to indicate whether an input field is required for form submission.
128
+ * @type {string}
129
+ * @memberof DialogComponent
130
+ */
131
+ ariaDescribedby: string;
132
+ /**
133
+ * Defines how modal was opened (with keyboard or not)
134
+ *
135
+ * @type {boolean}
136
+ * @memberof DialogComponent
137
+ */
138
+ keyboardOpen: boolean;
139
+ primaryButtonIconPosition: import("@angular/core").InputSignal<ButtonIconPosition>;
140
+ closeEvent: EventEmitter<Event>;
141
+ secondaryButtonClickEvent: EventEmitter<Event>;
142
+ primaryButtonClickEvent: EventEmitter<Event>;
143
+ closeButton: ButtonComponent;
144
+ modalClosed: boolean;
145
+ onEsc(): void;
146
+ constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<DialogComponent>, data: {
147
+ applicationTheme: ApplicationTheme;
148
+ });
149
+ disableButtons: boolean;
150
+ protected readonly translationContext = "DIALOG.";
151
+ customHeader?: any;
152
+ get hasCustomHeader(): boolean;
153
+ ngOnInit(): void;
154
+ ngOnChanges(changes: SimpleChanges): void;
155
+ ngAfterViewInit(): void;
156
+ areButtonsDisabled(): void;
157
+ dismiss(): void;
158
+ onClose(event: Event): void;
159
+ onSecondaryButtonClick(event: Event): void;
160
+ onPrimaryButtonClick(event: Event): void;
161
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
162
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "footerMessage": { "alias": "footerMessage"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; "isSignal": true; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, ["customHeader"], ["[dialogHeader]", "*"], false, never>;
163
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/dialog";
5
+ import * as i4 from "@testgorilla/tgo-ui/components/button";
6
+ import * as i5 from "@testgorilla/tgo-ui/components/core";
7
+ export declare class DialogComponentModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof i1.DialogComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { DialogSize } from './dialog.service';
2
+ import { MatDialogConfig } from '@angular/material/dialog';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
+ export interface DialogConfig<T = any> {
5
+ applicationTheme?: ApplicationTheme;
6
+ size?: DialogSize;
7
+ panelClass?: string;
8
+ extraData?: T;
9
+ backdropClass?: string;
10
+ keyboardOpen?: boolean;
11
+ config?: MatDialogConfig;
12
+ }
@@ -0,0 +1,14 @@
1
+ import { ComponentType } from '@angular/cdk/portal';
2
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
+ import { DialogConfig } from './dialog.model';
5
+ import * as i0 from "@angular/core";
6
+ export type DialogSize = 'small' | 'large' | 'x-large';
7
+ export declare class DialogService {
8
+ private matDialog;
9
+ private readonly defaultAppTheme;
10
+ constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
11
+ open<K = any, R = any, T = any>(dialogComponent: ComponentType<T>, dialogConfig?: DialogConfig<K>): MatDialogRef<T, R>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, { optional: true; }]>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
14
+ }
@@ -1,308 +1,5 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, OnChanges, AfterViewInit, EventEmitter, SimpleChanges } from '@angular/core';
3
- import * as i3 from '@angular/material/dialog';
4
- import { MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
5
- import * as i5 from '@testgorilla/tgo-ui/components/core';
6
- import { ApplicationTheme, Language } from '@testgorilla/tgo-ui/components/core';
7
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
- import * as i4 from '@testgorilla/tgo-ui/components/button';
9
- import { ButtonColor, ButtonIconPosition, ButtonComponent } from '@testgorilla/tgo-ui/components/button';
10
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
11
- import * as i2 from '@angular/common';
12
- import { ComponentType } from '@angular/cdk/portal';
13
-
14
- declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
15
- private readonly defaultAppTheme;
16
- dialogRef: MatDialogRef<DialogComponent>;
17
- private data;
18
- /**
19
- * Dialog title
20
- *
21
- * @memberof DialogComponent
22
- */
23
- title?: string | undefined;
24
- /**
25
- * Show close button
26
- *
27
- * @memberof DialogComponent
28
- */
29
- showCloseButton: boolean;
30
- /**
31
- * Fuction called before dialgo is closed
32
- *
33
- * @memberof DialogComponent
34
- */
35
- canCloseFn: () => boolean;
36
- /**
37
- * Secondary button label
38
- *
39
- * @memberof DialogComponent
40
- */
41
- secondaryButtonLabel?: string | undefined;
42
- /**
43
- * Footer dialog message
44
- *
45
- * @memberof DialogComponent
46
- */
47
- footerMessage?: string | undefined;
48
- /**
49
- * Primary button label
50
- *
51
- * @memberof DialogComponent
52
- */
53
- primaryButtonLabel?: string | undefined;
54
- /**
55
- * Primary button icon name
56
- *
57
- * @memberof DialogComponent
58
- */
59
- primaryButtonIconName?: IconName | '';
60
- /**
61
- * Secondary button type
62
- *
63
- * @memberof DialogComponent
64
- */
65
- secondaryButtonType: ButtonColor;
66
- /**
67
- * Primary button type
68
- *
69
- * @memberof DialogComponent
70
- */
71
- primaryButtonType: ButtonColor;
72
- /**
73
- * Primary button test id
74
- *
75
- * @memberof DialogComponent
76
- */
77
- primaryButtonDataTestId: string | null;
78
- /**
79
- * Secondary button test id
80
- *
81
- * @memberof DialogComponent
82
- */
83
- secondaryButtonDataTestId: string | null;
84
- /**
85
- * Color of the dialog.
86
- * Defaults to Test Gorilla primary color.
87
- *
88
- * @type {string}
89
- * @memberof DialogComponent
90
- */
91
- companyColor: string | null;
92
- /**
93
- *
94
- * Defines the application theme
95
- *
96
- * @type {ApplicationTheme}
97
- * @memberof DialogComponent
98
- */
99
- applicationTheme: ApplicationTheme;
100
- /**
101
- *
102
- * Disable primary button
103
- *
104
- * @type {boolean}
105
- * @memberof DialogComponent
106
- */
107
- disablePrimaryButton: boolean;
108
- /**
109
- *
110
- * Disable close button
111
- *
112
- * @type {boolean}
113
- * @memberof DialogComponent
114
- */
115
- disableClose: boolean;
116
- /**
117
- *
118
- * Disable button when canCloseFn is used
119
- *
120
- * @type {boolean}
121
- * @memberof DialogComponent
122
- */
123
- shouldDisableButtons: boolean;
124
- /**
125
- * A string representing the ARIA requirement for accessibility.
126
- * This attribute is used to indicate whether an input field is required for form submission.
127
- * @type {string}
128
- * @memberof DialogComponent
129
- */
130
- ariaLabelledby: string;
131
- /**
132
- * A string representing the ARIA requirement for accessibility.
133
- * This attribute is used to indicate whether an input field is required for form submission.
134
- * @type {string}
135
- * @memberof DialogComponent
136
- */
137
- ariaDescribedby: string;
138
- /**
139
- * Defines how modal was opened (with keyboard or not)
140
- *
141
- * @type {boolean}
142
- * @memberof DialogComponent
143
- */
144
- keyboardOpen: boolean;
145
- primaryButtonIconPosition: i0.InputSignal<ButtonIconPosition>;
146
- closeEvent: EventEmitter<Event>;
147
- secondaryButtonClickEvent: EventEmitter<Event>;
148
- primaryButtonClickEvent: EventEmitter<Event>;
149
- closeButton: ButtonComponent;
150
- modalClosed: boolean;
151
- onEsc(): void;
152
- constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<DialogComponent>, data: {
153
- applicationTheme: ApplicationTheme;
154
- });
155
- disableButtons: boolean;
156
- protected readonly translationContext = "DIALOG.";
157
- customHeader?: any;
158
- get hasCustomHeader(): boolean;
159
- ngOnInit(): void;
160
- ngOnChanges(changes: SimpleChanges): void;
161
- ngAfterViewInit(): void;
162
- areButtonsDisabled(): void;
163
- dismiss(): void;
164
- onClose(event: Event): void;
165
- onSecondaryButtonClick(event: Event): void;
166
- onPrimaryButtonClick(event: Event): void;
167
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
168
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "footerMessage": { "alias": "footerMessage"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; "isSignal": true; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, ["customHeader"], ["[dialogHeader]", "*"], false, never>;
169
- }
170
-
171
- declare class DialogComponentModule {
172
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
173
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof DialogComponent]>;
174
- static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
175
- }
176
-
177
- type DialogSize = 'small' | 'large' | 'x-large';
178
- declare class DialogService {
179
- private matDialog;
180
- private readonly defaultAppTheme;
181
- constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
182
- open<K = any, R = any, T = any>(dialogComponent: ComponentType<T>, dialogConfig?: DialogConfig<K>): MatDialogRef<T, R>;
183
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, { optional: true; }]>;
184
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
185
- }
186
-
187
- interface DialogConfig<T = any> {
188
- applicationTheme?: ApplicationTheme;
189
- size?: DialogSize;
190
- panelClass?: string;
191
- extraData?: T;
192
- backdropClass?: string;
193
- keyboardOpen?: boolean;
194
- config?: MatDialogConfig;
195
- }
196
-
197
- interface ConfirmDialogData {
198
- message?: string;
199
- confirmButtonText?: string;
200
- cancelButtonText?: string;
201
- title?: string;
202
- color?: string;
203
- language?: Language;
204
- messageHtml?: string;
205
- showCloseButton?: boolean;
206
- showSecondaryButton?: boolean;
207
- primaryButtonType?: ButtonColor;
208
- primaryButtonIconPosition?: ButtonIconPosition;
209
- secondaryButtonType?: ButtonColor;
210
- primaryButtonIconName?: IconName;
211
- primaryButtonDataTestId?: string;
212
- secondaryButtonDataTestId?: string;
213
- /**
214
- * Callback function executed when the primary/confirm button is clicked.
215
- *
216
- * This callback is executed immediately before the dialog closes, within the same
217
- * user gesture context. This is crucial for operations that may trigger popup blockers
218
- * in restrictive browsers, such as:
219
- * - Opening new tabs/windows (window.open)
220
- * - Triggering file downloads
221
- * - Navigating to external URLs
222
- * - Accessing clipboard operations
223
- *
224
- * **Important**: Use this instead of subscribing to `afterClosed()` for popup-sensitive
225
- * operations, as `afterClosed()` executes outside the user gesture context and will
226
- * be blocked by popup blockers in most modern browsers.
227
- *
228
- * @example
229
- * ```typescript
230
- * // ✅ Good - executes within user gesture, won't be blocked
231
- * onConfirm: () => window.open('https://example.com', '_blank')
232
- *
233
- * // ❌ Bad - executes outside user gesture, could be blocked
234
- * dialogRef.afterClosed().subscribe(result => {
235
- * if (result) window.open('https://example.com', '_blank');
236
- * });
237
- * ```
238
- */
239
- onConfirm?: () => void;
240
- }
241
-
242
- declare class ConfirmDialogComponent {
243
- private readonly defaultAppTheme;
244
- dialogRef: MatDialogRef<ConfirmDialogComponent>;
245
- private data;
246
- confirmMessage: string | undefined;
247
- confirmButtonText: string | undefined;
248
- cancelButtonText: string | undefined;
249
- title: string | undefined;
250
- lang: i5.Language;
251
- confirmMessageHtml: string | undefined;
252
- showCloseButton: boolean;
253
- showSecondaryButton: boolean;
254
- color: string | null;
255
- primaryButtonType: ButtonColor;
256
- secondaryButtonType: ButtonColor;
257
- primaryButtonIconName: IconName | undefined;
258
- primaryButtonDataTestId: string;
259
- secondaryButtonDataTestId: string;
260
- primaryButtonIconPosition: ButtonIconPosition;
261
- /**
262
- *
263
- * Defines the application theme
264
- *
265
- * @type {ApplicationTheme}
266
- * @memberof DialogComponent
267
- */
268
- applicationTheme: ApplicationTheme;
269
- constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
270
- onConfirm(): void;
271
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, [{ optional: true; }, null, null]>;
272
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
273
- }
274
-
275
- declare class ConfirmDialogComponentModule {
276
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
277
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof DialogComponentModule, typeof i5.UiTranslatePipe], [typeof ConfirmDialogComponent]>;
278
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
279
- }
280
-
281
- declare class DialogCustomComponent implements OnInit {
282
- private readonly defaultAppTheme;
283
- protected data: any;
284
- canClose: () => boolean;
285
- /**
286
- *
287
- * Defines the application theme
288
- *
289
- * @type {ApplicationTheme}
290
- * @memberof DialogComponent
291
- */
292
- applicationTheme: ApplicationTheme;
293
- constructor(defaultAppTheme: ApplicationTheme, data: any);
294
- ngOnInit(): void;
295
- canCloseFalse(): boolean;
296
- canCloseTrue(): boolean;
297
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{ optional: true; }, null]>;
298
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
299
- }
300
-
301
- declare class DialogCustomComponentModule {
302
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponentModule, never>;
303
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule, [typeof DialogCustomComponent], [typeof i2.CommonModule, typeof DialogComponentModule, typeof i4.ButtonComponentModule], [typeof DialogCustomComponent]>;
304
- static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
305
- }
306
-
307
- export { ConfirmDialogComponent, ConfirmDialogComponentModule, DialogComponent, DialogComponentModule, DialogCustomComponent, DialogCustomComponentModule, DialogService };
308
- export type { ConfirmDialogData, DialogConfig, DialogSize };
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@testgorilla/tgo-ui/components/dialog" />
5
+ export * from './public-api';
@@ -0,0 +1,10 @@
1
+ export * from './dialog.component';
2
+ export * from './dialog.component.module';
3
+ export * from './dialog.model';
4
+ export * from './dialog.service';
5
+ export * from './confirm-dialog/confirm-dialog.component';
6
+ export * from './confirm-dialog/confirm-dialog.component.module';
7
+ export * from './confirm-dialog/confirm-dialog.model';
8
+ export * from './dialog-custom/dialog-custom.component';
9
+ export * from './dialog-custom/dialog-custom.component.module';
10
+ export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
@@ -0,0 +1,39 @@
1
+ import { DividerSize } from './divider.model';
2
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DividerComponent {
5
+ private readonly defaultAppTheme;
6
+ /**
7
+ * Divider size
8
+ *
9
+ * @type {DividerSize}
10
+ * @memberof DividerComponent
11
+ */
12
+ size: DividerSize;
13
+ /**
14
+ * Determines whether the checkbox color.
15
+ * Default: Test Gorilla primary color.
16
+ *
17
+ * @type {string}
18
+ * @memberof DividerComponent
19
+ */
20
+ companyColor: string | null;
21
+ /**
22
+ *
23
+ * Defines the application theme
24
+ *
25
+ * @type {ApplicationTheme}
26
+ * @memberof DividerComponent
27
+ */
28
+ applicationTheme: ApplicationTheme;
29
+ /**
30
+ * Text content in the center of the divider
31
+ *
32
+ * @type {string}
33
+ * @memberof DividerComponent
34
+ */
35
+ label: string;
36
+ constructor(defaultAppTheme: ApplicationTheme);
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, [{ optional: true; }]>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "ui-divider", never, { "size": { "alias": "size"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
39
+ }