@angular/cdk 14.0.0-next.12 → 14.0.0-next.13

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 (445) hide show
  1. package/a11y/index.d.ts +1119 -5
  2. package/accordion/index.d.ts +108 -6
  3. package/bidi/index.d.ts +77 -5
  4. package/clipboard/index.d.ts +112 -5
  5. package/coercion/index.d.ts +64 -5
  6. package/collections/index.d.ts +348 -5
  7. package/dialog/index.d.ts +408 -6
  8. package/drag-drop/index.d.ts +1456 -5
  9. package/esm2020/a11y/a11y-module.mjs +5 -5
  10. package/esm2020/a11y/aria-describer/aria-describer.mjs +3 -3
  11. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +6 -6
  12. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  13. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  14. package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
  15. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  16. package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
  17. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  18. package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
  19. package/esm2020/accordion/accordion-item.mjs +3 -3
  20. package/esm2020/accordion/accordion-module.mjs +4 -4
  21. package/esm2020/accordion/accordion.mjs +3 -3
  22. package/esm2020/bidi/bidi-module.mjs +4 -4
  23. package/esm2020/bidi/dir.mjs +3 -3
  24. package/esm2020/bidi/directionality.mjs +3 -3
  25. package/esm2020/clipboard/clipboard-module.mjs +4 -4
  26. package/esm2020/clipboard/clipboard.mjs +3 -3
  27. package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
  28. package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
  29. package/esm2020/dialog/dialog-config.mjs +6 -1
  30. package/esm2020/dialog/dialog-container.mjs +23 -10
  31. package/esm2020/dialog/dialog-module.mjs +5 -5
  32. package/esm2020/dialog/dialog.mjs +35 -22
  33. package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
  34. package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
  35. package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
  36. package/esm2020/drag-drop/directives/drag.mjs +3 -3
  37. package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
  38. package/esm2020/drag-drop/directives/drop-list.mjs +3 -3
  39. package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
  40. package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
  41. package/esm2020/drag-drop/drag-drop.mjs +3 -3
  42. package/esm2020/layout/breakpoints-observer.mjs +3 -3
  43. package/esm2020/layout/layout-module.mjs +4 -4
  44. package/esm2020/layout/media-matcher.mjs +3 -3
  45. package/esm2020/menu/context-menu-trigger.mjs +10 -8
  46. package/esm2020/menu/menu-aim.mjs +6 -6
  47. package/esm2020/menu/menu-bar.mjs +3 -3
  48. package/esm2020/menu/menu-base.mjs +3 -3
  49. package/esm2020/menu/menu-group.mjs +3 -3
  50. package/esm2020/menu/menu-item-checkbox.mjs +3 -3
  51. package/esm2020/menu/menu-item-radio.mjs +3 -3
  52. package/esm2020/menu/menu-item-selectable.mjs +3 -3
  53. package/esm2020/menu/menu-item.mjs +3 -3
  54. package/esm2020/menu/menu-module.mjs +5 -5
  55. package/esm2020/menu/menu-stack.mjs +3 -3
  56. package/esm2020/menu/menu-trigger-base.mjs +3 -3
  57. package/esm2020/menu/menu-trigger.mjs +7 -5
  58. package/esm2020/menu/menu.mjs +3 -3
  59. package/esm2020/observers/observe-content.mjs +13 -13
  60. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  61. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
  62. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
  63. package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
  64. package/esm2020/overlay/overlay-container.mjs +3 -3
  65. package/esm2020/overlay/overlay-directives.mjs +6 -6
  66. package/esm2020/overlay/overlay-module.mjs +5 -5
  67. package/esm2020/overlay/overlay.mjs +3 -3
  68. package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
  69. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
  70. package/esm2020/platform/platform-module.mjs +4 -4
  71. package/esm2020/platform/platform.mjs +3 -3
  72. package/esm2020/portal/portal-directives.mjs +16 -16
  73. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  74. package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
  75. package/esm2020/scrolling/scrollable.mjs +3 -3
  76. package/esm2020/scrolling/scrolling-module.mjs +9 -9
  77. package/esm2020/scrolling/viewport-ruler.mjs +3 -3
  78. package/esm2020/scrolling/virtual-for-of.mjs +3 -3
  79. package/esm2020/scrolling/virtual-scroll-viewport.mjs +3 -3
  80. package/esm2020/stepper/step-header.mjs +3 -3
  81. package/esm2020/stepper/step-label.mjs +3 -3
  82. package/esm2020/stepper/stepper-button.mjs +6 -6
  83. package/esm2020/stepper/stepper-module.mjs +5 -5
  84. package/esm2020/stepper/stepper.mjs +6 -6
  85. package/esm2020/table/cell.mjs +21 -21
  86. package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
  87. package/esm2020/table/row.mjs +27 -27
  88. package/esm2020/table/table-module.mjs +5 -5
  89. package/esm2020/table/table.mjs +18 -18
  90. package/esm2020/table/text-column.mjs +3 -3
  91. package/esm2020/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +1 -1
  92. package/esm2020/testing/test-element.mjs +1 -1
  93. package/esm2020/text-field/autofill.mjs +6 -6
  94. package/esm2020/text-field/autosize.mjs +3 -3
  95. package/esm2020/text-field/text-field-module.mjs +4 -4
  96. package/esm2020/tree/nested-node.mjs +3 -3
  97. package/esm2020/tree/node.mjs +3 -3
  98. package/esm2020/tree/outlet.mjs +3 -3
  99. package/esm2020/tree/padding.mjs +3 -3
  100. package/esm2020/tree/toggle.mjs +3 -3
  101. package/esm2020/tree/tree-module.mjs +4 -4
  102. package/esm2020/tree/tree.mjs +6 -6
  103. package/esm2020/version.mjs +1 -1
  104. package/fesm2015/a11y.mjs +40 -40
  105. package/fesm2015/a11y.mjs.map +1 -1
  106. package/fesm2015/accordion.mjs +10 -10
  107. package/fesm2015/bidi.mjs +10 -10
  108. package/fesm2015/cdk.mjs +1 -1
  109. package/fesm2015/cdk.mjs.map +1 -1
  110. package/fesm2015/clipboard.mjs +10 -10
  111. package/fesm2015/collections.mjs +3 -3
  112. package/fesm2015/dialog.mjs +65 -34
  113. package/fesm2015/dialog.mjs.map +1 -1
  114. package/fesm2015/drag-drop.mjs +28 -28
  115. package/fesm2015/layout.mjs +10 -10
  116. package/fesm2015/menu.mjs +55 -51
  117. package/fesm2015/menu.mjs.map +1 -1
  118. package/fesm2015/observers.mjs +13 -13
  119. package/fesm2015/overlay.mjs +34 -34
  120. package/fesm2015/overlay.mjs.map +1 -1
  121. package/fesm2015/platform.mjs +7 -7
  122. package/fesm2015/portal.mjs +16 -16
  123. package/fesm2015/scrolling.mjs +26 -26
  124. package/fesm2015/scrolling.mjs.map +1 -1
  125. package/fesm2015/stepper.mjs +22 -22
  126. package/fesm2015/stepper.mjs.map +1 -1
  127. package/fesm2015/table.mjs +76 -76
  128. package/fesm2015/table.mjs.map +1 -1
  129. package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
  130. package/fesm2015/testing.mjs.map +1 -1
  131. package/fesm2015/text-field.mjs +13 -13
  132. package/fesm2015/tree.mjs +25 -25
  133. package/fesm2020/a11y.mjs +40 -40
  134. package/fesm2020/a11y.mjs.map +1 -1
  135. package/fesm2020/accordion.mjs +10 -10
  136. package/fesm2020/bidi.mjs +10 -10
  137. package/fesm2020/cdk.mjs +1 -1
  138. package/fesm2020/cdk.mjs.map +1 -1
  139. package/fesm2020/clipboard.mjs +10 -10
  140. package/fesm2020/collections.mjs +3 -3
  141. package/fesm2020/dialog.mjs +65 -34
  142. package/fesm2020/dialog.mjs.map +1 -1
  143. package/fesm2020/drag-drop.mjs +28 -28
  144. package/fesm2020/layout.mjs +10 -10
  145. package/fesm2020/menu.mjs +55 -51
  146. package/fesm2020/menu.mjs.map +1 -1
  147. package/fesm2020/observers.mjs +13 -13
  148. package/fesm2020/overlay.mjs +34 -34
  149. package/fesm2020/overlay.mjs.map +1 -1
  150. package/fesm2020/platform.mjs +7 -7
  151. package/fesm2020/portal.mjs +16 -16
  152. package/fesm2020/scrolling.mjs +26 -26
  153. package/fesm2020/scrolling.mjs.map +1 -1
  154. package/fesm2020/stepper.mjs +22 -22
  155. package/fesm2020/stepper.mjs.map +1 -1
  156. package/fesm2020/table.mjs +76 -76
  157. package/fesm2020/table.mjs.map +1 -1
  158. package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
  159. package/fesm2020/testing.mjs.map +1 -1
  160. package/fesm2020/text-field.mjs +13 -13
  161. package/fesm2020/tree.mjs +25 -25
  162. package/index.d.ts +6 -8
  163. package/keycodes/index.d.ts +247 -6
  164. package/layout/index.d.ts +91 -8
  165. package/menu/index.d.ts +989 -5
  166. package/observers/index.d.ts +89 -6
  167. package/overlay/index.d.ts +1202 -5
  168. package/package.json +20 -20
  169. package/platform/index.d.ts +104 -6
  170. package/portal/index.d.ts +325 -5
  171. package/schematics/ng-add/index.js +1 -1
  172. package/schematics/ng-add/index.mjs +1 -1
  173. package/schematics/utils/build-component.js +2 -2
  174. package/schematics/utils/build-component.mjs +2 -2
  175. package/schematics/utils/schematic-options.js +2 -2
  176. package/schematics/utils/schematic-options.mjs +2 -2
  177. package/scrolling/index.d.ts +647 -6
  178. package/stepper/index.d.ts +328 -6
  179. package/table/index.d.ts +1172 -5
  180. package/testing/index.d.ts +726 -5
  181. package/testing/selenium-webdriver/index.d.ts +134 -8
  182. package/testing/testbed/index.d.ts +161 -8
  183. package/text-field/index.d.ts +175 -6
  184. package/tree/index.d.ts +498 -6
  185. package/a11y/a11y-module.d.ts +0 -12
  186. package/a11y/a11y_public_index.d.ts +0 -4
  187. package/a11y/aria-describer/aria-describer.d.ts +0 -101
  188. package/a11y/aria-describer/aria-reference.d.ts +0 -22
  189. package/a11y/fake-event-detection.d.ts +0 -11
  190. package/a11y/focus-monitor/focus-monitor.d.ts +0 -209
  191. package/a11y/focus-trap/configurable-focus-trap-config.d.ts +0 -16
  192. package/a11y/focus-trap/configurable-focus-trap-factory.d.ts +0 -30
  193. package/a11y/focus-trap/configurable-focus-trap.d.ts +0 -33
  194. package/a11y/focus-trap/event-listener-inert-strategy.d.ts +0 -29
  195. package/a11y/focus-trap/focus-trap-inert-strategy.d.ts +0 -21
  196. package/a11y/focus-trap/focus-trap-manager.d.ts +0 -26
  197. package/a11y/focus-trap/focus-trap.d.ts +0 -163
  198. package/a11y/high-contrast-mode/high-contrast-mode-detector.d.ts +0 -48
  199. package/a11y/input-modality/input-modality-detector.d.ts +0 -99
  200. package/a11y/interactivity-checker/interactivity-checker.d.ts +0 -60
  201. package/a11y/key-manager/activedescendant-key-manager.d.ts +0 -35
  202. package/a11y/key-manager/focus-key-manager.d.ts +0 -37
  203. package/a11y/key-manager/list-key-manager.d.ts +0 -152
  204. package/a11y/live-announcer/live-announcer-tokens.d.ts +0 -22
  205. package/a11y/live-announcer/live-announcer.d.ts +0 -85
  206. package/a11y/package.json +0 -9
  207. package/a11y/public-api.d.ts +0 -25
  208. package/accordion/accordion-item.d.ts +0 -59
  209. package/accordion/accordion-module.d.ts +0 -8
  210. package/accordion/accordion.d.ts +0 -40
  211. package/accordion/accordion_public_index.d.ts +0 -4
  212. package/accordion/package.json +0 -9
  213. package/accordion/public-api.d.ts +0 -10
  214. package/bidi/bidi-module.d.ts +0 -7
  215. package/bidi/bidi_public_index.d.ts +0 -4
  216. package/bidi/dir-document-token.d.ts +0 -26
  217. package/bidi/dir.d.ts +0 -36
  218. package/bidi/directionality.d.ts +0 -26
  219. package/bidi/package.json +0 -9
  220. package/bidi/public-api.d.ts +0 -11
  221. package/clipboard/clipboard-module.d.ts +0 -7
  222. package/clipboard/clipboard.d.ts +0 -28
  223. package/clipboard/clipboard_public_index.d.ts +0 -4
  224. package/clipboard/copy-to-clipboard.d.ts +0 -49
  225. package/clipboard/package.json +0 -9
  226. package/clipboard/pending-copy.d.ts +0 -29
  227. package/clipboard/public-api.d.ts +0 -11
  228. package/coercion/array.d.ts +0 -10
  229. package/coercion/boolean-property.d.ts +0 -14
  230. package/coercion/css-pixel-value.d.ts +0 -9
  231. package/coercion/element.d.ts +0 -13
  232. package/coercion/number-property.d.ts +0 -20
  233. package/coercion/package.json +0 -9
  234. package/coercion/public-api.d.ts +0 -13
  235. package/coercion/string-array.d.ts +0 -25
  236. package/collections/array-data-source.d.ts +0 -16
  237. package/collections/collection-viewer.d.ts +0 -24
  238. package/collections/collections_public_index.d.ts +0 -4
  239. package/collections/data-source.d.ts +0 -30
  240. package/collections/dispose-view-repeater-strategy.d.ts +0 -22
  241. package/collections/package.json +0 -9
  242. package/collections/public-api.d.ts +0 -16
  243. package/collections/recycle-view-repeater-strategy.d.ts +0 -54
  244. package/collections/selection-model.d.ts +0 -95
  245. package/collections/tree-adapter.d.ts +0 -26
  246. package/collections/unique-selection-dispatcher.d.ts +0 -36
  247. package/collections/view-repeater.d.ts +0 -92
  248. package/dialog/dialog-config.d.ts +0 -115
  249. package/dialog/dialog-container.d.ts +0 -95
  250. package/dialog/dialog-injectors.d.ts +0 -24
  251. package/dialog/dialog-module.d.ts +0 -10
  252. package/dialog/dialog-ref.d.ts +0 -64
  253. package/dialog/dialog.d.ts +0 -103
  254. package/dialog/dialog_public_index.d.ts +0 -4
  255. package/dialog/package.json +0 -9
  256. package/dialog/public-api.d.ts +0 -13
  257. package/drag-drop/client-rect.d.ts +0 -38
  258. package/drag-drop/clone-node.d.ts +0 -9
  259. package/drag-drop/directives/assertions.d.ts +0 -13
  260. package/drag-drop/directives/config.d.ts +0 -43
  261. package/drag-drop/directives/drag-handle.d.ts +0 -33
  262. package/drag-drop/directives/drag-placeholder.d.ts +0 -27
  263. package/drag-drop/directives/drag-preview.d.ts +0 -32
  264. package/drag-drop/directives/drag.d.ts +0 -159
  265. package/drag-drop/directives/drop-list-group.d.ts +0 -33
  266. package/drag-drop/directives/drop-list.d.ts +0 -123
  267. package/drag-drop/drag-drop-module.d.ts +0 -13
  268. package/drag-drop/drag-drop-registry.d.ts +0 -89
  269. package/drag-drop/drag-drop.d.ts +0 -36
  270. package/drag-drop/drag-drop_public_index.d.ts +0 -4
  271. package/drag-drop/drag-events.d.ts +0 -124
  272. package/drag-drop/drag-parent.d.ts +0 -15
  273. package/drag-drop/drag-ref.d.ts +0 -448
  274. package/drag-drop/drag-styling.d.ts +0 -42
  275. package/drag-drop/drag-utils.d.ts +0 -32
  276. package/drag-drop/drop-list-ref.d.ts +0 -312
  277. package/drag-drop/package.json +0 -9
  278. package/drag-drop/parent-position-tracker.d.ts +0 -39
  279. package/drag-drop/public-api.d.ts +0 -22
  280. package/drag-drop/transition-duration.d.ts +0 -9
  281. package/keycodes/keycodes.d.ts +0 -126
  282. package/keycodes/keycodes_public_index.d.ts +0 -4
  283. package/keycodes/modifiers.d.ts +0 -14
  284. package/keycodes/package.json +0 -9
  285. package/keycodes/public-api.d.ts +0 -9
  286. package/layout/breakpoints-observer.d.ts +0 -45
  287. package/layout/breakpoints.d.ts +0 -23
  288. package/layout/layout-module.d.ts +0 -6
  289. package/layout/layout_public_index.d.ts +0 -4
  290. package/layout/media-matcher.d.ts +0 -18
  291. package/layout/package.json +0 -9
  292. package/layout/public-api.d.ts +0 -11
  293. package/menu/context-menu-trigger.d.ts +0 -98
  294. package/menu/menu-aim.d.ts +0 -107
  295. package/menu/menu-bar.d.ts +0 -52
  296. package/menu/menu-base.d.ts +0 -104
  297. package/menu/menu-errors.d.ts +0 -17
  298. package/menu/menu-group.d.ts +0 -8
  299. package/menu/menu-interface.d.ts +0 -25
  300. package/menu/menu-item-checkbox.d.ts +0 -18
  301. package/menu/menu-item-radio.d.ts +0 -59
  302. package/menu/menu-item-selectable.d.ts +0 -21
  303. package/menu/menu-item.d.ts +0 -140
  304. package/menu/menu-module.d.ts +0 -17
  305. package/menu/menu-stack.d.ts +0 -122
  306. package/menu/menu-trigger-base.d.ts +0 -77
  307. package/menu/menu-trigger.d.ts +0 -104
  308. package/menu/menu.d.ts +0 -60
  309. package/menu/menu_public_index.d.ts +0 -4
  310. package/menu/package.json +0 -9
  311. package/menu/pointer-focus-tracker.d.ts +0 -47
  312. package/menu/public-api.d.ts +0 -23
  313. package/observers/observe-content.d.ts +0 -87
  314. package/observers/observers_public_index.d.ts +0 -4
  315. package/observers/package.json +0 -9
  316. package/observers/public-api.d.ts +0 -8
  317. package/overlay/dispatchers/base-overlay-dispatcher.d.ts +0 -24
  318. package/overlay/dispatchers/index.d.ts +0 -9
  319. package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +0 -24
  320. package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +0 -32
  321. package/overlay/fullscreen-overlay-container.d.ts +0 -35
  322. package/overlay/overlay-config.d.ts +0 -47
  323. package/overlay/overlay-container.d.ts +0 -25
  324. package/overlay/overlay-directives.d.ts +0 -148
  325. package/overlay/overlay-module.d.ts +0 -10
  326. package/overlay/overlay-ref.d.ts +0 -145
  327. package/overlay/overlay-reference.d.ts +0 -38
  328. package/overlay/overlay.d.ts +0 -76
  329. package/overlay/overlay_public_index.d.ts +0 -4
  330. package/overlay/package.json +0 -9
  331. package/overlay/position/connected-position.d.ts +0 -102
  332. package/overlay/position/flexible-connected-position-strategy.d.ts +0 -282
  333. package/overlay/position/global-position-strategy.d.ts +0 -99
  334. package/overlay/position/overlay-position-builder.d.ts +0 -32
  335. package/overlay/position/position-strategy.d.ts +0 -19
  336. package/overlay/position/scroll-clip.d.ts +0 -26
  337. package/overlay/public-api.d.ts +0 -23
  338. package/overlay/scroll/block-scroll-strategy.d.ts +0 -27
  339. package/overlay/scroll/close-scroll-strategy.d.ts +0 -40
  340. package/overlay/scroll/index.d.ts +0 -14
  341. package/overlay/scroll/noop-scroll-strategy.d.ts +0 -17
  342. package/overlay/scroll/reposition-scroll-strategy.d.ts +0 -39
  343. package/overlay/scroll/scroll-strategy-options.d.ts +0 -44
  344. package/overlay/scroll/scroll-strategy.d.ts +0 -25
  345. package/platform/features/input-types.d.ts +0 -9
  346. package/platform/features/passive-listeners.d.ts +0 -19
  347. package/platform/features/scrolling.d.ts +0 -32
  348. package/platform/features/shadow-dom.d.ts +0 -18
  349. package/platform/features/test-environment.d.ts +0 -9
  350. package/platform/package.json +0 -9
  351. package/platform/platform-module.d.ts +0 -6
  352. package/platform/platform.d.ts +0 -29
  353. package/platform/platform_public_index.d.ts +0 -4
  354. package/platform/public-api.d.ts +0 -14
  355. package/portal/dom-portal-outlet.d.ts +0 -71
  356. package/portal/package.json +0 -9
  357. package/portal/portal-directives.d.ts +0 -99
  358. package/portal/portal-errors.d.ts +0 -37
  359. package/portal/portal-injector.d.ts +0 -21
  360. package/portal/portal.d.ts +0 -140
  361. package/portal/portal_public_index.d.ts +0 -4
  362. package/portal/public-api.d.ts +0 -11
  363. package/public-api.d.ts +0 -8
  364. package/scrolling/fixed-size-virtual-scroll.d.ts +0 -97
  365. package/scrolling/package.json +0 -9
  366. package/scrolling/public-api.d.ts +0 -16
  367. package/scrolling/scroll-dispatcher.d.ts +0 -71
  368. package/scrolling/scrollable.d.ts +0 -85
  369. package/scrolling/scrolling-module.d.ts +0 -19
  370. package/scrolling/scrolling_public_index.d.ts +0 -4
  371. package/scrolling/viewport-ruler.d.ts +0 -63
  372. package/scrolling/virtual-for-of.d.ts +0 -117
  373. package/scrolling/virtual-scroll-repeater.d.ts +0 -16
  374. package/scrolling/virtual-scroll-strategy.d.ts +0 -38
  375. package/scrolling/virtual-scroll-viewport.d.ts +0 -147
  376. package/stepper/package.json +0 -9
  377. package/stepper/public-api.d.ts +0 -12
  378. package/stepper/step-header.d.ts +0 -18
  379. package/stepper/step-label.d.ts +0 -15
  380. package/stepper/stepper-button.d.ts +0 -20
  381. package/stepper/stepper-module.d.ts +0 -11
  382. package/stepper/stepper.d.ts +0 -233
  383. package/stepper/stepper_public_index.d.ts +0 -4
  384. package/table/can-stick.d.ts +0 -34
  385. package/table/cell.d.ts +0 -126
  386. package/table/coalesced-style-scheduler.d.ts +0 -46
  387. package/table/package.json +0 -9
  388. package/table/public-api.d.ts +0 -19
  389. package/table/row.d.ts +0 -175
  390. package/table/sticky-position-listener.d.ts +0 -31
  391. package/table/sticky-styler.d.ts +0 -126
  392. package/table/table-errors.d.ts +0 -48
  393. package/table/table-module.d.ts +0 -11
  394. package/table/table.d.ts +0 -490
  395. package/table/table_public_index.d.ts +0 -4
  396. package/table/text-column.d.ts +0 -73
  397. package/table/tokens.d.ts +0 -25
  398. package/testing/change-detection.d.ts +0 -83
  399. package/testing/component-harness.d.ts +0 -426
  400. package/testing/element-dimensions.d.ts +0 -16
  401. package/testing/harness-environment.d.ts +0 -62
  402. package/testing/package.json +0 -9
  403. package/testing/public-api.d.ts +0 -14
  404. package/testing/selenium-webdriver/package.json +0 -9
  405. package/testing/selenium-webdriver/public-api.d.ts +0 -9
  406. package/testing/selenium-webdriver/selenium-web-driver-element.d.ts +0 -91
  407. package/testing/selenium-webdriver/selenium-web-driver-harness-environment.d.ts +0 -66
  408. package/testing/selenium-webdriver/selenium-webdriver-keys.d.ts +0 -46
  409. package/testing/test-element-errors.d.ts +0 -12
  410. package/testing/test-element.d.ts +0 -135
  411. package/testing/testbed/fake-events/dispatch-events.d.ts +0 -39
  412. package/testing/testbed/fake-events/element-focus.d.ts +0 -18
  413. package/testing/testbed/fake-events/event-objects.d.ts +0 -39
  414. package/testing/testbed/fake-events/index.d.ts +0 -11
  415. package/testing/testbed/fake-events/type-in-element.d.ts +0 -41
  416. package/testing/testbed/package.json +0 -9
  417. package/testing/testbed/proxy-zone-types.d.ts +0 -29
  418. package/testing/testbed/public-api.d.ts +0 -9
  419. package/testing/testbed/task-state-zone-interceptor.d.ts +0 -37
  420. package/testing/testbed/testbed-harness-environment.d.ts +0 -64
  421. package/testing/testbed/unit-test-element.d.ts +0 -98
  422. package/testing/testbed/zone-types.d.ts +0 -22
  423. package/testing/text-filtering.d.ts +0 -13
  424. package/text-field/autofill.d.ts +0 -66
  425. package/text-field/autosize.d.ts +0 -95
  426. package/text-field/package.json +0 -9
  427. package/text-field/public-api.d.ts +0 -10
  428. package/text-field/text-field-module.d.ts +0 -8
  429. package/text-field/text-field_public_index.d.ts +0 -4
  430. package/tree/control/base-tree-control.d.ts +0 -54
  431. package/tree/control/flat-tree-control.d.ts +0 -34
  432. package/tree/control/nested-tree-control.d.ts +0 -31
  433. package/tree/control/tree-control.d.ts +0 -49
  434. package/tree/nested-node.d.ts +0 -38
  435. package/tree/node.d.ts +0 -40
  436. package/tree/outlet.d.ts +0 -26
  437. package/tree/package.json +0 -9
  438. package/tree/padding.d.ts +0 -60
  439. package/tree/public-api.d.ts +0 -19
  440. package/tree/toggle.d.ts +0 -25
  441. package/tree/tree-errors.d.ts +0 -32
  442. package/tree/tree-module.d.ts +0 -12
  443. package/tree/tree.d.ts +0 -128
  444. package/tree/tree_public_index.d.ts +0 -4
  445. package/version.d.ts +0 -10
@@ -1,140 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
9
- import { BooleanInput } from '@angular/cdk/coercion';
10
- import { FocusableOption } from '@angular/cdk/a11y';
11
- import { Directionality } from '@angular/cdk/bidi';
12
- import { Subject } from 'rxjs';
13
- import { CdkMenuTrigger } from './menu-trigger';
14
- import { Menu } from './menu-interface';
15
- import { MenuStack } from './menu-stack';
16
- import { FocusableElement } from './pointer-focus-tracker';
17
- import { MenuAim, Toggler } from './menu-aim';
18
- import * as i0 from "@angular/core";
19
- /**
20
- * Directive which provides the ability for an element to be focused and navigated to using the
21
- * keyboard when residing in a CdkMenu, CdkMenuBar, or CdkMenuGroup. It performs user defined
22
- * behavior when clicked.
23
- */
24
- export declare class CdkMenuItem implements FocusableOption, FocusableElement, Toggler, OnDestroy {
25
- /** The host element for this item. */
26
- readonly _elementRef: ElementRef<HTMLElement>;
27
- /** The Angular zone. */
28
- private readonly _ngZone;
29
- /** The menu stack this item belongs to. */
30
- private readonly _menuStack;
31
- /** The parent menu this item belongs to. */
32
- private readonly _parentMenu?;
33
- /** The menu aim service used for this item. */
34
- private readonly _menuAim?;
35
- /** The directionality of the page. */
36
- private readonly _dir?;
37
- /** Reference to the CdkMenuItemTrigger directive if one is added to the same element */
38
- private readonly _menuTrigger?;
39
- /** Whether the CdkMenuItem is disabled - defaults to false */
40
- get disabled(): boolean;
41
- set disabled(value: BooleanInput);
42
- private _disabled;
43
- /**
44
- * The text used to locate this item during menu typeahead. If not specified,
45
- * the `textContent` of the item will be used.
46
- */
47
- typeaheadLabel: string | null;
48
- /**
49
- * If this MenuItem is a regular MenuItem, outputs when it is triggered by a keyboard or mouse
50
- * event.
51
- */
52
- readonly triggered: EventEmitter<void>;
53
- /** Whether the menu item opens a menu. */
54
- readonly hasMenu: boolean;
55
- /**
56
- * The tabindex for this menu item managed internally and used for implementing roving a
57
- * tab index.
58
- */
59
- _tabindex: 0 | -1;
60
- /** Whether the item should close the menu if triggered by the spacebar. */
61
- protected closeOnSpacebarTrigger: boolean;
62
- /** Emits when the menu item is destroyed. */
63
- protected readonly destroyed: Subject<void>;
64
- constructor(
65
- /** The host element for this item. */
66
- _elementRef: ElementRef<HTMLElement>,
67
- /** The Angular zone. */
68
- _ngZone: NgZone,
69
- /** The menu stack this item belongs to. */
70
- _menuStack: MenuStack,
71
- /** The parent menu this item belongs to. */
72
- _parentMenu?: Menu | undefined,
73
- /** The menu aim service used for this item. */
74
- _menuAim?: MenuAim | undefined,
75
- /** The directionality of the page. */
76
- _dir?: Directionality | undefined,
77
- /** Reference to the CdkMenuItemTrigger directive if one is added to the same element */
78
- _menuTrigger?: CdkMenuTrigger | undefined);
79
- ngOnDestroy(): void;
80
- /** Place focus on the element. */
81
- focus(): void;
82
- /**
83
- * If the menu item is not disabled and the element does not have a menu trigger attached, emit
84
- * on the cdkMenuItemTriggered emitter and close all open menus.
85
- * @param options Options the configure how the item is triggered
86
- * - keepOpen: specifies that the menu should be kept open after triggering the item.
87
- */
88
- trigger(options?: {
89
- keepOpen: boolean;
90
- }): void;
91
- /** Return true if this MenuItem has an attached menu and it is open. */
92
- isMenuOpen(): boolean;
93
- /**
94
- * Get a reference to the rendered Menu if the Menu is open and it is visible in the DOM.
95
- * @return the menu if it is open, otherwise undefined.
96
- */
97
- getMenu(): Menu | undefined;
98
- /** Get the CdkMenuTrigger associated with this element. */
99
- getMenuTrigger(): CdkMenuTrigger | undefined;
100
- /** Get the label for this element which is required by the FocusableOption interface. */
101
- getLabel(): string;
102
- /** Reset the tabindex to -1. */
103
- _resetTabIndex(): void;
104
- /**
105
- * Set the tab index to 0 if not disabled and it's a focus event, or a mouse enter if this element
106
- * is not in a menu bar.
107
- */
108
- _setTabIndex(event?: MouseEvent): void;
109
- /**
110
- * Handles keyboard events for the menu item, specifically either triggering the user defined
111
- * callback or opening/closing the current menu based on whether the left or right arrow key was
112
- * pressed.
113
- * @param event the keyboard event to handle
114
- */
115
- _onKeydown(event: KeyboardEvent): void;
116
- /** Whether this menu item is standalone or within a menu or menu bar. */
117
- private _isStandaloneItem;
118
- /**
119
- * Handles the user pressing the back arrow key.
120
- * @param event The keyboard event.
121
- */
122
- private _backArrowPressed;
123
- /**
124
- * Handles the user pressing the forward arrow key.
125
- * @param event The keyboard event.
126
- */
127
- private _forwardArrowPressed;
128
- /**
129
- * Subscribe to the mouseenter events and close any sibling menu items if this element is moused
130
- * into.
131
- */
132
- private _setupMouseEnter;
133
- /**
134
- * Return true if the enclosing parent menu is configured in a horizontal orientation, false
135
- * otherwise or if no parent.
136
- */
137
- private _isParentVertical;
138
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuItem, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
139
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuItem, "[cdkMenuItem]", ["cdkMenuItem"], { "disabled": "cdkMenuItemDisabled"; "typeaheadLabel": "cdkMenuitemTypeaheadLabel"; }, { "triggered": "cdkMenuItemTriggered"; }, never, never, false>;
140
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./menu-bar";
3
- import * as i2 from "./menu";
4
- import * as i3 from "./menu-item";
5
- import * as i4 from "./menu-item-radio";
6
- import * as i5 from "./menu-item-checkbox";
7
- import * as i6 from "./menu-trigger";
8
- import * as i7 from "./menu-group";
9
- import * as i8 from "./context-menu-trigger";
10
- import * as i9 from "./menu-aim";
11
- import * as i10 from "@angular/cdk/overlay";
12
- /** Module that declares components and directives for the CDK menu. */
13
- export declare class CdkMenuModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<CdkMenuModule, [typeof i1.CdkMenuBar, typeof i2.CdkMenu, typeof i3.CdkMenuItem, typeof i4.CdkMenuItemRadio, typeof i5.CdkMenuItemCheckbox, typeof i6.CdkMenuTrigger, typeof i7.CdkMenuGroup, typeof i8.CdkContextMenuTrigger, typeof i9.CdkTargetMenuAim], [typeof i10.OverlayModule], [typeof i1.CdkMenuBar, typeof i2.CdkMenu, typeof i3.CdkMenuItem, typeof i4.CdkMenuItemRadio, typeof i5.CdkMenuItemCheckbox, typeof i6.CdkMenuTrigger, typeof i7.CdkMenuGroup, typeof i8.CdkContextMenuTrigger, typeof i9.CdkTargetMenuAim]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<CdkMenuModule>;
17
- }
@@ -1,122 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { InjectionToken, Optional } from '@angular/core';
9
- import { Observable } from 'rxjs';
10
- import * as i0 from "@angular/core";
11
- /** The relative item in the inline menu to focus after closing all popup menus. */
12
- export declare const enum FocusNext {
13
- nextItem = 0,
14
- previousItem = 1,
15
- currentItem = 2
16
- }
17
- /** A single item (menu) in the menu stack. */
18
- export interface MenuStackItem {
19
- /** A reference to the menu stack this menu stack item belongs to. */
20
- menuStack?: MenuStack;
21
- }
22
- /** Injection token used for an implementation of MenuStack. */
23
- export declare const MENU_STACK: InjectionToken<MenuStack>;
24
- /** Provider that provides the parent menu stack, or a new menu stack if there is no parent one. */
25
- export declare const PARENT_OR_NEW_MENU_STACK_PROVIDER: {
26
- provide: InjectionToken<MenuStack>;
27
- deps: Optional[][];
28
- useFactory: (parentMenuStack?: MenuStack | undefined) => MenuStack;
29
- };
30
- /** Provider that provides the parent menu stack, or a new inline menu stack if there is no parent one. */
31
- export declare const PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER: (orientation: 'vertical' | 'horizontal') => {
32
- provide: InjectionToken<MenuStack>;
33
- deps: Optional[][];
34
- useFactory: (parentMenuStack?: MenuStack | undefined) => MenuStack;
35
- };
36
- /** Options that can be provided to the close or closeAll methods. */
37
- export interface CloseOptions {
38
- /** The element to focus next if the close operation causes the menu stack to become empty. */
39
- focusNextOnEmpty?: FocusNext;
40
- /** Whether to focus the parent trigger after closing the menu. */
41
- focusParentTrigger?: boolean;
42
- }
43
- /** Event dispatched when a menu is closed. */
44
- export interface MenuStackCloseEvent {
45
- /** The menu being closed. */
46
- item: MenuStackItem;
47
- /** Whether to focus the parent trigger after closing the menu. */
48
- focusParentTrigger?: boolean;
49
- }
50
- /**
51
- * MenuStack allows subscribers to listen for close events (when a MenuStackItem is popped off
52
- * of the stack) in order to perform closing actions. Upon the MenuStack being empty it emits
53
- * from the `empty` observable specifying the next focus action which the listener should perform
54
- * as requested by the closer.
55
- */
56
- export declare class MenuStack {
57
- /** The ID of this menu stack. */
58
- readonly id: string;
59
- /** All MenuStackItems tracked by this MenuStack. */
60
- private readonly _elements;
61
- /** Emits the element which was popped off of the stack when requested by a closer. */
62
- private readonly _close;
63
- /** Emits once the MenuStack has become empty after popping off elements. */
64
- private readonly _empty;
65
- /** Emits whether any menu in the menu stack has focus. */
66
- private readonly _hasFocus;
67
- /** Observable which emits the MenuStackItem which has been requested to close. */
68
- readonly closed: Observable<MenuStackCloseEvent>;
69
- /** Observable which emits whether any menu in the menu stack has focus. */
70
- readonly hasFocus: Observable<boolean>;
71
- /**
72
- * Observable which emits when the MenuStack is empty after popping off the last element. It
73
- * emits a FocusNext event which specifies the action the closer has requested the listener
74
- * perform.
75
- */
76
- readonly emptied: Observable<FocusNext | undefined>;
77
- /**
78
- * Whether the inline menu associated with this menu stack is vertical or horizontal.
79
- * `null` indicates there is no inline menu associated with this menu stack.
80
- */
81
- private _inlineMenuOrientation;
82
- /** Creates a menu stack that originates from an inline menu. */
83
- static inline(orientation: 'vertical' | 'horizontal'): MenuStack;
84
- /**
85
- * Adds an item to the menu stack.
86
- * @param menu the MenuStackItem to put on the stack.
87
- */
88
- push(menu: MenuStackItem): void;
89
- /**
90
- * Pop items off of the stack up to and including `lastItem` and emit each on the close
91
- * observable. If the stack is empty or `lastItem` is not on the stack it does nothing.
92
- * @param lastItem the last item to pop off the stack.
93
- * @param options Options that configure behavior on close.
94
- */
95
- close(lastItem: MenuStackItem, options?: CloseOptions): void;
96
- /**
97
- * Pop items off of the stack up to but excluding `lastItem` and emit each on the close
98
- * observable. If the stack is empty or `lastItem` is not on the stack it does nothing.
99
- * @param lastItem the element which should be left on the stack
100
- * @return whether or not an item was removed from the stack
101
- */
102
- closeSubMenuOf(lastItem: MenuStackItem): boolean;
103
- /**
104
- * Pop off all MenuStackItems and emit each one on the `close` observable one by one.
105
- * @param options Options that configure behavior on close.
106
- */
107
- closeAll(options?: CloseOptions): void;
108
- /** Return true if this stack is empty. */
109
- isEmpty(): boolean;
110
- /** Return the length of the stack. */
111
- length(): number;
112
- /** Get the top most element on the stack. */
113
- peek(): MenuStackItem | undefined;
114
- /** Whether the menu stack is associated with an inline menu. */
115
- hasInlineMenu(): boolean;
116
- /** The orientation of the associated inline menu. */
117
- inlineMenuOrientation(): "vertical" | "horizontal" | null;
118
- /** Sets whether the menu stack contains the focused element. */
119
- setHasFocus(hasFocus: boolean): void;
120
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuStack, never>;
121
- static ɵprov: i0.ɵɵInjectableDeclaration<MenuStack>;
122
- }
@@ -1,77 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { EventEmitter, InjectionToken, Injector, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
9
- import { Menu } from './menu-interface';
10
- import { MenuStack } from './menu-stack';
11
- import { ConnectedPosition, OverlayRef } from '@angular/cdk/overlay';
12
- import { TemplatePortal } from '@angular/cdk/portal';
13
- import { Subject } from 'rxjs';
14
- import * as i0 from "@angular/core";
15
- /** Injection token used for an implementation of MenuStack. */
16
- export declare const MENU_TRIGGER: InjectionToken<CdkMenuTriggerBase>;
17
- /**
18
- * Abstract directive that implements shared logic common to all menu triggers.
19
- * This class can be extended to create custom menu trigger types.
20
- */
21
- export declare abstract class CdkMenuTriggerBase implements OnDestroy {
22
- /** The DI injector for this component */
23
- protected readonly injector: Injector;
24
- /** The view container ref for this component */
25
- protected readonly viewContainerRef: ViewContainerRef;
26
- /** The menu stack this menu is part of. */
27
- protected readonly menuStack: MenuStack;
28
- /** A list of preferred menu positions to be used when constructing the `FlexibleConnectedPositionStrategy` for this trigger's menu. */
29
- menuPosition: ConnectedPosition[];
30
- /** Emits when the attached menu is requested to open */
31
- readonly opened: EventEmitter<void>;
32
- /** Emits when the attached menu is requested to close */
33
- readonly closed: EventEmitter<void>;
34
- /** Template reference variable to the menu this trigger opens */
35
- menuTemplateRef: TemplateRef<unknown>;
36
- /** A reference to the overlay which manages the triggered menu */
37
- protected overlayRef: OverlayRef | null;
38
- /** Emits when this trigger is destroyed. */
39
- protected readonly destroyed: Subject<void>;
40
- /** Emits when the outside pointer events listener on the overlay should be stopped. */
41
- protected readonly stopOutsideClicksListener: import("rxjs").Observable<void>;
42
- /** The child menu opened by this trigger. */
43
- protected childMenu?: Menu;
44
- /** The content of the menu panel opened by this trigger. */
45
- private _menuPortal;
46
- /** The injector to use for the child menu opened by this trigger. */
47
- private _childMenuInjector?;
48
- protected constructor(
49
- /** The DI injector for this component */
50
- injector: Injector,
51
- /** The view container ref for this component */
52
- viewContainerRef: ViewContainerRef,
53
- /** The menu stack this menu is part of. */
54
- menuStack: MenuStack);
55
- ngOnDestroy(): void;
56
- /** Whether the attached menu is open. */
57
- isOpen(): boolean;
58
- /** Registers a child menu as having been opened by this trigger. */
59
- registerChildMenu(child: Menu): void;
60
- /**
61
- * Get the portal to be attached to the overlay which contains the menu. Allows for the menu
62
- * content to change dynamically and be reflected in the application.
63
- */
64
- protected getMenuContentPortal(): TemplatePortal<any>;
65
- /**
66
- * Whether the given element is inside the scope of this trigger's menu stack.
67
- * @param element The element to check.
68
- * @return Whether the element is inside the scope of this trigger's menu stack.
69
- */
70
- protected isElementInsideMenuStack(element: Element): boolean;
71
- /** Destroy and unset the overlay reference it if exists */
72
- private _destroyOverlay;
73
- /** Gets the injector to use when creating a child menu. */
74
- private _getChildMenuInjector;
75
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuTriggerBase, never>;
76
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuTriggerBase, never, never, {}, {}, never, never, false>;
77
- }
@@ -1,104 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { ElementRef, Injector, NgZone, OnDestroy, ViewContainerRef } from '@angular/core';
9
- import { Directionality } from '@angular/cdk/bidi';
10
- import { Overlay } from '@angular/cdk/overlay';
11
- import { Menu } from './menu-interface';
12
- import { MenuStack } from './menu-stack';
13
- import { MenuAim } from './menu-aim';
14
- import { CdkMenuTriggerBase } from './menu-trigger-base';
15
- import * as i0 from "@angular/core";
16
- /**
17
- * A directive that turns its host element into a trigger for a popup menu.
18
- * It can be combined with cdkMenuItem to create sub-menus. If the element is in a top level
19
- * MenuBar it will open the menu on click, or if a sibling is already opened it will open on hover.
20
- * If it is inside of a Menu it will open the attached Submenu on hover regardless of its sibling
21
- * state.
22
- */
23
- export declare class CdkMenuTrigger extends CdkMenuTriggerBase implements OnDestroy {
24
- /** The host element. */
25
- private readonly _elementRef;
26
- /** The CDK overlay service. */
27
- private readonly _overlay;
28
- /** The Angular zone. */
29
- private readonly _ngZone;
30
- /** The parent menu this trigger belongs to. */
31
- private readonly _parentMenu?;
32
- /** The menu aim service used by this menu. */
33
- private readonly _menuAim?;
34
- /** The directionality of the page. */
35
- private readonly _directionality?;
36
- constructor(
37
- /** The DI injector for this component. */
38
- injector: Injector,
39
- /** The host element. */
40
- _elementRef: ElementRef<HTMLElement>,
41
- /** The view container ref for this component. */
42
- viewContainerRef: ViewContainerRef,
43
- /** The CDK overlay service. */
44
- _overlay: Overlay,
45
- /** The Angular zone. */
46
- _ngZone: NgZone,
47
- /** The menu stack this trigger belongs to. */
48
- menuStack: MenuStack,
49
- /** The parent menu this trigger belongs to. */
50
- _parentMenu?: Menu | undefined,
51
- /** The menu aim service used by this menu. */
52
- _menuAim?: MenuAim | undefined,
53
- /** The directionality of the page. */
54
- _directionality?: Directionality | undefined);
55
- /** Toggle the attached menu. */
56
- toggle(): void;
57
- /** Open the attached menu. */
58
- open(): void;
59
- /** Close the opened menu. */
60
- close(): void;
61
- /**
62
- * Get a reference to the rendered Menu if the Menu is open and rendered in the DOM.
63
- */
64
- getMenu(): Menu | undefined;
65
- /**
66
- * Handles keyboard events for the menu item.
67
- * @param event The keyboard event to handle
68
- */
69
- _toggleOnKeydown(event: KeyboardEvent): void;
70
- /**
71
- * Sets whether the trigger's menu stack has focus.
72
- * @param hasFocus Whether the menu stack has focus.
73
- */
74
- _setHasFocus(hasFocus: boolean): void;
75
- /**
76
- * Subscribe to the mouseenter events and close any sibling menu items if this element is moused
77
- * into.
78
- */
79
- private _subscribeToMouseEnter;
80
- /** Close out any sibling menu trigger menus. */
81
- private _closeSiblingTriggers;
82
- /** Get the configuration object used to create the overlay. */
83
- private _getOverlayConfig;
84
- /** Build the position strategy for the overlay which specifies where to place the menu. */
85
- private _getOverlayPositionStrategy;
86
- /** Get the preferred positions for the opened menu relative to the menu item. */
87
- private _getOverlayPositions;
88
- /**
89
- * Subscribe to the MenuStack close events if this is a standalone trigger and close out the menu
90
- * this triggers when requested.
91
- */
92
- private _registerCloseHandler;
93
- /**
94
- * Subscribe to the overlays outside pointer events stream and handle closing out the stack if a
95
- * click occurs outside the menus.
96
- */
97
- private _subscribeToOutsideClicks;
98
- /** Subscribe to the MenuStack hasFocus events. */
99
- private _subscribeToMenuStackHasFocus;
100
- /** Subscribe to the MenuStack closed events. */
101
- private _subscribeToMenuStackClosed;
102
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuTrigger, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
103
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuTrigger, "[cdkMenuTriggerFor]", ["cdkMenuTriggerFor"], { "menuTemplateRef": "cdkMenuTriggerFor"; "menuPosition": "cdkMenuPosition"; }, { "opened": "cdkMenuOpened"; "closed": "cdkMenuClosed"; }, never, never, false>;
104
- }
package/menu/menu.d.ts DELETED
@@ -1,60 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { AfterContentInit, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
9
- import { Directionality } from '@angular/cdk/bidi';
10
- import { MenuStack } from './menu-stack';
11
- import { MenuAim } from './menu-aim';
12
- import { CdkMenuTriggerBase } from './menu-trigger-base';
13
- import { CdkMenuBase } from './menu-base';
14
- import * as i0 from "@angular/core";
15
- /**
16
- * Directive which configures the element as a Menu which should contain child elements marked as
17
- * CdkMenuItem or CdkMenuGroup. Sets the appropriate role and aria-attributes for a menu and
18
- * contains accessible keyboard and mouse handling logic.
19
- *
20
- * It also acts as a RadioGroup for elements marked with role `menuitemradio`.
21
- */
22
- export declare class CdkMenu extends CdkMenuBase implements AfterContentInit, OnDestroy {
23
- /** The trigger that opened this menu. */
24
- private _parentTrigger?;
25
- /** Event emitted when the menu is closed. */
26
- readonly closed: EventEmitter<void>;
27
- /** The direction items in the menu flow. */
28
- readonly orientation = "vertical";
29
- /** Whether the menu is displayed inline (i.e. always present vs a conditional popup that the user triggers with a trigger element). */
30
- readonly isInline: boolean;
31
- constructor(
32
- /** The host element. */
33
- elementRef: ElementRef<HTMLElement>,
34
- /** The Angular zone. */
35
- ngZone: NgZone,
36
- /** The menu stack this menu is part of. */
37
- menuStack: MenuStack,
38
- /** The trigger that opened this menu. */
39
- _parentTrigger?: CdkMenuTriggerBase | undefined,
40
- /** The menu aim service used by this menu. */
41
- menuAim?: MenuAim,
42
- /** The directionality of the page. */
43
- dir?: Directionality);
44
- ngAfterContentInit(): void;
45
- ngOnDestroy(): void;
46
- /**
47
- * Handle keyboard events for the Menu.
48
- * @param event The keyboard event to be handled.
49
- */
50
- _handleKeyEvent(event: KeyboardEvent): void;
51
- /**
52
- * Set focus the either the current, previous or next item based on the FocusNext event.
53
- * @param focusNext The element to focus.
54
- */
55
- private _toggleMenuFocus;
56
- /** Subscribe to the MenuStack emptied events. */
57
- private _subscribeToMenuStackEmptied;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenu, [null, null, null, { optional: true; }, { optional: true; self: true; }, { optional: true; }]>;
59
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenu, "[cdkMenu]", ["cdkMenu"], {}, { "closed": "closed"; }, never, never, false>;
60
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
package/menu/package.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@angular/cdk/menu",
3
- "fesm2020": "../fesm2020/menu.mjs",
4
- "fesm2015": "../fesm2015/menu.mjs",
5
- "esm2020": "../esm2020/menu/menu_public_index.mjs",
6
- "typings": "./menu_public_index.d.ts",
7
- "module": "../fesm2015/menu.mjs",
8
- "es2020": "../fesm2020/menu.mjs"
9
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { ElementRef, QueryList } from '@angular/core';
9
- import { Observable } from 'rxjs';
10
- /** Item to track for mouse focus events. */
11
- export interface FocusableElement {
12
- /** A reference to the element to be tracked. */
13
- _elementRef: ElementRef<HTMLElement>;
14
- }
15
- /**
16
- * PointerFocusTracker keeps track of the currently active item under mouse focus. It also has
17
- * observables which emit when the users mouse enters and leaves a tracked element.
18
- */
19
- export declare class PointerFocusTracker<T extends FocusableElement> {
20
- /** The list of items being tracked. */
21
- private readonly _items;
22
- /** Emits when an element is moused into. */
23
- readonly entered: Observable<T>;
24
- /** Emits when an element is moused out. */
25
- readonly exited: Observable<T>;
26
- /** The element currently under mouse focus. */
27
- activeElement?: T;
28
- /** The element previously under mouse focus. */
29
- previousElement?: T;
30
- /** Emits when this is destroyed. */
31
- private readonly _destroyed;
32
- constructor(
33
- /** The list of items being tracked. */
34
- _items: QueryList<T>);
35
- /** Stop the managers listeners. */
36
- destroy(): void;
37
- /**
38
- * Gets a stream of pointer (mouse) entries into the given items.
39
- * This should typically run outside the Angular zone.
40
- */
41
- private _getItemPointerEntries;
42
- /**
43
- * Gets a stream of pointer (mouse) exits out of the given items.
44
- * This should typically run outside the Angular zone.
45
- */
46
- private _getItemPointerExits;
47
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- export * from './menu-module';
9
- export * from './menu-bar';
10
- export * from './menu';
11
- export * from './menu-base';
12
- export * from './menu-item';
13
- export * from './menu-item-checkbox';
14
- export * from './menu-item-radio';
15
- export * from './menu-trigger';
16
- export * from './menu-group';
17
- export * from './menu-item-selectable';
18
- export * from './context-menu-trigger';
19
- export * from './menu-trigger-base';
20
- export * from './pointer-focus-tracker';
21
- export * from './menu-stack';
22
- export * from './menu-interface';
23
- export * from './menu-aim';