@angular/cdk 13.2.0-next.0 → 13.2.1
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/LICENSE +1 -1
- package/a11y/aria-describer/aria-describer.d.ts +33 -6
- package/esm2020/a11y/a11y-module.mjs +4 -4
- package/esm2020/a11y/aria-describer/aria-describer.mjs +75 -52
- package/esm2020/a11y/fake-event-detection.mjs +7 -5
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +8 -8
- package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
- package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
- package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
- package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
- package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
- package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
- package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
- package/esm2020/accordion/accordion-item.mjs +3 -3
- package/esm2020/accordion/accordion-module.mjs +4 -4
- package/esm2020/accordion/accordion.mjs +3 -3
- package/esm2020/bidi/bidi-module.mjs +4 -4
- package/esm2020/bidi/dir.mjs +3 -3
- package/esm2020/bidi/directionality.mjs +3 -3
- package/esm2020/clipboard/clipboard-module.mjs +4 -4
- package/esm2020/clipboard/clipboard.mjs +3 -3
- package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
- package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
- package/esm2020/drag-drop/directives/drag.mjs +3 -3
- package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
- package/esm2020/drag-drop/directives/drop-list.mjs +3 -3
- package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
- package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
- package/esm2020/drag-drop/drag-drop.mjs +3 -3
- package/esm2020/layout/breakpoints-observer.mjs +4 -4
- package/esm2020/layout/layout-module.mjs +4 -4
- package/esm2020/layout/media-matcher.mjs +3 -3
- package/esm2020/observers/observe-content.mjs +13 -13
- package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
- package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
- package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
- package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
- package/esm2020/overlay/overlay-container.mjs +3 -3
- package/esm2020/overlay/overlay-directives.mjs +6 -6
- package/esm2020/overlay/overlay-module.mjs +4 -4
- package/esm2020/overlay/overlay.mjs +3 -3
- package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +31 -17
- package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
- package/esm2020/platform/platform-module.mjs +4 -4
- package/esm2020/platform/platform.mjs +3 -3
- package/esm2020/portal/portal-directives.mjs +16 -16
- package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
- package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
- package/esm2020/scrolling/scrollable.mjs +3 -3
- package/esm2020/scrolling/scrolling-module.mjs +8 -8
- package/esm2020/scrolling/viewport-ruler.mjs +3 -3
- package/esm2020/scrolling/virtual-for-of.mjs +3 -3
- package/esm2020/scrolling/virtual-scroll-viewport.mjs +3 -3
- package/esm2020/stepper/step-header.mjs +3 -3
- package/esm2020/stepper/step-label.mjs +3 -3
- package/esm2020/stepper/stepper-button.mjs +6 -6
- package/esm2020/stepper/stepper-module.mjs +4 -4
- package/esm2020/stepper/stepper.mjs +6 -6
- package/esm2020/table/cell.mjs +23 -28
- package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
- package/esm2020/table/row.mjs +27 -27
- package/esm2020/table/table-module.mjs +4 -4
- package/esm2020/table/table.mjs +56 -28
- package/esm2020/table/text-column.mjs +3 -3
- package/esm2020/testing/harness-environment.mjs +9 -2
- package/esm2020/testing/protractor/protractor-harness-environment.mjs +3 -2
- package/esm2020/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +3 -2
- package/esm2020/testing/testbed/testbed-harness-environment.mjs +3 -2
- package/esm2020/text-field/autofill.mjs +6 -6
- package/esm2020/text-field/autosize.mjs +10 -5
- package/esm2020/text-field/text-field-module.mjs +4 -4
- package/esm2020/tree/nested-node.mjs +3 -3
- package/esm2020/tree/node.mjs +3 -3
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.mjs +3 -3
- package/esm2020/tree/toggle.mjs +3 -3
- package/esm2020/tree/tree-module.mjs +4 -4
- package/esm2020/tree/tree.mjs +6 -6
- package/esm2020/version.mjs +1 -1
- package/fesm2015/a11y.mjs +123 -98
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/accordion.mjs +10 -10
- package/fesm2015/bidi.mjs +10 -10
- package/fesm2015/cdk.mjs +1 -1
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +10 -10
- package/fesm2015/collections.mjs +3 -3
- package/fesm2015/drag-drop.mjs +28 -28
- package/fesm2015/layout.mjs +10 -10
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/observers.mjs +13 -13
- package/fesm2015/overlay.mjs +64 -50
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +7 -7
- package/fesm2015/portal.mjs +16 -16
- package/fesm2015/scrolling.mjs +26 -26
- package/fesm2015/stepper.mjs +22 -22
- package/fesm2015/table.mjs +113 -90
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/testing/protractor.mjs +2 -1
- package/fesm2015/testing/protractor.mjs.map +1 -1
- package/fesm2015/testing/selenium-webdriver.mjs +2 -1
- package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2015/testing/testbed.mjs +2 -1
- package/fesm2015/testing/testbed.mjs.map +1 -1
- package/fesm2015/testing.mjs +8 -1
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/text-field.mjs +19 -14
- package/fesm2015/text-field.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -25
- package/fesm2020/a11y.mjs +120 -97
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +10 -10
- package/fesm2020/bidi.mjs +10 -10
- package/fesm2020/cdk.mjs +1 -1
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +10 -10
- package/fesm2020/collections.mjs +3 -3
- package/fesm2020/drag-drop.mjs +28 -28
- package/fesm2020/layout.mjs +10 -10
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/observers.mjs +13 -13
- package/fesm2020/overlay.mjs +64 -50
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +7 -7
- package/fesm2020/portal.mjs +16 -16
- package/fesm2020/scrolling.mjs +26 -26
- package/fesm2020/stepper.mjs +22 -22
- package/fesm2020/table.mjs +113 -90
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/testing/protractor.mjs +2 -1
- package/fesm2020/testing/protractor.mjs.map +1 -1
- package/fesm2020/testing/selenium-webdriver.mjs +2 -1
- package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2020/testing/testbed.mjs +2 -1
- package/fesm2020/testing/testbed.mjs.map +1 -1
- package/fesm2020/testing.mjs +8 -1
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/text-field.mjs +19 -14
- package/fesm2020/text-field.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -25
- package/overlay/position/flexible-connected-position-strategy.d.ts +4 -2
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.js +5 -4
- package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.mjs +5 -4
- package/schematics/tsconfig.json +1 -0
- package/schematics/utils/html-manipulation.js +3 -1
- package/schematics/utils/html-manipulation.mjs +3 -1
- package/schematics/utils/project-tsconfig-paths.js +2 -2
- package/schematics/utils/project-tsconfig-paths.mjs +2 -2
- package/table/table.d.ts +13 -3
- package/testing/harness-environment.d.ts +3 -1
- package/testing/protractor/protractor-harness-environment.d.ts +2 -1
- package/testing/selenium-webdriver/selenium-web-driver-harness-environment.d.ts +2 -0
- package/testing/testbed/testbed-harness-environment.d.ts +2 -0
package/fesm2015/overlay.mjs
CHANGED
|
@@ -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: "13.
|
|
316
|
-
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
315
|
+
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", 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: "13.2.0", ngImport: i0, type: ScrollStrategyOptions, providedIn: 'root' });
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ScrollStrategyOptions, decorators: [{
|
|
318
318
|
type: Injectable,
|
|
319
319
|
args: [{ providedIn: 'root' }]
|
|
320
320
|
}], ctorParameters: function () {
|
|
@@ -931,9 +931,9 @@ class OverlayContainer {
|
|
|
931
931
|
this._containerElement = container;
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
|
-
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
935
|
-
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
934
|
+
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
935
|
+
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayContainer, providedIn: 'root' });
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayContainer, decorators: [{
|
|
937
937
|
type: Injectable,
|
|
938
938
|
args: [{ providedIn: 'root' }]
|
|
939
939
|
}], ctorParameters: function () {
|
|
@@ -1058,15 +1058,17 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1058
1058
|
this._clearPanelClasses();
|
|
1059
1059
|
this._resetOverlayElementStyles();
|
|
1060
1060
|
this._resetBoundingBoxStyles();
|
|
1061
|
-
// We need the bounding rects for the origin and the
|
|
1061
|
+
// We need the bounding rects for the origin, the overlay and the container to determine how to position
|
|
1062
1062
|
// the overlay relative to the origin.
|
|
1063
1063
|
// We use the viewport rect to determine whether a position would go off-screen.
|
|
1064
1064
|
this._viewportRect = this._getNarrowedViewportRect();
|
|
1065
1065
|
this._originRect = this._getOriginRect();
|
|
1066
1066
|
this._overlayRect = this._pane.getBoundingClientRect();
|
|
1067
|
+
this._containerRect = this._overlayContainer.getContainerElement().getBoundingClientRect();
|
|
1067
1068
|
const originRect = this._originRect;
|
|
1068
1069
|
const overlayRect = this._overlayRect;
|
|
1069
1070
|
const viewportRect = this._viewportRect;
|
|
1071
|
+
const containerRect = this._containerRect;
|
|
1070
1072
|
// Positions where the overlay will fit with flexible dimensions.
|
|
1071
1073
|
const flexibleFits = [];
|
|
1072
1074
|
// Fallback if none of the preferred positions fit within the viewport.
|
|
@@ -1075,7 +1077,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1075
1077
|
// If a good fit is found, it will be applied immediately.
|
|
1076
1078
|
for (let pos of this._preferredPositions) {
|
|
1077
1079
|
// Get the exact (x, y) coordinate for the point-of-origin on the origin element.
|
|
1078
|
-
let originPoint = this._getOriginPoint(originRect, pos);
|
|
1080
|
+
let originPoint = this._getOriginPoint(originRect, containerRect, pos);
|
|
1079
1081
|
// From that point-of-origin, get the exact (x, y) coordinate for the top-left corner of the
|
|
1080
1082
|
// overlay in this position. We use the top-left corner for calculations and later translate
|
|
1081
1083
|
// this into an appropriate (top, left, bottom, right) style.
|
|
@@ -1178,14 +1180,21 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1178
1180
|
* allows one to re-align the panel without changing the orientation of the panel.
|
|
1179
1181
|
*/
|
|
1180
1182
|
reapplyLastPosition() {
|
|
1181
|
-
if (
|
|
1183
|
+
if (this._isDisposed || !this._platform.isBrowser) {
|
|
1184
|
+
return;
|
|
1185
|
+
}
|
|
1186
|
+
const lastPosition = this._lastPosition;
|
|
1187
|
+
if (lastPosition) {
|
|
1182
1188
|
this._originRect = this._getOriginRect();
|
|
1183
1189
|
this._overlayRect = this._pane.getBoundingClientRect();
|
|
1184
1190
|
this._viewportRect = this._getNarrowedViewportRect();
|
|
1185
|
-
|
|
1186
|
-
const originPoint = this._getOriginPoint(this._originRect, lastPosition);
|
|
1191
|
+
this._containerRect = this._overlayContainer.getContainerElement().getBoundingClientRect();
|
|
1192
|
+
const originPoint = this._getOriginPoint(this._originRect, this._containerRect, lastPosition);
|
|
1187
1193
|
this._applyPosition(lastPosition, originPoint);
|
|
1188
1194
|
}
|
|
1195
|
+
else {
|
|
1196
|
+
this.apply();
|
|
1197
|
+
}
|
|
1189
1198
|
}
|
|
1190
1199
|
/**
|
|
1191
1200
|
* Sets the list of Scrollable containers that host the origin element so that
|
|
@@ -1285,7 +1294,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1285
1294
|
/**
|
|
1286
1295
|
* Gets the (x, y) coordinate of a connection point on the origin based on a relative position.
|
|
1287
1296
|
*/
|
|
1288
|
-
_getOriginPoint(originRect, pos) {
|
|
1297
|
+
_getOriginPoint(originRect, containerRect, pos) {
|
|
1289
1298
|
let x;
|
|
1290
1299
|
if (pos.originX == 'center') {
|
|
1291
1300
|
// Note: when centering we should always use the `left`
|
|
@@ -1297,6 +1306,11 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1297
1306
|
const endX = this._isRtl() ? originRect.left : originRect.right;
|
|
1298
1307
|
x = pos.originX == 'start' ? startX : endX;
|
|
1299
1308
|
}
|
|
1309
|
+
// When zooming in Safari the container rectangle contains negative values for the position
|
|
1310
|
+
// and we need to re-add them to the calculated coordinates.
|
|
1311
|
+
if (containerRect.left < 0) {
|
|
1312
|
+
x -= containerRect.left;
|
|
1313
|
+
}
|
|
1300
1314
|
let y;
|
|
1301
1315
|
if (pos.originY == 'center') {
|
|
1302
1316
|
y = originRect.top + originRect.height / 2;
|
|
@@ -1304,6 +1318,14 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1304
1318
|
else {
|
|
1305
1319
|
y = pos.originY == 'top' ? originRect.top : originRect.bottom;
|
|
1306
1320
|
}
|
|
1321
|
+
// Normally the containerRect's top value would be zero, however when the overlay is attached to an input
|
|
1322
|
+
// (e.g. in an autocomplete), mobile browsers will shift everything in order to put the input in the middle
|
|
1323
|
+
// of the screen and to make space for the virtual keyboard. We need to account for this offset,
|
|
1324
|
+
// otherwise our positioning will be thrown off.
|
|
1325
|
+
// Additionally, when zooming in Safari this fixes the vertical position.
|
|
1326
|
+
if (containerRect.top < 0) {
|
|
1327
|
+
y -= containerRect.top;
|
|
1328
|
+
}
|
|
1307
1329
|
return { x, y };
|
|
1308
1330
|
}
|
|
1309
1331
|
/**
|
|
@@ -1370,7 +1392,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1370
1392
|
/**
|
|
1371
1393
|
* Whether the overlay can fit within the viewport when it may resize either its width or height.
|
|
1372
1394
|
* @param fit How well the overlay fits in the viewport at some position.
|
|
1373
|
-
* @param point The (x, y) coordinates of the
|
|
1395
|
+
* @param point The (x, y) coordinates of the overlay at some position.
|
|
1374
1396
|
* @param viewport The geometry of the viewport.
|
|
1375
1397
|
*/
|
|
1376
1398
|
_canFitWithFlexibleDimensions(fit, point, viewport) {
|
|
@@ -1391,7 +1413,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1391
1413
|
* right and bottom).
|
|
1392
1414
|
*
|
|
1393
1415
|
* @param start Starting point from which the overlay is pushed.
|
|
1394
|
-
* @param
|
|
1416
|
+
* @param rawOverlayRect Dimensions of the overlay.
|
|
1395
1417
|
* @param scrollPosition Current viewport scroll position.
|
|
1396
1418
|
* @returns The point at which to position the overlay after pushing. This is effectively a new
|
|
1397
1419
|
* originPoint.
|
|
@@ -1686,14 +1708,6 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1686
1708
|
if (this._isPushed) {
|
|
1687
1709
|
overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);
|
|
1688
1710
|
}
|
|
1689
|
-
let virtualKeyboardOffset = this._overlayContainer
|
|
1690
|
-
.getContainerElement()
|
|
1691
|
-
.getBoundingClientRect().top;
|
|
1692
|
-
// Normally this would be zero, however when the overlay is attached to an input (e.g. in an
|
|
1693
|
-
// autocomplete), mobile browsers will shift everything in order to put the input in the middle
|
|
1694
|
-
// of the screen and to make space for the virtual keyboard. We need to account for this offset,
|
|
1695
|
-
// otherwise our positioning will be thrown off.
|
|
1696
|
-
overlayPoint.y -= virtualKeyboardOffset;
|
|
1697
1711
|
// We want to set either `top` or `bottom` based on whether the overlay wants to appear
|
|
1698
1712
|
// above or below the origin and the direction in which the element will expand.
|
|
1699
1713
|
if (position.overlayY === 'bottom') {
|
|
@@ -2122,9 +2136,9 @@ class OverlayPositionBuilder {
|
|
|
2122
2136
|
return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);
|
|
2123
2137
|
}
|
|
2124
2138
|
}
|
|
2125
|
-
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2126
|
-
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2139
|
+
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayPositionBuilder, deps: [{ token: i1.ViewportRuler }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2140
|
+
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayPositionBuilder, providedIn: 'root' });
|
|
2141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayPositionBuilder, decorators: [{
|
|
2128
2142
|
type: Injectable,
|
|
2129
2143
|
args: [{ providedIn: 'root' }]
|
|
2130
2144
|
}], ctorParameters: function () {
|
|
@@ -2173,9 +2187,9 @@ class BaseOverlayDispatcher {
|
|
|
2173
2187
|
}
|
|
2174
2188
|
}
|
|
2175
2189
|
}
|
|
2176
|
-
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2177
|
-
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2190
|
+
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: BaseOverlayDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2191
|
+
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: BaseOverlayDispatcher, providedIn: 'root' });
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: BaseOverlayDispatcher, decorators: [{
|
|
2179
2193
|
type: Injectable,
|
|
2180
2194
|
args: [{ providedIn: 'root' }]
|
|
2181
2195
|
}], ctorParameters: function () {
|
|
@@ -2234,9 +2248,9 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
|
|
|
2234
2248
|
}
|
|
2235
2249
|
}
|
|
2236
2250
|
}
|
|
2237
|
-
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2238
|
-
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2251
|
+
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayKeyboardDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2252
|
+
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayKeyboardDispatcher, providedIn: 'root' });
|
|
2253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayKeyboardDispatcher, decorators: [{
|
|
2240
2254
|
type: Injectable,
|
|
2241
2255
|
args: [{ providedIn: 'root' }]
|
|
2242
2256
|
}], ctorParameters: function () {
|
|
@@ -2347,9 +2361,9 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2347
2361
|
}
|
|
2348
2362
|
}
|
|
2349
2363
|
}
|
|
2350
|
-
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2351
|
-
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2364
|
+
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayOutsideClickDispatcher, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2365
|
+
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayOutsideClickDispatcher, providedIn: 'root' });
|
|
2366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayOutsideClickDispatcher, decorators: [{
|
|
2353
2367
|
type: Injectable,
|
|
2354
2368
|
args: [{ providedIn: 'root' }]
|
|
2355
2369
|
}], ctorParameters: function () {
|
|
@@ -2443,9 +2457,9 @@ class Overlay {
|
|
|
2443
2457
|
return new DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document);
|
|
2444
2458
|
}
|
|
2445
2459
|
}
|
|
2446
|
-
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2447
|
-
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2460
|
+
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", 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 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2461
|
+
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: Overlay });
|
|
2462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: Overlay, decorators: [{
|
|
2449
2463
|
type: Injectable
|
|
2450
2464
|
}], ctorParameters: function () {
|
|
2451
2465
|
return [{ type: ScrollStrategyOptions }, { type: OverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: OverlayPositionBuilder }, { type: OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -2494,9 +2508,9 @@ class CdkOverlayOrigin {
|
|
|
2494
2508
|
this.elementRef = elementRef;
|
|
2495
2509
|
}
|
|
2496
2510
|
}
|
|
2497
|
-
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2498
|
-
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
2499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2511
|
+
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkOverlayOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2512
|
+
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"], ngImport: i0 });
|
|
2513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkOverlayOrigin, decorators: [{
|
|
2500
2514
|
type: Directive,
|
|
2501
2515
|
args: [{
|
|
2502
2516
|
selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',
|
|
@@ -2761,9 +2775,9 @@ class CdkConnectedOverlay {
|
|
|
2761
2775
|
this._positionSubscription.unsubscribe();
|
|
2762
2776
|
}
|
|
2763
2777
|
}
|
|
2764
|
-
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2765
|
-
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
2766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2778
|
+
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", 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 });
|
|
2779
|
+
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", 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 });
|
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkConnectedOverlay, decorators: [{
|
|
2767
2781
|
type: Directive,
|
|
2768
2782
|
args: [{
|
|
2769
2783
|
selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',
|
|
@@ -2872,10 +2886,10 @@ const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {
|
|
|
2872
2886
|
*/
|
|
2873
2887
|
class OverlayModule {
|
|
2874
2888
|
}
|
|
2875
|
-
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2876
|
-
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2877
|
-
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2889
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2890
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayModule, declarations: [CdkConnectedOverlay, CdkOverlayOrigin], imports: [BidiModule, PortalModule, ScrollingModule], exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule] });
|
|
2891
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayModule, providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], imports: [[BidiModule, PortalModule, ScrollingModule], ScrollingModule] });
|
|
2892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: OverlayModule, decorators: [{
|
|
2879
2893
|
type: NgModule,
|
|
2880
2894
|
args: [{
|
|
2881
2895
|
imports: [BidiModule, PortalModule, ScrollingModule],
|
|
@@ -2971,9 +2985,9 @@ class FullscreenOverlayContainer extends OverlayContainer {
|
|
|
2971
2985
|
null);
|
|
2972
2986
|
}
|
|
2973
2987
|
}
|
|
2974
|
-
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2975
|
-
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2988
|
+
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FullscreenOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2989
|
+
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FullscreenOverlayContainer, providedIn: 'root' });
|
|
2990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FullscreenOverlayContainer, decorators: [{
|
|
2977
2991
|
type: Injectable,
|
|
2978
2992
|
args: [{ providedIn: 'root' }]
|
|
2979
2993
|
}], ctorParameters: function () {
|