@leanix/components 0.3.61 → 0.3.63
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/esm2020/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.mjs +4 -4
- package/esm2020/lib/forms-ui/components/input/input.component.mjs +4 -4
- package/esm2020/lib/forms-ui/components/multi-select/multi-select.component.mjs +2 -2
- package/esm2020/lib/forms-ui/components/single-select/single-select.component.mjs +2 -2
- package/esm2020/lib/forms-ui/directives/form-submit.directive.mjs +1 -1
- package/esm2020/lib/forms-ui/models/base-select.directive.mjs +1 -1
- package/esm2020/lib/modal-ui/components/modal/modal.component.mjs +2 -2
- package/esm2020/lib/shared/misc-helpers.mjs +1 -11
- package/fesm2015/leanix-components.mjs +9 -18
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +9 -18
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/forms-ui/components/input/input.component.d.ts +1 -1
- package/lib/forms-ui/components/multi-select/multi-select.component.d.ts +1 -1
- package/lib/forms-ui/components/single-select/single-select.component.d.ts +1 -1
- package/lib/forms-ui/models/base-select.directive.d.ts +1 -1
- package/lib/shared/misc-helpers.d.ts +0 -8
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ export declare class InputComponent implements OnInit, OnDestroy {
|
|
|
5
5
|
ngControl?: NgControl | undefined;
|
|
6
6
|
error: boolean;
|
|
7
7
|
disabled: boolean;
|
|
8
|
-
private
|
|
8
|
+
private destroyed$;
|
|
9
9
|
constructor(ngControl?: NgControl | undefined);
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
private updateStatus;
|
|
@@ -18,7 +18,7 @@ export declare class MultiSelectComponent extends BaseSelectDirective implements
|
|
|
18
18
|
static isStillPossibleMoveToLeft(eventSet: EventSet): boolean;
|
|
19
19
|
static isMovingfromZeroToRight(eventSet: EventSet): boolean;
|
|
20
20
|
static calculateNewCursorPostionOnKeyboardNavigation(cursorPosition: number, keyCode: number): number;
|
|
21
|
-
static getKeyboardSelectAction(cursorPosition: number, keyCode: number): KeyboardSelectAction |
|
|
21
|
+
static getKeyboardSelectAction(cursorPosition: number, keyCode: number): KeyboardSelectAction | null;
|
|
22
22
|
markInvalid: boolean;
|
|
23
23
|
selection?: any[] | null;
|
|
24
24
|
size: MultiSelectSize;
|
|
@@ -9,7 +9,7 @@ export declare type SingleSelectSize = 'default' | 'small' | 'select2' | 'large'
|
|
|
9
9
|
export declare class SingleSelectComponent extends BaseSelectDirective implements OnDestroy, AfterViewInit, ControlValueAccessor {
|
|
10
10
|
private cd;
|
|
11
11
|
static calculateNewCursorPostionOnKeyboardNavigation(cursorPosition: number, keyCode: number): number;
|
|
12
|
-
static getKeyboardSelectAction(cursorPosition: number, keyCode: number): KeyboardSelectAction |
|
|
12
|
+
static getKeyboardSelectAction(cursorPosition: number, keyCode: number): KeyboardSelectAction | null;
|
|
13
13
|
selection: any;
|
|
14
14
|
selectionBackground: 'white' | 'gray';
|
|
15
15
|
size: SingleSelectSize;
|
|
@@ -25,7 +25,7 @@ export declare abstract class BaseSelectDirective implements AfterViewInit, OnCh
|
|
|
25
25
|
readonly dropdownDirection$: BehaviorSubject<"TOP" | "BOTTOM">;
|
|
26
26
|
dropdownOpen: boolean;
|
|
27
27
|
activeElement: Element;
|
|
28
|
-
readonly selectionKeyboardSelectAction$: Subject<KeyboardSelectAction>;
|
|
28
|
+
readonly selectionKeyboardSelectAction$: Subject<KeyboardSelectAction | null>;
|
|
29
29
|
readonly optionsKeyboardSelectAction$: Subject<KeyboardSelectAction | null>;
|
|
30
30
|
virtualCursorPosition: number;
|
|
31
31
|
inputWasFocused: boolean;
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
1
|
/**
|
|
3
2
|
* Schedule and wait for another ZoneJS microTask.
|
|
4
3
|
* This should be preferred over setTimeout(), which
|
|
5
4
|
* schedules a macroTask & thus triggers full tree change detection.
|
|
6
5
|
*/
|
|
7
6
|
export declare function executeOnNextTick(fn: Function): void;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* Returns the first value emitted by an observable. Can be removed when we are able to use RxJS7.
|
|
11
|
-
* https://github.com/leanix/leanix-pathfinder-web/pull/5988/#discussion_r633645224
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export declare function firstValueFrom<T>(observable: Observable<T>): Promise<T>;
|
|
15
7
|
export declare function getCssVariable(cssVariableName: string): string;
|
|
16
8
|
export declare function scrollTop(container: HTMLElement, item: HTMLElement): void;
|