@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,550 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { OnDestroy, Provider, QueryList, InjectionToken, NgZone, Injector } from '@angular/core';
3
- export { A as ActiveDescendantKeyManager, H as Highlightable } from '../activedescendant-key-manager.d-Bjic5obv.js';
4
- export { a as FocusKeyManager, F as FocusableOption } from '../focus-key-manager.d-BIKDy8oD.js';
5
- export { a as ListKeyManager, b as ListKeyManagerModifierKey, L as ListKeyManagerOption } from '../list-key-manager.d-BlK3jyRn.js';
6
- import { Subject, Observable } from 'rxjs';
7
- import { a as TreeKeyManagerItem, T as TreeKeyManagerStrategy, b as TreeKeyManagerFactory, c as TreeKeyManagerOptions } from '../tree-key-manager-strategy.d-XB6M79l-.js';
8
- import { a as FocusTrap, I as InteractivityChecker } from '../a11y-module.d-DBHGyKoh.js';
9
- export { A as A11yModule, d as AriaLivePoliteness, c as CdkAriaLive, C as CdkTrapFocus, F as FocusTrapFactory, b as IsFocusableConfig, h as LIVE_ANNOUNCER_DEFAULT_OPTIONS, e as LIVE_ANNOUNCER_ELEMENT_TOKEN, f as LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY, L as LiveAnnouncer, g as LiveAnnouncerDefaultOptions } from '../a11y-module.d-DBHGyKoh.js';
10
- export { C as CdkMonitorFocus, d as FOCUS_MONITOR_DEFAULT_OPTIONS, e as FocusMonitor, b as FocusMonitorDetectionMode, c as FocusMonitorOptions, a as FocusOptions, F as FocusOrigin } from '../focus-monitor.d-CvvJeQRc.js';
11
- import '../observers/index.js';
12
- import '../number-property.d-CJVxXUcb.js';
13
-
14
- /**
15
- * Interface used to register message elements and keep a count of how many registrations have
16
- * the same message and the reference to the message element used for the `aria-describedby`.
17
- */
18
- interface RegisteredMessage {
19
- /** The element containing the message. */
20
- messageElement: Element;
21
- /** The number of elements that reference this message element via `aria-describedby`. */
22
- referenceCount: number;
23
- }
24
- /**
25
- * ID used for the body container where all messages are appended.
26
- * @deprecated No longer being used. To be removed.
27
- * @breaking-change 14.0.0
28
- */
29
- declare const MESSAGES_CONTAINER_ID = "cdk-describedby-message-container";
30
- /**
31
- * ID prefix used for each created message element.
32
- * @deprecated To be turned into a private variable.
33
- * @breaking-change 14.0.0
34
- */
35
- declare const CDK_DESCRIBEDBY_ID_PREFIX = "cdk-describedby-message";
36
- /**
37
- * Attribute given to each host element that is described by a message element.
38
- * @deprecated To be turned into a private variable.
39
- * @breaking-change 14.0.0
40
- */
41
- declare const CDK_DESCRIBEDBY_HOST_ATTRIBUTE = "cdk-describedby-host";
42
- /**
43
- * Utility that creates visually hidden elements with a message content. Useful for elements that
44
- * want to use aria-describedby to further describe themselves without adding additional visual
45
- * content.
46
- */
47
- declare class AriaDescriber implements OnDestroy {
48
- private _platform;
49
- private _document;
50
- /** Map of all registered message elements that have been placed into the document. */
51
- private _messageRegistry;
52
- /** Container for all registered messages. */
53
- private _messagesContainer;
54
- /** Unique ID for the service. */
55
- private readonly _id;
56
- constructor(...args: unknown[]);
57
- /**
58
- * Adds to the host element an aria-describedby reference to a hidden element that contains
59
- * the message. If the same message has already been registered, then it will reuse the created
60
- * message element.
61
- */
62
- describe(hostElement: Element, message: string, role?: string): void;
63
- /**
64
- * Adds to the host element an aria-describedby reference to an already-existing message element.
65
- */
66
- describe(hostElement: Element, message: HTMLElement): void;
67
- /** Removes the host element's aria-describedby reference to the message. */
68
- removeDescription(hostElement: Element, message: string, role?: string): void;
69
- /** Removes the host element's aria-describedby reference to the message element. */
70
- removeDescription(hostElement: Element, message: HTMLElement): void;
71
- /** Unregisters all created message elements and removes the message container. */
72
- ngOnDestroy(): void;
73
- /**
74
- * Creates a new element in the visually hidden message container element with the message
75
- * as its content and adds it to the message registry.
76
- */
77
- private _createMessageElement;
78
- /** Deletes the message element from the global messages container. */
79
- private _deleteMessageElement;
80
- /** Creates the global container for all aria-describedby messages. */
81
- private _createMessagesContainer;
82
- /** Removes all cdk-describedby messages that are hosted through the element. */
83
- private _removeCdkDescribedByReferenceIds;
84
- /**
85
- * Adds a message reference to the element using aria-describedby and increments the registered
86
- * message's reference count.
87
- */
88
- private _addMessageReference;
89
- /**
90
- * Removes a message reference from the element using aria-describedby
91
- * and decrements the registered message's reference count.
92
- */
93
- private _removeMessageReference;
94
- /** Returns true if the element has been described by the provided message ID. */
95
- private _isElementDescribedByMessage;
96
- /** Determines whether a message can be described on a particular element. */
97
- private _canBeDescribed;
98
- /** Checks whether a node is an Element node. */
99
- private _isElementNode;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<AriaDescriber, never>;
101
- static ɵprov: i0.ɵɵInjectableDeclaration<AriaDescriber>;
102
- }
103
-
104
- /**
105
- * Adds the given ID to the specified ARIA attribute on an element.
106
- * Used for attributes such as aria-labelledby, aria-owns, etc.
107
- */
108
- declare function addAriaReferencedId(el: Element, attr: `aria-${string}`, id: string): void;
109
- /**
110
- * Removes the given ID from the specified ARIA attribute on an element.
111
- * Used for attributes such as aria-labelledby, aria-owns, etc.
112
- */
113
- declare function removeAriaReferencedId(el: Element, attr: `aria-${string}`, id: string): void;
114
- /**
115
- * Gets the list of IDs referenced by the given ARIA attribute on an element.
116
- * Used for attributes such as aria-labelledby, aria-owns, etc.
117
- */
118
- declare function getAriaReferenceIds(el: Element, attr: string): string[];
119
-
120
- /**
121
- * @docs-private
122
- *
123
- * Opt-out of Tree of key manager behavior.
124
- *
125
- * When provided, Tree has same focus management behavior as before TreeKeyManager was introduced.
126
- * - Tree does not respond to keyboard interaction
127
- * - Tree node allows tabindex to be set by Input binding
128
- * - Tree node allows tabindex to be set by attribute binding
129
- *
130
- * @deprecated NoopTreeKeyManager deprecated. Use TreeKeyManager or inject a
131
- * TreeKeyManagerStrategy instead. To be removed in a future version.
132
- *
133
- * @breaking-change 21.0.0
134
- */
135
- declare class NoopTreeKeyManager<T extends TreeKeyManagerItem> implements TreeKeyManagerStrategy<T> {
136
- readonly _isNoopTreeKeyManager = true;
137
- readonly change: Subject<T | null>;
138
- destroy(): void;
139
- onKeydown(): void;
140
- getActiveItemIndex(): null;
141
- getActiveItem(): null;
142
- focusItem(): void;
143
- }
144
- /**
145
- * @docs-private
146
- *
147
- * Opt-out of Tree of key manager behavior.
148
- *
149
- * When provided, Tree has same focus management behavior as before TreeKeyManager was introduced.
150
- * - Tree does not respond to keyboard interaction
151
- * - Tree node allows tabindex to be set by Input binding
152
- * - Tree node allows tabindex to be set by attribute binding
153
- *
154
- * @deprecated NoopTreeKeyManager deprecated. Use TreeKeyManager or inject a
155
- * TreeKeyManagerStrategy instead. To be removed in a future version.
156
- *
157
- * @breaking-change 21.0.0
158
- */
159
- declare function NOOP_TREE_KEY_MANAGER_FACTORY<T extends TreeKeyManagerItem>(): TreeKeyManagerFactory<T>;
160
- /**
161
- * @docs-private
162
- *
163
- * Opt-out of Tree of key manager behavior.
164
- *
165
- * When provided, Tree has same focus management behavior as before TreeKeyManager was introduced.
166
- * - Tree does not respond to keyboard interaction
167
- * - Tree node allows tabindex to be set by Input binding
168
- * - Tree node allows tabindex to be set by attribute binding
169
- *
170
- * @deprecated NoopTreeKeyManager deprecated. Use TreeKeyManager or inject a
171
- * TreeKeyManagerStrategy instead. To be removed in a future version.
172
- *
173
- * @breaking-change 21.0.0
174
- */
175
- declare const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER: Provider;
176
-
177
- /**
178
- * This class manages keyboard events for trees. If you pass it a QueryList or other list of tree
179
- * items, it will set the active item, focus, handle expansion and typeahead correctly when
180
- * keyboard events occur.
181
- */
182
- declare class TreeKeyManager<T extends TreeKeyManagerItem> implements TreeKeyManagerStrategy<T> {
183
- /** The index of the currently active (focused) item. */
184
- private _activeItemIndex;
185
- /** The currently active (focused) item. */
186
- private _activeItem;
187
- /** Whether or not we activate the item when it's focused. */
188
- private _shouldActivationFollowFocus;
189
- /**
190
- * The orientation that the tree is laid out in. In `rtl` mode, the behavior of Left and
191
- * Right arrow are switched.
192
- */
193
- private _horizontalOrientation;
194
- /**
195
- * Predicate function that can be used to check whether an item should be skipped
196
- * by the key manager.
197
- *
198
- * The default value for this doesn't skip any elements in order to keep tree items focusable
199
- * when disabled. This aligns with ARIA guidelines:
200
- * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols.
201
- */
202
- private _skipPredicateFn;
203
- /** Function to determine equivalent items. */
204
- private _trackByFn;
205
- /** Synchronous cache of the items to manage. */
206
- private _items;
207
- private _typeahead?;
208
- private _typeaheadSubscription;
209
- private _hasInitialFocused;
210
- private _initializeFocus;
211
- /**
212
- *
213
- * @param items List of TreeKeyManager options. Can be synchronous or asynchronous.
214
- * @param config Optional configuration options. By default, use 'ltr' horizontal orientation. By
215
- * default, do not skip any nodes. By default, key manager only calls `focus` method when items
216
- * are focused and does not call `activate`. If `typeaheadDefaultInterval` is `true`, use a
217
- * default interval of 200ms.
218
- */
219
- constructor(items: Observable<T[]> | QueryList<T> | T[], config: TreeKeyManagerOptions<T>);
220
- /** Stream that emits any time the focused item changes. */
221
- readonly change: Subject<T | null>;
222
- /** Cleans up the key manager. */
223
- destroy(): void;
224
- /**
225
- * Handles a keyboard event on the tree.
226
- * @param event Keyboard event that represents the user interaction with the tree.
227
- */
228
- onKeydown(event: KeyboardEvent): void;
229
- /** Index of the currently active item. */
230
- getActiveItemIndex(): number | null;
231
- /** The currently active item. */
232
- getActiveItem(): T | null;
233
- /** Focus the first available item. */
234
- private _focusFirstItem;
235
- /** Focus the last available item. */
236
- private _focusLastItem;
237
- /** Focus the next available item. */
238
- private _focusNextItem;
239
- /** Focus the previous available item. */
240
- private _focusPreviousItem;
241
- /**
242
- * Focus the provided item by index.
243
- * @param index The index of the item to focus.
244
- * @param options Additional focusing options.
245
- */
246
- focusItem(index: number, options?: {
247
- emitChangeEvent?: boolean;
248
- }): void;
249
- focusItem(item: T, options?: {
250
- emitChangeEvent?: boolean;
251
- }): void;
252
- focusItem(itemOrIndex: number | T, options?: {
253
- emitChangeEvent?: boolean;
254
- }): void;
255
- private _updateActiveItemIndex;
256
- private _setTypeAhead;
257
- private _findNextAvailableItemIndex;
258
- private _findPreviousAvailableItemIndex;
259
- /**
260
- * If the item is already expanded, we collapse the item. Otherwise, we will focus the parent.
261
- */
262
- private _collapseCurrentItem;
263
- /**
264
- * If the item is already collapsed, we expand the item. Otherwise, we will focus the first child.
265
- */
266
- private _expandCurrentItem;
267
- private _isCurrentItemExpanded;
268
- private _isItemDisabled;
269
- /** For all items that are the same level as the current item, we expand those items. */
270
- private _expandAllItemsAtCurrentItemLevel;
271
- private _activateCurrentItem;
272
- }
273
- /**
274
- * @docs-private
275
- * @deprecated No longer used, will be removed.
276
- * @breaking-change 21.0.0
277
- */
278
- declare function TREE_KEY_MANAGER_FACTORY<T extends TreeKeyManagerItem>(): TreeKeyManagerFactory<T>;
279
- /** Injection token that determines the key manager to use. */
280
- declare const TREE_KEY_MANAGER: InjectionToken<TreeKeyManagerFactory<any>>;
281
- /**
282
- * @docs-private
283
- * @deprecated No longer used, will be removed.
284
- * @breaking-change 21.0.0
285
- */
286
- declare const TREE_KEY_MANAGER_FACTORY_PROVIDER: {
287
- provide: InjectionToken<TreeKeyManagerFactory<any>>;
288
- useFactory: typeof TREE_KEY_MANAGER_FACTORY;
289
- };
290
-
291
- /**
292
- * Options for creating a ConfigurableFocusTrap.
293
- */
294
- interface ConfigurableFocusTrapConfig {
295
- /**
296
- * Whether to defer the creation of FocusTrap elements to be done manually by the user.
297
- */
298
- defer: boolean;
299
- }
300
-
301
- /** The injection token used to specify the inert strategy. */
302
- declare const FOCUS_TRAP_INERT_STRATEGY: InjectionToken<FocusTrapInertStrategy>;
303
- /**
304
- * A strategy that dictates how FocusTrap should prevent elements
305
- * outside of the FocusTrap from being focused.
306
- */
307
- interface FocusTrapInertStrategy {
308
- /** Makes all elements outside focusTrap unfocusable. */
309
- preventFocus(focusTrap: FocusTrap): void;
310
- /** Reverts elements made unfocusable by preventFocus to their previous state. */
311
- allowFocus(focusTrap: FocusTrap): void;
312
- }
313
-
314
- /**
315
- * A FocusTrap managed by FocusTrapManager.
316
- * Implemented by ConfigurableFocusTrap to avoid circular dependency.
317
- */
318
- interface ManagedFocusTrap {
319
- _enable(): void;
320
- _disable(): void;
321
- focusInitialElementWhenReady(): Promise<boolean>;
322
- }
323
- /** Injectable that ensures only the most recently enabled FocusTrap is active. */
324
- declare class FocusTrapManager {
325
- private _focusTrapStack;
326
- /**
327
- * Disables the FocusTrap at the top of the stack, and then pushes
328
- * the new FocusTrap onto the stack.
329
- */
330
- register(focusTrap: ManagedFocusTrap): void;
331
- /**
332
- * Removes the FocusTrap from the stack, and activates the
333
- * FocusTrap that is the new top of the stack.
334
- */
335
- deregister(focusTrap: ManagedFocusTrap): void;
336
- static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapManager, never>;
337
- static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapManager>;
338
- }
339
-
340
- /**
341
- * Class that allows for trapping focus within a DOM element.
342
- *
343
- * This class uses a strategy pattern that determines how it traps focus.
344
- * See FocusTrapInertStrategy.
345
- */
346
- declare class ConfigurableFocusTrap extends FocusTrap implements ManagedFocusTrap {
347
- private _focusTrapManager;
348
- private _inertStrategy;
349
- /** Whether the FocusTrap is enabled. */
350
- get enabled(): boolean;
351
- set enabled(value: boolean);
352
- constructor(_element: HTMLElement, _checker: InteractivityChecker, _ngZone: NgZone, _document: Document, _focusTrapManager: FocusTrapManager, _inertStrategy: FocusTrapInertStrategy, config: ConfigurableFocusTrapConfig, injector?: Injector);
353
- /** Notifies the FocusTrapManager that this FocusTrap will be destroyed. */
354
- destroy(): void;
355
- /** @docs-private Implemented as part of ManagedFocusTrap. */
356
- _enable(): void;
357
- /** @docs-private Implemented as part of ManagedFocusTrap. */
358
- _disable(): void;
359
- }
360
-
361
- /** Factory that allows easy instantiation of configurable focus traps. */
362
- declare class ConfigurableFocusTrapFactory {
363
- private _checker;
364
- private _ngZone;
365
- private _focusTrapManager;
366
- private _document;
367
- private _inertStrategy;
368
- private readonly _injector;
369
- constructor(...args: unknown[]);
370
- /**
371
- * Creates a focus-trapped region around the given element.
372
- * @param element The element around which focus will be trapped.
373
- * @param config The focus trap configuration.
374
- * @returns The created focus trap instance.
375
- */
376
- create(element: HTMLElement, config?: ConfigurableFocusTrapConfig): ConfigurableFocusTrap;
377
- /**
378
- * @deprecated Pass a config object instead of the `deferCaptureElements` flag.
379
- * @breaking-change 11.0.0
380
- */
381
- create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
382
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory, never>;
383
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurableFocusTrapFactory>;
384
- }
385
-
386
- /**
387
- * Lightweight FocusTrapInertStrategy that adds a document focus event
388
- * listener to redirect focus back inside the FocusTrap.
389
- */
390
- declare class EventListenerFocusTrapInertStrategy implements FocusTrapInertStrategy {
391
- /** Focus event handler. */
392
- private _listener;
393
- /** Adds a document event listener that keeps focus inside the FocusTrap. */
394
- preventFocus(focusTrap: ConfigurableFocusTrap): void;
395
- /** Removes the event listener added in preventFocus. */
396
- allowFocus(focusTrap: ConfigurableFocusTrap): void;
397
- /**
398
- * Refocuses the first element in the FocusTrap if the focus event target was outside
399
- * the FocusTrap.
400
- *
401
- * This is an event listener callback. The event listener is added in runOutsideAngular,
402
- * so all this code runs outside Angular as well.
403
- */
404
- private _trapFocus;
405
- }
406
-
407
- /**
408
- * The input modalities detected by this service. Null is used if the input modality is unknown.
409
- */
410
- type InputModality = 'keyboard' | 'mouse' | 'touch' | null;
411
- /** Options to configure the behavior of the InputModalityDetector. */
412
- interface InputModalityDetectorOptions {
413
- /** Keys to ignore when detecting keyboard input modality. */
414
- ignoreKeys?: number[];
415
- }
416
- /**
417
- * Injectable options for the InputModalityDetector. These are shallowly merged with the default
418
- * options.
419
- */
420
- declare const INPUT_MODALITY_DETECTOR_OPTIONS: InjectionToken<InputModalityDetectorOptions>;
421
- /**
422
- * Default options for the InputModalityDetector.
423
- *
424
- * Modifier keys are ignored by default (i.e. when pressed won't cause the service to detect
425
- * keyboard input modality) for two reasons:
426
- *
427
- * 1. Modifier keys are commonly used with mouse to perform actions such as 'right click' or 'open
428
- * in new tab', and are thus less representative of actual keyboard interaction.
429
- * 2. VoiceOver triggers some keyboard events when linearly navigating with Control + Option (but
430
- * confusingly not with Caps Lock). Thus, to have parity with other screen readers, we ignore
431
- * these keys so as to not update the input modality.
432
- *
433
- * Note that we do not by default ignore the right Meta key on Safari because it has the same key
434
- * code as the ContextMenu key on other browsers. When we switch to using event.key, we can
435
- * distinguish between the two.
436
- */
437
- declare const INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS: InputModalityDetectorOptions;
438
- /**
439
- * Service that detects the user's input modality.
440
- *
441
- * This service does not update the input modality when a user navigates with a screen reader
442
- * (e.g. linear navigation with VoiceOver, object navigation / browse mode with NVDA, virtual PC
443
- * cursor mode with JAWS). This is in part due to technical limitations (i.e. keyboard events do not
444
- * fire as expected in these modes) but is also arguably the correct behavior. Navigating with a
445
- * screen reader is akin to visually scanning a page, and should not be interpreted as actual user
446
- * input interaction.
447
- *
448
- * When a user is not navigating but *interacting* with a screen reader, this service attempts to
449
- * update the input modality to keyboard, but in general this service's behavior is largely
450
- * undefined.
451
- */
452
- declare class InputModalityDetector implements OnDestroy {
453
- private readonly _platform;
454
- private readonly _listenerCleanups;
455
- /** Emits whenever an input modality is detected. */
456
- readonly modalityDetected: Observable<InputModality>;
457
- /** Emits when the input modality changes. */
458
- readonly modalityChanged: Observable<InputModality>;
459
- /** The most recently detected input modality. */
460
- get mostRecentModality(): InputModality;
461
- /**
462
- * The most recently detected input modality event target. Is null if no input modality has been
463
- * detected or if the associated event target is null for some unknown reason.
464
- */
465
- _mostRecentTarget: HTMLElement | null;
466
- /** The underlying BehaviorSubject that emits whenever an input modality is detected. */
467
- private readonly _modality;
468
- /** Options for this InputModalityDetector. */
469
- private readonly _options;
470
- /**
471
- * The timestamp of the last touch input modality. Used to determine whether mousedown events
472
- * should be attributed to mouse or touch.
473
- */
474
- private _lastTouchMs;
475
- /**
476
- * Handles keydown events. Must be an arrow function in order to preserve the context when it gets
477
- * bound.
478
- */
479
- private _onKeydown;
480
- /**
481
- * Handles mousedown events. Must be an arrow function in order to preserve the context when it
482
- * gets bound.
483
- */
484
- private _onMousedown;
485
- /**
486
- * Handles touchstart events. Must be an arrow function in order to preserve the context when it
487
- * gets bound.
488
- */
489
- private _onTouchstart;
490
- constructor(...args: unknown[]);
491
- ngOnDestroy(): void;
492
- static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityDetector, never>;
493
- static ɵprov: i0.ɵɵInjectableDeclaration<InputModalityDetector>;
494
- }
495
-
496
- /** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */
497
- declare function isFakeMousedownFromScreenReader(event: MouseEvent): boolean;
498
- /** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */
499
- declare function isFakeTouchstartFromScreenReader(event: TouchEvent): boolean;
500
-
501
- /** Set of possible high-contrast mode backgrounds. */
502
- declare enum HighContrastMode {
503
- NONE = 0,
504
- BLACK_ON_WHITE = 1,
505
- WHITE_ON_BLACK = 2
506
- }
507
- /**
508
- * Service to determine whether the browser is currently in a high-contrast-mode environment.
509
- *
510
- * Microsoft Windows supports an accessibility feature called "High Contrast Mode". This mode
511
- * changes the appearance of all applications, including web applications, to dramatically increase
512
- * contrast.
513
- *
514
- * IE, Edge, and Firefox currently support this mode. Chrome does not support Windows High Contrast
515
- * Mode. This service does not detect high-contrast mode as added by the Chrome "High Contrast"
516
- * browser extension.
517
- */
518
- declare class HighContrastModeDetector implements OnDestroy {
519
- private _platform;
520
- /**
521
- * Figuring out the high contrast mode and adding the body classes can cause
522
- * some expensive layouts. This flag is used to ensure that we only do it once.
523
- */
524
- private _hasCheckedHighContrastMode;
525
- private _document;
526
- private _breakpointSubscription;
527
- constructor(...args: unknown[]);
528
- /** Gets the current high-contrast-mode for the page. */
529
- getHighContrastMode(): HighContrastMode;
530
- ngOnDestroy(): void;
531
- /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */
532
- _applyBodyHighContrastModeCssClasses(): void;
533
- static ɵfac: i0.ɵɵFactoryDeclaration<HighContrastModeDetector, never>;
534
- static ɵprov: i0.ɵɵInjectableDeclaration<HighContrastModeDetector>;
535
- }
536
-
537
- /** Service that generates unique IDs for DOM nodes. */
538
- declare class _IdGenerator {
539
- private _appId;
540
- /**
541
- * Generates a unique ID with a specific prefix.
542
- * @param prefix Prefix to add to the ID.
543
- */
544
- getId(prefix: string): string;
545
- static ɵfac: i0.ɵɵFactoryDeclaration<_IdGenerator, never>;
546
- static ɵprov: i0.ɵɵInjectableDeclaration<_IdGenerator>;
547
- }
548
-
549
- export { AriaDescriber, CDK_DESCRIBEDBY_HOST_ATTRIBUTE, CDK_DESCRIBEDBY_ID_PREFIX, ConfigurableFocusTrap, ConfigurableFocusTrapFactory, EventListenerFocusTrapInertStrategy, FOCUS_TRAP_INERT_STRATEGY, FocusTrap, HighContrastMode, HighContrastModeDetector, INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS, INPUT_MODALITY_DETECTOR_OPTIONS, InputModalityDetector, InteractivityChecker, MESSAGES_CONTAINER_ID, NOOP_TREE_KEY_MANAGER_FACTORY, NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER, NoopTreeKeyManager, TREE_KEY_MANAGER, TREE_KEY_MANAGER_FACTORY, TREE_KEY_MANAGER_FACTORY_PROVIDER, TreeKeyManager, TreeKeyManagerFactory, TreeKeyManagerItem, TreeKeyManagerOptions, TreeKeyManagerStrategy, _IdGenerator, addAriaReferencedId, getAriaReferenceIds, isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader, removeAriaReferencedId };
550
- export type { ConfigurableFocusTrapConfig, FocusTrapInertStrategy, InputModality, InputModalityDetectorOptions, RegisteredMessage };