@angular/cdk 19.0.0-next.3 → 19.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 +19 -37
- package/accordion/index.d.ts +5 -4
- package/bidi/index.d.ts +2 -2
- package/clipboard/index.d.ts +3 -4
- package/dialog/index.d.ts +6 -9
- package/drag-drop/index.d.ts +16 -33
- package/fesm2022/a11y.mjs +109 -167
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +20 -25
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +14 -18
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +19 -26
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/dialog.mjs +33 -53
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +90 -149
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +21 -26
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +17 -11
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +49 -49
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +21 -21
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +105 -148
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +7 -7
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +59 -58
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +3 -3
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +86 -126
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +47 -56
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +170 -228
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +33 -40
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +68 -71
- package/fesm2022/tree.mjs.map +1 -1
- package/layout/index.d.ts +5 -7
- package/observers/index.d.ts +2 -2
- package/overlay/_index.scss +44 -11
- package/overlay/index.d.ts +18 -34
- package/overlay-prebuilt.css +1 -1
- package/package.json +1 -1
- package/portal/index.d.ts +21 -18
- package/schematics/index.d.ts +1 -1
- package/schematics/index.js +2 -2
- package/schematics/index.mjs +2 -2
- package/schematics/ng-add/index.d.ts +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.d.ts +1 -1
- package/schematics/ng-add/package-config.js +2 -2
- package/schematics/ng-add/package-config.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/schema.js +2 -2
- package/schematics/ng-add/schema.mjs +2 -2
- package/schematics/ng-generate/drag-drop/index.d.ts +1 -1
- package/schematics/ng-generate/drag-drop/index.js +2 -2
- package/schematics/ng-generate/drag-drop/index.mjs +2 -2
- package/schematics/ng-generate/drag-drop/schema.d.ts +1 -1
- package/schematics/ng-generate/drag-drop/schema.js +2 -2
- package/schematics/ng-generate/drag-drop/schema.mjs +2 -2
- package/schematics/ng-update/data/attribute-selectors.d.ts +1 -1
- package/schematics/ng-update/data/attribute-selectors.js +2 -2
- package/schematics/ng-update/data/attribute-selectors.mjs +2 -2
- package/schematics/ng-update/data/class-names.d.ts +1 -1
- package/schematics/ng-update/data/class-names.js +2 -2
- package/schematics/ng-update/data/class-names.mjs +2 -2
- package/schematics/ng-update/data/constructor-checks.d.ts +1 -1
- package/schematics/ng-update/data/constructor-checks.js +2 -2
- package/schematics/ng-update/data/constructor-checks.mjs +2 -2
- package/schematics/ng-update/data/css-selectors.d.ts +1 -1
- package/schematics/ng-update/data/css-selectors.js +2 -2
- package/schematics/ng-update/data/css-selectors.mjs +2 -2
- package/schematics/ng-update/data/css-tokens.d.ts +1 -1
- package/schematics/ng-update/data/css-tokens.js +2 -2
- package/schematics/ng-update/data/css-tokens.mjs +2 -2
- package/schematics/ng-update/data/element-selectors.d.ts +1 -1
- package/schematics/ng-update/data/element-selectors.js +2 -2
- package/schematics/ng-update/data/element-selectors.mjs +2 -2
- package/schematics/ng-update/data/index.d.ts +1 -1
- package/schematics/ng-update/data/index.js +2 -2
- package/schematics/ng-update/data/index.mjs +2 -2
- package/schematics/ng-update/data/input-names.d.ts +1 -1
- package/schematics/ng-update/data/input-names.js +2 -2
- package/schematics/ng-update/data/input-names.mjs +2 -2
- package/schematics/ng-update/data/method-call-checks.d.ts +1 -1
- package/schematics/ng-update/data/method-call-checks.js +2 -2
- package/schematics/ng-update/data/method-call-checks.mjs +2 -2
- package/schematics/ng-update/data/output-names.d.ts +1 -1
- package/schematics/ng-update/data/output-names.js +2 -2
- package/schematics/ng-update/data/output-names.mjs +2 -2
- package/schematics/ng-update/data/property-names.d.ts +1 -1
- package/schematics/ng-update/data/property-names.js +2 -2
- package/schematics/ng-update/data/property-names.mjs +2 -2
- package/schematics/ng-update/data/symbol-removal.d.ts +1 -1
- package/schematics/ng-update/data/symbol-removal.js +2 -2
- package/schematics/ng-update/data/symbol-removal.mjs +2 -2
- package/schematics/ng-update/devkit-file-system.d.ts +1 -1
- package/schematics/ng-update/devkit-file-system.js +2 -2
- package/schematics/ng-update/devkit-file-system.mjs +2 -2
- package/schematics/ng-update/devkit-migration-rule.d.ts +1 -1
- package/schematics/ng-update/devkit-migration-rule.js +2 -2
- package/schematics/ng-update/devkit-migration-rule.mjs +2 -2
- package/schematics/ng-update/devkit-migration.d.ts +1 -1
- package/schematics/ng-update/devkit-migration.js +2 -2
- package/schematics/ng-update/devkit-migration.mjs +2 -2
- package/schematics/ng-update/find-stylesheets.d.ts +1 -1
- package/schematics/ng-update/find-stylesheets.js +2 -2
- package/schematics/ng-update/find-stylesheets.mjs +2 -2
- package/schematics/ng-update/html-parsing/angular.d.ts +1 -1
- package/schematics/ng-update/html-parsing/angular.js +2 -2
- package/schematics/ng-update/html-parsing/angular.mjs +2 -2
- package/schematics/ng-update/html-parsing/elements.d.ts +1 -1
- package/schematics/ng-update/html-parsing/elements.js +2 -2
- package/schematics/ng-update/html-parsing/elements.mjs +2 -2
- package/schematics/ng-update/index.d.ts +1 -1
- package/schematics/ng-update/index.js +2 -2
- package/schematics/ng-update/index.mjs +2 -2
- package/schematics/ng-update/migrations/attribute-selectors.d.ts +1 -1
- package/schematics/ng-update/migrations/attribute-selectors.js +2 -2
- package/schematics/ng-update/migrations/attribute-selectors.mjs +2 -2
- package/schematics/ng-update/migrations/class-inheritance.d.ts +1 -1
- package/schematics/ng-update/migrations/class-inheritance.js +2 -2
- package/schematics/ng-update/migrations/class-inheritance.mjs +2 -2
- package/schematics/ng-update/migrations/class-names.d.ts +1 -1
- package/schematics/ng-update/migrations/class-names.js +2 -2
- package/schematics/ng-update/migrations/class-names.mjs +2 -2
- package/schematics/ng-update/migrations/constructor-signature.d.ts +1 -1
- package/schematics/ng-update/migrations/constructor-signature.js +2 -2
- package/schematics/ng-update/migrations/constructor-signature.mjs +2 -2
- package/schematics/ng-update/migrations/css-selectors.d.ts +1 -1
- package/schematics/ng-update/migrations/css-selectors.js +2 -2
- package/schematics/ng-update/migrations/css-selectors.mjs +2 -2
- package/schematics/ng-update/migrations/css-tokens.d.ts +1 -1
- package/schematics/ng-update/migrations/css-tokens.js +2 -2
- package/schematics/ng-update/migrations/css-tokens.mjs +2 -2
- package/schematics/ng-update/migrations/element-selectors.d.ts +1 -1
- package/schematics/ng-update/migrations/element-selectors.js +2 -2
- package/schematics/ng-update/migrations/element-selectors.mjs +2 -2
- package/schematics/ng-update/migrations/input-names.d.ts +1 -1
- package/schematics/ng-update/migrations/input-names.js +2 -2
- package/schematics/ng-update/migrations/input-names.mjs +2 -2
- package/schematics/ng-update/migrations/method-call-arguments.d.ts +1 -1
- package/schematics/ng-update/migrations/method-call-arguments.js +2 -2
- package/schematics/ng-update/migrations/method-call-arguments.mjs +2 -2
- package/schematics/ng-update/migrations/misc-template.d.ts +1 -1
- package/schematics/ng-update/migrations/misc-template.js +2 -2
- package/schematics/ng-update/migrations/misc-template.mjs +2 -2
- package/schematics/ng-update/migrations/output-names.d.ts +1 -1
- package/schematics/ng-update/migrations/output-names.js +2 -2
- package/schematics/ng-update/migrations/output-names.mjs +2 -2
- package/schematics/ng-update/migrations/property-names.d.ts +1 -1
- package/schematics/ng-update/migrations/property-names.js +2 -2
- package/schematics/ng-update/migrations/property-names.mjs +2 -2
- package/schematics/ng-update/migrations/symbol-removal.d.ts +1 -1
- package/schematics/ng-update/migrations/symbol-removal.js +2 -2
- package/schematics/ng-update/migrations/symbol-removal.mjs +2 -2
- package/schematics/ng-update/public-api.d.ts +1 -1
- package/schematics/ng-update/public-api.js +2 -2
- package/schematics/ng-update/public-api.mjs +2 -2
- package/schematics/ng-update/typescript/base-types.d.ts +1 -1
- package/schematics/ng-update/typescript/base-types.js +2 -2
- package/schematics/ng-update/typescript/base-types.mjs +2 -2
- package/schematics/ng-update/typescript/imports.d.ts +1 -1
- package/schematics/ng-update/typescript/imports.js +2 -2
- package/schematics/ng-update/typescript/imports.mjs +2 -2
- package/schematics/ng-update/typescript/literal.d.ts +1 -1
- package/schematics/ng-update/typescript/literal.js +2 -2
- package/schematics/ng-update/typescript/literal.mjs +2 -2
- package/schematics/ng-update/typescript/module-specifiers.d.ts +1 -1
- package/schematics/ng-update/typescript/module-specifiers.js +2 -2
- package/schematics/ng-update/typescript/module-specifiers.mjs +2 -2
- package/schematics/ng-update/upgrade-data.d.ts +1 -1
- package/schematics/ng-update/upgrade-data.js +2 -2
- package/schematics/ng-update/upgrade-data.mjs +2 -2
- package/schematics/paths.d.ts +1 -1
- package/schematics/paths.js +2 -2
- package/schematics/paths.mjs +2 -2
- package/schematics/update-tool/component-resource-collector.d.ts +1 -1
- package/schematics/update-tool/component-resource-collector.js +2 -2
- package/schematics/update-tool/component-resource-collector.mjs +2 -2
- package/schematics/update-tool/file-system.d.ts +1 -1
- package/schematics/update-tool/file-system.js +2 -2
- package/schematics/update-tool/file-system.mjs +2 -2
- package/schematics/update-tool/index.d.ts +1 -1
- package/schematics/update-tool/index.js +2 -2
- package/schematics/update-tool/index.mjs +2 -2
- package/schematics/update-tool/logger.d.ts +1 -1
- package/schematics/update-tool/logger.js +2 -2
- package/schematics/update-tool/logger.mjs +2 -2
- package/schematics/update-tool/migration.d.ts +1 -1
- package/schematics/update-tool/migration.js +2 -2
- package/schematics/update-tool/migration.mjs +2 -2
- package/schematics/update-tool/public-api.d.ts +1 -1
- package/schematics/update-tool/public-api.js +2 -2
- package/schematics/update-tool/public-api.mjs +2 -2
- package/schematics/update-tool/target-version.d.ts +1 -1
- package/schematics/update-tool/target-version.js +2 -2
- package/schematics/update-tool/target-version.mjs +2 -2
- package/schematics/update-tool/update-recorder.d.ts +1 -1
- package/schematics/update-tool/update-recorder.js +2 -2
- package/schematics/update-tool/update-recorder.mjs +2 -2
- package/schematics/update-tool/utils/decorators.d.ts +1 -1
- package/schematics/update-tool/utils/decorators.js +2 -2
- package/schematics/update-tool/utils/decorators.mjs +2 -2
- package/schematics/update-tool/utils/diagnostics.d.ts +1 -1
- package/schematics/update-tool/utils/diagnostics.js +2 -2
- package/schematics/update-tool/utils/diagnostics.mjs +2 -2
- package/schematics/update-tool/utils/functions.d.ts +1 -1
- package/schematics/update-tool/utils/functions.js +2 -2
- package/schematics/update-tool/utils/functions.mjs +2 -2
- package/schematics/update-tool/utils/imports.d.ts +1 -1
- package/schematics/update-tool/utils/imports.js +2 -2
- package/schematics/update-tool/utils/imports.mjs +2 -2
- package/schematics/update-tool/utils/line-mappings.d.ts +1 -1
- package/schematics/update-tool/utils/line-mappings.js +2 -2
- package/schematics/update-tool/utils/line-mappings.mjs +2 -2
- package/schematics/update-tool/utils/parse-tsconfig.d.ts +1 -1
- package/schematics/update-tool/utils/parse-tsconfig.js +2 -2
- package/schematics/update-tool/utils/parse-tsconfig.mjs +2 -2
- package/schematics/update-tool/utils/property-name.d.ts +1 -1
- package/schematics/update-tool/utils/property-name.js +2 -2
- package/schematics/update-tool/utils/property-name.mjs +2 -2
- package/schematics/update-tool/utils/virtual-host.d.ts +1 -1
- package/schematics/update-tool/utils/virtual-host.js +2 -2
- package/schematics/update-tool/utils/virtual-host.mjs +2 -2
- package/schematics/update-tool/version-changes.d.ts +1 -1
- package/schematics/update-tool/version-changes.js +2 -2
- package/schematics/update-tool/version-changes.mjs +2 -2
- package/schematics/utils/ast/ng-module-imports.d.ts +1 -1
- package/schematics/utils/ast/ng-module-imports.js +2 -2
- package/schematics/utils/ast/ng-module-imports.mjs +2 -2
- package/schematics/utils/ast.d.ts +1 -1
- package/schematics/utils/ast.js +2 -2
- package/schematics/utils/ast.mjs +2 -2
- package/schematics/utils/build-component.d.ts +1 -1
- package/schematics/utils/build-component.js +2 -2
- package/schematics/utils/build-component.mjs +2 -2
- package/schematics/utils/get-project.d.ts +1 -1
- package/schematics/utils/get-project.js +2 -2
- package/schematics/utils/get-project.mjs +2 -2
- package/schematics/utils/html-manipulation.d.ts +1 -1
- package/schematics/utils/html-manipulation.js +2 -2
- package/schematics/utils/html-manipulation.mjs +2 -2
- package/schematics/utils/index.d.ts +1 -1
- package/schematics/utils/index.js +2 -2
- package/schematics/utils/index.mjs +2 -2
- package/schematics/utils/parse5-element.d.ts +1 -1
- package/schematics/utils/parse5-element.js +2 -2
- package/schematics/utils/parse5-element.mjs +2 -2
- package/schematics/utils/project-index-file.d.ts +1 -1
- package/schematics/utils/project-index-file.js +2 -2
- package/schematics/utils/project-index-file.mjs +2 -2
- package/schematics/utils/project-main-file.d.ts +1 -1
- package/schematics/utils/project-main-file.js +2 -2
- package/schematics/utils/project-main-file.mjs +2 -2
- package/schematics/utils/project-style-file.d.ts +1 -1
- package/schematics/utils/project-style-file.js +2 -2
- package/schematics/utils/project-style-file.mjs +2 -2
- package/schematics/utils/project-targets.d.ts +1 -1
- package/schematics/utils/project-targets.js +2 -2
- package/schematics/utils/project-targets.mjs +2 -2
- package/schematics/utils/project-tsconfig-paths.d.ts +1 -1
- package/schematics/utils/project-tsconfig-paths.js +2 -2
- package/schematics/utils/project-tsconfig-paths.mjs +2 -2
- package/schematics/utils/schematic-options.d.ts +1 -1
- package/schematics/utils/schematic-options.js +2 -2
- package/schematics/utils/schematic-options.mjs +2 -2
- package/scrolling/index.d.ts +17 -37
- package/stepper/index.d.ts +9 -11
- package/table/index.d.ts +36 -51
- package/text-field/index.d.ts +5 -9
- package/tree/index.d.ts +11 -13
package/layout/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { NgZone } from '@angular/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { OnDestroy } from '@angular/core';
|
|
5
|
-
import { Platform } from '@angular/cdk/platform';
|
|
6
4
|
|
|
7
|
-
/** Utility for checking the matching state of
|
|
5
|
+
/** Utility for checking the matching state of `@media` queries. */
|
|
8
6
|
export declare class BreakpointObserver implements OnDestroy {
|
|
9
7
|
private _mediaMatcher;
|
|
10
8
|
private _zone;
|
|
@@ -12,7 +10,7 @@ export declare class BreakpointObserver implements OnDestroy {
|
|
|
12
10
|
private _queries;
|
|
13
11
|
/** A subject for all other observables to takeUntil based on. */
|
|
14
12
|
private readonly _destroySubject;
|
|
15
|
-
constructor(
|
|
13
|
+
constructor(...args: unknown[]);
|
|
16
14
|
/** Completes the active subject, signalling to all other observables to complete. */
|
|
17
15
|
ngOnDestroy(): void;
|
|
18
16
|
/**
|
|
@@ -74,10 +72,10 @@ export declare class LayoutModule {
|
|
|
74
72
|
/** A utility for calling matchMedia queries. */
|
|
75
73
|
export declare class MediaMatcher {
|
|
76
74
|
private _platform;
|
|
77
|
-
private _nonce
|
|
75
|
+
private _nonce;
|
|
78
76
|
/** The internal matchMedia method to return back a MediaQueryList like object. */
|
|
79
77
|
private _matchMedia;
|
|
80
|
-
constructor(
|
|
78
|
+
constructor(...args: unknown[]);
|
|
81
79
|
/**
|
|
82
80
|
* Evaluates the given media query and returns the native MediaQueryList from which results
|
|
83
81
|
* can be retrieved.
|
|
@@ -85,7 +83,7 @@ export declare class MediaMatcher {
|
|
|
85
83
|
* MediaQueryList for the query provided.
|
|
86
84
|
*/
|
|
87
85
|
matchMedia(query: string): MediaQueryList;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaMatcher,
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MediaMatcher, never>;
|
|
89
87
|
static ɵprov: i0.ɵɵInjectableDeclaration<MediaMatcher>;
|
|
90
88
|
}
|
|
91
89
|
|
package/observers/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class CdkObserveContent implements AfterContentInit, OnDestroy {
|
|
|
27
27
|
set debounce(value: NumberInput);
|
|
28
28
|
private _debounce;
|
|
29
29
|
private _currentSubscription;
|
|
30
|
-
constructor(
|
|
30
|
+
constructor(...args: unknown[]);
|
|
31
31
|
ngAfterContentInit(): void;
|
|
32
32
|
ngOnDestroy(): void;
|
|
33
33
|
private _subscribe;
|
|
@@ -43,7 +43,7 @@ export declare class ContentObserver implements OnDestroy {
|
|
|
43
43
|
/** Keeps track of the existing MutationObservers so they can be reused. */
|
|
44
44
|
private _observedElements;
|
|
45
45
|
private _ngZone;
|
|
46
|
-
constructor(
|
|
46
|
+
constructor(...args: unknown[]);
|
|
47
47
|
ngOnDestroy(): void;
|
|
48
48
|
/**
|
|
49
49
|
* Observe content changes on an element.
|
package/overlay/_index.scss
CHANGED
|
@@ -12,8 +12,20 @@ $overlay-backdrop-color: rgba(0, 0, 0, 0.32) !default;
|
|
|
12
12
|
$backdrop-animation-duration: 400ms !default;
|
|
13
13
|
$backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
@mixin
|
|
15
|
+
// Conditionally wraps some styles in a layer depending on a flag.
|
|
16
|
+
@mixin _conditional-layer($should-wrap) {
|
|
17
|
+
@if ($should-wrap) {
|
|
18
|
+
@layer cdk-overlay {
|
|
19
|
+
@content;
|
|
20
|
+
}
|
|
21
|
+
} @else {
|
|
22
|
+
@content;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Structural styles for the overlay. Pass `$wrap-customizable-styles` to emit
|
|
27
|
+
// the styles that support customization in a way that makes them easier to change.
|
|
28
|
+
@mixin private-overlay-structure($wrap-customizable-styles) {
|
|
17
29
|
.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
18
30
|
// Disable events from being captured on the overlay container.
|
|
19
31
|
pointer-events: none;
|
|
@@ -28,7 +40,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
28
40
|
// The overlay-container is an invisible element which contains all individual overlays.
|
|
29
41
|
.cdk-overlay-container {
|
|
30
42
|
position: fixed;
|
|
31
|
-
|
|
43
|
+
|
|
44
|
+
@include _conditional-layer($wrap-customizable-styles) {
|
|
45
|
+
z-index: $overlay-container-z-index;
|
|
46
|
+
}
|
|
32
47
|
|
|
33
48
|
&:empty {
|
|
34
49
|
// Hide the element when it doesn't have any child nodes. This doesn't
|
|
@@ -44,7 +59,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
44
59
|
.cdk-global-overlay-wrapper {
|
|
45
60
|
display: flex;
|
|
46
61
|
position: absolute;
|
|
47
|
-
|
|
62
|
+
|
|
63
|
+
@include _conditional-layer($wrap-customizable-styles) {
|
|
64
|
+
z-index: $overlay-z-index;
|
|
65
|
+
}
|
|
48
66
|
}
|
|
49
67
|
|
|
50
68
|
// A single overlay pane.
|
|
@@ -54,13 +72,16 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
54
72
|
position: absolute;
|
|
55
73
|
pointer-events: auto;
|
|
56
74
|
box-sizing: border-box;
|
|
57
|
-
z-index: $overlay-z-index;
|
|
58
75
|
|
|
59
76
|
// For connected-position overlays, we set `display: flex` in
|
|
60
77
|
// order to force `max-width` and `max-height` to take effect.
|
|
61
78
|
display: flex;
|
|
62
79
|
max-width: 100%;
|
|
63
80
|
max-height: 100%;
|
|
81
|
+
|
|
82
|
+
@include _conditional-layer($wrap-customizable-styles) {
|
|
83
|
+
z-index: $overlay-z-index;
|
|
84
|
+
}
|
|
64
85
|
}
|
|
65
86
|
|
|
66
87
|
.cdk-overlay-backdrop {
|
|
@@ -71,11 +92,14 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
71
92
|
left: 0;
|
|
72
93
|
right: 0;
|
|
73
94
|
|
|
74
|
-
z-index: $overlay-backdrop-z-index;
|
|
75
95
|
pointer-events: auto;
|
|
76
96
|
-webkit-tap-highlight-color: transparent;
|
|
77
|
-
transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
|
|
78
97
|
opacity: 0;
|
|
98
|
+
|
|
99
|
+
@include _conditional-layer($wrap-customizable-styles) {
|
|
100
|
+
z-index: $overlay-backdrop-z-index;
|
|
101
|
+
transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
|
|
102
|
+
}
|
|
79
103
|
}
|
|
80
104
|
|
|
81
105
|
.cdk-overlay-backdrop-showing {
|
|
@@ -84,7 +108,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
84
108
|
// Note that we can't import and use the `high-contrast` mixin from `_a11y.scss`, because
|
|
85
109
|
// this file will be copied to the top-level `cdk` package when putting together the files
|
|
86
110
|
// for npm. Any relative import paths we use here will become invalid once the file is copied.
|
|
87
|
-
|
|
111
|
+
@media (forced-colors: active) {
|
|
88
112
|
// In high contrast mode the rgba background will become solid
|
|
89
113
|
// so we need to fall back to making it opaque using `opacity`.
|
|
90
114
|
opacity: 0.6;
|
|
@@ -92,8 +116,9 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
92
116
|
}
|
|
93
117
|
|
|
94
118
|
.cdk-overlay-dark-backdrop {
|
|
95
|
-
|
|
96
|
-
|
|
119
|
+
@include _conditional-layer($wrap-customizable-styles) {
|
|
120
|
+
background: $overlay-backdrop-color;
|
|
121
|
+
}
|
|
97
122
|
}
|
|
98
123
|
|
|
99
124
|
.cdk-overlay-transparent-backdrop {
|
|
@@ -121,7 +146,6 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
121
146
|
// overlay element's size to fit within the viewport.
|
|
122
147
|
.cdk-overlay-connected-position-bounding-box {
|
|
123
148
|
position: absolute;
|
|
124
|
-
z-index: $overlay-z-index;
|
|
125
149
|
|
|
126
150
|
// We use `display: flex` on this element exclusively for centering connected overlays.
|
|
127
151
|
// When *not* centering, a top/left/bottom/right will be set which overrides the normal
|
|
@@ -135,6 +159,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
135
159
|
// Add some dimensions so the element has an `innerText` which some people depend on in tests.
|
|
136
160
|
min-width: 1px;
|
|
137
161
|
min-height: 1px;
|
|
162
|
+
|
|
163
|
+
@include _conditional-layer($wrap-customizable-styles) {
|
|
164
|
+
z-index: $overlay-z-index;
|
|
165
|
+
}
|
|
138
166
|
}
|
|
139
167
|
|
|
140
168
|
// Used when disabling global scrolling.
|
|
@@ -152,3 +180,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
152
180
|
overflow-y: scroll;
|
|
153
181
|
}
|
|
154
182
|
}
|
|
183
|
+
|
|
184
|
+
/// Emits structural styles required for cdk/overlay to function.
|
|
185
|
+
@mixin overlay {
|
|
186
|
+
@include private-overlay-structure(false);
|
|
187
|
+
}
|
package/overlay/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
|
|
2
2
|
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
3
|
-
import { ComponentFactoryResolver } from '@angular/core';
|
|
4
3
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
5
4
|
import { ComponentRef } from '@angular/core';
|
|
6
5
|
import { ComponentType } from '@angular/cdk/portal';
|
|
@@ -15,7 +14,6 @@ import * as i1 from '@angular/cdk/bidi';
|
|
|
15
14
|
import * as i2 from '@angular/cdk/portal';
|
|
16
15
|
import * as i3 from '@angular/cdk/scrolling';
|
|
17
16
|
import { InjectionToken } from '@angular/core';
|
|
18
|
-
import { Injector } from '@angular/core';
|
|
19
17
|
import { Location as Location_2 } from '@angular/common';
|
|
20
18
|
import { NgZone } from '@angular/core';
|
|
21
19
|
import { Observable } from 'rxjs';
|
|
@@ -27,8 +25,6 @@ import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
|
27
25
|
import { SimpleChanges } from '@angular/core';
|
|
28
26
|
import { Subject } from 'rxjs';
|
|
29
27
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
30
|
-
import { TemplateRef } from '@angular/core';
|
|
31
|
-
import { ViewContainerRef } from '@angular/core';
|
|
32
28
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
33
29
|
|
|
34
30
|
/**
|
|
@@ -41,7 +37,7 @@ declare abstract class BaseOverlayDispatcher implements OnDestroy {
|
|
|
41
37
|
_attachedOverlays: OverlayRef[];
|
|
42
38
|
protected _document: Document;
|
|
43
39
|
protected _isAttached: boolean;
|
|
44
|
-
constructor(
|
|
40
|
+
constructor(...args: unknown[]);
|
|
45
41
|
ngOnDestroy(): void;
|
|
46
42
|
/** Add a new overlay to the list of attached overlay refs. */
|
|
47
43
|
add(overlayRef: OverlayRef): void;
|
|
@@ -166,7 +162,7 @@ export declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
|
|
|
166
162
|
readonly overlayKeydown: EventEmitter<KeyboardEvent>;
|
|
167
163
|
/** Emits when there are mouse outside click events that are targeted at the overlay. */
|
|
168
164
|
readonly overlayOutsideClick: EventEmitter<MouseEvent>;
|
|
169
|
-
constructor(
|
|
165
|
+
constructor(...args: unknown[]);
|
|
170
166
|
/** The associated overlay reference. */
|
|
171
167
|
get overlayRef(): OverlayRef;
|
|
172
168
|
/** The element's layout direction. */
|
|
@@ -187,7 +183,7 @@ export declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
|
|
|
187
183
|
private _attachOverlay;
|
|
188
184
|
/** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */
|
|
189
185
|
private _detachOverlay;
|
|
190
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkConnectedOverlay,
|
|
186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkConnectedOverlay, never>;
|
|
191
187
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkConnectedOverlay, "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", ["cdkConnectedOverlay"], { "origin": { "alias": "cdkConnectedOverlayOrigin"; "required": false; }; "positions": { "alias": "cdkConnectedOverlayPositions"; "required": false; }; "positionStrategy": { "alias": "cdkConnectedOverlayPositionStrategy"; "required": false; }; "offsetX": { "alias": "cdkConnectedOverlayOffsetX"; "required": false; }; "offsetY": { "alias": "cdkConnectedOverlayOffsetY"; "required": false; }; "width": { "alias": "cdkConnectedOverlayWidth"; "required": false; }; "height": { "alias": "cdkConnectedOverlayHeight"; "required": false; }; "minWidth": { "alias": "cdkConnectedOverlayMinWidth"; "required": false; }; "minHeight": { "alias": "cdkConnectedOverlayMinHeight"; "required": false; }; "backdropClass": { "alias": "cdkConnectedOverlayBackdropClass"; "required": false; }; "panelClass": { "alias": "cdkConnectedOverlayPanelClass"; "required": false; }; "viewportMargin": { "alias": "cdkConnectedOverlayViewportMargin"; "required": false; }; "scrollStrategy": { "alias": "cdkConnectedOverlayScrollStrategy"; "required": false; }; "open": { "alias": "cdkConnectedOverlayOpen"; "required": false; }; "disableClose": { "alias": "cdkConnectedOverlayDisableClose"; "required": false; }; "transformOriginSelector": { "alias": "cdkConnectedOverlayTransformOriginOn"; "required": false; }; "hasBackdrop": { "alias": "cdkConnectedOverlayHasBackdrop"; "required": false; }; "lockPosition": { "alias": "cdkConnectedOverlayLockPosition"; "required": false; }; "flexibleDimensions": { "alias": "cdkConnectedOverlayFlexibleDimensions"; "required": false; }; "growAfterOpen": { "alias": "cdkConnectedOverlayGrowAfterOpen"; "required": false; }; "push": { "alias": "cdkConnectedOverlayPush"; "required": false; }; "disposeOnNavigation": { "alias": "cdkConnectedOverlayDisposeOnNavigation"; "required": false; }; }, { "backdropClick": "backdropClick"; "positionChange": "positionChange"; "attach": "attach"; "detach": "detach"; "overlayKeydown": "overlayKeydown"; "overlayOutsideClick": "overlayOutsideClick"; }, never, never, true, never>;
|
|
192
188
|
static ngAcceptInputType_hasBackdrop: unknown;
|
|
193
189
|
static ngAcceptInputType_lockPosition: unknown;
|
|
@@ -202,11 +198,8 @@ export declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
|
|
|
202
198
|
* ConnectedPositionStrategy.
|
|
203
199
|
*/
|
|
204
200
|
export declare class CdkOverlayOrigin {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
constructor(
|
|
208
|
-
/** Reference to the element on which the directive is applied. */
|
|
209
|
-
elementRef: ElementRef);
|
|
201
|
+
elementRef: ElementRef<any>;
|
|
202
|
+
constructor(...args: unknown[]);
|
|
210
203
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkOverlayOrigin, never>;
|
|
211
204
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkOverlayOrigin, "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", ["cdkOverlayOrigin"], {}, {}, never, never, true, never>;
|
|
212
205
|
}
|
|
@@ -558,7 +551,7 @@ export declare type FlexibleConnectedPositionStrategyOrigin = ElementRef | Eleme
|
|
|
558
551
|
export declare class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {
|
|
559
552
|
private _fullScreenEventName;
|
|
560
553
|
private _fullScreenListener;
|
|
561
|
-
constructor(
|
|
554
|
+
constructor(...args: unknown[]);
|
|
562
555
|
ngOnDestroy(): void;
|
|
563
556
|
protected _createContainer(): void;
|
|
564
557
|
private _adjustParentForFullscreenChange;
|
|
@@ -708,7 +701,6 @@ export declare interface OriginConnectionPosition {
|
|
|
708
701
|
* An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one.
|
|
709
702
|
*/
|
|
710
703
|
export declare class Overlay {
|
|
711
|
-
/** Scrolling strategies that can be used when creating an overlay. */
|
|
712
704
|
scrollStrategies: ScrollStrategyOptions;
|
|
713
705
|
private _overlayContainer;
|
|
714
706
|
private _componentFactoryResolver;
|
|
@@ -720,12 +712,10 @@ export declare class Overlay {
|
|
|
720
712
|
private _directionality;
|
|
721
713
|
private _location;
|
|
722
714
|
private _outsideClickDispatcher;
|
|
723
|
-
private _animationsModuleType
|
|
715
|
+
private _animationsModuleType;
|
|
724
716
|
private _appRef;
|
|
725
717
|
private _styleLoader;
|
|
726
|
-
constructor(
|
|
727
|
-
/** Scrolling strategies that can be used when creating an overlay. */
|
|
728
|
-
scrollStrategies: ScrollStrategyOptions, _overlayContainer: OverlayContainer, _componentFactoryResolver: ComponentFactoryResolver, _positionBuilder: OverlayPositionBuilder, _keyboardDispatcher: OverlayKeyboardDispatcher, _injector: Injector, _ngZone: NgZone, _document: any, _directionality: Directionality, _location: Location_2, _outsideClickDispatcher: OverlayOutsideClickDispatcher, _animationsModuleType?: string | undefined);
|
|
718
|
+
constructor(...args: unknown[]);
|
|
729
719
|
/**
|
|
730
720
|
* Creates an overlay.
|
|
731
721
|
* @param config Configuration applied to the overlay.
|
|
@@ -755,7 +745,7 @@ export declare class Overlay {
|
|
|
755
745
|
* @returns A portal outlet for the given DOM element.
|
|
756
746
|
*/
|
|
757
747
|
private _createPortalOutlet;
|
|
758
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Overlay,
|
|
748
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Overlay, never>;
|
|
759
749
|
static ɵprov: i0.ɵɵInjectableDeclaration<Overlay>;
|
|
760
750
|
}
|
|
761
751
|
|
|
@@ -809,7 +799,7 @@ export declare class OverlayContainer implements OnDestroy {
|
|
|
809
799
|
protected _containerElement: HTMLElement;
|
|
810
800
|
protected _document: Document;
|
|
811
801
|
protected _styleLoader: _CdkPrivateStyleLoader;
|
|
812
|
-
constructor(
|
|
802
|
+
constructor(...args: unknown[]);
|
|
813
803
|
ngOnDestroy(): void;
|
|
814
804
|
/**
|
|
815
805
|
* This method returns the overlay container element. It will lazily
|
|
@@ -835,18 +825,14 @@ export declare class OverlayContainer implements OnDestroy {
|
|
|
835
825
|
* on event target and order of overlay opens.
|
|
836
826
|
*/
|
|
837
827
|
export declare class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
|
|
838
|
-
|
|
839
|
-
private _ngZone?;
|
|
840
|
-
constructor(document: any,
|
|
841
|
-
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
842
|
-
_ngZone?: NgZone | undefined);
|
|
828
|
+
private _ngZone;
|
|
843
829
|
/** Add a new overlay to the list of attached overlay refs. */
|
|
844
830
|
add(overlayRef: OverlayRef): void;
|
|
845
831
|
/** Detaches the global keyboard event listener. */
|
|
846
832
|
protected detach(): void;
|
|
847
833
|
/** Keyboard event listener that will be attached to the body. */
|
|
848
834
|
private _keydownListener;
|
|
849
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayKeyboardDispatcher,
|
|
835
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayKeyboardDispatcher, never>;
|
|
850
836
|
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayKeyboardDispatcher>;
|
|
851
837
|
}
|
|
852
838
|
|
|
@@ -863,14 +849,10 @@ export declare class OverlayModule {
|
|
|
863
849
|
*/
|
|
864
850
|
export declare class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
865
851
|
private _platform;
|
|
866
|
-
|
|
867
|
-
private _ngZone?;
|
|
852
|
+
private _ngZone;
|
|
868
853
|
private _cursorOriginalValue;
|
|
869
854
|
private _cursorStyleIsSet;
|
|
870
855
|
private _pointerDownEventTarget;
|
|
871
|
-
constructor(document: any, _platform: Platform,
|
|
872
|
-
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
873
|
-
_ngZone?: NgZone | undefined);
|
|
874
856
|
/** Add a new overlay to the list of attached overlay refs. */
|
|
875
857
|
add(overlayRef: OverlayRef): void;
|
|
876
858
|
/** Detaches the global keyboard event listener. */
|
|
@@ -880,7 +862,7 @@ export declare class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher
|
|
|
880
862
|
private _pointerDownListener;
|
|
881
863
|
/** Click event listener that will be attached to the body propagate phase. */
|
|
882
864
|
private _clickListener;
|
|
883
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayOutsideClickDispatcher,
|
|
865
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayOutsideClickDispatcher, never>;
|
|
884
866
|
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayOutsideClickDispatcher>;
|
|
885
867
|
}
|
|
886
868
|
|
|
@@ -890,7 +872,7 @@ export declare class OverlayPositionBuilder {
|
|
|
890
872
|
private _document;
|
|
891
873
|
private _platform;
|
|
892
874
|
private _overlayContainer;
|
|
893
|
-
constructor(
|
|
875
|
+
constructor(...args: unknown[]);
|
|
894
876
|
/**
|
|
895
877
|
* Creates a global position strategy.
|
|
896
878
|
*/
|
|
@@ -941,6 +923,8 @@ export declare class OverlayRef implements PortalOutlet {
|
|
|
941
923
|
readonly _outsidePointerEvents: Subject<MouseEvent>;
|
|
942
924
|
private _renders;
|
|
943
925
|
private _afterRenderRef;
|
|
926
|
+
/** Reference to the currently-running `afterNextRender` call. */
|
|
927
|
+
private _afterNextRenderRef;
|
|
944
928
|
constructor(_portalOutlet: PortalOutlet, _host: HTMLElement, _pane: HTMLElement, _config: ImmutableObject<OverlayConfig>, _ngZone: NgZone, _keyboardDispatcher: OverlayKeyboardDispatcher, _document: Document, _location: Location_2, _outsideClickDispatcher: OverlayOutsideClickDispatcher, _animationsDisabled: boolean | undefined, _injector: EnvironmentInjector);
|
|
945
929
|
/** The overlay's HTML element */
|
|
946
930
|
get overlayElement(): HTMLElement;
|
|
@@ -1139,7 +1123,7 @@ export declare class ScrollStrategyOptions {
|
|
|
1139
1123
|
private _viewportRuler;
|
|
1140
1124
|
private _ngZone;
|
|
1141
1125
|
private _document;
|
|
1142
|
-
constructor(
|
|
1126
|
+
constructor(...args: unknown[]);
|
|
1143
1127
|
/** Do nothing on scroll. */
|
|
1144
1128
|
noop: () => NoopScrollStrategy;
|
|
1145
1129
|
/**
|
package/overlay-prebuilt.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;
|
|
1
|
+
.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
package/package.json
CHANGED
package/portal/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ApplicationRef } from '@angular/core';
|
|
2
|
-
import { ComponentFactoryResolver } from '@angular/core';
|
|
3
2
|
import { ComponentRef } from '@angular/core';
|
|
4
3
|
import { ElementRef } from '@angular/core';
|
|
5
4
|
import { EmbeddedViewRef } from '@angular/core';
|
|
@@ -51,7 +50,7 @@ export declare abstract class BasePortalOutlet implements PortalOutlet {
|
|
|
51
50
|
* the directive instance itself can be attached to a host, enabling declarative use of portals.
|
|
52
51
|
*/
|
|
53
52
|
export declare class CdkPortal extends TemplatePortal {
|
|
54
|
-
constructor(
|
|
53
|
+
constructor(...args: unknown[]);
|
|
55
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortal, never>;
|
|
56
55
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortal, "[cdkPortal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
57
56
|
}
|
|
@@ -64,19 +63,14 @@ export declare class CdkPortal extends TemplatePortal {
|
|
|
64
63
|
* `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
|
|
65
64
|
*/
|
|
66
65
|
export declare class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestroy {
|
|
67
|
-
private
|
|
68
|
-
private _viewContainerRef;
|
|
66
|
+
private _moduleRef;
|
|
69
67
|
private _document;
|
|
68
|
+
private _viewContainerRef;
|
|
70
69
|
/** Whether the portal component is initialized. */
|
|
71
70
|
private _isInitialized;
|
|
72
71
|
/** Reference to the currently-attached component/view ref. */
|
|
73
72
|
private _attachedRef;
|
|
74
|
-
constructor(
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated `_document` parameter to be made required.
|
|
77
|
-
* @breaking-change 9.0.0
|
|
78
|
-
*/
|
|
79
|
-
_document?: any);
|
|
73
|
+
constructor(...args: unknown[]);
|
|
80
74
|
/** Portal associated with the Portal outlet. */
|
|
81
75
|
get portal(): Portal<any> | null;
|
|
82
76
|
set portal(portal: Portal<any> | null | undefined | '');
|
|
@@ -87,7 +81,7 @@ export declare class CdkPortalOutlet extends BasePortalOutlet implements OnInit,
|
|
|
87
81
|
ngOnInit(): void;
|
|
88
82
|
ngOnDestroy(): void;
|
|
89
83
|
/**
|
|
90
|
-
* Attach the given ComponentPortal to this PortalOutlet
|
|
84
|
+
* Attach the given ComponentPortal to this PortalOutlet.
|
|
91
85
|
*
|
|
92
86
|
* @param portal Portal to be attached to the portal outlet.
|
|
93
87
|
* @returns Reference to the created component.
|
|
@@ -132,15 +126,20 @@ export declare class ComponentPortal<T> extends Portal<ComponentRef<T>> {
|
|
|
132
126
|
/** Injector used for the instantiation of the component. */
|
|
133
127
|
injector?: Injector | null;
|
|
134
128
|
/**
|
|
135
|
-
*
|
|
136
|
-
*
|
|
129
|
+
* @deprecated No longer in use. To be removed.
|
|
130
|
+
* @breaking-change 18.0.0
|
|
137
131
|
*/
|
|
138
|
-
componentFactoryResolver?:
|
|
132
|
+
componentFactoryResolver?: any;
|
|
139
133
|
/**
|
|
140
134
|
* List of DOM nodes that should be projected through `<ng-content>` of the attached component.
|
|
141
135
|
*/
|
|
142
136
|
projectableNodes?: Node[][] | null;
|
|
143
|
-
constructor(component: ComponentType<T>, viewContainerRef?: ViewContainerRef | null, injector?: Injector | null,
|
|
137
|
+
constructor(component: ComponentType<T>, viewContainerRef?: ViewContainerRef | null, injector?: Injector | null,
|
|
138
|
+
/**
|
|
139
|
+
* @deprecated No longer in use. To be removed.
|
|
140
|
+
* @breaking-change 18.0.0
|
|
141
|
+
*/
|
|
142
|
+
_componentFactoryResolver?: any, projectableNodes?: Node[][] | null);
|
|
144
143
|
}
|
|
145
144
|
|
|
146
145
|
/** Interface that can be used to generically type a class. */
|
|
@@ -173,7 +172,6 @@ export declare class DomPortalHost extends DomPortalOutlet {
|
|
|
173
172
|
export declare class DomPortalOutlet extends BasePortalOutlet {
|
|
174
173
|
/** Element into which the content is projected. */
|
|
175
174
|
outletElement: Element;
|
|
176
|
-
private _componentFactoryResolver?;
|
|
177
175
|
private _appRef?;
|
|
178
176
|
private _defaultInjector?;
|
|
179
177
|
private _document;
|
|
@@ -190,14 +188,19 @@ export declare class DomPortalOutlet extends BasePortalOutlet {
|
|
|
190
188
|
*/
|
|
191
189
|
constructor(
|
|
192
190
|
/** Element into which the content is projected. */
|
|
193
|
-
outletElement: Element,
|
|
191
|
+
outletElement: Element,
|
|
192
|
+
/**
|
|
193
|
+
* @deprecated No longer in use. To be removed.
|
|
194
|
+
* @breaking-change 18.0.0
|
|
195
|
+
*/
|
|
196
|
+
_componentFactoryResolver?: any, _appRef?: ApplicationRef | undefined, _defaultInjector?: Injector | undefined,
|
|
194
197
|
/**
|
|
195
198
|
* @deprecated `_document` Parameter to be made required.
|
|
196
199
|
* @breaking-change 10.0.0
|
|
197
200
|
*/
|
|
198
201
|
_document?: any);
|
|
199
202
|
/**
|
|
200
|
-
* Attach the given ComponentPortal to DOM element
|
|
203
|
+
* Attach the given ComponentPortal to DOM element.
|
|
201
204
|
* @param portal Portal to be attached
|
|
202
205
|
* @returns Reference to the created component.
|
|
203
206
|
*/
|
package/schematics/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export * from './utils';
|
|
9
9
|
export * from './ng-update/public-api';
|
package/schematics/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -34,4 +34,4 @@ __exportStar(require("@schematics/angular/utility/ng-ast-utils"), exports);
|
|
|
34
34
|
// in the CDK "package.json" as optional dependency.
|
|
35
35
|
const parse5 = require("parse5");
|
|
36
36
|
exports.parse5 = parse5;
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL3NjaGVtYXRpY3MvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFSCwwQ0FBd0I7QUFDeEIseURBQXVDO0FBQ3ZDLDJEQUF5QztBQUV6QyxpR0FBaUc7QUFDakcsd0VBQXNEO0FBQ3RELD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25nIGFzIHdlIGltcG9ydFxuLy8gaXQgZnJvbSB3aXRoaW4gdGhlIENESywgaXQgd2lsbCBhbHdheXMgYmUgdGhlIGNvcnJlY3QgdmVyc2lvbiB0aGF0IGlzIHNwZWNpZmllZFxuLy8gaW4gdGhlIENESyBcInBhY2thZ2UuanNvblwiIGFzIG9wdGlvbmFsIGRlcGVuZGVuY3kuXG5pbXBvcnQgKiBhcyBwYXJzZTUgZnJvbSAncGFyc2U1JztcbmV4cG9ydCB7cGFyc2U1fTtcbiJdfQ==
|
package/schematics/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -34,4 +34,4 @@ __exportStar(require("@schematics/angular/utility/ng-ast-utils"), exports);
|
|
|
34
34
|
// in the CDK "package.json" as optional dependency.
|
|
35
35
|
const parse5 = require("parse5");
|
|
36
36
|
exports.parse5 = parse5;
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL3NjaGVtYXRpY3MvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFSCwwQ0FBd0I7QUFDeEIseURBQXVDO0FBQ3ZDLDJEQUF5QztBQUV6QyxpR0FBaUc7QUFDakcsd0VBQXNEO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LiBBcyBsb25nIGFzIHdlIGltcG9ydFxuLy8gaXQgZnJvbSB3aXRoaW4gdGhlIENESywgaXQgd2lsbCBhbHdheXMgYmUgdGhlIGNvcnJlY3QgdmVyc2lvbiB0aGF0IGlzIHNwZWNpZmllZFxuLy8gaW4gdGhlIENESyBcInBhY2thZ2UuanNvblwiIGFzIG9wdGlvbmFsIGRlcGVuZGVuY3kuXG5pbXBvcnQgKiBhcyBwYXJzZTUgZnJvbSAncGFyc2U1JztcbmV4cG9ydCB7cGFyc2U1fTtcbiJdfQ==
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Rule } from '@angular-devkit/schematics';
|
|
9
9
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.default = default_1;
|
|
@@ -29,11 +29,11 @@ function default_1() {
|
|
|
29
29
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
30
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
31
|
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.0.0-next.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.0.0-next.5`);
|
|
33
33
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
34
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
35
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL3NjaGVtYXRpY3MvbmctYWRkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7Ozs7O0dBTUc7O0FBY0gsNEJBa0JDO0FBN0JELDREQUF3RTtBQUN4RSxxREFBMkY7QUFFM0Y7Ozs7Ozs7R0FPRztBQUNIO0lBQ0UsT0FBTyxDQUFDLElBQVUsRUFBRSxPQUF5QixFQUFFLEVBQUU7UUFDL0MsMEZBQTBGO1FBQzFGLDZGQUE2RjtRQUM3RiwyRkFBMkY7UUFDM0YsNkZBQTZGO1FBQzdGLGtFQUFrRTtRQUNsRSxJQUFJLElBQUEsaURBQWdDLEVBQUMsSUFBSSxFQUFFLGNBQWMsQ0FBQyxLQUFLLElBQUksRUFBRSxDQUFDO1lBQ3BFLHNGQUFzRjtZQUN0RixvRkFBb0Y7WUFDcEYsb0NBQW9DO1lBQ3BDLElBQUEsd0NBQXVCLEVBQUMsSUFBSSxFQUFFLGNBQWMsRUFBRSxvQkFBb0IsQ0FBQyxDQUFDO1lBRXBFLGtGQUFrRjtZQUNsRix5RkFBeUY7WUFDekYsT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLDhCQUFzQixFQUFFLENBQUMsQ0FBQztRQUNoRCxDQUFDO0lBQ0gsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2Z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Gljcy9hbmd1bGFyYCwgd2UgdXNlIHRpbGRlIGluc3RlYWQgb2YgY2FyZXQuIFRoaXMgaXMgZGVmYXVsdCBmb3IgQW5ndWxhclxuICAgICAgLy8gZGVwZW5kZW5jaWVzIGluIG5ldyBDTEkgcHJvamVjdHMuXG4gICAgICBhZGRQYWNrYWdlVG9QYWNrYWdlSnNvbihob3N0LCAnQGFuZ3VsYXIvY2RrJywgYH4wLjAuMC1QTEFDRUhPTERFUmApO1xuXG4gICAgICAvLyBBZGQgYSB0YXNrIHRvIHJ1biB0aGUgcGFja2FnZSBtYW5hZ2VyLiBUaGlzIGlzIG5lY2Vzc2FyeSBiZWNhdXNlIHdlIHVwZGF0ZWQgdGhlXG4gICAgICAvLyB3b3Jrc3BhY2UgXCJwYWNrYWdlLmpzb25cIiBmaWxlIGFuZCB3ZSB3YW50IGxvY2sgZmlsZXMgdG8gcmVmbGVjdCB0aGUgbmV3IHZlcnNpb24gcmFuZ2UuXG4gICAgICBjb250ZXh0LmFkZFRhc2sobmV3IE5vZGVQYWNrYWdlSW5zdGFsbFRhc2soKSk7XG4gICAgfVxuICB9O1xufVxuIl19
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.default = default_1;
|
|
@@ -29,11 +29,11 @@ function default_1() {
|
|
|
29
29
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
30
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
31
|
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.0.0-next.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.0.0-next.5`);
|
|
33
33
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
34
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
35
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL3NjaGVtYXRpY3MvbmctYWRkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7Ozs7O0dBTUc7O0FBY0gsNEJBa0JDO0FBN0JELDREQUF3RTtBQUN4RSxxREFBMkY7QUFFM0Y7Ozs7Ozs7R0FPRztBQUNIO0lBQ0UsT0FBTyxDQUFDLElBQVUsRUFBRSxPQUF5QixFQUFFLEVBQUU7UUFDL0MsMEZBQTBGO1FBQzFGLDZGQUE2RjtRQUM3RiwyRkFBMkY7UUFDM0YsNkZBQTZGO1FBQzdGLGtFQUFrRTtRQUNsRSxJQUFJLElBQUEsaURBQWdDLEVBQUMsSUFBSSxFQUFFLGNBQWMsQ0FBQyxLQUFLLElBQUksRUFBRSxDQUFDO1lBQ3BFLHNGQUFzRjtZQUN0RixvRkFBb0Y7WUFDcEYsb0NBQW9DO1lBQ3BDLElBQUEsd0NBQXVCLEVBQUMsSUFBSSxFQUFFLGNBQWMsRUFBRSxvQkFBb0IsQ0FBQyxDQUFDO1lBRXBFLGtGQUFrRjtZQUNsRix5RkFBeUY7WUFDekYsT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLDhCQUFzQixFQUFFLENBQUMsQ0FBQztRQUNoRCxDQUFDO0lBQ0gsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvd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