@docsvision/webclient 5.17.0-beta.12 → 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.
- package/Approval/AgreementManagement.d.ts +4 -2
- package/Approval/AgreementStageProps.d.ts +4 -2
- package/BackOffice/$CloudSignature.d.ts +34 -0
- package/BackOffice/$CryptoPro.d.ts +10 -0
- package/BackOffice/$DigitalSignature.d.ts +75 -0
- package/BackOffice/ActualizeProfileCertificateSource.d.ts +13 -0
- package/BackOffice/{BackOfficeLayoutContextContstants.d.ts → BackOfficeLayoutContextConstants.d.ts} +0 -0
- package/BackOffice/CardKindImpl.d.ts +2 -1
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ConvertCloudToSavedCertificate.d.ts +4 -0
- package/BackOffice/ConvertLocalToSavedCertificate.d.ts +4 -0
- package/BackOffice/ConvertSignLabelsToComboBoxItems.d.ts +15 -0
- package/BackOffice/CryptoProDssService.d.ts +65 -0
- package/BackOffice/CryptoProService.d.ts +10 -0
- package/BackOffice/{BatchDelegateOperation.d.ts → DelegateBatchOperation.d.ts} +5 -5
- package/BackOffice/{BatchDelegateOperationImpl.d.ts → DelegateBatchOperationImpl.d.ts} +3 -3
- package/BackOffice/DelegationParamsPanel.d.ts +1 -1
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DepartmentImpl.d.ts +1 -0
- package/BackOffice/DigitalSignatureService.d.ts +38 -0
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +78 -0
- package/BackOffice/DirectoryDesignerActionButton.d.ts +7 -0
- package/BackOffice/DirectoryDesignerItemCreateWindow.d.ts +4 -0
- package/BackOffice/DirectoryDesignerItemEditWindow.d.ts +4 -0
- package/BackOffice/DirectoryDesignerItemViewWindow.d.ts +8 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +30 -15
- package/BackOffice/DirectoryDesignerRowConstants.d.ts +3 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +46 -21
- package/BackOffice/DirectoryDesignerRowItemVisualiser.d.ts +9 -0
- package/BackOffice/DirectoryDesignerTypeaheadVariant.d.ts +6 -2
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +2 -2
- package/BackOffice/DssAuthorizationModels.d.ts +6 -0
- package/BackOffice/DssCertificateModels.d.ts +30 -0
- package/BackOffice/DssPolicyModels.d.ts +51 -0
- package/BackOffice/DssSignRequestModels.d.ts +133 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListControl.d.ts +10 -3
- package/BackOffice/FileListControlImpl.d.ts +5 -0
- package/BackOffice/FileListControlLogic.d.ts +2 -1
- package/BackOffice/FileListItemComponent.d.ts +1 -1
- package/BackOffice/FileListItemProps.d.ts +2 -1
- package/BackOffice/FileSign.d.ts +12 -39
- package/BackOffice/FileSignListDialog.d.ts +7 -2
- package/BackOffice/GetSignatureMethodName.d.ts +4 -0
- package/BackOffice/HistoryView.d.ts +1 -1
- package/BackOffice/ICertificateStatus.d.ts +6 -0
- package/BackOffice/IDocumentInfoAdditionalInfoResult.d.ts +4 -0
- package/BackOffice/IDssCertificateInfoEx.d.ts +4 -0
- package/BackOffice/IFileSignInteractionModel.d.ts +8 -3
- package/BackOffice/IGetCertificateResult.d.ts +33 -0
- package/BackOffice/IGetDocumentInfoResult.d.ts +14 -0
- package/BackOffice/ISignOptions.d.ts +8 -0
- package/BackOffice/ISignRequest.d.ts +9 -0
- package/BackOffice/ISignResult.d.ts +5 -0
- package/BackOffice/ISignatureVerificationResult.d.ts +4 -0
- package/BackOffice/InfoPopover.d.ts +2 -0
- package/BackOffice/LoadCertificatesThumberprints.d.ts +9 -0
- package/BackOffice/LoadCloudCertificates.d.ts +4 -0
- package/BackOffice/LoadSignatureMethods.d.ts +2 -0
- package/BackOffice/LoadSystemCertificates.d.ts +4 -0
- package/BackOffice/Numerator.d.ts +1 -0
- package/BackOffice/NumeratorImpl.d.ts +7 -1
- package/BackOffice/PartnerBase.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +20 -0
- package/BackOffice/PartnerDepartmentImpl.d.ts +3 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerImpl.d.ts +3 -0
- package/BackOffice/PrepareSignatureMethodsComboBox.d.ts +7 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/ProcessSettingsChanged.d.ts +11 -0
- package/BackOffice/SignatureButton.d.ts +36 -0
- package/BackOffice/SignatureButton.stories.d.ts +10 -0
- package/BackOffice/SignatureButtonComponent.d.ts +7 -0
- package/BackOffice/SignatureButtonContainer.d.ts +7 -0
- package/BackOffice/SignatureButtonLogic.d.ts +27 -0
- package/BackOffice/SignatureButtonMenu.d.ts +6 -0
- package/BackOffice/SignatureButtonMenuItem.d.ts +6 -0
- package/BackOffice/SignatureButtonOptions.d.ts +51 -0
- package/BackOffice/SignatureButtonView.d.ts +10 -0
- package/BackOffice/SignatureConstants.d.ts +1 -0
- package/BackOffice/SignatureDialog.d.ts +50 -0
- package/BackOffice/SignatureDialog.stories.d.ts +12 -0
- package/BackOffice/SignatureDialogFrame.d.ts +13 -0
- package/BackOffice/SignatureDialogLabels.d.ts +9 -0
- package/BackOffice/SignatureDialogLoader.d.ts +3 -0
- package/BackOffice/SignatureDialogLogic.d.ts +60 -0
- package/BackOffice/SignatureDialogMethods.d.ts +10 -0
- package/BackOffice/SignatureDialogNoPluginMessage.d.ts +6 -0
- package/BackOffice/SignatureDialogSettings.d.ts +20 -0
- package/BackOffice/SignatureMethodsSetup.d.ts +40 -0
- package/BackOffice/SignatureMethodsSetup.stories.d.ts +14 -0
- package/BackOffice/SignatureMethodsSetupCertificateRow.d.ts +14 -0
- package/BackOffice/SignatureMethodsSetupCertificateTable.d.ts +12 -0
- package/BackOffice/SignatureMethodsSetupCertificatesTableLoader.d.ts +3 -0
- package/BackOffice/SignatureMethodsSetupCloudLogin.d.ts +13 -0
- package/BackOffice/SignatureMethodsSetupFrame.d.ts +9 -0
- package/BackOffice/SignatureMethodsSetupLogic.d.ts +77 -0
- package/BackOffice/SignatureMethodsSetupNoPluginMessage.d.ts +7 -0
- package/BackOffice/SignatureMethodsSetupSelectedMethodsLoader.d.ts +3 -0
- package/BackOffice/SignatureMethodsSetupTabType.d.ts +4 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
- package/BackOffice/StaffDirectoryItems.d.ts +7 -3
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +28 -4
- package/BackOffice/StaffDirectorySelectDialog.d.ts +4 -1
- package/BackOffice/SvsVerifyModels.d.ts +20 -0
- package/BackOffice/TasksTable.d.ts +3 -2
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/{TasksUtills.d.ts → TasksUtils.d.ts} +0 -0
- package/BackOffice/ToggleCertificateSelection.d.ts +2 -0
- package/BackOffice/UpdateMethodComment.d.ts +2 -0
- package/BackOffice/UserProfile.d.ts +1 -0
- package/BackOffice/Utils.d.ts +3 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +179 -5
- package/Generated/DocsVision.WebClient.Models.d.ts +1140 -212
- package/Helpers/ArtPlayer/ArtPlayer.d.ts +26 -0
- package/Helpers/ArtPlayer/ArtPlayer.stories.d.ts +10 -0
- package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +31 -0
- package/Helpers/ArtPlayer/ArtPlayerView.d.ts +13 -0
- package/Helpers/ArtPlayer/components/ArtPlayerContainer.d.ts +5 -0
- package/Helpers/ArtPlayer/components/ArtPlayerTimeCodes.d.ts +10 -0
- package/Helpers/ArtPlayer/components/ArtPlayerVideoPlayer.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/LoadArtPlayer.d.ts +5 -0
- package/Helpers/ArtPlayer/functions/SetCurrentTimeCode.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/SetPlayerLocalization.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/SortingTimeCodes.d.ts +7 -0
- package/Helpers/ArtPlayer/functions/UpdatePlayerTime.d.ts +8 -0
- package/Helpers/ArtPlayer/models/IArtPlayer.d.ts +597 -0
- package/Helpers/ArtPlayer/models/IArtPlayerTImeCode.d.ts +6 -0
- package/Helpers/BoxWithButtons.d.ts +7 -1
- package/Helpers/LabeledText.d.ts +8 -0
- package/Helpers/ModalDialog/CommonModalDialog.d.ts +2 -1
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +3 -3
- package/Helpers/ModalDialog/KeyHandler.d.ts +12 -0
- package/Helpers/ReactList/ReactListDynamic.d.ts +1 -0
- package/Helpers/Sortable/Data/ClientModels/ISortableItem.d.ts +7 -1
- package/Helpers/Sortable/Sortable.d.ts +13 -3
- package/Helpers/TextInput.d.ts +2 -0
- package/Helpers/TextInputDialog/Components/TextInputDialogFrame.d.ts +8 -0
- package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +10 -0
- package/Helpers/TextInputDialog/TextInputDialog.d.ts +25 -0
- package/Helpers/TextInputDialog/TextInputDialog.stories.d.ts +8 -0
- package/Helpers/TextInputDialog/TextInputDialogHost.d.ts +14 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/FolderViews.d.ts +2 -0
- package/Legacy/ILabelTextareaControl.d.ts +1 -1
- package/Legacy/ISignatureDataModel.d.ts +2 -0
- package/Legacy/ISignatureListDataModel.d.ts +1 -1
- package/Legacy/ISignatureListItemDataModel.d.ts +6 -15
- package/Legacy/ISignatureListItemDetailDataModel.d.ts +8 -19
- package/Legacy/ISignatureVerificationDataModel.d.ts +4 -4
- package/Legacy/{ITextareaConrtol.d.ts → ITextareaControl.d.ts} +0 -0
- package/Legacy/LabelTextareaControl.d.ts +1 -1
- package/Legacy/NativeFunctions.d.ts +1 -20
- package/Legacy/SearchPanelRouteHandler.d.ts +19 -0
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
- package/Legacy/TextareaControl.d.ts +1 -1
- package/Legacy/Utils.d.ts +7 -0
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +3 -2
- package/MainBundle.d.ts +1 -0
- package/Platform/$AggregatesCheckbox.d.ts +1 -0
- package/Platform/$CompanyLogo.d.ts +0 -1
- package/Platform/$EmployeeStatus.d.ts +6 -2
- package/Platform/$FolderHelp.d.ts +13 -0
- package/Platform/{AcesssInheritanceButtons.d.ts → AccessInheritanceButtons.d.ts} +2 -2
- package/Platform/AggregatesApplyButtonPanel.d.ts +9 -0
- package/Platform/AggregatesCheckbox.d.ts +7 -3
- package/Platform/AggregatesCheckboxPlugins.d.ts +1 -0
- package/Platform/AggregatesCheckboxService.d.ts +17 -6
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsPlugin.d.ts +1 -1
- package/Platform/BottomEdge.d.ts +10 -0
- package/Platform/BottomEdgeBody.d.ts +4 -0
- package/Platform/BottomEdgePlugin.d.ts +4 -0
- package/Platform/CardLink.d.ts +2 -1
- package/Platform/CardManagement.d.ts +5 -1
- package/Platform/CardManagementImpl.d.ts +5 -3
- package/Platform/CardQuotesDataStub.d.ts +19 -0
- package/Platform/CertificateSettings.d.ts +40 -0
- package/Platform/CertificateSettingsContainer.d.ts +10 -0
- package/Platform/CertificateSettingsLogic.d.ts +24 -0
- package/Platform/CertificateSettingsView.d.ts +5 -0
- package/Platform/CompanyLogoService.d.ts +0 -1
- package/Platform/ContextMenu.d.ts +4 -6
- package/Platform/DateTimePicker.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +5 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +2 -1
- package/Platform/DownloadFilesBatchOperation.d.ts +2 -1
- package/Platform/DropdownImpl.d.ts +3 -1
- package/Platform/EmployeeStatusService.d.ts +4 -4
- package/Platform/Favorite.d.ts +1 -0
- package/Platform/FilePicker.d.ts +2 -2
- package/Platform/FilePreview.d.ts +2 -2
- package/Platform/FilePreviewImpl.d.ts +1 -0
- package/Platform/FolderGrid.d.ts +4 -3
- package/Platform/FolderGridImpl.d.ts +1 -0
- package/Platform/FolderHelpButton.d.ts +7 -0
- package/Platform/FolderHelpDialog.d.ts +9 -0
- package/Platform/FolderHelpPaths.d.ts +2 -0
- package/Platform/FolderHelpPlugins.d.ts +9 -0
- package/Platform/FolderHelpService.d.ts +10 -0
- package/Platform/FolderHelpTimeCodes.d.ts +2 -0
- package/Platform/FolderMainMenuItemImpl.d.ts +1 -1
- package/Platform/FolderManagementAdaptiveMenu.d.ts +1 -1
- package/Platform/{FolderManagmentData.d.ts → FolderManagementData.d.ts} +0 -0
- package/Platform/FolderManagementDialog.d.ts +1 -1
- package/Platform/FolderName.d.ts +2 -1
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderOperationManager.d.ts +1 -1
- package/Platform/FolderRouteTypeMapper.d.ts +2 -3
- package/Platform/FolderViewItemsImpl.d.ts +5 -5
- package/Platform/FolderWebFrameRouteHandler.d.ts +2 -1
- package/Platform/IAggregates.d.ts +10 -4
- package/Platform/IUnreadRowData.d.ts +1 -1
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/Number.d.ts +2 -0
- package/Platform/NumberImpl.d.ts +5 -1
- package/Platform/Quotes.d.ts +18 -0
- package/Platform/Quotes.stories.d.ts +8 -0
- package/Platform/QuotesButtonMore.d.ts +6 -0
- package/Platform/QuotesHighlight.d.ts +8 -0
- package/Platform/QuotesInner.d.ts +6 -0
- package/Platform/QuotesItem.d.ts +15 -0
- package/Platform/QuotesLogic.d.ts +40 -0
- package/Platform/QuotesModal.d.ts +14 -0
- package/Platform/QuotesModalButtonBlock.d.ts +6 -0
- package/Platform/QuotesModalQuote.d.ts +6 -0
- package/Platform/QuotesPlugins.d.ts +4 -0
- package/Platform/QuotesView.d.ts +16 -0
- package/Platform/QuotesWrapper.d.ts +6 -0
- package/Platform/ReadBatchOperation.d.ts +1 -1
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +3 -1
- package/Platform/RecentCardsRouteHandler.d.ts +2 -1
- package/Platform/ScrollTopBottomButtons.d.ts +1 -0
- package/Platform/ScrollTopBottomLogic.d.ts +2 -0
- package/Platform/SearchResultsFolderTablePluginFactory.d.ts +5 -5
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +8 -5
- package/Platform/SettingsPlugin.d.ts +7 -3
- package/Platform/SettingsPopupCheckBoxContainer.d.ts +1 -0
- package/Platform/SettingsPopupLogic.d.ts +13 -4
- package/Platform/SettingsPopupView.d.ts +2 -0
- package/Platform/Tab.d.ts +2 -1
- package/Platform/Tab.stories.d.ts +9 -0
- package/Platform/Table.d.ts +1 -1
- package/Platform/TableColumnResponseResolver.d.ts +10 -0
- package/Platform/TablePresentationTogglePlugins.d.ts +1 -2
- package/Platform/TestUtils.d.ts +2 -1
- package/Platform/TextAreaImpl.d.ts +8 -4
- package/Platform/TextBoxImpl.d.ts +5 -0
- package/Platform/TextControlBaseImpl.d.ts +2 -0
- package/Platform/TextListInputView.d.ts +4 -4
- package/Platform/{ToggleRowAcess.d.ts → ToggleRowAccess.d.ts} +0 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/UtilsQuotes.d.ts +10 -0
- package/Platform/WebFrameBodyContainer.stories.d.ts +8 -0
- package/Platform/WebFrameCompanyLogo.d.ts +3 -1
- package/Platform/WebFrameCompanyLogo.stories.d.ts +10 -0
- package/Platform/WebFrameContent.d.ts +3 -2
- package/Platform/WebFrameContentImpl.d.ts +2 -0
- package/Platform/WebFrameCurrentPageName.stories.d.ts +8 -0
- package/Platform/WebFrameHeaderContainer.d.ts +2 -1
- package/Platform/WebFrameHeaderContainer.stories.d.ts +17 -0
- package/Platform/WebFrameHeaderContainerImpl.d.ts +1 -1
- package/Platform/WebFrameHelpButton.stories.d.ts +10 -0
- package/Platform/WebFrameMainMenuButton.stories.d.ts +8 -0
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -1
- package/Platform/WebFrameMainMenuContainer.stories.d.ts +10 -0
- package/Platform/WebFrameMainMenuContainerImpl.d.ts +3 -1
- package/Platform/WebFrameNavigationBar.d.ts +2 -1
- package/Platform/WebFrameNavigationBar.stories.d.ts +19 -0
- package/Platform/WebFrameNavigationBarImpl.d.ts +2 -0
- package/Platform/WebFrameSearchPanel.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.stories.d.ts +14 -0
- package/Platform/index.d.ts +1 -7
- package/Platform/toLocaleStringPolyfill.d.ts +2 -0
- package/StandardServices.d.ts +5 -1
- package/System/$FileService.d.ts +16 -9
- package/System/$Layout.d.ts +1 -1
- package/System/$PollService.d.ts +0 -3
- package/System/$Router.d.ts +1 -0
- package/System/$WebFrameContentHeight.d.ts +14 -0
- package/System/BlobToBase64.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/FileService.d.ts +14 -15
- package/System/FilterLogic.d.ts +6 -0
- package/System/GenerateTestData.d.ts +2 -0
- package/System/IAsyncControlInfo.d.ts +1 -1
- package/System/ILayoutParams.d.ts +2 -0
- package/System/InputBasedControl.d.ts +5 -0
- package/System/InputBasedControlImpl.d.ts +5 -3
- package/System/Layout.d.ts +1 -0
- package/System/LayoutManager.d.ts +1 -1
- package/System/LayoutUtils.d.ts +1 -0
- package/System/NavigationBarStub.d.ts +31 -0
- package/System/OperationUtils.d.ts +2 -0
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/Poll.d.ts +2 -2
- package/System/PollService.d.ts +7 -6
- package/System/{PreventPropogation.d.ts → PreventPropagation.d.ts} +0 -0
- package/System/Router.d.ts +1 -1
- package/System/StringUtils.d.ts +5 -1
- package/System/TabStub.d.ts +13 -0
- package/System/WebFrameContentHeightService.d.ts +14 -0
- package/System/WebFrameNavigationBarStub.d.ts +283 -0
- package/package.json +1 -1
- package/BackOffice/FileSignCreateDialog.d.ts +0 -83
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +0 -57
- package/Globals/DVPromise.d.ts +0 -19
- package/Platform/FilterPlugin.d.ts +0 -3
- package/Platform/GropingPlugin.d.ts +0 -3
- package/Platform/ResetSettingsPlugin.d.ts +0 -18
- package/Platform/SearchPlugin.d.ts +0 -3
- 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 & $
|
|
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;
|
package/BackOffice/FileSign.d.ts
CHANGED
|
@@ -1,56 +1,29 @@
|
|
|
1
|
-
|
|
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
|
|
14
|
-
protected traceProvider: TraceProvider;
|
|
11
|
+
protected services: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController;
|
|
15
12
|
protected interactionModel: IFileSignInteractionModel;
|
|
16
|
-
|
|
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;
|
|
@@ -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 { $
|
|
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,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
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { PopoverMode } from '@docsvision/webclient/Helpers/PopoverHelpers/Popover';
|
|
3
4
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
5
|
import { LoadingState } from '@docsvision/webclient/System/LoadingState';
|
|
5
6
|
import React from 'react';
|
|
@@ -9,6 +10,7 @@ interface Props {
|
|
|
9
10
|
onClose: () => void;
|
|
10
11
|
services: $LayoutRowController & $LocationContainerControlServices;
|
|
11
12
|
yShift?: number;
|
|
13
|
+
mode?: PopoverMode;
|
|
12
14
|
}
|
|
13
15
|
interface State {
|
|
14
16
|
loaded: boolean;
|
|
@@ -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[];
|
|
@@ -20,6 +20,7 @@ export declare class NumeratorParams extends InputBasedControlParams<INumberInfo
|
|
|
20
20
|
allowManualEdit?: boolean;
|
|
21
21
|
/** Если true, то в момент сохранения карточки генерируется номер, если он не был заполнен. */
|
|
22
22
|
generateOnSave?: boolean;
|
|
23
|
+
displayIcon?: boolean;
|
|
23
24
|
/** Событие, возникающее перед началом генерации нового номера. */
|
|
24
25
|
generating?: CancelableApiEvent<void>;
|
|
25
26
|
/** Событие, возникающее после начала генерации нового номера. */
|
|
@@ -37,12 +37,18 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
|
|
|
37
37
|
protected getCssClass(): string;
|
|
38
38
|
protected onGenerateClick(): Promise<void>;
|
|
39
39
|
protected onClearClick(): void;
|
|
40
|
-
protected
|
|
40
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
41
|
+
protected getLeftButtons(): IBoxWithButtonsButtonInfo[];
|
|
41
42
|
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
42
43
|
wrapWithButtons(children?: React.ReactNode): JSX.Element;
|
|
43
44
|
protected renderWithText(): JSX.Element;
|
|
44
45
|
protected onInputFocus(event: React.FocusEvent<any>): void;
|
|
46
|
+
protected onMouseDownIcon(): void;
|
|
45
47
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
48
|
+
private saveCard;
|
|
49
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
50
|
+
private isLayoutViewMode;
|
|
46
51
|
protected onPlaceholderClick(event: any): void;
|
|
52
|
+
protected getInputProps(): React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
47
53
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
48
54
|
}
|
|
@@ -38,6 +38,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
38
38
|
directoryWindow?: PartnerSelectDialog;
|
|
39
39
|
/** Доступен ли интерфейс редактиррования справочника. */
|
|
40
40
|
allowDirectoryEdit?: boolean;
|
|
41
|
+
displayIcon?: boolean;
|
|
42
|
+
popoverOpen?: boolean;
|
|
41
43
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
42
44
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
43
45
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -67,8 +69,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
67
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> {
|
|
68
70
|
/** @internal */
|
|
69
71
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
70
|
-
import("C:/
|
|
71
|
-
import("C:/
|
|
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;
|
|
72
74
|
/** @internal */
|
|
73
75
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
74
76
|
private set partnerBindingHandler(value);
|
|
@@ -25,6 +25,7 @@ export interface PartnerBaseState<T> extends PartnerBaseParams<T>, InputBasedCon
|
|
|
25
25
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
26
26
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
27
27
|
maximized?: boolean;
|
|
28
|
+
onMouseOverInfo: boolean;
|
|
28
29
|
}
|
|
29
30
|
/** @internal */
|
|
30
31
|
export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControlImpl<T, ParamsT, StateT> {
|
|
@@ -34,9 +35,13 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
34
35
|
private modalHost;
|
|
35
36
|
private dictionaryHost;
|
|
36
37
|
constructor(props: ParamsT, state: StateT);
|
|
38
|
+
componentDidMount(): void;
|
|
37
39
|
componentWillUnmount(): void;
|
|
38
40
|
componentDidUpdate(): void;
|
|
39
41
|
setValue(value: T, redraw: boolean): void;
|
|
42
|
+
private saveCard;
|
|
43
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
44
|
+
private isLayoutViewMode;
|
|
40
45
|
protected get departmentMode(): number;
|
|
41
46
|
protected getCssClass(): string;
|
|
42
47
|
protected getInputTitle(): string;
|
|
@@ -76,7 +81,22 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
76
81
|
protected onCreateDepartment: () => Promise<void>;
|
|
77
82
|
protected onCreateEmployee: () => Promise<void>;
|
|
78
83
|
private afterOpenCallback;
|
|
84
|
+
protected closePopover(): void;
|
|
85
|
+
protected getItemType(value: GenModels.DepartmentModel | GenModels.EmployeeDataModel): GenModels.PartnerItemType;
|
|
86
|
+
protected renderCardInfo(): JSX.Element;
|
|
87
|
+
protected onDocumentOver: (event: any) => void;
|
|
88
|
+
protected onDocumentOut: (event: any) => void;
|
|
89
|
+
protected onMouseEnter: () => void;
|
|
90
|
+
protected onMouseLeave(): void;
|
|
91
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
79
92
|
protected renderTypeaheadHeader(): JSX.Element;
|
|
93
|
+
protected getIconLabel(): string;
|
|
94
|
+
protected onMouseDownIcon(): void;
|
|
95
|
+
protected getIconClassName(): string;
|
|
80
96
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
97
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
98
|
+
protected onIconClick(): void;
|
|
99
|
+
protected renderWithText(): JSX.Element;
|
|
100
|
+
protected getDepartmentIconClassName(item: GenModels.DepartmentModel): string;
|
|
81
101
|
renderDictionary(): JSX.Element;
|
|
82
102
|
}
|
|
@@ -2,11 +2,14 @@ import { DepartmentSelectMode } from '@docsvision/webclient/BackOffice/Departmen
|
|
|
2
2
|
import { PartnerBaseImpl } from '@docsvision/webclient/BackOffice/PartnerBaseImpl';
|
|
3
3
|
import { PartnerDepartmentParams, PartnerDepartmentState } from '@docsvision/webclient/BackOffice/PartnerDepartment';
|
|
4
4
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
import React from 'react';
|
|
5
6
|
export declare class PartnerDepartmentImpl extends PartnerBaseImpl<GenModels.DepartmentModel, PartnerDepartmentParams, PartnerDepartmentState> {
|
|
6
7
|
protected getTextValue(): string;
|
|
7
8
|
protected get departmentMode(): DepartmentSelectMode;
|
|
8
9
|
protected getValueTitle(): string;
|
|
9
10
|
protected renderInto(props: PartnerDepartmentParams, container: HTMLElement): void;
|
|
10
11
|
protected getCssClass(): string;
|
|
12
|
+
protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
|
|
13
|
+
protected onInputChange(event: any): void;
|
|
11
14
|
componentDidMount(): void;
|
|
12
15
|
}
|
|
@@ -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:/
|
|
43
|
-
import("C:/
|
|
44
|
-
import("C:/
|
|
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>;
|
|
@@ -21,6 +21,7 @@ export interface PartnerState extends PartnerParams, InputBasedControlState<GenM
|
|
|
21
21
|
beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
|
|
22
22
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
23
23
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
24
|
+
onMouseOverInfo: boolean;
|
|
24
25
|
}
|
|
25
26
|
/** @internal */
|
|
26
27
|
export declare type PartnerImplProps = PartnerParams;
|
|
@@ -30,5 +31,7 @@ export declare type PartnerImplState = PartnerState;
|
|
|
30
31
|
export declare class PartnerImpl extends PartnerBaseImpl<GenModels.EmployeeDataModel, PartnerParams, PartnerState> {
|
|
31
32
|
protected getTextValue(): string;
|
|
32
33
|
protected getValueTitle(): string;
|
|
34
|
+
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
35
|
+
protected onInputChange(event: any): void;
|
|
33
36
|
protected renderInto(props: PartnerParams, container: HTMLElement): void;
|
|
34
37
|
}
|
|
@@ -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:/
|
|
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 {};
|