@uuv/assistant
Version:
UUV Helper used to improve the life of testers and developers by generating cucumber phrases from the GUI.
48 lines (47 loc) • 1.55 kB
TypeScript
/**
* Software Name : UUV
*
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT License,
* see the "LICENSE" file for more details
*
* Authors: NJAKO MOLOM Louis Fredice & SERVICAL Stanley
* Software description: Make test writing fast, understandable by any human
* understanding English or French.
*/
export interface HtmlElementProps {
color?: string;
background?: string;
url?: string;
shadow?: string;
rotate?: number;
}
export declare enum MimeTypeEnum {
IMAGE_BMP = "image/bmp",
TEXT_CSS = "text/css",
TEXT_CSV = "text/csv",
IMAGE_GIF = "image/gif",
TEXT_HTML = "text/html",
IMAGE_X_ICON = "image/x-icon",
IMAGE_JPEG = "image/jpeg",
APPLICATION_JAVASCRIPT = "application/javascript",
APPLICATION_JSON = "application/json",
IMAGE_PNG = "image/png",
APPLICATION_PDF = "application/pdf",
APPLICATION_RTF = "application/rtf",
IMAGE_SVG_XML = "image/svg+xml",
APPLICATION_TYPESCRIPT = "application/typescript",
IMAGE_WEBP = "image/webp",
FONT_WOFF = "font/woff",
FONT_WOFF2 = "font/woff2",
APPLICATION_XHTML_XML = "application/xhtml+xml",
APPLICATION_XML = "application/xml",
APPLICATION_ZIP = "application/zip"
}
export declare class CssHelper {
static buttonConfig: (isDark: boolean) => HtmlElementProps;
static expanderConfig: (isDark: boolean, isExtended: boolean) => HtmlElementProps;
static getBase64File(file: any): string;
static iconConfig: (isDark: boolean) => HtmlElementProps;
}