@angular/cdk 13.2.0-next.1 → 13.2.2

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 (142) hide show
  1. package/a11y/aria-describer/aria-describer.d.ts +33 -6
  2. package/esm2020/a11y/a11y-module.mjs +4 -4
  3. package/esm2020/a11y/aria-describer/aria-describer.mjs +75 -52
  4. package/esm2020/a11y/fake-event-detection.mjs +7 -5
  5. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +6 -6
  6. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  7. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  8. package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
  9. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  10. package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
  11. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  12. package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
  13. package/esm2020/accordion/accordion-item.mjs +3 -3
  14. package/esm2020/accordion/accordion-module.mjs +4 -4
  15. package/esm2020/accordion/accordion.mjs +3 -3
  16. package/esm2020/bidi/bidi-module.mjs +4 -4
  17. package/esm2020/bidi/dir.mjs +3 -3
  18. package/esm2020/bidi/directionality.mjs +3 -3
  19. package/esm2020/clipboard/clipboard-module.mjs +4 -4
  20. package/esm2020/clipboard/clipboard.mjs +3 -3
  21. package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
  22. package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
  23. package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
  24. package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
  25. package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
  26. package/esm2020/drag-drop/directives/drag.mjs +3 -3
  27. package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
  28. package/esm2020/drag-drop/directives/drop-list.mjs +3 -3
  29. package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
  30. package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
  31. package/esm2020/drag-drop/drag-drop.mjs +3 -3
  32. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  33. package/esm2020/layout/layout-module.mjs +4 -4
  34. package/esm2020/layout/media-matcher.mjs +3 -3
  35. package/esm2020/observers/observe-content.mjs +13 -13
  36. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  37. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
  38. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
  39. package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
  40. package/esm2020/overlay/overlay-container.mjs +3 -3
  41. package/esm2020/overlay/overlay-directives.mjs +6 -6
  42. package/esm2020/overlay/overlay-module.mjs +4 -4
  43. package/esm2020/overlay/overlay.mjs +3 -3
  44. package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +9 -3
  45. package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
  46. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
  47. package/esm2020/platform/platform-module.mjs +4 -4
  48. package/esm2020/platform/platform.mjs +3 -3
  49. package/esm2020/portal/portal-directives.mjs +16 -16
  50. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  51. package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
  52. package/esm2020/scrolling/scrollable.mjs +3 -3
  53. package/esm2020/scrolling/scrolling-module.mjs +8 -8
  54. package/esm2020/scrolling/viewport-ruler.mjs +3 -3
  55. package/esm2020/scrolling/virtual-for-of.mjs +3 -3
  56. package/esm2020/scrolling/virtual-scroll-viewport.mjs +6 -4
  57. package/esm2020/stepper/step-header.mjs +3 -3
  58. package/esm2020/stepper/step-label.mjs +3 -3
  59. package/esm2020/stepper/stepper-button.mjs +6 -6
  60. package/esm2020/stepper/stepper-module.mjs +4 -4
  61. package/esm2020/stepper/stepper.mjs +6 -6
  62. package/esm2020/table/cell.mjs +21 -21
  63. package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
  64. package/esm2020/table/row.mjs +27 -27
  65. package/esm2020/table/table-module.mjs +4 -4
  66. package/esm2020/table/table.mjs +35 -24
  67. package/esm2020/table/text-column.mjs +3 -3
  68. package/esm2020/testing/protractor/protractor-harness-environment.mjs +3 -2
  69. package/esm2020/text-field/autofill.mjs +6 -6
  70. package/esm2020/text-field/autosize.mjs +3 -3
  71. package/esm2020/text-field/text-field-module.mjs +4 -4
  72. package/esm2020/tree/nested-node.mjs +3 -3
  73. package/esm2020/tree/node.mjs +3 -3
  74. package/esm2020/tree/outlet.mjs +3 -3
  75. package/esm2020/tree/padding.mjs +3 -3
  76. package/esm2020/tree/toggle.mjs +3 -3
  77. package/esm2020/tree/tree-module.mjs +4 -4
  78. package/esm2020/tree/tree.mjs +6 -6
  79. package/esm2020/version.mjs +1 -1
  80. package/fesm2015/a11y.mjs +122 -97
  81. package/fesm2015/a11y.mjs.map +1 -1
  82. package/fesm2015/accordion.mjs +10 -10
  83. package/fesm2015/bidi.mjs +10 -10
  84. package/fesm2015/cdk.mjs +1 -1
  85. package/fesm2015/cdk.mjs.map +1 -1
  86. package/fesm2015/clipboard.mjs +10 -10
  87. package/fesm2015/collections.mjs +3 -3
  88. package/fesm2015/drag-drop.mjs +28 -28
  89. package/fesm2015/layout.mjs +10 -10
  90. package/fesm2015/layout.mjs.map +1 -1
  91. package/fesm2015/observers.mjs +13 -13
  92. package/fesm2015/overlay.mjs +42 -36
  93. package/fesm2015/overlay.mjs.map +1 -1
  94. package/fesm2015/platform.mjs +7 -7
  95. package/fesm2015/portal.mjs +16 -16
  96. package/fesm2015/scrolling.mjs +28 -26
  97. package/fesm2015/scrolling.mjs.map +1 -1
  98. package/fesm2015/stepper.mjs +22 -22
  99. package/fesm2015/table.mjs +92 -81
  100. package/fesm2015/table.mjs.map +1 -1
  101. package/fesm2015/testing/protractor.mjs +2 -1
  102. package/fesm2015/testing/protractor.mjs.map +1 -1
  103. package/fesm2015/text-field.mjs +13 -13
  104. package/fesm2015/tree.mjs +25 -25
  105. package/fesm2020/a11y.mjs +119 -96
  106. package/fesm2020/a11y.mjs.map +1 -1
  107. package/fesm2020/accordion.mjs +10 -10
  108. package/fesm2020/bidi.mjs +10 -10
  109. package/fesm2020/cdk.mjs +1 -1
  110. package/fesm2020/cdk.mjs.map +1 -1
  111. package/fesm2020/clipboard.mjs +10 -10
  112. package/fesm2020/collections.mjs +3 -3
  113. package/fesm2020/drag-drop.mjs +28 -28
  114. package/fesm2020/layout.mjs +10 -10
  115. package/fesm2020/layout.mjs.map +1 -1
  116. package/fesm2020/observers.mjs +13 -13
  117. package/fesm2020/overlay.mjs +42 -36
  118. package/fesm2020/overlay.mjs.map +1 -1
  119. package/fesm2020/platform.mjs +7 -7
  120. package/fesm2020/portal.mjs +16 -16
  121. package/fesm2020/scrolling.mjs +28 -26
  122. package/fesm2020/scrolling.mjs.map +1 -1
  123. package/fesm2020/stepper.mjs +22 -22
  124. package/fesm2020/table.mjs +92 -81
  125. package/fesm2020/table.mjs.map +1 -1
  126. package/fesm2020/testing/protractor.mjs +2 -1
  127. package/fesm2020/testing/protractor.mjs.map +1 -1
  128. package/fesm2020/text-field.mjs +13 -13
  129. package/fesm2020/tree.mjs +25 -25
  130. package/package.json +1 -1
  131. package/schematics/ng-add/index.js +1 -1
  132. package/schematics/ng-add/index.mjs +1 -1
  133. package/schematics/ng-generate/drag-drop/schema.json +1 -1
  134. package/schematics/ng-update/devkit-migration.js +1 -1
  135. package/schematics/ng-update/devkit-migration.mjs +1 -1
  136. package/schematics/tsconfig.json +3 -10
  137. package/schematics/utils/html-manipulation.js +3 -1
  138. package/schematics/utils/html-manipulation.mjs +3 -1
  139. package/schematics/utils/project-tsconfig-paths.js +2 -2
  140. package/schematics/utils/project-tsconfig-paths.mjs +2 -2
  141. package/table/table.d.ts +2 -2
  142. package/testing/protractor/protractor-harness-environment.d.ts +2 -1
@@ -74,9 +74,9 @@ class Platform {
74
74
  this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;
75
75
  }
76
76
  }
77
- Platform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: Platform, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
78
- Platform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: Platform, providedIn: 'root' });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: Platform, decorators: [{
77
+ Platform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: Platform, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
78
+ Platform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: Platform, providedIn: 'root' });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: Platform, decorators: [{
80
80
  type: Injectable,
81
81
  args: [{ providedIn: 'root' }]
82
82
  }], ctorParameters: function () { return [{ type: Object, decorators: [{
@@ -93,10 +93,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
93
93
  */
94
94
  class PlatformModule {
95
95
  }
96
- PlatformModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
97
- PlatformModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PlatformModule });
98
- PlatformModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PlatformModule });
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PlatformModule, decorators: [{
96
+ PlatformModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
97
+ PlatformModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PlatformModule });
98
+ PlatformModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PlatformModule });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PlatformModule, decorators: [{
100
100
  type: NgModule,
101
101
  args: [{}]
102
102
  }] });
@@ -379,9 +379,9 @@ class CdkPortal extends TemplatePortal {
379
379
  super(templateRef, viewContainerRef);
380
380
  }
381
381
  }
382
- CdkPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkPortal, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
383
- CdkPortal.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: CdkPortal, selector: "[cdkPortal]", exportAs: ["cdkPortal"], usesInheritance: true, ngImport: i0 });
384
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkPortal, decorators: [{
382
+ CdkPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkPortal, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
383
+ CdkPortal.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkPortal, selector: "[cdkPortal]", exportAs: ["cdkPortal"], usesInheritance: true, ngImport: i0 });
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkPortal, decorators: [{
385
385
  type: Directive,
386
386
  args: [{
387
387
  selector: '[cdkPortal]',
@@ -394,14 +394,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
394
394
  */
395
395
  class TemplatePortalDirective extends CdkPortal {
396
396
  }
397
- TemplatePortalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: TemplatePortalDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
398
- TemplatePortalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: TemplatePortalDirective, selector: "[cdk-portal], [portal]", providers: [
397
+ TemplatePortalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: TemplatePortalDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
398
+ TemplatePortalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: TemplatePortalDirective, selector: "[cdk-portal], [portal]", providers: [
399
399
  {
400
400
  provide: CdkPortal,
401
401
  useExisting: TemplatePortalDirective,
402
402
  },
403
403
  ], exportAs: ["cdkPortal"], usesInheritance: true, ngImport: i0 });
404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: TemplatePortalDirective, decorators: [{
404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: TemplatePortalDirective, decorators: [{
405
405
  type: Directive,
406
406
  args: [{
407
407
  selector: '[cdk-portal], [portal]',
@@ -548,9 +548,9 @@ class CdkPortalOutlet extends BasePortalOutlet {
548
548
  : nativeElement.parentNode);
549
549
  }
550
550
  }
551
- CdkPortalOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkPortalOutlet, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
552
- CdkPortalOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: { portal: ["cdkPortalOutlet", "portal"] }, outputs: { attached: "attached" }, exportAs: ["cdkPortalOutlet"], usesInheritance: true, ngImport: i0 });
553
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkPortalOutlet, decorators: [{
551
+ CdkPortalOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkPortalOutlet, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
552
+ CdkPortalOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: { portal: ["cdkPortalOutlet", "portal"] }, outputs: { attached: "attached" }, exportAs: ["cdkPortalOutlet"], usesInheritance: true, ngImport: i0 });
553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkPortalOutlet, decorators: [{
554
554
  type: Directive,
555
555
  args: [{
556
556
  selector: '[cdkPortalOutlet]',
@@ -569,14 +569,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
569
569
  */
570
570
  class PortalHostDirective extends CdkPortalOutlet {
571
571
  }
572
- PortalHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PortalHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
573
- PortalHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: PortalHostDirective, selector: "[cdkPortalHost], [portalHost]", inputs: { portal: ["cdkPortalHost", "portal"] }, providers: [
572
+ PortalHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PortalHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
573
+ PortalHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: PortalHostDirective, selector: "[cdkPortalHost], [portalHost]", inputs: { portal: ["cdkPortalHost", "portal"] }, providers: [
574
574
  {
575
575
  provide: CdkPortalOutlet,
576
576
  useExisting: PortalHostDirective,
577
577
  },
578
578
  ], exportAs: ["cdkPortalHost"], usesInheritance: true, ngImport: i0 });
579
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PortalHostDirective, decorators: [{
579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PortalHostDirective, decorators: [{
580
580
  type: Directive,
581
581
  args: [{
582
582
  selector: '[cdkPortalHost], [portalHost]',
@@ -592,10 +592,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
592
592
  }] });
593
593
  class PortalModule {
594
594
  }
595
- PortalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
596
- PortalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PortalModule, declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] });
597
- PortalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PortalModule });
598
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PortalModule, decorators: [{
595
+ PortalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
596
+ PortalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PortalModule, declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] });
597
+ PortalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PortalModule });
598
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: PortalModule, decorators: [{
599
599
  type: NgModule,
600
600
  args: [{
601
601
  exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],
@@ -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: "13.1.0", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
208
- CdkFixedSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", 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: "13.2.0", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
208
+ CdkFixedSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", 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: "13.1.0", ngImport: i0, type: CdkFixedSizeVirtualScroll, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", 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: "13.1.0", 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: "13.1.0", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' });
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ScrollDispatcher, decorators: [{
378
+ ScrollDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", 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: "13.2.0", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' });
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ScrollDispatcher, decorators: [{
381
381
  type: Injectable,
382
382
  args: [{ providedIn: 'root' }]
383
383
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{
@@ -543,9 +543,9 @@ class CdkScrollable {
543
543
  }
544
544
  }
545
545
  }
546
- CdkScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
547
- CdkScrollable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]", ngImport: i0 });
548
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkScrollable, decorators: [{
546
+ CdkScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
547
+ CdkScrollable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]", ngImport: i0 });
548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkScrollable, decorators: [{
549
549
  type: Directive,
550
550
  args: [{
551
551
  selector: '[cdk-scrollable], [cdkScrollable]',
@@ -681,9 +681,9 @@ class ViewportRuler {
681
681
  : { width: 0, height: 0 };
682
682
  }
683
683
  }
684
- ViewportRuler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
685
- ViewportRuler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ViewportRuler, providedIn: 'root' });
686
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ViewportRuler, decorators: [{
684
+ ViewportRuler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
685
+ ViewportRuler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ViewportRuler, providedIn: 'root' });
686
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ViewportRuler, decorators: [{
687
687
  type: Injectable,
688
688
  args: [{ providedIn: 'root' }]
689
689
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -895,6 +895,8 @@ class CdkVirtualScrollViewport extends CdkScrollable {
895
895
  const axis = isHorizontal ? 'X' : 'Y';
896
896
  const axisDirection = isHorizontal && isRtl ? -1 : 1;
897
897
  let transform = `translate${axis}(${Number(axisDirection * offset)}px)`;
898
+ // in appendOnly, we always start from the top
899
+ offset = this.appendOnly && to === 'to-start' ? 0 : offset;
898
900
  this._renderedContentOffset = offset;
899
901
  if (to === 'to-end') {
900
902
  transform += ` translate${axis}(-100%)`;
@@ -1021,14 +1023,14 @@ class CdkVirtualScrollViewport extends CdkScrollable {
1021
1023
  this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';
1022
1024
  }
1023
1025
  }
1024
- CdkVirtualScrollViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", 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 });
1025
- CdkVirtualScrollViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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: [
1026
+ CdkVirtualScrollViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", 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 });
1027
+ CdkVirtualScrollViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", 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: [
1026
1028
  {
1027
1029
  provide: CdkScrollable,
1028
1030
  useExisting: CdkVirtualScrollViewport,
1029
1031
  },
1030
1032
  ], 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}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{
1033
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{
1032
1034
  type: Component,
1033
1035
  args: [{ selector: 'cdk-virtual-scroll-viewport', host: {
1034
1036
  'class': 'cdk-virtual-scroll-viewport',
@@ -1322,9 +1324,9 @@ class CdkVirtualForOf {
1322
1324
  };
1323
1325
  }
1324
1326
  }
1325
- CdkVirtualForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", 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 });
1326
- CdkVirtualForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 });
1327
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkVirtualForOf, decorators: [{
1327
+ CdkVirtualForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", 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 });
1328
+ CdkVirtualForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 });
1329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkVirtualForOf, decorators: [{
1328
1330
  type: Directive,
1329
1331
  args: [{
1330
1332
  selector: '[cdkVirtualFor][cdkVirtualForOf]',
@@ -1354,10 +1356,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
1354
1356
  */
1355
1357
  class CdkScrollableModule {
1356
1358
  }
1357
- CdkScrollableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1358
- CdkScrollableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkScrollableModule, declarations: [CdkScrollable], exports: [CdkScrollable] });
1359
- CdkScrollableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkScrollableModule });
1360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: CdkScrollableModule, decorators: [{
1359
+ CdkScrollableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1360
+ CdkScrollableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkScrollableModule, declarations: [CdkScrollable], exports: [CdkScrollable] });
1361
+ CdkScrollableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkScrollableModule });
1362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkScrollableModule, decorators: [{
1361
1363
  type: NgModule,
1362
1364
  args: [{
1363
1365
  exports: [CdkScrollable],
@@ -1369,12 +1371,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
1369
1371
  */
1370
1372
  class ScrollingModule {
1371
1373
  }
1372
- ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1373
- ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ScrollingModule, declarations: [CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport], imports: [BidiModule, PlatformModule, CdkScrollableModule], exports: [BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll,
1374
+ ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1375
+ ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ScrollingModule, declarations: [CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport], imports: [BidiModule, PlatformModule, CdkScrollableModule], exports: [BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll,
1374
1376
  CdkVirtualForOf,
1375
1377
  CdkVirtualScrollViewport] });
1376
- ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ScrollingModule, imports: [[BidiModule, PlatformModule, CdkScrollableModule], BidiModule, CdkScrollableModule] });
1377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: ScrollingModule, decorators: [{
1378
+ ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ScrollingModule, imports: [[BidiModule, PlatformModule, CdkScrollableModule], BidiModule, CdkScrollableModule] });
1379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ScrollingModule, decorators: [{
1378
1380
  type: NgModule,
1379
1381
  args: [{
1380
1382
  imports: [BidiModule, PlatformModule, CdkScrollableModule],