@testgorilla/tgo-ui 2.24.22 → 2.24.9999

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 (320) hide show
  1. package/components/alert-banner/index.d.ts +1 -0
  2. package/components/alert-banner/public-api.d.ts +2 -0
  3. package/components/avatar/index.d.ts +1 -0
  4. package/components/avatar/public-api.d.ts +3 -0
  5. package/components/badge/index.d.ts +1 -0
  6. package/components/badge/public-api.d.ts +3 -0
  7. package/components/button/index.d.ts +1 -0
  8. package/components/button/public-api.d.ts +3 -0
  9. package/components/card/index.d.ts +1 -0
  10. package/components/card/public-api.d.ts +3 -0
  11. package/components/checkbox/index.d.ts +1 -0
  12. package/components/checkbox/public-api.d.ts +2 -0
  13. package/components/field/index.d.ts +1 -0
  14. package/components/field/public-api.d.ts +3 -0
  15. package/components/gaussian-chart/gaussian-chart.module.d.ts +1 -1
  16. package/components/icon/index.d.ts +1 -0
  17. package/components/icon/public-api.d.ts +3 -0
  18. package/components/logo/index.d.ts +1 -0
  19. package/components/logo/public-api.d.ts +3 -0
  20. package/components/radio-button/index.d.ts +1 -0
  21. package/components/radio-button/public-api.d.ts +2 -0
  22. package/components/side-panel/index.d.ts +1 -0
  23. package/components/side-panel/public-api.d.ts +3 -0
  24. package/components/side-panel/side-panel.component.d.ts +1 -1
  25. package/components/snackbar/index.d.ts +1 -0
  26. package/components/snackbar/public-api.d.ts +4 -0
  27. package/components/spinner/index.d.ts +1 -0
  28. package/components/spinner/public-api.d.ts +3 -0
  29. package/components/tooltip/index.d.ts +1 -0
  30. package/components/tooltip/public-api.d.ts +3 -0
  31. package/esm2022/components/alert-banner/index.mjs +2 -0
  32. package/esm2022/components/alert-banner/public-api.mjs +3 -0
  33. package/esm2022/components/avatar/index.mjs +2 -0
  34. package/esm2022/components/avatar/public-api.mjs +4 -0
  35. package/esm2022/components/badge/index.mjs +2 -0
  36. package/esm2022/components/badge/public-api.mjs +4 -0
  37. package/esm2022/components/button/index.mjs +2 -0
  38. package/esm2022/components/button/public-api.mjs +4 -0
  39. package/esm2022/components/card/index.mjs +2 -0
  40. package/esm2022/components/card/public-api.mjs +4 -0
  41. package/esm2022/components/checkbox/index.mjs +2 -0
  42. package/esm2022/components/checkbox/public-api.mjs +3 -0
  43. package/esm2022/components/field/index.mjs +2 -0
  44. package/esm2022/components/field/public-api.mjs +4 -0
  45. package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +2 -2
  46. package/esm2022/components/icon/index.mjs +2 -0
  47. package/esm2022/components/icon/public-api.mjs +4 -0
  48. package/esm2022/components/logo/index.mjs +2 -0
  49. package/esm2022/components/logo/public-api.mjs +4 -0
  50. package/esm2022/components/radio-button/index.mjs +2 -0
  51. package/esm2022/components/radio-button/public-api.mjs +3 -0
  52. package/esm2022/components/side-panel/index.mjs +2 -0
  53. package/esm2022/components/side-panel/public-api.mjs +4 -0
  54. package/esm2022/components/snackbar/index.mjs +2 -0
  55. package/esm2022/components/snackbar/public-api.mjs +5 -0
  56. package/esm2022/components/spinner/index.mjs +2 -0
  57. package/esm2022/components/spinner/public-api.mjs +4 -0
  58. package/esm2022/components/tooltip/index.mjs +2 -0
  59. package/esm2022/components/tooltip/public-api.mjs +4 -0
  60. package/esm2022/public-api.mjs +184 -214
  61. package/fesm2022/testgorilla-tgo-ui.mjs +3053 -11354
  62. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  63. package/package.json +3 -2
  64. package/public-api.d.ts +14 -151
  65. package/components/accordion/accordion.component.d.ts +0 -100
  66. package/components/accordion/accordion.component.module.d.ts +0 -12
  67. package/components/accordion/accordion.model.d.ts +0 -2
  68. package/components/autocomplete/autocomplete.component.d.ts +0 -289
  69. package/components/autocomplete/autocomplete.component.module.d.ts +0 -23
  70. package/components/autocomplete/autocomplete.model.d.ts +0 -22
  71. package/components/autocomplete/includes.pipe.d.ts +0 -12
  72. package/components/autocomplete/prevent-input.directive.d.ts +0 -7
  73. package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
  74. package/components/checklist/checklist.component.d.ts +0 -78
  75. package/components/checklist/checklist.model.d.ts +0 -7
  76. package/components/confirm-dialog/confirm-dialog.component.d.ts +0 -29
  77. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
  78. package/components/confirm-dialog/confirm-dialog.model.d.ts +0 -11
  79. package/components/datepicker/date-adapter.d.ts +0 -30
  80. package/components/datepicker/datepicker.component.d.ts +0 -214
  81. package/components/datepicker/datepicker.component.module.d.ts +0 -18
  82. package/components/datepicker/datepicker.service.d.ts +0 -8
  83. package/components/datepicker/no-date-format.directive.d.ts +0 -11
  84. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +0 -38
  85. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +0 -9
  86. package/components/deprecated-table/deprecated-table.component.d.ts +0 -91
  87. package/components/deprecated-table/deprecated-table.component.module.d.ts +0 -14
  88. package/components/deprecated-table/deprecated-table.model.d.ts +0 -45
  89. package/components/deprecated-table/directives/dynamic-component.directive.d.ts +0 -13
  90. package/components/dialog/dialog.component.d.ts +0 -147
  91. package/components/dialog/dialog.component.module.d.ts +0 -11
  92. package/components/dialog/dialog.service.d.ts +0 -13
  93. package/components/divider/divider.component.d.ts +0 -39
  94. package/components/divider/divider.component.module.d.ts +0 -9
  95. package/components/divider/divider.model.d.ts +0 -1
  96. package/components/dropdown/dropdown.component.d.ts +0 -190
  97. package/components/dropdown/dropdown.component.module.d.ts +0 -17
  98. package/components/dropdown/dropdown.model.d.ts +0 -5
  99. package/components/elevation-shadow/elevation-shadow.component.d.ts +0 -26
  100. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +0 -8
  101. package/components/elevation-shadow/elevation-shadow.constant.d.ts +0 -8
  102. package/components/empty-state/empty-state.component.d.ts +0 -118
  103. package/components/empty-state/empty-state.component.module.d.ts +0 -11
  104. package/components/empty-state/empty-state.model.d.ts +0 -3
  105. package/components/file-upload/file-upload.component.d.ts +0 -120
  106. package/components/file-upload/file-upload.component.module.d.ts +0 -14
  107. package/components/icon-label/icon-label.component.d.ts +0 -39
  108. package/components/icon-label/icon-label.component.module.d.ts +0 -9
  109. package/components/media-card/media-card.component.d.ts +0 -32
  110. package/components/multi-input/multi-input.component.d.ts +0 -164
  111. package/components/multi-input/multi-input.component.module.d.ts +0 -18
  112. package/components/multi-input/multi-input.model.d.ts +0 -1
  113. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -25
  114. package/components/navbar/navbar.component.d.ts +0 -119
  115. package/components/navbar/navbar.component.module.d.ts +0 -21
  116. package/components/navbar/navbar.model.d.ts +0 -21
  117. package/components/overflow-menu/overflow-menu.component.d.ts +0 -86
  118. package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -15
  119. package/components/overflow-menu/overflow-menu.model.d.ts +0 -20
  120. package/components/page-header/page-header.component.d.ts +0 -38
  121. package/components/page-header/page-header.component.module.d.ts +0 -10
  122. package/components/paginator/paginator.component.d.ts +0 -58
  123. package/components/paginator/paginator.component.module.d.ts +0 -9
  124. package/components/password-criteria/password.component.d.ts +0 -42
  125. package/components/password-criteria/password.component.module.d.ts +0 -13
  126. package/components/password-strength/password-strength.component.d.ts +0 -45
  127. package/components/password-strength/password-strength.component.module.d.ts +0 -11
  128. package/components/phone-input/join-strings.pipe.d.ts +0 -7
  129. package/components/phone-input/phone-input.component.d.ts +0 -147
  130. package/components/phone-input/phone-input.component.module.d.ts +0 -20
  131. package/components/phone-input/phone-input.model.d.ts +0 -8
  132. package/components/progress-bar/progress-bar.component.d.ts +0 -73
  133. package/components/progress-bar/progress-bar.component.module.d.ts +0 -10
  134. package/components/radial-progress/radial-progress.component.d.ts +0 -68
  135. package/components/radial-progress/radial-progress.component.module.d.ts +0 -10
  136. package/components/radial-progress/radial-progress.model.d.ts +0 -10
  137. package/components/rating/half-star.pipe.d.ts +0 -14
  138. package/components/rating/rating.component.d.ts +0 -64
  139. package/components/rating/rating.component.module.d.ts +0 -10
  140. package/components/scale/scale.component.d.ts +0 -53
  141. package/components/scale/scale.component.module.d.ts +0 -8
  142. package/components/segmented-bar/segmented-bar.component.d.ts +0 -63
  143. package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -13
  144. package/components/segmented-bar/segmented-bar.model.d.ts +0 -12
  145. package/components/segmented-button/segmented-button.component.d.ts +0 -55
  146. package/components/segmented-button/segmented-button.component.module.d.ts +0 -11
  147. package/components/segmented-button/segmented-button.model.d.ts +0 -8
  148. package/components/side-sheet/side-sheet.component.d.ts +0 -43
  149. package/components/side-sheet/side-sheet.component.module.d.ts +0 -14
  150. package/components/side-sheet/side-sheet.model.d.ts +0 -10
  151. package/components/side-sheet/side-sheet.service.d.ts +0 -14
  152. package/components/skeleton/skeleton.component.d.ts +0 -26
  153. package/components/skeleton/skeleton.model.d.ts +0 -2
  154. package/components/slider/slider.component.d.ts +0 -105
  155. package/components/slider/slider.component.module.d.ts +0 -14
  156. package/components/slider/slider.model.d.ts +0 -5
  157. package/components/spider-chart/spider-chart.component.d.ts +0 -88
  158. package/components/spider-chart/spider-chart.model.d.ts +0 -12
  159. package/components/spider-chart/spider-chart.module.d.ts +0 -12
  160. package/components/step/step.component.d.ts +0 -161
  161. package/components/step/step.component.module.d.ts +0 -10
  162. package/components/stepper/stepper.component.d.ts +0 -86
  163. package/components/stepper/stepper.component.module.d.ts +0 -15
  164. package/components/stepper/stepper.model.d.ts +0 -22
  165. package/components/table/sentence-case.pipe.d.ts +0 -7
  166. package/components/table/table.component.d.ts +0 -96
  167. package/components/table/table.component.module.d.ts +0 -20
  168. package/components/table/table.model.d.ts +0 -96
  169. package/components/tabs/tab.directive.d.ts +0 -24
  170. package/components/tabs/tabs.component.d.ts +0 -73
  171. package/components/tabs/tabs.component.module.d.ts +0 -11
  172. package/components/tabs/tabs.model.d.ts +0 -15
  173. package/components/tag/tag.component.d.ts +0 -131
  174. package/components/tag/tag.component.module.d.ts +0 -13
  175. package/components/tag/tag.model.d.ts +0 -1
  176. package/components/toggle/toggle.component.d.ts +0 -113
  177. package/components/toggle/toggle.component.module.d.ts +0 -14
  178. package/components/toggle/toggle.model.d.ts +0 -1
  179. package/components/universal-skills-report/universal-skills-report.component.d.ts +0 -33
  180. package/components/universal-skills-report/universal-skills-report.component.module.d.ts +0 -14
  181. package/components/universal-skills-report/universal-skills-report.model.d.ts +0 -33
  182. package/directives/drag-drop.directive.d.ts +0 -12
  183. package/directives/select-text.directive.d.ts +0 -19
  184. package/directives/step-line-element.directive.d.ts +0 -17
  185. package/esm2022/components/accordion/accordion.component.mjs +0 -135
  186. package/esm2022/components/accordion/accordion.component.module.mjs +0 -40
  187. package/esm2022/components/accordion/accordion.model.mjs +0 -2
  188. package/esm2022/components/autocomplete/autocomplete.component.mjs +0 -716
  189. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +0 -73
  190. package/esm2022/components/autocomplete/autocomplete.model.mjs +0 -25
  191. package/esm2022/components/autocomplete/includes.pipe.mjs +0 -25
  192. package/esm2022/components/autocomplete/prevent-input.directive.mjs +0 -27
  193. package/esm2022/components/autocomplete/transform-Item.pipe.mjs +0 -32
  194. package/esm2022/components/checklist/checklist.component.mjs +0 -147
  195. package/esm2022/components/checklist/checklist.model.mjs +0 -2
  196. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +0 -54
  197. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +0 -29
  198. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +0 -2
  199. package/esm2022/components/datepicker/date-adapter.mjs +0 -30
  200. package/esm2022/components/datepicker/datepicker.component.mjs +0 -333
  201. package/esm2022/components/datepicker/datepicker.component.module.mjs +0 -60
  202. package/esm2022/components/datepicker/datepicker.service.mjs +0 -20
  203. package/esm2022/components/datepicker/no-date-format.directive.mjs +0 -56
  204. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +0 -55
  205. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +0 -20
  206. package/esm2022/components/deprecated-table/deprecated-table.component.mjs +0 -158
  207. package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +0 -43
  208. package/esm2022/components/deprecated-table/deprecated-table.model.mjs +0 -13
  209. package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +0 -40
  210. package/esm2022/components/dialog/dialog.component.mjs +0 -253
  211. package/esm2022/components/dialog/dialog.component.module.mjs +0 -23
  212. package/esm2022/components/dialog/dialog.service.mjs +0 -35
  213. package/esm2022/components/divider/divider.component.mjs +0 -65
  214. package/esm2022/components/divider/divider.component.module.mjs +0 -19
  215. package/esm2022/components/divider/divider.model.mjs +0 -2
  216. package/esm2022/components/dropdown/dropdown.component.mjs +0 -351
  217. package/esm2022/components/dropdown/dropdown.component.module.mjs +0 -57
  218. package/esm2022/components/dropdown/dropdown.model.mjs +0 -2
  219. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +0 -45
  220. package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +0 -18
  221. package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +0 -9
  222. package/esm2022/components/empty-state/empty-state.component.mjs +0 -186
  223. package/esm2022/components/empty-state/empty-state.component.module.mjs +0 -21
  224. package/esm2022/components/empty-state/empty-state.model.mjs +0 -2
  225. package/esm2022/components/file-upload/file-upload.component.mjs +0 -282
  226. package/esm2022/components/file-upload/file-upload.component.module.mjs +0 -40
  227. package/esm2022/components/icon-label/icon-label.component.mjs +0 -53
  228. package/esm2022/components/icon-label/icon-label.component.module.mjs +0 -20
  229. package/esm2022/components/media-card/media-card.component.mjs +0 -47
  230. package/esm2022/components/multi-input/multi-input.component.mjs +0 -318
  231. package/esm2022/components/multi-input/multi-input.component.module.mjs +0 -58
  232. package/esm2022/components/multi-input/multi-input.model.mjs +0 -2
  233. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +0 -82
  234. package/esm2022/components/navbar/navbar.component.mjs +0 -209
  235. package/esm2022/components/navbar/navbar.component.module.mjs +0 -71
  236. package/esm2022/components/navbar/navbar.model.mjs +0 -2
  237. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +0 -195
  238. package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +0 -25
  239. package/esm2022/components/overflow-menu/overflow-menu.model.mjs +0 -2
  240. package/esm2022/components/page-header/page-header.component.mjs +0 -71
  241. package/esm2022/components/page-header/page-header.component.module.mjs +0 -20
  242. package/esm2022/components/paginator/paginator.component.mjs +0 -87
  243. package/esm2022/components/paginator/paginator.component.module.mjs +0 -19
  244. package/esm2022/components/password-criteria/password.component.mjs +0 -105
  245. package/esm2022/components/password-criteria/password.component.module.mjs +0 -39
  246. package/esm2022/components/password-strength/password-strength.component.mjs +0 -93
  247. package/esm2022/components/password-strength/password-strength.component.module.mjs +0 -21
  248. package/esm2022/components/phone-input/join-strings.pipe.mjs +0 -14
  249. package/esm2022/components/phone-input/phone-input.component.mjs +0 -353
  250. package/esm2022/components/phone-input/phone-input.component.module.mjs +0 -63
  251. package/esm2022/components/phone-input/phone-input.model.mjs +0 -2
  252. package/esm2022/components/progress-bar/progress-bar.component.mjs +0 -103
  253. package/esm2022/components/progress-bar/progress-bar.component.module.mjs +0 -21
  254. package/esm2022/components/radial-progress/radial-progress.component.mjs +0 -106
  255. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +0 -20
  256. package/esm2022/components/radial-progress/radial-progress.model.mjs +0 -11
  257. package/esm2022/components/rating/half-star.pipe.mjs +0 -23
  258. package/esm2022/components/rating/rating.component.mjs +0 -92
  259. package/esm2022/components/rating/rating.component.module.mjs +0 -20
  260. package/esm2022/components/scale/scale.component.mjs +0 -124
  261. package/esm2022/components/scale/scale.component.module.mjs +0 -18
  262. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +0 -106
  263. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +0 -23
  264. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +0 -2
  265. package/esm2022/components/segmented-button/segmented-button.component.mjs +0 -104
  266. package/esm2022/components/segmented-button/segmented-button.component.module.mjs +0 -21
  267. package/esm2022/components/segmented-button/segmented-button.model.mjs +0 -2
  268. package/esm2022/components/side-sheet/side-sheet.component.mjs +0 -105
  269. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +0 -43
  270. package/esm2022/components/side-sheet/side-sheet.model.mjs +0 -2
  271. package/esm2022/components/side-sheet/side-sheet.service.mjs +0 -31
  272. package/esm2022/components/skeleton/skeleton.component.mjs +0 -71
  273. package/esm2022/components/skeleton/skeleton.model.mjs +0 -2
  274. package/esm2022/components/slider/slider.component.mjs +0 -198
  275. package/esm2022/components/slider/slider.component.module.mjs +0 -43
  276. package/esm2022/components/slider/slider.model.mjs +0 -2
  277. package/esm2022/components/spider-chart/spider-chart.component.mjs +0 -425
  278. package/esm2022/components/spider-chart/spider-chart.model.mjs +0 -4
  279. package/esm2022/components/spider-chart/spider-chart.module.mjs +0 -41
  280. package/esm2022/components/step/step.component.mjs +0 -149
  281. package/esm2022/components/step/step.component.module.mjs +0 -20
  282. package/esm2022/components/stepper/stepper.component.mjs +0 -150
  283. package/esm2022/components/stepper/stepper.component.module.mjs +0 -44
  284. package/esm2022/components/stepper/stepper.model.mjs +0 -2
  285. package/esm2022/components/table/sentence-case.pipe.mjs +0 -19
  286. package/esm2022/components/table/table.component.mjs +0 -238
  287. package/esm2022/components/table/table.component.module.mjs +0 -61
  288. package/esm2022/components/table/table.model.mjs +0 -13
  289. package/esm2022/components/tabs/tab.directive.mjs +0 -54
  290. package/esm2022/components/tabs/tabs.component.mjs +0 -188
  291. package/esm2022/components/tabs/tabs.component.module.mjs +0 -21
  292. package/esm2022/components/tabs/tabs.model.mjs +0 -2
  293. package/esm2022/components/tag/tag.component.mjs +0 -212
  294. package/esm2022/components/tag/tag.component.module.mjs +0 -24
  295. package/esm2022/components/tag/tag.model.mjs +0 -2
  296. package/esm2022/components/toggle/toggle.component.mjs +0 -190
  297. package/esm2022/components/toggle/toggle.component.module.mjs +0 -24
  298. package/esm2022/components/toggle/toggle.model.mjs +0 -2
  299. package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +0 -115
  300. package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +0 -43
  301. package/esm2022/components/universal-skills-report/universal-skills-report.model.mjs +0 -19
  302. package/esm2022/directives/drag-drop.directive.mjs +0 -55
  303. package/esm2022/directives/select-text.directive.mjs +0 -40
  304. package/esm2022/directives/step-line-element.directive.mjs +0 -51
  305. package/esm2022/models/keyboard-events.model.mjs +0 -13
  306. package/esm2022/models/screen-breakpoints.model.mjs +0 -6
  307. package/esm2022/pipes/data-property-getter.mjs +0 -33
  308. package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +0 -31
  309. package/esm2022/providers/is-mobile.mjs +0 -11
  310. package/esm2022/utils/autocomplete-utils.mjs +0 -66
  311. package/esm2022/utils/hex-to-rgb.mjs +0 -9
  312. package/esm2022/utils/table.utils.mjs +0 -19
  313. package/models/keyboard-events.model.d.ts +0 -11
  314. package/models/screen-breakpoints.model.d.ts +0 -4
  315. package/pipes/data-property-getter.d.ts +0 -8
  316. package/pipes/ui-ordinal-suffix.pipe.d.ts +0 -7
  317. package/providers/is-mobile.d.ts +0 -2
  318. package/utils/autocomplete-utils.d.ts +0 -12
  319. package/utils/hex-to-rgb.d.ts +0 -1
  320. package/utils/table.utils.d.ts +0 -6
@@ -1,5 +0,0 @@
1
- export interface SliderValue {
2
- start: number;
3
- end: number;
4
- }
5
- export type SliderVariant = 'basic' | 'range';
@@ -1,88 +0,0 @@
1
- import { ElementRef, OnInit, QueryList } from '@angular/core';
2
- import { SpiderChartData, SpiderChartSize } from './spider-chart.model';
3
- import { ApplicationTheme } from '../../models/application-theme.model';
4
- import { ChartData, ChartOptions } from 'chart.js';
5
- import { BaseChartDirective } from 'ng2-charts';
6
- import * as i0 from "@angular/core";
7
- export declare class SpiderChartComponent implements OnInit {
8
- /**
9
- * The size of the spider chart.
10
- * @type {SpiderChartSize}
11
- * @memberof SpiderChartComponent
12
- */
13
- size: SpiderChartSize;
14
- /**
15
- * The data to be used for the spider chart.
16
- * @type {SpiderChartData}
17
- * @memberof SpiderChartComponent
18
- */
19
- spiderChartData: SpiderChartData;
20
- /**
21
- * The step size for the spider chart.
22
- * @type {number}
23
- * @memberof SpiderChartComponent
24
- */
25
- stepSize: number;
26
- /**
27
- * The aria label for the spider chart.
28
- * @type {string}
29
- * @memberof SpiderChartComponent
30
- */
31
- ariaLabel: string;
32
- /**
33
- * Whether the spider chart is loading.
34
- * @type {boolean}
35
- * @memberof SpiderChartComponent
36
- */
37
- loading: boolean;
38
- /**
39
- *
40
- * Defines the application theme
41
- *
42
- * @type {ApplicationTheme}
43
- * @memberof SpinnerComponent
44
- */
45
- applicationTheme: ApplicationTheme;
46
- chart: BaseChartDirective;
47
- labelContainers: QueryList<ElementRef>;
48
- fakeDataPoints: QueryList<ElementRef>;
49
- fakeDataPointsSecondary: QueryList<ElementRef>;
50
- legendItems: QueryList<ElementRef>;
51
- radarChartData: ChartData<'radar'>;
52
- radarChartOptions: ChartOptions<'radar'>;
53
- labelPositions: {
54
- [key: string]: {
55
- x: number;
56
- y: number;
57
- };
58
- };
59
- labelPositionsVisible: boolean;
60
- focusedLabelIndex: number;
61
- focusedFakeDataPointIndex: number;
62
- loadingChartData: ChartData<'radar'>;
63
- loadingChartOptions: ChartOptions<'radar'>;
64
- protected readonly translationContext = "CHARTS.SPIDER.";
65
- ngOnInit(): void;
66
- private handleInputErrors;
67
- private setChartData;
68
- private setChartOptions;
69
- ngAfterViewInit(): void;
70
- private logCornerCoordinates;
71
- getCenteredLabelBottomPosition(label: string, height: number): string;
72
- getCenteredLabelLeftPosition(label: string, width: number): string;
73
- onLabelKeyDown(event: KeyboardEvent, index: number): void;
74
- private focusNextLabel;
75
- private focusPreviousLabel;
76
- onLegendItemKeyDown(event: KeyboardEvent, index: number): void;
77
- private focusNextLegendItem;
78
- private focusPreviousLegendItem;
79
- onFakeDataPointsKeyDown(event: KeyboardEvent, index: number, isSecondary?: boolean): void;
80
- private focusNextFakeDataPoint;
81
- private focusPreviousFakeDataPoint;
82
- showTooltipForDataPoint(index: number, isSecondary?: boolean): void;
83
- private resetActiveElement;
84
- toggleDatasetVisibility(datasetIndex: number): void;
85
- isDatasetVisible(datasetIndex: number): boolean | undefined;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponent, never>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "ui-spider-chart", never, { "size": { "alias": "size"; "required": false; }; "spiderChartData": { "alias": "spiderChartData"; "required": false; }; "stepSize": { "alias": "stepSize"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
88
- }
@@ -1,12 +0,0 @@
1
- export type SpiderChartSize = 'large' | 'small';
2
- export declare const SmallSpiderChartSize: number;
3
- export declare const LargeSpiderChartSize: number;
4
- export type SpiderChartData = {
5
- labels: string[];
6
- labelDescription: string[];
7
- plotData: [PlotData, PlotData] | [PlotData];
8
- };
9
- export type PlotData = {
10
- databaseLabel: string;
11
- data: number[];
12
- };
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./spider-chart.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../pipes/ui-translate.pipe";
5
- import * as i4 from "ng2-charts";
6
- import * as i5 from "@angular/material/tooltip";
7
- import * as i6 from "../spinner/spinner.module";
8
- export declare class SpiderChartComponentModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponentModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule, [typeof i1.SpiderChartComponent], [typeof i2.NgClass, typeof i3.UiTranslatePipe, typeof i4.NgChartsModule, typeof i5.MatTooltipModule, typeof i3.UiTranslatePipe, typeof i6.SpinnerComponentModule, typeof i2.CommonModule], [typeof i1.SpiderChartComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<SpiderChartComponentModule>;
12
- }
@@ -1,161 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { IconName } from '../icon/icon.model';
3
- import { ApplicationTheme } from '../../models/application-theme.model';
4
- import { HtmlDescription, StepperPosition } from '../stepper/stepper.model';
5
- import * as i0 from "@angular/core";
6
- export declare class StepComponent {
7
- private readonly defaultAppTheme;
8
- /**
9
- * Input property for the label of the step.
10
- *
11
- * @memberof StepComponent
12
- */
13
- label: string;
14
- /**
15
- * Input property indicating whether the step has been visited.
16
- *
17
- * @memberof StepComponent
18
- */
19
- isVisited: boolean;
20
- /**
21
- * Input property indicating whether the form has been submitted.
22
- *
23
- * @memberof StepComponent
24
- */
25
- submitted: boolean;
26
- /**
27
- * Input property for the icon associated with the step.
28
- *
29
- * @memberof StepComponent
30
- */
31
- icon: IconName | undefined;
32
- /**
33
- * Input property for the index of the step.
34
- *
35
- * @memberof StepComponent
36
- */
37
- index: number;
38
- /**
39
- * Input property indicating whether the step is currently selected.
40
- *
41
- * @memberof StepComponent
42
- */
43
- selected: boolean;
44
- /**
45
- * Input property indicating whether the step is the last step in the stepper.
46
- *
47
- * @memberof StepComponent
48
- */
49
- isLast: boolean;
50
- /**
51
- * Input property indicating the selected index in the stepper.
52
- *
53
- * @memberof StepComponent
54
- */
55
- selectedIndex: number;
56
- /**
57
- * Input property indicating whether the step is disabled.
58
- *
59
- * @memberof StepComponent
60
- */
61
- disabled: boolean;
62
- /**
63
- * Input property indicating whether the previous step has been visited.
64
- *
65
- * @memberof StepComponent
66
- */
67
- prevStepIsVisited: boolean | undefined;
68
- /**
69
- * Input property indicating whether the component is in mobile mode.
70
- *
71
- * @memberof StepComponent
72
- */
73
- mobileMode: boolean;
74
- /**
75
- * Input property indicating whether the final icon should be displayed.
76
- *
77
- * @memberof StepComponent
78
- */
79
- finalIcon: boolean;
80
- /**
81
- * Input property indicating to display icon when step is selected.
82
- *
83
- * @memberof StepComponent
84
- */
85
- showIconWhenSelected: boolean;
86
- /**
87
- *
88
- * Defines the application theme
89
- *
90
- * @type {ApplicationTheme}
91
- * @memberof StepComponent
92
- */
93
- applicationTheme: ApplicationTheme;
94
- /**
95
- *
96
- * Defines the stepper position
97
- *
98
- * @type {StepperPosition}
99
- * @memberof StepComponent
100
- */
101
- position: StepperPosition;
102
- /**
103
- *
104
- * Step description
105
- *
106
- * @type {HtmlDescription[]}
107
- * @memberof StepComponent
108
- */
109
- htmlDescription: HtmlDescription[];
110
- /**
111
- *
112
- * Sets bold font weight for label
113
- *
114
- * @type {boolean}
115
- * @memberof StepComponent
116
- */
117
- boldLabel: boolean;
118
- /**
119
- *
120
- * Template for the step description
121
- *
122
- * @type {TemplateRef}
123
- * @memberof StepComponent
124
- */
125
- descriptionTpl?: TemplateRef<any>;
126
- /**
127
- *
128
- * Tooltip for the step label
129
- *
130
- * @type {string}
131
- * @memberof StepComponent
132
- */
133
- labelTooltip?: string;
134
- /**
135
- *
136
- * Always show step icon instead of number
137
- *
138
- * @type {boolean}
139
- * @memberof StepComponent
140
- */
141
- alwaysShowIcon: boolean;
142
- /**
143
- *
144
- * Context for the step template
145
- *
146
- * @type {any}
147
- * @memberof StepComponent
148
- */
149
- context: any;
150
- /**
151
- * Event emitted when the step was clicked.
152
- * @type {number}
153
- * @memberof StepComponent
154
- */
155
- stepSelected: EventEmitter<number>;
156
- constructor(defaultAppTheme: ApplicationTheme);
157
- protected get hasLastStepDefaultIcon(): boolean;
158
- protected onStepSelected(index: number): void;
159
- static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, [{ optional: true; }]>;
160
- static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "ui-step", never, { "label": { "alias": "label"; "required": false; }; "isVisited": { "alias": "isVisited"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prevStepIsVisited": { "alias": "prevStepIsVisited"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "finalIcon": { "alias": "finalIcon"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "position": { "alias": "position"; "required": false; }; "htmlDescription": { "alias": "htmlDescription"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; "descriptionTpl": { "alias": "descriptionTpl"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "alwaysShowIcon": { "alias": "alwaysShowIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, false, never>;
161
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./step.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../icon/icon.component.module";
5
- import * as i4 from "@angular/material/tooltip";
6
- export declare class StepComponentModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<StepComponentModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, [typeof i1.StepComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule], [typeof i1.StepComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<StepComponentModule>;
10
- }
@@ -1,86 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { Step, StepperPosition } from './stepper.model';
3
- import { Observable } from 'rxjs';
4
- import { ApplicationTheme } from "../../models/application-theme.model";
5
- import * as i0 from "@angular/core";
6
- export declare class StepperComponent {
7
- private readonly defaultAppTheme;
8
- protected readonly isMobile$: Observable<boolean>;
9
- /**
10
- *
11
- * Auto selects first step as visited
12
- * Defaults to true
13
- *
14
- * @memberof StepperComponent
15
- */
16
- set setFirstStepAutoSelect(value: boolean);
17
- /**
18
- * Input property to set the steps for the stepper.
19
- * The first step will be marked as visited automatically.
20
- *
21
- * @memberof StepperComponent
22
- */
23
- set steps(itemSteps: Step[]);
24
- /**
25
- * Input property to set the selected index of the stepper.
26
- * Default value is 0.
27
- *
28
- * @memberof StepperComponent
29
- */
30
- set setSelectedIndex(value: number);
31
- /**
32
- * Input property indicating whether the final icon should be displayed.
33
- * Default value is false.
34
- *
35
- * @memberof StepperComponent
36
- */
37
- lastStepFinalIcon: boolean;
38
- /**
39
- *
40
- * Defines the application theme
41
- *
42
- * @type {ApplicationTheme}
43
- * @memberof StepperComponent
44
- */
45
- applicationTheme: ApplicationTheme;
46
- /**
47
- * A string representing the ARIA label for accessibility.
48
- * This label is used to provide an accessible name for the input element.
49
- * @type {string}
50
- * @memberof StepperComponent
51
- */
52
- ariaLabel: string;
53
- /**
54
- * Defines the stepper position
55
- *
56
- * @type {StepperPosition}
57
- * @memberof StepperComponent
58
- */
59
- position: StepperPosition;
60
- /**
61
- * A string representing the ARIA requirement for accessibility.
62
- * This attribute is used to indicate whether an input field is required for form submission.
63
- * @type {boolean}
64
- * @memberof StepperComponent
65
- */
66
- ariaRequired: boolean;
67
- selectionChange: EventEmitter<{
68
- selectedIndex: number;
69
- previousIndex: number;
70
- step: Step;
71
- }>;
72
- private isOpened;
73
- private firstStepAutoSelect;
74
- protected itemSteps: Step[];
75
- protected progressValue: number;
76
- protected translationContext: string;
77
- protected selectedIndex: number;
78
- get isOpen(): boolean;
79
- set isOpen(value: boolean);
80
- constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
81
- protected onSelect(changedIndex: number, step: Step): void;
82
- protected showStepsToggle(): void;
83
- protected onCloseStepList(): void;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null]>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "setFirstStepAutoSelect": { "alias": "firstStepAutoSelect"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "setSelectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "position": { "alias": "position"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
86
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./stepper.component";
3
- import * as i2 from "../../directives/step-line-element.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../icon/icon.component.module";
6
- import * as i5 from "../step/step.component.module";
7
- import * as i6 from "@angular/material/progress-spinner";
8
- import * as i7 from "../radial-progress/radial-progress.component.module";
9
- import * as i8 from "../../pipes/ui-translate.pipe";
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
- }
@@ -1,22 +0,0 @@
1
- import { IconName } from '../icon/icon.model';
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';
@@ -1,7 +0,0 @@
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
- }
@@ -1,96 +0,0 @@
1
- import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } 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 '../../models/application-theme.model';
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 {
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
- onRowClickEvent: EventEmitter<any>;
58
- onDetailRowClickEvent: EventEmitter<any>;
59
- paginatorChange: EventEmitter<PageEvent>;
60
- sortChange: EventEmitter<Sort>;
61
- table: ElementRef;
62
- protected tableData: TableData;
63
- protected sourceData: TableData;
64
- protected columnsTooltipState: ColumnEllipse[];
65
- protected tableConfig: TableConfigWithPagination<T>;
66
- protected displayedColumns: string[];
67
- protected columnsDetailToDisplay: string[];
68
- protected skeletonStyleConfig: {
69
- background: string;
70
- 'border-radius': string;
71
- height: string;
72
- };
73
- protected dataSourceDetail: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
74
- protected elementDetail: any;
75
- protected readonly DataType: typeof ColumnType;
76
- protected scrollSettings$: BehaviorSubject<ScrollSettings>;
77
- constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
78
- ngOnInit(): void;
79
- ngAfterViewInit(): void;
80
- ngOnChanges(changes: SimpleChanges): void;
81
- hasTableScroll(): void;
82
- callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): any;
83
- protected onPaginatorChange(event: PageEvent): void;
84
- protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
85
- protected onSortChange(sortState: Sort): void;
86
- protected onRowClick(rowParams: any): void;
87
- protected onDetailRowClick(rowParams: any): void;
88
- protected toggleRow(element: T): void;
89
- private setTableDetailDataSource;
90
- private setTableConfig;
91
- private setTableData;
92
- private defaultPaginationConfig;
93
- trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
95
- 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; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], false, never>;
96
- }
@@ -1,20 +0,0 @@
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 "../skeleton/skeleton.component";
8
- import * as i7 from "../paginator/paginator.component.module";
9
- import * as i8 from "../button/button.component.module";
10
- import * as i9 from "@angular/material/sort";
11
- import * as i10 from "../icon/icon.component.module";
12
- import * as i11 from "../../directives/ellipse-text.directive";
13
- import * as i12 from "../deprecated-table/directives/dynamic-component.directive";
14
- import * as i13 from "../../pipes/data-property-getter";
15
- import * as i14 from "../../pipes/memoize-func.pipe";
16
- export declare class TableComponentModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
18
- 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 i12.DynamicComponentDirective, typeof i13.DataPropertyGetterPipe, typeof i14.MemoizeFuncPipe], [typeof i1.TableComponent]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
20
- }
@@ -1,96 +0,0 @@
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
- widthPerc?: number;
19
- minWidthPx?: number;
20
- allowMultiline?: boolean;
21
- bold?: boolean;
22
- showTooltip?: boolean;
23
- tooltip?: string;
24
- allowSort?: boolean;
25
- isSticky?: boolean;
26
- headerCellTemplate?: TemplateRef<any>;
27
- rowCellTemplate?: TemplateRef<any>;
28
- rowCellTemplateClick?: () => any;
29
- sortHeader?: string;
30
- hidden?: boolean;
31
- order?: number;
32
- fontSize?: '12px' | '14px';
33
- field?: string;
34
- type?: ColumnType;
35
- function?: (v: T) => string;
36
- renderer?: (v: T) => ComponentRenderer | string;
37
- styles?: ColumnStyles;
38
- sortStart?: SortDirection;
39
- uniqueId?: string;
40
- }
41
- export interface Pagination {
42
- itemsPerPageOptions: number[];
43
- itemsPerPage: number;
44
- currentPage: number;
45
- totalItems: number;
46
- }
47
- export type TableData = Record<string, any>[];
48
- export interface ColumnEllipse {
49
- index: number;
50
- showTooltip: boolean;
51
- }
52
- export interface Sort {
53
- active: string;
54
- direction: SortDirection;
55
- defaultSortStart?: SortDirection;
56
- }
57
- export type SortDirection = 'asc' | 'desc' | '';
58
- export interface TableDetailColumn<T, TDetail> {
59
- columnDefs: TableColumn<TDetail>[];
60
- setDetailRowData: (params: DetailRowDataParams<T, TDetail>) => void;
61
- }
62
- export interface DetailRowDataParams<T, TDetail> {
63
- data: T;
64
- setDetailDataSource(rowData: TDetail[]): void;
65
- }
66
- export declare enum ColumnType {
67
- FIELD = "field",
68
- FUNCTION = "function",
69
- RENDERER = "renderer"
70
- }
71
- export interface ComponentRenderer {
72
- component: Type<any>;
73
- inputs?: any;
74
- outputs?: {
75
- [key: string]: any;
76
- };
77
- }
78
- export interface ColumnStyles {
79
- alignment?: ColumnAlignment;
80
- width?: string;
81
- 'min-width'?: string;
82
- padding?: string;
83
- }
84
- export declare enum ColumnAlignment {
85
- LEFT = "left",
86
- RIGHT = "right",
87
- CENTER = "center"
88
- }
89
- export type DataSource = {
90
- [key: string]: any;
91
- };
92
- export type ScrollSettings = {
93
- scrollEnd: boolean;
94
- horizontalScroll: boolean;
95
- scrollStart: boolean;
96
- };
@@ -1,24 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { IconName } from '../icon/icon.model';
3
- import { Tab } from './tabs.model';
4
- import * as i0 from "@angular/core";
5
- export declare class TabDirective implements OnInit {
6
- tabLabel: import("@angular/core").InputSignal<string>;
7
- tabName: import("@angular/core").InputSignal<string>;
8
- iconLeft: import("@angular/core").InputSignal<IconName | undefined>;
9
- iconRight: import("@angular/core").InputSignal<IconName | undefined>;
10
- disabled: import("@angular/core").InputSignalWithTransform<boolean, string>;
11
- canLeave: import("@angular/core").InputSignal<((ctx?: {
12
- currentTab: Tab;
13
- nextTab: Tab;
14
- }) => boolean | Promise<boolean>) | undefined>;
15
- linkUrl: import("@angular/core").InputSignal<string | undefined>;
16
- private tabsComponent;
17
- private template;
18
- private syncProps;
19
- private cleanup;
20
- ngOnInit(): void;
21
- private addTab;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "ng-template[uiTab]", never, { "tabLabel": { "alias": "tabLabel"; "required": true; "isSignal": true; }; "tabName": { "alias": "tabName"; "required": true; "isSignal": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; "isSignal": true; }; "iconRight": { "alias": "iconRight"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "canLeave": { "alias": "canLeave"; "required": false; "isSignal": true; }; "linkUrl": { "alias": "linkUrl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
24
- }