UNPKG

eva-frontend-utils

Version:

This is a simple utility package

40 lines (39 loc) 955 B
import * as Core from "exceljs"; import { IStringObject } from "../shared/IStringObject"; export interface IXlsInfo { creator: string; company: string; created: Date; title: string; subject: string; } export interface IImage { base64: string; extension: "jpeg" | "png" | "gif"; } interface ILimits { top: number; bottom: number; } interface IPropsElementStyle extends IStringObject { alignment?: Partial<Core.Alignment>; border?: Partial<Core.Borders>; } export interface ICellStyle { columns: ILimits; rowNumberLimit: ILimits; props: IPropsElementStyle; } interface IPropsRowStyle extends IPropsElementStyle { height?: number; font?: Partial<Core.Font>; } export interface IRowStyle { rows: ILimits; props: IPropsRowStyle; } export interface ICellExtendCoreCell extends Core.Cell, IStringObject { } export interface IRowExtendCoreCell extends Core.Row, IStringObject { } export {};