UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

56 lines (55 loc) 2.81 kB
import { TccDesktopToMaskService } from "../../../services/tcc-desktop-to-mask/tcc-desktop-to-mask.service"; import { TccGetBoPropertyService } from "../../../services/tcc-get-bo-property/tcc-get-bo-property.service"; import { TccGetBoProperty } from "../../../classes/tcc-get-bo-property.class"; import { TccInputMaskComponent } from "../../tcc-input-mask/tcc-input-mask.component"; import { TccET_BIZOBJ } from '../../../../odata/models/bizobj.model'; import { TccET_APPLI } from '../../../../odata/models/applications.model'; import { TccField } from "./Infinity/tcc-field"; import { TccTranslationPipe } from "../../../pipes/tcc-translation/tcc-translation.pipe"; import { TccTableField } from "./Infinity/tcc-table-field"; import { TccPosTableComponent } from "../../../../core/components/tcc-pos-table/tcc-pos-table.component"; export declare namespace TccSingularityTypes { interface staticFields { Application: TccET_APPLI.Capture; BusinessObject: TccET_BIZOBJ.BusinessObject; Desktop: TccET_BIZOBJ.Desktop; DesktopToMaskService: TccDesktopToMaskService; InputMask: TccInputMaskComponent; Table?: TccPosTableComponent; Language: string; Version: string; ApplicationName: string; UserName: string; } interface TccCaptureApp { _staticReferences: staticFields; get Document(): TccET_APPLI.Document; CancelTacks(TackIds: string[]): number; DeleteBlob(BlobId: string): boolean; ChangeBlob(BlobId: string, State: number, TackId: string): boolean; CloseStatus(): boolean; CreateTack(TackId: string): boolean; DeleteTacks(Tacks: any): boolean; DisableDesktop(): any; EnableDesktop(): any; ExecuteUserExit(Field: number): boolean; Export(TackId: string, ShowStatus: boolean): number; GetBlobList(Stack: string, Selected: boolean, TackId: string): string[]; } } export declare class TccSingularity { _captureApp: TccSingularityTypes.TccCaptureApp; _translationPipe: TccTranslationPipe; _bopropservice: TccGetBoPropertyService; _currentfield: TccField | TccTableField; _scriptName: string; _scriptInfo: string; BOPropertyService: TccGetBoProperty.Handler; _staticReferences: TccSingularityTypes.staticFields; constructor(_captureApp: TccSingularityTypes.TccCaptureApp, _translationPipe: TccTranslationPipe, _bopropservice: TccGetBoPropertyService); AllowErrorRelease: boolean; AllowExecuteUserexit: boolean; _setCurrentField(propid: string, rownum?: number): void; generateTccField(path: string[], property: TccGetBoProperty.PropertyTypes): TccField; generateTccField(path: string[], property: TccGetBoProperty.PropertyTypes, rownum: number): TccTableField; }