@indigina/ui-kit 1.1.348 → 1.1.349
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
|
@@ -3562,6 +3562,7 @@ interface KitGridColumnConfig {
|
|
|
3562
3562
|
width?: number;
|
|
3563
3563
|
filterType?: KitFilterType;
|
|
3564
3564
|
excelFormat?: string;
|
|
3565
|
+
apiField?: string;
|
|
3565
3566
|
}
|
|
3566
3567
|
interface KitGridDataState {
|
|
3567
3568
|
skip: number;
|
|
@@ -3647,13 +3648,14 @@ interface KitFetchExportGridData<T> {
|
|
|
3647
3648
|
sort: KitSortDescriptor[];
|
|
3648
3649
|
filter: KitFilterItem[];
|
|
3649
3650
|
search?: string;
|
|
3651
|
+
columns?: KitGridColumnConfig[];
|
|
3650
3652
|
}
|
|
3651
3653
|
|
|
3652
|
-
declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string) => KitGridColumnConfig;
|
|
3654
|
+
declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string, apiField?: string) => KitGridColumnConfig;
|
|
3653
3655
|
declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
|
|
3654
|
-
declare const kitBuildSortString: (sort?: KitSortDescriptor[]) => string | undefined;
|
|
3656
|
+
declare const kitBuildSortString: (sort?: KitSortDescriptor[], columns?: KitGridColumnConfig[]) => string | undefined;
|
|
3655
3657
|
declare const kitFetchGridData: ({ store, destroyRef, isLoading, fetchAction, fetchFromIndexAction, hasArchiveToggle, }: KitFetchGridDataOptions) => void;
|
|
3656
|
-
declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction, total, sort, filter, search, }: KitFetchExportGridData<T>) => Observable<T>;
|
|
3658
|
+
declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction, total, sort, filter, search, columns, }: KitFetchExportGridData<T>) => Observable<T>;
|
|
3657
3659
|
|
|
3658
3660
|
interface KitGridViewsFetchPayload {
|
|
3659
3661
|
group: string;
|