@sebgroup/green-angular 6.1.1 → 6.1.2
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/src/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +2 -2
- package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +16 -2
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +2 -2
- package/esm2022/src/v-angular/table/table.component.mjs +3 -3
- package/esm2022/src/v-angular/table/table.models.mjs +1 -1
- package/esm2022/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +2 -2
- package/esm2022/v-angular/dropdown/dropdown.component.mjs +16 -2
- package/esm2022/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +2 -2
- package/esm2022/v-angular/table/table.component.mjs +3 -3
- package/esm2022/v-angular/table/table.models.mjs +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +19 -5
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs +2 -2
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-v-angular.mjs +21 -7
- package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/src/v-angular/dropdown/dropdown.component.d.ts +3 -0
- package/src/v-angular/table/table.models.d.ts +3 -3
- package/v-angular/dropdown/dropdown.component.d.ts +3 -0
- package/v-angular/table/table.models.d.ts +3 -3
package/package.json
CHANGED
|
@@ -77,6 +77,8 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
77
77
|
activeIndex: number;
|
|
78
78
|
/** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
|
|
79
79
|
private onClickSubscription;
|
|
80
|
+
/** Subscribe if dropdown expanded to listen to scroll outside to close dropdown. */
|
|
81
|
+
private onScrollSubscription;
|
|
80
82
|
keyEvent: KeyboardEvent;
|
|
81
83
|
private _options;
|
|
82
84
|
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, dropdownUtils: DropdownUtils<K, V, T>);
|
|
@@ -91,6 +93,7 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
91
93
|
* Closes the dropdown on click outside.
|
|
92
94
|
*/
|
|
93
95
|
subscribeToOutsideClickEvent(): void;
|
|
96
|
+
subscribeToOutsideScrollEvent(): void;
|
|
94
97
|
/**
|
|
95
98
|
* Set the dropdown value to given option.
|
|
96
99
|
* @param value the dropdown option to select.
|
|
@@ -38,10 +38,10 @@ export interface TableHeaderOptions {
|
|
|
38
38
|
*/
|
|
39
39
|
boldTextOnMobile?: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* Used to set
|
|
42
|
-
* This is useful when the column has an additional
|
|
41
|
+
* Used to set label for the column.
|
|
42
|
+
* This is useful when the column has an additional information that needs to be shown.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
columnLabel?: string;
|
|
45
45
|
}
|
|
46
46
|
/** Options applying to table rows */
|
|
47
47
|
export interface TableRowOptions {
|
|
@@ -77,6 +77,8 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
77
77
|
activeIndex: number;
|
|
78
78
|
/** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
|
|
79
79
|
private onClickSubscription;
|
|
80
|
+
/** Subscribe if dropdown expanded to listen to scroll outside to close dropdown. */
|
|
81
|
+
private onScrollSubscription;
|
|
80
82
|
keyEvent: KeyboardEvent;
|
|
81
83
|
private _options;
|
|
82
84
|
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, dropdownUtils: DropdownUtils<K, V, T>);
|
|
@@ -91,6 +93,7 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
91
93
|
* Closes the dropdown on click outside.
|
|
92
94
|
*/
|
|
93
95
|
subscribeToOutsideClickEvent(): void;
|
|
96
|
+
subscribeToOutsideScrollEvent(): void;
|
|
94
97
|
/**
|
|
95
98
|
* Set the dropdown value to given option.
|
|
96
99
|
* @param value the dropdown option to select.
|
|
@@ -38,10 +38,10 @@ export interface TableHeaderOptions {
|
|
|
38
38
|
*/
|
|
39
39
|
boldTextOnMobile?: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* Used to set
|
|
42
|
-
* This is useful when the column has an additional
|
|
41
|
+
* Used to set label for the column.
|
|
42
|
+
* This is useful when the column has an additional information that needs to be shown.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
columnLabel?: string;
|
|
45
45
|
}
|
|
46
46
|
/** Options applying to table rows */
|
|
47
47
|
export interface TableRowOptions {
|