@leanix/components 0.2.43 → 0.2.47
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 +3 -3
- package/bundles/leanix-components.umd.js.map +1 -1
- package/esm2015/lib/core-ui/components/button/button.component.js +1 -1
- package/esm2015/lib/core-ui/components/button/button.component.js.map +1 -1
- package/esm2015/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.js.map +1 -1
- package/esm2015/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.js +1 -1
- package/esm2015/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.js +1 -1
- package/fesm2015/leanix-components.js +3 -3
- package/fesm2015/leanix-components.js.map +1 -1
- package/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.d.ts +4 -4
- package/package.json +1 -1
@@ -5,9 +5,9 @@ export declare type OptionGroupOption = {
|
|
5
5
|
value: string;
|
6
6
|
label: string;
|
7
7
|
};
|
8
|
-
export declare type SingleSelectOptionGroup = {
|
8
|
+
export declare type SingleSelectOptionGroup<T = any> = {
|
9
9
|
label: string;
|
10
|
-
options: (OptionGroupOption |
|
10
|
+
options: (OptionGroupOption | T)[];
|
11
11
|
};
|
12
12
|
/**
|
13
13
|
* Usage:
|
@@ -40,7 +40,7 @@ export declare class OptionGroupDropdownComponent extends KeyboardSelectDirectiv
|
|
40
40
|
loading: boolean;
|
41
41
|
trackByProperty?: string;
|
42
42
|
showNoResultsIfGroupIsEmpty: boolean;
|
43
|
-
onItemSelected: EventEmitter<
|
43
|
+
onItemSelected: EventEmitter<any>;
|
44
44
|
containerScrolled: EventEmitter<any>;
|
45
45
|
createNewOption: EventEmitter<string>;
|
46
46
|
optionTemplateRef?: TemplateRef<any>;
|
@@ -51,7 +51,7 @@ export declare class OptionGroupDropdownComponent extends KeyboardSelectDirectiv
|
|
51
51
|
*/
|
52
52
|
noResultsOptionTemplateRef?: TemplateRef<any>;
|
53
53
|
get isNewItem(): boolean;
|
54
|
-
selectOption(option: OptionGroupOption): void;
|
54
|
+
selectOption(option: OptionGroupOption | any): void;
|
55
55
|
trackByLabel(index: number, optionGroup: SingleSelectOptionGroup): string;
|
56
56
|
onCreateNewOption(): void;
|
57
57
|
trackByValue(_index: number, option: OptionGroupOption | any): any;
|