@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
67 lines (66 loc) • 2.42 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import { TccET_IAM } from '../../../odata/models/iam.model';
import { TccET_APPLI } from '../../../odata/models/applications.model';
import { TccIcon, TccC4Node, TccTranslation } from '../../../odata/models/shared.model';
import { TccWorkflow } from '../../../odata/models/workflow.model';
import { TccTranslationPipe } from '../../../shared/pipes/tcc-translation/tcc-translation.pipe';
import { AlertType } from '../../models/alert.model';
import { TccLibIcons } from '../../../shared/classes/tcc-register-icons.class';
export interface addonIcon {
icon: string;
color: AlertType;
}
export declare class TccUserThumbnailComponent implements OnInit {
private translationPipe;
set User(user: TccET_IAM.UserInfo);
set Group(group: TccET_IAM.UserGroupInfo);
set Application(application: TccET_APPLI.Capture);
set Workflow(workflow: TccWorkflow.Workflow);
set c4Node(node: TccC4Node);
set UserResponse(user: TccET_IAM.UserResponse);
set Icon(icon: TccIcon);
set source(Source: string);
set Condition(cond: TccET_IAM.Condition);
set addonIcon(addonIcon: addonIcon);
set iconString(icon: string);
UseThumbnail: boolean;
PlaceholderText: string;
FallbackIcon: string;
MouseoverText: string;
ShowCondition: boolean;
Square: boolean;
/**
* nur für maticon oder svgicon
*/
IconSize: string;
BackgroundColor: string;
MatIcon: string;
SVGIcon: string;
Colored: boolean;
initialsOnly: boolean;
onerror: EventEmitter<boolean>;
imgloaded: boolean;
_source: string;
stateIcon: string;
stateClass: string;
stateLockReason: string;
private _lastSource;
_addOnIcon: {
addonMatIconName: string;
addonSvgIconName: string;
addonClass: string;
};
LibIcons: typeof TccLibIcons.Icon;
constructor(translationPipe: TccTranslationPipe);
ngOnInit(): void;
reset(): void;
GetStateIcon(cond: TccET_IAM.Condition): void;
OnLoad(): void;
OnError(): void;
findLink(Icon: TccIcon): string;
checkForIcon(Icon: TccIcon): boolean;
checkForIconPrefix(icon: string): void;
findInitialsDisplayname(displayName: TccTranslation, name: string): string;
findInitials(name: string, forename: string, lastname: string): string;
getaddonClass(color: AlertType, bool: boolean): string;
}