@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,34 @@
|
|
|
1
|
+
import { ISignRequest } from '@docsvision/webclient/BackOffice/ISignRequest';
|
|
2
|
+
import { ISignResult } from '@docsvision/webclient/BackOffice/ISignResult';
|
|
3
|
+
import { ISignatureVerificationResult } from '@docsvision/webclient/BackOffice/ISignatureVerificationResult';
|
|
4
|
+
import { IGetCertificateResult } from '@docsvision/webclient/BackOffice/IGetCertificateResult';
|
|
5
|
+
import { IGetDocumentInfoResult } from '@docsvision/webclient/BackOffice/IGetDocumentInfoResult';
|
|
6
|
+
/** Сервис для взаимодействия c облачным сервисом электронной подписи (таким как КриптоПро DSS) */
|
|
7
|
+
export interface ICloudSignatureService {
|
|
8
|
+
/** Настроена ли облачная подпись или нет. */
|
|
9
|
+
signatureAvailable(): boolean;
|
|
10
|
+
/** Требуется ли для сервиса облачной подписи авторизация. */
|
|
11
|
+
needsAuthorization(): boolean;
|
|
12
|
+
/** Аворирован ли пользователь в сервисе облачной подписи. */
|
|
13
|
+
userAuthorized(): boolean;
|
|
14
|
+
/** Инициировать процедуру авторизации в сервисе облачной подписи. */
|
|
15
|
+
authorize(accountName?: string): Promise<void>;
|
|
16
|
+
/** Сбросить авторизацию в сервисе облачной подписи */
|
|
17
|
+
logout(): Promise<void>;
|
|
18
|
+
/** Получить информацию о сертификате */
|
|
19
|
+
getCertificate(id: number): Promise<IGetCertificateResult>;
|
|
20
|
+
/** Получить список доступных сертификатов */
|
|
21
|
+
getCertificateList(): Promise<IGetCertificateResult[]>;
|
|
22
|
+
/** Подписать документ */
|
|
23
|
+
signDocument(request: ISignRequest): Promise<ISignResult>;
|
|
24
|
+
/** Выполнить проверку электронной подписи. */
|
|
25
|
+
verifySignature(signature: string, document: string): Promise<ISignatureVerificationResult>;
|
|
26
|
+
/** Сконфигурирован ли облачный сервис проверки подписи. */
|
|
27
|
+
verificationAvailable(): boolean;
|
|
28
|
+
/** Получить информацию о документе, загруженном в сервис электронной подписи. */
|
|
29
|
+
getDocumentInfo(id: string): Promise<IGetDocumentInfoResult>;
|
|
30
|
+
}
|
|
31
|
+
export declare type $CloudSignature = {
|
|
32
|
+
cloudSignature: ICloudSignatureService;
|
|
33
|
+
};
|
|
34
|
+
export declare const $CloudSignature: string | ((model?: $CloudSignature) => ICloudSignatureService);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICryptoCertificate } from 'Libs/CryptoPro/Crypto';
|
|
2
|
+
/** Сервис для взаимодействия c локально установленным КриптоПро */
|
|
3
|
+
export interface ICryptoProService {
|
|
4
|
+
signatureAvailable(): boolean;
|
|
5
|
+
getCertificateList(): Promise<ICryptoCertificate[]>;
|
|
6
|
+
}
|
|
7
|
+
export declare type $CryptoPro = {
|
|
8
|
+
cryptoPro: ICryptoProService;
|
|
9
|
+
};
|
|
10
|
+
export declare const $CryptoPro: string | ((model?: $CryptoPro) => ICryptoProService);
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ISignatureDialogProps } from '@docsvision/webclient/BackOffice/SignatureDialog';
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
|
|
4
|
+
import { ISignatureLabel } from '@docsvision/webclient/Legacy/ISignatureLabel';
|
|
5
|
+
import { IFileSignInfo } from '@docsvision/webclient/Legacy/IFileSingInfo';
|
|
6
|
+
export interface ISignatureDialogOptions {
|
|
7
|
+
/** Не отбражать выбор метки в диалоге подписи. */
|
|
8
|
+
signWithoutLabel?: boolean;
|
|
9
|
+
/** Отключить возможность настройки вариантов подписания. */
|
|
10
|
+
hideSignatureMethodsSetup?: boolean;
|
|
11
|
+
/** Если задано, то выполняется вместо станартного метода формированяи подписи. */
|
|
12
|
+
onCreateSignature?: (options: IDigitalSignOptions) => Promise<IEncryptedInfo | ITaskEncryptedInfo>;
|
|
13
|
+
/** Если задано, то выполняется вместо станартного метода прикрепления подписи. */
|
|
14
|
+
onAttachSignatureToCard?(encryptedInfo: IEncryptedInfo): Promise<void>;
|
|
15
|
+
/** Дополнительные свойства для {@link SignatureDialog} */
|
|
16
|
+
dialogOptions?: Partial<ISignatureDialogProps>;
|
|
17
|
+
}
|
|
18
|
+
export interface IDigitalSignOptions {
|
|
19
|
+
/** Идентификатор карточки документа */
|
|
20
|
+
cardId: string;
|
|
21
|
+
/** Файлы для подписания */
|
|
22
|
+
files: IFileSignInfo[];
|
|
23
|
+
method: GenModels.SignatureMethod;
|
|
24
|
+
label: ISignatureLabel;
|
|
25
|
+
/** Необходимо ли подписать Поля */
|
|
26
|
+
signFields?: boolean;
|
|
27
|
+
/** Необходимо ли подписать Дополнения */
|
|
28
|
+
signAttachments?: boolean;
|
|
29
|
+
/** Таймштамп последнего изменения карточки. */
|
|
30
|
+
timestamp: number;
|
|
31
|
+
}
|
|
32
|
+
export declare class IEncryptedInfo {
|
|
33
|
+
/** Идентификатор карточки документа */
|
|
34
|
+
cardId: string;
|
|
35
|
+
/** Файлы для подписания */
|
|
36
|
+
files: IFileSignInfo[];
|
|
37
|
+
/** Таймштамп последнего изменения карточки. */
|
|
38
|
+
cardTimestamp: string;
|
|
39
|
+
labelId: string;
|
|
40
|
+
certificateThumberprint: string;
|
|
41
|
+
signedFiles: GenModels.SignatureItemData[];
|
|
42
|
+
}
|
|
43
|
+
export declare class ITaskEncryptedInfo {
|
|
44
|
+
isSimpleSign: boolean;
|
|
45
|
+
signatureData: GenModels.SignatureData;
|
|
46
|
+
}
|
|
47
|
+
export declare enum DigitalSignatureCardType {
|
|
48
|
+
Document = 0,
|
|
49
|
+
Task = 1
|
|
50
|
+
}
|
|
51
|
+
/** Сервис для выполнения цифровой подписи */
|
|
52
|
+
export interface IDigitalSignatureService {
|
|
53
|
+
/** Инициирует процесс подписания документа. */
|
|
54
|
+
showDocumentSignDialog(documentId: string, options?: ISignatureDialogOptions): Promise<void>;
|
|
55
|
+
/** Отменяет текущее подписание документа. */
|
|
56
|
+
closeDocumentSignDialog(): void;
|
|
57
|
+
/** Стандартный метод формирования подписи документа. */
|
|
58
|
+
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
59
|
+
/** Стандартный метод формирования подписи задания. */
|
|
60
|
+
createTaskSignature(options: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
61
|
+
/** Стандартный метод прикрепления подписи к документу. */
|
|
62
|
+
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<void>;
|
|
63
|
+
/** Отображает диалог журнала подписи. */
|
|
64
|
+
showDocumentSignatureListDialog(documentId: string): Promise<ModalHost>;
|
|
65
|
+
/** Отображает диалог настроек подписания. */
|
|
66
|
+
showSignatureMethodsSetupDialog(): Promise<void>;
|
|
67
|
+
/** Регистрирует функцию, возвращаующую дополнительные свойства для диалога подписи. */
|
|
68
|
+
registerExtraSignatureDialogPropsProvider(provider: (cardId: string) => Partial<ISignatureDialogProps>): void;
|
|
69
|
+
/** Отменяет регистрацию функции, ранее зарегистрированной через {@link registerExtraSignatureDialogPropsProvider}. */
|
|
70
|
+
unregisterExtraSignatureDialogPropsProvider(provider: (cardId: string) => Partial<ISignatureDialogProps>): void;
|
|
71
|
+
}
|
|
72
|
+
export declare type $DigitalSignature = {
|
|
73
|
+
digitalSignature: IDigitalSignatureService;
|
|
74
|
+
};
|
|
75
|
+
export declare const $DigitalSignature: string | ((model?: $DigitalSignature) => IDigitalSignatureService);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
2
|
+
import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
|
|
3
|
+
import { $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
4
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
6
|
+
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
7
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
8
|
+
export declare function actualizeProfileCertificateSource(settings: GenModels.SignatureMethodSettings, services: $SignatureController & $MessageBox & $CloudSignature & $CryptoPro & $Resources & $ApplicationSettings): Promise<{
|
|
9
|
+
cloudAccountName: string;
|
|
10
|
+
accessTokenReceived: boolean;
|
|
11
|
+
methods: GenModels.SignatureMethod[];
|
|
12
|
+
certificates: GenModels.SavedCertificateInfo[];
|
|
13
|
+
}>;
|
package/BackOffice/{BackOfficeLayoutContextContstants.d.ts → BackOfficeLayoutContextConstants.d.ts}
RENAMED
|
File without changes
|
|
@@ -40,6 +40,7 @@ export declare class CardKindImpl extends InputBasedControlImpl<GenModels.CardKi
|
|
|
40
40
|
* Заголовок выбранного вида
|
|
41
41
|
*/
|
|
42
42
|
protected getValueTitle(): string;
|
|
43
|
+
protected getCssClass(): string;
|
|
43
44
|
/**
|
|
44
45
|
* Список элементов для выпадающего списка с автодополнением
|
|
45
46
|
*/
|
|
@@ -7,7 +7,7 @@ export interface ICardKindTreeNodeProps {
|
|
|
7
7
|
export declare const CardKindTreeNode:
|
|
8
8
|
import("styled-components").StyledComponent<"a", any, Partial<Pick<
|
|
9
9
|
import("react").DetailedHTMLProps<
|
|
10
|
-
import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "hidden" | "
|
|
10
|
+
import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "hidden" | "id" | "lang" | "media" | "target" | "type" | "role" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & {
|
|
11
11
|
ref?: ((instance: HTMLAnchorElement) => void) |
|
|
12
12
|
import("react").RefObject<HTMLAnchorElement>;
|
|
13
13
|
}> & {
|
|
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, St
|
|
|
37
37
|
unselectAll(): Promise<void>;
|
|
38
38
|
protected HeaderCell:
|
|
39
39
|
import("styled-components").StyledComponent<(props:
|
|
40
|
-
import("C:/
|
|
40
|
+
import("C:/Dev/WebCDev/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected TaskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected SelectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/Dev/WebCDev/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected FileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("C:/
|
|
50
|
+
import("C:/Dev/WebCDev/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected SelectAllCheckboxLabel:
|
|
@@ -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 convertCloudToSavedCertificate(cloud: IDssCertificateInfoEx, services: $ApplicationSettings): GenModels.SavedCertificateInfo;
|
|
@@ -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 convertLocalToSavedCertificate(system: ICryptoCertificate, services: $ApplicationSettings): GenModels.SavedCertificateInfo;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ISignatureLabel } from '@docsvision/webclient/Legacy/ISignatureLabel';
|
|
2
|
+
export declare const EMPTY_SIGN_LABEL: {
|
|
3
|
+
id: string;
|
|
4
|
+
encodedId: any;
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function convertSignLabelsToComboBoxItems(signLabels: ISignatureLabel[]): {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
data: {
|
|
11
|
+
id: string;
|
|
12
|
+
encodedId: any;
|
|
13
|
+
name: string;
|
|
14
|
+
};
|
|
15
|
+
}[];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ICloudSignatureService } from '@docsvision/webclient/BackOffice/$CloudSignature';
|
|
3
|
+
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
4
|
+
import { IDssSign2Response, IDssConfirmationResponse } from '@docsvision/webclient/BackOffice/DssSignRequestModels';
|
|
5
|
+
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
6
|
+
import { $WindowLocation } from '@docsvision/webclient/Platform/$WindowLocation';
|
|
7
|
+
import { $RealtimeCommunicationService } from '@docsvision/webclient/System/$RealtimeCommunicationService';
|
|
8
|
+
import { IRealTimeCommunicationMessage } from '@docsvision/webclient/System/IRealTimeCommunicationMessage';
|
|
9
|
+
import { $MessageWindow } from '@docsvision/web/components/modals/message-box';
|
|
10
|
+
import { $CryptoProDssController, $SignatureMethodsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
11
|
+
import { ISignRequest } from '@docsvision/webclient/BackOffice/ISignRequest';
|
|
12
|
+
import { ISignResult } from '@docsvision/webclient/BackOffice/ISignResult';
|
|
13
|
+
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
14
|
+
import { ISignatureVerificationResult } from '@docsvision/webclient/BackOffice/ISignatureVerificationResult';
|
|
15
|
+
import { IGetCertificateResult } from '@docsvision/webclient/BackOffice/IGetCertificateResult';
|
|
16
|
+
import { IGetDocumentInfoResult } from '@docsvision/webclient/BackOffice/IGetDocumentInfoResult';
|
|
17
|
+
interface IAuthorizedRealtimeMessageData {
|
|
18
|
+
accessToken: string;
|
|
19
|
+
accountName: string;
|
|
20
|
+
expiresIn: number;
|
|
21
|
+
error?: string;
|
|
22
|
+
errorDescription?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class CryptoProDssService implements ICloudSignatureService {
|
|
25
|
+
private services;
|
|
26
|
+
dssAddress: string;
|
|
27
|
+
dssClientId: string;
|
|
28
|
+
authorizeRedirectUrl: string;
|
|
29
|
+
signServerAppName: string;
|
|
30
|
+
stsAppName: string;
|
|
31
|
+
documentStoreAppName: string;
|
|
32
|
+
verifyUrl: string;
|
|
33
|
+
verificationAvailableValue: boolean;
|
|
34
|
+
authorizeWindow: Window | undefined;
|
|
35
|
+
authorizeWindowCheckInterval: NodeJS.Timeout;
|
|
36
|
+
continueAuthorizeCallback: (err: string) => void;
|
|
37
|
+
token: string;
|
|
38
|
+
constructor(services: $RequestManager & $WindowLocation & $SignatureMethodsController & $RealtimeCommunicationService & $MessageWindow & $CryptoProDssController & $ApplicationSettings & $LocalStorage);
|
|
39
|
+
signatureAvailable(): boolean;
|
|
40
|
+
userAuthorized(): boolean;
|
|
41
|
+
needsAuthorization(): boolean;
|
|
42
|
+
authorize(accountName?: string): Promise<void>;
|
|
43
|
+
logout(): Promise<void>;
|
|
44
|
+
getCertificate(id: number): Promise<IGetCertificateResult>;
|
|
45
|
+
getCertificateList(): Promise<IGetCertificateResult[]>;
|
|
46
|
+
verifySignature(signature: string, document: string): Promise<ISignatureVerificationResult>;
|
|
47
|
+
verificationAvailable(): boolean;
|
|
48
|
+
signDocument(request: ISignRequest): Promise<ISignResult>;
|
|
49
|
+
getDocumentInfo(id: string): Promise<IGetDocumentInfoResult>;
|
|
50
|
+
private downloadDocumentFromStore;
|
|
51
|
+
private createSignOperation;
|
|
52
|
+
private getFormatValue;
|
|
53
|
+
private uploadDocumentsToStore;
|
|
54
|
+
private deleteDocumentsFromStore;
|
|
55
|
+
confirmSignOperation(signOperation: IDssSign2Response, request: ISignRequest): Promise<IDssConfirmationResponse>;
|
|
56
|
+
private getConfirmedSignOperation;
|
|
57
|
+
private createSignConfirmation;
|
|
58
|
+
private checkSignConfirmation;
|
|
59
|
+
private getActionPolicy;
|
|
60
|
+
performWidthAuthorization<T>(requestAction: (authorization: string) => Promise<T>): Promise<T>;
|
|
61
|
+
getAuthorization(token: string): string;
|
|
62
|
+
onAuthorizedMessage(msg: IRealTimeCommunicationMessage<IAuthorizedRealtimeMessageData>): Promise<void>;
|
|
63
|
+
onAuthorized(data: IAuthorizedRealtimeMessageData, showError?: boolean): Promise<void>;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICryptoProService } from '@docsvision/webclient/BackOffice/$CryptoPro';
|
|
2
|
+
import { $InstalledCSP, $WebViewIOSEnabled } from '@docsvision/webclient/StandardServices';
|
|
3
|
+
import { ICryptoCertificate } from "Libs/CryptoPro/Crypto";
|
|
4
|
+
/** Сервис для взаимодействия c локально установленным КриптоПро */
|
|
5
|
+
export declare class CryptoProService implements ICryptoProService {
|
|
6
|
+
private services;
|
|
7
|
+
constructor(services: $InstalledCSP & $WebViewIOSEnabled);
|
|
8
|
+
signatureAvailable(): boolean;
|
|
9
|
+
getCertificateList(): Promise<ICryptoCertificate[]>;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DelegateBatchOperationImpl, DelegateBatchOperationState } from '@docsvision/webclient/BackOffice/DelegateBatchOperationImpl';
|
|
2
2
|
import { $EmployeeServices } from '@docsvision/webclient/BackOffice/Employee';
|
|
3
3
|
import { $LayoutTasksController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
4
4
|
import { $CheckBoxServices } from '@docsvision/webclient/Platform/CheckBox';
|
|
@@ -13,7 +13,7 @@ export declare type $BatchOperationServices = $TableRowSelection & $BatchOperati
|
|
|
13
13
|
/**
|
|
14
14
|
* Содержит публичные свойства элемента управления [GridDelegateOperation]{@link GridDelegateOperation}.
|
|
15
15
|
*/
|
|
16
|
-
export declare class
|
|
16
|
+
export declare class DelegateBatchOperationParams extends BaseControlParams {
|
|
17
17
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
18
18
|
standardCssClass?: string;
|
|
19
19
|
/** Текст кнопки операции. */
|
|
@@ -23,8 +23,8 @@ export declare class BatchDelegateOperationParams extends BaseControlParams {
|
|
|
23
23
|
/**
|
|
24
24
|
* Класс элемента управления GridDelegateOperation.
|
|
25
25
|
*/
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class DelegateBatchOperation extends BaseControl<DelegateBatchOperationParams, DelegateBatchOperationState> {
|
|
27
27
|
/** @notest @internal */
|
|
28
|
-
protected createParams():
|
|
29
|
-
protected createImpl():
|
|
28
|
+
protected createParams(): DelegateBatchOperationParams;
|
|
29
|
+
protected createImpl(): DelegateBatchOperationImpl;
|
|
30
30
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { DelegateBatchOperationParams } from '@docsvision/webclient/BackOffice/DelegateBatchOperation';
|
|
3
3
|
import { BaseControlState } from '@docsvision/webclient/System/BaseControl';
|
|
4
4
|
import { BaseControlImpl } from '@docsvision/webclient/System/BaseControlImpl';
|
|
5
|
-
export interface
|
|
5
|
+
export interface DelegateBatchOperationState extends DelegateBatchOperationParams, BaseControlState {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Класс элемента управления GridDelegateOperation.
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class DelegateBatchOperationImpl extends BaseControlImpl<DelegateBatchOperationParams, DelegateBatchOperationState> {
|
|
11
11
|
private modalHost;
|
|
12
12
|
constructor(state: any, props: any);
|
|
13
13
|
componentDidMount(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DelegationParameters } from '@docsvision/webclient/BackOffice/DelegationParameters';
|
|
2
1
|
import { $EmployeeServices } from '@docsvision/webclient/BackOffice/Employee';
|
|
3
2
|
import { $CheckBoxServices } from '@docsvision/webclient/Platform/CheckBox';
|
|
4
3
|
import { $TextAreaServices } from '@docsvision/webclient/Platform/TextArea';
|
|
5
4
|
import React from 'react';
|
|
5
|
+
import { DelegationParameters } from '@docsvision/webclient/BackOffice/DelegationParameters';
|
|
6
6
|
export interface DelegationParamsPanelProps {
|
|
7
7
|
headerText: string;
|
|
8
8
|
buttonText: string;
|
|
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
|
|
|
6
6
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
7
7
|
export declare const Item:
|
|
8
8
|
import("styled-components").StyledComponent<(props:
|
|
9
|
-
import("C:/
|
|
9
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ISignatureDialogProps } from '@docsvision/webclient/BackOffice/SignatureDialog';
|
|
2
|
+
import { IDigitalSignatureService, IDigitalSignOptions, IEncryptedInfo, ISignatureDialogOptions, ITaskEncryptedInfo } from '@docsvision/webclient/BackOffice/$DigitalSignature';
|
|
3
|
+
import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
|
|
4
|
+
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from '@docsvision/webclient/StandardServices';
|
|
5
|
+
import { $MessageWindow } from '@docsvision/web/components/modals/message-box';
|
|
6
|
+
import { $CloudSignature } from '@docsvision/webclient/BackOffice/$CloudSignature';
|
|
7
|
+
import { $LayoutDocumentController, $SignatureController, $SignatureMethodsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
+
import { $DocumentCardController } from '@docsvision/webclient/Legacy/DocumentCard';
|
|
9
|
+
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
10
|
+
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
11
|
+
import { $CryptoPro } from '@docsvision/webclient/BackOffice/$CryptoPro';
|
|
12
|
+
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
13
|
+
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare class DigitalSignatureService implements IDigitalSignatureService {
|
|
16
|
+
private services;
|
|
17
|
+
cancelCurrentSign: () => void;
|
|
18
|
+
extraSignatureDialogPropsProviders: ((cardId: string) => Partial<ISignatureDialogProps>)[];
|
|
19
|
+
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $Resources & $DeviceType);
|
|
20
|
+
showDocumentSignDialog(documentId: string, options?: ISignatureDialogOptions): Promise<void>;
|
|
21
|
+
closeDocumentSignDialog(): void;
|
|
22
|
+
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
23
|
+
createTaskSignature(options: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
24
|
+
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<void>;
|
|
25
|
+
showDocumentSignatureListDialog(documentId: string): Promise<ModalHost>;
|
|
26
|
+
localSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
27
|
+
localTaskSign(params: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
28
|
+
showSignatureMethodsSetupDialog(): Promise<void>;
|
|
29
|
+
registerExtraSignatureDialogPropsProvider(provider: (cardId: string) => Partial<ISignatureDialogProps>): void;
|
|
30
|
+
unregisterExtraSignatureDialogPropsProvider(provider: (cardId: string) => Partial<ISignatureDialogProps>): void;
|
|
31
|
+
private getExtraSignatureDialogProps;
|
|
32
|
+
private getEncryptedInfo;
|
|
33
|
+
private getLocalSignData;
|
|
34
|
+
private localSignOnIos;
|
|
35
|
+
cloudSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
36
|
+
cloudTaskSign(params: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
37
|
+
private getCloudSignData;
|
|
38
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $DirectoryDesignerRowController, $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
|
|
5
|
+
import { DirectorySelectDialog, IDirectorySelectDialogProps, IDirectorySelectDialogState } from '@docsvision/webclient/System/DirectorySelectDialog';
|
|
6
|
+
import { IDirectoryChildrenLoadResponse, IDirectoryItem, IDirectorySearchItem, IDirectorySearchResponse } from '@docsvision/webclient/System/DirectoryServerModels';
|
|
7
|
+
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
8
|
+
import { DirectoryDesignerRowItemVisualiser } from "@docsvision/webclient/BackOffice/DirectoryDesignerRowItemVisualiser";
|
|
9
|
+
import { FieldNameAccessor } from "@docsvision/webclient/Helpers/DynamicModel/FieldNameAccessor";
|
|
10
|
+
import { FuncAccessor } from "@docsvision/webclient/Helpers/DynamicModel/FuncAccessor";
|
|
11
|
+
declare type ValueT = GenModels.DirectoryDesignerItem;
|
|
12
|
+
declare type NodeT = GenModels.DirectoryDesignerItem;
|
|
13
|
+
declare type ItemT = GenModels.DirectoryDesignerItem;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export interface IDirectoryDesRowSelectDialogSearchPathOptions {
|
|
16
|
+
path: GenModels.DepartmentModel[];
|
|
17
|
+
notAppendToSelectedFilterPath?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export interface IDirectoryDesRowSelectDialogProps extends IDirectorySelectDialogProps<ValueT, NodeT, ItemT> {
|
|
21
|
+
itemVisualiser: DirectoryDesignerRowItemVisualiser;
|
|
22
|
+
allowDirectoryEdit: boolean;
|
|
23
|
+
allowNodeSearch: boolean;
|
|
24
|
+
rootNodeId?: string;
|
|
25
|
+
parent: LayoutControl;
|
|
26
|
+
dataSource: GenModels.DirectoryDesignerRowDataSourceModel;
|
|
27
|
+
node?: string;
|
|
28
|
+
rootNodeName?: string;
|
|
29
|
+
useDescription: boolean;
|
|
30
|
+
availableChanges?: GenModels.AvailableChangesModes;
|
|
31
|
+
services: $DirectoryDesignerRowController & $LayoutRowController & $LocationContainerControlServices;
|
|
32
|
+
}
|
|
33
|
+
/** @internal */
|
|
34
|
+
export interface IDirectoryDesRowSelectDialogState extends IDirectorySelectDialogState<ValueT, NodeT, ItemT> {
|
|
35
|
+
searchMode: GenModels.DirectoryDesignerTreeNodeType;
|
|
36
|
+
}
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<ValueT, NodeT, ItemT, IDirectoryDesRowSelectDialogProps, IDirectoryDesRowSelectDialogState> {
|
|
39
|
+
directoryDataId: FieldNameAccessor<GenModels.IDirectoryItemData, string>;
|
|
40
|
+
directoryDataName: FuncAccessor<GenModels.IDirectoryItemData, string>;
|
|
41
|
+
directoryDataTip: FuncAccessor<GenModels.IDirectoryItemData, string>;
|
|
42
|
+
constructor(props: IDirectoryDesRowSelectDialogProps);
|
|
43
|
+
protected itemHasChildren(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
44
|
+
protected itemIsNode(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
45
|
+
protected getSearchItemDisplayName(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): string;
|
|
46
|
+
protected getSearchItemIconClassName(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): string;
|
|
47
|
+
protected getSearchItemTooltip(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): string;
|
|
48
|
+
protected getItemDisplayName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
49
|
+
protected getItemIconClassName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
50
|
+
protected getItemTooltip(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
51
|
+
protected loadChildrenList(nodeId: string, nodeType: any, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<NodeT | ItemT>>;
|
|
52
|
+
protected search(searchText: string, nodeId: string, nodeType: any, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<NodeT, NodeT | ItemT>>;
|
|
53
|
+
protected onToggleSearchMode: () => void;
|
|
54
|
+
protected renderChildrenListItemView(item: IDirectoryItem<NodeT | ItemT>, index: number): JSX.Element;
|
|
55
|
+
protected isGoToButtonActive(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
56
|
+
protected getGoToButtonTitle(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
57
|
+
protected onShowInfo: (item: GenModels.DirectoryDesignerItem) => Promise<void>;
|
|
58
|
+
protected onEdit: (item: GenModels.DirectoryDesignerItem) => Promise<void>;
|
|
59
|
+
protected onDelete: (item: GenModels.DirectoryDesignerItem) => void;
|
|
60
|
+
protected deleteRow(item: GenModels.DirectoryDesignerItem, services: $LayoutRowController): Promise<void>;
|
|
61
|
+
protected isItemAllowedToAccept(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
62
|
+
protected renderActionButton: (item: IDirectoryItem<NodeT | ItemT>) => JSX.Element;
|
|
63
|
+
protected renderDialogBreadcrumbs(): JSX.Element;
|
|
64
|
+
protected renderSearchModeToggle(): JSX.Element;
|
|
65
|
+
protected onCreateItem: (itemType: GenModels.DirectoryDesignerTreeNodeType) => Promise<void>;
|
|
66
|
+
protected getItemAvailablechanges(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
67
|
+
protected renderExtraDialogButtons(): JSX.Element;
|
|
68
|
+
protected renderItemName(item: IDirectoryItem<NodeT | ItemT>): JSX.Element;
|
|
69
|
+
protected renderSearchItemName(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): JSX.Element;
|
|
70
|
+
protected renderSearchItemMatchedPropertyRow(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): JSX.Element;
|
|
71
|
+
protected getSearchInputClassName(): string;
|
|
72
|
+
protected getSearchInputPlaceholder(): string;
|
|
73
|
+
protected refreshAfterEdit: (item: GenModels.DirectoryDesignerItem) => void;
|
|
74
|
+
protected onNavigateToFolder(nodeId: string, nodeType: GenModels.DirectoryDataType): Promise<object>;
|
|
75
|
+
protected renderSearchItemPath(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): JSX.Element;
|
|
76
|
+
protected getDialogHeader(): JSX.Element;
|
|
77
|
+
}
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { IDirectoryItem } from '@docsvision/webclient/System/DirectoryServerModels';
|
|
4
|
+
export declare function ActionButton(props: {
|
|
5
|
+
item: IDirectoryItem<GenModels.DirectoryDesignerItem>;
|
|
6
|
+
onClick: (item: IDirectoryItem<GenModels.DirectoryDesignerItem>) => void;
|
|
7
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { $DirectoryDesignerRowController, $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
+
export declare function showCreateWindow(itemType: GenModels.DirectoryDesignerTreeNodeType, parentItem: GenModels.DirectoryDesignerItem, services: $LayoutRowController & $LocationContainerControlServices & $DirectoryDesignerRowController, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<any>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
+
export declare function showEditWindow(parentItem: GenModels.DirectoryDesignerItem, services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<void>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
+
export declare const DIRECTORY_DESIGNER_INFO_LOCATION_NAME = "DV.DirectoryDesignerRow.Info";
|
|
5
|
+
export declare const DIRECTORY_DESIGNER_DIRECTORY_ID = "4538149D-1FC7-4D41-A104-890342C6B4F8";
|
|
6
|
+
export declare const DIRECTORY_DESIGNER_NODE_SECTION_ID = "A1DCE6C1-DB96-4666-B418-5A075CDB02C9";
|
|
7
|
+
export declare const DIRECTORY_DESIGNER_ROW_SECTION_ID = "1B1A44FB-1FB1-4876-83AA-95AD38907E24";
|
|
8
|
+
export declare function showViewWindow(item: GenModels.DirectoryDesignerItem, services: $LayoutRowController & $LocationContainerControlServices & $LayoutRowController, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<void>;
|