@docsvision/webclient 5.17.2-beta.3 → 6.1.0
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/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +2 -3
- 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/DssSignRequestModels.d.ts +2 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/ExistingCardLinkDialog.d.ts +2 -1
- package/BackOffice/FileListControl.d.ts +5 -4
- 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 -9
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/ICertificateStatus.d.ts +5 -4
- package/BackOffice/IFileOpenRequestModel.d.ts +13 -0
- package/BackOffice/LinksImpl.d.ts +1 -1
- package/BackOffice/NumeratorImpl.d.ts +1 -0
- 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 -8
- package/BackOffice/SignatureDialog.stories.d.ts +0 -4
- package/BackOffice/SignatureDialogFrame.d.ts +0 -2
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +0 -18
- 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/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +1894 -2046
- package/Generated/DocsVision.WebClient.Models.d.ts +4621 -7273
- package/Helpers/Button.d.ts +0 -2
- package/Helpers/ComandBarButton.d.ts +0 -2
- package/Helpers/ComboBox/ComboBoxElement.d.ts +2 -0
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +2 -0
- package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +1 -1
- package/Helpers/IconButton.d.ts +0 -2
- package/Helpers/LabeledText.d.ts +3 -1
- package/Helpers/ModalDialog/ModalDialog.d.ts +0 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +4 -1
- package/Helpers/Table/TableHelperRow.d.ts +0 -1
- package/Legacy/ApprovalFilePanel.d.ts +14 -3
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/DocumentCard.d.ts +1 -1
- 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 +12 -3
- package/Legacy/TaskCardView.d.ts +1 -0
- package/Legacy/Utils.d.ts +5 -0
- package/Platform/AutoConsolidation.d.ts +2 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CardLink.d.ts +8 -6
- 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 +5 -0
- 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 +3 -8
- package/Platform/FileViewer.d.ts +24 -0
- package/Platform/GetDocType.d.ts +1 -0
- package/Platform/GetFileType.d.ts +1 -0
- package/Platform/IsImageExtension.d.ts +1 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/PdfjsViewer.d.ts +13 -0
- package/Platform/R7Viewer.d.ts +13 -0
- package/Platform/ScanButtonImpl.d.ts +1 -0
- 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/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/System/$FileService.d.ts +2 -0
- package/System/$RealtimeCommunicationService.d.ts +2 -0
- 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 +1 -0
- package/System/JsonUtils.d.ts +1 -0
- package/System/RealtimeCommunicationService.d.ts +3 -1
- package/System/RealtimeServerSender.d.ts +1 -2
- package/System/ResourcesStub.d.ts +2 -61
- package/System/ServerController.d.ts +2 -2
- package/System/ServiceActionMetaData.d.ts +2 -2
- package/System/WebServicesService.d.ts +2 -2
- package/package.json +1 -1
- package/BackOffice/CheckSectionAccessRights.d.ts +0 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +0 -6
- 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/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 -12
- package/BackOffice/Powers.d.ts +0 -72
- package/BackOffice/Powers.stories.d.ts +0 -20
- 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/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/WebCDev/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/WebCDev/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected taskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected selectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("
|
|
45
|
+
import("C:/Dev/WebCDev/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected fileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("
|
|
50
|
+
import("C:/Dev/WebCDev/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected selectAllCheckboxLabel:
|
|
@@ -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/WebCDev/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -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,7 +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
20
|
/** @internal */
|
|
22
21
|
export declare class DigitalSignatureService implements IDigitalSignatureService {
|
|
23
22
|
private services;
|
|
@@ -27,7 +26,7 @@ export declare class DigitalSignatureService implements IDigitalSignatureService
|
|
|
27
26
|
updateCurrentDialog: () => void;
|
|
28
27
|
beforeSignatureDialogShown: Event<BeforeSignatureDialogShowEventArgs>;
|
|
29
28
|
afterSignatureDialogShown: Event<AfterSignatureDialogShowEventArgs>;
|
|
30
|
-
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);
|
|
31
30
|
showDocumentSignDialog(documentId: string, optionsArg?: ISignatureDialogOptions): Promise<void>;
|
|
32
31
|
getCurrentDialogManagement(): IDigitalSignatureDialogManagement;
|
|
33
32
|
createDocumentSignature(options: IDigitalSignOptions): Promise<IEncryptedInfo>;
|
|
@@ -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/WebCDev/Bin/TypeScriptDefinitions/Generated/DocsVision.WebClient.Controllers").$LayoutController> &
|
|
64
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
65
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
66
|
+
import("C:/Dev/WebCDev/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/WebCDev/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/WebCDev/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/WebCDev/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;
|
|
@@ -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/WebCDev/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;
|
|
@@ -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/WebCDev/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 {};
|
|
@@ -24,14 +24,14 @@ import { ISignatureCreatingArgs } from "@docsvision/webclient/BackOffice/ISignat
|
|
|
24
24
|
import { ISignatureListViewedArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewedArgs";
|
|
25
25
|
import { ISignatureListViewingArgs } from "@docsvision/webclient/BackOffice/ISignatureListViewingArgs";
|
|
26
26
|
import { $FileListOptions, FileListControlImpl, FileListControlState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
27
|
-
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";
|
|
28
28
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
29
29
|
import { $DocumentCardController } from "@docsvision/webclient/Legacy/DocumentCard";
|
|
30
30
|
import { $FileController } from "@docsvision/webclient/Legacy/FileController";
|
|
31
|
-
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
31
|
+
import { $ApplicationSettings, $DeviceType, $SiteUrl, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
32
32
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
33
33
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
34
|
-
import { $CardId, $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
34
|
+
import { $CardId, $CardInfo, $CardTimestamp, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
35
35
|
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
36
36
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
37
37
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -56,6 +56,7 @@ import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSign
|
|
|
56
56
|
import { IRowClickArgs } from "@docsvision/webclient/BackOffice/IRowClickArgs";
|
|
57
57
|
import { IFileVersionExpandingArgs } from "@docsvision/webclient/BackOffice/IFileVersionExpandingArgs";
|
|
58
58
|
import { IFileClickingArgs } from "@docsvision/webclient/BackOffice/IFileClickingArgs";
|
|
59
|
+
import { $WebServices } from "@docsvision/webclient/System/IWebServicesService";
|
|
59
60
|
/**
|
|
60
61
|
* Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
|
|
61
62
|
*/
|
|
@@ -190,7 +191,7 @@ export declare class FileListControlParams extends BaseControlParams {
|
|
|
190
191
|
/** Сервисы. */
|
|
191
192
|
services?: FileListServices;
|
|
192
193
|
}
|
|
193
|
-
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;
|
|
194
195
|
/**
|
|
195
196
|
* Класс элемента управления Список файлов.
|
|
196
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,17 +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
|
-
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
16
11
|
/** @internal */
|
|
17
12
|
export interface IFileSignListDialogProps {
|
|
18
13
|
/** Идентификатор документа. */
|
|
@@ -21,7 +16,7 @@ export interface IFileSignListDialogProps {
|
|
|
21
16
|
onInit?: () => void;
|
|
22
17
|
/** Вызывается при закрытии окна со списком подписей. */
|
|
23
18
|
onClose?: () => void;
|
|
24
|
-
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $
|
|
19
|
+
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature;
|
|
25
20
|
}
|
|
26
21
|
/** @internal */
|
|
27
22
|
export interface IFileSignListDialogState {
|
|
@@ -63,8 +58,6 @@ export declare class FileSignListDialog extends React.Component<IFileSignListDia
|
|
|
63
58
|
*/
|
|
64
59
|
protected renderSignatureDetails(signatureId: string, showTimestamp: boolean, detailsColumnCount: number, showExpireDate: boolean): any[];
|
|
65
60
|
private renderSignatureInfoPopover;
|
|
66
|
-
protected renderResultOfValidation(powerOfAttorneyData: GenModels.PowerOfAttorneyVerificationModel): JSX.Element;
|
|
67
|
-
protected renderPowerOfAttorneyInfo(powerOfAttorneyId: any): Promise<void>;
|
|
68
61
|
/** Отрисовывает таблицу с информацией о подписях. */
|
|
69
62
|
renderTable(): JSX.Element;
|
|
70
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
|
+
}
|
|
@@ -90,7 +90,7 @@ export declare class LinksImpl extends PanelImpl<LinksParams, LinksState> {
|
|
|
90
90
|
protected getShowFilesForLinksTypesIds: () => string[];
|
|
91
91
|
protected hideInfoPopover(linkItem: LinkItem): void;
|
|
92
92
|
protected showInfoPopover(linkItem: LinkItem): void;
|
|
93
|
-
protected updateInfoPopopverPosition: () => void;
|
|
93
|
+
protected updateInfoPopopverPosition: (ev: MouseEvent, element: Popover) => void;
|
|
94
94
|
protected onLinkInfoEdited(linkItem: LinkItem): void;
|
|
95
95
|
protected preventDisclosureToggle: (event: React.MouseEvent<any>) => void;
|
|
96
96
|
protected onShowColumnSettingsDialog: () => Promise<void>;
|
|
@@ -39,6 +39,7 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
|
|
|
39
39
|
protected onClearClick(): void;
|
|
40
40
|
protected editInPlaceModeRender(): JSX.Element;
|
|
41
41
|
protected getLeftButtons(): IBoxWithButtonsButtonInfo[];
|
|
42
|
+
protected onButtonBlur(event: React.FocusEvent<any>): void;
|
|
42
43
|
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
43
44
|
wrapWithButtons(children?: React.ReactNode): JSX.Element;
|
|
44
45
|
protected renderWithText(): JSX.Element;
|
|
@@ -69,8 +69,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
69
69
|
export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
|
|
70
70
|
/** @internal */
|
|
71
71
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
72
|
-
import("
|
|
73
|
-
import("
|
|
72
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
73
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
74
74
|
/** @internal */
|
|
75
75
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
76
76
|
private set partnerBindingHandler(value);
|
|
@@ -94,6 +94,7 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
94
94
|
protected getIconLabel(): string;
|
|
95
95
|
protected onMouseDownIcon(): void;
|
|
96
96
|
protected getIconClassName(): string;
|
|
97
|
+
protected onButtonBlur(event: React.FocusEvent<any>): void;
|
|
97
98
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
98
99
|
protected editInPlaceModeRender(): JSX.Element;
|
|
99
100
|
protected onIconClick(): void;
|
|
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
39
39
|
export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
|
|
40
40
|
/** @internal */
|
|
41
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
42
|
-
import("
|
|
43
|
-
import("
|
|
44
|
-
import("
|
|
42
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $DeviceType & $LayoutStaffController & $DepartmentController;
|
|
45
45
|
/** @internal */
|
|
46
46
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
47
47
|
init(): Promise<void>;
|
|
@@ -113,6 +113,7 @@ import("styled-components").StyledComponent<typeof SimpleItemViewContent, any, I
|
|
|
113
113
|
protected getDepartmentCache(id: string): IPartnerChildrenCacheItem;
|
|
114
114
|
protected clearCache(): void;
|
|
115
115
|
protected loadChildrenList(departmentId: string, from: number, to: number): Promise<IPartnerDirectoryTreeItem[]>;
|
|
116
|
+
private getDepartmentId;
|
|
116
117
|
protected onChildrenLoaded(response: GenModels.PartnerTreeLoadResponse, departmentId: string, from: number): void;
|
|
117
118
|
protected onReactListLoadRequest: (indexes: number[]) => void;
|
|
118
119
|
protected search(query: GenModels.PartnerQuickSearchQuery, reset: boolean): Promise<{}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class PrintButtonView {
|
|
3
3
|
dropdownButton: (props:
|
|
4
|
-
import("
|
|
4
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { $ApplicationSettings, $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
3
3
|
import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignature";
|
|
4
|
-
import { $
|
|
4
|
+
import { $SignatureController, $SignatureMethodsController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
5
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
6
|
import { $CryptoPro } from "@docsvision/webclient/BackOffice/$CryptoPro";
|
|
7
7
|
import { SignatureDialogLogic } from "@docsvision/webclient/BackOffice/SignatureDialogLogic";
|
|
@@ -18,11 +18,7 @@ import { IDigitalSignOptions } from "@docsvision/webclient/BackOffice/$DigitalSi
|
|
|
18
18
|
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
19
19
|
import { Focusable } from "@docsvision/web/components/focus-management";
|
|
20
20
|
import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
21
|
-
|
|
22
|
-
import { PowerOfAttorneyErrorMessage } from "@docsvision/webclient/BackOffice/PowerOfAttorneyErrorMessage";
|
|
23
|
-
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
24
|
-
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
25
|
-
export declare type $SignatureDialogServices = $SignatureController & $WebViewIOSEnabled & $CloudSignature & $MessageBox & $CryptoPro & $ApplicationSettings & $LocalStorage & $SignatureMethodsController & $Resources & $CardInfo & $DeviceType & $PowerOfAttorneyApiController & $Router & $MessageWindow;
|
|
21
|
+
export declare type $SignatureDialogServices = $SignatureController & $WebViewIOSEnabled & $CloudSignature & $MessageBox & $CryptoPro & $ApplicationSettings & $LocalStorage & $SignatureMethodsController & $Resources & $CardInfo & $DeviceType;
|
|
26
22
|
/** Свойства для {@see SignatureDialog}. */
|
|
27
23
|
export interface ISignatureDialogProps extends IComponentProps<SignatureDialogLogic, SignatureDialogView> {
|
|
28
24
|
/** Идентификатор документа. */
|
|
@@ -61,11 +57,9 @@ export declare class SignatureDialogView {
|
|
|
61
57
|
frame: typeof SignatureDialogFrame;
|
|
62
58
|
loader: typeof SignatureDialogLoader;
|
|
63
59
|
labels: typeof SignatureDialogLabels;
|
|
64
|
-
powersOfAttorney: typeof SignatureDialogPowersOfAttorney;
|
|
65
60
|
noPluginMessage: typeof SignatureDialogNoPluginMessage;
|
|
66
61
|
methods: typeof SignatureDialogMethods;
|
|
67
62
|
settings: typeof SignatureDialogSettings;
|
|
68
|
-
errorMessage: typeof PowerOfAttorneyErrorMessage;
|
|
69
63
|
contentWrapper: typeof Focusable;
|
|
70
64
|
/** Точка расширения для партнеров */
|
|
71
65
|
footer: (logic: SignatureDialogLogic) => React.ReactNode;
|
|
@@ -9,8 +9,4 @@ export declare const Default: () => JSX.Element;
|
|
|
9
9
|
export declare const Loading: () => JSX.Element;
|
|
10
10
|
export declare const NoPlugin: () => JSX.Element;
|
|
11
11
|
export declare const NoCloud: () => JSX.Element;
|
|
12
|
-
export declare const WithoutRequiredPowerOfAttorney: () => JSX.Element;
|
|
13
|
-
export declare const WithoutNotRequiredPowerOfAttorney: () => JSX.Element;
|
|
14
|
-
export declare const WithPowerOfAttorney: () => JSX.Element;
|
|
15
|
-
export declare const InformationAboutPowerOfAttorney: () => JSX.Element;
|
|
16
12
|
export declare const SettingsDialogOpen: () => JSX.Element;
|
|
@@ -12,8 +12,6 @@ export interface ISignatureDialogButtonsProps {
|
|
|
12
12
|
cancelButtonText?: string;
|
|
13
13
|
/** Текст в заголовке диалога. */
|
|
14
14
|
dialogHeaderText?: string;
|
|
15
|
-
canShowInfo: boolean;
|
|
16
|
-
showPowerOfAttorneyInfo: () => void;
|
|
17
15
|
onSign: () => void;
|
|
18
16
|
onCancel: () => void;
|
|
19
17
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IComboBoxElement } from "@docsvision/webclient/Helpers/ComboBox/Data/ClientModels/IComboBoxElement";
|
|
3
3
|
import { ISignatureLabel } from "@docsvision/webclient/Legacy/ISignatureLabel";
|
|
4
|
-
export interface
|
|
4
|
+
export interface ISignatureDialogLabelsPops {
|
|
5
5
|
labels: IComboBoxElement[];
|
|
6
6
|
selectedLabel: ISignatureLabel;
|
|
7
7
|
onSelectLabel: (label: ISignatureLabel) => void;
|
|
8
8
|
}
|
|
9
|
-
export declare function SignatureDialogLabels(props:
|
|
9
|
+
export declare function SignatureDialogLabels(props: ISignatureDialogLabelsPops): JSX.Element;
|
|
@@ -27,24 +27,6 @@ import("effector").Store<IComboBoxElement[]>;
|
|
|
27
27
|
import("effector").Store<ISignatureLabel>;
|
|
28
28
|
selectLabel:
|
|
29
29
|
import("effector").Event<ISignatureLabel>;
|
|
30
|
-
$powersOfAttorney:
|
|
31
|
-
import("effector").Store<GenModels.PowerOfAttorneyModel[]>;
|
|
32
|
-
$powersOfAttorneyComboBoxItems:
|
|
33
|
-
import("effector").Store<IComboBoxElement[]>;
|
|
34
|
-
$selectedPowerOfAttorney:
|
|
35
|
-
import("effector").Store<GenModels.PowerOfAttorneyModel>;
|
|
36
|
-
$powerOfAttorneyUseStatus:
|
|
37
|
-
import("effector").Store<GenModels.PowerOfAttorneyUseStatus>;
|
|
38
|
-
$errorMessage:
|
|
39
|
-
import("effector").Store<string>;
|
|
40
|
-
selectPowerOfAttorney:
|
|
41
|
-
import("effector").Event<GenModels.PowerOfAttorneyModel>;
|
|
42
|
-
loadPowersOfAttorneyData:
|
|
43
|
-
import("effector").Effect<{
|
|
44
|
-
cardID: string;
|
|
45
|
-
}, GenModels.FindPowersOfAttorneyResponse, Error>;
|
|
46
|
-
showPowerOfAttorneyInfo:
|
|
47
|
-
import("effector").Effect<void, void, Error>;
|
|
48
30
|
$selectedMethod:
|
|
49
31
|
import("effector").Store<GenModels.SignatureMethod>;
|
|
50
32
|
selectMethod:
|