@angular/cdk 13.0.0-next.6 → 13.0.0-rc.1

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 (796) hide show
  1. package/a11y/a11y-module.d.ts +9 -7
  2. package/a11y/aria-describer/aria-describer.d.ts +3 -7
  3. package/a11y/focus-monitor/focus-monitor.d.ts +5 -0
  4. package/a11y/focus-trap/configurable-focus-trap-factory.d.ts +3 -7
  5. package/a11y/focus-trap/focus-trap-manager.d.ts +3 -7
  6. package/a11y/focus-trap/focus-trap.d.ts +5 -0
  7. package/a11y/high-contrast-mode/high-contrast-mode-detector.d.ts +3 -0
  8. package/a11y/index.d.ts +0 -1
  9. package/a11y/input-modality/input-modality-detector.d.ts +3 -7
  10. package/a11y/interactivity-checker/interactivity-checker.d.ts +3 -0
  11. package/a11y/live-announcer/live-announcer.d.ts +6 -1
  12. package/a11y/package.json +5 -5
  13. package/accordion/accordion-item.d.ts +3 -0
  14. package/accordion/accordion-module.d.ts +6 -7
  15. package/accordion/accordion.d.ts +3 -0
  16. package/accordion/index.d.ts +0 -1
  17. package/accordion/package.json +5 -5
  18. package/bidi/bidi-module.d.ts +5 -7
  19. package/bidi/dir.d.ts +3 -0
  20. package/bidi/directionality.d.ts +3 -0
  21. package/bidi/index.d.ts +0 -1
  22. package/bidi/package.json +5 -5
  23. package/clipboard/clipboard-module.d.ts +5 -7
  24. package/clipboard/clipboard.d.ts +3 -7
  25. package/clipboard/copy-to-clipboard.d.ts +3 -0
  26. package/clipboard/package.json +5 -5
  27. package/coercion/package.json +5 -5
  28. package/collections/package.json +5 -5
  29. package/collections/unique-selection-dispatcher.d.ts +3 -0
  30. package/drag-drop/client-rect.d.ts +8 -1
  31. package/drag-drop/directives/drag-handle.d.ts +3 -0
  32. package/drag-drop/directives/drag-placeholder.d.ts +3 -0
  33. package/drag-drop/directives/drag-preview.d.ts +3 -0
  34. package/drag-drop/directives/drag.d.ts +3 -0
  35. package/drag-drop/directives/drop-list-group.d.ts +3 -0
  36. package/drag-drop/directives/drop-list.d.ts +3 -0
  37. package/drag-drop/drag-drop-module.d.ts +11 -7
  38. package/drag-drop/drag-drop-registry.d.ts +3 -0
  39. package/drag-drop/drag-drop.d.ts +3 -0
  40. package/drag-drop/index.d.ts +0 -1
  41. package/drag-drop/package.json +5 -5
  42. package/esm2020/a11y/a11y-module.mjs +33 -0
  43. package/esm2020/a11y/aria-describer/aria-describer.mjs +208 -0
  44. package/{esm2015/a11y/aria-describer/aria-reference.js → esm2020/a11y/aria-describer/aria-reference.mjs} +1 -1
  45. package/esm2020/a11y/fake-event-detection.mjs +29 -0
  46. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +400 -0
  47. package/{esm2015/a11y/focus-trap/configurable-focus-trap-config.js → esm2020/a11y/focus-trap/configurable-focus-trap-config.mjs} +0 -0
  48. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +53 -0
  49. package/esm2020/a11y/focus-trap/configurable-focus-trap.mjs +51 -0
  50. package/esm2020/a11y/focus-trap/event-listener-inert-strategy.mjs +61 -0
  51. package/esm2020/a11y/focus-trap/focus-trap-inert-strategy.mjs +11 -0
  52. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +53 -0
  53. package/esm2020/a11y/focus-trap/focus-trap.mjs +399 -0
  54. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +95 -0
  55. package/esm2020/a11y/index.mjs +5 -0
  56. package/esm2020/a11y/input-modality/input-modality-detector.mjs +176 -0
  57. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +238 -0
  58. package/{esm2015/a11y/key-manager/activedescendant-key-manager.js → esm2020/a11y/key-manager/activedescendant-key-manager.mjs} +1 -1
  59. package/{esm2015/a11y/key-manager/focus-key-manager.js → esm2020/a11y/key-manager/focus-key-manager.mjs} +0 -0
  60. package/esm2020/a11y/key-manager/list-key-manager.mjs +321 -0
  61. package/esm2020/a11y/live-announcer/live-announcer-tokens.mjs +19 -0
  62. package/esm2020/a11y/live-announcer/live-announcer.mjs +170 -0
  63. package/{esm2015/a11y/public-api.js → esm2020/a11y/public-api.mjs} +0 -0
  64. package/esm2020/accordion/accordion-item.mjs +167 -0
  65. package/esm2020/accordion/accordion-module.mjs +24 -0
  66. package/esm2020/accordion/accordion.mjs +70 -0
  67. package/esm2020/accordion/index.mjs +5 -0
  68. package/{esm2015/accordion/public-api.js → esm2020/accordion/public-api.mjs} +0 -0
  69. package/esm2020/bidi/bidi-module.mjs +23 -0
  70. package/{esm2015/bidi/dir-document-token.js → esm2020/bidi/dir-document-token.mjs} +1 -1
  71. package/esm2020/bidi/dir.mjs +67 -0
  72. package/esm2020/bidi/directionality.mjs +47 -0
  73. package/esm2020/bidi/index.mjs +5 -0
  74. package/{esm2015/bidi/public-api.js → esm2020/bidi/public-api.mjs} +1 -1
  75. package/esm2020/clipboard/clipboard-module.mjs +23 -0
  76. package/esm2020/clipboard/clipboard.mjs +53 -0
  77. package/esm2020/clipboard/copy-to-clipboard.mjs +99 -0
  78. package/{esm2015/clipboard/index.js → esm2020/clipboard/index.mjs} +0 -0
  79. package/esm2020/clipboard/pending-copy.mjs +67 -0
  80. package/{esm2015/clipboard/public-api.js → esm2020/clipboard/public-api.mjs} +0 -0
  81. package/{esm2015/coercion/array.js → esm2020/coercion/array.mjs} +0 -0
  82. package/{esm2015/coercion/boolean-property.js → esm2020/coercion/boolean-property.mjs} +0 -0
  83. package/{esm2015/coercion/css-pixel-value.js → esm2020/coercion/css-pixel-value.mjs} +0 -0
  84. package/{esm2015/coercion/element.js → esm2020/coercion/element.mjs} +0 -0
  85. package/{esm2015/coercion/index.js → esm2020/coercion/index.mjs} +0 -0
  86. package/{esm2015/coercion/number-property.js → esm2020/coercion/number-property.mjs} +0 -0
  87. package/{esm2015/coercion/public-api.js → esm2020/coercion/public-api.mjs} +0 -0
  88. package/{esm2015/coercion/string-array.js → esm2020/coercion/string-array.mjs} +0 -0
  89. package/{esm2015/collections/array-data-source.js → esm2020/collections/array-data-source.mjs} +1 -1
  90. package/esm2020/collections/collection-viewer.mjs +9 -0
  91. package/{esm2015/collections/data-source.js → esm2020/collections/data-source.mjs} +0 -0
  92. package/esm2020/collections/dispose-view-repeater-strategy.mjs +47 -0
  93. package/{esm2015/collections/index.js → esm2020/collections/index.mjs} +0 -0
  94. package/{esm2015/collections/public-api.js → esm2020/collections/public-api.mjs} +0 -0
  95. package/esm2020/collections/recycle-view-repeater-strategy.mjs +128 -0
  96. package/{esm2015/collections/selection-model.js → esm2020/collections/selection-model.mjs} +2 -2
  97. package/esm2020/collections/tree-adapter.mjs +9 -0
  98. package/esm2020/collections/unique-selection-dispatcher.mjs +55 -0
  99. package/esm2020/collections/view-repeater.mjs +14 -0
  100. package/esm2020/drag-drop/client-rect.mjs +64 -0
  101. package/esm2020/drag-drop/clone-node.mjs +65 -0
  102. package/esm2020/drag-drop/directives/assertions.mjs +18 -0
  103. package/{esm2015/drag-drop/directives/config.js → esm2020/drag-drop/directives/config.mjs} +1 -1
  104. package/esm2020/drag-drop/directives/drag-handle.mjs +66 -0
  105. package/esm2020/drag-drop/directives/drag-placeholder.mjs +36 -0
  106. package/esm2020/drag-drop/directives/drag-preview.mjs +47 -0
  107. package/esm2020/drag-drop/directives/drag.mjs +483 -0
  108. package/esm2020/drag-drop/directives/drop-list-group.mjs +53 -0
  109. package/esm2020/drag-drop/directives/drop-list.mjs +344 -0
  110. package/esm2020/drag-drop/drag-drop-module.mjs +57 -0
  111. package/esm2020/drag-drop/drag-drop-registry.mjs +231 -0
  112. package/esm2020/drag-drop/drag-drop.mjs +57 -0
  113. package/esm2020/drag-drop/drag-events.mjs +9 -0
  114. package/{esm2015/drag-drop/drag-parent.js → esm2020/drag-drop/drag-parent.mjs} +0 -0
  115. package/esm2020/drag-drop/drag-ref.mjs +1108 -0
  116. package/esm2020/drag-drop/drag-styling.mjs +69 -0
  117. package/esm2020/drag-drop/drag-utils.mjs +60 -0
  118. package/esm2020/drag-drop/drop-list-ref.mjs +830 -0
  119. package/{esm2015/drag-drop/index.js → esm2020/drag-drop/index.mjs} +1 -1
  120. package/{esm2015/drag-drop/parent-position-tracker.js → esm2020/drag-drop/parent-position-tracker.mjs} +2 -2
  121. package/{esm2015/drag-drop/public-api.js → esm2020/drag-drop/public-api.mjs} +0 -0
  122. package/esm2020/drag-drop/transition-duration.mjs +36 -0
  123. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  124. package/{esm2015/keycodes/index.js → esm2020/keycodes/index.mjs} +0 -0
  125. package/{esm2015/keycodes/keycodes.js → esm2020/keycodes/keycodes.mjs} +1 -1
  126. package/{esm2015/keycodes/modifiers.js → esm2020/keycodes/modifiers.mjs} +0 -0
  127. package/{esm2015/keycodes/public-api.js → esm2020/keycodes/public-api.mjs} +0 -0
  128. package/esm2020/layout/breakpoints-observer.mjs +105 -0
  129. package/{esm2015/layout/breakpoints.js → esm2020/layout/breakpoints.mjs} +1 -1
  130. package/{esm2015/layout/index.js → esm2020/layout/index.mjs} +0 -0
  131. package/esm2020/layout/layout-module.mjs +19 -0
  132. package/esm2020/layout/media-matcher.mjs +85 -0
  133. package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
  134. package/{esm2015/observers/index.js → esm2020/observers/index.mjs} +0 -0
  135. package/esm2020/observers/observe-content.mjs +187 -0
  136. package/{esm2015/observers/public-api.js → esm2020/observers/public-api.mjs} +0 -0
  137. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +52 -0
  138. package/{esm2015/overlay/dispatchers/index.js → esm2020/overlay/dispatchers/index.mjs} +0 -0
  139. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +63 -0
  140. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +116 -0
  141. package/esm2020/overlay/fullscreen-overlay-container.mjs +94 -0
  142. package/esm2020/overlay/index.mjs +5 -0
  143. package/esm2020/overlay/overlay-config.mjs +45 -0
  144. package/esm2020/overlay/overlay-container.mjs +81 -0
  145. package/esm2020/overlay/overlay-directives.mjs +427 -0
  146. package/esm2020/overlay/overlay-module.mjs +29 -0
  147. package/esm2020/overlay/overlay-ref.mjs +402 -0
  148. package/{esm2015/overlay/overlay-reference.js → esm2020/overlay/overlay-reference.mjs} +0 -0
  149. package/esm2020/overlay/overlay.mjs +119 -0
  150. package/esm2020/overlay/position/connected-position.mjs +97 -0
  151. package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +959 -0
  152. package/esm2020/overlay/position/global-position-strategy.mjs +203 -0
  153. package/esm2020/overlay/position/overlay-position-builder.mjs +50 -0
  154. package/{esm2015/overlay/position/position-strategy.js → esm2020/overlay/position/position-strategy.mjs} +0 -0
  155. package/esm2020/overlay/position/scroll-clip.mjs +40 -0
  156. package/{esm2015/overlay/public-api.js → esm2020/overlay/public-api.mjs} +0 -0
  157. package/{esm2015/overlay/scroll/block-scroll-strategy.js → esm2020/overlay/scroll/block-scroll-strategy.mjs} +1 -1
  158. package/esm2020/overlay/scroll/close-scroll-strategy.mjs +61 -0
  159. package/{esm2015/overlay/scroll/index.js → esm2020/overlay/scroll/index.mjs} +2 -2
  160. package/{esm2015/overlay/scroll/noop-scroll-strategy.js → esm2020/overlay/scroll/noop-scroll-strategy.mjs} +1 -1
  161. package/{esm2015/overlay/scroll/reposition-scroll-strategy.js → esm2020/overlay/scroll/reposition-scroll-strategy.mjs} +1 -1
  162. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +55 -0
  163. package/{esm2015/overlay/scroll/scroll-strategy.js → esm2020/overlay/scroll/scroll-strategy.mjs} +0 -0
  164. package/{esm2015/platform/features/input-types.js → esm2020/platform/features/input-types.mjs} +1 -1
  165. package/esm2020/platform/features/passive-listeners.mjs +36 -0
  166. package/esm2020/platform/features/scrolling.mjs +85 -0
  167. package/{esm2015/platform/features/shadow-dom.js → esm2020/platform/features/shadow-dom.mjs} +4 -3
  168. package/esm2020/platform/features/test-environment.mjs +27 -0
  169. package/{esm2015/platform/index.js → esm2020/platform/index.mjs} +0 -0
  170. package/esm2020/platform/platform-module.mjs +19 -0
  171. package/esm2020/platform/platform.mjs +85 -0
  172. package/{esm2015/platform/public-api.js → esm2020/platform/public-api.mjs} +0 -0
  173. package/esm2020/portal/dom-portal-outlet.mjs +134 -0
  174. package/{esm2015/portal/index.js → esm2020/portal/index.mjs} +0 -0
  175. package/esm2020/portal/portal-directives.mjs +244 -0
  176. package/{esm2015/portal/portal-errors.js → esm2020/portal/portal-errors.mjs} +1 -1
  177. package/esm2020/portal/portal-injector.mjs +28 -0
  178. package/esm2020/portal/portal.mjs +179 -0
  179. package/{esm2015/portal/public-api.js → esm2020/portal/public-api.mjs} +0 -0
  180. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  181. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +217 -0
  182. package/{esm2015/scrolling/index.js → esm2020/scrolling/index.mjs} +0 -0
  183. package/{esm2015/scrolling/public-api.js → esm2020/scrolling/public-api.mjs} +0 -0
  184. package/esm2020/scrolling/scroll-dispatcher.mjs +163 -0
  185. package/esm2020/scrolling/scrollable.mjs +176 -0
  186. package/esm2020/scrolling/scrolling-module.mjs +52 -0
  187. package/esm2020/scrolling/viewport-ruler.mjs +146 -0
  188. package/esm2020/scrolling/virtual-for-of.mjs +296 -0
  189. package/{esm2015/scrolling/virtual-scroll-repeater.js → esm2020/scrolling/virtual-scroll-repeater.mjs} +0 -0
  190. package/esm2020/scrolling/virtual-scroll-strategy.mjs +11 -0
  191. package/esm2020/scrolling/virtual-scroll-viewport.mjs +378 -0
  192. package/{esm2015/stepper/index.js → esm2020/stepper/index.mjs} +0 -0
  193. package/{esm2015/stepper/public-api.js → esm2020/stepper/public-api.mjs} +0 -0
  194. package/esm2020/stepper/step-header.mjs +30 -0
  195. package/esm2020/stepper/step-label.mjs +23 -0
  196. package/esm2020/stepper/stepper-button.mjs +76 -0
  197. package/esm2020/stepper/stepper-module.mjs +40 -0
  198. package/esm2020/stepper/stepper.mjs +471 -0
  199. package/esm2020/table/can-stick.mjs +44 -0
  200. package/esm2020/table/cell.mjs +222 -0
  201. package/esm2020/table/coalesced-style-scheduler.mjs +91 -0
  202. package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  203. package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  204. package/esm2020/table/row.mjs +254 -0
  205. package/esm2020/table/sticky-position-listener.mjs +11 -0
  206. package/esm2020/table/sticky-styler.mjs +345 -0
  207. package/{esm2015/table/table-errors.js → esm2020/table/table-errors.mjs} +1 -1
  208. package/esm2020/table/table-module.mjs +94 -0
  209. package/esm2020/table/table.mjs +1023 -0
  210. package/esm2020/table/text-column.mjs +153 -0
  211. package/{esm2015/table/tokens.js → esm2020/table/tokens.mjs} +1 -1
  212. package/esm2020/testing/change-detection.mjs +102 -0
  213. package/esm2020/testing/component-harness.mjs +322 -0
  214. package/{esm2015/testing/element-dimensions.js → esm2020/testing/element-dimensions.mjs} +1 -1
  215. package/esm2020/testing/harness-environment.mjs +202 -0
  216. package/{esm2015/testing/index.js → esm2020/testing/index.mjs} +0 -0
  217. package/{esm2015/testing/protractor/index.js → esm2020/testing/protractor/index.mjs} +0 -0
  218. package/esm2020/testing/protractor/protractor-element.mjs +234 -0
  219. package/esm2020/testing/protractor/protractor-harness-environment.mjs +72 -0
  220. package/{esm2015/testing/protractor/public-api.js → esm2020/testing/protractor/public-api.mjs} +0 -0
  221. package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
  222. package/{esm2015/testing/selenium-webdriver/index.js → esm2020/testing/selenium-webdriver/index.mjs} +0 -0
  223. package/{esm2015/testing/selenium-webdriver/public-api.js → esm2020/testing/selenium-webdriver/public-api.mjs} +0 -0
  224. package/esm2020/testing/selenium-webdriver/selenium-web-driver-element.mjs +199 -0
  225. package/esm2020/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +87 -0
  226. package/{esm2015/testing/selenium-webdriver/selenium-webdriver-keys.js → esm2020/testing/selenium-webdriver/selenium-webdriver-keys.mjs} +2 -2
  227. package/esm2020/testing/test-element.mjs +48 -0
  228. package/esm2020/testing/testbed/fake-events/dispatch-events.mjs +53 -0
  229. package/esm2020/testing/testbed/fake-events/element-focus.mjs +39 -0
  230. package/esm2020/testing/testbed/fake-events/event-objects.mjs +113 -0
  231. package/{esm2015/testing/testbed/fake-events/index.js → esm2020/testing/testbed/fake-events/index.mjs} +0 -0
  232. package/esm2020/testing/testbed/fake-events/type-in-element.mjs +88 -0
  233. package/{esm2015/testing/testbed/index.js → esm2020/testing/testbed/index.mjs} +0 -0
  234. package/{esm2015/testing/testbed/public-api.js → esm2020/testing/testbed/public-api.mjs} +0 -0
  235. package/esm2020/testing/testbed/task-state-zone-interceptor.mjs +82 -0
  236. package/esm2020/testing/testbed/testbed-harness-environment.mjs +162 -0
  237. package/esm2020/testing/testbed/unit-test-element.mjs +224 -0
  238. package/esm2020/testing/text-filtering.mjs +21 -0
  239. package/esm2020/text-field/autofill.mjs +113 -0
  240. package/esm2020/text-field/autosize.mjs +310 -0
  241. package/{esm2015/text-field/index.js → esm2020/text-field/index.mjs} +0 -0
  242. package/{esm2015/text-field/public-api.js → esm2020/text-field/public-api.mjs} +0 -0
  243. package/esm2020/text-field/text-field-module.mjs +26 -0
  244. package/{esm2015/tree/control/base-tree-control.js → esm2020/tree/control/base-tree-control.mjs} +4 -4
  245. package/{esm2015/tree/control/flat-tree-control.js → esm2020/tree/control/flat-tree-control.mjs} +1 -1
  246. package/esm2020/tree/control/nested-tree-control.mjs +58 -0
  247. package/{esm2015/tree/control/tree-control.js → esm2020/tree/control/tree-control.mjs} +0 -0
  248. package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
  249. package/esm2020/tree/nested-node.mjs +117 -0
  250. package/esm2020/tree/node.mjs +35 -0
  251. package/esm2020/tree/outlet.mjs +39 -0
  252. package/esm2020/tree/padding.mjs +131 -0
  253. package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
  254. package/esm2020/tree/toggle.mjs +53 -0
  255. package/{esm2015/tree/tree-errors.js → esm2020/tree/tree-errors.mjs} +0 -0
  256. package/esm2020/tree/tree-module.mjs +49 -0
  257. package/esm2020/tree/tree.mjs +361 -0
  258. package/{esm2015/version.js → esm2020/version.mjs} +1 -1
  259. package/fesm2015/a11y.mjs +2356 -0
  260. package/fesm2015/a11y.mjs.map +1 -0
  261. package/fesm2015/accordion.mjs +267 -0
  262. package/fesm2015/accordion.mjs.map +1 -0
  263. package/fesm2015/bidi.mjs +179 -0
  264. package/fesm2015/bidi.mjs.map +1 -0
  265. package/fesm2015/{cdk.js → cdk.mjs} +2 -2
  266. package/fesm2015/cdk.mjs.map +1 -0
  267. package/fesm2015/clipboard.mjs +253 -0
  268. package/fesm2015/clipboard.mjs.map +1 -0
  269. package/fesm2015/{coercion.js → coercion.mjs} +1 -1
  270. package/fesm2015/coercion.mjs.map +1 -0
  271. package/fesm2015/{collections.js → collections.mjs} +15 -27
  272. package/fesm2015/collections.mjs.map +1 -0
  273. package/fesm2015/drag-drop.mjs +3667 -0
  274. package/fesm2015/drag-drop.mjs.map +1 -0
  275. package/fesm2015/{keycodes.js → keycodes.mjs} +1 -1
  276. package/fesm2015/keycodes.mjs.map +1 -0
  277. package/fesm2015/{layout.js → layout.mjs} +30 -28
  278. package/fesm2015/layout.mjs.map +1 -0
  279. package/fesm2015/{observers.js → observers.mjs} +50 -41
  280. package/fesm2015/observers.mjs.map +1 -0
  281. package/fesm2015/overlay.mjs +3004 -0
  282. package/fesm2015/overlay.mjs.map +1 -0
  283. package/fesm2015/platform.mjs +380 -0
  284. package/fesm2015/platform.mjs.map +1 -0
  285. package/fesm2015/portal.mjs +649 -0
  286. package/fesm2015/portal.mjs.map +1 -0
  287. package/fesm2015/scrolling.mjs +1394 -0
  288. package/fesm2015/scrolling.mjs.map +1 -0
  289. package/fesm2015/{stepper.js → stepper.mjs} +186 -133
  290. package/fesm2015/stepper.mjs.map +1 -0
  291. package/fesm2015/{table.js → table.mjs} +500 -359
  292. package/fesm2015/table.mjs.map +1 -0
  293. package/fesm2015/testing/{protractor.js → protractor.mjs} +12 -25
  294. package/fesm2015/testing/protractor.mjs.map +1 -0
  295. package/fesm2015/testing/{selenium-webdriver.js → selenium-webdriver.mjs} +14 -28
  296. package/fesm2015/testing/selenium-webdriver.mjs.map +1 -0
  297. package/fesm2015/testing/{testbed.js → testbed.mjs} +23 -29
  298. package/fesm2015/testing/testbed.mjs.map +1 -0
  299. package/fesm2015/{testing.js → testing.mjs} +19 -45
  300. package/fesm2015/testing.mjs.map +1 -0
  301. package/fesm2015/text-field.mjs +455 -0
  302. package/fesm2015/text-field.mjs.map +1 -0
  303. package/fesm2015/{tree.js → tree.mjs} +198 -152
  304. package/fesm2015/tree.mjs.map +1 -0
  305. package/{fesm2015/a11y.js → fesm2020/a11y.mjs} +272 -233
  306. package/fesm2020/a11y.mjs.map +1 -0
  307. package/{fesm2015/accordion.js → fesm2020/accordion.mjs} +87 -57
  308. package/fesm2020/accordion.mjs.map +1 -0
  309. package/{fesm2015/bidi.js → fesm2020/bidi.mjs} +47 -31
  310. package/fesm2020/bidi.mjs.map +1 -0
  311. package/fesm2020/cdk.mjs +30 -0
  312. package/fesm2020/cdk.mjs.map +1 -0
  313. package/{fesm2015/clipboard.js → fesm2020/clipboard.mjs} +51 -40
  314. package/fesm2020/clipboard.mjs.map +1 -0
  315. package/fesm2020/coercion.mjs +132 -0
  316. package/fesm2020/coercion.mjs.map +1 -0
  317. package/fesm2020/collections.mjs +472 -0
  318. package/fesm2020/collections.mjs.map +1 -0
  319. package/{fesm2015/drag-drop.js → fesm2020/drag-drop.mjs} +523 -366
  320. package/fesm2020/drag-drop.mjs.map +1 -0
  321. package/fesm2020/keycodes.mjs +159 -0
  322. package/fesm2020/keycodes.mjs.map +1 -0
  323. package/fesm2020/layout.mjs +246 -0
  324. package/fesm2020/layout.mjs.map +1 -0
  325. package/fesm2020/observers.mjs +202 -0
  326. package/fesm2020/observers.mjs.map +1 -0
  327. package/{fesm2015/overlay.js → fesm2020/overlay.mjs} +312 -228
  328. package/fesm2020/overlay.mjs.map +1 -0
  329. package/{fesm2015/platform.js → fesm2020/platform.mjs} +52 -28
  330. package/fesm2020/platform.mjs.map +1 -0
  331. package/{fesm2015/portal.js → fesm2020/portal.mjs} +85 -64
  332. package/fesm2020/portal.mjs.map +1 -0
  333. package/{fesm2015/scrolling.js → fesm2020/scrolling.mjs} +213 -170
  334. package/fesm2020/scrolling.mjs.map +1 -0
  335. package/fesm2020/stepper.mjs +638 -0
  336. package/fesm2020/stepper.mjs.map +1 -0
  337. package/fesm2020/table.mjs +2295 -0
  338. package/fesm2020/table.mjs.map +1 -0
  339. package/fesm2020/testing/protractor.mjs +322 -0
  340. package/fesm2020/testing/protractor.mjs.map +1 -0
  341. package/fesm2020/testing/selenium-webdriver.mjs +362 -0
  342. package/fesm2020/testing/selenium-webdriver.mjs.map +1 -0
  343. package/fesm2020/testing/testbed.mjs +780 -0
  344. package/fesm2020/testing/testbed.mjs.map +1 -0
  345. package/fesm2020/testing.mjs +719 -0
  346. package/fesm2020/testing.mjs.map +1 -0
  347. package/{fesm2015/text-field.js → fesm2020/text-field.mjs} +83 -68
  348. package/fesm2020/text-field.mjs.map +1 -0
  349. package/fesm2020/tree.mjs +967 -0
  350. package/fesm2020/tree.mjs.map +1 -0
  351. package/keycodes/package.json +5 -5
  352. package/layout/breakpoints-observer.d.ts +3 -7
  353. package/layout/layout-module.d.ts +4 -0
  354. package/layout/media-matcher.d.ts +3 -0
  355. package/layout/package.json +5 -5
  356. package/observers/observe-content.d.ts +10 -0
  357. package/observers/package.json +5 -5
  358. package/overlay/dispatchers/base-overlay-dispatcher.d.ts +3 -7
  359. package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +3 -7
  360. package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +6 -7
  361. package/overlay/fullscreen-overlay-container.d.ts +3 -0
  362. package/overlay/index.d.ts +0 -2
  363. package/overlay/overlay-container.d.ts +3 -7
  364. package/overlay/overlay-directives.d.ts +5 -0
  365. package/overlay/overlay-module.d.ts +8 -7
  366. package/overlay/overlay.d.ts +3 -0
  367. package/overlay/package.json +5 -5
  368. package/overlay/position/flexible-connected-position-strategy.d.ts +2 -2
  369. package/overlay/position/overlay-position-builder.d.ts +3 -0
  370. package/overlay/position/scroll-clip.d.ts +5 -2
  371. package/overlay/scroll/index.d.ts +1 -1
  372. package/overlay/scroll/scroll-strategy-options.d.ts +3 -0
  373. package/package.json +219 -7
  374. package/platform/package.json +5 -5
  375. package/platform/platform-module.d.ts +4 -7
  376. package/platform/platform.d.ts +3 -7
  377. package/portal/package.json +5 -5
  378. package/portal/portal-directives.d.ts +12 -0
  379. package/schematics/ng-add/index.js +3 -3
  380. package/schematics/ng-add/index.mjs +3 -3
  381. package/schematics/ng-add/package-config.js +4 -2
  382. package/schematics/ng-add/package-config.mjs +4 -2
  383. package/schematics/ng-add/schema.js +1 -1
  384. package/schematics/ng-add/schema.mjs +1 -1
  385. package/schematics/ng-generate/drag-drop/index.js +6 -6
  386. package/schematics/ng-generate/drag-drop/index.mjs +6 -6
  387. package/schematics/ng-update/data/attribute-selectors.js +7 -5
  388. package/schematics/ng-update/data/attribute-selectors.mjs +7 -5
  389. package/schematics/ng-update/data/class-names.js +13 -11
  390. package/schematics/ng-update/data/class-names.mjs +13 -11
  391. package/schematics/ng-update/data/constructor-checks.js +28 -20
  392. package/schematics/ng-update/data/constructor-checks.mjs +28 -20
  393. package/schematics/ng-update/data/css-selectors.js +2 -2
  394. package/schematics/ng-update/data/css-selectors.mjs +2 -2
  395. package/schematics/ng-update/data/element-selectors.js +2 -2
  396. package/schematics/ng-update/data/element-selectors.mjs +2 -2
  397. package/schematics/ng-update/data/input-names.js +40 -16
  398. package/schematics/ng-update/data/input-names.mjs +40 -16
  399. package/schematics/ng-update/data/method-call-checks.js +32 -18
  400. package/schematics/ng-update/data/method-call-checks.mjs +32 -18
  401. package/schematics/ng-update/data/output-names.js +8 -6
  402. package/schematics/ng-update/data/output-names.mjs +8 -6
  403. package/schematics/ng-update/data/property-names.js +40 -32
  404. package/schematics/ng-update/data/property-names.mjs +40 -32
  405. package/schematics/ng-update/devkit-file-system.js +2 -2
  406. package/schematics/ng-update/devkit-file-system.mjs +2 -2
  407. package/schematics/ng-update/devkit-migration-rule.js +8 -7
  408. package/schematics/ng-update/devkit-migration-rule.mjs +8 -7
  409. package/schematics/ng-update/devkit-migration.d.ts +1 -1
  410. package/schematics/ng-update/devkit-migration.js +1 -1
  411. package/schematics/ng-update/devkit-migration.mjs +1 -1
  412. package/schematics/ng-update/find-stylesheets.js +3 -3
  413. package/schematics/ng-update/find-stylesheets.mjs +3 -3
  414. package/schematics/ng-update/html-parsing/angular.js +7 -7
  415. package/schematics/ng-update/html-parsing/angular.mjs +7 -7
  416. package/schematics/ng-update/html-parsing/elements.js +2 -2
  417. package/schematics/ng-update/html-parsing/elements.mjs +2 -2
  418. package/schematics/ng-update/index.js +11 -9
  419. package/schematics/ng-update/index.mjs +11 -9
  420. package/schematics/ng-update/migrations/attribute-selectors.js +11 -7
  421. package/schematics/ng-update/migrations/attribute-selectors.mjs +11 -7
  422. package/schematics/ng-update/migrations/class-inheritance.js +3 -3
  423. package/schematics/ng-update/migrations/class-inheritance.mjs +3 -3
  424. package/schematics/ng-update/migrations/class-names.js +7 -6
  425. package/schematics/ng-update/migrations/class-names.mjs +7 -6
  426. package/schematics/ng-update/migrations/constructor-signature.js +16 -13
  427. package/schematics/ng-update/migrations/constructor-signature.mjs +16 -13
  428. package/schematics/ng-update/migrations/css-selectors.js +7 -6
  429. package/schematics/ng-update/migrations/css-selectors.mjs +7 -6
  430. package/schematics/ng-update/migrations/element-selectors.js +7 -6
  431. package/schematics/ng-update/migrations/element-selectors.mjs +7 -6
  432. package/schematics/ng-update/migrations/input-names.js +8 -9
  433. package/schematics/ng-update/migrations/input-names.mjs +8 -9
  434. package/schematics/ng-update/migrations/method-call-arguments.js +4 -3
  435. package/schematics/ng-update/migrations/method-call-arguments.mjs +4 -3
  436. package/schematics/ng-update/migrations/misc-template.js +3 -3
  437. package/schematics/ng-update/migrations/misc-template.mjs +3 -3
  438. package/schematics/ng-update/migrations/output-names.js +7 -8
  439. package/schematics/ng-update/migrations/output-names.mjs +7 -8
  440. package/schematics/ng-update/migrations/property-names.js +4 -3
  441. package/schematics/ng-update/migrations/property-names.mjs +4 -3
  442. package/schematics/ng-update/migrations/symbol-removal.js +2 -2
  443. package/schematics/ng-update/migrations/symbol-removal.mjs +2 -2
  444. package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.d.ts +14 -0
  445. package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.js +38 -0
  446. package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.mjs +38 -0
  447. package/schematics/ng-update/typescript/base-types.js +1 -1
  448. package/schematics/ng-update/typescript/base-types.mjs +1 -1
  449. package/schematics/ng-update/typescript/literal.d.ts +1 -1
  450. package/schematics/ng-update/typescript/literal.js +1 -1
  451. package/schematics/ng-update/typescript/literal.mjs +1 -1
  452. package/schematics/ng-update/typescript/module-specifiers.js +5 -5
  453. package/schematics/ng-update/typescript/module-specifiers.mjs +5 -5
  454. package/schematics/ng-update/upgrade-data.js +2 -2
  455. package/schematics/ng-update/upgrade-data.mjs +2 -2
  456. package/schematics/package.json +3 -0
  457. package/schematics/paths.js +3 -3
  458. package/schematics/paths.mjs +3 -3
  459. package/schematics/update-tool/component-resource-collector.js +10 -10
  460. package/schematics/update-tool/component-resource-collector.mjs +10 -10
  461. package/schematics/update-tool/file-system.js +1 -1
  462. package/schematics/update-tool/file-system.mjs +1 -1
  463. package/schematics/update-tool/index.d.ts +4 -1
  464. package/schematics/update-tool/index.js +9 -5
  465. package/schematics/update-tool/index.mjs +9 -5
  466. package/schematics/update-tool/migration.d.ts +1 -1
  467. package/schematics/update-tool/migration.js +1 -1
  468. package/schematics/update-tool/migration.mjs +1 -1
  469. package/schematics/update-tool/target-version.js +1 -1
  470. package/schematics/update-tool/target-version.mjs +1 -1
  471. package/schematics/update-tool/utils/decorators.js +8 -4
  472. package/schematics/update-tool/utils/decorators.mjs +8 -4
  473. package/schematics/update-tool/utils/functions.js +1 -1
  474. package/schematics/update-tool/utils/functions.mjs +1 -1
  475. package/schematics/update-tool/utils/imports.js +2 -2
  476. package/schematics/update-tool/utils/imports.mjs +2 -2
  477. package/schematics/update-tool/utils/line-mappings.js +1 -1
  478. package/schematics/update-tool/utils/line-mappings.mjs +1 -1
  479. package/schematics/update-tool/utils/parse-tsconfig.js +2 -2
  480. package/schematics/update-tool/utils/parse-tsconfig.mjs +2 -2
  481. package/schematics/update-tool/utils/property-name.js +1 -1
  482. package/schematics/update-tool/utils/property-name.mjs +1 -1
  483. package/schematics/update-tool/utils/virtual-host.d.ts +1 -1
  484. package/schematics/update-tool/utils/virtual-host.js +3 -3
  485. package/schematics/update-tool/utils/virtual-host.mjs +3 -3
  486. package/schematics/update-tool/version-changes.js +1 -1
  487. package/schematics/update-tool/version-changes.mjs +1 -1
  488. package/schematics/utils/ast/ng-module-imports.js +5 -3
  489. package/schematics/utils/ast/ng-module-imports.mjs +5 -3
  490. package/schematics/utils/ast.js +5 -5
  491. package/schematics/utils/ast.mjs +5 -5
  492. package/schematics/utils/build-component.js +32 -38
  493. package/schematics/utils/build-component.mjs +32 -38
  494. package/schematics/utils/get-project.js +1 -1
  495. package/schematics/utils/get-project.mjs +1 -1
  496. package/schematics/utils/html-manipulation.js +8 -7
  497. package/schematics/utils/html-manipulation.mjs +8 -7
  498. package/schematics/utils/parse5-element.js +9 -10
  499. package/schematics/utils/parse5-element.mjs +9 -10
  500. package/schematics/utils/project-index-file.js +2 -2
  501. package/schematics/utils/project-index-file.mjs +2 -2
  502. package/schematics/utils/project-main-file.js +2 -2
  503. package/schematics/utils/project-main-file.mjs +2 -2
  504. package/schematics/utils/project-style-file.js +7 -9
  505. package/schematics/utils/project-style-file.mjs +7 -9
  506. package/schematics/utils/project-targets.js +1 -1
  507. package/schematics/utils/project-targets.mjs +1 -1
  508. package/schematics/utils/project-tsconfig-paths.js +4 -4
  509. package/schematics/utils/project-tsconfig-paths.mjs +4 -4
  510. package/schematics/utils/schematic-options.js +7 -5
  511. package/schematics/utils/schematic-options.mjs +7 -5
  512. package/schematics/utils/vendored-ast-utils/index.js +17 -18
  513. package/schematics/utils/vendored-ast-utils/index.mjs +17 -18
  514. package/scrolling/fixed-size-virtual-scroll.d.ts +3 -0
  515. package/scrolling/package.json +5 -5
  516. package/scrolling/scroll-dispatcher.d.ts +3 -7
  517. package/scrolling/scrollable.d.ts +3 -0
  518. package/scrolling/scrolling-module.d.ts +13 -7
  519. package/scrolling/viewport-ruler.d.ts +11 -1
  520. package/scrolling/virtual-for-of.d.ts +3 -0
  521. package/scrolling/virtual-scroll-viewport.d.ts +3 -0
  522. package/stepper/package.json +5 -5
  523. package/stepper/step-header.d.ts +3 -0
  524. package/stepper/step-label.d.ts +3 -0
  525. package/stepper/stepper-button.d.ts +5 -7
  526. package/stepper/stepper-module.d.ts +9 -7
  527. package/stepper/stepper.d.ts +5 -7
  528. package/table/cell.d.ts +15 -0
  529. package/table/coalesced-style-scheduler.d.ts +3 -0
  530. package/table/package.json +5 -5
  531. package/table/row.d.ts +19 -0
  532. package/table/table-module.d.ts +9 -7
  533. package/table/table.d.ts +13 -0
  534. package/table/text-column.d.ts +3 -0
  535. package/testing/package.json +5 -5
  536. package/testing/protractor/package.json +5 -5
  537. package/testing/selenium-webdriver/package.json +5 -5
  538. package/testing/testbed/package.json +5 -5
  539. package/testing/testbed/proxy-zone-types.d.ts +1 -1
  540. package/testing/testbed/zone-types.d.ts +1 -1
  541. package/text-field/autofill.d.ts +5 -0
  542. package/text-field/autosize.d.ts +3 -0
  543. package/text-field/package.json +5 -5
  544. package/text-field/text-field-module.d.ts +7 -7
  545. package/tree/control/base-tree-control.d.ts +1 -1
  546. package/tree/control/nested-tree-control.d.ts +2 -2
  547. package/tree/nested-node.d.ts +3 -0
  548. package/tree/node.d.ts +3 -0
  549. package/tree/outlet.d.ts +3 -0
  550. package/tree/package.json +5 -5
  551. package/tree/padding.d.ts +3 -0
  552. package/tree/toggle.d.ts +3 -0
  553. package/tree/tree-module.d.ts +10 -7
  554. package/tree/tree.d.ts +5 -0
  555. package/a11y/index.metadata.json +0 -1
  556. package/accordion/index.metadata.json +0 -1
  557. package/bidi/index.metadata.json +0 -1
  558. package/bundles/cdk-a11y.umd.js +0 -2752
  559. package/bundles/cdk-a11y.umd.js.map +0 -1
  560. package/bundles/cdk-accordion.umd.js +0 -262
  561. package/bundles/cdk-accordion.umd.js.map +0 -1
  562. package/bundles/cdk-bidi.umd.js +0 -206
  563. package/bundles/cdk-bidi.umd.js.map +0 -1
  564. package/bundles/cdk-clipboard.umd.js +0 -278
  565. package/bundles/cdk-clipboard.umd.js.map +0 -1
  566. package/bundles/cdk-coercion.umd.js +0 -477
  567. package/bundles/cdk-coercion.umd.js.map +0 -1
  568. package/bundles/cdk-collections.umd.js +0 -846
  569. package/bundles/cdk-collections.umd.js.map +0 -1
  570. package/bundles/cdk-drag-drop.umd.js +0 -3915
  571. package/bundles/cdk-drag-drop.umd.js.map +0 -1
  572. package/bundles/cdk-keycodes.umd.js +0 -292
  573. package/bundles/cdk-keycodes.umd.js.map +0 -1
  574. package/bundles/cdk-layout.umd.js +0 -284
  575. package/bundles/cdk-layout.umd.js.map +0 -1
  576. package/bundles/cdk-observers.umd.js +0 -242
  577. package/bundles/cdk-observers.umd.js.map +0 -1
  578. package/bundles/cdk-overlay.umd.js +0 -3417
  579. package/bundles/cdk-overlay.umd.js.map +0 -1
  580. package/bundles/cdk-platform.umd.js +0 -397
  581. package/bundles/cdk-platform.umd.js.map +0 -1
  582. package/bundles/cdk-portal.umd.js +0 -1008
  583. package/bundles/cdk-portal.umd.js.map +0 -1
  584. package/bundles/cdk-scrolling.umd.js +0 -1787
  585. package/bundles/cdk-scrolling.umd.js.map +0 -1
  586. package/bundles/cdk-stepper.umd.js +0 -648
  587. package/bundles/cdk-stepper.umd.js.map +0 -1
  588. package/bundles/cdk-table.umd.js +0 -2730
  589. package/bundles/cdk-table.umd.js.map +0 -1
  590. package/bundles/cdk-testing-protractor.umd.js +0 -833
  591. package/bundles/cdk-testing-protractor.umd.js.map +0 -1
  592. package/bundles/cdk-testing-selenium-webdriver.umd.js +0 -1002
  593. package/bundles/cdk-testing-selenium-webdriver.umd.js.map +0 -1
  594. package/bundles/cdk-testing-testbed.umd.js +0 -1396
  595. package/bundles/cdk-testing-testbed.umd.js.map +0 -1
  596. package/bundles/cdk-testing.umd.js +0 -1285
  597. package/bundles/cdk-testing.umd.js.map +0 -1
  598. package/bundles/cdk-text-field.umd.js +0 -494
  599. package/bundles/cdk-text-field.umd.js.map +0 -1
  600. package/bundles/cdk-tree.umd.js +0 -1308
  601. package/bundles/cdk-tree.umd.js.map +0 -1
  602. package/bundles/cdk.umd.js +0 -38
  603. package/bundles/cdk.umd.js.map +0 -1
  604. package/clipboard/index.metadata.json +0 -1
  605. package/collections/index.metadata.json +0 -1
  606. package/drag-drop/index.metadata.json +0 -1
  607. package/esm2015/a11y/a11y-module.js +0 -30
  608. package/esm2015/a11y/a11y.externs.js +0 -6
  609. package/esm2015/a11y/aria-describer/aria-describer.js +0 -213
  610. package/esm2015/a11y/fake-event-detection.js +0 -28
  611. package/esm2015/a11y/focus-monitor/focus-monitor.js +0 -394
  612. package/esm2015/a11y/focus-trap/configurable-focus-trap-factory.js +0 -52
  613. package/esm2015/a11y/focus-trap/configurable-focus-trap.js +0 -49
  614. package/esm2015/a11y/focus-trap/event-listener-inert-strategy.js +0 -62
  615. package/esm2015/a11y/focus-trap/focus-trap-inert-strategy.js +0 -11
  616. package/esm2015/a11y/focus-trap/focus-trap-manager.js +0 -51
  617. package/esm2015/a11y/focus-trap/focus-trap.js +0 -391
  618. package/esm2015/a11y/high-contrast-mode/high-contrast-mode-detector.js +0 -92
  619. package/esm2015/a11y/index.js +0 -6
  620. package/esm2015/a11y/input-modality/input-modality-detector.js +0 -171
  621. package/esm2015/a11y/interactivity-checker/interactivity-checker.js +0 -237
  622. package/esm2015/a11y/key-manager/list-key-manager.js +0 -317
  623. package/esm2015/a11y/live-announcer/live-announcer-tokens.js +0 -19
  624. package/esm2015/a11y/live-announcer/live-announcer.js +0 -167
  625. package/esm2015/accordion/accordion-item.js +0 -146
  626. package/esm2015/accordion/accordion-module.js +0 -19
  627. package/esm2015/accordion/accordion.externs.js +0 -6
  628. package/esm2015/accordion/accordion.js +0 -63
  629. package/esm2015/accordion/index.js +0 -6
  630. package/esm2015/bidi/bidi-module.js +0 -18
  631. package/esm2015/bidi/bidi.externs.js +0 -6
  632. package/esm2015/bidi/dir.js +0 -58
  633. package/esm2015/bidi/directionality.js +0 -44
  634. package/esm2015/bidi/index.js +0 -6
  635. package/esm2015/cdk.externs.js +0 -0
  636. package/esm2015/clipboard/clipboard-module.js +0 -18
  637. package/esm2015/clipboard/clipboard.externs.js +0 -6
  638. package/esm2015/clipboard/clipboard.js +0 -52
  639. package/esm2015/clipboard/copy-to-clipboard.js +0 -90
  640. package/esm2015/clipboard/pending-copy.js +0 -68
  641. package/esm2015/coercion/coercion.externs.js +0 -0
  642. package/esm2015/collections/collection-viewer.js +0 -9
  643. package/esm2015/collections/collections.externs.js +0 -6
  644. package/esm2015/collections/dispose-view-repeater-strategy.js +0 -48
  645. package/esm2015/collections/recycle-view-repeater-strategy.js +0 -125
  646. package/esm2015/collections/tree-adapter.js +0 -9
  647. package/esm2015/collections/unique-selection-dispatcher.js +0 -53
  648. package/esm2015/collections/view-repeater.js +0 -14
  649. package/esm2015/drag-drop/client-rect.js +0 -60
  650. package/esm2015/drag-drop/clone-node.js +0 -65
  651. package/esm2015/drag-drop/directives/assertions.js +0 -19
  652. package/esm2015/drag-drop/directives/drag-handle.js +0 -57
  653. package/esm2015/drag-drop/directives/drag-placeholder.js +0 -36
  654. package/esm2015/drag-drop/directives/drag-preview.js +0 -42
  655. package/esm2015/drag-drop/directives/drag.js +0 -407
  656. package/esm2015/drag-drop/directives/drop-list-group.js +0 -47
  657. package/esm2015/drag-drop/directives/drop-list.js +0 -301
  658. package/esm2015/drag-drop/drag-drop-module.js +0 -43
  659. package/esm2015/drag-drop/drag-drop-registry.js +0 -231
  660. package/esm2015/drag-drop/drag-drop.externs.js +0 -6
  661. package/esm2015/drag-drop/drag-drop.js +0 -59
  662. package/esm2015/drag-drop/drag-events.js +0 -9
  663. package/esm2015/drag-drop/drag-ref.js +0 -1110
  664. package/esm2015/drag-drop/drag-styling.js +0 -69
  665. package/esm2015/drag-drop/drag-utils.js +0 -60
  666. package/esm2015/drag-drop/drop-list-ref.js +0 -813
  667. package/esm2015/drag-drop/transition-duration.js +0 -36
  668. package/esm2015/keycodes/keycodes.externs.js +0 -6
  669. package/esm2015/layout/breakpoints-observer.js +0 -106
  670. package/esm2015/layout/layout-module.js +0 -14
  671. package/esm2015/layout/layout.externs.js +0 -6
  672. package/esm2015/layout/media-matcher.js +0 -85
  673. package/esm2015/observers/observe-content.js +0 -179
  674. package/esm2015/observers/observers.externs.js +0 -6
  675. package/esm2015/overlay/dispatchers/base-overlay-dispatcher.js +0 -51
  676. package/esm2015/overlay/dispatchers/overlay-keyboard-dispatcher.js +0 -62
  677. package/esm2015/overlay/dispatchers/overlay-outside-click-dispatcher.js +0 -97
  678. package/esm2015/overlay/fullscreen-overlay-container.js +0 -94
  679. package/esm2015/overlay/index.js +0 -7
  680. package/esm2015/overlay/overlay-config.js +0 -45
  681. package/esm2015/overlay/overlay-container.js +0 -85
  682. package/esm2015/overlay/overlay-directives.js +0 -352
  683. package/esm2015/overlay/overlay-module.js +0 -27
  684. package/esm2015/overlay/overlay-ref.js +0 -409
  685. package/esm2015/overlay/overlay.externs.js +0 -6
  686. package/esm2015/overlay/overlay.js +0 -119
  687. package/esm2015/overlay/position/connected-position.js +0 -94
  688. package/esm2015/overlay/position/flexible-connected-position-strategy.js +0 -960
  689. package/esm2015/overlay/position/global-position-strategy.js +0 -197
  690. package/esm2015/overlay/position/overlay-position-builder.js +0 -52
  691. package/esm2015/overlay/position/scroll-clip.js +0 -42
  692. package/esm2015/overlay/scroll/close-scroll-strategy.js +0 -61
  693. package/esm2015/overlay/scroll/scroll-strategy-options.js +0 -57
  694. package/esm2015/platform/features/passive-listeners.js +0 -36
  695. package/esm2015/platform/features/scrolling.js +0 -85
  696. package/esm2015/platform/features/test-environment.js +0 -16
  697. package/esm2015/platform/platform-module.js +0 -14
  698. package/esm2015/platform/platform.externs.js +0 -6
  699. package/esm2015/platform/platform.js +0 -77
  700. package/esm2015/portal/dom-portal-outlet.js +0 -136
  701. package/esm2015/portal/portal-directives.js +0 -221
  702. package/esm2015/portal/portal-injector.js +0 -28
  703. package/esm2015/portal/portal.externs.js +0 -6
  704. package/esm2015/portal/portal.js +0 -179
  705. package/esm2015/scrolling/fixed-size-virtual-scroll.js +0 -188
  706. package/esm2015/scrolling/scroll-dispatcher.js +0 -163
  707. package/esm2015/scrolling/scrollable.js +0 -173
  708. package/esm2015/scrolling/scrolling-module.js +0 -49
  709. package/esm2015/scrolling/scrolling.externs.js +0 -6
  710. package/esm2015/scrolling/viewport-ruler.js +0 -139
  711. package/esm2015/scrolling/virtual-for-of.js +0 -293
  712. package/esm2015/scrolling/virtual-scroll-strategy.js +0 -11
  713. package/esm2015/scrolling/virtual-scroll-viewport.js +0 -371
  714. package/esm2015/stepper/step-header.js +0 -29
  715. package/esm2015/stepper/step-label.js +0 -22
  716. package/esm2015/stepper/stepper-button.js +0 -72
  717. package/esm2015/stepper/stepper-module.js +0 -37
  718. package/esm2015/stepper/stepper.externs.js +0 -6
  719. package/esm2015/stepper/stepper.js +0 -428
  720. package/esm2015/table/can-stick.js +0 -42
  721. package/esm2015/table/cell.js +0 -211
  722. package/esm2015/table/coalesced-style-scheduler.js +0 -89
  723. package/esm2015/table/row.js +0 -244
  724. package/esm2015/table/sticky-position-listener.js +0 -11
  725. package/esm2015/table/sticky-styler.js +0 -336
  726. package/esm2015/table/table-module.js +0 -47
  727. package/esm2015/table/table.externs.js +0 -6
  728. package/esm2015/table/table.js +0 -987
  729. package/esm2015/table/text-column.js +0 -127
  730. package/esm2015/testing/change-detection.js +0 -110
  731. package/esm2015/testing/component-harness.js +0 -344
  732. package/esm2015/testing/harness-environment.js +0 -219
  733. package/esm2015/testing/protractor/protractor-element.js +0 -274
  734. package/esm2015/testing/protractor/protractor-harness-environment.js +0 -79
  735. package/esm2015/testing/protractor/protractor.externs.js +0 -0
  736. package/esm2015/testing/selenium-webdriver/selenium-web-driver-element.js +0 -241
  737. package/esm2015/testing/selenium-webdriver/selenium-web-driver-harness-environment.js +0 -97
  738. package/esm2015/testing/selenium-webdriver/selenium-webdriver.externs.js +0 -0
  739. package/esm2015/testing/test-element.js +0 -48
  740. package/esm2015/testing/testbed/fake-events/dispatch-events.js +0 -53
  741. package/esm2015/testing/testbed/fake-events/element-focus.js +0 -39
  742. package/esm2015/testing/testbed/fake-events/event-objects.js +0 -107
  743. package/esm2015/testing/testbed/fake-events/type-in-element.js +0 -79
  744. package/esm2015/testing/testbed/task-state-zone-interceptor.js +0 -82
  745. package/esm2015/testing/testbed/testbed-harness-environment.js +0 -173
  746. package/esm2015/testing/testbed/testbed.externs.js +0 -0
  747. package/esm2015/testing/testbed/unit-test-element.js +0 -266
  748. package/esm2015/testing/testing.externs.js +0 -0
  749. package/esm2015/testing/text-filtering.js +0 -23
  750. package/esm2015/text-field/autofill.js +0 -117
  751. package/esm2015/text-field/autosize.js +0 -293
  752. package/esm2015/text-field/text-field-module.js +0 -21
  753. package/esm2015/text-field/text-field.externs.js +0 -6
  754. package/esm2015/tree/control/nested-tree-control.js +0 -59
  755. package/esm2015/tree/nested-node.js +0 -112
  756. package/esm2015/tree/node.js +0 -36
  757. package/esm2015/tree/outlet.js +0 -34
  758. package/esm2015/tree/padding.js +0 -119
  759. package/esm2015/tree/toggle.js +0 -46
  760. package/esm2015/tree/tree-module.js +0 -32
  761. package/esm2015/tree/tree.externs.js +0 -6
  762. package/esm2015/tree/tree.js +0 -345
  763. package/fesm2015/a11y.js.map +0 -1
  764. package/fesm2015/accordion.js.map +0 -1
  765. package/fesm2015/bidi.js.map +0 -1
  766. package/fesm2015/cdk.js.map +0 -1
  767. package/fesm2015/clipboard.js.map +0 -1
  768. package/fesm2015/coercion.js.map +0 -1
  769. package/fesm2015/collections.js.map +0 -1
  770. package/fesm2015/drag-drop.js.map +0 -1
  771. package/fesm2015/keycodes.js.map +0 -1
  772. package/fesm2015/layout.js.map +0 -1
  773. package/fesm2015/observers.js.map +0 -1
  774. package/fesm2015/overlay.js.map +0 -1
  775. package/fesm2015/platform.js.map +0 -1
  776. package/fesm2015/portal.js.map +0 -1
  777. package/fesm2015/scrolling.js.map +0 -1
  778. package/fesm2015/stepper.js.map +0 -1
  779. package/fesm2015/table.js.map +0 -1
  780. package/fesm2015/testing/protractor.js.map +0 -1
  781. package/fesm2015/testing/selenium-webdriver.js.map +0 -1
  782. package/fesm2015/testing/testbed.js.map +0 -1
  783. package/fesm2015/testing.js.map +0 -1
  784. package/fesm2015/text-field.js.map +0 -1
  785. package/fesm2015/tree.js.map +0 -1
  786. package/keycodes/index.metadata.json +0 -1
  787. package/layout/index.metadata.json +0 -1
  788. package/observers/index.metadata.json +0 -1
  789. package/overlay/index.metadata.json +0 -1
  790. package/platform/index.metadata.json +0 -1
  791. package/portal/index.metadata.json +0 -1
  792. package/scrolling/index.metadata.json +0 -1
  793. package/stepper/index.metadata.json +0 -1
  794. package/table/index.metadata.json +0 -1
  795. package/text-field/index.metadata.json +0 -1
  796. package/tree/index.metadata.json +0 -1
@@ -1,13 +1,15 @@
1
- import { Directionality } from '@angular/cdk/bidi';
2
1
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
2
  import { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, isDataSource, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';
4
3
  export { DataSource } from '@angular/cdk/collections';
5
- import { Platform } from '@angular/cdk/platform';
6
- import { ViewportRuler, ScrollingModule } from '@angular/cdk/scrolling';
7
4
  import { DOCUMENT } from '@angular/common';
8
- import { InjectionToken, Directive, TemplateRef, Inject, Optional, Input, ContentChild, ElementRef, Injectable, NgZone, IterableDiffers, ViewContainerRef, Component, ChangeDetectionStrategy, ViewEncapsulation, EmbeddedViewRef, EventEmitter, ChangeDetectorRef, Attribute, SkipSelf, Output, ViewChild, ContentChildren, NgModule } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { InjectionToken, Directive, Inject, Optional, Input, ContentChild, Injectable, Component, ChangeDetectionStrategy, ViewEncapsulation, EmbeddedViewRef, EventEmitter, Attribute, SkipSelf, Output, ViewChild, ContentChildren, NgModule } from '@angular/core';
9
7
  import { Subject, from, BehaviorSubject, isObservable, of } from 'rxjs';
10
8
  import { takeUntil, take } from 'rxjs/operators';
9
+ import * as i1 from '@angular/cdk/bidi';
10
+ import * as i2 from '@angular/cdk/platform';
11
+ import * as i3 from '@angular/cdk/scrolling';
12
+ import { ScrollingModule } from '@angular/cdk/scrolling';
11
13
 
12
14
  /**
13
15
  * @license
@@ -31,7 +33,9 @@ function mixinHasStickyInput(base) {
31
33
  this._hasStickyChanged = false;
32
34
  }
33
35
  /** Whether sticky positioning should be applied. */
34
- get sticky() { return this._sticky; }
36
+ get sticky() {
37
+ return this._sticky;
38
+ }
35
39
  set sticky(v) {
36
40
  const prevValue = this._sticky;
37
41
  this._sticky = coerceBooleanProperty(v);
@@ -81,12 +85,12 @@ class CdkCellDef {
81
85
  this.template = template;
82
86
  }
83
87
  }
84
- CdkCellDef.decorators = [
85
- { type: Directive, args: [{ selector: '[cdkCellDef]' },] }
86
- ];
87
- CdkCellDef.ctorParameters = () => [
88
- { type: TemplateRef }
89
- ];
88
+ CdkCellDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
89
+ CdkCellDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkCellDef, selector: "[cdkCellDef]", ngImport: i0 });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkCellDef, decorators: [{
91
+ type: Directive,
92
+ args: [{ selector: '[cdkCellDef]' }]
93
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
90
94
  /**
91
95
  * Header cell definition for a CDK table.
92
96
  * Captures the template of a column's header cell and as well as cell-specific properties.
@@ -96,12 +100,12 @@ class CdkHeaderCellDef {
96
100
  this.template = template;
97
101
  }
98
102
  }
99
- CdkHeaderCellDef.decorators = [
100
- { type: Directive, args: [{ selector: '[cdkHeaderCellDef]' },] }
101
- ];
102
- CdkHeaderCellDef.ctorParameters = () => [
103
- { type: TemplateRef }
104
- ];
103
+ CdkHeaderCellDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
104
+ CdkHeaderCellDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]", ngImport: i0 });
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderCellDef, decorators: [{
106
+ type: Directive,
107
+ args: [{ selector: '[cdkHeaderCellDef]' }]
108
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
105
109
  /**
106
110
  * Footer cell definition for a CDK table.
107
111
  * Captures the template of a column's footer cell and as well as cell-specific properties.
@@ -111,12 +115,12 @@ class CdkFooterCellDef {
111
115
  this.template = template;
112
116
  }
113
117
  }
114
- CdkFooterCellDef.decorators = [
115
- { type: Directive, args: [{ selector: '[cdkFooterCellDef]' },] }
116
- ];
117
- CdkFooterCellDef.ctorParameters = () => [
118
- { type: TemplateRef }
119
- ];
118
+ CdkFooterCellDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
119
+ CdkFooterCellDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkFooterCellDef, selector: "[cdkFooterCellDef]", ngImport: i0 });
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterCellDef, decorators: [{
121
+ type: Directive,
122
+ args: [{ selector: '[cdkFooterCellDef]' }]
123
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
120
124
  // Boilerplate for applying mixins to CdkColumnDef.
121
125
  /** @docs-private */
122
126
  class CdkColumnDefBase {
@@ -133,8 +137,12 @@ class CdkColumnDef extends _CdkColumnDefBase {
133
137
  this._stickyEnd = false;
134
138
  }
135
139
  /** Unique name for this column. */
136
- get name() { return this._name; }
137
- set name(name) { this._setNameInput(name); }
140
+ get name() {
141
+ return this._name;
142
+ }
143
+ set name(name) {
144
+ this._setNameInput(name);
145
+ }
138
146
  /**
139
147
  * Whether this column should be sticky positioned on the end of the row. Should make sure
140
148
  * that it mimics the `CanStick` mixin such that `_hasStickyChanged` is set to true if the value
@@ -169,28 +177,43 @@ class CdkColumnDef extends _CdkColumnDefBase {
169
177
  // trigger with an empty string and should not overwrite the programmatically set value.
170
178
  if (value) {
171
179
  this._name = value;
172
- this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/ig, '-');
180
+ this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/gi, '-');
173
181
  this._updateColumnCssClassName();
174
182
  }
175
183
  }
176
184
  }
177
- CdkColumnDef.decorators = [
178
- { type: Directive, args: [{
179
- selector: '[cdkColumnDef]',
180
- inputs: ['sticky'],
181
- providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],
182
- },] }
183
- ];
184
- CdkColumnDef.ctorParameters = () => [
185
- { type: undefined, decorators: [{ type: Inject, args: [CDK_TABLE,] }, { type: Optional }] }
186
- ];
187
- CdkColumnDef.propDecorators = {
188
- name: [{ type: Input, args: ['cdkColumnDef',] }],
189
- stickyEnd: [{ type: Input, args: ['stickyEnd',] }],
190
- cell: [{ type: ContentChild, args: [CdkCellDef,] }],
191
- headerCell: [{ type: ContentChild, args: [CdkHeaderCellDef,] }],
192
- footerCell: [{ type: ContentChild, args: [CdkFooterCellDef,] }]
193
- };
185
+ CdkColumnDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkColumnDef, deps: [{ token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
186
+ CdkColumnDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: { sticky: "sticky", name: ["cdkColumnDef", "name"], stickyEnd: "stickyEnd" }, providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }], queries: [{ propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true }, { propertyName: "footerCell", first: true, predicate: CdkFooterCellDef, descendants: true }], usesInheritance: true, ngImport: i0 });
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkColumnDef, decorators: [{
188
+ type: Directive,
189
+ args: [{
190
+ selector: '[cdkColumnDef]',
191
+ inputs: ['sticky'],
192
+ providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],
193
+ }]
194
+ }], ctorParameters: function () {
195
+ return [{ type: undefined, decorators: [{
196
+ type: Inject,
197
+ args: [CDK_TABLE]
198
+ }, {
199
+ type: Optional
200
+ }] }];
201
+ }, propDecorators: { name: [{
202
+ type: Input,
203
+ args: ['cdkColumnDef']
204
+ }], stickyEnd: [{
205
+ type: Input,
206
+ args: ['stickyEnd']
207
+ }], cell: [{
208
+ type: ContentChild,
209
+ args: [CdkCellDef]
210
+ }], headerCell: [{
211
+ type: ContentChild,
212
+ args: [CdkHeaderCellDef]
213
+ }], footerCell: [{
214
+ type: ContentChild,
215
+ args: [CdkFooterCellDef]
216
+ }] } });
194
217
  /** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
195
218
  class BaseCdkCell {
196
219
  constructor(columnDef, elementRef) {
@@ -208,69 +231,64 @@ class CdkHeaderCell extends BaseCdkCell {
208
231
  super(columnDef, elementRef);
209
232
  }
210
233
  }
211
- CdkHeaderCell.decorators = [
212
- { type: Directive, args: [{
213
- selector: 'cdk-header-cell, th[cdk-header-cell]',
214
- host: {
215
- 'class': 'cdk-header-cell',
216
- 'role': 'columnheader',
217
- },
218
- },] }
219
- ];
220
- CdkHeaderCell.ctorParameters = () => [
221
- { type: CdkColumnDef },
222
- { type: ElementRef }
223
- ];
234
+ CdkHeaderCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
235
+ CdkHeaderCell.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "cdk-header-cell" }, usesInheritance: true, ngImport: i0 });
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderCell, decorators: [{
237
+ type: Directive,
238
+ args: [{
239
+ selector: 'cdk-header-cell, th[cdk-header-cell]',
240
+ host: {
241
+ 'class': 'cdk-header-cell',
242
+ 'role': 'columnheader',
243
+ },
244
+ }]
245
+ }], ctorParameters: function () { return [{ type: CdkColumnDef }, { type: i0.ElementRef }]; } });
224
246
  /** Footer cell template container that adds the right classes and role. */
225
247
  class CdkFooterCell extends BaseCdkCell {
226
248
  constructor(columnDef, elementRef) {
227
249
  var _a;
228
250
  super(columnDef, elementRef);
229
251
  if (((_a = columnDef._table) === null || _a === void 0 ? void 0 : _a._elementRef.nativeElement.nodeType) === 1) {
230
- const tableRole = columnDef._table._elementRef.nativeElement
231
- .getAttribute('role');
232
- const role = (tableRole === 'grid' || tableRole === 'treegrid') ? 'gridcell' : 'cell';
252
+ const tableRole = columnDef._table._elementRef.nativeElement.getAttribute('role');
253
+ const role = tableRole === 'grid' || tableRole === 'treegrid' ? 'gridcell' : 'cell';
233
254
  elementRef.nativeElement.setAttribute('role', role);
234
255
  }
235
256
  }
236
257
  }
237
- CdkFooterCell.decorators = [
238
- { type: Directive, args: [{
239
- selector: 'cdk-footer-cell, td[cdk-footer-cell]',
240
- host: {
241
- 'class': 'cdk-footer-cell',
242
- },
243
- },] }
244
- ];
245
- CdkFooterCell.ctorParameters = () => [
246
- { type: CdkColumnDef },
247
- { type: ElementRef }
248
- ];
258
+ CdkFooterCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
259
+ CdkFooterCell.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkFooterCell, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 });
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterCell, decorators: [{
261
+ type: Directive,
262
+ args: [{
263
+ selector: 'cdk-footer-cell, td[cdk-footer-cell]',
264
+ host: {
265
+ 'class': 'cdk-footer-cell',
266
+ },
267
+ }]
268
+ }], ctorParameters: function () { return [{ type: CdkColumnDef }, { type: i0.ElementRef }]; } });
249
269
  /** Cell template container that adds the right classes and role. */
250
270
  class CdkCell extends BaseCdkCell {
251
271
  constructor(columnDef, elementRef) {
252
272
  var _a;
253
273
  super(columnDef, elementRef);
254
274
  if (((_a = columnDef._table) === null || _a === void 0 ? void 0 : _a._elementRef.nativeElement.nodeType) === 1) {
255
- const tableRole = columnDef._table._elementRef.nativeElement
256
- .getAttribute('role');
257
- const role = (tableRole === 'grid' || tableRole === 'treegrid') ? 'gridcell' : 'cell';
275
+ const tableRole = columnDef._table._elementRef.nativeElement.getAttribute('role');
276
+ const role = tableRole === 'grid' || tableRole === 'treegrid' ? 'gridcell' : 'cell';
258
277
  elementRef.nativeElement.setAttribute('role', role);
259
278
  }
260
279
  }
261
280
  }
262
- CdkCell.decorators = [
263
- { type: Directive, args: [{
264
- selector: 'cdk-cell, td[cdk-cell]',
265
- host: {
266
- 'class': 'cdk-cell',
267
- },
268
- },] }
269
- ];
270
- CdkCell.ctorParameters = () => [
271
- { type: CdkColumnDef },
272
- { type: ElementRef }
273
- ];
281
+ CdkCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
282
+ CdkCell.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkCell, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 });
283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkCell, decorators: [{
284
+ type: Directive,
285
+ args: [{
286
+ selector: 'cdk-cell, td[cdk-cell]',
287
+ host: {
288
+ 'class': 'cdk-cell',
289
+ },
290
+ }]
291
+ }], ctorParameters: function () { return [{ type: CdkColumnDef }, { type: i0.ElementRef }]; } });
274
292
 
275
293
  /**
276
294
  * @license
@@ -328,7 +346,9 @@ class _CoalescedStyleScheduler {
328
346
  return;
329
347
  }
330
348
  this._currentSchedule = new _Schedule();
331
- this._getScheduleObservable().pipe(takeUntil(this._destroyed)).subscribe(() => {
349
+ this._getScheduleObservable()
350
+ .pipe(takeUntil(this._destroyed))
351
+ .subscribe(() => {
332
352
  while (this._currentSchedule.tasks.length || this._currentSchedule.endTasks.length) {
333
353
  const schedule = this._currentSchedule;
334
354
  // Capture new tasks scheduled by the current set of tasks.
@@ -346,25 +366,17 @@ class _CoalescedStyleScheduler {
346
366
  _getScheduleObservable() {
347
367
  // Use onStable when in the context of an ongoing change detection cycle so that we
348
368
  // do not accidentally trigger additional cycles.
349
- return this._ngZone.isStable ?
350
- from(Promise.resolve(undefined)) :
351
- this._ngZone.onStable.pipe(take(1));
369
+ return this._ngZone.isStable
370
+ ? from(Promise.resolve(undefined))
371
+ : this._ngZone.onStable.pipe(take(1));
352
372
  }
353
373
  }
354
- _CoalescedStyleScheduler.decorators = [
355
- { type: Injectable }
356
- ];
357
- _CoalescedStyleScheduler.ctorParameters = () => [
358
- { type: NgZone }
359
- ];
374
+ _CoalescedStyleScheduler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: _CoalescedStyleScheduler, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
375
+ _CoalescedStyleScheduler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: _CoalescedStyleScheduler });
376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
377
+ type: Injectable
378
+ }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
360
379
 
361
- /**
362
- * @license
363
- * Copyright Google LLC All Rights Reserved.
364
- *
365
- * Use of this source code is governed by an MIT-style license that can be
366
- * found in the LICENSE file at https://angular.io/license
367
- */
368
380
  /**
369
381
  * The row template that can be used by the mat-table. Should not be used outside of the
370
382
  * material library.
@@ -409,13 +421,11 @@ class BaseRowDef {
409
421
  }
410
422
  }
411
423
  }
412
- BaseRowDef.decorators = [
413
- { type: Directive }
414
- ];
415
- BaseRowDef.ctorParameters = () => [
416
- { type: TemplateRef },
417
- { type: IterableDiffers }
418
- ];
424
+ BaseRowDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: BaseRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
425
+ BaseRowDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: BaseRowDef, usesOnChanges: true, ngImport: i0 });
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: BaseRowDef, decorators: [{
427
+ type: Directive
428
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }]; } });
419
429
  // Boilerplate for applying mixins to CdkHeaderRowDef.
420
430
  /** @docs-private */
421
431
  class CdkHeaderRowDefBase extends BaseRowDef {
@@ -436,17 +446,22 @@ class CdkHeaderRowDef extends _CdkHeaderRowDefBase {
436
446
  super.ngOnChanges(changes);
437
447
  }
438
448
  }
439
- CdkHeaderRowDef.decorators = [
440
- { type: Directive, args: [{
441
- selector: '[cdkHeaderRowDef]',
442
- inputs: ['columns: cdkHeaderRowDef', 'sticky: cdkHeaderRowDefSticky'],
443
- },] }
444
- ];
445
- CdkHeaderRowDef.ctorParameters = () => [
446
- { type: TemplateRef },
447
- { type: IterableDiffers },
448
- { type: undefined, decorators: [{ type: Inject, args: [CDK_TABLE,] }, { type: Optional }] }
449
- ];
449
+ CdkHeaderRowDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
450
+ CdkHeaderRowDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderRowDef, decorators: [{
452
+ type: Directive,
453
+ args: [{
454
+ selector: '[cdkHeaderRowDef]',
455
+ inputs: ['columns: cdkHeaderRowDef', 'sticky: cdkHeaderRowDefSticky'],
456
+ }]
457
+ }], ctorParameters: function () {
458
+ return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
459
+ type: Inject,
460
+ args: [CDK_TABLE]
461
+ }, {
462
+ type: Optional
463
+ }] }];
464
+ } });
450
465
  // Boilerplate for applying mixins to CdkFooterRowDef.
451
466
  /** @docs-private */
452
467
  class CdkFooterRowDefBase extends BaseRowDef {
@@ -467,17 +482,22 @@ class CdkFooterRowDef extends _CdkFooterRowDefBase {
467
482
  super.ngOnChanges(changes);
468
483
  }
469
484
  }
470
- CdkFooterRowDef.decorators = [
471
- { type: Directive, args: [{
472
- selector: '[cdkFooterRowDef]',
473
- inputs: ['columns: cdkFooterRowDef', 'sticky: cdkFooterRowDefSticky'],
474
- },] }
475
- ];
476
- CdkFooterRowDef.ctorParameters = () => [
477
- { type: TemplateRef },
478
- { type: IterableDiffers },
479
- { type: undefined, decorators: [{ type: Inject, args: [CDK_TABLE,] }, { type: Optional }] }
480
- ];
485
+ CdkFooterRowDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
486
+ CdkFooterRowDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkFooterRowDef, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterRowDef, decorators: [{
488
+ type: Directive,
489
+ args: [{
490
+ selector: '[cdkFooterRowDef]',
491
+ inputs: ['columns: cdkFooterRowDef', 'sticky: cdkFooterRowDefSticky'],
492
+ }]
493
+ }], ctorParameters: function () {
494
+ return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
495
+ type: Inject,
496
+ args: [CDK_TABLE]
497
+ }, {
498
+ type: Optional
499
+ }] }];
500
+ } });
481
501
  /**
482
502
  * Data row definition for the CDK table.
483
503
  * Captures the header row's template and other row properties such as the columns to display and
@@ -491,17 +511,22 @@ class CdkRowDef extends BaseRowDef {
491
511
  this._table = _table;
492
512
  }
493
513
  }
494
- CdkRowDef.decorators = [
495
- { type: Directive, args: [{
496
- selector: '[cdkRowDef]',
497
- inputs: ['columns: cdkRowDefColumns', 'when: cdkRowDefWhen'],
498
- },] }
499
- ];
500
- CdkRowDef.ctorParameters = () => [
501
- { type: TemplateRef },
502
- { type: IterableDiffers },
503
- { type: undefined, decorators: [{ type: Inject, args: [CDK_TABLE,] }, { type: Optional }] }
504
- ];
514
+ CdkRowDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
515
+ CdkRowDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkRowDef, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 });
516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkRowDef, decorators: [{
517
+ type: Directive,
518
+ args: [{
519
+ selector: '[cdkRowDef]',
520
+ inputs: ['columns: cdkRowDefColumns', 'when: cdkRowDefWhen'],
521
+ }]
522
+ }], ctorParameters: function () {
523
+ return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
524
+ type: Inject,
525
+ args: [CDK_TABLE]
526
+ }, {
527
+ type: Optional
528
+ }] }];
529
+ } });
505
530
  /**
506
531
  * Outlet for rendering cells inside of a row or header row.
507
532
  * @docs-private
@@ -527,77 +552,86 @@ class CdkCellOutlet {
527
552
  * construct the cells with the provided context.
528
553
  */
529
554
  CdkCellOutlet.mostRecentCellOutlet = null;
530
- CdkCellOutlet.decorators = [
531
- { type: Directive, args: [{ selector: '[cdkCellOutlet]' },] }
532
- ];
533
- CdkCellOutlet.ctorParameters = () => [
534
- { type: ViewContainerRef }
535
- ];
555
+ CdkCellOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkCellOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
556
+ CdkCellOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkCellOutlet, selector: "[cdkCellOutlet]", ngImport: i0 });
557
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkCellOutlet, decorators: [{
558
+ type: Directive,
559
+ args: [{ selector: '[cdkCellOutlet]' }]
560
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
536
561
  /** Header template container that contains the cell outlet. Adds the right class and role. */
537
562
  class CdkHeaderRow {
538
563
  }
539
- CdkHeaderRow.decorators = [
540
- { type: Component, args: [{
541
- selector: 'cdk-header-row, tr[cdk-header-row]',
542
- template: CDK_ROW_TEMPLATE,
543
- host: {
544
- 'class': 'cdk-header-row',
545
- 'role': 'row',
546
- },
547
- // See note on CdkTable for explanation on why this uses the default change detection strategy.
548
- // tslint:disable-next-line:validate-decorators
549
- changeDetection: ChangeDetectionStrategy.Default,
550
- encapsulation: ViewEncapsulation.None
551
- },] }
552
- ];
564
+ CdkHeaderRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component });
565
+ CdkHeaderRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-header-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkHeaderRow, decorators: [{
567
+ type: Component,
568
+ args: [{
569
+ selector: 'cdk-header-row, tr[cdk-header-row]',
570
+ template: CDK_ROW_TEMPLATE,
571
+ host: {
572
+ 'class': 'cdk-header-row',
573
+ 'role': 'row',
574
+ },
575
+ // See note on CdkTable for explanation on why this uses the default change detection strategy.
576
+ // tslint:disable-next-line:validate-decorators
577
+ changeDetection: ChangeDetectionStrategy.Default,
578
+ encapsulation: ViewEncapsulation.None,
579
+ }]
580
+ }] });
553
581
  /** Footer template container that contains the cell outlet. Adds the right class and role. */
554
582
  class CdkFooterRow {
555
583
  }
556
- CdkFooterRow.decorators = [
557
- { type: Component, args: [{
558
- selector: 'cdk-footer-row, tr[cdk-footer-row]',
559
- template: CDK_ROW_TEMPLATE,
560
- host: {
561
- 'class': 'cdk-footer-row',
562
- 'role': 'row',
563
- },
564
- // See note on CdkTable for explanation on why this uses the default change detection strategy.
565
- // tslint:disable-next-line:validate-decorators
566
- changeDetection: ChangeDetectionStrategy.Default,
567
- encapsulation: ViewEncapsulation.None
568
- },] }
569
- ];
584
+ CdkFooterRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component });
585
+ CdkFooterRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkFooterRow, selector: "cdk-footer-row, tr[cdk-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-footer-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkFooterRow, decorators: [{
587
+ type: Component,
588
+ args: [{
589
+ selector: 'cdk-footer-row, tr[cdk-footer-row]',
590
+ template: CDK_ROW_TEMPLATE,
591
+ host: {
592
+ 'class': 'cdk-footer-row',
593
+ 'role': 'row',
594
+ },
595
+ // See note on CdkTable for explanation on why this uses the default change detection strategy.
596
+ // tslint:disable-next-line:validate-decorators
597
+ changeDetection: ChangeDetectionStrategy.Default,
598
+ encapsulation: ViewEncapsulation.None,
599
+ }]
600
+ }] });
570
601
  /** Data row template container that contains the cell outlet. Adds the right class and role. */
571
602
  class CdkRow {
572
603
  }
573
- CdkRow.decorators = [
574
- { type: Component, args: [{
575
- selector: 'cdk-row, tr[cdk-row]',
576
- template: CDK_ROW_TEMPLATE,
577
- host: {
578
- 'class': 'cdk-row',
579
- 'role': 'row',
580
- },
581
- // See note on CdkTable for explanation on why this uses the default change detection strategy.
582
- // tslint:disable-next-line:validate-decorators
583
- changeDetection: ChangeDetectionStrategy.Default,
584
- encapsulation: ViewEncapsulation.None
585
- },] }
586
- ];
604
+ CdkRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkRow, deps: [], target: i0.ɵɵFactoryTarget.Component });
605
+ CdkRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkRow, selector: "cdk-row, tr[cdk-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkRow, decorators: [{
607
+ type: Component,
608
+ args: [{
609
+ selector: 'cdk-row, tr[cdk-row]',
610
+ template: CDK_ROW_TEMPLATE,
611
+ host: {
612
+ 'class': 'cdk-row',
613
+ 'role': 'row',
614
+ },
615
+ // See note on CdkTable for explanation on why this uses the default change detection strategy.
616
+ // tslint:disable-next-line:validate-decorators
617
+ changeDetection: ChangeDetectionStrategy.Default,
618
+ encapsulation: ViewEncapsulation.None,
619
+ }]
620
+ }] });
587
621
  /** Row that can be used to display a message when no data is shown in the table. */
588
622
  class CdkNoDataRow {
589
623
  constructor(templateRef) {
590
624
  this.templateRef = templateRef;
591
625
  }
592
626
  }
593
- CdkNoDataRow.decorators = [
594
- { type: Directive, args: [{
595
- selector: 'ng-template[cdkNoDataRow]'
596
- },] }
597
- ];
598
- CdkNoDataRow.ctorParameters = () => [
599
- { type: TemplateRef }
600
- ];
627
+ CdkNoDataRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkNoDataRow, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
628
+ CdkNoDataRow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkNoDataRow, selector: "ng-template[cdkNoDataRow]", ngImport: i0 });
629
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkNoDataRow, decorators: [{
630
+ type: Directive,
631
+ args: [{
632
+ selector: 'ng-template[cdkNoDataRow]',
633
+ }]
634
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
601
635
 
602
636
  /**
603
637
  * @license
@@ -684,8 +718,9 @@ class StickyStyler {
684
718
  * column cell. If `false` cached widths will be used instead.
685
719
  */
686
720
  updateStickyColumns(rows, stickyStartStates, stickyEndStates, recalculateCellWidths = true) {
687
- if (!rows.length || !this._isBrowser || !(stickyStartStates.some(state => state) ||
688
- stickyEndStates.some(state => state))) {
721
+ if (!rows.length ||
722
+ !this._isBrowser ||
723
+ !(stickyStartStates.some(state => state) || stickyEndStates.some(state => state))) {
689
724
  if (this._positionListener) {
690
725
  this._positionListener.stickyColumnsUpdated({ sizes: [] });
691
726
  this._positionListener.stickyEndColumnsUpdated({ sizes: [] });
@@ -717,19 +752,19 @@ class StickyStyler {
717
752
  }
718
753
  if (this._positionListener) {
719
754
  this._positionListener.stickyColumnsUpdated({
720
- sizes: lastStickyStart === -1 ?
721
- [] :
722
- cellWidths
755
+ sizes: lastStickyStart === -1
756
+ ? []
757
+ : cellWidths
723
758
  .slice(0, lastStickyStart + 1)
724
- .map((width, index) => stickyStartStates[index] ? width : null)
759
+ .map((width, index) => (stickyStartStates[index] ? width : null)),
725
760
  });
726
761
  this._positionListener.stickyEndColumnsUpdated({
727
- sizes: firstStickyEnd === -1 ?
728
- [] :
729
- cellWidths
762
+ sizes: firstStickyEnd === -1
763
+ ? []
764
+ : cellWidths
730
765
  .slice(firstStickyEnd)
731
- .map((width, index) => stickyEndStates[index + firstStickyEnd] ? width : null)
732
- .reverse()
766
+ .map((width, index) => (stickyEndStates[index + firstStickyEnd] ? width : null))
767
+ .reverse(),
733
768
  });
734
769
  }
735
770
  });
@@ -765,8 +800,9 @@ class StickyStyler {
765
800
  }
766
801
  stickyOffsets[rowIndex] = stickyOffset;
767
802
  const row = rows[rowIndex];
768
- elementsToStick[rowIndex] = this._isNativeHtmlTable ?
769
- Array.from(row.children) : [row];
803
+ elementsToStick[rowIndex] = this._isNativeHtmlTable
804
+ ? Array.from(row.children)
805
+ : [row];
770
806
  const height = row.getBoundingClientRect().height;
771
807
  stickyOffset += height;
772
808
  stickyCellHeights[rowIndex] = height;
@@ -787,10 +823,18 @@ class StickyStyler {
787
823
  }
788
824
  }
789
825
  if (position === 'top') {
790
- (_a = this._positionListener) === null || _a === void 0 ? void 0 : _a.stickyHeaderRowsUpdated({ sizes: stickyCellHeights, offsets: stickyOffsets, elements: elementsToStick });
826
+ (_a = this._positionListener) === null || _a === void 0 ? void 0 : _a.stickyHeaderRowsUpdated({
827
+ sizes: stickyCellHeights,
828
+ offsets: stickyOffsets,
829
+ elements: elementsToStick,
830
+ });
791
831
  }
792
832
  else {
793
- (_b = this._positionListener) === null || _b === void 0 ? void 0 : _b.stickyFooterRowsUpdated({ sizes: stickyCellHeights, offsets: stickyOffsets, elements: elementsToStick });
833
+ (_b = this._positionListener) === null || _b === void 0 ? void 0 : _b.stickyFooterRowsUpdated({
834
+ sizes: stickyCellHeights,
835
+ offsets: stickyOffsets,
836
+ elements: elementsToStick,
837
+ });
794
838
  }
795
839
  });
796
840
  }
@@ -1012,27 +1056,21 @@ function getTableTextColumnMissingNameError() {
1012
1056
  /** The injection token used to specify the StickyPositioningListener. */
1013
1057
  const STICKY_POSITIONING_LISTENER = new InjectionToken('CDK_SPL');
1014
1058
 
1015
- /**
1016
- * @license
1017
- * Copyright Google LLC All Rights Reserved.
1018
- *
1019
- * Use of this source code is governed by an MIT-style license that can be
1020
- * found in the LICENSE file at https://angular.io/license
1021
- */
1022
1059
  /**
1023
1060
  * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
1024
1061
  * tables that animate rows.
1025
1062
  */
1026
1063
  class CdkRecycleRows {
1027
1064
  }
1028
- CdkRecycleRows.decorators = [
1029
- { type: Directive, args: [{
1030
- selector: 'cdk-table[recycleRows], table[cdk-table][recycleRows]',
1031
- providers: [
1032
- { provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy },
1033
- ],
1034
- },] }
1035
- ];
1065
+ CdkRecycleRows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1066
+ CdkRecycleRows.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkRecycleRows, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 });
1067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkRecycleRows, decorators: [{
1068
+ type: Directive,
1069
+ args: [{
1070
+ selector: 'cdk-table[recycleRows], table[cdk-table][recycleRows]',
1071
+ providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],
1072
+ }]
1073
+ }] });
1036
1074
  /**
1037
1075
  * Provides a handle for the table to grab the view container's ng-container to insert data rows.
1038
1076
  * @docs-private
@@ -1043,13 +1081,12 @@ class DataRowOutlet {
1043
1081
  this.elementRef = elementRef;
1044
1082
  }
1045
1083
  }
1046
- DataRowOutlet.decorators = [
1047
- { type: Directive, args: [{ selector: '[rowOutlet]' },] }
1048
- ];
1049
- DataRowOutlet.ctorParameters = () => [
1050
- { type: ViewContainerRef },
1051
- { type: ElementRef }
1052
- ];
1084
+ DataRowOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: DataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1085
+ DataRowOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: DataRowOutlet, selector: "[rowOutlet]", ngImport: i0 });
1086
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: DataRowOutlet, decorators: [{
1087
+ type: Directive,
1088
+ args: [{ selector: '[rowOutlet]' }]
1089
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
1053
1090
  /**
1054
1091
  * Provides a handle for the table to grab the view container's ng-container to insert the header.
1055
1092
  * @docs-private
@@ -1060,13 +1097,12 @@ class HeaderRowOutlet {
1060
1097
  this.elementRef = elementRef;
1061
1098
  }
1062
1099
  }
1063
- HeaderRowOutlet.decorators = [
1064
- { type: Directive, args: [{ selector: '[headerRowOutlet]' },] }
1065
- ];
1066
- HeaderRowOutlet.ctorParameters = () => [
1067
- { type: ViewContainerRef },
1068
- { type: ElementRef }
1069
- ];
1100
+ HeaderRowOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: HeaderRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1101
+ HeaderRowOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: HeaderRowOutlet, selector: "[headerRowOutlet]", ngImport: i0 });
1102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: HeaderRowOutlet, decorators: [{
1103
+ type: Directive,
1104
+ args: [{ selector: '[headerRowOutlet]' }]
1105
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
1070
1106
  /**
1071
1107
  * Provides a handle for the table to grab the view container's ng-container to insert the footer.
1072
1108
  * @docs-private
@@ -1077,13 +1113,12 @@ class FooterRowOutlet {
1077
1113
  this.elementRef = elementRef;
1078
1114
  }
1079
1115
  }
1080
- FooterRowOutlet.decorators = [
1081
- { type: Directive, args: [{ selector: '[footerRowOutlet]' },] }
1082
- ];
1083
- FooterRowOutlet.ctorParameters = () => [
1084
- { type: ViewContainerRef },
1085
- { type: ElementRef }
1086
- ];
1116
+ FooterRowOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: FooterRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1117
+ FooterRowOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: FooterRowOutlet, selector: "[footerRowOutlet]", ngImport: i0 });
1118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: FooterRowOutlet, decorators: [{
1119
+ type: Directive,
1120
+ args: [{ selector: '[footerRowOutlet]' }]
1121
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
1087
1122
  /**
1088
1123
  * Provides a handle for the table to grab the view
1089
1124
  * container's ng-container to insert the no data row.
@@ -1095,13 +1130,12 @@ class NoDataRowOutlet {
1095
1130
  this.elementRef = elementRef;
1096
1131
  }
1097
1132
  }
1098
- NoDataRowOutlet.decorators = [
1099
- { type: Directive, args: [{ selector: '[noDataRowOutlet]' },] }
1100
- ];
1101
- NoDataRowOutlet.ctorParameters = () => [
1102
- { type: ViewContainerRef },
1103
- { type: ElementRef }
1104
- ];
1133
+ NoDataRowOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: NoDataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1134
+ NoDataRowOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-next.15", type: NoDataRowOutlet, selector: "[noDataRowOutlet]", ngImport: i0 });
1135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: NoDataRowOutlet, decorators: [{
1136
+ type: Directive,
1137
+ args: [{ selector: '[noDataRowOutlet]' }]
1138
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
1105
1139
  /**
1106
1140
  * The table template that can be used by the mat-table. Should not be used outside of the
1107
1141
  * material library.
@@ -1241,7 +1275,10 @@ class CdkTable {
1241
1275
  *
1242
1276
  * @docs-private
1243
1277
  */
1244
- this.viewChange = new BehaviorSubject({ start: 0, end: Number.MAX_VALUE });
1278
+ this.viewChange = new BehaviorSubject({
1279
+ start: 0,
1280
+ end: Number.MAX_VALUE,
1281
+ });
1245
1282
  if (!role) {
1246
1283
  this._elementRef.nativeElement.setAttribute('role', 'table');
1247
1284
  }
@@ -1333,7 +1370,10 @@ class CdkTable {
1333
1370
  this._dataDiffer = this._differs.find([]).create((_i, dataRow) => {
1334
1371
  return this.trackBy ? this.trackBy(dataRow.dataIndex, dataRow.data) : dataRow;
1335
1372
  });
1336
- this._viewportRuler.change().pipe(takeUntil(this._onDestroy)).subscribe(() => {
1373
+ this._viewportRuler
1374
+ .change()
1375
+ .pipe(takeUntil(this._onDestroy))
1376
+ .subscribe(() => {
1337
1377
  this._forceRecalculateCellWidths = true;
1338
1378
  });
1339
1379
  }
@@ -1342,7 +1382,9 @@ class CdkTable {
1342
1382
  this._cacheRowDefs();
1343
1383
  this._cacheColumnDefs();
1344
1384
  // Make sure that the user has at least added header, footer, or data row def.
1345
- if (!this._headerRowDefs.length && !this._footerRowDefs.length && !this._rowDefs.length &&
1385
+ if (!this._headerRowDefs.length &&
1386
+ !this._footerRowDefs.length &&
1387
+ !this._rowDefs.length &&
1346
1388
  (typeof ngDevMode === 'undefined' || ngDevMode)) {
1347
1389
  throw getTableMissingRowDefsError();
1348
1390
  }
@@ -1405,7 +1447,7 @@ class CdkTable {
1405
1447
  return;
1406
1448
  }
1407
1449
  const viewContainer = this._rowOutlet.viewContainer;
1408
- this._viewRepeater.applyChanges(changes, viewContainer, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record.item, currentIndex), (record) => record.item.data, (change) => {
1450
+ this._viewRepeater.applyChanges(changes, viewContainer, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record.item, currentIndex), record => record.item.data, (change) => {
1409
1451
  if (change.operation === 1 /* INSERTED */ && change.context) {
1410
1452
  this._renderCellTemplateForItem(change.record.item.rowDef, change.context);
1411
1453
  }
@@ -1524,8 +1566,7 @@ class CdkTable {
1524
1566
  // In a table using a fixed layout, row content won't affect column width, so sticky styles
1525
1567
  // don't need to be cleared unless either the sticky column config changes or one of the row
1526
1568
  // defs change.
1527
- if ((this._isNativeHtmlTable && !this._fixedLayout)
1528
- || this._stickyColumnStylesNeedReset) {
1569
+ if ((this._isNativeHtmlTable && !this._fixedLayout) || this._stickyColumnStylesNeedReset) {
1529
1570
  // Clear the left and right positioning from all columns in the table across all rows since
1530
1571
  // sticky columns span across all table sections (header, data, footer)
1531
1572
  this._stickyStyler.clearStickyPositioning([...headerRows, ...dataRows, ...footerRows], ['left', 'right']);
@@ -1594,7 +1635,7 @@ class CdkTable {
1594
1635
  _getRenderRowsForData(data, dataIndex, cache) {
1595
1636
  const rowDefs = this._getRowDefs(data, dataIndex);
1596
1637
  return rowDefs.map(rowDef => {
1597
- const cachedRenderRows = (cache && cache.has(rowDef)) ? cache.get(rowDef) : [];
1638
+ const cachedRenderRows = cache && cache.has(rowDef) ? cache.get(rowDef) : [];
1598
1639
  if (cachedRenderRows.length) {
1599
1640
  const dataRow = cachedRenderRows.shift();
1600
1641
  dataRow.dataIndex = dataIndex;
@@ -1624,7 +1665,8 @@ class CdkTable {
1624
1665
  this._rowDefs = mergeArrayAndSet(this._getOwnDefs(this._contentRowDefs), this._customRowDefs);
1625
1666
  // After all row definitions are determined, find the row definition to be considered default.
1626
1667
  const defaultRowDefs = this._rowDefs.filter(def => !def.when);
1627
- if (!this.multiTemplateDataRows && defaultRowDefs.length > 1 &&
1668
+ if (!this.multiTemplateDataRows &&
1669
+ defaultRowDefs.length > 1 &&
1628
1670
  (typeof ngDevMode === 'undefined' || ngDevMode)) {
1629
1671
  throw getTableMultipleDefaultRowDefsError();
1630
1672
  }
@@ -1695,7 +1737,8 @@ class CdkTable {
1695
1737
  if (dataStream === undefined && (typeof ngDevMode === 'undefined' || ngDevMode)) {
1696
1738
  throw getTableUnknownDataSourceError();
1697
1739
  }
1698
- this._renderChangeSubscription = dataStream.pipe(takeUntil(this._onDestroy))
1740
+ this._renderChangeSubscription = dataStream
1741
+ .pipe(takeUntil(this._onDestroy))
1699
1742
  .subscribe(data => {
1700
1743
  this._data = data || [];
1701
1744
  this.renderRows();
@@ -1920,64 +1963,91 @@ class CdkTable {
1920
1963
  }
1921
1964
  }
1922
1965
  }
1923
- CdkTable.decorators = [
1924
- { type: Component, args: [{
1925
- selector: 'cdk-table, table[cdk-table]',
1926
- exportAs: 'cdkTable',
1927
- template: CDK_TABLE_TEMPLATE,
1928
- host: {
1929
- 'class': 'cdk-table',
1930
- '[class.cdk-table-fixed-layout]': 'fixedLayout',
1931
- },
1932
- encapsulation: ViewEncapsulation.None,
1933
- // The "OnPush" status for the `MatTable` component is effectively a noop, so we are removing it.
1934
- // The view for `MatTable` consists entirely of templates declared in other views. As they are
1935
- // declared elsewhere, they are checked when their declaration points are checked.
1936
- // tslint:disable-next-line:validate-decorators
1937
- changeDetection: ChangeDetectionStrategy.Default,
1938
- providers: [
1939
- { provide: CDK_TABLE, useExisting: CdkTable },
1940
- { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
1941
- { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
1942
- // Prevent nested tables from seeing this table's StickyPositioningListener.
1943
- { provide: STICKY_POSITIONING_LISTENER, useValue: null },
1944
- ],
1945
- styles: [".cdk-table-fixed-layout{table-layout:fixed}\n"]
1946
- },] }
1947
- ];
1948
- CdkTable.ctorParameters = () => [
1949
- { type: IterableDiffers },
1950
- { type: ChangeDetectorRef },
1951
- { type: ElementRef },
1952
- { type: String, decorators: [{ type: Attribute, args: ['role',] }] },
1953
- { type: Directionality, decorators: [{ type: Optional }] },
1954
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
1955
- { type: Platform },
1956
- { type: undefined, decorators: [{ type: Inject, args: [_VIEW_REPEATER_STRATEGY,] }] },
1957
- { type: _CoalescedStyleScheduler, decorators: [{ type: Inject, args: [_COALESCED_STYLE_SCHEDULER,] }] },
1958
- { type: ViewportRuler },
1959
- { type: undefined, decorators: [{ type: Optional }, { type: SkipSelf }, { type: Inject, args: [STICKY_POSITIONING_LISTENER,] }] }
1960
- ];
1961
- CdkTable.propDecorators = {
1962
- trackBy: [{ type: Input }],
1963
- dataSource: [{ type: Input }],
1964
- multiTemplateDataRows: [{ type: Input }],
1965
- fixedLayout: [{ type: Input }],
1966
- contentChanged: [{ type: Output }],
1967
- _rowOutlet: [{ type: ViewChild, args: [DataRowOutlet, { static: true },] }],
1968
- _headerRowOutlet: [{ type: ViewChild, args: [HeaderRowOutlet, { static: true },] }],
1969
- _footerRowOutlet: [{ type: ViewChild, args: [FooterRowOutlet, { static: true },] }],
1970
- _noDataRowOutlet: [{ type: ViewChild, args: [NoDataRowOutlet, { static: true },] }],
1971
- _contentColumnDefs: [{ type: ContentChildren, args: [CdkColumnDef, { descendants: true },] }],
1972
- _contentRowDefs: [{ type: ContentChildren, args: [CdkRowDef, { descendants: true },] }],
1973
- _contentHeaderRowDefs: [{ type: ContentChildren, args: [CdkHeaderRowDef, {
1974
- descendants: true
1975
- },] }],
1976
- _contentFooterRowDefs: [{ type: ContentChildren, args: [CdkFooterRowDef, {
1977
- descendants: true
1978
- },] }],
1979
- _noDataRow: [{ type: ContentChild, args: [CdkNoDataRow,] }]
1980
- };
1966
+ CdkTable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTable, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: 'role', attribute: true }, { token: i1.Directionality, optional: true }, { token: DOCUMENT }, { token: i2.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
1967
+ CdkTable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: { trackBy: "trackBy", dataSource: "dataSource", multiTemplateDataRows: "multiTemplateDataRows", fixedLayout: "fixedLayout" }, outputs: { contentChanged: "contentChanged" }, host: { properties: { "class.cdk-table-fixed-layout": "fixedLayout" }, classAttribute: "cdk-table" }, providers: [
1968
+ { provide: CDK_TABLE, useExisting: CdkTable },
1969
+ { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
1970
+ { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
1971
+ // Prevent nested tables from seeing this table's StickyPositioningListener.
1972
+ { provide: STICKY_POSITIONING_LISTENER, useValue: null },
1973
+ ], queries: [{ propertyName: "_noDataRow", first: true, predicate: CdkNoDataRow, descendants: true }, { propertyName: "_contentColumnDefs", predicate: CdkColumnDef, descendants: true }, { propertyName: "_contentRowDefs", predicate: CdkRowDef, descendants: true }, { propertyName: "_contentHeaderRowDefs", predicate: CdkHeaderRowDef, descendants: true }, { propertyName: "_contentFooterRowDefs", predicate: CdkFooterRowDef, descendants: true }], viewQueries: [{ propertyName: "_rowOutlet", first: true, predicate: DataRowOutlet, descendants: true, static: true }, { propertyName: "_headerRowOutlet", first: true, predicate: HeaderRowOutlet, descendants: true, static: true }, { propertyName: "_footerRowOutlet", first: true, predicate: FooterRowOutlet, descendants: true, static: true }, { propertyName: "_noDataRowOutlet", first: true, predicate: NoDataRowOutlet, descendants: true, static: true }], exportAs: ["cdkTable"], ngImport: i0, template: "\n <ng-content select=\"caption\"></ng-content>\n <ng-content select=\"colgroup, col\"></ng-content>\n <ng-container headerRowOutlet></ng-container>\n <ng-container rowOutlet></ng-container>\n <ng-container noDataRowOutlet></ng-container>\n <ng-container footerRowOutlet></ng-container>\n", isInline: true, styles: [".cdk-table-fixed-layout{table-layout:fixed}\n"], directives: [{ type: HeaderRowOutlet, selector: "[headerRowOutlet]" }, { type: DataRowOutlet, selector: "[rowOutlet]" }, { type: NoDataRowOutlet, selector: "[noDataRowOutlet]" }, { type: FooterRowOutlet, selector: "[footerRowOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
1974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTable, decorators: [{
1975
+ type: Component,
1976
+ args: [{ selector: 'cdk-table, table[cdk-table]', exportAs: 'cdkTable', template: CDK_TABLE_TEMPLATE, host: {
1977
+ 'class': 'cdk-table',
1978
+ '[class.cdk-table-fixed-layout]': 'fixedLayout',
1979
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, providers: [
1980
+ { provide: CDK_TABLE, useExisting: CdkTable },
1981
+ { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
1982
+ { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
1983
+ // Prevent nested tables from seeing this table's StickyPositioningListener.
1984
+ { provide: STICKY_POSITIONING_LISTENER, useValue: null },
1985
+ ], styles: [".cdk-table-fixed-layout{table-layout:fixed}\n"] }]
1986
+ }], ctorParameters: function () {
1987
+ return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
1988
+ type: Attribute,
1989
+ args: ['role']
1990
+ }] }, { type: i1.Directionality, decorators: [{
1991
+ type: Optional
1992
+ }] }, { type: undefined, decorators: [{
1993
+ type: Inject,
1994
+ args: [DOCUMENT]
1995
+ }] }, { type: i2.Platform }, { type: undefined, decorators: [{
1996
+ type: Inject,
1997
+ args: [_VIEW_REPEATER_STRATEGY]
1998
+ }] }, { type: _CoalescedStyleScheduler, decorators: [{
1999
+ type: Inject,
2000
+ args: [_COALESCED_STYLE_SCHEDULER]
2001
+ }] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{
2002
+ type: Optional
2003
+ }, {
2004
+ type: SkipSelf
2005
+ }, {
2006
+ type: Inject,
2007
+ args: [STICKY_POSITIONING_LISTENER]
2008
+ }] }];
2009
+ }, propDecorators: { trackBy: [{
2010
+ type: Input
2011
+ }], dataSource: [{
2012
+ type: Input
2013
+ }], multiTemplateDataRows: [{
2014
+ type: Input
2015
+ }], fixedLayout: [{
2016
+ type: Input
2017
+ }], contentChanged: [{
2018
+ type: Output
2019
+ }], _rowOutlet: [{
2020
+ type: ViewChild,
2021
+ args: [DataRowOutlet, { static: true }]
2022
+ }], _headerRowOutlet: [{
2023
+ type: ViewChild,
2024
+ args: [HeaderRowOutlet, { static: true }]
2025
+ }], _footerRowOutlet: [{
2026
+ type: ViewChild,
2027
+ args: [FooterRowOutlet, { static: true }]
2028
+ }], _noDataRowOutlet: [{
2029
+ type: ViewChild,
2030
+ args: [NoDataRowOutlet, { static: true }]
2031
+ }], _contentColumnDefs: [{
2032
+ type: ContentChildren,
2033
+ args: [CdkColumnDef, { descendants: true }]
2034
+ }], _contentRowDefs: [{
2035
+ type: ContentChildren,
2036
+ args: [CdkRowDef, { descendants: true }]
2037
+ }], _contentHeaderRowDefs: [{
2038
+ type: ContentChildren,
2039
+ args: [CdkHeaderRowDef, {
2040
+ descendants: true,
2041
+ }]
2042
+ }], _contentFooterRowDefs: [{
2043
+ type: ContentChildren,
2044
+ args: [CdkFooterRowDef, {
2045
+ descendants: true,
2046
+ }]
2047
+ }], _noDataRow: [{
2048
+ type: ContentChild,
2049
+ args: [CdkNoDataRow]
2050
+ }] } });
1981
2051
  /** Utility function that gets a merged list of the entries in an array and values of a Set. */
1982
2052
  function mergeArrayAndSet(array, set) {
1983
2053
  return array.concat(Array.from(set));
@@ -2068,10 +2138,22 @@ class CdkTextColumn {
2068
2138
  }
2069
2139
  }
2070
2140
  }
2071
- CdkTextColumn.decorators = [
2072
- { type: Component, args: [{
2073
- selector: 'cdk-text-column',
2074
- template: `
2141
+ CdkTextColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTextColumn, deps: [{ token: CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2142
+ CdkTextColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: CdkTextColumn, selector: "cdk-text-column", inputs: { name: "name", headerText: "headerText", dataAccessor: "dataAccessor", justify: "justify" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
2143
+ <ng-container cdkColumnDef>
2144
+ <th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
2145
+ {{headerText}}
2146
+ </th>
2147
+ <td cdk-cell *cdkCellDef="let data" [style.text-align]="justify">
2148
+ {{dataAccessor(data, name)}}
2149
+ </td>
2150
+ </ng-container>
2151
+ `, isInline: true, directives: [{ type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "stickyEnd"] }, { type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { type: CdkCellDef, selector: "[cdkCellDef]" }, { type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
2152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTextColumn, decorators: [{
2153
+ type: Component,
2154
+ args: [{
2155
+ selector: 'cdk-text-column',
2156
+ template: `
2075
2157
  <ng-container cdkColumnDef>
2076
2158
  <th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
2077
2159
  {{headerText}}
@@ -2081,29 +2163,42 @@ CdkTextColumn.decorators = [
2081
2163
  </td>
2082
2164
  </ng-container>
2083
2165
  `,
2084
- encapsulation: ViewEncapsulation.None,
2085
- // Change detection is intentionally not set to OnPush. This component's template will be provided
2086
- // to the table to be inserted into its view. This is problematic when change detection runs since
2087
- // the bindings in this template will be evaluated _after_ the table's view is evaluated, which
2088
- // mean's the template in the table's view will not have the updated value (and in fact will cause
2089
- // an ExpressionChangedAfterItHasBeenCheckedError).
2090
- // tslint:disable-next-line:validate-decorators
2091
- changeDetection: ChangeDetectionStrategy.Default
2092
- },] }
2093
- ];
2094
- CdkTextColumn.ctorParameters = () => [
2095
- { type: CdkTable, decorators: [{ type: Optional }] },
2096
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [TEXT_COLUMN_OPTIONS,] }] }
2097
- ];
2098
- CdkTextColumn.propDecorators = {
2099
- name: [{ type: Input }],
2100
- headerText: [{ type: Input }],
2101
- dataAccessor: [{ type: Input }],
2102
- justify: [{ type: Input }],
2103
- columnDef: [{ type: ViewChild, args: [CdkColumnDef, { static: true },] }],
2104
- cell: [{ type: ViewChild, args: [CdkCellDef, { static: true },] }],
2105
- headerCell: [{ type: ViewChild, args: [CdkHeaderCellDef, { static: true },] }]
2106
- };
2166
+ encapsulation: ViewEncapsulation.None,
2167
+ // Change detection is intentionally not set to OnPush. This component's template will be provided
2168
+ // to the table to be inserted into its view. This is problematic when change detection runs since
2169
+ // the bindings in this template will be evaluated _after_ the table's view is evaluated, which
2170
+ // mean's the template in the table's view will not have the updated value (and in fact will cause
2171
+ // an ExpressionChangedAfterItHasBeenCheckedError).
2172
+ // tslint:disable-next-line:validate-decorators
2173
+ changeDetection: ChangeDetectionStrategy.Default,
2174
+ }]
2175
+ }], ctorParameters: function () {
2176
+ return [{ type: CdkTable, decorators: [{
2177
+ type: Optional
2178
+ }] }, { type: undefined, decorators: [{
2179
+ type: Optional
2180
+ }, {
2181
+ type: Inject,
2182
+ args: [TEXT_COLUMN_OPTIONS]
2183
+ }] }];
2184
+ }, propDecorators: { name: [{
2185
+ type: Input
2186
+ }], headerText: [{
2187
+ type: Input
2188
+ }], dataAccessor: [{
2189
+ type: Input
2190
+ }], justify: [{
2191
+ type: Input
2192
+ }], columnDef: [{
2193
+ type: ViewChild,
2194
+ args: [CdkColumnDef, { static: true }]
2195
+ }], cell: [{
2196
+ type: ViewChild,
2197
+ args: [CdkCellDef, { static: true }]
2198
+ }], headerCell: [{
2199
+ type: ViewChild,
2200
+ args: [CdkHeaderCellDef, { static: true }]
2201
+ }] } });
2107
2202
 
2108
2203
  /**
2109
2204
  * @license
@@ -2138,13 +2233,59 @@ const EXPORTED_DECLARATIONS = [
2138
2233
  ];
2139
2234
  class CdkTableModule {
2140
2235
  }
2141
- CdkTableModule.decorators = [
2142
- { type: NgModule, args: [{
2143
- exports: EXPORTED_DECLARATIONS,
2144
- declarations: EXPORTED_DECLARATIONS,
2145
- imports: [ScrollingModule]
2146
- },] }
2147
- ];
2236
+ CdkTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2237
+ CdkTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTableModule, declarations: [CdkTable,
2238
+ CdkRowDef,
2239
+ CdkCellDef,
2240
+ CdkCellOutlet,
2241
+ CdkHeaderCellDef,
2242
+ CdkFooterCellDef,
2243
+ CdkColumnDef,
2244
+ CdkCell,
2245
+ CdkRow,
2246
+ CdkHeaderCell,
2247
+ CdkFooterCell,
2248
+ CdkHeaderRow,
2249
+ CdkHeaderRowDef,
2250
+ CdkFooterRow,
2251
+ CdkFooterRowDef,
2252
+ DataRowOutlet,
2253
+ HeaderRowOutlet,
2254
+ FooterRowOutlet,
2255
+ CdkTextColumn,
2256
+ CdkNoDataRow,
2257
+ CdkRecycleRows,
2258
+ NoDataRowOutlet], imports: [ScrollingModule], exports: [CdkTable,
2259
+ CdkRowDef,
2260
+ CdkCellDef,
2261
+ CdkCellOutlet,
2262
+ CdkHeaderCellDef,
2263
+ CdkFooterCellDef,
2264
+ CdkColumnDef,
2265
+ CdkCell,
2266
+ CdkRow,
2267
+ CdkHeaderCell,
2268
+ CdkFooterCell,
2269
+ CdkHeaderRow,
2270
+ CdkHeaderRowDef,
2271
+ CdkFooterRow,
2272
+ CdkFooterRowDef,
2273
+ DataRowOutlet,
2274
+ HeaderRowOutlet,
2275
+ FooterRowOutlet,
2276
+ CdkTextColumn,
2277
+ CdkNoDataRow,
2278
+ CdkRecycleRows,
2279
+ NoDataRowOutlet] });
2280
+ CdkTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTableModule, imports: [[ScrollingModule]] });
2281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: CdkTableModule, decorators: [{
2282
+ type: NgModule,
2283
+ args: [{
2284
+ exports: EXPORTED_DECLARATIONS,
2285
+ declarations: EXPORTED_DECLARATIONS,
2286
+ imports: [ScrollingModule],
2287
+ }]
2288
+ }] });
2148
2289
 
2149
2290
  /**
2150
2291
  * @license
@@ -2159,4 +2300,4 @@ CdkTableModule.decorators = [
2159
2300
  */
2160
2301
 
2161
2302
  export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CDK_TABLE_TEMPLATE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_DIRECTIONS, STICKY_POSITIONING_LISTENER, StickyStyler, TEXT_COLUMN_OPTIONS, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule, mixinHasStickyInput };
2162
- //# sourceMappingURL=table.js.map
2303
+ //# sourceMappingURL=table.mjs.map