@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,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./stepper.component";
3
+ import * as i2 from "./step-line-element.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@testgorilla/tgo-ui/components/icon";
6
+ import * as i5 from "./step.component.module";
7
+ import * as i6 from "@angular/material/progress-spinner";
8
+ import * as i7 from "@testgorilla/tgo-ui/components/radial-progress";
9
+ import * as i8 from "@testgorilla/tgo-ui/components/core";
10
+ import * as i9 from "@angular/material/input";
11
+ export declare class StepperComponentModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineElementDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.RadialProgressComponentModule, typeof i8.UiTranslatePipe, typeof i9.MatInputModule], [typeof i1.StepperComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
15
+ }
@@ -0,0 +1,23 @@
1
+ import { IconName } from '@testgorilla/tgo-ui/components/icon';
2
+ import { TemplateRef } from '@angular/core';
3
+ export interface Step {
4
+ label: string;
5
+ isVisited?: boolean;
6
+ iconName?: IconName;
7
+ disabled?: boolean;
8
+ submitted?: boolean;
9
+ showIconWhenSelected?: boolean;
10
+ htmlDescription?: HtmlDescription[];
11
+ boldLabel?: boolean;
12
+ descriptionTpl?: TemplateRef<any>;
13
+ labelTooltip?: string;
14
+ alwaysShowIcon?: boolean;
15
+ context?: any;
16
+ }
17
+ export interface HtmlDescription {
18
+ text?: string;
19
+ iconName?: IconName;
20
+ iconTooltip?: string;
21
+ }
22
+ export type StepperPosition = 'horizontal' | 'vertical';
23
+ export type StepperVariation = 'primary' | 'secondary';
@@ -1,253 +1,5 @@
1
- import * as _angular_material_paginator from '@angular/material/paginator';
2
- import { PageEvent } from '@angular/material/paginator';
3
- import * as i0 from '@angular/core';
4
- import { Type, TemplateRef, OnChanges, AfterViewInit, OnInit, EventEmitter, ElementRef, DestroyRef, SimpleChanges, PipeTransform } from '@angular/core';
5
- import * as i11 from '@testgorilla/tgo-ui/components/core';
6
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
7
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
- import * as i4 from '@angular/material/table';
9
- import { MatTableDataSource } from '@angular/material/table';
10
- import * as i9 from '@angular/material/sort';
11
- import { Sort as Sort$1 } from '@angular/material/sort';
12
- import { Observable, BehaviorSubject } from 'rxjs';
13
- import * as i3 from '@angular/common';
14
- import * as i5 from '@angular/material/tooltip';
15
- import * as i6 from '@testgorilla/tgo-ui/components/skeleton';
16
- import * as i7 from '@testgorilla/tgo-ui/components/paginator';
17
- import * as i8 from '@testgorilla/tgo-ui/components/button';
18
- import * as i10 from '@testgorilla/tgo-ui/components/icon';
19
-
20
- interface TableConfig<T = any> {
21
- columns: TableColumn<T>[];
22
- pagination?: Pagination;
23
- title?: string;
24
- width?: number;
25
- sort?: Sort;
26
- hidePagination?: boolean;
27
- noDataRowTpl?: TemplateRef<any>;
28
- sortable?: boolean;
29
- }
30
- interface TableConfigWithPagination<T> extends TableConfig<T> {
31
- pagination?: Pagination;
32
- }
33
- interface TableColumn<T = any> {
34
- title?: string;
35
- key: string;
36
- allowMultiline?: boolean;
37
- bold?: boolean;
38
- showTooltip?: boolean;
39
- tooltip?: string;
40
- allowSort?: boolean;
41
- isSticky?: boolean;
42
- headerCellTemplate?: TemplateRef<any>;
43
- rowCellTemplate?: TemplateRef<any>;
44
- rowCellTemplateClick?: () => any;
45
- sortHeader?: string;
46
- hidden?: boolean;
47
- order?: number;
48
- fontSize?: '12px' | '14px';
49
- field?: string;
50
- type?: ColumnType;
51
- function?: (v: T) => string;
52
- renderer?: (v: T) => ComponentRenderer | string;
53
- styles?: ColumnStyles;
54
- sortStart?: SortDirection;
55
- uniqueId?: string;
56
- }
57
- interface Pagination {
58
- itemsPerPageOptions: number[];
59
- itemsPerPage: number;
60
- currentPage: number;
61
- totalItems: number;
62
- }
63
- type TableData = Record<string, any>[];
64
- interface ColumnEllipse {
65
- index: number;
66
- showTooltip: boolean;
67
- }
68
- interface Sort {
69
- active: string;
70
- direction: SortDirection;
71
- defaultSortStart?: SortDirection;
72
- }
73
- type SortDirection = 'asc' | 'desc' | '';
74
- interface TableDetailColumn<T, TDetail> {
75
- columnDefs: TableColumn<TDetail>[];
76
- setDetailRowData: (params: DetailRowDataParams<T, TDetail>) => void;
77
- }
78
- interface DetailRowDataParams<T, TDetail> {
79
- data: T;
80
- setDetailDataSource(rowData: TDetail[]): void;
81
- }
82
- declare enum ColumnType {
83
- FIELD = "field",
84
- FUNCTION = "function",
85
- RENDERER = "renderer"
86
- }
87
- interface ComponentRenderer {
88
- component: Type<any>;
89
- inputs?: any;
90
- outputs?: {
91
- [key: string]: any;
92
- };
93
- }
94
- interface ColumnStyles {
95
- alignment?: ColumnAlignment;
96
- width?: string;
97
- 'min-width'?: string;
98
- padding?: string;
99
- }
100
- declare enum ColumnAlignment {
101
- LEFT = "left",
102
- RIGHT = "right",
103
- CENTER = "center"
104
- }
105
- declare enum ColumnTypeEnum {
106
- FIELD = "field",
107
- FUNCTION = "function",
108
- RENDERER = "renderer"
109
- }
110
- declare enum ColumnAlignmentEnum {
111
- LEFT = "left",
112
- RIGHT = "right",
113
- CENTER = "center"
114
- }
115
- type DataSource = {
116
- [key: string]: any;
117
- };
118
- type ScrollSettings = {
119
- scrollEnd: boolean;
120
- horizontalScroll: boolean;
121
- scrollStart: boolean;
122
- };
123
-
124
- declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit, OnInit {
125
- private readonly defaultAppTheme;
126
- private destroyRef;
127
- protected readonly isMobile$: Observable<boolean>;
128
- /**
129
- * Table configuration
130
- *
131
- * @type {TableConfig}
132
- * @memberof TableComponent
133
- */
134
- config: TableConfigWithPagination<T>;
135
- /**
136
- * Input property for providing the table data.
137
- *
138
- * @type {TableData}
139
- * @memberof TableComponent
140
- */
141
- data: TableData;
142
- /**
143
- * Input property indicating whether the table is in a loading state.
144
- *
145
- * @type {boolean}
146
- * @memberof TableComponent
147
- * @default false
148
- */
149
- loading: boolean;
150
- /**
151
- *
152
- * Defines the application theme
153
- * @type {ApplicationTheme}
154
- * @memberof TableComponent
155
- */
156
- applicationTheme: ApplicationTheme;
157
- /**
158
- * Data structure to select which columns should be rendered and their capabilities
159
- *
160
- * @type {TableDetailColumn}
161
- * @memberof TableComponent
162
- */
163
- tableDetailColumns: TableDetailColumn<T, TDetail>;
164
- tableDetails: boolean;
165
- /**
166
- * Disable border radius for table
167
- *
168
- * @type {boolean}
169
- * @memberof TableComponent
170
- */
171
- disableBorderRadius: boolean;
172
- /**
173
- * Condensed table
174
- *
175
- * @type {boolean}
176
- * @memberof TableComponent
177
- */
178
- isCondensed: boolean;
179
- /**
180
- * Sticky header
181
- *
182
- * @type {boolean}
183
- * @memberof TableComponent
184
- */
185
- stickyHeader: boolean;
186
- /**
187
- * Max height
188
- *
189
- * @type {string}
190
- * @memberof TableComponent
191
- */
192
- maxHeight: string;
193
- onRowClickEvent: EventEmitter<any>;
194
- onDetailRowClickEvent: EventEmitter<any>;
195
- paginatorChange: EventEmitter<PageEvent>;
196
- sortChange: EventEmitter<Sort$1>;
197
- table: ElementRef;
198
- protected tableData: TableData;
199
- protected sourceData: TableData;
200
- protected columnsTooltipState: ColumnEllipse[];
201
- protected tableConfig: TableConfigWithPagination<T>;
202
- protected displayedColumns: string[];
203
- protected columnsDetailToDisplay: string[];
204
- protected skeletonStyleConfig: {
205
- background: string;
206
- 'border-radius': string;
207
- height: string;
208
- };
209
- protected dataSourceDetail: MatTableDataSource<any, _angular_material_paginator.MatPaginator>;
210
- protected elementDetail: any;
211
- protected readonly DataType: typeof ColumnType;
212
- protected scrollSettings$: BehaviorSubject<ScrollSettings>;
213
- constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
214
- ngOnInit(): void;
215
- ngAfterViewInit(): void;
216
- ngOnChanges(changes: SimpleChanges): void;
217
- hasTableScroll(): void;
218
- callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): any;
219
- protected onPaginatorChange(event: PageEvent): void;
220
- protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
221
- protected onSortChange(sortState: Sort$1, emitEvent?: boolean): void;
222
- protected onRowClick(rowParams: any, rowIndex: number): void;
223
- protected onDetailRowClick(rowParams: any): void;
224
- protected toggleRow(element: T): void;
225
- private setTableDetailDataSource;
226
- private setTableConfig;
227
- private setTableData;
228
- private defaultPaginationConfig;
229
- trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
230
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
231
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], false, never>;
232
- }
233
-
234
- declare class SentenceCasePipe implements PipeTransform {
235
- transform(value: string | undefined): string;
236
- static ɵfac: i0.ɵɵFactoryDeclaration<SentenceCasePipe, never>;
237
- static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", false>;
238
- }
239
-
240
- declare class TableComponentModule {
241
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
242
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof TableComponent, typeof SentenceCasePipe], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatTooltipModule, typeof i6.SkeletonComponent, typeof i7.PaginatorComponentModule, typeof i8.ButtonComponentModule, typeof i9.MatSortModule, typeof i10.IconComponentModule, typeof i11.EllipseTextDirective, typeof i11.DynamicComponentDirective, typeof i11.DataPropertyGetterPipe, typeof i11.MemoizeFuncPipe], [typeof TableComponent]>;
243
- static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
244
- }
245
-
246
1
  /**
247
- * Sorting table columns by order value if set.
248
- * The rest columns keep the same ordering and displayed after the sorted ones.
2
+ * Generated bundle index. Do not edit.
249
3
  */
250
- declare const sortByOrder: <T>(columns: TableColumn<T>[]) => TableColumn<T>[];
251
-
252
- export { ColumnAlignment, ColumnAlignmentEnum, ColumnType, ColumnTypeEnum, SentenceCasePipe, TableComponent, TableComponentModule, sortByOrder };
253
- export type { ColumnEllipse, ColumnStyles, ComponentRenderer, DataSource, DetailRowDataParams, Pagination, ScrollSettings, Sort, SortDirection, TableColumn, TableConfig, TableConfigWithPagination, TableData, TableDetailColumn };
4
+ /// <amd-module name="@testgorilla/tgo-ui/components/table" />
5
+ export * from './public-api';
@@ -0,0 +1,6 @@
1
+ export * from './table.component';
2
+ export * from './table.component.module';
3
+ export * from './table.model';
4
+ export * from './sentence-case.pipe';
5
+ export * from './table.utils';
6
+ export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SentenceCasePipe implements PipeTransform {
4
+ transform(value: string | undefined): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SentenceCasePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", false>;
7
+ }
@@ -0,0 +1,117 @@
1
+ import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, OnChanges, SimpleChanges, OnInit } from '@angular/core';
2
+ import { ColumnEllipse, ColumnType, ComponentRenderer, DataSource, ScrollSettings, TableColumn, TableConfigWithPagination, TableData, TableDetailColumn } from './table.model';
3
+ import { PageEvent } from '@angular/material/paginator';
4
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
5
+ import { MatTableDataSource } from '@angular/material/table';
6
+ import { Sort } from '@angular/material/sort';
7
+ import { BehaviorSubject, Observable } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit, OnInit {
10
+ private readonly defaultAppTheme;
11
+ private destroyRef;
12
+ protected readonly isMobile$: Observable<boolean>;
13
+ /**
14
+ * Table configuration
15
+ *
16
+ * @type {TableConfig}
17
+ * @memberof TableComponent
18
+ */
19
+ config: TableConfigWithPagination<T>;
20
+ /**
21
+ * Input property for providing the table data.
22
+ *
23
+ * @type {TableData}
24
+ * @memberof TableComponent
25
+ */
26
+ data: TableData;
27
+ /**
28
+ * Input property indicating whether the table is in a loading state.
29
+ *
30
+ * @type {boolean}
31
+ * @memberof TableComponent
32
+ * @default false
33
+ */
34
+ loading: boolean;
35
+ /**
36
+ *
37
+ * Defines the application theme
38
+ * @type {ApplicationTheme}
39
+ * @memberof TableComponent
40
+ */
41
+ applicationTheme: ApplicationTheme;
42
+ /**
43
+ * Data structure to select which columns should be rendered and their capabilities
44
+ *
45
+ * @type {TableDetailColumn}
46
+ * @memberof TableComponent
47
+ */
48
+ tableDetailColumns: TableDetailColumn<T, TDetail>;
49
+ tableDetails: boolean;
50
+ /**
51
+ * Disable border radius for table
52
+ *
53
+ * @type {boolean}
54
+ * @memberof TableComponent
55
+ */
56
+ disableBorderRadius: boolean;
57
+ /**
58
+ * Condensed table
59
+ *
60
+ * @type {boolean}
61
+ * @memberof TableComponent
62
+ */
63
+ isCondensed: boolean;
64
+ /**
65
+ * Sticky header
66
+ *
67
+ * @type {boolean}
68
+ * @memberof TableComponent
69
+ */
70
+ stickyHeader: boolean;
71
+ /**
72
+ * Max height
73
+ *
74
+ * @type {string}
75
+ * @memberof TableComponent
76
+ */
77
+ maxHeight: string;
78
+ onRowClickEvent: EventEmitter<any>;
79
+ onDetailRowClickEvent: EventEmitter<any>;
80
+ paginatorChange: EventEmitter<PageEvent>;
81
+ sortChange: EventEmitter<Sort>;
82
+ table: ElementRef;
83
+ protected tableData: TableData;
84
+ protected sourceData: TableData;
85
+ protected columnsTooltipState: ColumnEllipse[];
86
+ protected tableConfig: TableConfigWithPagination<T>;
87
+ protected displayedColumns: string[];
88
+ protected columnsDetailToDisplay: string[];
89
+ protected skeletonStyleConfig: {
90
+ background: string;
91
+ 'border-radius': string;
92
+ height: string;
93
+ };
94
+ protected dataSourceDetail: MatTableDataSource<any, import("@angular/material/paginator.d-CexYxFq4").M>;
95
+ protected elementDetail: any;
96
+ protected readonly DataType: typeof ColumnType;
97
+ protected scrollSettings$: BehaviorSubject<ScrollSettings>;
98
+ constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
99
+ ngOnInit(): void;
100
+ ngAfterViewInit(): void;
101
+ ngOnChanges(changes: SimpleChanges): void;
102
+ hasTableScroll(): void;
103
+ callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): any;
104
+ protected onPaginatorChange(event: PageEvent): void;
105
+ protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
106
+ protected onSortChange(sortState: Sort, emitEvent?: boolean): void;
107
+ protected onRowClick(rowParams: any, rowIndex: number): void;
108
+ protected onDetailRowClick(rowParams: any): void;
109
+ protected toggleRow(element: T): void;
110
+ private setTableDetailDataSource;
111
+ private setTableConfig;
112
+ private setTableData;
113
+ private defaultPaginationConfig;
114
+ trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], false, never>;
117
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table.component";
3
+ import * as i2 from "./sentence-case.pipe";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/table";
6
+ import * as i5 from "@angular/material/tooltip";
7
+ import * as i6 from "@testgorilla/tgo-ui/components/skeleton";
8
+ import * as i7 from "@testgorilla/tgo-ui/components/paginator";
9
+ import * as i8 from "@testgorilla/tgo-ui/components/button";
10
+ import * as i9 from "@angular/material/sort";
11
+ import * as i10 from "@testgorilla/tgo-ui/components/icon";
12
+ import * as i11 from "@testgorilla/tgo-ui/components/core";
13
+ export declare class TableComponentModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof i1.TableComponent, typeof i2.SentenceCasePipe], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatTooltipModule, typeof i6.SkeletonComponent, typeof i7.PaginatorComponentModule, typeof i8.ButtonComponentModule, typeof i9.MatSortModule, typeof i10.IconComponentModule, typeof i11.EllipseTextDirective, typeof i11.DynamicComponentDirective, typeof i11.DataPropertyGetterPipe, typeof i11.MemoizeFuncPipe], [typeof i1.TableComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
17
+ }
@@ -0,0 +1,104 @@
1
+ import { TemplateRef, Type } from '@angular/core';
2
+ export interface TableConfig<T = any> {
3
+ columns: TableColumn<T>[];
4
+ pagination?: Pagination;
5
+ title?: string;
6
+ width?: number;
7
+ sort?: Sort;
8
+ hidePagination?: boolean;
9
+ noDataRowTpl?: TemplateRef<any>;
10
+ sortable?: boolean;
11
+ }
12
+ export interface TableConfigWithPagination<T> extends TableConfig<T> {
13
+ pagination?: Pagination;
14
+ }
15
+ export interface TableColumn<T = any> {
16
+ title?: string;
17
+ key: string;
18
+ allowMultiline?: boolean;
19
+ bold?: boolean;
20
+ showTooltip?: boolean;
21
+ tooltip?: string;
22
+ allowSort?: boolean;
23
+ isSticky?: boolean;
24
+ headerCellTemplate?: TemplateRef<any>;
25
+ rowCellTemplate?: TemplateRef<any>;
26
+ rowCellTemplateClick?: () => any;
27
+ sortHeader?: string;
28
+ hidden?: boolean;
29
+ order?: number;
30
+ fontSize?: '12px' | '14px';
31
+ field?: string;
32
+ type?: ColumnType;
33
+ function?: (v: T) => string;
34
+ renderer?: (v: T) => ComponentRenderer | string;
35
+ styles?: ColumnStyles;
36
+ sortStart?: SortDirection;
37
+ uniqueId?: string;
38
+ }
39
+ export interface Pagination {
40
+ itemsPerPageOptions: number[];
41
+ itemsPerPage: number;
42
+ currentPage: number;
43
+ totalItems: number;
44
+ }
45
+ export type TableData = Record<string, any>[];
46
+ export interface ColumnEllipse {
47
+ index: number;
48
+ showTooltip: boolean;
49
+ }
50
+ export interface Sort {
51
+ active: string;
52
+ direction: SortDirection;
53
+ defaultSortStart?: SortDirection;
54
+ }
55
+ export type SortDirection = 'asc' | 'desc' | '';
56
+ export interface TableDetailColumn<T, TDetail> {
57
+ columnDefs: TableColumn<TDetail>[];
58
+ setDetailRowData: (params: DetailRowDataParams<T, TDetail>) => void;
59
+ }
60
+ export interface DetailRowDataParams<T, TDetail> {
61
+ data: T;
62
+ setDetailDataSource(rowData: TDetail[]): void;
63
+ }
64
+ export declare enum ColumnType {
65
+ FIELD = "field",
66
+ FUNCTION = "function",
67
+ RENDERER = "renderer"
68
+ }
69
+ export interface ComponentRenderer {
70
+ component: Type<any>;
71
+ inputs?: any;
72
+ outputs?: {
73
+ [key: string]: any;
74
+ };
75
+ }
76
+ export interface ColumnStyles {
77
+ alignment?: ColumnAlignment;
78
+ width?: string;
79
+ 'min-width'?: string;
80
+ padding?: string;
81
+ }
82
+ export declare enum ColumnAlignment {
83
+ LEFT = "left",
84
+ RIGHT = "right",
85
+ CENTER = "center"
86
+ }
87
+ export declare enum ColumnTypeEnum {
88
+ FIELD = "field",
89
+ FUNCTION = "function",
90
+ RENDERER = "renderer"
91
+ }
92
+ export declare enum ColumnAlignmentEnum {
93
+ LEFT = "left",
94
+ RIGHT = "right",
95
+ CENTER = "center"
96
+ }
97
+ export type DataSource = {
98
+ [key: string]: any;
99
+ };
100
+ export type ScrollSettings = {
101
+ scrollEnd: boolean;
102
+ horizontalScroll: boolean;
103
+ scrollStart: boolean;
104
+ };
@@ -0,0 +1,6 @@
1
+ import { TableColumn } from './table.model';
2
+ /**
3
+ * Sorting table columns by order value if set.
4
+ * The rest columns keep the same ordering and displayed after the sorted ones.
5
+ */
6
+ export declare const sortByOrder: <T>(columns: TableColumn<T>[]) => TableColumn<T>[];