@angular/cdk 14.0.0 → 14.0.3

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 (201) hide show
  1. package/a11y/index.d.ts +3 -1
  2. package/drag-drop/index.d.ts +12 -58
  3. package/esm2020/a11y/a11y-module.mjs +5 -5
  4. package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
  5. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +7 -7
  6. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  7. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  8. package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
  9. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +17 -5
  10. package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
  11. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  12. package/esm2020/a11y/live-announcer/live-announcer.mjs +7 -7
  13. package/esm2020/accordion/accordion-item.mjs +4 -4
  14. package/esm2020/accordion/accordion-module.mjs +5 -5
  15. package/esm2020/accordion/accordion.mjs +4 -4
  16. package/esm2020/bidi/bidi-module.mjs +5 -5
  17. package/esm2020/bidi/dir.mjs +4 -4
  18. package/esm2020/bidi/directionality.mjs +4 -4
  19. package/esm2020/clipboard/clipboard-module.mjs +5 -5
  20. package/esm2020/clipboard/clipboard.mjs +4 -4
  21. package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
  22. package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
  23. package/esm2020/dialog/dialog-container.mjs +4 -4
  24. package/esm2020/dialog/dialog-module.mjs +5 -5
  25. package/esm2020/dialog/dialog.mjs +4 -4
  26. package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
  27. package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
  28. package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
  29. package/esm2020/drag-drop/directives/drag.mjs +4 -4
  30. package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
  31. package/esm2020/drag-drop/directives/drop-list.mjs +4 -4
  32. package/esm2020/drag-drop/dom/client-rect.mjs +64 -0
  33. package/esm2020/drag-drop/dom/clone-node.mjs +65 -0
  34. package/esm2020/drag-drop/dom/parent-position-tracker.mjs +76 -0
  35. package/esm2020/drag-drop/dom/styling.mjs +69 -0
  36. package/esm2020/drag-drop/dom/transition-duration.mjs +36 -0
  37. package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
  38. package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
  39. package/esm2020/drag-drop/drag-drop.mjs +4 -4
  40. package/esm2020/drag-drop/drag-ref.mjs +36 -22
  41. package/esm2020/drag-drop/drop-list-ref.mjs +36 -295
  42. package/esm2020/drag-drop/sorting/drop-list-sort-strategy.mjs +9 -0
  43. package/esm2020/drag-drop/sorting/single-axis-sort-strategy.mjs +341 -0
  44. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  45. package/esm2020/layout/layout-module.mjs +5 -5
  46. package/esm2020/layout/media-matcher.mjs +4 -4
  47. package/esm2020/menu/context-menu-trigger.mjs +7 -7
  48. package/esm2020/menu/menu-aim.mjs +7 -7
  49. package/esm2020/menu/menu-bar.mjs +4 -4
  50. package/esm2020/menu/menu-base.mjs +4 -4
  51. package/esm2020/menu/menu-group.mjs +4 -4
  52. package/esm2020/menu/menu-item-checkbox.mjs +4 -4
  53. package/esm2020/menu/menu-item-radio.mjs +4 -4
  54. package/esm2020/menu/menu-item-selectable.mjs +4 -4
  55. package/esm2020/menu/menu-item.mjs +4 -4
  56. package/esm2020/menu/menu-module.mjs +5 -5
  57. package/esm2020/menu/menu-stack.mjs +4 -4
  58. package/esm2020/menu/menu-trigger-base.mjs +4 -4
  59. package/esm2020/menu/menu-trigger.mjs +4 -4
  60. package/esm2020/menu/menu.mjs +4 -4
  61. package/esm2020/observers/observe-content.mjs +14 -14
  62. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  63. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  64. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  65. package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
  66. package/esm2020/overlay/overlay-container.mjs +4 -4
  67. package/esm2020/overlay/overlay-directives.mjs +7 -7
  68. package/esm2020/overlay/overlay-module.mjs +5 -5
  69. package/esm2020/overlay/overlay.mjs +4 -4
  70. package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
  71. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
  72. package/esm2020/platform/platform-module.mjs +5 -5
  73. package/esm2020/platform/platform.mjs +4 -4
  74. package/esm2020/portal/portal-directives.mjs +17 -17
  75. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  76. package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
  77. package/esm2020/scrolling/scrollable.mjs +4 -4
  78. package/esm2020/scrolling/scrolling-module.mjs +9 -9
  79. package/esm2020/scrolling/viewport-ruler.mjs +4 -4
  80. package/esm2020/scrolling/virtual-for-of.mjs +4 -4
  81. package/esm2020/scrolling/virtual-scroll-viewport.mjs +6 -6
  82. package/esm2020/stepper/step-header.mjs +4 -4
  83. package/esm2020/stepper/step-label.mjs +4 -4
  84. package/esm2020/stepper/stepper-button.mjs +7 -7
  85. package/esm2020/stepper/stepper-module.mjs +5 -5
  86. package/esm2020/stepper/stepper.mjs +7 -7
  87. package/esm2020/table/cell.mjs +22 -22
  88. package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
  89. package/esm2020/table/row.mjs +28 -28
  90. package/esm2020/table/table-module.mjs +5 -5
  91. package/esm2020/table/table.mjs +19 -19
  92. package/esm2020/table/text-column.mjs +4 -4
  93. package/esm2020/testing/testbed/fake-events/dispatch-events.mjs +5 -5
  94. package/esm2020/testing/testbed/fake-events/event-objects.mjs +17 -6
  95. package/esm2020/testing/testbed/unit-test-element.mjs +17 -12
  96. package/esm2020/text-field/autofill.mjs +7 -7
  97. package/esm2020/text-field/autosize.mjs +4 -4
  98. package/esm2020/text-field/text-field-module.mjs +5 -5
  99. package/esm2020/tree/nested-node.mjs +4 -4
  100. package/esm2020/tree/node.mjs +4 -4
  101. package/esm2020/tree/outlet.mjs +4 -4
  102. package/esm2020/tree/padding.mjs +4 -4
  103. package/esm2020/tree/toggle.mjs +4 -4
  104. package/esm2020/tree/tree-module.mjs +5 -5
  105. package/esm2020/tree/tree.mjs +7 -7
  106. package/esm2020/version.mjs +1 -1
  107. package/fesm2015/a11y.mjs +59 -40
  108. package/fesm2015/a11y.mjs.map +1 -1
  109. package/fesm2015/accordion.mjs +10 -10
  110. package/fesm2015/accordion.mjs.map +1 -1
  111. package/fesm2015/bidi.mjs +10 -10
  112. package/fesm2015/bidi.mjs.map +1 -1
  113. package/fesm2015/cdk.mjs +1 -1
  114. package/fesm2015/cdk.mjs.map +1 -1
  115. package/fesm2015/clipboard.mjs +10 -10
  116. package/fesm2015/clipboard.mjs.map +1 -1
  117. package/fesm2015/collections.mjs +3 -3
  118. package/fesm2015/collections.mjs.map +1 -1
  119. package/fesm2015/dialog.mjs +10 -10
  120. package/fesm2015/dialog.mjs.map +1 -1
  121. package/fesm2015/drag-drop.mjs +552 -459
  122. package/fesm2015/drag-drop.mjs.map +1 -1
  123. package/fesm2015/layout.mjs +10 -10
  124. package/fesm2015/layout.mjs.map +1 -1
  125. package/fesm2015/menu.mjs +49 -49
  126. package/fesm2015/menu.mjs.map +1 -1
  127. package/fesm2015/observers.mjs +13 -13
  128. package/fesm2015/observers.mjs.map +1 -1
  129. package/fesm2015/overlay.mjs +34 -34
  130. package/fesm2015/overlay.mjs.map +1 -1
  131. package/fesm2015/platform.mjs +7 -7
  132. package/fesm2015/platform.mjs.map +1 -1
  133. package/fesm2015/portal.mjs +16 -16
  134. package/fesm2015/portal.mjs.map +1 -1
  135. package/fesm2015/scrolling.mjs +28 -28
  136. package/fesm2015/scrolling.mjs.map +1 -1
  137. package/fesm2015/stepper.mjs +22 -22
  138. package/fesm2015/stepper.mjs.map +1 -1
  139. package/fesm2015/table.mjs +76 -76
  140. package/fesm2015/table.mjs.map +1 -1
  141. package/fesm2015/testing/testbed.mjs +36 -20
  142. package/fesm2015/testing/testbed.mjs.map +1 -1
  143. package/fesm2015/text-field.mjs +13 -13
  144. package/fesm2015/text-field.mjs.map +1 -1
  145. package/fesm2015/tree.mjs +25 -25
  146. package/fesm2015/tree.mjs.map +1 -1
  147. package/fesm2020/a11y.mjs +52 -40
  148. package/fesm2020/a11y.mjs.map +1 -1
  149. package/fesm2020/accordion.mjs +10 -10
  150. package/fesm2020/accordion.mjs.map +1 -1
  151. package/fesm2020/bidi.mjs +10 -10
  152. package/fesm2020/bidi.mjs.map +1 -1
  153. package/fesm2020/cdk.mjs +1 -1
  154. package/fesm2020/cdk.mjs.map +1 -1
  155. package/fesm2020/clipboard.mjs +10 -10
  156. package/fesm2020/clipboard.mjs.map +1 -1
  157. package/fesm2020/collections.mjs +3 -3
  158. package/fesm2020/collections.mjs.map +1 -1
  159. package/fesm2020/dialog.mjs +10 -10
  160. package/fesm2020/dialog.mjs.map +1 -1
  161. package/fesm2020/drag-drop.mjs +552 -459
  162. package/fesm2020/drag-drop.mjs.map +1 -1
  163. package/fesm2020/layout.mjs +10 -10
  164. package/fesm2020/layout.mjs.map +1 -1
  165. package/fesm2020/menu.mjs +49 -49
  166. package/fesm2020/menu.mjs.map +1 -1
  167. package/fesm2020/observers.mjs +13 -13
  168. package/fesm2020/observers.mjs.map +1 -1
  169. package/fesm2020/overlay.mjs +34 -34
  170. package/fesm2020/overlay.mjs.map +1 -1
  171. package/fesm2020/platform.mjs +7 -7
  172. package/fesm2020/platform.mjs.map +1 -1
  173. package/fesm2020/portal.mjs +16 -16
  174. package/fesm2020/portal.mjs.map +1 -1
  175. package/fesm2020/scrolling.mjs +28 -28
  176. package/fesm2020/scrolling.mjs.map +1 -1
  177. package/fesm2020/stepper.mjs +22 -22
  178. package/fesm2020/stepper.mjs.map +1 -1
  179. package/fesm2020/table.mjs +76 -76
  180. package/fesm2020/table.mjs.map +1 -1
  181. package/fesm2020/testing/testbed.mjs +36 -20
  182. package/fesm2020/testing/testbed.mjs.map +1 -1
  183. package/fesm2020/text-field.mjs +13 -13
  184. package/fesm2020/text-field.mjs.map +1 -1
  185. package/fesm2020/tree.mjs +25 -25
  186. package/fesm2020/tree.mjs.map +1 -1
  187. package/package.json +1 -1
  188. package/schematics/migration.json +5 -0
  189. package/schematics/ng-add/index.js +1 -1
  190. package/schematics/ng-add/index.mjs +1 -1
  191. package/schematics/ng-update/index.d.ts +2 -0
  192. package/schematics/ng-update/index.js +7 -2
  193. package/schematics/ng-update/index.mjs +7 -2
  194. package/schematics/update-tool/target-version.d.ts +2 -1
  195. package/schematics/update-tool/target-version.js +2 -1
  196. package/schematics/update-tool/target-version.mjs +2 -1
  197. package/esm2020/drag-drop/client-rect.mjs +0 -64
  198. package/esm2020/drag-drop/clone-node.mjs +0 -65
  199. package/esm2020/drag-drop/drag-styling.mjs +0 -69
  200. package/esm2020/drag-drop/parent-position-tracker.mjs +0 -76
  201. package/esm2020/drag-drop/transition-duration.mjs +0 -36
@@ -204,15 +204,15 @@ class CdkFixedSizeVirtualScroll {
204
204
  this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx);
205
205
  }
206
206
  }
207
- CdkFixedSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
208
- CdkFixedSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: { itemSize: "itemSize", minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, providers: [
207
+ CdkFixedSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
208
+ CdkFixedSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: { itemSize: "itemSize", minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, providers: [
209
209
  {
210
210
  provide: VIRTUAL_SCROLL_STRATEGY,
211
211
  useFactory: _fixedSizeVirtualScrollStrategyFactory,
212
212
  deps: [forwardRef(() => CdkFixedSizeVirtualScroll)],
213
213
  },
214
214
  ], usesOnChanges: true, ngImport: i0 });
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkFixedSizeVirtualScroll, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkFixedSizeVirtualScroll, decorators: [{
216
216
  type: Directive,
217
217
  args: [{
218
218
  selector: 'cdk-virtual-scroll-viewport[itemSize]',
@@ -375,9 +375,9 @@ class ScrollDispatcher {
375
375
  }
376
376
  }
377
377
  }
378
- ScrollDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollDispatcher, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
379
- ScrollDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' });
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollDispatcher, decorators: [{
378
+ ScrollDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ScrollDispatcher, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
379
+ ScrollDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' });
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ScrollDispatcher, decorators: [{
381
381
  type: Injectable,
382
382
  args: [{ providedIn: 'root' }]
383
383
  }], ctorParameters: function () {
@@ -538,9 +538,9 @@ class CdkScrollable {
538
538
  }
539
539
  }
540
540
  }
541
- CdkScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
542
- CdkScrollable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]", ngImport: i0 });
543
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkScrollable, decorators: [{
541
+ CdkScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
542
+ CdkScrollable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]", ngImport: i0 });
543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkScrollable, decorators: [{
544
544
  type: Directive,
545
545
  args: [{
546
546
  selector: '[cdk-scrollable], [cdkScrollable]',
@@ -671,9 +671,9 @@ class ViewportRuler {
671
671
  : { width: 0, height: 0 };
672
672
  }
673
673
  }
674
- ViewportRuler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
675
- ViewportRuler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ViewportRuler, providedIn: 'root' });
676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ViewportRuler, decorators: [{
674
+ ViewportRuler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
675
+ ViewportRuler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ViewportRuler, providedIn: 'root' });
676
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ViewportRuler, decorators: [{
677
677
  type: Injectable,
678
678
  args: [{ providedIn: 'root' }]
679
679
  }], ctorParameters: function () {
@@ -873,6 +873,8 @@ class CdkVirtualScrollViewport extends CdkScrollable {
873
873
  * (in pixels).
874
874
  */
875
875
  setRenderedContentOffset(offset, to = 'to-start') {
876
+ // In appendOnly, we always start from the top
877
+ offset = this.appendOnly && to === 'to-start' ? 0 : offset;
876
878
  // For a horizontal viewport in a right-to-left language we need to translate along the x-axis
877
879
  // in the negative direction.
878
880
  const isRtl = this.dir && this.dir.value == 'rtl';
@@ -880,8 +882,6 @@ class CdkVirtualScrollViewport extends CdkScrollable {
880
882
  const axis = isHorizontal ? 'X' : 'Y';
881
883
  const axisDirection = isHorizontal && isRtl ? -1 : 1;
882
884
  let transform = `translate${axis}(${Number(axisDirection * offset)}px)`;
883
- // in appendOnly, we always start from the top
884
- offset = this.appendOnly && to === 'to-start' ? 0 : offset;
885
885
  this._renderedContentOffset = offset;
886
886
  if (to === 'to-end') {
887
887
  transform += ` translate${axis}(-100%)`;
@@ -1008,14 +1008,14 @@ class CdkVirtualScrollViewport extends CdkScrollable {
1008
1008
  this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';
1009
1009
  }
1010
1010
  }
1011
- CdkVirtualScrollViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkVirtualScrollViewport, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: VIRTUAL_SCROLL_STRATEGY, optional: true }, { token: i2.Directionality, optional: true }, { token: ScrollDispatcher }, { token: ViewportRuler }], target: i0.ɵɵFactoryTarget.Component });
1012
- CdkVirtualScrollViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: { orientation: "orientation", appendOnly: "appendOnly" }, outputs: { scrolledIndexChange: "scrolledIndexChange" }, host: { properties: { "class.cdk-virtual-scroll-orientation-horizontal": "orientation === \"horizontal\"", "class.cdk-virtual-scroll-orientation-vertical": "orientation !== \"horizontal\"" }, classAttribute: "cdk-virtual-scroll-viewport" }, providers: [
1011
+ CdkVirtualScrollViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkVirtualScrollViewport, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: VIRTUAL_SCROLL_STRATEGY, optional: true }, { token: i2.Directionality, optional: true }, { token: ScrollDispatcher }, { token: ViewportRuler }], target: i0.ɵɵFactoryTarget.Component });
1012
+ CdkVirtualScrollViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: { orientation: "orientation", appendOnly: "appendOnly" }, outputs: { scrolledIndexChange: "scrolledIndexChange" }, host: { properties: { "class.cdk-virtual-scroll-orientation-horizontal": "orientation === \"horizontal\"", "class.cdk-virtual-scroll-orientation-vertical": "orientation !== \"horizontal\"" }, classAttribute: "cdk-virtual-scroll-viewport" }, providers: [
1013
1013
  {
1014
1014
  provide: CdkScrollable,
1015
1015
  useExisting: CdkVirtualScrollViewport,
1016
1016
  },
1017
1017
  ], viewQueries: [{ propertyName: "_contentWrapper", first: true, predicate: ["contentWrapper"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<!--\n Wrap the rendered content in an element that will be used to offset it based on the scroll\n position.\n-->\n<div #contentWrapper class=\"cdk-virtual-scroll-content-wrapper\">\n <ng-content></ng-content>\n</div>\n<!--\n Spacer used to force the scrolling container to the correct size for the *total* number of items\n so that the scrollbar captures the size of the entire data set.\n-->\n<div class=\"cdk-virtual-scroll-spacer\"\n [style.width]=\"_totalContentWidth\" [style.height]=\"_totalContentHeight\"></div>\n", styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{
1018
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{
1019
1019
  type: Component,
1020
1020
  args: [{ selector: 'cdk-virtual-scroll-viewport', host: {
1021
1021
  'class': 'cdk-virtual-scroll-viewport',
@@ -1313,9 +1313,9 @@ class CdkVirtualForOf {
1313
1313
  };
1314
1314
  }
1315
1315
  }
1316
- CdkVirtualForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkVirtualForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: _VIEW_REPEATER_STRATEGY }, { token: CdkVirtualScrollViewport, skipSelf: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1317
- CdkVirtualForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 });
1318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkVirtualForOf, decorators: [{
1316
+ CdkVirtualForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkVirtualForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: _VIEW_REPEATER_STRATEGY }, { token: CdkVirtualScrollViewport, skipSelf: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1317
+ CdkVirtualForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 });
1318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkVirtualForOf, decorators: [{
1319
1319
  type: Directive,
1320
1320
  args: [{
1321
1321
  selector: '[cdkVirtualFor][cdkVirtualForOf]',
@@ -1347,10 +1347,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ng
1347
1347
  */
1348
1348
  class CdkScrollableModule {
1349
1349
  }
1350
- CdkScrollableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1351
- CdkScrollableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkScrollableModule, declarations: [CdkScrollable], exports: [CdkScrollable] });
1352
- CdkScrollableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkScrollableModule });
1353
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: CdkScrollableModule, decorators: [{
1350
+ CdkScrollableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1351
+ CdkScrollableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: CdkScrollableModule, declarations: [CdkScrollable], exports: [CdkScrollable] });
1352
+ CdkScrollableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkScrollableModule });
1353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkScrollableModule, decorators: [{
1354
1354
  type: NgModule,
1355
1355
  args: [{
1356
1356
  exports: [CdkScrollable],
@@ -1362,12 +1362,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ng
1362
1362
  */
1363
1363
  class ScrollingModule {
1364
1364
  }
1365
- ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1366
- ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollingModule, declarations: [CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport], imports: [BidiModule, CdkScrollableModule], exports: [BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll,
1365
+ ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1366
+ ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: ScrollingModule, declarations: [CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport], imports: [BidiModule, CdkScrollableModule], exports: [BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll,
1367
1367
  CdkVirtualForOf,
1368
1368
  CdkVirtualScrollViewport] });
1369
- ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollingModule, imports: [BidiModule, CdkScrollableModule, BidiModule, CdkScrollableModule] });
1370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: ScrollingModule, decorators: [{
1369
+ ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ScrollingModule, imports: [BidiModule, CdkScrollableModule, BidiModule, CdkScrollableModule] });
1370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ScrollingModule, decorators: [{
1371
1371
  type: NgModule,
1372
1372
  args: [{
1373
1373
  imports: [BidiModule, CdkScrollableModule],