@docsvision/webclient 6.1.5-beta.1 → 6.1.7

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 (172) hide show
  1. package/Approval/AgreementHistory.d.ts +7 -1
  2. package/Approval/AgreementHistoryImpl.d.ts +3 -3
  3. package/Approval/AgreementManagementImpl.d.ts +1 -0
  4. package/Approval/ApprovalDialogContent.d.ts +31 -0
  5. package/BackOffice/$DigitalSignature.d.ts +2 -0
  6. package/BackOffice/AuthenticationKindsView.d.ts +1 -1
  7. package/BackOffice/BackofficeConstants.d.ts +1 -0
  8. package/BackOffice/CardKindImpl.d.ts +1 -1
  9. package/BackOffice/CardKindTree.d.ts +1 -1
  10. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  11. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  12. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  13. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -1
  14. package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
  15. package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
  16. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  17. package/BackOffice/DirectorySearchResultView.d.ts +2 -2
  18. package/BackOffice/EmailButtonView.d.ts +2 -2
  19. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  20. package/BackOffice/FileListConstants.d.ts +1 -0
  21. package/BackOffice/FileListControl.d.ts +15 -1
  22. package/BackOffice/FileListControlImpl.d.ts +16 -1
  23. package/BackOffice/FileListItemComponent.d.ts +1 -0
  24. package/BackOffice/PartnerBase.d.ts +2 -2
  25. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  26. package/BackOffice/Powers.d.ts +3 -1
  27. package/BackOffice/PowersImpl.d.ts +3 -1
  28. package/BackOffice/PrintButtonView.d.ts +1 -1
  29. package/BackOffice/StaffDirectoryDataVisualiser.d.ts +1 -0
  30. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  31. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  32. package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
  33. package/BackOffice/TasksTableView.d.ts +3 -3
  34. package/Generated/DocsVision.WebClient.Controllers.d.ts +190 -11
  35. package/Generated/DocsVision.WebClient.Models.d.ts +147 -15
  36. package/Helpers/Breadcrumbs/Breadcrumbs.d.ts +1 -0
  37. package/Helpers/Breadcrumbs/BreadcrumbsView.d.ts +1 -0
  38. package/Helpers/Breadcrumbs/LinkView/LinkItemViewWithSeparator.d.ts +3 -1
  39. package/Helpers/ComboBox/ComboBoxTitle.d.ts +2 -0
  40. package/Helpers/FileViewZip/FileViewZip.d.ts +47 -0
  41. package/Helpers/FileViewZip/FileViewZipModal.d.ts +24 -0
  42. package/Helpers/InputMask/InputMaskView.d.ts +1 -1
  43. package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
  44. package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
  45. package/Helpers/Menu/DesktopMenuBar.d.ts +1 -0
  46. package/Legacy/ApprovalFilePanel.d.ts +2 -0
  47. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  48. package/Legacy/ILegacyRouter.d.ts +1 -0
  49. package/Legacy/StandardControllers.d.ts +2 -2
  50. package/Legacy/TaskCardFilePanelRazorControl.d.ts +2 -0
  51. package/Legacy/TaskCardView.d.ts +0 -1
  52. package/Legacy/Utils.d.ts +11 -0
  53. package/Libs/CryptoPro/Crypto.d.ts +6 -3
  54. package/MainBundle.d.ts +2 -0
  55. package/Platform/ApprovalVisualizationView.d.ts +1 -1
  56. package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
  57. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  58. package/Platform/CardLink.d.ts +8 -7
  59. package/Platform/CardLinkImpl.d.ts +4 -2
  60. package/Platform/CertificateSettingsView.d.ts +1 -1
  61. package/Platform/CheckFileAllowed.d.ts +2 -0
  62. package/Platform/CheckFilesAllowed.d.ts +1 -0
  63. package/Platform/CompleteTaskConditionsTableModelStub.d.ts +53 -0
  64. package/Platform/ContextMenuCustomPlugins.d.ts +1 -0
  65. package/Platform/DateTimePicker.d.ts +1 -0
  66. package/Platform/DateTimePickerImpl.d.ts +1 -1
  67. package/Platform/FileExtensions.d.ts +4 -1
  68. package/Platform/FilePicker.d.ts +11 -5
  69. package/Platform/FilePickerImpl.d.ts +14 -3
  70. package/Platform/FilePickerMenuItemsView.d.ts +1 -0
  71. package/Platform/FilePickerOperations.d.ts +13 -4
  72. package/Platform/FilePickerOperationsAvailability.d.ts +1 -0
  73. package/Platform/FilePreview.d.ts +3 -3
  74. package/Platform/FolderCardsDashboardStoriesData.d.ts +2 -0
  75. package/Platform/FolderPageRouteHelpers.d.ts +4 -3
  76. package/Platform/FolderRouteParameters.d.ts +1 -0
  77. package/Platform/FolderViewItemsImpl.d.ts +3 -5
  78. package/Platform/FolderWebFrameRouteHandler.d.ts +1 -1
  79. package/Platform/IFilePickerMenuOpeningArgs.d.ts +4 -0
  80. package/Platform/IFolderDataLoadingPlugin.d.ts +2 -1
  81. package/Platform/IFolderPageRouteData.d.ts +1 -0
  82. package/Platform/ITextBoxMaskProps.d.ts +56 -0
  83. package/Platform/ListCheckbox.d.ts +1 -1
  84. package/Platform/ListInput.d.ts +1 -1
  85. package/Platform/LoaderDialog.d.ts +1 -1
  86. package/Platform/ScanDialogService.d.ts +1 -0
  87. package/Platform/ScanDialogServiceStoriesData.d.ts +2 -0
  88. package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -2
  89. package/Platform/SearchParametersFolderResponseResolver.d.ts +1 -2
  90. package/Platform/SearchTextInput.d.ts +3 -3
  91. package/Platform/SecurityDescriptorDialog.d.ts +1 -1
  92. package/Platform/TestUtils.d.ts +1 -2
  93. package/Platform/TextBox.d.ts +3 -0
  94. package/Platform/TextBoxImpl.d.ts +11 -0
  95. package/Platform/TextBoxInputField.d.ts +3 -0
  96. package/Platform/TextBoxInputMask.d.ts +7 -0
  97. package/Platform/TextBoxInputMaskView.d.ts +10 -0
  98. package/Platform/TextListInputLogic.d.ts +1 -0
  99. package/Platform/TextListInputView.d.ts +3 -3
  100. package/Platform/UserProfileDialog.d.ts +1 -1
  101. package/StandardServices.d.ts +1 -2
  102. package/System/DirectorySelectDialog.d.ts +2 -2
  103. package/System/DownloadsTab.d.ts +578 -0
  104. package/System/FileControllerStub.d.ts +14 -0
  105. package/System/FilePreviewStub.d.ts +4 -0
  106. package/System/FileScanServiceStub.d.ts +8 -0
  107. package/System/GroupMenuChildrenModelStub.d.ts +64 -0
  108. package/System/IWebServicesConnection.d.ts +2 -0
  109. package/System/IWebServicesService.d.ts +0 -2
  110. package/System/LayoutCardControllerStub.d.ts +1 -0
  111. package/System/LinkMainMenuModelStub.d.ts +22 -0
  112. package/System/LocationContainerControlStoriesData.d.ts +15 -0
  113. package/System/PagesControllerStub.d.ts +10 -0
  114. package/System/ProfileTab.d.ts +1349 -0
  115. package/System/RealtimeCommunicationService.d.ts +17 -2
  116. package/System/ResourcesStub.d.ts +5 -0
  117. package/System/Router.d.ts +2 -1
  118. package/System/SearchingResultsStub.d.ts +48 -0
  119. package/System/SettingsTab.d.ts +716 -0
  120. package/System/StatusTab.d.ts +1135 -0
  121. package/System/TableStub.d.ts +617 -0
  122. package/System/WebServicesConnection.d.ts +2 -0
  123. package/System/WebServicesService.d.ts +10 -10
  124. package/package.json +1 -1
  125. package/Account/Login.stories.d.ts +0 -12
  126. package/BackOffice/AuthenticationKinds.stories.d.ts +0 -10
  127. package/BackOffice/DirectoryTabs.stories.d.ts +0 -8
  128. package/BackOffice/DirectoryTree.stories.d.ts +0 -9
  129. package/BackOffice/DirectoryValues.stories.d.ts +0 -8
  130. package/BackOffice/EmailButton.stories.d.ts +0 -10
  131. package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
  132. package/BackOffice/Numerator.stories.d.ts +0 -8
  133. package/BackOffice/Powers.stories.d.ts +0 -20
  134. package/BackOffice/PowersDirectory.stories.d.ts +0 -20
  135. package/BackOffice/SignatureButton.stories.d.ts +0 -10
  136. package/BackOffice/SignatureDialog.stories.d.ts +0 -25
  137. package/BackOffice/SignatureMethodsSetup.stories.d.ts +0 -14
  138. package/BackOffice/StaffDirectory.stories.d.ts +0 -24
  139. package/BackOffice/TasksTable.stories.d.ts +0 -21
  140. package/BackOffice/WebFrameDirectorySearchPanel.stories.d.ts +0 -8
  141. package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +0 -10
  142. package/Helpers/Button.stories.d.ts +0 -8
  143. package/Helpers/DropdownButton/DropdownButton.stories.d.ts +0 -10
  144. package/Helpers/EmployeeName.stories.d.ts +0 -8
  145. package/Helpers/InputMask/InputMask.stories.d.ts +0 -11
  146. package/Helpers/SearchBar.stories.d.ts +0 -8
  147. package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +0 -8
  148. package/Platform/$LastSearchParameters.d.ts +0 -10
  149. package/Platform/Aggregates.stories.d.ts +0 -8
  150. package/Platform/Diagram.stories.d.ts +0 -11
  151. package/Platform/Dropdown.stories.d.ts +0 -12
  152. package/Platform/FolderGrid.stories.d.ts +0 -17
  153. package/Platform/FolderTypeItems.stories.d.ts +0 -9
  154. package/Platform/FolderViewItems.stories.d.ts +0 -9
  155. package/Platform/LastSearchParametersService.d.ts +0 -11
  156. package/Platform/QueryCondition.stories.d.ts +0 -5
  157. package/Platform/Quotes.stories.d.ts +0 -8
  158. package/Platform/SecurityDescriptorDialog.stories.d.ts +0 -10
  159. package/Platform/SettingsPopup.stories.d.ts +0 -1
  160. package/Platform/Tab.stories.d.ts +0 -9
  161. package/Platform/TextBox.stories.d.ts +0 -10
  162. package/Platform/Toolbar.stories.d.ts +0 -12
  163. package/Platform/WebFrameBodyContainer.stories.d.ts +0 -8
  164. package/Platform/WebFrameCompanyLogo.stories.d.ts +0 -10
  165. package/Platform/WebFrameCurrentPageName.stories.d.ts +0 -8
  166. package/Platform/WebFrameHeaderContainer.stories.d.ts +0 -17
  167. package/Platform/WebFrameHelpButton.stories.d.ts +0 -10
  168. package/Platform/WebFrameMainMenuButton.stories.d.ts +0 -8
  169. package/Platform/WebFrameMainMenuContainer.stories.d.ts +0 -10
  170. package/Platform/WebFrameNavigationBar.stories.d.ts +0 -19
  171. package/Platform/WebFrameSearchPanel.stories.d.ts +0 -14
  172. package/Platform/WebFrameUserPanel.stories.d.ts +0 -12
@@ -45,6 +45,7 @@ export declare class StaffDirectorySelectDialog extends DirectorySelectDialog<St
45
45
  directoryDataId: FieldNameAccessor<GenModels.IDirectoryItemData, string>;
46
46
  directoryDataName: FuncAccessor<GenModels.IDirectoryItemData, string>;
47
47
  directoryDataTip: FuncAccessor<GenModels.IDirectoryItemData, string>;
48
+ directoryItemReadonly: FuncAccessor<GenModels.IDirectoryItemData, boolean>;
48
49
  constructor(props: IStaffDirectorySelectDialogProps);
49
50
  componentDidMount(): void;
50
51
  get selectedItems(): GenModels.IDirectoryItemData[];
@@ -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("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
23
+ import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
24
24
  dialog: (props:
25
- import("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
25
+ import("D:/BuildAgent/work/a67c8f9640042c6e/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("D:/BuildAgent/work/43698d70d905217f/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
32
+ import("D:/BuildAgent/work/a67c8f9640042c6e/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
33
33
  ribbonButton: typeof TasksTableRibbonButton;
34
34
  ribbonContainer: typeof TasksTableRibbonContainer;
35
35
  ribbonFilterButton: typeof TasksTableFilterButton;
@@ -1,6 +1,25 @@
1
1
  import { ControllerBase } from '@docsvision/webclient/System/ControllerBase';
2
2
  import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
3
3
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
+ export declare namespace GenControllers {
5
+ /**
6
+ * Represents controller to check Web-client initialization status.
7
+ */
8
+ interface IInitializationController {
9
+ /**
10
+ * Gets the initialization status of Web-client.
11
+ * Returns a 200 OK status if initialized, otherwise returns a 503 Service Unavailable status.
12
+ */
13
+ isInitialized(options?: RequestOptions): Promise<string>;
14
+ }
15
+ class InitializationController extends ControllerBase implements IInitializationController {
16
+ isInitialized(options?: RequestOptions): Promise<string>;
17
+ }
18
+ }
19
+ export declare type $InitializationController = {
20
+ initializationController: GenControllers.IInitializationController;
21
+ };
22
+ export declare const $InitializationController: string | ((model?: $InitializationController) => GenControllers.IInitializationController);
4
23
  export declare namespace GenControllers {
5
24
  /**
6
25
  * Employee controller
@@ -92,10 +111,10 @@ export declare namespace GenControllers {
92
111
  /**
93
112
  * Get card html by xslt id
94
113
  */
95
- checkUserAuthenticationLogin(extensionId: string, login: string, options?: RequestOptions): Promise<boolean>;
114
+ checkUserAuthenticationLogin(extensionId: string, login: string, userId: string, options?: RequestOptions): Promise<boolean>;
96
115
  }
97
116
  class AuthenticationKindsController extends ControllerBase implements IAuthenticationKindsController {
98
- checkUserAuthenticationLogin(extensionId: string, login: string, options?: RequestOptions): Promise<boolean>;
117
+ checkUserAuthenticationLogin(extensionId: string, login: string, userId: string, options?: RequestOptions): Promise<boolean>;
99
118
  }
100
119
  }
101
120
  export declare type $AuthenticationKindsController = {
@@ -635,6 +654,56 @@ export declare type $FavoritesController = {
635
654
  favoritesController: GenControllers.IFavoritesController;
636
655
  };
637
656
  export declare const $FavoritesController: string | ((model?: $FavoritesController) => GenControllers.IFavoritesController);
657
+ export declare namespace GenControllers {
658
+ /**
659
+ * File hash controller
660
+ */
661
+ interface IFileHashController {
662
+ /**
663
+ * Get hash of file data
664
+ *
665
+ * @param fileId File ID
666
+ * @param algorithm Hash algorithm name
667
+ *
668
+ * @returns Returns the hash of the file
669
+ */
670
+ getDataHash(fileId: string, algorithm: string, options?: RequestOptions): Promise<string>;
671
+ /**
672
+ * Get hash of attachment stream
673
+ *
674
+ * @param cardId Card id
675
+ * @param algorithm Hash algorithm name
676
+ *
677
+ * @returns Returns the hash of the attachment stream
678
+ */
679
+ getAttachmentStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
680
+ /**
681
+ * Get hash of fields stream
682
+ *
683
+ * @param cardId Card id
684
+ * @param algorithm Hash algorithm name
685
+ *
686
+ * @returns Returns the hash of the fields stream
687
+ */
688
+ getFieldsStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
689
+ /**
690
+ * Get hash algorithm name from certificate in base64
691
+ *
692
+ * @returns Hash algorithm name
693
+ */
694
+ getCertificateHashAlgorithm(options?: RequestOptions): Promise<any>;
695
+ }
696
+ class FileHashController extends ControllerBase implements IFileHashController {
697
+ getDataHash(fileId: string, algorithm: string, options?: RequestOptions): Promise<string>;
698
+ getAttachmentStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
699
+ getFieldsStreamHash(cardId: string, algorithm: string, options?: RequestOptions): Promise<string>;
700
+ getCertificateHashAlgorithm(options?: RequestOptions): Promise<any>;
701
+ }
702
+ }
703
+ export declare type $FileHashController = {
704
+ fileHashController: GenControllers.IFileHashController;
705
+ };
706
+ export declare const $FileHashController: string | ((model?: $FileHashController) => GenControllers.IFileHashController);
638
707
  export declare namespace GenControllers {
639
708
  /**
640
709
  * Defines FilePreviewController
@@ -808,6 +877,24 @@ export declare type $GridController = {
808
877
  gridController: GenControllers.IGridController;
809
878
  };
810
879
  export declare const $GridController: string | ((model?: $GridController) => GenControllers.IGridController);
880
+ export declare namespace GenControllers {
881
+ /**
882
+ * Controller for receiving access token
883
+ */
884
+ interface IJwtTokenController {
885
+ /**
886
+ * Get access token for Bearer authorization
887
+ */
888
+ getAccessToken(options?: RequestOptions): Promise<string>;
889
+ }
890
+ class JwtTokenController extends ControllerBase implements IJwtTokenController {
891
+ getAccessToken(options?: RequestOptions): Promise<string>;
892
+ }
893
+ }
894
+ export declare type $JwtTokenController = {
895
+ jwtTokenController: GenControllers.IJwtTokenController;
896
+ };
897
+ export declare const $JwtTokenController: string | ((model?: $JwtTokenController) => GenControllers.IJwtTokenController);
811
898
  export declare namespace GenControllers {
812
899
  /**
813
900
  * Layout controller
@@ -1203,6 +1290,10 @@ export declare namespace GenControllers {
1203
1290
  * Получение файла с поддержкой AllowAnonymous. AccessToken не удаляется автоматически.
1204
1291
  */
1205
1292
  getFile(accessToken: string, options?: RequestOptions): Promise<any>;
1293
+ /**
1294
+ * Получение файла с поддержкой AllowAnonymous
1295
+ */
1296
+ getFileByJToken(accessJwtToken: string, options?: RequestOptions): Promise<any>;
1206
1297
  /**
1207
1298
  * Блокирует файл с поддержкой AllowAnonymous. AccessToken не удаляется автоматически.
1208
1299
  */
@@ -1235,6 +1326,7 @@ export declare namespace GenControllers {
1235
1326
  class R7OfficeController extends ControllerBase implements IR7OfficeController {
1236
1327
  getFilePreview(accessToken: string, options?: RequestOptions): Promise<any>;
1237
1328
  getFile(accessToken: string, options?: RequestOptions): Promise<any>;
1329
+ getFileByJToken(accessJwtToken: string, options?: RequestOptions): Promise<any>;
1238
1330
  lockFile(accessToken: string, options?: RequestOptions): Promise<any>;
1239
1331
  unlockFile(accessToken: string, options?: RequestOptions): Promise<any>;
1240
1332
  unlockFileEx(accessToken: string, options?: RequestOptions): Promise<any>;
@@ -1248,6 +1340,24 @@ export declare type $R7OfficeController = {
1248
1340
  R7OfficeController: GenControllers.IR7OfficeController;
1249
1341
  };
1250
1342
  export declare const $R7OfficeController: string | ((model?: $R7OfficeController) => GenControllers.IR7OfficeController);
1343
+ export declare namespace GenControllers {
1344
+ /**
1345
+ * R7Office controller for getting token
1346
+ */
1347
+ interface IR7TokenActivationController {
1348
+ /**
1349
+ * Gets access token for r7documentserver.
1350
+ */
1351
+ getAccessToken(config: string, options?: RequestOptions): Promise<any>;
1352
+ }
1353
+ class R7TokenActivationController extends ControllerBase implements IR7TokenActivationController {
1354
+ getAccessToken(config: string, options?: RequestOptions): Promise<any>;
1355
+ }
1356
+ }
1357
+ export declare type $R7TokenActivationController = {
1358
+ R7TokenActivationController: GenControllers.IR7TokenActivationController;
1359
+ };
1360
+ export declare const $R7TokenActivationController: string | ((model?: $R7TokenActivationController) => GenControllers.IR7TokenActivationController);
1251
1361
  export declare namespace GenControllers {
1252
1362
  /**
1253
1363
  * File controller
@@ -1295,6 +1405,24 @@ export declare type $DataGridControlController = {
1295
1405
  dataGridControlController: GenControllers.IDataGridControlController;
1296
1406
  };
1297
1407
  export declare const $DataGridControlController: string | ((model?: $DataGridControlController) => GenControllers.IDataGridControlController);
1408
+ export declare namespace GenControllers {
1409
+ /**
1410
+ * Represents controller to check Web-client initialization status.
1411
+ */
1412
+ interface IRealtimeCommunicationController {
1413
+ /**
1414
+ * Check, whether active signalr connections already exists with specified session id.
1415
+ */
1416
+ hasActiveSignalRConnections(sessionId: string, options?: RequestOptions): Promise<boolean>;
1417
+ }
1418
+ class RealtimeCommunicationController extends ControllerBase implements IRealtimeCommunicationController {
1419
+ hasActiveSignalRConnections(sessionId: string, options?: RequestOptions): Promise<boolean>;
1420
+ }
1421
+ }
1422
+ export declare type $RealtimeCommunicationController = {
1423
+ realtimeCommunicationController: GenControllers.IRealtimeCommunicationController;
1424
+ };
1425
+ export declare const $RealtimeCommunicationController: string | ((model?: $RealtimeCommunicationController) => GenControllers.IRealtimeCommunicationController);
1298
1426
  export declare namespace GenControllers {
1299
1427
  /**
1300
1428
  * Scan button controller
@@ -1591,8 +1719,8 @@ export declare namespace GenControllers {
1591
1719
  * @returns action result
1592
1720
  */
1593
1721
  login(model: GenModels.LoginModel, returnUrl: string, options?: RequestOptions): Promise<any>;
1594
- loginWithExtension(model: GenModels.ExtensionModel, options?: RequestOptions): Promise<string>;
1595
- loginWithESIA(model: GenModels.ExtensionModelCode, options?: RequestOptions): Promise<any>;
1722
+ loginWithExtension(model: GenModels.ExtensionModel, providerId: string, options?: RequestOptions): Promise<string>;
1723
+ loginWithCode(model: GenModels.ExtensionModelCode, options?: RequestOptions): Promise<any>;
1596
1724
  /**
1597
1725
  * Get WebClient AuthExtensions
1598
1726
  */
@@ -1611,8 +1739,8 @@ export declare namespace GenControllers {
1611
1739
  class AccountController extends ControllerBase implements IAccountController {
1612
1740
  getLoginView(options?: RequestOptions): Promise<string>;
1613
1741
  login(model: GenModels.LoginModel, returnUrl: string, options?: RequestOptions): Promise<any>;
1614
- loginWithExtension(model: GenModels.ExtensionModel, options?: RequestOptions): Promise<string>;
1615
- loginWithESIA(model: GenModels.ExtensionModelCode, options?: RequestOptions): Promise<any>;
1742
+ loginWithExtension(model: GenModels.ExtensionModel, providerId: string, options?: RequestOptions): Promise<string>;
1743
+ loginWithCode(model: GenModels.ExtensionModelCode, options?: RequestOptions): Promise<any>;
1616
1744
  getWebClientAuthExtensions(returnUrl: string, options?: RequestOptions): Promise<string>;
1617
1745
  getLoginUrlForExtension(providerId: string, options?: RequestOptions): Promise<string>;
1618
1746
  logOff(returnUrl?: string, options?: RequestOptions): Promise<string>;
@@ -1789,6 +1917,44 @@ export declare type $ClientLogController = {
1789
1917
  clientLogController: GenControllers.IClientLogController;
1790
1918
  };
1791
1919
  export declare const $ClientLogController: string | ((model?: $ClientLogController) => GenControllers.IClientLogController);
1920
+ export declare namespace GenControllers {
1921
+ /**
1922
+ * Diagnostics log controller
1923
+ */
1924
+ interface IDiagnosticsLogController {
1925
+ /**
1926
+ * Setting a filter by user
1927
+ */
1928
+ addLogUser(user: string, options?: RequestOptions): Promise<void>;
1929
+ /**
1930
+ * Setting a filter by request address
1931
+ */
1932
+ addLogAddress(address: string, options?: RequestOptions): Promise<void>;
1933
+ /**
1934
+ * Setting a filter by request time
1935
+ */
1936
+ addLogRequestTime(milliseconds: number, options?: RequestOptions): Promise<void>;
1937
+ /**
1938
+ * Set timer time to automatically disable logging
1939
+ */
1940
+ setIntervalTimer(minutes: number, options?: RequestOptions): Promise<void>;
1941
+ /**
1942
+ * Reset all filters
1943
+ */
1944
+ reset(options?: RequestOptions): Promise<void>;
1945
+ }
1946
+ class DiagnosticsLogController extends ControllerBase implements IDiagnosticsLogController {
1947
+ addLogUser(user: string, options?: RequestOptions): Promise<void>;
1948
+ addLogAddress(address: string, options?: RequestOptions): Promise<void>;
1949
+ addLogRequestTime(milliseconds: number, options?: RequestOptions): Promise<void>;
1950
+ setIntervalTimer(minutes: number, options?: RequestOptions): Promise<void>;
1951
+ reset(options?: RequestOptions): Promise<void>;
1952
+ }
1953
+ }
1954
+ export declare type $DiagnosticsLogController = {
1955
+ diagnosticsLogController: GenControllers.IDiagnosticsLogController;
1956
+ };
1957
+ export declare const $DiagnosticsLogController: string | ((model?: $DiagnosticsLogController) => GenControllers.IDiagnosticsLogController);
1792
1958
  export declare namespace GenControllers {
1793
1959
  /**
1794
1960
  * Download files batch operation controller
@@ -1886,6 +2052,10 @@ export declare namespace GenControllers {
1886
2052
  * POST: /FilePicker/GetFile
1887
2053
  */
1888
2054
  prepareFileDownload(request: GenModels.FilePickerRequestModel, options?: RequestOptions): Promise<void>;
2055
+ /**
2056
+ * POST: /FilePicker/GetViewZipContent
2057
+ */
2058
+ getViewZipContent(request: GenModels.FilePickerGetViewZipContentRequestModel, options?: RequestOptions): Promise<Array<GenModels.FilePickerViewZipItemModel>>;
1889
2059
  }
1890
2060
  class FilePickerController extends ControllerBase implements IFilePickerController {
1891
2061
  createFile(formCollection: Array<Array<string>>, options?: RequestOptions): Promise<any>;
@@ -1893,6 +2063,7 @@ export declare namespace GenControllers {
1893
2063
  replaceFile(formCollection: Array<Array<string>>, options?: RequestOptions): Promise<any>;
1894
2064
  getFile(request: GenModels.FilePickerGetFileRequestModel, options?: RequestOptions): Promise<GenModels.FileCardModel>;
1895
2065
  prepareFileDownload(request: GenModels.FilePickerRequestModel, options?: RequestOptions): Promise<void>;
2066
+ getViewZipContent(request: GenModels.FilePickerGetViewZipContentRequestModel, options?: RequestOptions): Promise<Array<GenModels.FilePickerViewZipItemModel>>;
1896
2067
  }
1897
2068
  }
1898
2069
  export declare type $FilePickerController = {
@@ -2000,13 +2171,14 @@ export declare namespace GenControllers {
2000
2171
  */
2001
2172
  agreementResume(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
2002
2173
  /**
2003
- * Get agreement history
2174
+ * Gets agreement history.
2004
2175
  *
2005
- * @param reconcileCardId Reconcile card id
2176
+ * @param reconcileCardId Reconcile card id.
2177
+ * @param includeAllReconciliations Determines whether to return all approvals or only current one.
2006
2178
  *
2007
- * @returns JSON representation of {@link GenModels}
2179
+ * @returns JSON representation of {@link GenModels}.
2008
2180
  */
2009
- getAgreementHistory(reconcileCardId: string, options?: RequestOptions): Promise<GenModels.ApprovalHistoryViewModel>;
2181
+ getAgreementHistory(reconcileCardId: string, includeAllReconciliations: boolean, options?: RequestOptions): Promise<Array<GenModels.ApprovalHistoryViewModel>>;
2010
2182
  }
2011
2183
  class LayoutAgreementController extends ControllerBase implements ILayoutAgreementController {
2012
2184
  getAgreementList(cardId: string, options?: RequestOptions): Promise<GenModels.AgreementListModel>;
@@ -2020,7 +2192,7 @@ export declare namespace GenControllers {
2020
2192
  agreementFinish(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
2021
2193
  agreementPause(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
2022
2194
  agreementResume(documentCardId: string, reconcileCardId: string, options?: RequestOptions): Promise<void>;
2023
- getAgreementHistory(reconcileCardId: string, options?: RequestOptions): Promise<GenModels.ApprovalHistoryViewModel>;
2195
+ getAgreementHistory(reconcileCardId: string, includeAllReconciliations: boolean, options?: RequestOptions): Promise<Array<GenModels.ApprovalHistoryViewModel>>;
2024
2196
  }
2025
2197
  }
2026
2198
  export declare type $LayoutAgreementController = {
@@ -2070,6 +2242,12 @@ export declare namespace GenControllers {
2070
2242
  * @param layoutPartParams layout part params
2071
2243
  */
2072
2244
  getLayoutPart(layoutPartParams: GenModels.LayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
2245
+ /**
2246
+ * Gets layout part
2247
+ *
2248
+ * @param layoutPartParams layout part params
2249
+ */
2250
+ getLayoutPartEx(layoutPartParams: GenModels.LayoutPartParamsEx, options?: RequestOptions): Promise<GenModels.LayoutModel>;
2073
2251
  /**
2074
2252
  * HTTP: /LayoutCard/Save
2075
2253
  */
@@ -2113,6 +2291,7 @@ export declare namespace GenControllers {
2113
2291
  cancelCreation(cardId: string, parentCardId: string, options?: RequestOptions): Promise<string>;
2114
2292
  getLayout(cardLayoutParams: GenModels.CardLayoutParams, options?: RequestOptions): Promise<GenModels.LayoutCardViewModel>;
2115
2293
  getLayoutPart(layoutPartParams: GenModels.LayoutPartParams, options?: RequestOptions): Promise<GenModels.LayoutModel>;
2294
+ getLayoutPartEx(layoutPartParams: GenModels.LayoutPartParamsEx, options?: RequestOptions): Promise<GenModels.LayoutModel>;
2116
2295
  save(model: GenModels.SaveControlDataModel, options?: RequestOptions): Promise<void>;
2117
2296
  moveShortcutsToFolder(request: GenModels.MoveOrCopyShortcutsToFolderRequest, options?: RequestOptions): Promise<string>;
2118
2297
  copyShortcutsToFolder(request: GenModels.MoveOrCopyShortcutsToFolderRequest, options?: RequestOptions): Promise<string>;
@@ -56,6 +56,10 @@ export declare namespace GenModels {
56
56
  * Type of the data
57
57
  */
58
58
  dataType: GenModels.DirectoryDataType;
59
+ /**
60
+ * Is department available when search
61
+ */
62
+ notAvailable?: boolean;
59
63
  }
60
64
  }
61
65
  export declare namespace GenModels {
@@ -138,6 +142,10 @@ export declare namespace GenModels {
138
142
  * @format datatype.uuid
139
143
  */
140
144
  unitId: string;
145
+ /**
146
+ * All units of employee, including parent units.
147
+ */
148
+ units: Array<string>;
141
149
  /**
142
150
  * Email
143
151
  */
@@ -771,6 +779,12 @@ export declare namespace GenModels {
771
779
  * Location name, representing folder content. Default value is "DV.Folder".
772
780
  */
773
781
  locationName: string;
782
+ /**
783
+ * Gets or sets current (view) cursor ID
784
+ *
785
+ * @format datatype.uuid
786
+ */
787
+ cursorId: string;
774
788
  /**
775
789
  * Gets or sets base cursor ID
776
790
  *
@@ -1197,6 +1211,10 @@ export declare namespace GenModels {
1197
1211
  * @format datatype.uuid
1198
1212
  */
1199
1213
  parentId: string;
1214
+ /**
1215
+ * Row type
1216
+ */
1217
+ type: GenModels.DirectoryDesignerTreeNodeType;
1200
1218
  }
1201
1219
  }
1202
1220
  export declare namespace GenModels {
@@ -1221,6 +1239,10 @@ export declare namespace GenModels {
1221
1239
  * @format datatype.uuid
1222
1240
  */
1223
1241
  parentId: string;
1242
+ /**
1243
+ * Node type
1244
+ */
1245
+ type: GenModels.DirectoryDesignerTreeNodeType;
1224
1246
  }
1225
1247
  }
1226
1248
  export declare namespace GenModels {
@@ -2491,6 +2513,10 @@ export declare namespace GenModels {
2491
2513
  * Gets or sets versions count
2492
2514
  */
2493
2515
  versionsCount: number;
2516
+ /**
2517
+ * Gets or sets a flag that determines whether current file can be edited.
2518
+ */
2519
+ allowEdit: boolean;
2494
2520
  /**
2495
2521
  * Link to open file with webdav
2496
2522
  */
@@ -2537,6 +2563,12 @@ export declare namespace GenModels {
2537
2563
  * @format datatype.datetime
2538
2564
  */
2539
2565
  creationDate: string;
2566
+ /**
2567
+ * Gets or sets change date
2568
+ *
2569
+ * @format datatype.datetime
2570
+ */
2571
+ changeDate: string;
2540
2572
  /**
2541
2573
  * Gets or sets file version comments
2542
2574
  */
@@ -2876,6 +2908,7 @@ export declare namespace GenModels {
2876
2908
  hasFileSignature: boolean;
2877
2909
  hasFileCertificatedSignature: boolean;
2878
2910
  isMain: boolean;
2911
+ allowEdit: boolean;
2879
2912
  webDavLink: string;
2880
2913
  webDavReadonlyLink: string;
2881
2914
  versionsCount: number;
@@ -2890,6 +2923,10 @@ export declare namespace GenModels {
2890
2923
  * @format datatype.uuid
2891
2924
  */
2892
2925
  id: string;
2926
+ /**
2927
+ * @format datatype.datetime
2928
+ */
2929
+ changeDate: string;
2893
2930
  /**
2894
2931
  * Gets or set version id
2895
2932
  *
@@ -4273,6 +4310,10 @@ export declare namespace GenModels {
4273
4310
  * state for token
4274
4311
  */
4275
4312
  state: string;
4313
+ /**
4314
+ * providerId for token
4315
+ */
4316
+ providerId: string;
4276
4317
  }
4277
4318
  }
4278
4319
  export declare namespace GenModels {
@@ -4391,6 +4432,24 @@ export declare namespace GenModels {
4391
4432
  loadVersions: boolean;
4392
4433
  }
4393
4434
  }
4435
+ export declare namespace GenModels {
4436
+ interface FilePickerGetViewZipContentRequestModel {
4437
+ /**
4438
+ * FileCard id
4439
+ *
4440
+ * @format datatype.uuid
4441
+ */
4442
+ fileCardId: string;
4443
+ }
4444
+ }
4445
+ export declare namespace GenModels {
4446
+ interface FilePickerViewZipItemModel {
4447
+ /**
4448
+ * File/folder name in zip archive with full path
4449
+ */
4450
+ fullName: string;
4451
+ }
4452
+ }
4394
4453
  export declare namespace GenModels {
4395
4454
  interface AgreementListModel {
4396
4455
  documentNumber: string;
@@ -4517,6 +4576,7 @@ export declare namespace GenModels {
4517
4576
  }
4518
4577
  export declare namespace GenModels {
4519
4578
  interface ApprovalHistoryViewModel {
4579
+ displayName: string;
4520
4580
  approvalReconcileCardId: string;
4521
4581
  approvalTaskCardId: string;
4522
4582
  currentCycle: GenModels.ApprovalHistoryCycleModel;
@@ -4848,6 +4908,15 @@ export declare namespace GenModels {
4848
4908
  }[];
4849
4909
  }
4850
4910
  }
4911
+ export declare namespace GenModels {
4912
+ interface LayoutPartParamsEx {
4913
+ cardId: string;
4914
+ layoutMode?: string;
4915
+ rootControlName: string;
4916
+ includeRootControl: boolean;
4917
+ contextData: Array<GenModels.LayoutParamModel>;
4918
+ }
4919
+ }
4851
4920
  export declare namespace GenModels {
4852
4921
  interface SaveControlDataModel {
4853
4922
  cardId: string;
@@ -6556,6 +6625,7 @@ export declare namespace GenModels {
6556
6625
  interface CommonFileModel {
6557
6626
  fileName: string;
6558
6627
  fileId: string;
6628
+ allowEdit: boolean;
6559
6629
  webDavLink: string;
6560
6630
  webDavReadonlyLink: string;
6561
6631
  filePreviewAvailable: boolean;
@@ -7238,6 +7308,10 @@ export declare namespace GenModels {
7238
7308
  }
7239
7309
  export declare namespace GenModels {
7240
7310
  interface StaffQuery {
7311
+ /**
7312
+ * Is query exec from staff directory
7313
+ */
7314
+ isDirectoryLoadContext?: boolean;
7241
7315
  /**
7242
7316
  * Query type
7243
7317
  */
@@ -7950,6 +8024,10 @@ export declare namespace GenModels {
7950
8024
  * File extensions regular expression, that could be loaded to system.
7951
8025
  */
7952
8026
  acceptableFileExtensions: string;
8027
+ /**
8028
+ * Gets or sets a regular expression describing which files can be edited.
8029
+ */
8030
+ acceptableFileExtensionsForEditing: string;
7953
8031
  /**
7954
8032
  * Current Web-client connection.
7955
8033
  */
@@ -8066,6 +8144,10 @@ export declare namespace GenModels {
8066
8144
  * Possible extensions for signature files.
8067
8145
  */
8068
8146
  signatureFileExtensions: Array<string>;
8147
+ /**
8148
+ * Selecting a mechanism for generating an electronic signature
8149
+ */
8150
+ calculateSignatureHashOnServer: boolean;
8069
8151
  /**
8070
8152
  * Settings for cloud signature (DSS)
8071
8153
  */
@@ -8812,6 +8894,10 @@ export declare namespace GenModels {
8812
8894
  * Type of the data
8813
8895
  */
8814
8896
  dataType: GenModels.DirectoryDataType;
8897
+ /**
8898
+ * Gets or sets flag that determines whether role should be shown in search results.
8899
+ */
8900
+ notAvailable: boolean;
8815
8901
  }
8816
8902
  }
8817
8903
  export declare namespace GenModels {
@@ -9477,6 +9563,18 @@ export declare namespace GenModels {
9477
9563
  interface ISystemStateNotificationData {
9478
9564
  }
9479
9565
  }
9566
+ export declare namespace GenModels {
9567
+ interface InputMaskModel {
9568
+ /**
9569
+ * Input mask string
9570
+ */
9571
+ inputMask: string;
9572
+ /**
9573
+ * Regular expression for validation input
9574
+ */
9575
+ inputRegExp: string;
9576
+ }
9577
+ }
9480
9578
  export declare namespace GenModels {
9481
9579
  interface FolderListModel {
9482
9580
  /**
@@ -9590,6 +9688,11 @@ export declare namespace GenModels {
9590
9688
  ApproversAddition = 6,
9591
9689
  NonNegative = 7,
9592
9690
  Any = 8,
9691
+ BranchA = 20,
9692
+ BranchB = 21,
9693
+ BranchC = 22,
9694
+ BranchD = 23,
9695
+ BranchE = 24,
9593
9696
  Completion = 100,
9594
9697
  Return = 200
9595
9698
  }
@@ -9827,6 +9930,21 @@ export declare namespace GenModels {
9827
9930
  ElectronicSignature = 0
9828
9931
  }
9829
9932
  }
9933
+ export declare namespace GenModels {
9934
+ /**
9935
+ * Represents type of tree node
9936
+ */
9937
+ enum DirectoryDesignerTreeNodeType {
9938
+ /**
9939
+ * directory designer item type (node)
9940
+ */
9941
+ Node = 1,
9942
+ /**
9943
+ * directory designer row
9944
+ */
9945
+ Row = 2
9946
+ }
9947
+ }
9830
9948
  export declare namespace GenModels {
9831
9949
  /**
9832
9950
  * Represents what and how to search in directory designer tree
@@ -9846,21 +9964,6 @@ export declare namespace GenModels {
9846
9964
  NodeWithChildren = 3
9847
9965
  }
9848
9966
  }
9849
- export declare namespace GenModels {
9850
- /**
9851
- * Represents type of tree node
9852
- */
9853
- enum DirectoryDesignerTreeNodeType {
9854
- /**
9855
- * directory designer item type (node)
9856
- */
9857
- Node = 1,
9858
- /**
9859
- * directory designer row
9860
- */
9861
- Row = 2
9862
- }
9863
- }
9864
9967
  export declare namespace GenModels {
9865
9968
  /**
9866
9969
  * Represents disabled card reasons
@@ -11284,6 +11387,29 @@ export declare namespace GenModels {
11284
11387
  NewWindow = 2
11285
11388
  }
11286
11389
  }
11390
+ export declare namespace GenModels {
11391
+ /**
11392
+ * Represents sorting files types
11393
+ */
11394
+ enum SortingFiles {
11395
+ /**
11396
+ * Sort file by name in ascending order
11397
+ */
11398
+ ByNameAsc = 0,
11399
+ /**
11400
+ * Sort files by name in descending order
11401
+ */
11402
+ ByNameDesc = 1,
11403
+ /**
11404
+ * Sort file by append time in ascending order
11405
+ */
11406
+ ByTimeAsc = 2,
11407
+ /**
11408
+ * Sort file by append time in descending order
11409
+ */
11410
+ ByTimeDesc = 3
11411
+ }
11412
+ }
11287
11413
  export declare namespace GenModels {
11288
11414
  enum AdditionalElementsMode {
11289
11415
  Left = 0,
@@ -11835,6 +11961,12 @@ export declare namespace GenModels {
11835
11961
  MainInfoPerformers = 1
11836
11962
  }
11837
11963
  }
11964
+ export declare namespace GenModels {
11965
+ enum AgreementHistoryDisplayMode {
11966
+ Standart = 0,
11967
+ Full = 1
11968
+ }
11969
+ }
11838
11970
  export declare namespace GenModels {
11839
11971
  /**
11840
11972
  * Type of data that uses as login
@@ -8,6 +8,7 @@ export interface IDepartmentFilterProps<T> {
8
8
  itemId: IReadonlyAccessor<T, string>;
9
9
  itemName: IReadonlyAccessor<T, string>;
10
10
  itemTip: IReadonlyAccessor<T, string>;
11
+ itemReadonly?: IReadonlyAccessor<T, boolean>;
11
12
  rootLabel: string;
12
13
  rootTip?: string;
13
14
  onPathChange: (newPath: T[]) => void;
@@ -8,6 +8,7 @@ export interface IBreadcrumbsViewProps<T> {
8
8
  itemId: IReadonlyAccessor<T, string>;
9
9
  itemName: IReadonlyAccessor<T, string>;
10
10
  itemTip: IReadonlyAccessor<T, string>;
11
+ itemReadonly?: IReadonlyAccessor<T, boolean>;
11
12
  rootLabel: string;
12
13
  rootTip?: string;
13
14
  /** При выборе элемента */