@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,71 +1,95 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnDestroy, AfterViewInit, ElementRef, WritableSignal } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
-
5
- declare enum InterviewState {
6
- CandidateSpeaking = "candidate-speaking",
7
- AiListening = "ai-listening",
8
- AiSpeaking = "ai-speaking",
9
- Static = "static"
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewInit, ElementRef, OnDestroy, WritableSignal } from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export declare enum InterviewState {
5
+ CandidateSpeaking = "candidate-speaking",
6
+ AiListening = "ai-listening",
7
+ AiSpeaking = "ai-speaking",
8
+ Static = "static"
10
9
  }
11
- declare class AiAudioCircleComponent implements OnDestroy, AfterViewInit {
12
- pulseCanvasRef?: ElementRef<HTMLCanvasElement>;
13
- audioTrack: _angular_core.InputSignal<MediaStreamTrack | undefined>;
14
- candidateAudioTrack: _angular_core.InputSignal<MediaStreamTrack | undefined>;
15
- state: _angular_core.ModelSignal<InterviewState>;
16
- canvasSize: _angular_core.InputSignal<number>;
17
- animated: _angular_core.InputSignal<boolean>;
18
- isSpeaking: WritableSignal<boolean>;
19
- scaleValue: WritableSignal<number>;
20
- audioContext?: AudioContext;
21
- analyser?: AnalyserNode;
22
- candidateAnalyser?: AnalyserNode;
23
- dataArray?: Uint8Array<ArrayBuffer>;
24
- candidateDataArray?: Uint8Array<ArrayBuffer>;
25
- animationFrameId?: number;
26
- source?: MediaStreamAudioSourceNode;
27
- candidateSource?: MediaStreamAudioSourceNode;
28
- pulseCtx?: CanvasRenderingContext2D;
29
- currentAmp: number;
30
- simTime: number;
31
- baseRadius: _angular_core.Signal<number>;
32
- readonly AI_SPEAKING_THRESHOLD = 0.02;
33
- readonly CANDIDATE_SPEAKING_THRESHOLD = 0.5;
34
- readonly SHADOW_COLOR_RGB: string;
35
- pulseTime: number;
36
- pulseScale: number;
37
- pulseTargetScale: number;
38
- pulseAnimationId?: number;
39
- blobs: Array<{
40
- x: number;
41
- y: number;
42
- vx: number;
43
- vy: number;
44
- radius: number;
45
- color: string;
46
- opacity: number;
47
- }>;
48
- constructor();
49
- ngAfterViewInit(): void;
50
- private initializeCanvas;
51
- private initializeBlobs;
52
- private setupAudioAnalysis;
53
- private setupCandidateAudioAnalysis;
54
- private analyzeAudio;
55
- private startAnimations;
56
- private mainLoop;
57
- private animatePulse;
58
- private hexToRgb;
59
- private cleanup;
60
- ngOnDestroy(): void;
61
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiAudioCircleComponent, never>;
62
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiAudioCircleComponent, "ui-ai-audio-circle", never, { "audioTrack": { "alias": "audioTrack"; "required": false; "isSignal": true; }; "candidateAudioTrack": { "alias": "candidateAudioTrack"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "canvasSize": { "alias": "canvasSize"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, true, never>;
10
+ export declare class AiAudioCircleComponent implements OnDestroy, AfterViewInit {
11
+ pulseCanvasRef?: ElementRef<HTMLCanvasElement>;
12
+ audioTrack: import("@angular/core").InputSignal<MediaStreamTrack | undefined>;
13
+ candidateAudioTrack: import("@angular/core").InputSignal<MediaStreamTrack | undefined>;
14
+ state: import("@angular/core").ModelSignal<InterviewState>;
15
+ canvasSize: import("@angular/core").InputSignal<number>;
16
+ animated: import("@angular/core").InputSignal<boolean>;
17
+ isSpeaking: WritableSignal<boolean>;
18
+ scaleValue: WritableSignal<number>;
19
+ audioContext?: AudioContext;
20
+ analyser?: AnalyserNode;
21
+ candidateAnalyser?: AnalyserNode;
22
+ dataArray?: Uint8Array<ArrayBuffer>;
23
+ candidateDataArray?: Uint8Array<ArrayBuffer>;
24
+ animationFrameId?: number;
25
+ source?: MediaStreamAudioSourceNode;
26
+ candidateSource?: MediaStreamAudioSourceNode;
27
+ pulseCtx?: CanvasRenderingContext2D;
28
+ currentAmp: number;
29
+ simTime: number;
30
+ baseRadius: import("@angular/core").Signal<number>;
31
+ readonly AI_SPEAKING_THRESHOLD = 0.02;
32
+ readonly CANDIDATE_SPEAKING_THRESHOLD = 0.5;
33
+ readonly SHADOW_COLOR_RGB: string;
34
+ pulseTime: number;
35
+ pulseScale: number;
36
+ pulseTargetScale: number;
37
+ pulseAnimationId?: number;
38
+ blobs: Array<{
39
+ x: number;
40
+ y: number;
41
+ vx: number;
42
+ vy: number;
43
+ radius: number;
44
+ color: string;
45
+ opacity: number;
46
+ }>;
47
+ constructor();
48
+ ngAfterViewInit(): void;
49
+ private initializeCanvas;
50
+ private initializeBlobs;
51
+ private setupAudioAnalysis;
52
+ private setupCandidateAudioAnalysis;
53
+ private analyzeAudio;
54
+ private startAnimations;
55
+ private mainLoop;
56
+ private animatePulse;
57
+ private hexToRgb;
58
+ private cleanup;
59
+ ngOnDestroy(): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiAudioCircleComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiAudioCircleComponent, "ui-ai-audio-circle", never, {
62
+ "audioTrack": {
63
+ "alias": "audioTrack";
64
+ "required": false;
65
+ "isSignal": true;
66
+ };
67
+ "candidateAudioTrack": {
68
+ "alias": "candidateAudioTrack";
69
+ "required": false;
70
+ "isSignal": true;
71
+ };
72
+ "state": {
73
+ "alias": "state";
74
+ "required": false;
75
+ "isSignal": true;
76
+ };
77
+ "canvasSize": {
78
+ "alias": "canvasSize";
79
+ "required": false;
80
+ "isSignal": true;
81
+ };
82
+ "animated": {
83
+ "alias": "animated";
84
+ "required": false;
85
+ "isSignal": true;
86
+ };
87
+ }, {
88
+ "state": "stateChange";
89
+ }, never, never, true, never>;
63
90
  }
64
-
65
- declare class AiAudioCircleModule {
66
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiAudioCircleModule, never>;
67
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AiAudioCircleModule, never, [typeof i1.CommonModule, typeof AiAudioCircleComponent], [typeof AiAudioCircleComponent]>;
68
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AiAudioCircleModule>;
69
- }
70
-
71
- export { AiAudioCircleComponent, AiAudioCircleModule, InterviewState };
91
+ export declare class AiAudioCircleModule {
92
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiAudioCircleModule, never>;
93
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AiAudioCircleModule, never, [typeof i1.CommonModule, typeof AiAudioCircleComponent], [typeof AiAudioCircleComponent]>;
94
+ static ɵinj: i0.ɵɵInjectorDeclaration<AiAudioCircleModule>;
95
+ }
@@ -1,10 +1,8 @@
1
- import * as i3 from '@testgorilla/tgo-ui/components/core';
2
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
- import * as i0 from '@angular/core';
5
- import * as i1 from '@angular/common';
6
- import * as i2 from '@testgorilla/tgo-ui/components/icon';
7
-
1
+ import * as i3 from "@testgorilla/tgo-ui/components/core";
2
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@testgorilla/tgo-ui/components/icon";
8
6
  /**
9
7
  * AI Caveat Component
10
8
  *
@@ -18,32 +16,37 @@ import * as i2 from '@testgorilla/tgo-ui/components/icon';
18
16
  * @example
19
17
  * <ui-ai-caveat [applicationTheme]="'dark'"></ui-ai-caveat>
20
18
  */
21
- declare class AiCaveatComponent {
22
- private readonly defaultAppTheme;
23
- /**
24
- * Defines the application theme
25
- *
26
- * @type {ApplicationTheme}
27
- * @default 'light'
28
- * @memberof AiCaveatComponent
29
- */
30
- applicationTheme: ApplicationTheme;
31
- /**
32
- * The translation key for the disclaimer text
33
- *
34
- * @readonly
35
- * @memberof AiCaveatComponent
36
- */
37
- readonly disclaimerKey = "AI_CAVEAT.DISCLAIMER";
38
- constructor(defaultAppTheme: ApplicationTheme);
39
- static ɵfac: i0.ɵɵFactoryDeclaration<AiCaveatComponent, [{ optional: true; }]>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<AiCaveatComponent, "ui-ai-caveat", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, true, never>;
19
+ export declare class AiCaveatComponent {
20
+ private readonly defaultAppTheme;
21
+ /**
22
+ * Defines the application theme
23
+ *
24
+ * @type {ApplicationTheme}
25
+ * @default 'light'
26
+ * @memberof AiCaveatComponent
27
+ */
28
+ applicationTheme: ApplicationTheme$1;
29
+ /**
30
+ * The translation key for the disclaimer text
31
+ *
32
+ * @readonly
33
+ * @memberof AiCaveatComponent
34
+ */
35
+ readonly disclaimerKey = "AI_CAVEAT.DISCLAIMER";
36
+ constructor(defaultAppTheme: ApplicationTheme$1);
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiCaveatComponent, [{
38
+ optional: true;
39
+ }]>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiCaveatComponent, "ui-ai-caveat", never, {
41
+ "applicationTheme": {
42
+ "alias": "applicationTheme";
43
+ "required": false;
44
+ };
45
+ }, {}, never, never, true, never>;
41
46
  }
42
-
43
- declare class AiCaveatComponentModule {
44
- static ɵfac: i0.ɵɵFactoryDeclaration<AiCaveatComponentModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<AiCaveatComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.UiTranslatePipe, typeof AiCaveatComponent], [typeof AiCaveatComponent]>;
46
- static ɵinj: i0.ɵɵInjectorDeclaration<AiCaveatComponentModule>;
47
+ export declare class AiCaveatComponentModule {
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiCaveatComponentModule, never>;
49
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AiCaveatComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.UiTranslatePipe, typeof AiCaveatComponent], [typeof AiCaveatComponent]>;
50
+ static ɵinj: i0.ɵɵInjectorDeclaration<AiCaveatComponentModule>;
47
51
  }
48
-
49
- export { AiCaveatComponent, AiCaveatComponentModule };
52
+ export { ApplicationTheme };
@@ -1,92 +1,132 @@
1
- import * as rxjs from 'rxjs';
2
- import * as _angular_core from '@angular/core';
3
- import { OnInit } from '@angular/core';
4
- import * as i2 from '@angular/forms';
5
- import { FormControl } from '@angular/forms';
6
- import * as i9 from '@testgorilla/tgo-ui/components/core';
7
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
- import * as i1 from '@angular/common';
10
- import * as i3 from '@testgorilla/tgo-ui/components/button';
11
- import * as i4 from '@testgorilla/tgo-ui/components/card';
12
- import * as i5 from '@testgorilla/tgo-ui/components/tag';
13
- import * as i6 from '@testgorilla/tgo-ui/components/field';
14
- import * as i7 from '@testgorilla/tgo-ui/components/ai-caveat';
15
- import * as i8 from '@testgorilla/tgo-ui/components/icon';
16
-
17
- declare enum AiFeedbackPanelType {
18
- POSITIVE = "positive",
19
- NEGATIVE = "negative"
1
+ import * as i0 from "@angular/core";
2
+ import { OnInit } from "@angular/core";
3
+ import * as i2 from "@angular/forms";
4
+ import { FormControl } from "@angular/forms";
5
+ import * as i9 from "@testgorilla/tgo-ui/components/core";
6
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i3 from "@testgorilla/tgo-ui/components/button";
9
+ import * as i4 from "@testgorilla/tgo-ui/components/card";
10
+ import * as i5 from "@testgorilla/tgo-ui/components/tag";
11
+ import * as i6 from "@testgorilla/tgo-ui/components/field";
12
+ import * as i7 from "@testgorilla/tgo-ui/components/ai-caveat";
13
+ import * as i8 from "@testgorilla/tgo-ui/components/icon";
14
+ export declare enum AiFeedbackPanelType {
15
+ POSITIVE = "positive",
16
+ NEGATIVE = "negative"
20
17
  }
21
- type AiFeedbackVariant = 'default' | 'panel' | 'input-only';
22
- interface AiFeedbackOption {
23
- id: string;
24
- label: string;
18
+ export type AiFeedbackVariant = 'default' | 'panel' | 'input-only';
19
+ export interface AiFeedbackOption {
20
+ id: string;
21
+ label: string;
25
22
  }
26
- interface AiFeedbackConfig {
27
- title: string;
28
- options?: AiFeedbackOption[];
29
- otherPlaceholder?: string;
23
+ export interface AiFeedbackConfig {
24
+ title: string;
25
+ options?: AiFeedbackOption[];
26
+ otherPlaceholder?: string;
30
27
  }
31
- interface AiFeedbackData {
32
- isPositiveFeedback: boolean | null;
33
- selectedOptions?: string[];
34
- otherText?: string;
28
+ export interface AiFeedbackData {
29
+ isPositiveFeedback: boolean | null;
30
+ selectedOptions?: string[];
31
+ otherText?: string;
35
32
  }
36
-
37
- declare class AiFeedbackComponent implements OnInit {
38
- positiveConfig: _angular_core.InputSignal<AiFeedbackConfig | undefined>;
39
- negativeConfig: _angular_core.InputSignal<AiFeedbackConfig | undefined>;
40
- skipPanelForPositive: _angular_core.InputSignal<boolean>;
41
- applicationTheme: _angular_core.InputSignal<ApplicationTheme>;
42
- variant: _angular_core.InputSignal<AiFeedbackVariant>;
43
- isRatingDisabled: _angular_core.InputSignal<boolean>;
44
- enableAutoEmit: _angular_core.InputSignal<boolean>;
45
- isPositiveFeedback: _angular_core.ModelSignal<boolean | null>;
46
- selectionChange: _angular_core.OutputEmitterRef<boolean | null>;
47
- feedbackSubmitted: _angular_core.OutputEmitterRef<AiFeedbackData>;
48
- feedbackCancelled: _angular_core.OutputEmitterRef<AiFeedbackData>;
49
- feedbackChanged: _angular_core.OutputEmitterRef<AiFeedbackData>;
50
- protected readonly isMobile$: rxjs.Observable<boolean>;
51
- private readonly destroyRef;
52
- isMobile: _angular_core.Signal<boolean>;
53
- showPanel: _angular_core.WritableSignal<boolean>;
54
- panelType: _angular_core.WritableSignal<AiFeedbackPanelType | null>;
55
- selectedOptions: _angular_core.WritableSignal<string[]>;
56
- otherTextControl: FormControl<string | null>;
57
- otherTextValue: _angular_core.WritableSignal<string>;
58
- private readonly selectedOptionsSubject;
59
- private readonly otherTextSubject;
60
- readonly translationContext = "AI_FEEDBACK.";
61
- readonly AiFeedbackPanelType: typeof AiFeedbackPanelType;
62
- private readonly defaultPositiveTitle;
63
- private readonly defaultNegativeTitle;
64
- private readonly OTHER_OPTION_ID;
65
- shouldAutoEmit: _angular_core.Signal<boolean>;
66
- ngOnInit(): void;
67
- getDefaultPanelTitleTranslation(panelType: AiFeedbackPanelType | null): string;
68
- activeConfig: _angular_core.Signal<AiFeedbackConfig | null | undefined>;
69
- arrowPosition: _angular_core.Signal<"left" | "right">;
70
- isSubmitDisabled: _angular_core.Signal<boolean>;
71
- private ensureOtherOption;
72
- private buildFeedbackData;
73
- private resetPanelState;
74
- private shouldShowPanelForVariant;
75
- onSelectionChange(isPositive: boolean): void;
76
- toggleOption(optionId: string): void;
77
- isOptionSelected(optionId: string): boolean;
78
- showOtherField(): boolean;
79
- onSubmit(): void;
80
- closePanel(): void;
81
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiFeedbackComponent, never>;
82
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiFeedbackComponent, "ui-ai-feedback", never, { "positiveConfig": { "alias": "positiveConfig"; "required": false; "isSignal": true; }; "negativeConfig": { "alias": "negativeConfig"; "required": false; "isSignal": true; }; "skipPanelForPositive": { "alias": "skipPanelForPositive"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "isRatingDisabled": { "alias": "isRatingDisabled"; "required": false; "isSignal": true; }; "enableAutoEmit": { "alias": "enableAutoEmit"; "required": false; "isSignal": true; }; "isPositiveFeedback": { "alias": "isPositiveFeedback"; "required": false; "isSignal": true; }; }, { "isPositiveFeedback": "isPositiveFeedbackChange"; "selectionChange": "selectionChange"; "feedbackSubmitted": "feedbackSubmitted"; "feedbackCancelled": "feedbackCancelled"; "feedbackChanged": "feedbackChanged"; }, never, never, true, never>;
33
+ export declare class AiFeedbackComponent implements OnInit {
34
+ positiveConfig: import("@angular/core").InputSignal<AiFeedbackConfig | undefined>;
35
+ negativeConfig: import("@angular/core").InputSignal<AiFeedbackConfig | undefined>;
36
+ skipPanelForPositive: import("@angular/core").InputSignal<boolean>;
37
+ applicationTheme: import("@angular/core").InputSignal<ApplicationTheme$1>;
38
+ variant: import("@angular/core").InputSignal<AiFeedbackVariant>;
39
+ isRatingDisabled: import("@angular/core").InputSignal<boolean>;
40
+ enableAutoEmit: import("@angular/core").InputSignal<boolean>;
41
+ isPositiveFeedback: import("@angular/core").ModelSignal<boolean | null>;
42
+ selectionChange: import("@angular/core").OutputEmitterRef<boolean | null>;
43
+ feedbackSubmitted: import("@angular/core").OutputEmitterRef<AiFeedbackData>;
44
+ feedbackCancelled: import("@angular/core").OutputEmitterRef<AiFeedbackData>;
45
+ feedbackChanged: import("@angular/core").OutputEmitterRef<AiFeedbackData>;
46
+ protected readonly isMobile$: import("rxjs").Observable<boolean>;
47
+ private readonly destroyRef;
48
+ isMobile: import("@angular/core").Signal<boolean>;
49
+ showPanel: import("@angular/core").WritableSignal<boolean>;
50
+ panelType: import("@angular/core").WritableSignal<AiFeedbackPanelType | null>;
51
+ selectedOptions: import("@angular/core").WritableSignal<string[]>;
52
+ otherTextControl: FormControl<string | null>;
53
+ otherTextValue: import("@angular/core").WritableSignal<string>;
54
+ private readonly selectedOptionsSubject;
55
+ private readonly otherTextSubject;
56
+ readonly translationContext = "AI_FEEDBACK.";
57
+ readonly AiFeedbackPanelType: typeof AiFeedbackPanelType;
58
+ private readonly defaultPositiveTitle;
59
+ private readonly defaultNegativeTitle;
60
+ private readonly OTHER_OPTION_ID;
61
+ shouldAutoEmit: import("@angular/core").Signal<boolean>;
62
+ ngOnInit(): void;
63
+ getDefaultPanelTitleTranslation(panelType: AiFeedbackPanelType | null): string;
64
+ activeConfig: import("@angular/core").Signal<AiFeedbackConfig | null | undefined>;
65
+ arrowPosition: import("@angular/core").Signal<"left" | "right">;
66
+ isSubmitDisabled: import("@angular/core").Signal<boolean>;
67
+ private ensureOtherOption;
68
+ private buildFeedbackData;
69
+ private resetPanelState;
70
+ private shouldShowPanelForVariant;
71
+ onSelectionChange(isPositive: boolean): void;
72
+ toggleOption(optionId: string): void;
73
+ isOptionSelected(optionId: string): boolean;
74
+ showOtherField(): boolean;
75
+ onSubmit(): void;
76
+ closePanel(): void;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiFeedbackComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiFeedbackComponent, "ui-ai-feedback", never, {
79
+ "positiveConfig": {
80
+ "alias": "positiveConfig";
81
+ "required": false;
82
+ "isSignal": true;
83
+ };
84
+ "negativeConfig": {
85
+ "alias": "negativeConfig";
86
+ "required": false;
87
+ "isSignal": true;
88
+ };
89
+ "skipPanelForPositive": {
90
+ "alias": "skipPanelForPositive";
91
+ "required": false;
92
+ "isSignal": true;
93
+ };
94
+ "applicationTheme": {
95
+ "alias": "applicationTheme";
96
+ "required": false;
97
+ "isSignal": true;
98
+ };
99
+ "variant": {
100
+ "alias": "variant";
101
+ "required": false;
102
+ "isSignal": true;
103
+ };
104
+ "isRatingDisabled": {
105
+ "alias": "isRatingDisabled";
106
+ "required": false;
107
+ "isSignal": true;
108
+ };
109
+ "enableAutoEmit": {
110
+ "alias": "enableAutoEmit";
111
+ "required": false;
112
+ "isSignal": true;
113
+ };
114
+ "isPositiveFeedback": {
115
+ "alias": "isPositiveFeedback";
116
+ "required": false;
117
+ "isSignal": true;
118
+ };
119
+ }, {
120
+ "isPositiveFeedback": "isPositiveFeedbackChange";
121
+ "selectionChange": "selectionChange";
122
+ "feedbackSubmitted": "feedbackSubmitted";
123
+ "feedbackCancelled": "feedbackCancelled";
124
+ "feedbackChanged": "feedbackChanged";
125
+ }, never, never, true, never>;
83
126
  }
84
-
85
- declare class AiFeedbackModule {
86
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiFeedbackModule, never>;
87
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AiFeedbackModule, never, [typeof i1.CommonModule, typeof i1.AsyncPipe, typeof i2.ReactiveFormsModule, typeof i3.ButtonComponentModule, typeof i4.CardComponentModule, typeof i5.TagComponentModule, typeof i6.FieldComponentModule, typeof i7.AiCaveatComponentModule, typeof i8.IconComponentModule, typeof i9.UiTranslatePipe, typeof i9.MemoizeFuncPipe, typeof AiFeedbackComponent], [typeof AiFeedbackComponent]>;
88
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AiFeedbackModule>;
127
+ export declare class AiFeedbackModule {
128
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiFeedbackModule, never>;
129
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AiFeedbackModule, never, [typeof i1.CommonModule, typeof i1.AsyncPipe, typeof i2.ReactiveFormsModule, typeof i3.ButtonComponentModule, typeof i4.CardComponentModule, typeof i5.TagComponentModule, typeof i6.FieldComponentModule, typeof i7.AiCaveatComponentModule, typeof i8.IconComponentModule, typeof i9.UiTranslatePipe, typeof i9.MemoizeFuncPipe, typeof AiFeedbackComponent], [typeof AiFeedbackComponent]>;
130
+ static ɵinj: i0.ɵɵInjectorDeclaration<AiFeedbackModule>;
89
131
  }
90
-
91
- export { AiFeedbackComponent, AiFeedbackModule, AiFeedbackPanelType };
92
- export type { AiFeedbackConfig, AiFeedbackData, AiFeedbackOption, AiFeedbackVariant };
132
+ export { ApplicationTheme };