@angular/cdk 19.0.0-next.4 → 19.0.0-next.5

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 (288) hide show
  1. package/a11y/index.d.ts +19 -37
  2. package/accordion/index.d.ts +5 -4
  3. package/bidi/index.d.ts +2 -2
  4. package/clipboard/index.d.ts +3 -4
  5. package/dialog/index.d.ts +6 -9
  6. package/drag-drop/index.d.ts +16 -33
  7. package/fesm2022/a11y.mjs +81 -139
  8. package/fesm2022/a11y.mjs.map +1 -1
  9. package/fesm2022/accordion.mjs +11 -16
  10. package/fesm2022/accordion.mjs.map +1 -1
  11. package/fesm2022/bidi.mjs +5 -9
  12. package/fesm2022/bidi.mjs.map +1 -1
  13. package/fesm2022/cdk.mjs +1 -1
  14. package/fesm2022/cdk.mjs.map +1 -1
  15. package/fesm2022/clipboard.mjs +11 -18
  16. package/fesm2022/clipboard.mjs.map +1 -1
  17. package/fesm2022/coercion/private.mjs.map +1 -1
  18. package/fesm2022/coercion.mjs.map +1 -1
  19. package/fesm2022/collections.mjs.map +1 -1
  20. package/fesm2022/dialog.mjs +25 -45
  21. package/fesm2022/dialog.mjs.map +1 -1
  22. package/fesm2022/drag-drop.mjs +66 -125
  23. package/fesm2022/drag-drop.mjs.map +1 -1
  24. package/fesm2022/keycodes.mjs.map +1 -1
  25. package/fesm2022/layout.mjs +13 -18
  26. package/fesm2022/layout.mjs.map +1 -1
  27. package/fesm2022/listbox.mjs +7 -1
  28. package/fesm2022/listbox.mjs.map +1 -1
  29. package/fesm2022/menu.mjs.map +1 -1
  30. package/fesm2022/observers/private.mjs.map +1 -1
  31. package/fesm2022/observers.mjs +10 -10
  32. package/fesm2022/observers.mjs.map +1 -1
  33. package/fesm2022/overlay.mjs +73 -121
  34. package/fesm2022/overlay.mjs.map +1 -1
  35. package/fesm2022/platform.mjs.map +1 -1
  36. package/fesm2022/portal.mjs +45 -44
  37. package/fesm2022/portal.mjs.map +1 -1
  38. package/fesm2022/private.mjs.map +1 -1
  39. package/fesm2022/scrolling.mjs +59 -99
  40. package/fesm2022/scrolling.mjs.map +1 -1
  41. package/fesm2022/stepper.mjs +31 -40
  42. package/fesm2022/stepper.mjs.map +1 -1
  43. package/fesm2022/table.mjs +113 -171
  44. package/fesm2022/table.mjs.map +1 -1
  45. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  46. package/fesm2022/testing/testbed.mjs.map +1 -1
  47. package/fesm2022/testing.mjs.map +1 -1
  48. package/fesm2022/text-field.mjs +20 -27
  49. package/fesm2022/text-field.mjs.map +1 -1
  50. package/fesm2022/tree.mjs +50 -53
  51. package/fesm2022/tree.mjs.map +1 -1
  52. package/layout/index.d.ts +5 -7
  53. package/observers/index.d.ts +2 -2
  54. package/overlay/_index.scss +44 -11
  55. package/overlay/index.d.ts +16 -34
  56. package/overlay-prebuilt.css +1 -1
  57. package/package.json +1 -1
  58. package/portal/index.d.ts +21 -18
  59. package/schematics/index.d.ts +1 -1
  60. package/schematics/index.js +2 -2
  61. package/schematics/index.mjs +2 -2
  62. package/schematics/ng-add/index.d.ts +1 -1
  63. package/schematics/ng-add/index.js +3 -3
  64. package/schematics/ng-add/index.mjs +3 -3
  65. package/schematics/ng-add/package-config.d.ts +1 -1
  66. package/schematics/ng-add/package-config.js +2 -2
  67. package/schematics/ng-add/package-config.mjs +2 -2
  68. package/schematics/ng-add/schema.d.ts +1 -1
  69. package/schematics/ng-add/schema.js +2 -2
  70. package/schematics/ng-add/schema.mjs +2 -2
  71. package/schematics/ng-generate/drag-drop/index.d.ts +1 -1
  72. package/schematics/ng-generate/drag-drop/index.js +2 -2
  73. package/schematics/ng-generate/drag-drop/index.mjs +2 -2
  74. package/schematics/ng-generate/drag-drop/schema.d.ts +1 -1
  75. package/schematics/ng-generate/drag-drop/schema.js +2 -2
  76. package/schematics/ng-generate/drag-drop/schema.mjs +2 -2
  77. package/schematics/ng-update/data/attribute-selectors.d.ts +1 -1
  78. package/schematics/ng-update/data/attribute-selectors.js +2 -2
  79. package/schematics/ng-update/data/attribute-selectors.mjs +2 -2
  80. package/schematics/ng-update/data/class-names.d.ts +1 -1
  81. package/schematics/ng-update/data/class-names.js +2 -2
  82. package/schematics/ng-update/data/class-names.mjs +2 -2
  83. package/schematics/ng-update/data/constructor-checks.d.ts +1 -1
  84. package/schematics/ng-update/data/constructor-checks.js +2 -2
  85. package/schematics/ng-update/data/constructor-checks.mjs +2 -2
  86. package/schematics/ng-update/data/css-selectors.d.ts +1 -1
  87. package/schematics/ng-update/data/css-selectors.js +2 -2
  88. package/schematics/ng-update/data/css-selectors.mjs +2 -2
  89. package/schematics/ng-update/data/css-tokens.d.ts +1 -1
  90. package/schematics/ng-update/data/css-tokens.js +2 -2
  91. package/schematics/ng-update/data/css-tokens.mjs +2 -2
  92. package/schematics/ng-update/data/element-selectors.d.ts +1 -1
  93. package/schematics/ng-update/data/element-selectors.js +2 -2
  94. package/schematics/ng-update/data/element-selectors.mjs +2 -2
  95. package/schematics/ng-update/data/index.d.ts +1 -1
  96. package/schematics/ng-update/data/index.js +2 -2
  97. package/schematics/ng-update/data/index.mjs +2 -2
  98. package/schematics/ng-update/data/input-names.d.ts +1 -1
  99. package/schematics/ng-update/data/input-names.js +2 -2
  100. package/schematics/ng-update/data/input-names.mjs +2 -2
  101. package/schematics/ng-update/data/method-call-checks.d.ts +1 -1
  102. package/schematics/ng-update/data/method-call-checks.js +2 -2
  103. package/schematics/ng-update/data/method-call-checks.mjs +2 -2
  104. package/schematics/ng-update/data/output-names.d.ts +1 -1
  105. package/schematics/ng-update/data/output-names.js +2 -2
  106. package/schematics/ng-update/data/output-names.mjs +2 -2
  107. package/schematics/ng-update/data/property-names.d.ts +1 -1
  108. package/schematics/ng-update/data/property-names.js +2 -2
  109. package/schematics/ng-update/data/property-names.mjs +2 -2
  110. package/schematics/ng-update/data/symbol-removal.d.ts +1 -1
  111. package/schematics/ng-update/data/symbol-removal.js +2 -2
  112. package/schematics/ng-update/data/symbol-removal.mjs +2 -2
  113. package/schematics/ng-update/devkit-file-system.d.ts +1 -1
  114. package/schematics/ng-update/devkit-file-system.js +2 -2
  115. package/schematics/ng-update/devkit-file-system.mjs +2 -2
  116. package/schematics/ng-update/devkit-migration-rule.d.ts +1 -1
  117. package/schematics/ng-update/devkit-migration-rule.js +2 -2
  118. package/schematics/ng-update/devkit-migration-rule.mjs +2 -2
  119. package/schematics/ng-update/devkit-migration.d.ts +1 -1
  120. package/schematics/ng-update/devkit-migration.js +2 -2
  121. package/schematics/ng-update/devkit-migration.mjs +2 -2
  122. package/schematics/ng-update/find-stylesheets.d.ts +1 -1
  123. package/schematics/ng-update/find-stylesheets.js +2 -2
  124. package/schematics/ng-update/find-stylesheets.mjs +2 -2
  125. package/schematics/ng-update/html-parsing/angular.d.ts +1 -1
  126. package/schematics/ng-update/html-parsing/angular.js +2 -2
  127. package/schematics/ng-update/html-parsing/angular.mjs +2 -2
  128. package/schematics/ng-update/html-parsing/elements.d.ts +1 -1
  129. package/schematics/ng-update/html-parsing/elements.js +2 -2
  130. package/schematics/ng-update/html-parsing/elements.mjs +2 -2
  131. package/schematics/ng-update/index.d.ts +1 -1
  132. package/schematics/ng-update/index.js +2 -2
  133. package/schematics/ng-update/index.mjs +2 -2
  134. package/schematics/ng-update/migrations/attribute-selectors.d.ts +1 -1
  135. package/schematics/ng-update/migrations/attribute-selectors.js +2 -2
  136. package/schematics/ng-update/migrations/attribute-selectors.mjs +2 -2
  137. package/schematics/ng-update/migrations/class-inheritance.d.ts +1 -1
  138. package/schematics/ng-update/migrations/class-inheritance.js +2 -2
  139. package/schematics/ng-update/migrations/class-inheritance.mjs +2 -2
  140. package/schematics/ng-update/migrations/class-names.d.ts +1 -1
  141. package/schematics/ng-update/migrations/class-names.js +2 -2
  142. package/schematics/ng-update/migrations/class-names.mjs +2 -2
  143. package/schematics/ng-update/migrations/constructor-signature.d.ts +1 -1
  144. package/schematics/ng-update/migrations/constructor-signature.js +2 -2
  145. package/schematics/ng-update/migrations/constructor-signature.mjs +2 -2
  146. package/schematics/ng-update/migrations/css-selectors.d.ts +1 -1
  147. package/schematics/ng-update/migrations/css-selectors.js +2 -2
  148. package/schematics/ng-update/migrations/css-selectors.mjs +2 -2
  149. package/schematics/ng-update/migrations/css-tokens.d.ts +1 -1
  150. package/schematics/ng-update/migrations/css-tokens.js +2 -2
  151. package/schematics/ng-update/migrations/css-tokens.mjs +2 -2
  152. package/schematics/ng-update/migrations/element-selectors.d.ts +1 -1
  153. package/schematics/ng-update/migrations/element-selectors.js +2 -2
  154. package/schematics/ng-update/migrations/element-selectors.mjs +2 -2
  155. package/schematics/ng-update/migrations/input-names.d.ts +1 -1
  156. package/schematics/ng-update/migrations/input-names.js +2 -2
  157. package/schematics/ng-update/migrations/input-names.mjs +2 -2
  158. package/schematics/ng-update/migrations/method-call-arguments.d.ts +1 -1
  159. package/schematics/ng-update/migrations/method-call-arguments.js +2 -2
  160. package/schematics/ng-update/migrations/method-call-arguments.mjs +2 -2
  161. package/schematics/ng-update/migrations/misc-template.d.ts +1 -1
  162. package/schematics/ng-update/migrations/misc-template.js +2 -2
  163. package/schematics/ng-update/migrations/misc-template.mjs +2 -2
  164. package/schematics/ng-update/migrations/output-names.d.ts +1 -1
  165. package/schematics/ng-update/migrations/output-names.js +2 -2
  166. package/schematics/ng-update/migrations/output-names.mjs +2 -2
  167. package/schematics/ng-update/migrations/property-names.d.ts +1 -1
  168. package/schematics/ng-update/migrations/property-names.js +2 -2
  169. package/schematics/ng-update/migrations/property-names.mjs +2 -2
  170. package/schematics/ng-update/migrations/symbol-removal.d.ts +1 -1
  171. package/schematics/ng-update/migrations/symbol-removal.js +2 -2
  172. package/schematics/ng-update/migrations/symbol-removal.mjs +2 -2
  173. package/schematics/ng-update/public-api.d.ts +1 -1
  174. package/schematics/ng-update/public-api.js +2 -2
  175. package/schematics/ng-update/public-api.mjs +2 -2
  176. package/schematics/ng-update/typescript/base-types.d.ts +1 -1
  177. package/schematics/ng-update/typescript/base-types.js +2 -2
  178. package/schematics/ng-update/typescript/base-types.mjs +2 -2
  179. package/schematics/ng-update/typescript/imports.d.ts +1 -1
  180. package/schematics/ng-update/typescript/imports.js +2 -2
  181. package/schematics/ng-update/typescript/imports.mjs +2 -2
  182. package/schematics/ng-update/typescript/literal.d.ts +1 -1
  183. package/schematics/ng-update/typescript/literal.js +2 -2
  184. package/schematics/ng-update/typescript/literal.mjs +2 -2
  185. package/schematics/ng-update/typescript/module-specifiers.d.ts +1 -1
  186. package/schematics/ng-update/typescript/module-specifiers.js +2 -2
  187. package/schematics/ng-update/typescript/module-specifiers.mjs +2 -2
  188. package/schematics/ng-update/upgrade-data.d.ts +1 -1
  189. package/schematics/ng-update/upgrade-data.js +2 -2
  190. package/schematics/ng-update/upgrade-data.mjs +2 -2
  191. package/schematics/paths.d.ts +1 -1
  192. package/schematics/paths.js +2 -2
  193. package/schematics/paths.mjs +2 -2
  194. package/schematics/update-tool/component-resource-collector.d.ts +1 -1
  195. package/schematics/update-tool/component-resource-collector.js +2 -2
  196. package/schematics/update-tool/component-resource-collector.mjs +2 -2
  197. package/schematics/update-tool/file-system.d.ts +1 -1
  198. package/schematics/update-tool/file-system.js +2 -2
  199. package/schematics/update-tool/file-system.mjs +2 -2
  200. package/schematics/update-tool/index.d.ts +1 -1
  201. package/schematics/update-tool/index.js +2 -2
  202. package/schematics/update-tool/index.mjs +2 -2
  203. package/schematics/update-tool/logger.d.ts +1 -1
  204. package/schematics/update-tool/logger.js +2 -2
  205. package/schematics/update-tool/logger.mjs +2 -2
  206. package/schematics/update-tool/migration.d.ts +1 -1
  207. package/schematics/update-tool/migration.js +2 -2
  208. package/schematics/update-tool/migration.mjs +2 -2
  209. package/schematics/update-tool/public-api.d.ts +1 -1
  210. package/schematics/update-tool/public-api.js +2 -2
  211. package/schematics/update-tool/public-api.mjs +2 -2
  212. package/schematics/update-tool/target-version.d.ts +1 -1
  213. package/schematics/update-tool/target-version.js +2 -2
  214. package/schematics/update-tool/target-version.mjs +2 -2
  215. package/schematics/update-tool/update-recorder.d.ts +1 -1
  216. package/schematics/update-tool/update-recorder.js +2 -2
  217. package/schematics/update-tool/update-recorder.mjs +2 -2
  218. package/schematics/update-tool/utils/decorators.d.ts +1 -1
  219. package/schematics/update-tool/utils/decorators.js +2 -2
  220. package/schematics/update-tool/utils/decorators.mjs +2 -2
  221. package/schematics/update-tool/utils/diagnostics.d.ts +1 -1
  222. package/schematics/update-tool/utils/diagnostics.js +2 -2
  223. package/schematics/update-tool/utils/diagnostics.mjs +2 -2
  224. package/schematics/update-tool/utils/functions.d.ts +1 -1
  225. package/schematics/update-tool/utils/functions.js +2 -2
  226. package/schematics/update-tool/utils/functions.mjs +2 -2
  227. package/schematics/update-tool/utils/imports.d.ts +1 -1
  228. package/schematics/update-tool/utils/imports.js +2 -2
  229. package/schematics/update-tool/utils/imports.mjs +2 -2
  230. package/schematics/update-tool/utils/line-mappings.d.ts +1 -1
  231. package/schematics/update-tool/utils/line-mappings.js +2 -2
  232. package/schematics/update-tool/utils/line-mappings.mjs +2 -2
  233. package/schematics/update-tool/utils/parse-tsconfig.d.ts +1 -1
  234. package/schematics/update-tool/utils/parse-tsconfig.js +2 -2
  235. package/schematics/update-tool/utils/parse-tsconfig.mjs +2 -2
  236. package/schematics/update-tool/utils/property-name.d.ts +1 -1
  237. package/schematics/update-tool/utils/property-name.js +2 -2
  238. package/schematics/update-tool/utils/property-name.mjs +2 -2
  239. package/schematics/update-tool/utils/virtual-host.d.ts +1 -1
  240. package/schematics/update-tool/utils/virtual-host.js +2 -2
  241. package/schematics/update-tool/utils/virtual-host.mjs +2 -2
  242. package/schematics/update-tool/version-changes.d.ts +1 -1
  243. package/schematics/update-tool/version-changes.js +2 -2
  244. package/schematics/update-tool/version-changes.mjs +2 -2
  245. package/schematics/utils/ast/ng-module-imports.d.ts +1 -1
  246. package/schematics/utils/ast/ng-module-imports.js +2 -2
  247. package/schematics/utils/ast/ng-module-imports.mjs +2 -2
  248. package/schematics/utils/ast.d.ts +1 -1
  249. package/schematics/utils/ast.js +2 -2
  250. package/schematics/utils/ast.mjs +2 -2
  251. package/schematics/utils/build-component.d.ts +1 -1
  252. package/schematics/utils/build-component.js +2 -2
  253. package/schematics/utils/build-component.mjs +2 -2
  254. package/schematics/utils/get-project.d.ts +1 -1
  255. package/schematics/utils/get-project.js +2 -2
  256. package/schematics/utils/get-project.mjs +2 -2
  257. package/schematics/utils/html-manipulation.d.ts +1 -1
  258. package/schematics/utils/html-manipulation.js +2 -2
  259. package/schematics/utils/html-manipulation.mjs +2 -2
  260. package/schematics/utils/index.d.ts +1 -1
  261. package/schematics/utils/index.js +2 -2
  262. package/schematics/utils/index.mjs +2 -2
  263. package/schematics/utils/parse5-element.d.ts +1 -1
  264. package/schematics/utils/parse5-element.js +2 -2
  265. package/schematics/utils/parse5-element.mjs +2 -2
  266. package/schematics/utils/project-index-file.d.ts +1 -1
  267. package/schematics/utils/project-index-file.js +2 -2
  268. package/schematics/utils/project-index-file.mjs +2 -2
  269. package/schematics/utils/project-main-file.d.ts +1 -1
  270. package/schematics/utils/project-main-file.js +2 -2
  271. package/schematics/utils/project-main-file.mjs +2 -2
  272. package/schematics/utils/project-style-file.d.ts +1 -1
  273. package/schematics/utils/project-style-file.js +2 -2
  274. package/schematics/utils/project-style-file.mjs +2 -2
  275. package/schematics/utils/project-targets.d.ts +1 -1
  276. package/schematics/utils/project-targets.js +2 -2
  277. package/schematics/utils/project-targets.mjs +2 -2
  278. package/schematics/utils/project-tsconfig-paths.d.ts +1 -1
  279. package/schematics/utils/project-tsconfig-paths.js +2 -2
  280. package/schematics/utils/project-tsconfig-paths.mjs +2 -2
  281. package/schematics/utils/schematic-options.d.ts +1 -1
  282. package/schematics/utils/schematic-options.js +2 -2
  283. package/schematics/utils/schematic-options.mjs +2 -2
  284. package/scrolling/index.d.ts +17 -37
  285. package/stepper/index.d.ts +9 -11
  286. package/table/index.d.ts +36 -51
  287. package/text-field/index.d.ts +5 -9
  288. package/tree/index.d.ts +11 -13
@@ -1,14 +1,11 @@
1
1
  import { coerceNumberProperty, coerceElement } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, forwardRef, Directive, Input, Injectable, Optional, Inject, inject, Injector, afterNextRender, booleanAttribute, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, ViewChild, SkipSelf, ElementRef, NgModule } from '@angular/core';
3
+ import { InjectionToken, forwardRef, Directive, Input, inject, NgZone, Injectable, ElementRef, ChangeDetectorRef, Injector, afterNextRender, booleanAttribute, Optional, Inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, ViewChild, ViewContainerRef, TemplateRef, IterableDiffers, NgModule } from '@angular/core';
4
4
  import { Subject, of, Observable, fromEvent, animationFrameScheduler, asapScheduler, Subscription, isObservable } from 'rxjs';
5
5
  import { distinctUntilChanged, auditTime, filter, takeUntil, startWith, pairwise, switchMap, shareReplay } from 'rxjs/operators';
6
- import * as i1 from '@angular/cdk/platform';
7
- import { getRtlScrollAxisType, RtlScrollAxisType, supportsScrollBehavior, Platform } from '@angular/cdk/platform';
6
+ import { Platform, getRtlScrollAxisType, RtlScrollAxisType, supportsScrollBehavior } from '@angular/cdk/platform';
8
7
  import { DOCUMENT } from '@angular/common';
9
- import * as i2 from '@angular/cdk/bidi';
10
- import { BidiModule } from '@angular/cdk/bidi';
11
- import * as i2$1 from '@angular/cdk/collections';
8
+ import { Directionality, BidiModule } from '@angular/cdk/bidi';
12
9
  import { isDataSource, ArrayDataSource, _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy } from '@angular/cdk/collections';
13
10
 
14
11
  /** The injection token used to specify the virtual scrolling strategy. */
@@ -226,9 +223,11 @@ const DEFAULT_SCROLL_TIME = 20;
226
223
  * Scrollable references emit a scrolled event.
227
224
  */
228
225
  class ScrollDispatcher {
229
- constructor(_ngZone, _platform, document) {
230
- this._ngZone = _ngZone;
231
- this._platform = _platform;
226
+ constructor() {
227
+ this._ngZone = inject(NgZone);
228
+ this._platform = inject(Platform);
229
+ /** Used to reference correct document/window */
230
+ this._document = inject(DOCUMENT, { optional: true });
232
231
  /** Subject for notifying that a registered scrollable reference element has been scrolled. */
233
232
  this._scrolled = new Subject();
234
233
  /** Keeps track of the global `scroll` and `resize` subscriptions. */
@@ -240,7 +239,6 @@ class ScrollDispatcher {
240
239
  * scroll event subscriptions.
241
240
  */
242
241
  this.scrollContainers = new Map();
243
- this._document = document;
244
242
  }
245
243
  /**
246
244
  * Registers a scrollable instance with the service and listens for its scrolled events. When the
@@ -354,18 +352,13 @@ class ScrollDispatcher {
354
352
  this._globalSubscription = null;
355
353
  }
356
354
  }
357
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ScrollDispatcher, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
355
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ScrollDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
358
356
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' }); }
359
357
  }
360
358
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ScrollDispatcher, decorators: [{
361
359
  type: Injectable,
362
360
  args: [{ providedIn: 'root' }]
363
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{
364
- type: Optional
365
- }, {
366
- type: Inject,
367
- args: [DOCUMENT]
368
- }] }] });
361
+ }], ctorParameters: () => [] });
369
362
 
370
363
  /**
371
364
  * Sends an event when the directive's element is scrolled. Registers itself with the
@@ -373,11 +366,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
373
366
  * can be listened to through the service.
374
367
  */
375
368
  class CdkScrollable {
376
- constructor(elementRef, scrollDispatcher, ngZone, dir) {
377
- this.elementRef = elementRef;
378
- this.scrollDispatcher = scrollDispatcher;
379
- this.ngZone = ngZone;
380
- this.dir = dir;
369
+ constructor() {
370
+ this.elementRef = inject(ElementRef);
371
+ this.scrollDispatcher = inject(ScrollDispatcher);
372
+ this.ngZone = inject(NgZone);
373
+ this.dir = inject(Directionality, { optional: true });
381
374
  this._destroyed = new Subject();
382
375
  this._elementScrolled = new Observable((observer) => this.ngZone.runOutsideAngular(() => fromEvent(this.elementRef.nativeElement, 'scroll')
383
376
  .pipe(takeUntil(this._destroyed))
@@ -515,7 +508,7 @@ class CdkScrollable {
515
508
  }
516
509
  }
517
510
  }
518
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
511
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkScrollable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
519
512
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkScrollable, isStandalone: true, selector: "[cdk-scrollable], [cdkScrollable]", ngImport: i0 }); }
520
513
  }
521
514
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkScrollable, decorators: [{
@@ -524,9 +517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
524
517
  selector: '[cdk-scrollable], [cdkScrollable]',
525
518
  standalone: true,
526
519
  }]
527
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
528
- type: Optional
529
- }] }] });
520
+ }], ctorParameters: () => [] });
530
521
 
531
522
  /** Time in ms to throttle the resize events by default. */
532
523
  const DEFAULT_RESIZE_TIME = 20;
@@ -535,17 +526,19 @@ const DEFAULT_RESIZE_TIME = 20;
535
526
  * @docs-private
536
527
  */
537
528
  class ViewportRuler {
538
- constructor(_platform, ngZone, document) {
539
- this._platform = _platform;
529
+ constructor() {
530
+ this._platform = inject(Platform);
540
531
  /** Stream of viewport change events. */
541
532
  this._change = new Subject();
542
533
  /** Event listener that will be used to handle the viewport change events. */
543
534
  this._changeListener = (event) => {
544
535
  this._change.next(event);
545
536
  };
546
- this._document = document;
537
+ /** Used to reference correct document/window */
538
+ this._document = inject(DOCUMENT, { optional: true });
539
+ const ngZone = inject(NgZone);
547
540
  ngZone.runOutsideAngular(() => {
548
- if (_platform.isBrowser) {
541
+ if (this._platform.isBrowser) {
549
542
  const window = this._getWindow();
550
543
  // Note that bind the events ourselves, rather than going through something like RxJS's
551
544
  // `fromEvent` so that we can ensure that they're bound outside of the NgZone.
@@ -647,26 +640,21 @@ class ViewportRuler {
647
640
  ? { width: window.innerWidth, height: window.innerHeight }
648
641
  : { width: 0, height: 0 };
649
642
  }
650
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
643
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ViewportRuler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
651
644
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ViewportRuler, providedIn: 'root' }); }
652
645
  }
653
646
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ViewportRuler, decorators: [{
654
647
  type: Injectable,
655
648
  args: [{ providedIn: 'root' }]
656
- }], ctorParameters: () => [{ type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{
657
- type: Optional
658
- }, {
659
- type: Inject,
660
- args: [DOCUMENT]
661
- }] }] });
649
+ }], ctorParameters: () => [] });
662
650
 
663
651
  const VIRTUAL_SCROLLABLE = new InjectionToken('VIRTUAL_SCROLLABLE');
664
652
  /**
665
653
  * Extending the {@link CdkScrollable} to be used as scrolling container for virtual scrolling.
666
654
  */
667
655
  class CdkVirtualScrollable extends CdkScrollable {
668
- constructor(elementRef, scrollDispatcher, ngZone, dir) {
669
- super(elementRef, scrollDispatcher, ngZone, dir);
656
+ constructor() {
657
+ super();
670
658
  }
671
659
  /**
672
660
  * Measure the viewport size for the provided orientation.
@@ -677,14 +665,12 @@ class CdkVirtualScrollable extends CdkScrollable {
677
665
  const viewportEl = this.elementRef.nativeElement;
678
666
  return orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight;
679
667
  }
680
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
668
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
681
669
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkVirtualScrollable, usesInheritance: true, ngImport: i0 }); }
682
670
  }
683
671
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollable, decorators: [{
684
672
  type: Directive
685
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
686
- type: Optional
687
- }] }] });
673
+ }], ctorParameters: () => [] });
688
674
 
689
675
  /** Checks if the given ranges are equal. */
690
676
  function rangesEqual(r1, r2) {
@@ -708,12 +694,14 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
708
694
  this._calculateSpacerSize();
709
695
  }
710
696
  }
711
- constructor(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher, viewportRuler, scrollable) {
712
- super(elementRef, scrollDispatcher, ngZone, dir);
713
- this.elementRef = elementRef;
714
- this._changeDetectorRef = _changeDetectorRef;
715
- this._scrollStrategy = _scrollStrategy;
716
- this.scrollable = scrollable;
697
+ constructor() {
698
+ super();
699
+ this.elementRef = inject(ElementRef);
700
+ this._changeDetectorRef = inject(ChangeDetectorRef);
701
+ this._scrollStrategy = inject(VIRTUAL_SCROLL_STRATEGY, {
702
+ optional: true,
703
+ });
704
+ this.scrollable = inject(VIRTUAL_SCROLLABLE, { optional: true });
717
705
  this._platform = inject(Platform);
718
706
  /** Emits when the viewport is detached from a CdkVirtualForOf. */
719
707
  this._detachedSubject = new Subject();
@@ -762,7 +750,8 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
762
750
  this._viewportChanges = Subscription.EMPTY;
763
751
  this._injector = inject(Injector);
764
752
  this._isDestroyed = false;
765
- if (!_scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) {
753
+ const viewportRuler = inject(ViewportRuler);
754
+ if (!this._scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) {
766
755
  throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');
767
756
  }
768
757
  this._viewportChanges = viewportRuler.change().subscribe(() => {
@@ -1063,7 +1052,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
1063
1052
  this._totalContentWidth =
1064
1053
  this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';
1065
1054
  }
1066
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollViewport, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: VIRTUAL_SCROLL_STRATEGY, optional: true }, { token: i2.Directionality, optional: true }, { token: ScrollDispatcher }, { token: ViewportRuler }, { token: VIRTUAL_SCROLLABLE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1055
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollViewport, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1067
1056
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkVirtualScrollViewport, isStandalone: true, selector: "cdk-virtual-scroll-viewport", inputs: { orientation: "orientation", appendOnly: ["appendOnly", "appendOnly", booleanAttribute] }, outputs: { scrolledIndexChange: "scrolledIndexChange" }, host: { properties: { "class.cdk-virtual-scroll-orientation-horizontal": "orientation === \"horizontal\"", "class.cdk-virtual-scroll-orientation-vertical": "orientation !== \"horizontal\"" }, classAttribute: "cdk-virtual-scroll-viewport" }, providers: [
1068
1057
  {
1069
1058
  provide: CdkScrollable,
@@ -1085,19 +1074,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1085
1074
  deps: [[new Optional(), new Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport],
1086
1075
  },
1087
1076
  ], template: "<!--\n Wrap the rendered content in an element that will be used to offset it based on the scroll\n position.\n-->\n<div #contentWrapper class=\"cdk-virtual-scroll-content-wrapper\">\n <ng-content></ng-content>\n</div>\n<!--\n Spacer used to force the scrolling container to the correct size for the *total* number of items\n so that the scrollbar captures the size of the entire data set.\n-->\n<div class=\"cdk-virtual-scroll-spacer\"\n [style.width]=\"_totalContentWidth\" [style.height]=\"_totalContentHeight\"></div>\n", styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"] }]
1088
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
1089
- type: Optional
1090
- }, {
1091
- type: Inject,
1092
- args: [VIRTUAL_SCROLL_STRATEGY]
1093
- }] }, { type: i2.Directionality, decorators: [{
1094
- type: Optional
1095
- }] }, { type: ScrollDispatcher }, { type: ViewportRuler }, { type: CdkVirtualScrollable, decorators: [{
1096
- type: Optional
1097
- }, {
1098
- type: Inject,
1099
- args: [VIRTUAL_SCROLLABLE]
1100
- }] }], propDecorators: { orientation: [{
1077
+ }], ctorParameters: () => [], propDecorators: { orientation: [{
1101
1078
  type: Input
1102
1079
  }], appendOnly: [{
1103
1080
  type: Input,
@@ -1170,22 +1147,12 @@ class CdkVirtualForOf {
1170
1147
  set cdkVirtualForTemplateCacheSize(size) {
1171
1148
  this._viewRepeater.viewCacheSize = coerceNumberProperty(size);
1172
1149
  }
1173
- constructor(
1174
- /** The view container to add items to. */
1175
- _viewContainerRef,
1176
- /** The template to use when stamping out new items. */
1177
- _template,
1178
- /** The set of available differs. */
1179
- _differs,
1180
- /** The strategy used to render items in the virtual scroll viewport. */
1181
- _viewRepeater,
1182
- /** The virtual scrolling viewport that these items are being rendered in. */
1183
- _viewport, ngZone) {
1184
- this._viewContainerRef = _viewContainerRef;
1185
- this._template = _template;
1186
- this._differs = _differs;
1187
- this._viewRepeater = _viewRepeater;
1188
- this._viewport = _viewport;
1150
+ constructor() {
1151
+ this._viewContainerRef = inject(ViewContainerRef);
1152
+ this._template = inject(TemplateRef);
1153
+ this._differs = inject(IterableDiffers);
1154
+ this._viewRepeater = inject(_VIEW_REPEATER_STRATEGY);
1155
+ this._viewport = inject(CdkVirtualScrollViewport, { skipSelf: true });
1189
1156
  /** Emits when the rendered view of the data changes. */
1190
1157
  this.viewChange = new Subject();
1191
1158
  /** Subject that emits when a new DataSource instance is given. */
@@ -1207,6 +1174,7 @@ class CdkVirtualForOf {
1207
1174
  /** Whether the rendered data should be updated during the next ngDoCheck cycle. */
1208
1175
  this._needsUpdate = false;
1209
1176
  this._destroyed = new Subject();
1177
+ const ngZone = inject(NgZone);
1210
1178
  this.dataStream.subscribe(data => {
1211
1179
  this._data = data;
1212
1180
  this._onRenderedDataChange();
@@ -1370,7 +1338,7 @@ class CdkVirtualForOf {
1370
1338
  static ngTemplateContextGuard(directive, context) {
1371
1339
  return true;
1372
1340
  }
1373
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: _VIEW_REPEATER_STRATEGY }, { token: CdkVirtualScrollViewport, skipSelf: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1341
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualForOf, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1374
1342
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkVirtualForOf, isStandalone: true, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
1375
1343
  }
1376
1344
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualForOf, decorators: [{
@@ -1380,12 +1348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1380
1348
  providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],
1381
1349
  standalone: true,
1382
1350
  }]
1383
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i2$1._RecycleViewRepeaterStrategy, decorators: [{
1384
- type: Inject,
1385
- args: [_VIEW_REPEATER_STRATEGY]
1386
- }] }, { type: CdkVirtualScrollViewport, decorators: [{
1387
- type: SkipSelf
1388
- }] }, { type: i0.NgZone }], propDecorators: { cdkVirtualForOf: [{
1351
+ }], ctorParameters: () => [], propDecorators: { cdkVirtualForOf: [{
1389
1352
  type: Input
1390
1353
  }], cdkVirtualForTrackBy: [{
1391
1354
  type: Input
@@ -1399,14 +1362,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1399
1362
  * Provides a virtual scrollable for the element it is attached to.
1400
1363
  */
1401
1364
  class CdkVirtualScrollableElement extends CdkVirtualScrollable {
1402
- constructor(elementRef, scrollDispatcher, ngZone, dir) {
1403
- super(elementRef, scrollDispatcher, ngZone, dir);
1365
+ constructor() {
1366
+ super();
1404
1367
  }
1405
1368
  measureBoundingClientRectWithScrollOffset(from) {
1406
1369
  return (this.getElementRef().nativeElement.getBoundingClientRect()[from] -
1407
1370
  this.measureScrollOffset(from));
1408
1371
  }
1409
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollableElement, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1372
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollableElement, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1410
1373
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkVirtualScrollableElement, isStandalone: true, selector: "[cdkVirtualScrollingElement]", host: { classAttribute: "cdk-virtual-scrollable" }, providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement }], usesInheritance: true, ngImport: i0 }); }
1411
1374
  }
1412
1375
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollableElement, decorators: [{
@@ -1419,22 +1382,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1419
1382
  'class': 'cdk-virtual-scrollable',
1420
1383
  },
1421
1384
  }]
1422
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
1423
- type: Optional
1424
- }] }] });
1385
+ }], ctorParameters: () => [] });
1425
1386
 
1426
1387
  /**
1427
1388
  * Provides as virtual scrollable for the global / window scrollbar.
1428
1389
  */
1429
1390
  class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
1430
- constructor(scrollDispatcher, ngZone, dir) {
1431
- super(new ElementRef(document.documentElement), scrollDispatcher, ngZone, dir);
1391
+ constructor() {
1392
+ super();
1432
1393
  this._elementScrolled = new Observable((observer) => this.ngZone.runOutsideAngular(() => fromEvent(document, 'scroll').pipe(takeUntil(this._destroyed)).subscribe(observer)));
1394
+ this.elementRef = new ElementRef(document.documentElement);
1433
1395
  }
1434
1396
  measureBoundingClientRectWithScrollOffset(from) {
1435
1397
  return this.getElementRef().nativeElement.getBoundingClientRect()[from];
1436
1398
  }
1437
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollableWindow, deps: [{ token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1399
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollableWindow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1438
1400
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkVirtualScrollableWindow, isStandalone: true, selector: "cdk-virtual-scroll-viewport[scrollWindow]", providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }], usesInheritance: true, ngImport: i0 }); }
1439
1401
  }
1440
1402
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkVirtualScrollableWindow, decorators: [{
@@ -1444,9 +1406,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1444
1406
  providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }],
1445
1407
  standalone: true,
1446
1408
  }]
1447
- }], ctorParameters: () => [{ type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
1448
- type: Optional
1449
- }] }] });
1409
+ }], ctorParameters: () => [] });
1450
1410
 
1451
1411
  class CdkScrollableModule {
1452
1412
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }