@testgorilla/tgo-ui 11.22.3 → 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 (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,308 +1,413 @@
1
- import * as i0 from '@angular/core';
2
- import { OnChanges, DoCheck, OnInit, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
3
- import * as i5 from '@angular/forms';
4
- import { ControlValueAccessor, NgControl, FormGroup, FormControl } from '@angular/forms';
5
- import * as i6 from '@angular/material/datepicker';
6
- import { MatDatepicker } from '@angular/material/datepicker';
7
- import * as i8 from '@testgorilla/tgo-ui/components/core';
8
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
10
- import * as i1 from '@angular/common';
11
- import * as i2 from '@angular/material/form-field';
12
- import * as i3 from '@angular/material/input';
13
- import * as i4 from '@testgorilla/tgo-ui/components/icon';
14
- import * as i7 from '@angular/material/core';
15
- import { NativeDateAdapter } from '@angular/material/core';
16
- import * as i10 from '@testgorilla/tgo-ui/components/validation-error';
17
-
18
- declare class DatepickerService {
19
- #private;
20
- set useBrowserTimezone(value: boolean);
21
- get useBrowserTimezone(): boolean;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerService>;
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectorRef, DoCheck, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
3
+ import * as i5 from "@angular/forms";
4
+ import { ControlValueAccessor, FormControl, FormGroup, NgControl } from "@angular/forms";
5
+ import * as i6 from "@angular/material/datepicker";
6
+ import { MatDatepicker } from "@angular/material/datepicker";
7
+ import * as i8 from "@testgorilla/tgo-ui/components/core";
8
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
9
+ import * as i1 from "@angular/common";
10
+ import * as i2 from "@angular/material/form-field";
11
+ import * as i3 from "@angular/material/input";
12
+ import * as i4 from "@testgorilla/tgo-ui/components/icon";
13
+ import * as i7 from "@angular/material/core";
14
+ import { NativeDateAdapter } from "@angular/material/core";
15
+ import * as i10 from "@testgorilla/tgo-ui/components/validation-error";
16
+ export declare class DatepickerService {
17
+ #private;
18
+ set useBrowserTimezone(value: boolean);
19
+ get useBrowserTimezone(): boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
24
22
  }
25
-
26
- declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck, OnInit {
27
- private readonly defaultAppTheme;
28
- private readonly cdr;
29
- ngControl: NgControl;
30
- private readonly datepickerService;
31
- class: string;
32
- /**
33
- * Form field label
34
- *
35
- * @type {string}
36
- * @memberof DatepickerComponent
37
- */
38
- label?: string | undefined;
39
- /**
40
- * Input name attribute
41
- *
42
- * @type {string}
43
- * @memberof DatepickerComponent
44
- */
45
- fieldName?: string;
46
- /**
47
- * Input placeholder
48
- *
49
- * @type {string}
50
- * @memberof DatepickerComponent
51
- */
52
- placeholder?: string | undefined;
53
- testId: string | null;
54
- get rangeStartTestId(): string;
55
- get rangeEndTestId(): string;
56
- /**
57
- * Input id
58
- *
59
- * @type {string}
60
- * @memberof DatepickerComponent
61
- */
62
- id?: string | undefined;
63
- /**
64
- * Input value
65
- *
66
- * @type {string}
67
- * @memberof DatepickerComponent
68
- */
69
- value?: Array<Date | null> | Date;
70
- _errors: string[];
71
- /**
72
- * Input field errors
73
- *
74
- * @type {string}
75
- * @memberof DatepickerComponent
76
- */
77
- set errors(errors: string[]);
78
- /**
79
- * Determines if input is date range
80
- *
81
- * @type {boolean}
82
- * @memberof DatepickerComponent
83
- */
84
- isRange: boolean;
85
- /**
86
- * Determines if on blur of calendar and no end date is selected, set the end date as the start date
87
- *
88
- * @type {boolean}
89
- * @memberof DatepickerComponent
90
- */
91
- setSingleDateRangeOnBlur: boolean;
92
- /**
93
- * Determines if inner errors should be shown
94
- *
95
- * @type {boolean}
96
- * @memberof DatepickerComponent
97
- */
98
- showInnerErrors: boolean;
99
- /**
100
- * Determines inner errors message
101
- *
102
- * @type {string}
103
- * @memberof DatepickerComponent
104
- */
105
- innerErrorsMessage: string;
106
- /**
107
- * Determines if input is disabled
108
- *
109
- * @type {boolean}
110
- * @memberof DatepickerComponent
111
- */
112
- disabled: boolean;
113
- /**
114
- * Input is required or not
115
- *
116
- * @type {boolean}
117
- * @memberof DatepickerComponent
118
- */
119
- required: boolean;
120
- /**
121
- * Hint text
122
- *
123
- * @type {string}
124
- * @memberof DatepickerComponent
125
- */
126
- hintMessage: string;
127
- /**
128
- * Input is update only on blur
129
- *
130
- * @type {Boolean}
131
- * @memberof DatepickerComponent
132
- */
133
- updateOnBlur: boolean;
134
- /**
135
- * Show reserved content below form field
136
- *
137
- * @type {boolean}
138
- * @memberof DatepickerComponent
139
- */
140
- showBottomContent: boolean;
141
- /**
142
- * Set full width DatepickerComponent
143
- *
144
- * @type {boolean}
145
- * @memberof DatepickerComponent
146
- */
147
- fullWidth: boolean;
148
- /**
149
- * Set min date for Datepicker
150
- *
151
- * @type {Date}
152
- * @memberof DatepickerComponent
153
- */
154
- minDate: Date | undefined;
155
- /**
156
- * Set max date for Datepicker
157
- *
158
- * @type {Date}
159
- * @memberof DatepickerComponent
160
- */
161
- maxDate: Date | undefined;
162
- /**
163
- * Show and pick date without day
164
- * @default false
165
- * @type {boolean}
166
- * @memberof DatepickerComponent
167
- */
168
- monthPicker: boolean;
169
- /**
170
- *
171
- * Defines the application theme
172
- *
173
- * @type {ApplicationTheme}
174
- * @memberof DatepickerComponent
175
- */
176
- applicationTheme: ApplicationTheme;
177
- /**
178
- * Hide in-build errors for Reactive Forms
179
- *
180
- * @type {number}
181
- * @memberof DatepickerComponent
182
- */
183
- hideBuiltInErrors: boolean;
184
- /**
185
- * Hide label in errors
186
- *
187
- * @type {number}
188
- * @memberof DatepickerComponent
189
- */
190
- hideLabelInErrors: boolean;
191
- /**
192
- * Prevent user input
193
- *
194
- * @type {boolean}
195
- * @memberof DatepickerComponent
196
- */
197
- preventUserInput: boolean;
198
- /**
199
- * Color of the option hover.
200
- * Defaults to Test Gorilla primary color.
201
- *
202
- * @type {string}
203
- * @memberof DatepickerComponent
204
- */
205
- companyColor: string;
206
- /**
207
- * Use browser timezone
208
- * @type boolean
209
- * @memberof DatepickerComponent
210
- */
211
- set browserTimezone(value: boolean);
212
- /**
213
- * @ignore
214
- */
215
- onChange: (value: Date | Date[]) => void;
216
- /**
217
- * @ignore
218
- */
219
- onTouch: () => void;
220
- /**
221
- * Event emitted when the value is change - when used outside of form
222
- *
223
- * @type {Date}
224
- * @memberof DatepickerComponent
225
- */
226
- changed: EventEmitter<Date | Date[]>;
227
- range: FormGroup<{
228
- start: FormControl<Date | null>;
229
- end: FormControl<Date | null>;
230
- }>;
231
- errorsLength: boolean;
232
- protected translationContext: string;
233
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, datepickerService: DatepickerService);
234
- get hint(): string;
235
- /**
236
- * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
237
- * to display validation errors that might happen (e.g. required)
238
- */
239
- ngDoCheck(): void;
240
- ngOnInit(): void;
241
- ngOnChanges(changes: SimpleChanges): void;
242
- setErrorsLength(): boolean;
243
- onValueChange(value: Date | Date[]): void;
244
- writeValue(value?: Date | Date[]): void;
245
- registerOnChange(fn: (value: Date | Date[]) => void): void;
246
- registerOnTouched(fn: () => void): void;
247
- setDisabledState(isDisabled: boolean): void;
248
- handleCloseRangePicker(): void;
249
- fillSingleDateRange(isStart: boolean): void;
250
- dateRangeChange(): void;
251
- setMonthAndYear(normalizedMonthAndYear: Date, datepicker: MatDatepicker<Date>): void;
252
- private setRange;
253
- onInput(event: Event): void;
254
- private setStyleVariable;
255
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, { optional: true; self: true; }, null]>;
256
- static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
23
+ export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck, OnInit {
24
+ private readonly defaultAppTheme;
25
+ private readonly cdr;
26
+ ngControl: NgControl;
27
+ private readonly datepickerService;
28
+ class: string;
29
+ /**
30
+ * Form field label
31
+ *
32
+ * @type {string}
33
+ * @memberof DatepickerComponent
34
+ */
35
+ label?: string | undefined;
36
+ /**
37
+ * Input name attribute
38
+ *
39
+ * @type {string}
40
+ * @memberof DatepickerComponent
41
+ */
42
+ fieldName?: string;
43
+ /**
44
+ * Input placeholder
45
+ *
46
+ * @type {string}
47
+ * @memberof DatepickerComponent
48
+ */
49
+ placeholder?: string | undefined;
50
+ testId: string | null;
51
+ get rangeStartTestId(): string;
52
+ get rangeEndTestId(): string;
53
+ /**
54
+ * Input id
55
+ *
56
+ * @type {string}
57
+ * @memberof DatepickerComponent
58
+ */
59
+ id?: string | undefined;
60
+ /**
61
+ * Input value
62
+ *
63
+ * @type {string}
64
+ * @memberof DatepickerComponent
65
+ */
66
+ value?: Array<Date | null> | Date;
67
+ _errors: string[];
68
+ /**
69
+ * Input field errors
70
+ *
71
+ * @type {string}
72
+ * @memberof DatepickerComponent
73
+ */
74
+ set errors(errors: string[]);
75
+ /**
76
+ * Determines if input is date range
77
+ *
78
+ * @type {boolean}
79
+ * @memberof DatepickerComponent
80
+ */
81
+ isRange: boolean;
82
+ /**
83
+ * Determines if on blur of calendar and no end date is selected, set the end date as the start date
84
+ *
85
+ * @type {boolean}
86
+ * @memberof DatepickerComponent
87
+ */
88
+ setSingleDateRangeOnBlur: boolean;
89
+ /**
90
+ * Determines if inner errors should be shown
91
+ *
92
+ * @type {boolean}
93
+ * @memberof DatepickerComponent
94
+ */
95
+ showInnerErrors: boolean;
96
+ /**
97
+ * Determines inner errors message
98
+ *
99
+ * @type {string}
100
+ * @memberof DatepickerComponent
101
+ */
102
+ innerErrorsMessage: string;
103
+ /**
104
+ * Determines if input is disabled
105
+ *
106
+ * @type {boolean}
107
+ * @memberof DatepickerComponent
108
+ */
109
+ disabled: boolean;
110
+ /**
111
+ * Input is required or not
112
+ *
113
+ * @type {boolean}
114
+ * @memberof DatepickerComponent
115
+ */
116
+ required: boolean;
117
+ /**
118
+ * Hint text
119
+ *
120
+ * @type {string}
121
+ * @memberof DatepickerComponent
122
+ */
123
+ hintMessage: string;
124
+ /**
125
+ * Input is update only on blur
126
+ *
127
+ * @type {Boolean}
128
+ * @memberof DatepickerComponent
129
+ */
130
+ updateOnBlur: boolean;
131
+ /**
132
+ * Show reserved content below form field
133
+ *
134
+ * @type {boolean}
135
+ * @memberof DatepickerComponent
136
+ */
137
+ showBottomContent: boolean;
138
+ /**
139
+ * Set full width DatepickerComponent
140
+ *
141
+ * @type {boolean}
142
+ * @memberof DatepickerComponent
143
+ */
144
+ fullWidth: boolean;
145
+ /**
146
+ * Set min date for Datepicker
147
+ *
148
+ * @type {Date}
149
+ * @memberof DatepickerComponent
150
+ */
151
+ minDate: Date | undefined;
152
+ /**
153
+ * Set max date for Datepicker
154
+ *
155
+ * @type {Date}
156
+ * @memberof DatepickerComponent
157
+ */
158
+ maxDate: Date | undefined;
159
+ /**
160
+ * Show and pick date without day
161
+ * @default false
162
+ * @type {boolean}
163
+ * @memberof DatepickerComponent
164
+ */
165
+ monthPicker: boolean;
166
+ /**
167
+ *
168
+ * Defines the application theme
169
+ *
170
+ * @type {ApplicationTheme}
171
+ * @memberof DatepickerComponent
172
+ */
173
+ applicationTheme: ApplicationTheme$1;
174
+ /**
175
+ * Hide in-build errors for Reactive Forms
176
+ *
177
+ * @type {number}
178
+ * @memberof DatepickerComponent
179
+ */
180
+ hideBuiltInErrors: boolean;
181
+ /**
182
+ * Hide label in errors
183
+ *
184
+ * @type {number}
185
+ * @memberof DatepickerComponent
186
+ */
187
+ hideLabelInErrors: boolean;
188
+ /**
189
+ * Prevent user input
190
+ *
191
+ * @type {boolean}
192
+ * @memberof DatepickerComponent
193
+ */
194
+ preventUserInput: boolean;
195
+ /**
196
+ * Color of the option hover.
197
+ * Defaults to Test Gorilla primary color.
198
+ *
199
+ * @type {string}
200
+ * @memberof DatepickerComponent
201
+ */
202
+ companyColor: string;
203
+ /**
204
+ * Use browser timezone
205
+ * @type boolean
206
+ * @memberof DatepickerComponent
207
+ */
208
+ set browserTimezone(value: boolean);
209
+ /**
210
+ * @ignore
211
+ */
212
+ onChange: (value: Date | Date[]) => void;
213
+ /**
214
+ * @ignore
215
+ */
216
+ onTouch: () => void;
217
+ /**
218
+ * Event emitted when the value is change - when used outside of form
219
+ *
220
+ * @type {Date}
221
+ * @memberof DatepickerComponent
222
+ */
223
+ changed: EventEmitter<Date | Date[]>;
224
+ range: FormGroup<{
225
+ start: FormControl<Date | null>;
226
+ end: FormControl<Date | null>;
227
+ }>;
228
+ errorsLength: boolean;
229
+ protected translationContext: string;
230
+ constructor(defaultAppTheme: ApplicationTheme$1, cdr: ChangeDetectorRef, ngControl: NgControl, datepickerService: DatepickerService);
231
+ get hint(): string;
232
+ /**
233
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
234
+ * to display validation errors that might happen (e.g. required)
235
+ */
236
+ ngDoCheck(): void;
237
+ ngOnInit(): void;
238
+ ngOnChanges(changes: SimpleChanges): void;
239
+ setErrorsLength(): boolean;
240
+ onValueChange(value: Date | Date[]): void;
241
+ writeValue(value?: Date | Date[]): void;
242
+ registerOnChange(fn: (value: Date | Date[]) => void): void;
243
+ registerOnTouched(fn: () => void): void;
244
+ setDisabledState(isDisabled: boolean): void;
245
+ handleCloseRangePicker(): void;
246
+ fillSingleDateRange(isStart: boolean): void;
247
+ dateRangeChange(): void;
248
+ setMonthAndYear(normalizedMonthAndYear: Date, datepicker: MatDatepicker<Date>): void;
249
+ private setRange;
250
+ onInput(event: Event): void;
251
+ private setStyleVariable;
252
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{
253
+ optional: true;
254
+ }, null, {
255
+ optional: true;
256
+ self: true;
257
+ }, null]>;
258
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, {
259
+ "label": {
260
+ "alias": "label";
261
+ "required": false;
262
+ };
263
+ "fieldName": {
264
+ "alias": "fieldName";
265
+ "required": false;
266
+ };
267
+ "placeholder": {
268
+ "alias": "placeholder";
269
+ "required": false;
270
+ };
271
+ "testId": {
272
+ "alias": "testId";
273
+ "required": false;
274
+ };
275
+ "id": {
276
+ "alias": "id";
277
+ "required": false;
278
+ };
279
+ "value": {
280
+ "alias": "value";
281
+ "required": false;
282
+ };
283
+ "errors": {
284
+ "alias": "errors";
285
+ "required": false;
286
+ };
287
+ "isRange": {
288
+ "alias": "isRange";
289
+ "required": false;
290
+ };
291
+ "setSingleDateRangeOnBlur": {
292
+ "alias": "setSingleDateRangeOnBlur";
293
+ "required": false;
294
+ };
295
+ "showInnerErrors": {
296
+ "alias": "showInnerErrors";
297
+ "required": false;
298
+ };
299
+ "innerErrorsMessage": {
300
+ "alias": "innerErrorsMessage";
301
+ "required": false;
302
+ };
303
+ "disabled": {
304
+ "alias": "disabled";
305
+ "required": false;
306
+ };
307
+ "required": {
308
+ "alias": "required";
309
+ "required": false;
310
+ };
311
+ "hintMessage": {
312
+ "alias": "hintMessage";
313
+ "required": false;
314
+ };
315
+ "updateOnBlur": {
316
+ "alias": "updateOnBlur";
317
+ "required": false;
318
+ };
319
+ "showBottomContent": {
320
+ "alias": "showBottomContent";
321
+ "required": false;
322
+ };
323
+ "fullWidth": {
324
+ "alias": "fullWidth";
325
+ "required": false;
326
+ };
327
+ "minDate": {
328
+ "alias": "minDate";
329
+ "required": false;
330
+ };
331
+ "maxDate": {
332
+ "alias": "maxDate";
333
+ "required": false;
334
+ };
335
+ "monthPicker": {
336
+ "alias": "monthPicker";
337
+ "required": false;
338
+ };
339
+ "applicationTheme": {
340
+ "alias": "applicationTheme";
341
+ "required": false;
342
+ };
343
+ "hideBuiltInErrors": {
344
+ "alias": "hideBuiltInErrors";
345
+ "required": false;
346
+ };
347
+ "hideLabelInErrors": {
348
+ "alias": "hideLabelInErrors";
349
+ "required": false;
350
+ };
351
+ "preventUserInput": {
352
+ "alias": "preventUserInput";
353
+ "required": false;
354
+ };
355
+ "companyColor": {
356
+ "alias": "companyColor";
357
+ "required": false;
358
+ };
359
+ "browserTimezone": {
360
+ "alias": "browserTimezone";
361
+ "required": false;
362
+ };
363
+ }, {
364
+ "changed": "changed";
365
+ }, never, never, true, never>;
257
366
  }
258
-
259
- declare class CustomDateAdapter extends NativeDateAdapter {
260
- format(date: Date): string;
261
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomDateAdapter, never>;
262
- static ɵprov: i0.ɵɵInjectableDeclaration<CustomDateAdapter>;
367
+ export declare class CustomDateAdapter extends NativeDateAdapter {
368
+ format(date: Date): string;
369
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomDateAdapter, never>;
370
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
263
371
  }
264
- declare class NoDateFormatDirective {
265
- static ɵfac: i0.ɵɵFactoryDeclaration<NoDateFormatDirective, never>;
266
- static ɵdir: i0.ɵɵDirectiveDeclaration<NoDateFormatDirective, "[appNoDateFormat]", never, {}, {}, never, never, true, never>;
372
+ export declare class NoDateFormatDirective {
373
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoDateFormatDirective, never>;
374
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NoDateFormatDirective, "[appNoDateFormat]", never, {}, {}, never, never, true, never>;
267
375
  }
268
-
269
- declare class DatepickerComponentModule {
270
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
271
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatDatepickerModule, typeof i7.MatNativeDateModule, typeof i8.UiTranslatePipe, typeof NoDateFormatDirective, typeof i8.HasValidationErrorPipe, typeof i10.ValidationErrorModule, typeof DatepickerComponent], [typeof DatepickerComponent]>;
272
- static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
376
+ export declare class DatepickerComponentModule {
377
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
378
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatDatepickerModule, typeof i7.MatNativeDateModule, typeof i8.UiTranslatePipe, typeof NoDateFormatDirective, typeof i8.HasValidationErrorPipe, typeof i10.ValidationErrorModule, typeof DatepickerComponent], [typeof DatepickerComponent]>;
379
+ static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
273
380
  }
274
-
275
- declare const UI_DATE_FORMATS: {
276
- parse: {
277
- dateInput: {
278
- day: string;
279
- month: string;
280
- year: string;
281
- };
381
+ export declare const UI_DATE_FORMATS: {
382
+ parse: {
383
+ dateInput: {
384
+ day: string;
385
+ month: string;
386
+ year: string;
387
+ };
388
+ };
389
+ display: {
390
+ dateInput: string;
391
+ monthYearLabel: {
392
+ year: string;
393
+ month: string;
394
+ };
395
+ dateA11yLabel: {
396
+ year: string;
397
+ month: string;
398
+ day: string;
282
399
  };
283
- display: {
284
- dateInput: string;
285
- monthYearLabel: {
286
- year: string;
287
- month: string;
288
- };
289
- dateA11yLabel: {
290
- year: string;
291
- month: string;
292
- day: string;
293
- };
294
- monthYearA11yLabel: {
295
- year: string;
296
- month: string;
297
- };
400
+ monthYearA11yLabel: {
401
+ year: string;
402
+ month: string;
298
403
  };
404
+ };
299
405
  };
300
- declare class UiDateAdapter extends NativeDateAdapter {
301
- #private;
302
- constructor();
303
- format(date: Date): string;
304
- static ɵfac: i0.ɵɵFactoryDeclaration<UiDateAdapter, never>;
305
- static ɵprov: i0.ɵɵInjectableDeclaration<UiDateAdapter>;
406
+ export declare class UiDateAdapter extends NativeDateAdapter {
407
+ #private;
408
+ constructor();
409
+ format(date: Date): string;
410
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiDateAdapter, never>;
411
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
306
412
  }
307
-
308
- export { CustomDateAdapter, DatepickerComponent, DatepickerComponentModule, DatepickerService, NoDateFormatDirective, UI_DATE_FORMATS, UiDateAdapter };
413
+ export { ApplicationTheme };