@angular/cdk 22.0.0-next.2 → 22.0.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/a11y-prebuilt.css +19 -1
- package/fesm2022/_a11y-module-chunk.mjs +24 -26
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_breakpoints-observer-chunk.mjs +7 -9
- package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
- package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
- package/fesm2022/_directionality-chunk.mjs +3 -3
- package/fesm2022/_directionality-chunk.mjs.map +1 -1
- package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_element-chunk.mjs.map +1 -1
- package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
- package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_focus-monitor-chunk.mjs +10 -12
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- package/fesm2022/_id-generator-chunk.mjs.map +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs +44 -56
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs +4 -6
- package/fesm2022/_platform-chunk.mjs.map +1 -1
- package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_scrolling-chunk.mjs.map +1 -1
- package/fesm2022/_selection-model-chunk.mjs.map +1 -1
- package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
- package/fesm2022/_style-loader-chunk.mjs +3 -3
- package/fesm2022/_style-loader-chunk.mjs.map +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_typeahead-chunk.mjs.map +1 -1
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
- package/fesm2022/a11y.mjs +16 -16
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +11 -13
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +9 -9
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +12 -14
- 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/dialog.mjs +17 -19
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +40 -44
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +5 -5
- package/fesm2022/listbox.mjs +13 -13
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +55 -55
- 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 +16 -20
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +7 -11
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +5 -5
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +12 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +7 -7
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +47 -59
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +34 -36
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +88 -112
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs +1 -1
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +20 -24
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +33 -45
- package/fesm2022/tree.mjs.map +1 -1
- package/overlay-prebuilt.css +117 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/text-field-prebuilt.css +26 -1
- package/types/_a11y-module-chunk.d.ts +5 -6
- package/types/_activedescendant-key-manager-chunk.d.ts +1 -1
- package/types/_bidi-module-chunk.d.ts +1 -1
- package/types/_focus-key-manager-chunk.d.ts +1 -1
- package/types/_focus-monitor-chunk.d.ts +2 -3
- package/types/_overlay-module-chunk.d.ts +2 -5
- package/types/_platform-chunk.d.ts +0 -2
- package/types/_portal-directives-chunk.d.ts +1 -2
- package/types/_scrolling-module-chunk.d.ts +5 -9
- package/types/_view-repeater-chunk.d.ts +1 -1
- package/types/a11y.d.ts +6 -6
- package/types/accordion.d.ts +0 -1
- package/types/clipboard.d.ts +1 -2
- package/types/dialog.d.ts +1 -2
- package/types/drag-drop.d.ts +7 -9
- package/types/layout.d.ts +1 -2
- package/types/listbox.d.ts +1 -1
- package/types/observers.d.ts +1 -3
- package/types/overlay.d.ts +1 -5
- package/types/scrolling.d.ts +1 -1
- package/types/stepper.d.ts +5 -8
- package/types/table.d.ts +11 -20
- package/types/testing-selenium-webdriver.d.ts +0 -19
- package/types/text-field.d.ts +1 -3
- package/types/tree.d.ts +4 -9
package/overlay-prebuilt.css
CHANGED
|
@@ -1 +1,117 @@
|
|
|
1
|
-
.cdk-overlay-container
|
|
1
|
+
.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
2
|
+
pointer-events: none;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.cdk-overlay-container {
|
|
10
|
+
position: fixed;
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
}
|
|
13
|
+
.cdk-overlay-container:empty {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cdk-global-overlay-wrapper {
|
|
18
|
+
display: flex;
|
|
19
|
+
position: absolute;
|
|
20
|
+
z-index: 1000;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.cdk-overlay-pane {
|
|
24
|
+
position: absolute;
|
|
25
|
+
pointer-events: auto;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
display: flex;
|
|
28
|
+
max-width: 100%;
|
|
29
|
+
max-height: 100%;
|
|
30
|
+
z-index: 1000;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cdk-overlay-backdrop {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
right: 0;
|
|
39
|
+
pointer-events: auto;
|
|
40
|
+
-webkit-tap-highlight-color: transparent;
|
|
41
|
+
opacity: 0;
|
|
42
|
+
touch-action: manipulation;
|
|
43
|
+
z-index: 1000;
|
|
44
|
+
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
45
|
+
}
|
|
46
|
+
@media (prefers-reduced-motion) {
|
|
47
|
+
.cdk-overlay-backdrop {
|
|
48
|
+
transition-duration: 1ms;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.cdk-overlay-backdrop-showing {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
@media (forced-colors: active) {
|
|
56
|
+
.cdk-overlay-backdrop-showing {
|
|
57
|
+
opacity: 0.6;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.cdk-overlay-dark-backdrop {
|
|
62
|
+
background: rgba(0, 0, 0, 0.32);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.cdk-overlay-transparent-backdrop {
|
|
66
|
+
transition: visibility 1ms linear, opacity 1ms linear;
|
|
67
|
+
visibility: hidden;
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}
|
|
70
|
+
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
|
|
71
|
+
opacity: 0;
|
|
72
|
+
visibility: visible;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.cdk-overlay-backdrop-noop-animation {
|
|
76
|
+
transition: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
80
|
+
position: absolute;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
min-width: 1px;
|
|
84
|
+
min-height: 1px;
|
|
85
|
+
z-index: 1000;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.cdk-global-scrollblock {
|
|
89
|
+
position: fixed;
|
|
90
|
+
width: 100%;
|
|
91
|
+
overflow-y: scroll;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cdk-overlay-popover {
|
|
95
|
+
background: none;
|
|
96
|
+
border: none;
|
|
97
|
+
padding: 0;
|
|
98
|
+
outline: 0;
|
|
99
|
+
overflow: visible;
|
|
100
|
+
position: fixed;
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
white-space: normal;
|
|
103
|
+
color: inherit;
|
|
104
|
+
text-decoration: none;
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: 100%;
|
|
107
|
+
inset: auto;
|
|
108
|
+
top: 0;
|
|
109
|
+
left: 0;
|
|
110
|
+
}
|
|
111
|
+
.cdk-overlay-popover::backdrop {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
.cdk-overlay-popover .cdk-overlay-backdrop {
|
|
115
|
+
position: fixed;
|
|
116
|
+
z-index: auto;
|
|
117
|
+
}
|
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', `~22.0.0-next.
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~22.0.0-next.4`, { existing: utility_1.ExistingBehavior.Skip });
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
package/text-field-prebuilt.css
CHANGED
|
@@ -1 +1,26 @@
|
|
|
1
|
-
textarea.cdk-textarea-autosize
|
|
1
|
+
textarea.cdk-textarea-autosize {
|
|
2
|
+
resize: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
textarea.cdk-textarea-autosize-measuring {
|
|
6
|
+
padding: 2px 0 !important;
|
|
7
|
+
box-sizing: content-box !important;
|
|
8
|
+
height: auto !important;
|
|
9
|
+
overflow: hidden !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
textarea.cdk-textarea-autosize-measuring-firefox {
|
|
13
|
+
padding: 2px 0 !important;
|
|
14
|
+
box-sizing: content-box !important;
|
|
15
|
+
height: 0 !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@keyframes cdk-text-field-autofill-start { /*!*/ }
|
|
19
|
+
@keyframes cdk-text-field-autofill-end { /*!*/ }
|
|
20
|
+
.cdk-text-field-autofill-monitored:-webkit-autofill {
|
|
21
|
+
animation: cdk-text-field-autofill-start 0s 1ms;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
|
|
25
|
+
animation: cdk-text-field-autofill-end 0s 1ms;
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { OnDestroy, AfterContentInit, OnChanges, DoCheck, NgZone, Injector, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
3
|
import { ObserversModule } from './observers.js';
|
|
4
4
|
import { SafeHtml } from '@angular/platform-browser';
|
|
5
5
|
import { CdkMonitorFocus } from './_focus-monitor-chunk.js';
|
|
@@ -19,7 +19,6 @@ declare class IsFocusableConfig {
|
|
|
19
19
|
*/
|
|
20
20
|
declare class InteractivityChecker {
|
|
21
21
|
private _platform;
|
|
22
|
-
constructor(...args: unknown[]);
|
|
23
22
|
/**
|
|
24
23
|
* Gets whether an element is disabled.
|
|
25
24
|
*
|
|
@@ -164,7 +163,7 @@ declare class FocusTrapFactory {
|
|
|
164
163
|
private _ngZone;
|
|
165
164
|
private _document;
|
|
166
165
|
private _injector;
|
|
167
|
-
constructor(
|
|
166
|
+
constructor();
|
|
168
167
|
/**
|
|
169
168
|
* Creates a focus-trapped region around the given element.
|
|
170
169
|
* @param element The element around which focus will be trapped.
|
|
@@ -192,7 +191,7 @@ declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChanges, Do
|
|
|
192
191
|
* initialization and return focus to the previous activeElement upon destruction.
|
|
193
192
|
*/
|
|
194
193
|
autoCapture: boolean;
|
|
195
|
-
constructor(
|
|
194
|
+
constructor();
|
|
196
195
|
ngOnDestroy(): void;
|
|
197
196
|
ngAfterContentInit(): void;
|
|
198
197
|
ngDoCheck(): void;
|
|
@@ -228,7 +227,7 @@ declare class LiveAnnouncer implements OnDestroy {
|
|
|
228
227
|
private _previousTimeout;
|
|
229
228
|
private _currentPromise;
|
|
230
229
|
private _currentResolve;
|
|
231
|
-
constructor(
|
|
230
|
+
constructor();
|
|
232
231
|
/**
|
|
233
232
|
* Announces a message to screen readers.
|
|
234
233
|
* @param message Message to be announced to the screen reader.
|
|
@@ -295,7 +294,7 @@ declare class CdkAriaLive implements OnDestroy {
|
|
|
295
294
|
duration: number;
|
|
296
295
|
private _previousAnnouncedText?;
|
|
297
296
|
private _subscription;
|
|
298
|
-
constructor(
|
|
297
|
+
constructor();
|
|
299
298
|
ngOnDestroy(): void;
|
|
300
299
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAriaLive, never>;
|
|
301
300
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": { "alias": "cdkAriaLive"; "required": false; }; "duration": { "alias": "cdkAriaLiveDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -15,7 +15,7 @@ declare class Directionality implements OnDestroy {
|
|
|
15
15
|
readonly valueSignal: i0.WritableSignal<Direction>;
|
|
16
16
|
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
17
17
|
readonly change: EventEmitter<Direction>;
|
|
18
|
-
constructor(
|
|
18
|
+
constructor();
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, never>;
|
|
21
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AfterViewInit, OnDestroy, EventEmitter, InjectionToken, ElementRef } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
type FocusOrigin = 'touch' | 'mouse' | 'keyboard' | 'program' | null;
|
|
@@ -76,7 +76,7 @@ declare class FocusMonitor implements OnDestroy {
|
|
|
76
76
|
protected _document: Document;
|
|
77
77
|
/** Subject for stopping our InputModalityDetector subscription. */
|
|
78
78
|
private readonly _stopInputModalityDetector;
|
|
79
|
-
constructor(
|
|
79
|
+
constructor();
|
|
80
80
|
/**
|
|
81
81
|
* Event listener for `focus` and 'blur' events on the document.
|
|
82
82
|
* Needs to be an arrow function in order to preserve the context when it gets bound.
|
|
@@ -196,7 +196,6 @@ declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
|
|
|
196
196
|
private _monitorSubscription;
|
|
197
197
|
private _focusOrigin;
|
|
198
198
|
readonly cdkFocusChange: EventEmitter<FocusOrigin>;
|
|
199
|
-
constructor(...args: unknown[]);
|
|
200
199
|
get focusOrigin(): FocusOrigin;
|
|
201
200
|
ngAfterViewInit(): void;
|
|
202
201
|
ngOnDestroy(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, Injector,
|
|
2
|
+
import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, Injector, OnChanges, EventEmitter, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
3
|
import { Direction, Directionality, BidiModule } from './_bidi-module-chunk.js';
|
|
4
4
|
import { PortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from './_portal-directives-chunk.js';
|
|
5
5
|
import { CdkScrollable, ScrollingModule } from './_scrolling-module-chunk.js';
|
|
@@ -19,7 +19,6 @@ declare abstract class BaseOverlayDispatcher implements OnDestroy {
|
|
|
19
19
|
_attachedOverlays: OverlayRef[];
|
|
20
20
|
protected _document: Document;
|
|
21
21
|
protected _isAttached: boolean;
|
|
22
|
-
constructor(...args: unknown[]);
|
|
23
22
|
ngOnDestroy(): void;
|
|
24
23
|
/** Add a new overlay to the list of attached overlay refs. */
|
|
25
24
|
add(overlayRef: OverlayRef): void;
|
|
@@ -407,7 +406,6 @@ declare class OverlayContainer implements OnDestroy {
|
|
|
407
406
|
protected _containerElement: HTMLElement | undefined;
|
|
408
407
|
protected _document: Document;
|
|
409
408
|
protected _styleLoader: _CdkPrivateStyleLoader;
|
|
410
|
-
constructor(...args: unknown[]);
|
|
411
409
|
ngOnDestroy(): void;
|
|
412
410
|
/**
|
|
413
411
|
* This method returns the overlay container element. It will lazily
|
|
@@ -752,7 +750,6 @@ declare const STANDARD_DROPDOWN_ADJACENT_POSITIONS: ConnectedPosition[];
|
|
|
752
750
|
*/
|
|
753
751
|
declare class CdkOverlayOrigin {
|
|
754
752
|
elementRef: ElementRef<any>;
|
|
755
|
-
constructor(...args: unknown[]);
|
|
756
753
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkOverlayOrigin, never>;
|
|
757
754
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkOverlayOrigin, "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", ["cdkOverlayOrigin"], {}, {}, never, never, true, never>;
|
|
758
755
|
}
|
|
@@ -872,7 +869,7 @@ declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
|
|
|
872
869
|
readonly overlayKeydown: EventEmitter<KeyboardEvent>;
|
|
873
870
|
/** Emits when there are mouse outside click events that are targeted at the overlay. */
|
|
874
871
|
readonly overlayOutsideClick: EventEmitter<MouseEvent>;
|
|
875
|
-
constructor(
|
|
872
|
+
constructor();
|
|
876
873
|
/** The associated overlay reference. */
|
|
877
874
|
get overlayRef(): OverlayRef;
|
|
878
875
|
/** The element's layout direction. */
|
|
@@ -24,8 +24,6 @@ declare class Platform {
|
|
|
24
24
|
ANDROID: boolean;
|
|
25
25
|
/** Whether the current browser is Safari. */
|
|
26
26
|
SAFARI: boolean;
|
|
27
|
-
/** Backwards-compatible constructor. */
|
|
28
|
-
constructor(..._args: unknown[]);
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<Platform, never>;
|
|
30
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<Platform>;
|
|
31
29
|
}
|
|
@@ -131,7 +131,7 @@ declare abstract class BasePortalOutlet implements PortalOutlet {
|
|
|
131
131
|
* the directive instance itself can be attached to a host, enabling declarative use of portals.
|
|
132
132
|
*/
|
|
133
133
|
declare class CdkPortal extends TemplatePortal {
|
|
134
|
-
constructor(
|
|
134
|
+
constructor();
|
|
135
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortal, never>;
|
|
136
136
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortal, "[cdkPortal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
137
137
|
}
|
|
@@ -154,7 +154,6 @@ declare class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDest
|
|
|
154
154
|
private _isInitialized;
|
|
155
155
|
/** Reference to the currently-attached component/view ref. */
|
|
156
156
|
private _attachedRef;
|
|
157
|
-
constructor(...args: unknown[]);
|
|
158
157
|
/** Portal associated with the Portal outlet. */
|
|
159
158
|
get portal(): Portal<any> | null;
|
|
160
159
|
set portal(portal: Portal<any> | null | undefined | '');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges,
|
|
2
|
+
import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges, DoCheck, NgIterable, TrackByFunction, TemplateRef } from '@angular/core';
|
|
3
3
|
import { Directionality, BidiModule } from './_bidi-module-chunk.js';
|
|
4
4
|
import { Observable, Subscription, Subject } from 'rxjs';
|
|
5
|
-
import { ListRange,
|
|
5
|
+
import { ListRange, CollectionViewer, DataSource } from './_data-source-chunk.js';
|
|
6
6
|
import { NumberInput } from './_number-property-chunk.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -24,7 +24,6 @@ declare class ScrollDispatcher implements OnDestroy {
|
|
|
24
24
|
private _platform;
|
|
25
25
|
private _renderer;
|
|
26
26
|
private _cleanupGlobalListener;
|
|
27
|
-
constructor(...args: unknown[]);
|
|
28
27
|
/** Subject for notifying that a registered scrollable reference element has been scrolled. */
|
|
29
28
|
private readonly _scrolled;
|
|
30
29
|
/** Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards. */
|
|
@@ -118,7 +117,6 @@ declare class CdkScrollable implements OnInit, OnDestroy {
|
|
|
118
117
|
private _renderer;
|
|
119
118
|
private _cleanupScroll;
|
|
120
119
|
private _elementScrolled;
|
|
121
|
-
constructor(...args: unknown[]);
|
|
122
120
|
ngOnInit(): void;
|
|
123
121
|
ngOnDestroy(): void;
|
|
124
122
|
/** Returns observable that emits when a scroll event is fired on the host element. */
|
|
@@ -154,7 +152,6 @@ declare const VIRTUAL_SCROLLABLE: InjectionToken<CdkVirtualScrollable>;
|
|
|
154
152
|
* Extending the `CdkScrollable` to be used as scrolling container for virtual scrolling.
|
|
155
153
|
*/
|
|
156
154
|
declare abstract class CdkVirtualScrollable extends CdkScrollable {
|
|
157
|
-
constructor(...args: unknown[]);
|
|
158
155
|
/**
|
|
159
156
|
* Measure the viewport size for the provided orientation.
|
|
160
157
|
*
|
|
@@ -242,7 +239,7 @@ declare class CdkVirtualScrollViewport extends CdkVirtualScrollable implements O
|
|
|
242
239
|
private _viewportChanges;
|
|
243
240
|
private _injector;
|
|
244
241
|
private _isDestroyed;
|
|
245
|
-
constructor(
|
|
242
|
+
constructor();
|
|
246
243
|
ngOnInit(): void;
|
|
247
244
|
ngOnDestroy(): void;
|
|
248
245
|
/** Attaches a `CdkVirtualScrollRepeater` to this viewport. */
|
|
@@ -498,7 +495,7 @@ declare class CdkVirtualForOf<T> implements CdkVirtualScrollRepeater<T>, Collect
|
|
|
498
495
|
/** Whether the rendered data should be updated during the next ngDoCheck cycle. */
|
|
499
496
|
private _needsUpdate;
|
|
500
497
|
private readonly _destroyed;
|
|
501
|
-
constructor(
|
|
498
|
+
constructor();
|
|
502
499
|
/**
|
|
503
500
|
* Measures the combined size (width for horizontal orientation, height for vertical) of all items
|
|
504
501
|
* in the specified range. Throws an error if the range includes items that are not currently
|
|
@@ -527,7 +524,7 @@ declare class CdkVirtualForOf<T> implements CdkVirtualScrollRepeater<T>, Collect
|
|
|
527
524
|
* Provides as virtual scrollable for the global / window scrollbar.
|
|
528
525
|
*/
|
|
529
526
|
declare class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
|
|
530
|
-
constructor(
|
|
527
|
+
constructor();
|
|
531
528
|
measureBoundingClientRectWithScrollOffset(from: 'left' | 'top' | 'right' | 'bottom'): number;
|
|
532
529
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualScrollableWindow, never>;
|
|
533
530
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollableWindow, "cdk-virtual-scroll-viewport[scrollWindow]", never, {}, {}, never, never, true, never>;
|
|
@@ -537,7 +534,6 @@ declare class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
|
|
|
537
534
|
* Provides a virtual scrollable for the element it is attached to.
|
|
538
535
|
*/
|
|
539
536
|
declare class CdkVirtualScrollableElement extends CdkVirtualScrollable {
|
|
540
|
-
constructor(...args: unknown[]);
|
|
541
537
|
measureBoundingClientRectWithScrollOffset(from: 'left' | 'top' | 'right' | 'bottom'): number;
|
|
542
538
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualScrollableElement, never>;
|
|
543
539
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollableElement, "[cdkVirtualScrollingElement]", never, {}, {}, never, never, true, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IterableChanges, ViewContainerRef, IterableChangeRecord, TemplateRef } from '@angular/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The context for an embedded view in the repeater's view container.
|
package/types/a11y.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, Provider,
|
|
2
|
+
import { OnDestroy, Provider, InjectionToken, QueryList, NgZone, Injector } from '@angular/core';
|
|
3
3
|
export { ActiveDescendantKeyManager, Highlightable } from './_activedescendant-key-manager-chunk.js';
|
|
4
4
|
export { FocusKeyManager, FocusableOption } from './_focus-key-manager-chunk.js';
|
|
5
5
|
export { ListKeyManager, ListKeyManagerModifierKey, ListKeyManagerOption } from './_list-key-manager-chunk.js';
|
|
6
6
|
import { Subject, Observable } from 'rxjs';
|
|
7
|
-
import { TreeKeyManagerItem, TreeKeyManagerStrategy,
|
|
7
|
+
import { TreeKeyManagerItem, TreeKeyManagerStrategy, TreeKeyManagerFactory, TreeKeyManagerOptions } from './_tree-key-manager-strategy-chunk.js';
|
|
8
8
|
import { FocusTrap, InteractivityChecker } from './_a11y-module-chunk.js';
|
|
9
9
|
export { A11yModule, AriaLivePoliteness, CdkAriaLive, CdkTrapFocus, FocusTrapFactory, IsFocusableConfig, LIVE_ANNOUNCER_DEFAULT_OPTIONS, LIVE_ANNOUNCER_ELEMENT_TOKEN, LiveAnnouncer, LiveAnnouncerDefaultOptions, LiveAnnouncerMessage } from './_a11y-module-chunk.js';
|
|
10
10
|
export { CdkMonitorFocus, FOCUS_MONITOR_DEFAULT_OPTIONS, FocusMonitor, FocusMonitorDetectionMode, FocusMonitorOptions, FocusOptions, FocusOrigin } from './_focus-monitor-chunk.js';
|
|
@@ -54,7 +54,7 @@ declare class AriaDescriber implements OnDestroy {
|
|
|
54
54
|
private _messagesContainer;
|
|
55
55
|
/** Unique ID for the service. */
|
|
56
56
|
private readonly _id;
|
|
57
|
-
constructor(
|
|
57
|
+
constructor();
|
|
58
58
|
/**
|
|
59
59
|
* Adds to the host element an aria-describedby reference to a hidden element that contains
|
|
60
60
|
* the message. If the same message has already been registered, then it will reuse the created
|
|
@@ -338,7 +338,7 @@ declare class ConfigurableFocusTrapFactory {
|
|
|
338
338
|
private _document;
|
|
339
339
|
private _inertStrategy;
|
|
340
340
|
private readonly _injector;
|
|
341
|
-
constructor(
|
|
341
|
+
constructor();
|
|
342
342
|
/**
|
|
343
343
|
* Creates a focus-trapped region around the given element.
|
|
344
344
|
* @param element The element around which focus will be trapped.
|
|
@@ -459,7 +459,7 @@ declare class InputModalityDetector implements OnDestroy {
|
|
|
459
459
|
* gets bound.
|
|
460
460
|
*/
|
|
461
461
|
private _onTouchstart;
|
|
462
|
-
constructor(
|
|
462
|
+
constructor();
|
|
463
463
|
ngOnDestroy(): void;
|
|
464
464
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityDetector, never>;
|
|
465
465
|
static ɵprov: i0.ɵɵInjectableDeclaration<InputModalityDetector>;
|
|
@@ -496,7 +496,7 @@ declare class HighContrastModeDetector implements OnDestroy {
|
|
|
496
496
|
private _hasCheckedHighContrastMode;
|
|
497
497
|
private _document;
|
|
498
498
|
private _breakpointSubscription;
|
|
499
|
-
constructor(
|
|
499
|
+
constructor();
|
|
500
500
|
/** Gets the current high-contrast-mode for the page. */
|
|
501
501
|
getHighContrastMode(): HighContrastMode;
|
|
502
502
|
ngOnDestroy(): void;
|
package/types/accordion.d.ts
CHANGED
|
@@ -66,7 +66,6 @@ declare class CdkAccordionItem implements OnInit, OnDestroy {
|
|
|
66
66
|
private _disabled;
|
|
67
67
|
/** Unregister function for _expansionDispatcher. */
|
|
68
68
|
private _removeUniqueSelectionListener;
|
|
69
|
-
constructor(...args: unknown[]);
|
|
70
69
|
ngOnInit(): void;
|
|
71
70
|
/** Emits an event for the accordion item being destroyed. */
|
|
72
71
|
ngOnDestroy(): void;
|
package/types/clipboard.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ declare class PendingCopy {
|
|
|
29
29
|
*/
|
|
30
30
|
declare class Clipboard {
|
|
31
31
|
private readonly _document;
|
|
32
|
-
constructor(...args: unknown[]);
|
|
33
32
|
/**
|
|
34
33
|
* Copies the provided text into the user's clipboard.
|
|
35
34
|
*
|
|
@@ -83,7 +82,7 @@ declare class CdkCopyToClipboard implements OnDestroy {
|
|
|
83
82
|
private _destroyed;
|
|
84
83
|
/** Timeout for the current copy attempt. */
|
|
85
84
|
private _currentTimeout;
|
|
86
|
-
constructor(
|
|
85
|
+
constructor();
|
|
87
86
|
/** Copies the current text to the clipboard. */
|
|
88
87
|
copy(attempts?: number): void;
|
|
89
88
|
ngOnDestroy(): void;
|
package/types/dialog.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> extends
|
|
|
189
189
|
*/
|
|
190
190
|
_ariaLabelledByQueue: string[];
|
|
191
191
|
private _isDestroyed;
|
|
192
|
-
constructor(
|
|
192
|
+
constructor();
|
|
193
193
|
_addAriaLabelledBy(id: string): void;
|
|
194
194
|
_removeAriaLabelledBy(id: string): void;
|
|
195
195
|
protected _contentAttached(): void;
|
|
@@ -326,7 +326,6 @@ declare class Dialog implements OnDestroy {
|
|
|
326
326
|
* Will emit on subscribe if there are no open dialogs to begin with.
|
|
327
327
|
*/
|
|
328
328
|
readonly afterAllClosed: Observable<void>;
|
|
329
|
-
constructor(...args: unknown[]);
|
|
330
329
|
/**
|
|
331
330
|
* Opens a modal dialog containing the given component.
|
|
332
331
|
* @param component Type of the component to load into the dialog.
|
package/types/drag-drop.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, ElementRef, NgZone, Injector, OnDestroy, EventEmitter, AfterViewInit, TemplateRef, OnChanges, SimpleChanges, ViewContainerRef, Renderer2 } from '@angular/core';
|
|
3
3
|
import { Direction } from './_bidi-module-chunk.js';
|
|
4
4
|
import { Subject, Observable } from 'rxjs';
|
|
5
5
|
import { ViewportRuler } from './scrolling.js';
|
|
@@ -423,7 +423,7 @@ declare class CdkDropList<T = any> implements OnDestroy {
|
|
|
423
423
|
* and then we sort them based on their position in the DOM.
|
|
424
424
|
*/
|
|
425
425
|
private _unsortedItems;
|
|
426
|
-
constructor(
|
|
426
|
+
constructor();
|
|
427
427
|
/** Registers an items with the drop list. */
|
|
428
428
|
addItem(item: CdkDrag): void;
|
|
429
429
|
/** Removes an item from the drop list. */
|
|
@@ -580,7 +580,7 @@ declare class CdkDragHandle implements AfterViewInit, OnDestroy {
|
|
|
580
580
|
get disabled(): boolean;
|
|
581
581
|
set disabled(value: boolean);
|
|
582
582
|
private _disabled;
|
|
583
|
-
constructor(
|
|
583
|
+
constructor();
|
|
584
584
|
ngAfterViewInit(): void;
|
|
585
585
|
ngOnDestroy(): void;
|
|
586
586
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragHandle, never>;
|
|
@@ -603,7 +603,7 @@ declare class CdkDragPlaceholder<T = any> implements OnDestroy {
|
|
|
603
603
|
private _drag;
|
|
604
604
|
/** Context data to be added to the placeholder template instance. */
|
|
605
605
|
data: T;
|
|
606
|
-
constructor(
|
|
606
|
+
constructor();
|
|
607
607
|
ngOnDestroy(): void;
|
|
608
608
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPlaceholder<any>, never>;
|
|
609
609
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPlaceholder<any>, "ng-template[cdkDragPlaceholder]", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -626,7 +626,7 @@ declare class CdkDragPreview<T = any> implements OnDestroy {
|
|
|
626
626
|
data: T;
|
|
627
627
|
/** Whether the preview should preserve the same size as the item that is being dragged. */
|
|
628
628
|
matchSize: boolean;
|
|
629
|
-
constructor(
|
|
629
|
+
constructor();
|
|
630
630
|
ngOnDestroy(): void;
|
|
631
631
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPreview<any>, never>;
|
|
632
632
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPreview<any>, "ng-template[cdkDragPreview]", never, { "data": { "alias": "data"; "required": false; }; "matchSize": { "alias": "matchSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -733,7 +733,7 @@ declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
733
733
|
*/
|
|
734
734
|
readonly moved: Observable<CdkDragMove<T>>;
|
|
735
735
|
private _injector;
|
|
736
|
-
constructor(
|
|
736
|
+
constructor();
|
|
737
737
|
/**
|
|
738
738
|
* Returns the element that is being used as a placeholder
|
|
739
739
|
* while the current element is being dragged.
|
|
@@ -822,7 +822,6 @@ declare class DragDropRegistry implements OnDestroy {
|
|
|
822
822
|
* while the user is dragging a drag item instance.
|
|
823
823
|
*/
|
|
824
824
|
readonly pointerUp: Subject<TouchEvent | MouseEvent>;
|
|
825
|
-
constructor(...args: unknown[]);
|
|
826
825
|
/** Adds a drop container to the registry. */
|
|
827
826
|
registerDropContainer(drop: DropListRef): void;
|
|
828
827
|
/** Adds a drag item instance to the registry. */
|
|
@@ -1339,7 +1338,6 @@ declare class DragRef<T = any> {
|
|
|
1339
1338
|
*/
|
|
1340
1339
|
declare class DragDrop {
|
|
1341
1340
|
private _injector;
|
|
1342
|
-
constructor(...args: unknown[]);
|
|
1343
1341
|
/**
|
|
1344
1342
|
* Turns an element into a draggable item.
|
|
1345
1343
|
* @param element Element to which to attach the dragging functionality.
|
|
@@ -1398,7 +1396,7 @@ declare function copyArrayItem<T = any>(currentArray: T[], targetArray: T[], cur
|
|
|
1398
1396
|
* alternative token to the actual `CdkDropListGroup` class which could cause unnecessary
|
|
1399
1397
|
* retention of the class and its directive metadata.
|
|
1400
1398
|
*/
|
|
1401
|
-
declare const CDK_DROP_LIST_GROUP: InjectionToken<CdkDropListGroup<
|
|
1399
|
+
declare const CDK_DROP_LIST_GROUP: InjectionToken<CdkDropListGroup<CdkDropList<any>>>;
|
|
1402
1400
|
/**
|
|
1403
1401
|
* Declaratively connects sibling `cdkDropList` instances together. All of the `cdkDropList`
|
|
1404
1402
|
* elements that are placed inside a `cdkDropListGroup` will be connected to each other
|
package/types/layout.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ declare class BreakpointObserver implements OnDestroy {
|
|
|
28
28
|
private _queries;
|
|
29
29
|
/** A subject for all other observables to takeUntil based on. */
|
|
30
30
|
private readonly _destroySubject;
|
|
31
|
-
constructor(...args: unknown[]);
|
|
32
31
|
/** Completes the active subject, signalling to all other observables to complete. */
|
|
33
32
|
ngOnDestroy(): void;
|
|
34
33
|
/**
|
|
@@ -73,7 +72,7 @@ declare class MediaMatcher {
|
|
|
73
72
|
private _nonce;
|
|
74
73
|
/** The internal matchMedia method to return back a MediaQueryList like object. */
|
|
75
74
|
private _matchMedia;
|
|
76
|
-
constructor(
|
|
75
|
+
constructor();
|
|
77
76
|
/**
|
|
78
77
|
* Evaluates the given media query and returns the native MediaQueryList from which results
|
|
79
78
|
* can be retrieved.
|
package/types/listbox.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AfterContentInit, OnDestroy, QueryList, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { Highlightable, ActiveDescendantKeyManager } from './_activedescendant-key-manager-chunk.js';
|
|
4
4
|
import { ListKeyManagerOption } from './_list-key-manager-chunk.js';
|
|
5
5
|
import { Subject } from 'rxjs';
|
package/types/observers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NumberInput } from './_number-property-chunk.js';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { AfterContentInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -18,7 +18,6 @@ declare class ContentObserver implements OnDestroy {
|
|
|
18
18
|
/** Keeps track of the existing MutationObservers so they can be reused. */
|
|
19
19
|
private _observedElements;
|
|
20
20
|
private _ngZone;
|
|
21
|
-
constructor(...args: unknown[]);
|
|
22
21
|
ngOnDestroy(): void;
|
|
23
22
|
/**
|
|
24
23
|
* Observe content changes on an element.
|
|
@@ -66,7 +65,6 @@ declare class CdkObserveContent implements AfterContentInit, OnDestroy {
|
|
|
66
65
|
set debounce(value: NumberInput);
|
|
67
66
|
private _debounce;
|
|
68
67
|
private _currentSubscription;
|
|
69
|
-
constructor(...args: unknown[]);
|
|
70
68
|
ngAfterContentInit(): void;
|
|
71
69
|
ngOnDestroy(): void;
|
|
72
70
|
private _subscribe;
|