@docsvision/webclient 5.17.0-beta.14 → 5.17.0-beta.15

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 (256) hide show
  1. package/BackOffice/$CloudSignature.d.ts +34 -0
  2. package/BackOffice/$CryptoPro.d.ts +10 -0
  3. package/BackOffice/$DigitalSignature.d.ts +75 -0
  4. package/BackOffice/ActualizeProfileCertificateSource.d.ts +13 -0
  5. package/BackOffice/{BackOfficeLayoutContextContstants.d.ts → BackOfficeLayoutContextConstants.d.ts} +0 -0
  6. package/BackOffice/CardKindImpl.d.ts +1 -0
  7. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  8. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  9. package/BackOffice/ConvertCloudToSavedCertificate.d.ts +4 -0
  10. package/BackOffice/ConvertLocalToSavedCertificate.d.ts +4 -0
  11. package/BackOffice/ConvertSignLabelsToComboBoxItems.d.ts +15 -0
  12. package/BackOffice/CryptoProDssService.d.ts +65 -0
  13. package/BackOffice/CryptoProService.d.ts +10 -0
  14. package/BackOffice/{BatchDelegateOperation.d.ts → DelegateBatchOperation.d.ts} +5 -5
  15. package/BackOffice/{BatchDelegateOperationImpl.d.ts → DelegateBatchOperationImpl.d.ts} +3 -3
  16. package/BackOffice/DelegationParamsPanel.d.ts +1 -1
  17. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  18. package/BackOffice/DigitalSignatureService.d.ts +38 -0
  19. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +78 -0
  20. package/BackOffice/DirectoryDesignerActionButton.d.ts +7 -0
  21. package/BackOffice/DirectoryDesignerItemCreateWindow.d.ts +4 -0
  22. package/BackOffice/DirectoryDesignerItemEditWindow.d.ts +4 -0
  23. package/BackOffice/DirectoryDesignerItemViewWindow.d.ts +8 -0
  24. package/BackOffice/DirectoryDesignerRow.d.ts +29 -15
  25. package/BackOffice/DirectoryDesignerRowConstants.d.ts +3 -0
  26. package/BackOffice/DirectoryDesignerRowImpl.d.ts +42 -29
  27. package/BackOffice/DirectoryDesignerRowItemVisualiser.d.ts +9 -0
  28. package/BackOffice/DirectoryDesignerTypeaheadVariant.d.ts +6 -2
  29. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  30. package/BackOffice/DirectorySearchResultView.d.ts +2 -2
  31. package/BackOffice/DssAuthorizationModels.d.ts +6 -0
  32. package/BackOffice/DssCertificateModels.d.ts +30 -0
  33. package/BackOffice/DssPolicyModels.d.ts +51 -0
  34. package/BackOffice/DssSignRequestModels.d.ts +133 -0
  35. package/BackOffice/EmailButtonView.d.ts +2 -2
  36. package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
  37. package/BackOffice/FileListControl.d.ts +10 -3
  38. package/BackOffice/FileListControlImpl.d.ts +5 -0
  39. package/BackOffice/FileListControlLogic.d.ts +2 -1
  40. package/BackOffice/FileListItemComponent.d.ts +1 -1
  41. package/BackOffice/FileListItemProps.d.ts +2 -1
  42. package/BackOffice/FileSign.d.ts +12 -39
  43. package/BackOffice/FileSignListDialog.d.ts +7 -2
  44. package/BackOffice/GetSignatureMethodName.d.ts +4 -0
  45. package/BackOffice/HistoryView.d.ts +1 -1
  46. package/BackOffice/ICertificateStatus.d.ts +6 -0
  47. package/BackOffice/IDocumentInfoAdditionalInfoResult.d.ts +4 -0
  48. package/BackOffice/IDssCertificateInfoEx.d.ts +4 -0
  49. package/BackOffice/IFileSignInteractionModel.d.ts +8 -3
  50. package/BackOffice/IGetCertificateResult.d.ts +33 -0
  51. package/BackOffice/IGetDocumentInfoResult.d.ts +14 -0
  52. package/BackOffice/ISignOptions.d.ts +8 -0
  53. package/BackOffice/ISignRequest.d.ts +9 -0
  54. package/BackOffice/ISignResult.d.ts +5 -0
  55. package/BackOffice/ISignatureVerificationResult.d.ts +4 -0
  56. package/BackOffice/LoadCertificatesThumberprints.d.ts +9 -0
  57. package/BackOffice/LoadCloudCertificates.d.ts +4 -0
  58. package/BackOffice/LoadSignatureMethods.d.ts +2 -0
  59. package/BackOffice/LoadSystemCertificates.d.ts +4 -0
  60. package/BackOffice/NumeratorImpl.d.ts +1 -0
  61. package/BackOffice/PartnerBase.d.ts +2 -2
  62. package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
  63. package/BackOffice/PrepareSignatureMethodsComboBox.d.ts +7 -0
  64. package/BackOffice/PrintButtonView.d.ts +1 -1
  65. package/BackOffice/ProcessSettingsChanged.d.ts +11 -0
  66. package/BackOffice/SignatureButton.d.ts +36 -0
  67. package/BackOffice/SignatureButton.stories.d.ts +10 -0
  68. package/BackOffice/SignatureButtonComponent.d.ts +7 -0
  69. package/BackOffice/SignatureButtonContainer.d.ts +7 -0
  70. package/BackOffice/SignatureButtonLogic.d.ts +27 -0
  71. package/BackOffice/SignatureButtonMenu.d.ts +6 -0
  72. package/BackOffice/SignatureButtonMenuItem.d.ts +6 -0
  73. package/BackOffice/SignatureButtonOptions.d.ts +51 -0
  74. package/BackOffice/SignatureButtonView.d.ts +10 -0
  75. package/BackOffice/SignatureConstants.d.ts +1 -0
  76. package/BackOffice/SignatureDialog.d.ts +50 -0
  77. package/BackOffice/SignatureDialog.stories.d.ts +12 -0
  78. package/BackOffice/SignatureDialogFrame.d.ts +13 -0
  79. package/BackOffice/SignatureDialogLabels.d.ts +9 -0
  80. package/BackOffice/SignatureDialogLoader.d.ts +3 -0
  81. package/BackOffice/SignatureDialogLogic.d.ts +60 -0
  82. package/BackOffice/SignatureDialogMethods.d.ts +10 -0
  83. package/BackOffice/SignatureDialogNoPluginMessage.d.ts +6 -0
  84. package/BackOffice/SignatureDialogSettings.d.ts +20 -0
  85. package/BackOffice/SignatureMethodsSetup.d.ts +40 -0
  86. package/BackOffice/SignatureMethodsSetup.stories.d.ts +14 -0
  87. package/BackOffice/SignatureMethodsSetupCertificateRow.d.ts +14 -0
  88. package/BackOffice/SignatureMethodsSetupCertificateTable.d.ts +12 -0
  89. package/BackOffice/SignatureMethodsSetupCertificatesTableLoader.d.ts +3 -0
  90. package/BackOffice/SignatureMethodsSetupCloudLogin.d.ts +13 -0
  91. package/BackOffice/SignatureMethodsSetupFrame.d.ts +9 -0
  92. package/BackOffice/SignatureMethodsSetupLogic.d.ts +77 -0
  93. package/BackOffice/SignatureMethodsSetupNoPluginMessage.d.ts +7 -0
  94. package/BackOffice/SignatureMethodsSetupSelectedMethodsLoader.d.ts +3 -0
  95. package/BackOffice/SignatureMethodsSetupTabType.d.ts +4 -0
  96. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  97. package/BackOffice/StaffDirectoryItemsImpl.d.ts +7 -3
  98. package/BackOffice/SvsVerifyModels.d.ts +20 -0
  99. package/BackOffice/TasksTableView.d.ts +3 -3
  100. package/BackOffice/{TasksUtills.d.ts → TasksUtils.d.ts} +0 -0
  101. package/BackOffice/ToggleCertificateSelection.d.ts +2 -0
  102. package/BackOffice/UpdateMethodComment.d.ts +2 -0
  103. package/BackOffice/Utils.d.ts +3 -0
  104. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  105. package/Generated/DocsVision.WebClient.Controllers.d.ts +166 -2
  106. package/Generated/DocsVision.WebClient.Models.d.ts +1081 -217
  107. package/Helpers/ArtPlayer/ArtPlayer.d.ts +26 -0
  108. package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +10 -0
  109. package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +31 -0
  110. package/Helpers/ArtPlayer/ArtPlayerView.d.ts +13 -0
  111. package/Helpers/ArtPlayer/components/ArtPlayerContainer.d.ts +5 -0
  112. package/Helpers/ArtPlayer/components/ArtPlayerTimeCodes.d.ts +10 -0
  113. package/Helpers/ArtPlayer/components/ArtPlayerVideoPlayer.d.ts +7 -0
  114. package/Helpers/ArtPlayer/functions/LoadArtPlayer.d.ts +5 -0
  115. package/Helpers/ArtPlayer/functions/SetCurrentTimeCode.d.ts +7 -0
  116. package/Helpers/ArtPlayer/functions/SetPlayerLocalization.d.ts +7 -0
  117. package/Helpers/ArtPlayer/functions/SortingTimeCodes.d.ts +7 -0
  118. package/Helpers/ArtPlayer/functions/UpdatePlayerTime.d.ts +8 -0
  119. package/Helpers/ArtPlayer/models/IArtPlayer.d.ts +597 -0
  120. package/Helpers/ArtPlayer/models/IArtPlayerTImeCode.d.ts +6 -0
  121. package/Helpers/ModalDialog/CommonModalDialog.d.ts +2 -1
  122. package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +3 -3
  123. package/Helpers/ReactList/ReactListDynamic.d.ts +1 -0
  124. package/Helpers/Sortable/Data/ClientModels/ISortableItem.d.ts +7 -1
  125. package/Helpers/Sortable/Sortable.d.ts +13 -3
  126. package/Helpers/TextInput.d.ts +2 -0
  127. package/Helpers/TextInputDialog/Components/TextInputDialogFrame.d.ts +8 -0
  128. package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +10 -0
  129. package/Helpers/TextInputDialog/TextInputDialog.d.ts +25 -0
  130. package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +8 -0
  131. package/Helpers/TextInputDialog/TextInputDialogHost.d.ts +14 -0
  132. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  133. package/Legacy/ILabelTextareaControl.d.ts +1 -1
  134. package/Legacy/ISignatureDataModel.d.ts +2 -0
  135. package/Legacy/ISignatureListDataModel.d.ts +1 -1
  136. package/Legacy/ISignatureListItemDataModel.d.ts +6 -15
  137. package/Legacy/ISignatureListItemDetailDataModel.d.ts +8 -19
  138. package/Legacy/ISignatureVerificationDataModel.d.ts +4 -4
  139. package/Legacy/{ITextareaConrtol.d.ts → ITextareaControl.d.ts} +0 -0
  140. package/Legacy/LabelTextareaControl.d.ts +1 -1
  141. package/Legacy/NativeFunctions.d.ts +1 -20
  142. package/Legacy/StandardControllers.d.ts +2 -2
  143. package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
  144. package/Legacy/TextareaControl.d.ts +1 -1
  145. package/Legacy/Utils.d.ts +7 -0
  146. package/MainBundle.d.ts +1 -0
  147. package/Platform/$AggregatesCheckbox.d.ts +1 -0
  148. package/Platform/$EmployeeStatus.d.ts +6 -2
  149. package/Platform/$FolderHelp.d.ts +13 -0
  150. package/Platform/{AcesssInheritanceButtons.d.ts → AccessInheritanceButtons.d.ts} +2 -2
  151. package/Platform/AggregatesApplyButtonPanel.d.ts +9 -0
  152. package/Platform/AggregatesCheckbox.d.ts +7 -3
  153. package/Platform/AggregatesCheckboxPlugins.d.ts +1 -0
  154. package/Platform/AggregatesCheckboxService.d.ts +17 -6
  155. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  156. package/Platform/BatchOperationsPlugin.d.ts +1 -1
  157. package/Platform/BottomEdge.d.ts +10 -0
  158. package/Platform/BottomEdgeBody.d.ts +4 -0
  159. package/Platform/BottomEdgePlugin.d.ts +4 -0
  160. package/Platform/CardLink.d.ts +2 -1
  161. package/Platform/CardManagement.d.ts +5 -1
  162. package/Platform/CardManagementImpl.d.ts +5 -3
  163. package/Platform/CardQuotesDataStub.d.ts +19 -0
  164. package/Platform/CertificateSettings.d.ts +40 -0
  165. package/Platform/CertificateSettingsContainer.d.ts +10 -0
  166. package/Platform/CertificateSettingsLogic.d.ts +24 -0
  167. package/Platform/CertificateSettingsView.d.ts +5 -0
  168. package/Platform/DateTimePickerImpl.d.ts +1 -0
  169. package/Platform/DownloadFilesBatchOperation.d.ts +2 -1
  170. package/Platform/DropdownImpl.d.ts +3 -1
  171. package/Platform/EmployeeStatusService.d.ts +4 -4
  172. package/Platform/Favorite.d.ts +1 -0
  173. package/Platform/FilePicker.d.ts +2 -2
  174. package/Platform/FilePreview.d.ts +2 -2
  175. package/Platform/FilePreviewImpl.d.ts +1 -0
  176. package/Platform/FolderGrid.d.ts +1 -1
  177. package/Platform/FolderHelpButton.d.ts +7 -0
  178. package/Platform/FolderHelpDialog.d.ts +9 -0
  179. package/Platform/FolderHelpPaths.d.ts +2 -0
  180. package/Platform/FolderHelpPlugins.d.ts +9 -0
  181. package/Platform/FolderHelpService.d.ts +10 -0
  182. package/Platform/FolderHelpTimeCodes.d.ts +2 -0
  183. package/Platform/FolderMainMenuItemImpl.d.ts +1 -1
  184. package/Platform/FolderManagementAdaptiveMenu.d.ts +1 -1
  185. package/Platform/{FolderManagmentData.d.ts → FolderManagementData.d.ts} +0 -0
  186. package/Platform/FolderManagementDialog.d.ts +1 -1
  187. package/Platform/FolderName.d.ts +2 -1
  188. package/Platform/FolderNameImpl.d.ts +1 -0
  189. package/Platform/FolderOperationManager.d.ts +1 -1
  190. package/Platform/FolderViewItemsImpl.d.ts +5 -5
  191. package/Platform/IAggregates.d.ts +10 -4
  192. package/Platform/ListCheckbox.d.ts +1 -1
  193. package/Platform/ListInput.d.ts +1 -1
  194. package/Platform/LoaderDialog.d.ts +1 -1
  195. package/Platform/Number.d.ts +2 -0
  196. package/Platform/NumberImpl.d.ts +2 -1
  197. package/Platform/Quotes.d.ts +18 -0
  198. package/Platform/Quotes.stories.d.ts +8 -0
  199. package/Platform/QuotesButtonMore.d.ts +6 -0
  200. package/Platform/QuotesHighlight.d.ts +8 -0
  201. package/Platform/QuotesInner.d.ts +6 -0
  202. package/Platform/QuotesItem.d.ts +15 -0
  203. package/Platform/QuotesLogic.d.ts +40 -0
  204. package/Platform/QuotesModal.d.ts +14 -0
  205. package/Platform/QuotesModalButtonBlock.d.ts +6 -0
  206. package/Platform/QuotesModalQuote.d.ts +6 -0
  207. package/Platform/QuotesPlugins.d.ts +4 -0
  208. package/Platform/QuotesView.d.ts +16 -0
  209. package/Platform/QuotesWrapper.d.ts +6 -0
  210. package/Platform/ScrollTopBottomButtons.d.ts +1 -0
  211. package/Platform/ScrollTopBottomLogic.d.ts +2 -0
  212. package/Platform/SearchResultsFolderTablePluginFactory.d.ts +5 -5
  213. package/Platform/SearchTextInput.d.ts +1 -1
  214. package/Platform/SecurityDescriptorDialog.d.ts +3 -3
  215. package/Platform/SettingsPlugin.d.ts +7 -3
  216. package/Platform/SettingsPopupCheckBoxContainer.d.ts +1 -0
  217. package/Platform/SettingsPopupLogic.d.ts +13 -4
  218. package/Platform/SettingsPopupView.d.ts +2 -0
  219. package/Platform/Table.d.ts +1 -1
  220. package/Platform/TableColumnResponseResolver.d.ts +10 -0
  221. package/Platform/TablePresentationTogglePlugins.d.ts +1 -2
  222. package/Platform/TestUtils.d.ts +2 -1
  223. package/Platform/TextControlBaseImpl.d.ts +2 -0
  224. package/Platform/TextListInputView.d.ts +4 -4
  225. package/Platform/{ToggleRowAcess.d.ts → ToggleRowAccess.d.ts} +0 -0
  226. package/Platform/UserProfileDialog.d.ts +1 -1
  227. package/Platform/UtilsQuotes.d.ts +10 -0
  228. package/Platform/index.d.ts +1 -7
  229. package/Platform/toLocaleStringPolyfill.d.ts +2 -0
  230. package/StandardServices.d.ts +4 -1
  231. package/System/$FileService.d.ts +16 -9
  232. package/System/$Layout.d.ts +1 -1
  233. package/System/BlobToBase64.d.ts +1 -0
  234. package/System/DirectorySelectDialog.d.ts +2 -2
  235. package/System/FileService.d.ts +14 -15
  236. package/System/FilterLogic.d.ts +6 -0
  237. package/System/GenerateTestData.d.ts +2 -0
  238. package/System/IAsyncControlInfo.d.ts +1 -1
  239. package/System/ILayoutParams.d.ts +2 -0
  240. package/System/InputBasedControlImpl.d.ts +1 -0
  241. package/System/Layout.d.ts +1 -0
  242. package/System/LayoutManager.d.ts +1 -1
  243. package/System/LayoutUtils.d.ts +1 -0
  244. package/System/OperationUtils.d.ts +2 -0
  245. package/System/PageLeaveConfirmation.d.ts +1 -0
  246. package/System/{PreventPropogation.d.ts → PreventPropagation.d.ts} +0 -0
  247. package/System/StringUtils.d.ts +5 -1
  248. package/package.json +1 -1
  249. package/BackOffice/FileSignCreateDialog.d.ts +0 -83
  250. package/BackOffice/FileSignSelectCertificateDialog.d.ts +0 -57
  251. package/Globals/DVPromise.d.ts +0 -19
  252. package/Platform/FilterPlugin.d.ts +0 -3
  253. package/Platform/GropingPlugin.d.ts +0 -3
  254. package/Platform/ResetSettingsPlugin.d.ts +0 -18
  255. package/Platform/SearchPlugin.d.ts +0 -3
  256. package/Platform/toLocaleStringPolifill.d.ts +0 -1
@@ -24,7 +24,7 @@ import { ISignatureCreatingArgs } from "@docsvision/webclient/BackOffice/ISignat
24
24
  import { ISignatureListViewedArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewedArgs";
25
25
  import { ISignatureListViewingArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewingArgs";
26
26
  import { FileListControlImpl, FileListControlState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
27
- import { $LayoutFileController, $SignatureController, $DataVisualizationController, $LayoutFileApiController, $LayoutDocumentController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
27
+ import { $LayoutFileController, $SignatureController, $DataVisualizationController, $LayoutFileApiController, $LayoutDocumentController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
28
28
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
29
29
  import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
30
30
  import { $FileController } from "@docsvision/webclient/Legacy/FileController";
@@ -42,12 +42,17 @@ import { IFileVisualizedArgs } from '@docsvision/webclient/BackOffice/IFileVisua
42
42
  import { $FileService } from '@docsvision/webclient/System/$FileService';
43
43
  import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
44
44
  import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
45
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
45
46
  import { IFileSignUploadedArgs } from '@docsvision/webclient/BackOffice/IFileSignUploadedArgs';
46
47
  import { IFileSignUploadingArgs } from '@docsvision/webclient/BackOffice/IFileSignUploadingArgs';
47
48
  import { $UrlStore } from "@docsvision/webclient/System/$UrlStore";
48
49
  import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
49
50
  import { $FileUpload } from "@docsvision/webclient/Platform/IFileUploadService";
50
51
  import { IFileMenuOpeningArgs } from "@docsvision/webclient/BackOffice/IFileMenuOpeningArgs";
52
+ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
53
+ import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
54
+ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
55
+ import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSignature";
51
56
  /**
52
57
  * Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
53
58
  */
@@ -101,6 +106,8 @@ export declare class FileListControlParams extends BaseControlParams {
101
106
  additionalFileText?: string;
102
107
  addMainFileText?: string;
103
108
  addAdditionalFileText?: string;
109
+ /** Показывать ли кнопку подписания и просмотра журнала подписи. {@see SignatureButton} */
110
+ hideSignatureButton?: boolean;
104
111
  /** Событие возникает при добавлении основного файла. */
105
112
  mainFileAdding?: CancelableApiEvent<IMainFileAddingArgs>;
106
113
  /** Событие возникает при добавлении дополнительного файла. */
@@ -170,7 +177,7 @@ export declare class FileListControlParams extends BaseControlParams {
170
177
  /** Событие возникает при сохранении файла в WebDAV. */
171
178
  fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
172
179
  /** Сервисы. */
173
- services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $LayoutInfo & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController;
180
+ services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $CloudSignature & $CryptoPro & $LocalStorage & $SignatureMethodsController & $DigitalSignature & $LayoutManager & $LayoutInfo;
174
181
  }
175
182
  /**
176
183
  * Класс элемента управления Список файлов.
@@ -294,7 +301,7 @@ export declare class FileListControl extends BaseControl<FileListControlParams,
294
301
  * Открывает файл с использованием технологии WebDAV.
295
302
  * @param fileItem Файл.
296
303
  */
297
- openWebDav(fileItem: FileListItem): void;
304
+ openWebDav(fileItem: FileListItem): Promise<void>;
298
305
  /** @inheritDoc */
299
306
  init(): void;
300
307
  deinit(): void;
@@ -27,6 +27,11 @@ export declare const WEB_DAV_FILE_CLOSED_MESSAGE_TYPE = "FileClosed";
27
27
  export declare const WEB_DAV_FILE_OPENED_FOR_READING_MESSAGE_TYPE = "FileOpenForReading";
28
28
  export declare const WEB_DAV_FILE_OPENED_FOR_EDITING_MESSAGE_TYPE = "FileOpenForWriting";
29
29
  export declare const WEB_DAV_FILE_CHANGED_AND_SAVED_MESSAGE_TYPE = "NewFileVersionAdded";
30
+ export interface ICardOpenedByWebDavMessage {
31
+ CardId: string;
32
+ FileId: string;
33
+ FileName: string;
34
+ }
30
35
  export interface ICardChangedByWebDavMessage {
31
36
  OwnerCardId: string;
32
37
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="webclient-globals" />
1
2
  /// <reference types="jquery" />
2
3
  import { FileListAttachedElements } from "@docsvision/webclient/BackOffice/FileListAttachElements";
3
4
  import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
@@ -29,7 +30,7 @@ export declare class FileListControlLogic {
29
30
  generateLinkTag: (url: string) => void;
30
31
  download(fileItem: FileListItem, fileVersion: GenModels.VersionedFileModel, action: string): void;
31
32
  getDownloadUrl(fileItem: FileListItem, fileVersion: GenModels.VersionedFileModel, action: string): string;
32
- webDav(fileItem: FileListItem, canEdit: boolean): void;
33
+ webDav(fileItem: FileListItem, canEdit: boolean): Promise<void>;
33
34
  viewFileWithSignature(fileItem: FileListItem, action: string): void;
34
35
  /**
35
36
  * Mark file for remove, or send remove request imediately
@@ -40,7 +40,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
40
40
  protected onNameClick: (fileItem: FileListItem) => void;
41
41
  protected onVersionNumberClick: (fileItem: FileListItem, version: GenModels.VersionedFileModel) => void;
42
42
  protected onDownloadVersionClick(fileItem: FileListItem, version: GenModels.VersionedFileModel): void;
43
- onWebDavFileClick(fileItem: FileListItem): void;
43
+ onWebDavFileClick(fileItem: FileListItem): Promise<void>;
44
44
  protected onDragStart(e: any): void;
45
45
  protected renderViewMode(): JSX.Element;
46
46
  protected renderVersionList(fileItem: FileListItem): JSX.Element;
@@ -10,6 +10,7 @@ import { $FileService } from '@docsvision/webclient/System/$FileService';
10
10
  import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
11
11
  import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
12
12
  import { $FileController } from '@docsvision/webclient/Legacy/FileController';
13
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
13
14
  import { FileListFormType } from '@docsvision/webclient/BackOffice/FileListFormType';
14
15
  /** @internal */
15
16
  export declare class FileListItemProps {
@@ -19,7 +20,7 @@ export declare class FileListItemProps {
19
20
  logic: FileListControlLogic;
20
21
  renderUploadForm: (attach: FileListAttachedElements, action: string, main?: boolean, type?: FileListFormType, fileItem?: FileListItem, accept?: string) => any;
21
22
  key: string;
22
- services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo;
23
+ services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo & $LayoutManager;
23
24
  onClick?: any;
24
25
  selected?: boolean;
25
26
  importSignatureEditOperation?: string;
@@ -1,56 +1,29 @@
1
- /// <reference types="react" />
2
- import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
3
- import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
4
- import { TraceProvider } from "@docsvision/webclient/Legacy/TraceProvider";
5
- import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
6
- import { EncryptedInfo } from "@docsvision/webclient/Legacy/EncryptedInfo";
7
- import { RequestHelper } from "@docsvision/webclient/System/RequestHelper";
8
- import { Crypto, ICryptoCertificateInfo } from 'Libs/CryptoPro/Crypto';
1
+ import { $SignatureController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
9
2
  import { IFileSignInteractionModel } from './IFileSignInteractionModel';
10
3
  import { IDataIOSSign } from '@docsvision/webclient/BackOffice/utils';
11
- import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
4
+ import { $ApplicationSettings, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
5
+ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
6
+ import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
7
+ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
8
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
9
+ import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSignature";
12
10
  export declare class FileSign {
13
- protected crypto: Crypto;
14
- protected traceProvider: TraceProvider;
11
+ protected services: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController;
15
12
  protected interactionModel: IFileSignInteractionModel;
16
- protected createDialogModalHost: ModalHost;
17
- protected viewListDialogModalHost: ModalHost;
18
- protected signOperationHelper: RequestHelper;
19
- protected services: $SignatureController & $WebViewIOSEnabled;
20
- private signProcessResolver;
21
- private signProcessRejecter;
22
- private signProcessLoading;
23
- constructor(interactionModel: IFileSignInteractionModel, services?: $SignatureController & $WebViewIOSEnabled);
13
+ constructor(interactionModel: IFileSignInteractionModel, services?: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController);
24
14
  /** Инициализация. */
25
15
  protected initialize(): void;
26
- /** Отрисовывает диалог для создания подписи. */
27
- protected renderCreateDialog: () => JSX.Element;
28
16
  /** Открыть диалог для создания подписи. */
29
- protected openCreateDialog: () => void;
17
+ protected openCreateDialog: () => Promise<void>;
30
18
  /** @deprecated */
31
- ShowSignDialog: () => void;
19
+ ShowSignDialog: () => Promise<void>;
32
20
  /** Закрыть диалог для создания подписи. */
33
21
  protected closeCreateDialog: () => void;
34
- /** При подписывании. */
35
- protected onSign: (selectedCertInfo: ICryptoCertificateInfo, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean) => void;
36
- /**
37
- * Подписать сертификатом с указанным отпечатком и идентификатором метки.
38
- * @param selectedThumbprint Отпечаток
39
- * @param selectedLabelId Идентификатор метки
40
- */
41
- protected sign(selectedThumbprint: string, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean): Promise<{}>;
42
22
  /** Сохраняет файлы, подписанные на ios-устройстве. Вызывается из WebView */
43
23
  protected saveSignedDoc: (filesData: IDataIOSSign[]) => Promise<void>;
44
24
  protected cancelDocumentsSign(): void;
45
- /** Присоединить указанную подпись. */
46
- protected attachSign(encryptedInfo: EncryptedInfo, selectedLabelId: string, timestamp: number): Promise<void>;
47
- /** Отрисовывает диалог для просмотра списка подписей. */
48
- protected renderViewListDialog: () => JSX.Element;
49
25
  /** Открывает диалог для просмотра списка подписей. */
50
- protected openViewListDialog: () => void;
51
- /** Закрывает диалог для просмотра списка подписей. */
52
- protected closeViewListDialog: () => void;
53
- protected onInitViewListDialog: () => void;
26
+ protected openViewListDialog: () => Promise<void>;
54
27
  /** Показывает предупреждение при замене версии файла на другую. */
55
28
  static showSignWarningDialog(successCb?: Function, cancelCb?: Function): void;
56
29
  /** @deprecated Uses {@link showSignWarningDialog} */
@@ -2,10 +2,12 @@ import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCa
2
2
  import { ISignatureListItemDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDataModel";
3
3
  import { LoadingState } from "@docsvision/webclient/System/LoadingState";
4
4
  import React from "react";
5
- import { $LayoutDocumentController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
5
+ import { $LayoutDocumentController, $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
6
6
  import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
7
7
  import { Popover } from "@docsvision/webclient/Helpers/PopoverHelpers/Popover";
8
8
  import { ISignatureListItemDetailDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDetailDataModel";
9
+ import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
10
+ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
9
11
  /** @internal */
10
12
  export interface IFileSignListDialogProps {
11
13
  /** Идентификатор документа. */
@@ -14,7 +16,7 @@ export interface IFileSignListDialogProps {
14
16
  onInit?: () => void;
15
17
  /** Вызывается при закрытии окна со списком подписей. */
16
18
  onClose?: () => void;
17
- services: $DocumentCardController & $LayoutDocumentController & $WebViewIOSEnabled;
19
+ services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature;
18
20
  }
19
21
  /** @internal */
20
22
  export interface IFileSignListDialogState {
@@ -34,7 +36,9 @@ export declare class FileSignListDialog extends React.Component<IFileSignListDia
34
36
  constructor(props: IFileSignListDialogProps);
35
37
  /** @internal */
36
38
  UNSAFE_componentWillMount(): void;
39
+ init(): Promise<void>;
37
40
  componentDidMount(): void;
41
+ verifyInCloud(signature: ISignatureListItemDataModel): Promise<void>;
38
42
  /** Обновляет журнал подписей. */
39
43
  update: () => Promise<void>;
40
44
  /** Выполняется при закрытии окна со списком подписей. */
@@ -53,6 +57,7 @@ export declare class FileSignListDialog extends React.Component<IFileSignListDia
53
57
  * @param signatureId Идентификатор подписи
54
58
  */
55
59
  protected renderSignatureDetails(signatureId: string, showTimestamp: boolean, detailsColumnCount: number, showExpireDate: boolean): any[];
60
+ private renderSignatureInfoPopover;
56
61
  /** Отрисовывает таблицу с информацией о подписях. */
57
62
  renderTable(): JSX.Element;
58
63
  /** @internal */
@@ -0,0 +1,4 @@
1
+ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
+ import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
3
+ export declare function appendIfSpecified(name: string, component: string): string;
4
+ export declare function getSignatureMethodName(method: GenModels.SignatureMethod, services: $ApplicationSettings): string;
@@ -47,7 +47,7 @@ export declare class HistoryView extends React.Component<HistoryViewProps, Histo
47
47
  componentDidMount(): void;
48
48
  loadRecords(authorNameFilter?: string, dateFilter?: Date, eventSearch?: string, pageSize?: number): Promise<GenModels.HistorySearchResult>;
49
49
  loadNextPage(pageSize?: number): Promise<GenModels.HistorySearchResult>;
50
- reload(): void;
50
+ reload(dateFilterValue?: Date): void;
51
51
  onRecordsChanged(): void;
52
52
  isScrolledDown(elem: HTMLElement): boolean;
53
53
  loadIfScrollDown(): void;
@@ -0,0 +1,6 @@
1
+ export interface ICertificateStatus {
2
+ value: string;
3
+ revocationInfo?: any;
4
+ pinCode?: any;
5
+ activeCertId: number;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface IDocumentInfoAdditionalInfoResult {
2
+ documentTemplate: string;
3
+ snippetTemplate: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { IGetCertificateResult } from "@docsvision/webclient/BackOffice/IGetCertificateResult";
2
+ export interface IDssCertificateInfoEx extends IGetCertificateResult {
3
+ thumberprint: string;
4
+ }
@@ -1,8 +1,13 @@
1
- import { $LayoutDocumentController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
1
+ import { $LayoutDocumentController, $SignatureController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
2
2
  import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
3
3
  import { IFileSignInfo } from "@docsvision/webclient/Legacy/IFileSingInfo";
4
- import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
4
+ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
5
+ import { $ApplicationSettings, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
6
+ import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
5
7
  import { Optional } from "@docsvision/web/core/services";
8
+ import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
9
+ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
10
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
6
11
  export interface IFileSignInteractionModel {
7
12
  documentId: string;
8
13
  getFiles: () => IFileSignInfo[];
@@ -12,5 +17,5 @@ export interface IFileSignInteractionModel {
12
17
  beforeViewSignCallback: () => Promise<any>;
13
18
  afterSignCallback: Function;
14
19
  afterViewSignCallback: Function;
15
- services: $DocumentCardController & $LayoutDocumentController & Optional<$WebViewIOSEnabled>;
20
+ services: $DocumentCardController & $LayoutDocumentController & Optional<$WebViewIOSEnabled> & $CloudSignature & $CryptoPro & $ApplicationSettings & $RequestManager & $WebViewIOSEnabled & $SignatureController & $LocalStorage & $SignatureMethodsController & $MessageBox;
16
21
  }
@@ -0,0 +1,33 @@
1
+ import { ICertificateStatus } from "@docsvision/webclient/BackOffice/ICertificateStatus";
2
+ export interface IGetCertificateResult {
3
+ certificateType: string;
4
+ id: number;
5
+ dName: string;
6
+ certificateBase64: string;
7
+ status: ICertificateStatus;
8
+ isDefault: boolean;
9
+ certificateAuthorityID: number;
10
+ certificateAuthorityName?: string;
11
+ cspID: string;
12
+ hashAlgorithms: string[];
13
+ providerName?: any;
14
+ providerType: number;
15
+ privateKeyNotBefore?: any;
16
+ privateKeyNotAfter?: any;
17
+ hasPin: boolean;
18
+ friendlyName: string;
19
+ thumbprint?: string;
20
+ validTo?: number;
21
+ validFrom?: number;
22
+ issuerName?: ICertificateNameComponent[];
23
+ subjectName?: ICertificateNameComponent[];
24
+ storage: string;
25
+ }
26
+ export interface ICertificateNameComponent {
27
+ isRequired: boolean;
28
+ order: 0;
29
+ oid: string;
30
+ name: string;
31
+ value: string;
32
+ stringIdentifier: string;
33
+ }
@@ -0,0 +1,14 @@
1
+ import { IDocumentInfoAdditionalInfoResult } from "@docsvision/webclient/BackOffice/IDocumentInfoAdditionalInfoResult";
2
+ export interface IGetDocumentInfoResult {
3
+ id: string;
4
+ userId: string;
5
+ name: string;
6
+ fileType: string;
7
+ uploadTime: number;
8
+ lastAccessTime: number;
9
+ isTemporary: boolean;
10
+ fileSize: number;
11
+ pageCount: number;
12
+ hash: string;
13
+ additionalInfo: IDocumentInfoAdditionalInfoResult;
14
+ }
@@ -0,0 +1,8 @@
1
+ export interface ISignOptions {
2
+ /** Необходимо ли подписать Поля */
3
+ signFields?: boolean;
4
+ /** Необходимо ли подписать Дополнения */
5
+ signAttachments?: boolean;
6
+ /** Таймштамп последнего изменения карточки. */
7
+ timestamp: number;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { DssSignRequestSignature } from "@docsvision/webclient/BackOffice/DssSignRequestModels";
3
+ export interface ISignRequest {
4
+ documentId: string;
5
+ parts: GenModels.DocumentSignaturePartInfo[];
6
+ signature: DssSignRequestSignature;
7
+ }
8
+ export interface IDssSignRequestPart extends GenModels.DocumentSignaturePartInfo {
9
+ }
@@ -0,0 +1,5 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export interface ISignResult {
3
+ parts: GenModels.DocumentSignaturePartInfo[];
4
+ signatures: string[];
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface ISignatureVerificationResult {
2
+ valid: boolean;
3
+ message?: string;
4
+ }
@@ -0,0 +1,9 @@
1
+ import { IDssCertificateInfoEx } from "@docsvision/webclient/BackOffice/IDssCertificateInfoEx";
2
+ import { IGetCertificateResult } from "@docsvision/webclient/BackOffice/IGetCertificateResult";
3
+ import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
4
+ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
5
+ /**
6
+ * В ходе переписки с КриптоПро пришли к тому, что они добавили поля с отпечатком и прочим в ответ сервиса.
7
+ * Пока этот метод нужен, чтобы не завязываться на еще не вышедшую версию DSS.
8
+ */
9
+ export declare function loadCertificatesThumberprints(certificates: IGetCertificateResult[], services: $SignatureController & $MessageBox): Promise<IDssCertificateInfoEx[]>;
@@ -0,0 +1,4 @@
1
+ import { IDssCertificateInfoEx } from '@docsvision/webclient/BackOffice/IDssCertificateInfoEx';
2
+ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
+ import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
4
+ export declare function loadCloudCertificates(savedCertificates: GenModels.SavedCertificateInfo[], cloudCertificates: IDssCertificateInfoEx[], services: $ApplicationSettings): GenModels.SavedCertificateInfo[];
@@ -0,0 +1,2 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export declare function loadSignatureMethods(methods: GenModels.SignatureMethod[], certificates: GenModels.SavedCertificateInfo[], source?: GenModels.SignatureMethodSources): GenModels.SignatureMethod[];
@@ -0,0 +1,4 @@
1
+ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
+ import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
3
+ import { ICryptoCertificate } from 'Libs/CryptoPro/Crypto';
4
+ export declare function loadSystemCertificates(savedCertificates: GenModels.SavedCertificateInfo[], systemCertificates: ICryptoCertificate[], services: $ApplicationSettings): GenModels.SavedCertificateInfo[];
@@ -49,5 +49,6 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
49
49
  private shouldSaveCardWithEditInPlaceValue;
50
50
  private isLayoutViewMode;
51
51
  protected onPlaceholderClick(event: any): void;
52
+ protected getInputProps(): React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
52
53
  protected renderInputWithPlaceholder(): React.ReactNode;
53
54
  }
@@ -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/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
- import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
72
+ import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
73
+ import("C:/Dev/WebCDev/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/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
- import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
- import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
42
+ import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
43
+ import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
44
+ import("C:/Dev/WebCDev/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>;
@@ -0,0 +1,7 @@
1
+ import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
2
+ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
3
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
4
+ import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
5
+ import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
6
+ export declare const SETUP_SIGNATURE_METHODS_ITEM_ID = "SetupSignatureMethods";
7
+ export declare function prepareSignatureMethodsComboBox(methods: GenModels.SignatureMethod[], hideSimpleSign: boolean, services: $CloudSignature & $CryptoPro & $ApplicationSettings): IComboBoxElement[];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare class PrintButtonView {
3
3
  dropdownButton: (props:
4
- import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
4
+ import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
5
5
  }
@@ -0,0 +1,11 @@
1
+ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
+ declare type SignatureMethodSettingsData = {
3
+ localCertificates: GenModels.SavedCertificateInfo[];
4
+ cloudCertificates: GenModels.SavedCertificateInfo[];
5
+ cloudAccountName: any;
6
+ selectedMethods: GenModels.SignatureMethod[];
7
+ accessTokenReceived: boolean;
8
+ initialSettings: GenModels.SignatureMethodSettings;
9
+ };
10
+ export declare function processSettingsChanged(data: SignatureMethodSettingsData): GenModels.SignatureMethodSettings;
11
+ export {};
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import { BaseControl } from '@docsvision/webclient/System/BaseControl';
3
+ import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
4
+ import { BaseControlImplState } from '@docsvision/webclient/System/BaseControlImpl';
5
+ import { SignatureButtonLogic } from '@docsvision/webclient/BackOffice/SignatureButtonLogic';
6
+ import { SignatureButtonParams } from '@docsvision/webclient/BackOffice/SignatureButtonOptions';
7
+ import { SignatureButtonView } from '@docsvision/webclient/BackOffice/SignatureButtonView';
8
+ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
9
+ import { ISignatureLabel } from '@docsvision/webclient/Legacy/ISignatureLabel';
10
+ export interface SignatureButtonState extends BaseControlImplState, SignatureButtonParams {
11
+ logic: SignatureButtonLogic;
12
+ view: SignatureButtonView;
13
+ }
14
+ /**
15
+ * Класс элемента управления SignatureButton.
16
+ */
17
+ export declare class SignatureButton extends BaseControl<SignatureButtonParams, SignatureButtonState> {
18
+ construct(): void;
19
+ protected createParams(): SignatureButtonParams;
20
+ protected createImpl(): ControlImpl;
21
+ private set editOperationForSignatureMethods(value);
22
+ private set signatureBinding(value);
23
+ /** Открыть диалог подписания */
24
+ openSignDialog(): void;
25
+ /**
26
+ * Выполнить подписание без открытия диалога.
27
+ *
28
+ * Если параметры не переданы, то используется метод по умолчанию без метки.
29
+ *
30
+ * Для получения доступных методов подписания и меток используйте {@link $SignatureController.getSignature}.
31
+ */
32
+ sign(method?: GenModels.SignatureMethod, label?: ISignatureLabel): Promise<void>;
33
+ /** Открыть диалог журнала подписи. */
34
+ openSignListDialog(): void;
35
+ renderControl(): JSX.Element;
36
+ }
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import "./SignatureButton.stories.css";
3
+ import { SignatureButton } from '@docsvision/webclient/BackOffice/SignatureButton';
4
+ declare const _default: {
5
+ title: string;
6
+ component: typeof SignatureButton;
7
+ };
8
+ export default _default;
9
+ export declare const Default: () => JSX.Element;
10
+ export declare const OpenMenu: () => JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import './SignatureButtonComponent.css';
3
+ import { IconButtonProps } from '@docsvision/web/components/form/icon-button';
4
+ export interface ISignatureButtonComponentProps extends IconButtonProps {
5
+ hasSignatures: boolean;
6
+ }
7
+ export declare function SignatureButtonComponent(props: ISignatureButtonComponentProps): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SignatureButtonLogic } from "@docsvision/webclient/BackOffice/SignatureButtonLogic";
3
+ import { SignatureButtonView } from "@docsvision/webclient/BackOffice/SignatureButtonView";
4
+ export declare const SignatureButtonContainer: (props: {
5
+ logic: SignatureButtonLogic;
6
+ view: SignatureButtonView;
7
+ }) => JSX.Element;
@@ -0,0 +1,27 @@
1
+ import { SignatureButtonParams } from "@docsvision/webclient/BackOffice/SignatureButtonOptions";
2
+ import { IEncryptedInfo } from "@docsvision/webclient/BackOffice/$DigitalSignature";
3
+ export declare class SignatureButtonLogic {
4
+ options: SignatureButtonParams;
5
+ constructor(options: SignatureButtonParams);
6
+ domain:
7
+ import("effector").Domain;
8
+ $menuExpanded:
9
+ import("effector").Store<boolean>;
10
+ buttonClick:
11
+ import("effector").Event<void>;
12
+ closeMenu:
13
+ import("effector").Event<void>;
14
+ initMenuState(): void;
15
+ signClick:
16
+ import("effector").Event<void>;
17
+ signListClick:
18
+ import("effector").Event<void>;
19
+ showSignDialogFx:
20
+ import("effector").Effect<void, void, Error>;
21
+ showSignListFx:
22
+ import("effector").Effect<void, void, Error>;
23
+ signComplete:
24
+ import("effector").Event<IEncryptedInfo>;
25
+ initMenuActions(): void;
26
+ init(): void;
27
+ }
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import './SignatureButtonComponent.css';
3
+ import { IAdaptiveMenuBarProps } from '@docsvision/webclient/Helpers/Menu/AdaptiveMenuBar';
4
+ export interface ISignatureButtonMenuProps extends IAdaptiveMenuBarProps {
5
+ }
6
+ export declare function SignatureButtonMenu(props: ISignatureButtonMenuProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import './SignatureButtonComponent.css';
3
+ import { IAdaptiveMenuItemProps } from '@docsvision/webclient/Helpers/Menu/AdaptiveMenuItem';
4
+ export interface ISignatureButtonMenuItemProps extends IAdaptiveMenuItemProps {
5
+ }
6
+ export declare function SignatureButtonMenuItem(props: ISignatureButtonMenuItemProps): JSX.Element;