sf-i-events
Version:
Superflows Navigation Component
42 lines • 2.17 kB
TypeScript
declare function createDiagonalPattern1(color: string): CanvasPattern | null;
declare function createDiagonalPattern2(color: string): CanvasPattern | null;
declare function createDiagonalPattern3(color: string): CanvasPattern | null;
declare function readCookie(key: string): string;
declare function callApi(url: string, data: string, authorization: any): Promise<unknown>;
declare function callApiPresignedDelete(url: string): Promise<unknown>;
declare function callApiPresignedGet(url: string): Promise<unknown>;
declare function callApiPresigned(url: string, data: string): Promise<unknown>;
declare function getRandomColor(): string;
declare function isInteger(value: string): boolean;
declare function clearListeners(old_element: HTMLElement): Node;
declare function jsonObjectToHtml(json: any): string;
declare function convertToCSV(arr: any[]): string;
declare function parseCsv(csv: string): any;
declare function titleCase(str: string): string;
declare function alphabeticalSort(arr: string[]): string[];
declare function percentageString(val: number, valTotal: number): string;
declare function getCurrentFiscal(): number;
declare const exportFunctions: {
callApiPresignedDelete: typeof callApiPresignedDelete;
callApiPresignedGet: typeof callApiPresignedGet;
callApiPresigned: typeof callApiPresigned;
jsonObjectToHtml: typeof jsonObjectToHtml;
clearListeners: typeof clearListeners;
isInteger: typeof isInteger;
callApi: typeof callApi;
validateName: (name: string) => boolean;
readCookie: typeof readCookie;
timeSince: (date: number) => string;
createDiagonalPattern1: typeof createDiagonalPattern1;
createDiagonalPattern2: typeof createDiagonalPattern2;
createDiagonalPattern3: typeof createDiagonalPattern3;
getRandomColor: typeof getRandomColor;
convertToCSV: typeof convertToCSV;
parseCsv: typeof parseCsv;
titleCase: typeof titleCase;
alphabeticalSort: typeof alphabeticalSort;
percentageString: typeof percentageString;
getCurrentFiscal: typeof getCurrentFiscal;
};
export default exportFunctions;
//# sourceMappingURL=util.d.ts.map