@docsvision/webclient 5.17.1 → 5.17.2-beta.2
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/Account/LoginContainer.d.ts +1 -0
- package/Account/LoginLogic.d.ts +13 -0
- package/Account/ProviderButton.d.ts +4 -2
- package/Account/index.d.ts +2 -0
- package/BackOffice/$DigitalSignature.d.ts +2 -0
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +2 -1
- package/BackOffice/ActualizeProfileCertificateSource.d.ts +1 -0
- package/BackOffice/AuthenticationKindsFormatLogin.d.ts +7 -0
- package/BackOffice/AuthenticationKindsGetMaskOptions.d.ts +8 -0
- package/BackOffice/AuthenticationKindsLogic.d.ts +4 -0
- package/BackOffice/AuthenticationKindsUpdateLogin.d.ts +2 -0
- package/BackOffice/AuthenticationKindsValidRegExps.d.ts +3 -0
- package/BackOffice/AuthenticationKindsView.d.ts +3 -3
- package/BackOffice/CheckSectionAccessRights.d.ts +3 -0
- package/BackOffice/{CheckEmployeeAccount.d.ts → CheckStaffDirectoryData.d.ts} +1 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +6 -0
- package/BackOffice/ConvertResponseToTree.d.ts +4 -0
- package/BackOffice/DeleteSection.d.ts +2 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +3 -2
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +7 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +10 -5
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchFilters.d.ts +6 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +1 -0
- package/BackOffice/DssSignRequestModels.d.ts +1 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +4 -2
- package/BackOffice/FileSign.d.ts +14 -2
- package/BackOffice/FileSignCreateDialog.d.ts +81 -0
- package/BackOffice/FileSignListDialog.d.ts +9 -2
- package/BackOffice/FileSignListDialog.stories.d.ts +13 -0
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +54 -0
- package/BackOffice/FindSection.d.ts +9 -0
- package/BackOffice/GetPowersIconClassName.d.ts +7 -0
- package/BackOffice/GetPowersRootSectionId.d.ts +5 -0
- package/BackOffice/IExtraFileAddingArgs.d.ts +1 -0
- package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
- package/BackOffice/IMainFileAddingArgs.d.ts +1 -0
- package/BackOffice/IPowerModel.d.ts +10 -0
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +11 -0
- package/BackOffice/IPowersDialog.d.ts +5 -0
- package/BackOffice/IPowersDirectoryOptions.d.ts +12 -0
- package/BackOffice/IPowersTreeRow.d.ts +6 -0
- package/BackOffice/Index.d.ts +0 -6
- package/BackOffice/LinksImpl.d.ts +2 -0
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +7 -0
- package/BackOffice/MarkPartnersAsDepartment.d.ts +2 -0
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +7 -0
- package/BackOffice/PowerOfAttorneyInfo.d.ts +12 -0
- package/BackOffice/Powers.d.ts +72 -0
- package/BackOffice/Powers.stories.d.ts +20 -0
- package/BackOffice/PowersDialogLocations.d.ts +3 -0
- package/BackOffice/PowersDirectory.d.ts +48 -0
- package/BackOffice/PowersDirectory.stories.d.ts +20 -0
- package/BackOffice/PowersDirectoryConstants.d.ts +12 -0
- package/BackOffice/PowersDirectoryContainer.d.ts +7 -0
- package/BackOffice/PowersDirectoryHead.d.ts +7 -0
- package/BackOffice/PowersDirectoryInfo.d.ts +16 -0
- package/BackOffice/PowersDirectoryLogic.d.ts +172 -0
- package/BackOffice/PowersDirectorySaveExpandedState.d.ts +5 -0
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +16 -0
- package/BackOffice/PowersDirectoryView.d.ts +61 -0
- package/BackOffice/PowersImpl.d.ts +72 -0
- package/BackOffice/PowersRootSectionConstants.d.ts +17 -0
- package/BackOffice/PowersSelectDialog.d.ts +74 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/ProcessSettingsChanged.d.ts +1 -0
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +2 -0
- package/BackOffice/SignatureButtonLogic.d.ts +2 -0
- package/BackOffice/SignatureButtonOptions.d.ts +3 -2
- package/BackOffice/SignatureDialog.d.ts +8 -2
- package/BackOffice/SignatureDialog.stories.d.ts +4 -0
- package/BackOffice/SignatureDialogFrame.d.ts +2 -0
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +18 -0
- package/BackOffice/SignatureDialogMethods.d.ts +2 -2
- package/BackOffice/SignatureDialogPowersOfAttorney.d.ts +9 -0
- package/BackOffice/SignatureDialogSettings.d.ts +2 -2
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
- package/BackOffice/TaskDelegate.d.ts +1 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +179 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +703 -1
- package/Helpers/Button.d.ts +2 -0
- package/Helpers/ComandBarButton.d.ts +2 -0
- package/Helpers/IconButton.d.ts +2 -0
- package/Helpers/InputMask/IInputMaskProps.d.ts +71 -0
- package/Helpers/InputMask/InputMask.d.ts +8 -0
- package/Helpers/InputMask/InputMask.stories.d.ts +11 -0
- package/Helpers/InputMask/InputMaskView.d.ts +14 -0
- package/Helpers/InputMask/components/InputMaskContainer.d.ts +7 -0
- package/Helpers/InputMask/components/InputMaskField.d.ts +7 -0
- package/Helpers/InputMask/components/InputMaskLabel.d.ts +18 -0
- package/Helpers/InputMask/index.d.ts +5 -0
- package/Helpers/ModalDialog/ModalDialog.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +4 -0
- package/Legacy/ApprovalFilePanel.d.ts +2 -1
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/ISignatureListItemDataModel.d.ts +1 -0
- package/Legacy/StandardControllers.d.ts +2 -2
- package/MainBundle.d.ts +4 -0
- package/Platform/AggregatesApplyButtonPanel.d.ts +1 -0
- package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BaseNavigationMenuItemRouteHandler.d.ts +1 -0
- package/Platform/CardLink.d.ts +7 -7
- package/Platform/CardLinkImpl.d.ts +2 -0
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/ExportESignButton.d.ts +2 -0
- package/Platform/FilePickerImpl.d.ts +1 -0
- package/Platform/FilePickerOperations.d.ts +2 -1
- package/Platform/FilteringExtendedData.d.ts +1 -0
- package/Platform/FilteringRequestResolver.d.ts +4 -0
- package/Platform/FilteringResponseResolver.d.ts +4 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/QuotesHighlight.d.ts +2 -0
- package/Platform/QuotesLogic.d.ts +7 -0
- package/Platform/QuotesModalQuote.d.ts +2 -0
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/Table.d.ts +2 -0
- package/Platform/TableImpl.d.ts +1 -1
- package/Platform/TextListInputCultureWiseParseFloat.d.ts +3 -0
- package/Platform/TextListInputLogic.d.ts +4 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +3 -2
- package/System/NumberCultureFormatting.d.ts +9 -0
- package/System/ResourcesStub.d.ts +60 -1
- package/package.json +1 -1
- package/BackOffice/AuthenticationKindsTextBox.d.ts +0 -7
|
@@ -9,6 +9,7 @@ import { LoginInputsDivider } from '@docsvision/webclient/Account/Components/Log
|
|
|
9
9
|
import { ChangeMethodButton } from '@docsvision/webclient/Account/Components/ChangeMethodButton';
|
|
10
10
|
import { IComponentProps } from '@docsvision/web/core/component';
|
|
11
11
|
import { Box } from '@docsvision/webclient/Account/Components/Box';
|
|
12
|
+
import "@docsvision/webclient/Legacy/NativeFunctions";
|
|
12
13
|
export declare class LoginView {
|
|
13
14
|
form: typeof Form;
|
|
14
15
|
changeMethodButton: typeof ChangeMethodButton;
|
package/Account/LoginLogic.d.ts
CHANGED
|
@@ -45,8 +45,16 @@ import("effector").Store<boolean>;
|
|
|
45
45
|
import("effector").Store<string>;
|
|
46
46
|
$providersUpdate:
|
|
47
47
|
import("effector").Store<[ILoginProvider[], ILoginProvider[]]>;
|
|
48
|
+
clickProviderButton:
|
|
49
|
+
import("effector").Event<string>;
|
|
50
|
+
$timeStartDownloadingProviders:
|
|
51
|
+
import("effector").Store<number>;
|
|
52
|
+
setTimeStartDownloadingProviders:
|
|
53
|
+
import("effector").Event<number>;
|
|
48
54
|
clearInputs:
|
|
49
55
|
import("effector").Event<void>;
|
|
56
|
+
$hasLicenseProblem:
|
|
57
|
+
import("effector").Store<boolean>;
|
|
50
58
|
constructor();
|
|
51
59
|
submitForm:
|
|
52
60
|
import("effector").Effect<unknown, any, Error>;
|
|
@@ -57,7 +65,12 @@ import("effector").Effect<unknown, {
|
|
|
57
65
|
userName: any;
|
|
58
66
|
userAuthenticationExtensions: any[];
|
|
59
67
|
authenticationExtensionModels: any[];
|
|
68
|
+
hasLicenseProblem: boolean;
|
|
60
69
|
}, Error>;
|
|
70
|
+
followLinkToProvider:
|
|
71
|
+
import("effector").Effect<string, void, Error>;
|
|
72
|
+
getValidProviderLink:
|
|
73
|
+
import("effector").Effect<ILoginProvider, string, Error>;
|
|
61
74
|
handleContactClick: (e: MouseEvent) => void;
|
|
62
75
|
getNumberOfProvidersFromStorage(): number;
|
|
63
76
|
getProvidersList(): ILoginProvider[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Event } from 'effector';
|
|
2
3
|
|
|
3
4
|
export interface IProviderButtonProps {
|
|
4
5
|
iconSrc: string;
|
|
5
6
|
text: string;
|
|
6
7
|
name: string;
|
|
7
|
-
|
|
8
|
+
id: string;
|
|
9
|
+
click: Event<string>;
|
|
8
10
|
}
|
|
9
|
-
export declare function ProviderButton({ iconSrc, text, name,
|
|
11
|
+
export declare function ProviderButton({ iconSrc, text, name, id, click }: IProviderButtonProps): JSX.Element;
|
package/Account/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export interface IDigitalSignOptions {
|
|
|
43
43
|
timestamp: number;
|
|
44
44
|
/** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
|
|
45
45
|
cardInfo?: GenModels.CardInfoModel;
|
|
46
|
+
powerOfAttorneyID?: string;
|
|
46
47
|
}
|
|
47
48
|
export declare class IEncryptedInfo {
|
|
48
49
|
/** Идентификатор карточки документа */
|
|
@@ -56,6 +57,7 @@ export declare class IEncryptedInfo {
|
|
|
56
57
|
signedFiles: GenModels.SignatureItemData[];
|
|
57
58
|
/** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
|
|
58
59
|
cardInfo?: GenModels.CardInfoModel;
|
|
60
|
+
powerOfAttorneyID?: string;
|
|
59
61
|
}
|
|
60
62
|
export declare class ITaskEncryptedInfo {
|
|
61
63
|
isSimpleSign: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DirectorySearchFilters
|
|
1
|
+
import { DirectorySearchFilters } from "@docsvision/webclient/BackOffice/DirectorySearchFilters";
|
|
2
|
+
import { NomenclatureSearchFilters } from "@docsvision/webclient/BackOffice/Index";
|
|
2
3
|
export declare type SearchFilters = DirectorySearchFilters | NomenclatureSearchFilters;
|
|
3
4
|
export interface ISearchFilterEntry {
|
|
4
5
|
key: SearchFilters;
|
|
@@ -7,6 +7,7 @@ import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
|
7
7
|
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
8
8
|
export declare function actualizeProfileCertificateSource(settings: GenModels.SignatureMethodSettings, services: $SignatureController & $MessageBox & $CloudSignature & $CryptoPro & $Resources & $ApplicationSettings): Promise<{
|
|
9
9
|
cloudAccountName: string;
|
|
10
|
+
showCloudCertificates: boolean;
|
|
10
11
|
accessTokenReceived: boolean;
|
|
11
12
|
methods: GenModels.SignatureMethod[];
|
|
12
13
|
certificates: GenModels.SavedCertificateInfo[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
/**
|
|
3
|
+
* @param kind способ аутентификации
|
|
4
|
+
* @param userExtensionLogin логин способа аутентификации
|
|
5
|
+
* @returns возвращает способ аутентификации с ожидаемым на сервере форматом логина
|
|
6
|
+
*/
|
|
7
|
+
export declare function authenticationKindsFormatLogin(kind: GenModels.AuthenticationKindsModel, userExtensionLogin: string): GenModels.AuthenticationKindsModel;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { IInputMaskProps } from "@docsvision/webclient/Helpers/InputMask";
|
|
3
|
+
/**
|
|
4
|
+
* @param typeLogin Тип данных, который используется в качестве логина
|
|
5
|
+
* @param isLoginExist Есть ли дубликат записи
|
|
6
|
+
* @returns свойства для inputMask в зависимости от типа данных
|
|
7
|
+
*/
|
|
8
|
+
export declare function authenticationKindsGetMaskProps(typeLogin: GenModels.AuthenticationLoginType, isLoginExist: boolean): IInputMaskProps;
|
|
@@ -34,6 +34,10 @@ import("effector").Store<boolean>;
|
|
|
34
34
|
import("effector").Event<boolean>;
|
|
35
35
|
$isExist:
|
|
36
36
|
import("effector").Store<boolean>;
|
|
37
|
+
$isValid:
|
|
38
|
+
import("effector").Store<boolean>;
|
|
39
|
+
setValid:
|
|
40
|
+
import("effector").Event<boolean>;
|
|
37
41
|
$binding:
|
|
38
42
|
import("effector").Store<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
|
|
39
43
|
setBinding:
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
2
|
/**
|
|
3
|
+
* @param kinds способы аутентификации
|
|
4
|
+
* @param selectedKind способ аутентификации
|
|
3
5
|
* @returns новое состояние способов аутентификации
|
|
4
6
|
*/
|
|
5
7
|
export declare function authenticationKindsUpdateLogin({ kinds, selectedKind }: {
|
|
@@ -3,17 +3,17 @@ import { AuthenticationKindsFrame } from "@docsvision/webclient/BackOffice/Authe
|
|
|
3
3
|
import { AuthenticationKindsItem } from "@docsvision/webclient/BackOffice/AuthenticationKindsItem";
|
|
4
4
|
import { AuthenticationKindsList } from "@docsvision/webclient/BackOffice/AuthenticationKindsList";
|
|
5
5
|
import { AuthenticationKindsModalDialog } from "@docsvision/webclient/BackOffice/AuthenticationKindsModalDialog";
|
|
6
|
-
import {
|
|
6
|
+
import { InputMask } from "@docsvision/webclient/Helpers/InputMask";
|
|
7
7
|
import { CheckBox } from "@docsvision/webclient/Platform/CheckBox";
|
|
8
8
|
export declare class AuthenticationKindsView {
|
|
9
9
|
frame: typeof AuthenticationKindsFrame;
|
|
10
10
|
list: typeof AuthenticationKindsList;
|
|
11
11
|
item: typeof AuthenticationKindsItem;
|
|
12
12
|
modalDialog: typeof AuthenticationKindsModalDialog;
|
|
13
|
-
|
|
13
|
+
inputMask: typeof InputMask;
|
|
14
14
|
checkBox: typeof CheckBox;
|
|
15
15
|
label: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
|
|
17
17
|
button: (props:
|
|
18
18
|
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
19
19
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export declare const checkSectionAccessRights: (rowId: string, sectionId: string, cardDataRights: GenModels.CardDataRights, services: $SecurityController) => Promise<boolean>;
|
|
@@ -2,3 +2,4 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
2
2
|
import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
|
|
3
3
|
import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEventArgs";
|
|
4
4
|
export declare function checkAccountName(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
5
|
+
export declare function checkAddress(sender: LayoutControl, e: CancelableEventArgs<GenModels.SaveControlDataModel>): Promise<void>;
|
|
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, IS
|
|
|
37
37
|
unselectAll(): Promise<void>;
|
|
38
38
|
protected headerCell:
|
|
39
39
|
import("styled-components").StyledComponent<(props:
|
|
40
|
-
import("C:/
|
|
40
|
+
import("C:/dev/WebClient/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/WebClient/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/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected selectAllCheckboxLabel:
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export declare function convertPowersOfAttorneyToComboBoxItems(powersOfAttorney: GenModels.PowerOfAttorneyModel[]): {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
data: GenModels.PowerOfAttorneyModel;
|
|
6
|
+
}[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
+
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
3
|
+
export declare function convertPowersResponseToTreeData(items: unknown[]): IPowersTreeRow[];
|
|
4
|
+
export declare function wrapPowersRootSectionNode(rootSectionId: any, items: IDirectoryTreeRow[]): IDirectoryTreeRow[];
|
|
@@ -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/WebClient/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>;
|
|
@@ -5,7 +5,7 @@ import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
|
|
|
5
5
|
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from '@docsvision/webclient/StandardServices';
|
|
6
6
|
import { $MessageWindow } from '@docsvision/web/components/modals/message-box';
|
|
7
7
|
import { $CloudSignature } from '@docsvision/webclient/BackOffice/$CloudSignature';
|
|
8
|
-
import { $LayoutDocumentController, $SignatureController, $SignatureMethodsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
8
|
+
import { $LayoutDocumentController, $PowerOfAttorneyApiController, $SignatureController, $SignatureMethodsController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
9
9
|
import { $DocumentCardController } from '@docsvision/webclient/Legacy/DocumentCard';
|
|
10
10
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
11
11
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
@@ -17,6 +17,7 @@ import { SignatureDialogLogic } from '@docsvision/webclient/BackOffice/Signature
|
|
|
17
17
|
import { IDigitalSignatureDialogManagement } from '@docsvision/webclient/BackOffice/IDigitalSignatureDialogManagement';
|
|
18
18
|
import { Event } from 'effector';
|
|
19
19
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
20
|
+
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
20
21
|
/** @internal */
|
|
21
22
|
export declare class DigitalSignatureService implements IDigitalSignatureService {
|
|
22
23
|
private services;
|
|
@@ -26,7 +27,7 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
|
|
|
26
27
|
updateCurrentDialog: () => void;
|
|
27
28
|
beforeSignatureDialogShown: Event<BeforeSignatureDialogShowEventArgs>;
|
|
28
29
|
afterSignatureDialogShown: Event<AfterSignatureDialogShowEventArgs>;
|
|
29
|
-
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $Resources & $DeviceType & $Domain);
|
|
30
|
+
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $Router & $SignatureMethodsController & $Resources & $DeviceType & $Domain & $PowerOfAttorneyApiController);
|
|
30
31
|
showDocumentSignDialog(documentId: string, optionsArg?: ISignatureDialogOptions): Promise<void>;
|
|
31
32
|
getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
|
|
32
33
|
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
@@ -8,6 +8,7 @@ import { $LocationContainerControlServices } from '@docsvision/webclient/System/
|
|
|
8
8
|
import { DirectoryDesignerRowItemVisualiser } from "@docsvision/webclient/BackOffice/DirectoryDesignerRowItemVisualiser";
|
|
9
9
|
import { FieldNameAccessor } from "@docsvision/webclient/Helpers/DynamicModel/FieldNameAccessor";
|
|
10
10
|
import { FuncAccessor } from "@docsvision/webclient/Helpers/DynamicModel/FuncAccessor";
|
|
11
|
+
import { DirectoryDesignerSelectionArea } from "@docsvision/webclient/BackOffice/DirectoryDesignerRow";
|
|
11
12
|
declare type ValueT = GenModels.DirectoryDesignerItem;
|
|
12
13
|
declare type NodeT = GenModels.DirectoryDesignerItem;
|
|
13
14
|
declare type ItemT = GenModels.DirectoryDesignerItem;
|
|
@@ -29,6 +30,7 @@ export interface IDirectoryDesRowSelectDialogProps extends IDirectorySelectDialo
|
|
|
29
30
|
useDescription: boolean;
|
|
30
31
|
availableChanges?: GenModels.AvailableChangesModes;
|
|
31
32
|
services: $DirectoryDesignerRowController & $LayoutRowController & $LocationContainerControlServices;
|
|
33
|
+
selectionArea?: DirectoryDesignerSelectionArea;
|
|
32
34
|
}
|
|
33
35
|
/** @internal */
|
|
34
36
|
export interface IDirectoryDesRowSelectDialogState extends IDirectorySelectDialogState<ValueT, NodeT, ItemT> {
|
|
@@ -48,6 +50,7 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
|
|
|
48
50
|
protected getItemDisplayName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
49
51
|
protected getItemIconClassName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
50
52
|
protected getItemTooltip(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
53
|
+
protected get currentNodeId(): string;
|
|
51
54
|
protected loadChildrenList(nodeId: string, nodeType: any, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<NodeT | ItemT>>;
|
|
52
55
|
protected search(searchText: string, nodeId: string, nodeType: any, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<NodeT, NodeT | ItemT>>;
|
|
53
56
|
protected getSearchNodePath(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): GenModels.DirectoryDesignerItem[];
|
|
@@ -60,10 +63,14 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
|
|
|
60
63
|
protected onDelete: (item: GenModels.DirectoryDesignerItem) => void;
|
|
61
64
|
protected deleteRow(item: GenModels.DirectoryDesignerItem, services: $LayoutRowController): Promise<void>;
|
|
62
65
|
protected isItemAllowedToAccept(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
66
|
+
private isItemInSelectionArea;
|
|
67
|
+
protected isDialogSelectButtonEnabled(): boolean;
|
|
68
|
+
protected getFilteredPath(path: GenModels.DirectoryDesignerItem[]): GenModels.DirectoryDesignerItem[];
|
|
63
69
|
protected renderActionButton: (item: IDirectoryItem<NodeT | ItemT>) => JSX.Element;
|
|
64
70
|
protected renderDialogBreadcrumbs(): JSX.Element;
|
|
65
71
|
protected renderSearchModeToggle(): JSX.Element;
|
|
66
72
|
protected onCreateItem: (itemType: GenModels.DirectoryDesignerTreeNodeType) => Promise<void>;
|
|
73
|
+
protected getCurrentNode: () => GenModels.DirectoryDesignerItem;
|
|
67
74
|
protected getItemAvailablechanges(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
68
75
|
protected renderExtraDialogButtons(): JSX.Element;
|
|
69
76
|
protected renderItemName(item: IDirectoryItem<NodeT | ItemT>): JSX.Element;
|
|
@@ -10,6 +10,11 @@ import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/
|
|
|
10
10
|
export declare type DirectoryDesignerRowValueType = GenModels.DirectoryDesignerItem;
|
|
11
11
|
export declare type DirectoryDesignerRowNodeType = GenModels.DirectoryDesignerItem;
|
|
12
12
|
declare type ItemT = GenModels.DirectoryDesignerItem;
|
|
13
|
+
export declare enum DirectoryDesignerSelectionArea {
|
|
14
|
+
OnlyNode = 0,
|
|
15
|
+
OnlyChildren = 1,
|
|
16
|
+
NodeWithChildren = 2
|
|
17
|
+
}
|
|
13
18
|
/**
|
|
14
19
|
* Содержит публичные свойства элемента управления [Строка конструктора справочников]{@link DirectoryDesignerRow}.
|
|
15
20
|
*/
|
|
@@ -33,7 +38,7 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
|
|
|
33
38
|
selectedFilterPath?: GenModels.DirectoryDesignerItem[];
|
|
34
39
|
availableChanges?: GenModels.AvailableChangesModes;
|
|
35
40
|
/** Область выбора (и поиска) элементов из Конструктора справочников. */
|
|
36
|
-
selectionArea?:
|
|
41
|
+
selectionArea?: DirectoryDesignerSelectionArea;
|
|
37
42
|
/** Задержка перед поиском (в мс) */
|
|
38
43
|
searchDelay?: number;
|
|
39
44
|
services?: $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & $LocationContainerControlServices;
|
|
@@ -55,10 +60,10 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
|
|
|
55
60
|
export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, DirectoryDesignerRowState<ValueT>> {
|
|
56
61
|
protected createParams(): DirectoryDesignerRowParams<ValueT>;
|
|
57
62
|
protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
|
|
58
|
-
import("C:/
|
|
59
|
-
import("C:/
|
|
60
|
-
import("C:/
|
|
61
|
-
import("C:/
|
|
63
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
64
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
65
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
66
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType;
|
|
62
67
|
private set DirectoryDesignerRowBinding(value);
|
|
63
68
|
private set binding(value);
|
|
64
69
|
private set directoryDataSource(value);
|
|
@@ -43,7 +43,7 @@ export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<Director
|
|
|
43
43
|
protected getTextValue(): string;
|
|
44
44
|
protected renderInto(props: DirectoryDesignerRowParams, container: HTMLElement): void;
|
|
45
45
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
46
|
-
import("C:/
|
|
46
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, GenModels.DirectoryDesignerItem, DirectoryDesignerRowParams<GenModels.DirectoryDesignerItem>, DirectoryDesignerRowState<GenModels.DirectoryDesignerItem>>>;
|
|
47
47
|
protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
|
|
48
48
|
canShowDictionary(): boolean;
|
|
49
49
|
protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
|
|
@@ -60,7 +60,7 @@ import("C:/Dev/WebC17/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/Di
|
|
|
60
60
|
protected getIconClassName(): string;
|
|
61
61
|
protected onIconClick(): void;
|
|
62
62
|
protected getTypeaheadProps():
|
|
63
|
-
import("C:/
|
|
63
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
|
|
64
64
|
ref: any;
|
|
65
65
|
};
|
|
66
66
|
protected focusInput: () => void;
|
|
@@ -7,4 +7,4 @@ export interface IDirectorySearchContentProps extends HtmlProps.div {
|
|
|
7
7
|
renderContent?: () => JSX.Element;
|
|
8
8
|
opened?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const DirectorySearchContent: React.ForwardRefExoticComponent<Pick<IDirectorySearchContentProps, "renderContent" | "data" | "slot" | "style" | "title" | "children" | "onSubmit" | "placeholder" | "dir" | "className" | "color" | "
|
|
10
|
+
export declare const DirectorySearchContent: React.ForwardRefExoticComponent<Pick<IDirectorySearchContentProps, "renderContent" | "data" | "slot" | "style" | "title" | "children" | "id" | "onSubmit" | "placeholder" | "dir" | "className" | "color" | "lang" | "role" | "tabIndex" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "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" | "onClick" | "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" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "opened"> & React.RefAttributes<unknown>>;
|
|
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
|
|
|
13
13
|
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "opened"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
iconButton: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/dev/WebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -31,6 +31,7 @@ export interface DirectoryTreeProps extends HtmlProps.div, IComponentProps<Direc
|
|
|
31
31
|
copyCondition?: Store<boolean>;
|
|
32
32
|
addSection?: () => void;
|
|
33
33
|
addButtonTitle?: string;
|
|
34
|
+
onToggle?: (row?: IDirectoryTreeRow) => void;
|
|
34
35
|
loadChildren?: (parentRow: IDirectoryTreeRow) => Promise<IDirectoryTreeRow[]>;
|
|
35
36
|
treeAddButtonFn?: (props: DirectoryTreeProps) => JSX.Element;
|
|
36
37
|
services: Optional<$ContextMenuOptions> & $LocalStorage & $ApplicationSettings & $LayoutInfo & $EditOperationStore & $IsIE;
|
|
@@ -137,6 +137,7 @@ export interface IDssConfirmationResponse {
|
|
|
137
137
|
IsError: boolean;
|
|
138
138
|
Error?: string;
|
|
139
139
|
ErrorDescription?: string;
|
|
140
|
+
TransactionId?: string;
|
|
140
141
|
}
|
|
141
142
|
export interface IDssChoiceAuthenticationResponse {
|
|
142
143
|
Challenge: IDssChoiceAuthenticationChallenge;
|
|
@@ -3,14 +3,14 @@ export declare class EmailButtonView {
|
|
|
3
3
|
button: (props:
|
|
4
4
|
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
5
5
|
buttonDialog: (props:
|
|
6
|
-
import("C:/
|
|
6
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
7
7
|
modalDialog: (props:
|
|
8
8
|
import("@docsvision/web/components/modals/modal-dialog").ModalDialogProps) => JSX.Element;
|
|
9
9
|
item: (props:
|
|
10
10
|
import("./components/EmailButtonItem").EmailButtonItemProps) => JSX.Element;
|
|
11
11
|
checkbox:
|
|
12
12
|
import("react").ForwardRefExoticComponent<Pick<
|
|
13
|
-
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "checked" | "readOnly" | "required" | "htmlFor" | "
|
|
13
|
+
| "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "checked" | "readOnly" | "required" | "htmlFor" | "dataTestId" | "onSetupLogic" | "onSetupView" | "indeterminate" | "labelText" | "innerRef"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
files: (props:
|
|
16
16
|
import("./components/EmailButtonFiles").EmailButtonFilesProps) => JSX.Element;
|
|
@@ -19,6 +19,8 @@ export interface Props {
|
|
|
19
19
|
maximizeButtonEnabled?: boolean;
|
|
20
20
|
/** Вызывается при попытке развернуть окно */
|
|
21
21
|
onMaximize?: () => void;
|
|
22
|
+
setLastMaximized?: Function;
|
|
23
|
+
lastMaximized?: boolean;
|
|
22
24
|
}
|
|
23
25
|
interface State {
|
|
24
26
|
layout: ILayout;
|
|
@@ -31,14 +33,14 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
31
33
|
static ExistingCardLinkSearchLayout: string;
|
|
32
34
|
private layoutRoot;
|
|
33
35
|
constructor(props: any);
|
|
34
|
-
static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
|
|
36
|
+
static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, lastMaximized?: boolean, setLastMaximize?: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
|
|
35
37
|
componentDidMount(): void;
|
|
36
38
|
loadLayout(): Promise<void>;
|
|
37
39
|
private onCancel;
|
|
38
40
|
private attachRoot;
|
|
39
41
|
DialogBox:
|
|
40
42
|
import("styled-components").StyledComponent<(props:
|
|
41
|
-
import("C:/
|
|
43
|
+
import("C:/dev/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
42
44
|
close(): void;
|
|
43
45
|
onMaximize: () => void;
|
|
44
46
|
render(): JSX.Element;
|
package/BackOffice/FileSign.d.ts
CHANGED
|
@@ -8,10 +8,13 @@ import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
|
8
8
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
9
9
|
import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
10
10
|
import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
11
|
+
import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
|
|
12
|
+
import { EncryptedInfo } from "@docsvision/webclient/Legacy/EncryptedInfo";
|
|
13
|
+
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
11
14
|
export declare class FileSign {
|
|
12
|
-
protected services: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo;
|
|
15
|
+
protected services: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo & $RequestManager;
|
|
13
16
|
protected interactionModel: IFileSignInteractionModel;
|
|
14
|
-
constructor(interactionModel: IFileSignInteractionModel, services?: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo);
|
|
17
|
+
constructor(interactionModel: IFileSignInteractionModel, services?: $SignatureController & $WebViewIOSEnabled & $CloudSignature & $SignatureController & $ApplicationSettings & $DigitalSignature & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $CardInfo & $RequestManager);
|
|
15
18
|
/** Инициализация. */
|
|
16
19
|
protected initialize(): void;
|
|
17
20
|
/** Открыть диалог для создания подписи. */
|
|
@@ -29,4 +32,13 @@ export declare class FileSign {
|
|
|
29
32
|
static showSignWarningDialog(successCb?: Function, cancelCb?: Function): void;
|
|
30
33
|
/** @deprecated Uses {@link showSignWarningDialog} */
|
|
31
34
|
static ShowSignWarningDialog(okFunction: Function): void;
|
|
35
|
+
private signOperationHelper;
|
|
36
|
+
/**
|
|
37
|
+
* Подписать сертификатом с указанным отпечатком и идентификатором метки из старого диалога подписания
|
|
38
|
+
* @param selectedThumbprint Отпечаток
|
|
39
|
+
* @param selectedLabelId Идентификатор метки
|
|
40
|
+
*/
|
|
41
|
+
sign(selectedThumbprint: string, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean): Promise<{}>;
|
|
42
|
+
/** Присоединить указанную подпись. */
|
|
43
|
+
protected attachSign(encryptedInfo: EncryptedInfo, selectedLabelId: string, timestamp: number): Promise<void>;
|
|
32
44
|
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
|
|
2
|
+
import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
|
|
3
|
+
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
4
|
+
import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
|
|
5
|
+
import { IFilePreviewModel } from "@docsvision/webclient/Legacy/IFilePreviewModel";
|
|
6
|
+
import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
7
|
+
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
8
|
+
import { ICryptoCertificateInfo } from "Libs/CryptoPro/Crypto";
|
|
9
|
+
import React from "react";
|
|
10
|
+
export interface IFileSignCreateDialogProps {
|
|
11
|
+
/** Идентификатор документа. */
|
|
12
|
+
documentId: string;
|
|
13
|
+
/** Вызывается при подписи. */
|
|
14
|
+
onSign?: (selectedCertInfo: ICryptoCertificateInfo, selectedLabel: ISignatureLabel, timestamp: number, signFields?: boolean, signAttachments?: boolean) => void;
|
|
15
|
+
/** Вызывается при отмене подписи. */
|
|
16
|
+
onCancel?: () => void;
|
|
17
|
+
/** Загрузка */
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
/** Сервисы */
|
|
20
|
+
services: $DocumentCardController & $WebViewIOSEnabled;
|
|
21
|
+
}
|
|
22
|
+
export interface IFileSignCreateDialogState {
|
|
23
|
+
/** Информация о стадии инициализации компонента. */
|
|
24
|
+
initLoading: LoadingState;
|
|
25
|
+
/** Идентификатор выбранной метки для подписи. */
|
|
26
|
+
selectedLabel?: ISignatureLabel;
|
|
27
|
+
/** Идентификатор выбранного варианта подписания подписи (простой или сертификат). */
|
|
28
|
+
selectedModeId: string;
|
|
29
|
+
/** Информация о выбранном сертификате для подписи (если подпись не является простой). */
|
|
30
|
+
selectedCertInfo: ICryptoCertificateInfo;
|
|
31
|
+
/** Название выбранного сертификата для подписи (если подпись не является простой). */
|
|
32
|
+
selectedCertName: string;
|
|
33
|
+
/** Сертификат из профиля пользователя. */
|
|
34
|
+
defaultCertInfo?: ICryptoCertificateInfo;
|
|
35
|
+
/** Необходимо ли подписать Поля */
|
|
36
|
+
signFields?: boolean;
|
|
37
|
+
/** Необходимо ли подписать Дополнения */
|
|
38
|
+
signAttachments?: boolean;
|
|
39
|
+
/** Список меток для подписи. */
|
|
40
|
+
signLabels: ISignatureLabel[];
|
|
41
|
+
/** Пользовательский отпечаток. */
|
|
42
|
+
thumbprint: string;
|
|
43
|
+
/** Таймштамп последнего изменения карточки. */
|
|
44
|
+
timestamp: number;
|
|
45
|
+
/** Экземпляр ModalHost для работы с модальным окном для выбора сертификата. */
|
|
46
|
+
certSelectModalHost: ModalHost;
|
|
47
|
+
/** Видно ли модальное окно для выбора сертификата. */
|
|
48
|
+
isCertSelectVisible: boolean;
|
|
49
|
+
/** Загрузка */
|
|
50
|
+
loading?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export declare class FileSignCreateDialog extends React.Component<IFileSignCreateDialogProps, IFileSignCreateDialogState> {
|
|
53
|
+
static readonly SELECT_CERTIFICATE_MODE = "select-certificate";
|
|
54
|
+
constructor(props: IFileSignCreateDialogProps);
|
|
55
|
+
componentDidUpdate(props: any, state: any): void;
|
|
56
|
+
/** @internal */
|
|
57
|
+
UNSAFE_componentWillMount(): Promise<void>;
|
|
58
|
+
/** Является ли подпись простой. */
|
|
59
|
+
isSimpleSign: () => boolean;
|
|
60
|
+
checkIsCertificateExist: () => Promise<boolean>;
|
|
61
|
+
/** Обновляет список доступных меток для подписи. */
|
|
62
|
+
updateLabels: () => Promise<IFilePreviewModel>;
|
|
63
|
+
/** При изменении варианта подписания подписи. */
|
|
64
|
+
protected onModeChange: (selectedElement: IComboBoxElement) => void;
|
|
65
|
+
/** Получить отформатированный список меток для комбобокса. */
|
|
66
|
+
protected getLabelsForCombobox: () => IComboBoxElement[];
|
|
67
|
+
/** Получить отформатированный список вариантов подписания для комбобокса. */
|
|
68
|
+
protected getModesForCombobox: () => IComboBoxElement[];
|
|
69
|
+
/** Открывает модальное окно для выбора сертификата. */
|
|
70
|
+
protected openCertSelectWindow: () => void;
|
|
71
|
+
/** При закрытии модального окна для выбора сертификата. */
|
|
72
|
+
protected onCloseCertSelectWindow: (selectedCertInfo: ICryptoCertificateInfo) => void;
|
|
73
|
+
/** При подписании. */
|
|
74
|
+
protected onSign: () => void;
|
|
75
|
+
/** При отмене подписания. */
|
|
76
|
+
protected onCancel: () => void;
|
|
77
|
+
/** Отрисовывает модальное окно для выбора сертификата. */
|
|
78
|
+
protected renderSelectCertDialog(): React.ReactNode;
|
|
79
|
+
/** @internal */
|
|
80
|
+
render(): JSX.Element;
|
|
81
|
+
}
|