@angular/cdk 20.0.0-next.0 → 20.0.0-next.10

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 (401) hide show
  1. package/_adev_assets/cdk_testing.json +1 -0
  2. package/_adev_assets/cdk_testing_protractor.json +1 -0
  3. package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
  4. package/_adev_assets/cdk_testing_testbed.json +1 -0
  5. package/a11y/index.d.ts +330 -1234
  6. package/a11y-module.d-DBHGyKoh.d.ts +314 -0
  7. package/a11y-prebuilt.css +1 -1
  8. package/accordion/index.d.ts +8 -27
  9. package/activedescendant-key-manager.d-Bjic5obv.d.ts +32 -0
  10. package/bidi/index.d.ts +3 -62
  11. package/bidi-module.d-IN1Vp56w.d.ts +57 -0
  12. package/clipboard/index.d.ts +62 -75
  13. package/coercion/index.d.ts +11 -33
  14. package/coercion/private/index.d.ts +2 -2
  15. package/collections/index.d.ts +14 -291
  16. package/data-source.d-Bblv7Zvh.d.ts +43 -0
  17. package/dialog/index.d.ts +217 -255
  18. package/drag-drop/index.d.ts +1085 -1157
  19. package/fesm2022/a11y-module-DpEjWNCj.mjs +951 -0
  20. package/fesm2022/a11y-module-DpEjWNCj.mjs.map +1 -0
  21. package/fesm2022/a11y.mjs +47 -2446
  22. package/fesm2022/a11y.mjs.map +1 -1
  23. package/fesm2022/accordion.mjs +12 -16
  24. package/fesm2022/accordion.mjs.map +1 -1
  25. package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs +16 -0
  26. package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +1 -0
  27. package/fesm2022/array-I1yfCXUO.mjs +6 -0
  28. package/fesm2022/array-I1yfCXUO.mjs.map +1 -0
  29. package/fesm2022/bidi.mjs +17 -83
  30. package/fesm2022/bidi.mjs.map +1 -1
  31. package/fesm2022/breakpoints-observer-DpQzdtrE.mjs +179 -0
  32. package/fesm2022/breakpoints-observer-DpQzdtrE.mjs.map +1 -0
  33. package/fesm2022/cdk.mjs +1 -1
  34. package/fesm2022/cdk.mjs.map +1 -1
  35. package/fesm2022/clipboard.mjs +11 -16
  36. package/fesm2022/clipboard.mjs.map +1 -1
  37. package/fesm2022/coercion/private.mjs +0 -4
  38. package/fesm2022/coercion/private.mjs.map +1 -1
  39. package/fesm2022/coercion.mjs +5 -39
  40. package/fesm2022/coercion.mjs.map +1 -1
  41. package/fesm2022/collections.mjs +7 -476
  42. package/fesm2022/collections.mjs.map +1 -1
  43. package/fesm2022/css-pixel-value-C_HEqLhI.mjs +10 -0
  44. package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -0
  45. package/fesm2022/data-source-D34wiQZj.mjs +15 -0
  46. package/fesm2022/data-source-D34wiQZj.mjs.map +1 -0
  47. package/fesm2022/dialog.mjs +88 -73
  48. package/fesm2022/dialog.mjs.map +1 -1
  49. package/fesm2022/directionality-Ck5Uc9Se.mjs +77 -0
  50. package/fesm2022/directionality-Ck5Uc9Se.mjs.map +1 -0
  51. package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs +44 -0
  52. package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +1 -0
  53. package/fesm2022/drag-drop.mjs +128 -65
  54. package/fesm2022/drag-drop.mjs.map +1 -1
  55. package/fesm2022/element-x4z00URv.mjs +29 -0
  56. package/fesm2022/element-x4z00URv.mjs.map +1 -0
  57. package/fesm2022/fake-event-detection-DWOdFTFz.mjs +24 -0
  58. package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -0
  59. package/fesm2022/focus-key-manager-C1rAQJ5z.mjs +22 -0
  60. package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +1 -0
  61. package/fesm2022/focus-monitor-DKFfep8Q.mjs +627 -0
  62. package/fesm2022/focus-monitor-DKFfep8Q.mjs.map +1 -0
  63. package/fesm2022/id-generator-BwB8lolC.mjs +37 -0
  64. package/fesm2022/id-generator-BwB8lolC.mjs.map +1 -0
  65. package/fesm2022/keycodes-CpHkExLC.mjs +122 -0
  66. package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -0
  67. package/fesm2022/keycodes.mjs +2 -124
  68. package/fesm2022/keycodes.mjs.map +1 -1
  69. package/fesm2022/layout.mjs +12 -184
  70. package/fesm2022/layout.mjs.map +1 -1
  71. package/fesm2022/list-key-manager-CyOIXo8P.mjs +360 -0
  72. package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +1 -0
  73. package/fesm2022/listbox.mjs +21 -20
  74. package/fesm2022/listbox.mjs.map +1 -1
  75. package/fesm2022/menu.mjs +86 -75
  76. package/fesm2022/menu.mjs.map +1 -1
  77. package/fesm2022/observers/private.mjs +3 -7
  78. package/fesm2022/observers/private.mjs.map +1 -1
  79. package/fesm2022/observers.mjs +14 -18
  80. package/fesm2022/observers.mjs.map +1 -1
  81. package/fesm2022/overlay-module-BaGhSGqO.mjs +3062 -0
  82. package/fesm2022/overlay-module-BaGhSGqO.mjs.map +1 -0
  83. package/fesm2022/overlay.mjs +27 -3019
  84. package/fesm2022/overlay.mjs.map +1 -1
  85. package/fesm2022/passive-listeners-esHZRgIN.mjs +31 -0
  86. package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -0
  87. package/fesm2022/platform-CPg0IbDW.mjs +77 -0
  88. package/fesm2022/platform-CPg0IbDW.mjs.map +1 -0
  89. package/fesm2022/platform.mjs +12 -293
  90. package/fesm2022/platform.mjs.map +1 -1
  91. package/fesm2022/portal.mjs +26 -63
  92. package/fesm2022/portal.mjs.map +1 -1
  93. package/fesm2022/private.mjs +7 -52
  94. package/fesm2022/private.mjs.map +1 -1
  95. package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs +156 -0
  96. package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +1 -0
  97. package/fesm2022/scrolling-BkvA05C8.mjs +99 -0
  98. package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -0
  99. package/fesm2022/scrolling.mjs +48 -48
  100. package/fesm2022/scrolling.mjs.map +1 -1
  101. package/fesm2022/selection-model-BCgC8uEN.mjs +221 -0
  102. package/fesm2022/selection-model-BCgC8uEN.mjs.map +1 -0
  103. package/fesm2022/shadow-dom-B0oHn41l.mjs +49 -0
  104. package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -0
  105. package/fesm2022/stepper.mjs +43 -36
  106. package/fesm2022/stepper.mjs.map +1 -1
  107. package/fesm2022/style-loader-BDEAZOey.mjs +47 -0
  108. package/fesm2022/style-loader-BDEAZOey.mjs.map +1 -0
  109. package/fesm2022/table.mjs +170 -270
  110. package/fesm2022/table.mjs.map +1 -1
  111. package/fesm2022/test-environment-CT0XxPyp.mjs +19 -0
  112. package/fesm2022/test-environment-CT0XxPyp.mjs.map +1 -0
  113. package/fesm2022/testing/selenium-webdriver.mjs +2 -1
  114. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  115. package/fesm2022/testing/testbed.mjs +33 -74
  116. package/fesm2022/testing/testbed.mjs.map +1 -1
  117. package/fesm2022/testing.mjs.map +1 -1
  118. package/fesm2022/text-field.mjs +27 -27
  119. package/fesm2022/text-field.mjs.map +1 -1
  120. package/fesm2022/tree-key-manager-KnCoIkIC.mjs +360 -0
  121. package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -0
  122. package/fesm2022/tree.mjs +47 -35
  123. package/fesm2022/tree.mjs.map +1 -1
  124. package/fesm2022/typeahead-9ZW4Dtsf.mjs +88 -0
  125. package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -0
  126. package/fesm2022/unique-selection-dispatcher-Cag6cZJ2.mjs +49 -0
  127. package/fesm2022/unique-selection-dispatcher-Cag6cZJ2.mjs.map +1 -0
  128. package/focus-key-manager.d-BIKDy8oD.d.ts +34 -0
  129. package/focus-monitor.d-CvvJeQRc.d.ts +210 -0
  130. package/harness-environment.d-BatBdODN.d.ts +620 -0
  131. package/index.d.ts +2 -2
  132. package/keycodes/index.d.ts +124 -244
  133. package/layout/index.d.ts +24 -25
  134. package/list-key-manager.d-BlK3jyRn.d.ts +165 -0
  135. package/listbox/index.d.ts +92 -107
  136. package/menu/index.d.ts +595 -683
  137. package/number-property.d-CJVxXUcb.d.ts +16 -0
  138. package/observers/index.d.ts +38 -44
  139. package/observers/private/index.d.ts +3 -3
  140. package/overlay/_index.scss +7 -1
  141. package/overlay/index.d.ts +137 -981
  142. package/overlay-module.d-BiAhhk6g.d.ts +801 -0
  143. package/overlay-prebuilt.css +1 -1
  144. package/package.json +2 -4
  145. package/platform/index.d.ts +32 -88
  146. package/platform.d-B3vREl3q.d.ts +33 -0
  147. package/portal/index.d.ts +5 -264
  148. package/portal-directives.d-DbeNrI5D.d.ts +211 -0
  149. package/private/index.d.ts +3 -20
  150. package/schematics/index.js +1 -1
  151. package/schematics/index.js.map +1 -0
  152. package/schematics/ng-add/index.js +11 -19
  153. package/schematics/ng-add/index.js.map +1 -0
  154. package/schematics/ng-add/schema.js +1 -1
  155. package/schematics/ng-add/schema.js.map +1 -0
  156. package/schematics/ng-generate/drag-drop/index.js +15 -6
  157. package/schematics/ng-generate/drag-drop/index.js.map +1 -0
  158. package/schematics/ng-generate/drag-drop/schema.js +1 -1
  159. package/schematics/ng-generate/drag-drop/schema.js.map +1 -0
  160. package/schematics/ng-update/data/attribute-selectors.js +1 -1
  161. package/schematics/ng-update/data/attribute-selectors.js.map +1 -0
  162. package/schematics/ng-update/data/class-names.js +1 -1
  163. package/schematics/ng-update/data/class-names.js.map +1 -0
  164. package/schematics/ng-update/data/constructor-checks.js +1 -1
  165. package/schematics/ng-update/data/constructor-checks.js.map +1 -0
  166. package/schematics/ng-update/data/css-selectors.js +1 -1
  167. package/schematics/ng-update/data/css-selectors.js.map +1 -0
  168. package/schematics/ng-update/data/css-tokens.js +1 -1
  169. package/schematics/ng-update/data/css-tokens.js.map +1 -0
  170. package/schematics/ng-update/data/element-selectors.js +1 -1
  171. package/schematics/ng-update/data/element-selectors.js.map +1 -0
  172. package/schematics/ng-update/data/index.js +1 -1
  173. package/schematics/ng-update/data/index.js.map +1 -0
  174. package/schematics/ng-update/data/input-names.js +1 -1
  175. package/schematics/ng-update/data/input-names.js.map +1 -0
  176. package/schematics/ng-update/data/method-call-checks.js +1 -1
  177. package/schematics/ng-update/data/method-call-checks.js.map +1 -0
  178. package/schematics/ng-update/data/output-names.js +1 -1
  179. package/schematics/ng-update/data/output-names.js.map +1 -0
  180. package/schematics/ng-update/data/property-names.js +1 -1
  181. package/schematics/ng-update/data/property-names.js.map +1 -0
  182. package/schematics/ng-update/data/symbol-removal.js +1 -1
  183. package/schematics/ng-update/data/symbol-removal.js.map +1 -0
  184. package/schematics/ng-update/devkit-file-system.js +2 -3
  185. package/schematics/ng-update/devkit-file-system.js.map +1 -0
  186. package/schematics/ng-update/devkit-migration-rule.js +13 -4
  187. package/schematics/ng-update/devkit-migration-rule.js.map +1 -0
  188. package/schematics/ng-update/devkit-migration.d.ts +2 -2
  189. package/schematics/ng-update/devkit-migration.js +1 -1
  190. package/schematics/ng-update/devkit-migration.js.map +1 -0
  191. package/schematics/ng-update/find-stylesheets.js +1 -1
  192. package/schematics/ng-update/find-stylesheets.js.map +1 -0
  193. package/schematics/ng-update/html-parsing/angular.js +2 -2
  194. package/schematics/ng-update/html-parsing/angular.js.map +1 -0
  195. package/schematics/ng-update/html-parsing/elements.js +3 -2
  196. package/schematics/ng-update/html-parsing/elements.js.map +1 -0
  197. package/schematics/ng-update/index.js +1 -1
  198. package/schematics/ng-update/index.js.map +1 -0
  199. package/schematics/ng-update/migrations/attribute-selectors.js +8 -5
  200. package/schematics/ng-update/migrations/attribute-selectors.js.map +1 -0
  201. package/schematics/ng-update/migrations/class-inheritance.js +11 -8
  202. package/schematics/ng-update/migrations/class-inheritance.js.map +1 -0
  203. package/schematics/ng-update/migrations/class-names.js +15 -12
  204. package/schematics/ng-update/migrations/class-names.js.map +1 -0
  205. package/schematics/ng-update/migrations/constructor-signature.js +10 -7
  206. package/schematics/ng-update/migrations/constructor-signature.js.map +1 -0
  207. package/schematics/ng-update/migrations/css-selectors.js +8 -5
  208. package/schematics/ng-update/migrations/css-selectors.js.map +1 -0
  209. package/schematics/ng-update/migrations/css-tokens.js +8 -5
  210. package/schematics/ng-update/migrations/css-tokens.js.map +1 -0
  211. package/schematics/ng-update/migrations/element-selectors.js +8 -5
  212. package/schematics/ng-update/migrations/element-selectors.js.map +1 -0
  213. package/schematics/ng-update/migrations/input-names.js +8 -5
  214. package/schematics/ng-update/migrations/input-names.js.map +1 -0
  215. package/schematics/ng-update/migrations/method-call-arguments.js +8 -5
  216. package/schematics/ng-update/migrations/method-call-arguments.js.map +1 -0
  217. package/schematics/ng-update/migrations/misc-template.js +6 -3
  218. package/schematics/ng-update/migrations/misc-template.js.map +1 -0
  219. package/schematics/ng-update/migrations/output-names.js +8 -5
  220. package/schematics/ng-update/migrations/output-names.js.map +1 -0
  221. package/schematics/ng-update/migrations/property-names.js +8 -5
  222. package/schematics/ng-update/migrations/property-names.js.map +1 -0
  223. package/schematics/ng-update/migrations/symbol-removal.js +10 -6
  224. package/schematics/ng-update/migrations/symbol-removal.js.map +1 -0
  225. package/schematics/ng-update/public-api.js +1 -1
  226. package/schematics/ng-update/public-api.js.map +1 -0
  227. package/schematics/ng-update/typescript/base-types.js +1 -1
  228. package/schematics/ng-update/typescript/base-types.js.map +1 -0
  229. package/schematics/ng-update/typescript/imports.js +1 -1
  230. package/schematics/ng-update/typescript/imports.js.map +1 -0
  231. package/schematics/ng-update/typescript/literal.js +1 -1
  232. package/schematics/ng-update/typescript/literal.js.map +1 -0
  233. package/schematics/ng-update/typescript/module-specifiers.js +1 -1
  234. package/schematics/ng-update/typescript/module-specifiers.js.map +1 -0
  235. package/schematics/ng-update/upgrade-data.js +1 -1
  236. package/schematics/ng-update/upgrade-data.js.map +1 -0
  237. package/schematics/paths.js +1 -1
  238. package/schematics/paths.js.map +1 -0
  239. package/schematics/update-tool/component-resource-collector.js +3 -5
  240. package/schematics/update-tool/component-resource-collector.js.map +1 -0
  241. package/schematics/update-tool/file-system.js +1 -1
  242. package/schematics/update-tool/file-system.js.map +1 -0
  243. package/schematics/update-tool/index.js +2 -8
  244. package/schematics/update-tool/index.js.map +1 -0
  245. package/schematics/update-tool/logger.js +1 -1
  246. package/schematics/update-tool/logger.js.map +1 -0
  247. package/schematics/update-tool/migration.js +3 -10
  248. package/schematics/update-tool/migration.js.map +1 -0
  249. package/schematics/update-tool/public-api.js +1 -1
  250. package/schematics/update-tool/public-api.js.map +1 -0
  251. package/schematics/update-tool/target-version.js +1 -1
  252. package/schematics/update-tool/target-version.js.map +1 -0
  253. package/schematics/update-tool/update-recorder.js +1 -1
  254. package/schematics/update-tool/update-recorder.js.map +1 -0
  255. package/schematics/update-tool/utils/decorators.js +1 -1
  256. package/schematics/update-tool/utils/decorators.js.map +1 -0
  257. package/schematics/update-tool/utils/diagnostics.js +1 -1
  258. package/schematics/update-tool/utils/diagnostics.js.map +1 -0
  259. package/schematics/update-tool/utils/functions.js +1 -1
  260. package/schematics/update-tool/utils/functions.js.map +1 -0
  261. package/schematics/update-tool/utils/imports.js +1 -1
  262. package/schematics/update-tool/utils/imports.js.map +1 -0
  263. package/schematics/update-tool/utils/line-mappings.js +1 -1
  264. package/schematics/update-tool/utils/line-mappings.js.map +1 -0
  265. package/schematics/update-tool/utils/parse-tsconfig.js +1 -1
  266. package/schematics/update-tool/utils/parse-tsconfig.js.map +1 -0
  267. package/schematics/update-tool/utils/property-name.js +1 -1
  268. package/schematics/update-tool/utils/property-name.js.map +1 -0
  269. package/schematics/update-tool/utils/virtual-host.js +2 -3
  270. package/schematics/update-tool/utils/virtual-host.js.map +1 -0
  271. package/schematics/update-tool/version-changes.js +1 -1
  272. package/schematics/update-tool/version-changes.js.map +1 -0
  273. package/schematics/utils/ast/ng-module-imports.js +1 -1
  274. package/schematics/utils/ast/ng-module-imports.js.map +1 -0
  275. package/schematics/utils/ast.d.ts +2 -2
  276. package/schematics/utils/ast.js +23 -12
  277. package/schematics/utils/ast.js.map +1 -0
  278. package/schematics/utils/build-component.js +22 -17
  279. package/schematics/utils/build-component.js.map +1 -0
  280. package/schematics/utils/get-project.d.ts +2 -2
  281. package/schematics/utils/get-project.js +1 -1
  282. package/schematics/utils/get-project.js.map +1 -0
  283. package/schematics/utils/html-manipulation.js +1 -1
  284. package/schematics/utils/html-manipulation.js.map +1 -0
  285. package/schematics/utils/index.js +1 -1
  286. package/schematics/utils/index.js.map +1 -0
  287. package/schematics/utils/parse5-element.js +1 -1
  288. package/schematics/utils/parse5-element.js.map +1 -0
  289. package/schematics/utils/project-index-file.d.ts +6 -3
  290. package/schematics/utils/project-index-file.js +30 -7
  291. package/schematics/utils/project-index-file.js.map +1 -0
  292. package/schematics/utils/project-main-file.d.ts +3 -2
  293. package/schematics/utils/project-main-file.js +1 -1
  294. package/schematics/utils/project-main-file.js.map +1 -0
  295. package/schematics/utils/project-style-file.d.ts +2 -2
  296. package/schematics/utils/project-style-file.js +1 -1
  297. package/schematics/utils/project-style-file.js.map +1 -0
  298. package/schematics/utils/project-targets.d.ts +5 -4
  299. package/schematics/utils/project-targets.js +15 -8
  300. package/schematics/utils/project-targets.js.map +1 -0
  301. package/schematics/utils/project-tsconfig-paths.d.ts +3 -3
  302. package/schematics/utils/project-tsconfig-paths.js +26 -14
  303. package/schematics/utils/project-tsconfig-paths.js.map +1 -0
  304. package/schematics/utils/schematic-options.d.ts +2 -2
  305. package/schematics/utils/schematic-options.js +27 -15
  306. package/schematics/utils/schematic-options.js.map +1 -0
  307. package/scrolling/index.d.ts +13 -638
  308. package/scrolling-module.d-DP0Qb7T9.d.ts +552 -0
  309. package/selection-model.d-DNgOONDg.d.ts +112 -0
  310. package/stepper/index.d.ts +75 -124
  311. package/style-loader.d-BXZfQZTF.d.ts +21 -0
  312. package/table/index.d.ts +292 -604
  313. package/testing/index.d.ts +33 -675
  314. package/testing/selenium-webdriver/index.d.ts +31 -20
  315. package/testing/testbed/index.d.ts +10 -19
  316. package/text-field/index.d.ts +12 -30
  317. package/text-field-prebuilt.css +1 -1
  318. package/tree/index.d.ts +208 -271
  319. package/tree-key-manager-strategy.d-XB6M79l-.d.ts +116 -0
  320. package/unique-selection-dispatcher.d-DSFqf1MM.d.ts +33 -0
  321. package/view-repeater.d-BKljR8u8.d.ts +89 -0
  322. package/schematics/index.mjs +0 -37
  323. package/schematics/ng-add/index.mjs +0 -39
  324. package/schematics/ng-add/package-config.d.ts +0 -12
  325. package/schematics/ng-add/package-config.js +0 -51
  326. package/schematics/ng-add/package-config.mjs +0 -51
  327. package/schematics/ng-add/schema.mjs +0 -10
  328. package/schematics/ng-generate/drag-drop/index.mjs +0 -33
  329. package/schematics/ng-generate/drag-drop/schema.mjs +0 -10
  330. package/schematics/ng-update/data/attribute-selectors.mjs +0 -12
  331. package/schematics/ng-update/data/class-names.mjs +0 -12
  332. package/schematics/ng-update/data/constructor-checks.mjs +0 -17
  333. package/schematics/ng-update/data/css-selectors.mjs +0 -12
  334. package/schematics/ng-update/data/css-tokens.mjs +0 -12
  335. package/schematics/ng-update/data/element-selectors.mjs +0 -12
  336. package/schematics/ng-update/data/index.mjs +0 -35
  337. package/schematics/ng-update/data/input-names.mjs +0 -12
  338. package/schematics/ng-update/data/method-call-checks.mjs +0 -12
  339. package/schematics/ng-update/data/output-names.mjs +0 -12
  340. package/schematics/ng-update/data/property-names.mjs +0 -12
  341. package/schematics/ng-update/data/symbol-removal.mjs +0 -12
  342. package/schematics/ng-update/devkit-file-system.mjs +0 -84
  343. package/schematics/ng-update/devkit-migration-rule.mjs +0 -133
  344. package/schematics/ng-update/devkit-migration.mjs +0 -20
  345. package/schematics/ng-update/find-stylesheets.mjs +0 -41
  346. package/schematics/ng-update/html-parsing/angular.mjs +0 -51
  347. package/schematics/ng-update/html-parsing/elements.mjs +0 -62
  348. package/schematics/ng-update/index.mjs +0 -29
  349. package/schematics/ng-update/migrations/attribute-selectors.mjs +0 -68
  350. package/schematics/ng-update/migrations/class-inheritance.mjs +0 -55
  351. package/schematics/ng-update/migrations/class-names.mjs +0 -88
  352. package/schematics/ng-update/migrations/constructor-signature.mjs +0 -136
  353. package/schematics/ng-update/migrations/css-selectors.mjs +0 -72
  354. package/schematics/ng-update/migrations/css-tokens.mjs +0 -80
  355. package/schematics/ng-update/migrations/element-selectors.mjs +0 -63
  356. package/schematics/ng-update/migrations/input-names.mjs +0 -56
  357. package/schematics/ng-update/migrations/method-call-arguments.mjs +0 -59
  358. package/schematics/ng-update/migrations/misc-template.mjs +0 -22
  359. package/schematics/ng-update/migrations/output-names.mjs +0 -43
  360. package/schematics/ng-update/migrations/property-names.mjs +0 -57
  361. package/schematics/ng-update/migrations/symbol-removal.mjs +0 -43
  362. package/schematics/ng-update/public-api.mjs +0 -36
  363. package/schematics/ng-update/typescript/base-types.mjs +0 -23
  364. package/schematics/ng-update/typescript/imports.mjs +0 -53
  365. package/schematics/ng-update/typescript/literal.mjs +0 -32
  366. package/schematics/ng-update/typescript/module-specifiers.mjs +0 -35
  367. package/schematics/ng-update/upgrade-data.mjs +0 -40
  368. package/schematics/paths.mjs +0 -16
  369. package/schematics/schematics.externs.js +0 -0
  370. package/schematics/tsconfig.json +0 -29
  371. package/schematics/update-tool/component-resource-collector.mjs +0 -166
  372. package/schematics/update-tool/file-system.mjs +0 -18
  373. package/schematics/update-tool/index.mjs +0 -178
  374. package/schematics/update-tool/logger.mjs +0 -18
  375. package/schematics/update-tool/migration.mjs +0 -77
  376. package/schematics/update-tool/public-api.mjs +0 -33
  377. package/schematics/update-tool/target-version.mjs +0 -27
  378. package/schematics/update-tool/update-recorder.mjs +0 -10
  379. package/schematics/update-tool/update-tool.externs.js +0 -0
  380. package/schematics/update-tool/utils/decorators.mjs +0 -41
  381. package/schematics/update-tool/utils/diagnostics.mjs +0 -18
  382. package/schematics/update-tool/utils/functions.mjs +0 -20
  383. package/schematics/update-tool/utils/imports.mjs +0 -110
  384. package/schematics/update-tool/utils/line-mappings.mjs +0 -75
  385. package/schematics/update-tool/utils/parse-tsconfig.mjs +0 -45
  386. package/schematics/update-tool/utils/property-name.mjs +0 -27
  387. package/schematics/update-tool/utils/virtual-host.mjs +0 -72
  388. package/schematics/update-tool/version-changes.mjs +0 -38
  389. package/schematics/utils/ast/ng-module-imports.mjs +0 -82
  390. package/schematics/utils/ast.mjs +0 -68
  391. package/schematics/utils/build-component.mjs +0 -183
  392. package/schematics/utils/get-project.mjs +0 -28
  393. package/schematics/utils/html-manipulation.mjs +0 -91
  394. package/schematics/utils/index.mjs +0 -36
  395. package/schematics/utils/parse5-element.mjs +0 -30
  396. package/schematics/utils/project-index-file.mjs +0 -20
  397. package/schematics/utils/project-main-file.mjs +0 -25
  398. package/schematics/utils/project-style-file.mjs +0 -42
  399. package/schematics/utils/project-targets.mjs +0 -39
  400. package/schematics/utils/project-tsconfig-paths.mjs +0 -34
  401. package/schematics/utils/schematic-options.mjs +0 -77
package/table/index.d.ts CHANGED
@@ -1,59 +1,11 @@
1
- import { AfterContentChecked } from '@angular/core';
2
- import { AfterContentInit } from '@angular/core';
3
- import { BehaviorSubject } from 'rxjs';
4
- import { ChangeDetectorRef } from '@angular/core';
5
- import { CollectionViewer } from '@angular/cdk/collections';
6
- import { DataSource } from '@angular/cdk/collections';
7
- import { Direction } from '@angular/cdk/bidi';
8
- import { Directionality } from '@angular/cdk/bidi';
9
- import { ElementRef } from '@angular/core';
10
- import { EventEmitter } from '@angular/core';
1
+ import { D as Directionality } from '../bidi-module.d-IN1Vp56w.js';
11
2
  import * as i0 from '@angular/core';
12
- import * as i1 from '@angular/cdk/scrolling';
13
- import { InjectionToken } from '@angular/core';
14
- import { Injector } from '@angular/core';
15
- import { IterableChanges } from '@angular/core';
16
- import { IterableDiffer } from '@angular/core';
17
- import { IterableDiffers } from '@angular/core';
18
- import { Observable } from 'rxjs';
19
- import { OnChanges } from '@angular/core';
20
- import { OnDestroy } from '@angular/core';
21
- import { OnInit } from '@angular/core';
22
- import { QueryList } from '@angular/core';
23
- import { SimpleChanges } from '@angular/core';
24
- import { TemplateRef } from '@angular/core';
25
- import { TrackByFunction } from '@angular/core';
26
- import { ViewContainerRef } from '@angular/core';
27
- import { _ViewRepeater } from '@angular/cdk/collections';
28
-
29
- /** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
30
- export declare class BaseCdkCell {
31
- constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
32
- }
33
-
34
- /**
35
- * Base class for the CdkHeaderRowDef and CdkRowDef that handles checking their columns inputs
36
- * for changes and notifying the table.
37
- */
38
- export declare abstract class BaseRowDef implements OnChanges {
39
- template: TemplateRef<any>;
40
- protected _differs: IterableDiffers;
41
- /** The columns to be displayed on this row. */
42
- columns: Iterable<string>;
43
- /** Differ used to check if any changes were made to the columns. */
44
- protected _columnsDiffer: IterableDiffer<any>;
45
- constructor(...args: unknown[]);
46
- ngOnChanges(changes: SimpleChanges): void;
47
- /**
48
- * Returns the difference between the current columns and the columns from the last diff, or null
49
- * if there is no difference.
50
- */
51
- getColumnsDiff(): IterableChanges<any> | null;
52
- /** Gets this row def's relevant cell template from the provided column def. */
53
- extractCellTemplate(column: CdkColumnDef): TemplateRef<any>;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseRowDef, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseRowDef, never, never, {}, {}, never, never, true, never>;
56
- }
3
+ import { TemplateRef, ElementRef, OnChanges, IterableDiffers, IterableDiffer, SimpleChanges, IterableChanges, OnDestroy, ViewContainerRef, InjectionToken, AfterContentInit, AfterContentChecked, OnInit, ChangeDetectorRef, TrackByFunction, EventEmitter, QueryList } from '@angular/core';
4
+ import { Observable, BehaviorSubject } from 'rxjs';
5
+ import { D as DataSource, C as CollectionViewer } from '../data-source.d-Bblv7Zvh.js';
6
+ import { a as _ViewRepeater } from '../view-repeater.d-BKljR8u8.js';
7
+ import { S as ScrollingModule } from '../scrolling-module.d-DP0Qb7T9.js';
8
+ import '../number-property.d-CJVxXUcb.js';
57
9
 
58
10
  /**
59
11
  * Interface for a mixin to provide a directive with a function that checks if the sticky input has
@@ -61,7 +13,7 @@ export declare abstract class BaseRowDef implements OnChanges {
61
13
  * sticky value.
62
14
  * @docs-private
63
15
  */
64
- export declare interface CanStick {
16
+ interface CanStick {
65
17
  /** Whether sticky positioning should be applied. */
66
18
  sticky: boolean;
67
19
  /** Whether the sticky value has changed since this was last called. */
@@ -70,118 +22,48 @@ export declare interface CanStick {
70
22
  resetStickyChanged(): void;
71
23
  }
72
24
 
73
- /** @docs-private */
74
- export declare type CanStickCtor = Constructor<CanStick>;
75
-
76
- /**
77
- * The row template that can be used by the mat-table. Should not be used outside of the
78
- * material library.
79
- */
80
- export declare const CDK_ROW_TEMPLATE = "<ng-container cdkCellOutlet></ng-container>";
81
-
82
- /**
83
- * Used to provide a table to some of the sub-components without causing a circular dependency.
84
- * @docs-private
85
- */
86
- export declare const CDK_TABLE: InjectionToken<any>;
87
-
88
- /**
89
- * The table template that can be used by the mat-table. Should not be used outside of the
90
- * material library.
91
- * @docs-private
92
- */
93
- export declare const CDK_TABLE_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";
94
-
95
- /** Cell template container that adds the right classes and role. */
96
- export declare class CdkCell extends BaseCdkCell {
97
- constructor(...args: unknown[]);
98
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCell, never>;
99
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCell, "cdk-cell, td[cdk-cell]", never, {}, {}, never, never, true, never>;
25
+ /** Base interface for a cell definition. Captures a column's cell template definition. */
26
+ interface CellDef {
27
+ template: TemplateRef<any>;
100
28
  }
101
-
102
29
  /**
103
30
  * Cell definition for a CDK table.
104
31
  * Captures the template of a column's data row cell as well as cell-specific properties.
105
32
  */
106
- export declare class CdkCellDef implements CellDef {
33
+ declare class CdkCellDef implements CellDef {
107
34
  /** @docs-private */
108
35
  template: TemplateRef<any>;
109
36
  constructor(...args: unknown[]);
110
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellDef, never>;
111
38
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellDef, "[cdkCellDef]", never, {}, {}, never, never, true, never>;
112
39
  }
113
-
114
40
  /**
115
- * Outlet for rendering cells inside of a row or header row.
116
- * @docs-private
41
+ * Header cell definition for a CDK table.
42
+ * Captures the template of a column's header cell and as well as cell-specific properties.
117
43
  */
118
- export declare class CdkCellOutlet implements OnDestroy {
119
- _viewContainer: ViewContainerRef;
120
- /** The ordered list of cells to render within this outlet's view container */
121
- cells: CdkCellDef[];
122
- /** The data context to be provided to each cell */
123
- context: any;
124
- /**
125
- * Static property containing the latest constructed instance of this class.
126
- * Used by the CDK table when each CdkHeaderRow and CdkRow component is created using
127
- * createEmbeddedView. After one of these components are created, this property will provide
128
- * a handle to provide that component's cells and context. After init, the CdkCellOutlet will
129
- * construct the cells with the provided context.
130
- */
131
- static mostRecentCellOutlet: CdkCellOutlet | null;
44
+ declare class CdkHeaderCellDef implements CellDef {
45
+ /** @docs-private */
46
+ template: TemplateRef<any>;
132
47
  constructor(...args: unknown[]);
133
- ngOnDestroy(): void;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellOutlet, never>;
135
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellOutlet, "[cdkCellOutlet]", never, {}, {}, never, never, true, never>;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCellDef, never>;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCellDef, "[cdkHeaderCellDef]", never, {}, {}, never, never, true, never>;
136
50
  }
137
-
138
51
  /**
139
- * Context provided to the row cells when `multiTemplateDataRows` is true. This context is the same
140
- * as CdkCellOutletRowContext except that the single `index` value is replaced by `dataIndex` and
141
- * `renderIndex`.
52
+ * Footer cell definition for a CDK table.
53
+ * Captures the template of a column's footer cell and as well as cell-specific properties.
142
54
  */
143
- export declare interface CdkCellOutletMultiRowContext<T> {
144
- /** Data for the row that this cell is located within. */
145
- $implicit?: T;
146
- /** Index of the data object in the provided data array. */
147
- dataIndex?: number;
148
- /** Index location of the rendered row that this cell is located within. */
149
- renderIndex?: number;
150
- /** Length of the number of total rows. */
151
- count?: number;
152
- /** True if this cell is contained in the first row. */
153
- first?: boolean;
154
- /** True if this cell is contained in the last row. */
155
- last?: boolean;
156
- /** True if this cell is contained in a row with an even-numbered index. */
157
- even?: boolean;
158
- /** True if this cell is contained in a row with an odd-numbered index. */
159
- odd?: boolean;
160
- }
161
-
162
- /** Context provided to the row cells when `multiTemplateDataRows` is false */
163
- export declare interface CdkCellOutletRowContext<T> {
164
- /** Data for the row that this cell is located within. */
165
- $implicit?: T;
166
- /** Index of the data object in the provided data array. */
167
- index?: number;
168
- /** Length of the number of total rows. */
169
- count?: number;
170
- /** True if this cell is contained in the first row. */
171
- first?: boolean;
172
- /** True if this cell is contained in the last row. */
173
- last?: boolean;
174
- /** True if this cell is contained in a row with an even-numbered index. */
175
- even?: boolean;
176
- /** True if this cell is contained in a row with an odd-numbered index. */
177
- odd?: boolean;
55
+ declare class CdkFooterCellDef implements CellDef {
56
+ /** @docs-private */
57
+ template: TemplateRef<any>;
58
+ constructor(...args: unknown[]);
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCellDef, never>;
60
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCellDef, "[cdkFooterCellDef]", never, {}, {}, never, never, true, never>;
178
61
  }
179
-
180
62
  /**
181
63
  * Column definition for the CDK table.
182
64
  * Defines a set of cells available for a table column.
183
65
  */
184
- export declare class CdkColumnDef implements CanStick {
66
+ declare class CdkColumnDef implements CanStick {
185
67
  _table?: any;
186
68
  private _hasStickyChanged;
187
69
  /** Unique name for this column. */
@@ -242,37 +124,83 @@ export declare class CdkColumnDef implements CanStick {
242
124
  static ngAcceptInputType_sticky: unknown;
243
125
  static ngAcceptInputType_stickyEnd: unknown;
244
126
  }
245
-
127
+ /** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
128
+ declare class BaseCdkCell {
129
+ constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
130
+ }
131
+ /** Header cell template container that adds the right classes and role. */
132
+ declare class CdkHeaderCell extends BaseCdkCell {
133
+ constructor(...args: unknown[]);
134
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCell, never>;
135
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCell, "cdk-header-cell, th[cdk-header-cell]", never, {}, {}, never, never, true, never>;
136
+ }
246
137
  /** Footer cell template container that adds the right classes and role. */
247
- export declare class CdkFooterCell extends BaseCdkCell {
138
+ declare class CdkFooterCell extends BaseCdkCell {
248
139
  constructor(...args: unknown[]);
249
140
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCell, never>;
250
141
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCell, "cdk-footer-cell, td[cdk-footer-cell]", never, {}, {}, never, never, true, never>;
251
142
  }
143
+ /** Cell template container that adds the right classes and role. */
144
+ declare class CdkCell extends BaseCdkCell {
145
+ constructor(...args: unknown[]);
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkCell, never>;
147
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCell, "cdk-cell, td[cdk-cell]", never, {}, {}, never, never, true, never>;
148
+ }
252
149
 
253
150
  /**
254
- * Footer cell definition for a CDK table.
255
- * Captures the template of a column's footer cell and as well as cell-specific properties.
151
+ * The row template that can be used by the mat-table. Should not be used outside of the
152
+ * material library.
256
153
  */
257
- export declare class CdkFooterCellDef implements CellDef {
258
- /** @docs-private */
154
+ declare const CDK_ROW_TEMPLATE = "<ng-container cdkCellOutlet></ng-container>";
155
+ /**
156
+ * Base class for the CdkHeaderRowDef and CdkRowDef that handles checking their columns inputs
157
+ * for changes and notifying the table.
158
+ */
159
+ declare abstract class BaseRowDef implements OnChanges {
259
160
  template: TemplateRef<any>;
161
+ protected _differs: IterableDiffers;
162
+ /** The columns to be displayed on this row. */
163
+ columns: Iterable<string>;
164
+ /** Differ used to check if any changes were made to the columns. */
165
+ protected _columnsDiffer: IterableDiffer<any>;
260
166
  constructor(...args: unknown[]);
261
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCellDef, never>;
262
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCellDef, "[cdkFooterCellDef]", never, {}, {}, never, never, true, never>;
167
+ ngOnChanges(changes: SimpleChanges): void;
168
+ /**
169
+ * Returns the difference between the current columns and the columns from the last diff, or null
170
+ * if there is no difference.
171
+ */
172
+ getColumnsDiff(): IterableChanges<any> | null;
173
+ /** Gets this row def's relevant cell template from the provided column def. */
174
+ extractCellTemplate(column: CdkColumnDef): TemplateRef<any>;
175
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseRowDef, never>;
176
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseRowDef, never, never, {}, {}, never, never, true, never>;
263
177
  }
264
-
265
- /** Footer template container that contains the cell outlet. Adds the right class and role. */
266
- export declare class CdkFooterRow {
267
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterRow, never>;
268
- static ɵcmp: i0.ɵɵComponentDeclaration<CdkFooterRow, "cdk-footer-row, tr[cdk-footer-row]", never, {}, {}, never, never, true, never>;
178
+ /**
179
+ * Header row definition for the CDK table.
180
+ * Captures the header row's template and other header properties such as the columns to display.
181
+ */
182
+ declare class CdkHeaderRowDef extends BaseRowDef implements CanStick, OnChanges {
183
+ _table?: any;
184
+ private _hasStickyChanged;
185
+ /** Whether the row is sticky. */
186
+ get sticky(): boolean;
187
+ set sticky(value: boolean);
188
+ private _sticky;
189
+ constructor(...args: unknown[]);
190
+ ngOnChanges(changes: SimpleChanges): void;
191
+ /** Whether the sticky state has changed. */
192
+ hasStickyChanged(): boolean;
193
+ /** Resets the sticky changed state. */
194
+ resetStickyChanged(): void;
195
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRowDef, never>;
196
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderRowDef, "[cdkHeaderRowDef]", never, { "columns": { "alias": "cdkHeaderRowDef"; "required": false; }; "sticky": { "alias": "cdkHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
197
+ static ngAcceptInputType_sticky: unknown;
269
198
  }
270
-
271
199
  /**
272
200
  * Footer row definition for the CDK table.
273
201
  * Captures the footer row's template and other footer properties such as the columns to display.
274
202
  */
275
- export declare class CdkFooterRowDef extends BaseRowDef implements CanStick, OnChanges {
203
+ declare class CdkFooterRowDef extends BaseRowDef implements CanStick, OnChanges {
276
204
  _table?: any;
277
205
  private _hasStickyChanged;
278
206
  /** Whether the row is sticky. */
@@ -289,116 +217,236 @@ export declare class CdkFooterRowDef extends BaseRowDef implements CanStick, OnC
289
217
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterRowDef, "[cdkFooterRowDef]", never, { "columns": { "alias": "cdkFooterRowDef"; "required": false; }; "sticky": { "alias": "cdkFooterRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
290
218
  static ngAcceptInputType_sticky: unknown;
291
219
  }
292
-
293
- /** Header cell template container that adds the right classes and role. */
294
- export declare class CdkHeaderCell extends BaseCdkCell {
220
+ /**
221
+ * Data row definition for the CDK table.
222
+ * Captures the header row's template and other row properties such as the columns to display and
223
+ * a when predicate that describes when this row should be used.
224
+ */
225
+ declare class CdkRowDef<T> extends BaseRowDef {
226
+ _table?: any;
227
+ /**
228
+ * Function that should return true if this row template should be used for the provided index
229
+ * and row data. If left undefined, this row will be considered the default row template to use
230
+ * when no other when functions return true for the data.
231
+ * For every row, there must be at least one when function that passes or an undefined to default.
232
+ */
233
+ when: (index: number, rowData: T) => boolean;
295
234
  constructor(...args: unknown[]);
296
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCell, never>;
297
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCell, "cdk-header-cell, th[cdk-header-cell]", never, {}, {}, never, never, true, never>;
235
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkRowDef<any>, never>;
236
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRowDef<any>, "[cdkRowDef]", never, { "columns": { "alias": "cdkRowDefColumns"; "required": false; }; "when": { "alias": "cdkRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
237
+ }
238
+ /** Context provided to the row cells when `multiTemplateDataRows` is false */
239
+ interface CdkCellOutletRowContext<T> {
240
+ /** Data for the row that this cell is located within. */
241
+ $implicit?: T;
242
+ /** Index of the data object in the provided data array. */
243
+ index?: number;
244
+ /** Length of the number of total rows. */
245
+ count?: number;
246
+ /** True if this cell is contained in the first row. */
247
+ first?: boolean;
248
+ /** True if this cell is contained in the last row. */
249
+ last?: boolean;
250
+ /** True if this cell is contained in a row with an even-numbered index. */
251
+ even?: boolean;
252
+ /** True if this cell is contained in a row with an odd-numbered index. */
253
+ odd?: boolean;
298
254
  }
299
-
300
255
  /**
301
- * Header cell definition for a CDK table.
302
- * Captures the template of a column's header cell and as well as cell-specific properties.
256
+ * Context provided to the row cells when `multiTemplateDataRows` is true. This context is the same
257
+ * as CdkCellOutletRowContext except that the single `index` value is replaced by `dataIndex` and
258
+ * `renderIndex`.
303
259
  */
304
- export declare class CdkHeaderCellDef implements CellDef {
305
- /** @docs-private */
306
- template: TemplateRef<any>;
260
+ interface CdkCellOutletMultiRowContext<T> {
261
+ /** Data for the row that this cell is located within. */
262
+ $implicit?: T;
263
+ /** Index of the data object in the provided data array. */
264
+ dataIndex?: number;
265
+ /** Index location of the rendered row that this cell is located within. */
266
+ renderIndex?: number;
267
+ /** Length of the number of total rows. */
268
+ count?: number;
269
+ /** True if this cell is contained in the first row. */
270
+ first?: boolean;
271
+ /** True if this cell is contained in the last row. */
272
+ last?: boolean;
273
+ /** True if this cell is contained in a row with an even-numbered index. */
274
+ even?: boolean;
275
+ /** True if this cell is contained in a row with an odd-numbered index. */
276
+ odd?: boolean;
277
+ }
278
+ /**
279
+ * Outlet for rendering cells inside of a row or header row.
280
+ * @docs-private
281
+ */
282
+ declare class CdkCellOutlet implements OnDestroy {
283
+ _viewContainer: ViewContainerRef;
284
+ /** The ordered list of cells to render within this outlet's view container */
285
+ cells: CdkCellDef[];
286
+ /** The data context to be provided to each cell */
287
+ context: any;
288
+ /**
289
+ * Static property containing the latest constructed instance of this class.
290
+ * Used by the CDK table when each CdkHeaderRow and CdkRow component is created using
291
+ * createEmbeddedView. After one of these components are created, this property will provide
292
+ * a handle to provide that component's cells and context. After init, the CdkCellOutlet will
293
+ * construct the cells with the provided context.
294
+ */
295
+ static mostRecentCellOutlet: CdkCellOutlet | null;
307
296
  constructor(...args: unknown[]);
308
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCellDef, never>;
309
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCellDef, "[cdkHeaderCellDef]", never, {}, {}, never, never, true, never>;
297
+ ngOnDestroy(): void;
298
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellOutlet, never>;
299
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellOutlet, "[cdkCellOutlet]", never, {}, {}, never, never, true, never>;
310
300
  }
311
-
312
301
  /** Header template container that contains the cell outlet. Adds the right class and role. */
313
- export declare class CdkHeaderRow {
302
+ declare class CdkHeaderRow {
314
303
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRow, never>;
315
304
  static ɵcmp: i0.ɵɵComponentDeclaration<CdkHeaderRow, "cdk-header-row, tr[cdk-header-row]", never, {}, {}, never, never, true, never>;
316
305
  }
306
+ /** Footer template container that contains the cell outlet. Adds the right class and role. */
307
+ declare class CdkFooterRow {
308
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterRow, never>;
309
+ static ɵcmp: i0.ɵɵComponentDeclaration<CdkFooterRow, "cdk-footer-row, tr[cdk-footer-row]", never, {}, {}, never, never, true, never>;
310
+ }
311
+ /** Data row template container that contains the cell outlet. Adds the right class and role. */
312
+ declare class CdkRow {
313
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkRow, never>;
314
+ static ɵcmp: i0.ɵɵComponentDeclaration<CdkRow, "cdk-row, tr[cdk-row]", never, {}, {}, never, never, true, never>;
315
+ }
316
+ /** Row that can be used to display a message when no data is shown in the table. */
317
+ declare class CdkNoDataRow {
318
+ templateRef: TemplateRef<any>;
319
+ _contentClassName: string;
320
+ constructor(...args: unknown[]);
321
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkNoDataRow, never>;
322
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkNoDataRow, "ng-template[cdkNoDataRow]", never, {}, {}, never, never, true, never>;
323
+ }
317
324
 
325
+ /** The injection token used to specify the StickyPositioningListener. */
326
+ declare const STICKY_POSITIONING_LISTENER: InjectionToken<StickyPositioningListener>;
327
+ type StickySize = number | null | undefined;
328
+ type StickyOffset = number | null | undefined;
329
+ interface StickyUpdate {
330
+ elements?: readonly (HTMLElement[] | undefined)[];
331
+ offsets?: StickyOffset[];
332
+ sizes: StickySize[];
333
+ }
334
+ /**
335
+ * If provided, CdkTable will call the methods below when it updates the size/
336
+ * position/etc of its sticky rows and columns.
337
+ */
338
+ interface StickyPositioningListener {
339
+ /** Called when CdkTable updates its sticky start columns. */
340
+ stickyColumnsUpdated(update: StickyUpdate): void;
341
+ /** Called when CdkTable updates its sticky end columns. */
342
+ stickyEndColumnsUpdated(update: StickyUpdate): void;
343
+ /** Called when CdkTable updates its sticky header rows. */
344
+ stickyHeaderRowsUpdated(update: StickyUpdate): void;
345
+ /** Called when CdkTable updates its sticky footer rows. */
346
+ stickyFooterRowsUpdated(update: StickyUpdate): void;
347
+ }
348
+
349
+ /**
350
+ * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
351
+ * tables that animate rows.
352
+ */
353
+ declare class CdkRecycleRows {
354
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkRecycleRows, never>;
355
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRecycleRows, "cdk-table[recycleRows], table[cdk-table][recycleRows]", never, {}, {}, never, never, true, never>;
356
+ }
357
+ /** Interface used to provide an outlet for rows to be inserted into. */
358
+ interface RowOutlet {
359
+ viewContainer: ViewContainerRef;
360
+ }
361
+ /** Possible types that can be set as the data source for a `CdkTable`. */
362
+ type CdkTableDataSourceInput<T> = readonly T[] | DataSource<T> | Observable<readonly T[]>;
363
+ /**
364
+ * Provides a handle for the table to grab the view container's ng-container to insert data rows.
365
+ * @docs-private
366
+ */
367
+ declare class DataRowOutlet implements RowOutlet {
368
+ viewContainer: ViewContainerRef;
369
+ elementRef: ElementRef<any>;
370
+ constructor(...args: unknown[]);
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataRowOutlet, never>;
372
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DataRowOutlet, "[rowOutlet]", never, {}, {}, never, never, true, never>;
373
+ }
374
+ /**
375
+ * Provides a handle for the table to grab the view container's ng-container to insert the header.
376
+ * @docs-private
377
+ */
378
+ declare class HeaderRowOutlet implements RowOutlet {
379
+ viewContainer: ViewContainerRef;
380
+ elementRef: ElementRef<any>;
381
+ constructor(...args: unknown[]);
382
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowOutlet, never>;
383
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowOutlet, "[headerRowOutlet]", never, {}, {}, never, never, true, never>;
384
+ }
318
385
  /**
319
- * Header row definition for the CDK table.
320
- * Captures the header row's template and other header properties such as the columns to display.
386
+ * Provides a handle for the table to grab the view container's ng-container to insert the footer.
387
+ * @docs-private
321
388
  */
322
- export declare class CdkHeaderRowDef extends BaseRowDef implements CanStick, OnChanges {
323
- _table?: any;
324
- private _hasStickyChanged;
325
- /** Whether the row is sticky. */
326
- get sticky(): boolean;
327
- set sticky(value: boolean);
328
- private _sticky;
389
+ declare class FooterRowOutlet implements RowOutlet {
390
+ viewContainer: ViewContainerRef;
391
+ elementRef: ElementRef<any>;
329
392
  constructor(...args: unknown[]);
330
- ngOnChanges(changes: SimpleChanges): void;
331
- /** Whether the sticky state has changed. */
332
- hasStickyChanged(): boolean;
333
- /** Resets the sticky changed state. */
334
- resetStickyChanged(): void;
335
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRowDef, never>;
336
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderRowDef, "[cdkHeaderRowDef]", never, { "columns": { "alias": "cdkHeaderRowDef"; "required": false; }; "sticky": { "alias": "cdkHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
337
- static ngAcceptInputType_sticky: unknown;
393
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterRowOutlet, never>;
394
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FooterRowOutlet, "[footerRowOutlet]", never, {}, {}, never, never, true, never>;
338
395
  }
339
-
340
- /** Row that can be used to display a message when no data is shown in the table. */
341
- export declare class CdkNoDataRow {
342
- templateRef: TemplateRef<any>;
343
- _contentClassName: string;
396
+ /**
397
+ * Provides a handle for the table to grab the view
398
+ * container's ng-container to insert the no data row.
399
+ * @docs-private
400
+ */
401
+ declare class NoDataRowOutlet implements RowOutlet {
402
+ viewContainer: ViewContainerRef;
403
+ elementRef: ElementRef<any>;
344
404
  constructor(...args: unknown[]);
345
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkNoDataRow, never>;
346
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkNoDataRow, "ng-template[cdkNoDataRow]", never, {}, {}, never, never, true, never>;
405
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoDataRowOutlet, never>;
406
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NoDataRowOutlet, "[noDataRowOutlet]", never, {}, {}, never, never, true, never>;
347
407
  }
348
-
349
408
  /**
350
- * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
351
- * tables that animate rows.
409
+ * Interface used to conveniently type the possible context interfaces for the render row.
410
+ * @docs-private
352
411
  */
353
- export declare class CdkRecycleRows {
354
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkRecycleRows, never>;
355
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRecycleRows, "cdk-table[recycleRows], table[cdk-table][recycleRows]", never, {}, {}, never, never, true, never>;
356
- }
357
-
358
- /** Data row template container that contains the cell outlet. Adds the right class and role. */
359
- export declare class CdkRow {
360
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkRow, never>;
361
- static ɵcmp: i0.ɵɵComponentDeclaration<CdkRow, "cdk-row, tr[cdk-row]", never, {}, {}, never, never, true, never>;
412
+ interface RowContext<T> extends CdkCellOutletMultiRowContext<T>, CdkCellOutletRowContext<T> {
362
413
  }
363
-
364
414
  /**
365
- * Data row definition for the CDK table.
366
- * Captures the header row's template and other row properties such as the columns to display and
367
- * a when predicate that describes when this row should be used.
415
+ * Set of properties that represents the identity of a single rendered row.
416
+ *
417
+ * When the table needs to determine the list of rows to render, it will do so by iterating through
418
+ * each data object and evaluating its list of row templates to display (when multiTemplateDataRows
419
+ * is false, there is only one template per data object). For each pair of data object and row
420
+ * template, a `RenderRow` is added to the list of rows to render. If the data object and row
421
+ * template pair has already been rendered, the previously used `RenderRow` is added; else a new
422
+ * `RenderRow` is * created. Once the list is complete and all data objects have been iterated
423
+ * through, a diff is performed to determine the changes that need to be made to the rendered rows.
424
+ *
425
+ * @docs-private
368
426
  */
369
- export declare class CdkRowDef<T> extends BaseRowDef {
370
- _table?: any;
371
- /**
372
- * Function that should return true if this row template should be used for the provided index
373
- * and row data. If left undefined, this row will be considered the default row template to use
374
- * when no other when functions return true for the data.
375
- * For every row, there must be at least one when function that passes or an undefined to default.
376
- */
377
- when: (index: number, rowData: T) => boolean;
378
- constructor(...args: unknown[]);
379
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkRowDef<any>, never>;
380
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRowDef<any>, "[cdkRowDef]", never, { "columns": { "alias": "cdkRowDefColumns"; "required": false; }; "when": { "alias": "cdkRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
427
+ interface RenderRow<T> {
428
+ data: T;
429
+ dataIndex: number;
430
+ rowDef: CdkRowDef<T>;
381
431
  }
382
-
383
432
  /**
384
433
  * A data table that can render a header row, data rows, and a footer row.
385
434
  * Uses the dataSource input to determine the data to be rendered. The data can be provided either
386
435
  * as a data array, an Observable stream that emits the data array to render, or a DataSource with a
387
436
  * connect function that will return an Observable stream that emits the data array to render.
388
437
  */
389
- export declare class CdkTable<T> implements AfterContentInit, AfterContentChecked, CollectionViewer, OnDestroy, OnInit {
438
+ declare class CdkTable<T> implements AfterContentInit, AfterContentChecked, CollectionViewer, OnDestroy, OnInit {
390
439
  protected readonly _differs: IterableDiffers;
391
440
  protected readonly _changeDetectorRef: ChangeDetectorRef;
392
441
  protected readonly _elementRef: ElementRef<any>;
393
442
  protected readonly _dir: Directionality | null;
394
443
  private _platform;
395
444
  protected readonly _viewRepeater: _ViewRepeater<T, RenderRow<T>, RowContext<T>>;
396
- protected readonly _coalescedStyleScheduler: _CoalescedStyleScheduler;
397
445
  private readonly _viewportRuler;
398
446
  protected readonly _stickyPositioningListener: StickyPositioningListener;
399
447
  private _document;
400
448
  /** Latest data provided by the data source. */
401
- protected _data: readonly T[];
449
+ protected _data: readonly T[] | undefined;
402
450
  /** Subject that emits when the component has been destroyed. */
403
451
  private readonly _onDestroy;
404
452
  /** List of the rendered rows as identified by their `RenderRow` object. */
@@ -761,15 +809,6 @@ export declare class CdkTable<T> implements AfterContentInit, AfterContentChecke
761
809
  static ngAcceptInputType_fixedLayout: unknown;
762
810
  }
763
811
 
764
- /** Possible types that can be set as the data source for a `CdkTable`. */
765
- export declare type CdkTableDataSourceInput<T> = readonly T[] | DataSource<T> | Observable<readonly T[]>;
766
-
767
- export declare class CdkTableModule {
768
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableModule, never>;
769
- static ɵmod: i0.ɵɵNgModuleDeclaration<CdkTableModule, never, [typeof i1.ScrollingModule, typeof i2.CdkTable, typeof i3.CdkRowDef, typeof i4.CdkCellDef, typeof i3.CdkCellOutlet, typeof i4.CdkHeaderCellDef, typeof i4.CdkFooterCellDef, typeof i4.CdkColumnDef, typeof i4.CdkCell, typeof i3.CdkRow, typeof i4.CdkHeaderCell, typeof i4.CdkFooterCell, typeof i3.CdkHeaderRow, typeof i3.CdkHeaderRowDef, typeof i3.CdkFooterRow, typeof i3.CdkFooterRowDef, typeof i2.DataRowOutlet, typeof i2.HeaderRowOutlet, typeof i2.FooterRowOutlet, typeof i5.CdkTextColumn, typeof i3.CdkNoDataRow, typeof i2.CdkRecycleRows, typeof i2.NoDataRowOutlet], [typeof i2.CdkTable, typeof i3.CdkRowDef, typeof i4.CdkCellDef, typeof i3.CdkCellOutlet, typeof i4.CdkHeaderCellDef, typeof i4.CdkFooterCellDef, typeof i4.CdkColumnDef, typeof i4.CdkCell, typeof i3.CdkRow, typeof i4.CdkHeaderCell, typeof i4.CdkFooterCell, typeof i3.CdkHeaderRow, typeof i3.CdkHeaderRowDef, typeof i3.CdkFooterRow, typeof i3.CdkFooterRowDef, typeof i2.DataRowOutlet, typeof i2.HeaderRowOutlet, typeof i2.FooterRowOutlet, typeof i5.CdkTextColumn, typeof i3.CdkNoDataRow, typeof i2.CdkRecycleRows, typeof i2.NoDataRowOutlet]>;
770
- static ɵinj: i0.ɵɵInjectorDeclaration<CdkTableModule>;
771
- }
772
-
773
812
  /**
774
813
  * Column that simply shows text content for the header and row cells. Assumes that the table
775
814
  * is using the native table implementation (`<table>`).
@@ -779,7 +818,7 @@ export declare class CdkTableModule {
779
818
  * the `dataAccessor` input. Change the text justification to the start or end using the `justify`
780
819
  * input.
781
820
  */
782
- export declare class CdkTextColumn<T> implements OnDestroy, OnInit {
821
+ declare class CdkTextColumn<T> implements OnDestroy, OnInit {
783
822
  private _table;
784
823
  private _options;
785
824
  /** Column name that should be used to reference this column. */
@@ -832,373 +871,19 @@ export declare class CdkTextColumn<T> implements OnDestroy, OnInit {
832
871
  static ɵcmp: i0.ɵɵComponentDeclaration<CdkTextColumn<any>, "cdk-text-column", never, { "name": { "alias": "name"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "dataAccessor": { "alias": "dataAccessor"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; }, {}, never, never, true, never>;
833
872
  }
834
873
 
835
- /** Base interface for a cell definition. Captures a column's cell template definition. */
836
- export declare interface CellDef {
837
- template: TemplateRef<any>;
838
- }
839
-
840
- /** Injection token used to provide a coalesced style scheduler. */
841
- export declare const _COALESCED_STYLE_SCHEDULER: InjectionToken<_CoalescedStyleScheduler>;
842
-
843
- /**
844
- * Allows grouping up CSSDom mutations after the current execution context.
845
- * This can significantly improve performance when separate consecutive functions are
846
- * reading from the CSSDom and then mutating it.
847
- *
848
- * @docs-private
849
- */
850
- export declare class _CoalescedStyleScheduler {
851
- private _currentSchedule;
852
- private _ngZone;
853
- constructor(...args: unknown[]);
854
- /**
855
- * Schedules the specified task to run at the end of the current VM turn.
856
- */
857
- schedule(task: () => unknown): void;
858
- /**
859
- * Schedules the specified task to run after other scheduled tasks at the end of the current
860
- * VM turn.
861
- */
862
- scheduleEnd(task: () => unknown): void;
863
- private _createScheduleIfNeeded;
864
- static ɵfac: i0.ɵɵFactoryDeclaration<_CoalescedStyleScheduler, never>;
865
- static ɵprov: i0.ɵɵInjectableDeclaration<_CoalescedStyleScheduler>;
866
- }
867
-
868
-
869
- /** @docs-private */
870
- export declare type Constructor<T> = new (...args: any[]) => T;
871
-
872
- /**
873
- * Provides a handle for the table to grab the view container's ng-container to insert data rows.
874
- * @docs-private
875
- */
876
- export declare class DataRowOutlet implements RowOutlet {
877
- viewContainer: ViewContainerRef;
878
- elementRef: ElementRef<any>;
879
- constructor(...args: unknown[]);
880
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRowOutlet, never>;
881
- static ɵdir: i0.ɵɵDirectiveDeclaration<DataRowOutlet, "[rowOutlet]", never, {}, {}, never, never, true, never>;
882
- }
883
-
884
- export { DataSource }
885
-
886
- /**
887
- * Provides a handle for the table to grab the view container's ng-container to insert the footer.
888
- * @docs-private
889
- */
890
- export declare class FooterRowOutlet implements RowOutlet {
891
- viewContainer: ViewContainerRef;
892
- elementRef: ElementRef<any>;
893
- constructor(...args: unknown[]);
894
- static ɵfac: i0.ɵɵFactoryDeclaration<FooterRowOutlet, never>;
895
- static ɵdir: i0.ɵɵDirectiveDeclaration<FooterRowOutlet, "[footerRowOutlet]", never, {}, {}, never, never, true, never>;
896
- }
897
-
898
- /**
899
- * Provides a handle for the table to grab the view container's ng-container to insert the header.
900
- * @docs-private
901
- */
902
- export declare class HeaderRowOutlet implements RowOutlet {
903
- viewContainer: ViewContainerRef;
904
- elementRef: ElementRef<any>;
905
- constructor(...args: unknown[]);
906
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowOutlet, never>;
907
- static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowOutlet, "[headerRowOutlet]", never, {}, {}, never, never, true, never>;
908
- }
909
-
910
- declare namespace i2 {
911
- export {
912
- CdkRecycleRows,
913
- RowOutlet,
914
- CdkTableDataSourceInput,
915
- DataRowOutlet,
916
- HeaderRowOutlet,
917
- FooterRowOutlet,
918
- NoDataRowOutlet,
919
- CDK_TABLE_TEMPLATE,
920
- RowContext,
921
- RenderRow,
922
- CdkTable
923
- }
924
- }
925
-
926
- declare namespace i3 {
927
- export {
928
- CDK_ROW_TEMPLATE,
929
- BaseRowDef,
930
- CdkHeaderRowDef,
931
- CdkFooterRowDef,
932
- CdkRowDef,
933
- CdkCellOutletRowContext,
934
- CdkCellOutletMultiRowContext,
935
- CdkCellOutlet,
936
- CdkHeaderRow,
937
- CdkFooterRow,
938
- CdkRow,
939
- CdkNoDataRow
940
- }
941
- }
942
-
943
- declare namespace i4 {
944
- export {
945
- CellDef,
946
- CdkCellDef,
947
- CdkHeaderCellDef,
948
- CdkFooterCellDef,
949
- CdkColumnDef,
950
- BaseCdkCell,
951
- CdkHeaderCell,
952
- CdkFooterCell,
953
- CdkCell
954
- }
955
- }
956
-
957
- declare namespace i5 {
958
- export {
959
- CdkTextColumn
960
- }
961
- }
962
-
963
- /**
964
- * Mixin to provide a directive with a function that checks if the sticky input has been
965
- * changed since the last time the function was called. Essentially adds a dirty-check to the
966
- * sticky value.
967
- * @docs-private
968
- * @deprecated Implement the `CanStick` interface instead.
969
- * @breaking-change 19.0.0
970
- */
971
- export declare function mixinHasStickyInput<T extends Constructor<{}>>(base: T): CanStickCtor & T;
972
-
973
- /**
974
- * Provides a handle for the table to grab the view
975
- * container's ng-container to insert the no data row.
976
- * @docs-private
977
- */
978
- export declare class NoDataRowOutlet implements RowOutlet {
979
- viewContainer: ViewContainerRef;
980
- elementRef: ElementRef<any>;
981
- constructor(...args: unknown[]);
982
- static ɵfac: i0.ɵɵFactoryDeclaration<NoDataRowOutlet, never>;
983
- static ɵdir: i0.ɵɵDirectiveDeclaration<NoDataRowOutlet, "[noDataRowOutlet]", never, {}, {}, never, never, true, never>;
984
- }
985
-
986
- /**
987
- * Set of properties that represents the identity of a single rendered row.
988
- *
989
- * When the table needs to determine the list of rows to render, it will do so by iterating through
990
- * each data object and evaluating its list of row templates to display (when multiTemplateDataRows
991
- * is false, there is only one template per data object). For each pair of data object and row
992
- * template, a `RenderRow` is added to the list of rows to render. If the data object and row
993
- * template pair has already been rendered, the previously used `RenderRow` is added; else a new
994
- * `RenderRow` is * created. Once the list is complete and all data objects have been iterated
995
- * through, a diff is performed to determine the changes that need to be made to the rendered rows.
996
- *
997
- * @docs-private
998
- */
999
- export declare interface RenderRow<T> {
1000
- data: T;
1001
- dataIndex: number;
1002
- rowDef: CdkRowDef<T>;
1003
- }
1004
-
1005
- /**
1006
- * Interface used to conveniently type the possible context interfaces for the render row.
1007
- * @docs-private
1008
- */
1009
- export declare interface RowContext<T> extends CdkCellOutletMultiRowContext<T>, CdkCellOutletRowContext<T> {
1010
- }
1011
-
1012
- /** Interface used to provide an outlet for rows to be inserted into. */
1013
- export declare interface RowOutlet {
1014
- viewContainer: ViewContainerRef;
1015
- }
1016
-
1017
- /**
1018
- * @docs-private
1019
- */
1020
- export declare class _Schedule {
1021
- tasks: (() => unknown)[];
1022
- endTasks: (() => unknown)[];
1023
- }
1024
-
1025
- /**
1026
- * List of all possible directions that can be used for sticky positioning.
1027
- * @docs-private
1028
- */
1029
- export declare const STICKY_DIRECTIONS: StickyDirection[];
1030
-
1031
- /** The injection token used to specify the StickyPositioningListener. */
1032
- export declare const STICKY_POSITIONING_LISTENER: InjectionToken<StickyPositioningListener>;
1033
-
1034
- export declare type StickyDirection = 'top' | 'bottom' | 'left' | 'right';
1035
-
1036
- export declare type StickyOffset = number | null | undefined;
1037
-
1038
- /**
1039
- * If provided, CdkTable will call the methods below when it updates the size/
1040
- * position/etc of its sticky rows and columns.
1041
- */
1042
- export declare interface StickyPositioningListener {
1043
- /** Called when CdkTable updates its sticky start columns. */
1044
- stickyColumnsUpdated(update: StickyUpdate): void;
1045
- /** Called when CdkTable updates its sticky end columns. */
1046
- stickyEndColumnsUpdated(update: StickyUpdate): void;
1047
- /** Called when CdkTable updates its sticky header rows. */
1048
- stickyHeaderRowsUpdated(update: StickyUpdate): void;
1049
- /** Called when CdkTable updates its sticky footer rows. */
1050
- stickyFooterRowsUpdated(update: StickyUpdate): void;
874
+ declare class CdkTableModule {
875
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableModule, never>;
876
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CdkTableModule, never, [typeof ScrollingModule, typeof CdkTable, typeof CdkRowDef, typeof CdkCellDef, typeof CdkCellOutlet, typeof CdkHeaderCellDef, typeof CdkFooterCellDef, typeof CdkColumnDef, typeof CdkCell, typeof CdkRow, typeof CdkHeaderCell, typeof CdkFooterCell, typeof CdkHeaderRow, typeof CdkHeaderRowDef, typeof CdkFooterRow, typeof CdkFooterRowDef, typeof DataRowOutlet, typeof HeaderRowOutlet, typeof FooterRowOutlet, typeof CdkTextColumn, typeof CdkNoDataRow, typeof CdkRecycleRows, typeof NoDataRowOutlet], [typeof CdkTable, typeof CdkRowDef, typeof CdkCellDef, typeof CdkCellOutlet, typeof CdkHeaderCellDef, typeof CdkFooterCellDef, typeof CdkColumnDef, typeof CdkCell, typeof CdkRow, typeof CdkHeaderCell, typeof CdkFooterCell, typeof CdkHeaderRow, typeof CdkHeaderRowDef, typeof CdkFooterRow, typeof CdkFooterRowDef, typeof DataRowOutlet, typeof HeaderRowOutlet, typeof FooterRowOutlet, typeof CdkTextColumn, typeof CdkNoDataRow, typeof CdkRecycleRows, typeof NoDataRowOutlet]>;
877
+ static ɵinj: i0.ɵɵInjectorDeclaration<CdkTableModule>;
1051
878
  }
1052
879
 
1053
- export declare type StickySize = number | null | undefined;
1054
-
1055
880
  /**
1056
- * Applies and removes sticky positioning styles to the `CdkTable` rows and columns cells.
881
+ * Used to provide a table to some of the sub-components without causing a circular dependency.
1057
882
  * @docs-private
1058
883
  */
1059
- export declare class StickyStyler {
1060
- private _isNativeHtmlTable;
1061
- private _stickCellCss;
1062
- direction: Direction;
1063
- private _coalescedStyleScheduler;
1064
- private _isBrowser;
1065
- private readonly _needsPositionStickyOnElement;
1066
- private readonly _positionListener?;
1067
- private readonly _tableInjector?;
1068
- private _elemSizeCache;
1069
- private _resizeObserver;
1070
- private _updatedStickyColumnsParamsToReplay;
1071
- private _stickyColumnsReplayTimeout;
1072
- private _cachedCellWidths;
1073
- private readonly _borderCellCss;
1074
- private _destroyed;
1075
- /**
1076
- * @param _isNativeHtmlTable Whether the sticky logic should be based on a table
1077
- * that uses the native `<table>` element.
1078
- * @param _stickCellCss The CSS class that will be applied to every row/cell that has
1079
- * sticky positioning applied.
1080
- * @param direction The directionality context of the table (ltr/rtl); affects column positioning
1081
- * by reversing left/right positions.
1082
- * @param _isBrowser Whether the table is currently being rendered on the server or the client.
1083
- * @param _needsPositionStickyOnElement Whether we need to specify position: sticky on cells
1084
- * using inline styles. If false, it is assumed that position: sticky is included in
1085
- * the component stylesheet for _stickCellCss.
1086
- * @param _positionListener A listener that is notified of changes to sticky rows/columns
1087
- * and their dimensions.
1088
- * @param _tableInjector The table's Injector.
1089
- */
1090
- constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _coalescedStyleScheduler: _CoalescedStyleScheduler, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined, _tableInjector?: Injector | undefined);
1091
- /**
1092
- * Clears the sticky positioning styles from the row and its cells by resetting the `position`
1093
- * style, setting the zIndex to 0, and unsetting each provided sticky direction.
1094
- * @param rows The list of rows that should be cleared from sticking in the provided directions
1095
- * @param stickyDirections The directions that should no longer be set as sticky on the rows.
1096
- */
1097
- clearStickyPositioning(rows: HTMLElement[], stickyDirections: StickyDirection[]): void;
1098
- /**
1099
- * Applies sticky left and right positions to the cells of each row according to the sticky
1100
- * states of the rendered column definitions.
1101
- * @param rows The rows that should have its set of cells stuck according to the sticky states.
1102
- * @param stickyStartStates A list of boolean states where each state represents whether the cell
1103
- * in this index position should be stuck to the start of the row.
1104
- * @param stickyEndStates A list of boolean states where each state represents whether the cell
1105
- * in this index position should be stuck to the end of the row.
1106
- * @param recalculateCellWidths Whether the sticky styler should recalculate the width of each
1107
- * column cell. If `false` cached widths will be used instead.
1108
- * @param replay Whether to enqueue this call for replay after a ResizeObserver update.
1109
- */
1110
- updateStickyColumns(rows: HTMLElement[], stickyStartStates: boolean[], stickyEndStates: boolean[], recalculateCellWidths?: boolean, replay?: boolean): void;
1111
- /**
1112
- * Applies sticky positioning to the row's cells if using the native table layout, and to the
1113
- * row itself otherwise.
1114
- * @param rowsToStick The list of rows that should be stuck according to their corresponding
1115
- * sticky state and to the provided top or bottom position.
1116
- * @param stickyStates A list of boolean states where each state represents whether the row
1117
- * should be stuck in the particular top or bottom position.
1118
- * @param position The position direction in which the row should be stuck if that row should be
1119
- * sticky.
1120
- *
1121
- */
1122
- stickRows(rowsToStick: HTMLElement[], stickyStates: boolean[], position: 'top' | 'bottom'): void;
1123
- /**
1124
- * When using the native table in Safari, sticky footer cells do not stick. The only way to stick
1125
- * footer rows is to apply sticky styling to the tfoot container. This should only be done if
1126
- * all footer rows are sticky. If not all footer rows are sticky, remove sticky positioning from
1127
- * the tfoot element.
1128
- */
1129
- updateStickyFooterContainer(tableElement: Element, stickyStates: boolean[]): void;
1130
- /** Triggered by the table's OnDestroy hook. */
1131
- destroy(): void;
1132
- /**
1133
- * Removes the sticky style on the element by removing the sticky cell CSS class, re-evaluating
1134
- * the zIndex, removing each of the provided sticky directions, and removing the
1135
- * sticky position if there are no more directions.
1136
- */
1137
- _removeStickyStyle(element: HTMLElement, stickyDirections: StickyDirection[]): void;
1138
- /**
1139
- * Adds the sticky styling to the element by adding the sticky style class, changing position
1140
- * to be sticky (and -webkit-sticky), setting the appropriate zIndex, and adding a sticky
1141
- * direction and value.
1142
- */
1143
- _addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number, isBorderElement: boolean): void;
1144
- /**
1145
- * Calculate what the z-index should be for the element, depending on what directions (top,
1146
- * bottom, left, right) have been set. It should be true that elements with a top direction
1147
- * should have the highest index since these are elements like a table header. If any of those
1148
- * elements are also sticky in another direction, then they should appear above other elements
1149
- * that are only sticky top (e.g. a sticky column on a sticky header). Bottom-sticky elements
1150
- * (e.g. footer rows) should then be next in the ordering such that they are below the header
1151
- * but above any non-sticky elements. Finally, left/right sticky elements (e.g. sticky columns)
1152
- * should minimally increment so that they are above non-sticky elements but below top and bottom
1153
- * elements.
1154
- */
1155
- _getCalculatedZIndex(element: HTMLElement): string;
1156
- /** Gets the widths for each cell in the provided row. */
1157
- _getCellWidths(row: HTMLElement, recalculateCellWidths?: boolean): number[];
1158
- /**
1159
- * Determines the left and right positions of each sticky column cell, which will be the
1160
- * accumulation of all sticky column cell widths to the left and right, respectively.
1161
- * Non-sticky cells do not need to have a value set since their positions will not be applied.
1162
- */
1163
- _getStickyStartColumnPositions(widths: number[], stickyStates: boolean[]): number[];
1164
- /**
1165
- * Determines the left and right positions of each sticky column cell, which will be the
1166
- * accumulation of all sticky column cell widths to the left and right, respectively.
1167
- * Non-sticky cells do not need to have a value set since their positions will not be applied.
1168
- */
1169
- _getStickyEndColumnPositions(widths: number[], stickyStates: boolean[]): number[];
1170
- /**
1171
- * Retreives the most recently observed size of the specified element from the cache, or
1172
- * meaures it directly if not yet cached.
1173
- */
1174
- private _retrieveElementSize;
1175
- /**
1176
- * Conditionally enqueue the requested sticky update and clear previously queued updates
1177
- * for the same rows.
1178
- */
1179
- private _updateStickyColumnReplayQueue;
1180
- /** Remove updates for the specified rows from the queue. */
1181
- private _removeFromStickyColumnReplayQueue;
1182
- /** Update _elemSizeCache with the observed sizes. */
1183
- private _updateCachedSizes;
1184
- /**
1185
- * Invoke afterNextRender with the table's injector, falling back to CoalescedStyleScheduler
1186
- * if the injector was not provided.
1187
- */
1188
- private _afterNextRender;
1189
- }
1190
-
1191
- export declare interface StickyUpdate {
1192
- elements?: readonly (HTMLElement[] | undefined)[];
1193
- offsets?: StickyOffset[];
1194
- sizes: StickySize[];
1195
- }
1196
-
1197
- /** Injection token that can be used to specify the text column options. */
1198
- export declare const TEXT_COLUMN_OPTIONS: InjectionToken<TextColumnOptions<any>>;
1199
-
884
+ declare const CDK_TABLE: InjectionToken<any>;
1200
885
  /** Configurable options for `CdkTextColumn`. */
1201
- export declare interface TextColumnOptions<T> {
886
+ interface TextColumnOptions<T> {
1202
887
  /**
1203
888
  * Default function that provides the header text based on the column name if a header
1204
889
  * text is not provided.
@@ -1207,5 +892,8 @@ export declare interface TextColumnOptions<T> {
1207
892
  /** Default data accessor to use if one is not provided. */
1208
893
  defaultDataAccessor?: (data: T, name: string) => string;
1209
894
  }
895
+ /** Injection token that can be used to specify the text column options. */
896
+ declare const TEXT_COLUMN_OPTIONS: InjectionToken<TextColumnOptions<any>>;
1210
897
 
1211
- export { }
898
+ export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, DataSource, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_POSITIONING_LISTENER, TEXT_COLUMN_OPTIONS };
899
+ export type { CdkCellOutletMultiRowContext, CdkCellOutletRowContext, CdkTableDataSourceInput, CellDef, RenderRow, RowContext, RowOutlet, StickyOffset, StickyPositioningListener, StickySize, StickyUpdate, TextColumnOptions };