@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.
- package/bundles/leanix-components.umd.js +31 -2
- package/bundles/leanix-components.umd.js.map +1 -1
- package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.js +19 -2
- package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.js.map +1 -1
- package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.js +19 -2
- package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.js.map +1 -1
- package/fesm2015/leanix-components.js +31 -2
- package/fesm2015/leanix-components.js.map +1 -1
- package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.d.ts +5 -1
- package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.d.ts +4 -1
- package/package.json +1 -1
@@ -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
|
}
|