5
5
``` ts
6
6
7
7
import { AfterViewInit } from ' @angular/core' ;
8
- import { BooleanInput } from ' @angular/cdk/coercion' ;
9
8
import { ChangeDetectorRef } from ' @angular/core' ;
10
9
import { Direction } from ' @angular/cdk/bidi' ;
11
10
import { Directionality } from ' @angular/cdk/bidi' ;
@@ -58,7 +57,7 @@ export class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
58
57
constrainPosition? : (userPointerPosition : Point , dragRef : DragRef , dimensions : ClientRect , pickupPositionInElement : Point ) => Point ;
59
58
data: T ;
60
59
get disabled(): boolean ;
61
- set disabled(value : BooleanInput );
60
+ set disabled(value : boolean );
62
61
_dragRef: DragRef <CdkDrag <T >>;
63
62
dragStartDelay: DragStartDelay ;
64
63
dropContainer: CdkDropList ;
@@ -75,6 +74,8 @@ export class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
75
74
lockAxis: DragAxis ;
76
75
readonly moved: Observable <CdkDragMove <T >>;
77
76
// (undocumented)
77
+ static ngAcceptInputType_disabled: unknown ;
78
+ // (undocumented)
78
79
ngAfterViewInit(): void ;
79
80
// (undocumented)
80
81
ngOnChanges(changes : SimpleChanges ): void ;
@@ -145,10 +146,12 @@ export interface CdkDragExit<T = any, I = T> {
145
146
export class CdkDragHandle implements OnDestroy {
146
147
constructor (element : ElementRef <HTMLElement >, parentDrag ? : any );
147
148
get disabled(): boolean ;
148
- set disabled(value : BooleanInput );
149
+ set disabled(value : boolean );
149
150
// (undocumented)
150
151
element: ElementRef <HTMLElement >;
151
152
// (undocumented)
153
+ static ngAcceptInputType_disabled: unknown ;
154
+ // (undocumented)
152
155
ngOnDestroy(): void ;
153
156
_parentDrag: {} | undefined ;
154
157
readonly _stateChanges: Subject <CdkDragHandle >;
@@ -192,8 +195,9 @@ export class CdkDragPlaceholder<T = any> {
192
195
export class CdkDragPreview <T = any > {
193
196
constructor (templateRef : TemplateRef <T >);
194
197
data: T ;
195
- get matchSize(): boolean ;
196
- set matchSize(value : BooleanInput );
198
+ matchSize: boolean ;
199
+ // (undocumented)
200
+ static ngAcceptInputType_matchSize: unknown ;
197
201
// (undocumented)
198
202
templateRef: TemplateRef <T >;
199
203
// (undocumented)
@@ -227,12 +231,12 @@ export class CdkDropList<T = any> implements OnDestroy {
227
231
constructor (
228
232
element : ElementRef <HTMLElement >, dragDrop : DragDrop , _changeDetectorRef : ChangeDetectorRef , _scrollDispatcher : ScrollDispatcher , _dir ? : Directionality | undefined , _group ? : CdkDropListGroup <CdkDropList <any >> | undefined , config ? : DragDropConfig );
229
233
addItem(item : CdkDrag ): void ;
230
- autoScrollDisabled: BooleanInput ;
234
+ autoScrollDisabled: boolean ;
231
235
autoScrollStep: NumberInput ;
232
236
connectedTo: (CdkDropList | string )[] | CdkDropList | string ;
233
237
data: T ;
234
238
get disabled(): boolean ;
235
- set disabled(value : BooleanInput );
239
+ set disabled(value : boolean );
236
240
_dropListRef: DropListRef <CdkDropList <T >>;
237
241
readonly dropped: EventEmitter <CdkDragDrop <T , any >>;
238
242
element: ElementRef <HTMLElement >;
@@ -243,11 +247,17 @@ export class CdkDropList<T = any> implements OnDestroy {
243
247
id: string ;
244
248
lockAxis: DragAxis ;
245
249
// (undocumented)
250
+ static ngAcceptInputType_autoScrollDisabled: unknown ;
251
+ // (undocumented)
252
+ static ngAcceptInputType_disabled: unknown ;
253
+ // (undocumented)
254
+ static ngAcceptInputType_sortingDisabled: unknown ;
255
+ // (undocumented)
246
256
ngOnDestroy(): void ;
247
257
orientation: DropListOrientation ;
248
258
removeItem(item : CdkDrag ): void ;
249
259
readonly sorted: EventEmitter <CdkDragSortEvent <T >>;
250
- sortingDisabled: BooleanInput ;
260
+ sortingDisabled: boolean ;
251
261
sortPredicate: (index : number , drag : CdkDrag , drop : CdkDropList ) => boolean ;
252
262
// (undocumented)
253
263
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; }; }, { "dropped": "cdkDropListDropped"; "entered": "cdkDropListEntered"; "exited": "cdkDropListExited"; "sorted": "cdkDropListSorted"; }, never, never, true, never>;
@@ -257,10 +267,11 @@ export class CdkDropList<T = any> implements OnDestroy {
257
267
258
268
// @public
259
269
export class CdkDropListGroup <T > implements OnDestroy {
260
- get disabled(): boolean ;
261
- set disabled(value : BooleanInput );
270
+ disabled: boolean ;
262
271
readonly _items: Set <T >;
263
272
// (undocumented)
273
+ static ngAcceptInputType_disabled: unknown ;
274
+ // (undocumented)
264
275
ngOnDestroy(): void ;
265
276
// (undocumented)
266
277
static ɵdir: i0 .ɵɵDirectiveDeclaration <CdkDropListGroup <any >, " [cdkDropListGroup]" , [" cdkDropListGroup" ], { " disabled" : { " alias" : " cdkDropListGroupDisabled" ; " required" : false ; }; }, {}, never , never , true , never >;
0 commit comments