@angular/cdk 19.2.13 → 19.2.15

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 (429) hide show
  1. package/_adev_assets/cdk_testing.json +7032 -1
  2. package/_adev_assets/cdk_testing_protractor.json +1747 -1
  3. package/_adev_assets/cdk_testing_selenium_webdriver.json +1801 -1
  4. package/_adev_assets/cdk_testing_testbed.json +1903 -1
  5. package/dialog/index.d.ts +17 -12
  6. package/fesm2022/cdk.mjs +1 -1
  7. package/fesm2022/cdk.mjs.map +1 -1
  8. package/fesm2022/dialog.mjs +21 -9
  9. package/fesm2022/dialog.mjs.map +1 -1
  10. package/fesm2022/testing.mjs +255 -52
  11. package/fesm2022/testing.mjs.map +1 -1
  12. package/{harness-environment.d-BatBdODN.d.ts → harness-environment.d-BbFzIFDE.d.ts} +362 -89
  13. package/package.json +1 -1
  14. package/schematics/ng-add/index.js +1 -1
  15. package/testing/index.d.ts +6 -2
  16. package/testing/selenium-webdriver/index.d.ts +1 -1
  17. package/testing/testbed/index.d.ts +1 -1
  18. package/npm_package/LICENSE +0 -21
  19. package/npm_package/README.md +0 -6
  20. package/npm_package/_adev_assets/cdk_testing.json +0 -1
  21. package/npm_package/_adev_assets/cdk_testing_protractor.json +0 -1
  22. package/npm_package/_adev_assets/cdk_testing_selenium_webdriver.json +0 -1
  23. package/npm_package/_adev_assets/cdk_testing_testbed.json +0 -1
  24. package/npm_package/_index.scss +0 -8
  25. package/npm_package/a11y/_index.scss +0 -60
  26. package/npm_package/a11y/index.d.ts +0 -550
  27. package/npm_package/a11y-module.d-DBHGyKoh.d.ts +0 -314
  28. package/npm_package/a11y-prebuilt.css +0 -1
  29. package/npm_package/accordion/index.d.ts +0 -90
  30. package/npm_package/activedescendant-key-manager.d-Bjic5obv.d.ts +0 -32
  31. package/npm_package/bidi/index.d.ts +0 -21
  32. package/npm_package/bidi-module.d-D-fEBKdS.d.ts +0 -54
  33. package/npm_package/clipboard/index.d.ts +0 -101
  34. package/npm_package/coercion/index.d.ts +0 -45
  35. package/npm_package/coercion/private/index.d.ts +0 -9
  36. package/npm_package/collections/index.d.ts +0 -99
  37. package/npm_package/data-source.d-Bblv7Zvh.d.ts +0 -43
  38. package/npm_package/dialog/index.d.ts +0 -426
  39. package/npm_package/drag-drop/index.d.ts +0 -1383
  40. package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs +0 -952
  41. package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs.map +0 -1
  42. package/npm_package/fesm2022/a11y.mjs +0 -539
  43. package/npm_package/fesm2022/a11y.mjs.map +0 -1
  44. package/npm_package/fesm2022/accordion.mjs +0 -210
  45. package/npm_package/fesm2022/accordion.mjs.map +0 -1
  46. package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs +0 -16
  47. package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +0 -1
  48. package/npm_package/fesm2022/array-I1yfCXUO.mjs +0 -6
  49. package/npm_package/fesm2022/array-I1yfCXUO.mjs.map +0 -1
  50. package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs +0 -25
  51. package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs.map +0 -1
  52. package/npm_package/fesm2022/bidi.mjs +0 -80
  53. package/npm_package/fesm2022/bidi.mjs.map +0 -1
  54. package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs +0 -7
  55. package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs.map +0 -1
  56. package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs +0 -179
  57. package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs.map +0 -1
  58. package/npm_package/fesm2022/cdk.mjs +0 -7
  59. package/npm_package/fesm2022/cdk.mjs.map +0 -1
  60. package/npm_package/fesm2022/clipboard.mjs +0 -211
  61. package/npm_package/fesm2022/clipboard.mjs.map +0 -1
  62. package/npm_package/fesm2022/coercion/private.mjs +0 -15
  63. package/npm_package/fesm2022/coercion/private.mjs.map +0 -1
  64. package/npm_package/fesm2022/coercion.mjs +0 -39
  65. package/npm_package/fesm2022/coercion.mjs.map +0 -1
  66. package/npm_package/fesm2022/collections.mjs +0 -8
  67. package/npm_package/fesm2022/collections.mjs.map +0 -1
  68. package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs +0 -10
  69. package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +0 -1
  70. package/npm_package/fesm2022/data-source-D34wiQZj.mjs +0 -15
  71. package/npm_package/fesm2022/data-source-D34wiQZj.mjs.map +0 -1
  72. package/npm_package/fesm2022/dialog.mjs +0 -870
  73. package/npm_package/fesm2022/dialog.mjs.map +0 -1
  74. package/npm_package/fesm2022/directionality-CBXD4hga.mjs +0 -72
  75. package/npm_package/fesm2022/directionality-CBXD4hga.mjs.map +0 -1
  76. package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs +0 -44
  77. package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +0 -1
  78. package/npm_package/fesm2022/drag-drop.mjs +0 -4359
  79. package/npm_package/fesm2022/drag-drop.mjs.map +0 -1
  80. package/npm_package/fesm2022/element-x4z00URv.mjs +0 -29
  81. package/npm_package/fesm2022/element-x4z00URv.mjs.map +0 -1
  82. package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs +0 -24
  83. package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +0 -1
  84. package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs +0 -22
  85. package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +0 -1
  86. package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs +0 -629
  87. package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs.map +0 -1
  88. package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs +0 -37
  89. package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs.map +0 -1
  90. package/npm_package/fesm2022/keycodes-CpHkExLC.mjs +0 -122
  91. package/npm_package/fesm2022/keycodes-CpHkExLC.mjs.map +0 -1
  92. package/npm_package/fesm2022/keycodes.mjs +0 -15
  93. package/npm_package/fesm2022/keycodes.mjs.map +0 -1
  94. package/npm_package/fesm2022/layout.mjs +0 -43
  95. package/npm_package/fesm2022/layout.mjs.map +0 -1
  96. package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs +0 -360
  97. package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +0 -1
  98. package/npm_package/fesm2022/listbox.mjs +0 -925
  99. package/npm_package/fesm2022/listbox.mjs.map +0 -1
  100. package/npm_package/fesm2022/menu.mjs +0 -1966
  101. package/npm_package/fesm2022/menu.mjs.map +0 -1
  102. package/npm_package/fesm2022/observers/private.mjs +0 -124
  103. package/npm_package/fesm2022/observers/private.mjs.map +0 -1
  104. package/npm_package/fesm2022/observers.mjs +0 -210
  105. package/npm_package/fesm2022/observers.mjs.map +0 -1
  106. package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs +0 -3029
  107. package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs.map +0 -1
  108. package/npm_package/fesm2022/overlay.mjs +0 -102
  109. package/npm_package/fesm2022/overlay.mjs.map +0 -1
  110. package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs +0 -31
  111. package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs.map +0 -1
  112. package/npm_package/fesm2022/platform-DmdVEw_C.mjs +0 -77
  113. package/npm_package/fesm2022/platform-DmdVEw_C.mjs.map +0 -1
  114. package/npm_package/fesm2022/platform.mjs +0 -74
  115. package/npm_package/fesm2022/platform.mjs.map +0 -1
  116. package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs +0 -653
  117. package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs.map +0 -1
  118. package/npm_package/fesm2022/portal.mjs +0 -29
  119. package/npm_package/fesm2022/portal.mjs.map +0 -1
  120. package/npm_package/fesm2022/private.mjs +0 -19
  121. package/npm_package/fesm2022/private.mjs.map +0 -1
  122. package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs +0 -156
  123. package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +0 -1
  124. package/npm_package/fesm2022/scrolling-BkvA05C8.mjs +0 -99
  125. package/npm_package/fesm2022/scrolling-BkvA05C8.mjs.map +0 -1
  126. package/npm_package/fesm2022/scrolling.mjs +0 -1464
  127. package/npm_package/fesm2022/scrolling.mjs.map +0 -1
  128. package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs +0 -226
  129. package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs.map +0 -1
  130. package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs +0 -49
  131. package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs.map +0 -1
  132. package/npm_package/fesm2022/stepper.mjs +0 -614
  133. package/npm_package/fesm2022/stepper.mjs.map +0 -1
  134. package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs +0 -47
  135. package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs.map +0 -1
  136. package/npm_package/fesm2022/table.mjs +0 -2602
  137. package/npm_package/fesm2022/table.mjs.map +0 -1
  138. package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs +0 -19
  139. package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs.map +0 -1
  140. package/npm_package/fesm2022/testing/selenium-webdriver.mjs +0 -353
  141. package/npm_package/fesm2022/testing/selenium-webdriver.mjs.map +0 -1
  142. package/npm_package/fesm2022/testing/testbed.mjs +0 -782
  143. package/npm_package/fesm2022/testing/testbed.mjs.map +0 -1
  144. package/npm_package/fesm2022/testing.mjs +0 -698
  145. package/npm_package/fesm2022/testing.mjs.map +0 -1
  146. package/npm_package/fesm2022/text-field.mjs +0 -437
  147. package/npm_package/fesm2022/text-field.mjs.map +0 -1
  148. package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs +0 -360
  149. package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +0 -1
  150. package/npm_package/fesm2022/tree.mjs +0 -1795
  151. package/npm_package/fesm2022/tree.mjs.map +0 -1
  152. package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs +0 -88
  153. package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +0 -1
  154. package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs +0 -49
  155. package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs.map +0 -1
  156. package/npm_package/focus-key-manager.d-BIKDy8oD.d.ts +0 -34
  157. package/npm_package/focus-monitor.d-CvvJeQRc.d.ts +0 -210
  158. package/npm_package/harness-environment.d-BatBdODN.d.ts +0 -620
  159. package/npm_package/index.d.ts +0 -6
  160. package/npm_package/keycodes/index.d.ts +0 -129
  161. package/npm_package/layout/index.d.ts +0 -89
  162. package/npm_package/list-key-manager.d-BlK3jyRn.d.ts +0 -165
  163. package/npm_package/listbox/index.d.ts +0 -353
  164. package/npm_package/menu/index.d.ts +0 -821
  165. package/npm_package/number-property.d-CJVxXUcb.d.ts +0 -16
  166. package/npm_package/observers/index.d.ts +0 -84
  167. package/npm_package/observers/private/index.d.ts +0 -34
  168. package/npm_package/overlay/_index-deprecated.scss +0 -13
  169. package/npm_package/overlay/_index.scss +0 -193
  170. package/npm_package/overlay/index.d.ts +0 -42
  171. package/npm_package/overlay-module.d-B3qEQtts.d.ts +0 -791
  172. package/npm_package/overlay-prebuilt.css +0 -1
  173. package/npm_package/overlay.d-BdoMy0hX.d.ts +0 -296
  174. package/npm_package/package.json +0 -186
  175. package/npm_package/platform/index.d.ts +0 -83
  176. package/npm_package/platform.d-B3vREl3q.d.ts +0 -33
  177. package/npm_package/portal/index.d.ts +0 -86
  178. package/npm_package/portal-directives.d-BoG39gYN.d.ts +0 -232
  179. package/npm_package/private/index.d.ts +0 -13
  180. package/npm_package/schematics/collection.json +0 -18
  181. package/npm_package/schematics/index.d.ts +0 -14
  182. package/npm_package/schematics/index.js +0 -37
  183. package/npm_package/schematics/index.js.map +0 -1
  184. package/npm_package/schematics/migration.json +0 -15
  185. package/npm_package/schematics/ng-add/index.d.ts +0 -17
  186. package/npm_package/schematics/ng-add/index.js +0 -39
  187. package/npm_package/schematics/ng-add/index.js.map +0 -1
  188. package/npm_package/schematics/ng-add/package-config.d.ts +0 -12
  189. package/npm_package/schematics/ng-add/package-config.js +0 -51
  190. package/npm_package/schematics/ng-add/package-config.js.map +0 -1
  191. package/npm_package/schematics/ng-add/schema.d.ts +0 -11
  192. package/npm_package/schematics/ng-add/schema.js +0 -10
  193. package/npm_package/schematics/ng-add/schema.js.map +0 -1
  194. package/npm_package/schematics/ng-add/schema.json +0 -16
  195. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +0 -53
  196. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +0 -21
  197. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +0 -25
  198. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +0 -45
  199. package/npm_package/schematics/ng-generate/drag-drop/index.d.ts +0 -11
  200. package/npm_package/schematics/ng-generate/drag-drop/index.js +0 -42
  201. package/npm_package/schematics/ng-generate/drag-drop/index.js.map +0 -1
  202. package/npm_package/schematics/ng-generate/drag-drop/schema.d.ts +0 -10
  203. package/npm_package/schematics/ng-generate/drag-drop/schema.js +0 -10
  204. package/npm_package/schematics/ng-generate/drag-drop/schema.js.map +0 -1
  205. package/npm_package/schematics/ng-generate/drag-drop/schema.json +0 -100
  206. package/npm_package/schematics/ng-update/data/attribute-selectors.d.ts +0 -15
  207. package/npm_package/schematics/ng-update/data/attribute-selectors.js +0 -12
  208. package/npm_package/schematics/ng-update/data/attribute-selectors.js.map +0 -1
  209. package/npm_package/schematics/ng-update/data/class-names.d.ts +0 -15
  210. package/npm_package/schematics/ng-update/data/class-names.js +0 -12
  211. package/npm_package/schematics/ng-update/data/class-names.js.map +0 -1
  212. package/npm_package/schematics/ng-update/data/constructor-checks.d.ts +0 -15
  213. package/npm_package/schematics/ng-update/data/constructor-checks.js +0 -17
  214. package/npm_package/schematics/ng-update/data/constructor-checks.js.map +0 -1
  215. package/npm_package/schematics/ng-update/data/css-selectors.d.ts +0 -27
  216. package/npm_package/schematics/ng-update/data/css-selectors.js +0 -12
  217. package/npm_package/schematics/ng-update/data/css-selectors.js.map +0 -1
  218. package/npm_package/schematics/ng-update/data/css-tokens.d.ts +0 -27
  219. package/npm_package/schematics/ng-update/data/css-tokens.js +0 -12
  220. package/npm_package/schematics/ng-update/data/css-tokens.js.map +0 -1
  221. package/npm_package/schematics/ng-update/data/element-selectors.d.ts +0 -15
  222. package/npm_package/schematics/ng-update/data/element-selectors.js +0 -12
  223. package/npm_package/schematics/ng-update/data/element-selectors.js.map +0 -1
  224. package/npm_package/schematics/ng-update/data/index.d.ts +0 -18
  225. package/npm_package/schematics/ng-update/data/index.js +0 -35
  226. package/npm_package/schematics/ng-update/data/index.js.map +0 -1
  227. package/npm_package/schematics/ng-update/data/input-names.d.ts +0 -22
  228. package/npm_package/schematics/ng-update/data/input-names.js +0 -12
  229. package/npm_package/schematics/ng-update/data/input-names.js.map +0 -1
  230. package/npm_package/schematics/ng-update/data/method-call-checks.d.ts +0 -17
  231. package/npm_package/schematics/ng-update/data/method-call-checks.js +0 -12
  232. package/npm_package/schematics/ng-update/data/method-call-checks.js.map +0 -1
  233. package/npm_package/schematics/ng-update/data/output-names.d.ts +0 -22
  234. package/npm_package/schematics/ng-update/data/output-names.js +0 -12
  235. package/npm_package/schematics/ng-update/data/output-names.js.map +0 -1
  236. package/npm_package/schematics/ng-update/data/property-names.d.ts +0 -20
  237. package/npm_package/schematics/ng-update/data/property-names.js +0 -12
  238. package/npm_package/schematics/ng-update/data/property-names.js.map +0 -1
  239. package/npm_package/schematics/ng-update/data/symbol-removal.d.ts +0 -17
  240. package/npm_package/schematics/ng-update/data/symbol-removal.js +0 -12
  241. package/npm_package/schematics/ng-update/data/symbol-removal.js.map +0 -1
  242. package/npm_package/schematics/ng-update/devkit-file-system.d.ts +0 -30
  243. package/npm_package/schematics/ng-update/devkit-file-system.js +0 -83
  244. package/npm_package/schematics/ng-update/devkit-file-system.js.map +0 -1
  245. package/npm_package/schematics/ng-update/devkit-migration-rule.d.ts +0 -24
  246. package/npm_package/schematics/ng-update/devkit-migration-rule.js +0 -142
  247. package/npm_package/schematics/ng-update/devkit-migration-rule.js.map +0 -1
  248. package/npm_package/schematics/ng-update/devkit-migration.d.ts +0 -35
  249. package/npm_package/schematics/ng-update/devkit-migration.js +0 -20
  250. package/npm_package/schematics/ng-update/devkit-migration.js.map +0 -1
  251. package/npm_package/schematics/ng-update/find-stylesheets.d.ts +0 -16
  252. package/npm_package/schematics/ng-update/find-stylesheets.js +0 -41
  253. package/npm_package/schematics/ng-update/find-stylesheets.js.map +0 -1
  254. package/npm_package/schematics/ng-update/html-parsing/angular.d.ts +0 -15
  255. package/npm_package/schematics/ng-update/html-parsing/angular.js +0 -51
  256. package/npm_package/schematics/ng-update/html-parsing/angular.js.map +0 -1
  257. package/npm_package/schematics/ng-update/html-parsing/elements.d.ts +0 -24
  258. package/npm_package/schematics/ng-update/html-parsing/elements.js +0 -63
  259. package/npm_package/schematics/ng-update/html-parsing/elements.js.map +0 -1
  260. package/npm_package/schematics/ng-update/index.d.ts +0 -10
  261. package/npm_package/schematics/ng-update/index.js +0 -29
  262. package/npm_package/schematics/ng-update/index.js.map +0 -1
  263. package/npm_package/schematics/ng-update/migrations/attribute-selectors.d.ts +0 -26
  264. package/npm_package/schematics/ng-update/migrations/attribute-selectors.js +0 -71
  265. package/npm_package/schematics/ng-update/migrations/attribute-selectors.js.map +0 -1
  266. package/npm_package/schematics/ng-update/migrations/class-inheritance.d.ts +0 -26
  267. package/npm_package/schematics/ng-update/migrations/class-inheritance.js +0 -58
  268. package/npm_package/schematics/ng-update/migrations/class-inheritance.js.map +0 -1
  269. package/npm_package/schematics/ng-update/migrations/class-names.d.ts +0 -32
  270. package/npm_package/schematics/ng-update/migrations/class-names.js +0 -91
  271. package/npm_package/schematics/ng-update/migrations/class-names.js.map +0 -1
  272. package/npm_package/schematics/ng-update/migrations/constructor-signature.d.ts +0 -29
  273. package/npm_package/schematics/ng-update/migrations/constructor-signature.js +0 -139
  274. package/npm_package/schematics/ng-update/migrations/constructor-signature.js.map +0 -1
  275. package/npm_package/schematics/ng-update/migrations/css-selectors.d.ts +0 -26
  276. package/npm_package/schematics/ng-update/migrations/css-selectors.js +0 -75
  277. package/npm_package/schematics/ng-update/migrations/css-selectors.js.map +0 -1
  278. package/npm_package/schematics/ng-update/migrations/css-tokens.d.ts +0 -26
  279. package/npm_package/schematics/ng-update/migrations/css-tokens.js +0 -83
  280. package/npm_package/schematics/ng-update/migrations/css-tokens.js.map +0 -1
  281. package/npm_package/schematics/ng-update/migrations/element-selectors.d.ts +0 -26
  282. package/npm_package/schematics/ng-update/migrations/element-selectors.js +0 -66
  283. package/npm_package/schematics/ng-update/migrations/element-selectors.js.map +0 -1
  284. package/npm_package/schematics/ng-update/migrations/input-names.d.ts +0 -26
  285. package/npm_package/schematics/ng-update/migrations/input-names.js +0 -59
  286. package/npm_package/schematics/ng-update/migrations/input-names.js.map +0 -1
  287. package/npm_package/schematics/ng-update/migrations/method-call-arguments.d.ts +0 -22
  288. package/npm_package/schematics/ng-update/migrations/method-call-arguments.js +0 -62
  289. package/npm_package/schematics/ng-update/migrations/method-call-arguments.js.map +0 -1
  290. package/npm_package/schematics/ng-update/migrations/misc-template.d.ts +0 -18
  291. package/npm_package/schematics/ng-update/migrations/misc-template.js +0 -25
  292. package/npm_package/schematics/ng-update/migrations/misc-template.js.map +0 -1
  293. package/npm_package/schematics/ng-update/migrations/output-names.d.ts +0 -22
  294. package/npm_package/schematics/ng-update/migrations/output-names.js +0 -46
  295. package/npm_package/schematics/ng-update/migrations/output-names.js.map +0 -1
  296. package/npm_package/schematics/ng-update/migrations/property-names.d.ts +0 -22
  297. package/npm_package/schematics/ng-update/migrations/property-names.js +0 -60
  298. package/npm_package/schematics/ng-update/migrations/property-names.js.map +0 -1
  299. package/npm_package/schematics/ng-update/migrations/symbol-removal.d.ts +0 -18
  300. package/npm_package/schematics/ng-update/migrations/symbol-removal.js +0 -47
  301. package/npm_package/schematics/ng-update/migrations/symbol-removal.js.map +0 -1
  302. package/npm_package/schematics/ng-update/public-api.d.ts +0 -19
  303. package/npm_package/schematics/ng-update/public-api.js +0 -36
  304. package/npm_package/schematics/ng-update/public-api.js.map +0 -1
  305. package/npm_package/schematics/ng-update/typescript/base-types.d.ts +0 -10
  306. package/npm_package/schematics/ng-update/typescript/base-types.js +0 -23
  307. package/npm_package/schematics/ng-update/typescript/base-types.js.map +0 -1
  308. package/npm_package/schematics/ng-update/typescript/imports.d.ts +0 -18
  309. package/npm_package/schematics/ng-update/typescript/imports.js +0 -53
  310. package/npm_package/schematics/ng-update/typescript/imports.js.map +0 -1
  311. package/npm_package/schematics/ng-update/typescript/literal.d.ts +0 -18
  312. package/npm_package/schematics/ng-update/typescript/literal.js +0 -32
  313. package/npm_package/schematics/ng-update/typescript/literal.js.map +0 -1
  314. package/npm_package/schematics/ng-update/typescript/module-specifiers.d.ts +0 -16
  315. package/npm_package/schematics/ng-update/typescript/module-specifiers.js +0 -35
  316. package/npm_package/schematics/ng-update/typescript/module-specifiers.js.map +0 -1
  317. package/npm_package/schematics/ng-update/upgrade-data.d.ts +0 -35
  318. package/npm_package/schematics/ng-update/upgrade-data.js +0 -40
  319. package/npm_package/schematics/ng-update/upgrade-data.js.map +0 -1
  320. package/npm_package/schematics/package.json +0 -3
  321. package/npm_package/schematics/paths.d.ts +0 -11
  322. package/npm_package/schematics/paths.js +0 -16
  323. package/npm_package/schematics/paths.js.map +0 -1
  324. package/npm_package/schematics/update-tool/component-resource-collector.d.ts +0 -44
  325. package/npm_package/schematics/update-tool/component-resource-collector.js +0 -164
  326. package/npm_package/schematics/update-tool/component-resource-collector.js.map +0 -1
  327. package/npm_package/schematics/update-tool/file-system.d.ts +0 -72
  328. package/npm_package/schematics/update-tool/file-system.js +0 -18
  329. package/npm_package/schematics/update-tool/file-system.js.map +0 -1
  330. package/npm_package/schematics/update-tool/index.d.ts +0 -74
  331. package/npm_package/schematics/update-tool/index.js +0 -172
  332. package/npm_package/schematics/update-tool/index.js.map +0 -1
  333. package/npm_package/schematics/update-tool/logger.d.ts +0 -15
  334. package/npm_package/schematics/update-tool/logger.js +0 -18
  335. package/npm_package/schematics/update-tool/logger.js.map +0 -1
  336. package/npm_package/schematics/update-tool/migration.d.ts +0 -87
  337. package/npm_package/schematics/update-tool/migration.js +0 -70
  338. package/npm_package/schematics/update-tool/migration.js.map +0 -1
  339. package/npm_package/schematics/update-tool/public-api.d.ts +0 -16
  340. package/npm_package/schematics/update-tool/public-api.js +0 -33
  341. package/npm_package/schematics/update-tool/public-api.js.map +0 -1
  342. package/npm_package/schematics/update-tool/target-version.d.ts +0 -16
  343. package/npm_package/schematics/update-tool/target-version.js +0 -27
  344. package/npm_package/schematics/update-tool/target-version.js.map +0 -1
  345. package/npm_package/schematics/update-tool/update-recorder.d.ts +0 -13
  346. package/npm_package/schematics/update-tool/update-recorder.js +0 -10
  347. package/npm_package/schematics/update-tool/update-recorder.js.map +0 -1
  348. package/npm_package/schematics/update-tool/utils/decorators.d.ts +0 -22
  349. package/npm_package/schematics/update-tool/utils/decorators.js +0 -41
  350. package/npm_package/schematics/update-tool/utils/decorators.js.map +0 -1
  351. package/npm_package/schematics/update-tool/utils/diagnostics.d.ts +0 -11
  352. package/npm_package/schematics/update-tool/utils/diagnostics.js +0 -18
  353. package/npm_package/schematics/update-tool/utils/diagnostics.js.map +0 -1
  354. package/npm_package/schematics/update-tool/utils/functions.d.ts +0 -14
  355. package/npm_package/schematics/update-tool/utils/functions.js +0 -20
  356. package/npm_package/schematics/update-tool/utils/functions.js.map +0 -1
  357. package/npm_package/schematics/update-tool/utils/imports.d.ts +0 -17
  358. package/npm_package/schematics/update-tool/utils/imports.js +0 -110
  359. package/npm_package/schematics/update-tool/utils/imports.js.map +0 -1
  360. package/npm_package/schematics/update-tool/utils/line-mappings.d.ts +0 -21
  361. package/npm_package/schematics/update-tool/utils/line-mappings.js +0 -75
  362. package/npm_package/schematics/update-tool/utils/line-mappings.js.map +0 -1
  363. package/npm_package/schematics/update-tool/utils/parse-tsconfig.d.ts +0 -18
  364. package/npm_package/schematics/update-tool/utils/parse-tsconfig.js +0 -45
  365. package/npm_package/schematics/update-tool/utils/parse-tsconfig.js.map +0 -1
  366. package/npm_package/schematics/update-tool/utils/property-name.d.ts +0 -18
  367. package/npm_package/schematics/update-tool/utils/property-name.js +0 -27
  368. package/npm_package/schematics/update-tool/utils/property-name.js.map +0 -1
  369. package/npm_package/schematics/update-tool/utils/virtual-host.d.ts +0 -36
  370. package/npm_package/schematics/update-tool/utils/virtual-host.js +0 -71
  371. package/npm_package/schematics/update-tool/utils/virtual-host.js.map +0 -1
  372. package/npm_package/schematics/update-tool/version-changes.d.ts +0 -32
  373. package/npm_package/schematics/update-tool/version-changes.js +0 -38
  374. package/npm_package/schematics/update-tool/version-changes.js.map +0 -1
  375. package/npm_package/schematics/utils/ast/ng-module-imports.d.ts +0 -12
  376. package/npm_package/schematics/utils/ast/ng-module-imports.js +0 -82
  377. package/npm_package/schematics/utils/ast/ng-module-imports.js.map +0 -1
  378. package/npm_package/schematics/utils/ast.d.ts +0 -25
  379. package/npm_package/schematics/utils/ast.js +0 -79
  380. package/npm_package/schematics/utils/ast.js.map +0 -1
  381. package/npm_package/schematics/utils/build-component.d.ts +0 -20
  382. package/npm_package/schematics/utils/build-component.js +0 -188
  383. package/npm_package/schematics/utils/build-component.js.map +0 -1
  384. package/npm_package/schematics/utils/get-project.d.ts +0 -13
  385. package/npm_package/schematics/utils/get-project.js +0 -28
  386. package/npm_package/schematics/utils/get-project.js.map +0 -1
  387. package/npm_package/schematics/utils/html-manipulation.d.ts +0 -15
  388. package/npm_package/schematics/utils/html-manipulation.js +0 -91
  389. package/npm_package/schematics/utils/html-manipulation.js.map +0 -1
  390. package/npm_package/schematics/utils/index.d.ts +0 -19
  391. package/npm_package/schematics/utils/index.js +0 -36
  392. package/npm_package/schematics/utils/index.js.map +0 -1
  393. package/npm_package/schematics/utils/parse5-element.d.ts +0 -12
  394. package/npm_package/schematics/utils/parse5-element.js +0 -30
  395. package/npm_package/schematics/utils/parse5-element.js.map +0 -1
  396. package/npm_package/schematics/utils/project-index-file.d.ts +0 -10
  397. package/npm_package/schematics/utils/project-index-file.js +0 -20
  398. package/npm_package/schematics/utils/project-index-file.js.map +0 -1
  399. package/npm_package/schematics/utils/project-main-file.d.ts +0 -10
  400. package/npm_package/schematics/utils/project-main-file.js +0 -25
  401. package/npm_package/schematics/utils/project-main-file.js.map +0 -1
  402. package/npm_package/schematics/utils/project-style-file.d.ts +0 -13
  403. package/npm_package/schematics/utils/project-style-file.js +0 -42
  404. package/npm_package/schematics/utils/project-style-file.js.map +0 -1
  405. package/npm_package/schematics/utils/project-targets.d.ts +0 -14
  406. package/npm_package/schematics/utils/project-targets.js +0 -46
  407. package/npm_package/schematics/utils/project-targets.js.map +0 -1
  408. package/npm_package/schematics/utils/project-tsconfig-paths.d.ts +0 -14
  409. package/npm_package/schematics/utils/project-tsconfig-paths.js +0 -46
  410. package/npm_package/schematics/utils/project-tsconfig-paths.js.map +0 -1
  411. package/npm_package/schematics/utils/schematic-options.d.ts +0 -20
  412. package/npm_package/schematics/utils/schematic-options.js +0 -89
  413. package/npm_package/schematics/utils/schematic-options.js.map +0 -1
  414. package/npm_package/scrolling/index.d.ts +0 -62
  415. package/npm_package/scrolling-module.d-ud2XrbF8.d.ts +0 -552
  416. package/npm_package/selection-model.d-C_vvNGP-.d.ts +0 -117
  417. package/npm_package/stepper/index.d.ts +0 -228
  418. package/npm_package/style-loader.d-BXZfQZTF.d.ts +0 -21
  419. package/npm_package/table/index.d.ts +0 -1100
  420. package/npm_package/testing/index.d.ts +0 -94
  421. package/npm_package/testing/selenium-webdriver/index.d.ts +0 -150
  422. package/npm_package/testing/testbed/index.d.ts +0 -157
  423. package/npm_package/text-field/_index.scss +0 -89
  424. package/npm_package/text-field/index.d.ts +0 -156
  425. package/npm_package/text-field-prebuilt.css +0 -1
  426. package/npm_package/tree/index.d.ts +0 -720
  427. package/npm_package/tree-key-manager-strategy.d-XB6M79l-.d.ts +0 -116
  428. package/npm_package/unique-selection-dispatcher.d-DSFqf1MM.d.ts +0 -33
  429. package/npm_package/view-repeater.d-BKljR8u8.d.ts +0 -89
@@ -1,1100 +0,0 @@
1
- import { D as Directionality, a as Direction } from '../bidi-module.d-D-fEBKdS.js';
2
- import * as i0 from '@angular/core';
3
- import { TemplateRef, ElementRef, InjectionToken, OnChanges, IterableDiffers, IterableDiffer, SimpleChanges, IterableChanges, OnDestroy, ViewContainerRef, AfterContentInit, AfterContentChecked, OnInit, ChangeDetectorRef, TrackByFunction, EventEmitter, QueryList, Injector } 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 { g as ScrollingModule } from '../scrolling-module.d-ud2XrbF8.js';
8
- import '../number-property.d-CJVxXUcb.js';
9
-
10
- /** @docs-private */
11
- type Constructor<T> = new (...args: any[]) => T;
12
- /**
13
- * Interface for a mixin to provide a directive with a function that checks if the sticky input has
14
- * been changed since the last time the function was called. Essentially adds a dirty-check to the
15
- * sticky value.
16
- * @docs-private
17
- */
18
- interface CanStick {
19
- /** Whether sticky positioning should be applied. */
20
- sticky: boolean;
21
- /** Whether the sticky value has changed since this was last called. */
22
- hasStickyChanged(): boolean;
23
- /** Resets the dirty check for cases where the sticky state has been used without checking. */
24
- resetStickyChanged(): void;
25
- }
26
- /** @docs-private */
27
- type CanStickCtor = Constructor<CanStick>;
28
- /**
29
- * Mixin to provide a directive with a function that checks if the sticky input has been
30
- * changed since the last time the function was called. Essentially adds a dirty-check to the
31
- * sticky value.
32
- * @docs-private
33
- * @deprecated Implement the `CanStick` interface instead.
34
- * @breaking-change 19.0.0
35
- */
36
- declare function mixinHasStickyInput<T extends Constructor<{}>>(base: T): CanStickCtor & T;
37
-
38
- /** Base interface for a cell definition. Captures a column's cell template definition. */
39
- interface CellDef {
40
- template: TemplateRef<any>;
41
- }
42
- /**
43
- * Cell definition for a CDK table.
44
- * Captures the template of a column's data row cell as well as cell-specific properties.
45
- */
46
- declare class CdkCellDef implements CellDef {
47
- /** @docs-private */
48
- template: TemplateRef<any>;
49
- constructor(...args: unknown[]);
50
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellDef, never>;
51
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellDef, "[cdkCellDef]", never, {}, {}, never, never, true, never>;
52
- }
53
- /**
54
- * Header cell definition for a CDK table.
55
- * Captures the template of a column's header cell and as well as cell-specific properties.
56
- */
57
- declare class CdkHeaderCellDef implements CellDef {
58
- /** @docs-private */
59
- template: TemplateRef<any>;
60
- constructor(...args: unknown[]);
61
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCellDef, never>;
62
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCellDef, "[cdkHeaderCellDef]", never, {}, {}, never, never, true, never>;
63
- }
64
- /**
65
- * Footer cell definition for a CDK table.
66
- * Captures the template of a column's footer cell and as well as cell-specific properties.
67
- */
68
- declare class CdkFooterCellDef implements CellDef {
69
- /** @docs-private */
70
- template: TemplateRef<any>;
71
- constructor(...args: unknown[]);
72
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCellDef, never>;
73
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCellDef, "[cdkFooterCellDef]", never, {}, {}, never, never, true, never>;
74
- }
75
- /**
76
- * Column definition for the CDK table.
77
- * Defines a set of cells available for a table column.
78
- */
79
- declare class CdkColumnDef implements CanStick {
80
- _table?: any;
81
- private _hasStickyChanged;
82
- /** Unique name for this column. */
83
- get name(): string;
84
- set name(name: string);
85
- protected _name: string;
86
- /** Whether the cell is sticky. */
87
- get sticky(): boolean;
88
- set sticky(value: boolean);
89
- private _sticky;
90
- /**
91
- * Whether this column should be sticky positioned on the end of the row. Should make sure
92
- * that it mimics the `CanStick` mixin such that `_hasStickyChanged` is set to true if the value
93
- * has been changed.
94
- */
95
- get stickyEnd(): boolean;
96
- set stickyEnd(value: boolean);
97
- _stickyEnd: boolean;
98
- /** @docs-private */
99
- cell: CdkCellDef;
100
- /** @docs-private */
101
- headerCell: CdkHeaderCellDef;
102
- /** @docs-private */
103
- footerCell: CdkFooterCellDef;
104
- /**
105
- * Transformed version of the column name that can be used as part of a CSS classname. Excludes
106
- * all non-alphanumeric characters and the special characters '-' and '_'. Any characters that
107
- * do not match are replaced by the '-' character.
108
- */
109
- cssClassFriendlyName: string;
110
- /**
111
- * Class name for cells in this column.
112
- * @docs-private
113
- */
114
- _columnCssClassName: string[];
115
- constructor(...args: unknown[]);
116
- /** Whether the sticky state has changed. */
117
- hasStickyChanged(): boolean;
118
- /** Resets the sticky changed state. */
119
- resetStickyChanged(): void;
120
- /**
121
- * Overridable method that sets the css classes that will be added to every cell in this
122
- * column.
123
- * In the future, columnCssClassName will change from type string[] to string and this
124
- * will set a single string value.
125
- * @docs-private
126
- */
127
- protected _updateColumnCssClassName(): void;
128
- /**
129
- * This has been extracted to a util because of TS 4 and VE.
130
- * View Engine doesn't support property rename inheritance.
131
- * TS 4.0 doesn't allow properties to override accessors or vice-versa.
132
- * @docs-private
133
- */
134
- protected _setNameInput(value: string): void;
135
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnDef, never>;
136
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnDef, "[cdkColumnDef]", never, { "name": { "alias": "cdkColumnDef"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; }, {}, ["cell", "headerCell", "footerCell"], never, true, never>;
137
- static ngAcceptInputType_sticky: unknown;
138
- static ngAcceptInputType_stickyEnd: unknown;
139
- }
140
- /** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
141
- declare class BaseCdkCell {
142
- constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
143
- }
144
- /** Header cell template container that adds the right classes and role. */
145
- declare class CdkHeaderCell extends BaseCdkCell {
146
- constructor(...args: unknown[]);
147
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCell, never>;
148
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCell, "cdk-header-cell, th[cdk-header-cell]", never, {}, {}, never, never, true, never>;
149
- }
150
- /** Footer cell template container that adds the right classes and role. */
151
- declare class CdkFooterCell extends BaseCdkCell {
152
- constructor(...args: unknown[]);
153
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCell, never>;
154
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCell, "cdk-footer-cell, td[cdk-footer-cell]", never, {}, {}, never, never, true, never>;
155
- }
156
- /** Cell template container that adds the right classes and role. */
157
- declare class CdkCell extends BaseCdkCell {
158
- constructor(...args: unknown[]);
159
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCell, never>;
160
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCell, "cdk-cell, td[cdk-cell]", never, {}, {}, never, never, true, never>;
161
- }
162
-
163
- /**
164
- * @docs-private
165
- */
166
- declare class _Schedule {
167
- tasks: (() => unknown)[];
168
- endTasks: (() => unknown)[];
169
- }
170
- /** Injection token used to provide a coalesced style scheduler. */
171
- declare const _COALESCED_STYLE_SCHEDULER: InjectionToken<_CoalescedStyleScheduler>;
172
- /**
173
- * Allows grouping up CSSDom mutations after the current execution context.
174
- * This can significantly improve performance when separate consecutive functions are
175
- * reading from the CSSDom and then mutating it.
176
- *
177
- * @docs-private
178
- */
179
- declare class _CoalescedStyleScheduler {
180
- private _currentSchedule;
181
- private _ngZone;
182
- constructor(...args: unknown[]);
183
- /**
184
- * Schedules the specified task to run at the end of the current VM turn.
185
- */
186
- schedule(task: () => unknown): void;
187
- /**
188
- * Schedules the specified task to run after other scheduled tasks at the end of the current
189
- * VM turn.
190
- */
191
- scheduleEnd(task: () => unknown): void;
192
- private _createScheduleIfNeeded;
193
- static ɵfac: i0.ɵɵFactoryDeclaration<_CoalescedStyleScheduler, never>;
194
- static ɵprov: i0.ɵɵInjectableDeclaration<_CoalescedStyleScheduler>;
195
- }
196
-
197
- /**
198
- * The row template that can be used by the mat-table. Should not be used outside of the
199
- * material library.
200
- */
201
- declare const CDK_ROW_TEMPLATE = "<ng-container cdkCellOutlet></ng-container>";
202
- /**
203
- * Base class for the CdkHeaderRowDef and CdkRowDef that handles checking their columns inputs
204
- * for changes and notifying the table.
205
- */
206
- declare abstract class BaseRowDef implements OnChanges {
207
- template: TemplateRef<any>;
208
- protected _differs: IterableDiffers;
209
- /** The columns to be displayed on this row. */
210
- columns: Iterable<string>;
211
- /** Differ used to check if any changes were made to the columns. */
212
- protected _columnsDiffer: IterableDiffer<any>;
213
- constructor(...args: unknown[]);
214
- ngOnChanges(changes: SimpleChanges): void;
215
- /**
216
- * Returns the difference between the current columns and the columns from the last diff, or null
217
- * if there is no difference.
218
- */
219
- getColumnsDiff(): IterableChanges<any> | null;
220
- /** Gets this row def's relevant cell template from the provided column def. */
221
- extractCellTemplate(column: CdkColumnDef): TemplateRef<any>;
222
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseRowDef, never>;
223
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseRowDef, never, never, {}, {}, never, never, true, never>;
224
- }
225
- /**
226
- * Header row definition for the CDK table.
227
- * Captures the header row's template and other header properties such as the columns to display.
228
- */
229
- declare class CdkHeaderRowDef extends BaseRowDef implements CanStick, OnChanges {
230
- _table?: any;
231
- private _hasStickyChanged;
232
- /** Whether the row is sticky. */
233
- get sticky(): boolean;
234
- set sticky(value: boolean);
235
- private _sticky;
236
- constructor(...args: unknown[]);
237
- ngOnChanges(changes: SimpleChanges): void;
238
- /** Whether the sticky state has changed. */
239
- hasStickyChanged(): boolean;
240
- /** Resets the sticky changed state. */
241
- resetStickyChanged(): void;
242
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRowDef, never>;
243
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderRowDef, "[cdkHeaderRowDef]", never, { "columns": { "alias": "cdkHeaderRowDef"; "required": false; }; "sticky": { "alias": "cdkHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
244
- static ngAcceptInputType_sticky: unknown;
245
- }
246
- /**
247
- * Footer row definition for the CDK table.
248
- * Captures the footer row's template and other footer properties such as the columns to display.
249
- */
250
- declare class CdkFooterRowDef extends BaseRowDef implements CanStick, OnChanges {
251
- _table?: any;
252
- private _hasStickyChanged;
253
- /** Whether the row is sticky. */
254
- get sticky(): boolean;
255
- set sticky(value: boolean);
256
- private _sticky;
257
- constructor(...args: unknown[]);
258
- ngOnChanges(changes: SimpleChanges): void;
259
- /** Whether the sticky state has changed. */
260
- hasStickyChanged(): boolean;
261
- /** Resets the sticky changed state. */
262
- resetStickyChanged(): void;
263
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterRowDef, never>;
264
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterRowDef, "[cdkFooterRowDef]", never, { "columns": { "alias": "cdkFooterRowDef"; "required": false; }; "sticky": { "alias": "cdkFooterRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
265
- static ngAcceptInputType_sticky: unknown;
266
- }
267
- /**
268
- * Data row definition for the CDK table.
269
- * Captures the header row's template and other row properties such as the columns to display and
270
- * a when predicate that describes when this row should be used.
271
- */
272
- declare class CdkRowDef<T> extends BaseRowDef {
273
- _table?: any;
274
- /**
275
- * Function that should return true if this row template should be used for the provided index
276
- * and row data. If left undefined, this row will be considered the default row template to use
277
- * when no other when functions return true for the data.
278
- * For every row, there must be at least one when function that passes or an undefined to default.
279
- */
280
- when: (index: number, rowData: T) => boolean;
281
- constructor(...args: unknown[]);
282
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkRowDef<any>, never>;
283
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRowDef<any>, "[cdkRowDef]", never, { "columns": { "alias": "cdkRowDefColumns"; "required": false; }; "when": { "alias": "cdkRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
284
- }
285
- /** Context provided to the row cells when `multiTemplateDataRows` is false */
286
- interface CdkCellOutletRowContext<T> {
287
- /** Data for the row that this cell is located within. */
288
- $implicit?: T;
289
- /** Index of the data object in the provided data array. */
290
- index?: number;
291
- /** Length of the number of total rows. */
292
- count?: number;
293
- /** True if this cell is contained in the first row. */
294
- first?: boolean;
295
- /** True if this cell is contained in the last row. */
296
- last?: boolean;
297
- /** True if this cell is contained in a row with an even-numbered index. */
298
- even?: boolean;
299
- /** True if this cell is contained in a row with an odd-numbered index. */
300
- odd?: boolean;
301
- }
302
- /**
303
- * Context provided to the row cells when `multiTemplateDataRows` is true. This context is the same
304
- * as CdkCellOutletRowContext except that the single `index` value is replaced by `dataIndex` and
305
- * `renderIndex`.
306
- */
307
- interface CdkCellOutletMultiRowContext<T> {
308
- /** Data for the row that this cell is located within. */
309
- $implicit?: T;
310
- /** Index of the data object in the provided data array. */
311
- dataIndex?: number;
312
- /** Index location of the rendered row that this cell is located within. */
313
- renderIndex?: number;
314
- /** Length of the number of total rows. */
315
- count?: number;
316
- /** True if this cell is contained in the first row. */
317
- first?: boolean;
318
- /** True if this cell is contained in the last row. */
319
- last?: boolean;
320
- /** True if this cell is contained in a row with an even-numbered index. */
321
- even?: boolean;
322
- /** True if this cell is contained in a row with an odd-numbered index. */
323
- odd?: boolean;
324
- }
325
- /**
326
- * Outlet for rendering cells inside of a row or header row.
327
- * @docs-private
328
- */
329
- declare class CdkCellOutlet implements OnDestroy {
330
- _viewContainer: ViewContainerRef;
331
- /** The ordered list of cells to render within this outlet's view container */
332
- cells: CdkCellDef[];
333
- /** The data context to be provided to each cell */
334
- context: any;
335
- /**
336
- * Static property containing the latest constructed instance of this class.
337
- * Used by the CDK table when each CdkHeaderRow and CdkRow component is created using
338
- * createEmbeddedView. After one of these components are created, this property will provide
339
- * a handle to provide that component's cells and context. After init, the CdkCellOutlet will
340
- * construct the cells with the provided context.
341
- */
342
- static mostRecentCellOutlet: CdkCellOutlet | null;
343
- constructor(...args: unknown[]);
344
- ngOnDestroy(): void;
345
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellOutlet, never>;
346
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellOutlet, "[cdkCellOutlet]", never, {}, {}, never, never, true, never>;
347
- }
348
- /** Header template container that contains the cell outlet. Adds the right class and role. */
349
- declare class CdkHeaderRow {
350
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRow, never>;
351
- static ɵcmp: i0.ɵɵComponentDeclaration<CdkHeaderRow, "cdk-header-row, tr[cdk-header-row]", never, {}, {}, never, never, true, never>;
352
- }
353
- /** Footer template container that contains the cell outlet. Adds the right class and role. */
354
- declare class CdkFooterRow {
355
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterRow, never>;
356
- static ɵcmp: i0.ɵɵComponentDeclaration<CdkFooterRow, "cdk-footer-row, tr[cdk-footer-row]", never, {}, {}, never, never, true, never>;
357
- }
358
- /** Data row template container that contains the cell outlet. Adds the right class and role. */
359
- 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>;
362
- }
363
- /** Row that can be used to display a message when no data is shown in the table. */
364
- declare class CdkNoDataRow {
365
- templateRef: TemplateRef<any>;
366
- _contentClassName: string;
367
- constructor(...args: unknown[]);
368
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkNoDataRow, never>;
369
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkNoDataRow, "ng-template[cdkNoDataRow]", never, {}, {}, never, never, true, never>;
370
- }
371
-
372
- /** The injection token used to specify the StickyPositioningListener. */
373
- declare const STICKY_POSITIONING_LISTENER: InjectionToken<StickyPositioningListener>;
374
- type StickySize = number | null | undefined;
375
- type StickyOffset = number | null | undefined;
376
- interface StickyUpdate {
377
- elements?: readonly (HTMLElement[] | undefined)[];
378
- offsets?: StickyOffset[];
379
- sizes: StickySize[];
380
- }
381
- /**
382
- * If provided, CdkTable will call the methods below when it updates the size/
383
- * position/etc of its sticky rows and columns.
384
- */
385
- interface StickyPositioningListener {
386
- /** Called when CdkTable updates its sticky start columns. */
387
- stickyColumnsUpdated(update: StickyUpdate): void;
388
- /** Called when CdkTable updates its sticky end columns. */
389
- stickyEndColumnsUpdated(update: StickyUpdate): void;
390
- /** Called when CdkTable updates its sticky header rows. */
391
- stickyHeaderRowsUpdated(update: StickyUpdate): void;
392
- /** Called when CdkTable updates its sticky footer rows. */
393
- stickyFooterRowsUpdated(update: StickyUpdate): void;
394
- }
395
-
396
- /**
397
- * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
398
- * tables that animate rows.
399
- */
400
- declare class CdkRecycleRows {
401
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkRecycleRows, never>;
402
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRecycleRows, "cdk-table[recycleRows], table[cdk-table][recycleRows]", never, {}, {}, never, never, true, never>;
403
- }
404
- /** Interface used to provide an outlet for rows to be inserted into. */
405
- interface RowOutlet {
406
- viewContainer: ViewContainerRef;
407
- }
408
- /** Possible types that can be set as the data source for a `CdkTable`. */
409
- type CdkTableDataSourceInput<T> = readonly T[] | DataSource<T> | Observable<readonly T[]>;
410
- /**
411
- * Provides a handle for the table to grab the view container's ng-container to insert data rows.
412
- * @docs-private
413
- */
414
- declare class DataRowOutlet implements RowOutlet {
415
- viewContainer: ViewContainerRef;
416
- elementRef: ElementRef<any>;
417
- constructor(...args: unknown[]);
418
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRowOutlet, never>;
419
- static ɵdir: i0.ɵɵDirectiveDeclaration<DataRowOutlet, "[rowOutlet]", never, {}, {}, never, never, true, never>;
420
- }
421
- /**
422
- * Provides a handle for the table to grab the view container's ng-container to insert the header.
423
- * @docs-private
424
- */
425
- declare class HeaderRowOutlet implements RowOutlet {
426
- viewContainer: ViewContainerRef;
427
- elementRef: ElementRef<any>;
428
- constructor(...args: unknown[]);
429
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowOutlet, never>;
430
- static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowOutlet, "[headerRowOutlet]", never, {}, {}, never, never, true, never>;
431
- }
432
- /**
433
- * Provides a handle for the table to grab the view container's ng-container to insert the footer.
434
- * @docs-private
435
- */
436
- declare class FooterRowOutlet implements RowOutlet {
437
- viewContainer: ViewContainerRef;
438
- elementRef: ElementRef<any>;
439
- constructor(...args: unknown[]);
440
- static ɵfac: i0.ɵɵFactoryDeclaration<FooterRowOutlet, never>;
441
- static ɵdir: i0.ɵɵDirectiveDeclaration<FooterRowOutlet, "[footerRowOutlet]", never, {}, {}, never, never, true, never>;
442
- }
443
- /**
444
- * Provides a handle for the table to grab the view
445
- * container's ng-container to insert the no data row.
446
- * @docs-private
447
- */
448
- declare class NoDataRowOutlet implements RowOutlet {
449
- viewContainer: ViewContainerRef;
450
- elementRef: ElementRef<any>;
451
- constructor(...args: unknown[]);
452
- static ɵfac: i0.ɵɵFactoryDeclaration<NoDataRowOutlet, never>;
453
- static ɵdir: i0.ɵɵDirectiveDeclaration<NoDataRowOutlet, "[noDataRowOutlet]", never, {}, {}, never, never, true, never>;
454
- }
455
- /**
456
- * The table template that can be used by the mat-table. Should not be used outside of the
457
- * material library.
458
- * @docs-private
459
- */
460
- 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";
461
- /**
462
- * Interface used to conveniently type the possible context interfaces for the render row.
463
- * @docs-private
464
- */
465
- interface RowContext<T> extends CdkCellOutletMultiRowContext<T>, CdkCellOutletRowContext<T> {
466
- }
467
- /**
468
- * Set of properties that represents the identity of a single rendered row.
469
- *
470
- * When the table needs to determine the list of rows to render, it will do so by iterating through
471
- * each data object and evaluating its list of row templates to display (when multiTemplateDataRows
472
- * is false, there is only one template per data object). For each pair of data object and row
473
- * template, a `RenderRow` is added to the list of rows to render. If the data object and row
474
- * template pair has already been rendered, the previously used `RenderRow` is added; else a new
475
- * `RenderRow` is * created. Once the list is complete and all data objects have been iterated
476
- * through, a diff is performed to determine the changes that need to be made to the rendered rows.
477
- *
478
- * @docs-private
479
- */
480
- interface RenderRow<T> {
481
- data: T;
482
- dataIndex: number;
483
- rowDef: CdkRowDef<T>;
484
- }
485
- /**
486
- * A data table that can render a header row, data rows, and a footer row.
487
- * Uses the dataSource input to determine the data to be rendered. The data can be provided either
488
- * as a data array, an Observable stream that emits the data array to render, or a DataSource with a
489
- * connect function that will return an Observable stream that emits the data array to render.
490
- */
491
- declare class CdkTable<T> implements AfterContentInit, AfterContentChecked, CollectionViewer, OnDestroy, OnInit {
492
- protected readonly _differs: IterableDiffers;
493
- protected readonly _changeDetectorRef: ChangeDetectorRef;
494
- protected readonly _elementRef: ElementRef<any>;
495
- protected readonly _dir: Directionality | null;
496
- private _platform;
497
- protected readonly _viewRepeater: _ViewRepeater<T, RenderRow<T>, RowContext<T>>;
498
- protected readonly _coalescedStyleScheduler: _CoalescedStyleScheduler;
499
- private readonly _viewportRuler;
500
- protected readonly _stickyPositioningListener: StickyPositioningListener;
501
- private _document;
502
- /** Latest data provided by the data source. */
503
- protected _data: readonly T[] | undefined;
504
- /** Subject that emits when the component has been destroyed. */
505
- private readonly _onDestroy;
506
- /** List of the rendered rows as identified by their `RenderRow` object. */
507
- private _renderRows;
508
- /** Subscription that listens for the data provided by the data source. */
509
- private _renderChangeSubscription;
510
- /**
511
- * Map of all the user's defined columns (header, data, and footer cell template) identified by
512
- * name. Collection populated by the column definitions gathered by `ContentChildren` as well as
513
- * any custom column definitions added to `_customColumnDefs`.
514
- */
515
- private _columnDefsByName;
516
- /**
517
- * Set of all row definitions that can be used by this table. Populated by the rows gathered by
518
- * using `ContentChildren` as well as any custom row definitions added to `_customRowDefs`.
519
- */
520
- private _rowDefs;
521
- /**
522
- * Set of all header row definitions that can be used by this table. Populated by the rows
523
- * gathered by using `ContentChildren` as well as any custom row definitions added to
524
- * `_customHeaderRowDefs`.
525
- */
526
- private _headerRowDefs;
527
- /**
528
- * Set of all row definitions that can be used by this table. Populated by the rows gathered by
529
- * using `ContentChildren` as well as any custom row definitions added to
530
- * `_customFooterRowDefs`.
531
- */
532
- private _footerRowDefs;
533
- /** Differ used to find the changes in the data provided by the data source. */
534
- private _dataDiffer;
535
- /** Stores the row definition that does not have a when predicate. */
536
- private _defaultRowDef;
537
- /**
538
- * Column definitions that were defined outside of the direct content children of the table.
539
- * These will be defined when, e.g., creating a wrapper around the cdkTable that has
540
- * column definitions as *its* content child.
541
- */
542
- private _customColumnDefs;
543
- /**
544
- * Data row definitions that were defined outside of the direct content children of the table.
545
- * These will be defined when, e.g., creating a wrapper around the cdkTable that has
546
- * built-in data rows as *its* content child.
547
- */
548
- private _customRowDefs;
549
- /**
550
- * Header row definitions that were defined outside of the direct content children of the table.
551
- * These will be defined when, e.g., creating a wrapper around the cdkTable that has
552
- * built-in header rows as *its* content child.
553
- */
554
- private _customHeaderRowDefs;
555
- /**
556
- * Footer row definitions that were defined outside of the direct content children of the table.
557
- * These will be defined when, e.g., creating a wrapper around the cdkTable that has a
558
- * built-in footer row as *its* content child.
559
- */
560
- private _customFooterRowDefs;
561
- /** No data row that was defined outside of the direct content children of the table. */
562
- private _customNoDataRow;
563
- /**
564
- * Whether the header row definition has been changed. Triggers an update to the header row after
565
- * content is checked. Initialized as true so that the table renders the initial set of rows.
566
- */
567
- private _headerRowDefChanged;
568
- /**
569
- * Whether the footer row definition has been changed. Triggers an update to the footer row after
570
- * content is checked. Initialized as true so that the table renders the initial set of rows.
571
- */
572
- private _footerRowDefChanged;
573
- /**
574
- * Whether the sticky column styles need to be updated. Set to `true` when the visible columns
575
- * change.
576
- */
577
- private _stickyColumnStylesNeedReset;
578
- /**
579
- * Whether the sticky styler should recalculate cell widths when applying sticky styles. If
580
- * `false`, cached values will be used instead. This is only applicable to tables with
581
- * {@link fixedLayout} enabled. For other tables, cell widths will always be recalculated.
582
- */
583
- private _forceRecalculateCellWidths;
584
- /**
585
- * Cache of the latest rendered `RenderRow` objects as a map for easy retrieval when constructing
586
- * a new list of `RenderRow` objects for rendering rows. Since the new list is constructed with
587
- * the cached `RenderRow` objects when possible, the row identity is preserved when the data
588
- * and row template matches, which allows the `IterableDiffer` to check rows by reference
589
- * and understand which rows are added/moved/removed.
590
- *
591
- * Implemented as a map of maps where the first key is the `data: T` object and the second is the
592
- * `CdkRowDef<T>` object. With the two keys, the cache points to a `RenderRow<T>` object that
593
- * contains an array of created pairs. The array is necessary to handle cases where the data
594
- * array contains multiple duplicate data objects and each instantiated `RenderRow` must be
595
- * stored.
596
- */
597
- private _cachedRenderRowsMap;
598
- /** Whether the table is applied to a native `<table>`. */
599
- protected _isNativeHtmlTable: boolean;
600
- /**
601
- * Utility class that is responsible for applying the appropriate sticky positioning styles to
602
- * the table's rows and cells.
603
- */
604
- private _stickyStyler;
605
- /**
606
- * CSS class added to any row or cell that has sticky positioning applied. May be overridden by
607
- * table subclasses.
608
- */
609
- protected stickyCssClass: string;
610
- /**
611
- * Whether to manually add position: sticky to all sticky cell elements. Not needed if
612
- * the position is set in a selector associated with the value of stickyCssClass. May be
613
- * overridden by table subclasses
614
- */
615
- protected needsPositionStickyOnElement: boolean;
616
- /** Whether the component is being rendered on the server. */
617
- protected _isServer: boolean;
618
- /** Whether the no data row is currently showing anything. */
619
- private _isShowingNoDataRow;
620
- /** Whether the table has rendered out all the outlets for the first time. */
621
- private _hasAllOutlets;
622
- /** Whether the table is done initializing. */
623
- private _hasInitialized;
624
- /** Aria role to apply to the table's cells based on the table's own role. */
625
- _getCellRole(): string | null;
626
- private _cellRoleInternal;
627
- /**
628
- * Tracking function that will be used to check the differences in data changes. Used similarly
629
- * to `ngFor` `trackBy` function. Optimize row operations by identifying a row based on its data
630
- * relative to the function to know if a row should be added/removed/moved.
631
- * Accepts a function that takes two parameters, `index` and `item`.
632
- */
633
- get trackBy(): TrackByFunction<T>;
634
- set trackBy(fn: TrackByFunction<T>);
635
- private _trackByFn;
636
- /**
637
- * The table's source of data, which can be provided in three ways (in order of complexity):
638
- * - Simple data array (each object represents one table row)
639
- * - Stream that emits a data array each time the array changes
640
- * - `DataSource` object that implements the connect/disconnect interface.
641
- *
642
- * If a data array is provided, the table must be notified when the array's objects are
643
- * added, removed, or moved. This can be done by calling the `renderRows()` function which will
644
- * render the diff since the last table render. If the data array reference is changed, the table
645
- * will automatically trigger an update to the rows.
646
- *
647
- * When providing an Observable stream, the table will trigger an update automatically when the
648
- * stream emits a new array of data.
649
- *
650
- * Finally, when providing a `DataSource` object, the table will use the Observable stream
651
- * provided by the connect function and trigger updates when that stream emits new data array
652
- * values. During the table's ngOnDestroy or when the data source is removed from the table, the
653
- * table will call the DataSource's `disconnect` function (may be useful for cleaning up any
654
- * subscriptions registered during the connect process).
655
- */
656
- get dataSource(): CdkTableDataSourceInput<T>;
657
- set dataSource(dataSource: CdkTableDataSourceInput<T>);
658
- private _dataSource;
659
- /**
660
- * Whether to allow multiple rows per data object by evaluating which rows evaluate their 'when'
661
- * predicate to true. If `multiTemplateDataRows` is false, which is the default value, then each
662
- * dataobject will render the first row that evaluates its when predicate to true, in the order
663
- * defined in the table, or otherwise the default row which does not have a when predicate.
664
- */
665
- get multiTemplateDataRows(): boolean;
666
- set multiTemplateDataRows(value: boolean);
667
- _multiTemplateDataRows: boolean;
668
- /**
669
- * Whether to use a fixed table layout. Enabling this option will enforce consistent column widths
670
- * and optimize rendering sticky styles for native tables. No-op for flex tables.
671
- */
672
- get fixedLayout(): boolean;
673
- set fixedLayout(value: boolean);
674
- private _fixedLayout;
675
- /**
676
- * Emits when the table completes rendering a set of data rows based on the latest data from the
677
- * data source, even if the set of rows is empty.
678
- */
679
- readonly contentChanged: EventEmitter<void>;
680
- /**
681
- * Stream containing the latest information on what rows are being displayed on screen.
682
- * Can be used by the data source to as a heuristic of what data should be provided.
683
- *
684
- * @docs-private
685
- */
686
- readonly viewChange: BehaviorSubject<{
687
- start: number;
688
- end: number;
689
- }>;
690
- _rowOutlet: DataRowOutlet;
691
- _headerRowOutlet: HeaderRowOutlet;
692
- _footerRowOutlet: FooterRowOutlet;
693
- _noDataRowOutlet: NoDataRowOutlet;
694
- /**
695
- * The column definitions provided by the user that contain what the header, data, and footer
696
- * cells should render for each column.
697
- */
698
- _contentColumnDefs: QueryList<CdkColumnDef>;
699
- /** Set of data row definitions that were provided to the table as content children. */
700
- _contentRowDefs: QueryList<CdkRowDef<T>>;
701
- /** Set of header row definitions that were provided to the table as content children. */
702
- _contentHeaderRowDefs: QueryList<CdkHeaderRowDef>;
703
- /** Set of footer row definitions that were provided to the table as content children. */
704
- _contentFooterRowDefs: QueryList<CdkFooterRowDef>;
705
- /** Row definition that will only be rendered if there's no data in the table. */
706
- _noDataRow: CdkNoDataRow;
707
- private _injector;
708
- constructor(...args: unknown[]);
709
- ngOnInit(): void;
710
- ngAfterContentInit(): void;
711
- ngAfterContentChecked(): void;
712
- ngOnDestroy(): void;
713
- /**
714
- * Renders rows based on the table's latest set of data, which was either provided directly as an
715
- * input or retrieved through an Observable stream (directly or from a DataSource).
716
- * Checks for differences in the data since the last diff to perform only the necessary
717
- * changes (add/remove/move rows).
718
- *
719
- * If the table's data source is a DataSource or Observable, this will be invoked automatically
720
- * each time the provided Observable stream emits a new data array. Otherwise if your data is
721
- * an array, this function will need to be called to render any changes.
722
- */
723
- renderRows(): void;
724
- /** Adds a column definition that was not included as part of the content children. */
725
- addColumnDef(columnDef: CdkColumnDef): void;
726
- /** Removes a column definition that was not included as part of the content children. */
727
- removeColumnDef(columnDef: CdkColumnDef): void;
728
- /** Adds a row definition that was not included as part of the content children. */
729
- addRowDef(rowDef: CdkRowDef<T>): void;
730
- /** Removes a row definition that was not included as part of the content children. */
731
- removeRowDef(rowDef: CdkRowDef<T>): void;
732
- /** Adds a header row definition that was not included as part of the content children. */
733
- addHeaderRowDef(headerRowDef: CdkHeaderRowDef): void;
734
- /** Removes a header row definition that was not included as part of the content children. */
735
- removeHeaderRowDef(headerRowDef: CdkHeaderRowDef): void;
736
- /** Adds a footer row definition that was not included as part of the content children. */
737
- addFooterRowDef(footerRowDef: CdkFooterRowDef): void;
738
- /** Removes a footer row definition that was not included as part of the content children. */
739
- removeFooterRowDef(footerRowDef: CdkFooterRowDef): void;
740
- /** Sets a no data row definition that was not included as a part of the content children. */
741
- setNoDataRow(noDataRow: CdkNoDataRow | null): void;
742
- /**
743
- * Updates the header sticky styles. First resets all applied styles with respect to the cells
744
- * sticking to the top. Then, evaluating which cells need to be stuck to the top. This is
745
- * automatically called when the header row changes its displayed set of columns, or if its
746
- * sticky input changes. May be called manually for cases where the cell content changes outside
747
- * of these events.
748
- */
749
- updateStickyHeaderRowStyles(): void;
750
- /**
751
- * Updates the footer sticky styles. First resets all applied styles with respect to the cells
752
- * sticking to the bottom. Then, evaluating which cells need to be stuck to the bottom. This is
753
- * automatically called when the footer row changes its displayed set of columns, or if its
754
- * sticky input changes. May be called manually for cases where the cell content changes outside
755
- * of these events.
756
- */
757
- updateStickyFooterRowStyles(): void;
758
- /**
759
- * Updates the column sticky styles. First resets all applied styles with respect to the cells
760
- * sticking to the left and right. Then sticky styles are added for the left and right according
761
- * to the column definitions for each cell in each row. This is automatically called when
762
- * the data source provides a new set of data or when a column definition changes its sticky
763
- * input. May be called manually for cases where the cell content changes outside of these events.
764
- */
765
- updateStickyColumnStyles(): void;
766
- /** Invoked whenever an outlet is created and has been assigned to the table. */
767
- _outletAssigned(): void;
768
- /** Whether the table has all the information to start rendering. */
769
- private _canRender;
770
- /** Renders the table if its state has changed. */
771
- private _render;
772
- /**
773
- * Get the list of RenderRow objects to render according to the current list of data and defined
774
- * row definitions. If the previous list already contained a particular pair, it should be reused
775
- * so that the differ equates their references.
776
- */
777
- private _getAllRenderRows;
778
- /**
779
- * Gets a list of `RenderRow<T>` for the provided data object and any `CdkRowDef` objects that
780
- * should be rendered for this data. Reuses the cached RenderRow objects if they match the same
781
- * `(T, CdkRowDef)` pair.
782
- */
783
- private _getRenderRowsForData;
784
- /** Update the map containing the content's column definitions. */
785
- private _cacheColumnDefs;
786
- /** Update the list of all available row definitions that can be used. */
787
- private _cacheRowDefs;
788
- /**
789
- * Check if the header, data, or footer rows have changed what columns they want to display or
790
- * whether the sticky states have changed for the header or footer. If there is a diff, then
791
- * re-render that section.
792
- */
793
- private _renderUpdatedColumns;
794
- /**
795
- * Switch to the provided data source by resetting the data and unsubscribing from the current
796
- * render change subscription if one exists. If the data source is null, interpret this by
797
- * clearing the row outlet. Otherwise start listening for new data.
798
- */
799
- private _switchDataSource;
800
- /** Set up a subscription for the data provided by the data source. */
801
- private _observeRenderChanges;
802
- /**
803
- * Clears any existing content in the header row outlet and creates a new embedded view
804
- * in the outlet using the header row definition.
805
- */
806
- private _forceRenderHeaderRows;
807
- /**
808
- * Clears any existing content in the footer row outlet and creates a new embedded view
809
- * in the outlet using the footer row definition.
810
- */
811
- private _forceRenderFooterRows;
812
- /** Adds the sticky column styles for the rows according to the columns' stick states. */
813
- private _addStickyColumnStyles;
814
- /** Gets the list of rows that have been rendered in the row outlet. */
815
- _getRenderedRows(rowOutlet: RowOutlet): HTMLElement[];
816
- /**
817
- * Get the matching row definitions that should be used for this row data. If there is only
818
- * one row definition, it is returned. Otherwise, find the row definitions that has a when
819
- * predicate that returns true with the data. If none return true, return the default row
820
- * definition.
821
- */
822
- _getRowDefs(data: T, dataIndex: number): CdkRowDef<T>[];
823
- private _getEmbeddedViewArgs;
824
- /**
825
- * Creates a new row template in the outlet and fills it with the set of cell templates.
826
- * Optionally takes a context to provide to the row and cells, as well as an optional index
827
- * of where to place the new row template in the outlet.
828
- */
829
- private _renderRow;
830
- private _renderCellTemplateForItem;
831
- /**
832
- * Updates the index-related context for each row to reflect any changes in the index of the rows,
833
- * e.g. first/last/even/odd.
834
- */
835
- private _updateRowIndexContext;
836
- /** Gets the column definitions for the provided row def. */
837
- private _getCellTemplates;
838
- /**
839
- * Forces a re-render of the data rows. Should be called in cases where there has been an input
840
- * change that affects the evaluation of which rows should be rendered, e.g. toggling
841
- * `multiTemplateDataRows` or adding/removing row definitions.
842
- */
843
- private _forceRenderDataRows;
844
- /**
845
- * Checks if there has been a change in sticky states since last check and applies the correct
846
- * sticky styles. Since checking resets the "dirty" state, this should only be performed once
847
- * during a change detection and after the inputs are settled (after content check).
848
- */
849
- private _checkStickyStates;
850
- /**
851
- * Creates the sticky styler that will be used for sticky rows and columns. Listens
852
- * for directionality changes and provides the latest direction to the styler. Re-applies column
853
- * stickiness when directionality changes.
854
- */
855
- private _setupStickyStyler;
856
- /** Filters definitions that belong to this table from a QueryList. */
857
- private _getOwnDefs;
858
- /** Creates or removes the no data row, depending on whether any data is being shown. */
859
- private _updateNoDataRow;
860
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkTable<any>, never>;
861
- static ɵcmp: i0.ɵɵComponentDeclaration<CdkTable<any>, "cdk-table, table[cdk-table]", ["cdkTable"], { "trackBy": { "alias": "trackBy"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "multiTemplateDataRows": { "alias": "multiTemplateDataRows"; "required": false; }; "fixedLayout": { "alias": "fixedLayout"; "required": false; }; }, { "contentChanged": "contentChanged"; }, ["_noDataRow", "_contentColumnDefs", "_contentRowDefs", "_contentHeaderRowDefs", "_contentFooterRowDefs"], ["caption", "colgroup, col", "*"], true, never>;
862
- static ngAcceptInputType_multiTemplateDataRows: unknown;
863
- static ngAcceptInputType_fixedLayout: unknown;
864
- }
865
-
866
- /**
867
- * Column that simply shows text content for the header and row cells. Assumes that the table
868
- * is using the native table implementation (`<table>`).
869
- *
870
- * By default, the name of this column will be the header text and data property accessor.
871
- * The header text can be overridden with the `headerText` input. Cell values can be overridden with
872
- * the `dataAccessor` input. Change the text justification to the start or end using the `justify`
873
- * input.
874
- */
875
- declare class CdkTextColumn<T> implements OnDestroy, OnInit {
876
- private _table;
877
- private _options;
878
- /** Column name that should be used to reference this column. */
879
- get name(): string;
880
- set name(name: string);
881
- _name: string;
882
- /**
883
- * Text label that should be used for the column header. If this property is not
884
- * set, the header text will default to the column name with its first letter capitalized.
885
- */
886
- headerText: string;
887
- /**
888
- * Accessor function to retrieve the data rendered for each cell. If this
889
- * property is not set, the data cells will render the value found in the data's property matching
890
- * the column's name. For example, if the column is named `id`, then the rendered value will be
891
- * value defined by the data's `id` property.
892
- */
893
- dataAccessor: (data: T, name: string) => string;
894
- /** Alignment of the cell values. */
895
- justify: 'start' | 'end' | 'center';
896
- /** @docs-private */
897
- columnDef: CdkColumnDef;
898
- /**
899
- * The column cell is provided to the column during `ngOnInit` with a static query.
900
- * Normally, this will be retrieved by the column using `ContentChild`, but that assumes the
901
- * column definition was provided in the same view as the table, which is not the case with this
902
- * component.
903
- * @docs-private
904
- */
905
- cell: CdkCellDef;
906
- /**
907
- * The column headerCell is provided to the column during `ngOnInit` with a static query.
908
- * Normally, this will be retrieved by the column using `ContentChild`, but that assumes the
909
- * column definition was provided in the same view as the table, which is not the case with this
910
- * component.
911
- * @docs-private
912
- */
913
- headerCell: CdkHeaderCellDef;
914
- constructor(...args: unknown[]);
915
- ngOnInit(): void;
916
- ngOnDestroy(): void;
917
- /**
918
- * Creates a default header text. Use the options' header text transformation function if one
919
- * has been provided. Otherwise simply capitalize the column name.
920
- */
921
- _createDefaultHeaderText(): string;
922
- /** Synchronizes the column definition name with the text column name. */
923
- private _syncColumnDefName;
924
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkTextColumn<any>, never>;
925
- 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>;
926
- }
927
-
928
- declare class CdkTableModule {
929
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableModule, never>;
930
- 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]>;
931
- static ɵinj: i0.ɵɵInjectorDeclaration<CdkTableModule>;
932
- }
933
-
934
- /**
935
- * Directions that can be used when setting sticky positioning.
936
- * @docs-private
937
- */
938
-
939
- type StickyDirection = 'top' | 'bottom' | 'left' | 'right';
940
- /**
941
- * List of all possible directions that can be used for sticky positioning.
942
- * @docs-private
943
- */
944
- declare const STICKY_DIRECTIONS: StickyDirection[];
945
- /**
946
- * Applies and removes sticky positioning styles to the `CdkTable` rows and columns cells.
947
- * @docs-private
948
- */
949
- declare class StickyStyler {
950
- private _isNativeHtmlTable;
951
- private _stickCellCss;
952
- direction: Direction;
953
- private _coalescedStyleScheduler;
954
- private _isBrowser;
955
- private readonly _needsPositionStickyOnElement;
956
- private readonly _positionListener?;
957
- private readonly _tableInjector?;
958
- private _elemSizeCache;
959
- private _resizeObserver;
960
- private _updatedStickyColumnsParamsToReplay;
961
- private _stickyColumnsReplayTimeout;
962
- private _cachedCellWidths;
963
- private readonly _borderCellCss;
964
- private _destroyed;
965
- /**
966
- * @param _isNativeHtmlTable Whether the sticky logic should be based on a table
967
- * that uses the native `<table>` element.
968
- * @param _stickCellCss The CSS class that will be applied to every row/cell that has
969
- * sticky positioning applied.
970
- * @param direction The directionality context of the table (ltr/rtl); affects column positioning
971
- * by reversing left/right positions.
972
- * @param _isBrowser Whether the table is currently being rendered on the server or the client.
973
- * @param _needsPositionStickyOnElement Whether we need to specify position: sticky on cells
974
- * using inline styles. If false, it is assumed that position: sticky is included in
975
- * the component stylesheet for _stickCellCss.
976
- * @param _positionListener A listener that is notified of changes to sticky rows/columns
977
- * and their dimensions.
978
- * @param _tableInjector The table's Injector.
979
- */
980
- constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _coalescedStyleScheduler: _CoalescedStyleScheduler, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined, _tableInjector?: Injector | undefined);
981
- /**
982
- * Clears the sticky positioning styles from the row and its cells by resetting the `position`
983
- * style, setting the zIndex to 0, and unsetting each provided sticky direction.
984
- * @param rows The list of rows that should be cleared from sticking in the provided directions
985
- * @param stickyDirections The directions that should no longer be set as sticky on the rows.
986
- */
987
- clearStickyPositioning(rows: HTMLElement[], stickyDirections: StickyDirection[]): void;
988
- /**
989
- * Applies sticky left and right positions to the cells of each row according to the sticky
990
- * states of the rendered column definitions.
991
- * @param rows The rows that should have its set of cells stuck according to the sticky states.
992
- * @param stickyStartStates A list of boolean states where each state represents whether the cell
993
- * in this index position should be stuck to the start of the row.
994
- * @param stickyEndStates A list of boolean states where each state represents whether the cell
995
- * in this index position should be stuck to the end of the row.
996
- * @param recalculateCellWidths Whether the sticky styler should recalculate the width of each
997
- * column cell. If `false` cached widths will be used instead.
998
- * @param replay Whether to enqueue this call for replay after a ResizeObserver update.
999
- */
1000
- updateStickyColumns(rows: HTMLElement[], stickyStartStates: boolean[], stickyEndStates: boolean[], recalculateCellWidths?: boolean, replay?: boolean): void;
1001
- /**
1002
- * Applies sticky positioning to the row's cells if using the native table layout, and to the
1003
- * row itself otherwise.
1004
- * @param rowsToStick The list of rows that should be stuck according to their corresponding
1005
- * sticky state and to the provided top or bottom position.
1006
- * @param stickyStates A list of boolean states where each state represents whether the row
1007
- * should be stuck in the particular top or bottom position.
1008
- * @param position The position direction in which the row should be stuck if that row should be
1009
- * sticky.
1010
- *
1011
- */
1012
- stickRows(rowsToStick: HTMLElement[], stickyStates: boolean[], position: 'top' | 'bottom'): void;
1013
- /**
1014
- * When using the native table in Safari, sticky footer cells do not stick. The only way to stick
1015
- * footer rows is to apply sticky styling to the tfoot container. This should only be done if
1016
- * all footer rows are sticky. If not all footer rows are sticky, remove sticky positioning from
1017
- * the tfoot element.
1018
- */
1019
- updateStickyFooterContainer(tableElement: Element, stickyStates: boolean[]): void;
1020
- /** Triggered by the table's OnDestroy hook. */
1021
- destroy(): void;
1022
- /**
1023
- * Removes the sticky style on the element by removing the sticky cell CSS class, re-evaluating
1024
- * the zIndex, removing each of the provided sticky directions, and removing the
1025
- * sticky position if there are no more directions.
1026
- */
1027
- _removeStickyStyle(element: HTMLElement, stickyDirections: StickyDirection[]): void;
1028
- /**
1029
- * Adds the sticky styling to the element by adding the sticky style class, changing position
1030
- * to be sticky (and -webkit-sticky), setting the appropriate zIndex, and adding a sticky
1031
- * direction and value.
1032
- */
1033
- _addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number, isBorderElement: boolean): void;
1034
- /**
1035
- * Calculate what the z-index should be for the element, depending on what directions (top,
1036
- * bottom, left, right) have been set. It should be true that elements with a top direction
1037
- * should have the highest index since these are elements like a table header. If any of those
1038
- * elements are also sticky in another direction, then they should appear above other elements
1039
- * that are only sticky top (e.g. a sticky column on a sticky header). Bottom-sticky elements
1040
- * (e.g. footer rows) should then be next in the ordering such that they are below the header
1041
- * but above any non-sticky elements. Finally, left/right sticky elements (e.g. sticky columns)
1042
- * should minimally increment so that they are above non-sticky elements but below top and bottom
1043
- * elements.
1044
- */
1045
- _getCalculatedZIndex(element: HTMLElement): string;
1046
- /** Gets the widths for each cell in the provided row. */
1047
- _getCellWidths(row: HTMLElement, recalculateCellWidths?: boolean): number[];
1048
- /**
1049
- * Determines the left and right positions of each sticky column cell, which will be the
1050
- * accumulation of all sticky column cell widths to the left and right, respectively.
1051
- * Non-sticky cells do not need to have a value set since their positions will not be applied.
1052
- */
1053
- _getStickyStartColumnPositions(widths: number[], stickyStates: boolean[]): number[];
1054
- /**
1055
- * Determines the left and right positions of each sticky column cell, which will be the
1056
- * accumulation of all sticky column cell widths to the left and right, respectively.
1057
- * Non-sticky cells do not need to have a value set since their positions will not be applied.
1058
- */
1059
- _getStickyEndColumnPositions(widths: number[], stickyStates: boolean[]): number[];
1060
- /**
1061
- * Retreives the most recently observed size of the specified element from the cache, or
1062
- * meaures it directly if not yet cached.
1063
- */
1064
- private _retrieveElementSize;
1065
- /**
1066
- * Conditionally enqueue the requested sticky update and clear previously queued updates
1067
- * for the same rows.
1068
- */
1069
- private _updateStickyColumnReplayQueue;
1070
- /** Remove updates for the specified rows from the queue. */
1071
- private _removeFromStickyColumnReplayQueue;
1072
- /** Update _elemSizeCache with the observed sizes. */
1073
- private _updateCachedSizes;
1074
- /**
1075
- * Invoke afterNextRender with the table's injector, falling back to CoalescedStyleScheduler
1076
- * if the injector was not provided.
1077
- */
1078
- private _afterNextRender;
1079
- }
1080
-
1081
- /**
1082
- * Used to provide a table to some of the sub-components without causing a circular dependency.
1083
- * @docs-private
1084
- */
1085
- declare const CDK_TABLE: InjectionToken<any>;
1086
- /** Configurable options for `CdkTextColumn`. */
1087
- interface TextColumnOptions<T> {
1088
- /**
1089
- * Default function that provides the header text based on the column name if a header
1090
- * text is not provided.
1091
- */
1092
- defaultHeaderTextTransform?: (name: string) => string;
1093
- /** Default data accessor to use if one is not provided. */
1094
- defaultDataAccessor?: (data: T, name: string) => string;
1095
- }
1096
- /** Injection token that can be used to specify the text column options. */
1097
- declare const TEXT_COLUMN_OPTIONS: InjectionToken<TextColumnOptions<any>>;
1098
-
1099
- export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CDK_TABLE_TEMPLATE, 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_DIRECTIONS, STICKY_POSITIONING_LISTENER, StickyStyler, TEXT_COLUMN_OPTIONS, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule, mixinHasStickyInput };
1100
- export type { CanStick, CanStickCtor, CdkCellOutletMultiRowContext, CdkCellOutletRowContext, CdkTableDataSourceInput, CellDef, Constructor, RenderRow, RowContext, RowOutlet, StickyDirection, StickyOffset, StickyPositioningListener, StickySize, StickyUpdate, TextColumnOptions };