@angular/cdk 13.3.3 → 14.0.0-next.10
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/a11y/live-announcer/live-announcer.d.ts +3 -1
- package/a11y-prebuilt.css +1 -1
- package/drag-drop/drag-events.d.ts +8 -0
- package/drag-drop/drag-ref.d.ts +4 -0
- package/drag-drop/drop-list-ref.d.ts +5 -1
- package/esm2020/a11y/a11y-module.mjs +5 -5
- package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +13 -11
- package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
- package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
- package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
- package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +7 -12
- package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
- package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
- package/esm2020/a11y/live-announcer/live-announcer.mjs +11 -8
- package/esm2020/accordion/accordion-item.mjs +4 -4
- package/esm2020/accordion/accordion-module.mjs +5 -5
- package/esm2020/accordion/accordion.mjs +4 -4
- package/esm2020/bidi/bidi-module.mjs +5 -5
- package/esm2020/bidi/dir.mjs +4 -4
- package/esm2020/bidi/directionality.mjs +4 -4
- package/esm2020/clipboard/clipboard-module.mjs +5 -5
- package/esm2020/clipboard/clipboard.mjs +4 -4
- package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
- package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
- package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
- package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
- package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
- package/esm2020/drag-drop/directives/drag.mjs +26 -24
- package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
- package/esm2020/drag-drop/directives/drop-list.mjs +14 -13
- package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
- package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
- package/esm2020/drag-drop/drag-drop.mjs +4 -4
- package/esm2020/drag-drop/drag-events.mjs +1 -1
- package/esm2020/drag-drop/drag-ref.mjs +7 -5
- package/esm2020/drag-drop/drop-list-ref.mjs +6 -2
- package/esm2020/layout/breakpoints-observer.mjs +4 -4
- package/esm2020/layout/layout-module.mjs +5 -5
- package/esm2020/layout/media-matcher.mjs +4 -4
- package/esm2020/observers/observe-content.mjs +14 -14
- package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
- package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
- package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
- package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
- package/esm2020/overlay/overlay-container.mjs +4 -4
- package/esm2020/overlay/overlay-directives.mjs +7 -7
- package/esm2020/overlay/overlay-module.mjs +5 -5
- package/esm2020/overlay/overlay-ref.mjs +11 -3
- package/esm2020/overlay/overlay.mjs +14 -8
- package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +13 -1
- package/esm2020/overlay/position/global-position-strategy.mjs +64 -30
- package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
- package/esm2020/overlay/public-api.mjs +2 -2
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
- package/esm2020/platform/platform-module.mjs +5 -5
- package/esm2020/platform/platform.mjs +4 -4
- package/esm2020/portal/dom-portal-outlet.mjs +4 -2
- package/esm2020/portal/portal-directives.mjs +20 -18
- package/esm2020/portal/portal.mjs +12 -3
- package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
- package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
- package/esm2020/scrolling/scrollable.mjs +4 -4
- package/esm2020/scrolling/scrolling-module.mjs +9 -9
- package/esm2020/scrolling/viewport-ruler.mjs +4 -4
- package/esm2020/scrolling/virtual-for-of.mjs +4 -4
- package/esm2020/scrolling/virtual-scroll-viewport.mjs +6 -6
- package/esm2020/stepper/step-header.mjs +4 -4
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +7 -7
- package/esm2020/stepper/stepper-module.mjs +5 -5
- package/esm2020/stepper/stepper.mjs +9 -22
- package/esm2020/table/cell.mjs +22 -22
- package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
- package/esm2020/table/row.mjs +28 -28
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +21 -21
- package/esm2020/table/text-column.mjs +4 -4
- package/esm2020/testing/component-harness.mjs +7 -1
- package/esm2020/testing/harness-environment.mjs +9 -1
- package/esm2020/text-field/autofill.mjs +7 -7
- package/esm2020/text-field/autosize.mjs +4 -4
- package/esm2020/text-field/text-field-module.mjs +5 -5
- package/esm2020/tree/nested-node.mjs +4 -4
- package/esm2020/tree/node.mjs +4 -4
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -4
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +7 -7
- package/esm2020/version.mjs +1 -1
- package/fesm2015/a11y.mjs +53 -53
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/accordion.mjs +10 -10
- package/fesm2015/accordion.mjs.map +1 -1
- package/fesm2015/bidi.mjs +10 -10
- package/fesm2015/bidi.mjs.map +1 -1
- package/fesm2015/cdk.mjs +1 -1
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +10 -10
- package/fesm2015/clipboard.mjs.map +1 -1
- package/fesm2015/collections.mjs +3 -3
- package/fesm2015/collections.mjs.map +1 -1
- package/fesm2015/drag-drop.mjs +71 -62
- package/fesm2015/drag-drop.mjs.map +1 -1
- package/fesm2015/layout.mjs +10 -10
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/observers.mjs +13 -13
- package/fesm2015/observers.mjs.map +1 -1
- package/fesm2015/overlay.mjs +132 -72
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +7 -7
- package/fesm2015/platform.mjs.map +1 -1
- package/fesm2015/portal.mjs +33 -20
- package/fesm2015/portal.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +28 -28
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +24 -37
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +78 -78
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/testing.mjs +20 -0
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/text-field.mjs +13 -13
- package/fesm2015/text-field.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -25
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/a11y.mjs +53 -53
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +10 -10
- package/fesm2020/accordion.mjs.map +1 -1
- package/fesm2020/bidi.mjs +10 -10
- package/fesm2020/bidi.mjs.map +1 -1
- package/fesm2020/cdk.mjs +1 -1
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +10 -10
- package/fesm2020/clipboard.mjs.map +1 -1
- package/fesm2020/collections.mjs +3 -3
- package/fesm2020/collections.mjs.map +1 -1
- package/fesm2020/drag-drop.mjs +71 -62
- package/fesm2020/drag-drop.mjs.map +1 -1
- package/fesm2020/layout.mjs +10 -10
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/observers.mjs +13 -13
- package/fesm2020/observers.mjs.map +1 -1
- package/fesm2020/overlay.mjs +132 -72
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +7 -7
- package/fesm2020/platform.mjs.map +1 -1
- package/fesm2020/portal.mjs +33 -20
- package/fesm2020/portal.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +28 -28
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +24 -37
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +78 -78
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/testing.mjs +14 -0
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/text-field.mjs +13 -13
- package/fesm2020/text-field.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -25
- package/fesm2020/tree.mjs.map +1 -1
- package/overlay/_index.scss +4 -0
- package/overlay/overlay-ref.d.ts +2 -1
- package/overlay/overlay.d.ts +3 -2
- package/overlay/position/flexible-connected-position-strategy.d.ts +2 -0
- package/overlay/position/global-position-strategy.d.ts +14 -3
- package/overlay/public-api.d.ts +1 -1
- package/overlay-prebuilt.css +1 -1
- package/package.json +3 -11
- package/portal/dom-portal-outlet.d.ts +2 -2
- package/portal/portal.d.ts +12 -2
- package/schematics/migration.json +5 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/drag-drop/index.js +5 -14
- package/schematics/ng-generate/drag-drop/index.mjs +5 -14
- package/schematics/ng-update/data/constructor-checks.js +7 -1
- package/schematics/ng-update/data/constructor-checks.mjs +7 -1
- package/schematics/ng-update/devkit-migration-rule.js +4 -13
- package/schematics/ng-update/devkit-migration-rule.mjs +4 -13
- package/schematics/ng-update/html-parsing/elements.js +2 -3
- package/schematics/ng-update/html-parsing/elements.mjs +2 -3
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +7 -2
- package/schematics/ng-update/index.mjs +7 -2
- package/schematics/ng-update/migrations/symbol-removal.js +2 -3
- package/schematics/ng-update/migrations/symbol-removal.mjs +2 -3
- package/schematics/update-tool/target-version.d.ts +2 -1
- package/schematics/update-tool/target-version.js +2 -1
- package/schematics/update-tool/target-version.mjs +2 -1
- package/schematics/utils/ast.js +11 -22
- package/schematics/utils/ast.mjs +11 -22
- package/schematics/utils/build-component.js +10 -15
- package/schematics/utils/build-component.mjs +10 -15
- package/schematics/utils/get-project.d.ts +1 -1
- package/schematics/utils/get-project.js +7 -2
- package/schematics/utils/get-project.mjs +7 -2
- package/schematics/utils/project-index-file.js +2 -2
- package/schematics/utils/project-index-file.mjs +2 -2
- package/schematics/utils/project-targets.js +3 -4
- package/schematics/utils/project-targets.mjs +3 -4
- package/schematics/utils/project-tsconfig-paths.js +16 -28
- package/schematics/utils/project-tsconfig-paths.mjs +16 -28
- package/stepper/stepper.d.ts +3 -12
- package/table/text-column.d.ts +1 -1
- package/testing/component-harness.d.ts +18 -0
- package/testing/harness-environment.d.ts +2 -0
- package/text-field-prebuilt.css +1 -1
- package/esm2020/testing/protractor/index.mjs +0 -9
- package/esm2020/testing/protractor/protractor-element.mjs +0 -239
- package/esm2020/testing/protractor/protractor-harness-environment.mjs +0 -73
- package/esm2020/testing/protractor/public-api.mjs +0 -10
- package/fesm2015/testing/protractor.mjs +0 -361
- package/fesm2015/testing/protractor.mjs.map +0 -1
- package/fesm2020/testing/protractor.mjs +0 -328
- package/fesm2020/testing/protractor.mjs.map +0 -1
- package/testing/protractor/index.d.ts +0 -8
- package/testing/protractor/package.json +0 -9
- package/testing/protractor/protractor-element.d.ts +0 -90
- package/testing/protractor/protractor-harness-environment.d.ts +0 -51
- package/testing/protractor/public-api.d.ts +0 -9
package/fesm2015/overlay.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export { CdkScrollable, ScrollDispatcher, ViewportRuler } from '@angular/cdk/scr
|
|
|
4
4
|
import * as i6 from '@angular/common';
|
|
5
5
|
import { DOCUMENT } from '@angular/common';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
|
-
import { Injectable, Inject, ElementRef, Optional, ApplicationRef, InjectionToken, Directive, EventEmitter, Input, Output, NgModule } from '@angular/core';
|
|
7
|
+
import { Injectable, Inject, ElementRef, Optional, ApplicationRef, ANIMATION_MODULE_TYPE, InjectionToken, Directive, EventEmitter, Input, Output, NgModule } from '@angular/core';
|
|
8
8
|
import { coerceCssPixelValue, coerceArray, coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
9
9
|
import * as i1$1 from '@angular/cdk/platform';
|
|
10
10
|
import { supportsScrollBehavior, _isTestEnvironment, _getEventTarget } from '@angular/cdk/platform';
|
|
@@ -312,9 +312,9 @@ class ScrollStrategyOptions {
|
|
|
312
312
|
this._document = document;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
316
|
-
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
315
|
+
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollStrategyOptions, deps: [{ token: i1.ScrollDispatcher }, { token: i1.ViewportRuler }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
316
|
+
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollStrategyOptions, providedIn: 'root' });
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollStrategyOptions, decorators: [{
|
|
318
318
|
type: Injectable,
|
|
319
319
|
args: [{ providedIn: 'root' }]
|
|
320
320
|
}], ctorParameters: function () {
|
|
@@ -476,7 +476,7 @@ function validateHorizontalPosition(property, value) {
|
|
|
476
476
|
* Used to manipulate or dispose of said overlay.
|
|
477
477
|
*/
|
|
478
478
|
class OverlayRef {
|
|
479
|
-
constructor(_portalOutlet, _host, _pane, _config, _ngZone, _keyboardDispatcher, _document, _location, _outsideClickDispatcher) {
|
|
479
|
+
constructor(_portalOutlet, _host, _pane, _config, _ngZone, _keyboardDispatcher, _document, _location, _outsideClickDispatcher, _animationsDisabled = false) {
|
|
480
480
|
this._portalOutlet = _portalOutlet;
|
|
481
481
|
this._host = _host;
|
|
482
482
|
this._pane = _pane;
|
|
@@ -486,6 +486,7 @@ class OverlayRef {
|
|
|
486
486
|
this._document = _document;
|
|
487
487
|
this._location = _location;
|
|
488
488
|
this._outsideClickDispatcher = _outsideClickDispatcher;
|
|
489
|
+
this._animationsDisabled = _animationsDisabled;
|
|
489
490
|
this._backdropElement = null;
|
|
490
491
|
this._backdropClick = new Subject();
|
|
491
492
|
this._attachments = new Subject();
|
|
@@ -743,6 +744,9 @@ class OverlayRef {
|
|
|
743
744
|
const showingClass = 'cdk-overlay-backdrop-showing';
|
|
744
745
|
this._backdropElement = this._document.createElement('div');
|
|
745
746
|
this._backdropElement.classList.add('cdk-overlay-backdrop');
|
|
747
|
+
if (this._animationsDisabled) {
|
|
748
|
+
this._backdropElement.classList.add('cdk-overlay-backdrop-noop-animation');
|
|
749
|
+
}
|
|
746
750
|
if (this._config.backdropClass) {
|
|
747
751
|
this._toggleClasses(this._backdropElement, this._config.backdropClass, true);
|
|
748
752
|
}
|
|
@@ -753,7 +757,7 @@ class OverlayRef {
|
|
|
753
757
|
// action desired when such a click occurs (usually closing the overlay).
|
|
754
758
|
this._backdropElement.addEventListener('click', this._backdropClickHandler);
|
|
755
759
|
// Add class to fade-in the backdrop after one frame.
|
|
756
|
-
if (typeof requestAnimationFrame !== 'undefined') {
|
|
760
|
+
if (!this._animationsDisabled && typeof requestAnimationFrame !== 'undefined') {
|
|
757
761
|
this._ngZone.runOutsideAngular(() => {
|
|
758
762
|
requestAnimationFrame(() => {
|
|
759
763
|
if (this._backdropElement) {
|
|
@@ -784,6 +788,10 @@ class OverlayRef {
|
|
|
784
788
|
if (!backdropToDetach) {
|
|
785
789
|
return;
|
|
786
790
|
}
|
|
791
|
+
if (this._animationsDisabled) {
|
|
792
|
+
this._disposeBackdrop(backdropToDetach);
|
|
793
|
+
return;
|
|
794
|
+
}
|
|
787
795
|
backdropToDetach.classList.remove('cdk-overlay-backdrop-showing');
|
|
788
796
|
this._ngZone.runOutsideAngular(() => {
|
|
789
797
|
backdropToDetach.addEventListener('transitionend', this._backdropTransitionendHandler);
|
|
@@ -929,9 +937,9 @@ class OverlayContainer {
|
|
|
929
937
|
this._containerElement = container;
|
|
930
938
|
}
|
|
931
939
|
}
|
|
932
|
-
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
933
|
-
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
940
|
+
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
941
|
+
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayContainer, providedIn: 'root' });
|
|
942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayContainer, decorators: [{
|
|
935
943
|
type: Injectable,
|
|
936
944
|
args: [{ providedIn: 'root' }]
|
|
937
945
|
}], ctorParameters: function () {
|
|
@@ -1908,6 +1916,18 @@ function getRoundedBoundingClientRect(clientRect) {
|
|
|
1908
1916
|
height: Math.floor(clientRect.height),
|
|
1909
1917
|
};
|
|
1910
1918
|
}
|
|
1919
|
+
const STANDARD_DROPDOWN_BELOW_POSITIONS = [
|
|
1920
|
+
{ originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },
|
|
1921
|
+
{ originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' },
|
|
1922
|
+
{ originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },
|
|
1923
|
+
{ originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' },
|
|
1924
|
+
];
|
|
1925
|
+
const STANDARD_DROPDOWN_ADJACENT_POSITIONS = [
|
|
1926
|
+
{ originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top' },
|
|
1927
|
+
{ originX: 'end', originY: 'bottom', overlayX: 'start', overlayY: 'bottom' },
|
|
1928
|
+
{ originX: 'start', originY: 'top', overlayX: 'end', overlayY: 'top' },
|
|
1929
|
+
{ originX: 'start', originY: 'bottom', overlayX: 'end', overlayY: 'bottom' },
|
|
1930
|
+
];
|
|
1911
1931
|
|
|
1912
1932
|
/**
|
|
1913
1933
|
* @license
|
|
@@ -1929,12 +1949,12 @@ class GlobalPositionStrategy {
|
|
|
1929
1949
|
this._cssPosition = 'static';
|
|
1930
1950
|
this._topOffset = '';
|
|
1931
1951
|
this._bottomOffset = '';
|
|
1932
|
-
this._leftOffset = '';
|
|
1933
|
-
this._rightOffset = '';
|
|
1934
1952
|
this._alignItems = '';
|
|
1935
|
-
this.
|
|
1953
|
+
this._xPosition = '';
|
|
1954
|
+
this._xOffset = '';
|
|
1936
1955
|
this._width = '';
|
|
1937
1956
|
this._height = '';
|
|
1957
|
+
this._isDisposed = false;
|
|
1938
1958
|
}
|
|
1939
1959
|
attach(overlayRef) {
|
|
1940
1960
|
const config = overlayRef.getConfig();
|
|
@@ -1963,9 +1983,8 @@ class GlobalPositionStrategy {
|
|
|
1963
1983
|
* @param value New left offset.
|
|
1964
1984
|
*/
|
|
1965
1985
|
left(value = '') {
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
this._justifyContent = 'flex-start';
|
|
1986
|
+
this._xOffset = value;
|
|
1987
|
+
this._xPosition = 'left';
|
|
1969
1988
|
return this;
|
|
1970
1989
|
}
|
|
1971
1990
|
/**
|
|
@@ -1983,9 +2002,28 @@ class GlobalPositionStrategy {
|
|
|
1983
2002
|
* @param value New right offset.
|
|
1984
2003
|
*/
|
|
1985
2004
|
right(value = '') {
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1988
|
-
this
|
|
2005
|
+
this._xOffset = value;
|
|
2006
|
+
this._xPosition = 'right';
|
|
2007
|
+
return this;
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* Sets the overlay to the start of the viewport, depending on the overlay direction.
|
|
2011
|
+
* This will be to the left in LTR layouts and to the right in RTL.
|
|
2012
|
+
* @param offset Offset from the edge of the screen.
|
|
2013
|
+
*/
|
|
2014
|
+
start(value = '') {
|
|
2015
|
+
this._xOffset = value;
|
|
2016
|
+
this._xPosition = 'start';
|
|
2017
|
+
return this;
|
|
2018
|
+
}
|
|
2019
|
+
/**
|
|
2020
|
+
* Sets the overlay to the end of the viewport, depending on the overlay direction.
|
|
2021
|
+
* This will be to the right in LTR layouts and to the left in RTL.
|
|
2022
|
+
* @param offset Offset from the edge of the screen.
|
|
2023
|
+
*/
|
|
2024
|
+
end(value = '') {
|
|
2025
|
+
this._xOffset = value;
|
|
2026
|
+
this._xPosition = 'end';
|
|
1989
2027
|
return this;
|
|
1990
2028
|
}
|
|
1991
2029
|
/**
|
|
@@ -2026,7 +2064,7 @@ class GlobalPositionStrategy {
|
|
|
2026
2064
|
*/
|
|
2027
2065
|
centerHorizontally(offset = '') {
|
|
2028
2066
|
this.left(offset);
|
|
2029
|
-
this.
|
|
2067
|
+
this._xPosition = 'center';
|
|
2030
2068
|
return this;
|
|
2031
2069
|
}
|
|
2032
2070
|
/**
|
|
@@ -2059,32 +2097,48 @@ class GlobalPositionStrategy {
|
|
|
2059
2097
|
(!maxWidth || maxWidth === '100%' || maxWidth === '100vw');
|
|
2060
2098
|
const shouldBeFlushVertically = (height === '100%' || height === '100vh') &&
|
|
2061
2099
|
(!maxHeight || maxHeight === '100%' || maxHeight === '100vh');
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2100
|
+
const xPosition = this._xPosition;
|
|
2101
|
+
const xOffset = this._xOffset;
|
|
2102
|
+
const isRtl = this._overlayRef.getConfig().direction === 'rtl';
|
|
2103
|
+
let marginLeft = '';
|
|
2104
|
+
let marginRight = '';
|
|
2105
|
+
let justifyContent = '';
|
|
2067
2106
|
if (shouldBeFlushHorizontally) {
|
|
2068
|
-
|
|
2069
|
-
}
|
|
2070
|
-
else if (
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2107
|
+
justifyContent = 'flex-start';
|
|
2108
|
+
}
|
|
2109
|
+
else if (xPosition === 'center') {
|
|
2110
|
+
justifyContent = 'center';
|
|
2111
|
+
if (isRtl) {
|
|
2112
|
+
marginRight = xOffset;
|
|
2113
|
+
}
|
|
2114
|
+
else {
|
|
2115
|
+
marginLeft = xOffset;
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
else if (isRtl) {
|
|
2119
|
+
if (xPosition === 'left' || xPosition === 'end') {
|
|
2120
|
+
justifyContent = 'flex-end';
|
|
2121
|
+
marginLeft = xOffset;
|
|
2080
2122
|
}
|
|
2081
|
-
else if (
|
|
2082
|
-
|
|
2123
|
+
else if (xPosition === 'right' || xPosition === 'start') {
|
|
2124
|
+
justifyContent = 'flex-start';
|
|
2125
|
+
marginRight = xOffset;
|
|
2083
2126
|
}
|
|
2084
2127
|
}
|
|
2085
|
-
else {
|
|
2086
|
-
|
|
2128
|
+
else if (xPosition === 'left' || xPosition === 'start') {
|
|
2129
|
+
justifyContent = 'flex-start';
|
|
2130
|
+
marginLeft = xOffset;
|
|
2087
2131
|
}
|
|
2132
|
+
else if (xPosition === 'right' || xPosition === 'end') {
|
|
2133
|
+
justifyContent = 'flex-end';
|
|
2134
|
+
marginRight = xOffset;
|
|
2135
|
+
}
|
|
2136
|
+
styles.position = this._cssPosition;
|
|
2137
|
+
styles.marginLeft = shouldBeFlushHorizontally ? '0' : marginLeft;
|
|
2138
|
+
styles.marginTop = shouldBeFlushVertically ? '0' : this._topOffset;
|
|
2139
|
+
styles.marginBottom = this._bottomOffset;
|
|
2140
|
+
styles.marginRight = shouldBeFlushHorizontally ? '0' : marginRight;
|
|
2141
|
+
parentStyles.justifyContent = justifyContent;
|
|
2088
2142
|
parentStyles.alignItems = shouldBeFlushVertically ? 'flex-start' : this._alignItems;
|
|
2089
2143
|
}
|
|
2090
2144
|
/**
|
|
@@ -2134,9 +2188,9 @@ class OverlayPositionBuilder {
|
|
|
2134
2188
|
return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);
|
|
2135
2189
|
}
|
|
2136
2190
|
}
|
|
2137
|
-
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2138
|
-
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2191
|
+
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayPositionBuilder, deps: [{ token: i1.ViewportRuler }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2192
|
+
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayPositionBuilder, providedIn: 'root' });
|
|
2193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayPositionBuilder, decorators: [{
|
|
2140
2194
|
type: Injectable,
|
|
2141
2195
|
args: [{ providedIn: 'root' }]
|
|
2142
2196
|
}], ctorParameters: function () {
|
|
@@ -2185,9 +2239,9 @@ class BaseOverlayDispatcher {
|
|
|
2185
2239
|
}
|
|
2186
2240
|
}
|
|
2187
2241
|
}
|
|
2188
|
-
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2189
|
-
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2242
|
+
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BaseOverlayDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2243
|
+
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BaseOverlayDispatcher, providedIn: 'root' });
|
|
2244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BaseOverlayDispatcher, decorators: [{
|
|
2191
2245
|
type: Injectable,
|
|
2192
2246
|
args: [{ providedIn: 'root' }]
|
|
2193
2247
|
}], ctorParameters: function () {
|
|
@@ -2262,9 +2316,9 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
|
|
|
2262
2316
|
}
|
|
2263
2317
|
}
|
|
2264
2318
|
}
|
|
2265
|
-
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2266
|
-
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2319
|
+
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayKeyboardDispatcher, deps: [{ token: DOCUMENT }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2320
|
+
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayKeyboardDispatcher, providedIn: 'root' });
|
|
2321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayKeyboardDispatcher, decorators: [{
|
|
2268
2322
|
type: Injectable,
|
|
2269
2323
|
args: [{ providedIn: 'root' }]
|
|
2270
2324
|
}], ctorParameters: function () {
|
|
@@ -2396,9 +2450,9 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2396
2450
|
body.addEventListener('contextmenu', this._clickListener, true);
|
|
2397
2451
|
}
|
|
2398
2452
|
}
|
|
2399
|
-
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2400
|
-
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2453
|
+
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayOutsideClickDispatcher, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2454
|
+
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayOutsideClickDispatcher, providedIn: 'root' });
|
|
2455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayOutsideClickDispatcher, decorators: [{
|
|
2402
2456
|
type: Injectable,
|
|
2403
2457
|
args: [{ providedIn: 'root' }]
|
|
2404
2458
|
}], ctorParameters: function () {
|
|
@@ -2425,7 +2479,7 @@ let nextUniqueId = 0;
|
|
|
2425
2479
|
class Overlay {
|
|
2426
2480
|
constructor(
|
|
2427
2481
|
/** Scrolling strategies that can be used when creating an overlay. */
|
|
2428
|
-
scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher) {
|
|
2482
|
+
scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher, _animationsModuleType) {
|
|
2429
2483
|
this.scrollStrategies = scrollStrategies;
|
|
2430
2484
|
this._overlayContainer = _overlayContainer;
|
|
2431
2485
|
this._componentFactoryResolver = _componentFactoryResolver;
|
|
@@ -2437,6 +2491,7 @@ class Overlay {
|
|
|
2437
2491
|
this._directionality = _directionality;
|
|
2438
2492
|
this._location = _location;
|
|
2439
2493
|
this._outsideClickDispatcher = _outsideClickDispatcher;
|
|
2494
|
+
this._animationsModuleType = _animationsModuleType;
|
|
2440
2495
|
}
|
|
2441
2496
|
/**
|
|
2442
2497
|
* Creates an overlay.
|
|
@@ -2449,7 +2504,7 @@ class Overlay {
|
|
|
2449
2504
|
const portalOutlet = this._createPortalOutlet(pane);
|
|
2450
2505
|
const overlayConfig = new OverlayConfig(config);
|
|
2451
2506
|
overlayConfig.direction = overlayConfig.direction || this._directionality.value;
|
|
2452
|
-
return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher);
|
|
2507
|
+
return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher, this._animationsModuleType === 'NoopAnimations');
|
|
2453
2508
|
}
|
|
2454
2509
|
/**
|
|
2455
2510
|
* Gets a position builder that can be used, via fluent API,
|
|
@@ -2494,15 +2549,20 @@ class Overlay {
|
|
|
2494
2549
|
return new DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document);
|
|
2495
2550
|
}
|
|
2496
2551
|
}
|
|
2497
|
-
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2498
|
-
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2552
|
+
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: Overlay, deps: [{ token: ScrollStrategyOptions }, { token: OverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: OverlayPositionBuilder }, { token: OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i5.Directionality }, { token: i6.Location }, { token: OverlayOutsideClickDispatcher }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2553
|
+
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: Overlay });
|
|
2554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: Overlay, decorators: [{
|
|
2500
2555
|
type: Injectable
|
|
2501
2556
|
}], ctorParameters: function () {
|
|
2502
2557
|
return [{ type: ScrollStrategyOptions }, { type: OverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: OverlayPositionBuilder }, { type: OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
2503
2558
|
type: Inject,
|
|
2504
2559
|
args: [DOCUMENT]
|
|
2505
|
-
}] }, { type: i5.Directionality }, { type: i6.Location }, { type: OverlayOutsideClickDispatcher }
|
|
2560
|
+
}] }, { type: i5.Directionality }, { type: i6.Location }, { type: OverlayOutsideClickDispatcher }, { type: undefined, decorators: [{
|
|
2561
|
+
type: Inject,
|
|
2562
|
+
args: [ANIMATION_MODULE_TYPE]
|
|
2563
|
+
}, {
|
|
2564
|
+
type: Optional
|
|
2565
|
+
}] }];
|
|
2506
2566
|
} });
|
|
2507
2567
|
|
|
2508
2568
|
/** Default set of positions for the overlay. Follows the behavior of a dropdown. */
|
|
@@ -2545,9 +2605,9 @@ class CdkOverlayOrigin {
|
|
|
2545
2605
|
this.elementRef = elementRef;
|
|
2546
2606
|
}
|
|
2547
2607
|
}
|
|
2548
|
-
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2549
|
-
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2608
|
+
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkOverlayOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2609
|
+
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"], ngImport: i0 });
|
|
2610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkOverlayOrigin, decorators: [{
|
|
2551
2611
|
type: Directive,
|
|
2552
2612
|
args: [{
|
|
2553
2613
|
selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',
|
|
@@ -2812,9 +2872,9 @@ class CdkConnectedOverlay {
|
|
|
2812
2872
|
this._positionSubscription.unsubscribe();
|
|
2813
2873
|
}
|
|
2814
2874
|
}
|
|
2815
|
-
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2816
|
-
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2875
|
+
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkConnectedOverlay, deps: [{ token: Overlay }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY }, { token: i5.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2876
|
+
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: { origin: ["cdkConnectedOverlayOrigin", "origin"], positions: ["cdkConnectedOverlayPositions", "positions"], positionStrategy: ["cdkConnectedOverlayPositionStrategy", "positionStrategy"], offsetX: ["cdkConnectedOverlayOffsetX", "offsetX"], offsetY: ["cdkConnectedOverlayOffsetY", "offsetY"], width: ["cdkConnectedOverlayWidth", "width"], height: ["cdkConnectedOverlayHeight", "height"], minWidth: ["cdkConnectedOverlayMinWidth", "minWidth"], minHeight: ["cdkConnectedOverlayMinHeight", "minHeight"], backdropClass: ["cdkConnectedOverlayBackdropClass", "backdropClass"], panelClass: ["cdkConnectedOverlayPanelClass", "panelClass"], viewportMargin: ["cdkConnectedOverlayViewportMargin", "viewportMargin"], scrollStrategy: ["cdkConnectedOverlayScrollStrategy", "scrollStrategy"], open: ["cdkConnectedOverlayOpen", "open"], disableClose: ["cdkConnectedOverlayDisableClose", "disableClose"], transformOriginSelector: ["cdkConnectedOverlayTransformOriginOn", "transformOriginSelector"], hasBackdrop: ["cdkConnectedOverlayHasBackdrop", "hasBackdrop"], lockPosition: ["cdkConnectedOverlayLockPosition", "lockPosition"], flexibleDimensions: ["cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions"], growAfterOpen: ["cdkConnectedOverlayGrowAfterOpen", "growAfterOpen"], push: ["cdkConnectedOverlayPush", "push"] }, outputs: { backdropClick: "backdropClick", positionChange: "positionChange", attach: "attach", detach: "detach", overlayKeydown: "overlayKeydown", overlayOutsideClick: "overlayOutsideClick" }, exportAs: ["cdkConnectedOverlay"], usesOnChanges: true, ngImport: i0 });
|
|
2877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkConnectedOverlay, decorators: [{
|
|
2818
2878
|
type: Directive,
|
|
2819
2879
|
args: [{
|
|
2820
2880
|
selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',
|
|
@@ -2923,10 +2983,10 @@ const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {
|
|
|
2923
2983
|
*/
|
|
2924
2984
|
class OverlayModule {
|
|
2925
2985
|
}
|
|
2926
|
-
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2927
|
-
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2928
|
-
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2986
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2987
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayModule, declarations: [CdkConnectedOverlay, CdkOverlayOrigin], imports: [BidiModule, PortalModule, ScrollingModule], exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule] });
|
|
2988
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayModule, providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], imports: [[BidiModule, PortalModule, ScrollingModule], ScrollingModule] });
|
|
2989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: OverlayModule, decorators: [{
|
|
2930
2990
|
type: NgModule,
|
|
2931
2991
|
args: [{
|
|
2932
2992
|
imports: [BidiModule, PortalModule, ScrollingModule],
|
|
@@ -3022,9 +3082,9 @@ class FullscreenOverlayContainer extends OverlayContainer {
|
|
|
3022
3082
|
null);
|
|
3023
3083
|
}
|
|
3024
3084
|
}
|
|
3025
|
-
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3026
|
-
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3085
|
+
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FullscreenOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3086
|
+
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FullscreenOverlayContainer, providedIn: 'root' });
|
|
3087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FullscreenOverlayContainer, decorators: [{
|
|
3028
3088
|
type: Injectable,
|
|
3029
3089
|
args: [{ providedIn: 'root' }]
|
|
3030
3090
|
}], ctorParameters: function () {
|
|
@@ -3054,5 +3114,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
3054
3114
|
* Generated bundle index. Do not edit.
|
|
3055
3115
|
*/
|
|
3056
3116
|
|
|
3057
|
-
export { BlockScrollStrategy, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, ScrollStrategyOptions, ScrollingVisibility, validateHorizontalPosition, validateVerticalPosition };
|
|
3117
|
+
export { BlockScrollStrategy, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, validateHorizontalPosition, validateVerticalPosition };
|
|
3058
3118
|
//# sourceMappingURL=overlay.mjs.map
|