@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,94 +0,0 @@
1
- export { A as AsyncFactoryFn, g as AsyncOptionPredicate, f as AsyncPredicate, B as BaseHarnessFilters, C as ComponentHarness, e as ComponentHarnessConstructor, j as ContentContainerComponentHarness, E as ElementDimensions, c as EventData, H as HarnessEnvironment, d as HarnessLoader, k as HarnessPredicate, h as HarnessQuery, i as LocatorFactory, L as LocatorFnResult, M as ModifierKeys, T as TestElement, a as TestKey, b as TextOptions } from '../harness-environment.d-BatBdODN.js';
2
-
3
- /**
4
- * Returns an error which reports that no keys have been specified.
5
- * @docs-private
6
- */
7
- declare function getNoKeysSpecifiedError(): Error;
8
-
9
- /**
10
- * Gets text of element excluding certain selectors within the element.
11
- * @param element Element to get text from,
12
- * @param excludeSelector Selector identifying which elements to exclude,
13
- */
14
- declare function _getTextWithExcludedElements(element: Element, excludeSelector: string): string;
15
-
16
- /** Represents the status of auto change detection. */
17
- interface AutoChangeDetectionStatus {
18
- /** Whether auto change detection is disabled. */
19
- isDisabled: boolean;
20
- /**
21
- * An optional callback, if present it indicates that change detection should be run immediately,
22
- * while handling the status change. The callback should then be called as soon as change
23
- * detection is done.
24
- */
25
- onDetectChangesNow?: () => void;
26
- }
27
- /**
28
- * Allows a test `HarnessEnvironment` to install its own handler for auto change detection status
29
- * changes.
30
- * @param handler The handler for the auto change detection status.
31
- */
32
- declare function handleAutoChangeDetectionStatus(handler: (status: AutoChangeDetectionStatus) => void): void;
33
- /** Allows a `HarnessEnvironment` to stop handling auto change detection status changes. */
34
- declare function stopHandlingAutoChangeDetectionStatus(): void;
35
- /**
36
- * Disables the harness system's auto change detection for the duration of the given function.
37
- * @param fn The function to disable auto change detection for.
38
- * @return The result of the given function.
39
- */
40
- declare function manualChangeDetection<T>(fn: () => Promise<T>): Promise<T>;
41
- /**
42
- * Resolves the given list of async values in parallel (i.e. via Promise.all) while batching change
43
- * detection over the entire operation such that change detection occurs exactly once before
44
- * resolving the values and once after.
45
- * @param values A getter for the async values to resolve in parallel with batched change detection.
46
- * @return The resolved values.
47
- */
48
- declare function parallel<T1, T2, T3, T4, T5>(values: () => [
49
- T1 | PromiseLike<T1>,
50
- T2 | PromiseLike<T2>,
51
- T3 | PromiseLike<T3>,
52
- T4 | PromiseLike<T4>,
53
- T5 | PromiseLike<T5>
54
- ]): Promise<[T1, T2, T3, T4, T5]>;
55
- /**
56
- * Resolves the given list of async values in parallel (i.e. via Promise.all) while batching change
57
- * detection over the entire operation such that change detection occurs exactly once before
58
- * resolving the values and once after.
59
- * @param values A getter for the async values to resolve in parallel with batched change detection.
60
- * @return The resolved values.
61
- */
62
- declare function parallel<T1, T2, T3, T4>(values: () => [
63
- T1 | PromiseLike<T1>,
64
- T2 | PromiseLike<T2>,
65
- T3 | PromiseLike<T3>,
66
- T4 | PromiseLike<T4>
67
- ]): Promise<[T1, T2, T3, T4]>;
68
- /**
69
- * Resolves the given list of async values in parallel (i.e. via Promise.all) while batching change
70
- * detection over the entire operation such that change detection occurs exactly once before
71
- * resolving the values and once after.
72
- * @param values A getter for the async values to resolve in parallel with batched change detection.
73
- * @return The resolved values.
74
- */
75
- declare function parallel<T1, T2, T3>(values: () => [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;
76
- /**
77
- * Resolves the given list of async values in parallel (i.e. via Promise.all) while batching change
78
- * detection over the entire operation such that change detection occurs exactly once before
79
- * resolving the values and once after.
80
- * @param values A getter for the async values to resolve in parallel with batched change detection.
81
- * @return The resolved values.
82
- */
83
- declare function parallel<T1, T2>(values: () => [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
84
- /**
85
- * Resolves the given list of async values in parallel (i.e. via Promise.all) while batching change
86
- * detection over the entire operation such that change detection occurs exactly once before
87
- * resolving the values and once after.
88
- * @param values A getter for the async values to resolve in parallel with batched change detection.
89
- * @return The resolved values.
90
- */
91
- declare function parallel<T>(values: () => (T | PromiseLike<T>)[]): Promise<T[]>;
92
-
93
- export { _getTextWithExcludedElements, getNoKeysSpecifiedError, handleAutoChangeDetectionStatus, manualChangeDetection, parallel, stopHandlingAutoChangeDetectionStatus };
94
- export type { AutoChangeDetectionStatus };
@@ -1,150 +0,0 @@
1
- import * as webdriver from 'selenium-webdriver';
2
- import { T as TestElement, M as ModifierKeys, a as TestKey, b as TextOptions, E as ElementDimensions, c as EventData, H as HarnessEnvironment, d as HarnessLoader } from '../../harness-environment.d-BatBdODN.js';
3
-
4
- /** A `TestElement` implementation for WebDriver. */
5
- declare class SeleniumWebDriverElement implements TestElement {
6
- readonly element: () => webdriver.WebElement;
7
- private _stabilize;
8
- constructor(element: () => webdriver.WebElement, _stabilize: () => Promise<void>);
9
- /** Blur the element. */
10
- blur(): Promise<void>;
11
- /** Clear the element's input (for input and textarea elements only). */
12
- clear(): Promise<void>;
13
- /**
14
- * Click the element at the default location for the current environment. If you need to guarantee
15
- * the element is clicked at a specific location, consider using `click('center')` or
16
- * `click(x, y)` instead.
17
- */
18
- click(modifiers?: ModifierKeys): Promise<void>;
19
- /** Click the element at the element's center. */
20
- click(location: 'center', modifiers?: ModifierKeys): Promise<void>;
21
- /**
22
- * Click the element at the specified coordinates relative to the top-left of the element.
23
- * @param relativeX Coordinate within the element, along the X-axis at which to click.
24
- * @param relativeY Coordinate within the element, along the Y-axis at which to click.
25
- * @param modifiers Modifier keys held while clicking
26
- */
27
- click(relativeX: number, relativeY: number, modifiers?: ModifierKeys): Promise<void>;
28
- /**
29
- * Right clicks on the element at the specified coordinates relative to the top-left of it.
30
- * @param relativeX Coordinate within the element, along the X-axis at which to click.
31
- * @param relativeY Coordinate within the element, along the Y-axis at which to click.
32
- * @param modifiers Modifier keys held while clicking
33
- */
34
- rightClick(relativeX: number, relativeY: number, modifiers?: ModifierKeys): Promise<void>;
35
- /** Focus the element. */
36
- focus(): Promise<void>;
37
- /** Get the computed value of the given CSS property for the element. */
38
- getCssValue(property: string): Promise<string>;
39
- /** Hovers the mouse over the element. */
40
- hover(): Promise<void>;
41
- /** Moves the mouse away from the element. */
42
- mouseAway(): Promise<void>;
43
- /**
44
- * Sends the given string to the input as a series of key presses. Also fires input events
45
- * and attempts to add the string to the Element's value.
46
- */
47
- sendKeys(...keys: (string | TestKey)[]): Promise<void>;
48
- /**
49
- * Sends the given string to the input as a series of key presses. Also fires input events
50
- * and attempts to add the string to the Element's value.
51
- */
52
- sendKeys(modifiers: ModifierKeys, ...keys: (string | TestKey)[]): Promise<void>;
53
- /**
54
- * Gets the text from the element.
55
- * @param options Options that affect what text is included.
56
- */
57
- text(options?: TextOptions): Promise<string>;
58
- /**
59
- * Sets the value of a `contenteditable` element.
60
- * @param value Value to be set on the element.
61
- */
62
- setContenteditableValue(value: string): Promise<void>;
63
- /** Gets the value for the given attribute from the element. */
64
- getAttribute(name: string): Promise<string | null>;
65
- /** Checks whether the element has the given class. */
66
- hasClass(name: string): Promise<boolean>;
67
- /** Gets the dimensions of the element. */
68
- getDimensions(): Promise<ElementDimensions>;
69
- /** Gets the value of a property of an element. */
70
- getProperty<T = any>(name: string): Promise<T>;
71
- /** Sets the value of a property of an input. */
72
- setInputValue(newValue: string): Promise<void>;
73
- /** Selects the options at the specified indexes inside of a native `select` element. */
74
- selectOptions(...optionIndexes: number[]): Promise<void>;
75
- /** Checks whether this element matches the given selector. */
76
- matchesSelector(selector: string): Promise<boolean>;
77
- /** Checks whether the element is focused. */
78
- isFocused(): Promise<boolean>;
79
- /**
80
- * Dispatches an event with a particular name.
81
- * @param name Name of the event to be dispatched.
82
- */
83
- dispatchEvent(name: string, data?: Record<string, EventData>): Promise<void>;
84
- /** Gets the webdriver action sequence. */
85
- private _actions;
86
- /** Executes a function in the browser. */
87
- private _executeScript;
88
- /** Dispatches all the events that are part of a click event sequence. */
89
- private _dispatchClickEventSequence;
90
- }
91
-
92
- /**
93
- * An Angular framework stabilizer function that takes a callback and calls it when the application
94
- * is stable, passing a boolean indicating if any work was done.
95
- */
96
- declare interface FrameworkStabilizer {
97
- (callback: (didWork: boolean) => void): void;
98
- }
99
- declare global {
100
- interface Window {
101
- /**
102
- * These hooks are exposed by Angular to register a callback for when the application is stable
103
- * (no more pending tasks).
104
- *
105
- * For the implementation, see: https://github.com/
106
- * angular/angular/blob/main/packages/platform-browser/src/browser/testability.ts#L30-L49
107
- */
108
- frameworkStabilizers: FrameworkStabilizer[];
109
- }
110
- }
111
- /** Options to configure the environment. */
112
- interface WebDriverHarnessEnvironmentOptions {
113
- /** The query function used to find DOM elements. */
114
- queryFn: (selector: string, root: () => webdriver.WebElement) => Promise<webdriver.WebElement[]>;
115
- }
116
- /** Waits for angular to be ready after the page load. */
117
- declare function waitForAngularReady(wd: webdriver.WebDriver): Promise<void>;
118
- /** A `HarnessEnvironment` implementation for WebDriver. */
119
- declare class SeleniumWebDriverHarnessEnvironment extends HarnessEnvironment<() => webdriver.WebElement> {
120
- /** The options for this environment. */
121
- private _options;
122
- /** Environment stabilization callback passed to the created test elements. */
123
- private _stabilizeCallback;
124
- protected constructor(rawRootElement: () => webdriver.WebElement, options?: WebDriverHarnessEnvironmentOptions);
125
- /** Gets the ElementFinder corresponding to the given TestElement. */
126
- static getNativeElement(el: TestElement): webdriver.WebElement;
127
- /** Creates a `HarnessLoader` rooted at the document root. */
128
- static loader(driver: webdriver.WebDriver, options?: WebDriverHarnessEnvironmentOptions): HarnessLoader;
129
- /**
130
- * Flushes change detection and async tasks captured in the Angular zone.
131
- * In most cases it should not be necessary to call this manually. However, there may be some edge
132
- * cases where it is needed to fully flush animation events.
133
- */
134
- forceStabilize(): Promise<void>;
135
- /** @docs-private */
136
- waitForTasksOutsideAngular(): Promise<void>;
137
- /** Gets the root element for the document. */
138
- protected getDocumentRoot(): () => webdriver.WebElement;
139
- /** Creates a `TestElement` from a raw element. */
140
- protected createTestElement(element: () => webdriver.WebElement): TestElement;
141
- /** Creates a `HarnessLoader` rooted at the given raw element. */
142
- protected createEnvironment(element: () => webdriver.WebElement): HarnessEnvironment<() => webdriver.WebElement>;
143
- /**
144
- * Gets a list of all elements matching the given selector under this environment's root element.
145
- */
146
- protected getAllRawElements(selector: string): Promise<(() => webdriver.WebElement)[]>;
147
- }
148
-
149
- export { SeleniumWebDriverElement, SeleniumWebDriverHarnessEnvironment, waitForAngularReady };
150
- export type { WebDriverHarnessEnvironmentOptions };
@@ -1,157 +0,0 @@
1
- import { H as HarnessEnvironment, d as HarnessLoader, T as TestElement, C as ComponentHarness, e as ComponentHarnessConstructor, M as ModifierKeys, a as TestKey, b as TextOptions, E as ElementDimensions, c as EventData } from '../../harness-environment.d-BatBdODN.js';
2
- import { ComponentFixture } from '@angular/core/testing';
3
-
4
- /** Options to configure the environment. */
5
- interface TestbedHarnessEnvironmentOptions {
6
- /** The query function used to find DOM elements. */
7
- queryFn: (selector: string, root: Element) => Iterable<Element> | ArrayLike<Element>;
8
- }
9
- /** A `HarnessEnvironment` implementation for Angular's Testbed. */
10
- declare class TestbedHarnessEnvironment extends HarnessEnvironment<Element> {
11
- private _fixture;
12
- /** Whether the environment has been destroyed. */
13
- private _destroyed;
14
- /** Observable that emits whenever the test task state changes. */
15
- private _taskState?;
16
- /** The options for this environment. */
17
- private _options;
18
- /** Environment stabilization callback passed to the created test elements. */
19
- private _stabilizeCallback;
20
- protected constructor(rawRootElement: Element, _fixture: ComponentFixture<unknown>, options?: TestbedHarnessEnvironmentOptions);
21
- /** Creates a `HarnessLoader` rooted at the given fixture's root element. */
22
- static loader(fixture: ComponentFixture<unknown>, options?: TestbedHarnessEnvironmentOptions): HarnessLoader;
23
- /**
24
- * Creates a `HarnessLoader` at the document root. This can be used if harnesses are
25
- * located outside of a fixture (e.g. overlays appended to the document body).
26
- */
27
- static documentRootLoader(fixture: ComponentFixture<unknown>, options?: TestbedHarnessEnvironmentOptions): HarnessLoader;
28
- /** Gets the native DOM element corresponding to the given TestElement. */
29
- static getNativeElement(el: TestElement): Element;
30
- /**
31
- * Creates an instance of the given harness type, using the fixture's root element as the
32
- * harness's host element. This method should be used when creating a harness for the root element
33
- * of a fixture, as components do not have the correct selector when they are created as the root
34
- * of the fixture.
35
- */
36
- static harnessForFixture<T extends ComponentHarness>(fixture: ComponentFixture<unknown>, harnessType: ComponentHarnessConstructor<T>, options?: TestbedHarnessEnvironmentOptions): Promise<T>;
37
- /**
38
- * Flushes change detection and async tasks captured in the Angular zone.
39
- * In most cases it should not be necessary to call this manually. However, there may be some edge
40
- * cases where it is needed to fully flush animation events.
41
- */
42
- forceStabilize(): Promise<void>;
43
- /**
44
- * Waits for all scheduled or running async tasks to complete. This allows harness
45
- * authors to wait for async tasks outside of the Angular zone.
46
- */
47
- waitForTasksOutsideAngular(): Promise<void>;
48
- /** Gets the root element for the document. */
49
- protected getDocumentRoot(): Element;
50
- /** Creates a `TestElement` from a raw element. */
51
- protected createTestElement(element: Element): TestElement;
52
- /** Creates a `HarnessLoader` rooted at the given raw element. */
53
- protected createEnvironment(element: Element): HarnessEnvironment<Element>;
54
- /**
55
- * Gets a list of all elements matching the given selector under this environment's root element.
56
- */
57
- protected getAllRawElements(selector: string): Promise<Element[]>;
58
- }
59
-
60
- /** A `TestElement` implementation for unit tests. */
61
- declare class UnitTestElement implements TestElement {
62
- readonly element: Element;
63
- private _stabilize;
64
- constructor(element: Element, _stabilize: () => Promise<void>);
65
- /** Blur the element. */
66
- blur(): Promise<void>;
67
- /** Clear the element's input (for input and textarea elements only). */
68
- clear(): Promise<void>;
69
- /**
70
- * Click the element at the default location for the current environment. If you need to guarantee
71
- * the element is clicked at a specific location, consider using `click('center')` or
72
- * `click(x, y)` instead.
73
- */
74
- click(modifiers?: ModifierKeys): Promise<void>;
75
- /** Click the element at the element's center. */
76
- click(location: 'center', modifiers?: ModifierKeys): Promise<void>;
77
- /**
78
- * Click the element at the specified coordinates relative to the top-left of the element.
79
- * @param relativeX Coordinate within the element, along the X-axis at which to click.
80
- * @param relativeY Coordinate within the element, along the Y-axis at which to click.
81
- * @param modifiers Modifier keys held while clicking
82
- */
83
- click(relativeX: number, relativeY: number, modifiers?: ModifierKeys): Promise<void>;
84
- /**
85
- * Right clicks on the element at the specified coordinates relative to the top-left of it.
86
- * @param relativeX Coordinate within the element, along the X-axis at which to click.
87
- * @param relativeY Coordinate within the element, along the Y-axis at which to click.
88
- * @param modifiers Modifier keys held while clicking
89
- */
90
- rightClick(relativeX: number, relativeY: number, modifiers?: ModifierKeys): Promise<void>;
91
- /** Focus the element. */
92
- focus(): Promise<void>;
93
- /** Get the computed value of the given CSS property for the element. */
94
- getCssValue(property: string): Promise<string>;
95
- /** Hovers the mouse over the element. */
96
- hover(): Promise<void>;
97
- /** Moves the mouse away from the element. */
98
- mouseAway(): Promise<void>;
99
- /**
100
- * Sends the given string to the input as a series of key presses. Also fires input events
101
- * and attempts to add the string to the Element's value. Note that this cannot
102
- * reproduce native browser behavior for keyboard shortcuts such as Tab, Ctrl + A, etc.
103
- */
104
- sendKeys(...keys: (string | TestKey)[]): Promise<void>;
105
- /**
106
- * Sends the given string to the input as a series of key presses. Also fires input events
107
- * and attempts to add the string to the Element's value.
108
- */
109
- sendKeys(modifiers: ModifierKeys, ...keys: (string | TestKey)[]): Promise<void>;
110
- /**
111
- * Gets the text from the element.
112
- * @param options Options that affect what text is included.
113
- */
114
- text(options?: TextOptions): Promise<string>;
115
- /**
116
- * Sets the value of a `contenteditable` element.
117
- * @param value Value to be set on the element.
118
- */
119
- setContenteditableValue(value: string): Promise<void>;
120
- /** Gets the value for the given attribute from the element. */
121
- getAttribute(name: string): Promise<string | null>;
122
- /** Checks whether the element has the given class. */
123
- hasClass(name: string): Promise<boolean>;
124
- /** Gets the dimensions of the element. */
125
- getDimensions(): Promise<ElementDimensions>;
126
- /** Gets the value of a property of an element. */
127
- getProperty<T = any>(name: string): Promise<T>;
128
- /** Sets the value of a property of an input. */
129
- setInputValue(value: string): Promise<void>;
130
- /** Selects the options at the specified indexes inside of a native `select` element. */
131
- selectOptions(...optionIndexes: number[]): Promise<void>;
132
- /** Checks whether this element matches the given selector. */
133
- matchesSelector(selector: string): Promise<boolean>;
134
- /** Checks whether the element is focused. */
135
- isFocused(): Promise<boolean>;
136
- /**
137
- * Dispatches an event with a particular name.
138
- * @param name Name of the event to be dispatched.
139
- */
140
- dispatchEvent(name: string, data?: Record<string, EventData>): Promise<void>;
141
- /**
142
- * Dispatches a pointer event on the current element if the browser supports it.
143
- * @param name Name of the pointer event to be dispatched.
144
- * @param clientX Coordinate of the user's pointer along the X axis.
145
- * @param clientY Coordinate of the user's pointer along the Y axis.
146
- * @param button Mouse button that should be pressed when dispatching the event.
147
- */
148
- private _dispatchPointerEventIfSupported;
149
- /**
150
- * Dispatches all the events that are part of a mouse event sequence
151
- * and then emits a given primary event at the end, if speciifed.
152
- */
153
- private _dispatchMouseEventSequence;
154
- }
155
-
156
- export { TestbedHarnessEnvironment, UnitTestElement };
157
- export type { TestbedHarnessEnvironmentOptions };
@@ -1,89 +0,0 @@
1
- // Structural styles for the autosize text fields.
2
- @mixin text-field-autosize() {
3
- // Remove the resize handle on autosizing textareas, because whatever height
4
- // the user resized to will be overwritten once they start typing again.
5
- textarea.cdk-textarea-autosize {
6
- resize: none;
7
- }
8
-
9
- // This class is temporarily applied to the textarea when it is being measured. It is immediately
10
- // removed when measuring is complete. We use `!important` rules here to make sure user-specified
11
- // rules do not interfere with the measurement.
12
- textarea.cdk-textarea-autosize-measuring {
13
- @include _autosize-measuring-base;
14
- height: auto !important;
15
- overflow: hidden !important;
16
- }
17
-
18
- // Similar to the `cdk-textarea-autosize-measuring` class, but only applied on Firefox. We need
19
- // to use this class, because Firefox has a bug where changing the `overflow` breaks the user's
20
- // ability to undo/redo what they were typing (see #16629). This class is only scoped to Firefox,
21
- // because the measurements there don't seem to be affected by the `height: 0`, whereas on other
22
- // browsers they are, e.g. Chrome detects longer text and IE does't resize back to normal.
23
- // Identical issue report: https://bugzilla.mozilla.org/show_bug.cgi?id=448784
24
- textarea.cdk-textarea-autosize-measuring-firefox {
25
- @include _autosize-measuring-base;
26
- height: 0 !important;
27
- }
28
- }
29
-
30
- // Core styles that enable monitoring autofill state of text fields.
31
- @mixin text-field-autofill() {
32
- // Keyframes that apply no styles, but allow us to monitor when a text field becomes autofilled
33
- // by watching for the animation events that are fired when they start. Note: the /*!*/ comment is
34
- // needed to prevent LibSass from stripping the keyframes out.
35
- // Based on: https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7
36
- @keyframes cdk-text-field-autofill-start {/*!*/}
37
- @keyframes cdk-text-field-autofill-end {/*!*/}
38
-
39
- .cdk-text-field-autofill-monitored:-webkit-autofill {
40
- // Since Chrome 80 we need a 1ms delay, or the animationstart event won't fire.
41
- animation: cdk-text-field-autofill-start 0s 1ms;
42
- }
43
-
44
- .cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
45
- // Since Chrome 80 we need a 1ms delay, or the animationstart event won't fire.
46
- animation: cdk-text-field-autofill-end 0s 1ms;
47
- }
48
- }
49
-
50
- @mixin _autosize-measuring-base {
51
- // Having 2px top and bottom padding seems to fix a bug where Chrome gets an incorrect
52
- // measurement. We just have to account for it later and subtract it off the final result.
53
- padding: 2px 0 !important;
54
- box-sizing: content-box !important;
55
- }
56
-
57
- // Used to generate UIDs for keyframes used to change the text field autofill styles.
58
- $autofill-color-frame-count: 0;
59
-
60
- // Mixin used to apply custom background and foreground colors to an autofilled text field.
61
- // Based on: https://stackoverflow.com/questions/2781549/
62
- // removing-input-background-colour-for-chrome-autocomplete#answer-37432260
63
- @mixin text-field-autofill-color($background, $foreground:'') {
64
- @keyframes cdk-text-field-autofill-color-#{$autofill-color-frame-count} {
65
- to {
66
- background: $background;
67
- @if $foreground != '' { color: $foreground; }
68
- }
69
- }
70
-
71
- &:-webkit-autofill {
72
- animation: cdk-text-field-autofill-color-#{$autofill-color-frame-count} both;
73
- }
74
-
75
- &.cdk-text-field-autofill-monitored:-webkit-autofill {
76
- // Since Chrome 80 we need a 1ms delay for cdk-text-field-autofill-start, or the animationstart
77
- // event won't fire.
78
- animation: cdk-text-field-autofill-start 0s 1ms,
79
- cdk-text-field-autofill-color-#{$autofill-color-frame-count} both;
80
- }
81
-
82
- $autofill-color-frame-count: $autofill-color-frame-count + 1 !global;
83
- }
84
-
85
- // @deprecated Use `autosize` and `autofill` instead.
86
- @mixin text-field {
87
- @include text-field-autosize();
88
- @include text-field-autofill();
89
- }
@@ -1,156 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { OnDestroy, ElementRef, OnInit, EventEmitter, AfterViewInit, DoCheck } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { N as NumberInput } from '../number-property.d-CJVxXUcb.js';
5
-
6
- /** An event that is emitted when the autofill state of an input changes. */
7
- type AutofillEvent = {
8
- /** The element whose autofill state changes. */
9
- target: Element;
10
- /** Whether the element is currently autofilled. */
11
- isAutofilled: boolean;
12
- };
13
- /**
14
- * An injectable service that can be used to monitor the autofill state of an input.
15
- * Based on the following blog post:
16
- * https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7
17
- */
18
- declare class AutofillMonitor implements OnDestroy {
19
- private _platform;
20
- private _ngZone;
21
- private _renderer;
22
- private _styleLoader;
23
- private _monitoredElements;
24
- constructor(...args: unknown[]);
25
- /**
26
- * Monitor for changes in the autofill state of the given input element.
27
- * @param element The element to monitor.
28
- * @return A stream of autofill state changes.
29
- */
30
- monitor(element: Element): Observable<AutofillEvent>;
31
- /**
32
- * Monitor for changes in the autofill state of the given input element.
33
- * @param element The element to monitor.
34
- * @return A stream of autofill state changes.
35
- */
36
- monitor(element: ElementRef<Element>): Observable<AutofillEvent>;
37
- /**
38
- * Stop monitoring the autofill state of the given input element.
39
- * @param element The element to stop monitoring.
40
- */
41
- stopMonitoring(element: Element): void;
42
- /**
43
- * Stop monitoring the autofill state of the given input element.
44
- * @param element The element to stop monitoring.
45
- */
46
- stopMonitoring(element: ElementRef<Element>): void;
47
- ngOnDestroy(): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<AutofillMonitor, never>;
49
- static ɵprov: i0.ɵɵInjectableDeclaration<AutofillMonitor>;
50
- }
51
- /** A directive that can be used to monitor the autofill state of an input. */
52
- declare class CdkAutofill implements OnDestroy, OnInit {
53
- private _elementRef;
54
- private _autofillMonitor;
55
- /** Emits when the autofill state of the element changes. */
56
- readonly cdkAutofill: EventEmitter<AutofillEvent>;
57
- constructor(...args: unknown[]);
58
- ngOnInit(): void;
59
- ngOnDestroy(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkAutofill, never>;
61
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAutofill, "[cdkAutofill]", never, {}, { "cdkAutofill": "cdkAutofill"; }, never, never, true, never>;
62
- }
63
-
64
- /** Directive to automatically resize a textarea to fit its content. */
65
- declare class CdkTextareaAutosize implements AfterViewInit, DoCheck, OnDestroy {
66
- private _elementRef;
67
- private _platform;
68
- private _ngZone;
69
- private _renderer;
70
- private _resizeEvents;
71
- /** Keep track of the previous textarea value to avoid resizing when the value hasn't changed. */
72
- private _previousValue?;
73
- private _initialHeight;
74
- private readonly _destroyed;
75
- private _listenerCleanups;
76
- private _minRows;
77
- private _maxRows;
78
- private _enabled;
79
- /**
80
- * Value of minRows as of last resize. If the minRows has decreased, the
81
- * height of the textarea needs to be recomputed to reflect the new minimum. The maxHeight
82
- * does not have the same problem because it does not affect the textarea's scrollHeight.
83
- */
84
- private _previousMinRows;
85
- private _textareaElement;
86
- /** Minimum amount of rows in the textarea. */
87
- get minRows(): number;
88
- set minRows(value: NumberInput);
89
- /** Maximum amount of rows in the textarea. */
90
- get maxRows(): number;
91
- set maxRows(value: NumberInput);
92
- /** Whether autosizing is enabled or not */
93
- get enabled(): boolean;
94
- set enabled(value: boolean);
95
- get placeholder(): string;
96
- set placeholder(value: string);
97
- /** Cached height of a textarea with a single row. */
98
- private _cachedLineHeight?;
99
- /** Cached height of a textarea with only the placeholder. */
100
- private _cachedPlaceholderHeight?;
101
- /** Cached scroll top of a textarea */
102
- private _cachedScrollTop;
103
- /** Used to reference correct document/window */
104
- protected _document?: Document | null | undefined;
105
- private _hasFocus;
106
- private _isViewInited;
107
- constructor(...args: unknown[]);
108
- /** Sets the minimum height of the textarea as determined by minRows. */
109
- _setMinHeight(): void;
110
- /** Sets the maximum height of the textarea as determined by maxRows. */
111
- _setMaxHeight(): void;
112
- ngAfterViewInit(): void;
113
- ngOnDestroy(): void;
114
- /**
115
- * Cache the height of a single-row textarea if it has not already been cached.
116
- *
117
- * We need to know how large a single "row" of a textarea is in order to apply minRows and
118
- * maxRows. For the initial version, we will assume that the height of a single line in the
119
- * textarea does not ever change.
120
- */
121
- private _cacheTextareaLineHeight;
122
- private _measureScrollHeight;
123
- private _cacheTextareaPlaceholderHeight;
124
- /** Handles `focus` and `blur` events. */
125
- private _handleFocusEvent;
126
- ngDoCheck(): void;
127
- /**
128
- * Resize the textarea to fit its content.
129
- * @param force Whether to force a height recalculation. By default the height will be
130
- * recalculated only if the value changed since the last call.
131
- */
132
- resizeToFitContent(force?: boolean): void;
133
- /**
134
- * Resets the textarea to its original size
135
- */
136
- reset(): void;
137
- _noopInputHandler(): void;
138
- /**
139
- * Scrolls a textarea to the caret position. On Firefox resizing the textarea will
140
- * prevent it from scrolling to the caret position. We need to re-set the selection
141
- * in order for it to scroll to the proper position.
142
- */
143
- private _scrollToCaretPosition;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkTextareaAutosize, never>;
145
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTextareaAutosize, "textarea[cdkTextareaAutosize]", ["cdkTextareaAutosize"], { "minRows": { "alias": "cdkAutosizeMinRows"; "required": false; }; "maxRows": { "alias": "cdkAutosizeMaxRows"; "required": false; }; "enabled": { "alias": "cdkTextareaAutosize"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
146
- static ngAcceptInputType_enabled: unknown;
147
- }
148
-
149
- declare class TextFieldModule {
150
- static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldModule, never>;
151
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextFieldModule, never, [typeof CdkAutofill, typeof CdkTextareaAutosize], [typeof CdkAutofill, typeof CdkTextareaAutosize]>;
152
- static ɵinj: i0.ɵɵInjectorDeclaration<TextFieldModule>;
153
- }
154
-
155
- export { AutofillMonitor, CdkAutofill, CdkTextareaAutosize, TextFieldModule };
156
- export type { AutofillEvent };
@@ -1 +0,0 @@
1
- textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}