@testgorilla/tgo-ui 11.22.3 → 12.0.1

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 (225) 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 -1795
  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/theme/_palette.scss +23 -18
  152. package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
  153. package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
  154. package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
  155. package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
  156. package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
  157. package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
  158. package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
  159. package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
  160. package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
  161. package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
  162. package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
  163. package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
  164. package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
  165. package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
  166. package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
  167. package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
  168. package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
  169. package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
  170. package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
  171. package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
  172. package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
  173. package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
  174. package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
  175. package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
  176. package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
  177. package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
  178. package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
  179. package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
  180. package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
  181. package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
  182. package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
  183. package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
  184. package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
  185. package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
  186. package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
  187. package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
  188. package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
  189. package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
  190. package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
  191. package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
  192. package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
  193. package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
  194. package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
  195. package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
  196. package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
  197. package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
  198. package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
  199. package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
  200. package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
  201. package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
  202. package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
  203. package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
  204. package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
  205. package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
  206. package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
  207. package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
  208. package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
  209. package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
  210. package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
  211. package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
  212. package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
  213. package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
  214. package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
  215. package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
  216. package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
  217. package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
  218. package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
  219. package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
  220. package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
  221. package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
  222. package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
  223. package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
  224. package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
  225. package/types/testgorilla-tgo-ui.d.ts +52 -45
@@ -1,226 +1,302 @@
1
- import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
2
- import * as i0 from '@angular/core';
3
- import { OnInit, DoCheck, OnChanges, AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
4
- import * as i3 from '@angular/forms';
5
- import { ControlValueAccessor, NgControl } from '@angular/forms';
6
- import * as i2 from '@angular/material/checkbox';
7
- import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
8
- import * as i8 from '@angular/material/tooltip';
9
- import { MatTooltip } from '@angular/material/tooltip';
10
- import * as i6 from '@testgorilla/tgo-ui/components/core';
11
- import { ApplicationTheme, Alignment } from '@testgorilla/tgo-ui/components/core';
12
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
13
- import * as i1 from '@angular/common';
14
- import * as i4 from '@angular/material/input';
15
- import * as i5 from '@testgorilla/tgo-ui/components/icon';
16
- import * as i7 from '@testgorilla/tgo-ui/components/validation-error';
17
-
18
- declare class CheckboxComponent implements OnInit, FocusableOption, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit, OnDestroy {
19
- /**
20
- * Determines whether the checkbox is disabled.
21
- * Default: false.
22
- *
23
- * @type {boolean}
24
- * @memberof CheckboxComponent
25
- */
26
- disabled: boolean;
27
- /**
28
- * Determines whether the checkbox is checked.
29
- * Default: false.
30
- *
31
- * @type {boolean}
32
- * @memberof CheckboxComponent
33
- */
34
- checked: boolean;
35
- /**
36
- * Determines whether the checkbox is indeterminate.
37
- * It can be used to represent a checkbox with three states, e.g. a checkbox that represents a nested list of checkable items.
38
- * Default: false.
39
- *
40
- * @type {boolean}
41
- * @memberof CheckboxComponent
42
- */
43
- indeterminate: boolean;
44
- /**
45
- * Determines whether the checkbox color.
46
- * Default: Test Gorilla primary color.
47
- *
48
- * @type {string}
49
- * @memberof CheckboxComponent
50
- */
51
- companyColor: string | null;
52
- /**
53
- * Name value will be applied to the input element if present.
54
- *
55
- * @type {string}
56
- * @memberof CheckboxComponent
57
- */
58
- name: string;
59
- /**
60
- * Text content will be applied to the input element if present.
61
- *
62
- * @type {string}
63
- * @memberof CheckboxComponent
64
- */
65
- label: string;
66
- /**
67
- * Renders the checkbox as a bordered, padded multiple-choice answer cell
68
- * (the candidate test-taking experience). NOT for multi-select or table
69
- * row selection — use the plain default checkbox there.
70
- * Default: false
71
- *
72
- * @type {boolean}
73
- * @memberof CheckboxComponent
74
- */
75
- multiple: boolean;
76
- /**
77
- *
78
- * Defines the application theme
79
- *
80
- * @type {ApplicationTheme}
81
- * @memberof CheckboxComponent
82
- */
83
- applicationTheme: ApplicationTheme;
84
- /**
85
- * A string representing the ARIA label for accessibility.
86
- * This label is used to provide an accessible name for the input element.
87
- * @type {string}
88
- * @memberof CheckboxComponent
89
- */
90
- ariaLabel: string;
91
- testId: string | null;
92
- /**
93
- * A string representing the ARIA requirement for accessibility.
94
- * This attribute is used to indicate whether an input field is required for form submission.
95
- * @type {boolean}
96
- * @memberof CheckboxComponent
97
- */
98
- ariaRequired: boolean;
99
- /**
100
- * Defines if checkbox has error
101
- *
102
- * @type {boolean}
103
- * @memberof CheckboxComponent
104
- */
105
- hasError: boolean;
106
- /**
107
- * Hide in-build errors for Reactive Forms
108
- *
109
- * @type {number}
110
- * @memberof CheckboxComponent
111
- */
112
- hideBuiltInErrors: boolean;
113
- /**
114
- * Hide label in errors
115
- *
116
- * @type {number}
117
- * @memberof CheckboxComponent
118
- */
119
- hideLabelInErrors: boolean;
120
- /**
121
- * A string representing the ARIA requirement for accessibility.
122
- * This attribute is used to indicate whether an input field is required for form submission.
123
- * @type {string}
124
- * @memberof CheckboxComponent
125
- */
126
- ariaLabelledby: string;
127
- /**
128
- * A string representing the ARIA requirement for accessibility.
129
- * This attribute is used to indicate whether an input field is required for form submission.
130
- * @type {string}
131
- * @memberof CheckboxComponent
132
- */
133
- ariaDescribedby: string;
134
- /**
135
- * Truncate text if it is too long
136
- * @type {string}
137
- * @memberof CheckboxComponent
138
- */
139
- truncateText: boolean;
140
- /**
141
- * Text alignment
142
- * @type {'center' | 'top'}
143
- * @memberof CheckboxComponent
144
- */
145
- alignment: Alignment;
146
- /**
147
- * Sets the tab index for the checkbox component.
148
- * This determines the order in which elements receive focus when the user navigates through them using the Tab key.
149
- * Default value is 0.
150
- *
151
- * @type {number}
152
- * @memberof CheckboxComponent
153
- */
154
- tabIndex: number;
155
- /**
156
- * Event emitted when the checkbox's checked value changes.
157
- *
158
- * @type {boolean}
159
- * @memberof CheckboxComponent
160
- */
161
- changed: EventEmitter<boolean>;
162
- /**
163
- * @ignore
164
- */
165
- onChange: (_value: boolean) => void;
166
- /**
167
- * @ignore
168
- */
169
- onTouch: () => void;
170
- showTooltip: boolean;
171
- classMultiple: string;
172
- tooltipElement: MatTooltip;
173
- checkboxElement: MatCheckbox;
174
- protected origin: string | null;
175
- private appliedTestId;
176
- private readonly defaultAppTheme;
177
- private readonly cdr;
178
- ngControl: NgControl | null;
179
- private readonly focusMonitor;
180
- private readonly ngZone;
181
- private readonly destroyRef;
182
- constructor();
183
- ngOnChanges(): void;
184
- /**
185
- * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
186
- * to display validation errors that might happen (e.g. required)
187
- */
188
- ngDoCheck(): void;
189
- ngAfterViewInit(): void;
190
- private applyTestId;
191
- focusAction(origin: FocusOrigin): void;
192
- ngOnDestroy(): void;
193
- emitChange(event: MatCheckboxChange): void;
194
- ngOnInit(): void;
195
- toggleChecked(): void;
196
- setClass(): string;
197
- writeValue(value: boolean): void;
198
- registerOnChange(fn: (value: boolean) => void): void;
199
- registerOnTouched(fn: () => void): void;
200
- setDisabledState(isDisabled: boolean): void;
201
- onLabelEllipsisChange(isEllipsis: boolean): void;
202
- onFocus(isFocus: boolean): void;
203
- private setCompanyColor;
204
- focus(): void;
205
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
206
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "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; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "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; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], true, never>;
1
+ import { FocusOrigin, FocusableOption } from "@angular/cdk/a11y";
2
+ import * as i0 from "@angular/core";
3
+ import { AfterViewInit, DoCheck, EventEmitter, OnChanges, OnDestroy, OnInit } from "@angular/core";
4
+ import * as i3 from "@angular/forms";
5
+ import { ControlValueAccessor, NgControl } from "@angular/forms";
6
+ import * as i2 from "@angular/material/checkbox";
7
+ import { MatCheckbox, MatCheckboxChange } from "@angular/material/checkbox";
8
+ import * as i8 from "@angular/material/tooltip";
9
+ import { MatTooltip } from "@angular/material/tooltip";
10
+ import * as i6 from "@testgorilla/tgo-ui/components/core";
11
+ import { Alignment, ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
12
+ import * as i1 from "@angular/common";
13
+ import * as i4 from "@angular/material/input";
14
+ import * as i5 from "@testgorilla/tgo-ui/components/icon";
15
+ import * as i7 from "@testgorilla/tgo-ui/components/validation-error";
16
+ export declare class CheckboxComponent implements OnInit, FocusableOption, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit, OnDestroy {
17
+ /**
18
+ * Determines whether the checkbox is disabled.
19
+ * Default: false.
20
+ *
21
+ * @type {boolean}
22
+ * @memberof CheckboxComponent
23
+ */
24
+ disabled: boolean;
25
+ /**
26
+ * Determines whether the checkbox is checked.
27
+ * Default: false.
28
+ *
29
+ * @type {boolean}
30
+ * @memberof CheckboxComponent
31
+ */
32
+ checked: boolean;
33
+ /**
34
+ * Determines whether the checkbox is indeterminate.
35
+ * It can be used to represent a checkbox with three states, e.g. a checkbox that represents a nested list of checkable items.
36
+ * Default: false.
37
+ *
38
+ * @type {boolean}
39
+ * @memberof CheckboxComponent
40
+ */
41
+ indeterminate: boolean;
42
+ /**
43
+ * Determines whether the checkbox color.
44
+ * Default: Test Gorilla primary color.
45
+ *
46
+ * @type {string}
47
+ * @memberof CheckboxComponent
48
+ */
49
+ companyColor: string | null;
50
+ /**
51
+ * Name value will be applied to the input element if present.
52
+ *
53
+ * @type {string}
54
+ * @memberof CheckboxComponent
55
+ */
56
+ name: string;
57
+ /**
58
+ * Text content will be applied to the input element if present.
59
+ *
60
+ * @type {string}
61
+ * @memberof CheckboxComponent
62
+ */
63
+ label: string;
64
+ /**
65
+ * Renders the checkbox as a bordered, padded multiple-choice answer cell
66
+ * (the candidate test-taking experience). NOT for multi-select or table
67
+ * row selection — use the plain default checkbox there.
68
+ * Default: false
69
+ *
70
+ * @type {boolean}
71
+ * @memberof CheckboxComponent
72
+ */
73
+ multiple: boolean;
74
+ /**
75
+ *
76
+ * Defines the application theme
77
+ *
78
+ * @type {ApplicationTheme}
79
+ * @memberof CheckboxComponent
80
+ */
81
+ applicationTheme: ApplicationTheme$1;
82
+ /**
83
+ * A string representing the ARIA label for accessibility.
84
+ * This label is used to provide an accessible name for the input element.
85
+ * @type {string}
86
+ * @memberof CheckboxComponent
87
+ */
88
+ ariaLabel: string;
89
+ testId: string | null;
90
+ /**
91
+ * A string representing the ARIA requirement for accessibility.
92
+ * This attribute is used to indicate whether an input field is required for form submission.
93
+ * @type {boolean}
94
+ * @memberof CheckboxComponent
95
+ */
96
+ ariaRequired: boolean;
97
+ /**
98
+ * Defines if checkbox has error
99
+ *
100
+ * @type {boolean}
101
+ * @memberof CheckboxComponent
102
+ */
103
+ hasError: boolean;
104
+ /**
105
+ * Hide in-build errors for Reactive Forms
106
+ *
107
+ * @type {number}
108
+ * @memberof CheckboxComponent
109
+ */
110
+ hideBuiltInErrors: boolean;
111
+ /**
112
+ * Hide label in errors
113
+ *
114
+ * @type {number}
115
+ * @memberof CheckboxComponent
116
+ */
117
+ hideLabelInErrors: boolean;
118
+ /**
119
+ * A string representing the ARIA requirement for accessibility.
120
+ * This attribute is used to indicate whether an input field is required for form submission.
121
+ * @type {string}
122
+ * @memberof CheckboxComponent
123
+ */
124
+ ariaLabelledby: string;
125
+ /**
126
+ * A string representing the ARIA requirement for accessibility.
127
+ * This attribute is used to indicate whether an input field is required for form submission.
128
+ * @type {string}
129
+ * @memberof CheckboxComponent
130
+ */
131
+ ariaDescribedby: string;
132
+ /**
133
+ * Truncate text if it is too long
134
+ * @type {string}
135
+ * @memberof CheckboxComponent
136
+ */
137
+ truncateText: boolean;
138
+ /**
139
+ * Text alignment
140
+ * @type {'center' | 'top'}
141
+ * @memberof CheckboxComponent
142
+ */
143
+ alignment: Alignment;
144
+ /**
145
+ * Sets the tab index for the checkbox component.
146
+ * This determines the order in which elements receive focus when the user navigates through them using the Tab key.
147
+ * Default value is 0.
148
+ *
149
+ * @type {number}
150
+ * @memberof CheckboxComponent
151
+ */
152
+ tabIndex: number;
153
+ /**
154
+ * Event emitted when the checkbox's checked value changes.
155
+ *
156
+ * @type {boolean}
157
+ * @memberof CheckboxComponent
158
+ */
159
+ changed: EventEmitter<boolean>;
160
+ /**
161
+ * @ignore
162
+ */
163
+ onChange: (_value: boolean) => void;
164
+ /**
165
+ * @ignore
166
+ */
167
+ onTouch: () => void;
168
+ showTooltip: boolean;
169
+ classMultiple: string;
170
+ tooltipElement: MatTooltip;
171
+ checkboxElement: MatCheckbox;
172
+ protected origin: string | null;
173
+ private appliedTestId;
174
+ private readonly defaultAppTheme;
175
+ private readonly cdr;
176
+ ngControl: NgControl | null;
177
+ private readonly focusMonitor;
178
+ private readonly ngZone;
179
+ private readonly destroyRef;
180
+ constructor();
181
+ ngOnChanges(): void;
182
+ /**
183
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
184
+ * to display validation errors that might happen (e.g. required)
185
+ */
186
+ ngDoCheck(): void;
187
+ ngAfterViewInit(): void;
188
+ private applyTestId;
189
+ focusAction(origin: FocusOrigin): void;
190
+ ngOnDestroy(): void;
191
+ emitChange(event: MatCheckboxChange): void;
192
+ ngOnInit(): void;
193
+ toggleChecked(): void;
194
+ setClass(): string;
195
+ writeValue(value: boolean): void;
196
+ registerOnChange(fn: (value: boolean) => void): void;
197
+ registerOnTouched(fn: () => void): void;
198
+ setDisabledState(isDisabled: boolean): void;
199
+ onLabelEllipsisChange(isEllipsis: boolean): void;
200
+ onFocus(isFocus: boolean): void;
201
+ private setCompanyColor;
202
+ focus(): void;
203
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
204
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, {
205
+ "disabled": {
206
+ "alias": "disabled";
207
+ "required": false;
208
+ };
209
+ "checked": {
210
+ "alias": "checked";
211
+ "required": false;
212
+ };
213
+ "indeterminate": {
214
+ "alias": "indeterminate";
215
+ "required": false;
216
+ };
217
+ "companyColor": {
218
+ "alias": "companyColor";
219
+ "required": false;
220
+ };
221
+ "name": {
222
+ "alias": "name";
223
+ "required": false;
224
+ };
225
+ "label": {
226
+ "alias": "label";
227
+ "required": false;
228
+ };
229
+ "multiple": {
230
+ "alias": "multiple";
231
+ "required": false;
232
+ };
233
+ "applicationTheme": {
234
+ "alias": "applicationTheme";
235
+ "required": false;
236
+ };
237
+ "ariaLabel": {
238
+ "alias": "ariaLabel";
239
+ "required": false;
240
+ };
241
+ "testId": {
242
+ "alias": "testId";
243
+ "required": false;
244
+ };
245
+ "ariaRequired": {
246
+ "alias": "ariaRequired";
247
+ "required": false;
248
+ };
249
+ "hasError": {
250
+ "alias": "hasError";
251
+ "required": false;
252
+ };
253
+ "hideBuiltInErrors": {
254
+ "alias": "hideBuiltInErrors";
255
+ "required": false;
256
+ };
257
+ "hideLabelInErrors": {
258
+ "alias": "hideLabelInErrors";
259
+ "required": false;
260
+ };
261
+ "ariaLabelledby": {
262
+ "alias": "ariaLabelledby";
263
+ "required": false;
264
+ };
265
+ "ariaDescribedby": {
266
+ "alias": "ariaDescribedby";
267
+ "required": false;
268
+ };
269
+ "truncateText": {
270
+ "alias": "truncateText";
271
+ "required": false;
272
+ };
273
+ "alignment": {
274
+ "alias": "alignment";
275
+ "required": false;
276
+ };
277
+ "tabIndex": {
278
+ "alias": "tabIndex";
279
+ "required": false;
280
+ };
281
+ }, {
282
+ "changed": "changed";
283
+ }, never, ["[checkbox-label]"], true, never>;
207
284
  }
208
-
209
- declare class FocusVisibleDirective {
210
- uiFocusVisible: EventEmitter<boolean>;
211
- private hadKeyboardEvent;
212
- constructor();
213
- handleKeyboardEvent(): void;
214
- onFocus(): void;
215
- onBlur(): void;
216
- static ɵfac: i0.ɵɵFactoryDeclaration<FocusVisibleDirective, never>;
217
- static ɵdir: i0.ɵɵDirectiveDeclaration<FocusVisibleDirective, "[uiFocusVisible]", never, {}, { "uiFocusVisible": "uiFocusVisible"; }, never, never, true, never>;
285
+ export declare class FocusVisibleDirective {
286
+ uiFocusVisible: EventEmitter<boolean>;
287
+ private hadKeyboardEvent;
288
+ constructor();
289
+ handleKeyboardEvent(): void;
290
+ onFocus(): void;
291
+ onBlur(): void;
292
+ static ɵfac: i0.ɵɵFactoryDeclaration<FocusVisibleDirective, never>;
293
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FocusVisibleDirective, "[uiFocusVisible]", never, {}, {
294
+ "uiFocusVisible": "uiFocusVisible";
295
+ }, never, never, true, never>;
218
296
  }
219
-
220
- declare class CheckboxComponentModule {
221
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponentModule, never>;
222
- static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule, never, [typeof i1.CommonModule, typeof i2.MatCheckboxModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.ValidationErrorModule, typeof i6.HasValidationErrorPipe, typeof i6.EllipseTextDirective, typeof i8.MatTooltipModule, typeof FocusVisibleDirective, typeof CheckboxComponent], [typeof CheckboxComponent]>;
223
- static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxComponentModule>;
297
+ export declare class CheckboxComponentModule {
298
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponentModule, never>;
299
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule, never, [typeof i1.CommonModule, typeof i2.MatCheckboxModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.ValidationErrorModule, typeof i6.HasValidationErrorPipe, typeof i6.EllipseTextDirective, typeof i8.MatTooltipModule, typeof FocusVisibleDirective, typeof CheckboxComponent], [typeof CheckboxComponent]>;
300
+ static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxComponentModule>;
224
301
  }
225
-
226
- export { CheckboxComponent, CheckboxComponentModule, FocusVisibleDirective };
302
+ export { ApplicationTheme };