@angular/cdk-experimental 14.0.0-next.9 → 14.0.0-rc.0
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/column-resize/index.d.ts +419 -6
- package/combobox/index.d.ts +123 -8
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +9 -9
- package/esm2020/column-resize/column-resize-notifier.mjs +7 -7
- package/esm2020/column-resize/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-size-store.mjs +4 -4
- package/esm2020/column-resize/event-dispatcher.mjs +4 -4
- package/esm2020/column-resize/overlay-handle.mjs +4 -4
- package/esm2020/column-resize/resizable.mjs +4 -4
- package/esm2020/column-resize/resize-strategy.mjs +10 -10
- package/esm2020/combobox/combobox-module.mjs +5 -5
- package/esm2020/combobox/combobox-popup.mjs +4 -4
- package/esm2020/combobox/combobox.mjs +4 -4
- package/esm2020/listbox/listbox-module.mjs +5 -5
- package/esm2020/listbox/listbox.mjs +7 -7
- package/esm2020/popover-edit/edit-event-dispatcher.mjs +7 -7
- package/esm2020/popover-edit/edit-ref.mjs +4 -4
- package/esm2020/popover-edit/edit-services.mjs +4 -4
- package/esm2020/popover-edit/focus-dispatcher.mjs +4 -4
- package/esm2020/popover-edit/focus-escape-notifier.mjs +6 -6
- package/esm2020/popover-edit/lens-directives.mjs +10 -10
- package/esm2020/popover-edit/popover-edit-module.mjs +6 -6
- package/esm2020/popover-edit/popover-edit-position-strategy-factory.mjs +7 -7
- package/esm2020/popover-edit/table-directives.mjs +19 -19
- package/esm2020/scrolling/auto-size-virtual-scroll.mjs +4 -4
- package/esm2020/scrolling/scrolling-module.mjs +5 -5
- package/esm2020/selection/row-selection.mjs +4 -4
- package/esm2020/selection/select-all.mjs +4 -4
- package/esm2020/selection/selection-column.mjs +10 -10
- package/esm2020/selection/selection-module.mjs +5 -5
- package/esm2020/selection/selection-toggle.mjs +4 -4
- package/esm2020/selection/selection.mjs +4 -4
- package/esm2020/table-scroll-container/table-scroll-container-module.mjs +5 -5
- package/esm2020/table-scroll-container/table-scroll-container.mjs +4 -4
- package/esm2020/version.mjs +1 -1
- package/fesm2015/cdk-experimental.mjs +1 -1
- package/fesm2015/cdk-experimental.mjs.map +1 -1
- package/fesm2015/column-resize.mjs +50 -50
- package/fesm2015/column-resize.mjs.map +1 -1
- package/fesm2015/combobox.mjs +10 -10
- package/fesm2015/combobox.mjs.map +1 -1
- package/fesm2015/listbox.mjs +10 -10
- package/fesm2015/listbox.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +58 -58
- package/fesm2015/popover-edit.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +7 -7
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/selection.mjs +23 -23
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2015/table-scroll-container.mjs +7 -7
- package/fesm2015/table-scroll-container.mjs.map +1 -1
- package/fesm2020/cdk-experimental.mjs +1 -1
- package/fesm2020/cdk-experimental.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +50 -50
- package/fesm2020/column-resize.mjs.map +1 -1
- package/fesm2020/combobox.mjs +10 -10
- package/fesm2020/combobox.mjs.map +1 -1
- package/fesm2020/listbox.mjs +10 -10
- package/fesm2020/listbox.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +58 -58
- package/fesm2020/popover-edit.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +7 -7
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/selection.mjs +23 -23
- package/fesm2020/selection.mjs.map +1 -1
- package/fesm2020/table-scroll-container.mjs +7 -7
- package/fesm2020/table-scroll-container.mjs.map +1 -1
- package/index.d.ts +6 -8
- package/listbox/index.d.ts +197 -8
- package/package.json +9 -25
- package/popover-edit/index.d.ts +532 -5
- package/scrolling/index.d.ts +173 -6
- package/selection/index.d.ts +273 -5
- package/table-scroll-container/index.d.ts +61 -5
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -28
- package/column-resize/column-resize-directives/column-resize.d.ts +0 -28
- package/column-resize/column-resize-directives/constants.d.ts +0 -10
- package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +0 -28
- package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +0 -28
- package/column-resize/column-resize-module.d.ts +0 -23
- package/column-resize/column-resize-notifier.d.ts +0 -49
- package/column-resize/column-resize.d.ts +0 -39
- package/column-resize/column-resize_public_index.d.ts +0 -4
- package/column-resize/column-size-store.d.ts +0 -12
- package/column-resize/event-dispatcher.d.ts +0 -44
- package/column-resize/overlay-handle.d.ts +0 -43
- package/column-resize/package.json +0 -9
- package/column-resize/public-api.d.ts +0 -20
- package/column-resize/resizable.d.ts +0 -69
- package/column-resize/resize-ref.d.ts +0 -17
- package/column-resize/resize-strategy.d.ts +0 -83
- package/column-resize/selectors.d.ts +0 -10
- package/combobox/combobox-module.d.ts +0 -9
- package/combobox/combobox-popup.d.ts +0 -27
- package/combobox/combobox.d.ts +0 -68
- package/combobox/combobox_public_index.d.ts +0 -4
- package/combobox/package.json +0 -9
- package/combobox/public-api.d.ts +0 -10
- package/dialog/dialog-config.d.ts +0 -82
- package/dialog/dialog-container.d.ts +0 -99
- package/dialog/dialog-injectors.d.ts +0 -30
- package/dialog/dialog-module.d.ts +0 -10
- package/dialog/dialog-ref.d.ts +0 -57
- package/dialog/dialog.d.ts +0 -100
- package/dialog/dialog_public_index.d.ts +0 -4
- package/dialog/index.d.ts +0 -8
- package/dialog/package.json +0 -9
- package/dialog/public-api.d.ts +0 -13
- package/esm2020/dialog/dialog-config.mjs +0 -43
- package/esm2020/dialog/dialog-container.mjs +0 -300
- package/esm2020/dialog/dialog-injectors.mjs +0 -30
- package/esm2020/dialog/dialog-module.mjs +0 -56
- package/esm2020/dialog/dialog-ref.mjs +0 -116
- package/esm2020/dialog/dialog.mjs +0 -252
- package/esm2020/dialog/dialog_public_index.mjs +0 -5
- package/esm2020/dialog/index.mjs +0 -9
- package/esm2020/dialog/public-api.mjs +0 -14
- package/esm2020/menu/context-menu.mjs +0 -222
- package/esm2020/menu/index.mjs +0 -9
- package/esm2020/menu/menu-aim.mjs +0 -199
- package/esm2020/menu/menu-bar.mjs +0 -164
- package/esm2020/menu/menu-base.mjs +0 -129
- package/esm2020/menu/menu-errors.mjs +0 -22
- package/esm2020/menu/menu-group.mjs +0 -68
- package/esm2020/menu/menu-interface.mjs +0 -11
- package/esm2020/menu/menu-item-checkbox.mjs +0 -48
- package/esm2020/menu/menu-item-radio.mjs +0 -95
- package/esm2020/menu/menu-item-selectable.mjs +0 -57
- package/esm2020/menu/menu-item-trigger.mjs +0 -276
- package/esm2020/menu/menu-item.mjs +0 -250
- package/esm2020/menu/menu-module.mjs +0 -60
- package/esm2020/menu/menu-stack.mjs +0 -131
- package/esm2020/menu/menu-trigger.mjs +0 -70
- package/esm2020/menu/menu.mjs +0 -204
- package/esm2020/menu/menu_public_index.mjs +0 -5
- package/esm2020/menu/pointer-focus-tracker.mjs +0 -49
- package/esm2020/menu/public-api.mjs +0 -21
- package/fesm2015/dialog.mjs +0 -803
- package/fesm2015/dialog.mjs.map +0 -1
- package/fesm2015/menu.mjs +0 -1983
- package/fesm2015/menu.mjs.map +0 -1
- package/fesm2020/dialog.mjs +0 -797
- package/fesm2020/dialog.mjs.map +0 -1
- package/fesm2020/menu.mjs +0 -1954
- package/fesm2020/menu.mjs.map +0 -1
- package/listbox/listbox-module.d.ts +0 -7
- package/listbox/listbox.d.ts +0 -172
- package/listbox/listbox_public_index.d.ts +0 -4
- package/listbox/package.json +0 -9
- package/listbox/public-api.d.ts +0 -9
- package/menu/context-menu.d.ts +0 -84
- package/menu/index.d.ts +0 -8
- package/menu/menu-aim.d.ts +0 -96
- package/menu/menu-bar.d.ts +0 -47
- package/menu/menu-base.d.ts +0 -64
- package/menu/menu-errors.d.ts +0 -17
- package/menu/menu-group.d.ts +0 -33
- package/menu/menu-interface.d.ts +0 -23
- package/menu/menu-item-checkbox.d.ts +0 -12
- package/menu/menu-item-radio.d.ts +0 -36
- package/menu/menu-item-selectable.d.ts +0 -31
- package/menu/menu-item-trigger.d.ts +0 -89
- package/menu/menu-item.d.ts +0 -105
- package/menu/menu-module.d.ts +0 -16
- package/menu/menu-stack.d.ts +0 -94
- package/menu/menu-trigger.d.ts +0 -48
- package/menu/menu.d.ts +0 -57
- package/menu/menu_public_index.d.ts +0 -4
- package/menu/package.json +0 -9
- package/menu/pointer-focus-tracker.d.ts +0 -44
- package/menu/public-api.d.ts +0 -20
- package/popover-edit/constants.d.ts +0 -19
- package/popover-edit/edit-event-dispatcher.d.ts +0 -99
- package/popover-edit/edit-ref.d.ts +0 -52
- package/popover-edit/edit-services.d.ts +0 -37
- package/popover-edit/focus-dispatcher.d.ts +0 -31
- package/popover-edit/focus-escape-notifier.d.ts +0 -40
- package/popover-edit/form-value-container.d.ts +0 -24
- package/popover-edit/lens-directives.d.ts +0 -82
- package/popover-edit/package.json +0 -9
- package/popover-edit/polyfill.d.ts +0 -9
- package/popover-edit/popover-edit-module.d.ts +0 -9
- package/popover-edit/popover-edit-position-strategy-factory.d.ts +0 -42
- package/popover-edit/popover-edit_public_index.d.ts +0 -4
- package/popover-edit/public-api.d.ts +0 -17
- package/popover-edit/table-directives.d.ts +0 -150
- package/public-api.d.ts +0 -8
- package/scrolling/auto-size-virtual-scroll.d.ts +0 -160
- package/scrolling/package.json +0 -9
- package/scrolling/public-api.d.ts +0 -9
- package/scrolling/scrolling-module.d.ts +0 -7
- package/scrolling/scrolling_public_index.d.ts +0 -4
- package/selection/package.json +0 -9
- package/selection/public-api.d.ts +0 -14
- package/selection/row-selection.d.ts +0 -27
- package/selection/select-all.d.ts +0 -52
- package/selection/selection-column.d.ts +0 -34
- package/selection/selection-module.d.ts +0 -13
- package/selection/selection-set.d.ts +0 -56
- package/selection/selection-toggle.d.ts +0 -46
- package/selection/selection.d.ts +0 -65
- package/selection/selection_public_index.d.ts +0 -4
- package/table-scroll-container/package.json +0 -9
- package/table-scroll-container/public-api.d.ts +0 -9
- package/table-scroll-container/table-scroll-container-module.d.ts +0 -7
- package/table-scroll-container/table-scroll-container.d.ts +0 -53
- package/table-scroll-container/table-scroll-container_public_index.d.ts +0 -4
- package/version.d.ts +0 -10
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { CdkTable } from '@angular/cdk/table';
|
|
9
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
10
|
-
import { CdkSelection } from './selection';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Column that adds row selecting checkboxes and a select-all checkbox if `cdkSelectionMultiple` is
|
|
14
|
-
* `true`.
|
|
15
|
-
*
|
|
16
|
-
* Must be used within a parent `CdkSelection` directive.
|
|
17
|
-
*/
|
|
18
|
-
export declare class CdkSelectionColumn<T> implements OnInit, OnDestroy {
|
|
19
|
-
private _table;
|
|
20
|
-
readonly selection: CdkSelection<T>;
|
|
21
|
-
/** Column name that should be used to reference this column. */
|
|
22
|
-
get name(): string;
|
|
23
|
-
set name(name: string);
|
|
24
|
-
private _name;
|
|
25
|
-
private readonly _columnDef;
|
|
26
|
-
private readonly _cell;
|
|
27
|
-
private readonly _headerCell;
|
|
28
|
-
constructor(_table: CdkTable<T>, selection: CdkSelection<T>);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
private _syncColumnDefName;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionColumn<any>, [{ optional: true; }, { optional: true; }]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkSelectionColumn<any>, "cdk-selection-column", never, { "name": "cdkSelectionColumnName"; }, {}, never, never>;
|
|
34
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./selection";
|
|
3
|
-
import * as i2 from "./selection-toggle";
|
|
4
|
-
import * as i3 from "./select-all";
|
|
5
|
-
import * as i4 from "./selection-column";
|
|
6
|
-
import * as i5 from "./row-selection";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
|
-
import * as i7 from "@angular/cdk/table";
|
|
9
|
-
export declare class CdkSelectionModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkSelectionModule, [typeof i1.CdkSelection, typeof i2.CdkSelectionToggle, typeof i3.CdkSelectAll, typeof i4.CdkSelectionColumn, typeof i5.CdkRowSelection], [typeof i6.CommonModule, typeof i7.CdkTableModule], [typeof i1.CdkSelection, typeof i2.CdkSelectionToggle, typeof i3.CdkSelectAll, typeof i4.CdkSelectionColumn, typeof i5.CdkRowSelection]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkSelectionModule>;
|
|
13
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { TrackByFunction } from '@angular/core';
|
|
9
|
-
import { Subject } from 'rxjs';
|
|
10
|
-
/**
|
|
11
|
-
* Maintains a set of selected values. One or more values can be added to or removed from the
|
|
12
|
-
* selection.
|
|
13
|
-
*/
|
|
14
|
-
interface TrackBySelection<T> {
|
|
15
|
-
isSelected(value: SelectableWithIndex<T>): boolean;
|
|
16
|
-
select(...values: SelectableWithIndex<T>[]): void;
|
|
17
|
-
deselect(...values: SelectableWithIndex<T>[]): void;
|
|
18
|
-
changed: Subject<SelectionChange<T>>;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* A selectable value with an optional index. The index is required when the selection is used with
|
|
22
|
-
* `trackBy`.
|
|
23
|
-
*/
|
|
24
|
-
export interface SelectableWithIndex<T> {
|
|
25
|
-
value: T;
|
|
26
|
-
index?: number;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Represents the change in the selection set.
|
|
30
|
-
*/
|
|
31
|
-
export interface SelectionChange<T> {
|
|
32
|
-
before: SelectableWithIndex<T>[];
|
|
33
|
-
after: SelectableWithIndex<T>[];
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Maintains a set of selected items. Support selecting and deselecting items, and checking if a
|
|
37
|
-
* value is selected.
|
|
38
|
-
* When constructed with a `trackByFn`, all the items will be identified by applying the `trackByFn`
|
|
39
|
-
* on them. Because `trackByFn` requires the index of the item to be passed in, the `index` field is
|
|
40
|
-
* expected to be set when calling `isSelected`, `select` and `deselect`.
|
|
41
|
-
*/
|
|
42
|
-
export declare class SelectionSet<T> implements TrackBySelection<T> {
|
|
43
|
-
private _multiple;
|
|
44
|
-
private _trackByFn?;
|
|
45
|
-
private _selectionMap;
|
|
46
|
-
changed: Subject<SelectionChange<T>>;
|
|
47
|
-
constructor(_multiple?: boolean, _trackByFn?: TrackByFunction<T> | undefined);
|
|
48
|
-
isSelected(value: SelectableWithIndex<T>): boolean;
|
|
49
|
-
select(...selects: SelectableWithIndex<T>[]): void;
|
|
50
|
-
deselect(...selects: SelectableWithIndex<T>[]): void;
|
|
51
|
-
private _markSelected;
|
|
52
|
-
private _markDeselected;
|
|
53
|
-
private _getTrackedByValue;
|
|
54
|
-
private _getCurrentSelection;
|
|
55
|
-
}
|
|
56
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { NumberInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
10
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
|
-
import { CdkSelection } from './selection';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Makes the element a selection toggle.
|
|
16
|
-
*
|
|
17
|
-
* Must be used within a parent `CdkSelection` directive.
|
|
18
|
-
* Must be provided with the value. If `trackBy` is used on `CdkSelection`, the index of the value
|
|
19
|
-
* is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive
|
|
20
|
-
* automatically connects it with the selection state provided by the `CdkSelection` directive. If
|
|
21
|
-
* not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection
|
|
22
|
-
* state.
|
|
23
|
-
*/
|
|
24
|
-
export declare class CdkSelectionToggle<T> implements OnDestroy, OnInit {
|
|
25
|
-
private _selection;
|
|
26
|
-
private _controlValueAccessors;
|
|
27
|
-
/** The value that is associated with the toggle */
|
|
28
|
-
value: T;
|
|
29
|
-
/** The index of the value in the list. Required when used with `trackBy` */
|
|
30
|
-
get index(): number | undefined;
|
|
31
|
-
set index(index: NumberInput);
|
|
32
|
-
protected _index?: number;
|
|
33
|
-
/** The checked state of the selection toggle */
|
|
34
|
-
readonly checked: Observable<boolean>;
|
|
35
|
-
/** Toggles the selection */
|
|
36
|
-
toggle(): void;
|
|
37
|
-
private _destroyed;
|
|
38
|
-
constructor(_selection: CdkSelection<T>, _controlValueAccessors: ControlValueAccessor[]);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
private _assertValidParentSelection;
|
|
42
|
-
private _configureControlValueAccessor;
|
|
43
|
-
private _isSelected;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionToggle<any>, [{ optional: true; }, { optional: true; self: true; }]>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkSelectionToggle<any>, "[cdkSelectionToggle]", ["cdkSelectionToggle"], { "value": "cdkSelectionToggleValue"; "index": "cdkSelectionToggleIndex"; }, {}, never>;
|
|
46
|
-
}
|
package/selection/selection.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { CollectionViewer, DataSource, ListRange } from '@angular/cdk/collections';
|
|
10
|
-
import { AfterContentChecked, EventEmitter, OnDestroy, OnInit, TrackByFunction } from '@angular/core';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
|
-
import { SelectionChange } from './selection-set';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Manages the selection states of the items and provides methods to check and update the selection
|
|
16
|
-
* states.
|
|
17
|
-
* It must be applied to the parent element if `cdkSelectionToggle`, `cdkSelectAll`,
|
|
18
|
-
* `cdkRowSelection` and `cdkSelectionColumn` are applied.
|
|
19
|
-
*/
|
|
20
|
-
export declare class CdkSelection<T> implements OnInit, AfterContentChecked, CollectionViewer, OnDestroy {
|
|
21
|
-
viewChange: Observable<ListRange>;
|
|
22
|
-
get dataSource(): TableDataSource<T>;
|
|
23
|
-
set dataSource(dataSource: TableDataSource<T>);
|
|
24
|
-
private _dataSource;
|
|
25
|
-
trackByFn: TrackByFunction<T>;
|
|
26
|
-
/** Whether to support multiple selection */
|
|
27
|
-
get multiple(): boolean;
|
|
28
|
-
set multiple(multiple: BooleanInput);
|
|
29
|
-
protected _multiple: boolean;
|
|
30
|
-
/** Emits when selection changes. */
|
|
31
|
-
readonly change: EventEmitter<SelectionChange<T>>;
|
|
32
|
-
/** Latest data provided by the data source. */
|
|
33
|
-
private _data;
|
|
34
|
-
/** Subscription that listens for the data provided by the data source. */
|
|
35
|
-
private _renderChangeSubscription;
|
|
36
|
-
private _destroyed;
|
|
37
|
-
private _selection;
|
|
38
|
-
private _switchDataSource;
|
|
39
|
-
private _observeRenderChanges;
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngAfterContentChecked(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
/** Toggles selection for a given value. `index` is required if `trackBy` is used. */
|
|
44
|
-
toggleSelection(value: T, index?: number): void;
|
|
45
|
-
/**
|
|
46
|
-
* Toggles select-all. If no value is selected, select all values. If all values or some of the
|
|
47
|
-
* values are selected, de-select all values.
|
|
48
|
-
*/
|
|
49
|
-
toggleSelectAll(): void;
|
|
50
|
-
/** Checks whether a value is selected. `index` is required if `trackBy` is used. */
|
|
51
|
-
isSelected(value: T, index?: number): boolean;
|
|
52
|
-
/** Checks whether all values are selected. */
|
|
53
|
-
isAllSelected(): boolean;
|
|
54
|
-
/** Checks whether partially selected. */
|
|
55
|
-
isPartialSelected(): boolean;
|
|
56
|
-
private _selectAll;
|
|
57
|
-
private _clearAll;
|
|
58
|
-
private _updateSelectAllState;
|
|
59
|
-
selectAllState: SelectAllState;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelection<any>, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkSelection<any>, "[cdkSelection]", ["cdkSelection"], { "dataSource": "dataSource"; "trackByFn": "trackBy"; "multiple": "cdkSelectionMultiple"; }, { "change": "cdkSelectionChange"; }, never>;
|
|
62
|
-
}
|
|
63
|
-
declare type SelectAllState = 'all' | 'none' | 'partial';
|
|
64
|
-
declare type TableDataSource<T> = DataSource<T> | Observable<readonly T[]> | readonly T[];
|
|
65
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk-experimental/table-scroll-container",
|
|
3
|
-
"fesm2020": "../fesm2020/table-scroll-container.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/table-scroll-container.mjs",
|
|
5
|
-
"esm2020": "../esm2020/table-scroll-container/table-scroll-container_public_index.mjs",
|
|
6
|
-
"typings": "./table-scroll-container_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/table-scroll-container.mjs",
|
|
8
|
-
"es2020": "../fesm2020/table-scroll-container.mjs"
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export * from './table-scroll-container';
|
|
9
|
-
export * from './table-scroll-container-module';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./table-scroll-container";
|
|
3
|
-
export declare class CdkTableScrollContainerModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableScrollContainerModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkTableScrollContainerModule, [typeof i1.CdkTableScrollContainer], never, [typeof i1.CdkTableScrollContainer]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkTableScrollContainerModule>;
|
|
7
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
9
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { StickyPositioningListener, StickyUpdate } from '@angular/cdk/table';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Applies styles to the host element that make its scrollbars match up with
|
|
14
|
-
* the non-sticky scrollable portions of the CdkTable contained within.
|
|
15
|
-
*
|
|
16
|
-
* This visual effect only works in Webkit and Blink based browsers (eg Chrome,
|
|
17
|
-
* Safari, Edge). Other browsers such as Firefox will gracefully degrade to
|
|
18
|
-
* normal scrollbar appearance.
|
|
19
|
-
* Further note: These styles have no effect when the browser is using OS-default
|
|
20
|
-
* scrollbars. The easiest way to force them into custom mode is to specify width
|
|
21
|
-
* and height for the scrollbar and thumb.
|
|
22
|
-
*/
|
|
23
|
-
export declare class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit {
|
|
24
|
-
private readonly _elementRef;
|
|
25
|
-
private readonly _document;
|
|
26
|
-
private readonly _directionality?;
|
|
27
|
-
private readonly _uniqueClassName;
|
|
28
|
-
private _styleRoot;
|
|
29
|
-
private _styleElement?;
|
|
30
|
-
/** The most recent sticky column size values from the CdkTable. */
|
|
31
|
-
private _startSizes;
|
|
32
|
-
private _endSizes;
|
|
33
|
-
private _headerSizes;
|
|
34
|
-
private _footerSizes;
|
|
35
|
-
constructor(_elementRef: ElementRef<HTMLElement>, _document: Document, _directionality?: Directionality | undefined);
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
stickyColumnsUpdated({ sizes }: StickyUpdate): void;
|
|
39
|
-
stickyEndColumnsUpdated({ sizes }: StickyUpdate): void;
|
|
40
|
-
stickyHeaderRowsUpdated({ sizes }: StickyUpdate): void;
|
|
41
|
-
stickyFooterRowsUpdated({ sizes }: StickyUpdate): void;
|
|
42
|
-
/**
|
|
43
|
-
* Set padding on the scrollbar track based on the sticky states from CdkTable.
|
|
44
|
-
*/
|
|
45
|
-
private _updateScrollbar;
|
|
46
|
-
/** Gets the stylesheet for the scrollbar styles and creates it if need be. */
|
|
47
|
-
private _getStyleSheet;
|
|
48
|
-
/** Updates the stylesheet with the specified scrollbar style. */
|
|
49
|
-
private _applyCss;
|
|
50
|
-
private _clearCss;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableScrollContainer, [null, null, { optional: true; }]>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTableScrollContainer, "[cdkTableScrollContainer]", never, {}, {}, never>;
|
|
53
|
-
}
|
package/version.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Version } from '@angular/core';
|
|
9
|
-
/** Current version of the CDK Experimental package. */
|
|
10
|
-
export declare const VERSION: Version;
|