@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.
- 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 +1 -0
- 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/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 +29 -15
- package/BackOffice/DirectoryDesignerRowConstants.d.ts +3 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +42 -29
- 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/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/NumeratorImpl.d.ts +1 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- 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/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +7 -3
- package/BackOffice/SvsVerifyModels.d.ts +20 -0
- 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/Utils.d.ts +3 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +166 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +1081 -217
- 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/ModalDialog/CommonModalDialog.d.ts +2 -1
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +3 -3
- 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/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- 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/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/MainBundle.d.ts +1 -0
- package/Platform/$AggregatesCheckbox.d.ts +1 -0
- 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/DateTimePickerImpl.d.ts +1 -0
- 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 +1 -1
- 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/FolderViewItemsImpl.d.ts +5 -5
- package/Platform/IAggregates.d.ts +10 -4
- 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 +2 -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/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 +3 -3
- 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/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/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/index.d.ts +1 -7
- package/Platform/toLocaleStringPolyfill.d.ts +2 -0
- package/StandardServices.d.ts +4 -1
- package/System/$FileService.d.ts +16 -9
- package/System/$Layout.d.ts +1 -1
- 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/InputBasedControlImpl.d.ts +1 -0
- package/System/Layout.d.ts +1 -0
- package/System/LayoutManager.d.ts +1 -1
- package/System/LayoutUtils.d.ts +1 -0
- package/System/OperationUtils.d.ts +2 -0
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/{PreventPropogation.d.ts → PreventPropagation.d.ts} +0 -0
- package/System/StringUtils.d.ts +5 -1
- 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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SignatureButtonLogic } from "@docsvision/webclient/BackOffice/SignatureButtonLogic";
|
|
2
|
+
import { SignatureButtonView } from "@docsvision/webclient/BackOffice/SignatureButtonView";
|
|
3
|
+
import { $DigitalSignature, IDigitalSignOptions, IEncryptedInfo } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
4
|
+
import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
+
import { BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
6
|
+
import { $CardId, $CardTimestamp, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
7
|
+
import { CancelableApiEvent, BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
8
|
+
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
9
|
+
import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
|
|
10
|
+
import { IControlOptions } from "@docsvision/webclient/System/IControlOptions";
|
|
11
|
+
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
12
|
+
import { Optional } from "@docsvision/web/core/services";
|
|
13
|
+
/**
|
|
14
|
+
* Содержит публичные свойства элемента управления [SignatureButton]{@link SignatureButton}.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SignatureButtonParams extends BaseControlParams {
|
|
17
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
18
|
+
standardCssClass?: string;
|
|
19
|
+
/** Скрывает выбор метки в диалоге подписания. */
|
|
20
|
+
signWithoutLabel?: boolean;
|
|
21
|
+
/** Доступна ли операция подписания. */
|
|
22
|
+
canSign?: boolean;
|
|
23
|
+
/** Доступен ли просмотр журнала подписей. */
|
|
24
|
+
canViewSignatures?: boolean;
|
|
25
|
+
/** Определяет внешний вид иконки, в зависимости от наличия подписей. */
|
|
26
|
+
hasSignatures?: boolean;
|
|
27
|
+
/** Доступна ли кнопка открытия диалога настроек. */
|
|
28
|
+
canSetupSignatureMethods?: boolean;
|
|
29
|
+
/** Событие, возникающее перед открытием диалога подписания. */
|
|
30
|
+
signDialogOpening?: CancelableApiEvent<IEventArgs>;
|
|
31
|
+
/** Событие, возникающее после открытия диалога подписания. */
|
|
32
|
+
signDialogOpened?: BasicApiEvent<IEventArgs>;
|
|
33
|
+
/** Событие, возникающее перед открытием диалога журнала подписи. */
|
|
34
|
+
signListDialogOpening?: CancelableApiEvent<IEventArgs>;
|
|
35
|
+
/** Событие, возникающее после октрытия диалога журнала подписи. */
|
|
36
|
+
signListDialogOpened?: BasicApiEvent<IEventArgs>;
|
|
37
|
+
/** Событие, возникающее после нажатия кнопки подписать и перед выполнением операции подписания. */
|
|
38
|
+
creatingSignature?: CancelableApiEvent<IDigitalSignOptions>;
|
|
39
|
+
/** Событие, возникающее после создания подписи, но перед прикреплением подписи к документу. */
|
|
40
|
+
attachingSignature?: CancelableApiEvent<IEncryptedInfo>;
|
|
41
|
+
/**
|
|
42
|
+
* Событие, возникающее после создания подписи.
|
|
43
|
+
* Отмена события предотвратит отображение диалога и перезагрузку странциы.
|
|
44
|
+
*/
|
|
45
|
+
signingComplete?: CancelableApiEvent<IEncryptedInfo>;
|
|
46
|
+
services?: Optional<$SignatureButtonOptions> & $DigitalSignature & $CardId & $MessageWindow & $RouterNavigation & $EditOperationStore & $SignatureController & $CardTimestamp;
|
|
47
|
+
}
|
|
48
|
+
export declare type $SignatureButtonOptions = {
|
|
49
|
+
signatureButtonOptions: IControlOptions<SignatureButtonParams, SignatureButtonLogic, SignatureButtonView>;
|
|
50
|
+
};
|
|
51
|
+
export declare const $SignatureButtonOptions: string | ((model?: $SignatureButtonOptions) => IControlOptions<SignatureButtonParams, SignatureButtonLogic, SignatureButtonView>);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SignatureButtonComponent } from "@docsvision/webclient/BackOffice/SignatureButtonComponent";
|
|
2
|
+
import { SignatureButtonMenu } from "@docsvision/webclient/BackOffice/SignatureButtonMenu";
|
|
3
|
+
import { SignatureButtonMenuItem } from "@docsvision/webclient/BackOffice/SignatureButtonMenuItem";
|
|
4
|
+
export declare class SignatureButtonView {
|
|
5
|
+
button: typeof SignatureButtonComponent;
|
|
6
|
+
menuBar: typeof SignatureButtonMenu;
|
|
7
|
+
menuItem: typeof SignatureButtonMenuItem;
|
|
8
|
+
signItemName: string;
|
|
9
|
+
historyItemName: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SIMPLE_SIGNATURE_ID = "SimpleSign";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $ApplicationSettings, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
3
|
+
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
4
|
+
import { $SignatureController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
+
import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
|
|
6
|
+
import { SignatureDialogLogic } from "@docsvision/webclient/BackOffice/SignatureDialogLogic";
|
|
7
|
+
import { IComponentProps } from "@docsvision/web/core/component";
|
|
8
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
9
|
+
import { SignatureDialogFrame } from "@docsvision/webclient/BackOffice/SignatureDialogFrame";
|
|
10
|
+
import { SignatureDialogLoader } from "@docsvision/webclient/BackOffice/SignatureDialogLoader";
|
|
11
|
+
import { SignatureDialogLabels } from "@docsvision/webclient/BackOffice/SignatureDialogLabels";
|
|
12
|
+
import { SignatureDialogNoPluginMessage } from "@docsvision/webclient/BackOffice/SignatureDialogNoPluginMessage";
|
|
13
|
+
import { SignatureDialogMethods } from "@docsvision/webclient/BackOffice/SignatureDialogMethods";
|
|
14
|
+
import { SignatureDialogSettings } from "@docsvision/webclient/BackOffice/SignatureDialogSettings";
|
|
15
|
+
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
16
|
+
import { IDigitalSignOptions } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
17
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
18
|
+
import { Focusable } from "@docsvision/web/components/focus-management";
|
|
19
|
+
export declare type $SignatureDialogServices = $SignatureController & $WebViewIOSEnabled & $CloudSignature & $MessageBox & $CryptoPro & $ApplicationSettings & $LocalStorage & $SignatureMethodsController & $Resources;
|
|
20
|
+
/** Свойства для {@see SignatureDialog}. */
|
|
21
|
+
export interface ISignatureDialogProps extends IComponentProps<SignatureDialogLogic, SignatureDialogView> {
|
|
22
|
+
/** Идентификатор документа. */
|
|
23
|
+
documentId: string;
|
|
24
|
+
/** Не отображать выбор метки. */
|
|
25
|
+
hideLabelSelection?: boolean;
|
|
26
|
+
/** Не отображать кнопку настройки вариантов подписания. */
|
|
27
|
+
hideSignatureMethodsSetup?: boolean;
|
|
28
|
+
/** Скрыть метод простой подписи. */
|
|
29
|
+
hideSimpleSign?: boolean;
|
|
30
|
+
/** Вызывается при подписи. */
|
|
31
|
+
onSign?: (options: IDigitalSignOptions) => Promise<void>;
|
|
32
|
+
/** Вызывается при отмене подписи. */
|
|
33
|
+
onCancel?: () => void;
|
|
34
|
+
services: $SignatureDialogServices;
|
|
35
|
+
}
|
|
36
|
+
export declare class SignatureDialogView {
|
|
37
|
+
frame: typeof SignatureDialogFrame;
|
|
38
|
+
loader: typeof SignatureDialogLoader;
|
|
39
|
+
labels: typeof SignatureDialogLabels;
|
|
40
|
+
noPluginMessage: typeof SignatureDialogNoPluginMessage;
|
|
41
|
+
methods: typeof SignatureDialogMethods;
|
|
42
|
+
settings: typeof SignatureDialogSettings;
|
|
43
|
+
contentWrapper: typeof Focusable;
|
|
44
|
+
/** Точка расширения для партнеров */
|
|
45
|
+
footer: (logic: SignatureDialogLogic) => any;
|
|
46
|
+
/** Точка расширения для партнеров */
|
|
47
|
+
header: (logic: SignatureDialogLogic) => any;
|
|
48
|
+
}
|
|
49
|
+
/** Диалог подписания документа */
|
|
50
|
+
export declare function SignatureDialog(props: ISignatureDialogProps): JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SignatureDialog } from '@docsvision/webclient/BackOffice/SignatureDialog';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof SignatureDialog;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: () => JSX.Element;
|
|
9
|
+
export declare const Loading: () => JSX.Element;
|
|
10
|
+
export declare const NoPlugin: () => JSX.Element;
|
|
11
|
+
export declare const NoCloud: () => JSX.Element;
|
|
12
|
+
export declare const SettingsDialogOpen: () => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
3
|
+
import { ModalDialogProps } from "@docsvision/web/components/modals/modal-dialog";
|
|
4
|
+
import './SignatureDialogFrame.css';
|
|
5
|
+
export interface ISignatureDialogFramePops extends ModalDialogProps {
|
|
6
|
+
initialLoading: boolean;
|
|
7
|
+
signing: boolean;
|
|
8
|
+
canSign: boolean;
|
|
9
|
+
onSign: () => void;
|
|
10
|
+
onCancel: () => void;
|
|
11
|
+
services: $LocalStorage;
|
|
12
|
+
}
|
|
13
|
+
export declare function SignatureDialogFrame(props: ISignatureDialogFramePops): JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
|
|
3
|
+
import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
|
|
4
|
+
export interface ISignatureDialogLabelsPops {
|
|
5
|
+
labels: IComboBoxElement[];
|
|
6
|
+
selectedLabel: ISignatureLabel;
|
|
7
|
+
onSelectLabel: (label: ISignatureLabel) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function SignatureDialogLabels(props: ISignatureDialogLabelsPops): JSX.Element;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ComponentLogic } from '@docsvision/web/core/component';
|
|
2
|
+
import { ISignatureDialogProps } from '@docsvision/webclient/BackOffice/SignatureDialog';
|
|
3
|
+
import { ISignatureLabel } from '@docsvision/webclient/Legacy/ISignatureLabel';
|
|
4
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
import { ISignOptions } from '@docsvision/webclient/BackOffice/ISignOptions';
|
|
6
|
+
import { IComboBoxElement } from '@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement';
|
|
7
|
+
export declare enum ISigningStatus {
|
|
8
|
+
Default = 0,
|
|
9
|
+
Offline = 1,
|
|
10
|
+
Online = 2
|
|
11
|
+
}
|
|
12
|
+
export declare class SignatureDialogLogic extends ComponentLogic<ISignatureDialogProps> {
|
|
13
|
+
domain:
|
|
14
|
+
import("effector").Domain;
|
|
15
|
+
$initLoading:
|
|
16
|
+
import("effector").Store<boolean>;
|
|
17
|
+
$signLabels:
|
|
18
|
+
import("effector").Store<ISignatureLabel[]>;
|
|
19
|
+
$signLabelComboBoxItems:
|
|
20
|
+
import("effector").Store<IComboBoxElement[]>;
|
|
21
|
+
$selectedLabel:
|
|
22
|
+
import("effector").Store<ISignatureLabel>;
|
|
23
|
+
selectLabel:
|
|
24
|
+
import("effector").Event<ISignatureLabel>;
|
|
25
|
+
$selectedMethod:
|
|
26
|
+
import("effector").Store<GenModels.SignatureMethod>;
|
|
27
|
+
selectMethod:
|
|
28
|
+
import("effector").Event<GenModels.SignatureMethod>;
|
|
29
|
+
$settings:
|
|
30
|
+
import("effector").Store<GenModels.SignatureMethodSettings>;
|
|
31
|
+
$signMethodComboBoxItems:
|
|
32
|
+
import("effector").Store<IComboBoxElement[]>;
|
|
33
|
+
$signOptions:
|
|
34
|
+
import("effector").Store<ISignOptions>;
|
|
35
|
+
loadSettingsFx:
|
|
36
|
+
import("effector").Effect<{
|
|
37
|
+
documentId: string;
|
|
38
|
+
}, GenModels.SignatureModel, Error>;
|
|
39
|
+
signFx:
|
|
40
|
+
import("effector").Effect<{}, void, Error>;
|
|
41
|
+
$signing:
|
|
42
|
+
import("effector").Store<boolean>;
|
|
43
|
+
$files:
|
|
44
|
+
import("effector").Store<GenModels.SignatureFileInfo[]>;
|
|
45
|
+
$settingsDialogShown:
|
|
46
|
+
import("effector").Store<boolean>;
|
|
47
|
+
showSettingsDialog:
|
|
48
|
+
import("effector").Event<void>;
|
|
49
|
+
cancelSettingsDialog:
|
|
50
|
+
import("effector").Event<void>;
|
|
51
|
+
currentDialogSettingsUpdated:
|
|
52
|
+
import("effector").Event<GenModels.SignatureMethodSettings>;
|
|
53
|
+
saveSettingsDialog:
|
|
54
|
+
import("effector").Event<void>;
|
|
55
|
+
saveSettingsFx:
|
|
56
|
+
import("effector").Effect<GenModels.SignatureMethodSettings, void, Error>;
|
|
57
|
+
actualizeProfileCertificateSourceFx:
|
|
58
|
+
import("effector").Effect<GenModels.SignatureMethodSettings, GenModels.SignatureMethodSettings, Error>;
|
|
59
|
+
init(options: ISignatureDialogProps): void;
|
|
60
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
|
|
4
|
+
import "./SignatureDialogMethods.css";
|
|
5
|
+
export interface ISignatureDialogMethodsPops {
|
|
6
|
+
methods: IComboBoxElement[];
|
|
7
|
+
selectedMethod: GenModels.SignatureMethod;
|
|
8
|
+
onSelectMethod: (method: GenModels.SignatureMethod) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function SignatureDialogMethods(props: ISignatureDialogMethodsPops): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
3
|
+
import "./SignatureDialogNoPluginMessage.css";
|
|
4
|
+
export interface ISignatureDialogNoPluginMessagePops extends HtmlProps.div {
|
|
5
|
+
}
|
|
6
|
+
export declare function SignatureDialogNoPluginMessage(props: ISignatureDialogNoPluginMessagePops): JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
|
|
3
|
+
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
4
|
+
import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
|
+
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
7
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
8
|
+
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
9
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
10
|
+
import "./SignatureDialogSettings.css";
|
|
11
|
+
export interface ISignatureDialogSettingsPops extends HtmlProps.div {
|
|
12
|
+
settings: GenModels.SignatureMethodSettings;
|
|
13
|
+
showSettingsDialog: boolean;
|
|
14
|
+
onShowSettingsDialog: () => void;
|
|
15
|
+
onCancelSettingsDialog: () => void;
|
|
16
|
+
onUpdateSettings: (settings: GenModels.SignatureMethodSettings) => void;
|
|
17
|
+
onSaveSettings: () => void;
|
|
18
|
+
services: $LocalStorage & $ApplicationSettings & $CryptoPro & $CloudSignature & $SignatureController & $MessageBox;
|
|
19
|
+
}
|
|
20
|
+
export declare function SignatureDialogSettings(props: ISignatureDialogSettingsPops): JSX.Element;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IComponentProps } from '@docsvision/web/core/component';
|
|
3
|
+
import { SignatureMethodsSetupLogic } from '@docsvision/webclient/BackOffice/SignatureMethodsSetupLogic';
|
|
4
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
+
import { SignatureMethodsSetupCertificateRow } from '@docsvision/webclient/BackOffice/SignatureMethodsSetupCertificateRow';
|
|
6
|
+
import { $CryptoPro } from '@docsvision/webclient/BackOffice/$CryptoPro';
|
|
7
|
+
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
8
|
+
import { $CloudSignature } from '@docsvision/webclient/BackOffice/$CloudSignature';
|
|
9
|
+
import { SignatureMethodsSetupCertificatesTableLoader } from '@docsvision/webclient/BackOffice/SignatureMethodsSetupCertificatesTableLoader';
|
|
10
|
+
import { SignatureMethodsSetupSelectedMethodsLoader } from '@docsvision/webclient/BackOffice/SignatureMethodsSetupSelectedMethodsLoader';
|
|
11
|
+
import { getSignatureMethodName } from '@docsvision/webclient/BackOffice/GetSignatureMethodName';
|
|
12
|
+
import { $SignatureController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
13
|
+
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
14
|
+
import { SignatureMethodsSetupNoPluginMessage } from '@docsvision/webclient/BackOffice/SignatureMethodsSetupNoPluginMessage';
|
|
15
|
+
export interface ISignatureMethodsSetupProps extends IComponentProps<SignatureMethodsSetupLogic, SignatureMethodsSetupView> {
|
|
16
|
+
/** Загруженный с сервера объект настроек */
|
|
17
|
+
settings: GenModels.SignatureMethodSettings;
|
|
18
|
+
/**
|
|
19
|
+
* Колбэк для получения текущего состояния настроек, с целью сохранения его на сервере.
|
|
20
|
+
*
|
|
21
|
+
* @warning Не следует передавать полученный объект в
|
|
22
|
+
* качестве пропса settings - возможно зацикливание.
|
|
23
|
+
*/
|
|
24
|
+
onSettingsUpdate: (settings: GenModels.SignatureMethodSettings) => void;
|
|
25
|
+
services: $CryptoPro & $ApplicationSettings & $CloudSignature & $SignatureController & $MessageBox;
|
|
26
|
+
}
|
|
27
|
+
export declare class SignatureMethodsSetupView {
|
|
28
|
+
frame: (props:
|
|
29
|
+
import("./Components/SignatureMethodsSetupFrame").ISignatureMethodsSetupFrameProps) => JSX.Element;
|
|
30
|
+
certificateTable: (props:
|
|
31
|
+
import("./Components/SignatureMethodsSetupCertificateTable").ISignatureMethodsSetupCertificateTableProps) => JSX.Element;
|
|
32
|
+
certificateRow: typeof SignatureMethodsSetupCertificateRow;
|
|
33
|
+
getSignatureMethodName: typeof getSignatureMethodName;
|
|
34
|
+
selectedListLoader: typeof SignatureMethodsSetupSelectedMethodsLoader;
|
|
35
|
+
certificatesTableLoader: typeof SignatureMethodsSetupCertificatesTableLoader;
|
|
36
|
+
cloudLogin: (props:
|
|
37
|
+
import("./Components/SignatureMethodsSetupCloudLogin").ISignatureMethodsSetupCloudLoginProps) => JSX.Element;
|
|
38
|
+
noPluginMessage: typeof SignatureMethodsSetupNoPluginMessage;
|
|
39
|
+
}
|
|
40
|
+
export declare const SignatureMethodsSetup: (props: ISignatureMethodsSetupProps) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './SignatureMethodsSetup.stories.css';
|
|
3
|
+
import { ISignatureMethodsSetupProps } from './SignatureMethodsSetup';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (props: ISignatureMethodsSetupProps) => JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Local: () => JSX.Element;
|
|
10
|
+
export declare const LocalLongList: () => JSX.Element;
|
|
11
|
+
export declare const Loading: () => JSX.Element;
|
|
12
|
+
export declare const CloudUnauthorized: () => JSX.Element;
|
|
13
|
+
export declare const CloudAuthorized: () => JSX.Element;
|
|
14
|
+
export declare const CloudLongList: () => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { ISortableItem } from '@docsvision/webclient/Helpers/Sortable/Data/ClientModels/ISortableItem';
|
|
4
|
+
import { ITabsNavPanelProps } from '@docsvision/webclient/Helpers/TabsNavPanel';
|
|
5
|
+
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
6
|
+
import './SignatureMethodsSetupCertificateRow.css';
|
|
7
|
+
export interface ISignatureMethodsSetupCertificateRowProps extends ITabsNavPanelProps {
|
|
8
|
+
item: ISortableItem<GenModels.SignatureMethod>;
|
|
9
|
+
canToggle: boolean;
|
|
10
|
+
onToggle: (method: GenModels.SignatureMethod) => void;
|
|
11
|
+
onCommentChange: (method: GenModels.SignatureMethod, comment: string) => void;
|
|
12
|
+
services: $ApplicationSettings;
|
|
13
|
+
}
|
|
14
|
+
export declare function SignatureMethodsSetupCertificateRow(props: ISignatureMethodsSetupCertificateRowProps): JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { ISortableItem } from '@docsvision/webclient/Helpers/Sortable/Data/ClientModels/ISortableItem';
|
|
3
|
+
import { ITabsNavPanelProps } from '@docsvision/webclient/Helpers/TabsNavPanel';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import './SignatureMethodsSetupCertificateTable.css';
|
|
6
|
+
export interface ISignatureMethodsSetupCertificateTableProps extends ITabsNavPanelProps {
|
|
7
|
+
items: GenModels.SignatureMethod[];
|
|
8
|
+
noDataMessage?: string;
|
|
9
|
+
renderItem: (item: ISortableItem<GenModels.SignatureMethod>) => React.ReactNode;
|
|
10
|
+
onReorder: (items: GenModels.SignatureMethod[]) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const SignatureMethodsSetupCertificateTable: (props: ISignatureMethodsSetupCertificateTableProps) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
import './SignatureMethodsSetupCloudLogin.css';
|
|
4
|
+
export interface ISignatureMethodsSetupCloudLoginProps extends HtmlProps.div {
|
|
5
|
+
showCloudCertificates: boolean;
|
|
6
|
+
accountName: string;
|
|
7
|
+
onAccountNameChange: (name: string) => void;
|
|
8
|
+
authorized: boolean;
|
|
9
|
+
onLogin: () => void;
|
|
10
|
+
onLogout: () => void;
|
|
11
|
+
onToggleShowCloudCertificates: (value: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SignatureMethodsSetupCloudLogin: (props: ISignatureMethodsSetupCloudLoginProps) => JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './SignatureMethodsSetupFrame.css';
|
|
4
|
+
export interface ISignatureMethodsSetupFrameProps extends HtmlProps.div {
|
|
5
|
+
renderCloudLoginArea: () => React.ReactNode;
|
|
6
|
+
renderCertificates: () => React.ReactNode;
|
|
7
|
+
renderFooter: () => React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const SignatureMethodsSetupFrame: (props: ISignatureMethodsSetupFrameProps) => JSX.Element;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Store } from 'effector';
|
|
2
|
+
import { ComponentLogic } from '@docsvision/web/core/component';
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
+
import { ISignatureMethodsSetupProps } from '@docsvision/webclient/BackOffice/SignatureMethodsSetup';
|
|
5
|
+
import { ICryptoCertificate } from 'Libs/CryptoPro/Crypto';
|
|
6
|
+
import { IDssCertificateInfoEx } from '@docsvision/webclient/BackOffice/IDssCertificateInfoEx';
|
|
7
|
+
import { IGetCertificateResult } from '@docsvision/webclient/BackOffice/IGetCertificateResult';
|
|
8
|
+
export declare class SignatureMethodsSetupLogic extends ComponentLogic<ISignatureMethodsSetupProps> {
|
|
9
|
+
domain:
|
|
10
|
+
import("effector").Domain;
|
|
11
|
+
$signatureMethods: Store<GenModels.SignatureMethod[]>;
|
|
12
|
+
$visibleSignatureMethods: Store<GenModels.SignatureMethod[]>;
|
|
13
|
+
initSignatureMethods:
|
|
14
|
+
import("effector").Event<GenModels.SignatureMethod[]>;
|
|
15
|
+
$selectedCertificatesIds: Store<string[]>;
|
|
16
|
+
$defaultCertificatesIds: Store<string[]>;
|
|
17
|
+
toggleCertificate:
|
|
18
|
+
import("effector").Event<GenModels.SignatureMethod>;
|
|
19
|
+
certificatesReorder:
|
|
20
|
+
import("effector").Event<GenModels.SignatureMethod[]>;
|
|
21
|
+
canToggleMethod: (method: GenModels.SignatureMethod) => boolean;
|
|
22
|
+
methodCommentEdit:
|
|
23
|
+
import("effector").Event<{
|
|
24
|
+
method: GenModels.SignatureMethod;
|
|
25
|
+
comment: string;
|
|
26
|
+
}>;
|
|
27
|
+
initSelectedCertificatesLogic(): void;
|
|
28
|
+
$localCertificates: Store<GenModels.SavedCertificateInfo[]>;
|
|
29
|
+
initLocalCertificates:
|
|
30
|
+
import("effector").Event<{
|
|
31
|
+
savedCertificates: GenModels.SavedCertificateInfo[];
|
|
32
|
+
systemCertificates: ICryptoCertificate[];
|
|
33
|
+
}>;
|
|
34
|
+
savedLocalCertificatesLoaded:
|
|
35
|
+
import("effector").Event<GenModels.SavedCertificateInfo[]>;
|
|
36
|
+
loadSystemInstalledCertificatesFx:
|
|
37
|
+
import("effector").Effect<void, ICryptoCertificate[], Error>;
|
|
38
|
+
initLocalCertificatesLogic(options: ISignatureMethodsSetupProps): void;
|
|
39
|
+
$cloudCertificates: Store<GenModels.SavedCertificateInfo[]>;
|
|
40
|
+
initCloudCertificates:
|
|
41
|
+
import("effector").Event<{
|
|
42
|
+
savedCertificates: GenModels.SavedCertificateInfo[];
|
|
43
|
+
cloudCertificates: IDssCertificateInfoEx[];
|
|
44
|
+
}>;
|
|
45
|
+
$cloudCertificatesLoaded: Store<boolean>;
|
|
46
|
+
savedCloudCertificatesLoaded:
|
|
47
|
+
import("effector").Event<GenModels.SavedCertificateInfo[]>;
|
|
48
|
+
loadCertificatesFromDssFx:
|
|
49
|
+
import("effector").Effect<void, IGetCertificateResult[], Error>;
|
|
50
|
+
loadCertificatesThumberprintsFx:
|
|
51
|
+
import("effector").Effect<IGetCertificateResult[], IDssCertificateInfoEx[], Error>;
|
|
52
|
+
$showCloudCertificates: Store<boolean>;
|
|
53
|
+
toggleShowCloudCertificates:
|
|
54
|
+
import("effector").Event<boolean>;
|
|
55
|
+
$showCloudCertificatesCheckboxVisible: Store<boolean>;
|
|
56
|
+
initCloudCertificatesLogic(options: ISignatureMethodsSetupProps): void;
|
|
57
|
+
$initialSettings: Store<GenModels.SignatureMethodSettings>;
|
|
58
|
+
componentRender:
|
|
59
|
+
import("effector").Event<GenModels.SignatureMethodSettings>;
|
|
60
|
+
settingsChanged:
|
|
61
|
+
import("effector").Event<GenModels.SignatureMethodSettings>;
|
|
62
|
+
initSettingsModelProcessing(): void;
|
|
63
|
+
$authorizedInCloud: Store<boolean>;
|
|
64
|
+
$cloudAccountName: Store<any>;
|
|
65
|
+
accountNameInput:
|
|
66
|
+
import("effector").Event<string>;
|
|
67
|
+
loginFx:
|
|
68
|
+
import("effector").Effect<void, any, Error>;
|
|
69
|
+
logoutFx:
|
|
70
|
+
import("effector").Effect<void, any, Error>;
|
|
71
|
+
authorized:
|
|
72
|
+
import("effector").Event<void>;
|
|
73
|
+
initCloudAuthorization(options: ISignatureMethodsSetupProps): void;
|
|
74
|
+
initialized:
|
|
75
|
+
import("effector").Event<ISignatureMethodsSetupProps>;
|
|
76
|
+
init(options: ISignatureMethodsSetupProps): void;
|
|
77
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
import './SignatureMethodsSetupNoPluginMessage.css';
|
|
4
|
+
export interface ISignatureMethodsSetupNoPluginMessageProps extends HtmlProps.div {
|
|
5
|
+
visible: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function SignatureMethodsSetupNoPluginMessage(props: ISignatureMethodsSetupNoPluginMessageProps): JSX.Element;
|
|
@@ -80,7 +80,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
|
|
|
80
80
|
private set binding(value);
|
|
81
81
|
private set defaultEmployeeBinding(value);
|
|
82
82
|
get inputChanged():
|
|
83
|
-
import("C:/
|
|
83
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
84
84
|
/** @covered */
|
|
85
85
|
get inputText(): string;
|
|
86
86
|
/** @covered */
|
|
@@ -21,6 +21,9 @@ export interface StaffDirectoryItemsState<ValueT extends StaffValueType = StaffV
|
|
|
21
21
|
enableItemsAnimation: boolean;
|
|
22
22
|
inputChanged: SimpleEvent<string>;
|
|
23
23
|
onMouseOverInfo: boolean;
|
|
24
|
+
iconsCache: {
|
|
25
|
+
[id: string]: Blob;
|
|
26
|
+
};
|
|
24
27
|
}
|
|
25
28
|
export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValueType, StaffNodeType, ItemT, StaffDirectoryItemsParams, StaffDirectoryItemsState> {
|
|
26
29
|
private initialSetValue;
|
|
@@ -56,11 +59,12 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
56
59
|
protected onPlaceholderClick(event: any): void;
|
|
57
60
|
protected focusInput: () => void;
|
|
58
61
|
protected onInputFocus(event: React.FocusEvent<any>): void;
|
|
62
|
+
protected onButtonBlur(event: React.FocusEvent<any>): void;
|
|
59
63
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
60
64
|
private shouldShowFavorites;
|
|
61
65
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
62
66
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
63
|
-
import("C:/
|
|
67
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
64
68
|
protected onEditPopoverShowed(control: any): void;
|
|
65
69
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
66
70
|
protected onIconClick(): void;
|
|
@@ -76,8 +80,8 @@ import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/System/Controls
|
|
|
76
80
|
protected setItemIcon(): Promise<void>;
|
|
77
81
|
protected renderWithTextMultipleSelection: () => JSX.Element;
|
|
78
82
|
protected getIconClassName(item: any): JSX.Element;
|
|
79
|
-
protected renderViewItem(): JSX.Element;
|
|
80
|
-
protected renderViewItemList(vertical?: boolean, showIcons?: boolean): JSX.Element;
|
|
83
|
+
protected renderViewItem(): string | JSX.Element;
|
|
84
|
+
protected renderViewItemList(vertical?: boolean, showIcons?: boolean): string | JSX.Element;
|
|
81
85
|
protected renderSimpleViewValue(): JSX.Element;
|
|
82
86
|
protected getItemIcon(item: ItemT, forceShowIcon?: boolean): string;
|
|
83
87
|
protected getEmployeeClassName(item: any): JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface SvsSignerCertificateInfo {
|
|
2
|
+
SubjectName: string;
|
|
3
|
+
IssuerName: string;
|
|
4
|
+
NotBefore: Date;
|
|
5
|
+
NotAfter: Date;
|
|
6
|
+
SerialNumber: string;
|
|
7
|
+
Thumbprint: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SvsSignatureInfo {
|
|
10
|
+
CAdESType: string;
|
|
11
|
+
LocalSigningTime: Date;
|
|
12
|
+
}
|
|
13
|
+
export interface SvsVerifyResponse {
|
|
14
|
+
Message?: string;
|
|
15
|
+
Result: boolean;
|
|
16
|
+
SignerCertificate: string;
|
|
17
|
+
SignerCertificateInfo: SvsSignerCertificateInfo;
|
|
18
|
+
SignatureInfo: SvsSignatureInfo;
|
|
19
|
+
AdditionalCertificateResult?: any;
|
|
20
|
+
}
|
|
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
|
|
|
19
19
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
20
20
|
export declare class TasksTableView {
|
|
21
21
|
mainButton: (props:
|
|
22
|
-
import("C:/
|
|
22
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
23
23
|
dialog: (props:
|
|
24
|
-
import("C:/
|
|
24
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").CommonModalDialogProps) => JSX.Element;
|
|
25
25
|
controlWrapper: typeof TasksTableControlWrapper;
|
|
26
26
|
ribbon: typeof TasksTableRibbon;
|
|
27
27
|
ribbonGroup:
|
|
28
28
|
import("styled-components").StyledComponent<"div", any, {
|
|
29
29
|
className: string;
|
|
30
30
|
} &
|
|
31
|
-
import("C:/
|
|
31
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
32
32
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
33
33
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
34
34
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
File without changes
|
package/BackOffice/Utils.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import { ISignatureLabel } from '@docsvision/webclient/Legacy/ISignatureLabel';
|
|
|
2
2
|
import { EncryptedAttribute } from '@docsvision/webclient/Legacy/EncryptedInfo';
|
|
3
3
|
import { IFileSignInfo } from '@docsvision/webclient/Legacy/IFileSingInfo';
|
|
4
4
|
import { SignatureItemType } from 'Libs/CryptoPro/Crypto';
|
|
5
|
+
export declare function downloadFile(fileId: string): Promise<string>;
|
|
6
|
+
export declare function downloadDocumentFields(cardId: string): Promise<string>;
|
|
7
|
+
export declare function downloadDocumentAttachments(cardId: string): Promise<string>;
|
|
5
8
|
export declare const SignFilesWithCertificateIOS: (documentId: string, files: IFileSignInfo[], selectedThumbprint: string, attributes: Array<EncryptedAttribute>, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean) => Promise<void>;
|
|
6
9
|
export declare type IDataIOSSign = {
|
|
7
10
|
Data: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class WebFrameDirectorySearchPanelView {
|
|
3
3
|
SearchButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/Dev/WebCDev/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
5
5
|
SearchBar: (props:
|
|
6
6
|
import("./Components/SearchBar").ISearchBar) => JSX.Element;
|
|
7
7
|
}
|