import { ChangeDetectorRef, OnDestroy, OnInit, PipeTransform } from '@angular/core'; import { MatTableDataSource } from '@angular/material/table'; import { Store } from '@ngxs/store'; import { ConfigInterfaceDashboard, WidgetInterface, WidgetParams } from '@barcoding/gridster-core'; import { ModeControllerService, ModeWithRelations, PieceWorkLineControllerService, PieceWorkLineStatusControllerService, PieceWorkLineStatusWithRelations, PieceWorkLineWithRelations, UserControllerService, UserWithRelations, WidgetConfigWithRelations } from '@barcoding/sdk'; import { Observable, Subject, Subscription } from 'rxjs'; import { MatDialog } from '@angular/material/dialog'; import { DataStateChangeEvent } from '@progress/kendo-angular-grid'; import { PageEvent } from '@angular/material/paginator'; import * as i0 from "@angular/core"; export interface PieceWorkInFilters { pw_id?: number; document?: string; user?: UserWithRelations; mode?: ModeWithRelations; status?: PieceWorkLineStatusWithRelations; } export declare class WidgetPieceworkInComponent extends ConfigInterfaceDashboard implements OnInit, OnDestroy, WidgetInterface { modeApi: ModeControllerService; private userApi; store: Store; private cdr; dialog: MatDialog; private statusesApi; private pieceWorkLineApi; configChanged$: Subject; myConfigSubscription: Subscription; isAdmin: boolean; item: WidgetConfigWithRelations; params: WidgetParams; filters: any; displayedColumnsOrg: string[]; displayedColumns: string[]; displayedColumnsSimple: string[]; dataSource: MatTableDataSource; pieceworks$: Observable; total$: Observable; pieceworkSubscription: Subscription; employee: any; status: number; object: any; barcodes: Array; users: UserWithRelations[]; objectSubscription: Subscription; statuses: PieceWorkLineStatusWithRelations[]; currentUserConfig: any; state: Observable; stateSubscription: Subscription; state$: Observable; modes: ModeWithRelations[]; defaultItemMode: any; defaultItemStatus: any; constructor(modeApi: ModeControllerService, userApi: UserControllerService, store: Store, cdr: ChangeDetectorRef, dialog: MatDialog, statusesApi: PieceWorkLineStatusControllerService, pieceWorkLineApi: PieceWorkLineControllerService); getValue(field: string, isMultiLine?: boolean): any; ngOnInit(): void; getMax(row: PieceWorkLineWithRelations): number; registerIn(row: PieceWorkLineWithRelations, qty_in: number, finish: any): void; buildBarcodeList(value: string): void; valueChange(field: any, event: any): void; filterChange(event: any): void; ngOnDestroy(): void; openInForm(row: PieceWorkLineWithRelations): void; changePage(event: PageEvent): void; formatCurrency(value: any, currency: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class FormatTime implements PipeTransform { convertTime(input: any, separator: any): string; transform(value: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }