@leanix/components 0.2.220 → 0.2.223

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
  }
@@ -26,6 +26,8 @@ export declare class DragAndDropListComponent implements AfterContentInit, OnIni
26
26
  */
27
27
  items?: any[];
28
28
  itemIdProperty?: string;
29
+ color?: 'default' | 'gray';
30
+ fontSize?: 'normal' | 'big';
29
31
  /**
30
32
  * Use the moveToIndex Output in favor of moveItem,
31
33
  * when moving is restricted to one item through this.draggableItem.
@@ -47,7 +49,8 @@ export declare class DragAndDropListComponent implements AfterContentInit, OnIni
47
49
  * You're supposed to update the data in the parent and pass the new items as input.
48
50
  */
49
51
  drop(event: CdkDragDrop<DragAndDropListItemComponent[] | null, string[]>): void;
52
+ dropToIndex(item: any, previousIndex: number, currentIndex: number): void;
50
53
  trackById(_index: number, item: any): any;
51
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropListComponent, never>;
52
- 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>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropListComponent, "lx-drag-and-drop-list", never, { "label": "label"; "labelFontWeight": "labelFontWeight"; "items": "items"; "itemIdProperty": "itemIdProperty"; "color": "color"; "fontSize": "fontSize"; }, { "moveToIndex": "moveToIndex"; "moveItem": "moveItem"; }, ["itemTemplateRef", "_items"], never>;
53
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.2.220",
3
+ "version": "0.2.223",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {