@angular/cdk 21.1.0-next.0 → 21.1.0-next.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.
- package/fesm2022/_a11y-module-chunk.mjs +30 -24
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_array-chunk.mjs.map +1 -1
- package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
- package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
- package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
- package/fesm2022/_data-source-chunk.mjs.map +1 -1
- package/fesm2022/_directionality-chunk.mjs +3 -3
- package/fesm2022/_directionality-chunk.mjs.map +1 -1
- package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_element-chunk.mjs.map +1 -1
- package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
- package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_focus-monitor-chunk.mjs +9 -9
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- package/fesm2022/_id-generator-chunk.mjs.map +1 -1
- package/fesm2022/_keycodes-chunk.mjs.map +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs +5 -5
- package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs +42 -34
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs +3 -3
- package/fesm2022/_platform-chunk.mjs.map +1 -1
- package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs +1 -3
- package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_scrolling-chunk.mjs.map +1 -1
- package/fesm2022/_selection-model-chunk.mjs.map +1 -1
- package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
- package/fesm2022/_style-loader-chunk.mjs +3 -3
- package/fesm2022/_style-loader-chunk.mjs.map +1 -1
- package/fesm2022/_test-environment-chunk.mjs.map +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_typeahead-chunk.mjs.map +1 -1
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
- package/fesm2022/a11y.mjs +11 -10
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +10 -10
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +7 -7
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion-private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +1 -1
- package/fesm2022/dialog.mjs +12 -11
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +31 -31
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +4 -4
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +10 -10
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +69 -52
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers-private.mjs +3 -3
- package/fesm2022/observers-private.mjs.map +1 -1
- package/fesm2022/observers.mjs +13 -13
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +3 -3
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +4 -4
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +10 -10
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +52 -3
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +55 -53
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +22 -22
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +214 -109
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +16 -16
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_a11y-module-chunk.d.ts +9 -5
- package/types/_overlay-module-chunk.d.ts +1 -0
- package/types/_scrolling-module-chunk.d.ts +11 -1
- package/types/_view-repeater-chunk.d.ts +2 -7
- package/types/a11y.d.ts +2 -1
- package/types/collections.d.ts +1 -1
- package/types/dialog.d.ts +1 -0
- package/types/menu.d.ts +7 -2
- package/types/private.d.ts +5 -1
- package/types/scrolling.d.ts +1 -1
- package/types/table.d.ts +62 -11
- package/_adev_assets/cdk_drag_drop.json +0 -7221
- package/_adev_assets/cdk_testing.json +0 -7601
- package/_adev_assets/cdk_testing_protractor.json +0 -1747
- package/_adev_assets/cdk_testing_selenium_webdriver.json +0 -1801
- package/_adev_assets/cdk_testing_testbed.json +0 -1903
- package/fesm2022/_visually-hidden-chunk.mjs +0 -46
- package/fesm2022/_visually-hidden-chunk.mjs.map +0 -1
package/fesm2022/scrolling.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { Directionality } from './_directionality-chunk.mjs';
|
|
|
8
8
|
import { getRtlScrollAxisType, RtlScrollAxisType, supportsScrollBehavior } from './_scrolling-chunk.mjs';
|
|
9
9
|
import { BidiModule } from './bidi.mjs';
|
|
10
10
|
export { Dir as ɵɵDir } from './bidi.mjs';
|
|
11
|
-
import {
|
|
11
|
+
import { _RecycleViewRepeaterStrategy, ArrayDataSource } from './_recycle-view-repeater-strategy-chunk.mjs';
|
|
12
12
|
import { isDataSource } from './_data-source-chunk.mjs';
|
|
13
13
|
import '@angular/common';
|
|
14
14
|
|
|
@@ -139,7 +139,7 @@ class CdkFixedSizeVirtualScroll {
|
|
|
139
139
|
}
|
|
140
140
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
141
141
|
minVersion: "12.0.0",
|
|
142
|
-
version: "21.0.
|
|
142
|
+
version: "21.0.3",
|
|
143
143
|
ngImport: i0,
|
|
144
144
|
type: CdkFixedSizeVirtualScroll,
|
|
145
145
|
deps: [],
|
|
@@ -147,7 +147,7 @@ class CdkFixedSizeVirtualScroll {
|
|
|
147
147
|
});
|
|
148
148
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
149
149
|
minVersion: "14.0.0",
|
|
150
|
-
version: "21.0.
|
|
150
|
+
version: "21.0.3",
|
|
151
151
|
type: CdkFixedSizeVirtualScroll,
|
|
152
152
|
isStandalone: true,
|
|
153
153
|
selector: "cdk-virtual-scroll-viewport[itemSize]",
|
|
@@ -167,7 +167,7 @@ class CdkFixedSizeVirtualScroll {
|
|
|
167
167
|
}
|
|
168
168
|
i0.ɵɵngDeclareClassMetadata({
|
|
169
169
|
minVersion: "12.0.0",
|
|
170
|
-
version: "21.0.
|
|
170
|
+
version: "21.0.3",
|
|
171
171
|
ngImport: i0,
|
|
172
172
|
type: CdkFixedSizeVirtualScroll,
|
|
173
173
|
decorators: [{
|
|
@@ -267,7 +267,7 @@ class ScrollDispatcher {
|
|
|
267
267
|
}
|
|
268
268
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
269
269
|
minVersion: "12.0.0",
|
|
270
|
-
version: "21.0.
|
|
270
|
+
version: "21.0.3",
|
|
271
271
|
ngImport: i0,
|
|
272
272
|
type: ScrollDispatcher,
|
|
273
273
|
deps: [],
|
|
@@ -275,7 +275,7 @@ class ScrollDispatcher {
|
|
|
275
275
|
});
|
|
276
276
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
277
277
|
minVersion: "12.0.0",
|
|
278
|
-
version: "21.0.
|
|
278
|
+
version: "21.0.3",
|
|
279
279
|
ngImport: i0,
|
|
280
280
|
type: ScrollDispatcher,
|
|
281
281
|
providedIn: 'root'
|
|
@@ -283,7 +283,7 @@ class ScrollDispatcher {
|
|
|
283
283
|
}
|
|
284
284
|
i0.ɵɵngDeclareClassMetadata({
|
|
285
285
|
minVersion: "12.0.0",
|
|
286
|
-
version: "21.0.
|
|
286
|
+
version: "21.0.3",
|
|
287
287
|
ngImport: i0,
|
|
288
288
|
type: ScrollDispatcher,
|
|
289
289
|
decorators: [{
|
|
@@ -404,7 +404,7 @@ class CdkScrollable {
|
|
|
404
404
|
}
|
|
405
405
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
406
406
|
minVersion: "12.0.0",
|
|
407
|
-
version: "21.0.
|
|
407
|
+
version: "21.0.3",
|
|
408
408
|
ngImport: i0,
|
|
409
409
|
type: CdkScrollable,
|
|
410
410
|
deps: [],
|
|
@@ -412,7 +412,7 @@ class CdkScrollable {
|
|
|
412
412
|
});
|
|
413
413
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
414
414
|
minVersion: "14.0.0",
|
|
415
|
-
version: "21.0.
|
|
415
|
+
version: "21.0.3",
|
|
416
416
|
type: CdkScrollable,
|
|
417
417
|
isStandalone: true,
|
|
418
418
|
selector: "[cdk-scrollable], [cdkScrollable]",
|
|
@@ -421,7 +421,7 @@ class CdkScrollable {
|
|
|
421
421
|
}
|
|
422
422
|
i0.ɵɵngDeclareClassMetadata({
|
|
423
423
|
minVersion: "12.0.0",
|
|
424
|
-
version: "21.0.
|
|
424
|
+
version: "21.0.3",
|
|
425
425
|
ngImport: i0,
|
|
426
426
|
type: CdkScrollable,
|
|
427
427
|
decorators: [{
|
|
@@ -519,7 +519,7 @@ class ViewportRuler {
|
|
|
519
519
|
}
|
|
520
520
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
521
521
|
minVersion: "12.0.0",
|
|
522
|
-
version: "21.0.
|
|
522
|
+
version: "21.0.3",
|
|
523
523
|
ngImport: i0,
|
|
524
524
|
type: ViewportRuler,
|
|
525
525
|
deps: [],
|
|
@@ -527,7 +527,7 @@ class ViewportRuler {
|
|
|
527
527
|
});
|
|
528
528
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
529
529
|
minVersion: "12.0.0",
|
|
530
|
-
version: "21.0.
|
|
530
|
+
version: "21.0.3",
|
|
531
531
|
ngImport: i0,
|
|
532
532
|
type: ViewportRuler,
|
|
533
533
|
providedIn: 'root'
|
|
@@ -535,7 +535,7 @@ class ViewportRuler {
|
|
|
535
535
|
}
|
|
536
536
|
i0.ɵɵngDeclareClassMetadata({
|
|
537
537
|
minVersion: "12.0.0",
|
|
538
|
-
version: "21.0.
|
|
538
|
+
version: "21.0.3",
|
|
539
539
|
ngImport: i0,
|
|
540
540
|
type: ViewportRuler,
|
|
541
541
|
decorators: [{
|
|
@@ -558,7 +558,7 @@ class CdkVirtualScrollable extends CdkScrollable {
|
|
|
558
558
|
}
|
|
559
559
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
560
560
|
minVersion: "12.0.0",
|
|
561
|
-
version: "21.0.
|
|
561
|
+
version: "21.0.3",
|
|
562
562
|
ngImport: i0,
|
|
563
563
|
type: CdkVirtualScrollable,
|
|
564
564
|
deps: [],
|
|
@@ -566,7 +566,7 @@ class CdkVirtualScrollable extends CdkScrollable {
|
|
|
566
566
|
});
|
|
567
567
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
568
568
|
minVersion: "14.0.0",
|
|
569
|
-
version: "21.0.
|
|
569
|
+
version: "21.0.3",
|
|
570
570
|
type: CdkVirtualScrollable,
|
|
571
571
|
isStandalone: true,
|
|
572
572
|
usesInheritance: true,
|
|
@@ -575,7 +575,7 @@ class CdkVirtualScrollable extends CdkScrollable {
|
|
|
575
575
|
}
|
|
576
576
|
i0.ɵɵngDeclareClassMetadata({
|
|
577
577
|
minVersion: "12.0.0",
|
|
578
|
-
version: "21.0.
|
|
578
|
+
version: "21.0.3",
|
|
579
579
|
ngImport: i0,
|
|
580
580
|
type: CdkVirtualScrollable,
|
|
581
581
|
decorators: [{
|
|
@@ -588,6 +588,7 @@ function rangesEqual(r1, r2) {
|
|
|
588
588
|
return r1.start == r2.start && r1.end == r2.end;
|
|
589
589
|
}
|
|
590
590
|
const SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? animationFrameScheduler : asapScheduler;
|
|
591
|
+
const CDK_VIRTUAL_SCROLL_VIEWPORT = new InjectionToken('CDK_VIRTUAL_SCROLL_VIEWPORT');
|
|
591
592
|
class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
592
593
|
elementRef = inject(ElementRef);
|
|
593
594
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
@@ -600,6 +601,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
600
601
|
_platform = inject(Platform);
|
|
601
602
|
_detachedSubject = new Subject();
|
|
602
603
|
_renderedRangeSubject = new Subject();
|
|
604
|
+
_renderedContentOffsetSubject = new Subject();
|
|
603
605
|
get orientation() {
|
|
604
606
|
return this._orientation;
|
|
605
607
|
}
|
|
@@ -614,6 +616,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
614
616
|
scrolledIndexChange = new Observable(observer => this._scrollStrategy.scrolledIndexChange.subscribe(index => Promise.resolve().then(() => this.ngZone.run(() => observer.next(index)))));
|
|
615
617
|
_contentWrapper;
|
|
616
618
|
renderedRangeStream = this._renderedRangeSubject;
|
|
619
|
+
renderedContentOffset = this._renderedContentOffsetSubject.pipe(filter(offset => offset !== null), distinctUntilChanged());
|
|
617
620
|
_totalContentSize = 0;
|
|
618
621
|
_totalContentWidth = signal('', ...(ngDevMode ? [{
|
|
619
622
|
debugName: "_totalContentWidth"
|
|
@@ -655,12 +658,12 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
655
658
|
if (this._changeDetectionNeeded()) {
|
|
656
659
|
this._doChangeDetection();
|
|
657
660
|
}
|
|
658
|
-
},
|
|
659
|
-
|
|
661
|
+
}, {
|
|
662
|
+
...(ngDevMode ? {
|
|
663
|
+
debugName: "ref"
|
|
664
|
+
} : {}),
|
|
660
665
|
injector: inject(ApplicationRef).injector
|
|
661
|
-
}
|
|
662
|
-
injector: inject(ApplicationRef).injector
|
|
663
|
-
}]));
|
|
666
|
+
});
|
|
664
667
|
inject(DestroyRef).onDestroy(() => void ref.destroy());
|
|
665
668
|
}
|
|
666
669
|
ngOnInit() {
|
|
@@ -845,6 +848,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
845
848
|
this.ngZone.run(() => {
|
|
846
849
|
this._changeDetectorRef.markForCheck();
|
|
847
850
|
this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform;
|
|
851
|
+
this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart());
|
|
848
852
|
afterNextRender(() => {
|
|
849
853
|
this._changeDetectionNeeded.set(false);
|
|
850
854
|
const runAfterChangeDetection = this._runAfterChangeDetection;
|
|
@@ -863,7 +867,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
863
867
|
}
|
|
864
868
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
865
869
|
minVersion: "12.0.0",
|
|
866
|
-
version: "21.0.
|
|
870
|
+
version: "21.0.3",
|
|
867
871
|
ngImport: i0,
|
|
868
872
|
type: CdkVirtualScrollViewport,
|
|
869
873
|
deps: [],
|
|
@@ -871,7 +875,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
871
875
|
});
|
|
872
876
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
873
877
|
minVersion: "16.1.0",
|
|
874
|
-
version: "21.0.
|
|
878
|
+
version: "21.0.3",
|
|
875
879
|
type: CdkVirtualScrollViewport,
|
|
876
880
|
isStandalone: true,
|
|
877
881
|
selector: "cdk-virtual-scroll-viewport",
|
|
@@ -894,6 +898,9 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
894
898
|
useFactory: () => inject(VIRTUAL_SCROLLABLE, {
|
|
895
899
|
optional: true
|
|
896
900
|
}) || inject(CdkVirtualScrollViewport)
|
|
901
|
+
}, {
|
|
902
|
+
provide: CDK_VIRTUAL_SCROLL_VIEWPORT,
|
|
903
|
+
useExisting: CdkVirtualScrollViewport
|
|
897
904
|
}],
|
|
898
905
|
viewQueries: [{
|
|
899
906
|
propertyName: "_contentWrapper",
|
|
@@ -912,7 +919,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
912
919
|
}
|
|
913
920
|
i0.ɵɵngDeclareClassMetadata({
|
|
914
921
|
minVersion: "12.0.0",
|
|
915
|
-
version: "21.0.
|
|
922
|
+
version: "21.0.3",
|
|
916
923
|
ngImport: i0,
|
|
917
924
|
type: CdkVirtualScrollViewport,
|
|
918
925
|
decorators: [{
|
|
@@ -931,6 +938,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
931
938
|
useFactory: () => inject(VIRTUAL_SCROLLABLE, {
|
|
932
939
|
optional: true
|
|
933
940
|
}) || inject(CdkVirtualScrollViewport)
|
|
941
|
+
}, {
|
|
942
|
+
provide: CDK_VIRTUAL_SCROLL_VIEWPORT,
|
|
943
|
+
useExisting: CdkVirtualScrollViewport
|
|
934
944
|
}],
|
|
935
945
|
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",
|
|
936
946
|
styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.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{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\n"]
|
|
@@ -974,8 +984,8 @@ class CdkVirtualForOf {
|
|
|
974
984
|
_viewContainerRef = inject(ViewContainerRef);
|
|
975
985
|
_template = inject(TemplateRef);
|
|
976
986
|
_differs = inject(IterableDiffers);
|
|
977
|
-
_viewRepeater =
|
|
978
|
-
_viewport = inject(
|
|
987
|
+
_viewRepeater = new _RecycleViewRepeaterStrategy();
|
|
988
|
+
_viewport = inject(CDK_VIRTUAL_SCROLL_VIEWPORT, {
|
|
979
989
|
skipSelf: true
|
|
980
990
|
});
|
|
981
991
|
viewChange = new Subject();
|
|
@@ -1153,7 +1163,7 @@ class CdkVirtualForOf {
|
|
|
1153
1163
|
}
|
|
1154
1164
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1155
1165
|
minVersion: "12.0.0",
|
|
1156
|
-
version: "21.0.
|
|
1166
|
+
version: "21.0.3",
|
|
1157
1167
|
ngImport: i0,
|
|
1158
1168
|
type: CdkVirtualForOf,
|
|
1159
1169
|
deps: [],
|
|
@@ -1161,7 +1171,7 @@ class CdkVirtualForOf {
|
|
|
1161
1171
|
});
|
|
1162
1172
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1163
1173
|
minVersion: "14.0.0",
|
|
1164
|
-
version: "21.0.
|
|
1174
|
+
version: "21.0.3",
|
|
1165
1175
|
type: CdkVirtualForOf,
|
|
1166
1176
|
isStandalone: true,
|
|
1167
1177
|
selector: "[cdkVirtualFor][cdkVirtualForOf]",
|
|
@@ -1171,26 +1181,18 @@ class CdkVirtualForOf {
|
|
|
1171
1181
|
cdkVirtualForTemplate: "cdkVirtualForTemplate",
|
|
1172
1182
|
cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize"
|
|
1173
1183
|
},
|
|
1174
|
-
providers: [{
|
|
1175
|
-
provide: _VIEW_REPEATER_STRATEGY,
|
|
1176
|
-
useClass: _RecycleViewRepeaterStrategy
|
|
1177
|
-
}],
|
|
1178
1184
|
ngImport: i0
|
|
1179
1185
|
});
|
|
1180
1186
|
}
|
|
1181
1187
|
i0.ɵɵngDeclareClassMetadata({
|
|
1182
1188
|
minVersion: "12.0.0",
|
|
1183
|
-
version: "21.0.
|
|
1189
|
+
version: "21.0.3",
|
|
1184
1190
|
ngImport: i0,
|
|
1185
1191
|
type: CdkVirtualForOf,
|
|
1186
1192
|
decorators: [{
|
|
1187
1193
|
type: Directive,
|
|
1188
1194
|
args: [{
|
|
1189
|
-
selector: '[cdkVirtualFor][cdkVirtualForOf]'
|
|
1190
|
-
providers: [{
|
|
1191
|
-
provide: _VIEW_REPEATER_STRATEGY,
|
|
1192
|
-
useClass: _RecycleViewRepeaterStrategy
|
|
1193
|
-
}]
|
|
1195
|
+
selector: '[cdkVirtualFor][cdkVirtualForOf]'
|
|
1194
1196
|
}]
|
|
1195
1197
|
}],
|
|
1196
1198
|
ctorParameters: () => [],
|
|
@@ -1219,7 +1221,7 @@ class CdkVirtualScrollableElement extends CdkVirtualScrollable {
|
|
|
1219
1221
|
}
|
|
1220
1222
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1221
1223
|
minVersion: "12.0.0",
|
|
1222
|
-
version: "21.0.
|
|
1224
|
+
version: "21.0.3",
|
|
1223
1225
|
ngImport: i0,
|
|
1224
1226
|
type: CdkVirtualScrollableElement,
|
|
1225
1227
|
deps: [],
|
|
@@ -1227,7 +1229,7 @@ class CdkVirtualScrollableElement extends CdkVirtualScrollable {
|
|
|
1227
1229
|
});
|
|
1228
1230
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1229
1231
|
minVersion: "14.0.0",
|
|
1230
|
-
version: "21.0.
|
|
1232
|
+
version: "21.0.3",
|
|
1231
1233
|
type: CdkVirtualScrollableElement,
|
|
1232
1234
|
isStandalone: true,
|
|
1233
1235
|
selector: "[cdkVirtualScrollingElement]",
|
|
@@ -1244,7 +1246,7 @@ class CdkVirtualScrollableElement extends CdkVirtualScrollable {
|
|
|
1244
1246
|
}
|
|
1245
1247
|
i0.ɵɵngDeclareClassMetadata({
|
|
1246
1248
|
minVersion: "12.0.0",
|
|
1247
|
-
version: "21.0.
|
|
1249
|
+
version: "21.0.3",
|
|
1248
1250
|
ngImport: i0,
|
|
1249
1251
|
type: CdkVirtualScrollableElement,
|
|
1250
1252
|
decorators: [{
|
|
@@ -1275,7 +1277,7 @@ class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
|
|
|
1275
1277
|
}
|
|
1276
1278
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1277
1279
|
minVersion: "12.0.0",
|
|
1278
|
-
version: "21.0.
|
|
1280
|
+
version: "21.0.3",
|
|
1279
1281
|
ngImport: i0,
|
|
1280
1282
|
type: CdkVirtualScrollableWindow,
|
|
1281
1283
|
deps: [],
|
|
@@ -1283,7 +1285,7 @@ class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
|
|
|
1283
1285
|
});
|
|
1284
1286
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1285
1287
|
minVersion: "14.0.0",
|
|
1286
|
-
version: "21.0.
|
|
1288
|
+
version: "21.0.3",
|
|
1287
1289
|
type: CdkVirtualScrollableWindow,
|
|
1288
1290
|
isStandalone: true,
|
|
1289
1291
|
selector: "cdk-virtual-scroll-viewport[scrollWindow]",
|
|
@@ -1297,7 +1299,7 @@ class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
|
|
|
1297
1299
|
}
|
|
1298
1300
|
i0.ɵɵngDeclareClassMetadata({
|
|
1299
1301
|
minVersion: "12.0.0",
|
|
1300
|
-
version: "21.0.
|
|
1302
|
+
version: "21.0.3",
|
|
1301
1303
|
ngImport: i0,
|
|
1302
1304
|
type: CdkVirtualScrollableWindow,
|
|
1303
1305
|
decorators: [{
|
|
@@ -1316,7 +1318,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1316
1318
|
class CdkScrollableModule {
|
|
1317
1319
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1318
1320
|
minVersion: "12.0.0",
|
|
1319
|
-
version: "21.0.
|
|
1321
|
+
version: "21.0.3",
|
|
1320
1322
|
ngImport: i0,
|
|
1321
1323
|
type: CdkScrollableModule,
|
|
1322
1324
|
deps: [],
|
|
@@ -1324,7 +1326,7 @@ class CdkScrollableModule {
|
|
|
1324
1326
|
});
|
|
1325
1327
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1326
1328
|
minVersion: "14.0.0",
|
|
1327
|
-
version: "21.0.
|
|
1329
|
+
version: "21.0.3",
|
|
1328
1330
|
ngImport: i0,
|
|
1329
1331
|
type: CdkScrollableModule,
|
|
1330
1332
|
imports: [CdkScrollable],
|
|
@@ -1332,14 +1334,14 @@ class CdkScrollableModule {
|
|
|
1332
1334
|
});
|
|
1333
1335
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1334
1336
|
minVersion: "12.0.0",
|
|
1335
|
-
version: "21.0.
|
|
1337
|
+
version: "21.0.3",
|
|
1336
1338
|
ngImport: i0,
|
|
1337
1339
|
type: CdkScrollableModule
|
|
1338
1340
|
});
|
|
1339
1341
|
}
|
|
1340
1342
|
i0.ɵɵngDeclareClassMetadata({
|
|
1341
1343
|
minVersion: "12.0.0",
|
|
1342
|
-
version: "21.0.
|
|
1344
|
+
version: "21.0.3",
|
|
1343
1345
|
ngImport: i0,
|
|
1344
1346
|
type: CdkScrollableModule,
|
|
1345
1347
|
decorators: [{
|
|
@@ -1353,7 +1355,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1353
1355
|
class ScrollingModule {
|
|
1354
1356
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1355
1357
|
minVersion: "12.0.0",
|
|
1356
|
-
version: "21.0.
|
|
1358
|
+
version: "21.0.3",
|
|
1357
1359
|
ngImport: i0,
|
|
1358
1360
|
type: ScrollingModule,
|
|
1359
1361
|
deps: [],
|
|
@@ -1361,7 +1363,7 @@ class ScrollingModule {
|
|
|
1361
1363
|
});
|
|
1362
1364
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1363
1365
|
minVersion: "14.0.0",
|
|
1364
|
-
version: "21.0.
|
|
1366
|
+
version: "21.0.3",
|
|
1365
1367
|
ngImport: i0,
|
|
1366
1368
|
type: ScrollingModule,
|
|
1367
1369
|
imports: [BidiModule, CdkScrollableModule, CdkVirtualScrollViewport, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollableWindow, CdkVirtualScrollableElement],
|
|
@@ -1369,7 +1371,7 @@ class ScrollingModule {
|
|
|
1369
1371
|
});
|
|
1370
1372
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1371
1373
|
minVersion: "12.0.0",
|
|
1372
|
-
version: "21.0.
|
|
1374
|
+
version: "21.0.3",
|
|
1373
1375
|
ngImport: i0,
|
|
1374
1376
|
type: ScrollingModule,
|
|
1375
1377
|
imports: [BidiModule, CdkScrollableModule, BidiModule, CdkScrollableModule]
|
|
@@ -1377,7 +1379,7 @@ class ScrollingModule {
|
|
|
1377
1379
|
}
|
|
1378
1380
|
i0.ɵɵngDeclareClassMetadata({
|
|
1379
1381
|
minVersion: "12.0.0",
|
|
1380
|
-
version: "21.0.
|
|
1382
|
+
version: "21.0.3",
|
|
1381
1383
|
ngImport: i0,
|
|
1382
1384
|
type: ScrollingModule,
|
|
1383
1385
|
decorators: [{
|
|
@@ -1389,5 +1391,5 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1389
1391
|
}]
|
|
1390
1392
|
});
|
|
1391
1393
|
|
|
1392
|
-
export { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_RESIZE_TIME, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, _fixedSizeVirtualScrollStrategyFactory };
|
|
1394
|
+
export { CDK_VIRTUAL_SCROLL_VIEWPORT, CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_RESIZE_TIME, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, _fixedSizeVirtualScrollStrategyFactory };
|
|
1393
1395
|
//# sourceMappingURL=scrolling.mjs.map
|