@leanix/components 0.2.75 → 0.2.79

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -53,6 +53,8 @@ export * from './lib/forms-ui/components/option-group/option-group.component';
53
53
  export * from './lib/forms-ui/components/options-dropdown/options-dropdown.component';
54
54
  export * from './lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component';
55
55
  export * from './lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component';
56
+ export * from './lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component';
57
+ export * from './lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component';
56
58
  export * from './lib/forms-ui/components/picker/picker.component';
57
59
  export * from './lib/forms-ui/components/picker-option/picker-option.component';
58
60
  export * from './lib/forms-ui/components/pill-list/pill-list.component';
@@ -0,0 +1,39 @@
1
+ import { CdkConnectedOverlay } from '@angular/cdk/overlay';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
3
+ import { TooltipDirective } from '../../../core-ui/tooltip/tooltip.directive';
4
+ import { KeyboardActionSourceDirective } from '../../directives/keyboard-action-source.directive';
5
+ import { OptionComponent } from '../option/option.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CdkOptionsDropdownComponent implements AfterViewInit, OnDestroy {
8
+ private changeDetection;
9
+ dropdownContainer: ElementRef;
10
+ align: 'right' | 'left';
11
+ closeOnScroll: boolean;
12
+ disabled: boolean;
13
+ maxHeight: string;
14
+ set open(value: boolean);
15
+ get open(): boolean;
16
+ trigger: KeyboardActionSourceDirective;
17
+ overlay: CdkConnectedOverlay;
18
+ _options: QueryList<OptionComponent>;
19
+ tooltips: QueryList<TooltipDirective>;
20
+ get options(): OptionComponent[];
21
+ private readonly highlightedOptionIndex$;
22
+ private _open;
23
+ private isSubdropdownExpanded;
24
+ private readonly destroyed$;
25
+ isPositionComputed: boolean;
26
+ constructor(changeDetection: ChangeDetectorRef);
27
+ ngAfterViewInit(): void;
28
+ ngOnDestroy(): void;
29
+ closeDropdown(): void;
30
+ private setInitialHighlightingIndex;
31
+ private prev;
32
+ private next;
33
+ private expand;
34
+ private collapse;
35
+ private optionIsHighlightable;
36
+ private reloadOverlayPosition;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkOptionsDropdownComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<CdkOptionsDropdownComponent, "lx-cdk-options-dropdown", never, { "align": "align"; "closeOnScroll": "closeOnScroll"; "disabled": "disabled"; "maxHeight": "maxHeight"; }, {}, ["trigger", "_options", "tooltips"], ["[lxKeyboardActionSource]", "*"]>;
39
+ }
@@ -0,0 +1,28 @@
1
+ import { CdkConnectedOverlay } from '@angular/cdk/overlay';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
3
+ import { Subject } from 'rxjs';
4
+ import { OptionComponent } from '../option/option.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CdkOptionsSubDropdownComponent implements AfterViewInit, OnDestroy {
7
+ private changeDetection;
8
+ trigger: OptionComponent;
9
+ align: 'right' | 'left';
10
+ options: QueryList<OptionComponent>;
11
+ overlay: CdkConnectedOverlay;
12
+ dropdownContainer: ElementRef;
13
+ open: boolean;
14
+ isPositionComputed: boolean;
15
+ private mouseInside$;
16
+ readonly destroyed$: Subject<void>;
17
+ constructor(changeDetection: ChangeDetectorRef);
18
+ mouseenter(): void;
19
+ mouseleave(): void;
20
+ ngOnDestroy(): void;
21
+ ngAfterViewInit(): void;
22
+ private showByKeyboard;
23
+ private showByMouse;
24
+ private reloadOverlayPosition;
25
+ closeDropdown(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkOptionsSubDropdownComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<CdkOptionsSubDropdownComponent, "lx-cdk-options-sub-dropdown", never, { "trigger": "trigger"; "align": "align"; }, {}, ["options"], ["*"]>;
28
+ }
@@ -18,30 +18,33 @@ import * as i16 from "./components/option-group/option-group.component";
18
18
  import * as i17 from "./components/option-group-dropdown/option-group-dropdown.component";
19
19
  import * as i18 from "./components/options-dropdown/options-dropdown.component";
20
20
  import * as i19 from "./components/options-sub-dropdown/options-sub-dropdown.component";
21
- import * as i20 from "./components/picker/picker.component";
22
- import * as i21 from "./components/picker-option/picker-option.component";
23
- import * as i22 from "./components/picker/picker-trigger.directive";
24
- import * as i23 from "./components/pill-list/pill-list.component";
25
- import * as i24 from "./components/pill-item/pill-item.component";
26
- import * as i25 from "./components/responsive-input/responsive-input.component";
27
- import * as i26 from "./directives/selectable-item.directive";
28
- import * as i27 from "./directives/selected-option.directive";
29
- import * as i28 from "./directives/select-dropdown.directive";
30
- import * as i29 from "./components/single-select/single-select.component";
31
- import * as i30 from "./components/slider-toggle/slider-toggle.component";
32
- import * as i31 from "./components/sorting-dropdown/sorting-dropdown.component";
33
- import * as i32 from "./components/sorting-dropdown-trigger/sorting-dropdown-trigger.component";
34
- import * as i33 from "./components/input/input.component";
35
- import * as i34 from "./pipes/format-number.pipe";
36
- import * as i35 from "@angular/common";
37
- import * as i36 from "@angular/cdk/drag-drop";
38
- import * as i37 from "@angular/forms";
39
- import * as i38 from "@ngx-translate/core";
40
- import * as i39 from "ngx-bootstrap/datepicker";
41
- import * as i40 from "ngx-infinite-scroll";
42
- import * as i41 from "../core-ui/core-ui.module";
21
+ import * as i20 from "./components/cdk-options-dropdown/cdk-options-dropdown.component";
22
+ import * as i21 from "./components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component";
23
+ import * as i22 from "./components/picker/picker.component";
24
+ import * as i23 from "./components/picker-option/picker-option.component";
25
+ import * as i24 from "./components/picker/picker-trigger.directive";
26
+ import * as i25 from "./components/pill-list/pill-list.component";
27
+ import * as i26 from "./components/pill-item/pill-item.component";
28
+ import * as i27 from "./components/responsive-input/responsive-input.component";
29
+ import * as i28 from "./directives/selectable-item.directive";
30
+ import * as i29 from "./directives/selected-option.directive";
31
+ import * as i30 from "./directives/select-dropdown.directive";
32
+ import * as i31 from "./components/single-select/single-select.component";
33
+ import * as i32 from "./components/slider-toggle/slider-toggle.component";
34
+ import * as i33 from "./components/sorting-dropdown/sorting-dropdown.component";
35
+ import * as i34 from "./components/sorting-dropdown-trigger/sorting-dropdown-trigger.component";
36
+ import * as i35 from "./components/input/input.component";
37
+ import * as i36 from "./pipes/format-number.pipe";
38
+ import * as i37 from "@angular/common";
39
+ import * as i38 from "@angular/cdk/drag-drop";
40
+ import * as i39 from "@angular/forms";
41
+ import * as i40 from "@ngx-translate/core";
42
+ import * as i41 from "ngx-bootstrap/datepicker";
43
+ import * as i42 from "ngx-infinite-scroll";
44
+ import * as i43 from "@angular/cdk/overlay";
45
+ import * as i44 from "../core-ui/core-ui.module";
43
46
  export declare class LxFormsModule {
44
47
  static ɵfac: i0.ɵɵFactoryDeclaration<LxFormsModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<LxFormsModule, [typeof i1.BasicDropdownComponent, typeof i2.BasicDropdownItemComponent, typeof i3.CurrencyInputComponent, typeof i4.CurrencySymbolComponent, typeof i5.DateInputComponent, typeof i6.DragAndDropListComponent, typeof i7.DragAndDropListItemComponent, typeof i8.FilterSelectionPipe, typeof i9.FilterTermPipe, typeof i10.FormErrorComponent, typeof i11.IconComponent, typeof i12.KeyboardActionSourceDirective, typeof i13.MarkInvalidDirective, typeof i14.MultiSelectComponent, typeof i15.OptionComponent, typeof i16.OptionGroupComponent, typeof i17.OptionGroupDropdownComponent, typeof i18.OptionsDropdownComponent, typeof i19.OptionsSubDropdownComponent, typeof i20.PickerComponent, typeof i21.PickerOptionComponent, typeof i22.PickerTriggerDirective, typeof i23.PillListComponent, typeof i24.PillItemComponent, typeof i25.ResponsiveInputComponent, typeof i26.SelectableItemDirective, typeof i27.SelectedOptionDirective, typeof i28.SelectDropdownDirective, typeof i29.SingleSelectComponent, typeof i30.SliderToggleComponent, typeof i31.SortingDropdownComponent, typeof i32.SortingDropdownTriggerComponent, typeof i33.InputComponent, typeof i34.FormatNumberPipe], [typeof i35.CommonModule, typeof i36.DragDropModule, typeof i37.FormsModule, typeof i37.ReactiveFormsModule, typeof i38.TranslateModule, typeof i39.DatepickerModule, typeof i40.InfiniteScrollModule, typeof i41.LxCoreUiModule], [typeof i1.BasicDropdownComponent, typeof i2.BasicDropdownItemComponent, typeof i3.CurrencyInputComponent, typeof i4.CurrencySymbolComponent, typeof i5.DateInputComponent, typeof i6.DragAndDropListComponent, typeof i7.DragAndDropListItemComponent, typeof i8.FilterSelectionPipe, typeof i9.FilterTermPipe, typeof i10.FormErrorComponent, typeof i11.IconComponent, typeof i12.KeyboardActionSourceDirective, typeof i13.MarkInvalidDirective, typeof i14.MultiSelectComponent, typeof i15.OptionComponent, typeof i16.OptionGroupComponent, typeof i17.OptionGroupDropdownComponent, typeof i18.OptionsDropdownComponent, typeof i19.OptionsSubDropdownComponent, typeof i20.PickerComponent, typeof i21.PickerOptionComponent, typeof i22.PickerTriggerDirective, typeof i23.PillListComponent, typeof i24.PillItemComponent, typeof i25.ResponsiveInputComponent, typeof i26.SelectableItemDirective, typeof i28.SelectDropdownDirective, typeof i27.SelectedOptionDirective, typeof i29.SingleSelectComponent, typeof i30.SliderToggleComponent, typeof i31.SortingDropdownComponent, typeof i32.SortingDropdownTriggerComponent, typeof i34.FormatNumberPipe]>;
48
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LxFormsModule, [typeof i1.BasicDropdownComponent, typeof i2.BasicDropdownItemComponent, typeof i3.CurrencyInputComponent, typeof i4.CurrencySymbolComponent, typeof i5.DateInputComponent, typeof i6.DragAndDropListComponent, typeof i7.DragAndDropListItemComponent, typeof i8.FilterSelectionPipe, typeof i9.FilterTermPipe, typeof i10.FormErrorComponent, typeof i11.IconComponent, typeof i12.KeyboardActionSourceDirective, typeof i13.MarkInvalidDirective, typeof i14.MultiSelectComponent, typeof i15.OptionComponent, typeof i16.OptionGroupComponent, typeof i17.OptionGroupDropdownComponent, typeof i18.OptionsDropdownComponent, typeof i19.OptionsSubDropdownComponent, typeof i20.CdkOptionsDropdownComponent, typeof i21.CdkOptionsSubDropdownComponent, typeof i22.PickerComponent, typeof i23.PickerOptionComponent, typeof i24.PickerTriggerDirective, typeof i25.PillListComponent, typeof i26.PillItemComponent, typeof i27.ResponsiveInputComponent, typeof i28.SelectableItemDirective, typeof i29.SelectedOptionDirective, typeof i30.SelectDropdownDirective, typeof i31.SingleSelectComponent, typeof i32.SliderToggleComponent, typeof i33.SortingDropdownComponent, typeof i34.SortingDropdownTriggerComponent, typeof i35.InputComponent, typeof i36.FormatNumberPipe], [typeof i37.CommonModule, typeof i38.DragDropModule, typeof i39.FormsModule, typeof i39.ReactiveFormsModule, typeof i40.TranslateModule, typeof i41.DatepickerModule, typeof i42.InfiniteScrollModule, typeof i43.OverlayModule, typeof i44.LxCoreUiModule], [typeof i1.BasicDropdownComponent, typeof i2.BasicDropdownItemComponent, typeof i3.CurrencyInputComponent, typeof i4.CurrencySymbolComponent, typeof i5.DateInputComponent, typeof i6.DragAndDropListComponent, typeof i7.DragAndDropListItemComponent, typeof i8.FilterSelectionPipe, typeof i9.FilterTermPipe, typeof i10.FormErrorComponent, typeof i11.IconComponent, typeof i12.KeyboardActionSourceDirective, typeof i13.MarkInvalidDirective, typeof i14.MultiSelectComponent, typeof i15.OptionComponent, typeof i16.OptionGroupComponent, typeof i17.OptionGroupDropdownComponent, typeof i18.OptionsDropdownComponent, typeof i19.OptionsSubDropdownComponent, typeof i20.CdkOptionsDropdownComponent, typeof i21.CdkOptionsSubDropdownComponent, typeof i22.PickerComponent, typeof i23.PickerOptionComponent, typeof i24.PickerTriggerDirective, typeof i25.PillListComponent, typeof i26.PillItemComponent, typeof i27.ResponsiveInputComponent, typeof i28.SelectableItemDirective, typeof i30.SelectDropdownDirective, typeof i29.SelectedOptionDirective, typeof i31.SingleSelectComponent, typeof i32.SliderToggleComponent, typeof i33.SortingDropdownComponent, typeof i34.SortingDropdownTriggerComponent, typeof i36.FormatNumberPipe]>;
46
49
  static ɵinj: i0.ɵɵInjectorDeclaration<LxFormsModule>;
47
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.2.75",
3
+ "version": "0.2.79",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {