@angular/cdk 19.0.0-next.4 → 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 +81 -139
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +11 -16
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +5 -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 +11 -18
- 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.map +1 -1
- package/fesm2022/dialog.mjs +25 -45
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +66 -125
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +13 -18
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +7 -1
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +10 -10
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +73 -121
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +45 -44
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +59 -99
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -40
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +113 -171
- 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 +20 -27
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +50 -53
- 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 +16 -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/a11y/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { ContentObserver } from '@angular/cdk/observers';
|
|
4
3
|
import { DoCheck } from '@angular/core';
|
|
5
4
|
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { EventEmitter } from '@angular/core';
|
|
@@ -12,14 +11,13 @@ import { NgZone } from '@angular/core';
|
|
|
12
11
|
import { Observable } from 'rxjs';
|
|
13
12
|
import { OnChanges } from '@angular/core';
|
|
14
13
|
import { OnDestroy } from '@angular/core';
|
|
15
|
-
import { Platform } from '@angular/cdk/platform';
|
|
16
14
|
import { QueryList } from '@angular/core';
|
|
17
15
|
import { Signal } from '@angular/core';
|
|
18
16
|
import { SimpleChanges } from '@angular/core';
|
|
19
17
|
import { Subject } from 'rxjs';
|
|
20
18
|
|
|
21
19
|
export declare class A11yModule {
|
|
22
|
-
constructor(
|
|
20
|
+
constructor();
|
|
23
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<A11yModule, never>;
|
|
24
22
|
static ɵmod: i0.ɵɵNgModuleDeclaration<A11yModule, never, [typeof i1.ObserversModule, typeof i2.CdkAriaLive, typeof i3.CdkTrapFocus, typeof i4.CdkMonitorFocus], [typeof i2.CdkAriaLive, typeof i3.CdkTrapFocus, typeof i4.CdkMonitorFocus]>;
|
|
25
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<A11yModule>;
|
|
@@ -55,11 +53,7 @@ export declare function addAriaReferencedId(el: Element, attr: `aria-${string}`,
|
|
|
55
53
|
* content.
|
|
56
54
|
*/
|
|
57
55
|
export declare class AriaDescriber implements OnDestroy {
|
|
58
|
-
|
|
59
|
-
* @deprecated To be turned into a required parameter.
|
|
60
|
-
* @breaking-change 14.0.0
|
|
61
|
-
*/
|
|
62
|
-
private _platform?;
|
|
56
|
+
private _platform;
|
|
63
57
|
private _document;
|
|
64
58
|
/** Map of all registered message elements that have been placed into the document. */
|
|
65
59
|
private _messageRegistry;
|
|
@@ -67,12 +61,7 @@ export declare class AriaDescriber implements OnDestroy {
|
|
|
67
61
|
private _messagesContainer;
|
|
68
62
|
/** Unique ID for the service. */
|
|
69
63
|
private readonly _id;
|
|
70
|
-
constructor(
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated To be turned into a required parameter.
|
|
73
|
-
* @breaking-change 14.0.0
|
|
74
|
-
*/
|
|
75
|
-
_platform?: Platform | undefined);
|
|
64
|
+
constructor(...args: unknown[]);
|
|
76
65
|
/**
|
|
77
66
|
* Adds to the host element an aria-describedby reference to a hidden element that contains
|
|
78
67
|
* the message. If the same message has already been registered, then it will reuse the created
|
|
@@ -154,7 +143,7 @@ export declare class CdkAriaLive implements OnDestroy {
|
|
|
154
143
|
duration: number;
|
|
155
144
|
private _previousAnnouncedText?;
|
|
156
145
|
private _subscription;
|
|
157
|
-
constructor(
|
|
146
|
+
constructor(...args: unknown[]);
|
|
158
147
|
ngOnDestroy(): void;
|
|
159
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAriaLive, never>;
|
|
160
149
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": { "alias": "cdkAriaLive"; "required": false; }; "duration": { "alias": "cdkAriaLiveDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -175,7 +164,7 @@ export declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
|
|
|
175
164
|
private _monitorSubscription;
|
|
176
165
|
private _focusOrigin;
|
|
177
166
|
readonly cdkFocusChange: EventEmitter<FocusOrigin>;
|
|
178
|
-
constructor(
|
|
167
|
+
constructor(...args: unknown[]);
|
|
179
168
|
get focusOrigin(): FocusOrigin;
|
|
180
169
|
ngAfterViewInit(): void;
|
|
181
170
|
ngOnDestroy(): void;
|
|
@@ -199,12 +188,7 @@ export declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChan
|
|
|
199
188
|
* initialization and return focus to the previous activeElement upon destruction.
|
|
200
189
|
*/
|
|
201
190
|
autoCapture: boolean;
|
|
202
|
-
constructor(
|
|
203
|
-
/**
|
|
204
|
-
* @deprecated No longer being used. To be removed.
|
|
205
|
-
* @breaking-change 13.0.0
|
|
206
|
-
*/
|
|
207
|
-
_document: any);
|
|
191
|
+
constructor(...args: unknown[]);
|
|
208
192
|
ngOnDestroy(): void;
|
|
209
193
|
ngAfterContentInit(): void;
|
|
210
194
|
ngDoCheck(): void;
|
|
@@ -256,7 +240,7 @@ export declare class ConfigurableFocusTrapFactory {
|
|
|
256
240
|
private _document;
|
|
257
241
|
private _inertStrategy;
|
|
258
242
|
private readonly _injector;
|
|
259
|
-
constructor(
|
|
243
|
+
constructor(...args: unknown[]);
|
|
260
244
|
/**
|
|
261
245
|
* Creates a focus-trapped region around the given element.
|
|
262
246
|
* @param element The element around which focus will be trapped.
|
|
@@ -269,7 +253,7 @@ export declare class ConfigurableFocusTrapFactory {
|
|
|
269
253
|
* @breaking-change 11.0.0
|
|
270
254
|
*/
|
|
271
255
|
create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
|
|
272
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory,
|
|
256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory, never>;
|
|
273
257
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurableFocusTrapFactory>;
|
|
274
258
|
}
|
|
275
259
|
|
|
@@ -372,12 +356,10 @@ export declare class FocusMonitor implements OnDestroy {
|
|
|
372
356
|
*/
|
|
373
357
|
private _windowFocusListener;
|
|
374
358
|
/** Used to reference correct document/window */
|
|
375
|
-
protected _document?: Document;
|
|
359
|
+
protected _document?: Document | null | undefined;
|
|
376
360
|
/** Subject for stopping our InputModalityDetector subscription. */
|
|
377
361
|
private readonly _stopInputModalityDetector;
|
|
378
|
-
constructor(
|
|
379
|
-
/** @breaking-change 11.0.0 make document required */
|
|
380
|
-
document: any | null, options: FocusMonitorOptions | null);
|
|
362
|
+
constructor(...args: unknown[]);
|
|
381
363
|
/**
|
|
382
364
|
* Event listener for `focus` and 'blur' events on the document.
|
|
383
365
|
* Needs to be an arrow function in order to preserve the context when it gets bound.
|
|
@@ -481,7 +463,7 @@ export declare class FocusMonitor implements OnDestroy {
|
|
|
481
463
|
* @param focusEventTarget Target currently receiving focus.
|
|
482
464
|
*/
|
|
483
465
|
private _isLastInteractionFromInputLabel;
|
|
484
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusMonitor,
|
|
466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusMonitor, never>;
|
|
485
467
|
static ɵprov: i0.ɵɵInjectableDeclaration<FocusMonitor>;
|
|
486
468
|
}
|
|
487
469
|
|
|
@@ -626,7 +608,7 @@ export declare class FocusTrapFactory {
|
|
|
626
608
|
private _ngZone;
|
|
627
609
|
private _document;
|
|
628
610
|
private _injector;
|
|
629
|
-
constructor(
|
|
611
|
+
constructor(...args: unknown[]);
|
|
630
612
|
/**
|
|
631
613
|
* Creates a focus-trapped region around the given element.
|
|
632
614
|
* @param element The element around which focus will be trapped.
|
|
@@ -700,7 +682,7 @@ export declare class HighContrastModeDetector implements OnDestroy {
|
|
|
700
682
|
private _hasCheckedHighContrastMode;
|
|
701
683
|
private _document;
|
|
702
684
|
private _breakpointSubscription;
|
|
703
|
-
constructor(
|
|
685
|
+
constructor(...args: unknown[]);
|
|
704
686
|
/** Gets the current high-contrast-mode for the page. */
|
|
705
687
|
getHighContrastMode(): HighContrastMode;
|
|
706
688
|
ngOnDestroy(): void;
|
|
@@ -829,9 +811,9 @@ export declare class InputModalityDetector implements OnDestroy {
|
|
|
829
811
|
* gets bound.
|
|
830
812
|
*/
|
|
831
813
|
private _onTouchstart;
|
|
832
|
-
constructor(
|
|
814
|
+
constructor(...args: unknown[]);
|
|
833
815
|
ngOnDestroy(): void;
|
|
834
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityDetector,
|
|
816
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityDetector, never>;
|
|
835
817
|
static ɵprov: i0.ɵɵInjectableDeclaration<InputModalityDetector>;
|
|
836
818
|
}
|
|
837
819
|
|
|
@@ -847,7 +829,7 @@ export declare interface InputModalityDetectorOptions {
|
|
|
847
829
|
*/
|
|
848
830
|
export declare class InteractivityChecker {
|
|
849
831
|
private _platform;
|
|
850
|
-
constructor(
|
|
832
|
+
constructor(...args: unknown[]);
|
|
851
833
|
/**
|
|
852
834
|
* Gets whether an element is disabled.
|
|
853
835
|
*
|
|
@@ -1073,13 +1055,13 @@ export declare function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;
|
|
|
1073
1055
|
|
|
1074
1056
|
export declare class LiveAnnouncer implements OnDestroy {
|
|
1075
1057
|
private _ngZone;
|
|
1076
|
-
private _defaultOptions
|
|
1058
|
+
private _defaultOptions;
|
|
1077
1059
|
private _liveElement;
|
|
1078
1060
|
private _document;
|
|
1079
1061
|
private _previousTimeout;
|
|
1080
1062
|
private _currentPromise;
|
|
1081
1063
|
private _currentResolve;
|
|
1082
|
-
constructor(
|
|
1064
|
+
constructor(...args: unknown[]);
|
|
1083
1065
|
/**
|
|
1084
1066
|
* Announces a message to screen readers.
|
|
1085
1067
|
* @param message Message to be announced to the screen reader.
|
|
@@ -1126,7 +1108,7 @@ export declare class LiveAnnouncer implements OnDestroy {
|
|
|
1126
1108
|
* pointing the `aria-owns` of all modals to the live announcer element.
|
|
1127
1109
|
*/
|
|
1128
1110
|
private _exposeAnnouncerToModals;
|
|
1129
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer,
|
|
1111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer, never>;
|
|
1130
1112
|
static ɵprov: i0.ɵɵInjectableDeclaration<LiveAnnouncer>;
|
|
1131
1113
|
}
|
|
1132
1114
|
|
package/accordion/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
3
|
import { InjectionToken } from '@angular/core';
|
|
5
4
|
import { OnChanges } from '@angular/core';
|
|
6
5
|
import { OnDestroy } from '@angular/core';
|
|
6
|
+
import { OnInit } from '@angular/core';
|
|
7
7
|
import { SimpleChanges } from '@angular/core';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
@@ -42,7 +42,7 @@ export declare class CdkAccordion implements OnDestroy, OnChanges {
|
|
|
42
42
|
* A basic directive expected to be extended and decorated as a component. Sets up all
|
|
43
43
|
* events and attributes needed to be managed by a CdkAccordion parent.
|
|
44
44
|
*/
|
|
45
|
-
export declare class CdkAccordionItem implements OnDestroy {
|
|
45
|
+
export declare class CdkAccordionItem implements OnInit, OnDestroy {
|
|
46
46
|
accordion: CdkAccordion;
|
|
47
47
|
private _changeDetectorRef;
|
|
48
48
|
protected _expansionDispatcher: UniqueSelectionDispatcher;
|
|
@@ -70,7 +70,8 @@ export declare class CdkAccordionItem implements OnDestroy {
|
|
|
70
70
|
disabled: boolean;
|
|
71
71
|
/** Unregister function for _expansionDispatcher. */
|
|
72
72
|
private _removeUniqueSelectionListener;
|
|
73
|
-
constructor(
|
|
73
|
+
constructor(...args: unknown[]);
|
|
74
|
+
ngOnInit(): void;
|
|
74
75
|
/** Emits an event for the accordion item being destroyed. */
|
|
75
76
|
ngOnDestroy(): void;
|
|
76
77
|
/** Toggles the expanded state of the accordion item. */
|
|
@@ -80,7 +81,7 @@ export declare class CdkAccordionItem implements OnDestroy {
|
|
|
80
81
|
/** Sets the expanded state of the accordion item to true. */
|
|
81
82
|
open(): void;
|
|
82
83
|
private _subscribeToOpenCloseAllActions;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionItem,
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionItem, never>;
|
|
84
85
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordionItem, "cdk-accordion-item, [cdkAccordionItem]", ["cdkAccordionItem"], { "expanded": { "alias": "expanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; "destroyed": "destroyed"; "expandedChange": "expandedChange"; }, never, never, true, never>;
|
|
85
86
|
static ngAcceptInputType_expanded: unknown;
|
|
86
87
|
static ngAcceptInputType_disabled: unknown;
|
package/bidi/index.d.ts
CHANGED
|
@@ -65,9 +65,9 @@ export declare class Directionality implements OnDestroy {
|
|
|
65
65
|
readonly value: Direction;
|
|
66
66
|
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
67
67
|
readonly change: EventEmitter<Direction>;
|
|
68
|
-
constructor(
|
|
68
|
+
constructor(...args: unknown[]);
|
|
69
69
|
ngOnDestroy(): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality,
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, never>;
|
|
71
71
|
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
|
|
72
72
|
}
|
|
73
73
|
|
package/clipboard/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { InjectionToken } from '@angular/core';
|
|
4
|
-
import { NgZone } from '@angular/core';
|
|
5
4
|
import { OnDestroy } from '@angular/core';
|
|
6
5
|
|
|
7
6
|
/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */
|
|
@@ -32,11 +31,11 @@ export declare class CdkCopyToClipboard implements OnDestroy {
|
|
|
32
31
|
private _destroyed;
|
|
33
32
|
/** Timeout for the current copy attempt. */
|
|
34
33
|
private _currentTimeout;
|
|
35
|
-
constructor(
|
|
34
|
+
constructor(...args: unknown[]);
|
|
36
35
|
/** Copies the current text to the clipboard. */
|
|
37
36
|
copy(attempts?: number): void;
|
|
38
37
|
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard,
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard, never>;
|
|
40
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCopyToClipboard, "[cdkCopyToClipboard]", never, { "text": { "alias": "cdkCopyToClipboard"; "required": false; }; "attempts": { "alias": "cdkCopyToClipboardAttempts"; "required": false; }; }, { "copied": "cdkCopyToClipboardCopied"; }, never, never, true, never>;
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -51,7 +50,7 @@ export declare interface CdkCopyToClipboardConfig {
|
|
|
51
50
|
*/
|
|
52
51
|
declare class Clipboard_2 {
|
|
53
52
|
private readonly _document;
|
|
54
|
-
constructor(
|
|
53
|
+
constructor(...args: unknown[]);
|
|
55
54
|
/**
|
|
56
55
|
* Copies the provided text into the user's clipboard.
|
|
57
56
|
*
|
package/dialog/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { Direction } from '@angular/cdk/bidi';
|
|
|
9
9
|
import { DomPortal } from '@angular/cdk/portal';
|
|
10
10
|
import { ElementRef } from '@angular/core';
|
|
11
11
|
import { EmbeddedViewRef } from '@angular/core';
|
|
12
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
13
12
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
14
13
|
import { FocusTrapFactory } from '@angular/cdk/a11y';
|
|
15
14
|
import * as i0 from '@angular/core';
|
|
@@ -18,12 +17,10 @@ import * as i2 from '@angular/cdk/portal';
|
|
|
18
17
|
import * as i3 from '@angular/cdk/a11y';
|
|
19
18
|
import { InjectionToken } from '@angular/core';
|
|
20
19
|
import { Injector } from '@angular/core';
|
|
21
|
-
import { InteractivityChecker } from '@angular/cdk/a11y';
|
|
22
20
|
import { NgZone } from '@angular/core';
|
|
23
21
|
import { Observable } from 'rxjs';
|
|
24
22
|
import { OnDestroy } from '@angular/core';
|
|
25
23
|
import { Overlay } from '@angular/cdk/overlay';
|
|
26
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
27
24
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
28
25
|
import { PositionStrategy } from '@angular/cdk/overlay';
|
|
29
26
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
@@ -42,13 +39,13 @@ export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-headi
|
|
|
42
39
|
* @docs-private
|
|
43
40
|
*/
|
|
44
41
|
export declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> extends BasePortalOutlet implements OnDestroy {
|
|
45
|
-
protected _elementRef: ElementRef
|
|
42
|
+
protected _elementRef: ElementRef<any>;
|
|
46
43
|
protected _focusTrapFactory: FocusTrapFactory;
|
|
47
44
|
readonly _config: C;
|
|
48
45
|
private _interactivityChecker;
|
|
49
46
|
protected _ngZone: NgZone;
|
|
50
47
|
private _overlayRef;
|
|
51
|
-
private _focusMonitor
|
|
48
|
+
private _focusMonitor;
|
|
52
49
|
private _platform;
|
|
53
50
|
protected _document: Document;
|
|
54
51
|
/** The portal outlet inside of this container into which the dialog content will be loaded. */
|
|
@@ -73,7 +70,7 @@ export declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> e
|
|
|
73
70
|
protected readonly _changeDetectorRef: ChangeDetectorRef;
|
|
74
71
|
private _injector;
|
|
75
72
|
private _isDestroyed;
|
|
76
|
-
constructor(
|
|
73
|
+
constructor(...args: unknown[]);
|
|
77
74
|
_addAriaLabelledBy(id: string): void;
|
|
78
75
|
_removeAriaLabelledBy(id: string): void;
|
|
79
76
|
protected _contentAttached(): void;
|
|
@@ -128,7 +125,7 @@ export declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> e
|
|
|
128
125
|
private _initializeFocusTrap;
|
|
129
126
|
/** Sets up the listener that handles clicks on the dialog backdrop. */
|
|
130
127
|
private _handleBackdropClicks;
|
|
131
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDialogContainer<any>,
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDialogContainer<any>, never>;
|
|
132
129
|
static ɵcmp: i0.ɵɵComponentDeclaration<CdkDialogContainer<any>, "cdk-dialog-container", never, {}, {}, never, never, true, never>;
|
|
133
130
|
}
|
|
134
131
|
|
|
@@ -155,7 +152,7 @@ export declare class Dialog implements OnDestroy {
|
|
|
155
152
|
* Will emit on subscribe if there are no open dialogs to begin with.
|
|
156
153
|
*/
|
|
157
154
|
readonly afterAllClosed: Observable<void>;
|
|
158
|
-
constructor(
|
|
155
|
+
constructor(...args: unknown[]);
|
|
159
156
|
/**
|
|
160
157
|
* Opens a modal dialog containing the given component.
|
|
161
158
|
* @param component Type of the component to load into the dialog.
|
|
@@ -223,7 +220,7 @@ export declare class Dialog implements OnDestroy {
|
|
|
223
220
|
/** Hides all of the content that isn't an overlay from assistive technology. */
|
|
224
221
|
private _hideNonDialogContentFromAssistiveTechnology;
|
|
225
222
|
private _getAfterAllClosed;
|
|
226
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog,
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
|
|
227
224
|
static ɵprov: i0.ɵɵInjectableDeclaration<Dialog>;
|
|
228
225
|
}
|
|
229
226
|
|
package/drag-drop/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
3
2
|
import { Direction } from '@angular/cdk/bidi';
|
|
4
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
5
3
|
import { ElementRef } from '@angular/core';
|
|
6
4
|
import { EventEmitter } from '@angular/core';
|
|
7
5
|
import * as i0 from '@angular/core';
|
|
@@ -12,7 +10,6 @@ import { NumberInput } from '@angular/cdk/coercion';
|
|
|
12
10
|
import { Observable } from 'rxjs';
|
|
13
11
|
import { OnChanges } from '@angular/core';
|
|
14
12
|
import { OnDestroy } from '@angular/core';
|
|
15
|
-
import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
16
13
|
import { SimpleChanges } from '@angular/core';
|
|
17
14
|
import { Subject } from 'rxjs';
|
|
18
15
|
import { TemplateRef } from '@angular/core';
|
|
@@ -70,16 +67,14 @@ export declare const CDK_DROP_LIST_GROUP: InjectionToken<CdkDropListGroup<unknow
|
|
|
70
67
|
|
|
71
68
|
/** Element that can be moved inside a CdkDropList container. */
|
|
72
69
|
export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
|
|
73
|
-
/** Element that the draggable is attached to. */
|
|
74
70
|
element: ElementRef<HTMLElement>;
|
|
75
|
-
|
|
76
|
-
dropContainer: CdkDropList;
|
|
71
|
+
dropContainer: CdkDropList<any>;
|
|
77
72
|
private _ngZone;
|
|
78
73
|
private _viewContainerRef;
|
|
79
74
|
private _dir;
|
|
80
75
|
private _changeDetectorRef;
|
|
81
|
-
private _selfHandle
|
|
82
|
-
private _parentDrag
|
|
76
|
+
private _selfHandle;
|
|
77
|
+
private _parentDrag;
|
|
83
78
|
private readonly _destroyed;
|
|
84
79
|
private static _dragInstances;
|
|
85
80
|
private _handles;
|
|
@@ -164,16 +159,7 @@ export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDes
|
|
|
164
159
|
*/
|
|
165
160
|
readonly moved: Observable<CdkDragMove<T>>;
|
|
166
161
|
private _injector;
|
|
167
|
-
constructor(
|
|
168
|
-
/** Element that the draggable is attached to. */
|
|
169
|
-
element: ElementRef<HTMLElement>,
|
|
170
|
-
/** Droppable container that the draggable is a part of. */
|
|
171
|
-
dropContainer: CdkDropList,
|
|
172
|
-
/**
|
|
173
|
-
* @deprecated `_document` parameter no longer being used and will be removed.
|
|
174
|
-
* @breaking-change 12.0.0
|
|
175
|
-
*/
|
|
176
|
-
_document: any, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, config: DragDropConfig, _dir: Directionality, dragDrop: DragDrop, _changeDetectorRef: ChangeDetectorRef, _selfHandle?: CdkDragHandle | undefined, _parentDrag?: CdkDrag | undefined);
|
|
162
|
+
constructor(...args: unknown[]);
|
|
177
163
|
/**
|
|
178
164
|
* Returns the element that is being used as a placeholder
|
|
179
165
|
* while the current element is being dragged.
|
|
@@ -213,7 +199,7 @@ export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDes
|
|
|
213
199
|
private _assignDefaults;
|
|
214
200
|
/** Sets up the listener that syncs the handles with the drag ref. */
|
|
215
201
|
private _setupHandlesListener;
|
|
216
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDrag<any>,
|
|
202
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDrag<any>, never>;
|
|
217
203
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDrag<any>, "[cdkDrag]", ["cdkDrag"], { "data": { "alias": "cdkDragData"; "required": false; }; "lockAxis": { "alias": "cdkDragLockAxis"; "required": false; }; "rootElementSelector": { "alias": "cdkDragRootElement"; "required": false; }; "boundaryElement": { "alias": "cdkDragBoundary"; "required": false; }; "dragStartDelay": { "alias": "cdkDragStartDelay"; "required": false; }; "freeDragPosition": { "alias": "cdkDragFreeDragPosition"; "required": false; }; "disabled": { "alias": "cdkDragDisabled"; "required": false; }; "constrainPosition": { "alias": "cdkDragConstrainPosition"; "required": false; }; "previewClass": { "alias": "cdkDragPreviewClass"; "required": false; }; "previewContainer": { "alias": "cdkDragPreviewContainer"; "required": false; }; "scale": { "alias": "cdkDragScale"; "required": false; }; }, { "started": "cdkDragStarted"; "released": "cdkDragReleased"; "ended": "cdkDragEnded"; "entered": "cdkDragEntered"; "exited": "cdkDragExited"; "dropped": "cdkDragDropped"; "moved": "cdkDragMoved"; }, never, never, true, never>;
|
|
218
204
|
static ngAcceptInputType_disabled: unknown;
|
|
219
205
|
static ngAcceptInputType_scale: unknown;
|
|
@@ -289,16 +275,16 @@ export declare interface CdkDragExit<T = any, I = T> {
|
|
|
289
275
|
/** Handle that can be used to drag a CdkDrag instance. */
|
|
290
276
|
export declare class CdkDragHandle implements OnDestroy {
|
|
291
277
|
element: ElementRef<HTMLElement>;
|
|
292
|
-
private _parentDrag
|
|
278
|
+
private _parentDrag;
|
|
293
279
|
/** Emits when the state of the handle has changed. */
|
|
294
280
|
readonly _stateChanges: Subject<CdkDragHandle>;
|
|
295
281
|
/** Whether starting to drag through this handle is disabled. */
|
|
296
282
|
get disabled(): boolean;
|
|
297
283
|
set disabled(value: boolean);
|
|
298
284
|
private _disabled;
|
|
299
|
-
constructor(
|
|
285
|
+
constructor(...args: unknown[]);
|
|
300
286
|
ngOnDestroy(): void;
|
|
301
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragHandle,
|
|
287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragHandle, never>;
|
|
302
288
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragHandle, "[cdkDragHandle]", never, { "disabled": { "alias": "cdkDragHandleDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
303
289
|
static ngAcceptInputType_disabled: unknown;
|
|
304
290
|
}
|
|
@@ -340,7 +326,7 @@ export declare class CdkDragPlaceholder<T = any> implements OnDestroy {
|
|
|
340
326
|
private _drag;
|
|
341
327
|
/** Context data to be added to the placeholder template instance. */
|
|
342
328
|
data: T;
|
|
343
|
-
constructor(
|
|
329
|
+
constructor(...args: unknown[]);
|
|
344
330
|
ngOnDestroy(): void;
|
|
345
331
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPlaceholder<any>, never>;
|
|
346
332
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPlaceholder<any>, "ng-template[cdkDragPlaceholder]", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -357,7 +343,7 @@ export declare class CdkDragPreview<T = any> implements OnDestroy {
|
|
|
357
343
|
data: T;
|
|
358
344
|
/** Whether the preview should preserve the same size as the item that is being dragged. */
|
|
359
345
|
matchSize: boolean;
|
|
360
|
-
constructor(
|
|
346
|
+
constructor(...args: unknown[]);
|
|
361
347
|
ngOnDestroy(): void;
|
|
362
348
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPreview<any>, never>;
|
|
363
349
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPreview<any>, "ng-template[cdkDragPreview]", never, { "data": { "alias": "data"; "required": false; }; "matchSize": { "alias": "matchSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -394,12 +380,11 @@ export declare interface CdkDragStart<T = any> {
|
|
|
394
380
|
|
|
395
381
|
/** Container that wraps a set of draggable items. */
|
|
396
382
|
export declare class CdkDropList<T = any> implements OnDestroy {
|
|
397
|
-
/** Element that the drop list is attached to. */
|
|
398
383
|
element: ElementRef<HTMLElement>;
|
|
399
384
|
private _changeDetectorRef;
|
|
400
385
|
private _scrollDispatcher;
|
|
401
|
-
private _dir
|
|
402
|
-
private _group
|
|
386
|
+
private _dir;
|
|
387
|
+
private _group;
|
|
403
388
|
/** Emits when the list has been destroyed. */
|
|
404
389
|
private readonly _destroyed;
|
|
405
390
|
/** Whether the element's scrollable parents have been resolved. */
|
|
@@ -478,9 +463,7 @@ export declare class CdkDropList<T = any> implements OnDestroy {
|
|
|
478
463
|
* and then we sort them based on their position in the DOM.
|
|
479
464
|
*/
|
|
480
465
|
private _unsortedItems;
|
|
481
|
-
constructor(
|
|
482
|
-
/** Element that the drop list is attached to. */
|
|
483
|
-
element: ElementRef<HTMLElement>, dragDrop: DragDrop, _changeDetectorRef: ChangeDetectorRef, _scrollDispatcher: ScrollDispatcher, _dir?: Directionality | undefined, _group?: CdkDropListGroup<CdkDropList> | undefined, config?: DragDropConfig);
|
|
466
|
+
constructor(...args: unknown[]);
|
|
484
467
|
/** Registers an items with the drop list. */
|
|
485
468
|
addItem(item: CdkDrag): void;
|
|
486
469
|
/** Removes an item from the drop list. */
|
|
@@ -496,7 +479,7 @@ export declare class CdkDropList<T = any> implements OnDestroy {
|
|
|
496
479
|
private _assignDefaults;
|
|
497
480
|
/** Syncs up the registered drag items with underlying drop list ref. */
|
|
498
481
|
private _syncItemsWithRef;
|
|
499
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropList<any>,
|
|
482
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropList<any>, never>;
|
|
500
483
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDropList<any>, "[cdkDropList], cdk-drop-list", ["cdkDropList"], { "connectedTo": { "alias": "cdkDropListConnectedTo"; "required": false; }; "data": { "alias": "cdkDropListData"; "required": false; }; "orientation": { "alias": "cdkDropListOrientation"; "required": false; }; "id": { "alias": "id"; "required": false; }; "lockAxis": { "alias": "cdkDropListLockAxis"; "required": false; }; "disabled": { "alias": "cdkDropListDisabled"; "required": false; }; "sortingDisabled": { "alias": "cdkDropListSortingDisabled"; "required": false; }; "enterPredicate": { "alias": "cdkDropListEnterPredicate"; "required": false; }; "sortPredicate": { "alias": "cdkDropListSortPredicate"; "required": false; }; "autoScrollDisabled": { "alias": "cdkDropListAutoScrollDisabled"; "required": false; }; "autoScrollStep": { "alias": "cdkDropListAutoScrollStep"; "required": false; }; "elementContainerSelector": { "alias": "cdkDropListElementContainer"; "required": false; }; }, { "dropped": "cdkDropListDropped"; "entered": "cdkDropListEntered"; "exited": "cdkDropListExited"; "sorted": "cdkDropListSorted"; }, never, never, true, never>;
|
|
501
484
|
static ngAcceptInputType_disabled: unknown;
|
|
502
485
|
static ngAcceptInputType_sortingDisabled: unknown;
|
|
@@ -545,7 +528,7 @@ export declare class DragDrop {
|
|
|
545
528
|
private _ngZone;
|
|
546
529
|
private _viewportRuler;
|
|
547
530
|
private _dragDropRegistry;
|
|
548
|
-
constructor(
|
|
531
|
+
constructor(...args: unknown[]);
|
|
549
532
|
/**
|
|
550
533
|
* Turns an element into a draggable item.
|
|
551
534
|
* @param element Element to which to attach the dragging functionality.
|
|
@@ -624,7 +607,7 @@ export declare class DragDropRegistry<_ = unknown, __ = unknown> implements OnDe
|
|
|
624
607
|
* @breaking-change 13.0.0
|
|
625
608
|
*/
|
|
626
609
|
readonly scroll: Subject<Event>;
|
|
627
|
-
constructor(
|
|
610
|
+
constructor(...args: unknown[]);
|
|
628
611
|
/** Adds a drop container to the registry. */
|
|
629
612
|
registerDropContainer(drop: DropListRef): void;
|
|
630
613
|
/** Adds a drag item instance to the registry. */
|