@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { $FilePreviewServices, FilePreviewParams } from '@docsvision/webclient/Platform/FilePreview';
|
|
2
|
+
import { FilePreviewImpl, FilePreviewState, IFilePreviewState } from '@docsvision/webclient/Platform/FilePreviewImpl';
|
|
3
|
+
import { SyntheticEvent } from 'react';
|
|
4
|
+
export interface IFileViewerConstructor {
|
|
5
|
+
new (state: IFilePreviewState, props: FilePreviewParams, component: FilePreviewImpl): FileViewer;
|
|
6
|
+
}
|
|
7
|
+
export interface IFileViewerIframeElements {
|
|
8
|
+
errorWrapperId: string;
|
|
9
|
+
downloadButtonsId: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare abstract class FileViewer {
|
|
12
|
+
abstract services: $FilePreviewServices;
|
|
13
|
+
component: FilePreviewImpl;
|
|
14
|
+
constructor(state: FilePreviewState, props: FilePreviewParams, component: FilePreviewImpl);
|
|
15
|
+
getViewerUrl(): void;
|
|
16
|
+
getPreview(): void;
|
|
17
|
+
onFrameLoaded: (ev: SyntheticEvent<HTMLIFrameElement>, elements?: {
|
|
18
|
+
errorWrapperId: string;
|
|
19
|
+
downloadButtonsId: any[];
|
|
20
|
+
}) => void;
|
|
21
|
+
processFrameLoadErrors(iframe: HTMLIFrameElement, elements: IFileViewerIframeElements): void;
|
|
22
|
+
addObserver(frameDoc: Document, errorWrapperId: string): void;
|
|
23
|
+
addDownloadButtonHandlers(frameDoc: Document, downloadButtonsId: string[]): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDocType(fileExtension: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFileType(fileExtension: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isImageExtension: (ext: string) => boolean;
|
|
@@ -12,7 +12,7 @@ export declare class LoaderDialog extends React.Component<Props, State> {
|
|
|
12
12
|
cancel: () => void;
|
|
13
13
|
DialogBox:
|
|
14
14
|
import("styled-components").StyledComponent<(props:
|
|
15
|
-
import("
|
|
15
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
16
16
|
LoadingSpan:
|
|
17
17
|
import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
18
18
|
render(): JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { FileViewer } from '@docsvision/webclient/Platform/FileViewer';
|
|
4
|
+
import { $FilePreviewServices, FilePreviewParams } from "@docsvision/webclient/Platform/FilePreview";
|
|
5
|
+
import { FilePreviewImpl, FilePreviewState } from "@docsvision/webclient/Platform/FilePreviewImpl";
|
|
6
|
+
export declare class PdfjsViewer extends FileViewer {
|
|
7
|
+
services: $FilePreviewServices;
|
|
8
|
+
type: GenModels.FilePreviewMode;
|
|
9
|
+
constructor(state: FilePreviewState, props: FilePreviewParams, component: FilePreviewImpl);
|
|
10
|
+
getPreview: () => JSX.Element;
|
|
11
|
+
getViewerUrl(): string;
|
|
12
|
+
getFileUrl(): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { FileViewer } from '@docsvision/webclient/Platform/FileViewer';
|
|
4
|
+
import { $FilePreviewServices, FilePreviewParams } from "@docsvision/webclient/Platform/FilePreview";
|
|
5
|
+
import { FilePreviewImpl, FilePreviewState } from "@docsvision/webclient/Platform/FilePreviewImpl";
|
|
6
|
+
export declare class R7Viewer extends FileViewer {
|
|
7
|
+
services: $FilePreviewServices;
|
|
8
|
+
component: FilePreviewImpl;
|
|
9
|
+
type: GenModels.FilePreviewMode;
|
|
10
|
+
accessToken: string;
|
|
11
|
+
constructor(state: FilePreviewState, props: FilePreviewParams, component: FilePreviewImpl);
|
|
12
|
+
getPreview: () => JSX.Element;
|
|
13
|
+
}
|
|
@@ -17,6 +17,7 @@ export declare class ScanButtonImpl extends BaseControlImpl<ScanButtonParams, IS
|
|
|
17
17
|
set scanCommandBarExpanded(val: boolean);
|
|
18
18
|
set mainFilesExpanded(val: boolean);
|
|
19
19
|
protected getCssClass(): string;
|
|
20
|
+
isLinuxOS(): boolean;
|
|
20
21
|
onToggleTableClick(main: boolean): void;
|
|
21
22
|
onToggleCommandBarClick(ev?: React.MouseEvent): void;
|
|
22
23
|
onAddClick(main: boolean, ev?: React.MouseEvent): Promise<void>;
|
|
@@ -28,7 +28,7 @@ export declare class SecurityDescriptorDialogView {
|
|
|
28
28
|
frame: (props:
|
|
29
29
|
import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
|
|
30
30
|
table: (props:
|
|
31
|
-
import("
|
|
31
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
|
|
32
32
|
tableHead: (props:
|
|
33
33
|
import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
|
|
34
34
|
inheritanceButtons: typeof AccessInheritanceButtons;
|
|
@@ -62,7 +62,7 @@ import("effector").Event<boolean>;
|
|
|
62
62
|
getGridUserDataFx:
|
|
63
63
|
import("effector").Effect<string, {
|
|
64
64
|
settings: GenModels.GridUserSettingsData;
|
|
65
|
-
|
|
65
|
+
filteredColumns: GenModels.ViewColumnModel[];
|
|
66
66
|
}, Error>;
|
|
67
67
|
saveGridUserSettingsFx:
|
|
68
68
|
import("effector").Effect<void, void, Error>;
|
package/Platform/Table.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
|
14
14
|
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
15
15
|
import { Optional } from '@docsvision/web/core/services';
|
|
16
16
|
import { SaveControlDataModelEventArgs } from '@docsvision/webclient/System/Layout';
|
|
17
|
+
import { IRowInfo } from "@docsvision/webclient/Platform/IRowInfo";
|
|
17
18
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
18
19
|
/**
|
|
19
20
|
* Содержит публичные свойства элемента управления [Таблица]{@link Table}.
|
|
@@ -144,10 +145,19 @@ export declare class Table extends Panel<TableParams, ITableState> {
|
|
|
144
145
|
* @param rowId Идентификатор удаляемой строки
|
|
145
146
|
*/
|
|
146
147
|
removeRow(rowId: string): Promise<Table>;
|
|
148
|
+
/**
|
|
149
|
+
* Удалить все строки таблицы
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
clear(): Promise<void>;
|
|
147
153
|
/** Включает режим отложенных изменений, при котором добавление и удаление строк не сохраняется на сервер сразу при вызове методов. */
|
|
148
154
|
beginEdit(): void;
|
|
149
155
|
/** Выключает режим отложенных изменений и сохраняет произведенные правки, если необходимо. */
|
|
150
156
|
endEdit(): Promise<this>;
|
|
157
|
+
/** Изменяет порядок строк. */
|
|
158
|
+
reorderRows(newOrder: string[], sortedItems: string[]): void;
|
|
159
|
+
/** Получает информацию о строках таблицы */
|
|
160
|
+
getRowsInfo(): IRowInfo[];
|
|
151
161
|
/** Получает информацию о текущем порядке строк. */
|
|
152
162
|
getRowsOrder(): string[];
|
|
153
163
|
/** @internal */
|
package/Platform/TableImpl.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare class TableImpl extends PanelImpl<TableParams, ITableState> {
|
|
|
70
70
|
*/
|
|
71
71
|
protected checkRowIsEmpty(rowIndex: number): boolean;
|
|
72
72
|
removeRowInternal(rowIndex: number, isEmpty?: boolean): Promise<Table>;
|
|
73
|
+
clear: () => Promise<void>;
|
|
73
74
|
protected onRemoveRowClick(row: IRowInfo): void;
|
|
74
75
|
protected onEditRowClick(row: IRowInfo): void;
|
|
75
76
|
protected getCssClass(): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IUnreadBarService } from '@docsvision/webclient/Platform/$UnreadBar';
|
|
2
|
-
import { $
|
|
2
|
+
import { $BaseCardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
3
|
import { PerformOnce } from '@docsvision/webclient/Legacy/Utils';
|
|
4
4
|
import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
|
|
5
5
|
import { IRowData } from '@docsvision/web/components/table/interfaces';
|
|
@@ -12,6 +12,6 @@ export declare class UnreadBarService implements IUnreadBarService {
|
|
|
12
12
|
private services;
|
|
13
13
|
performOnce: PerformOnce;
|
|
14
14
|
rowToggled: Event<IRowData>;
|
|
15
|
-
constructor(services: $
|
|
15
|
+
constructor(services: $BaseCardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder);
|
|
16
16
|
toggleUnread(rowData: IRowData): Promise<any>;
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
2
2
|
import { $UnreadBar } from '@docsvision/webclient/Platform/$UnreadBar';
|
|
3
|
-
import { $
|
|
3
|
+
import { $BaseCardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
4
4
|
import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
|
|
5
5
|
import { TablePlugins, ITablePlugins } from '@docsvision/web/components/table/interfaces';
|
|
6
6
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
@@ -11,7 +11,7 @@ export declare const UnreadBarFeature = "UnreadBarFeature";
|
|
|
11
11
|
export declare const UNREAD_BAR_COLUMN_VISIBILITY = "UnreadBarVisibility";
|
|
12
12
|
export declare const UnreadBarTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
13
13
|
export declare const UnreadBarListViewTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
14
|
-
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $
|
|
14
|
+
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $BaseCardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder>;
|
|
15
15
|
export declare const UnreadBarTableRowMountEffect: TablePlugins.Row.MountEffect<$ApplicationSettings & $UnreadBar>;
|
|
16
16
|
export declare const UnreadBarTableRowDecorator: TablePlugins.Row.Decorator<$ApplicationSettings & $UnreadBar>;
|
|
17
17
|
export declare const UnreadBarTableHeaderCellPlugin: TablePlugins.HeaderCell.Component<$ApplicationSettings>;
|
|
@@ -5,7 +5,6 @@ import { ILocalCounterData } from "@docsvision/webclient/Platform/ILocalCounter"
|
|
|
5
5
|
import { IUnreadCountersData } from "@docsvision/webclient/Platform/IUnreadCountersData";
|
|
6
6
|
import { IBasicEvent } from "@docsvision/webclient/System/IBasicEvent";
|
|
7
7
|
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
8
|
-
import { IRealtimeCommunicationHub } from "@docsvision/webclient/System/IRealtimeCommunicationHub";
|
|
9
8
|
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
10
9
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
11
10
|
/** @internal */
|
|
@@ -55,7 +54,7 @@ export declare class UnreadCounter implements IUnreadCounter {
|
|
|
55
54
|
protected onApplicationActivityRestored(): void;
|
|
56
55
|
refreshServerState(): void;
|
|
57
56
|
protected sendFoldersToService(preventAwakeOrCreateSession?: boolean): void;
|
|
58
|
-
protected sendFoldersToServer: (message: IRealTimeCommunicationMessage<any>,
|
|
57
|
+
protected sendFoldersToServer: (message: IRealTimeCommunicationMessage<any>, connection: signalR.HubConnection) => Promise<void>;
|
|
59
58
|
protected processResponse: (response: IRealTimeCommunicationMessage<UnreadCountersResponse>) => void;
|
|
60
59
|
protected getCurrentEmployee(): string;
|
|
61
60
|
}
|
|
@@ -26,7 +26,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
|
|
|
26
26
|
private attachRoot;
|
|
27
27
|
DialogBox:
|
|
28
28
|
import("styled-components").StyledComponent<(props:
|
|
29
|
-
import("
|
|
29
|
+
import("C:/Dev/WebCDev/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
30
30
|
close(): void;
|
|
31
31
|
render(): JSX.Element;
|
|
32
32
|
}
|
package/System/$FileService.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
2
2
|
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
4
|
export declare enum FileServiceOrder {
|
|
4
5
|
Primary = 0,
|
|
5
6
|
Secondary = 1
|
|
@@ -19,6 +20,7 @@ export interface IFileService {
|
|
|
19
20
|
selectedFileWasChanged: SimpleEvent<any>;
|
|
20
21
|
fileListWasChanged: SimpleEvent<any>;
|
|
21
22
|
selectedFile: IFileServiceItem;
|
|
23
|
+
selectedVersion: GenModels.VersionedFileModel;
|
|
22
24
|
}
|
|
23
25
|
export declare type $FileService = {
|
|
24
26
|
fileService: IFileService;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
2
2
|
import { RealtimeServerSender } from "@docsvision/webclient/System/RealtimeServerSender";
|
|
3
3
|
import { RealtimeSubscriber } from "@docsvision/webclient/System/RealtimeSubscriber";
|
|
4
|
+
import { NotyDef } from '@docsvision/webclient/System/PopupNotification';
|
|
4
5
|
export interface IRealtimeCommunicationService {
|
|
5
6
|
sendToServer<T>(message: IRealTimeCommunicationMessage<T>): void;
|
|
6
7
|
sendBetweenTabs<T>(message: IRealTimeCommunicationMessage<T>, targetTabs?: string[], sync?: boolean): void;
|
|
@@ -16,6 +17,7 @@ export interface IRealtimeCommunicationService {
|
|
|
16
17
|
readonly currentTabId: string;
|
|
17
18
|
readonly masterTabId: string | undefined;
|
|
18
19
|
readonly sessionId: string;
|
|
20
|
+
popupNotification?: NotyDef;
|
|
19
21
|
}
|
|
20
22
|
export declare type $RealtimeCommunicationService = {
|
|
21
23
|
realtimeCommunicationService: IRealtimeCommunicationService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isLinuxOS(): boolean;
|
|
@@ -6,7 +6,7 @@ export declare enum HttpMethods {
|
|
|
6
6
|
Post = 1
|
|
7
7
|
}
|
|
8
8
|
/** @internal */
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class ControllerBase {
|
|
10
10
|
protected services: $RequestManager;
|
|
11
11
|
constructor(services?: $RequestManager);
|
|
12
12
|
protected basePostRequest(url: string, data: any, options?: RequestOptions): Promise<any>;
|
package/System/Decorators.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/** @deprecated Используйте
|
|
1
|
+
/** @deprecated Используйте ControllerBase */
|
|
2
2
|
export declare function action(target: object, propertyKey: string, descriptor: TypedPropertyDescriptor<any>): TypedPropertyDescriptor<any>;
|
|
3
|
-
/** @deprecated Используйте
|
|
3
|
+
/** @deprecated Используйте ControllerBase */
|
|
4
4
|
export declare function apiAction(target: object, propertyKey: string, descriptor: TypedPropertyDescriptor<any>): TypedPropertyDescriptor<any>;
|
|
5
|
-
/** @deprecated Используйте
|
|
5
|
+
/** @deprecated Используйте ControllerBase */
|
|
6
6
|
export declare function controllerAction(url: string): (target: object, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>;
|
|
7
|
-
/** @deprecated Используйте
|
|
7
|
+
/** @deprecated Используйте ControllerBase */
|
|
8
8
|
export declare function arg(name: string): (target: object, propertyKey: string, parameterIndex: number) => void;
|
|
9
|
-
/** @deprecated Используйте
|
|
9
|
+
/** @deprecated Используйте ControllerBase */
|
|
10
10
|
export declare function postData(target: object, propertyKey: string, parameterIndex: number): void;
|
|
11
|
-
/** @deprecated Используйте
|
|
11
|
+
/** @deprecated Используйте ControllerBase */
|
|
12
12
|
export declare let ServiceActionPostDataArgumentName: string;
|
|
13
|
-
/** @deprecated Используйте
|
|
13
|
+
/** @deprecated Используйте ControllerBase */
|
|
14
14
|
export declare function controller(name: string): (target: object) => void;
|
|
@@ -82,6 +82,7 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
|
|
|
82
82
|
protected renderSelectDialogInternal(): JSX.Element;
|
|
83
83
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
84
84
|
protected getLastFilterState(): string;
|
|
85
|
+
protected onButtonBlur(event: React.FocusEvent<any>): void;
|
|
85
86
|
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
86
87
|
protected renderTypeaheadInput(): JSX.Element;
|
|
87
88
|
protected onTypeaheadOpened(): void;
|
|
@@ -34,7 +34,6 @@ export interface IDirectorySelectDialogProps<ValueT extends NodeT | ItemT | Node
|
|
|
34
34
|
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
35
35
|
maximized?: boolean;
|
|
36
36
|
services?: any;
|
|
37
|
-
dataTestId?: string;
|
|
38
37
|
}
|
|
39
38
|
/** @internal */
|
|
40
39
|
export interface IDirectoryChildrenCacheItem<DataT extends GenModels.IDirectoryItemData> {
|
|
@@ -78,10 +77,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
|
|
|
78
77
|
protected modalHost: CommonModalDialogHost;
|
|
79
78
|
static SimpleItemView:
|
|
80
79
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
81
|
-
import("
|
|
80
|
+
import("C:/Dev/WebCDev/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
82
81
|
static SimpleItemViewCompact:
|
|
83
82
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
84
|
-
import("
|
|
83
|
+
import("C:/Dev/WebCDev/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
85
84
|
/** @internal */
|
|
86
85
|
state: StateT;
|
|
87
86
|
searchInput: HTMLInputElement;
|
package/System/FileService.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { FileServiceOrder, IFileService, IFileServiceItem } from '@docsvision/webclient/System/$FileService';
|
|
2
2
|
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
4
|
export declare class FileService implements IFileService {
|
|
4
5
|
_selectedFile: IFileServiceItem;
|
|
5
6
|
files: IFileServiceItem[];
|
|
6
7
|
fileGroups: IFileServiceItem[][];
|
|
8
|
+
_selectedVersion: GenModels.VersionedFileModel;
|
|
7
9
|
constructor();
|
|
8
10
|
get selectedFile(): IFileServiceItem;
|
|
9
11
|
set selectedFile(val: IFileServiceItem);
|
|
12
|
+
get selectedVersion(): GenModels.VersionedFileModel;
|
|
13
|
+
set selectedVersion(val: GenModels.VersionedFileModel);
|
|
10
14
|
getFiles(): IFileServiceItem[];
|
|
11
15
|
getFileGroups(): IFileServiceItem[][];
|
|
12
16
|
setFileGroups(groups: IFileServiceItem[][], files?: IFileServiceItem[]): void;
|
|
@@ -114,6 +114,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
114
114
|
protected renderPlaceholder(): JSX.Element;
|
|
115
115
|
protected renderPlaceholderEditInPlace(): JSX.Element;
|
|
116
116
|
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
117
|
+
protected onIconKeyDown(e: React.KeyboardEvent): void;
|
|
117
118
|
protected getInputProps(): React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
118
119
|
protected renderInput(): React.ReactNode;
|
|
119
120
|
protected get editInPlaceAvailable(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function tryParseJson(arg: unknown): any;
|
|
@@ -4,6 +4,7 @@ import { IRealtimeCommunicationService } from "@docsvision/webclient/System/$Rea
|
|
|
4
4
|
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
5
5
|
import { RealtimeServerSender } from "@docsvision/webclient/System/RealtimeServerSender";
|
|
6
6
|
import { RealtimeSubscriber as RealtimeSubscriberClass } from "@docsvision/webclient/System/RealtimeSubscriber";
|
|
7
|
+
import { NotyDef } from "@docsvision/webclient/System/PopupNotification";
|
|
7
8
|
/** @internal */
|
|
8
9
|
export interface IRealtimeMasterTabInfo {
|
|
9
10
|
masterTabId?: string;
|
|
@@ -46,6 +47,7 @@ export declare class RealtimeCommunicationService implements IRealtimeCommunicat
|
|
|
46
47
|
static ReconnectTimeout: number;
|
|
47
48
|
/** Тип сообщения о закрытии вкладки. */
|
|
48
49
|
static TabClosed: string;
|
|
50
|
+
popupNotification: NotyDef;
|
|
49
51
|
private mainLocalStorageKey;
|
|
50
52
|
private messagesFromMaster;
|
|
51
53
|
private messagesFromTabs;
|
|
@@ -57,7 +59,7 @@ export declare class RealtimeCommunicationService implements IRealtimeCommunicat
|
|
|
57
59
|
private masterTabMonitorTimer;
|
|
58
60
|
private masterTabMonitorInterval;
|
|
59
61
|
private tabChannelTimeToDead;
|
|
60
|
-
private
|
|
62
|
+
private connection?;
|
|
61
63
|
private lastMasterTabId?;
|
|
62
64
|
private registeredAsSlave;
|
|
63
65
|
/** Закрывается ли эта вкладка в данный момент */
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { IRealtimeCommunicationHub } from "@docsvision/webclient/System/IRealtimeCommunicationHub";
|
|
2
1
|
import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
|
|
3
|
-
export declare type RealtimeServerSender<T> = (messageItem: IRealTimeCommunicationMessage<T>,
|
|
2
|
+
export declare type RealtimeServerSender<T> = (messageItem: IRealTimeCommunicationMessage<T>, connection?: signalR.HubConnection) => Promise<any> | Promise<any>;
|
|
@@ -653,6 +653,7 @@ export declare let resourcesStub: {
|
|
|
653
653
|
Dialog_ConfirmExit: string;
|
|
654
654
|
ContextMenu_Delete: string;
|
|
655
655
|
StaffDirectory_InfoInRoot_Organization: string;
|
|
656
|
+
Sign_Simple: string;
|
|
656
657
|
NameNotSpecified: string;
|
|
657
658
|
DocumentManagement_ConcludedError_SignDate: string;
|
|
658
659
|
Error_EmployeeLocked: string;
|
|
@@ -823,6 +824,7 @@ export declare let resourcesStub: {
|
|
|
823
824
|
Grid_ContextMenu_CopyUrl: string;
|
|
824
825
|
Message_FileMergeDone: string;
|
|
825
826
|
FilePreview_UnavailableInBrowser: string;
|
|
827
|
+
FilePreview_UnavailableInBrowser_FileSizeExceeded: string;
|
|
826
828
|
Table_HasMore: string;
|
|
827
829
|
ScanDialog_ChooseScanner: string;
|
|
828
830
|
DateTimePicker_TodayButton: string;
|
|
@@ -1505,65 +1507,4 @@ export declare let resourcesStub: {
|
|
|
1505
1507
|
NoValue: string;
|
|
1506
1508
|
Diagram_WaitingForData: string;
|
|
1507
1509
|
Diagram_Empty: string;
|
|
1508
|
-
PowersDirectory: string;
|
|
1509
|
-
PowersDirectory_TreeRootName: string;
|
|
1510
|
-
PowersDirectory_CodeTab: string;
|
|
1511
|
-
PowersDirectory_InfoTab: string;
|
|
1512
|
-
PowersDirectory_CreateLayoutDialogHeader_Code: string;
|
|
1513
|
-
PowersDirectory_CreateLayoutDialogHeader: string;
|
|
1514
|
-
PowersDirectory_CreateRootLayoutDialogHeader: string;
|
|
1515
|
-
ContextMenu_CreateDirectory: string;
|
|
1516
|
-
ContextMenu_CreateCode: string;
|
|
1517
|
-
PowersDirectory_DeleteConfirmationWithChildren: string;
|
|
1518
|
-
PowersDirectory_InfoWithoutSelection: string;
|
|
1519
|
-
PowersDirectory_TreeAddButtons_CreateGroup: string;
|
|
1520
|
-
PowersDirectory_TreeAddButtons_CreateCode: string;
|
|
1521
|
-
PowersDirectory_Header: string;
|
|
1522
|
-
AuthenticationKinds_AuthenticationService: string;
|
|
1523
|
-
AuthenticationKinds_AuthenticationServices: string;
|
|
1524
|
-
AuthenticationKinds_Change: string;
|
|
1525
|
-
AuthenticationKinds_Check: string;
|
|
1526
|
-
AuthenticationKinds_UniqueName: string;
|
|
1527
|
-
EmailButton_ButtonText: string;
|
|
1528
|
-
EmailButton_Additional: string;
|
|
1529
|
-
EmailButton_SelectFilesToSendByMail: string;
|
|
1530
|
-
EmailButton_Main: string;
|
|
1531
|
-
EmailButton_SizeOfAttached: string;
|
|
1532
|
-
SignatureDialog_SignatureOptionsButton: string;
|
|
1533
|
-
SignatureMethodsSetup_CertificatesTable_EnableColumnTooltip: string;
|
|
1534
|
-
SignatureMethodsSetup_CertificatesTable_TypeLocalTip: string;
|
|
1535
|
-
SignatureMethodsSetup_CertificatesTable_ValidToColumn: string;
|
|
1536
|
-
SignatureMethodsSetup_CloudLogin: string;
|
|
1537
|
-
SignatureButton_SignHistory: string;
|
|
1538
|
-
SignatureButton_Sign: string;
|
|
1539
|
-
SignatureSettingsDialog_Intro: string;
|
|
1540
|
-
SignatureMethodsSetup_CertificatesTable_CommentColumnPlaceholder: string;
|
|
1541
|
-
SignatureMethodsSetup_CloudLoginButtonLabel: string;
|
|
1542
|
-
SignatureMethodsSetup_CloudLoginAuthRequired: string;
|
|
1543
|
-
SignatureMethodsSetup_CertificatesTable_SignerColumn: string;
|
|
1544
|
-
SignatureMethodsSetup_CertificatesTable_AuthorityColumn: string;
|
|
1545
|
-
SignatureMethodsSetup_CertificatesTable_CommentColumn: string;
|
|
1546
|
-
SignatureMethodsSetup_CloudLoginLabel: string;
|
|
1547
|
-
CertificatePinCodeLabel: string;
|
|
1548
|
-
CertificatePinCodeHeader: string;
|
|
1549
|
-
Navigator_TakePoll: string;
|
|
1550
|
-
Sign_Simple: string;
|
|
1551
|
-
ViewingPowerOfAttorney: string;
|
|
1552
|
-
PowerOfAttorney: string;
|
|
1553
|
-
PowerOfAttorneyInfo_Number: string;
|
|
1554
|
-
PowerOfAttorneyInfo_Principal: string;
|
|
1555
|
-
PowerOfAttorneyInfo_Signer: string;
|
|
1556
|
-
PowerOfAttorneyInfo_Representative: string;
|
|
1557
|
-
PowerOfAttorneyInfo_Powers: string;
|
|
1558
|
-
PowerOfAttorneyInfo_StartDate: string;
|
|
1559
|
-
PowerOfAttorneyInfo_EndDate: string;
|
|
1560
|
-
PowerOfAttorneyInfo_OpenCard: string;
|
|
1561
|
-
PowerOfAttorneyInfo_Format: string;
|
|
1562
|
-
PowerOfAttorneyInfo_Status: string;
|
|
1563
|
-
FilePanel_Sign_PowerOfAttorneyIsValid: string;
|
|
1564
|
-
FilePanel_Sign_InconsistenciesWereFound: string;
|
|
1565
|
-
FilePanel_Sign_PowerOfAttorney: string;
|
|
1566
|
-
FilePanel_Sign_ResultOfValidation: string;
|
|
1567
|
-
FilePanel_Sign_InformationAboutPowerOfAttorney: string;
|
|
1568
|
-
PowersDirectory_TreeAddButtons_ImportPowers: string;
|
|
1569
1510
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
2
2
|
import { RequestMethods } from "@docsvision/webclient/System/IRequestInfo";
|
|
3
3
|
import { IRequestInfo } from "@docsvision/webclient/System/RequestMethods";
|
|
4
|
-
/** @deprecated Используйте {@see
|
|
4
|
+
/** @deprecated Используйте {@see ControllerBase} */
|
|
5
5
|
export declare class ServerController {
|
|
6
6
|
protected services: $RequestManager;
|
|
7
7
|
constructor(services?: $RequestManager);
|
|
@@ -14,7 +14,7 @@ export declare class ServerController {
|
|
|
14
14
|
private findMetadataObject;
|
|
15
15
|
private isMetadataObject;
|
|
16
16
|
}
|
|
17
|
-
/** @deprecated Используйте
|
|
17
|
+
/** @deprecated Используйте ControllerBase */
|
|
18
18
|
export declare function controllerFactory<T>(ctor: {
|
|
19
19
|
new (services: $RequestManager): T;
|
|
20
20
|
}): (services: any) => T;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IServiceActionParameterInfo } from "@docsvision/webclient/System/IServiceActionParameterInfo";
|
|
2
|
-
/** @deprecated Используйте
|
|
2
|
+
/** @deprecated Используйте ControllerBase */
|
|
3
3
|
export declare class ServiceActionMetaData {
|
|
4
4
|
type: string;
|
|
5
5
|
url: string;
|
|
6
6
|
parametersInfo: [IServiceActionParameterInfo];
|
|
7
7
|
}
|
|
8
|
-
/** @deprecated Используйте
|
|
8
|
+
/** @deprecated Используйте ControllerBase */
|
|
9
9
|
export declare let ServiceActionMetaDataTypeName: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RequestOptions } from '@docsvision/webclient/Legacy/Utils';
|
|
2
2
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
3
3
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
4
|
-
import {
|
|
4
|
+
import { ControllerBase, HttpMethods } from '@docsvision/webclient/System/ControllerBase';
|
|
5
5
|
import { $WebSockets } from '@docsvision/webclient/System/$WebSockets';
|
|
6
6
|
import { IWebServicesConnection } from '@docsvision/webclient/System/IWebServicesConnection';
|
|
7
7
|
import { IWebServicesInfo } from '@docsvision/webclient/System/IWebServicesInfo';
|
|
8
8
|
import { IWebServicesRequest } from '@docsvision/webclient/System/IWebServicesRequest';
|
|
9
9
|
import { IWebServicesService } from '@docsvision/webclient/System/IWebServicesService';
|
|
10
10
|
/** @internal Реализация {@link IWebServicesService}. */
|
|
11
|
-
export declare class WebServicesService extends
|
|
11
|
+
export declare class WebServicesService extends ControllerBase implements IWebServicesService {
|
|
12
12
|
protected services: $RequestManager & $WebSockets & $ApplicationSettings;
|
|
13
13
|
constructor(services: $RequestManager & $WebSockets & $ApplicationSettings);
|
|
14
14
|
check(): Promise<IWebServicesInfo>;
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
-
export declare const checkSectionAccessRights: (rowId: string, sectionId: string, cardDataRights: GenModels.CardDataRights, services: $SecurityController) => Promise<boolean>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
-
export declare function convertPowersOfAttorneyToComboBoxItems(powersOfAttorney: GenModels.PowerOfAttorneyModel[]): {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
data: GenModels.PowerOfAttorneyModel;
|
|
6
|
-
}[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
-
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
3
|
-
export declare function convertPowersResponseToTreeData(items: unknown[]): IPowersTreeRow[];
|
|
4
|
-
export declare function wrapPowersRootSectionNode(rootSectionId: any, items: IDirectoryTreeRow[]): IDirectoryTreeRow[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FileSignListDialog } from '@docsvision/webclient/BackOffice/FileSignListDialog';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof FileSignListDialog;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Loading: () => JSX.Element;
|
|
9
|
-
export declare const WithoutPowerOfAttorney: () => JSX.Element;
|
|
10
|
-
export declare const WithValidPowerOfAttorney: () => JSX.Element;
|
|
11
|
-
export declare const WithInvalidPowerOfAttorney: () => JSX.Element;
|
|
12
|
-
export declare const InformationAboutPowerOfAttorney: () => JSX.Element;
|
|
13
|
-
export declare const InformationAboutInconsistencies: () => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
2
|
-
export declare type FindSectionResult = {
|
|
3
|
-
row: IDirectoryTreeRow;
|
|
4
|
-
parentRow: IDirectoryTreeRow;
|
|
5
|
-
index: number;
|
|
6
|
-
path: IDirectoryTreeRow[];
|
|
7
|
-
};
|
|
8
|
-
export declare function findSection(sectionId: string, tree: IDirectoryTreeRow[]): FindSectionResult;
|
|
9
|
-
export declare function findSectionImpl(sectionId: string, tree: IDirectoryTreeRow[], path: IDirectoryTreeRow[]): FindSectionResult;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
2
|
-
export declare const POWERS_DIRECTORY_ICON_CLASSES: {
|
|
3
|
-
Root: string;
|
|
4
|
-
0: string;
|
|
5
|
-
1: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const getPowersSectionIconClass: (dataType: PowersDirectoryDataType) => string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
2
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
-
export interface IPowerModel extends GenModels.IDirectoryItemData {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
powerDataType: PowersDirectoryDataType;
|
|
8
|
-
dataType: GenModels.DirectoryDataType;
|
|
9
|
-
hasChildren: boolean;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
-
export declare class IPowersDataLoadingEventArgs {
|
|
3
|
-
/**
|
|
4
|
-
* Запрашиваемая информация, включая текущий фильтр.
|
|
5
|
-
*/
|
|
6
|
-
query: GenModels.GetDataRequest | GenModels.SearchPowersRequest;
|
|
7
|
-
/**
|
|
8
|
-
* Результат выполнения запроса.
|
|
9
|
-
*/
|
|
10
|
-
result?: GenModels.GetDataResponse | GenModels.SearchPowersQueryResponse;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
2
|
-
import { IDirectorySelectDialog } from '@docsvision/webclient/System/IDirectorySelectDialog';
|
|
3
|
-
export interface IPowersDialog extends IDirectorySelectDialog {
|
|
4
|
-
selectedItems?: IPowerModel[];
|
|
5
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PowersDirectoryParams } from "@docsvision/webclient/BackOffice/PowersDirectory";
|
|
2
|
-
import { PowersDirectoryLogic } from "@docsvision/webclient/BackOffice/PowersDirectoryLogic";
|
|
3
|
-
import { PowersDirectoryView } from "@docsvision/webclient/BackOffice/PowersDirectoryView";
|
|
4
|
-
/** Сервис для переопределения реализации PowersDirectory */
|
|
5
|
-
export interface IPowersDirectoryOptions {
|
|
6
|
-
getPowersDirectoryView(params: PowersDirectoryParams): PowersDirectoryView;
|
|
7
|
-
getPowersDirectoryLogic(params: PowersDirectoryParams): PowersDirectoryLogic;
|
|
8
|
-
}
|
|
9
|
-
export declare type $PowersDirectoryOptions = {
|
|
10
|
-
powersDirectoryOptions: IPowersDirectoryOptions;
|
|
11
|
-
};
|
|
12
|
-
export declare const $PowersDirectoryOptions: string | ((model?: $PowersDirectoryOptions) => IPowersDirectoryOptions);
|