@indigina/ui-kit 1.1.362 → 1.1.363
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
|
@@ -3651,9 +3651,9 @@ interface KitFetchGridDataOptions {
|
|
|
3651
3651
|
interface KitFetchExportGridData<T> {
|
|
3652
3652
|
fetchAction(skip: number, take: number, sort?: string, filter?: string): Observable<T>;
|
|
3653
3653
|
fetchIndexAction(skip: number, take: number, sort?: string, filter?: string, searchTerm?: string): Observable<T>;
|
|
3654
|
-
total: number;
|
|
3655
3654
|
sort: KitSortDescriptor[];
|
|
3656
3655
|
filter: KitFilterItem[];
|
|
3656
|
+
total?: number;
|
|
3657
3657
|
search?: string;
|
|
3658
3658
|
columns?: KitGridColumnConfig[];
|
|
3659
3659
|
}
|
|
@@ -3662,7 +3662,7 @@ declare const kitBuildGridColumn: (field: string, title: string, type: KitGridCo
|
|
|
3662
3662
|
declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
|
|
3663
3663
|
declare const kitBuildSortString: (sort?: KitSortDescriptor[], columns?: KitGridColumnConfig[]) => string | undefined;
|
|
3664
3664
|
declare const kitFetchGridData: ({ store, destroyRef, isLoading, fetchAction, fetchFromIndexAction, hasArchiveToggle, }: KitFetchGridDataOptions) => void;
|
|
3665
|
-
declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction,
|
|
3665
|
+
declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction, sort, filter, search, columns, total, }: KitFetchExportGridData<T>) => Observable<T>;
|
|
3666
3666
|
|
|
3667
3667
|
interface KitGridViewsFetchPayload {
|
|
3668
3668
|
group: string;
|