@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,201 +1,281 @@
1
- import * as _angular_core from '@angular/core';
2
- import { EventEmitter, ChangeDetectorRef } from '@angular/core';
3
- import { DecimalPipe } from '@angular/common';
4
- import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
5
- import { MatSliderDragEvent } from '@angular/material/slider';
6
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
7
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
-
9
- interface SliderValue {
10
- start: number;
11
- end: number;
1
+ import { DecimalPipe } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { ChangeDetectorRef, EventEmitter } from "@angular/core";
4
+ import { AbstractControl, ValidationErrors, Validator } from "@angular/forms";
5
+ import { MatSliderDragEvent } from "@angular/material/slider";
6
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
7
+ export interface SliderValue {
8
+ start: number;
9
+ end: number;
12
10
  }
13
- type SliderVariant = 'basic' | 'range';
14
-
15
- declare class SliderComponent implements Validator {
16
- private readonly defaultAppTheme;
17
- /**
18
- * The maximum value of the slider.
19
- *
20
- * @type {number}
21
- * @default 100
22
- */
23
- max: number;
24
- /**
25
- * The minimum value of the slider.
26
- *
27
- * @type {number}
28
- * @default 0
29
- */
30
- min: number;
31
- /**
32
- * A flag indicating whether the slider displays values as percentages.
33
- *
34
- * @type {boolean}
35
- * @default true
36
- */
37
- percentage: boolean;
38
- /**
39
- * A flag indicating whether the slider is disabled.
40
- *
41
- * @type {boolean}
42
- * @default true
43
- */
44
- disabled: boolean;
45
- /**
46
- * The starting value of the slider.
47
- *
48
- * @type {number}
49
- * @default 0
50
- */
51
- sliderStart: number;
52
- /**
53
- * The ending value of the slider.
54
- *
55
- * @type {number}
56
- * @default 100
57
- */
58
- sliderEnd: number;
59
- /**
60
- * The label for the slider.
61
- *
62
- * @type {string}
63
- * @default ''
64
- */
65
- label: string;
66
- /**
67
- * Show slider inputs.
68
- *
69
- * @type {boolean}
70
- * @default true
71
- */
72
- showInputs: boolean;
73
- /**
74
- * Step number.
75
- *
76
- * @type {number}
77
- * @default 1
78
- */
79
- step: number;
80
- /**
81
- *
82
- * Defines the application theme
83
- *
84
- * @type {ApplicationTheme}
85
- * @memberof SliderComponent
86
- */
87
- applicationTheme: ApplicationTheme;
88
- /**
89
- *
90
- * Defines the variant slider
91
- *
92
- * @type {SliderVariant}
93
- * @memberof SliderComponent
94
- */
95
- variant: SliderVariant;
96
- testId: string | null;
97
- get startThumbTestId(): string;
98
- get endThumbTestId(): string;
99
- get startInputTestId(): string;
100
- get endInputTestId(): string;
101
- /**
102
- * Controls whether decimal values are allowed in the input fields.
103
- * When true, inputs accept decimal numbers (up to 2 decimal places).
104
- * When false, inputs only accept whole numbers.
105
- */
106
- useDecimal: _angular_core.InputSignal<boolean>;
107
- /**
108
- * Controls whether numbers are displayed with thousands separators.
109
- * When true, displays numbers like "100,000" instead of "100000".
110
- * This is independent of useDecimal - you can have thousands separators
111
- * without decimals, or decimals without thousands separators.
112
- */
113
- useThousandsSeparator: _angular_core.InputSignal<boolean>;
114
- minLabel: _angular_core.InputSignal<string | undefined>;
115
- maxLabel: _angular_core.InputSignal<string | undefined>;
116
- inputWidth: _angular_core.InputSignal<number>;
117
- /**
118
- * Controls whether the value bubble pops above the thumb on hover and while dragging.
119
- * Set it to false for scrubber-style sliders whose designs do not show one.
120
- * Applies to both the basic and the range variant.
121
- */
122
- showValueBubble: _angular_core.InputSignalWithTransform<boolean, unknown>;
123
- sliderValueChange: EventEmitter<SliderValue>;
124
- /**
125
- * Emitted with the current value when the user starts dragging the thumb.
126
- * Basic variant only, and never emitted for programmatic value writes, so a consumer
127
- * that also drives the slider on a timer can tell a user drag apart from its own write.
128
- */
129
- dragStart: _angular_core.OutputEmitterRef<number>;
130
- /**
131
- * Emitted with the released value when the user stops dragging the thumb.
132
- * Basic variant only. See {@link dragStart}.
133
- */
134
- dragEnd: _angular_core.OutputEmitterRef<number>;
135
- /**
136
- * Emitted with the thumb's current value on every move while the user is dragging it.
137
- * Basic variant only, and pointer drag only: keyboard seeks and programmatic writes never
138
- * emit it and keep arriving through `sliderValueChange`. See {@link dragStart}.
139
- */
140
- dragMove: _angular_core.OutputEmitterRef<number>;
141
- private isDragging;
142
- /**
143
- * Tracks hover, so the value bubble markup is only mounted while the pointer is over the slider.
144
- * Starts true to keep the at-rest markup identical to what the component shipped before
145
- * `showValueBubble` existed: Material leaves the bubble invisible until the thumb is active, and
146
- * unmounting it changes how the disabled slider's opacity layer rasterises its text.
147
- */
148
- private readonly isHovered;
149
- /** Material renders the value bubble only while `discrete` is set, so gate it on both hover and the input. */
150
- protected readonly isDiscrete: _angular_core.Signal<boolean>;
151
- cdr: ChangeDetectorRef;
152
- decimalPipe: DecimalPipe;
153
- private control?;
154
- private readonly destroyRef;
155
- private readonly ngZone;
156
- private readonly matSlider;
157
- private readonly matSliderElement;
158
- constructor(defaultAppTheme: ApplicationTheme);
159
- /**
160
- * Works around MatSlider's resize handling for the range variant. On a resize, `_onResize()`
161
- * repositions the end thumb before the start thumb, and clamps the end thumb so it cannot sit
162
- * left of the start thumb's position — which at that point is still the pre-resize one. When the
163
- * slider shrinks to under about half its width, the end thumb is clamped to that stale position
164
- * and stays there, because nothing repositions it afterwards. Running the resize step once more,
165
- * after Material's own observer, places the end thumb against the start thumb's new position.
166
- * Growing the slider never clamps, so the extra pass is a no-op there.
167
- */
168
- private observeRangeResize;
169
- private value;
170
- protected translationContext: string;
171
- protected touchedControlName: string;
172
- onChange: (value: SliderValue) => void;
173
- onTouch: () => void;
174
- registerOnChange(fn: (value: SliderValue) => void): void;
175
- registerOnTouched(fn: () => void): void;
176
- setDisabledState(isDisabled: boolean): void;
177
- writeValue(value: SliderValue): void;
178
- protected onValueChange(ev?: number): void;
179
- protected onSliderHover(isHovered: boolean): void;
180
- protected onDragStart(event: MatSliderDragEvent): void;
181
- protected onDragMove(value: number): void;
182
- protected onDragEnd(event: MatSliderDragEvent): void;
183
- protected onInputBlur(inputName: string): void;
184
- protected onInputFocus(): void;
185
- private isValueChanged;
186
- get hasError(): boolean;
187
- get isBasicSlider(): boolean;
188
- formatLabel(value: number): string;
189
- validate(control: AbstractControl): ValidationErrors | null;
190
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderComponent, [{ optional: true; }]>;
191
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SliderComponent, "ui-slider", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "sliderStart": { "alias": "sliderStart"; "required": false; }; "sliderEnd": { "alias": "sliderEnd"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showInputs": { "alias": "showInputs"; "required": false; }; "step": { "alias": "step"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "useDecimal": { "alias": "useDecimal"; "required": false; "isSignal": true; }; "useThousandsSeparator": { "alias": "useThousandsSeparator"; "required": false; "isSignal": true; }; "minLabel": { "alias": "minLabel"; "required": false; "isSignal": true; }; "maxLabel": { "alias": "maxLabel"; "required": false; "isSignal": true; }; "inputWidth": { "alias": "inputWidth"; "required": false; "isSignal": true; }; "showValueBubble": { "alias": "showValueBubble"; "required": false; "isSignal": true; }; }, { "sliderValueChange": "sliderValueChange"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; "dragMove": "dragMove"; }, never, never, true, never>;
11
+ export type SliderVariant = 'basic' | 'range';
12
+ export declare class SliderComponent implements Validator {
13
+ private readonly defaultAppTheme;
14
+ /**
15
+ * The maximum value of the slider.
16
+ *
17
+ * @type {number}
18
+ * @default 100
19
+ */
20
+ max: number;
21
+ /**
22
+ * The minimum value of the slider.
23
+ *
24
+ * @type {number}
25
+ * @default 0
26
+ */
27
+ min: number;
28
+ /**
29
+ * A flag indicating whether the slider displays values as percentages.
30
+ *
31
+ * @type {boolean}
32
+ * @default true
33
+ */
34
+ percentage: boolean;
35
+ /**
36
+ * A flag indicating whether the slider is disabled.
37
+ *
38
+ * @type {boolean}
39
+ * @default true
40
+ */
41
+ disabled: boolean;
42
+ /**
43
+ * The starting value of the slider.
44
+ *
45
+ * @type {number}
46
+ * @default 0
47
+ */
48
+ sliderStart: number;
49
+ /**
50
+ * The ending value of the slider.
51
+ *
52
+ * @type {number}
53
+ * @default 100
54
+ */
55
+ sliderEnd: number;
56
+ /**
57
+ * The label for the slider.
58
+ *
59
+ * @type {string}
60
+ * @default ''
61
+ */
62
+ label: string;
63
+ /**
64
+ * Show slider inputs.
65
+ *
66
+ * @type {boolean}
67
+ * @default true
68
+ */
69
+ showInputs: boolean;
70
+ /**
71
+ * Step number.
72
+ *
73
+ * @type {number}
74
+ * @default 1
75
+ */
76
+ step: number;
77
+ /**
78
+ *
79
+ * Defines the application theme
80
+ *
81
+ * @type {ApplicationTheme}
82
+ * @memberof SliderComponent
83
+ */
84
+ applicationTheme: ApplicationTheme$1;
85
+ /**
86
+ *
87
+ * Defines the variant slider
88
+ *
89
+ * @type {SliderVariant}
90
+ * @memberof SliderComponent
91
+ */
92
+ variant: SliderVariant;
93
+ testId: string | null;
94
+ get startThumbTestId(): string;
95
+ get endThumbTestId(): string;
96
+ get startInputTestId(): string;
97
+ get endInputTestId(): string;
98
+ /**
99
+ * Controls whether decimal values are allowed in the input fields.
100
+ * When true, inputs accept decimal numbers (up to 2 decimal places).
101
+ * When false, inputs only accept whole numbers.
102
+ */
103
+ useDecimal: import("@angular/core").InputSignal<boolean>;
104
+ /**
105
+ * Controls whether numbers are displayed with thousands separators.
106
+ * When true, displays numbers like "100,000" instead of "100000".
107
+ * This is independent of useDecimal - you can have thousands separators
108
+ * without decimals, or decimals without thousands separators.
109
+ */
110
+ useThousandsSeparator: import("@angular/core").InputSignal<boolean>;
111
+ minLabel: import("@angular/core").InputSignal<string | undefined>;
112
+ maxLabel: import("@angular/core").InputSignal<string | undefined>;
113
+ inputWidth: import("@angular/core").InputSignal<number>;
114
+ /**
115
+ * Controls whether the value bubble pops above the thumb on hover and while dragging.
116
+ * Set it to false for scrubber-style sliders whose designs do not show one.
117
+ * Applies to both the basic and the range variant.
118
+ */
119
+ showValueBubble: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
120
+ sliderValueChange: EventEmitter<SliderValue>;
121
+ /**
122
+ * Emitted with the current value when the user starts dragging the thumb.
123
+ * Basic variant only, and never emitted for programmatic value writes, so a consumer
124
+ * that also drives the slider on a timer can tell a user drag apart from its own write.
125
+ */
126
+ dragStart: import("@angular/core").OutputEmitterRef<number>;
127
+ /**
128
+ * Emitted with the released value when the user stops dragging the thumb.
129
+ * Basic variant only. See {@link dragStart}.
130
+ */
131
+ dragEnd: import("@angular/core").OutputEmitterRef<number>;
132
+ /**
133
+ * Emitted with the thumb's current value on every move while the user is dragging it.
134
+ * Basic variant only, and pointer drag only: keyboard seeks and programmatic writes never
135
+ * emit it and keep arriving through `sliderValueChange`. See {@link dragStart}.
136
+ */
137
+ dragMove: import("@angular/core").OutputEmitterRef<number>;
138
+ private isDragging;
139
+ /**
140
+ * Tracks hover, so the value bubble markup is only mounted while the pointer is over the slider.
141
+ * Starts true to keep the at-rest markup identical to what the component shipped before
142
+ * `showValueBubble` existed: Material leaves the bubble invisible until the thumb is active, and
143
+ * unmounting it changes how the disabled slider's opacity layer rasterises its text.
144
+ */
145
+ private readonly isHovered;
146
+ /** Material renders the value bubble only while `discrete` is set, so gate it on both hover and the input. */
147
+ protected readonly isDiscrete: import("@angular/core").Signal<boolean>;
148
+ cdr: ChangeDetectorRef;
149
+ decimalPipe: DecimalPipe;
150
+ private control?;
151
+ private readonly destroyRef;
152
+ private readonly ngZone;
153
+ private readonly matSlider;
154
+ private readonly matSliderElement;
155
+ constructor(defaultAppTheme: ApplicationTheme$1);
156
+ /**
157
+ * Works around MatSlider's resize handling for the range variant. On a resize, `_onResize()`
158
+ * repositions the end thumb before the start thumb, and clamps the end thumb so it cannot sit
159
+ * left of the start thumb's position — which at that point is still the pre-resize one. When the
160
+ * slider shrinks to under about half its width, the end thumb is clamped to that stale position
161
+ * and stays there, because nothing repositions it afterwards. Running the resize step once more,
162
+ * after Material's own observer, places the end thumb against the start thumb's new position.
163
+ * Growing the slider never clamps, so the extra pass is a no-op there.
164
+ */
165
+ private observeRangeResize;
166
+ private value;
167
+ protected translationContext: string;
168
+ protected touchedControlName: string;
169
+ onChange: (value: SliderValue) => void;
170
+ onTouch: () => void;
171
+ registerOnChange(fn: (value: SliderValue) => void): void;
172
+ registerOnTouched(fn: () => void): void;
173
+ setDisabledState(isDisabled: boolean): void;
174
+ writeValue(value: SliderValue): void;
175
+ protected onValueChange(ev?: number): void;
176
+ protected onSliderHover(isHovered: boolean): void;
177
+ protected onDragStart(event: MatSliderDragEvent): void;
178
+ protected onDragMove(value: number): void;
179
+ protected onDragEnd(event: MatSliderDragEvent): void;
180
+ protected onInputBlur(inputName: string): void;
181
+ protected onInputFocus(): void;
182
+ private isValueChanged;
183
+ get hasError(): boolean;
184
+ get isBasicSlider(): boolean;
185
+ formatLabel(value: number): string;
186
+ validate(control: AbstractControl): ValidationErrors | null;
187
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, [{
188
+ optional: true;
189
+ }]>;
190
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "ui-slider", never, {
191
+ "max": {
192
+ "alias": "max";
193
+ "required": false;
194
+ };
195
+ "min": {
196
+ "alias": "min";
197
+ "required": false;
198
+ };
199
+ "percentage": {
200
+ "alias": "percentage";
201
+ "required": false;
202
+ };
203
+ "disabled": {
204
+ "alias": "disabled";
205
+ "required": false;
206
+ };
207
+ "sliderStart": {
208
+ "alias": "sliderStart";
209
+ "required": false;
210
+ };
211
+ "sliderEnd": {
212
+ "alias": "sliderEnd";
213
+ "required": false;
214
+ };
215
+ "label": {
216
+ "alias": "label";
217
+ "required": false;
218
+ };
219
+ "showInputs": {
220
+ "alias": "showInputs";
221
+ "required": false;
222
+ };
223
+ "step": {
224
+ "alias": "step";
225
+ "required": false;
226
+ };
227
+ "applicationTheme": {
228
+ "alias": "applicationTheme";
229
+ "required": false;
230
+ };
231
+ "variant": {
232
+ "alias": "variant";
233
+ "required": false;
234
+ };
235
+ "testId": {
236
+ "alias": "testId";
237
+ "required": false;
238
+ };
239
+ "useDecimal": {
240
+ "alias": "useDecimal";
241
+ "required": false;
242
+ "isSignal": true;
243
+ };
244
+ "useThousandsSeparator": {
245
+ "alias": "useThousandsSeparator";
246
+ "required": false;
247
+ "isSignal": true;
248
+ };
249
+ "minLabel": {
250
+ "alias": "minLabel";
251
+ "required": false;
252
+ "isSignal": true;
253
+ };
254
+ "maxLabel": {
255
+ "alias": "maxLabel";
256
+ "required": false;
257
+ "isSignal": true;
258
+ };
259
+ "inputWidth": {
260
+ "alias": "inputWidth";
261
+ "required": false;
262
+ "isSignal": true;
263
+ };
264
+ "showValueBubble": {
265
+ "alias": "showValueBubble";
266
+ "required": false;
267
+ "isSignal": true;
268
+ };
269
+ }, {
270
+ "sliderValueChange": "sliderValueChange";
271
+ "dragStart": "dragStart";
272
+ "dragEnd": "dragEnd";
273
+ "dragMove": "dragMove";
274
+ }, never, never, true, never>;
192
275
  }
193
-
194
- declare class SliderComponentModule {
195
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderComponentModule, never>;
196
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SliderComponentModule, never, [typeof SliderComponent], [typeof SliderComponent]>;
197
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<SliderComponentModule>;
276
+ export declare class SliderComponentModule {
277
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponentModule, never>;
278
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SliderComponentModule, never, [typeof SliderComponent], [typeof SliderComponent]>;
279
+ static ɵinj: i0.ɵɵInjectorDeclaration<SliderComponentModule>;
198
280
  }
199
-
200
- export { SliderComponent, SliderComponentModule };
201
- export type { SliderValue, SliderVariant };
281
+ export { ApplicationTheme };