@nova-ui/bits 16.0.2 → 16.0.4
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/lib/selector/selector.service.mjs +5 -4
- package/esm2022/lib/table/table.component.mjs +6 -3
- package/fesm2022/nova-ui-bits.mjs +9 -5
- package/fesm2022/nova-ui-bits.mjs.map +1 -1
- package/lib/selector/selector.service.d.ts +2 -1
- package/lib/table/table.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -31,9 +31,10 @@ export declare class SelectorService {
|
|
|
31
31
|
* You may need to obtain the set of items that are selected given selection object and some set of items.
|
|
32
32
|
* @param {ISelection} selection
|
|
33
33
|
* @param {any[]} items
|
|
34
|
+
* @param comparator
|
|
34
35
|
* @returns {any[]} Set of items
|
|
35
36
|
*/
|
|
36
|
-
getSelectedItems(selection: ISelection, items: any[]): any[];
|
|
37
|
+
getSelectedItems(selection: ISelection, items: any[], comparator?: (a: any, b: any) => boolean): any[];
|
|
37
38
|
/**
|
|
38
39
|
* Allows to react on changes of selected items (for selector).
|
|
39
40
|
* If user selects some items directly in a list, selector state may change
|
|
@@ -32,6 +32,7 @@ export declare class TableComponent<T> extends CdkTable<T> implements OnInit, Af
|
|
|
32
32
|
set dataSource(value: T[]);
|
|
33
33
|
selection: ISelection;
|
|
34
34
|
sortedColumn: ISortedItem;
|
|
35
|
+
paginatorUsed: boolean;
|
|
35
36
|
columnsOrderChange: EventEmitter<Array<any>>;
|
|
36
37
|
sortOrderChanged: EventEmitter<ISortedItem>;
|
|
37
38
|
selectionChange: EventEmitter<ISelection>;
|
|
@@ -55,5 +56,5 @@ export declare class TableComponent<T> extends CdkTable<T> implements OnInit, Af
|
|
|
55
56
|
ngOnDestroy(): void;
|
|
56
57
|
ngAfterContentInit(): void;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, [null, null, null, { attribute: "role"; }, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nui-table, table[nui-table]", ["nuiTable"], { "reorderable": { "alias": "reorderable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectionConfig": { "alias": "selectionConfig"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "sortedColumn": { "alias": "sortedColumn"; "required": false; }; }, { "columnsOrderChange": "columnsOrderChange"; "sortOrderChanged": "sortOrderChanged"; "selectionChange": "selectionChange"; }, ["virtualFor"], ["caption", "colgroup, col"], false, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nui-table, table[nui-table]", ["nuiTable"], { "reorderable": { "alias": "reorderable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectionConfig": { "alias": "selectionConfig"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "sortedColumn": { "alias": "sortedColumn"; "required": false; }; "paginatorUsed": { "alias": "paginatorUsed"; "required": false; }; }, { "columnsOrderChange": "columnsOrderChange"; "sortOrderChanged": "sortOrderChanged"; "selectionChange": "selectionChange"; }, ["virtualFor"], ["caption", "colgroup, col"], false, never>;
|
|
59
60
|
}
|
package/package.json
CHANGED