UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

36 lines (35 loc) 1.33 kB
import * as React from 'react'; import { JobModel, JobStatusModel } from '@lml/cosmo-ts-data'; export interface JobActionBoxProps { jobByStatus: JobStatusModel; job: JobModel; active: boolean; expanded: boolean; allocated: boolean; } export interface JobActionBoxComponentProps extends JobActionBoxProps { username: string; showingDirections: boolean; setJobExpanded: (refId: string) => any; setJobCollapsed: (refId: string) => any; showJobDirections: (refId: string) => any; hideJobDirections: (refId: string) => any; showJobDetails: (refId: string) => any; showDeallocationModal: (job: JobModel) => any; showCloneJobModal: (refId: string) => any; showEditJobModal: (refId: string) => any; showCourierActionModal: (jobRefId: string) => any; showReturnToDepotModal: (refId: string) => any; } export declare class JobActionBoxComponent extends React.Component<JobActionBoxComponentProps, any> { private setExpandedJob; private showOrHideDirections; private showJobDetails; private showCloneJobModal; private showEditJobModal; private showDeallocationModal; private showChangeJobStatusModal; private showReturnToDepotModal; render(): JSX.Element; } export declare const JobActionBox: React.ComponentClass<JobActionBoxProps>;