@angular/cdk 14.0.0-next.9 → 14.0.0-rc.0

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 (459) hide show
  1. package/a11y/_index.scss +11 -0
  2. package/a11y/index.d.ts +1119 -5
  3. package/a11y-prebuilt.css +1 -1
  4. package/accordion/index.d.ts +108 -6
  5. package/bidi/index.d.ts +77 -5
  6. package/clipboard/index.d.ts +112 -5
  7. package/coercion/index.d.ts +64 -5
  8. package/collections/index.d.ts +348 -5
  9. package/dialog/index.d.ts +410 -0
  10. package/drag-drop/index.d.ts +1456 -5
  11. package/esm2020/a11y/a11y-module.mjs +5 -5
  12. package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
  13. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +10 -10
  14. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  15. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  16. package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
  17. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +10 -10
  18. package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
  19. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  20. package/esm2020/a11y/live-announcer/live-announcer.mjs +7 -7
  21. package/esm2020/accordion/accordion-item.mjs +4 -4
  22. package/esm2020/accordion/accordion-module.mjs +5 -5
  23. package/esm2020/accordion/accordion.mjs +4 -4
  24. package/esm2020/bidi/bidi-module.mjs +5 -5
  25. package/esm2020/bidi/dir.mjs +4 -4
  26. package/esm2020/bidi/directionality.mjs +4 -4
  27. package/esm2020/clipboard/clipboard-module.mjs +5 -5
  28. package/esm2020/clipboard/clipboard.mjs +4 -4
  29. package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
  30. package/esm2020/collections/dispose-view-repeater-strategy.mjs +4 -4
  31. package/esm2020/collections/recycle-view-repeater-strategy.mjs +4 -4
  32. package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
  33. package/esm2020/dialog/dialog-config.mjs +63 -0
  34. package/esm2020/dialog/dialog-container.mjs +278 -0
  35. package/esm2020/dialog/dialog-injectors.mjs +26 -0
  36. package/esm2020/dialog/dialog-module.mjs +42 -0
  37. package/esm2020/dialog/dialog-ref.mjs +76 -0
  38. package/esm2020/dialog/dialog.mjs +298 -0
  39. package/esm2020/dialog/dialog_public_index.mjs +5 -0
  40. package/esm2020/dialog/index.mjs +9 -0
  41. package/esm2020/dialog/public-api.mjs +14 -0
  42. package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
  43. package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
  44. package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
  45. package/esm2020/drag-drop/directives/drag.mjs +11 -4
  46. package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
  47. package/esm2020/drag-drop/directives/drop-list.mjs +4 -4
  48. package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
  49. package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
  50. package/esm2020/drag-drop/drag-drop.mjs +4 -4
  51. package/esm2020/drag-drop/drop-list-ref.mjs +23 -23
  52. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  53. package/esm2020/layout/layout-module.mjs +5 -5
  54. package/esm2020/layout/media-matcher.mjs +4 -4
  55. package/esm2020/menu/context-menu-trigger.mjs +229 -0
  56. package/esm2020/menu/index.mjs +9 -0
  57. package/esm2020/menu/menu-aim.mjs +204 -0
  58. package/esm2020/menu/menu-bar.mjs +159 -0
  59. package/esm2020/menu/menu-base.mjs +203 -0
  60. package/esm2020/menu/menu-errors.mjs +22 -0
  61. package/esm2020/menu/menu-group.mjs +30 -0
  62. package/esm2020/menu/menu-interface.mjs +11 -0
  63. package/esm2020/menu/menu-item-checkbox.mjs +48 -0
  64. package/esm2020/menu/menu-item-radio.mjs +114 -0
  65. package/esm2020/menu/menu-item-selectable.mjs +42 -0
  66. package/esm2020/menu/menu-item.mjs +289 -0
  67. package/esm2020/menu/menu-module.mjs +62 -0
  68. package/esm2020/menu/menu-stack.mjs +156 -0
  69. package/esm2020/menu/menu-trigger-base.mjs +114 -0
  70. package/esm2020/menu/menu-trigger.mjs +304 -0
  71. package/esm2020/menu/menu.mjs +168 -0
  72. package/esm2020/menu/menu_public_index.mjs +5 -0
  73. package/esm2020/menu/pointer-focus-tracker.mjs +51 -0
  74. package/esm2020/menu/public-api.mjs +24 -0
  75. package/esm2020/observers/observe-content.mjs +14 -14
  76. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  77. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  78. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  79. package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
  80. package/esm2020/overlay/overlay-container.mjs +4 -4
  81. package/esm2020/overlay/overlay-directives.mjs +7 -7
  82. package/esm2020/overlay/overlay-module.mjs +5 -5
  83. package/esm2020/overlay/overlay-ref.mjs +14 -5
  84. package/esm2020/overlay/overlay.mjs +14 -8
  85. package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
  86. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
  87. package/esm2020/platform/features/scrolling.mjs +4 -4
  88. package/esm2020/platform/platform-module.mjs +5 -5
  89. package/esm2020/platform/platform.mjs +4 -4
  90. package/esm2020/portal/dom-portal-outlet.mjs +6 -2
  91. package/esm2020/portal/portal-directives.mjs +17 -17
  92. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  93. package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
  94. package/esm2020/scrolling/scrollable.mjs +9 -9
  95. package/esm2020/scrolling/scrolling-module.mjs +9 -9
  96. package/esm2020/scrolling/viewport-ruler.mjs +4 -4
  97. package/esm2020/scrolling/virtual-for-of.mjs +4 -4
  98. package/esm2020/scrolling/virtual-scroll-viewport.mjs +4 -4
  99. package/esm2020/stepper/step-header.mjs +4 -4
  100. package/esm2020/stepper/step-label.mjs +4 -4
  101. package/esm2020/stepper/stepper-button.mjs +7 -7
  102. package/esm2020/stepper/stepper-module.mjs +5 -5
  103. package/esm2020/stepper/stepper.mjs +7 -7
  104. package/esm2020/table/cell.mjs +22 -22
  105. package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
  106. package/esm2020/table/row.mjs +28 -28
  107. package/esm2020/table/table-module.mjs +5 -5
  108. package/esm2020/table/table.mjs +21 -21
  109. package/esm2020/table/text-column.mjs +5 -5
  110. package/esm2020/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +1 -1
  111. package/esm2020/testing/test-element.mjs +1 -1
  112. package/esm2020/text-field/autofill.mjs +7 -7
  113. package/esm2020/text-field/autosize.mjs +4 -4
  114. package/esm2020/text-field/text-field-module.mjs +5 -5
  115. package/esm2020/tree/nested-node.mjs +4 -4
  116. package/esm2020/tree/node.mjs +4 -4
  117. package/esm2020/tree/outlet.mjs +4 -4
  118. package/esm2020/tree/padding.mjs +4 -4
  119. package/esm2020/tree/toggle.mjs +4 -4
  120. package/esm2020/tree/tree-module.mjs +5 -5
  121. package/esm2020/tree/tree.mjs +7 -7
  122. package/esm2020/version.mjs +1 -1
  123. package/fesm2015/a11y.mjs +49 -49
  124. package/fesm2015/a11y.mjs.map +1 -1
  125. package/fesm2015/accordion.mjs +10 -10
  126. package/fesm2015/accordion.mjs.map +1 -1
  127. package/fesm2015/bidi.mjs +10 -10
  128. package/fesm2015/bidi.mjs.map +1 -1
  129. package/fesm2015/cdk.mjs +1 -1
  130. package/fesm2015/cdk.mjs.map +1 -1
  131. package/fesm2015/clipboard.mjs +10 -10
  132. package/fesm2015/clipboard.mjs.map +1 -1
  133. package/fesm2015/collections.mjs +9 -9
  134. package/fesm2015/collections.mjs.map +1 -1
  135. package/fesm2015/dialog.mjs +780 -0
  136. package/fesm2015/dialog.mjs.map +1 -0
  137. package/fesm2015/drag-drop.mjs +57 -50
  138. package/fesm2015/drag-drop.mjs.map +1 -1
  139. package/fesm2015/layout.mjs +10 -10
  140. package/fesm2015/layout.mjs.map +1 -1
  141. package/fesm2015/menu.mjs +2135 -0
  142. package/fesm2015/menu.mjs.map +1 -0
  143. package/fesm2015/observers.mjs +13 -13
  144. package/fesm2015/observers.mjs.map +1 -1
  145. package/fesm2015/overlay.mjs +57 -42
  146. package/fesm2015/overlay.mjs.map +1 -1
  147. package/fesm2015/platform.mjs +10 -10
  148. package/fesm2015/platform.mjs.map +1 -1
  149. package/fesm2015/portal.mjs +21 -17
  150. package/fesm2015/portal.mjs.map +1 -1
  151. package/fesm2015/scrolling.mjs +31 -31
  152. package/fesm2015/scrolling.mjs.map +1 -1
  153. package/fesm2015/stepper.mjs +22 -22
  154. package/fesm2015/stepper.mjs.map +1 -1
  155. package/fesm2015/table.mjs +79 -79
  156. package/fesm2015/table.mjs.map +1 -1
  157. package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
  158. package/fesm2015/testing.mjs.map +1 -1
  159. package/fesm2015/text-field.mjs +13 -13
  160. package/fesm2015/text-field.mjs.map +1 -1
  161. package/fesm2015/tree.mjs +25 -25
  162. package/fesm2015/tree.mjs.map +1 -1
  163. package/fesm2020/a11y.mjs +49 -49
  164. package/fesm2020/a11y.mjs.map +1 -1
  165. package/fesm2020/accordion.mjs +10 -10
  166. package/fesm2020/accordion.mjs.map +1 -1
  167. package/fesm2020/bidi.mjs +10 -10
  168. package/fesm2020/bidi.mjs.map +1 -1
  169. package/fesm2020/cdk.mjs +1 -1
  170. package/fesm2020/cdk.mjs.map +1 -1
  171. package/fesm2020/clipboard.mjs +10 -10
  172. package/fesm2020/clipboard.mjs.map +1 -1
  173. package/fesm2020/collections.mjs +9 -9
  174. package/fesm2020/collections.mjs.map +1 -1
  175. package/fesm2020/dialog.mjs +784 -0
  176. package/fesm2020/dialog.mjs.map +1 -0
  177. package/fesm2020/drag-drop.mjs +57 -50
  178. package/fesm2020/drag-drop.mjs.map +1 -1
  179. package/fesm2020/layout.mjs +10 -10
  180. package/fesm2020/layout.mjs.map +1 -1
  181. package/fesm2020/menu.mjs +2108 -0
  182. package/fesm2020/menu.mjs.map +1 -0
  183. package/fesm2020/observers.mjs +13 -13
  184. package/fesm2020/observers.mjs.map +1 -1
  185. package/fesm2020/overlay.mjs +57 -42
  186. package/fesm2020/overlay.mjs.map +1 -1
  187. package/fesm2020/platform.mjs +10 -10
  188. package/fesm2020/platform.mjs.map +1 -1
  189. package/fesm2020/portal.mjs +21 -17
  190. package/fesm2020/portal.mjs.map +1 -1
  191. package/fesm2020/scrolling.mjs +31 -31
  192. package/fesm2020/scrolling.mjs.map +1 -1
  193. package/fesm2020/stepper.mjs +22 -22
  194. package/fesm2020/stepper.mjs.map +1 -1
  195. package/fesm2020/table.mjs +79 -79
  196. package/fesm2020/table.mjs.map +1 -1
  197. package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
  198. package/fesm2020/testing.mjs.map +1 -1
  199. package/fesm2020/text-field.mjs +13 -13
  200. package/fesm2020/text-field.mjs.map +1 -1
  201. package/fesm2020/tree.mjs +25 -25
  202. package/fesm2020/tree.mjs.map +1 -1
  203. package/index.d.ts +6 -8
  204. package/keycodes/index.d.ts +247 -6
  205. package/layout/index.d.ts +91 -8
  206. package/menu/index.d.ts +992 -0
  207. package/observers/index.d.ts +89 -6
  208. package/overlay/_index.scss +4 -0
  209. package/overlay/index.d.ts +1202 -5
  210. package/overlay-prebuilt.css +1 -1
  211. package/package.json +34 -18
  212. package/platform/index.d.ts +104 -6
  213. package/portal/index.d.ts +325 -5
  214. package/schematics/ng-add/index.js +1 -1
  215. package/schematics/ng-add/index.mjs +1 -1
  216. package/schematics/utils/build-component.js +2 -2
  217. package/schematics/utils/build-component.mjs +2 -2
  218. package/schematics/utils/schematic-options.js +2 -2
  219. package/schematics/utils/schematic-options.mjs +2 -2
  220. package/scrolling/index.d.ts +647 -6
  221. package/stepper/index.d.ts +328 -6
  222. package/table/index.d.ts +1172 -5
  223. package/testing/index.d.ts +726 -5
  224. package/testing/selenium-webdriver/index.d.ts +134 -8
  225. package/testing/testbed/index.d.ts +161 -8
  226. package/text-field/index.d.ts +175 -6
  227. package/tree/index.d.ts +498 -6
  228. package/a11y/a11y-module.d.ts +0 -12
  229. package/a11y/a11y_public_index.d.ts +0 -4
  230. package/a11y/aria-describer/aria-describer.d.ts +0 -101
  231. package/a11y/aria-describer/aria-reference.d.ts +0 -22
  232. package/a11y/fake-event-detection.d.ts +0 -11
  233. package/a11y/focus-monitor/focus-monitor.d.ts +0 -209
  234. package/a11y/focus-trap/configurable-focus-trap-config.d.ts +0 -16
  235. package/a11y/focus-trap/configurable-focus-trap-factory.d.ts +0 -30
  236. package/a11y/focus-trap/configurable-focus-trap.d.ts +0 -33
  237. package/a11y/focus-trap/event-listener-inert-strategy.d.ts +0 -29
  238. package/a11y/focus-trap/focus-trap-inert-strategy.d.ts +0 -21
  239. package/a11y/focus-trap/focus-trap-manager.d.ts +0 -26
  240. package/a11y/focus-trap/focus-trap.d.ts +0 -163
  241. package/a11y/high-contrast-mode/high-contrast-mode-detector.d.ts +0 -48
  242. package/a11y/input-modality/input-modality-detector.d.ts +0 -99
  243. package/a11y/interactivity-checker/interactivity-checker.d.ts +0 -60
  244. package/a11y/key-manager/activedescendant-key-manager.d.ts +0 -35
  245. package/a11y/key-manager/focus-key-manager.d.ts +0 -37
  246. package/a11y/key-manager/list-key-manager.d.ts +0 -152
  247. package/a11y/live-announcer/live-announcer-tokens.d.ts +0 -22
  248. package/a11y/live-announcer/live-announcer.d.ts +0 -85
  249. package/a11y/package.json +0 -9
  250. package/a11y/public-api.d.ts +0 -25
  251. package/accordion/accordion-item.d.ts +0 -59
  252. package/accordion/accordion-module.d.ts +0 -8
  253. package/accordion/accordion.d.ts +0 -40
  254. package/accordion/accordion_public_index.d.ts +0 -4
  255. package/accordion/package.json +0 -9
  256. package/accordion/public-api.d.ts +0 -10
  257. package/bidi/bidi-module.d.ts +0 -7
  258. package/bidi/bidi_public_index.d.ts +0 -4
  259. package/bidi/dir-document-token.d.ts +0 -26
  260. package/bidi/dir.d.ts +0 -36
  261. package/bidi/directionality.d.ts +0 -26
  262. package/bidi/package.json +0 -9
  263. package/bidi/public-api.d.ts +0 -11
  264. package/clipboard/clipboard-module.d.ts +0 -7
  265. package/clipboard/clipboard.d.ts +0 -28
  266. package/clipboard/clipboard_public_index.d.ts +0 -4
  267. package/clipboard/copy-to-clipboard.d.ts +0 -49
  268. package/clipboard/package.json +0 -9
  269. package/clipboard/pending-copy.d.ts +0 -29
  270. package/clipboard/public-api.d.ts +0 -11
  271. package/coercion/array.d.ts +0 -10
  272. package/coercion/boolean-property.d.ts +0 -14
  273. package/coercion/css-pixel-value.d.ts +0 -9
  274. package/coercion/element.d.ts +0 -13
  275. package/coercion/number-property.d.ts +0 -20
  276. package/coercion/package.json +0 -9
  277. package/coercion/public-api.d.ts +0 -13
  278. package/coercion/string-array.d.ts +0 -25
  279. package/collections/array-data-source.d.ts +0 -16
  280. package/collections/collection-viewer.d.ts +0 -24
  281. package/collections/collections_public_index.d.ts +0 -4
  282. package/collections/data-source.d.ts +0 -30
  283. package/collections/dispose-view-repeater-strategy.d.ts +0 -22
  284. package/collections/package.json +0 -9
  285. package/collections/public-api.d.ts +0 -16
  286. package/collections/recycle-view-repeater-strategy.d.ts +0 -54
  287. package/collections/selection-model.d.ts +0 -95
  288. package/collections/tree-adapter.d.ts +0 -26
  289. package/collections/unique-selection-dispatcher.d.ts +0 -36
  290. package/collections/view-repeater.d.ts +0 -92
  291. package/drag-drop/client-rect.d.ts +0 -38
  292. package/drag-drop/clone-node.d.ts +0 -9
  293. package/drag-drop/directives/assertions.d.ts +0 -13
  294. package/drag-drop/directives/config.d.ts +0 -43
  295. package/drag-drop/directives/drag-handle.d.ts +0 -33
  296. package/drag-drop/directives/drag-placeholder.d.ts +0 -27
  297. package/drag-drop/directives/drag-preview.d.ts +0 -32
  298. package/drag-drop/directives/drag.d.ts +0 -160
  299. package/drag-drop/directives/drop-list-group.d.ts +0 -33
  300. package/drag-drop/directives/drop-list.d.ts +0 -123
  301. package/drag-drop/drag-drop-module.d.ts +0 -13
  302. package/drag-drop/drag-drop-registry.d.ts +0 -89
  303. package/drag-drop/drag-drop.d.ts +0 -36
  304. package/drag-drop/drag-drop_public_index.d.ts +0 -4
  305. package/drag-drop/drag-events.d.ts +0 -124
  306. package/drag-drop/drag-parent.d.ts +0 -15
  307. package/drag-drop/drag-ref.d.ts +0 -448
  308. package/drag-drop/drag-styling.d.ts +0 -42
  309. package/drag-drop/drag-utils.d.ts +0 -32
  310. package/drag-drop/drop-list-ref.d.ts +0 -312
  311. package/drag-drop/package.json +0 -9
  312. package/drag-drop/parent-position-tracker.d.ts +0 -39
  313. package/drag-drop/public-api.d.ts +0 -22
  314. package/drag-drop/transition-duration.d.ts +0 -9
  315. package/keycodes/keycodes.d.ts +0 -126
  316. package/keycodes/keycodes_public_index.d.ts +0 -4
  317. package/keycodes/modifiers.d.ts +0 -14
  318. package/keycodes/package.json +0 -9
  319. package/keycodes/public-api.d.ts +0 -9
  320. package/layout/breakpoints-observer.d.ts +0 -45
  321. package/layout/breakpoints.d.ts +0 -23
  322. package/layout/layout-module.d.ts +0 -6
  323. package/layout/layout_public_index.d.ts +0 -4
  324. package/layout/media-matcher.d.ts +0 -18
  325. package/layout/package.json +0 -9
  326. package/layout/public-api.d.ts +0 -11
  327. package/observers/observe-content.d.ts +0 -87
  328. package/observers/observers_public_index.d.ts +0 -4
  329. package/observers/package.json +0 -9
  330. package/observers/public-api.d.ts +0 -8
  331. package/overlay/dispatchers/base-overlay-dispatcher.d.ts +0 -24
  332. package/overlay/dispatchers/index.d.ts +0 -9
  333. package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +0 -24
  334. package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +0 -32
  335. package/overlay/fullscreen-overlay-container.d.ts +0 -35
  336. package/overlay/overlay-config.d.ts +0 -47
  337. package/overlay/overlay-container.d.ts +0 -25
  338. package/overlay/overlay-directives.d.ts +0 -148
  339. package/overlay/overlay-module.d.ts +0 -10
  340. package/overlay/overlay-ref.d.ts +0 -144
  341. package/overlay/overlay-reference.d.ts +0 -38
  342. package/overlay/overlay.d.ts +0 -75
  343. package/overlay/overlay_public_index.d.ts +0 -4
  344. package/overlay/package.json +0 -9
  345. package/overlay/position/connected-position.d.ts +0 -102
  346. package/overlay/position/flexible-connected-position-strategy.d.ts +0 -282
  347. package/overlay/position/global-position-strategy.d.ts +0 -99
  348. package/overlay/position/overlay-position-builder.d.ts +0 -32
  349. package/overlay/position/position-strategy.d.ts +0 -19
  350. package/overlay/position/scroll-clip.d.ts +0 -26
  351. package/overlay/public-api.d.ts +0 -23
  352. package/overlay/scroll/block-scroll-strategy.d.ts +0 -27
  353. package/overlay/scroll/close-scroll-strategy.d.ts +0 -40
  354. package/overlay/scroll/index.d.ts +0 -14
  355. package/overlay/scroll/noop-scroll-strategy.d.ts +0 -17
  356. package/overlay/scroll/reposition-scroll-strategy.d.ts +0 -39
  357. package/overlay/scroll/scroll-strategy-options.d.ts +0 -44
  358. package/overlay/scroll/scroll-strategy.d.ts +0 -25
  359. package/platform/features/input-types.d.ts +0 -9
  360. package/platform/features/passive-listeners.d.ts +0 -19
  361. package/platform/features/scrolling.d.ts +0 -32
  362. package/platform/features/shadow-dom.d.ts +0 -18
  363. package/platform/features/test-environment.d.ts +0 -9
  364. package/platform/package.json +0 -9
  365. package/platform/platform-module.d.ts +0 -6
  366. package/platform/platform.d.ts +0 -29
  367. package/platform/platform_public_index.d.ts +0 -4
  368. package/platform/public-api.d.ts +0 -14
  369. package/portal/dom-portal-outlet.d.ts +0 -71
  370. package/portal/package.json +0 -9
  371. package/portal/portal-directives.d.ts +0 -99
  372. package/portal/portal-errors.d.ts +0 -37
  373. package/portal/portal-injector.d.ts +0 -21
  374. package/portal/portal.d.ts +0 -140
  375. package/portal/portal_public_index.d.ts +0 -4
  376. package/portal/public-api.d.ts +0 -11
  377. package/public-api.d.ts +0 -8
  378. package/scrolling/fixed-size-virtual-scroll.d.ts +0 -97
  379. package/scrolling/package.json +0 -9
  380. package/scrolling/public-api.d.ts +0 -16
  381. package/scrolling/scroll-dispatcher.d.ts +0 -71
  382. package/scrolling/scrollable.d.ts +0 -85
  383. package/scrolling/scrolling-module.d.ts +0 -19
  384. package/scrolling/scrolling_public_index.d.ts +0 -4
  385. package/scrolling/viewport-ruler.d.ts +0 -63
  386. package/scrolling/virtual-for-of.d.ts +0 -117
  387. package/scrolling/virtual-scroll-repeater.d.ts +0 -16
  388. package/scrolling/virtual-scroll-strategy.d.ts +0 -38
  389. package/scrolling/virtual-scroll-viewport.d.ts +0 -147
  390. package/stepper/package.json +0 -9
  391. package/stepper/public-api.d.ts +0 -12
  392. package/stepper/step-header.d.ts +0 -18
  393. package/stepper/step-label.d.ts +0 -15
  394. package/stepper/stepper-button.d.ts +0 -20
  395. package/stepper/stepper-module.d.ts +0 -11
  396. package/stepper/stepper.d.ts +0 -233
  397. package/stepper/stepper_public_index.d.ts +0 -4
  398. package/table/can-stick.d.ts +0 -34
  399. package/table/cell.d.ts +0 -126
  400. package/table/coalesced-style-scheduler.d.ts +0 -46
  401. package/table/package.json +0 -9
  402. package/table/public-api.d.ts +0 -19
  403. package/table/row.d.ts +0 -175
  404. package/table/sticky-position-listener.d.ts +0 -31
  405. package/table/sticky-styler.d.ts +0 -126
  406. package/table/table-errors.d.ts +0 -48
  407. package/table/table-module.d.ts +0 -11
  408. package/table/table.d.ts +0 -494
  409. package/table/table_public_index.d.ts +0 -4
  410. package/table/text-column.d.ts +0 -73
  411. package/table/tokens.d.ts +0 -25
  412. package/testing/change-detection.d.ts +0 -83
  413. package/testing/component-harness.d.ts +0 -426
  414. package/testing/element-dimensions.d.ts +0 -16
  415. package/testing/harness-environment.d.ts +0 -62
  416. package/testing/package.json +0 -9
  417. package/testing/public-api.d.ts +0 -14
  418. package/testing/selenium-webdriver/package.json +0 -9
  419. package/testing/selenium-webdriver/public-api.d.ts +0 -9
  420. package/testing/selenium-webdriver/selenium-web-driver-element.d.ts +0 -91
  421. package/testing/selenium-webdriver/selenium-web-driver-harness-environment.d.ts +0 -66
  422. package/testing/selenium-webdriver/selenium-webdriver-keys.d.ts +0 -46
  423. package/testing/test-element-errors.d.ts +0 -12
  424. package/testing/test-element.d.ts +0 -135
  425. package/testing/testbed/fake-events/dispatch-events.d.ts +0 -39
  426. package/testing/testbed/fake-events/element-focus.d.ts +0 -18
  427. package/testing/testbed/fake-events/event-objects.d.ts +0 -39
  428. package/testing/testbed/fake-events/index.d.ts +0 -11
  429. package/testing/testbed/fake-events/type-in-element.d.ts +0 -41
  430. package/testing/testbed/package.json +0 -9
  431. package/testing/testbed/proxy-zone-types.d.ts +0 -29
  432. package/testing/testbed/public-api.d.ts +0 -9
  433. package/testing/testbed/task-state-zone-interceptor.d.ts +0 -37
  434. package/testing/testbed/testbed-harness-environment.d.ts +0 -64
  435. package/testing/testbed/unit-test-element.d.ts +0 -98
  436. package/testing/testbed/zone-types.d.ts +0 -22
  437. package/testing/text-filtering.d.ts +0 -13
  438. package/text-field/autofill.d.ts +0 -66
  439. package/text-field/autosize.d.ts +0 -95
  440. package/text-field/package.json +0 -9
  441. package/text-field/public-api.d.ts +0 -10
  442. package/text-field/text-field-module.d.ts +0 -8
  443. package/text-field/text-field_public_index.d.ts +0 -4
  444. package/tree/control/base-tree-control.d.ts +0 -54
  445. package/tree/control/flat-tree-control.d.ts +0 -34
  446. package/tree/control/nested-tree-control.d.ts +0 -31
  447. package/tree/control/tree-control.d.ts +0 -49
  448. package/tree/nested-node.d.ts +0 -38
  449. package/tree/node.d.ts +0 -40
  450. package/tree/outlet.d.ts +0 -26
  451. package/tree/package.json +0 -9
  452. package/tree/padding.d.ts +0 -60
  453. package/tree/public-api.d.ts +0 -19
  454. package/tree/toggle.d.ts +0 -25
  455. package/tree/tree-errors.d.ts +0 -32
  456. package/tree/tree-module.d.ts +0 -12
  457. package/tree/tree.d.ts +0 -128
  458. package/tree/tree_public_index.d.ts +0 -4
  459. package/version.d.ts +0 -10
@@ -1,10 +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 { CdkAccordionItem } from './accordion-item';
9
- export { CdkAccordion } from './accordion';
10
- export * from './accordion-module';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./dir";
3
- export declare class BidiModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<BidiModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<BidiModule, [typeof i1.Dir], never, [typeof i1.Dir]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<BidiModule>;
7
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
@@ -1,26 +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 } from '@angular/core';
9
- /**
10
- * Injection token used to inject the document into Directionality.
11
- * This is used so that the value can be faked in tests.
12
- *
13
- * We can't use the real document in tests because changing the real `dir` causes geometry-based
14
- * tests in Safari to fail.
15
- *
16
- * We also can't re-provide the DOCUMENT token from platform-brower because the unit tests
17
- * themselves use things like `querySelector` in test code.
18
- *
19
- * This token is defined in a separate file from Directionality as a workaround for
20
- * https://github.com/angular/angular/issues/22559
21
- *
22
- * @docs-private
23
- */
24
- export declare const DIR_DOCUMENT: InjectionToken<Document>;
25
- /** @docs-private */
26
- export declare function DIR_DOCUMENT_FACTORY(): Document;
package/bidi/dir.d.ts DELETED
@@ -1,36 +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, AfterContentInit, OnDestroy } from '@angular/core';
9
- import { Direction, Directionality } from './directionality';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * Directive to listen for changes of direction of part of the DOM.
13
- *
14
- * Provides itself as Directionality such that descendant directives only need to ever inject
15
- * Directionality to get the closest direction.
16
- */
17
- export declare class Dir implements Directionality, AfterContentInit, OnDestroy {
18
- /** Normalized direction that accounts for invalid/unsupported values. */
19
- private _dir;
20
- /** Whether the `value` has been set to its initial value. */
21
- private _isInitialized;
22
- /** Direction as passed in by the consumer. */
23
- _rawDir: string;
24
- /** Event emitted when the direction changes. */
25
- readonly change: EventEmitter<Direction>;
26
- /** @docs-private */
27
- get dir(): Direction;
28
- set dir(value: Direction | 'auto');
29
- /** Current layout direction of the element. */
30
- get value(): Direction;
31
- /** Initialize once default value has been set. */
32
- ngAfterContentInit(): void;
33
- ngOnDestroy(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<Dir, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<Dir, "[dir]", ["dir"], { "dir": "dir"; }, { "change": "dirChange"; }, never>;
36
- }
@@ -1,26 +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, OnDestroy } from '@angular/core';
9
- import * as i0 from "@angular/core";
10
- export declare type Direction = 'ltr' | 'rtl';
11
- /** Resolves a string value to a specific direction. */
12
- export declare function _resolveDirectionality(rawValue: string): Direction;
13
- /**
14
- * The directionality (LTR / RTL) context for the application (or a subtree of it).
15
- * Exposes the current direction and a stream of direction changes.
16
- */
17
- export declare class Directionality implements OnDestroy {
18
- /** The current 'ltr' or 'rtl' value. */
19
- readonly value: Direction;
20
- /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
21
- readonly change: EventEmitter<Direction>;
22
- constructor(_document?: any);
23
- ngOnDestroy(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, [{ optional: true; }]>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
26
- }
package/bidi/package.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@angular/cdk/bidi",
3
- "fesm2020": "../fesm2020/bidi.mjs",
4
- "fesm2015": "../fesm2015/bidi.mjs",
5
- "esm2020": "../esm2020/bidi/bidi_public_index.mjs",
6
- "typings": "./bidi_public_index.d.ts",
7
- "module": "../fesm2015/bidi.mjs",
8
- "es2020": "../fesm2020/bidi.mjs"
9
- }
@@ -1,11 +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 { Directionality, Direction } from './directionality';
9
- export { DIR_DOCUMENT } from './dir-document-token';
10
- export { Dir } from './dir';
11
- export * from './bidi-module';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./copy-to-clipboard";
3
- export declare class ClipboardModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClipboardModule, [typeof i1.CdkCopyToClipboard], never, [typeof i1.CdkCopyToClipboard]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<ClipboardModule>;
7
- }
@@ -1,28 +0,0 @@
1
- import { PendingCopy } from './pending-copy';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * A service for copying text to the clipboard.
5
- */
6
- export declare class Clipboard {
7
- private readonly _document;
8
- constructor(document: any);
9
- /**
10
- * Copies the provided text into the user's clipboard.
11
- *
12
- * @param text The string to copy.
13
- * @returns Whether the operation was successful.
14
- */
15
- copy(text: string): boolean;
16
- /**
17
- * Prepares a string to be copied later. This is useful for large strings
18
- * which take too long to successfully render and be copied in the same tick.
19
- *
20
- * The caller must call `destroy` on the returned `PendingCopy`.
21
- *
22
- * @param text The string to copy.
23
- * @returns the pending copy operation.
24
- */
25
- beginCopy(text: string): PendingCopy;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<Clipboard, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<Clipboard>;
28
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
@@ -1,49 +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, NgZone, InjectionToken, OnDestroy } from '@angular/core';
9
- import { Clipboard } from './clipboard';
10
- import * as i0 from "@angular/core";
11
- /** Object that can be used to configure the default options for `CdkCopyToClipboard`. */
12
- export interface CdkCopyToClipboardConfig {
13
- /** Default number of attempts to make when copying text to the clipboard. */
14
- attempts?: number;
15
- }
16
- /** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */
17
- export declare const CDK_COPY_TO_CLIPBOARD_CONFIG: InjectionToken<CdkCopyToClipboardConfig>;
18
- /**
19
- * Provides behavior for a button that when clicked copies content into user's
20
- * clipboard.
21
- */
22
- export declare class CdkCopyToClipboard implements OnDestroy {
23
- private _clipboard;
24
- private _ngZone;
25
- /** Content to be copied. */
26
- text: string;
27
- /**
28
- * How many times to attempt to copy the text. This may be necessary for longer text, because
29
- * the browser needs time to fill an intermediate textarea element and copy the content.
30
- */
31
- attempts: number;
32
- /**
33
- * Emits when some text is copied to the clipboard. The
34
- * emitted value indicates whether copying was successful.
35
- */
36
- readonly copied: EventEmitter<boolean>;
37
- /** Copies that are currently being attempted. */
38
- private _pending;
39
- /** Whether the directive has been destroyed. */
40
- private _destroyed;
41
- /** Timeout for the current copy attempt. */
42
- private _currentTimeout;
43
- constructor(_clipboard: Clipboard, _ngZone: NgZone, config?: CdkCopyToClipboardConfig);
44
- /** Copies the current text to the clipboard. */
45
- copy(attempts?: number): void;
46
- ngOnDestroy(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard, [null, null, { optional: true; }]>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCopyToClipboard, "[cdkCopyToClipboard]", never, { "text": "cdkCopyToClipboard"; "attempts": "cdkCopyToClipboardAttempts"; }, { "copied": "cdkCopyToClipboardCopied"; }, never>;
49
- }
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@angular/cdk/clipboard",
3
- "fesm2020": "../fesm2020/clipboard.mjs",
4
- "fesm2015": "../fesm2015/clipboard.mjs",
5
- "esm2020": "../esm2020/clipboard/clipboard_public_index.mjs",
6
- "typings": "./clipboard_public_index.d.ts",
7
- "module": "../fesm2015/clipboard.mjs",
8
- "es2020": "../fesm2020/clipboard.mjs"
9
- }
@@ -1,29 +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
- /**
9
- * A pending copy-to-clipboard operation.
10
- *
11
- * The implementation of copying text to the clipboard modifies the DOM and
12
- * forces a relayout. This relayout can take too long if the string is large,
13
- * causing the execCommand('copy') to happen too long after the user clicked.
14
- * This results in the browser refusing to copy. This object lets the
15
- * relayout happen in a separate tick from copying by providing a copy function
16
- * that can be called later.
17
- *
18
- * Destroy must be called when no longer in use, regardless of whether `copy` is
19
- * called.
20
- */
21
- export declare class PendingCopy {
22
- private readonly _document;
23
- private _textarea;
24
- constructor(text: string, _document: Document);
25
- /** Finishes copying the text. */
26
- copy(): boolean;
27
- /** Cleans up DOM changes used to perform the copy operation. */
28
- destroy(): void;
29
- }
@@ -1,11 +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 './clipboard';
9
- export * from './clipboard-module';
10
- export * from './copy-to-clipboard';
11
- export * from './pending-copy';
@@ -1,10 +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
- /** Wraps the provided value in an array, unless the provided value is an array. */
9
- export declare function coerceArray<T>(value: T | T[]): T[];
10
- export declare function coerceArray<T>(value: T | readonly T[]): readonly T[];
@@ -1,14 +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
- /**
9
- * Type describing the allowed values for a boolean input.
10
- * @docs-private
11
- */
12
- export declare type BooleanInput = string | boolean | null | undefined;
13
- /** Coerces a data-bound value (typically a string) to a boolean. */
14
- export declare function coerceBooleanProperty(value: any): boolean;
@@ -1,9 +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
- /** Coerces a value to a CSS pixel value. */
9
- export declare function coerceCssPixelValue(value: any): string;
@@ -1,13 +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 } from '@angular/core';
9
- /**
10
- * Coerces an ElementRef or an Element into an element.
11
- * Useful for APIs that can accept either a ref or the native element itself.
12
- */
13
- export declare function coerceElement<T>(elementOrRef: ElementRef<T> | T): T;
@@ -1,20 +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
- /**
9
- * Type describing the allowed values for a number input
10
- * @docs-private
11
- */
12
- export declare type NumberInput = string | number | null | undefined;
13
- /** Coerces a data-bound value (typically a string) to a number. */
14
- export declare function coerceNumberProperty(value: any): number;
15
- export declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
16
- /**
17
- * Whether the provided value is considered a number.
18
- * @docs-private
19
- */
20
- export declare function _isNumberValue(value: any): boolean;
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@angular/cdk/coercion",
3
- "fesm2020": "../fesm2020/coercion.mjs",
4
- "fesm2015": "../fesm2015/coercion.mjs",
5
- "esm2020": "../esm2020/coercion/index.mjs",
6
- "typings": "./index.d.ts",
7
- "module": "../fesm2015/coercion.mjs",
8
- "es2020": "../fesm2020/coercion.mjs"
9
- }
@@ -1,13 +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 './boolean-property';
9
- export * from './number-property';
10
- export * from './array';
11
- export * from './css-pixel-value';
12
- export * from './element';
13
- export * from './string-array';
@@ -1,25 +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
- /**
9
- * Coerces a value to an array of trimmed non-empty strings.
10
- * Any input that is not an array, `null` or `undefined` will be turned into a string
11
- * via `toString()` and subsequently split with the given separator.
12
- * `null` and `undefined` will result in an empty array.
13
- * This results in the following outcomes:
14
- * - `null` -&gt; `[]`
15
- * - `[null]` -&gt; `["null"]`
16
- * - `["a", "b ", " "]` -&gt; `["a", "b"]`
17
- * - `[1, [2, 3]]` -&gt; `["1", "2,3"]`
18
- * - `[{ a: 0 }]` -&gt; `["[object Object]"]`
19
- * - `{ a: 0 }` -&gt; `["[object", "Object]"]`
20
- *
21
- * Useful for defining CSS classes or table columns.
22
- * @param value the value to coerce into an array of strings
23
- * @param separator split-separator if value isn't an array
24
- */
25
- export declare function coerceStringArray(value: any, separator?: string | RegExp): string[];
@@ -1,16 +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 { Observable } from 'rxjs';
9
- import { DataSource } from './data-source';
10
- /** DataSource wrapper for a native array. */
11
- export declare class ArrayDataSource<T> extends DataSource<T> {
12
- private _data;
13
- constructor(_data: readonly T[] | Observable<readonly T[]>);
14
- connect(): Observable<readonly T[]>;
15
- disconnect(): void;
16
- }
@@ -1,24 +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 { Observable } from 'rxjs';
9
- /** Represents a range of numbers with a specified start and end. */
10
- export declare type ListRange = {
11
- start: number;
12
- end: number;
13
- };
14
- /**
15
- * Interface for any component that provides a view of some data collection and wants to provide
16
- * information regarding the view and any changes made.
17
- */
18
- export interface CollectionViewer {
19
- /**
20
- * A stream that emits whenever the `CollectionViewer` starts looking at a new portion of the
21
- * data. The `start` index is inclusive, while the `end` is exclusive.
22
- */
23
- viewChange: Observable<ListRange>;
24
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
@@ -1,30 +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 { Observable } from 'rxjs';
9
- import { CollectionViewer } from './collection-viewer';
10
- export declare abstract class DataSource<T> {
11
- /**
12
- * Connects a collection viewer (such as a data-table) to this data source. Note that
13
- * the stream provided will be accessed during change detection and should not directly change
14
- * values that are bound in template views.
15
- * @param collectionViewer The component that exposes a view over the data provided by this
16
- * data source.
17
- * @returns Observable that emits a new value when the data changes.
18
- */
19
- abstract connect(collectionViewer: CollectionViewer): Observable<readonly T[]>;
20
- /**
21
- * Disconnects a collection viewer (such as a data-table) from this data source. Can be used
22
- * to perform any clean-up or tear-down operations when a view is being destroyed.
23
- *
24
- * @param collectionViewer The component that exposes a view over the data provided by this
25
- * data source.
26
- */
27
- abstract disconnect(collectionViewer: CollectionViewer): void;
28
- }
29
- /** Checks whether an object is a data source. */
30
- export declare function isDataSource(value: any): value is DataSource<any>;
@@ -1,22 +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 { IterableChanges, ViewContainerRef } from '@angular/core';
9
- import { _ViewRepeater, _ViewRepeaterItemChanged, _ViewRepeaterItemContext, _ViewRepeaterItemContextFactory, _ViewRepeaterItemValueResolver } from './view-repeater';
10
- /**
11
- * A repeater that destroys views when they are removed from a
12
- * {@link ViewContainerRef}. When new items are inserted into the container,
13
- * the repeater will always construct a new embedded view for each item.
14
- *
15
- * @template T The type for the embedded view's $implicit property.
16
- * @template R The type for the item in each IterableDiffer change record.
17
- * @template C The type for the context passed to each embedded view.
18
- */
19
- export declare class _DisposeViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>> implements _ViewRepeater<T, R, C> {
20
- applyChanges(changes: IterableChanges<R>, viewContainerRef: ViewContainerRef, itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>, itemValueResolver: _ViewRepeaterItemValueResolver<T, R>, itemViewChanged?: _ViewRepeaterItemChanged<R, C>): void;
21
- detach(): void;
22
- }
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@angular/cdk/collections",
3
- "fesm2020": "../fesm2020/collections.mjs",
4
- "fesm2015": "../fesm2015/collections.mjs",
5
- "esm2020": "../esm2020/collections/collections_public_index.mjs",
6
- "typings": "./collections_public_index.d.ts",
7
- "module": "../fesm2015/collections.mjs",
8
- "es2020": "../fesm2020/collections.mjs"
9
- }
@@ -1,16 +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 './array-data-source';
9
- export * from './collection-viewer';
10
- export * from './data-source';
11
- export * from './dispose-view-repeater-strategy';
12
- export * from './recycle-view-repeater-strategy';
13
- export * from './selection-model';
14
- export { UniqueSelectionDispatcher, UniqueSelectionDispatcherListener, } from './unique-selection-dispatcher';
15
- export * from './tree-adapter';
16
- export * from './view-repeater';
@@ -1,54 +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 { IterableChanges, ViewContainerRef } from '@angular/core';
9
- import { _ViewRepeater, _ViewRepeaterItemChanged, _ViewRepeaterItemContext, _ViewRepeaterItemContextFactory, _ViewRepeaterItemValueResolver } from './view-repeater';
10
- /**
11
- * A repeater that caches views when they are removed from a
12
- * {@link ViewContainerRef}. When new items are inserted into the container,
13
- * the repeater will reuse one of the cached views instead of creating a new
14
- * embedded view. Recycling cached views reduces the quantity of expensive DOM
15
- * inserts.
16
- *
17
- * @template T The type for the embedded view's $implicit property.
18
- * @template R The type for the item in each IterableDiffer change record.
19
- * @template C The type for the context passed to each embedded view.
20
- */
21
- export declare class _RecycleViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>> implements _ViewRepeater<T, R, C> {
22
- /**
23
- * The size of the cache used to store unused views.
24
- * Setting the cache size to `0` will disable caching. Defaults to 20 views.
25
- */
26
- viewCacheSize: number;
27
- /**
28
- * View cache that stores embedded view instances that have been previously stamped out,
29
- * but don't are not currently rendered. The view repeater will reuse these views rather than
30
- * creating brand new ones.
31
- *
32
- * TODO(michaeljamesparsons) Investigate whether using a linked list would improve performance.
33
- */
34
- private _viewCache;
35
- /** Apply changes to the DOM. */
36
- applyChanges(changes: IterableChanges<R>, viewContainerRef: ViewContainerRef, itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>, itemValueResolver: _ViewRepeaterItemValueResolver<T, R>, itemViewChanged?: _ViewRepeaterItemChanged<R, C>): void;
37
- detach(): void;
38
- /**
39
- * Inserts a view for a new item, either from the cache or by creating a new
40
- * one. Returns `undefined` if the item was inserted into a cached view.
41
- */
42
- private _insertView;
43
- /** Detaches the view at the given index and inserts into the view cache. */
44
- private _detachAndCacheView;
45
- /** Moves view at the previous index to the current index. */
46
- private _moveView;
47
- /**
48
- * Cache the given detached view. If the cache is full, the view will be
49
- * destroyed.
50
- */
51
- private _maybeCacheView;
52
- /** Inserts a recycled view from the cache at the given index. */
53
- private _insertViewFromCache;
54
- }