@angular/cdk 17.0.0-next.4 → 17.0.0-next.6
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/esm2022/a11y/a11y-module.mjs +5 -5
- package/esm2022/a11y/aria-describer/aria-describer.mjs +5 -5
- package/esm2022/a11y/focus-monitor/focus-monitor.mjs +10 -10
- package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +5 -5
- package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +3 -3
- package/esm2022/a11y/focus-trap/focus-trap.mjs +11 -11
- package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +5 -5
- package/esm2022/a11y/input-modality/input-modality-detector.mjs +5 -5
- package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
- package/esm2022/a11y/live-announcer/live-announcer.mjs +10 -10
- package/esm2022/accordion/accordion-item.mjs +6 -6
- package/esm2022/accordion/accordion-module.mjs +4 -4
- package/esm2022/accordion/accordion.mjs +3 -3
- package/esm2022/bidi/bidi-module.mjs +4 -4
- package/esm2022/bidi/dir.mjs +3 -3
- package/esm2022/bidi/directionality.mjs +5 -5
- package/esm2022/clipboard/clipboard-module.mjs +4 -4
- package/esm2022/clipboard/clipboard.mjs +5 -5
- package/esm2022/clipboard/copy-to-clipboard.mjs +6 -6
- package/esm2022/collections/unique-selection-dispatcher.mjs +3 -3
- package/esm2022/dialog/dialog-container.mjs +6 -6
- package/esm2022/dialog/dialog-module.mjs +4 -4
- package/esm2022/dialog/dialog.mjs +5 -5
- package/esm2022/drag-drop/directives/drag-handle.mjs +6 -6
- package/esm2022/drag-drop/directives/drag-placeholder.mjs +5 -5
- package/esm2022/drag-drop/directives/drag-preview.mjs +5 -5
- package/esm2022/drag-drop/directives/drag.mjs +6 -6
- package/esm2022/drag-drop/directives/drop-list-group.mjs +3 -3
- package/esm2022/drag-drop/directives/drop-list.mjs +6 -6
- package/esm2022/drag-drop/drag-drop-module.mjs +4 -4
- package/esm2022/drag-drop/drag-drop-registry.mjs +5 -5
- package/esm2022/drag-drop/drag-drop.mjs +5 -5
- package/esm2022/layout/breakpoints-observer.mjs +4 -4
- package/esm2022/layout/layout-module.mjs +4 -4
- package/esm2022/layout/media-matcher.mjs +5 -5
- package/esm2022/listbox/listbox-module.mjs +4 -4
- package/esm2022/listbox/listbox.mjs +8 -8
- package/esm2022/menu/context-menu-trigger.mjs +28 -20
- package/esm2022/menu/menu-aim.mjs +6 -6
- package/esm2022/menu/menu-bar.mjs +3 -3
- package/esm2022/menu/menu-base.mjs +3 -3
- package/esm2022/menu/menu-group.mjs +3 -3
- package/esm2022/menu/menu-item-checkbox.mjs +3 -3
- package/esm2022/menu/menu-item-radio.mjs +4 -4
- package/esm2022/menu/menu-item-selectable.mjs +3 -3
- package/esm2022/menu/menu-item.mjs +5 -5
- package/esm2022/menu/menu-module.mjs +4 -4
- package/esm2022/menu/menu-stack.mjs +3 -3
- package/esm2022/menu/menu-trigger-base.mjs +3 -3
- package/esm2022/menu/menu-trigger.mjs +4 -4
- package/esm2022/menu/menu.mjs +5 -5
- package/esm2022/observers/observe-content.mjs +16 -16
- package/esm2022/observers/private/shared-resize-observer.mjs +4 -4
- package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +5 -5
- package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +5 -5
- package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +5 -5
- package/esm2022/overlay/fullscreen-overlay-container.mjs +5 -5
- package/esm2022/overlay/overlay-container.mjs +5 -5
- package/esm2022/overlay/overlay-directives.mjs +10 -10
- package/esm2022/overlay/overlay-module.mjs +4 -4
- package/esm2022/overlay/overlay.mjs +5 -5
- package/esm2022/overlay/position/overlay-position-builder.mjs +5 -5
- package/esm2022/overlay/scroll/scroll-strategy-options.mjs +5 -5
- package/esm2022/platform/platform-module.mjs +4 -4
- package/esm2022/platform/platform.mjs +5 -5
- package/esm2022/portal/portal-directives.mjs +20 -20
- package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +3 -3
- package/esm2022/scrolling/scroll-dispatcher.mjs +5 -5
- package/esm2022/scrolling/scrollable.mjs +5 -5
- package/esm2022/scrolling/scrolling-module.mjs +8 -8
- package/esm2022/scrolling/viewport-ruler.mjs +5 -5
- package/esm2022/scrolling/virtual-for-of.mjs +6 -6
- package/esm2022/scrolling/virtual-scroll-viewport.mjs +6 -6
- package/esm2022/scrolling/virtual-scrollable-element.mjs +5 -5
- package/esm2022/scrolling/virtual-scrollable-window.mjs +5 -5
- package/esm2022/scrolling/virtual-scrollable.mjs +5 -5
- package/esm2022/stepper/step-header.mjs +4 -4
- package/esm2022/stepper/step-label.mjs +4 -4
- package/esm2022/stepper/stepper-button.mjs +9 -9
- package/esm2022/stepper/stepper-module.mjs +4 -4
- package/esm2022/stepper/stepper.mjs +11 -11
- package/esm2022/table/cell.mjs +30 -30
- package/esm2022/table/coalesced-style-scheduler.mjs +4 -4
- package/esm2022/table/row.mjs +36 -36
- package/esm2022/table/table-module.mjs +4 -4
- package/esm2022/table/table.mjs +25 -25
- package/esm2022/table/text-column.mjs +6 -6
- package/esm2022/text-field/autofill.mjs +9 -9
- package/esm2022/text-field/autosize.mjs +6 -6
- package/esm2022/text-field/text-field-module.mjs +4 -4
- package/esm2022/tree/nested-node.mjs +5 -5
- package/esm2022/tree/node.mjs +4 -4
- package/esm2022/tree/outlet.mjs +5 -5
- package/esm2022/tree/padding.mjs +6 -6
- package/esm2022/tree/toggle.mjs +5 -5
- package/esm2022/tree/tree-module.mjs +4 -4
- package/esm2022/tree/tree.mjs +9 -9
- package/esm2022/version.mjs +1 -1
- package/fesm2022/a11y.mjs +60 -60
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +12 -12
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +14 -14
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/dialog.mjs +14 -14
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +40 -40
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/layout.mjs +13 -13
- package/fesm2022/listbox.mjs +11 -11
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +74 -66
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +4 -4
- package/fesm2022/observers.mjs +15 -15
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +53 -53
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +9 -9
- package/fesm2022/portal.mjs +19 -19
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +51 -51
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +30 -30
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +102 -102
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/text-field.mjs +17 -17
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +34 -34
- package/fesm2022/tree.mjs.map +1 -1
- package/menu/index.d.ts +2 -2
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/tsconfig.json +1 -0
- package/schematics/utils/build-component.js +2 -2
- package/schematics/utils/build-component.mjs +2 -2
- package/schematics/utils/html-manipulation.js +2 -2
- package/schematics/utils/html-manipulation.mjs +2 -2
- package/schematics/utils/project-index-file.js +4 -4
- package/schematics/utils/project-index-file.mjs +4 -4
- package/schematics/utils/project-main-file.js +4 -2
- package/schematics/utils/project-main-file.mjs +4 -2
- package/schematics/utils/project-style-file.js +4 -3
- package/schematics/utils/project-style-file.mjs +4 -3
- package/schematics/utils/project-targets.d.ts +4 -7
- package/schematics/utils/project-targets.js +16 -11
- package/schematics/utils/project-targets.mjs +16 -11
- package/schematics/utils/project-tsconfig-paths.js +2 -2
- package/schematics/utils/project-tsconfig-paths.mjs +2 -2
- package/schematics/utils/schematic-options.js +3 -3
- package/schematics/utils/schematic-options.mjs +3 -3
package/fesm2022/scrolling.mjs
CHANGED
|
@@ -189,8 +189,8 @@ class CdkFixedSizeVirtualScroll {
|
|
|
189
189
|
ngOnChanges() {
|
|
190
190
|
this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx);
|
|
191
191
|
}
|
|
192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
193
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
193
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkFixedSizeVirtualScroll, isStandalone: true, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: { itemSize: "itemSize", minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, providers: [
|
|
194
194
|
{
|
|
195
195
|
provide: VIRTUAL_SCROLL_STRATEGY,
|
|
196
196
|
useFactory: _fixedSizeVirtualScrollStrategyFactory,
|
|
@@ -198,7 +198,7 @@ class CdkFixedSizeVirtualScroll {
|
|
|
198
198
|
},
|
|
199
199
|
], usesOnChanges: true, ngImport: i0 }); }
|
|
200
200
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkFixedSizeVirtualScroll, decorators: [{
|
|
202
202
|
type: Directive,
|
|
203
203
|
args: [{
|
|
204
204
|
selector: 'cdk-virtual-scroll-viewport[itemSize]',
|
|
@@ -354,18 +354,18 @@ class ScrollDispatcher {
|
|
|
354
354
|
this._globalSubscription = null;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
358
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
357
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollDispatcher, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
358
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' }); }
|
|
359
359
|
}
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollDispatcher, decorators: [{
|
|
361
361
|
type: Injectable,
|
|
362
362
|
args: [{ providedIn: 'root' }]
|
|
363
|
-
}], ctorParameters:
|
|
363
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{
|
|
364
364
|
type: Optional
|
|
365
365
|
}, {
|
|
366
366
|
type: Inject,
|
|
367
367
|
args: [DOCUMENT]
|
|
368
|
-
}] }]
|
|
368
|
+
}] }] });
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* Sends an event when the directive's element is scrolled. Registers itself with the
|
|
@@ -515,18 +515,18 @@ class CdkScrollable {
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
519
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
519
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkScrollable, isStandalone: true, selector: "[cdk-scrollable], [cdkScrollable]", ngImport: i0 }); }
|
|
520
520
|
}
|
|
521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkScrollable, decorators: [{
|
|
522
522
|
type: Directive,
|
|
523
523
|
args: [{
|
|
524
524
|
selector: '[cdk-scrollable], [cdkScrollable]',
|
|
525
525
|
standalone: true,
|
|
526
526
|
}]
|
|
527
|
-
}], ctorParameters:
|
|
527
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
|
|
528
528
|
type: Optional
|
|
529
|
-
}] }]
|
|
529
|
+
}] }] });
|
|
530
530
|
|
|
531
531
|
/** Time in ms to throttle the resize events by default. */
|
|
532
532
|
const DEFAULT_RESIZE_TIME = 20;
|
|
@@ -647,18 +647,18 @@ class ViewportRuler {
|
|
|
647
647
|
? { width: window.innerWidth, height: window.innerHeight }
|
|
648
648
|
: { width: 0, height: 0 };
|
|
649
649
|
}
|
|
650
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
651
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
650
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
651
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ViewportRuler, providedIn: 'root' }); }
|
|
652
652
|
}
|
|
653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ViewportRuler, decorators: [{
|
|
654
654
|
type: Injectable,
|
|
655
655
|
args: [{ providedIn: 'root' }]
|
|
656
|
-
}], ctorParameters:
|
|
656
|
+
}], ctorParameters: () => [{ type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
657
657
|
type: Optional
|
|
658
658
|
}, {
|
|
659
659
|
type: Inject,
|
|
660
660
|
args: [DOCUMENT]
|
|
661
|
-
}] }]
|
|
661
|
+
}] }] });
|
|
662
662
|
|
|
663
663
|
const VIRTUAL_SCROLLABLE = new InjectionToken('VIRTUAL_SCROLLABLE');
|
|
664
664
|
/**
|
|
@@ -677,14 +677,14 @@ class CdkVirtualScrollable extends CdkScrollable {
|
|
|
677
677
|
const viewportEl = this.elementRef.nativeElement;
|
|
678
678
|
return orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight;
|
|
679
679
|
}
|
|
680
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
681
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
680
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
681
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkVirtualScrollable, usesInheritance: true, ngImport: i0 }); }
|
|
682
682
|
}
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollable, decorators: [{
|
|
684
684
|
type: Directive
|
|
685
|
-
}], ctorParameters:
|
|
685
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
|
|
686
686
|
type: Optional
|
|
687
|
-
}] }]
|
|
687
|
+
}] }] });
|
|
688
688
|
|
|
689
689
|
/** Checks if the given ranges are equal. */
|
|
690
690
|
function rangesEqual(r1, r2) {
|
|
@@ -1053,8 +1053,8 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
1053
1053
|
this._totalContentWidth =
|
|
1054
1054
|
this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';
|
|
1055
1055
|
}
|
|
1056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1057
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.0.0-next.
|
|
1056
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", 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 }, { token: VIRTUAL_SCROLLABLE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1057
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.0.0-next.6", type: CdkVirtualScrollViewport, isStandalone: true, selector: "cdk-virtual-scroll-viewport", inputs: { orientation: "orientation", appendOnly: ["appendOnly", "appendOnly", booleanAttribute] }, 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: [
|
|
1058
1058
|
{
|
|
1059
1059
|
provide: CdkScrollable,
|
|
1060
1060
|
useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport,
|
|
@@ -1062,7 +1062,7 @@ class CdkVirtualScrollViewport extends CdkVirtualScrollable {
|
|
|
1062
1062
|
},
|
|
1063
1063
|
], 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;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-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{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1064
1064
|
}
|
|
1065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{
|
|
1066
1066
|
type: Component,
|
|
1067
1067
|
args: [{ selector: 'cdk-virtual-scroll-viewport', host: {
|
|
1068
1068
|
'class': 'cdk-virtual-scroll-viewport',
|
|
@@ -1075,7 +1075,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
1075
1075
|
deps: [[new Optional(), new Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport],
|
|
1076
1076
|
},
|
|
1077
1077
|
], 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;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-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{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"] }]
|
|
1078
|
-
}], ctorParameters:
|
|
1078
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
1079
1079
|
type: Optional
|
|
1080
1080
|
}, {
|
|
1081
1081
|
type: Inject,
|
|
@@ -1087,7 +1087,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
1087
1087
|
}, {
|
|
1088
1088
|
type: Inject,
|
|
1089
1089
|
args: [VIRTUAL_SCROLLABLE]
|
|
1090
|
-
}] }]
|
|
1090
|
+
}] }], propDecorators: { orientation: [{
|
|
1091
1091
|
type: Input
|
|
1092
1092
|
}], appendOnly: [{
|
|
1093
1093
|
type: Input,
|
|
@@ -1357,22 +1357,22 @@ class CdkVirtualForOf {
|
|
|
1357
1357
|
index,
|
|
1358
1358
|
};
|
|
1359
1359
|
}
|
|
1360
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1361
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1360
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", 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 }); }
|
|
1361
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkVirtualForOf, isStandalone: true, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
|
|
1362
1362
|
}
|
|
1363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualForOf, decorators: [{
|
|
1364
1364
|
type: Directive,
|
|
1365
1365
|
args: [{
|
|
1366
1366
|
selector: '[cdkVirtualFor][cdkVirtualForOf]',
|
|
1367
1367
|
providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],
|
|
1368
1368
|
standalone: true,
|
|
1369
1369
|
}]
|
|
1370
|
-
}], ctorParameters:
|
|
1370
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i2$1._RecycleViewRepeaterStrategy, decorators: [{
|
|
1371
1371
|
type: Inject,
|
|
1372
1372
|
args: [_VIEW_REPEATER_STRATEGY]
|
|
1373
1373
|
}] }, { type: CdkVirtualScrollViewport, decorators: [{
|
|
1374
1374
|
type: SkipSelf
|
|
1375
|
-
}] }, { type: i0.NgZone }]
|
|
1375
|
+
}] }, { type: i0.NgZone }], propDecorators: { cdkVirtualForOf: [{
|
|
1376
1376
|
type: Input
|
|
1377
1377
|
}], cdkVirtualForTrackBy: [{
|
|
1378
1378
|
type: Input
|
|
@@ -1393,10 +1393,10 @@ class CdkVirtualScrollableElement extends CdkVirtualScrollable {
|
|
|
1393
1393
|
return (this.getElementRef().nativeElement.getBoundingClientRect()[from] -
|
|
1394
1394
|
this.measureScrollOffset(from));
|
|
1395
1395
|
}
|
|
1396
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1397
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollableElement, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1397
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkVirtualScrollableElement, isStandalone: true, selector: "[cdkVirtualScrollingElement]", host: { classAttribute: "cdk-virtual-scrollable" }, providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement }], usesInheritance: true, ngImport: i0 }); }
|
|
1398
1398
|
}
|
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollableElement, decorators: [{
|
|
1400
1400
|
type: Directive,
|
|
1401
1401
|
args: [{
|
|
1402
1402
|
selector: '[cdkVirtualScrollingElement]',
|
|
@@ -1406,9 +1406,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
1406
1406
|
'class': 'cdk-virtual-scrollable',
|
|
1407
1407
|
},
|
|
1408
1408
|
}]
|
|
1409
|
-
}], ctorParameters:
|
|
1409
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
|
|
1410
1410
|
type: Optional
|
|
1411
|
-
}] }]
|
|
1411
|
+
}] }] });
|
|
1412
1412
|
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Provides as virtual scrollable for the global / window scrollbar.
|
|
@@ -1421,26 +1421,26 @@ class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
|
|
|
1421
1421
|
measureBoundingClientRectWithScrollOffset(from) {
|
|
1422
1422
|
return this.getElementRef().nativeElement.getBoundingClientRect()[from];
|
|
1423
1423
|
}
|
|
1424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1425
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollableWindow, deps: [{ token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1425
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkVirtualScrollableWindow, isStandalone: true, selector: "cdk-virtual-scroll-viewport[scrollWindow]", providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }], usesInheritance: true, ngImport: i0 }); }
|
|
1426
1426
|
}
|
|
1427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkVirtualScrollableWindow, decorators: [{
|
|
1428
1428
|
type: Directive,
|
|
1429
1429
|
args: [{
|
|
1430
1430
|
selector: 'cdk-virtual-scroll-viewport[scrollWindow]',
|
|
1431
1431
|
providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }],
|
|
1432
1432
|
standalone: true,
|
|
1433
1433
|
}]
|
|
1434
|
-
}], ctorParameters:
|
|
1434
|
+
}], ctorParameters: () => [{ type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{
|
|
1435
1435
|
type: Optional
|
|
1436
|
-
}] }]
|
|
1436
|
+
}] }] });
|
|
1437
1437
|
|
|
1438
1438
|
class CdkScrollableModule {
|
|
1439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1440
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1441
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1439
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1440
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkScrollableModule, imports: [CdkScrollable], exports: [CdkScrollable] }); }
|
|
1441
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkScrollableModule }); }
|
|
1442
1442
|
}
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkScrollableModule, decorators: [{
|
|
1444
1444
|
type: NgModule,
|
|
1445
1445
|
args: [{
|
|
1446
1446
|
exports: [CdkScrollable],
|
|
@@ -1451,8 +1451,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
1451
1451
|
* @docs-primary-export
|
|
1452
1452
|
*/
|
|
1453
1453
|
class ScrollingModule {
|
|
1454
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1455
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1454
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1455
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollingModule, imports: [BidiModule, CdkScrollableModule, CdkVirtualScrollViewport,
|
|
1456
1456
|
CdkFixedSizeVirtualScroll,
|
|
1457
1457
|
CdkVirtualForOf,
|
|
1458
1458
|
CdkVirtualScrollableWindow,
|
|
@@ -1461,10 +1461,10 @@ class ScrollingModule {
|
|
|
1461
1461
|
CdkVirtualScrollViewport,
|
|
1462
1462
|
CdkVirtualScrollableWindow,
|
|
1463
1463
|
CdkVirtualScrollableElement] }); }
|
|
1464
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1464
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollingModule, imports: [BidiModule,
|
|
1465
1465
|
CdkScrollableModule, BidiModule, CdkScrollableModule] }); }
|
|
1466
1466
|
}
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: ScrollingModule, decorators: [{
|
|
1468
1468
|
type: NgModule,
|
|
1469
1469
|
args: [{
|
|
1470
1470
|
imports: [
|