@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
18 lines (17 loc) • 1.16 kB
TypeScript
import { Ui5ControlMetadata, MatchMode } from "../modules/ui5/types/ui5.types";
export declare class TableHelper {
private static get SMART_TABLE_METADATA();
private static get MDC_TABLE_METADATA();
static getTable(tableId: string): any;
static filterTableByMetadata(tableId: string, tableMetadataName: Ui5ControlMetadata, supportedTablesMetadata: string[]): any;
static getItems(table: any): any[];
static getColumnKeyByLabelText(table: any, labelText: string): string | null;
static getAllColumnValuesByScrolling(table: any, columnName: string, enableScrolling?: boolean, scrollDelay?: number): Promise<string[]>;
static getTableMetadata(tableId: string): Ui5ControlMetadata | undefined;
static filterItems(items: any[], values: string[]): Promise<string[] | undefined>;
static filterItemsWithoutTitle(items: any[]): any[];
static getIdsForItemsByCellValues(rows: any, targetValues: string[], enableHighlighting?: boolean, matchMode?: MatchMode): Promise<string[] | undefined>;
static highlightItems(items: any[]): Promise<void>;
static injectHighlightStyle(): void;
static serializeClass(): string;
}