@docsvision/webclient 5.17.3 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementStageEmployeesLoader.d.ts +3 -0
- package/BackOffice/$DigitalSignature.d.ts +0 -2
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/CardKindImpl.d.ts +1 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/CommandMenuComponent.d.ts +1 -1
- package/BackOffice/Comments.d.ts +2 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +3 -5
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -5
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectoryEntryModal.d.ts +2 -0
- package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +0 -1
- package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
- package/BackOffice/DssSignRequestModels.d.ts +2 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/EmployeeImpl.d.ts +0 -5
- package/BackOffice/ExistingCardLinkDialog.d.ts +2 -1
- package/BackOffice/FileListConstants.d.ts +0 -4
- package/BackOffice/FileListControl.d.ts +9 -13
- package/BackOffice/FileListControlLogic.d.ts +10 -4
- package/BackOffice/FileListItemComponent.d.ts +1 -0
- package/BackOffice/FileListItemProps.d.ts +2 -2
- package/BackOffice/FileListItemState.d.ts +3 -1
- package/BackOffice/FileSignListDialog.d.ts +2 -10
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/ICertificateStatus.d.ts +5 -4
- package/BackOffice/IFileOpenRequestModel.d.ts +13 -0
- package/BackOffice/Links.d.ts +2 -2
- package/BackOffice/LinksImpl.d.ts +1 -1
- package/BackOffice/NumeratorImpl.d.ts +2 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerSelectDialog.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SetDisplayName.d.ts +2 -0
- package/BackOffice/SignatureDialog.d.ts +2 -11
- package/BackOffice/SignatureDialog.stories.d.ts +0 -13
- package/BackOffice/SignatureDialogFrame.d.ts +0 -2
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +0 -20
- package/BackOffice/SignatureDialogMethods.d.ts +2 -2
- 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 +0 -1
- package/BackOffice/TaskListItemComponent.d.ts +1 -1
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/Utils.d.ts +0 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +1936 -2029
- package/Generated/DocsVision.WebClient.Models.d.ts +4578 -6845
- package/Helpers/Button.d.ts +0 -2
- package/Helpers/ComandBarButton.d.ts +0 -2
- package/Helpers/ComboBox/ComboBoxElement.d.ts +3 -3
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +3 -1
- package/Helpers/ComboBox/Data/ClientModels/IComboBoxElement.d.ts +0 -2
- package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
- package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +1 -1
- package/Helpers/IconButton.d.ts +0 -2
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LabeledText.d.ts +3 -1
- package/Helpers/ModalDialog/ModalDialog.d.ts +0 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +4 -3
- package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
- package/Helpers/Table/TableHelperRow.d.ts +0 -1
- package/Legacy/ApprovalFilePanel.d.ts +14 -4
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/DocumentCard.d.ts +1 -1
- package/Legacy/DocumentPanel.d.ts +0 -2
- package/Legacy/ISignatureListItemDataModel.d.ts +0 -1
- package/Legacy/LinkControl.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +13 -4
- package/Legacy/TaskCardView.d.ts +1 -0
- package/Legacy/Utils.d.ts +5 -0
- package/Platform/$CommandBarManagement.d.ts +4 -4
- package/Platform/$GridOptions.d.ts +0 -1
- package/Platform/$ScanDialog.d.ts +4 -4
- package/Platform/AutoConsolidation.d.ts +2 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/ButtonPositionsSelection.d.ts +1 -1
- package/Platform/CardLink.d.ts +8 -6
- package/Platform/CardLinkImpl.d.ts +1 -1
- package/Platform/CardManagement.d.ts +2 -1
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/CommentFile.d.ts +5 -4
- package/Platform/CommentFileImpl.d.ts +6 -1
- package/Platform/DateTimePickerImpl.d.ts +2 -2
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +1 -1
- package/Platform/ExportESignButton.d.ts +0 -2
- package/Platform/FileExtensions.d.ts +4 -1
- package/Platform/FilePreview.d.ts +5 -2
- package/Platform/FilePreviewImpl.d.ts +4 -9
- package/Platform/FileViewer.d.ts +24 -0
- package/Platform/FolderCardsDashboardWidget.d.ts +0 -2
- package/Platform/FolderViewItemsImpl.d.ts +8 -8
- package/Platform/GetDocType.d.ts +1 -0
- package/Platform/GetFileType.d.ts +1 -0
- package/Platform/IsImageExtension.d.ts +1 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/PdfjsViewer.d.ts +13 -0
- package/Platform/R7Viewer.d.ts +13 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +0 -2
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +2 -2
- package/Platform/ScanButtonImpl.d.ts +1 -0
- package/Platform/ScanDialogService.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/SettingsPopupLogic.d.ts +1 -1
- package/Platform/Table.d.ts +10 -0
- package/Platform/TableImpl.d.ts +1 -0
- package/Platform/TextListInputView.d.ts +2 -2
- package/Platform/UnreadBarService.d.ts +2 -2
- package/Platform/UnreadBarTablePlugins.d.ts +2 -2
- package/Platform/UnreadCounter.d.ts +1 -2
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/README.md +1 -1
- package/System/$FileService.d.ts +2 -0
- package/System/$LastSearchResponse.d.ts +2 -2
- package/System/$RealtimeCommunicationService.d.ts +2 -0
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/CheckIsLinux.d.ts +1 -0
- package/System/{BaseController.d.ts → ControllerBase.d.ts} +1 -1
- package/System/Decorators.d.ts +7 -7
- package/System/DirectoryBaseImpl.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -3
- package/System/FileService.d.ts +4 -0
- package/System/InputBasedControlImpl.d.ts +2 -1
- package/System/JsonUtils.d.ts +1 -0
- package/System/LastSearchResponseService.d.ts +3 -3
- package/System/RealtimeCommunicationService.d.ts +3 -1
- package/System/RealtimeServerSender.d.ts +1 -2
- package/System/ResourcesStub.d.ts +2 -62
- package/System/ServerController.d.ts +2 -2
- package/System/ServiceActionMetaData.d.ts +2 -2
- package/System/StringUtils.d.ts +1 -1
- package/System/Summernote.d.ts +0 -2
- package/System/WebServicesService.d.ts +2 -2
- package/package.json +1 -1
- package/Account/AddBackgroundMovementEffect.d.ts +0 -2
- package/BackOffice/CheckSectionAccessRights.d.ts +0 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +0 -7
- package/BackOffice/ConvertResponseToTree.d.ts +0 -4
- package/BackOffice/DeleteSection.d.ts +0 -2
- package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
- package/BackOffice/FindSection.d.ts +0 -9
- package/BackOffice/GetPowersIconClassName.d.ts +0 -7
- package/BackOffice/GetPowersRootSectionId.d.ts +0 -5
- package/BackOffice/GetSearchItemsType.d.ts +0 -2
- package/BackOffice/IExtraFileAdded.d.ts +0 -3
- package/BackOffice/IFileTypeChangeArgs.d.ts +0 -4
- package/BackOffice/IMainFileAdded.d.ts +0 -3
- package/BackOffice/INewFileList.d.ts +0 -3
- package/BackOffice/IPowerModel.d.ts +0 -10
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +0 -11
- package/BackOffice/IPowersDialog.d.ts +0 -5
- package/BackOffice/IPowersDirectoryOptions.d.ts +0 -12
- package/BackOffice/IPowersTreeRow.d.ts +0 -6
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyInfo.d.ts +0 -11
- package/BackOffice/Powers.d.ts +0 -72
- package/BackOffice/Powers.stories.d.ts +0 -19
- package/BackOffice/PowersDialogLocations.d.ts +0 -3
- package/BackOffice/PowersDirectory.d.ts +0 -49
- package/BackOffice/PowersDirectory.stories.d.ts +0 -20
- package/BackOffice/PowersDirectoryConstants.d.ts +0 -12
- package/BackOffice/PowersDirectoryContainer.d.ts +0 -7
- package/BackOffice/PowersDirectoryHead.d.ts +0 -7
- package/BackOffice/PowersDirectoryInfo.d.ts +0 -16
- package/BackOffice/PowersDirectoryLogic.d.ts +0 -172
- package/BackOffice/PowersDirectorySaveExpandedState.d.ts +0 -5
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +0 -17
- package/BackOffice/PowersDirectoryView.d.ts +0 -61
- package/BackOffice/PowersImpl.d.ts +0 -72
- package/BackOffice/PowersRootSectionConstants.d.ts +0 -17
- package/BackOffice/PowersSelectDialog.d.ts +0 -74
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +0 -2
- package/BackOffice/SignatureDialogPowersOfAttorney.d.ts +0 -9
- package/BackOffice/ToSearchArea.d.ts +0 -3
- package/Platform/SkipSavingCursorRequestResolver.d.ts +0 -12
- package/System/IRealtimeCommunicationHub.d.ts +0 -15
|
@@ -21,4 +21,7 @@ export declare class AgreementStageEmployeesLoader implements GenControllers.ISt
|
|
|
21
21
|
addToGroup(model: GenModels.AddToGroupRequestModel, options?: RequestOptions): Promise<void>;
|
|
22
22
|
getUnitManagerForEmployee(employeeId: string, options?: RequestOptions): Promise<any>;
|
|
23
23
|
getStaffData(requestModel: GenModels.EmployeeListRequestModel, options?: RequestOptions): Promise<any>;
|
|
24
|
+
deleteEmployee(employeeId: string, options?: RequestOptions): Promise<any>;
|
|
25
|
+
deleteUnit(unitId: string, options?: RequestOptions): Promise<any>;
|
|
26
|
+
deleteGroup(groupId: string, options?: RequestOptions): Promise<any>;
|
|
24
27
|
}
|
|
@@ -43,7 +43,6 @@ export interface IDigitalSignOptions {
|
|
|
43
43
|
timestamp: number;
|
|
44
44
|
/** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
|
|
45
45
|
cardInfo?: GenModels.CardInfoModel;
|
|
46
|
-
powerOfAttorneyID?: string;
|
|
47
46
|
}
|
|
48
47
|
export declare class IEncryptedInfo {
|
|
49
48
|
/** Идентификатор карточки документа */
|
|
@@ -57,7 +56,6 @@ export declare class IEncryptedInfo {
|
|
|
57
56
|
signedFiles: GenModels.SignatureItemData[];
|
|
58
57
|
/** Дополнительная необязательная информация о карточке для кастомизации подписи в решениях. */
|
|
59
58
|
cardInfo?: GenModels.CardInfoModel;
|
|
60
|
-
powerOfAttorneyID?: string;
|
|
61
59
|
}
|
|
62
60
|
export declare class ITaskEncryptedInfo {
|
|
63
61
|
isSimpleSign: boolean;
|
|
@@ -13,7 +13,7 @@ export declare class AuthenticationKindsView {
|
|
|
13
13
|
inputMask: typeof InputMask;
|
|
14
14
|
checkBox: typeof CheckBox;
|
|
15
15
|
label: (props:
|
|
16
|
-
import("
|
|
16
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/Helpers/LabeledText").ILabeledText) => JSX.Element;
|
|
17
17
|
button: (props:
|
|
18
18
|
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
19
19
|
}
|
|
@@ -75,6 +75,7 @@ export declare class CardKindImpl extends InputBasedControlImpl<GenModels.CardKi
|
|
|
75
75
|
* @param ev Событие клавиатуры
|
|
76
76
|
*/
|
|
77
77
|
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
78
|
+
protected onModalKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
78
79
|
private attachTypeahead;
|
|
79
80
|
/**
|
|
80
81
|
* Куда рендерим контрол
|
|
@@ -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("
|
|
40
|
+
import("C:/Dev/WebC6.1/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("
|
|
45
|
+
import("C:/Dev/WebC6.1/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("
|
|
50
|
+
import("C:/Dev/WebC6.1/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected selectAllCheckboxLabel:
|
|
@@ -13,7 +13,7 @@ export declare class CommandMenuComponent extends React.Component<ICommandMenuPr
|
|
|
13
13
|
protected onMenuItemClick(item: GenModels.CreateKindDataModel, ev: React.MouseEvent): void;
|
|
14
14
|
protected getCommandMenuItems(filter: (ICommandMenuItem: any) => boolean): JSX.Element[];
|
|
15
15
|
protected getKindItems(): JSX.Element[];
|
|
16
|
-
protected getTabIndex():
|
|
16
|
+
protected getTabIndex(): 0 | -1;
|
|
17
17
|
protected getTemplates(): JSX.Element[];
|
|
18
18
|
protected attachCommandBarButton(elem: HTMLElement): void;
|
|
19
19
|
render(): JSX.Element;
|
package/BackOffice/Comments.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CommentsImpl } from "@docsvision/webclient/BackOffice/CommentsImpl";
|
|
2
2
|
import { ICommentEventArgs } from "@docsvision/webclient/BackOffice/ICommentEventArgs";
|
|
3
3
|
import { CommentModel } from '@docsvision/webclient/BackOffice/CommentModel';
|
|
4
|
-
import { $CommentsController
|
|
4
|
+
import { $CommentsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
5
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
6
|
import { $CurrentEmployeeId, $DeviceType, $IsIE, $Locale } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
@@ -52,7 +52,7 @@ export declare class CommentsParams extends BaseControlParams {
|
|
|
52
52
|
useHtml?: boolean;
|
|
53
53
|
/** Редактируется ли комментарий в данный момент. */
|
|
54
54
|
isCommentEditing?: boolean;
|
|
55
|
-
services?: $CommentsController & $CurrentEmployeeId & $CardInfo & $LayoutInfo & $EditOperationStore & $DeviceType & $Locale & $IsIE & $ExperimentalFeature
|
|
55
|
+
services?: $CommentsController & $CurrentEmployeeId & $CardInfo & $LayoutInfo & $EditOperationStore & $DeviceType & $Locale & $IsIE & $ExperimentalFeature;
|
|
56
56
|
}
|
|
57
57
|
/** @internal */
|
|
58
58
|
export interface CommentsState extends CommentsParams, BaseControlState {
|
|
@@ -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("
|
|
9
|
+
import("C:/Dev/WebC6.1/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, $
|
|
8
|
+
import { $LayoutDocumentController, $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,8 +17,6 @@ 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';
|
|
21
|
-
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
22
20
|
/** @internal */
|
|
23
21
|
export declare class DigitalSignatureService implements IDigitalSignatureService {
|
|
24
22
|
private services;
|
|
@@ -28,12 +26,12 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
|
|
|
28
26
|
updateCurrentDialog: () => void;
|
|
29
27
|
beforeSignatureDialogShown: Event<BeforeSignatureDialogShowEventArgs>;
|
|
30
28
|
afterSignatureDialogShown: Event<AfterSignatureDialogShowEventArgs>;
|
|
31
|
-
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $
|
|
29
|
+
constructor(services: $ApplicationSettings & $MessageWindow & $CloudSignature & $WebViewIOSEnabled & $SignatureController & $DocumentCardController & $LayoutDocumentController & $RequestManager & $MessageBox & $CryptoPro & $LocalStorage & $SignatureMethodsController & $Resources & $DeviceType & $Domain);
|
|
32
30
|
showDocumentSignDialog(documentId: string, optionsArg?: ISignatureDialogOptions): Promise<void>;
|
|
33
31
|
getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
|
|
34
32
|
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
35
33
|
createTaskSignature(options: IDigitalSignOptions): Promise<ITaskEncryptedInfo>;
|
|
36
|
-
attachDocumentSignature(encryptedInfo: IEncryptedInfo
|
|
34
|
+
attachDocumentSignature(encryptedInfo: IEncryptedInfo): Promise<GenModels.AttachSignatureResponse>;
|
|
37
35
|
showDocumentSignatureListDialog(documentId: string): Promise<ModalHost>;
|
|
38
36
|
localSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
39
37
|
pkiClientSign(params: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { $DirectoryDesignerRowController, $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
4
|
import { LayoutControl } from '@docsvision/webclient/System/BaseControl';
|
|
4
5
|
import { DirectorySelectDialog, IDirectorySelectDialogProps, IDirectorySelectDialogState } from '@docsvision/webclient/System/DirectorySelectDialog';
|
|
5
6
|
import { IDirectoryChildrenLoadResponse, IDirectoryItem, IDirectorySearchItem, IDirectorySearchResponse } from '@docsvision/webclient/System/DirectoryServerModels';
|
|
6
7
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
7
|
-
import React from "react";
|
|
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";
|
|
@@ -34,7 +34,7 @@ export interface IDirectoryDesRowSelectDialogProps extends IDirectorySelectDialo
|
|
|
34
34
|
}
|
|
35
35
|
/** @internal */
|
|
36
36
|
export interface IDirectoryDesRowSelectDialogState extends IDirectorySelectDialogState<ValueT, NodeT, ItemT> {
|
|
37
|
-
searchMode: GenModels.
|
|
37
|
+
searchMode: GenModels.DirectoryDesignerTreeNodeType;
|
|
38
38
|
}
|
|
39
39
|
/** @internal */
|
|
40
40
|
export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<ValueT, NodeT, ItemT, IDirectoryDesRowSelectDialogProps, IDirectoryDesRowSelectDialogState> {
|
|
@@ -51,15 +51,12 @@ export declare class DirectoryDesRowSelectDialog extends DirectorySelectDialog<V
|
|
|
51
51
|
protected getItemIconClassName(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
52
52
|
protected getItemTooltip(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
53
53
|
protected get currentNodeId(): string;
|
|
54
|
-
protected toggleIsHidden(): boolean;
|
|
55
54
|
protected loadChildrenList(nodeId: string, nodeType: any, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<NodeT | ItemT>>;
|
|
56
|
-
protected onChildrenListItemDoubleClick(item: IDirectoryItem<NodeT | ItemT>, ev: React.MouseEvent<unknown>): boolean;
|
|
57
55
|
protected search(searchText: string, nodeId: string, nodeType: any, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<NodeT, NodeT | ItemT>>;
|
|
58
56
|
protected getSearchNodePath(item: IDirectorySearchItem<NodeT, NodeT | ItemT>): GenModels.DirectoryDesignerItem[];
|
|
59
57
|
protected onToggleSearchMode: () => void;
|
|
60
58
|
protected renderChildrenListItemView(item: IDirectoryItem<NodeT | ItemT>, index: number): JSX.Element;
|
|
61
59
|
protected isGoToButtonActive(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
62
|
-
protected isGoToButtonVisible(item: IDirectoryItem<NodeT | ItemT>): boolean;
|
|
63
60
|
protected getGoToButtonTitle(item: IDirectoryItem<NodeT | ItemT>): string;
|
|
64
61
|
protected onShowInfo: (item: GenModels.DirectoryDesignerItem) => Promise<void>;
|
|
65
62
|
protected onEdit: (item: GenModels.DirectoryDesignerItem) => Promise<void>;
|
|
@@ -60,10 +60,10 @@ export declare class DirectoryDesignerRowParams<ValueT extends DirectoryDesigner
|
|
|
60
60
|
export declare class DirectoryDesignerRow<ValueT extends DirectoryDesignerRowValueType = DirectoryDesignerRowValueType> extends DirectoryBase<ValueT, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams<ValueT>, DirectoryDesignerRowState<ValueT>> {
|
|
61
61
|
protected createParams(): DirectoryDesignerRowParams<ValueT>;
|
|
62
62
|
protected getServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & Partial<
|
|
63
|
-
import("
|
|
64
|
-
import("
|
|
65
|
-
import("
|
|
66
|
-
import("
|
|
63
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
64
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
65
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
66
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType;
|
|
67
67
|
private set DirectoryDesignerRowBinding(value);
|
|
68
68
|
private set binding(value);
|
|
69
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("
|
|
46
|
+
import("C:/Dev/WebC6.1/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("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Controls/Directo
|
|
|
60
60
|
protected getIconClassName(): string;
|
|
61
61
|
protected onIconClick(): void;
|
|
62
62
|
protected getTypeaheadProps():
|
|
63
|
-
import("
|
|
63
|
+
import("C:/Dev/WebC6.1/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
|
|
64
64
|
ref: any;
|
|
65
65
|
};
|
|
66
66
|
protected focusInput: () => void;
|
|
@@ -11,6 +11,8 @@ export interface IDirectoryEntryModalProps<TParams, TResult> extends Omit<ModalD
|
|
|
11
11
|
loadLayout: (params: TParams) => Promise<GenModels.LayoutViewModel>;
|
|
12
12
|
getHeader: (params: TParams) => string | React.ReactNode;
|
|
13
13
|
showEvent: Event<TParams>;
|
|
14
|
+
/** Create layout creates row on load. So it should be canceled normally, with deletion of the row. */
|
|
15
|
+
preventCloseBeforeLoaded?: boolean;
|
|
14
16
|
onAccept?: (result?: TResult, params?: TParams) => void;
|
|
15
17
|
onCancel?: (reason: any) => void;
|
|
16
18
|
onClosed?: () => void;
|
|
@@ -11,6 +11,7 @@ export declare class DirectoryEntryModalLogic<TParams, TResult> extends Componen
|
|
|
11
11
|
showModal: Event<TParams>;
|
|
12
12
|
accept: Event<TResult>;
|
|
13
13
|
cancel: Event<any>;
|
|
14
|
+
requestCancel: Event<any>;
|
|
14
15
|
unmountLayoutOnCancelFx: Effect<unknown, unknown, Error>;
|
|
15
16
|
modalClosed: Event<void>;
|
|
16
17
|
$result: Store<TResult>;
|
|
@@ -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("
|
|
16
|
+
import("C:/Dev/WebC6.1/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -31,7 +31,6 @@ 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;
|
|
35
34
|
loadChildren?: (parentRow: IDirectoryTreeRow) => Promise<IDirectoryTreeRow[]>;
|
|
36
35
|
treeAddButtonFn?: (props: DirectoryTreeProps) => JSX.Element;
|
|
37
36
|
services: Optional<$ContextMenuOptions> & $LocalStorage & $ApplicationSettings & $LayoutInfo & $EditOperationStore & $IsIE;
|
|
@@ -55,7 +55,7 @@ export declare class DisplayPerformersImpl extends BaseControlImpl<DisplayPerfor
|
|
|
55
55
|
/** Перерисовывает списки исполнителей с учётом размера родительского контейнера. */
|
|
56
56
|
resize: () => void;
|
|
57
57
|
/** @inheritDoc */
|
|
58
|
-
getTabIndex():
|
|
58
|
+
getTabIndex(): 0 | -1;
|
|
59
59
|
/** @internal */
|
|
60
60
|
renderControl(): JSX.Element;
|
|
61
61
|
}
|
|
@@ -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("
|
|
6
|
+
import("C:/Dev/WebC6.1/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" | "onSetupView" | "indeterminate" | "onSetupLogic" | "labelText" | "innerRef" | "dataTestId"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
files: (props:
|
|
16
16
|
import("./components/EmailButtonFiles").EmailButtonFilesProps) => JSX.Element;
|
|
@@ -26,16 +26,12 @@ export declare type EmployeeImplState = EmployeeState;
|
|
|
26
26
|
export declare class EmployeeImpl extends InputBasedControlImpl<GenModels.EmployeeDataModel, EmployeeParams, EmployeeState> {
|
|
27
27
|
constructor(props: EmployeeParams, state: EmployeeState);
|
|
28
28
|
setValue(value: GenModels.EmployeeDataModel, redraw: boolean): void;
|
|
29
|
-
private valuesEqual;
|
|
30
29
|
initHelpers(props: EmployeeParams): void;
|
|
31
30
|
static validValue(value: GenModels.EmployeeDataModel): boolean;
|
|
32
31
|
protected getTextValue(): string;
|
|
33
32
|
protected onMouseDown(): void;
|
|
34
33
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
35
34
|
protected renderInto(props: EmployeeParams, container: HTMLElement): void;
|
|
36
|
-
private saveCard;
|
|
37
|
-
private shouldSaveCardWithEditInPlaceValue;
|
|
38
|
-
private isLayoutViewMode;
|
|
39
35
|
protected onInputChange(event: any): void;
|
|
40
36
|
protected getValueTitle(): string;
|
|
41
37
|
protected getInputTitle(): string;
|
|
@@ -49,7 +45,6 @@ export declare class EmployeeImpl extends InputBasedControlImpl<GenModels.Employ
|
|
|
49
45
|
set favoriteEmployees(val: GenModels.EmployeeDataModel[]);
|
|
50
46
|
set supportFavorites(val: any);
|
|
51
47
|
set tipMode(val: any);
|
|
52
|
-
protected renderInput(): React.ReactNode;
|
|
53
48
|
protected renderInputWithPlaceholder(): JSX.Element;
|
|
54
49
|
addToFavorite(item: GenModels.EmployeeDataModel): void;
|
|
55
50
|
}
|
|
@@ -40,9 +40,10 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
40
40
|
private attachRoot;
|
|
41
41
|
DialogBox:
|
|
42
42
|
import("styled-components").StyledComponent<(props:
|
|
43
|
-
import("
|
|
43
|
+
import("C:/Dev/WebC6.1/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
44
44
|
close(): void;
|
|
45
45
|
onMaximize: () => void;
|
|
46
|
+
onModalKeyDown: (ev: React.KeyboardEvent) => void;
|
|
46
47
|
render(): JSX.Element;
|
|
47
48
|
}
|
|
48
49
|
export {};
|
|
@@ -7,7 +7,3 @@ export declare class FileListAcceptExtensions {
|
|
|
7
7
|
static SIG_EXTENSION: string;
|
|
8
8
|
static SGN_EXTENSION: string;
|
|
9
9
|
}
|
|
10
|
-
export declare class FileListPowerOfAttorneyData {
|
|
11
|
-
static FEDERAL_TAX_SERVICE_WEB_SEARCH_URL: string;
|
|
12
|
-
static FEDERAL_TAX_SERVICE_WEB_SEARCH_URL_POA_NUMBER_PARAMETER: string;
|
|
13
|
-
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
|
|
2
|
+
import { IExtraFileAddedArgs } from "@docsvision/webclient/BackOffice/IExtraFileAddedArgs";
|
|
2
3
|
import { IExtraFileAddingArgs } from "@docsvision/webclient/BackOffice/IExtraFileAddingArgs";
|
|
3
4
|
import { IExtraFileDeletedArgs } from "@docsvision/webclient/BackOffice/IExtraFileDeletedArgs";
|
|
4
5
|
import { IExtraFileDeletingArgs } from "@docsvision/webclient/BackOffice/IExtraFileDeletingArgs";
|
|
@@ -14,6 +15,7 @@ import { IFileVersionDownloadedArgs } from "@docsvision/webclient/BackOffice/IFi
|
|
|
14
15
|
import { IFileVersionDownloadingArgs } from "@docsvision/webclient/BackOffice/IFileVersionDownloadingArgs";
|
|
15
16
|
import { IFileVersionUploadedArgs } from "@docsvision/webclient/BackOffice/IFileVersionUploadedArgs";
|
|
16
17
|
import { IFileVersionUploadingArgs } from "@docsvision/webclient/BackOffice/IFileVersionUploadingArgs";
|
|
18
|
+
import { IMainFileAddedArgs } from "@docsvision/webclient/BackOffice/IMainFileAddedArgs";
|
|
17
19
|
import { IMainFileAddingArgs } from "@docsvision/webclient/BackOffice/IMainFileAddingArgs";
|
|
18
20
|
import { IMainFileDeletedArgs } from "@docsvision/webclient/BackOffice/IMainFileDeletedArgs";
|
|
19
21
|
import { IMainFileDeletingArgs } from "@docsvision/webclient/BackOffice/IMainFileDeletingArgs";
|
|
@@ -22,14 +24,14 @@ import { ISignatureCreatingArgs } from "@docsvision/webclient/BackOffice/ISignat
|
|
|
22
24
|
import { ISignatureListViewedArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewedArgs";
|
|
23
25
|
import { ISignatureListViewingArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewingArgs";
|
|
24
26
|
import { $FileListOptions, FileListControlImpl, FileListControlState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
25
|
-
import { $LayoutFileController, $SignatureController, $DataVisualizationController, $LayoutFileApiController, $LayoutDocumentController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
27
|
+
import { $LayoutFileController, $SignatureController, $DataVisualizationController, $LayoutFileApiController, $LayoutDocumentController, $SignatureMethodsController, $R7OfficeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
26
28
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
27
29
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
28
30
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
29
|
-
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
31
|
+
import { $ApplicationSettings, $DeviceType, $SiteUrl, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
30
32
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
31
33
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
32
|
-
import { $CardId, $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
34
|
+
import { $CardId, $CardInfo, $CardTimestamp, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
33
35
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
34
36
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
35
37
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -54,9 +56,7 @@ import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSign
|
|
|
54
56
|
import { IRowClickArgs } from "@docsvision/webclient/BackOffice/IRowClickArgs";
|
|
55
57
|
import { IFileVersionExpandingArgs } from "@docsvision/webclient/BackOffice/IFileVersionExpandingArgs";
|
|
56
58
|
import { IFileClickingArgs } from "@docsvision/webclient/BackOffice/IFileClickingArgs";
|
|
57
|
-
import {
|
|
58
|
-
import { IMainFileAdded } from "@docsvision/webclient/BackOffice/IMainFileAdded";
|
|
59
|
-
import { IExtraFileAdded } from "@docsvision/webclient/BackOffice/IExtraFileAdded";
|
|
59
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
60
60
|
/**
|
|
61
61
|
* Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
|
|
62
62
|
*/
|
|
@@ -146,10 +146,6 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
146
146
|
fileMenuOpening?: CancelableApiEvent<IFileMenuOpeningArgs>;
|
|
147
147
|
/** Событие возникает при разворачивании списка версий */
|
|
148
148
|
fileVersionExpanding?: CancelableApiEvent<IFileVersionExpandingArgs>;
|
|
149
|
-
/** Событие возникает перед изменением типа файла. */
|
|
150
|
-
fileTypeChanging?: CancelableApiEvent<IFileTypeChangeArgs>;
|
|
151
|
-
/** Событие возникает после изменения типа файла. */
|
|
152
|
-
fileTypeChanged?: BasicApiEvent<IFileTypeChangeArgs>;
|
|
153
149
|
/** Событие возникает после удаления основного файла. */
|
|
154
150
|
mainFileDeleted?: BasicApiEvent<IMainFileDeletedArgs>;
|
|
155
151
|
/** Событие возникает после удаления дополнительного файла. */
|
|
@@ -171,9 +167,9 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
171
167
|
/** Событие возникает после удаления комментария к версии файла. */
|
|
172
168
|
fileVersionCommentDeleted?: BasicApiEvent<IFileVersionCommentDeletedArgs>;
|
|
173
169
|
/** Событие возникает после добавления основного файла. */
|
|
174
|
-
mainFileAdded?: BasicApiEvent<
|
|
170
|
+
mainFileAdded?: BasicApiEvent<IMainFileAddedArgs>;
|
|
175
171
|
/** Событие возникает после добавления дополнительного файла. */
|
|
176
|
-
extraFileAdded?: BasicApiEvent<
|
|
172
|
+
extraFileAdded?: BasicApiEvent<IExtraFileAddedArgs>;
|
|
177
173
|
/** Событие возникает после открытия окна предварительного просмотра файла. */
|
|
178
174
|
filePreviewed?: BasicApiEvent<IFilePreviewedArgs>;
|
|
179
175
|
/** Событие возникает после отображением визуализации файла. */
|
|
@@ -195,7 +191,7 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
195
191
|
/** Сервисы. */
|
|
196
192
|
services?: FileListServices;
|
|
197
193
|
}
|
|
198
|
-
export declare type FileListServices = $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $CloudSignature & $CryptoPro & $LocalStorage & $SignatureMethodsController & $DigitalSignature & $LayoutManager & $LayoutInfo & $FileListOptions;
|
|
194
|
+
export declare type FileListServices = $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $CloudSignature & $CryptoPro & $LocalStorage & $SignatureMethodsController & $DigitalSignature & $LayoutManager & $LayoutInfo & $FileListOptions & $SiteUrl & $WebServices & $CardTimestamp & $R7OfficeController;
|
|
199
195
|
/**
|
|
200
196
|
* Класс элемента управления Список файлов.
|
|
201
197
|
*
|
|
@@ -14,7 +14,9 @@ export declare class FileListControlLogic {
|
|
|
14
14
|
lastSaveDeferred: DVPromise<any>;
|
|
15
15
|
parent: FileListControlImpl;
|
|
16
16
|
filesToRemove: FileListItem[];
|
|
17
|
+
openedInEditorFiles: string[];
|
|
17
18
|
static readonly illegalFileNameCharacters: RegExp;
|
|
19
|
+
static readonly terminalServiceUrl: string;
|
|
18
20
|
constructor(forceUpdate?: () => void);
|
|
19
21
|
init(_mainAttach: FileListAttachedElements, _extraAttach: FileListAttachedElements, _parent: FileListControlImpl): void;
|
|
20
22
|
loadFilesFromModel(model: GenModels.FileListDataModel, oldFiles?: FileListItem[]): FileListItem[];
|
|
@@ -42,8 +44,13 @@ export declare class FileListControlLogic {
|
|
|
42
44
|
protected removeFileFromServer(fileItem: FileListItem): Promise<any>;
|
|
43
45
|
changeFileTypeOnServer(fileItem: FileListItem): Promise<any>;
|
|
44
46
|
showPreviewIfSupported(fileItem: FileListItem, version?: GenModels.VersionedFileModel): void;
|
|
45
|
-
lockFile(fileItem: FileListItem):
|
|
46
|
-
unlockFile(fileItem: FileListItem):
|
|
47
|
+
lockFile(fileItem: FileListItem): Promise<any>;
|
|
48
|
+
unlockFile(fileItem: FileListItem): Promise<any>;
|
|
49
|
+
getVisibilityOpenFileButton(fileId: string): boolean;
|
|
50
|
+
openFile(fileItem: FileListItem, canEdit: boolean): Promise<void>;
|
|
51
|
+
private getOpenFileRequestData;
|
|
52
|
+
private sendOpenFileDvWebTool;
|
|
53
|
+
private sendOpenFileRequest;
|
|
47
54
|
showCommentsDialog(fileItem: FileListItem, versionId: string, enableAddComments: boolean): () => void;
|
|
48
55
|
showRenameFileDialog(fileItem: FileListItem): () => void;
|
|
49
56
|
loadFilesPart(skipCount: number): Promise<void>;
|
|
@@ -56,12 +63,11 @@ export declare class FileListControlLogic {
|
|
|
56
63
|
rowClick(fileItem: FileListItem): void;
|
|
57
64
|
nameClick(fileItem: FileListItem): Promise<void>;
|
|
58
65
|
removeFileItem(index: number): void;
|
|
59
|
-
clearFileItems(): void;
|
|
60
66
|
protected get state(): FileListImplState;
|
|
61
67
|
protected get props(): FileListControlParams;
|
|
62
|
-
protected deinitFileItem(item: FileListItem): void;
|
|
63
68
|
protected initJQueryUploader(attach: FileListAttachedElements, options: any): void;
|
|
64
69
|
protected onFilesAdded(main: boolean, attach: FileListAttachedElements, e: any, data: any): Promise<void>;
|
|
70
|
+
private getIncorrectNamed;
|
|
65
71
|
protected onFileSignAdded(fileItem: FileListItem, attach: FileListAttachedElements, data: any, canRename?: boolean): Promise<void>;
|
|
66
72
|
protected onFileVersionAdded(fileItem: FileListItem, attach: FileListAttachedElements, data: any, canRename?: boolean): void;
|
|
67
73
|
protected sendFiles(attach: FileListAttachedElements, items: FileListItem[], areVersions?: boolean, isSignature?: boolean): Promise<any>;
|
|
@@ -28,6 +28,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
|
|
|
28
28
|
protected onMenuClose(fileItem: FileListItem): void;
|
|
29
29
|
onLockOperationClick(fileItem: FileListItem): void;
|
|
30
30
|
onUnlockOperationClick(fileItem: FileListItem): void;
|
|
31
|
+
onOpenFileClick(fileItem: FileListItem): Promise<void>;
|
|
31
32
|
protected onDeleteOperationClick(fileItem: FileListItem): void;
|
|
32
33
|
protected onFileMenuClick(fileItem: FileListItem): Promise<void>;
|
|
33
34
|
protected onRowClick(fileItem: FileListItem): void;
|
|
@@ -2,7 +2,7 @@ import { FileListAttachedElements } from "@docsvision/webclient/BackOffice/FileL
|
|
|
2
2
|
import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
|
|
3
3
|
import { FileListControlLogic } from "@docsvision/webclient/BackOffice/FileListControlLogic";
|
|
4
4
|
import { $LayoutFileController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
|
-
import { $ApplicationSettings, $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
5
|
+
import { $ApplicationSettings, $DeviceType, $SiteUrl } from "@docsvision/webclient/StandardServices";
|
|
6
6
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
7
7
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
8
8
|
import { $CardId, $CardInfo, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
@@ -20,7 +20,7 @@ export declare class FileListItemProps {
|
|
|
20
20
|
logic: FileListControlLogic;
|
|
21
21
|
renderUploadForm: (attach: FileListAttachedElements, action: string, main?: boolean, type?: FileListFormType, fileItem?: FileListItem, accept?: string) => any;
|
|
22
22
|
key: string;
|
|
23
|
-
services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $ApplicationSettings & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo & $LayoutManager;
|
|
23
|
+
services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $ApplicationSettings & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo & $LayoutManager & $SiteUrl;
|
|
24
24
|
onClick?: any;
|
|
25
25
|
selected?: boolean;
|
|
26
26
|
importSignatureEditOperation?: string;
|
|
@@ -2,16 +2,12 @@ import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCa
|
|
|
2
2
|
import { ISignatureListItemDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDataModel";
|
|
3
3
|
import { LoadingState } from "@docsvision/webclient/System/LoadingState";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import { $LayoutDocumentController, $
|
|
5
|
+
import { $LayoutDocumentController, $SignatureController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
6
6
|
import { $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { Popover } from "@docsvision/webclient/Helpers/PopoverHelpers/Popover";
|
|
8
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
9
8
|
import { ISignatureListItemDetailDataModel } from "@docsvision/webclient/Legacy/ISignatureListItemDetailDataModel";
|
|
10
9
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
11
10
|
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
12
|
-
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
13
|
-
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
14
|
-
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
15
11
|
/** @internal */
|
|
16
12
|
export interface IFileSignListDialogProps {
|
|
17
13
|
/** Идентификатор документа. */
|
|
@@ -20,7 +16,7 @@ export interface IFileSignListDialogProps {
|
|
|
20
16
|
onInit?: () => void;
|
|
21
17
|
/** Вызывается при закрытии окна со списком подписей. */
|
|
22
18
|
onClose?: () => void;
|
|
23
|
-
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature
|
|
19
|
+
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature;
|
|
24
20
|
}
|
|
25
21
|
/** @internal */
|
|
26
22
|
export interface IFileSignListDialogState {
|
|
@@ -62,10 +58,6 @@ export declare class FileSignListDialog extends React.Component<IFileSignListDia
|
|
|
62
58
|
*/
|
|
63
59
|
protected renderSignatureDetails(signatureId: string, showTimestamp: boolean, detailsColumnCount: number, showExpireDate: boolean): any[];
|
|
64
60
|
private renderSignatureInfoPopover;
|
|
65
|
-
protected renderResultOfValidation(powerOfAttorneyData: GenModels.PowerOfAttorneyVerificationModel): JSX.Element;
|
|
66
|
-
private renderPowerOfAttorneyLink;
|
|
67
|
-
protected renderPowerOfAttorneyTitle(powerOfAttorneyData: GenModels.PowerOfAttorneyVerificationModel): JSX.Element;
|
|
68
|
-
protected renderPowerOfAttorneyInfo(powerOfAttorneyId: any): Promise<void>;
|
|
69
61
|
/** Отрисовывает таблицу с информацией о подписях. */
|
|
70
62
|
renderTable(): JSX.Element;
|
|
71
63
|
/** @internal */
|
|
@@ -5,5 +5,6 @@ import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
|
5
5
|
export declare const EMPLOYEE_GROUPS_CONTROL_NAME = "group";
|
|
6
6
|
export declare const TAB_CONTROL_NAME = "tab";
|
|
7
7
|
export declare const ADD_TAB_PAGE_CONTROL_NAME = "addTabPage";
|
|
8
|
+
export declare const MAIN_TAB_PAGE_CONTROL_NAME = "mainTab";
|
|
8
9
|
export declare function setEmployeeGroup(sender: LayoutControl, e: ICancelableEventArgs<ICardSavingEventArgs>): Promise<void>;
|
|
9
10
|
export declare function getEmployeeGroup(sender: LayoutControl, e: IEventArgs): Promise<void>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IFileOpenRequestModel {
|
|
2
|
+
serverAddress: string;
|
|
3
|
+
documentId: string;
|
|
4
|
+
fileName: string;
|
|
5
|
+
fileId: string;
|
|
6
|
+
fileCardId: string;
|
|
7
|
+
readonly: boolean;
|
|
8
|
+
timestamp: number;
|
|
9
|
+
token: string;
|
|
10
|
+
editor: string;
|
|
11
|
+
needUnlock: boolean;
|
|
12
|
+
isTask: boolean;
|
|
13
|
+
}
|
package/BackOffice/Links.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { $LayoutFileController, $LayoutLinksController, $LayoutController, $Card
|
|
|
7
7
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
8
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
9
9
|
import { Panel, PanelParams } from '@docsvision/webclient/Platform/Panel';
|
|
10
|
-
import { $ApplicationSettings, $DeviceType
|
|
10
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
11
11
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
12
12
|
import { $CardId, $CardInfo, $CardTimestamp, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
13
13
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -169,7 +169,7 @@ export declare class LinksParams extends PanelParams {
|
|
|
169
169
|
/** Событие возникает после открытия меню ссылки. */
|
|
170
170
|
linkMenuOpened?: BasicApiEvent<ILinkEventArgs>;
|
|
171
171
|
/** Сервисы */
|
|
172
|
-
services?: $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $ApplicationSettings & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & Optional<$LinksSearchCards> & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & Optional<$FilePreview
|
|
172
|
+
services?: $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $ApplicationSettings & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & Optional<$LinksSearchCards> & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & Optional<$FilePreview>;
|
|
173
173
|
}
|
|
174
174
|
export declare const defaultColumns: GenModels.LinksColumnsConfiguration;
|
|
175
175
|
/**
|