UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

41 lines (40 loc) 1.3 kB
import { WritableSignal } from '@angular/core'; import { TccClarcDate } from '../../../odata/models/shared.model'; export declare namespace TccLogMessage { enum messageType { error = 0, warning = 1, info = 2, success = 3, debug = 4 } interface messageinner { icon: "error" | "warning" | "info" | "success" | "resources-string"; type1: 'error' | 'warning' | 'info' | 'success' | 'debug'; textColor: 'clarcTextError' | 'clarcTextAttention' | 'clarcTextPrimary' | 'clarcTextSuccess' | 'clarcTextGrey'; indicatorColor: 'clarcError' | 'clarcAttention' | 'clarcPrimary' | 'clarcSuccess' | 'clarcGrey'; title: string; } interface message extends messageinner { type: messageType; time: TccClarcDate; text: string; code?: string; height: number; author?: string; } interface LogFilter { info: boolean; success: boolean; warning: boolean; error: boolean; } type messages = Array<message>; } export declare class TccLogMessageComponent { messages: TccLogMessage.messages; message: TccLogMessage.message; isExpanded$: WritableSignal<boolean>; constructor(); resizeMessageContainer(): void; }