@docsvision/webclient 6.2.0-beta.1 → 6.2.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/Approval/AgreementHistoryImpl.d.ts +8 -3
  2. package/Approval/ApprovalHistoryTable.d.ts +0 -3
  3. package/Approval/IApprovalHistoryTableProps.d.ts +4 -1
  4. package/Approval/IApprovalHistoryTableState.d.ts +0 -3
  5. package/BackOffice/$DigitalSignature.d.ts +27 -0
  6. package/BackOffice/AddressImpl.d.ts +1 -0
  7. package/BackOffice/DepartmentImpl.d.ts +7 -0
  8. package/BackOffice/DigitalSignatureService.d.ts +3 -1
  9. package/BackOffice/FileListConstants.d.ts +1 -0
  10. package/BackOffice/FileListControlLogic.d.ts +1 -1
  11. package/BackOffice/Powers.d.ts +2 -0
  12. package/BackOffice/PowersImpl.d.ts +2 -0
  13. package/BackOffice/PrintButton.d.ts +3 -1
  14. package/BackOffice/SetEmployeeCertificate.d.ts +1 -0
  15. package/BackOffice/StaffDirectoryItems.stories.d.ts +23 -0
  16. package/BackOffice/TaskGroupStatusComponent.d.ts +7 -0
  17. package/BackOffice/TaskGroupStatusTableComponent.d.ts +5 -0
  18. package/BackOffice/TaskGroupStatusTableRowComponent.d.ts +9 -0
  19. package/BackOffice/TaskGroupWorkStatus.d.ts +22 -0
  20. package/BackOffice/TaskGroupWorkStatusContainer.d.ts +11 -0
  21. package/BackOffice/TaskGroupWorkStatusLogic.d.ts +13 -0
  22. package/BackOffice/TaskGroupWorkStatusOptions.d.ts +18 -0
  23. package/BackOffice/TaskGroupWorkStatusView.d.ts +10 -0
  24. package/BackOffice/TaskGroupWrapper.d.ts +3 -0
  25. package/BackOffice/UserProfile.d.ts +1 -0
  26. package/Generated/DocsVision.WebClient.Controllers.d.ts +46 -5
  27. package/Generated/DocsVision.WebClient.Models.d.ts +451 -129
  28. package/Helpers/Button.d.ts +4 -1
  29. package/Helpers/DropdownButton/DropdownButton.d.ts +2 -0
  30. package/Helpers/FileViewZip/FileViewZip.d.ts +47 -0
  31. package/Helpers/FileViewZip/FileViewZipModal.d.ts +24 -0
  32. package/Helpers/IconButton.d.ts +1 -0
  33. package/Helpers/Menu/AdaptiveMenuBar.d.ts +1 -0
  34. package/Helpers/Menu/DesktopMenuBar.d.ts +1 -0
  35. package/Helpers/Menu/MobileMenuBar.d.ts +1 -0
  36. package/Helpers/MessageBox/MessageBox.d.ts +1 -0
  37. package/Helpers/ModalHost.d.ts +1 -0
  38. package/Helpers/PeriodicDebounce.d.ts +1 -0
  39. package/Helpers/PopoverHelpers/Popover.d.ts +1 -0
  40. package/Helpers/TextInput.d.ts +1 -0
  41. package/Legacy/StandardControllers.d.ts +1 -1
  42. package/Legacy/Utils.d.ts +9 -0
  43. package/Libs/CryptoPro/Crypto.d.ts +3 -0
  44. package/Platform/$EmployeeStatus.d.ts +9 -0
  45. package/Platform/$FolderMenuManagement.d.ts +12 -0
  46. package/Platform/AggregatesTree.d.ts +1 -1
  47. package/Platform/AggregatesTreeLoader.d.ts +1 -1
  48. package/Platform/CardLink.d.ts +2 -0
  49. package/Platform/DateTimePicker.d.ts +1 -0
  50. package/Platform/DateTimePickerImpl.d.ts +1 -1
  51. package/Platform/DropdownImpl.d.ts +6 -0
  52. package/Platform/EmployeeStatusService.d.ts +2 -0
  53. package/Platform/FilePicker.d.ts +3 -0
  54. package/Platform/FilePickerImpl.d.ts +11 -0
  55. package/Platform/FilePickerMenuItemsView.d.ts +1 -0
  56. package/Platform/FilePickerOperations.d.ts +1 -0
  57. package/Platform/FilePickerOperationsAvailability.d.ts +1 -0
  58. package/Platform/FolderDashboardWidgetImpl.d.ts +0 -1
  59. package/Platform/FolderDataLoadingService.d.ts +1 -1
  60. package/Platform/FolderGroupDashboardWidgetImpl.d.ts +0 -1
  61. package/Platform/FolderMainMenuItem.d.ts +2 -1
  62. package/Platform/FolderMainMenuItemImpl.d.ts +3 -0
  63. package/Platform/FolderManagementAdaptiveMenu.d.ts +12 -1
  64. package/Platform/FolderMenuManagementService.d.ts +14 -0
  65. package/Platform/FolderWebFrameRouteHandler.d.ts +1 -1
  66. package/Platform/IFilePickerMenuOpeningArgs.d.ts +4 -0
  67. package/Platform/TabImpl.d.ts +1 -0
  68. package/Platform/UnreadCounter.d.ts +1 -0
  69. package/Platform/WebFrameUserPanel.d.ts +2 -1
  70. package/StandardServices.d.ts +2 -1
  71. package/System/DateFormats.d.ts +3 -1
  72. package/System/InputBasedControlImpl.d.ts +0 -1
  73. package/System/TaskGroupWorkStatusStub.d.ts +62 -0
  74. package/System/TooltipUtils.d.ts +6 -0
  75. package/package.json +1 -1
  76. package/Legacy/TaskGroupWorkStatusRazorControl.d.ts +0 -5
@@ -12,7 +12,7 @@ export interface IAgreementHistoryState extends IBaseControlState, AgreementHist
12
12
  isHistoryDataReceived: boolean;
13
13
  loading: boolean;
14
14
  maximized: boolean;
15
- lastLoadedData: GenModels.ApprovalHistoryViewModel;
15
+ selectedCycle: number;
16
16
  }
17
17
  /** @internal */
18
18
  export declare type AgreementHistoryImplState = IAgreementHistoryState;
@@ -34,7 +34,8 @@ export declare class AgreementHistoryImpl extends BaseControlImpl<AgreementHisto
34
34
  /** Можно ли показать отчёт. */
35
35
  canShowReport(): boolean;
36
36
  /** Загрузить историю. */
37
- loadData(): Promise<GenModels.ApprovalHistoryViewModel>;
37
+ loadData(cycle: number): Promise<GenModels.ApprovalHistoryViewModel>;
38
+ updateCycleData(existingModel: GenModels.ApprovalHistoryViewModel, newCycleData: GenModels.ApprovalHistoryViewModel): void;
38
39
  /**
39
40
  * Отрисовать содержимое диалогового окна
40
41
  * @param dialog Диалог
@@ -42,7 +43,11 @@ export declare class AgreementHistoryImpl extends BaseControlImpl<AgreementHisto
42
43
  */
43
44
  private renderDialogContent;
44
45
  /** Обновить отчёт. */
45
- refreshReport(): void;
46
+ refreshReport(selectedCycle: number): void;
47
+ /** Mark other cycles as not loaded, to load them again on demand. */
48
+ resetCyclesData(model: GenModels.ApprovalHistoryViewModel): void;
49
+ onCycleSelected(cycle: number): Promise<void>;
50
+ private updateTable;
46
51
  /** Показан ли отчёт. */
47
52
  get isReportShown(): boolean;
48
53
  protected getCssClass(): string;
@@ -5,14 +5,11 @@ import React from "react";
5
5
  export declare class ApprovalHistoryTable extends React.Component<IApprovalHistoryTableProps, IApprovalHistoryTableState> {
6
6
  /** @internal */
7
7
  constructor(props: IApprovalHistoryTableProps);
8
- /** @internal */
9
- UNSAFE_componentWillReceiveProps(nextProps: IApprovalHistoryTableProps, nextContext: any): void;
10
8
  /** При клике на цикл. */
11
9
  protected handleCycleClick(cycleNumber: any): void;
12
10
  /** При клике на обновление. */
13
11
  protected onRefreshClick(): void;
14
12
  protected onRefreshClickEmptyStory(): void;
15
- private updateCurrentCycle;
16
13
  /** @internal */
17
14
  render(): JSX.Element;
18
15
  }
@@ -17,9 +17,12 @@ import { $FilePreview } from "@docsvision/webclient/Platform/$FilePreview";
17
17
  /** @internal */
18
18
  export interface IApprovalHistoryTableProps {
19
19
  data: GenModels.ApprovalHistoryViewModel;
20
+ selectedCycle: number;
20
21
  approvingReportRefreshing: CancelableEvent<IApprovingReportRefreshingEventArgs>;
21
22
  approvingReportRefreshed: SimpleEvent<IApprovingReportRefreshedEventArgs>;
22
- refreshRequested: Function;
23
+ refreshRequested: (selectedCycle: number) => void;
24
+ loadCycle: (selectedCycle: number) => void;
25
+ onCycleSelected: (selectedCycle: number) => void;
23
26
  inline?: boolean;
24
27
  services: $FileController & $LayoutFileController & $DeviceType & $CardId & $ApplicationSettings & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $Layout & $RouterNavigation & $FilePreview;
25
28
  stageRenderer?: IAgreementHistoryStageRenderer;
@@ -1,6 +1,3 @@
1
- import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
1
  /** @internal */
3
2
  export interface IApprovalHistoryTableState {
4
- currentCycle: number;
5
- cycleData: GenModels.ApprovalHistoryCycleModel;
6
3
  }
@@ -1,4 +1,5 @@
1
1
  import { ISignatureDialogProps } from "@docsvision/webclient/BackOffice/SignatureDialog";
2
+ import { IGetCertificateResult } from "@docsvision/webclient/BackOffice/IGetCertificateResult";
2
3
  import { IDigitalSignatureDialogManagement } from "@docsvision/webclient/BackOffice/IDigitalSignatureDialogManagement";
3
4
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
5
  import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
@@ -44,6 +45,8 @@ export interface IDigitalSignOptions {
44
45
  /** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
45
46
  cardInfo?: GenModels.CardInfoModel;
46
47
  powerOfAttorneyID?: string;
48
+ /** Параметр позволяет задать явно тип подписи, если вызывающий код хочет отменить стандартную логику выбора. */
49
+ signatureType?: GenModels.DigitalSignatureKind;
47
50
  }
48
51
  export declare class IEncryptedInfo {
49
52
  /** Идентификатор карточки документа */
@@ -94,6 +97,15 @@ export interface IDigitalSignatureService {
94
97
  showSignatureMethodsSetupDialog(): Promise<void>;
95
98
  /** Предоставляет доступ к управлению текущим отображаемым диалогом подписи. */
96
99
  getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
100
+ /** Запрашивает у пользователя сертификат. */
101
+ showSelectCertificateDialog(documentId: string, dialogProps?: Partial<ISignatureDialogProps>): Promise<IExtendedCertificateInfo>;
102
+ /**
103
+ * Позволяет подписать данные с заранее выбранным сертификатом. Используется локальный криптосервис.
104
+ *
105
+ * @param {string} certificate - сертификат в base-64, можно получить с помощью метода showSelectCertificateDialog - data.certificate.
106
+ * @param {string} dataToSign - строка, закодированная в base-64 из бинарных данных см. WindowBase64.btoa().
107
+ */
108
+ signDataWithCertificate(certificate: string, dataToSign: string): Promise<string>;
97
109
  /** Событие, генерируемое перед открытием диалога подписи. Позволяет изменить параметры отображения диалога. */
98
110
  beforeSignatureDialogShown: Event<IBeforeSignatureDialogShowEventArgs>;
99
111
  /** Событие, генерируемое после открытия диалога подписи. Предоставляет доступ к управлению диалогом. */
@@ -111,3 +123,18 @@ export interface BeforeSignatureDialogShowEventArgs extends IBeforeSignatureDial
111
123
  }
112
124
  export interface AfterSignatureDialogShowEventArgs extends IAfterSignatureDialogShowEventArgs {
113
125
  }
126
+ export interface ICertificateThumbprintPair {
127
+ powerOfAttorney?: string;
128
+ certificate: string;
129
+ }
130
+ export interface IExtendedCertificateInfo {
131
+ certificateThumbprint: string;
132
+ certificate: string;
133
+ powerOfAttorney: string;
134
+ signatureMethod: SignatureMethod;
135
+ cloudSignatureInfo?: IGetCertificateResult;
136
+ }
137
+ export interface ISignatureMethodPowerOfAttorneyPair {
138
+ signatureMethod: SignatureMethod;
139
+ powerOfAttorney: string;
140
+ }
@@ -24,5 +24,6 @@ export declare class AddressImpl extends InputBasedControlImpl<GenModels.Address
24
24
  clear(): void;
25
25
  validate(params: unknown): IValidationResult;
26
26
  protected onInputChange(event: any): void;
27
+ protected editInPlaceModeRender(): React.ReactNode;
27
28
  protected renderInput(): React.ReactNode;
28
29
  }
@@ -12,6 +12,8 @@ import React from "react";
12
12
  import { InputBasedControl } from "@docsvision/webclient/System/InputBasedControl";
13
13
  /** @internal */
14
14
  export interface IDepartmentState extends DepartmentParams, IInputBasedControlState<GenModels.DepartmentModel> {
15
+ lastBlurEvent: React.FocusEvent;
16
+ onMouseDownEvent: boolean;
15
17
  binding: IBindingResult<GenModels.DepartmentModel>;
16
18
  requestHelper: RequestHelper;
17
19
  directoryDialogSelectedValue: GenModels.DepartmentModel;
@@ -36,6 +38,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
36
38
  protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
37
39
  protected get itemTypes(): GenModels.SearchDepartmentType;
38
40
  protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
41
+ setValue(value: GenModels.DepartmentModel, redraw: boolean): void;
39
42
  protected onSelected(variant: ITypeaheadVariant): void;
40
43
  showDictionary(): Promise<void>;
41
44
  hideDictionary(): void;
@@ -48,5 +51,9 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
48
51
  private onMaximize;
49
52
  get isDictionaryShown(): boolean;
50
53
  protected renderDialog: () => JSX.Element;
54
+ protected onMouseDownIcon(): void;
55
+ protected onButtonBlur(event: React.FocusEvent): void;
56
+ protected onInputBlur(event: React.FocusEvent): void;
57
+ protected onMouseDown(): void;
51
58
  protected renderInputWithPlaceholder(): React.ReactNode;
52
59
  }
@@ -1,5 +1,5 @@
1
1
  import { ISignatureDialogProps } from "@docsvision/webclient/BackOffice/SignatureDialog";
2
- import { IAfterSignatureDialogShowEventArgs, IBeforeSignatureDialogShowEventArgs, IDigitalSignatureService, IDigitalSignOptions, IEncryptedInfo, ISignatureDialogOptions, ITaskEncryptedInfo } from "@docsvision/webclient/BackOffice/$DigitalSignature";
2
+ import { IAfterSignatureDialogShowEventArgs, IBeforeSignatureDialogShowEventArgs, IDigitalSignatureService, IDigitalSignOptions, IEncryptedInfo, IExtendedCertificateInfo, ISignatureDialogOptions, ITaskEncryptedInfo } from "@docsvision/webclient/BackOffice/$DigitalSignature";
3
3
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
4
  import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
5
5
  import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
@@ -46,4 +46,6 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
46
46
  cloudSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
47
47
  cloudTaskSign(params: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
48
48
  private getCloudSignData;
49
+ showSelectCertificateDialog(documentId: string, dialogProps?: Partial<ISignatureDialogProps>): Promise<IExtendedCertificateInfo>;
50
+ signDataWithCertificate(certificate: string, dataToSign: any): Promise<string>;
49
51
  }
@@ -10,4 +10,5 @@ export declare class FileListAcceptExtensions {
10
10
  export declare class FileListPowerOfAttorneyData {
11
11
  static FEDERAL_TAX_SERVICE_WEB_SEARCH_URL: string;
12
12
  static FEDERAL_TAX_SERVICE_WEB_SEARCH_URL_POA_NUMBER_PARAMETER: string;
13
+ static FEDERAL_TAX_SERVICE_WEB_SEARCH_URL_GUID_PARAMETER: string;
13
14
  }
@@ -17,7 +17,7 @@ export declare class FileListControlLogic {
17
17
  filesToRemove: FileListItem[];
18
18
  openedInEditorFiles: string[];
19
19
  static readonly illegalFileNameCharacters: RegExp;
20
- static readonly terminalServiceUrl: string;
20
+ static readonly terminalServiceUrl = "http://localhost:5050/";
21
21
  constructor(forceUpdate?: () => void);
22
22
  init(_mainAttach: FileListAttachedElements, _extraAttach: FileListAttachedElements, _parent: FileListControlImpl): void;
23
23
  loadFilesFromModel(model: GenModels.FileListDataModel, oldFiles?: FileListItem[]): FileListItem[];
@@ -21,6 +21,8 @@ export declare class PowersParams<ValueT extends PowersValueType = PowersValueTy
21
21
  selectedItem?: ItemT;
22
22
  /** Сохранять разметку при изменении значения */
23
23
  saveOnChangeValue?: boolean;
24
+ /** Доступен ли выбор из списка последних. */
25
+ enableFavorites?: boolean;
24
26
  /**
25
27
  * Событие, возникающее перед выполнением поиска записей на сервере. В обработчике события можно изменить параметры запроса.
26
28
  * Если в обработчике задать значение result, то запрос на сервер выполнен не будет.
@@ -23,6 +23,8 @@ export declare class PowersImpl extends DirectoryBaseImpl<PowersValueType, Power
23
23
  constructor(props: PowersParams, state: IPowersState);
24
24
  protected getTextValue(): string;
25
25
  protected getCssClass(): string;
26
+ private shouldShowFavorites;
27
+ protected onInputAndPlaceholderClick(): void;
26
28
  protected onInputChange(event: any): Promise<void>;
27
29
  protected getIconClassName(): string;
28
30
  hasValue(): boolean;
@@ -14,7 +14,9 @@ export declare class PrintButtonParams extends BaseControlParams {
14
14
  /** Стандартный CSS класс со стилями элемента управления */
15
15
  standardCssClass?: string;
16
16
  /** Текст кнопки операции. */
17
- labelText?: string;
17
+ buttonText?: string;
18
+ /** Иконка кнопки операции. */
19
+ iconClass?: string;
18
20
  /** Список шаблонов */
19
21
  availableTemplates: GenModels.TransformationDataModel[];
20
22
  /** Сервисы */
@@ -13,5 +13,6 @@ export declare const EMPLOYEE_CERTIFICATE_INFO_BLOCK_NAME = "certificateInfoBloc
13
13
  export declare const EMPLOYEE_CERTIFICATE_OPTIONS_BLOCK_NAME = "certificateOptionsBlock";
14
14
  export declare function showUseCloudCertificateCheckbox(sender: Tab): Promise<void>;
15
15
  export declare function getEmployeeCertificate(sender: Tab): Promise<void>;
16
+ export declare function getMainInfoCertificateField(infoString: string): string;
16
17
  export declare function prepareEmployeeCertificate(sender: FilePicker): Promise<void>;
17
18
  export declare function saveEmployeeCertificate(sender: LayoutControl): Promise<void>;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ declare const _default:
3
+ import("@storybook/csf").ComponentAnnotations<
4
+ import("@storybook/react").ReactFramework,
5
+ import("./StaffDirectoryItems").StaffDirectoryItemsParams<
6
+ import("./StaffDirectoryItems").StaffValueType>>;
7
+ export default _default;
8
+ export declare const Edit: () => JSX.Element;
9
+ export declare const EditDisable: () => JSX.Element;
10
+ export declare const EditWithHoverIcon: () => JSX.Element;
11
+ export declare const EditSingleSelection: () => JSX.Element;
12
+ export declare const EditMultipleSelection: () => JSX.Element;
13
+ export declare const EditInPlace: () => JSX.Element;
14
+ export declare const EditInPlaceDisable: () => JSX.Element;
15
+ export declare const EditInPlaceSingleSelection: () => JSX.Element;
16
+ export declare const EditInPlaceMultipleSelection: () => JSX.Element;
17
+ export declare const ViewSingleSelection: () => JSX.Element;
18
+ export declare const ViewMultipleSelection: () => JSX.Element;
19
+ export declare const SelectDialogWithGroups: () => JSX.Element;
20
+ export declare const SelectDialogWithDepartment: () => JSX.Element;
21
+ export declare const SelectDialogWithStaff: () => JSX.Element;
22
+ export declare const SelectDialogWithSingleSelectionStaff: () => JSX.Element;
23
+ export declare const SelectDialogWithMultipleSelectionStaff: () => JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ export interface ITaskGroupStatusComponentProps {
4
+ executionType: GenModels.ExecutionType;
5
+ executionTypeName: string;
6
+ }
7
+ export declare function TaskGroupStatusComponent(props: ITaskGroupStatusComponentProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface ITaskGroupStatusTableComponentProps {
3
+ renderRows: () => React.ReactElement[];
4
+ }
5
+ export declare function TaskGroupStatusTableComponent(props: ITaskGroupStatusTableComponentProps): JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
4
+ export interface ITaskGroupStatusTableRowComponentProps {
5
+ taskItem: GenModels.LinkedTaskModel;
6
+ responsible?: string;
7
+ services: $ApplicationSettings;
8
+ }
9
+ export declare function TaskGroupStatusTableRowComponent(props: ITaskGroupStatusTableRowComponentProps): JSX.Element;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { TaskGroupWorkStatusLogic } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusLogic";
3
+ import { TaskGroupWorkStatusParams } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusOptions";
4
+ import { TaskGroupWorkStatusView } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusView";
5
+ import { BaseControl } from "@docsvision/webclient/System/BaseControl";
6
+ import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
7
+ import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
8
+ export interface ITaskGroupWorkStatusState extends BaseControlImplState, TaskGroupWorkStatusParams {
9
+ logic: TaskGroupWorkStatusLogic;
10
+ view: TaskGroupWorkStatusView;
11
+ }
12
+ /**
13
+ * Класс элемента управления TaskGroupWorkStatus.
14
+ */
15
+ export declare class TaskGroupWorkStatus extends BaseControl<TaskGroupWorkStatusParams, ITaskGroupWorkStatusState> {
16
+ construct(): void;
17
+ private set setContent(value);
18
+ private set setBinding(value);
19
+ protected createParams(): TaskGroupWorkStatusParams;
20
+ protected createImpl(): ControlImpl;
21
+ renderControl(): JSX.Element;
22
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { TaskGroupWorkStatusLogic } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusLogic";
3
+ import { TaskGroupWorkStatusParams } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusOptions";
4
+ import { TaskGroupWorkStatusView } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusView";
5
+ import { HtmlProps } from "@docsvision/web/core/component";
6
+
7
+ export interface ITaskGroupWorkStatusContainerProps extends TaskGroupWorkStatusParams, HtmlProps.div {
8
+ logic: TaskGroupWorkStatusLogic;
9
+ view: TaskGroupWorkStatusView;
10
+ }
11
+ export declare function TaskGroupWorkStatusContainer(props: ITaskGroupWorkStatusContainerProps): JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { TaskGroupWorkStatusParams } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusOptions";
2
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
+ export declare class TaskGroupWorkStatusLogic {
4
+ options: TaskGroupWorkStatusParams;
5
+ constructor(options: TaskGroupWorkStatusParams);
6
+ domain:
7
+ import("effector").Domain;
8
+ $taskGroupExecutionTasks:
9
+ import("effector").Store<GenModels.TaskGroupExecutionTasksModel>;
10
+ setTaskGroupExecutionTasks:
11
+ import("effector").Event<GenModels.TaskGroupExecutionTasksModel>;
12
+ init(): void;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { TaskGroupWorkStatusLogic } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusLogic";
2
+ import { TaskGroupWorkStatusView } from "@docsvision/webclient/BackOffice/TaskGroupWorkStatusView";
3
+ import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
4
+ import { BaseControlParams } from "@docsvision/webclient/System/BaseControl";
5
+ import { IControlOptions } from "@docsvision/webclient/System/IControlOptions";
6
+ import { Optional } from "@docsvision/web/core/services";
7
+ /**
8
+ * Содержит публичные свойства элемента управления [TaskGroupWorkStatus]{@link TaskGroupWorkStatus}.
9
+ */
10
+ export declare class TaskGroupWorkStatusParams extends BaseControlParams {
11
+ /** Стандартный CSS класс со стилями элемента управления */
12
+ standardCssClass?: string;
13
+ services?: Optional<$TaskGroupWorkStatusOptions> & $ApplicationSettings;
14
+ }
15
+ export declare type $TaskGroupWorkStatusOptions = {
16
+ taskGroupWorkStatusOptions: IControlOptions<TaskGroupWorkStatusParams, TaskGroupWorkStatusLogic, TaskGroupWorkStatusView>;
17
+ };
18
+ export declare const $TaskGroupWorkStatusOptions: string | ((model?: $TaskGroupWorkStatusOptions) => IControlOptions<TaskGroupWorkStatusParams, TaskGroupWorkStatusLogic, TaskGroupWorkStatusView>);
@@ -0,0 +1,10 @@
1
+ import { TaskGroupStatusComponent } from "@docsvision/webclient/BackOffice/TaskGroupStatusComponent";
2
+ import { TaskGroupStatusTableComponent } from "@docsvision/webclient/BackOffice/TaskGroupStatusTableComponent";
3
+ import { TaskGroupStatusTableRowComponent } from "@docsvision/webclient/BackOffice/TaskGroupStatusTableRowComponent";
4
+ import { TaskGroupWrapper } from "@docsvision/webclient/BackOffice/TaskGroupWrapper";
5
+ export declare class TaskGroupWorkStatusView {
6
+ taskGroupWrapper: typeof TaskGroupWrapper;
7
+ taskGroupStatus: typeof TaskGroupStatusComponent;
8
+ taskGroupTable: typeof TaskGroupStatusTableComponent;
9
+ taskGroupTableRow: typeof TaskGroupStatusTableRowComponent;
10
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { HtmlProps } from "@docsvision/web/core/component";
3
+ export declare function TaskGroupWrapper(props: HtmlProps.div): JSX.Element;
@@ -27,6 +27,7 @@ export declare function displayInformationOfAbsence(sender: LayoutControl): void
27
27
  export declare function getDefaultImage(sender: Image): Promise<void>;
28
28
  export declare function onCardSaving_checkSequenceOfDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): boolean;
29
29
  export declare function setEmployeeStatus(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>, isCurrentEmployee: boolean): Promise<void>;
30
+ export declare function resetUserAvatarCache(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): void;
30
31
  export declare function setShowArchivedCardsFromSettings(sender: LayoutControl): void;
31
32
  export declare function setShowArchivedCardsToSettings(sender: LayoutControl, e?: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
32
33
  export declare function onCardSaving_checkDeputyTableAndDates(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
@@ -1231,6 +1231,18 @@ export declare namespace GenControllers {
1231
1231
  * Получение файла с поддержкой AllowAnonymous. AccessToken не удаляется автоматически.
1232
1232
  */
1233
1233
  getFile(accessToken: string, options?: RequestOptions): Promise<any>;
1234
+ /**
1235
+ * Блокирует файл с поддержкой AllowAnonymous. AccessToken не удаляется автоматически.
1236
+ */
1237
+ lockFile(accessToken: string, options?: RequestOptions): Promise<any>;
1238
+ /**
1239
+ * Разблокирует файл с поддержкой AllowAnonymous. AccessToken не удаляется автоматически.
1240
+ */
1241
+ unlockFile(accessToken: string, options?: RequestOptions): Promise<any>;
1242
+ /**
1243
+ * Разблокирует файл с поддержкой AllowAnonymous. AccessToken не удаляется автоматически.
1244
+ */
1245
+ unlockFileEx(accessToken: string, options?: RequestOptions): Promise<any>;
1234
1246
  /**
1235
1247
  * Добавление новой версии файла. AccessToken удаляется автоматически.
1236
1248
  */
@@ -1251,6 +1263,9 @@ export declare namespace GenControllers {
1251
1263
  class R7OfficeController extends ControllerBase implements IR7OfficeController {
1252
1264
  getFilePreview(accessToken: string, options?: RequestOptions): Promise<any>;
1253
1265
  getFile(accessToken: string, options?: RequestOptions): Promise<any>;
1266
+ lockFile(accessToken: string, options?: RequestOptions): Promise<any>;
1267
+ unlockFile(accessToken: string, options?: RequestOptions): Promise<any>;
1268
+ unlockFileEx(accessToken: string, options?: RequestOptions): Promise<any>;
1254
1269
  updateFile(form: Array<Array<string>>, options?: RequestOptions): Promise<any>;
1255
1270
  removeAccessToken(accessToken: string, options?: RequestOptions): Promise<any>;
1256
1271
  getAccessToken(fileCardId: string, versionId: string, ownerCardId: string, options?: RequestOptions): Promise<any>;
@@ -1899,6 +1914,10 @@ export declare namespace GenControllers {
1899
1914
  * POST: /FilePicker/GetFile
1900
1915
  */
1901
1916
  prepareFileDownload(request: GenModels.FilePickerRequestModel, options?: RequestOptions): Promise<void>;
1917
+ /**
1918
+ * POST: /FilePicker/GetViewZipContent
1919
+ */
1920
+ getViewZipContent(request: GenModels.FilePickerGetViewZipContentRequestModel, options?: RequestOptions): Promise<Array<GenModels.FilePickerViewZipItemModel>>;
1902
1921
  }
1903
1922
  class FilePickerController extends ControllerBase implements IFilePickerController {
1904
1923
  createFile(formCollection: Array<Array<string>>, options?: RequestOptions): Promise<any>;
@@ -1906,6 +1925,7 @@ export declare namespace GenControllers {
1906
1925
  replaceFile(formCollection: Array<Array<string>>, options?: RequestOptions): Promise<any>;
1907
1926
  getFile(request: GenModels.FilePickerGetFileRequestModel, options?: RequestOptions): Promise<GenModels.FileCardModel>;
1908
1927
  prepareFileDownload(request: GenModels.FilePickerRequestModel, options?: RequestOptions): Promise<void>;
1928
+ getViewZipContent(request: GenModels.FilePickerGetViewZipContentRequestModel, options?: RequestOptions): Promise<Array<GenModels.FilePickerViewZipItemModel>>;
1909
1929
  }
1910
1930
  }
1911
1931
  export declare type $FilePickerController = {
@@ -2020,6 +2040,15 @@ export declare namespace GenControllers {
2020
2040
  * @returns JSON representation of {@link GenModels}
2021
2041
  */
2022
2042
  getAgreementHistory(reconcileCardId: string, options?: RequestOptions): Promise<GenModels.ApprovalHistoryViewModel>;
2043
+ /**
2044
+ * Get agreement history
2045
+ *
2046
+ * @param reconcileCardId Reconcile card id
2047
+ * @param cycle Zero-based cycle number, or -1 to get last cycle, or null to load all cycles.
2048
+ *
2049
+ * @returns JSON representation of {@link GenModels}
2050
+ */
2051
+ getAgreementHistoryCycle(reconcileCardId: string, cycle: number, options?: RequestOptions): Promise<GenModels.ApprovalHistoryViewModel>;
2023
2052
  }
2024
2053
  class LayoutAgreementController extends ControllerBase implements ILayoutAgreementController {
2025
2054
  getAgreementList(cardId: string, options?: RequestOptions): Promise<GenModels.AgreementListModel>;
@@ -2034,6 +2063,7 @@ export declare namespace GenControllers {
2034
2063
  agreementPause(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
2035
2064
  agreementResume(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
2036
2065
  getAgreementHistory(reconcileCardId: string, options?: RequestOptions): Promise<GenModels.ApprovalHistoryViewModel>;
2066
+ getAgreementHistoryCycle(reconcileCardId: string, cycle: number, options?: RequestOptions): Promise<GenModels.ApprovalHistoryViewModel>;
2037
2067
  }
2038
2068
  }
2039
2069
  export declare type $LayoutAgreementController = {
@@ -2220,12 +2250,13 @@ export declare namespace GenControllers {
2220
2250
  */
2221
2251
  checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
2222
2252
  /**
2223
- * Exports zip-archive with electronic signature files
2253
+ * Exports zip-archive with electronic signature files.
2224
2254
  *
2225
- * @param cardId Document card identifier
2226
- * @param signatureFormat Signature export format
2255
+ * @param cardId Document card identifier.
2256
+ * @param signatureFormat Signature export format.
2257
+ * @param includeAdditionalFiles Need include additional files.
2227
2258
  */
2228
- exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2259
+ exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, includeAdditionalFiles: boolean, options?: RequestOptions): Promise<any>;
2229
2260
  /**
2230
2261
  * Exports zip-archive with electronic signature files and powers of attorney (with signatures if exists)
2231
2262
  *
@@ -2258,7 +2289,7 @@ export declare namespace GenControllers {
2258
2289
  sendForAcquaintance(request: GenModels.SendForAcquaintanceRequest, options?: RequestOptions): Promise<void>;
2259
2290
  getCheckUniqueAttributes(documentId: string, options?: RequestOptions): Promise<Array<GenModels.UniqueAttribute>>;
2260
2291
  checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
2261
- exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2292
+ exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, includeAdditionalFiles: boolean, options?: RequestOptions): Promise<any>;
2262
2293
  exportESignWithPowerOfAttorney(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2263
2294
  exportSignature(exportSignatureRequest: GenModels.ExportSignatureRequest, options?: RequestOptions): Promise<any>;
2264
2295
  downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
@@ -2727,10 +2758,18 @@ export declare namespace GenControllers {
2727
2758
  * @param query search string
2728
2759
  */
2729
2760
  getParentDepartments(query: GenModels.GetParentDepartmentsRequest, options?: RequestOptions): Promise<Array<GenModels.DepartmentModel>>;
2761
+ /**
2762
+ * Get employee image by employee id
2763
+ */
2764
+ getEmployeeImageWithUpdate(employeeId: string, imageHash?: string, options?: RequestOptions): Promise<string>;
2730
2765
  /**
2731
2766
  * Get employee image by employee id
2732
2767
  */
2733
2768
  getEmployeeImage(employeeId: string, imageHash?: string, options?: RequestOptions): Promise<string>;
2769
+ /**
2770
+ * Get employee display string by employee id
2771
+ */
2772
+ getEmployeeDisplayName(employeeId: string, options?: RequestOptions): Promise<string>;
2734
2773
  /**
2735
2774
  * Get employee default icon by employee id
2736
2775
  */
@@ -2770,7 +2809,9 @@ export declare namespace GenControllers {
2770
2809
  loadDepartmentsFlat(query: GenModels.DepartmentLoadFlatQuery, options?: RequestOptions): Promise<GenModels.DepartmentLoadFlatResponse>;
2771
2810
  findInDepartmentsFlat(query: GenModels.DepartmentSearchFlatQuery, options?: RequestOptions): Promise<GenModels.DepartmentSearchFlatResponse>;
2772
2811
  getParentDepartments(query: GenModels.GetParentDepartmentsRequest, options?: RequestOptions): Promise<Array<GenModels.DepartmentModel>>;
2812
+ getEmployeeImageWithUpdate(employeeId: string, imageHash?: string, options?: RequestOptions): Promise<string>;
2773
2813
  getEmployeeImage(employeeId: string, imageHash?: string, options?: RequestOptions): Promise<string>;
2814
+ getEmployeeDisplayName(employeeId: string, options?: RequestOptions): Promise<string>;
2774
2815
  getEmployeeImageDefault(employeeId: string, height?: number, options?: RequestOptions): Promise<string>;
2775
2816
  findEmployees(request: GenModels.FindEmployeesRequest, options?: RequestOptions): Promise<GenModels.FindEmployeesResponse>;
2776
2817
  setActive(options?: RequestOptions): Promise<void>;