@leanix/components 0.4.168 → 0.4.169
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/esm2022/index.mjs +3 -1
- package/esm2022/lib/configuration-ui/components/visibility-panel.component.mjs +72 -0
- package/fesm2022/leanix-components.mjs +64 -2
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/configuration-ui/components/visibility-panel.component.d.ts +31 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -116,3 +116,4 @@ export * from './lib/popover-ui/directives/popover-hover.directive';
|
|
116
116
|
export * from './lib/tab-ui/components/tab-group/tab-group.component';
|
117
117
|
export * from './lib/tab-ui/components/tab/tab.component';
|
118
118
|
export * from './lib/tab-ui/tab-ui.module';
|
119
|
+
export * from './lib/configuration-ui/components/visibility-panel.component';
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
2
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import { KeyboardSortableItemDirective } from '../../forms-ui/components/drag-and-drop-list/keyboard-sortable-item/keyboard-sortable-item.directive';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export interface VisibilityPanelItems {
|
7
|
+
hiddenItems: visibilityPanelItem[];
|
8
|
+
visibleItems: visibilityPanelItem[];
|
9
|
+
}
|
10
|
+
export interface visibilityPanelItem {
|
11
|
+
label: string;
|
12
|
+
id: string;
|
13
|
+
}
|
14
|
+
export declare class VisibilityPanelComponent implements AfterViewInit {
|
15
|
+
readonly NAME = "VisibilityPanelComponent";
|
16
|
+
items: VisibilityPanelItems;
|
17
|
+
itemsChange: EventEmitter<VisibilityPanelItems>;
|
18
|
+
private _keyboardSortableItems;
|
19
|
+
keyboardSortableItems$: Observable<KeyboardSortableItemDirective[]>;
|
20
|
+
isSortingByKeyboard: boolean;
|
21
|
+
keyboardItemBeingSorted: string | undefined;
|
22
|
+
allItemsData$: Observable<string[]>;
|
23
|
+
ngAfterViewInit(): void;
|
24
|
+
drop(event: CdkDragDrop<visibilityPanelItem[]>): void;
|
25
|
+
shiftArrayElements(array: visibilityPanelItem[], previousPosition: number, newPosition: number): visibilityPanelItem[];
|
26
|
+
makeVisible(hidden: visibilityPanelItem): void;
|
27
|
+
makeHidden(visible: visibilityPanelItem): void;
|
28
|
+
handleKeyboardSort(previousIndex: number, currentIndex: number): void;
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityPanelComponent, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VisibilityPanelComponent, "lx-visibility-panel", never, { "items": { "alias": "items"; "required": false; }; }, { "itemsChange": "itemsChange"; }, never, never, true, never>;
|
31
|
+
}
|