@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
27 lines (26 loc) • 1.09 kB
TypeScript
import { $EmployeeServices } from '@docsvision/webclient/BackOffice/Employee';
import { $CheckBoxServices } from '@docsvision/webclient/Platform/CheckBox';
import { $TextAreaServices } from '@docsvision/webclient/Platform/TextArea';
import React from 'react';
import { DelegationParameters } from '@docsvision/webclient/BackOffice/DelegationParameters';
export interface DelegationParamsPanelProps {
headerText: string;
buttonText: string;
onCancel: () => void;
onAccept: (delegationParams: DelegationParameters) => void;
services: $EmployeeServices & $TextAreaServices & $CheckBoxServices;
}
export interface DelegationParamsPanelState {
}
export declare class DelegationParamsPanel extends React.Component<DelegationParamsPanelProps, DelegationParamsPanelState> {
private employee;
private comment;
private restrictDelegation;
private returnAfterDelegation;
private attachEmployee;
private attachComment;
private attachRestrictDelegation;
private attachReturnAfterDelegation;
private onAcceptClick;
render(): JSX.Element;
}