@testgorilla/tgo-ui 11.22.2 → 12.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 (227) hide show
  1. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +335 -229
  2. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  3. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
  4. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  5. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
  6. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  7. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
  8. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  9. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
  10. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  11. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
  12. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  13. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
  14. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
  15. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
  16. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  17. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
  18. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  19. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
  20. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  21. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
  22. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  23. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
  24. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  25. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
  26. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  27. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
  28. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  29. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
  30. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  31. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
  32. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  33. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
  34. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  35. package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
  36. package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
  37. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
  38. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  39. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
  40. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  41. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
  42. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  43. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
  44. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  45. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
  46. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  47. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
  48. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  49. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
  50. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  51. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
  52. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  53. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
  54. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  55. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
  56. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  57. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
  58. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  59. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1789
  60. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  61. package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
  62. package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
  63. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
  64. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  65. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
  66. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  67. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
  68. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  69. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
  70. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
  71. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
  72. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  73. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
  74. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  75. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
  76. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  77. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
  78. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  79. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
  80. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  81. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
  82. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  83. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
  84. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  85. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
  86. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  87. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
  88. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  89. package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
  90. package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
  91. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
  92. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  93. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
  94. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  95. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
  96. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  97. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
  98. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  99. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
  100. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  101. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
  102. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  103. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
  104. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  105. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
  106. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  107. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
  108. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  109. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
  110. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
  111. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
  112. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  113. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
  114. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
  115. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
  116. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  117. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
  118. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  119. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
  120. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  121. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
  122. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  123. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
  124. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  125. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
  126. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  127. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
  128. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  129. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
  130. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  131. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
  132. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  133. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
  134. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  135. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
  136. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  137. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
  138. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  139. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
  140. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  141. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
  142. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  143. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
  144. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  145. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
  146. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  147. package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
  148. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  149. package/mcp/catalog.json +1 -1
  150. package/package.json +16 -17
  151. package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-filled.svg +3 -0
  152. package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-in-line.svg +3 -0
  153. package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
  154. package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
  155. package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
  156. package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
  157. package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
  158. package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
  159. package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
  160. package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
  161. package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
  162. package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
  163. package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
  164. package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
  165. package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
  166. package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
  167. package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
  168. package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
  169. package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
  170. package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
  171. package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
  172. package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
  173. package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
  174. package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
  175. package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
  176. package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
  177. package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
  178. package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
  179. package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
  180. package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
  181. package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
  182. package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
  183. package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
  184. package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
  185. package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
  186. package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
  187. package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
  188. package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
  189. package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
  190. package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
  191. package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
  192. package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
  193. package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
  194. package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
  195. package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
  196. package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
  197. package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
  198. package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
  199. package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
  200. package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
  201. package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
  202. package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
  203. package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
  204. package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
  205. package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
  206. package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
  207. package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
  208. package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
  209. package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
  210. package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
  211. package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
  212. package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
  213. package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
  214. package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
  215. package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
  216. package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
  217. package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
  218. package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
  219. package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
  220. package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
  221. package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
  222. package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
  223. package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
  224. package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
  225. package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
  226. package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
  227. package/types/testgorilla-tgo-ui.d.ts +52 -45
@@ -1,222 +1,299 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, OnChanges, AfterViewInit, OnDestroy, EventEmitter, SimpleChanges } from '@angular/core';
3
- import * as i3 from '@angular/forms';
4
- import { ControlValueAccessor, NgControl } from '@angular/forms';
5
- import * as i2 from '@angular/material/radio';
6
- import { MatRadioButton } from '@angular/material/radio';
7
- import * as i6 from '@angular/material/tooltip';
8
- import { MatTooltip } from '@angular/material/tooltip';
9
- import * as i5 from '@testgorilla/tgo-ui/components/core';
10
- import { ApplicationTheme, Alignment } from '@testgorilla/tgo-ui/components/core';
11
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
12
- import * as i1 from '@angular/common';
13
- import * as i4 from '@angular/material/input';
14
- import * as i7 from '@angular/material/checkbox';
15
- import * as i8 from '@testgorilla/tgo-ui/components/checkbox';
16
-
17
- type RadioButtonEventType = {
18
- optionName: string;
19
- optionChecked: boolean;
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
3
+ import * as i3 from "@angular/forms";
4
+ import { ControlValueAccessor, NgControl } from "@angular/forms";
5
+ import * as i2 from "@angular/material/radio";
6
+ import { MatRadioButton } from "@angular/material/radio";
7
+ import * as i6 from "@angular/material/tooltip";
8
+ import { MatTooltip } from "@angular/material/tooltip";
9
+ import * as i5 from "@testgorilla/tgo-ui/components/core";
10
+ import { Alignment, ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
11
+ import * as i1 from "@angular/common";
12
+ import * as i4 from "@angular/material/input";
13
+ import * as i7 from "@angular/material/checkbox";
14
+ import * as i8 from "@testgorilla/tgo-ui/components/checkbox";
15
+ export type RadioButtonEventType = {
16
+ optionName: string;
17
+ optionChecked: boolean;
20
18
  };
21
-
22
- declare class RadioButtonComponent implements OnInit, OnChanges, ControlValueAccessor, AfterViewInit, OnDestroy {
23
- private _isProcessingClick;
24
- onHostClick(event: MouseEvent): void;
25
- /**
26
- * Determines whether the radio button is disabled.
27
- * Default: false.
28
- *
29
- * @type {boolean}
30
- * @memberof RadioButtonComponent
31
- */
32
- disabled: boolean;
33
- /**
34
- * Determines whether the radio button is checked.
35
- * Default: false.
36
- *
37
- * @type {boolean}
38
- * @memberof RadioButtonComponent
39
- */
40
- _selected: boolean;
41
- get selected(): boolean;
42
- set selected(selected: boolean);
43
- /**
44
- * Determines whether the radio button can be unchecked.
45
- * Default: false.
46
- *
47
- * @type {boolean}
48
- * @memberof RadioButtonComponent
49
- */
50
- allowUnselect: boolean;
51
- /**
52
- * Determines the radio button color.
53
- * Default: Test Gorilla primary color.
54
- *
55
- * @type {string}
56
- * @memberof RadioButtonComponent
57
- */
58
- companyColor: string | null;
59
- /**
60
- * Used to group radios for unique selection.
61
- *
62
- * @type {string}
63
- * @memberof RadioButtonComponent
64
- */
65
- name: string;
66
- /**
67
- * Text content will be applied to the input element if present.
68
- *
69
- * @type {string}
70
- * @memberof RadioButtonComponent
71
- */
72
- label: string;
73
- /**
74
- * Determines whether the radio button is a multiple choice cell.
75
- * Default: false
76
- *
77
- * @type {boolean}
78
- * @memberof RadioButtonComponent
79
- */
80
- multiple: boolean;
81
- /**
82
- * Renders the radio button as a media card. The image/video/gif passed via
83
- * the `[radio-media]` content slot fills the card and the radio + label sit
84
- * on top, in the bottom-left, with a dark scrim for contrast.
85
- *
86
- * @type {boolean}
87
- * @memberof RadioButtonComponent
88
- */
89
- mediaCard: boolean;
90
- /**
91
- * Determines value of the radio button.
92
- * Default: false
93
- *
94
- * @type {any}
95
- * @memberof RadioButtonComponent
96
- */
97
- value: unknown;
98
- /**
99
- *
100
- * Defines the application theme
101
- *
102
- * @type {ApplicationTheme}
103
- * @memberof RadioButtonComponent
104
- */
105
- applicationTheme: ApplicationTheme;
106
- /**
107
- * A string representing the ARIA label for accessibility.
108
- * This label is used to provide an accessible name for the input element.
109
- * @type {string}
110
- * @memberof RadioButtonComponent
111
- */
112
- ariaLabel: string;
113
- testId: string | null;
114
- /**
115
- * A string representing the ARIA requirement for accessibility.
116
- * This attribute is used to indicate whether an input field is required for form submission.
117
- * @type {boolean}
118
- * @memberof RadioButtonComponent
119
- */
120
- ariaRequired: boolean;
121
- /**
122
- * Defines if checkbox has error
123
- *
124
- * @type {boolean}
125
- * @memberof RadioButtonComponent
126
- */
127
- hasError: boolean;
128
- /**
129
- * A string representing the ARIA requirement for accessibility.
130
- * This attribute is used to indicate whether an input field is required for form submission.
131
- * @type {string}
132
- * @memberof RadioButtonComponent
133
- */
134
- ariaLabelledby: string;
135
- /**
136
- * A string representing the ARIA requirement for accessibility.
137
- * This attribute is used to indicate whether an input field is required for form submission.
138
- * @type {string}
139
- * @memberof RadioButtonComponent
140
- */
141
- ariaDescribedby: string;
142
- /**
143
- * Truncate text if it is too long
144
- * @type {boolean}
145
- * @memberof RadioButtonComponent
146
- */
147
- truncateText: boolean;
148
- /**
149
- * Text alignment
150
- * @type {'center' | 'top'}
151
- * @memberof RadioButtonComponent
152
- */
153
- alignment: Alignment;
154
- /**
155
- * Sets the tab index for the checkbox component.
156
- * This determines the order in which elements receive focus when the user navigates through them using the Tab key.
157
- * Default value is 0.
158
- *
159
- * @type {number}
160
- * @memberof RadioButtonComponent
161
- */
162
- tabIndex: number;
163
- /**
164
- * Show tooltip when label is truncated
165
- * @type {boolean}
166
- * @memberof RadioButtonComponent
167
- */
168
- hideTooltipOnEllipsis: boolean;
169
- /**
170
- * Event emitted when the checked state of the radio button changes.
171
- *
172
- * @type {boolean}
173
- * @memberof RadioButtonComponent
174
- */
175
- changeRadio: EventEmitter<RadioButtonEventType>;
176
- classMultiple: string;
177
- showTooltip: boolean;
178
- protected origin: string | null;
179
- radioElement: MatRadioButton;
180
- private appliedTestId;
181
- tooltipElement: MatTooltip;
182
- private readonly defaultAppTheme;
183
- ngControl: NgControl | null;
184
- hostNgControl: NgControl | null;
185
- private readonly destroyRef;
186
- private readonly focusMonitor;
187
- private readonly ngZone;
188
- private readonly cdr;
189
- constructor();
190
- ngOnInit(): void;
191
- ngOnChanges(changes: SimpleChanges): void;
192
- private applyTestId;
193
- ngAfterViewInit(): void;
194
- ngOnDestroy(): void;
195
- clickRadio(): void;
196
- writeValue(value: unknown): void;
197
- registerOnChange(fn: (value: boolean) => void): void;
198
- registerOnTouched(fn: () => void): void;
199
- setDisabledState(isDisabled: boolean): void;
200
- onChange: (value: boolean) => void;
201
- /**
202
- * @ignore
203
- */
204
- onTouch: () => void;
205
- setClass(): string;
206
- onLabelEllipsisChange(isEllipsis: boolean): void;
207
- private checkHost;
208
- private setCompanyColor;
209
- onFocus(isFocus: boolean): void;
210
- focus(): void;
211
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
212
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowUnselect": { "alias": "allowUnselect"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "mediaCard": { "alias": "mediaCard"; "required": false; }; "value": { "alias": "value"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "truncateText": { "alias": "truncateText"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hideTooltipOnEllipsis": { "alias": "hideTooltipOnEllipsis"; "required": false; }; }, { "changeRadio": "changeRadio"; }, never, ["[radio-media]", "[radio-label]"], true, never>;
19
+ export declare class RadioButtonComponent implements OnInit, OnChanges, ControlValueAccessor, AfterViewInit, OnDestroy {
20
+ private _isProcessingClick;
21
+ onHostClick(event: MouseEvent): void;
22
+ /**
23
+ * Determines whether the radio button is disabled.
24
+ * Default: false.
25
+ *
26
+ * @type {boolean}
27
+ * @memberof RadioButtonComponent
28
+ */
29
+ disabled: boolean;
30
+ /**
31
+ * Determines whether the radio button is checked.
32
+ * Default: false.
33
+ *
34
+ * @type {boolean}
35
+ * @memberof RadioButtonComponent
36
+ */
37
+ _selected: boolean;
38
+ get selected(): boolean;
39
+ set selected(selected: boolean);
40
+ /**
41
+ * Determines whether the radio button can be unchecked.
42
+ * Default: false.
43
+ *
44
+ * @type {boolean}
45
+ * @memberof RadioButtonComponent
46
+ */
47
+ allowUnselect: boolean;
48
+ /**
49
+ * Determines the radio button color.
50
+ * Default: Test Gorilla primary color.
51
+ *
52
+ * @type {string}
53
+ * @memberof RadioButtonComponent
54
+ */
55
+ companyColor: string | null;
56
+ /**
57
+ * Used to group radios for unique selection.
58
+ *
59
+ * @type {string}
60
+ * @memberof RadioButtonComponent
61
+ */
62
+ name: string;
63
+ /**
64
+ * Text content will be applied to the input element if present.
65
+ *
66
+ * @type {string}
67
+ * @memberof RadioButtonComponent
68
+ */
69
+ label: string;
70
+ /**
71
+ * Determines whether the radio button is a multiple choice cell.
72
+ * Default: false
73
+ *
74
+ * @type {boolean}
75
+ * @memberof RadioButtonComponent
76
+ */
77
+ multiple: boolean;
78
+ /**
79
+ * Renders the radio button as a media card. The image/video/gif passed via
80
+ * the `[radio-media]` content slot fills the card and the radio + label sit
81
+ * on top, in the bottom-left, with a dark scrim for contrast.
82
+ *
83
+ * @type {boolean}
84
+ * @memberof RadioButtonComponent
85
+ */
86
+ mediaCard: boolean;
87
+ /**
88
+ * Determines value of the radio button.
89
+ * Default: false
90
+ *
91
+ * @type {any}
92
+ * @memberof RadioButtonComponent
93
+ */
94
+ value: unknown;
95
+ /**
96
+ *
97
+ * Defines the application theme
98
+ *
99
+ * @type {ApplicationTheme}
100
+ * @memberof RadioButtonComponent
101
+ */
102
+ applicationTheme: ApplicationTheme$1;
103
+ /**
104
+ * A string representing the ARIA label for accessibility.
105
+ * This label is used to provide an accessible name for the input element.
106
+ * @type {string}
107
+ * @memberof RadioButtonComponent
108
+ */
109
+ ariaLabel: string;
110
+ testId: string | null;
111
+ /**
112
+ * A string representing the ARIA requirement for accessibility.
113
+ * This attribute is used to indicate whether an input field is required for form submission.
114
+ * @type {boolean}
115
+ * @memberof RadioButtonComponent
116
+ */
117
+ ariaRequired: boolean;
118
+ /**
119
+ * Defines if checkbox has error
120
+ *
121
+ * @type {boolean}
122
+ * @memberof RadioButtonComponent
123
+ */
124
+ hasError: boolean;
125
+ /**
126
+ * A string representing the ARIA requirement for accessibility.
127
+ * This attribute is used to indicate whether an input field is required for form submission.
128
+ * @type {string}
129
+ * @memberof RadioButtonComponent
130
+ */
131
+ ariaLabelledby: string;
132
+ /**
133
+ * A string representing the ARIA requirement for accessibility.
134
+ * This attribute is used to indicate whether an input field is required for form submission.
135
+ * @type {string}
136
+ * @memberof RadioButtonComponent
137
+ */
138
+ ariaDescribedby: string;
139
+ /**
140
+ * Truncate text if it is too long
141
+ * @type {boolean}
142
+ * @memberof RadioButtonComponent
143
+ */
144
+ truncateText: boolean;
145
+ /**
146
+ * Text alignment
147
+ * @type {'center' | 'top'}
148
+ * @memberof RadioButtonComponent
149
+ */
150
+ alignment: Alignment;
151
+ /**
152
+ * Sets the tab index for the checkbox component.
153
+ * This determines the order in which elements receive focus when the user navigates through them using the Tab key.
154
+ * Default value is 0.
155
+ *
156
+ * @type {number}
157
+ * @memberof RadioButtonComponent
158
+ */
159
+ tabIndex: number;
160
+ /**
161
+ * Show tooltip when label is truncated
162
+ * @type {boolean}
163
+ * @memberof RadioButtonComponent
164
+ */
165
+ hideTooltipOnEllipsis: boolean;
166
+ /**
167
+ * Event emitted when the checked state of the radio button changes.
168
+ *
169
+ * @type {boolean}
170
+ * @memberof RadioButtonComponent
171
+ */
172
+ changeRadio: EventEmitter<RadioButtonEventType>;
173
+ classMultiple: string;
174
+ showTooltip: boolean;
175
+ protected origin: string | null;
176
+ radioElement: MatRadioButton;
177
+ private appliedTestId;
178
+ tooltipElement: MatTooltip;
179
+ private readonly defaultAppTheme;
180
+ ngControl: NgControl | null;
181
+ hostNgControl: NgControl | null;
182
+ private readonly destroyRef;
183
+ private readonly focusMonitor;
184
+ private readonly ngZone;
185
+ private readonly cdr;
186
+ constructor();
187
+ ngOnInit(): void;
188
+ ngOnChanges(changes: SimpleChanges): void;
189
+ private applyTestId;
190
+ ngAfterViewInit(): void;
191
+ ngOnDestroy(): void;
192
+ clickRadio(): void;
193
+ writeValue(value: unknown): void;
194
+ registerOnChange(fn: (value: boolean) => void): void;
195
+ registerOnTouched(fn: () => void): void;
196
+ setDisabledState(isDisabled: boolean): void;
197
+ onChange: (value: boolean) => void;
198
+ /**
199
+ * @ignore
200
+ */
201
+ onTouch: () => void;
202
+ setClass(): string;
203
+ onLabelEllipsisChange(isEllipsis: boolean): void;
204
+ private checkHost;
205
+ private setCompanyColor;
206
+ onFocus(isFocus: boolean): void;
207
+ focus(): void;
208
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
209
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, {
210
+ "disabled": {
211
+ "alias": "disabled";
212
+ "required": false;
213
+ };
214
+ "selected": {
215
+ "alias": "selected";
216
+ "required": false;
217
+ };
218
+ "allowUnselect": {
219
+ "alias": "allowUnselect";
220
+ "required": false;
221
+ };
222
+ "companyColor": {
223
+ "alias": "companyColor";
224
+ "required": false;
225
+ };
226
+ "name": {
227
+ "alias": "name";
228
+ "required": false;
229
+ };
230
+ "label": {
231
+ "alias": "label";
232
+ "required": false;
233
+ };
234
+ "multiple": {
235
+ "alias": "multiple";
236
+ "required": false;
237
+ };
238
+ "mediaCard": {
239
+ "alias": "mediaCard";
240
+ "required": false;
241
+ };
242
+ "value": {
243
+ "alias": "value";
244
+ "required": false;
245
+ };
246
+ "applicationTheme": {
247
+ "alias": "applicationTheme";
248
+ "required": false;
249
+ };
250
+ "ariaLabel": {
251
+ "alias": "ariaLabel";
252
+ "required": false;
253
+ };
254
+ "testId": {
255
+ "alias": "testId";
256
+ "required": false;
257
+ };
258
+ "ariaRequired": {
259
+ "alias": "ariaRequired";
260
+ "required": false;
261
+ };
262
+ "hasError": {
263
+ "alias": "hasError";
264
+ "required": false;
265
+ };
266
+ "ariaLabelledby": {
267
+ "alias": "ariaLabelledby";
268
+ "required": false;
269
+ };
270
+ "ariaDescribedby": {
271
+ "alias": "ariaDescribedby";
272
+ "required": false;
273
+ };
274
+ "truncateText": {
275
+ "alias": "truncateText";
276
+ "required": false;
277
+ };
278
+ "alignment": {
279
+ "alias": "alignment";
280
+ "required": false;
281
+ };
282
+ "tabIndex": {
283
+ "alias": "tabIndex";
284
+ "required": false;
285
+ };
286
+ "hideTooltipOnEllipsis": {
287
+ "alias": "hideTooltipOnEllipsis";
288
+ "required": false;
289
+ };
290
+ }, {
291
+ "changeRadio": "changeRadio";
292
+ }, never, ["[radio-media]", "[radio-label]"], true, never>;
213
293
  }
214
-
215
- declare class RadioButtonComponentModule {
216
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponentModule, never>;
217
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.MatRadioModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule, typeof i5.EllipseTextDirective, typeof i6.MatTooltipModule, typeof i7.MatCheckboxModule, typeof i8.FocusVisibleDirective, typeof RadioButtonComponent], [typeof RadioButtonComponent]>;
218
- static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonComponentModule>;
294
+ export declare class RadioButtonComponentModule {
295
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponentModule, never>;
296
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.MatRadioModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule, typeof i5.EllipseTextDirective, typeof i6.MatTooltipModule, typeof i7.MatCheckboxModule, typeof i8.FocusVisibleDirective, typeof RadioButtonComponent], [typeof RadioButtonComponent]>;
297
+ static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonComponentModule>;
219
298
  }
220
-
221
- export { RadioButtonComponent, RadioButtonComponentModule };
222
- export type { RadioButtonEventType };
299
+ export { ApplicationTheme };