@angular/cdk 16.0.0-next.3 → 16.0.0-next.5
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/index.d.ts +2 -2
- package/accordion/index.d.ts +2 -2
- package/bidi/index.d.ts +1 -1
- package/clipboard/index.d.ts +1 -1
- package/drag-drop/index.d.ts +6 -6
- package/esm2020/a11y/a11y-module.mjs +4 -4
- package/esm2020/a11y/aria-describer/aria-describer.mjs +3 -3
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +6 -6
- 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/dialog/dialog-container.mjs +3 -3
- package/esm2020/dialog/dialog-module.mjs +4 -4
- package/esm2020/dialog/dialog.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 +3 -3
- package/esm2020/layout/layout-module.mjs +4 -4
- package/esm2020/layout/media-matcher.mjs +3 -3
- package/esm2020/listbox/listbox-module.mjs +4 -4
- package/esm2020/listbox/listbox.mjs +6 -6
- package/esm2020/menu/context-menu-trigger.mjs +6 -6
- package/esm2020/menu/menu-aim.mjs +6 -6
- package/esm2020/menu/menu-bar.mjs +3 -3
- package/esm2020/menu/menu-base.mjs +3 -3
- package/esm2020/menu/menu-group.mjs +3 -3
- package/esm2020/menu/menu-item-checkbox.mjs +3 -3
- package/esm2020/menu/menu-item-radio.mjs +3 -3
- package/esm2020/menu/menu-item-selectable.mjs +3 -3
- package/esm2020/menu/menu-item.mjs +3 -3
- package/esm2020/menu/menu-module.mjs +4 -4
- package/esm2020/menu/menu-stack.mjs +3 -3
- package/esm2020/menu/menu-trigger-base.mjs +3 -3
- package/esm2020/menu/menu-trigger.mjs +5 -4
- package/esm2020/menu/menu.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/overlay-position-builder.mjs +3 -3
- package/esm2020/overlay/scroll/close-scroll-strategy.mjs +6 -2
- 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/scrolling/virtual-scrollable-element.mjs +3 -3
- package/esm2020/scrolling/virtual-scrollable-window.mjs +3 -3
- package/esm2020/scrolling/virtual-scrollable.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 +21 -21
- 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 +18 -18
- package/esm2020/table/text-column.mjs +3 -3
- package/esm2020/text-field/autofill.mjs +6 -6
- package/esm2020/text-field/autosize.mjs +3 -3
- 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 +40 -175
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/accordion.mjs +10 -47
- package/fesm2015/accordion.mjs.map +1 -1
- package/fesm2015/bidi.mjs +10 -54
- package/fesm2015/bidi.mjs.map +1 -1
- package/fesm2015/cdk.mjs +1 -24
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +10 -54
- package/fesm2015/clipboard.mjs.map +1 -1
- package/fesm2015/coercion.mjs +0 -58
- package/fesm2015/coercion.mjs.map +1 -1
- package/fesm2015/collections.mjs +3 -68
- package/fesm2015/collections.mjs.map +1 -1
- package/fesm2015/dialog.mjs +10 -61
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/drag-drop.mjs +28 -184
- package/fesm2015/drag-drop.mjs.map +1 -1
- package/fesm2015/keycodes.mjs +0 -30
- package/fesm2015/keycodes.mjs.map +1 -1
- package/fesm2015/layout.mjs +10 -54
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/listbox.mjs +10 -40
- package/fesm2015/listbox.mjs.map +1 -1
- package/fesm2015/menu.mjs +51 -184
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/observers.mjs +13 -36
- package/fesm2015/observers.mjs.map +1 -1
- package/fesm2015/overlay.mjs +39 -180
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +7 -72
- package/fesm2015/platform.mjs.map +1 -1
- package/fesm2015/portal.mjs +16 -67
- package/fesm2015/portal.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +35 -86
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +22 -73
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +76 -162
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/testing/selenium-webdriver.mjs +0 -23
- package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2015/testing/testbed.mjs +1 -58
- package/fesm2015/testing/testbed.mjs.map +1 -1
- package/fesm2015/testing.mjs +0 -37
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/text-field.mjs +13 -50
- package/fesm2015/text-field.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -104
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/a11y.mjs +40 -197
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +10 -47
- package/fesm2020/accordion.mjs.map +1 -1
- package/fesm2020/bidi.mjs +10 -54
- package/fesm2020/bidi.mjs.map +1 -1
- package/fesm2020/cdk.mjs +1 -24
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +10 -54
- package/fesm2020/clipboard.mjs.map +1 -1
- package/fesm2020/coercion.mjs +0 -58
- package/fesm2020/coercion.mjs.map +1 -1
- package/fesm2020/collections.mjs +3 -84
- package/fesm2020/collections.mjs.map +1 -1
- package/fesm2020/dialog.mjs +10 -68
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/drag-drop.mjs +28 -199
- package/fesm2020/drag-drop.mjs.map +1 -1
- package/fesm2020/keycodes.mjs +0 -30
- package/fesm2020/keycodes.mjs.map +1 -1
- package/fesm2020/layout.mjs +10 -54
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/listbox.mjs +10 -40
- package/fesm2020/listbox.mjs.map +1 -1
- package/fesm2020/menu.mjs +50 -184
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/observers.mjs +13 -36
- package/fesm2020/observers.mjs.map +1 -1
- package/fesm2020/overlay.mjs +39 -208
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +7 -72
- package/fesm2020/platform.mjs.map +1 -1
- package/fesm2020/portal.mjs +16 -67
- package/fesm2020/portal.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +35 -136
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +22 -73
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +76 -169
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/testing/selenium-webdriver.mjs +0 -37
- package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2020/testing/testbed.mjs +1 -72
- package/fesm2020/testing/testbed.mjs.map +1 -1
- package/fesm2020/testing.mjs +0 -66
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/text-field.mjs +13 -50
- package/fesm2020/text-field.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -111
- package/fesm2020/tree.mjs.map +1 -1
- package/listbox/index.d.ts +2 -2
- package/menu/index.d.ts +5 -5
- package/observers/index.d.ts +1 -1
- package/overlay/index.d.ts +1 -1
- package/package.json +1 -1
- package/portal/index.d.ts +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/scrolling/index.d.ts +3 -3
- package/stepper/index.d.ts +4 -4
- package/table/index.d.ts +6 -6
- package/text-field/index.d.ts +1 -1
- package/tree/index.d.ts +6 -6
package/fesm2015/observers.mjs
CHANGED
|
@@ -4,13 +4,6 @@ import { Injectable, EventEmitter, Directive, Output, Input, NgModule } from '@a
|
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { debounceTime } from 'rxjs/operators';
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* @license
|
|
9
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10
|
-
*
|
|
11
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
12
|
-
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/
|
|
14
7
|
/**
|
|
15
8
|
* Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
|
|
16
9
|
* @docs-private
|
|
@@ -20,9 +13,9 @@ class MutationObserverFactory {
|
|
|
20
13
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
21
14
|
}
|
|
22
15
|
}
|
|
23
|
-
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
24
|
-
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
16
|
+
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
26
19
|
type: Injectable,
|
|
27
20
|
args: [{ providedIn: 'root' }]
|
|
28
21
|
}] });
|
|
@@ -93,9 +86,9 @@ class ContentObserver {
|
|
|
93
86
|
}
|
|
94
87
|
}
|
|
95
88
|
}
|
|
96
|
-
ContentObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
97
|
-
ContentObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
89
|
+
ContentObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ContentObserver, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
90
|
+
ContentObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ContentObserver, providedIn: 'root' });
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ContentObserver, decorators: [{
|
|
99
92
|
type: Injectable,
|
|
100
93
|
args: [{ providedIn: 'root' }]
|
|
101
94
|
}], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });
|
|
@@ -156,9 +149,9 @@ class CdkObserveContent {
|
|
|
156
149
|
(_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
157
150
|
}
|
|
158
151
|
}
|
|
159
|
-
CdkObserveContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
160
|
-
CdkObserveContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
152
|
+
CdkObserveContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkObserveContent, deps: [{ token: ContentObserver }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
153
|
+
CdkObserveContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkObserveContent, selector: "[cdkObserveContent]", inputs: { disabled: ["cdkObserveContentDisabled", "disabled"], debounce: "debounce" }, outputs: { event: "cdkObserveContent" }, exportAs: ["cdkObserveContent"], ngImport: i0 });
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkObserveContent, decorators: [{
|
|
162
155
|
type: Directive,
|
|
163
156
|
args: [{
|
|
164
157
|
selector: '[cdkObserveContent]',
|
|
@@ -175,10 +168,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
175
168
|
}] } });
|
|
176
169
|
class ObserversModule {
|
|
177
170
|
}
|
|
178
|
-
ObserversModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
179
|
-
ObserversModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
180
|
-
ObserversModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
171
|
+
ObserversModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
172
|
+
ObserversModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: ObserversModule, declarations: [CdkObserveContent], exports: [CdkObserveContent] });
|
|
173
|
+
ObserversModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ObserversModule, providers: [MutationObserverFactory] });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ObserversModule, decorators: [{
|
|
182
175
|
type: NgModule,
|
|
183
176
|
args: [{
|
|
184
177
|
exports: [CdkObserveContent],
|
|
@@ -187,22 +180,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
187
180
|
}]
|
|
188
181
|
}] });
|
|
189
182
|
|
|
190
|
-
/**
|
|
191
|
-
* @license
|
|
192
|
-
* Copyright Google LLC All Rights Reserved.
|
|
193
|
-
*
|
|
194
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
195
|
-
* found in the LICENSE file at https://angular.io/license
|
|
196
|
-
*/
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @license
|
|
200
|
-
* Copyright Google LLC All Rights Reserved.
|
|
201
|
-
*
|
|
202
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
203
|
-
* found in the LICENSE file at https://angular.io/license
|
|
204
|
-
*/
|
|
205
|
-
|
|
206
183
|
/**
|
|
207
184
|
* Generated bundle index. Do not edit.
|
|
208
185
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observers.mjs","sources":["../../../../../../src/cdk/observers/observe-content.ts","../../../../../../src/cdk/observers/public-api.ts","../../../../../../src/cdk/observers/index.ts","../../../../../../src/cdk/observers/observers_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n coerceBooleanProperty,\n coerceNumberProperty,\n coerceElement,\n BooleanInput,\n NumberInput,\n} from '@angular/cdk/coercion';\nimport {\n AfterContentInit,\n Directive,\n ElementRef,\n EventEmitter,\n Injectable,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport {Observable, Subject, Subscription, Observer} from 'rxjs';\nimport {debounceTime} from 'rxjs/operators';\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\n@Injectable({providedIn: 'root'})\nexport class MutationObserverFactory {\n create(callback: MutationCallback): MutationObserver | null {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\n}\n\n/** An injectable service that allows watching elements for changes to their content. */\n@Injectable({providedIn: 'root'})\nexport class ContentObserver implements OnDestroy {\n /** Keeps track of the existing MutationObservers so they can be reused. */\n private _observedElements = new Map<\n Element,\n {\n observer: MutationObserver | null;\n readonly stream: Subject<MutationRecord[]>;\n count: number;\n }\n >();\n\n constructor(private _mutationObserverFactory: MutationObserverFactory) {}\n\n ngOnDestroy() {\n this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n }\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: Element): Observable<MutationRecord[]>;\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: ElementRef<Element>): Observable<MutationRecord[]>;\n\n observe(elementOrRef: Element | ElementRef<Element>): Observable<MutationRecord[]> {\n const element = coerceElement(elementOrRef);\n\n return new Observable((observer: Observer<MutationRecord[]>) => {\n const stream = this._observeElement(element);\n const subscription = stream.subscribe(observer);\n\n return () => {\n subscription.unsubscribe();\n this._unobserveElement(element);\n };\n });\n }\n\n /**\n * Observes the given element by using the existing MutationObserver if available, or creating a\n * new one if not.\n */\n private _observeElement(element: Element): Subject<MutationRecord[]> {\n if (!this._observedElements.has(element)) {\n const stream = new Subject<MutationRecord[]>();\n const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n this._observedElements.set(element, {observer, stream, count: 1});\n } else {\n this._observedElements.get(element)!.count++;\n }\n return this._observedElements.get(element)!.stream;\n }\n\n /**\n * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n * observing this element.\n */\n private _unobserveElement(element: Element) {\n if (this._observedElements.has(element)) {\n this._observedElements.get(element)!.count--;\n if (!this._observedElements.get(element)!.count) {\n this._cleanupObserver(element);\n }\n }\n }\n\n /** Clean up the underlying MutationObserver for the specified element. */\n private _cleanupObserver(element: Element) {\n if (this._observedElements.has(element)) {\n const {observer, stream} = this._observedElements.get(element)!;\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this._observedElements.delete(element);\n }\n }\n}\n\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\n@Directive({\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n})\nexport class CdkObserveContent implements AfterContentInit, OnDestroy {\n /** Event emitted for each change in the element's content. */\n @Output('cdkObserveContent') readonly event = new EventEmitter<MutationRecord[]>();\n\n /**\n * Whether observing content is disabled. This option can be used\n * to disconnect the underlying MutationObserver until it is needed.\n */\n @Input('cdkObserveContentDisabled')\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n this._disabled ? this._unsubscribe() : this._subscribe();\n }\n private _disabled = false;\n\n /** Debounce interval for emitting the changes. */\n @Input()\n get debounce(): number {\n return this._debounce;\n }\n set debounce(value: NumberInput) {\n this._debounce = coerceNumberProperty(value);\n this._subscribe();\n }\n private _debounce: number;\n\n private _currentSubscription: Subscription | null = null;\n\n constructor(\n private _contentObserver: ContentObserver,\n private _elementRef: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n ) {}\n\n ngAfterContentInit() {\n if (!this._currentSubscription && !this.disabled) {\n this._subscribe();\n }\n }\n\n ngOnDestroy() {\n this._unsubscribe();\n }\n\n private _subscribe() {\n this._unsubscribe();\n const stream = this._contentObserver.observe(this._elementRef);\n\n // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n // Consider brining it back inside the zone next time we're making breaking changes.\n // Bringing it back inside can cause things like infinite change detection loops and changed\n // after checked errors if people's code isn't handling it properly.\n this._ngZone.runOutsideAngular(() => {\n this._currentSubscription = (\n this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream\n ).subscribe(this.event);\n });\n }\n\n private _unsubscribe() {\n this._currentSubscription?.unsubscribe();\n }\n}\n\n@NgModule({\n exports: [CdkObserveContent],\n declarations: [CdkObserveContent],\n providers: [MutationObserverFactory],\n})\nexport class ObserversModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './observe-content';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;;;;;;AAMG;AAwBH;;;AAGG;AACH,MACa,uBAAuB,CAAA;AAClC,IAAA,MAAM,CAAC,QAA0B,EAAA;AAC/B,QAAA,OAAO,OAAO,gBAAgB,KAAK,WAAW,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,CAAjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;oHAwEjB,eAAe,EAAA,SAAA,EAFf,CAAC,uBAAuB,CAAC,EAAA,CAAA,CAAA;kGAEzB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;iBACrC,CAAA;;;ACrND;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"observers.mjs","sources":["../../../../../../src/cdk/observers/observe-content.ts","../../../../../../src/cdk/observers/observers_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n coerceBooleanProperty,\n coerceNumberProperty,\n coerceElement,\n BooleanInput,\n NumberInput,\n} from '@angular/cdk/coercion';\nimport {\n AfterContentInit,\n Directive,\n ElementRef,\n EventEmitter,\n Injectable,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport {Observable, Subject, Subscription, Observer} from 'rxjs';\nimport {debounceTime} from 'rxjs/operators';\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\n@Injectable({providedIn: 'root'})\nexport class MutationObserverFactory {\n create(callback: MutationCallback): MutationObserver | null {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\n}\n\n/** An injectable service that allows watching elements for changes to their content. */\n@Injectable({providedIn: 'root'})\nexport class ContentObserver implements OnDestroy {\n /** Keeps track of the existing MutationObservers so they can be reused. */\n private _observedElements = new Map<\n Element,\n {\n observer: MutationObserver | null;\n readonly stream: Subject<MutationRecord[]>;\n count: number;\n }\n >();\n\n constructor(private _mutationObserverFactory: MutationObserverFactory) {}\n\n ngOnDestroy() {\n this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n }\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: Element): Observable<MutationRecord[]>;\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: ElementRef<Element>): Observable<MutationRecord[]>;\n\n observe(elementOrRef: Element | ElementRef<Element>): Observable<MutationRecord[]> {\n const element = coerceElement(elementOrRef);\n\n return new Observable((observer: Observer<MutationRecord[]>) => {\n const stream = this._observeElement(element);\n const subscription = stream.subscribe(observer);\n\n return () => {\n subscription.unsubscribe();\n this._unobserveElement(element);\n };\n });\n }\n\n /**\n * Observes the given element by using the existing MutationObserver if available, or creating a\n * new one if not.\n */\n private _observeElement(element: Element): Subject<MutationRecord[]> {\n if (!this._observedElements.has(element)) {\n const stream = new Subject<MutationRecord[]>();\n const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n this._observedElements.set(element, {observer, stream, count: 1});\n } else {\n this._observedElements.get(element)!.count++;\n }\n return this._observedElements.get(element)!.stream;\n }\n\n /**\n * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n * observing this element.\n */\n private _unobserveElement(element: Element) {\n if (this._observedElements.has(element)) {\n this._observedElements.get(element)!.count--;\n if (!this._observedElements.get(element)!.count) {\n this._cleanupObserver(element);\n }\n }\n }\n\n /** Clean up the underlying MutationObserver for the specified element. */\n private _cleanupObserver(element: Element) {\n if (this._observedElements.has(element)) {\n const {observer, stream} = this._observedElements.get(element)!;\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this._observedElements.delete(element);\n }\n }\n}\n\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\n@Directive({\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n})\nexport class CdkObserveContent implements AfterContentInit, OnDestroy {\n /** Event emitted for each change in the element's content. */\n @Output('cdkObserveContent') readonly event = new EventEmitter<MutationRecord[]>();\n\n /**\n * Whether observing content is disabled. This option can be used\n * to disconnect the underlying MutationObserver until it is needed.\n */\n @Input('cdkObserveContentDisabled')\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n this._disabled ? this._unsubscribe() : this._subscribe();\n }\n private _disabled = false;\n\n /** Debounce interval for emitting the changes. */\n @Input()\n get debounce(): number {\n return this._debounce;\n }\n set debounce(value: NumberInput) {\n this._debounce = coerceNumberProperty(value);\n this._subscribe();\n }\n private _debounce: number;\n\n private _currentSubscription: Subscription | null = null;\n\n constructor(\n private _contentObserver: ContentObserver,\n private _elementRef: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n ) {}\n\n ngAfterContentInit() {\n if (!this._currentSubscription && !this.disabled) {\n this._subscribe();\n }\n }\n\n ngOnDestroy() {\n this._unsubscribe();\n }\n\n private _subscribe() {\n this._unsubscribe();\n const stream = this._contentObserver.observe(this._elementRef);\n\n // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n // Consider brining it back inside the zone next time we're making breaking changes.\n // Bringing it back inside can cause things like infinite change detection loops and changed\n // after checked errors if people's code isn't handling it properly.\n this._ngZone.runOutsideAngular(() => {\n this._currentSubscription = (\n this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream\n ).subscribe(this.event);\n });\n }\n\n private _unsubscribe() {\n this._currentSubscription?.unsubscribe();\n }\n}\n\n@NgModule({\n exports: [CdkObserveContent],\n declarations: [CdkObserveContent],\n providers: [MutationObserverFactory],\n})\nexport class ObserversModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AA8BA;;;AAGG;AACH,MACa,uBAAuB,CAAA;AAClC,IAAA,MAAM,CAAC,QAA0B,EAAA;AAC/B,QAAA,OAAO,OAAO,gBAAgB,KAAK,WAAW,GAAG,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B,iBAAiB,CAAA,EAAA,CAAA,CAAA;oHAwEjB,eAAe,EAAA,SAAA,EAFf,CAAC,uBAAuB,CAAC,EAAA,CAAA,CAAA;kGAEzB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;iBACrC,CAAA;;;ACrND;;AAEG;;;;"}
|
package/fesm2015/overlay.mjs
CHANGED
|
@@ -8,20 +8,13 @@ import { Injectable, Inject, ElementRef, Optional, ApplicationRef, ANIMATION_MOD
|
|
|
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';
|
|
11
|
+
import { filter, take, takeUntil, takeWhile } from 'rxjs/operators';
|
|
11
12
|
import * as i5 from '@angular/cdk/bidi';
|
|
12
13
|
import { BidiModule } from '@angular/cdk/bidi';
|
|
13
14
|
import { DomPortalOutlet, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
14
15
|
import { Subject, Subscription, merge } from 'rxjs';
|
|
15
|
-
import { take, takeUntil, takeWhile } from 'rxjs/operators';
|
|
16
16
|
import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* @license
|
|
20
|
-
* Copyright Google LLC All Rights Reserved.
|
|
21
|
-
*
|
|
22
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
23
|
-
* found in the LICENSE file at https://angular.io/license
|
|
24
|
-
*/
|
|
25
18
|
const scrollBehaviorSupported = supportsScrollBehavior();
|
|
26
19
|
/**
|
|
27
20
|
* Strategy that will prevent the user from scrolling while the overlay is visible.
|
|
@@ -93,13 +86,6 @@ class BlockScrollStrategy {
|
|
|
93
86
|
}
|
|
94
87
|
}
|
|
95
88
|
|
|
96
|
-
/**
|
|
97
|
-
* @license
|
|
98
|
-
* Copyright Google LLC All Rights Reserved.
|
|
99
|
-
*
|
|
100
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
101
|
-
* found in the LICENSE file at https://angular.io/license
|
|
102
|
-
*/
|
|
103
89
|
/**
|
|
104
90
|
* Returns an error to be thrown when attempting to attach an already-attached scroll strategy.
|
|
105
91
|
*/
|
|
@@ -137,7 +123,10 @@ class CloseScrollStrategy {
|
|
|
137
123
|
if (this._scrollSubscription) {
|
|
138
124
|
return;
|
|
139
125
|
}
|
|
140
|
-
const stream = this._scrollDispatcher.scrolled(0)
|
|
126
|
+
const stream = this._scrollDispatcher.scrolled(0).pipe(filter(scrollable => {
|
|
127
|
+
return (!scrollable ||
|
|
128
|
+
!this._overlayRef.overlayElement.contains(scrollable.getElementRef().nativeElement));
|
|
129
|
+
}));
|
|
141
130
|
if (this._config && this._config.threshold && this._config.threshold > 1) {
|
|
142
131
|
this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top;
|
|
143
132
|
this._scrollSubscription = stream.subscribe(() => {
|
|
@@ -167,13 +156,6 @@ class CloseScrollStrategy {
|
|
|
167
156
|
}
|
|
168
157
|
}
|
|
169
158
|
|
|
170
|
-
/**
|
|
171
|
-
* @license
|
|
172
|
-
* Copyright Google LLC All Rights Reserved.
|
|
173
|
-
*
|
|
174
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
175
|
-
* found in the LICENSE file at https://angular.io/license
|
|
176
|
-
*/
|
|
177
159
|
/** Scroll strategy that doesn't do anything. */
|
|
178
160
|
class NoopScrollStrategy {
|
|
179
161
|
/** Does nothing, as this scroll strategy is a no-op. */
|
|
@@ -184,13 +166,6 @@ class NoopScrollStrategy {
|
|
|
184
166
|
attach() { }
|
|
185
167
|
}
|
|
186
168
|
|
|
187
|
-
/**
|
|
188
|
-
* @license
|
|
189
|
-
* Copyright Google LLC All Rights Reserved.
|
|
190
|
-
*
|
|
191
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
192
|
-
* found in the LICENSE file at https://angular.io/license
|
|
193
|
-
*/
|
|
194
169
|
/**
|
|
195
170
|
* Gets whether an element is scrolled outside of view by any of its parent scrolling containers.
|
|
196
171
|
* @param element Dimensions of the element (from getBoundingClientRect)
|
|
@@ -224,13 +199,6 @@ function isElementClippedByScrolling(element, scrollContainers) {
|
|
|
224
199
|
});
|
|
225
200
|
}
|
|
226
201
|
|
|
227
|
-
/**
|
|
228
|
-
* @license
|
|
229
|
-
* Copyright Google LLC All Rights Reserved.
|
|
230
|
-
*
|
|
231
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
232
|
-
* found in the LICENSE file at https://angular.io/license
|
|
233
|
-
*/
|
|
234
202
|
/**
|
|
235
203
|
* Strategy that will update the element position as the user is scrolling.
|
|
236
204
|
*/
|
|
@@ -312,9 +280,9 @@ class ScrollStrategyOptions {
|
|
|
312
280
|
this._document = document;
|
|
313
281
|
}
|
|
314
282
|
}
|
|
315
|
-
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
316
|
-
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
283
|
+
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ScrollStrategyOptions, deps: [{ token: i1.ScrollDispatcher }, { token: i1.ViewportRuler }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
284
|
+
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ScrollStrategyOptions, providedIn: 'root' });
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ScrollStrategyOptions, decorators: [{
|
|
318
286
|
type: Injectable,
|
|
319
287
|
args: [{ providedIn: 'root' }]
|
|
320
288
|
}], ctorParameters: function () {
|
|
@@ -324,21 +292,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
324
292
|
}] }];
|
|
325
293
|
} });
|
|
326
294
|
|
|
327
|
-
/**
|
|
328
|
-
* @license
|
|
329
|
-
* Copyright Google LLC All Rights Reserved.
|
|
330
|
-
*
|
|
331
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
332
|
-
* found in the LICENSE file at https://angular.io/license
|
|
333
|
-
*/
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* @license
|
|
337
|
-
* Copyright Google LLC All Rights Reserved.
|
|
338
|
-
*
|
|
339
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
340
|
-
* found in the LICENSE file at https://angular.io/license
|
|
341
|
-
*/
|
|
342
295
|
/** Initial configuration used when creating an overlay. */
|
|
343
296
|
class OverlayConfig {
|
|
344
297
|
constructor(config) {
|
|
@@ -376,13 +329,6 @@ class OverlayConfig {
|
|
|
376
329
|
}
|
|
377
330
|
}
|
|
378
331
|
|
|
379
|
-
/**
|
|
380
|
-
* @license
|
|
381
|
-
* Copyright Google LLC All Rights Reserved.
|
|
382
|
-
*
|
|
383
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
384
|
-
* found in the LICENSE file at https://angular.io/license
|
|
385
|
-
*/
|
|
386
332
|
/** The points of the origin element and the overlay element to connect. */
|
|
387
333
|
class ConnectionPositionPair {
|
|
388
334
|
constructor(origin, overlay,
|
|
@@ -464,13 +410,6 @@ function validateHorizontalPosition(property, value) {
|
|
|
464
410
|
}
|
|
465
411
|
}
|
|
466
412
|
|
|
467
|
-
/**
|
|
468
|
-
* @license
|
|
469
|
-
* Copyright Google LLC All Rights Reserved.
|
|
470
|
-
*
|
|
471
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
472
|
-
* found in the LICENSE file at https://angular.io/license
|
|
473
|
-
*/
|
|
474
413
|
/**
|
|
475
414
|
* Reference to an overlay that has been created with the Overlay service.
|
|
476
415
|
* Used to manipulate or dispose of said overlay.
|
|
@@ -889,13 +828,6 @@ class OverlayRef {
|
|
|
889
828
|
}
|
|
890
829
|
}
|
|
891
830
|
|
|
892
|
-
/**
|
|
893
|
-
* @license
|
|
894
|
-
* Copyright Google LLC All Rights Reserved.
|
|
895
|
-
*
|
|
896
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
897
|
-
* found in the LICENSE file at https://angular.io/license
|
|
898
|
-
*/
|
|
899
831
|
/** Container inside which all overlays will render. */
|
|
900
832
|
class OverlayContainer {
|
|
901
833
|
constructor(document, _platform) {
|
|
@@ -956,9 +888,9 @@ class OverlayContainer {
|
|
|
956
888
|
this._containerElement = container;
|
|
957
889
|
}
|
|
958
890
|
}
|
|
959
|
-
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
960
|
-
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
891
|
+
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
892
|
+
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayContainer, providedIn: 'root' });
|
|
893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayContainer, decorators: [{
|
|
962
894
|
type: Injectable,
|
|
963
895
|
args: [{ providedIn: 'root' }]
|
|
964
896
|
}], ctorParameters: function () {
|
|
@@ -968,13 +900,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
968
900
|
}] }, { type: i1$1.Platform }];
|
|
969
901
|
} });
|
|
970
902
|
|
|
971
|
-
/**
|
|
972
|
-
* @license
|
|
973
|
-
* Copyright Google LLC All Rights Reserved.
|
|
974
|
-
*
|
|
975
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
976
|
-
* found in the LICENSE file at https://angular.io/license
|
|
977
|
-
*/
|
|
978
903
|
// TODO: refactor clipping detection into a separate thing (part of scrolling module)
|
|
979
904
|
// TODO: doesn't handle both flexible width and height when it has to scroll along both axis.
|
|
980
905
|
/** Class to be added to the overlay bounding box. */
|
|
@@ -1948,13 +1873,6 @@ const STANDARD_DROPDOWN_ADJACENT_POSITIONS = [
|
|
|
1948
1873
|
{ originX: 'start', originY: 'bottom', overlayX: 'end', overlayY: 'bottom' },
|
|
1949
1874
|
];
|
|
1950
1875
|
|
|
1951
|
-
/**
|
|
1952
|
-
* @license
|
|
1953
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1954
|
-
*
|
|
1955
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1956
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1957
|
-
*/
|
|
1958
1876
|
/** Class to be added to the overlay pane wrapper. */
|
|
1959
1877
|
const wrapperClass = 'cdk-global-overlay-wrapper';
|
|
1960
1878
|
/**
|
|
@@ -2207,9 +2125,9 @@ class OverlayPositionBuilder {
|
|
|
2207
2125
|
return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);
|
|
2208
2126
|
}
|
|
2209
2127
|
}
|
|
2210
|
-
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2211
|
-
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2128
|
+
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayPositionBuilder, deps: [{ token: i1.ViewportRuler }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2129
|
+
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayPositionBuilder, providedIn: 'root' });
|
|
2130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayPositionBuilder, decorators: [{
|
|
2213
2131
|
type: Injectable,
|
|
2214
2132
|
args: [{ providedIn: 'root' }]
|
|
2215
2133
|
}], ctorParameters: function () {
|
|
@@ -2219,13 +2137,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
2219
2137
|
}] }, { type: i1$1.Platform }, { type: OverlayContainer }];
|
|
2220
2138
|
} });
|
|
2221
2139
|
|
|
2222
|
-
/**
|
|
2223
|
-
* @license
|
|
2224
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2225
|
-
*
|
|
2226
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2227
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2228
|
-
*/
|
|
2229
2140
|
/**
|
|
2230
2141
|
* Service for dispatching events that land on the body to appropriate overlay ref,
|
|
2231
2142
|
* if any. It maintains a list of attached overlays to determine best suited overlay based
|
|
@@ -2258,9 +2169,9 @@ class BaseOverlayDispatcher {
|
|
|
2258
2169
|
}
|
|
2259
2170
|
}
|
|
2260
2171
|
}
|
|
2261
|
-
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2262
|
-
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2172
|
+
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: BaseOverlayDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2173
|
+
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: BaseOverlayDispatcher, providedIn: 'root' });
|
|
2174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: BaseOverlayDispatcher, decorators: [{
|
|
2264
2175
|
type: Injectable,
|
|
2265
2176
|
args: [{ providedIn: 'root' }]
|
|
2266
2177
|
}], ctorParameters: function () {
|
|
@@ -2270,13 +2181,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
2270
2181
|
}] }];
|
|
2271
2182
|
} });
|
|
2272
2183
|
|
|
2273
|
-
/**
|
|
2274
|
-
* @license
|
|
2275
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2276
|
-
*
|
|
2277
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2278
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2279
|
-
*/
|
|
2280
2184
|
/**
|
|
2281
2185
|
* Service for dispatching keyboard events that land on the body to appropriate overlay ref,
|
|
2282
2186
|
* if any. It maintains a list of attached overlays to determine best suited overlay based
|
|
@@ -2335,9 +2239,9 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
|
|
|
2335
2239
|
}
|
|
2336
2240
|
}
|
|
2337
2241
|
}
|
|
2338
|
-
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2339
|
-
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2242
|
+
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayKeyboardDispatcher, deps: [{ token: DOCUMENT }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2243
|
+
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayKeyboardDispatcher, providedIn: 'root' });
|
|
2244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayKeyboardDispatcher, decorators: [{
|
|
2341
2245
|
type: Injectable,
|
|
2342
2246
|
args: [{ providedIn: 'root' }]
|
|
2343
2247
|
}], ctorParameters: function () {
|
|
@@ -2349,13 +2253,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
2349
2253
|
}] }];
|
|
2350
2254
|
} });
|
|
2351
2255
|
|
|
2352
|
-
/**
|
|
2353
|
-
* @license
|
|
2354
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2355
|
-
*
|
|
2356
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2357
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2358
|
-
*/
|
|
2359
2256
|
/**
|
|
2360
2257
|
* Service for dispatching mouse click events that land on the body to appropriate overlay ref,
|
|
2361
2258
|
* if any. It maintains a list of attached overlays to determine best suited overlay based
|
|
@@ -2469,9 +2366,9 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2469
2366
|
body.addEventListener('contextmenu', this._clickListener, true);
|
|
2470
2367
|
}
|
|
2471
2368
|
}
|
|
2472
|
-
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2473
|
-
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2369
|
+
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayOutsideClickDispatcher, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2370
|
+
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayOutsideClickDispatcher, providedIn: 'root' });
|
|
2371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayOutsideClickDispatcher, decorators: [{
|
|
2475
2372
|
type: Injectable,
|
|
2476
2373
|
args: [{ providedIn: 'root' }]
|
|
2477
2374
|
}], ctorParameters: function () {
|
|
@@ -2568,9 +2465,9 @@ class Overlay {
|
|
|
2568
2465
|
return new DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document);
|
|
2569
2466
|
}
|
|
2570
2467
|
}
|
|
2571
|
-
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2572
|
-
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2468
|
+
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", 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 });
|
|
2469
|
+
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: Overlay, providedIn: 'root' });
|
|
2470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: Overlay, decorators: [{
|
|
2574
2471
|
type: Injectable,
|
|
2575
2472
|
args: [{ providedIn: 'root' }]
|
|
2576
2473
|
}], ctorParameters: function () {
|
|
@@ -2625,9 +2522,9 @@ class CdkOverlayOrigin {
|
|
|
2625
2522
|
this.elementRef = elementRef;
|
|
2626
2523
|
}
|
|
2627
2524
|
}
|
|
2628
|
-
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2629
|
-
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
2630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2525
|
+
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkOverlayOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2526
|
+
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkOverlayOrigin, isStandalone: true, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"], ngImport: i0 });
|
|
2527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkOverlayOrigin, decorators: [{
|
|
2631
2528
|
type: Directive,
|
|
2632
2529
|
args: [{
|
|
2633
2530
|
selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',
|
|
@@ -2893,9 +2790,9 @@ class CdkConnectedOverlay {
|
|
|
2893
2790
|
this._positionSubscription.unsubscribe();
|
|
2894
2791
|
}
|
|
2895
2792
|
}
|
|
2896
|
-
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2897
|
-
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
2898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2793
|
+
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", 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 });
|
|
2794
|
+
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkConnectedOverlay, isStandalone: true, 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 });
|
|
2795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkConnectedOverlay, decorators: [{
|
|
2899
2796
|
type: Directive,
|
|
2900
2797
|
args: [{
|
|
2901
2798
|
selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',
|
|
@@ -2996,19 +2893,12 @@ const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {
|
|
|
2996
2893
|
useFactory: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY,
|
|
2997
2894
|
};
|
|
2998
2895
|
|
|
2999
|
-
/**
|
|
3000
|
-
* @license
|
|
3001
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3002
|
-
*
|
|
3003
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3004
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3005
|
-
*/
|
|
3006
2896
|
class OverlayModule {
|
|
3007
2897
|
}
|
|
3008
|
-
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
3009
|
-
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
3010
|
-
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
3011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2898
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2899
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayModule, imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin], exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule] });
|
|
2900
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayModule, providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], imports: [BidiModule, PortalModule, ScrollingModule, ScrollingModule] });
|
|
2901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: OverlayModule, decorators: [{
|
|
3012
2902
|
type: NgModule,
|
|
3013
2903
|
args: [{
|
|
3014
2904
|
imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin],
|
|
@@ -3017,21 +2907,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
3017
2907
|
}]
|
|
3018
2908
|
}] });
|
|
3019
2909
|
|
|
3020
|
-
/**
|
|
3021
|
-
* @license
|
|
3022
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3023
|
-
*
|
|
3024
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3025
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3026
|
-
*/
|
|
3027
|
-
|
|
3028
|
-
/**
|
|
3029
|
-
* @license
|
|
3030
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3031
|
-
*
|
|
3032
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3033
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3034
|
-
*/
|
|
3035
2910
|
/**
|
|
3036
2911
|
* Alternative to OverlayContainer that supports correct displaying of overlay elements in
|
|
3037
2912
|
* Fullscreen mode
|
|
@@ -3103,9 +2978,9 @@ class FullscreenOverlayContainer extends OverlayContainer {
|
|
|
3103
2978
|
null);
|
|
3104
2979
|
}
|
|
3105
2980
|
}
|
|
3106
|
-
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
3107
|
-
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
3108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
2981
|
+
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: FullscreenOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2982
|
+
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: FullscreenOverlayContainer, providedIn: 'root' });
|
|
2983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: FullscreenOverlayContainer, decorators: [{
|
|
3109
2984
|
type: Injectable,
|
|
3110
2985
|
args: [{ providedIn: 'root' }]
|
|
3111
2986
|
}], ctorParameters: function () {
|
|
@@ -3115,22 +2990,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
3115
2990
|
}] }, { type: i1$1.Platform }];
|
|
3116
2991
|
} });
|
|
3117
2992
|
|
|
3118
|
-
/**
|
|
3119
|
-
* @license
|
|
3120
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3121
|
-
*
|
|
3122
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3123
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3124
|
-
*/
|
|
3125
|
-
|
|
3126
|
-
/**
|
|
3127
|
-
* @license
|
|
3128
|
-
* Copyright Google LLC All Rights Reserved.
|
|
3129
|
-
*
|
|
3130
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3131
|
-
* found in the LICENSE file at https://angular.io/license
|
|
3132
|
-
*/
|
|
3133
|
-
|
|
3134
2993
|
/**
|
|
3135
2994
|
* Generated bundle index. Do not edit.
|
|
3136
2995
|
*/
|