@leanix/components 0.2.219 → 0.2.222
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/leanix-components.umd.js +19 -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 +6 -1
- package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.js.map +1 -1
- package/fesm2015/leanix-components.js +19 -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 +1 -0
- 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
|
}
|
@@ -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>;
|