@leanix/components 0.2.219 → 0.2.222

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,8 +20,12 @@ export declare class DragAndDropListItemComponent {
20
20
  */
21
21
  actions?: DragAndDropListAction[];
22
22
  action: EventEmitter<DragAndDropListActionEvent>;
23
+ moveToTop: EventEmitter<any>;
24
+ moveUp: EventEmitter<any>;
25
+ moveToBottom: EventEmitter<any>;
26
+ moveDown: EventEmitter<any>;
23
27
  get draggingDisabled(): boolean;
24
28
  trackByAction(_index: number, action: DragAndDropListAction): string;
25
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropListItemComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropListItemComponent, "lx-drag-and-drop-list-item", never, { "item": "item"; "draggable": "draggable"; "actions": "actions"; }, { "action": "action"; }, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropListItemComponent, "lx-drag-and-drop-list-item", never, { "item": "item"; "draggable": "draggable"; "actions": "actions"; }, { "action": "action"; "moveToTop": "moveToTop"; "moveUp": "moveUp"; "moveToBottom": "moveToBottom"; "moveDown": "moveDown"; }, never, never>;
27
31
  }
@@ -47,6 +47,7 @@ export declare class DragAndDropListComponent implements AfterContentInit, OnIni
47
47
  * You're supposed to update the data in the parent and pass the new items as input.
48
48
  */
49
49
  drop(event: CdkDragDrop<DragAndDropListItemComponent[] | null, string[]>): void;
50
+ dropToIndex(item: any, previousIndex: number, currentIndex: number): void;
50
51
  trackById(_index: number, item: any): any;
51
52
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropListComponent, never>;
52
53
  static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropListComponent, "lx-drag-and-drop-list", never, { "label": "label"; "labelFontWeight": "labelFontWeight"; "items": "items"; "itemIdProperty": "itemIdProperty"; }, { "moveToIndex": "moveToIndex"; "moveItem": "moveItem"; }, ["itemTemplateRef", "_items"], never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.2.219",
3
+ "version": "0.2.222",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {