@one-paragon/angular-utilities 2.6.0 → 2.6.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/index.d.ts
CHANGED
|
@@ -876,6 +876,7 @@ interface BaseGroup {
|
|
|
876
876
|
length: number;
|
|
877
877
|
hasTheData: boolean;
|
|
878
878
|
level: number;
|
|
879
|
+
parent?: BaseGroup;
|
|
879
880
|
}
|
|
880
881
|
interface DataGroup<T extends NoneGroupHeader = any> extends BaseGroup {
|
|
881
882
|
children: T[];
|
|
@@ -1384,7 +1385,7 @@ interface GlobalStorageState {
|
|
|
1384
1385
|
localProfiles: Dictionary<Profile>;
|
|
1385
1386
|
}
|
|
1386
1387
|
|
|
1387
|
-
declare function setCustomGroupBy(customGroupBy: <T extends NoneGroupHeader = any>(data: T[], groupByDatas: GroupedData[], level?: number, metaData?: Dictionary$1<MetaData<T>>,
|
|
1388
|
+
declare function setCustomGroupBy(customGroupBy: <T extends NoneGroupHeader = any>(data: T[], groupByDatas: GroupedData[], level?: number, metaData?: Dictionary$1<MetaData<T>>, parent?: Group) => DataGroup<T>[] | GroupGroup<T>[]): void;
|
|
1388
1389
|
declare function updateGroupByState<T extends NoneGroupHeader = any>(groupedData: any[], { data, groups, expanded, groupSorts }: {
|
|
1389
1390
|
data: Timestamp<T[]>;
|
|
1390
1391
|
groups: Timestamp<GroupedData[]>;
|