@docsvision/webclient 5.17.0-beta.17 → 5.17.0-beta.18

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 (162) hide show
  1. package/Account/AddBackgroundMovementEffect.d.ts +2 -0
  2. package/Account/AuthBox.d.ts +12 -0
  3. package/Account/Authentication.d.ts +1 -0
  4. package/Account/Box.d.ts +7 -0
  5. package/Account/Button.d.ts +10 -0
  6. package/Account/ChangeMethodButton.d.ts +6 -0
  7. package/Account/ContactBox.d.ts +7 -0
  8. package/Account/ErrorBlock.d.ts +7 -0
  9. package/Account/Form.d.ts +11 -0
  10. package/Account/Greeting.d.ts +7 -0
  11. package/Account/Input.d.ts +15 -0
  12. package/Account/Login.stories.d.ts +12 -0
  13. package/Account/LoginContainer.d.ts +46 -0
  14. package/Account/LoginError.d.ts +11 -0
  15. package/Account/LoginExtensionManager.d.ts +2 -0
  16. package/Account/LoginInputsDivider.d.ts +5 -0
  17. package/Account/LoginLogic.d.ts +61 -0
  18. package/Account/LoginPage.d.ts +3 -0
  19. package/Account/LoginTypes.d.ts +97 -0
  20. package/Account/Logo.d.ts +3 -0
  21. package/Account/ProviderButton.d.ts +9 -0
  22. package/Account/Providers.d.ts +8 -0
  23. package/Approval/AgreementStage.d.ts +1 -0
  24. package/BackOffice/AuthenticationKinds.d.ts +23 -0
  25. package/BackOffice/AuthenticationKinds.stories.d.ts +10 -0
  26. package/BackOffice/AuthenticationKindsConstants.d.ts +1 -0
  27. package/BackOffice/AuthenticationKindsContainer.d.ts +8 -0
  28. package/BackOffice/AuthenticationKindsFrame.d.ts +6 -0
  29. package/BackOffice/AuthenticationKindsGetHeader.d.ts +6 -0
  30. package/BackOffice/AuthenticationKindsGetLabel.d.ts +6 -0
  31. package/BackOffice/AuthenticationKindsGetUseExtensionState.d.ts +7 -0
  32. package/BackOffice/AuthenticationKindsItem.d.ts +6 -0
  33. package/BackOffice/AuthenticationKindsList.d.ts +6 -0
  34. package/BackOffice/AuthenticationKindsLogic.d.ts +56 -0
  35. package/BackOffice/AuthenticationKindsModalDialog.d.ts +6 -0
  36. package/BackOffice/AuthenticationKindsNotEqualLogins.d.ts +8 -0
  37. package/BackOffice/AuthenticationKindsOptions.d.ts +30 -0
  38. package/BackOffice/AuthenticationKindsTextBox.d.ts +7 -0
  39. package/BackOffice/AuthenticationKindsUpdateLogin.d.ts +8 -0
  40. package/BackOffice/AuthenticationKindsUpdateUseExtension.d.ts +8 -0
  41. package/BackOffice/AuthenticationKindsView.d.ts +19 -0
  42. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  43. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  44. package/BackOffice/CommandMenuComponent.d.ts +1 -1
  45. package/BackOffice/CreateWindow.d.ts +1 -1
  46. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  47. package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
  48. package/BackOffice/DirectoryDesignerRowImpl.d.ts +3 -2
  49. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  50. package/BackOffice/DirectorySearchResultView.d.ts +2 -2
  51. package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
  52. package/BackOffice/EditWindow.d.ts +1 -1
  53. package/BackOffice/EmailButtonView.d.ts +2 -2
  54. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  55. package/BackOffice/FileListBuiltInOperations.d.ts +1 -0
  56. package/BackOffice/FileListControl.d.ts +2 -3
  57. package/BackOffice/FileListControlImpl.d.ts +0 -1
  58. package/BackOffice/FileListControlLogic.d.ts +0 -3
  59. package/BackOffice/FileListItemComponent.d.ts +0 -1
  60. package/BackOffice/IExtraFileAddedArgs.d.ts +0 -2
  61. package/BackOffice/IExtraFileDeletedArgs.d.ts +0 -2
  62. package/BackOffice/IFileMenuOpeningArgs.d.ts +0 -2
  63. package/BackOffice/IFileOpenedArgs.d.ts +0 -2
  64. package/BackOffice/IFileOpeningArgs.d.ts +0 -2
  65. package/BackOffice/IFilePreviewedArgs.d.ts +0 -2
  66. package/BackOffice/IFilePreviewingArgs.d.ts +0 -2
  67. package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
  68. package/BackOffice/IFileSignUploadingArgs.d.ts +0 -2
  69. package/BackOffice/IFileVersionDownloadedArgs.d.ts +0 -2
  70. package/BackOffice/IFileVersionUploadedArgs.d.ts +0 -2
  71. package/BackOffice/IFileVersionUploadingArgs.d.ts +0 -2
  72. package/BackOffice/IFileVisualizedArgs.d.ts +0 -2
  73. package/BackOffice/IFileVisualizingArgs.d.ts +0 -2
  74. package/BackOffice/ILinkEventArgs.d.ts +0 -2
  75. package/BackOffice/IMainFileAddedArgs.d.ts +0 -2
  76. package/BackOffice/IMainFileDeletedArgs.d.ts +0 -2
  77. package/BackOffice/ITaskListItemProps.d.ts +0 -1
  78. package/BackOffice/ITaskListProps.d.ts +0 -3
  79. package/BackOffice/Links.d.ts +0 -2
  80. package/BackOffice/LinksImpl.d.ts +1 -4
  81. package/BackOffice/NumeratorImpl.d.ts +1 -1
  82. package/BackOffice/PartnerBase.d.ts +2 -2
  83. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  84. package/BackOffice/PartnerSelectDialog.d.ts +1 -0
  85. package/BackOffice/PrintButtonView.d.ts +1 -1
  86. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  87. package/BackOffice/StaffDirectoryItemsImpl.d.ts +2 -1
  88. package/BackOffice/TaskListComponent.d.ts +0 -3
  89. package/BackOffice/TaskListItemComponent.d.ts +1 -1
  90. package/BackOffice/Tasks.d.ts +0 -3
  91. package/BackOffice/TasksTableView.d.ts +3 -3
  92. package/Generated/DocsVision.WebClient.Controllers.d.ts +18 -0
  93. package/Generated/DocsVision.WebClient.Models.d.ts +90 -5
  94. package/Helpers/ComboBox/ComboBoxElement.d.ts +1 -1
  95. package/Helpers/ComboBox/ComboBoxTitle.d.ts +1 -1
  96. package/Helpers/ControlSelector/ControlSelector.d.ts +1 -1
  97. package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
  98. package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +7 -2
  99. package/Helpers/MainMenu/{Item.d.ts → MainMenuItem.d.ts} +4 -4
  100. package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
  101. package/Helpers/Table/TableHelperRow.d.ts +0 -1
  102. package/Helpers/WithMemo.d.ts +2 -0
  103. package/Legacy/ApprovalFilePanel.d.ts +4 -0
  104. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  105. package/Libs/CryptoPro/Crypto.d.ts +102 -0
  106. package/Libs/FileDrop/FileDrop.d.ts +49 -0
  107. package/MainBundle.d.ts +1 -0
  108. package/Platform/ApprovalVisualizationOptions.d.ts +1 -4
  109. package/Platform/ApprovalVisualizationView.d.ts +1 -1
  110. package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
  111. package/Platform/BaseMainMenuItem.d.ts +1 -0
  112. package/Platform/BaseMainMenuItemImpl.d.ts +5 -2
  113. package/Platform/ButtonPositionsSelection.d.ts +1 -1
  114. package/Platform/CardEditRouteTypeMapper.d.ts +1 -1
  115. package/Platform/CardLinkImpl.d.ts +1 -1
  116. package/Platform/CertificateSettingsView.d.ts +1 -1
  117. package/Platform/CommentFileImpl.d.ts +4 -1
  118. package/Platform/CryptoProInfo.d.ts +4 -4
  119. package/Platform/DVWebToolInfo.d.ts +4 -4
  120. package/Platform/DateTimePickerImpl.d.ts +0 -1
  121. package/Platform/DepartmentRowEditRouteTypeMapper.d.ts +1 -4
  122. package/Platform/DepartmentRowViewRouteTypeMapper.d.ts +1 -4
  123. package/Platform/ExistingRowRouteNames.d.ts +2 -2
  124. package/Platform/FilePreviewImpl.d.ts +3 -1
  125. package/Platform/FilterBoolean.d.ts +6 -0
  126. package/Platform/FolderMainMenuItemImpl.d.ts +1 -0
  127. package/Platform/FolderViewItemsImpl.d.ts +4 -4
  128. package/Platform/GroupMainMenuItemImpl.d.ts +1 -0
  129. package/Platform/ListCheckbox.d.ts +1 -1
  130. package/Platform/ListInput.d.ts +1 -1
  131. package/Platform/LoaderDialog.d.ts +1 -1
  132. package/Platform/MasterGroupMainMenuItemImpl.d.ts +1 -0
  133. package/Platform/NewCardRouteTypeMapper.d.ts +5 -5
  134. package/Platform/NewDepartmentRowRouteTypeMapper.d.ts +1 -7
  135. package/Platform/NewOrganizationRowRouteTypeMapper.d.ts +1 -7
  136. package/Platform/NewRowRouteTypeMapper.d.ts +4 -4
  137. package/Platform/OrganizationRowEditRouteTypeMapper.d.ts +1 -4
  138. package/Platform/OrganizationRowViewRouteTypeMapper.d.ts +1 -4
  139. package/Platform/ResetSettings.d.ts +4 -4
  140. package/Platform/RotateDirection.d.ts +3 -1
  141. package/Platform/RowEditRouteTypeMapper.d.ts +2 -2
  142. package/Platform/RowViewRouteTypeMapper.d.ts +0 -3
  143. package/Platform/ScanDialogService.d.ts +1 -1
  144. package/Platform/SearchTextInput.d.ts +1 -1
  145. package/Platform/SecurityDescriptorDialog.d.ts +1 -1
  146. package/Platform/TextAreaImpl.d.ts +1 -0
  147. package/Platform/TextListInputView.d.ts +3 -3
  148. package/Platform/UnreadCounter.d.ts +3 -1
  149. package/Platform/UserCulture.d.ts +4 -4
  150. package/Platform/UserFoldersMainMenuItemImpl.d.ts +1 -0
  151. package/Platform/UserProfileDialog.d.ts +2 -1
  152. package/System/BaseControlImpl.d.ts +1 -1
  153. package/System/DirectorySelectDialog.d.ts +2 -2
  154. package/System/IWebServicesRequest.d.ts +2 -0
  155. package/System/InputBasedControlImpl.d.ts +1 -1
  156. package/System/PageLeaveConfirmation.d.ts +1 -0
  157. package/System/StringUtils.d.ts +1 -1
  158. package/package.json +1 -1
  159. package/BackOffice/IFileListRow.d.ts +0 -4
  160. package/BackOffice/ILinkRow.d.ts +0 -3
  161. package/BackOffice/IRowClickArgs.d.ts +0 -6
  162. package/BackOffice/ITaskRowClickEventArgs.d.ts +0 -5
@@ -24,7 +24,7 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
24
24
  constructor(props: NumeratorParams, state: NumeratorState);
25
25
  generateNewNumberEx(saveToTheCard?: boolean, saveCardBefore?: boolean): Promise<INumberInfo>;
26
26
  generateNewNumber(saveToTheCard: boolean, prepareAction: () => Promise<any>): Promise<INumberInfo>;
27
- getTabIndexForButtons(): 0 | -1;
27
+ getTabIndexForButtons(): -1 | 0;
28
28
  onSaved(): Promise<any>;
29
29
  componentDidMount(): void;
30
30
  protected getTextValue(): string;
@@ -69,8 +69,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
69
69
  export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
70
70
  /** @internal */
71
71
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
72
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
72
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
74
74
  /** @internal */
75
75
  protected get partnerImpl(): PartnerBaseImpl<T>;
76
76
  private set partnerBindingHandler(value);
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
39
39
  export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
40
40
  /** @internal */
41
41
  protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
42
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
42
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
45
45
  /** @internal */
46
46
  protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
47
47
  init(): Promise<void>;
@@ -125,6 +125,7 @@ import("styled-components").StyledComponent<typeof SimpleItemViewContent, any, I
125
125
  private get employeeMode();
126
126
  private get departmentMode();
127
127
  private get organizationMode();
128
+ protected isUnavailableValue(item: GenModels.PartnerDirectoryItem): boolean;
128
129
  protected onSelectValue(item: GenModels.PartnerDirectoryItem, searchPathOptions?: IPartnerSelectDialogSearchPathOptions): void;
129
130
  protected hasChildren(item: GenModels.PartnerDirectoryItem): boolean;
130
131
  protected onChildrenListItemClick: (item: GenModels.PartnerDirectoryItem) => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare class PrintButtonView {
3
3
  dropdownButton: (props:
4
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
4
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
5
5
  }
@@ -82,7 +82,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
82
82
  private set binding(value);
83
83
  private set defaultEmployeeBinding(value);
84
84
  get inputChanged():
85
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
85
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
86
86
  /** @covered */
87
87
  get inputText(): string;
88
88
  /** @covered */
@@ -37,6 +37,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
37
37
  protected getValuePath(value: StaffValueType): StaffNodeType[];
38
38
  protected getSelectingMode(): DirectorySelectingMode;
39
39
  protected setEmployeeImage: (employeeId: string) => Promise<void>;
40
+ get isTypeaheadItemFocus(): boolean;
40
41
  protected getIconButtonClassName(): string;
41
42
  protected getButtons(): IBoxWithButtonsButtonInfo[];
42
43
  setValue(value: StaffValueType, redraw: boolean): Promise<void>;
@@ -64,7 +65,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
64
65
  private shouldShowFavorites;
65
66
  onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
66
67
  protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
67
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
68
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
68
69
  protected onEditPopoverShowed(control: any): void;
69
70
  protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
70
71
  protected onIconClick(): void;
@@ -1,15 +1,12 @@
1
1
  import { ITaskListProps } from "@docsvision/webclient/BackOffice/ITaskListProps";
2
2
  import { ITaskListState } from "@docsvision/webclient/BackOffice/ITaskListState";
3
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
3
  import React from "react";
5
- export declare const TASK_ROW_ID_PREFIX = "task-id";
6
4
  /** @internal */
7
5
  export declare class TaskListComponent extends React.Component<ITaskListProps, ITaskListState> {
8
6
  protected refItems: HTMLElement;
9
7
  constructor(props: any);
10
8
  UNSAFE_componentWillReceiveProps(newProps: any): void;
11
9
  protected getTaskListItems(): JSX.Element[];
12
- protected onRowClick(task: GenModels.TaskDataModel): void;
13
10
  protected getClassName(): string;
14
11
  protected getLoaderWidth(i: number): number;
15
12
  protected renderEmptyItemList(): any[] | JSX.Element;
@@ -13,7 +13,7 @@ export declare class TaskListItemComponent extends React.Component<ITaskListItem
13
13
  protected getEndDate(): string;
14
14
  protected getEndDateClassName(): string;
15
15
  protected inState(taskState: GenModels.TaskStateType[], taskGroupState: GenModels.TaskGroupStateType[]): boolean;
16
- protected getTabIndex(): 0 | -1;
16
+ protected getTabIndex(): -1 | 0;
17
17
  private onOpen;
18
18
  render(): JSX.Element;
19
19
  protected renderFullView(): JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ITaskCreatingEventArgs } from "@docsvision/webclient/BackOffice/ITaskCreatingEventArgs";
2
- import { ITaskRowClickEventArgs } from "@docsvision/webclient/BackOffice/ITaskRowClickEventArgs";
3
2
  import { TasksImpl, ITasksState } from "@docsvision/webclient/BackOffice/TasksImpl";
4
3
  import { $LayoutController, $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
5
4
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
@@ -56,8 +55,6 @@ export declare class TasksParams extends BaseControlParams {
56
55
  taskCreating?: CancelableApiEvent<ITaskCreatingEventArgs>;
57
56
  /** Событие, возникающее после того, как задания загружены (при асинхронной загрузке событие возникает после открытия разметки). */
58
57
  onTasksLoaded?: BasicApiEvent<GenModels.TaskDataModel[]>;
59
- /** Событие возникает при клике на строку таблицы. */
60
- rowClick?: BasicApiEvent<ITaskRowClickEventArgs>;
61
58
  services?: $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
62
59
  }
63
60
  /**
@@ -20,16 +20,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
20
20
  import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
21
21
  export declare class TasksTableView {
22
22
  mainButton: (props:
23
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
23
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
24
24
  dialog: (props:
25
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
25
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
26
26
  controlWrapper: typeof TasksTableControlWrapper;
27
27
  ribbon: typeof TasksTableRibbon;
28
28
  ribbonGroup:
29
29
  import("styled-components").StyledComponent<"div", any, {
30
30
  className: string;
31
31
  } &
32
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
33
33
  ribbonButton: typeof TasksTableRibbonButton;
34
34
  ribbonContainer: typeof TasksTableRibbonContainer;
35
35
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -327,6 +327,24 @@ export declare type $ContractsController = {
327
327
  contractsController: GenControllers.IContractsController;
328
328
  };
329
329
  export declare const $ContractsController: string | ((model?: $ContractsController) => GenControllers.IContractsController);
330
+ export declare namespace GenControllers {
331
+ /**
332
+ * AuthenticationKindsController
333
+ */
334
+ interface IAuthenticationKindsController {
335
+ /**
336
+ * Get card html by xslt id
337
+ */
338
+ checkUserAuthenticationLogin(extensionId: string, login: string, options?: RequestOptions): Promise<boolean>;
339
+ }
340
+ class AuthenticationKindsController extends BaseController implements IAuthenticationKindsController {
341
+ checkUserAuthenticationLogin(extensionId: string, login: string, options?: RequestOptions): Promise<boolean>;
342
+ }
343
+ }
344
+ export declare type $AuthenticationKindsController = {
345
+ authenticationKindsController: GenControllers.IAuthenticationKindsController;
346
+ };
347
+ export declare const $AuthenticationKindsController: string | ((model?: $AuthenticationKindsController) => GenControllers.IAuthenticationKindsController);
330
348
  export declare namespace GenControllers {
331
349
  /**
332
350
  * Represents
@@ -5858,6 +5858,7 @@ export declare namespace GenModels {
5858
5858
  interface ActualStageData {
5859
5859
  stageSemantics: GenModels.StageSemantics;
5860
5860
  currentStage: boolean;
5861
+ pass: number;
5861
5862
  }
5862
5863
  }
5863
5864
  export declare namespace GenModels {
@@ -5934,8 +5935,10 @@ export declare namespace GenModels {
5934
5935
  export declare namespace GenModels {
5935
5936
  interface ApprovalHistoryStageModel {
5936
5937
  name: string;
5938
+ id: string;
5937
5939
  approvalType?: GenModels.ApprovalType;
5938
5940
  beginDate: string;
5941
+ pass: number;
5939
5942
  stageItems: Array<GenModels.ApprovalHistoryStageItemModel>;
5940
5943
  }
5941
5944
  }
@@ -8640,6 +8643,14 @@ export declare namespace GenModels {
8640
8643
  * Pdf cache directory
8641
8644
  */
8642
8645
  pdfCacheDirectory: string;
8646
+ /**
8647
+ * Gets or sets whether DVWebTool should be terminated after use.
8648
+ */
8649
+ dvWebToolAppShutDown: boolean;
8650
+ /**
8651
+ * Gets or sets whether DVWebTool should be launch after load OS.
8652
+ */
8653
+ dvWebToolStartUpLaunch: boolean;
8643
8654
  /**
8644
8655
  * Search context options
8645
8656
  */
@@ -8756,6 +8767,10 @@ export declare namespace GenModels {
8756
8767
  * Feedback URL
8757
8768
  */
8758
8769
  feedbackUrl: string;
8770
+ /**
8771
+ * Enabled unread counters or not.
8772
+ */
8773
+ unreadCountersEnabled: boolean;
8759
8774
  }
8760
8775
  }
8761
8776
  export declare namespace GenModels {
@@ -9768,6 +9783,10 @@ export declare namespace GenModels {
9768
9783
  * Gets or sets name
9769
9784
  */
9770
9785
  name: string;
9786
+ /**
9787
+ * Gets or sets localized name
9788
+ */
9789
+ localizedName: string;
9771
9790
  /**
9772
9791
  * Gets or sets value
9773
9792
  */
@@ -10151,6 +10170,10 @@ export declare namespace GenModels {
10151
10170
  * Gets or sets name
10152
10171
  */
10153
10172
  name: string;
10173
+ /**
10174
+ * Gets or sets name
10175
+ */
10176
+ localizedName: string;
10154
10177
  /**
10155
10178
  * Gets or sets value
10156
10179
  */
@@ -10263,6 +10286,72 @@ export declare namespace GenModels {
10263
10286
  name: string;
10264
10287
  }
10265
10288
  }
10289
+ export declare namespace GenModels {
10290
+ interface AuthenticationExtensionModel {
10291
+ /**
10292
+ * Unique Id
10293
+ *
10294
+ * @format datatype.uuid
10295
+ */
10296
+ id: string;
10297
+ /**
10298
+ * Name
10299
+ */
10300
+ name: string;
10301
+ /**
10302
+ * Picture
10303
+ */
10304
+ logo: Array<number>;
10305
+ /**
10306
+ * Description
10307
+ */
10308
+ description: string;
10309
+ /**
10310
+ * URL
10311
+ */
10312
+ URL: string;
10313
+ /**
10314
+ * Supported types of response
10315
+ */
10316
+ supportedTypes: Array<string>;
10317
+ /**
10318
+ * Supported modes of response
10319
+ */
10320
+ supportedModes: Array<string>;
10321
+ }
10322
+ }
10323
+ export declare namespace GenModels {
10324
+ interface AuthenticationKindsModel {
10325
+ /**
10326
+ * Id
10327
+ *
10328
+ * @format datatype.uuid
10329
+ */
10330
+ extensionId: string;
10331
+ /**
10332
+ * Name
10333
+ */
10334
+ extensionName: string;
10335
+ /**
10336
+ * Flag if use extension for current user
10337
+ */
10338
+ useExtension: boolean;
10339
+ /**
10340
+ * User login in current extension
10341
+ */
10342
+ userExtensionLogin: string;
10343
+ /**
10344
+ * User id
10345
+ *
10346
+ * @format datatype.uuid
10347
+ */
10348
+ userId: string;
10349
+ /**
10350
+ * Flag if extension allowed check user login
10351
+ */
10352
+ checkButtonEnable: boolean;
10353
+ }
10354
+ }
10266
10355
  export declare namespace GenModels {
10267
10356
  interface SearchItemModel {
10268
10357
  /**
@@ -10563,17 +10652,13 @@ export declare namespace GenModels {
10563
10652
  }
10564
10653
  export declare namespace GenModels {
10565
10654
  enum DecisionSemantics {
10566
- None = 0,
10567
10655
  Positive = 1,
10568
10656
  Negative = 2,
10569
10657
  Neutral = 3,
10570
10658
  Cancellation = 4,
10571
10659
  NewCycle = 5,
10572
10660
  ApproversAddition = 6,
10573
- NonNegative = 7,
10574
- Any = 8,
10575
- Completion = 100,
10576
- Return = 200
10661
+ Completion = 100
10577
10662
  }
10578
10663
  }
10579
10664
  export declare namespace GenModels {
@@ -42,7 +42,7 @@ export declare class ComboBoxElement extends React.Component<IComboBoxElementPro
42
42
  */
43
43
  protected onSelect: () => void;
44
44
  protected onKeyDown: (e: React.KeyboardEvent<any>) => void;
45
- get tabIndex(): 0 | -1;
45
+ get tabIndex(): -1 | 0;
46
46
  /**
47
47
  * Фокусирует элемент
48
48
  */
@@ -30,7 +30,7 @@ export declare class ComboBoxTitle extends React.Component<IComboBoxTitleProps,
30
30
  protected onClick: () => void;
31
31
  protected onKeyDown: (e: React.KeyboardEvent<any>) => void;
32
32
  /** @internal */
33
- get tabIndex(): 0 | -1;
33
+ get tabIndex(): -1 | 0;
34
34
  componentDidMount(): void;
35
35
  componentWillUnmount(): void;
36
36
  /** @internal */
@@ -37,7 +37,7 @@ export declare class ControlSelector extends React.Component<IControlSelectorPro
37
37
  UNSAFE_componentWillMount(): void;
38
38
  /** @internal */
39
39
  UNSAFE_componentWillReceiveProps(nextProps: IControlSelectorProps, nextContext: any): void;
40
- loadControl(controlTypeName: string): Promise<LayoutControlType>;
40
+ loadControl(controlTypeName: string, updateOnAsyncLoading?: boolean): Promise<LayoutControlType>;
41
41
  loadControlFromModule(name: string, path: string): Promise<any>;
42
42
  /** См. [документацию React](https://facebook.github.io/react/docs/react-component.html#the-component-lifecycle) */
43
43
  componentDidCatch(error: any, info: any): void;
@@ -19,7 +19,7 @@ export interface ICustomTreeNodeProps {
19
19
  */
20
20
  export declare class CustomTreeNode extends React.Component<ICustomTreeNodeProps, undefined> {
21
21
  protected onClick: () => void;
22
- get tabIndex(): 0 | -1;
22
+ get tabIndex(): -1 | 0;
23
23
  /** @internal */
24
24
  render(): JSX.Element;
25
25
  }
@@ -4,8 +4,13 @@ import { IWebServicesRequest } from '@docsvision/webclient/System/IWebServicesRe
4
4
  import { IWebServicesConnection } from '@docsvision/webclient/System/IWebServicesConnection';
5
5
  import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
6
6
  export declare class DVWebToolConnection {
7
- private static maxTryCount;
7
+ private static WebToolInstalledOptionsKey;
8
+ private static dvWebToolOpenCommand;
9
+ private static delayTime;
10
+ static cancel: boolean;
8
11
  static trySendData<RequestT, ResponseT>(webService: string, data: IWebServicesRequest<RequestT>, services: $WebServices & $ApplicationSettings & $MessageBox): Promise<ResponseT>;
12
+ static trySendDataEx<RequestT, ResponseT>(webService: string, data: IWebServicesRequest<RequestT>, services: $WebServices & $ApplicationSettings & $MessageBox, maxTryCount?: number): Promise<ResponseT>;
9
13
  static tryConnect<RequestT, ResponseT>(webService: string, services: $WebServices & $ApplicationSettings & $MessageBox): Promise<IWebServicesConnection>;
10
- static renderModalWindow(container: HTMLElement, services: $ApplicationSettings): void;
14
+ static tryConnectEx<RequestT, ResponseT>(webService: string, services: $WebServices & $ApplicationSettings & $MessageBox, maxTryCount?: number): Promise<IWebServicesConnection>;
15
+ static renderModalWindow(container: HTMLElement, services: $WebServices & $ApplicationSettings & $MessageBox): void;
11
16
  }
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  /** @internal */
3
- export interface IItemProps {
3
+ export interface IMainMenuItemProps {
4
4
  /** Button action */
5
- onClick: (event: React.MouseEvent<any>) => void;
6
- children?: any;
5
+ onClick: (event: React.MouseEvent<unknown>) => void;
6
+ children?: unknown;
7
7
  }
8
8
  /**
9
9
  * @internal Represents a button, that looks like small icon
@@ -12,4 +12,4 @@ export interface IItemProps {
12
12
  * iconClassName="dv-ico dv-ico-dictionary" visible={ super.getEditAvailable()}
13
13
  * title={resources.Numerator_GenerateNewNumberTooltip} />
14
14
  */
15
- export declare const Item: (props: IItemProps) => JSX.Element;
15
+ export declare function MainMenuItem(props: IMainMenuItemProps): JSX.Element;
@@ -30,7 +30,7 @@ export declare class SliderCheckBox extends React.Component<SliderCheckBoxProps,
30
30
  constructor(props: SliderCheckBoxProps);
31
31
  protected get canEdit(): boolean;
32
32
  protected handleCheckBoxClick(event: any): void;
33
- protected getTabIndex(): 0 | -1;
33
+ protected getTabIndex(): -1 | 0;
34
34
  protected getCssClass(): string;
35
35
  /** @internal */
36
36
  render(): JSX.Element;
@@ -14,7 +14,6 @@ export interface ITableRowHelperProps {
14
14
  name?: string;
15
15
  innerRef?: (HTMLElement: any) => void;
16
16
  onClick?: (ev: React.MouseEvent) => void;
17
- id?: string;
18
17
  }
19
18
  /** @internal */
20
19
  export interface ITableRowCellHelperProps {
@@ -0,0 +1,2 @@
1
+ import React, { NamedExoticComponent } from "react";
2
+ export declare const withMemo: <T extends Record<string, any>>(component: React.FC<T>, equalFunc?: (prevProps: any, nextProps: any) => boolean) => React.NamedExoticComponent<T>;
@@ -19,6 +19,7 @@ export declare class ApprovalFilePanel {
19
19
  private static MainFilesPlaceholder;
20
20
  private static AdditionalFilesPlaceholder;
21
21
  private static AddFileVersionLabel;
22
+ private static MarkVersionAsFinalCssClass;
22
23
  private filePanel;
23
24
  private currentSettings;
24
25
  private selectedElement;
@@ -35,8 +36,11 @@ export declare class ApprovalFilePanel {
35
36
  private SelectEventClick;
36
37
  private SettingEventHandler;
37
38
  private VersionEventHandler;
39
+ getExpandedVersions(): string[];
40
+ expandVersions(fileId: string, expand?: boolean): void;
38
41
  private ShowVersions;
39
42
  private DeleteFileVersionEventHandler;
43
+ private MarkVersionAsFinalEventHandler;
40
44
  private AddCopyToFinalEventHandler;
41
45
  private VersionsSettingsEventHandlers;
42
46
  private ShowSettingsEventClick;
@@ -54,7 +54,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
54
54
  protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
55
55
  abstract getChanges(): Promise<GenModels.GridViewModel>;
56
56
  getSelection():
57
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
57
+ import("C:/Git/WC/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
58
58
  clearSelection(cardIds?: string[]): void;
59
59
  selectionChanged: SimpleEvent<any>;
60
60
  protected addActionButtons(header: HTMLElement): void;
@@ -0,0 +1,102 @@
1
+ import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
+ import { EncryptedInfo } from "@docsvision/webclient/Legacy/EncryptedInfo";
3
+ import { IFileSignInfo } from "@docsvision/webclient/Legacy/IFileSingInfo";
4
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
5
+ import { Optional } from "@docsvision/web/core/services";
6
+ /** @internal */
7
+ export interface ICryptoCertificate {
8
+ /** Идентификатор сертификата (он же отпечаток). */
9
+ Id: string;
10
+ /** Отображаемое имя сертификата (с краткой информацией и сроком действия сертификата). */
11
+ DisplayName: string;
12
+ /** Дата, отражающая срок действия сертификата. */
13
+ ExpirateDate: string;
14
+ /** Кем серификат выпущен. */
15
+ Issue: string;
16
+ /** Название сертификата. */
17
+ Name: string;
18
+ /** Имеется ли приватный ключ. */
19
+ hasPrivateKey: boolean;
20
+ /** Действителен ли сертификат. */
21
+ isValid: boolean;
22
+ /** Действителен начиная с указанной даты. */
23
+ validFromDate: Date;
24
+ /** Срок действия до указанной даты. */
25
+ validToDate: Date;
26
+ /** Алгоритм шифрования */
27
+ cipherAlgorithm: string;
28
+ }
29
+ /** @internal */
30
+ export interface ICryptoCertificateInfo {
31
+ /** Идентификатор сертификата */
32
+ id: string;
33
+ /** Отображаемое имя сертификата. */
34
+ displayName: string;
35
+ /** Содержимое сертификата в фомате Base64 */
36
+ contentBase64?: string;
37
+ }
38
+ /** @internal */
39
+ export declare enum SignatureItemType {
40
+ MainFileSignaturePartType = 0,
41
+ MainFileWithContentSignaturePartType = 1,
42
+ DocumentFieldsSignaturePartType = 2,
43
+ DocumentAttachmentsSignaturePartType = 3
44
+ }
45
+ /** @internal */
46
+ export declare class Crypto {
47
+ static LabelOIDAttribute: string;
48
+ static DocumentNameOIDAttribute: string;
49
+ static DocumentFileOIDAttribute: string;
50
+ static DocumentVersionOIDAttribute: string;
51
+ static EmployeeOIDAttribute: string;
52
+ static ProviderName: string;
53
+ static ProviderType: string;
54
+ static CADESCOM_CERT_INFO_TYPE_SUBJECT_SIMPLE_NAME: number;
55
+ static CADESCOM_CERT_INFO_TYPE_ISSUER_SIMPLE_NAME: number;
56
+ static CADESCOM_CURRENT_USER_STORE: number;
57
+ static CADESCOM_MY_STORE: string;
58
+ static CADESCOM_STORE_OPEN_MAXIMUM_ALLOWED: number;
59
+ static CADESCOM_CERTIFICATE_FIND_SUBJECT_NAME: number;
60
+ static CADESCOM_CERTIFICATE_FIND_SHA1_HASH: number;
61
+ static CADESCOM_BASE64_TO_BINARY: number;
62
+ static CADESCOM_CADES_BES: number;
63
+ static CADESCOM_CADES_T: number;
64
+ static CADESCOM_CADES_X_LONG_TYPE_1: number;
65
+ static CADESCOM_ENCODE_BASE64: number;
66
+ static CADESCOM_ENCODE_BINARY: number;
67
+ static CADESCOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_NAME: number;
68
+ static CADESCOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_DESCRIPTION: number;
69
+ static CADESCOM_ATTRIBUTE_OTHER: number;
70
+ private static CertListContainerPrefix;
71
+ private widgetId;
72
+ private widget;
73
+ private certListElement;
74
+ private static asyncCodeIncluded;
75
+ private static asyncPromise;
76
+ private static asyncResolve;
77
+ constructor();
78
+ static include_async_code(): void;
79
+ static GetCertificateByThumbprint(thumbprint: any): Promise<string | undefined>;
80
+ static GetCertificateInfoByThumbprint(thumbprint: any): Promise<ICryptoCertificateInfo>;
81
+ private static GetCertificateByThumbprint_NPAPI;
82
+ static CheckForPlugIn(): any;
83
+ static SignFilesWithCertificate(encryptedInfo: EncryptedInfo, files: IFileSignInfo[], cardId: string, signFields?: boolean, signAttachments?: boolean, signType?: number, tspService?: string): Promise<any>;
84
+ static SignFilesWithCertificateEx(encryptedInfo: EncryptedInfo, files: IFileSignInfo[], cardId: string, signFields?: boolean, signAttachments?: boolean, signType?: number, tspService?: string): Promise<any>;
85
+ static CanAsync(): boolean;
86
+ static SignData(encryptedInfo: EncryptedInfo, dataToSign: any, signType?: any, tspService?: any): any;
87
+ private static Verify;
88
+ static GetCertsList(): Promise<ICryptoCertificate[]>;
89
+ private static GetCertsList_NPAPI;
90
+ private static CheckForPlugIn_NPAPI;
91
+ private static GetBlobInBase64;
92
+ static VerifySign(signHash: any, fileId: any): Promise<unknown>;
93
+ static GetPluginInfo(): any;
94
+ static SetPluginInfo_NAPI(): void;
95
+ static GetSignatureType(services: $SignatureController & Optional<$MessageBox>, certificate: string): Promise<{
96
+ cadesSignType: number;
97
+ tspAddress: string;
98
+ certificateThumberpint: string;
99
+ }>;
100
+ private static SignData_NPAPI;
101
+ }
102
+ export declare function getBstrBase64(str: string): string;
@@ -0,0 +1,49 @@
1
+ import React, { DragEvent as ReactDragEvent, DragEventHandler as ReactDragEventHandler } from 'react';
2
+ export declare type TDropEffects = 'copy' | 'move' | 'link' | 'none';
3
+ export interface IFileDropProps {
4
+ className?: string;
5
+ targetClassName?: string;
6
+ draggingOverFrameClassName?: string;
7
+ draggingOverTargetClassName?: string;
8
+ frame?: HTMLElement | Document;
9
+ onFrameDragEnter?: (event: DragEvent) => void;
10
+ onFrameDragLeave?: (event: DragEvent) => void;
11
+ onFrameDrop?: (event: DragEvent) => void;
12
+ onDragOver?: ReactDragEventHandler<HTMLDivElement>;
13
+ onDragLeave?: ReactDragEventHandler<HTMLDivElement>;
14
+ onDrop?: (files: FileList | null, event: ReactDragEvent<HTMLDivElement>) => any;
15
+ dropEffect?: TDropEffects;
16
+ }
17
+ export interface IFileDropState {
18
+ draggingOverFrame: boolean;
19
+ draggingOverTarget: boolean;
20
+ }
21
+ declare class FileDrop extends React.PureComponent<IFileDropProps, IFileDropState> {
22
+ static defaultProps: {
23
+ dropEffect: TDropEffects;
24
+ frame: Document;
25
+ className: string;
26
+ targetClassName: string;
27
+ draggingOverFrameClassName: string;
28
+ draggingOverTargetClassName: string;
29
+ };
30
+ frameDragCounter: number;
31
+ constructor(props: IFileDropProps);
32
+ static isIE: () => boolean;
33
+ static eventHasFiles: (event: DragEvent | ReactDragEvent<HTMLElement>) => boolean;
34
+ resetDragging: () => void;
35
+ handleWindowDragOverOrDrop: (event: DragEvent) => void;
36
+ handleFrameDrag: (event: DragEvent) => void;
37
+ handleFrameDrop: (event: DragEvent) => void;
38
+ handleDragOver: ReactDragEventHandler<HTMLDivElement>;
39
+ handleDragLeave: ReactDragEventHandler<HTMLDivElement>;
40
+ handleDrop: ReactDragEventHandler<HTMLDivElement>;
41
+ handleMouseOver: (event: any) => void;
42
+ stopFrameListeners: (frame: IFileDropProps['frame']) => void;
43
+ startFrameListeners: (frame: IFileDropProps['frame']) => void;
44
+ componentWillReceiveProps(nextProps: IFileDropProps): void;
45
+ componentDidMount(): void;
46
+ componentWillUnmount(): void;
47
+ render(): JSX.Element;
48
+ }
49
+ export default FileDrop;
package/MainBundle.d.ts CHANGED
@@ -20,4 +20,5 @@ import "@docsvision/webclient/BackOffice/DirectoryTree";
20
20
  import "@docsvision/webclient/BackOffice/DirectorySearchResult";
21
21
  import "@docsvision/webclient/Templates/ControlTemplate";
22
22
  import "@docsvision/webclient/Templates/ServiceTemplateService";
23
+ import "@docsvision/webclient/Helpers/TextInput";
23
24
  import "@docsvision/webclient/BackOffice/SignatureConstants";
@@ -1,17 +1,14 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
2
  import { NodeOptions } from "vis";
3
3
  export declare const decisionSemanticsColors: {
4
- 0: string;
4
+ [x: number]: string;
5
5
  1: string;
6
6
  2: string;
7
7
  3: string;
8
8
  4: string;
9
9
  5: string;
10
10
  6: string;
11
- 7: string;
12
- 8: string;
13
11
  100: string;
14
- 200: string;
15
12
  };
16
13
  export declare const conditionTypeImage: {
17
14
  1: string;