frontend/.pnpm-store/v3/files/86/2550bea1033f4c948c0a784ec854c123aab29afc20aec897051663cf53f568fde042217b46d871f0d4215f7dc95b5508e582c281e97afe534b4df3353e8ed2

28 lines
742 B
Plaintext

import type Context from '../Context';
export type Sorted = {
fn?: Function;
identifier: string | null;
direction: 'asc' | 'desc' | null;
locales?: string;
options?: Object;
};
export type SortingParams = {
locales?: string;
options?: Object;
};
export default class Rows {
private rawRows;
private triggerChange;
private sorted;
constructor(context: Context);
sort(orderBy: Function | string): void;
sortAsc(orderBy: Function | string): void;
sortDesc(orderBy: Function | string): void;
applySorting(params?: {
orderBy: Function | string;
direction?: 'asc' | 'desc' | null;
} | null): any;
private parse;
private getSorted;
}