@angular/cdk-experimental 14.0.0-next.9 → 14.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./column-resize-directives/default-enabled-column-resize";
|
|
3
|
-
import * as i2 from "./column-resize-directives/default-enabled-column-resize-flex";
|
|
4
|
-
import * as i3 from "./column-resize-directives/column-resize";
|
|
5
|
-
import * as i4 from "./column-resize-directives/column-resize-flex";
|
|
6
|
-
/**
|
|
7
|
-
* One of two NgModules for use with CdkColumnResize.
|
|
8
|
-
* When using this module, columns are resizable by default.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CdkColumnResizeDefaultEnabledModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeDefaultEnabledModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkColumnResizeDefaultEnabledModule, [typeof i1.CdkDefaultEnabledColumnResize, typeof i2.CdkDefaultEnabledColumnResizeFlex], never, [typeof i1.CdkDefaultEnabledColumnResize, typeof i2.CdkDefaultEnabledColumnResizeFlex]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkColumnResizeDefaultEnabledModule>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* One of two NgModules for use with CdkColumnResize.
|
|
17
|
-
* When using this module, columns are not resizable by default.
|
|
18
|
-
*/
|
|
19
|
-
export declare class CdkColumnResizeModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkColumnResizeModule, [typeof i3.CdkColumnResize, typeof i4.CdkColumnResizeFlex], never, [typeof i3.CdkColumnResize, typeof i4.CdkColumnResizeFlex]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkColumnResizeModule>;
|
|
23
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/** Indicates the width of a column. */
|
|
4
|
-
export interface ColumnSize {
|
|
5
|
-
/** The ID/name of the column, as defined in CdkColumnDef. */
|
|
6
|
-
readonly columnId: string;
|
|
7
|
-
/** The width in pixels of the column. */
|
|
8
|
-
readonly size: number;
|
|
9
|
-
/** The width in pixels of the column prior to this update, if known. */
|
|
10
|
-
readonly previousSize?: number;
|
|
11
|
-
}
|
|
12
|
-
/** Interface describing column size changes. */
|
|
13
|
-
export interface ColumnSizeAction extends ColumnSize {
|
|
14
|
-
/**
|
|
15
|
-
* Whether the resize action should be applied instantaneously. False for events triggered during
|
|
16
|
-
* a UI-triggered resize (such as with the mouse) until the mouse button is released. True
|
|
17
|
-
* for all programmatically triggered resizes.
|
|
18
|
-
*/
|
|
19
|
-
readonly completeImmediately?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the resize action is being applied to a sticky/stickyEnd column.
|
|
22
|
-
*/
|
|
23
|
-
readonly isStickyColumn?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Originating source of column resize events within a table.
|
|
27
|
-
* @docs-private
|
|
28
|
-
*/
|
|
29
|
-
export declare class ColumnResizeNotifierSource {
|
|
30
|
-
/** Emits when an in-progress resize is canceled. */
|
|
31
|
-
readonly resizeCanceled: Subject<ColumnSizeAction>;
|
|
32
|
-
/** Emits when a resize is applied. */
|
|
33
|
-
readonly resizeCompleted: Subject<ColumnSize>;
|
|
34
|
-
/** Triggers a resize action. */
|
|
35
|
-
readonly triggerResize: Subject<ColumnSizeAction>;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResizeNotifierSource, never>;
|
|
37
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ColumnResizeNotifierSource>;
|
|
38
|
-
}
|
|
39
|
-
/** Service for triggering column resizes imperatively or being notified of them. */
|
|
40
|
-
export declare class ColumnResizeNotifier {
|
|
41
|
-
private readonly _source;
|
|
42
|
-
/** Emits whenever a column is resized. */
|
|
43
|
-
readonly resizeCompleted: Observable<ColumnSize>;
|
|
44
|
-
constructor(_source: ColumnResizeNotifierSource);
|
|
45
|
-
/** Instantly resizes the specified column. */
|
|
46
|
-
resize(columnId: string, size: number): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResizeNotifier, never>;
|
|
48
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ColumnResizeNotifier>;
|
|
49
|
-
}
|
|
@@ -1,39 +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 { AfterViewInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
9
|
-
import { Subject } from 'rxjs';
|
|
10
|
-
import { ColumnResizeNotifier, ColumnResizeNotifierSource } from './column-resize-notifier';
|
|
11
|
-
import { HeaderRowEventDispatcher } from './event-dispatcher';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Base class for ColumnResize directives which attach to mat-table elements to
|
|
15
|
-
* provide common events and services for column resizing.
|
|
16
|
-
*/
|
|
17
|
-
export declare abstract class ColumnResize implements AfterViewInit, OnDestroy {
|
|
18
|
-
protected readonly destroyed: Subject<void>;
|
|
19
|
-
abstract readonly columnResizeNotifier: ColumnResizeNotifier;
|
|
20
|
-
abstract readonly elementRef: ElementRef<HTMLElement>;
|
|
21
|
-
protected abstract readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
22
|
-
protected abstract readonly ngZone: NgZone;
|
|
23
|
-
protected abstract readonly notifier: ColumnResizeNotifierSource;
|
|
24
|
-
/** Unique ID for this table instance. */
|
|
25
|
-
protected readonly selectorId: string;
|
|
26
|
-
/** The id attribute of the table, if specified. */
|
|
27
|
-
id?: string;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
/** Gets the unique CSS class name for this table instance. */
|
|
31
|
-
getUniqueCssClass(): string;
|
|
32
|
-
/** Called when a column in the table is resized. Applies a css class to the table element. */
|
|
33
|
-
setResized(): void;
|
|
34
|
-
private _listenForRowHoverEvents;
|
|
35
|
-
private _listenForResizeActivity;
|
|
36
|
-
private _listenForHoverActivity;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResize, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnResize, never, never, {}, {}, never>;
|
|
39
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Can be provided by the host application to enable persistence of column resize state.
|
|
4
|
-
*/
|
|
5
|
-
export declare abstract class ColumnSizeStore {
|
|
6
|
-
/** Returns the persisted size of the specified column in the specified table. */
|
|
7
|
-
abstract getSize(tableId: string, columnId: string): number;
|
|
8
|
-
/** Persists the size of the specified column in the specified table. */
|
|
9
|
-
abstract setSize(tableId: string, columnId: string): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSizeStore, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ColumnSizeStore>;
|
|
12
|
-
}
|
|
@@ -1,44 +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 { NgZone } from '@angular/core';
|
|
9
|
-
import { Observable, Subject } from 'rxjs';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/** Coordinates events between the column resize directives. */
|
|
12
|
-
export declare class HeaderRowEventDispatcher {
|
|
13
|
-
private readonly _ngZone;
|
|
14
|
-
/**
|
|
15
|
-
* Emits the currently hovered header cell or null when no header cells are hovered.
|
|
16
|
-
* Exposed publicly for events to feed in, but subscribers should use headerCellHoveredDistinct,
|
|
17
|
-
* defined below.
|
|
18
|
-
*/
|
|
19
|
-
readonly headerCellHovered: Subject<Element | null>;
|
|
20
|
-
/**
|
|
21
|
-
* Emits the header cell for which a user-triggered resize is active or null
|
|
22
|
-
* when no resize is in progress.
|
|
23
|
-
*/
|
|
24
|
-
readonly overlayHandleActiveForCell: Subject<Element | null>;
|
|
25
|
-
constructor(_ngZone: NgZone);
|
|
26
|
-
/** Distinct and shared version of headerCellHovered. */
|
|
27
|
-
readonly headerCellHoveredDistinct: Observable<Element | null>;
|
|
28
|
-
/**
|
|
29
|
-
* Emits the header that is currently hovered or hosting an active resize event (with active
|
|
30
|
-
* taking precedence).
|
|
31
|
-
*/
|
|
32
|
-
readonly headerRowHoveredOrActiveDistinct: Observable<Element | null>;
|
|
33
|
-
private readonly _headerRowHoveredOrActiveDistinctReenterZone;
|
|
34
|
-
private _lastSeenRow;
|
|
35
|
-
private _lastSeenRowHover;
|
|
36
|
-
/**
|
|
37
|
-
* Emits whether the specified row should show its overlay controls.
|
|
38
|
-
* Emission occurs within the NgZone.
|
|
39
|
-
*/
|
|
40
|
-
resizeOverlayVisibleForHeaderRow(row: Element): Observable<boolean>;
|
|
41
|
-
private _enterZone;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowEventDispatcher, never>;
|
|
43
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HeaderRowEventDispatcher>;
|
|
44
|
-
}
|
|
@@ -1,43 +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 { AfterViewInit, ElementRef, OnDestroy, NgZone } from '@angular/core';
|
|
9
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { CdkColumnDef, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
11
|
-
import { Subject } from 'rxjs';
|
|
12
|
-
import { ColumnResizeNotifierSource } from './column-resize-notifier';
|
|
13
|
-
import { HeaderRowEventDispatcher } from './event-dispatcher';
|
|
14
|
-
import { ResizeRef } from './resize-ref';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* Base class for a component shown over the edge of a resizable column that is responsible
|
|
18
|
-
* for handling column resize mouse events and displaying any visible UI on the column edge.
|
|
19
|
-
*/
|
|
20
|
-
export declare abstract class ResizeOverlayHandle implements AfterViewInit, OnDestroy {
|
|
21
|
-
protected readonly destroyed: Subject<void>;
|
|
22
|
-
protected abstract readonly columnDef: CdkColumnDef;
|
|
23
|
-
protected abstract readonly document: Document;
|
|
24
|
-
protected abstract readonly directionality: Directionality;
|
|
25
|
-
protected abstract readonly elementRef: ElementRef;
|
|
26
|
-
protected abstract readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
27
|
-
protected abstract readonly ngZone: NgZone;
|
|
28
|
-
protected abstract readonly resizeNotifier: ColumnResizeNotifierSource;
|
|
29
|
-
protected abstract readonly resizeRef: ResizeRef;
|
|
30
|
-
protected abstract readonly styleScheduler: _CoalescedStyleScheduler;
|
|
31
|
-
ngAfterViewInit(): void;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
private _listenForMouseEvents;
|
|
34
|
-
private _dragStarted;
|
|
35
|
-
protected updateResizeActive(active: boolean): void;
|
|
36
|
-
private _getOriginWidth;
|
|
37
|
-
private _getOriginOffset;
|
|
38
|
-
private _updateOverlayOffset;
|
|
39
|
-
private _isLtr;
|
|
40
|
-
private _notifyResizeEnded;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeOverlayHandle, never>;
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeOverlayHandle, never, never, {}, {}, never>;
|
|
43
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk-experimental/column-resize",
|
|
3
|
-
"fesm2020": "../fesm2020/column-resize.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/column-resize.mjs",
|
|
5
|
-
"esm2020": "../esm2020/column-resize/column-resize_public_index.mjs",
|
|
6
|
-
"typings": "./column-resize_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/column-resize.mjs",
|
|
8
|
-
"es2020": "../fesm2020/column-resize.mjs"
|
|
9
|
-
}
|
|
@@ -1,20 +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 './column-resize';
|
|
9
|
-
export * from './column-resize-directives/column-resize';
|
|
10
|
-
export * from './column-resize-directives/column-resize-flex';
|
|
11
|
-
export * from './column-resize-directives/default-enabled-column-resize';
|
|
12
|
-
export * from './column-resize-directives/default-enabled-column-resize-flex';
|
|
13
|
-
export * from './column-resize-module';
|
|
14
|
-
export * from './column-resize-notifier';
|
|
15
|
-
export * from './column-size-store';
|
|
16
|
-
export * from './event-dispatcher';
|
|
17
|
-
export * from './resizable';
|
|
18
|
-
export * from './resize-ref';
|
|
19
|
-
export * from './resize-strategy';
|
|
20
|
-
export * from './overlay-handle';
|
|
@@ -1,69 +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 { AfterViewInit, ElementRef, Injector, NgZone, OnDestroy, Type, ViewContainerRef, ChangeDetectorRef } from '@angular/core';
|
|
9
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
11
|
-
import { CdkColumnDef, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
12
|
-
import { Subject } from 'rxjs';
|
|
13
|
-
import { ResizeOverlayHandle } from './overlay-handle';
|
|
14
|
-
import { ColumnResize } from './column-resize';
|
|
15
|
-
import { ColumnResizeNotifierSource } from './column-resize-notifier';
|
|
16
|
-
import { HeaderRowEventDispatcher } from './event-dispatcher';
|
|
17
|
-
import { ResizeStrategy } from './resize-strategy';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
/**
|
|
20
|
-
* Base class for Resizable directives which are applied to column headers to make those columns
|
|
21
|
-
* resizable.
|
|
22
|
-
*/
|
|
23
|
-
export declare abstract class Resizable<HandleComponent extends ResizeOverlayHandle> implements AfterViewInit, OnDestroy {
|
|
24
|
-
protected minWidthPxInternal: number;
|
|
25
|
-
protected maxWidthPxInternal: number;
|
|
26
|
-
protected inlineHandle?: HTMLElement;
|
|
27
|
-
protected overlayRef?: OverlayRef;
|
|
28
|
-
protected readonly destroyed: Subject<void>;
|
|
29
|
-
protected abstract readonly columnDef: CdkColumnDef;
|
|
30
|
-
protected abstract readonly columnResize: ColumnResize;
|
|
31
|
-
protected abstract readonly directionality: Directionality;
|
|
32
|
-
protected abstract readonly document: Document;
|
|
33
|
-
protected abstract readonly elementRef: ElementRef;
|
|
34
|
-
protected abstract readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
35
|
-
protected abstract readonly injector: Injector;
|
|
36
|
-
protected abstract readonly ngZone: NgZone;
|
|
37
|
-
protected abstract readonly overlay: Overlay;
|
|
38
|
-
protected abstract readonly resizeNotifier: ColumnResizeNotifierSource;
|
|
39
|
-
protected abstract readonly resizeStrategy: ResizeStrategy;
|
|
40
|
-
protected abstract readonly styleScheduler: _CoalescedStyleScheduler;
|
|
41
|
-
protected abstract readonly viewContainerRef: ViewContainerRef;
|
|
42
|
-
protected abstract readonly changeDetectorRef: ChangeDetectorRef;
|
|
43
|
-
private _viewInitialized;
|
|
44
|
-
private _isDestroyed;
|
|
45
|
-
/** The minimum width to allow the column to be sized to. */
|
|
46
|
-
get minWidthPx(): number;
|
|
47
|
-
set minWidthPx(value: number);
|
|
48
|
-
/** The maximum width to allow the column to be sized to. */
|
|
49
|
-
get maxWidthPx(): number;
|
|
50
|
-
set maxWidthPx(value: number);
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
ngOnDestroy(): void;
|
|
53
|
-
protected abstract getInlineHandleCssClassName(): string;
|
|
54
|
-
protected abstract getOverlayHandleComponentType(): Type<HandleComponent>;
|
|
55
|
-
private _createOverlayForHandle;
|
|
56
|
-
private _listenForRowHoverEvents;
|
|
57
|
-
private _listenForResizeEvents;
|
|
58
|
-
private _completeResizeOperation;
|
|
59
|
-
private _cleanUpAfterResize;
|
|
60
|
-
private _createHandlePortal;
|
|
61
|
-
private _showHandleOverlay;
|
|
62
|
-
private _updateOverlayHandleHeight;
|
|
63
|
-
private _applySize;
|
|
64
|
-
private _applyMinWidthPx;
|
|
65
|
-
private _applyMaxWidthPx;
|
|
66
|
-
private _appendInlineHandle;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Resizable<any>, never>;
|
|
68
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Resizable<any>, never, never, {}, {}, never>;
|
|
69
|
-
}
|
|
@@ -1,17 +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 } from '@angular/core';
|
|
9
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
10
|
-
/** Tracks state of resize events in progress. */
|
|
11
|
-
export declare class ResizeRef {
|
|
12
|
-
readonly origin: ElementRef;
|
|
13
|
-
readonly overlayRef: OverlayRef;
|
|
14
|
-
readonly minWidthPx: number;
|
|
15
|
-
readonly maxWidthPx: number;
|
|
16
|
-
constructor(origin: ElementRef, overlayRef: OverlayRef, minWidthPx: number, maxWidthPx: number);
|
|
17
|
-
}
|
|
@@ -1,83 +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 { OnDestroy, Provider } from '@angular/core';
|
|
9
|
-
import { CdkTable, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
10
|
-
import { ColumnResize } from './column-resize';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Provides an implementation for resizing a column.
|
|
14
|
-
* The details of how resizing works for tables for flex mat-tables are quite different.
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class ResizeStrategy {
|
|
17
|
-
protected abstract readonly columnResize: ColumnResize;
|
|
18
|
-
protected abstract readonly styleScheduler: _CoalescedStyleScheduler;
|
|
19
|
-
protected abstract readonly table: CdkTable<unknown>;
|
|
20
|
-
private _pendingResizeDelta;
|
|
21
|
-
/** Updates the width of the specified column. */
|
|
22
|
-
abstract applyColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
|
|
23
|
-
/** Applies a minimum width to the specified column, updating its current width as needed. */
|
|
24
|
-
abstract applyMinColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, minSizeInPx: number): void;
|
|
25
|
-
/** Applies a maximum width to the specified column, updating its current width as needed. */
|
|
26
|
-
abstract applyMaxColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, minSizeInPx: number): void;
|
|
27
|
-
/** Adjusts the width of the table element by the specified delta. */
|
|
28
|
-
protected updateTableWidthAndStickyColumns(delta: number): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeStrategy, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeStrategy>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* The optimially performing resize strategy for <table> elements with table-layout: fixed.
|
|
34
|
-
* Tested against and outperformed:
|
|
35
|
-
* CSS selector
|
|
36
|
-
* CSS selector w/ CSS variable
|
|
37
|
-
* Updating all cell nodes
|
|
38
|
-
*/
|
|
39
|
-
export declare class TableLayoutFixedResizeStrategy extends ResizeStrategy {
|
|
40
|
-
protected readonly columnResize: ColumnResize;
|
|
41
|
-
protected readonly styleScheduler: _CoalescedStyleScheduler;
|
|
42
|
-
protected readonly table: CdkTable<unknown>;
|
|
43
|
-
constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>);
|
|
44
|
-
applyColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
|
|
45
|
-
applyMinColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
|
|
46
|
-
applyMaxColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableLayoutFixedResizeStrategy, never>;
|
|
48
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableLayoutFixedResizeStrategy>;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* The optimally performing resize strategy for flex mat-tables.
|
|
52
|
-
* Tested against and outperformed:
|
|
53
|
-
* CSS selector w/ CSS variable
|
|
54
|
-
* Updating all mat-cell nodes
|
|
55
|
-
*/
|
|
56
|
-
export declare class CdkFlexTableResizeStrategy extends ResizeStrategy implements OnDestroy {
|
|
57
|
-
protected readonly columnResize: ColumnResize;
|
|
58
|
-
protected readonly styleScheduler: _CoalescedStyleScheduler;
|
|
59
|
-
protected readonly table: CdkTable<unknown>;
|
|
60
|
-
private readonly _document;
|
|
61
|
-
private readonly _columnIndexes;
|
|
62
|
-
private readonly _columnProperties;
|
|
63
|
-
private _styleElement?;
|
|
64
|
-
private _indexSequence;
|
|
65
|
-
protected readonly defaultMinSize = 0;
|
|
66
|
-
protected readonly defaultMaxSize: number;
|
|
67
|
-
constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>, document: any);
|
|
68
|
-
applyColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
|
|
69
|
-
applyMinColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void;
|
|
70
|
-
applyMaxColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void;
|
|
71
|
-
protected getColumnCssClass(cssFriendlyColumnName: string): string;
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
|
-
private _getPropertyValue;
|
|
74
|
-
private _getAppliedWidth;
|
|
75
|
-
private _applyProperty;
|
|
76
|
-
private _getStyleSheet;
|
|
77
|
-
private _getColumnPropertiesMap;
|
|
78
|
-
private _applySizeCss;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, never>;
|
|
80
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CdkFlexTableResizeStrategy>;
|
|
81
|
-
}
|
|
82
|
-
export declare const TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER: Provider;
|
|
83
|
-
export declare const FLEX_RESIZE_STRATEGY_PROVIDER: Provider;
|
|
@@ -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
|
-
export declare const HEADER_CELL_SELECTOR = ".cdk-header-cell, .mat-header-cell";
|
|
9
|
-
export declare const HEADER_ROW_SELECTOR = ".cdk-header-row, .mat-header-row";
|
|
10
|
-
export declare const RESIZE_OVERLAY_SELECTOR = ".mat-column-resize-overlay-thumb";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./combobox";
|
|
3
|
-
import * as i2 from "./combobox-popup";
|
|
4
|
-
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
-
export declare class CdkComboboxModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkComboboxModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkComboboxModule, [typeof i1.CdkCombobox, typeof i2.CdkComboboxPopup], [typeof i3.OverlayModule], [typeof i1.CdkCombobox, typeof i2.CdkComboboxPopup]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkComboboxModule>;
|
|
9
|
-
}
|
|
@@ -1,27 +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, OnInit } from '@angular/core';
|
|
9
|
-
import { AriaHasPopupValue, CdkCombobox } from './combobox';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class CdkComboboxPopup<T = unknown> implements OnInit {
|
|
12
|
-
private readonly _elementRef;
|
|
13
|
-
private readonly _combobox;
|
|
14
|
-
get role(): AriaHasPopupValue;
|
|
15
|
-
set role(value: AriaHasPopupValue);
|
|
16
|
-
private _role;
|
|
17
|
-
get firstFocus(): HTMLElement;
|
|
18
|
-
set firstFocus(id: HTMLElement);
|
|
19
|
-
private _firstFocusElement;
|
|
20
|
-
id: string;
|
|
21
|
-
constructor(_elementRef: ElementRef<HTMLElement>, _combobox: CdkCombobox);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
registerWithPanel(): void;
|
|
24
|
-
focusFirstElement(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkComboboxPopup<any>, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkComboboxPopup<any>, "[cdkComboboxPopup]", ["cdkComboboxPopup"], { "role": "role"; "firstFocus": "firstFocus"; "id": "id"; }, {}, never>;
|
|
27
|
-
}
|
package/combobox/combobox.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, InjectionToken, Injector, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
4
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare type AriaHasPopupValue = 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
7
|
-
export declare type OpenAction = 'focus' | 'click' | 'downKey' | 'toggle';
|
|
8
|
-
export declare type OpenActionInput = OpenAction | OpenAction[] | string | null | undefined;
|
|
9
|
-
export declare const CDK_COMBOBOX: InjectionToken<CdkCombobox<unknown>>;
|
|
10
|
-
export declare class CdkCombobox<T = unknown> implements OnDestroy {
|
|
11
|
-
private readonly _elementRef;
|
|
12
|
-
private readonly _overlay;
|
|
13
|
-
protected readonly _viewContainerRef: ViewContainerRef;
|
|
14
|
-
private readonly _injector;
|
|
15
|
-
private readonly _doc;
|
|
16
|
-
private readonly _directionality?;
|
|
17
|
-
_panelTemplateRef: TemplateRef<unknown>;
|
|
18
|
-
value: T | T[];
|
|
19
|
-
get disabled(): boolean;
|
|
20
|
-
set disabled(value: BooleanInput);
|
|
21
|
-
private _disabled;
|
|
22
|
-
get openActions(): OpenAction[];
|
|
23
|
-
set openActions(action: OpenActionInput);
|
|
24
|
-
private _openActions;
|
|
25
|
-
/** Whether the textContent is automatically updated upon change of the combobox value. */
|
|
26
|
-
get autoSetText(): boolean;
|
|
27
|
-
set autoSetText(value: BooleanInput);
|
|
28
|
-
private _autoSetText;
|
|
29
|
-
readonly opened: EventEmitter<void>;
|
|
30
|
-
readonly closed: EventEmitter<void>;
|
|
31
|
-
readonly panelValueChanged: EventEmitter<T[]>;
|
|
32
|
-
private _overlayRef;
|
|
33
|
-
private _panelPortal;
|
|
34
|
-
contentId: string;
|
|
35
|
-
contentType: AriaHasPopupValue;
|
|
36
|
-
constructor(_elementRef: ElementRef<HTMLElement>, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _injector: Injector, _doc: any, _directionality?: Directionality | undefined);
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
_keydown(event: KeyboardEvent): void;
|
|
39
|
-
/** Handles click or focus interactions. */
|
|
40
|
-
_handleInteractions(interaction: OpenAction): void;
|
|
41
|
-
/** Given a click in the document, determines if the click was inside a combobox. */
|
|
42
|
-
_attemptClose(event: MouseEvent): void;
|
|
43
|
-
/** Toggles the open state of the panel. */
|
|
44
|
-
toggle(): void;
|
|
45
|
-
/** If the combobox is closed and not disabled, opens the panel. */
|
|
46
|
-
open(): void;
|
|
47
|
-
/** If the combobox is open and not disabled, closes the panel. */
|
|
48
|
-
close(): void;
|
|
49
|
-
/** Returns true if panel is currently opened. */
|
|
50
|
-
isOpen(): boolean;
|
|
51
|
-
/** Returns true if combobox has a child panel. */
|
|
52
|
-
hasPanel(): boolean;
|
|
53
|
-
_getTabIndex(): string | null;
|
|
54
|
-
private _setComboboxValue;
|
|
55
|
-
updateAndClose(value: T | T[]): void;
|
|
56
|
-
private _setTextContent;
|
|
57
|
-
private _isTextTrigger;
|
|
58
|
-
private _getOverlayConfig;
|
|
59
|
-
private _getOverlayPositionStrategy;
|
|
60
|
-
private _getOverlayPositions;
|
|
61
|
-
private _getPanelInjector;
|
|
62
|
-
private _getPanelContent;
|
|
63
|
-
private _coerceOpenActionProperty;
|
|
64
|
-
/** Registers the content's id and the content type with the panel. */
|
|
65
|
-
_registerContent(contentId: string, contentType: AriaHasPopupValue): void;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCombobox<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
67
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCombobox<any>, "[cdkCombobox]", ["cdkCombobox"], { "_panelTemplateRef": "cdkComboboxTriggerFor"; "value": "value"; "disabled": "disabled"; "openActions": "openActions"; "autoSetText": "autoSetText"; }, { "opened": "comboboxPanelOpened"; "closed": "comboboxPanelClosed"; "panelValueChanged": "panelValueChanged"; }, never>;
|
|
68
|
-
}
|
package/combobox/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk-experimental/combobox",
|
|
3
|
-
"fesm2020": "../fesm2020/combobox.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/combobox.mjs",
|
|
5
|
-
"esm2020": "../esm2020/combobox/combobox_public_index.mjs",
|
|
6
|
-
"typings": "./combobox_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/combobox.mjs",
|
|
8
|
-
"es2020": "../fesm2020/combobox.mjs"
|
|
9
|
-
}
|
package/combobox/public-api.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
|
-
export * from './combobox-module';
|
|
9
|
-
export * from './combobox';
|
|
10
|
-
export * from './combobox-popup';
|
|
@@ -1,82 +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 { Injector, ViewContainerRef } from '@angular/core';
|
|
9
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
10
|
-
import { ComponentType } from '@angular/cdk/overlay';
|
|
11
|
-
import { CdkDialogContainer } from './dialog-container';
|
|
12
|
-
/** Options for where to set focus to automatically on dialog open */
|
|
13
|
-
export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
14
|
-
/** Valid ARIA roles for a dialog element. */
|
|
15
|
-
export declare type DialogRole = 'dialog' | 'alertdialog';
|
|
16
|
-
/** Possible overrides for a dialog's position. */
|
|
17
|
-
export interface DialogPosition {
|
|
18
|
-
top?: string;
|
|
19
|
-
bottom?: string;
|
|
20
|
-
left?: string;
|
|
21
|
-
right?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare class DialogConfig<D = any> {
|
|
24
|
-
/** Component to use as the container for the dialog. */
|
|
25
|
-
containerComponent?: ComponentType<CdkDialogContainer>;
|
|
26
|
-
/**
|
|
27
|
-
* Where the attached component should live in Angular's *logical* component tree.
|
|
28
|
-
* This affects what is available for injection and the change detection order for the
|
|
29
|
-
* component instantiated inside of the dialog. This does not affect where the dialog
|
|
30
|
-
* content will be rendered.
|
|
31
|
-
*/
|
|
32
|
-
viewContainerRef?: ViewContainerRef;
|
|
33
|
-
/**
|
|
34
|
-
* Injector used for the instantiation of the component to be attached. If provided,
|
|
35
|
-
* takes precedence over the injector indirectly provided by `ViewContainerRef`.
|
|
36
|
-
*/
|
|
37
|
-
injector?: Injector;
|
|
38
|
-
/** The id of the dialog. */
|
|
39
|
-
id?: string;
|
|
40
|
-
/** The ARIA role of the dialog. */
|
|
41
|
-
role?: DialogRole;
|
|
42
|
-
/** Custom class(es) for the overlay panel. */
|
|
43
|
-
panelClass?: string | string[];
|
|
44
|
-
/** Whether the dialog has a background. */
|
|
45
|
-
hasBackdrop?: boolean;
|
|
46
|
-
/** Custom class(es) for the backdrop. */
|
|
47
|
-
backdropClass?: string | undefined;
|
|
48
|
-
/** Whether the dialog can be closed by user interaction. */
|
|
49
|
-
disableClose?: boolean;
|
|
50
|
-
/** The width of the dialog. */
|
|
51
|
-
width?: string;
|
|
52
|
-
/** The height of the dialog. */
|
|
53
|
-
height?: string;
|
|
54
|
-
/** The minimum width of the dialog. */
|
|
55
|
-
minWidth?: string | number;
|
|
56
|
-
/** The minimum height of the dialog. */
|
|
57
|
-
minHeight?: string | number;
|
|
58
|
-
/** The maximum width of the dialog. */
|
|
59
|
-
maxWidth?: string | number;
|
|
60
|
-
/** The maximum height of the dialog. */
|
|
61
|
-
maxHeight?: string | number;
|
|
62
|
-
/** The position of the dialog. */
|
|
63
|
-
position?: DialogPosition;
|
|
64
|
-
/** Data to be injected into the dialog content. */
|
|
65
|
-
data?: D | null;
|
|
66
|
-
/** The layout direction for the dialog content. */
|
|
67
|
-
direction?: Direction;
|
|
68
|
-
/** ID of the element that describes the dialog. */
|
|
69
|
-
ariaDescribedBy?: string | null;
|
|
70
|
-
/** Aria label to assign to the dialog element */
|
|
71
|
-
ariaLabel?: string | null;
|
|
72
|
-
/**
|
|
73
|
-
* Where the dialog should focus on open.
|
|
74
|
-
* @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or
|
|
75
|
-
* AutoFocusTarget instead.
|
|
76
|
-
*/
|
|
77
|
-
autoFocus?: AutoFocusTarget | string | boolean;
|
|
78
|
-
/** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */
|
|
79
|
-
enterAnimationDuration?: string;
|
|
80
|
-
/** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */
|
|
81
|
-
exitAnimationDuration?: string;
|
|
82
|
-
}
|