@angular/cdk 21.2.0-next.3 → 21.2.0-next.4
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/fesm2022/cdk.mjs
CHANGED
package/fesm2022/cdk.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/version.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.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('21.2.0-next.
|
|
1
|
+
{"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/version.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.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('21.2.0-next.4');\n"],"names":["VERSION","Version"],"mappings":";;MAWaA,OAAO,GAAG,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
|
package/package.json
CHANGED
|
@@ -26,6 +26,6 @@ function default_1() {
|
|
|
26
26
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
27
27
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
28
28
|
// dependencies in new CLI projects.
|
|
29
|
-
return (0, utility_1.addDependency)('@angular/cdk', `~21.2.0-next.
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~21.2.0-next.4`, { existing: utility_1.ExistingBehavior.Skip });
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -27,6 +27,8 @@ declare abstract class BaseOverlayDispatcher implements OnDestroy {
|
|
|
27
27
|
remove(overlayRef: OverlayRef): void;
|
|
28
28
|
/** Detaches the global event listener. */
|
|
29
29
|
protected abstract detach(): void;
|
|
30
|
+
/** Determines whether an overlay is allowed to receive an event. */
|
|
31
|
+
protected canReceiveEvent<T>(overlayRef: OverlayRef, event: Event, stream: Subject<T>): boolean;
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseOverlayDispatcher, never>;
|
|
31
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseOverlayDispatcher>;
|
|
32
34
|
}
|
|
@@ -142,6 +144,10 @@ declare class OverlayRef implements PortalOutlet {
|
|
|
142
144
|
* required around the overlay pane.
|
|
143
145
|
*/
|
|
144
146
|
get hostElement(): HTMLElement;
|
|
147
|
+
/**
|
|
148
|
+
* Function that determines if this overlay should receive a specific event.
|
|
149
|
+
*/
|
|
150
|
+
get eventPredicate(): ((event: Event) => boolean) | null;
|
|
145
151
|
attach<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
146
152
|
attach<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
|
|
147
153
|
attach(portal: any): any;
|
|
@@ -284,6 +290,11 @@ declare class OverlayConfig {
|
|
|
284
290
|
* rather than placing it inside of the overlay container.
|
|
285
291
|
*/
|
|
286
292
|
usePopover?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Function that determines if the overlay should receive a specific
|
|
295
|
+
* event or if the event should go to the next overlay in the stack.
|
|
296
|
+
*/
|
|
297
|
+
eventPredicate?: (event: Event) => boolean;
|
|
287
298
|
constructor(config?: OverlayConfig);
|
|
288
299
|
}
|
|
289
300
|
|