@angular/cdk-experimental
Advanced tools
Comparing version 19.0.0-next.2 to 19.0.0-next.3
@@ -31,3 +31,2 @@ import { AfterViewInit } from '@angular/core'; | ||
protected readonly table: CdkTable<unknown>; | ||
constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResize, never>; | ||
@@ -58,3 +57,2 @@ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResize, "table[cdk-table][columnResize]", never, {}, {}, never, never, true, never>; | ||
protected readonly table: CdkTable<unknown>; | ||
constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeFlex, never>; | ||
@@ -85,3 +83,2 @@ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResizeFlex, "cdk-table[columnResize]", never, {}, {}, never, never, true, never>; | ||
protected readonly table: CdkTable<unknown>; | ||
constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDefaultEnabledColumnResize, never>; | ||
@@ -102,3 +99,2 @@ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDefaultEnabledColumnResize, "table[cdk-table]", never, {}, {}, never, never, true, never>; | ||
protected readonly table: CdkTable<unknown>; | ||
constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDefaultEnabledColumnResizeFlex, never>; | ||
@@ -118,3 +114,3 @@ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDefaultEnabledColumnResizeFlex, "cdk-table", never, {}, {}, never, never, true, never>; | ||
protected readonly table: CdkTable<unknown>; | ||
private readonly _nonce?; | ||
private readonly _nonce; | ||
private readonly _document; | ||
@@ -127,3 +123,2 @@ private readonly _columnIndexes; | ||
protected readonly defaultMaxSize: number; | ||
constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>, document: any, _nonce?: (string | null) | undefined); | ||
applyColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void; | ||
@@ -140,3 +135,3 @@ applyMinColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void; | ||
private _applySizeCss; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, [null, null, null, null, { optional: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<CdkFlexTableResizeStrategy>; | ||
@@ -251,3 +246,2 @@ } | ||
readonly overlayHandleActiveForCell: Subject<Element | null>; | ||
constructor(_ngZone: NgZone); | ||
/** Distinct and shared version of headerCellHovered. */ | ||
@@ -421,3 +415,2 @@ readonly headerCellHoveredDistinct: Observable<Element | null>; | ||
protected readonly table: CdkTable<unknown>; | ||
constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>); | ||
applyColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void; | ||
@@ -424,0 +417,0 @@ applyMinColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void; |
import { BooleanInput } from '@angular/cdk/coercion'; | ||
import { Directionality } from '@angular/cdk/bidi'; | ||
import { ElementRef } from '@angular/core'; | ||
import { EventEmitter } from '@angular/core'; | ||
@@ -8,6 +6,4 @@ import * as i0 from '@angular/core'; | ||
import { InjectionToken } from '@angular/core'; | ||
import { Injector } from '@angular/core'; | ||
import { OnDestroy } from '@angular/core'; | ||
import { OnInit } from '@angular/core'; | ||
import { Overlay } from '@angular/cdk/overlay'; | ||
import { TemplateRef } from '@angular/core'; | ||
@@ -26,3 +22,6 @@ import { ViewContainerRef } from '@angular/core'; | ||
private readonly _doc; | ||
private readonly _directionality?; | ||
private readonly _directionality; | ||
private _changeDetectorRef; | ||
private _overlayRef; | ||
private _panelPortal; | ||
_panelTemplateRef: TemplateRef<unknown>; | ||
@@ -43,8 +42,4 @@ value: T | T[]; | ||
readonly panelValueChanged: EventEmitter<T[]>; | ||
private _overlayRef; | ||
private _panelPortal; | ||
contentId: string; | ||
contentType: AriaHasPopupValue; | ||
private _changeDetectorRef; | ||
constructor(_elementRef: ElementRef<HTMLElement>, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _injector: Injector, _doc: any, _directionality?: Directionality | undefined); | ||
ngOnDestroy(): void; | ||
@@ -79,3 +74,3 @@ _keydown(event: KeyboardEvent): void; | ||
_registerContent(contentId: string, contentType: AriaHasPopupValue): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCombobox<any>, [null, null, null, null, null, { optional: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCombobox<any>, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCombobox<any>, "[cdkCombobox]", ["cdkCombobox"], { "_panelTemplateRef": { "alias": "cdkComboboxTriggerFor"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "openActions": { "alias": "openActions"; "required": false; }; "autoSetText": { "alias": "autoSetText"; "required": false; }; }, { "opened": "comboboxPanelOpened"; "closed": "comboboxPanelClosed"; "panelValueChanged": "panelValueChanged"; }, never, never, true, never>; | ||
@@ -100,3 +95,2 @@ } | ||
id: string; | ||
constructor(_elementRef: ElementRef<HTMLElement>, _combobox: CdkCombobox); | ||
ngOnInit(): void; | ||
@@ -103,0 +97,0 @@ registerWithPanel(): void; |
{ | ||
"name": "@angular/cdk-experimental", | ||
"version": "19.0.0-next.2", | ||
"version": "19.0.0-next.3", | ||
"description": "Experimental components for Angular CDK", | ||
@@ -15,3 +15,3 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/cdk": "19.0.0-next.2", | ||
"@angular/cdk": "19.0.0-next.3", | ||
"@angular/core": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0" | ||
@@ -18,0 +18,0 @@ }, |
import { AfterViewInit } from '@angular/core'; | ||
import { ControlContainer } from '@angular/forms'; | ||
import { Directionality } from '@angular/cdk/bidi'; | ||
@@ -31,3 +30,3 @@ import { ElementRef } from '@angular/core'; | ||
export declare class CdkEditable implements AfterViewInit, OnDestroy { | ||
protected readonly elementRef: ElementRef; | ||
protected readonly elementRef: ElementRef<any>; | ||
protected readonly editEventDispatcher: EditEventDispatcher<EditRef<unknown>>; | ||
@@ -38,3 +37,3 @@ protected readonly focusDispatcher: FocusDispatcher; | ||
private _rendered; | ||
constructor(elementRef: ElementRef, editEventDispatcher: EditEventDispatcher<EditRef<unknown>>, focusDispatcher: FocusDispatcher, ngZone: NgZone); | ||
constructor(); | ||
ngAfterViewInit(): void; | ||
@@ -51,3 +50,3 @@ ngOnDestroy(): void; | ||
protected readonly editRef: EditRef<FormValue>; | ||
constructor(elementRef: ElementRef<HTMLElement>, editRef: EditRef<FormValue>); | ||
constructor(); | ||
closeEdit(): void; | ||
@@ -65,3 +64,3 @@ static ɵfac: i0.ɵɵFactoryDeclaration<CdkEditClose<any>, never>; | ||
export declare class CdkEditControl<FormValue> implements OnDestroy, OnInit { | ||
protected readonly elementRef: ElementRef; | ||
protected readonly elementRef: ElementRef<any>; | ||
readonly editRef: EditRef<FormValue>; | ||
@@ -86,3 +85,2 @@ protected readonly destroyed: Subject<void>; | ||
ignoreSubmitUnlessValid: boolean; | ||
constructor(elementRef: ElementRef, editRef: EditRef<FormValue>); | ||
ngOnInit(): void; | ||
@@ -118,3 +116,3 @@ ngOnDestroy(): void; | ||
protected readonly editEventDispatcher: EditEventDispatcher<EditRef<unknown>>; | ||
constructor(elementRef: ElementRef<HTMLElement>, editEventDispatcher: EditEventDispatcher<EditRef<unknown>>); | ||
constructor(); | ||
openEdit(evt: Event): void; | ||
@@ -130,3 +128,2 @@ static ɵfac: i0.ɵɵFactoryDeclaration<CdkEditOpen, never>; | ||
type: string; | ||
constructor(editRef: EditRef<FormValue>); | ||
revertEdit(): void; | ||
@@ -144,3 +141,3 @@ static ɵfac: i0.ɵɵFactoryDeclaration<CdkEditRevert<any>, never>; | ||
protected readonly services: EditServices; | ||
protected readonly elementRef: ElementRef; | ||
protected readonly elementRef: ElementRef<any>; | ||
protected readonly viewContainerRef: ViewContainerRef; | ||
@@ -170,3 +167,2 @@ /** The edit lens template shown over the cell on edit. */ | ||
protected readonly destroyed: Subject<void>; | ||
constructor(services: EditServices, elementRef: ElementRef, viewContainerRef: ViewContainerRef); | ||
ngAfterViewInit(): void; | ||
@@ -213,3 +209,2 @@ ngOnDestroy(): void; | ||
protected focusTrap?: FocusEscapeNotifier; | ||
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef, services: EditServices, focusEscapeNotifierFactory: FocusEscapeNotifierFactory); | ||
protected initFocusTrap(): void; | ||
@@ -226,3 +221,3 @@ static ɵfac: i0.ɵɵFactoryDeclaration<CdkPopoverEditTabOut<any>, never>; | ||
protected readonly services: EditServices; | ||
protected readonly elementRef: ElementRef; | ||
protected readonly elementRef: ElementRef<any>; | ||
protected readonly templateRef: TemplateRef<any>; | ||
@@ -233,3 +228,2 @@ protected readonly viewContainerRef: ViewContainerRef; | ||
private _row?; | ||
constructor(services: EditServices, elementRef: ElementRef, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef); | ||
ngAfterViewInit(): void; | ||
@@ -304,3 +298,3 @@ ngOnDestroy(): void; | ||
private _lastSeenRowHoverOrFocus; | ||
constructor(_ngZone: NgZone); | ||
constructor(); | ||
/** | ||
@@ -361,3 +355,3 @@ * Gets an Observable that emits true when the specified element's cell | ||
private _injector; | ||
constructor(_form: ControlContainer, _editEventDispatcher: EditEventDispatcher<EditRef<FormValue>>); | ||
constructor(); | ||
/** | ||
@@ -383,3 +377,3 @@ * Called by the host directive's OnInit hook. Reads the initial state of the | ||
reset(value?: FormValue): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EditRef<any>, [{ self: true; }, null]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EditRef<any>, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<EditRef<any>>; | ||
@@ -403,3 +397,2 @@ } | ||
readonly viewportRuler: ViewportRuler; | ||
constructor(directionality: Directionality, editEventDispatcher: EditEventDispatcher<EditRef<unknown>>, focusDispatcher: FocusDispatcher, focusTrapFactory: FocusTrapFactory, ngZone: NgZone, overlay: Overlay, scrollDispatcher: ScrollDispatcher, viewportRuler: ViewportRuler); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EditServices, never>; | ||
@@ -422,3 +415,3 @@ static ɵprov: i0.ɵɵInjectableDeclaration<EditServices>; | ||
readonly keyObserver: PartialObserver<KeyboardEvent>; | ||
constructor(directionality: Directionality); | ||
constructor(); | ||
/** | ||
@@ -458,3 +451,2 @@ * Moves focus to earlier or later cells (in dom order) by offset cells relative to | ||
private _document; | ||
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _document: any); | ||
/** | ||
@@ -461,0 +453,0 @@ * Creates a focus escape notifier region around the given element. |
import { AfterContentChecked } from '@angular/core'; | ||
import { BooleanInput } from '@angular/cdk/coercion'; | ||
import { CdkTable } from '@angular/cdk/table'; | ||
import { CollectionViewer } from '@angular/cdk/collections'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
import { DataSource } from '@angular/cdk/collections'; | ||
@@ -32,3 +30,2 @@ import { EventEmitter } from '@angular/core'; | ||
protected _index?: number; | ||
constructor(_selection: CdkSelection<T>); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkRowSelection<any>, never>; | ||
@@ -70,3 +67,3 @@ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRowSelection<any>, "[cdkRowSelection]", never, { "value": { "alias": "cdkRowSelectionValue"; "required": false; }; "index": { "alias": "cdkRowSelectionIndex"; "required": false; }; }, {}, never, never, true, never>; | ||
private readonly _destroyed; | ||
constructor(_selection: CdkSelection<T>, _controlValueAccessor: ControlValueAccessor[]); | ||
constructor(); | ||
ngOnInit(): void; | ||
@@ -76,3 +73,3 @@ private _configureControlValueAccessor; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectAll<any>, [{ optional: true; }, { optional: true; self: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectAll<any>, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkSelectAll<any>, "[cdkSelectAll]", ["cdkSelectAll"], {}, {}, never, never, true, never>; | ||
@@ -139,3 +136,3 @@ } | ||
private _table; | ||
readonly selection: CdkSelection<T>; | ||
readonly selection: CdkSelection<T> | null; | ||
/** Column name that should be used to reference this column. */ | ||
@@ -148,7 +145,6 @@ get name(): string; | ||
private readonly _headerCell; | ||
constructor(_table: CdkTable<T>, selection: CdkSelection<T>); | ||
ngOnInit(): void; | ||
ngOnDestroy(): void; | ||
private _syncColumnDefName; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionColumn<any>, [{ optional: true; }, { optional: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionColumn<any>, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<CdkSelectionColumn<any>, "cdk-selection-column", never, { "name": { "alias": "cdkSelectionColumnName"; "required": false; }; }, {}, never, never, true, never>; | ||
@@ -187,3 +183,3 @@ } | ||
private _destroyed; | ||
constructor(_selection: CdkSelection<T>, _controlValueAccessors: ControlValueAccessor[]); | ||
constructor(); | ||
ngOnInit(): void; | ||
@@ -194,3 +190,3 @@ ngOnDestroy(): void; | ||
private _isSelected; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionToggle<any>, [{ optional: true; }, { optional: true; self: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkSelectionToggle<any>, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkSelectionToggle<any>, "[cdkSelectionToggle]", ["cdkSelectionToggle"], { "value": { "alias": "cdkSelectionToggleValue"; "required": false; }; "index": { "alias": "cdkSelectionToggleIndex"; "required": false; }; }, {}, never, never, true, never>; | ||
@@ -197,0 +193,0 @@ } |
@@ -1,3 +0,1 @@ | ||
import { Directionality } from '@angular/cdk/bidi'; | ||
import { ElementRef } from '@angular/core'; | ||
import * as i0 from '@angular/core'; | ||
@@ -23,4 +21,4 @@ import { OnDestroy } from '@angular/core'; | ||
private readonly _document; | ||
private readonly _directionality?; | ||
private readonly _nonce?; | ||
private readonly _directionality; | ||
private readonly _nonce; | ||
private readonly _uniqueClassName; | ||
@@ -34,3 +32,2 @@ private _styleRoot; | ||
private _footerSizes; | ||
constructor(_elementRef: ElementRef<HTMLElement>, _document: Document, _directionality?: Directionality | undefined, _nonce?: (string | null) | undefined); | ||
ngOnInit(): void; | ||
@@ -51,3 +48,3 @@ ngOnDestroy(): void; | ||
private _clearCss; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableScrollContainer, [null, null, { optional: true; }, { optional: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableScrollContainer, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTableScrollContainer, "[cdkTableScrollContainer]", never, {}, {}, never, never, true, never>; | ||
@@ -54,0 +51,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
508541
4986