@angular/cdk 22.0.1 → 22.0.2
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/_a11y-module-chunk.mjs +22 -22
- package/fesm2022/_breakpoints-observer-chunk.mjs +7 -7
- package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
- package/fesm2022/_directionality-chunk.mjs +3 -3
- package/fesm2022/_focus-monitor-chunk.mjs +9 -9
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- package/fesm2022/_overlay-module-chunk.mjs +34 -34
- package/fesm2022/_platform-chunk.mjs +3 -3
- package/fesm2022/_shadow-dom-chunk.mjs +6 -1
- package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
- package/fesm2022/_style-loader-chunk.mjs +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
- package/fesm2022/a11y.mjs +9 -9
- package/fesm2022/accordion.mjs +10 -10
- package/fesm2022/bidi.mjs +7 -7
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/dialog.mjs +10 -10
- package/fesm2022/drag-drop.mjs +31 -31
- package/fesm2022/layout.mjs +4 -4
- package/fesm2022/listbox.mjs +10 -10
- package/fesm2022/menu.mjs +49 -49
- package/fesm2022/observers-private.mjs +3 -3
- package/fesm2022/observers.mjs +13 -13
- package/fesm2022/overlay.mjs +3 -3
- package/fesm2022/platform.mjs +4 -4
- package/fesm2022/portal.mjs +10 -10
- package/fesm2022/private.mjs +3 -3
- package/fesm2022/scrolling.mjs +35 -35
- package/fesm2022/stepper.mjs +22 -22
- package/fesm2022/table.mjs +73 -73
- package/fesm2022/text-field.mjs +16 -16
- package/fesm2022/tree.mjs +25 -25
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
|
@@ -66,7 +66,7 @@ class InteractivityChecker {
|
|
|
66
66
|
}
|
|
67
67
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
68
68
|
minVersion: "12.0.0",
|
|
69
|
-
version: "22.0.
|
|
69
|
+
version: "22.0.2",
|
|
70
70
|
ngImport: i0,
|
|
71
71
|
type: InteractivityChecker,
|
|
72
72
|
deps: [],
|
|
@@ -74,14 +74,14 @@ class InteractivityChecker {
|
|
|
74
74
|
});
|
|
75
75
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
76
76
|
minVersion: "22.0.0",
|
|
77
|
-
version: "22.0.
|
|
77
|
+
version: "22.0.2",
|
|
78
78
|
ngImport: i0,
|
|
79
79
|
type: InteractivityChecker
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
i0.ɵɵngDeclareClassMetadata({
|
|
83
83
|
minVersion: "12.0.0",
|
|
84
|
-
version: "22.0.
|
|
84
|
+
version: "22.0.2",
|
|
85
85
|
ngImport: i0,
|
|
86
86
|
type: InteractivityChecker,
|
|
87
87
|
decorators: [{
|
|
@@ -339,7 +339,7 @@ class FocusTrapFactory {
|
|
|
339
339
|
}
|
|
340
340
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
341
341
|
minVersion: "12.0.0",
|
|
342
|
-
version: "22.0.
|
|
342
|
+
version: "22.0.2",
|
|
343
343
|
ngImport: i0,
|
|
344
344
|
type: FocusTrapFactory,
|
|
345
345
|
deps: [],
|
|
@@ -347,14 +347,14 @@ class FocusTrapFactory {
|
|
|
347
347
|
});
|
|
348
348
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
349
349
|
minVersion: "22.0.0",
|
|
350
|
-
version: "22.0.
|
|
350
|
+
version: "22.0.2",
|
|
351
351
|
ngImport: i0,
|
|
352
352
|
type: FocusTrapFactory
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
355
|
i0.ɵɵngDeclareClassMetadata({
|
|
356
356
|
minVersion: "12.0.0",
|
|
357
|
-
version: "22.0.
|
|
357
|
+
version: "22.0.2",
|
|
358
358
|
ngImport: i0,
|
|
359
359
|
type: FocusTrapFactory,
|
|
360
360
|
decorators: [{
|
|
@@ -412,7 +412,7 @@ class CdkTrapFocus {
|
|
|
412
412
|
}
|
|
413
413
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
414
414
|
minVersion: "12.0.0",
|
|
415
|
-
version: "22.0.
|
|
415
|
+
version: "22.0.2",
|
|
416
416
|
ngImport: i0,
|
|
417
417
|
type: CdkTrapFocus,
|
|
418
418
|
deps: [],
|
|
@@ -420,7 +420,7 @@ class CdkTrapFocus {
|
|
|
420
420
|
});
|
|
421
421
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
422
422
|
minVersion: "16.1.0",
|
|
423
|
-
version: "22.0.
|
|
423
|
+
version: "22.0.2",
|
|
424
424
|
type: CdkTrapFocus,
|
|
425
425
|
isStandalone: true,
|
|
426
426
|
selector: "[cdkTrapFocus]",
|
|
@@ -435,7 +435,7 @@ class CdkTrapFocus {
|
|
|
435
435
|
}
|
|
436
436
|
i0.ɵɵngDeclareClassMetadata({
|
|
437
437
|
minVersion: "12.0.0",
|
|
438
|
-
version: "22.0.
|
|
438
|
+
version: "22.0.2",
|
|
439
439
|
ngImport: i0,
|
|
440
440
|
type: CdkTrapFocus,
|
|
441
441
|
decorators: [{
|
|
@@ -570,7 +570,7 @@ class LiveAnnouncer {
|
|
|
570
570
|
}
|
|
571
571
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
572
572
|
minVersion: "12.0.0",
|
|
573
|
-
version: "22.0.
|
|
573
|
+
version: "22.0.2",
|
|
574
574
|
ngImport: i0,
|
|
575
575
|
type: LiveAnnouncer,
|
|
576
576
|
deps: [],
|
|
@@ -578,14 +578,14 @@ class LiveAnnouncer {
|
|
|
578
578
|
});
|
|
579
579
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
580
580
|
minVersion: "22.0.0",
|
|
581
|
-
version: "22.0.
|
|
581
|
+
version: "22.0.2",
|
|
582
582
|
ngImport: i0,
|
|
583
583
|
type: LiveAnnouncer
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
i0.ɵɵngDeclareClassMetadata({
|
|
587
587
|
minVersion: "12.0.0",
|
|
588
|
-
version: "22.0.
|
|
588
|
+
version: "22.0.2",
|
|
589
589
|
ngImport: i0,
|
|
590
590
|
type: LiveAnnouncer,
|
|
591
591
|
decorators: [{
|
|
@@ -632,7 +632,7 @@ class CdkAriaLive {
|
|
|
632
632
|
}
|
|
633
633
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
634
634
|
minVersion: "12.0.0",
|
|
635
|
-
version: "22.0.
|
|
635
|
+
version: "22.0.2",
|
|
636
636
|
ngImport: i0,
|
|
637
637
|
type: CdkAriaLive,
|
|
638
638
|
deps: [],
|
|
@@ -640,7 +640,7 @@ class CdkAriaLive {
|
|
|
640
640
|
});
|
|
641
641
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
642
642
|
minVersion: "14.0.0",
|
|
643
|
-
version: "22.0.
|
|
643
|
+
version: "22.0.2",
|
|
644
644
|
type: CdkAriaLive,
|
|
645
645
|
isStandalone: true,
|
|
646
646
|
selector: "[cdkAriaLive]",
|
|
@@ -654,7 +654,7 @@ class CdkAriaLive {
|
|
|
654
654
|
}
|
|
655
655
|
i0.ɵɵngDeclareClassMetadata({
|
|
656
656
|
minVersion: "12.0.0",
|
|
657
|
-
version: "22.0.
|
|
657
|
+
version: "22.0.2",
|
|
658
658
|
ngImport: i0,
|
|
659
659
|
type: CdkAriaLive,
|
|
660
660
|
decorators: [{
|
|
@@ -740,7 +740,7 @@ class HighContrastModeDetector {
|
|
|
740
740
|
}
|
|
741
741
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
742
742
|
minVersion: "12.0.0",
|
|
743
|
-
version: "22.0.
|
|
743
|
+
version: "22.0.2",
|
|
744
744
|
ngImport: i0,
|
|
745
745
|
type: HighContrastModeDetector,
|
|
746
746
|
deps: [],
|
|
@@ -748,14 +748,14 @@ class HighContrastModeDetector {
|
|
|
748
748
|
});
|
|
749
749
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
750
750
|
minVersion: "22.0.0",
|
|
751
|
-
version: "22.0.
|
|
751
|
+
version: "22.0.2",
|
|
752
752
|
ngImport: i0,
|
|
753
753
|
type: HighContrastModeDetector
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
756
|
i0.ɵɵngDeclareClassMetadata({
|
|
757
757
|
minVersion: "12.0.0",
|
|
758
|
-
version: "22.0.
|
|
758
|
+
version: "22.0.2",
|
|
759
759
|
ngImport: i0,
|
|
760
760
|
type: HighContrastModeDetector,
|
|
761
761
|
decorators: [{
|
|
@@ -770,7 +770,7 @@ class A11yModule {
|
|
|
770
770
|
}
|
|
771
771
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
772
772
|
minVersion: "12.0.0",
|
|
773
|
-
version: "22.0.
|
|
773
|
+
version: "22.0.2",
|
|
774
774
|
ngImport: i0,
|
|
775
775
|
type: A11yModule,
|
|
776
776
|
deps: [],
|
|
@@ -778,7 +778,7 @@ class A11yModule {
|
|
|
778
778
|
});
|
|
779
779
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
780
780
|
minVersion: "14.0.0",
|
|
781
|
-
version: "22.0.
|
|
781
|
+
version: "22.0.2",
|
|
782
782
|
ngImport: i0,
|
|
783
783
|
type: A11yModule,
|
|
784
784
|
imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
|
@@ -786,7 +786,7 @@ class A11yModule {
|
|
|
786
786
|
});
|
|
787
787
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
788
788
|
minVersion: "12.0.0",
|
|
789
|
-
version: "22.0.
|
|
789
|
+
version: "22.0.2",
|
|
790
790
|
ngImport: i0,
|
|
791
791
|
type: A11yModule,
|
|
792
792
|
imports: [ObserversModule]
|
|
@@ -794,7 +794,7 @@ class A11yModule {
|
|
|
794
794
|
}
|
|
795
795
|
i0.ɵɵngDeclareClassMetadata({
|
|
796
796
|
minVersion: "12.0.0",
|
|
797
|
-
version: "22.0.
|
|
797
|
+
version: "22.0.2",
|
|
798
798
|
ngImport: i0,
|
|
799
799
|
type: A11yModule,
|
|
800
800
|
decorators: [{
|
|
@@ -24,7 +24,7 @@ class MediaMatcher {
|
|
|
24
24
|
}
|
|
25
25
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
26
26
|
minVersion: "12.0.0",
|
|
27
|
-
version: "22.0.
|
|
27
|
+
version: "22.0.2",
|
|
28
28
|
ngImport: i0,
|
|
29
29
|
type: MediaMatcher,
|
|
30
30
|
deps: [],
|
|
@@ -32,14 +32,14 @@ class MediaMatcher {
|
|
|
32
32
|
});
|
|
33
33
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
34
34
|
minVersion: "22.0.0",
|
|
35
|
-
version: "22.0.
|
|
35
|
+
version: "22.0.2",
|
|
36
36
|
ngImport: i0,
|
|
37
37
|
type: MediaMatcher
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({
|
|
41
41
|
minVersion: "12.0.0",
|
|
42
|
-
version: "22.0.
|
|
42
|
+
version: "22.0.2",
|
|
43
43
|
ngImport: i0,
|
|
44
44
|
type: MediaMatcher,
|
|
45
45
|
decorators: [{
|
|
@@ -61,7 +61,7 @@ function createEmptyStyleRule(query, nonce) {
|
|
|
61
61
|
document.head.appendChild(mediaQueryStyleNode);
|
|
62
62
|
}
|
|
63
63
|
if (mediaQueryStyleNode.sheet) {
|
|
64
|
-
mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);
|
|
64
|
+
mediaQueryStyleNode.sheet.insertRule(`@media ${query.replace(/[{}]/g, '')} {body{ }}`, 0);
|
|
65
65
|
mediaQueriesForWebkitCompatibility.add(query);
|
|
66
66
|
}
|
|
67
67
|
} catch (e) {
|
|
@@ -136,7 +136,7 @@ class BreakpointObserver {
|
|
|
136
136
|
}
|
|
137
137
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
138
138
|
minVersion: "12.0.0",
|
|
139
|
-
version: "22.0.
|
|
139
|
+
version: "22.0.2",
|
|
140
140
|
ngImport: i0,
|
|
141
141
|
type: BreakpointObserver,
|
|
142
142
|
deps: [],
|
|
@@ -144,14 +144,14 @@ class BreakpointObserver {
|
|
|
144
144
|
});
|
|
145
145
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
146
146
|
minVersion: "22.0.0",
|
|
147
|
-
version: "22.0.
|
|
147
|
+
version: "22.0.2",
|
|
148
148
|
ngImport: i0,
|
|
149
149
|
type: BreakpointObserver
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
i0.ɵɵngDeclareClassMetadata({
|
|
153
153
|
minVersion: "12.0.0",
|
|
154
|
-
version: "22.0.
|
|
154
|
+
version: "22.0.2",
|
|
155
155
|
ngImport: i0,
|
|
156
156
|
type: BreakpointObserver,
|
|
157
157
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_breakpoints-observer-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/layout/media-matcher.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/layout/breakpoints-observer.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 */\nimport {Service, CSP_NONCE, inject} from '@angular/core';\nimport {Platform} from '../platform';\n\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility: Set<string> = new Set<string>();\n\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode: HTMLStyleElement | undefined;\n\n/** A utility for calling matchMedia queries. */\n@Service()\nexport class MediaMatcher {\n private _platform = inject(Platform);\n private _nonce = inject(CSP_NONCE, {optional: true});\n\n /** The internal matchMedia method to return back a MediaQueryList like object. */\n private _matchMedia: (query: string) => MediaQueryList;\n\n constructor() {\n this._matchMedia =\n this._platform.isBrowser && window.matchMedia\n ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window)\n : noopMatchMedia;\n }\n\n /**\n * Evaluates the given media query and returns the native MediaQueryList from which results\n * can be retrieved.\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n */\n matchMedia(query: string): MediaQueryList {\n if (this._platform.WEBKIT || this._platform.BLINK) {\n createEmptyStyleRule(query, this._nonce);\n }\n return this._matchMedia(query);\n }\n}\n\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query: string, nonce: string | undefined | null) {\n if (mediaQueriesForWebkitCompatibility.has(query)) {\n return;\n }\n\n try {\n if (!mediaQueryStyleNode) {\n mediaQueryStyleNode = document.createElement('style');\n\n if (nonce) {\n mediaQueryStyleNode.setAttribute('nonce', nonce);\n }\n\n mediaQueryStyleNode.setAttribute('type', 'text/css');\n document.head!.appendChild(mediaQueryStyleNode);\n }\n\n if (mediaQueryStyleNode.sheet) {\n mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);\n mediaQueriesForWebkitCompatibility.add(query);\n }\n } catch (e) {\n console.error(e);\n }\n}\n\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query: string): MediaQueryList {\n // Use `as any` here to avoid adding additional necessary properties for\n // the noop matcher.\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: () => {},\n removeListener: () => {},\n } as any;\n}\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.dev/license\n */\n\nimport {coerceArray} from '../coercion';\nimport {Service, NgZone, OnDestroy, inject} from '@angular/core';\nimport {combineLatest, concat, Observable, Observer, Subject} from 'rxjs';\nimport {debounceTime, map, skip, startWith, take, takeUntil} from 'rxjs/operators';\nimport {MediaMatcher} from './media-matcher';\n\n/** The current state of a layout breakpoint. */\nexport interface BreakpointState {\n /** Whether the breakpoint is currently matching. */\n matches: boolean;\n /**\n * A key boolean pair for each query provided to the observe method,\n * with its current matched state.\n */\n breakpoints: {\n [key: string]: boolean;\n };\n}\n\n/** The current state of a layout breakpoint. */\ninterface InternalBreakpointState {\n /** Whether the breakpoint is currently matching. */\n matches: boolean;\n /** The media query being to be matched */\n query: string;\n}\n\ninterface Query {\n observable: Observable<InternalBreakpointState>;\n mql: MediaQueryList;\n}\n\n/** Utility for checking the matching state of `@media` queries. */\n@Service()\nexport class BreakpointObserver implements OnDestroy {\n private _mediaMatcher = inject(MediaMatcher);\n private _zone = inject(NgZone);\n\n /** A map of all media queries currently being listened for. */\n private _queries = new Map<string, Query>();\n /** A subject for all other observables to takeUntil based on. */\n private readonly _destroySubject = new Subject<void>();\n\n /** Completes the active subject, signalling to all other observables to complete. */\n ngOnDestroy() {\n this._destroySubject.next();\n this._destroySubject.complete();\n }\n\n /**\n * Whether one or more media queries match the current viewport size.\n * @param value One or more media queries to check.\n * @returns Whether any of the media queries match.\n */\n isMatched(value: string | readonly string[]): boolean {\n const queries = splitQueries(coerceArray(value));\n return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n }\n\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param value One or more media queries to check.\n * @returns A stream of matches for the given queries.\n */\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n const queries = splitQueries(coerceArray(value));\n const observables = queries.map(query => this._registerQuery(query).observable);\n\n let stateObservable = combineLatest(observables);\n // Emit the first state immediately, and then debounce the subsequent emissions.\n stateObservable = concat(\n stateObservable.pipe(take(1)),\n stateObservable.pipe(skip(1), debounceTime(0)),\n );\n return stateObservable.pipe(\n map(breakpointStates => {\n const response: BreakpointState = {\n matches: false,\n breakpoints: {},\n };\n breakpointStates.forEach(({matches, query}) => {\n response.matches = response.matches || matches;\n response.breakpoints[query] = matches;\n });\n return response;\n }),\n );\n }\n\n /** Registers a specific query to be listened for. */\n private _registerQuery(query: string): Query {\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return this._queries.get(query)!;\n }\n\n const mql = this._mediaMatcher.matchMedia(query);\n\n // Create callback for match changes and add it is as a listener.\n const queryObservable = new Observable((observer: Observer<MediaQueryListEvent>) => {\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n const handler = (e: MediaQueryListEvent): void => this._zone.run(() => observer.next(e));\n mql.addListener(handler);\n\n return () => {\n mql.removeListener(handler);\n };\n }).pipe(\n startWith(mql),\n map(({matches}) => ({query, matches})),\n takeUntil(this._destroySubject),\n );\n\n // Add the MediaQueryList to the set of queries.\n const output = {observable: queryObservable, mql};\n this._queries.set(query, output);\n return output;\n }\n}\n\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries: readonly string[]): readonly string[] {\n return queries\n .map(query => query.split(','))\n .reduce((a1, a2) => a1.concat(a2))\n .map(query => query.trim());\n}\n"],"names":["mediaQueriesForWebkitCompatibility","Set","mediaQueryStyleNode","MediaMatcher","_platform","inject","Platform","_nonce","CSP_NONCE","optional","_matchMedia","constructor","isBrowser","window","matchMedia","bind","noopMatchMedia","query","WEBKIT","BLINK","createEmptyStyleRule","deps","target","i0","ɵɵFactoryTarget","Service","decorators","nonce","has","document","createElement","setAttribute","head","appendChild","sheet","insertRule","add","e","console","error","matches","media","addListener","removeListener","BreakpointObserver","_mediaMatcher","_zone","NgZone","_queries","Map","_destroySubject","Subject","ngOnDestroy","next","complete","isMatched","value","queries","splitQueries","coerceArray","some","mediaQuery","_registerQuery","mql","observe","observables","map","observable","stateObservable","combineLatest","concat","pipe","take","skip","debounceTime","breakpointStates","response","breakpoints","forEach","get","queryObservable","Observable","observer","handler","run","startWith","takeUntil","output","set","split","reduce","a1","a2","trim"],"mappings":";;;;;;;AAWA,MAAMA,kCAAkC,GAAgB,IAAIC,GAAG,EAAU;AAGzE,IAAIC,mBAAiD;MAIxCC,YAAY,CAAA;AACfC,EAAAA,SAAS,GAAGC,MAAM,CAACC,QAAQ,CAAC;AAC5BC,EAAAA,MAAM,GAAGF,MAAM,CAACG,SAAS,EAAE;AAACC,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;EAG5CC,WAAW;AAEnBC,EAAAA,WAAAA,GAAA;IACE,IAAI,CAACD,WAAW,GACd,IAAI,CAACN,SAAS,CAACQ,SAAS,IAAIC,MAAM,CAACC,UAAA,GAG/BD,MAAM,CAACC,UAAU,CAACC,IAAI,CAACF,MAAM,CAAA,GAC7BG,cAAc;AACtB,EAAA;EAQAF,UAAUA,CAACG,KAAa,EAAA;IACtB,IAAI,IAAI,CAACb,SAAS,CAACc,MAAM,IAAI,IAAI,CAACd,SAAS,CAACe,KAAK,EAAE;AACjDC,MAAAA,oBAAoB,CAACH,KAAK,EAAE,IAAI,CAACV,MAAM,CAAC;AAC1C,IAAA;AACA,IAAA,OAAO,IAAI,CAACG,WAAW,CAACO,KAAK,CAAC;AAChC,EAAA;;;;;UA3BWd,YAAY;AAAAkB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAZtB;AAAY,GAAA,CAAA;;;;;;QAAZA,YAAY;AAAAuB,EAAAA,UAAA,EAAA,CAAA;UADxBD;;;;AAwCD,SAASL,oBAAoBA,C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;AAAAvB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAlBmB;AAAkB,GAAA,CAAA;;;;;;QAAlBA,kBAAkB;AAAAlB,EAAAA,UAAA,EAAA,CAAA;UAD9BD;;;AAgGD,SAASiC,YAAYA,CAACD,OAA0B,EAAA;AAC9C,EAAA,OAAOA,OAAA,CACJS,GAAG,CAACjD,KAAK,IAAIA,KAAK,CAACwE,KAAK,CAAC,GAAG,CAAC,CAAA,CAC7BC,MAAM,CAAC,CAACC,EAAE,EAAEC,EAAE,KAAKD,EAAE,CAACrB,MAAM,CAACsB,EAAE,CAAC,CAAA,CAChC1B,GAAG,CAACjD,KAAK,IAAIA,KAAK,CAAC4E,IAAI,EAAE,CAAC;AAC/B;;;;"}
|
|
1
|
+
{"version":3,"file":"_breakpoints-observer-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/layout/media-matcher.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/layout/breakpoints-observer.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 */\nimport {Service, CSP_NONCE, inject} from '@angular/core';\nimport {Platform} from '../platform';\n\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility: Set<string> = new Set<string>();\n\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode: HTMLStyleElement | undefined;\n\n/** A utility for calling matchMedia queries. */\n@Service()\nexport class MediaMatcher {\n private _platform = inject(Platform);\n private _nonce = inject(CSP_NONCE, {optional: true});\n\n /** The internal matchMedia method to return back a MediaQueryList like object. */\n private _matchMedia: (query: string) => MediaQueryList;\n\n constructor() {\n this._matchMedia =\n this._platform.isBrowser && window.matchMedia\n ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window)\n : noopMatchMedia;\n }\n\n /**\n * Evaluates the given media query and returns the native MediaQueryList from which results\n * can be retrieved.\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n */\n matchMedia(query: string): MediaQueryList {\n if (this._platform.WEBKIT || this._platform.BLINK) {\n createEmptyStyleRule(query, this._nonce);\n }\n return this._matchMedia(query);\n }\n}\n\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query: string, nonce: string | undefined | null) {\n if (mediaQueriesForWebkitCompatibility.has(query)) {\n return;\n }\n\n try {\n if (!mediaQueryStyleNode) {\n mediaQueryStyleNode = document.createElement('style');\n\n if (nonce) {\n mediaQueryStyleNode.setAttribute('nonce', nonce);\n }\n\n mediaQueryStyleNode.setAttribute('type', 'text/css');\n document.head!.appendChild(mediaQueryStyleNode);\n }\n\n if (mediaQueryStyleNode.sheet) {\n mediaQueryStyleNode.sheet.insertRule(\n // Drop the curly braces to avoid injection attacks. Curly braces aren't\n // valid media query syntax so this should be a no-op in valid cases.\n `@media ${query.replace(/[{}]/g, '')} {body{ }}`,\n 0,\n );\n mediaQueriesForWebkitCompatibility.add(query);\n }\n } catch (e) {\n console.error(e);\n }\n}\n\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query: string): MediaQueryList {\n // Use `as any` here to avoid adding additional necessary properties for\n // the noop matcher.\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: () => {},\n removeListener: () => {},\n } as any;\n}\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.dev/license\n */\n\nimport {coerceArray} from '../coercion';\nimport {Service, NgZone, OnDestroy, inject} from '@angular/core';\nimport {combineLatest, concat, Observable, Observer, Subject} from 'rxjs';\nimport {debounceTime, map, skip, startWith, take, takeUntil} from 'rxjs/operators';\nimport {MediaMatcher} from './media-matcher';\n\n/** The current state of a layout breakpoint. */\nexport interface BreakpointState {\n /** Whether the breakpoint is currently matching. */\n matches: boolean;\n /**\n * A key boolean pair for each query provided to the observe method,\n * with its current matched state.\n */\n breakpoints: {\n [key: string]: boolean;\n };\n}\n\n/** The current state of a layout breakpoint. */\ninterface InternalBreakpointState {\n /** Whether the breakpoint is currently matching. */\n matches: boolean;\n /** The media query being to be matched */\n query: string;\n}\n\ninterface Query {\n observable: Observable<InternalBreakpointState>;\n mql: MediaQueryList;\n}\n\n/** Utility for checking the matching state of `@media` queries. */\n@Service()\nexport class BreakpointObserver implements OnDestroy {\n private _mediaMatcher = inject(MediaMatcher);\n private _zone = inject(NgZone);\n\n /** A map of all media queries currently being listened for. */\n private _queries = new Map<string, Query>();\n /** A subject for all other observables to takeUntil based on. */\n private readonly _destroySubject = new Subject<void>();\n\n /** Completes the active subject, signalling to all other observables to complete. */\n ngOnDestroy() {\n this._destroySubject.next();\n this._destroySubject.complete();\n }\n\n /**\n * Whether one or more media queries match the current viewport size.\n * @param value One or more media queries to check.\n * @returns Whether any of the media queries match.\n */\n isMatched(value: string | readonly string[]): boolean {\n const queries = splitQueries(coerceArray(value));\n return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n }\n\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param value One or more media queries to check.\n * @returns A stream of matches for the given queries.\n */\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n const queries = splitQueries(coerceArray(value));\n const observables = queries.map(query => this._registerQuery(query).observable);\n\n let stateObservable = combineLatest(observables);\n // Emit the first state immediately, and then debounce the subsequent emissions.\n stateObservable = concat(\n stateObservable.pipe(take(1)),\n stateObservable.pipe(skip(1), debounceTime(0)),\n );\n return stateObservable.pipe(\n map(breakpointStates => {\n const response: BreakpointState = {\n matches: false,\n breakpoints: {},\n };\n breakpointStates.forEach(({matches, query}) => {\n response.matches = response.matches || matches;\n response.breakpoints[query] = matches;\n });\n return response;\n }),\n );\n }\n\n /** Registers a specific query to be listened for. */\n private _registerQuery(query: string): Query {\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return this._queries.get(query)!;\n }\n\n const mql = this._mediaMatcher.matchMedia(query);\n\n // Create callback for match changes and add it is as a listener.\n const queryObservable = new Observable((observer: Observer<MediaQueryListEvent>) => {\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n const handler = (e: MediaQueryListEvent): void => this._zone.run(() => observer.next(e));\n mql.addListener(handler);\n\n return () => {\n mql.removeListener(handler);\n };\n }).pipe(\n startWith(mql),\n map(({matches}) => ({query, matches})),\n takeUntil(this._destroySubject),\n );\n\n // Add the MediaQueryList to the set of queries.\n const output = {observable: queryObservable, mql};\n this._queries.set(query, output);\n return output;\n }\n}\n\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries: readonly string[]): readonly string[] {\n return queries\n .map(query => query.split(','))\n .reduce((a1, a2) => a1.concat(a2))\n .map(query => query.trim());\n}\n"],"names":["mediaQueriesForWebkitCompatibility","Set","mediaQueryStyleNode","MediaMatcher","_platform","inject","Platform","_nonce","CSP_NONCE","optional","_matchMedia","constructor","isBrowser","window","matchMedia","bind","noopMatchMedia","query","WEBKIT","BLINK","createEmptyStyleRule","deps","target","i0","ɵɵFactoryTarget","Service","decorators","nonce","has","document","createElement","setAttribute","head","appendChild","sheet","insertRule","replace","add","e","console","error","matches","media","addListener","removeListener","BreakpointObserver","_mediaMatcher","_zone","NgZone","_queries","Map","_destroySubject","Subject","ngOnDestroy","next","complete","isMatched","value","queries","splitQueries","coerceArray","some","mediaQuery","_registerQuery","mql","observe","observables","map","observable","stateObservable","combineLatest","concat","pipe","take","skip","debounceTime","breakpointStates","response","breakpoints","forEach","get","queryObservable","Observable","observer","handler","run","startWith","takeUntil","output","set","split","reduce","a1","a2","trim"],"mappings":";;;;;;;AAWA,MAAMA,kCAAkC,GAAgB,IAAIC,GAAG,EAAU;AAGzE,IAAIC,mBAAiD;MAIxCC,YAAY,CAAA;AACfC,EAAAA,SAAS,GAAGC,MAAM,CAACC,QAAQ,CAAC;AAC5BC,EAAAA,MAAM,GAAGF,MAAM,CAACG,SAAS,EAAE;AAACC,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;EAG5CC,WAAW;AAEnBC,EAAAA,WAAAA,GAAA;IACE,IAAI,CAACD,WAAW,GACd,IAAI,CAACN,SAAS,CAACQ,SAAS,IAAIC,MAAM,CAACC,UAAA,GAG/BD,MAAM,CAACC,UAAU,CAACC,IAAI,CAACF,MAAM,CAAA,GAC7BG,cAAc;AACtB,EAAA;EAQAF,UAAUA,CAACG,KAAa,EAAA;IACtB,IAAI,IAAI,CAACb,SAAS,CAACc,MAAM,IAAI,IAAI,CAACd,SAAS,CAACe,KAAK,EAAE;AACjDC,MAAAA,oBAAoB,CAACH,KAAK,EAAE,IAAI,CAACV,MAAM,CAAC;AAC1C,IAAA;AACA,IAAA,OAAO,IAAI,CAACG,WAAW,CAACO,KAAK,CAAC;AAChC,EAAA;;;;;UA3BWd,YAAY;AAAAkB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAZtB;AAAY,GAAA,CAAA;;;;;;QAAZA,YAAY;AAAAuB,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,CAACwC,GAAG,CAACxE,KAAK,EAAEuE,MAAM,CAAC;AAChC,IAAA,OAAOA,MAAM;AACf,EAAA;;;;;UAxFW3C,kBAAkB;AAAAxB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAlBoB;AAAkB,GAAA,CAAA;;;;;;QAAlBA,kBAAkB;AAAAnB,EAAAA,UAAA,EAAA,CAAA;UAD9BD;;;AAgGD,SAASkC,YAAYA,CAACD,OAA0B,EAAA;AAC9C,EAAA,OAAOA,OAAA,CACJS,GAAG,CAAClD,KAAK,IAAIA,KAAK,CAACyE,KAAK,CAAC,GAAG,CAAC,CAAA,CAC7BC,MAAM,CAAC,CAACC,EAAE,EAAEC,EAAE,KAAKD,EAAE,CAACrB,MAAM,CAACsB,EAAE,CAAC,CAAA,CAChC1B,GAAG,CAAClD,KAAK,IAAIA,KAAK,CAAC6E,IAAI,EAAE,CAAC;AAC/B;;;;"}
|
|
@@ -37,7 +37,7 @@ class Directionality {
|
|
|
37
37
|
}
|
|
38
38
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
39
39
|
minVersion: "12.0.0",
|
|
40
|
-
version: "22.0.
|
|
40
|
+
version: "22.0.2",
|
|
41
41
|
ngImport: i0,
|
|
42
42
|
type: Directionality,
|
|
43
43
|
deps: [],
|
|
@@ -45,14 +45,14 @@ class Directionality {
|
|
|
45
45
|
});
|
|
46
46
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
47
47
|
minVersion: "22.0.0",
|
|
48
|
-
version: "22.0.
|
|
48
|
+
version: "22.0.2",
|
|
49
49
|
ngImport: i0,
|
|
50
50
|
type: Directionality
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
i0.ɵɵngDeclareClassMetadata({
|
|
54
54
|
minVersion: "12.0.0",
|
|
55
|
-
version: "22.0.
|
|
55
|
+
version: "22.0.2",
|
|
56
56
|
ngImport: i0,
|
|
57
57
|
type: Directionality,
|
|
58
58
|
decorators: [{
|
|
@@ -78,7 +78,7 @@ class InputModalityDetector {
|
|
|
78
78
|
}
|
|
79
79
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
80
80
|
minVersion: "12.0.0",
|
|
81
|
-
version: "22.0.
|
|
81
|
+
version: "22.0.2",
|
|
82
82
|
ngImport: i0,
|
|
83
83
|
type: InputModalityDetector,
|
|
84
84
|
deps: [],
|
|
@@ -86,14 +86,14 @@ class InputModalityDetector {
|
|
|
86
86
|
});
|
|
87
87
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
88
88
|
minVersion: "22.0.0",
|
|
89
|
-
version: "22.0.
|
|
89
|
+
version: "22.0.2",
|
|
90
90
|
ngImport: i0,
|
|
91
91
|
type: InputModalityDetector
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
i0.ɵɵngDeclareClassMetadata({
|
|
95
95
|
minVersion: "12.0.0",
|
|
96
|
-
version: "22.0.
|
|
96
|
+
version: "22.0.2",
|
|
97
97
|
ngImport: i0,
|
|
98
98
|
type: InputModalityDetector,
|
|
99
99
|
decorators: [{
|
|
@@ -333,7 +333,7 @@ class FocusMonitor {
|
|
|
333
333
|
}
|
|
334
334
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
335
335
|
minVersion: "12.0.0",
|
|
336
|
-
version: "22.0.
|
|
336
|
+
version: "22.0.2",
|
|
337
337
|
ngImport: i0,
|
|
338
338
|
type: FocusMonitor,
|
|
339
339
|
deps: [],
|
|
@@ -341,14 +341,14 @@ class FocusMonitor {
|
|
|
341
341
|
});
|
|
342
342
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
343
343
|
minVersion: "22.0.0",
|
|
344
|
-
version: "22.0.
|
|
344
|
+
version: "22.0.2",
|
|
345
345
|
ngImport: i0,
|
|
346
346
|
type: FocusMonitor
|
|
347
347
|
});
|
|
348
348
|
}
|
|
349
349
|
i0.ɵɵngDeclareClassMetadata({
|
|
350
350
|
minVersion: "12.0.0",
|
|
351
|
-
version: "22.0.
|
|
351
|
+
version: "22.0.2",
|
|
352
352
|
ngImport: i0,
|
|
353
353
|
type: FocusMonitor,
|
|
354
354
|
decorators: [{
|
|
@@ -378,7 +378,7 @@ class CdkMonitorFocus {
|
|
|
378
378
|
}
|
|
379
379
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
380
380
|
minVersion: "12.0.0",
|
|
381
|
-
version: "22.0.
|
|
381
|
+
version: "22.0.2",
|
|
382
382
|
ngImport: i0,
|
|
383
383
|
type: CdkMonitorFocus,
|
|
384
384
|
deps: [],
|
|
@@ -386,7 +386,7 @@ class CdkMonitorFocus {
|
|
|
386
386
|
});
|
|
387
387
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
388
388
|
minVersion: "14.0.0",
|
|
389
|
-
version: "22.0.
|
|
389
|
+
version: "22.0.2",
|
|
390
390
|
type: CdkMonitorFocus,
|
|
391
391
|
isStandalone: true,
|
|
392
392
|
selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]",
|
|
@@ -399,7 +399,7 @@ class CdkMonitorFocus {
|
|
|
399
399
|
}
|
|
400
400
|
i0.ɵɵngDeclareClassMetadata({
|
|
401
401
|
minVersion: "12.0.0",
|
|
402
|
-
version: "22.0.
|
|
402
|
+
version: "22.0.2",
|
|
403
403
|
ngImport: i0,
|
|
404
404
|
type: CdkMonitorFocus,
|
|
405
405
|
decorators: [{
|
|
@@ -20,7 +20,7 @@ class _IdGenerator {
|
|
|
20
20
|
}
|
|
21
21
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22
22
|
minVersion: "12.0.0",
|
|
23
|
-
version: "22.0.
|
|
23
|
+
version: "22.0.2",
|
|
24
24
|
ngImport: i0,
|
|
25
25
|
type: _IdGenerator,
|
|
26
26
|
deps: [],
|
|
@@ -28,14 +28,14 @@ class _IdGenerator {
|
|
|
28
28
|
});
|
|
29
29
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
30
30
|
minVersion: "22.0.0",
|
|
31
|
-
version: "22.0.
|
|
31
|
+
version: "22.0.2",
|
|
32
32
|
ngImport: i0,
|
|
33
33
|
type: _IdGenerator
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({
|
|
37
37
|
minVersion: "12.0.0",
|
|
38
|
-
version: "22.0.
|
|
38
|
+
version: "22.0.2",
|
|
39
39
|
ngImport: i0,
|
|
40
40
|
type: _IdGenerator,
|
|
41
41
|
decorators: [{
|