UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

57 lines (56 loc) 2.25 kB
import { TccET_BIZOBJ } from '../../../odata/models/bizobj.model'; import { TccTranslation } from '../../../odata/models/shared.model'; import { Observable } from 'rxjs'; import { MatDialog } from '@angular/material/dialog'; import { TccGetUserExitData, TccGetUserExitDataService } from '../../../shared/services/tcc-get-user-exit-data/tcc-get-user-exit-data.service'; import { TccTranslationPipe } from '../../../shared/pipes/tcc-translation/tcc-translation.pipe'; import { TccSnackBarService } from '../tcc-snackbar/tcc-snackbar.service'; export declare namespace TccUserExit { interface userexitConfig { businessObject: TccET_BIZOBJ.BusinessObject; propId: string; fieldName: string | TccTranslation; desktop: TccET_BIZOBJ.Desktop; queryFunction: any; isHeader: boolean; inputValue: { field?: string | TccTranslation; value: any; }; dialogConfig?: TccUserExit.DialogConfig; rowIndex?: string; } interface DialogConfig { height?: string; width?: string; panelClass?: string; } } export declare class TccUserExitService { private matDialog; private userExitDataService; private translationPipe; private snackbar; private _ueConfig; constructor(matDialog: MatDialog, userExitDataService: TccGetUserExitDataService, translationPipe: TccTranslationPipe, snackbar: TccSnackBarService); executeUserexit(ueConfig: TccUserExit.userexitConfig): Observable<{ res: TccGetUserExitData.dataRow | TccGetUserExitData.dataRow[]; isHeader: boolean; rowIndex: string; }>; openUeDialog(response: TccGetUserExitData.processResponse): Observable<{ res: TccGetUserExitData.dataRow | TccGetUserExitData.dataRow[]; isHeader: boolean; rowIndex: string; }>; getUserexitData(): Observable<{ res: TccGetUserExitData.dataRow | TccGetUserExitData.dataRow[]; isHeader: boolean; rowIndex: string; }>; userExitCallback(response: TccGetUserExitData.processResponse): Observable<{ res: TccGetUserExitData.dataRow | TccGetUserExitData.dataRow[]; isHeader: boolean; rowIndex: string; }>; }