@angular/cdk 19.0.0-next.3 → 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 (293) 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 +109 -167
  8. package/fesm2022/a11y.mjs.map +1 -1
  9. package/fesm2022/accordion.mjs +20 -25
  10. package/fesm2022/accordion.mjs.map +1 -1
  11. package/fesm2022/bidi.mjs +14 -18
  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 +19 -26
  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 +3 -3
  20. package/fesm2022/collections.mjs.map +1 -1
  21. package/fesm2022/dialog.mjs +33 -53
  22. package/fesm2022/dialog.mjs.map +1 -1
  23. package/fesm2022/drag-drop.mjs +90 -149
  24. package/fesm2022/drag-drop.mjs.map +1 -1
  25. package/fesm2022/keycodes.mjs.map +1 -1
  26. package/fesm2022/layout.mjs +21 -26
  27. package/fesm2022/layout.mjs.map +1 -1
  28. package/fesm2022/listbox.mjs +17 -11
  29. package/fesm2022/listbox.mjs.map +1 -1
  30. package/fesm2022/menu.mjs +49 -49
  31. package/fesm2022/menu.mjs.map +1 -1
  32. package/fesm2022/observers/private.mjs +3 -3
  33. package/fesm2022/observers/private.mjs.map +1 -1
  34. package/fesm2022/observers.mjs +21 -21
  35. package/fesm2022/observers.mjs.map +1 -1
  36. package/fesm2022/overlay.mjs +105 -148
  37. package/fesm2022/overlay.mjs.map +1 -1
  38. package/fesm2022/platform.mjs +7 -7
  39. package/fesm2022/platform.mjs.map +1 -1
  40. package/fesm2022/portal.mjs +59 -58
  41. package/fesm2022/portal.mjs.map +1 -1
  42. package/fesm2022/private.mjs +3 -3
  43. package/fesm2022/private.mjs.map +1 -1
  44. package/fesm2022/scrolling.mjs +86 -126
  45. package/fesm2022/scrolling.mjs.map +1 -1
  46. package/fesm2022/stepper.mjs +47 -56
  47. package/fesm2022/stepper.mjs.map +1 -1
  48. package/fesm2022/table.mjs +170 -228
  49. package/fesm2022/table.mjs.map +1 -1
  50. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  51. package/fesm2022/testing/testbed.mjs.map +1 -1
  52. package/fesm2022/testing.mjs.map +1 -1
  53. package/fesm2022/text-field.mjs +33 -40
  54. package/fesm2022/text-field.mjs.map +1 -1
  55. package/fesm2022/tree.mjs +68 -71
  56. package/fesm2022/tree.mjs.map +1 -1
  57. package/layout/index.d.ts +5 -7
  58. package/observers/index.d.ts +2 -2
  59. package/overlay/_index.scss +44 -11
  60. package/overlay/index.d.ts +18 -34
  61. package/overlay-prebuilt.css +1 -1
  62. package/package.json +1 -1
  63. package/portal/index.d.ts +21 -18
  64. package/schematics/index.d.ts +1 -1
  65. package/schematics/index.js +2 -2
  66. package/schematics/index.mjs +2 -2
  67. package/schematics/ng-add/index.d.ts +1 -1
  68. package/schematics/ng-add/index.js +3 -3
  69. package/schematics/ng-add/index.mjs +3 -3
  70. package/schematics/ng-add/package-config.d.ts +1 -1
  71. package/schematics/ng-add/package-config.js +2 -2
  72. package/schematics/ng-add/package-config.mjs +2 -2
  73. package/schematics/ng-add/schema.d.ts +1 -1
  74. package/schematics/ng-add/schema.js +2 -2
  75. package/schematics/ng-add/schema.mjs +2 -2
  76. package/schematics/ng-generate/drag-drop/index.d.ts +1 -1
  77. package/schematics/ng-generate/drag-drop/index.js +2 -2
  78. package/schematics/ng-generate/drag-drop/index.mjs +2 -2
  79. package/schematics/ng-generate/drag-drop/schema.d.ts +1 -1
  80. package/schematics/ng-generate/drag-drop/schema.js +2 -2
  81. package/schematics/ng-generate/drag-drop/schema.mjs +2 -2
  82. package/schematics/ng-update/data/attribute-selectors.d.ts +1 -1
  83. package/schematics/ng-update/data/attribute-selectors.js +2 -2
  84. package/schematics/ng-update/data/attribute-selectors.mjs +2 -2
  85. package/schematics/ng-update/data/class-names.d.ts +1 -1
  86. package/schematics/ng-update/data/class-names.js +2 -2
  87. package/schematics/ng-update/data/class-names.mjs +2 -2
  88. package/schematics/ng-update/data/constructor-checks.d.ts +1 -1
  89. package/schematics/ng-update/data/constructor-checks.js +2 -2
  90. package/schematics/ng-update/data/constructor-checks.mjs +2 -2
  91. package/schematics/ng-update/data/css-selectors.d.ts +1 -1
  92. package/schematics/ng-update/data/css-selectors.js +2 -2
  93. package/schematics/ng-update/data/css-selectors.mjs +2 -2
  94. package/schematics/ng-update/data/css-tokens.d.ts +1 -1
  95. package/schematics/ng-update/data/css-tokens.js +2 -2
  96. package/schematics/ng-update/data/css-tokens.mjs +2 -2
  97. package/schematics/ng-update/data/element-selectors.d.ts +1 -1
  98. package/schematics/ng-update/data/element-selectors.js +2 -2
  99. package/schematics/ng-update/data/element-selectors.mjs +2 -2
  100. package/schematics/ng-update/data/index.d.ts +1 -1
  101. package/schematics/ng-update/data/index.js +2 -2
  102. package/schematics/ng-update/data/index.mjs +2 -2
  103. package/schematics/ng-update/data/input-names.d.ts +1 -1
  104. package/schematics/ng-update/data/input-names.js +2 -2
  105. package/schematics/ng-update/data/input-names.mjs +2 -2
  106. package/schematics/ng-update/data/method-call-checks.d.ts +1 -1
  107. package/schematics/ng-update/data/method-call-checks.js +2 -2
  108. package/schematics/ng-update/data/method-call-checks.mjs +2 -2
  109. package/schematics/ng-update/data/output-names.d.ts +1 -1
  110. package/schematics/ng-update/data/output-names.js +2 -2
  111. package/schematics/ng-update/data/output-names.mjs +2 -2
  112. package/schematics/ng-update/data/property-names.d.ts +1 -1
  113. package/schematics/ng-update/data/property-names.js +2 -2
  114. package/schematics/ng-update/data/property-names.mjs +2 -2
  115. package/schematics/ng-update/data/symbol-removal.d.ts +1 -1
  116. package/schematics/ng-update/data/symbol-removal.js +2 -2
  117. package/schematics/ng-update/data/symbol-removal.mjs +2 -2
  118. package/schematics/ng-update/devkit-file-system.d.ts +1 -1
  119. package/schematics/ng-update/devkit-file-system.js +2 -2
  120. package/schematics/ng-update/devkit-file-system.mjs +2 -2
  121. package/schematics/ng-update/devkit-migration-rule.d.ts +1 -1
  122. package/schematics/ng-update/devkit-migration-rule.js +2 -2
  123. package/schematics/ng-update/devkit-migration-rule.mjs +2 -2
  124. package/schematics/ng-update/devkit-migration.d.ts +1 -1
  125. package/schematics/ng-update/devkit-migration.js +2 -2
  126. package/schematics/ng-update/devkit-migration.mjs +2 -2
  127. package/schematics/ng-update/find-stylesheets.d.ts +1 -1
  128. package/schematics/ng-update/find-stylesheets.js +2 -2
  129. package/schematics/ng-update/find-stylesheets.mjs +2 -2
  130. package/schematics/ng-update/html-parsing/angular.d.ts +1 -1
  131. package/schematics/ng-update/html-parsing/angular.js +2 -2
  132. package/schematics/ng-update/html-parsing/angular.mjs +2 -2
  133. package/schematics/ng-update/html-parsing/elements.d.ts +1 -1
  134. package/schematics/ng-update/html-parsing/elements.js +2 -2
  135. package/schematics/ng-update/html-parsing/elements.mjs +2 -2
  136. package/schematics/ng-update/index.d.ts +1 -1
  137. package/schematics/ng-update/index.js +2 -2
  138. package/schematics/ng-update/index.mjs +2 -2
  139. package/schematics/ng-update/migrations/attribute-selectors.d.ts +1 -1
  140. package/schematics/ng-update/migrations/attribute-selectors.js +2 -2
  141. package/schematics/ng-update/migrations/attribute-selectors.mjs +2 -2
  142. package/schematics/ng-update/migrations/class-inheritance.d.ts +1 -1
  143. package/schematics/ng-update/migrations/class-inheritance.js +2 -2
  144. package/schematics/ng-update/migrations/class-inheritance.mjs +2 -2
  145. package/schematics/ng-update/migrations/class-names.d.ts +1 -1
  146. package/schematics/ng-update/migrations/class-names.js +2 -2
  147. package/schematics/ng-update/migrations/class-names.mjs +2 -2
  148. package/schematics/ng-update/migrations/constructor-signature.d.ts +1 -1
  149. package/schematics/ng-update/migrations/constructor-signature.js +2 -2
  150. package/schematics/ng-update/migrations/constructor-signature.mjs +2 -2
  151. package/schematics/ng-update/migrations/css-selectors.d.ts +1 -1
  152. package/schematics/ng-update/migrations/css-selectors.js +2 -2
  153. package/schematics/ng-update/migrations/css-selectors.mjs +2 -2
  154. package/schematics/ng-update/migrations/css-tokens.d.ts +1 -1
  155. package/schematics/ng-update/migrations/css-tokens.js +2 -2
  156. package/schematics/ng-update/migrations/css-tokens.mjs +2 -2
  157. package/schematics/ng-update/migrations/element-selectors.d.ts +1 -1
  158. package/schematics/ng-update/migrations/element-selectors.js +2 -2
  159. package/schematics/ng-update/migrations/element-selectors.mjs +2 -2
  160. package/schematics/ng-update/migrations/input-names.d.ts +1 -1
  161. package/schematics/ng-update/migrations/input-names.js +2 -2
  162. package/schematics/ng-update/migrations/input-names.mjs +2 -2
  163. package/schematics/ng-update/migrations/method-call-arguments.d.ts +1 -1
  164. package/schematics/ng-update/migrations/method-call-arguments.js +2 -2
  165. package/schematics/ng-update/migrations/method-call-arguments.mjs +2 -2
  166. package/schematics/ng-update/migrations/misc-template.d.ts +1 -1
  167. package/schematics/ng-update/migrations/misc-template.js +2 -2
  168. package/schematics/ng-update/migrations/misc-template.mjs +2 -2
  169. package/schematics/ng-update/migrations/output-names.d.ts +1 -1
  170. package/schematics/ng-update/migrations/output-names.js +2 -2
  171. package/schematics/ng-update/migrations/output-names.mjs +2 -2
  172. package/schematics/ng-update/migrations/property-names.d.ts +1 -1
  173. package/schematics/ng-update/migrations/property-names.js +2 -2
  174. package/schematics/ng-update/migrations/property-names.mjs +2 -2
  175. package/schematics/ng-update/migrations/symbol-removal.d.ts +1 -1
  176. package/schematics/ng-update/migrations/symbol-removal.js +2 -2
  177. package/schematics/ng-update/migrations/symbol-removal.mjs +2 -2
  178. package/schematics/ng-update/public-api.d.ts +1 -1
  179. package/schematics/ng-update/public-api.js +2 -2
  180. package/schematics/ng-update/public-api.mjs +2 -2
  181. package/schematics/ng-update/typescript/base-types.d.ts +1 -1
  182. package/schematics/ng-update/typescript/base-types.js +2 -2
  183. package/schematics/ng-update/typescript/base-types.mjs +2 -2
  184. package/schematics/ng-update/typescript/imports.d.ts +1 -1
  185. package/schematics/ng-update/typescript/imports.js +2 -2
  186. package/schematics/ng-update/typescript/imports.mjs +2 -2
  187. package/schematics/ng-update/typescript/literal.d.ts +1 -1
  188. package/schematics/ng-update/typescript/literal.js +2 -2
  189. package/schematics/ng-update/typescript/literal.mjs +2 -2
  190. package/schematics/ng-update/typescript/module-specifiers.d.ts +1 -1
  191. package/schematics/ng-update/typescript/module-specifiers.js +2 -2
  192. package/schematics/ng-update/typescript/module-specifiers.mjs +2 -2
  193. package/schematics/ng-update/upgrade-data.d.ts +1 -1
  194. package/schematics/ng-update/upgrade-data.js +2 -2
  195. package/schematics/ng-update/upgrade-data.mjs +2 -2
  196. package/schematics/paths.d.ts +1 -1
  197. package/schematics/paths.js +2 -2
  198. package/schematics/paths.mjs +2 -2
  199. package/schematics/update-tool/component-resource-collector.d.ts +1 -1
  200. package/schematics/update-tool/component-resource-collector.js +2 -2
  201. package/schematics/update-tool/component-resource-collector.mjs +2 -2
  202. package/schematics/update-tool/file-system.d.ts +1 -1
  203. package/schematics/update-tool/file-system.js +2 -2
  204. package/schematics/update-tool/file-system.mjs +2 -2
  205. package/schematics/update-tool/index.d.ts +1 -1
  206. package/schematics/update-tool/index.js +2 -2
  207. package/schematics/update-tool/index.mjs +2 -2
  208. package/schematics/update-tool/logger.d.ts +1 -1
  209. package/schematics/update-tool/logger.js +2 -2
  210. package/schematics/update-tool/logger.mjs +2 -2
  211. package/schematics/update-tool/migration.d.ts +1 -1
  212. package/schematics/update-tool/migration.js +2 -2
  213. package/schematics/update-tool/migration.mjs +2 -2
  214. package/schematics/update-tool/public-api.d.ts +1 -1
  215. package/schematics/update-tool/public-api.js +2 -2
  216. package/schematics/update-tool/public-api.mjs +2 -2
  217. package/schematics/update-tool/target-version.d.ts +1 -1
  218. package/schematics/update-tool/target-version.js +2 -2
  219. package/schematics/update-tool/target-version.mjs +2 -2
  220. package/schematics/update-tool/update-recorder.d.ts +1 -1
  221. package/schematics/update-tool/update-recorder.js +2 -2
  222. package/schematics/update-tool/update-recorder.mjs +2 -2
  223. package/schematics/update-tool/utils/decorators.d.ts +1 -1
  224. package/schematics/update-tool/utils/decorators.js +2 -2
  225. package/schematics/update-tool/utils/decorators.mjs +2 -2
  226. package/schematics/update-tool/utils/diagnostics.d.ts +1 -1
  227. package/schematics/update-tool/utils/diagnostics.js +2 -2
  228. package/schematics/update-tool/utils/diagnostics.mjs +2 -2
  229. package/schematics/update-tool/utils/functions.d.ts +1 -1
  230. package/schematics/update-tool/utils/functions.js +2 -2
  231. package/schematics/update-tool/utils/functions.mjs +2 -2
  232. package/schematics/update-tool/utils/imports.d.ts +1 -1
  233. package/schematics/update-tool/utils/imports.js +2 -2
  234. package/schematics/update-tool/utils/imports.mjs +2 -2
  235. package/schematics/update-tool/utils/line-mappings.d.ts +1 -1
  236. package/schematics/update-tool/utils/line-mappings.js +2 -2
  237. package/schematics/update-tool/utils/line-mappings.mjs +2 -2
  238. package/schematics/update-tool/utils/parse-tsconfig.d.ts +1 -1
  239. package/schematics/update-tool/utils/parse-tsconfig.js +2 -2
  240. package/schematics/update-tool/utils/parse-tsconfig.mjs +2 -2
  241. package/schematics/update-tool/utils/property-name.d.ts +1 -1
  242. package/schematics/update-tool/utils/property-name.js +2 -2
  243. package/schematics/update-tool/utils/property-name.mjs +2 -2
  244. package/schematics/update-tool/utils/virtual-host.d.ts +1 -1
  245. package/schematics/update-tool/utils/virtual-host.js +2 -2
  246. package/schematics/update-tool/utils/virtual-host.mjs +2 -2
  247. package/schematics/update-tool/version-changes.d.ts +1 -1
  248. package/schematics/update-tool/version-changes.js +2 -2
  249. package/schematics/update-tool/version-changes.mjs +2 -2
  250. package/schematics/utils/ast/ng-module-imports.d.ts +1 -1
  251. package/schematics/utils/ast/ng-module-imports.js +2 -2
  252. package/schematics/utils/ast/ng-module-imports.mjs +2 -2
  253. package/schematics/utils/ast.d.ts +1 -1
  254. package/schematics/utils/ast.js +2 -2
  255. package/schematics/utils/ast.mjs +2 -2
  256. package/schematics/utils/build-component.d.ts +1 -1
  257. package/schematics/utils/build-component.js +2 -2
  258. package/schematics/utils/build-component.mjs +2 -2
  259. package/schematics/utils/get-project.d.ts +1 -1
  260. package/schematics/utils/get-project.js +2 -2
  261. package/schematics/utils/get-project.mjs +2 -2
  262. package/schematics/utils/html-manipulation.d.ts +1 -1
  263. package/schematics/utils/html-manipulation.js +2 -2
  264. package/schematics/utils/html-manipulation.mjs +2 -2
  265. package/schematics/utils/index.d.ts +1 -1
  266. package/schematics/utils/index.js +2 -2
  267. package/schematics/utils/index.mjs +2 -2
  268. package/schematics/utils/parse5-element.d.ts +1 -1
  269. package/schematics/utils/parse5-element.js +2 -2
  270. package/schematics/utils/parse5-element.mjs +2 -2
  271. package/schematics/utils/project-index-file.d.ts +1 -1
  272. package/schematics/utils/project-index-file.js +2 -2
  273. package/schematics/utils/project-index-file.mjs +2 -2
  274. package/schematics/utils/project-main-file.d.ts +1 -1
  275. package/schematics/utils/project-main-file.js +2 -2
  276. package/schematics/utils/project-main-file.mjs +2 -2
  277. package/schematics/utils/project-style-file.d.ts +1 -1
  278. package/schematics/utils/project-style-file.js +2 -2
  279. package/schematics/utils/project-style-file.mjs +2 -2
  280. package/schematics/utils/project-targets.d.ts +1 -1
  281. package/schematics/utils/project-targets.js +2 -2
  282. package/schematics/utils/project-targets.mjs +2 -2
  283. package/schematics/utils/project-tsconfig-paths.d.ts +1 -1
  284. package/schematics/utils/project-tsconfig-paths.js +2 -2
  285. package/schematics/utils/project-tsconfig-paths.mjs +2 -2
  286. package/schematics/utils/schematic-options.d.ts +1 -1
  287. package/schematics/utils/schematic-options.js +2 -2
  288. package/schematics/utils/schematic-options.mjs +2 -2
  289. package/scrolling/index.d.ts +17 -37
  290. package/stepper/index.d.ts +9 -11
  291. package/table/index.d.ts +36 -51
  292. package/text-field/index.d.ts +5 -9
  293. package/tree/index.d.ts +11 -13
@@ -1,12 +1,11 @@
1
- import * as i1 from '@angular/cdk/bidi';
1
+ import { Directionality } from '@angular/cdk/bidi';
2
2
  import { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, isDataSource, _ViewRepeaterOperation, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';
3
3
  export { DataSource } from '@angular/cdk/collections';
4
- import * as i2 from '@angular/cdk/platform';
5
- import * as i3 from '@angular/cdk/scrolling';
6
- import { ScrollingModule } from '@angular/cdk/scrolling';
4
+ import { Platform } from '@angular/cdk/platform';
5
+ import { ViewportRuler, ScrollingModule } from '@angular/cdk/scrolling';
7
6
  import { DOCUMENT } from '@angular/common';
8
7
  import * as i0 from '@angular/core';
9
- import { InjectionToken, Directive, booleanAttribute, Inject, Optional, Input, ContentChild, inject, NgZone, Injectable, Component, ChangeDetectionStrategy, ViewEncapsulation, EmbeddedViewRef, EventEmitter, Injector, afterNextRender, Attribute, SkipSelf, Output, ContentChildren, ViewChild, NgModule } from '@angular/core';
8
+ import { InjectionToken, inject, TemplateRef, Directive, booleanAttribute, Input, ContentChild, ElementRef, NgZone, Injectable, IterableDiffers, ViewContainerRef, Component, ChangeDetectionStrategy, ViewEncapsulation, EmbeddedViewRef, ChangeDetectorRef, EventEmitter, Injector, HostAttributeToken, afterNextRender, Output, ContentChildren, ViewChild, NgModule } from '@angular/core';
10
9
  import { Subject, BehaviorSubject, isObservable, of } from 'rxjs';
11
10
  import { takeUntil } from 'rxjs/operators';
12
11
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
@@ -24,55 +23,58 @@ const TEXT_COLUMN_OPTIONS = new InjectionToken('text-column-options');
24
23
  * Captures the template of a column's data row cell as well as cell-specific properties.
25
24
  */
26
25
  class CdkCellDef {
27
- constructor(/** @docs-private */ template) {
28
- this.template = template;
26
+ constructor() {
27
+ /** @docs-private */
28
+ this.template = inject(TemplateRef);
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
31
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkCellDef, isStandalone: true, selector: "[cdkCellDef]", ngImport: i0 }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkCellDef, isStandalone: true, selector: "[cdkCellDef]", ngImport: i0 }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkCellDef, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellDef, decorators: [{
34
34
  type: Directive,
35
35
  args: [{
36
36
  selector: '[cdkCellDef]',
37
37
  standalone: true,
38
38
  }]
39
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
39
+ }], ctorParameters: () => [] });
40
40
  /**
41
41
  * Header cell definition for a CDK table.
42
42
  * Captures the template of a column's header cell and as well as cell-specific properties.
43
43
  */
44
44
  class CdkHeaderCellDef {
45
- constructor(/** @docs-private */ template) {
46
- this.template = template;
45
+ constructor() {
46
+ /** @docs-private */
47
+ this.template = inject(TemplateRef);
47
48
  }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkHeaderCellDef, isStandalone: true, selector: "[cdkHeaderCellDef]", ngImport: i0 }); }
49
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
50
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkHeaderCellDef, isStandalone: true, selector: "[cdkHeaderCellDef]", ngImport: i0 }); }
50
51
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderCellDef, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCellDef, decorators: [{
52
53
  type: Directive,
53
54
  args: [{
54
55
  selector: '[cdkHeaderCellDef]',
55
56
  standalone: true,
56
57
  }]
57
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
58
+ }], ctorParameters: () => [] });
58
59
  /**
59
60
  * Footer cell definition for a CDK table.
60
61
  * Captures the template of a column's footer cell and as well as cell-specific properties.
61
62
  */
62
63
  class CdkFooterCellDef {
63
- constructor(/** @docs-private */ template) {
64
- this.template = template;
64
+ constructor() {
65
+ /** @docs-private */
66
+ this.template = inject(TemplateRef);
65
67
  }
66
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
67
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkFooterCellDef, isStandalone: true, selector: "[cdkFooterCellDef]", ngImport: i0 }); }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
69
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkFooterCellDef, isStandalone: true, selector: "[cdkFooterCellDef]", ngImport: i0 }); }
68
70
  }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterCellDef, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCellDef, decorators: [{
70
72
  type: Directive,
71
73
  args: [{
72
74
  selector: '[cdkFooterCellDef]',
73
75
  standalone: true,
74
76
  }]
75
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
77
+ }], ctorParameters: () => [] });
76
78
  /**
77
79
  * Column definition for the CDK table.
78
80
  * Defines a set of cells available for a table column.
@@ -109,8 +111,8 @@ class CdkColumnDef {
109
111
  this._hasStickyChanged = true;
110
112
  }
111
113
  }
112
- constructor(_table) {
113
- this._table = _table;
114
+ constructor() {
115
+ this._table = inject(CDK_TABLE, { optional: true });
114
116
  this._hasStickyChanged = false;
115
117
  this._sticky = false;
116
118
  this._stickyEnd = false;
@@ -150,22 +152,17 @@ class CdkColumnDef {
150
152
  this._updateColumnCssClassName();
151
153
  }
152
154
  }
153
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkColumnDef, deps: [{ token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
154
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.2", type: CdkColumnDef, isStandalone: true, selector: "[cdkColumnDef]", inputs: { name: ["cdkColumnDef", "name"], sticky: ["sticky", "sticky", booleanAttribute], stickyEnd: ["stickyEnd", "stickyEnd", booleanAttribute] }, providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }], queries: [{ propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true }, { propertyName: "footerCell", first: true, predicate: CdkFooterCellDef, descendants: true }], ngImport: i0 }); }
155
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
156
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkColumnDef, isStandalone: true, selector: "[cdkColumnDef]", inputs: { name: ["cdkColumnDef", "name"], sticky: ["sticky", "sticky", booleanAttribute], stickyEnd: ["stickyEnd", "stickyEnd", booleanAttribute] }, providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }], queries: [{ propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true }, { propertyName: "footerCell", first: true, predicate: CdkFooterCellDef, descendants: true }], ngImport: i0 }); }
155
157
  }
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkColumnDef, decorators: [{
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnDef, decorators: [{
157
159
  type: Directive,
158
160
  args: [{
159
161
  selector: '[cdkColumnDef]',
160
162
  providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],
161
163
  standalone: true,
162
164
  }]
163
- }], ctorParameters: () => [{ type: undefined, decorators: [{
164
- type: Inject,
165
- args: [CDK_TABLE]
166
- }, {
167
- type: Optional
168
- }] }], propDecorators: { name: [{
165
+ }], ctorParameters: () => [], propDecorators: { name: [{
169
166
  type: Input,
170
167
  args: ['cdkColumnDef']
171
168
  }], sticky: [{
@@ -192,13 +189,13 @@ class BaseCdkCell {
192
189
  }
193
190
  /** Header cell template container that adds the right classes and role. */
194
191
  class CdkHeaderCell extends BaseCdkCell {
195
- constructor(columnDef, elementRef) {
196
- super(columnDef, elementRef);
192
+ constructor() {
193
+ super(inject(CdkColumnDef), inject(ElementRef));
197
194
  }
198
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
199
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkHeaderCell, isStandalone: true, selector: "cdk-header-cell, th[cdk-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "cdk-header-cell" }, usesInheritance: true, ngImport: i0 }); }
195
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
196
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkHeaderCell, isStandalone: true, selector: "cdk-header-cell, th[cdk-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "cdk-header-cell" }, usesInheritance: true, ngImport: i0 }); }
200
197
  }
201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderCell, decorators: [{
198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCell, decorators: [{
202
199
  type: Directive,
203
200
  args: [{
204
201
  selector: 'cdk-header-cell, th[cdk-header-cell]',
@@ -208,20 +205,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
208
205
  },
209
206
  standalone: true,
210
207
  }]
211
- }], ctorParameters: () => [{ type: CdkColumnDef }, { type: i0.ElementRef }] });
208
+ }], ctorParameters: () => [] });
212
209
  /** Footer cell template container that adds the right classes and role. */
213
210
  class CdkFooterCell extends BaseCdkCell {
214
- constructor(columnDef, elementRef) {
211
+ constructor() {
212
+ const columnDef = inject(CdkColumnDef);
213
+ const elementRef = inject(ElementRef);
215
214
  super(columnDef, elementRef);
216
215
  const role = columnDef._table?._getCellRole();
217
216
  if (role) {
218
217
  elementRef.nativeElement.setAttribute('role', role);
219
218
  }
220
219
  }
221
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
222
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkFooterCell, isStandalone: true, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 }); }
220
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
221
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkFooterCell, isStandalone: true, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 }); }
223
222
  }
224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterCell, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCell, decorators: [{
225
224
  type: Directive,
226
225
  args: [{
227
226
  selector: 'cdk-footer-cell, td[cdk-footer-cell]',
@@ -230,20 +229,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
230
229
  },
231
230
  standalone: true,
232
231
  }]
233
- }], ctorParameters: () => [{ type: CdkColumnDef }, { type: i0.ElementRef }] });
232
+ }], ctorParameters: () => [] });
234
233
  /** Cell template container that adds the right classes and role. */
235
234
  class CdkCell extends BaseCdkCell {
236
- constructor(columnDef, elementRef) {
235
+ constructor() {
236
+ const columnDef = inject(CdkColumnDef);
237
+ const elementRef = inject(ElementRef);
237
238
  super(columnDef, elementRef);
238
239
  const role = columnDef._table?._getCellRole();
239
240
  if (role) {
240
241
  elementRef.nativeElement.setAttribute('role', role);
241
242
  }
242
243
  }
243
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
244
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkCell, isStandalone: true, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 }); }
244
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
245
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkCell, isStandalone: true, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 }); }
245
246
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkCell, decorators: [{
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCell, decorators: [{
247
248
  type: Directive,
248
249
  args: [{
249
250
  selector: 'cdk-cell, td[cdk-cell]',
@@ -252,7 +253,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
252
253
  },
253
254
  standalone: true,
254
255
  }]
255
- }], ctorParameters: () => [{ type: CdkColumnDef }, { type: i0.ElementRef }] });
256
+ }], ctorParameters: () => [] });
256
257
 
257
258
  /**
258
259
  * @docs-private
@@ -273,7 +274,7 @@ const _COALESCED_STYLE_SCHEDULER = new InjectionToken('_COALESCED_STYLE_SCHEDULE
273
274
  * @docs-private
274
275
  */
275
276
  class _CoalescedStyleScheduler {
276
- constructor(_unusedNgZone) {
277
+ constructor() {
277
278
  this._currentSchedule = null;
278
279
  this._ngZone = inject(NgZone);
279
280
  }
@@ -317,12 +318,12 @@ class _CoalescedStyleScheduler {
317
318
  this._currentSchedule = null;
318
319
  }));
319
320
  }
320
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: _CoalescedStyleScheduler, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
321
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: _CoalescedStyleScheduler }); }
321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
322
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler }); }
322
323
  }
323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
324
325
  type: Injectable
325
- }], ctorParameters: () => [{ type: i0.NgZone }] });
326
+ }], ctorParameters: () => [] });
326
327
 
327
328
  /**
328
329
  * The row template that can be used by the mat-table. Should not be used outside of the
@@ -334,10 +335,9 @@ const CDK_ROW_TEMPLATE = `<ng-container cdkCellOutlet></ng-container>`;
334
335
  * for changes and notifying the table.
335
336
  */
336
337
  class BaseRowDef {
337
- constructor(
338
- /** @docs-private */ template, _differs) {
339
- this.template = template;
340
- this._differs = _differs;
338
+ constructor() {
339
+ this.template = inject(TemplateRef);
340
+ this._differs = inject(IterableDiffers);
341
341
  }
342
342
  ngOnChanges(changes) {
343
343
  // Create a new columns differ if one does not yet exist. Initialize it based on initial value
@@ -367,12 +367,12 @@ class BaseRowDef {
367
367
  return column.cell.template;
368
368
  }
369
369
  }
370
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: BaseRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
371
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: BaseRowDef, usesOnChanges: true, ngImport: i0 }); }
370
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: BaseRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
371
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: BaseRowDef, usesOnChanges: true, ngImport: i0 }); }
372
372
  }
373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: BaseRowDef, decorators: [{
373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: BaseRowDef, decorators: [{
374
374
  type: Directive
375
- }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }] });
375
+ }], ctorParameters: () => [] });
376
376
  /**
377
377
  * Header row definition for the CDK table.
378
378
  * Captures the header row's template and other header properties such as the columns to display.
@@ -388,9 +388,9 @@ class CdkHeaderRowDef extends BaseRowDef {
388
388
  this._hasStickyChanged = true;
389
389
  }
390
390
  }
391
- constructor(template, _differs, _table) {
392
- super(template, _differs);
393
- this._table = _table;
391
+ constructor() {
392
+ super(inject(TemplateRef), inject(IterableDiffers));
393
+ this._table = inject(CDK_TABLE, { optional: true });
394
394
  this._hasStickyChanged = false;
395
395
  this._sticky = false;
396
396
  }
@@ -409,22 +409,17 @@ class CdkHeaderRowDef extends BaseRowDef {
409
409
  resetStickyChanged() {
410
410
  this._hasStickyChanged = false;
411
411
  }
412
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
413
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.2", type: CdkHeaderRowDef, isStandalone: true, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
412
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
413
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkHeaderRowDef, isStandalone: true, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
414
414
  }
415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderRowDef, decorators: [{
415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRowDef, decorators: [{
416
416
  type: Directive,
417
417
  args: [{
418
418
  selector: '[cdkHeaderRowDef]',
419
419
  inputs: [{ name: 'columns', alias: 'cdkHeaderRowDef' }],
420
420
  standalone: true,
421
421
  }]
422
- }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
423
- type: Inject,
424
- args: [CDK_TABLE]
425
- }, {
426
- type: Optional
427
- }] }], propDecorators: { sticky: [{
422
+ }], ctorParameters: () => [], propDecorators: { sticky: [{
428
423
  type: Input,
429
424
  args: [{ alias: 'cdkHeaderRowDefSticky', transform: booleanAttribute }]
430
425
  }] } });
@@ -443,9 +438,9 @@ class CdkFooterRowDef extends BaseRowDef {
443
438
  this._hasStickyChanged = true;
444
439
  }
445
440
  }
446
- constructor(template, _differs, _table) {
447
- super(template, _differs);
448
- this._table = _table;
441
+ constructor() {
442
+ super(inject(TemplateRef), inject(IterableDiffers));
443
+ this._table = inject(CDK_TABLE, { optional: true });
449
444
  this._hasStickyChanged = false;
450
445
  this._sticky = false;
451
446
  }
@@ -464,22 +459,17 @@ class CdkFooterRowDef extends BaseRowDef {
464
459
  resetStickyChanged() {
465
460
  this._hasStickyChanged = false;
466
461
  }
467
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
468
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.2", type: CdkFooterRowDef, isStandalone: true, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
462
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
463
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkFooterRowDef, isStandalone: true, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
469
464
  }
470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterRowDef, decorators: [{
465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRowDef, decorators: [{
471
466
  type: Directive,
472
467
  args: [{
473
468
  selector: '[cdkFooterRowDef]',
474
469
  inputs: [{ name: 'columns', alias: 'cdkFooterRowDef' }],
475
470
  standalone: true,
476
471
  }]
477
- }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
478
- type: Inject,
479
- args: [CDK_TABLE]
480
- }, {
481
- type: Optional
482
- }] }], propDecorators: { sticky: [{
472
+ }], ctorParameters: () => [], propDecorators: { sticky: [{
483
473
  type: Input,
484
474
  args: [{ alias: 'cdkFooterRowDefSticky', transform: booleanAttribute }]
485
475
  }] } });
@@ -489,16 +479,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
489
479
  * a when predicate that describes when this row should be used.
490
480
  */
491
481
  class CdkRowDef extends BaseRowDef {
492
- // TODO(andrewseguin): Add an input for providing a switch function to determine
493
- // if this template should be used.
494
- constructor(template, _differs, _table) {
495
- super(template, _differs);
496
- this._table = _table;
497
- }
498
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
499
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkRowDef, isStandalone: true, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 }); }
482
+ constructor() {
483
+ // TODO(andrewseguin): Add an input for providing a switch function to determine
484
+ // if this template should be used.
485
+ super(inject(TemplateRef), inject(IterableDiffers));
486
+ this._table = inject(CDK_TABLE, { optional: true });
487
+ }
488
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
489
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkRowDef, isStandalone: true, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 }); }
500
490
  }
501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkRowDef, decorators: [{
491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRowDef, decorators: [{
502
492
  type: Directive,
503
493
  args: [{
504
494
  selector: '[cdkRowDef]',
@@ -508,12 +498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
508
498
  ],
509
499
  standalone: true,
510
500
  }]
511
- }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
512
- type: Inject,
513
- args: [CDK_TABLE]
514
- }, {
515
- type: Optional
516
- }] }] });
501
+ }], ctorParameters: () => [] });
517
502
  /**
518
503
  * Outlet for rendering cells inside of a row or header row.
519
504
  * @docs-private
@@ -527,8 +512,8 @@ class CdkCellOutlet {
527
512
  * construct the cells with the provided context.
528
513
  */
529
514
  static { this.mostRecentCellOutlet = null; }
530
- constructor(_viewContainer) {
531
- this._viewContainer = _viewContainer;
515
+ constructor() {
516
+ this._viewContainer = inject(ViewContainerRef);
532
517
  CdkCellOutlet.mostRecentCellOutlet = this;
533
518
  }
534
519
  ngOnDestroy() {
@@ -538,22 +523,22 @@ class CdkCellOutlet {
538
523
  CdkCellOutlet.mostRecentCellOutlet = null;
539
524
  }
540
525
  }
541
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkCellOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
542
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkCellOutlet, isStandalone: true, selector: "[cdkCellOutlet]", ngImport: i0 }); }
526
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
527
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkCellOutlet, isStandalone: true, selector: "[cdkCellOutlet]", ngImport: i0 }); }
543
528
  }
544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkCellOutlet, decorators: [{
529
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellOutlet, decorators: [{
545
530
  type: Directive,
546
531
  args: [{
547
532
  selector: '[cdkCellOutlet]',
548
533
  standalone: true,
549
534
  }]
550
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
535
+ }], ctorParameters: () => [] });
551
536
  /** Header template container that contains the cell outlet. Adds the right class and role. */
552
537
  class CdkHeaderRow {
553
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
554
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkHeaderRow, isStandalone: true, selector: "cdk-header-row, tr[cdk-header-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-header-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
538
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
539
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkHeaderRow, isStandalone: true, selector: "cdk-header-row, tr[cdk-header-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-header-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
555
540
  }
556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkHeaderRow, decorators: [{
541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRow, decorators: [{
557
542
  type: Component,
558
543
  args: [{
559
544
  selector: 'cdk-header-row, tr[cdk-header-row]',
@@ -572,10 +557,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
572
557
  }] });
573
558
  /** Footer template container that contains the cell outlet. Adds the right class and role. */
574
559
  class CdkFooterRow {
575
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
576
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkFooterRow, isStandalone: true, selector: "cdk-footer-row, tr[cdk-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-footer-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
560
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
561
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkFooterRow, isStandalone: true, selector: "cdk-footer-row, tr[cdk-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-footer-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
577
562
  }
578
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkFooterRow, decorators: [{
563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRow, decorators: [{
579
564
  type: Component,
580
565
  args: [{
581
566
  selector: 'cdk-footer-row, tr[cdk-footer-row]',
@@ -594,10 +579,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
594
579
  }] });
595
580
  /** Data row template container that contains the cell outlet. Adds the right class and role. */
596
581
  class CdkRow {
597
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
598
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkRow, isStandalone: true, selector: "cdk-row, tr[cdk-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
582
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
583
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkRow, isStandalone: true, selector: "cdk-row, tr[cdk-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
599
584
  }
600
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkRow, decorators: [{
585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRow, decorators: [{
601
586
  type: Component,
602
587
  args: [{
603
588
  selector: 'cdk-row, tr[cdk-row]',
@@ -616,20 +601,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
616
601
  }] });
617
602
  /** Row that can be used to display a message when no data is shown in the table. */
618
603
  class CdkNoDataRow {
619
- constructor(templateRef) {
620
- this.templateRef = templateRef;
604
+ constructor() {
605
+ this.templateRef = inject(TemplateRef);
621
606
  this._contentClassName = 'cdk-no-data-row';
622
607
  }
623
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkNoDataRow, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
624
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkNoDataRow, isStandalone: true, selector: "ng-template[cdkNoDataRow]", ngImport: i0 }); }
608
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkNoDataRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
609
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkNoDataRow, isStandalone: true, selector: "ng-template[cdkNoDataRow]", ngImport: i0 }); }
625
610
  }
626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkNoDataRow, decorators: [{
611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkNoDataRow, decorators: [{
627
612
  type: Directive,
628
613
  args: [{
629
614
  selector: 'ng-template[cdkNoDataRow]',
630
615
  standalone: true,
631
616
  }]
632
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
617
+ }], ctorParameters: () => [] });
633
618
 
634
619
  /**
635
620
  * List of all possible directions that can be used for sticky positioning.
@@ -1039,10 +1024,10 @@ const STICKY_POSITIONING_LISTENER = new InjectionToken('CDK_SPL');
1039
1024
  * tables that animate rows.
1040
1025
  */
1041
1026
  class CdkRecycleRows {
1042
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1043
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkRecycleRows, isStandalone: true, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
1027
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1028
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkRecycleRows, isStandalone: true, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
1044
1029
  }
1045
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkRecycleRows, decorators: [{
1030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRecycleRows, decorators: [{
1046
1031
  type: Directive,
1047
1032
  args: [{
1048
1033
  selector: 'cdk-table[recycleRows], table[cdk-table][recycleRows]',
@@ -1055,90 +1040,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
1055
1040
  * @docs-private
1056
1041
  */
1057
1042
  class DataRowOutlet {
1058
- constructor(viewContainer, elementRef) {
1059
- this.viewContainer = viewContainer;
1060
- this.elementRef = elementRef;
1043
+ constructor() {
1044
+ this.viewContainer = inject(ViewContainerRef);
1045
+ this.elementRef = inject(ElementRef);
1061
1046
  const table = inject(CDK_TABLE);
1062
1047
  table._rowOutlet = this;
1063
1048
  table._outletAssigned();
1064
1049
  }
1065
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: DataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1066
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: DataRowOutlet, isStandalone: true, selector: "[rowOutlet]", ngImport: i0 }); }
1050
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DataRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1051
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: DataRowOutlet, isStandalone: true, selector: "[rowOutlet]", ngImport: i0 }); }
1067
1052
  }
1068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: DataRowOutlet, decorators: [{
1053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DataRowOutlet, decorators: [{
1069
1054
  type: Directive,
1070
1055
  args: [{
1071
1056
  selector: '[rowOutlet]',
1072
1057
  standalone: true,
1073
1058
  }]
1074
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
1059
+ }], ctorParameters: () => [] });
1075
1060
  /**
1076
1061
  * Provides a handle for the table to grab the view container's ng-container to insert the header.
1077
1062
  * @docs-private
1078
1063
  */
1079
1064
  class HeaderRowOutlet {
1080
- constructor(viewContainer, elementRef) {
1081
- this.viewContainer = viewContainer;
1082
- this.elementRef = elementRef;
1065
+ constructor() {
1066
+ this.viewContainer = inject(ViewContainerRef);
1067
+ this.elementRef = inject(ElementRef);
1083
1068
  const table = inject(CDK_TABLE);
1084
1069
  table._headerRowOutlet = this;
1085
1070
  table._outletAssigned();
1086
1071
  }
1087
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: HeaderRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1088
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: HeaderRowOutlet, isStandalone: true, selector: "[headerRowOutlet]", ngImport: i0 }); }
1072
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1073
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: HeaderRowOutlet, isStandalone: true, selector: "[headerRowOutlet]", ngImport: i0 }); }
1089
1074
  }
1090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: HeaderRowOutlet, decorators: [{
1075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowOutlet, decorators: [{
1091
1076
  type: Directive,
1092
1077
  args: [{
1093
1078
  selector: '[headerRowOutlet]',
1094
1079
  standalone: true,
1095
1080
  }]
1096
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
1081
+ }], ctorParameters: () => [] });
1097
1082
  /**
1098
1083
  * Provides a handle for the table to grab the view container's ng-container to insert the footer.
1099
1084
  * @docs-private
1100
1085
  */
1101
1086
  class FooterRowOutlet {
1102
- constructor(viewContainer, elementRef) {
1103
- this.viewContainer = viewContainer;
1104
- this.elementRef = elementRef;
1087
+ constructor() {
1088
+ this.viewContainer = inject(ViewContainerRef);
1089
+ this.elementRef = inject(ElementRef);
1105
1090
  const table = inject(CDK_TABLE);
1106
1091
  table._footerRowOutlet = this;
1107
1092
  table._outletAssigned();
1108
1093
  }
1109
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: FooterRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1110
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: FooterRowOutlet, isStandalone: true, selector: "[footerRowOutlet]", ngImport: i0 }); }
1094
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: FooterRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1095
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: FooterRowOutlet, isStandalone: true, selector: "[footerRowOutlet]", ngImport: i0 }); }
1111
1096
  }
1112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: FooterRowOutlet, decorators: [{
1097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: FooterRowOutlet, decorators: [{
1113
1098
  type: Directive,
1114
1099
  args: [{
1115
1100
  selector: '[footerRowOutlet]',
1116
1101
  standalone: true,
1117
1102
  }]
1118
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
1103
+ }], ctorParameters: () => [] });
1119
1104
  /**
1120
1105
  * Provides a handle for the table to grab the view
1121
1106
  * container's ng-container to insert the no data row.
1122
1107
  * @docs-private
1123
1108
  */
1124
1109
  class NoDataRowOutlet {
1125
- constructor(viewContainer, elementRef) {
1126
- this.viewContainer = viewContainer;
1127
- this.elementRef = elementRef;
1110
+ constructor() {
1111
+ this.viewContainer = inject(ViewContainerRef);
1112
+ this.elementRef = inject(ElementRef);
1128
1113
  const table = inject(CDK_TABLE);
1129
1114
  table._noDataRowOutlet = this;
1130
1115
  table._outletAssigned();
1131
1116
  }
1132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: NoDataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1133
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: NoDataRowOutlet, isStandalone: true, selector: "[noDataRowOutlet]", ngImport: i0 }); }
1117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: NoDataRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1118
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: NoDataRowOutlet, isStandalone: true, selector: "[noDataRowOutlet]", ngImport: i0 }); }
1134
1119
  }
1135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: NoDataRowOutlet, decorators: [{
1120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: NoDataRowOutlet, decorators: [{
1136
1121
  type: Directive,
1137
1122
  args: [{
1138
1123
  selector: '[noDataRowOutlet]',
1139
1124
  standalone: true,
1140
1125
  }]
1141
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
1126
+ }], ctorParameters: () => [] });
1142
1127
  /**
1143
1128
  * The table template that can be used by the mat-table. Should not be used outside of the
1144
1129
  * material library.
@@ -1274,26 +1259,17 @@ class CdkTable {
1274
1259
  this._forceRecalculateCellWidths = true;
1275
1260
  this._stickyColumnStylesNeedReset = true;
1276
1261
  }
1277
- constructor(_differs, _changeDetectorRef, _elementRef, role, _dir, _document, _platform, _viewRepeater, _coalescedStyleScheduler, _viewportRuler,
1278
- /**
1279
- * @deprecated `_stickyPositioningListener` parameter to become required.
1280
- * @breaking-change 13.0.0
1281
- */
1282
- _stickyPositioningListener,
1283
- /**
1284
- * @deprecated `_unusedNgZone` parameter to be removed.
1285
- * @breaking-change 19.0.0
1286
- */
1287
- _unusedNgZone) {
1288
- this._differs = _differs;
1289
- this._changeDetectorRef = _changeDetectorRef;
1290
- this._elementRef = _elementRef;
1291
- this._dir = _dir;
1292
- this._platform = _platform;
1293
- this._viewRepeater = _viewRepeater;
1294
- this._coalescedStyleScheduler = _coalescedStyleScheduler;
1295
- this._viewportRuler = _viewportRuler;
1296
- this._stickyPositioningListener = _stickyPositioningListener;
1262
+ constructor() {
1263
+ this._differs = inject(IterableDiffers);
1264
+ this._changeDetectorRef = inject(ChangeDetectorRef);
1265
+ this._elementRef = inject(ElementRef);
1266
+ this._dir = inject(Directionality, { optional: true });
1267
+ this._platform = inject(Platform);
1268
+ this._viewRepeater = inject(_VIEW_REPEATER_STRATEGY);
1269
+ this._coalescedStyleScheduler = inject(_COALESCED_STYLE_SCHEDULER);
1270
+ this._viewportRuler = inject(ViewportRuler);
1271
+ this._stickyPositioningListener = inject(STICKY_POSITIONING_LISTENER, { optional: true, skipSelf: true });
1272
+ this._document = inject(DOCUMENT);
1297
1273
  /** Subject that emits when the component has been destroyed. */
1298
1274
  this._onDestroy = new Subject();
1299
1275
  /**
@@ -1399,12 +1375,12 @@ class CdkTable {
1399
1375
  end: Number.MAX_VALUE,
1400
1376
  });
1401
1377
  this._injector = inject(Injector);
1378
+ const role = inject(new HostAttributeToken('role'), { optional: true });
1402
1379
  if (!role) {
1403
- _elementRef.nativeElement.setAttribute('role', 'table');
1380
+ this._elementRef.nativeElement.setAttribute('role', 'table');
1404
1381
  }
1405
- this._document = _document;
1406
- this._isServer = !_platform.isBrowser;
1407
- this._isNativeHtmlTable = _elementRef.nativeElement.nodeName === 'TABLE';
1382
+ this._isServer = !this._platform.isBrowser;
1383
+ this._isNativeHtmlTable = this._elementRef.nativeElement.nodeName === 'TABLE';
1408
1384
  }
1409
1385
  ngOnInit() {
1410
1386
  this._setupStickyStyler();
@@ -2053,8 +2029,8 @@ class CdkTable {
2053
2029
  this._isShowingNoDataRow = shouldShow;
2054
2030
  this._changeDetectorRef.markForCheck();
2055
2031
  }
2056
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTable, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: 'role', attribute: true }, { token: i1.Directionality, optional: true }, { token: DOCUMENT }, { token: i2.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
2057
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-next.2", type: CdkTable, isStandalone: true, selector: "cdk-table, table[cdk-table]", inputs: { trackBy: "trackBy", dataSource: "dataSource", multiTemplateDataRows: ["multiTemplateDataRows", "multiTemplateDataRows", booleanAttribute], fixedLayout: ["fixedLayout", "fixedLayout", booleanAttribute] }, outputs: { contentChanged: "contentChanged" }, host: { properties: { "class.cdk-table-fixed-layout": "fixedLayout" }, classAttribute: "cdk-table" }, providers: [
2032
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2033
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-next.3", type: CdkTable, isStandalone: true, selector: "cdk-table, table[cdk-table]", inputs: { trackBy: "trackBy", dataSource: "dataSource", multiTemplateDataRows: ["multiTemplateDataRows", "multiTemplateDataRows", booleanAttribute], fixedLayout: ["fixedLayout", "fixedLayout", booleanAttribute] }, outputs: { contentChanged: "contentChanged" }, host: { properties: { "class.cdk-table-fixed-layout": "fixedLayout" }, classAttribute: "cdk-table" }, providers: [
2058
2034
  { provide: CDK_TABLE, useExisting: CdkTable },
2059
2035
  { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
2060
2036
  { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
@@ -2062,7 +2038,7 @@ class CdkTable {
2062
2038
  { provide: STICKY_POSITIONING_LISTENER, useValue: null },
2063
2039
  ], queries: [{ propertyName: "_noDataRow", first: true, predicate: CdkNoDataRow, descendants: true }, { propertyName: "_contentColumnDefs", predicate: CdkColumnDef, descendants: true }, { propertyName: "_contentRowDefs", predicate: CdkRowDef, descendants: true }, { propertyName: "_contentHeaderRowDefs", predicate: CdkHeaderRowDef, descendants: true }, { propertyName: "_contentFooterRowDefs", predicate: CdkFooterRowDef, descendants: true }], exportAs: ["cdkTable"], ngImport: i0, template: "\n <ng-content select=\"caption\"/>\n <ng-content select=\"colgroup, col\"/>\n\n <!--\n Unprojected content throws a hydration error so we need this to capture it.\n It gets removed on the client so it doesn't affect the layout.\n -->\n @if (_isServer) {\n <ng-content/>\n }\n\n @if (_isNativeHtmlTable) {\n <thead role=\"rowgroup\">\n <ng-container headerRowOutlet/>\n </thead>\n <tbody role=\"rowgroup\">\n <ng-container rowOutlet/>\n <ng-container noDataRowOutlet/>\n </tbody>\n <tfoot role=\"rowgroup\">\n <ng-container footerRowOutlet/>\n </tfoot>\n } @else {\n <ng-container headerRowOutlet/>\n <ng-container rowOutlet/>\n <ng-container noDataRowOutlet/>\n <ng-container footerRowOutlet/>\n }\n", isInline: true, styles: [".cdk-table-fixed-layout{table-layout:fixed}"], dependencies: [{ kind: "directive", type: HeaderRowOutlet, selector: "[headerRowOutlet]" }, { kind: "directive", type: DataRowOutlet, selector: "[rowOutlet]" }, { kind: "directive", type: NoDataRowOutlet, selector: "[noDataRowOutlet]" }, { kind: "directive", type: FooterRowOutlet, selector: "[footerRowOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
2064
2040
  }
2065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTable, decorators: [{
2041
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTable, decorators: [{
2066
2042
  type: Component,
2067
2043
  args: [{ selector: 'cdk-table, table[cdk-table]', exportAs: 'cdkTable', template: CDK_TABLE_TEMPLATE, host: {
2068
2044
  'class': 'cdk-table',
@@ -2074,30 +2050,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
2074
2050
  // Prevent nested tables from seeing this table's StickyPositioningListener.
2075
2051
  { provide: STICKY_POSITIONING_LISTENER, useValue: null },
2076
2052
  ], standalone: true, imports: [HeaderRowOutlet, DataRowOutlet, NoDataRowOutlet, FooterRowOutlet], styles: [".cdk-table-fixed-layout{table-layout:fixed}"] }]
2077
- }], ctorParameters: () => [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
2078
- type: Attribute,
2079
- args: ['role']
2080
- }] }, { type: i1.Directionality, decorators: [{
2081
- type: Optional
2082
- }] }, { type: undefined, decorators: [{
2083
- type: Inject,
2084
- args: [DOCUMENT]
2085
- }] }, { type: i2.Platform }, { type: undefined, decorators: [{
2086
- type: Inject,
2087
- args: [_VIEW_REPEATER_STRATEGY]
2088
- }] }, { type: _CoalescedStyleScheduler, decorators: [{
2089
- type: Inject,
2090
- args: [_COALESCED_STYLE_SCHEDULER]
2091
- }] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{
2092
- type: Optional
2093
- }, {
2094
- type: SkipSelf
2095
- }, {
2096
- type: Inject,
2097
- args: [STICKY_POSITIONING_LISTENER]
2098
- }] }, { type: i0.NgZone, decorators: [{
2099
- type: Optional
2100
- }] }], propDecorators: { trackBy: [{
2053
+ }], ctorParameters: () => [], propDecorators: { trackBy: [{
2101
2054
  type: Input
2102
2055
  }], dataSource: [{
2103
2056
  type: Input
@@ -2175,16 +2128,12 @@ class CdkTextColumn {
2175
2128
  // available. In that case, we defer the synchronization until "ngOnInit" fires.
2176
2129
  this._syncColumnDefName();
2177
2130
  }
2178
- constructor(
2179
- // `CdkTextColumn` is always requiring a table, but we just assert it manually
2180
- // for better error reporting.
2181
- // tslint:disable-next-line: lightweight-tokens
2182
- _table, _options) {
2183
- this._table = _table;
2184
- this._options = _options;
2131
+ constructor() {
2132
+ this._table = inject(CdkTable, { optional: true });
2133
+ this._options = inject(TEXT_COLUMN_OPTIONS, { optional: true });
2185
2134
  /** Alignment of the cell values. */
2186
2135
  this.justify = 'start';
2187
- this._options = _options || {};
2136
+ this._options = this._options || {};
2188
2137
  }
2189
2138
  ngOnInit() {
2190
2139
  this._syncColumnDefName();
@@ -2232,8 +2181,8 @@ class CdkTextColumn {
2232
2181
  this.columnDef.name = this.name;
2233
2182
  }
2234
2183
  }
2235
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTextColumn, deps: [{ token: CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
2236
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.2", type: CdkTextColumn, isStandalone: true, selector: "cdk-text-column", inputs: { name: "name", headerText: "headerText", dataAccessor: "dataAccessor", justify: "justify" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
2184
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTextColumn, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2185
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkTextColumn, isStandalone: true, selector: "cdk-text-column", inputs: { name: "name", headerText: "headerText", dataAccessor: "dataAccessor", justify: "justify" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
2237
2186
  <ng-container cdkColumnDef>
2238
2187
  <th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
2239
2188
  {{headerText}}
@@ -2244,7 +2193,7 @@ class CdkTextColumn {
2244
2193
  </ng-container>
2245
2194
  `, isInline: true, dependencies: [{ kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
2246
2195
  }
2247
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTextColumn, decorators: [{
2196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTextColumn, decorators: [{
2248
2197
  type: Component,
2249
2198
  args: [{
2250
2199
  selector: 'cdk-text-column',
@@ -2269,14 +2218,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2",
2269
2218
  standalone: true,
2270
2219
  imports: [CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkCellDef, CdkCell],
2271
2220
  }]
2272
- }], ctorParameters: () => [{ type: CdkTable, decorators: [{
2273
- type: Optional
2274
- }] }, { type: undefined, decorators: [{
2275
- type: Optional
2276
- }, {
2277
- type: Inject,
2278
- args: [TEXT_COLUMN_OPTIONS]
2279
- }] }], propDecorators: { name: [{
2221
+ }], ctorParameters: () => [], propDecorators: { name: [{
2280
2222
  type: Input
2281
2223
  }], headerText: [{
2282
2224
  type: Input
@@ -2320,8 +2262,8 @@ const EXPORTED_DECLARATIONS = [
2320
2262
  NoDataRowOutlet,
2321
2263
  ];
2322
2264
  class CdkTableModule {
2323
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2324
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule, CdkTable,
2265
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2266
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule, CdkTable,
2325
2267
  CdkRowDef,
2326
2268
  CdkCellDef,
2327
2269
  CdkCellOutlet,
@@ -2364,9 +2306,9 @@ class CdkTableModule {
2364
2306
  CdkNoDataRow,
2365
2307
  CdkRecycleRows,
2366
2308
  NoDataRowOutlet] }); }
2367
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule] }); }
2309
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule] }); }
2368
2310
  }
2369
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: CdkTableModule, decorators: [{
2311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTableModule, decorators: [{
2370
2312
  type: NgModule,
2371
2313
  args: [{
2372
2314
  exports: EXPORTED_DECLARATIONS,