@docsvision/webclient 6.1.8 → 6.1.9-beta.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/BackOffice/AddressStoriesData.d.ts +2 -1
- package/BackOffice/CardKindStoriesData.d.ts +2 -1
- package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +2 -1
- package/BackOffice/DelegateBatchOperationStoriesData.d.ts +2 -1
- package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +2 -1
- package/BackOffice/DepartmentStoriesData.d.ts +2 -1
- package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +2 -1
- package/BackOffice/DisplayInitiatorStoriesData.d.ts +2 -1
- package/BackOffice/DisplayPerformersStoriesData.d.ts +2 -1
- package/BackOffice/EmployeeStoriesData.d.ts +4 -1
- package/BackOffice/FileListControlLogic.d.ts +2 -1
- package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +2 -1
- package/BackOffice/HistoryStoriesData.d.ts +2 -1
- package/BackOffice/LinksStoriesData.d.ts +2 -1
- package/BackOffice/MultipleEmployeesStoriesData.d.ts +4 -1
- package/BackOffice/NumeratorStoriesData.d.ts +2 -1
- package/BackOffice/PartnerDepartmentStoriesData.d.ts +175 -0
- package/BackOffice/PartnerStoriesData.d.ts +141 -0
- package/BackOffice/StateButtonsStoriesData.d.ts +2 -1
- package/BackOffice/TasksStoriesData.d.ts +2 -1
- package/BackOffice/TasksTableCell.d.ts +4 -4
- package/Helpers/FileComments/FileComments.d.ts +2 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +2 -0
- package/Helpers/Sortable/Sortable.d.ts +5 -0
- package/Legacy/UserMenu.d.ts +2 -1
- package/Platform/DeleteBatchOperationStoriesData.d.ts +2 -1
- package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +2 -1
- package/Platform/FolderDataLoadingService.d.ts +2 -0
- package/Platform/FolderGrid.d.ts +2 -1
- package/Platform/FolderViewItemsImpl.d.ts +1 -1
- package/Platform/GetWarningModal.d.ts +2 -0
- package/Platform/LoadExistingFolderDataLoader.d.ts +5 -2
- package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +2 -1
- package/Platform/ReadBatchBatchOperationStoriesData.d.ts +2 -1
- package/Platform/ResetSettings.d.ts +2 -2
- package/Platform/SessionExpiredHandler.d.ts +6 -0
- package/Platform/TestUtils.d.ts +3 -1
- package/Platform/TextAreaImpl.d.ts +2 -0
- package/StandardServices.d.ts +3 -1
- package/System/$LayoutManager.d.ts +3 -0
- package/System/$LogoutService.d.ts +7 -0
- package/System/$SessionRelatedContent.d.ts +11 -0
- package/System/Localizations.d.ts +1 -0
- package/System/LocationContainerControlStoriesData.d.ts +2 -1
- package/System/LogoutService.d.ts +9 -0
- package/System/OutcomingLocalStorageCommunicationChannel.d.ts +1 -0
- package/System/SessionRelatedContentService.d.ts +8 -0
- package/System/Summernote.d.ts +2 -0
- package/package.json +1 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
2
2
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
3
3
|
import { $EditOperationStore, $LayoutInfo, $CardId } from "@docsvision/webclient/System/LayoutServices";
|
|
4
|
-
export declare function getAddressMockServices():
|
|
4
|
+
export declare function getAddressMockServices():
|
|
5
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
|
|
5
6
|
export declare function getAddressMockProps(): {
|
|
6
7
|
placeHolder: string;
|
|
7
8
|
value: {
|
|
@@ -2,7 +2,8 @@ import { $LayoutCardKindController } from "@docsvision/webclient/Generated/DocsV
|
|
|
2
2
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
3
|
import { $LayoutInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
4
4
|
import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
|
|
5
|
-
export declare function getCardKindMockServices():
|
|
5
|
+
export declare function getCardKindMockServices():
|
|
6
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutCardKindController & $LayoutInfo & $EditOperationStore & $LabelWidth & $DeviceType;
|
|
6
7
|
export declare function getCardKindMockProps(): {
|
|
7
8
|
value: {
|
|
8
9
|
cardKindName: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
2
2
|
import { $Router } from "@docsvision/web/core/routing";
|
|
3
|
-
export declare function getCreateRelatedCardButtonMockServices():
|
|
3
|
+
export declare function getCreateRelatedCardButtonMockServices():
|
|
4
|
+
import("@docsvision/web/core/services").ServiceContainer & $Router & $Layout;
|
|
4
5
|
export declare function getCreateRelatedCardButtonMockProps(): {
|
|
5
6
|
buttonsLimit: number;
|
|
6
7
|
binding: {
|
|
@@ -11,5 +11,6 @@ import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
|
11
11
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
12
12
|
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
13
13
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
14
|
-
export declare function getDelegateBatchOperationMockServices():
|
|
14
|
+
export declare function getDelegateBatchOperationMockServices():
|
|
15
|
+
import("@docsvision/web/core/services").ServiceContainer & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $ApplicationSettings & $Domain & $LayoutTasksController & $FolderGrid & $FolderDataLoading & $BatchOperationsProgressDialog & $LayoutStaffController & $EditOperationStore & $LayoutInfo & $LocalStorage & $EmployeeController;
|
|
15
16
|
export declare function getDelegateBatchOperationMockProps(): {};
|
|
@@ -8,5 +8,6 @@ import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagemen
|
|
|
8
8
|
import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
|
|
9
9
|
import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
10
10
|
import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
11
|
-
export declare function getDeleteShortcutBatchOperationMockServices():
|
|
11
|
+
export declare function getDeleteShortcutBatchOperationMockServices():
|
|
12
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
12
13
|
export declare function getDeleteShortcutBatchOperationMockProps(): {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
3
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
|
-
export declare function getDepartmentMockServices():
|
|
4
|
+
export declare function getDepartmentMockServices():
|
|
5
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
5
6
|
export declare function getDepartmentMockProps(): {
|
|
6
7
|
placeHolder: string;
|
|
7
8
|
value: {
|
|
@@ -3,7 +3,8 @@ import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
|
3
3
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
4
4
|
import { $CurrentLocation, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
5
5
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
6
|
-
export declare function getDirectoryDesignerRowMockServices():
|
|
6
|
+
export declare function getDirectoryDesignerRowMockServices():
|
|
7
|
+
import("@docsvision/web/core/services").ServiceContainer & $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType;
|
|
7
8
|
export declare function getDirectoryDesignerRowMockProps(): {
|
|
8
9
|
placeHolder: string;
|
|
9
10
|
value: unknown;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
2
2
|
import { $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
3
3
|
import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
|
|
4
|
-
export declare function getDisplayInitiatorMockServices():
|
|
4
|
+
export declare function getDisplayInitiatorMockServices():
|
|
5
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $LabelWidth & $DeviceType;
|
|
5
6
|
export declare function getDisplayInitiatorMockProps(): {
|
|
6
7
|
value: {
|
|
7
8
|
id: string;
|
|
@@ -2,7 +2,8 @@ import { $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVisi
|
|
|
2
2
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
3
3
|
import { $CardId, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
4
|
import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
|
|
5
|
-
export declare function getDisplayPerformersMockServices():
|
|
5
|
+
export declare function getDisplayPerformersMockServices():
|
|
6
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutTasksController & $CardId & $EditOperationStore & $LayoutInfo & $LabelWidth & $Layout;
|
|
6
7
|
export declare function getDisplayPerformersMockProps(): {
|
|
7
8
|
showEmptyLabel: boolean;
|
|
8
9
|
startPerformers: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { $EmployeeController, $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
3
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
1
4
|
export declare function getEmployeeMockServices():
|
|
2
|
-
import("@docsvision/
|
|
5
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutStaffController & $EditOperationStore & $LayoutInfo & $LocalStorage & $EmployeeController;
|
|
3
6
|
export declare function getEmployeeMockValue(): {
|
|
4
7
|
id: string;
|
|
5
8
|
isCurrent: boolean;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/// <reference types="jquery" />
|
|
3
3
|
import { FileListAttachedElements } from "@docsvision/webclient/BackOffice/FileListAttachElements";
|
|
4
4
|
import { FileListItem } from "@docsvision/webclient/BackOffice/FileListItem";
|
|
5
|
+
import { IFileMenuItem } from "@docsvision/webclient/BackOffice/IFileMenuItem";
|
|
5
6
|
import { FileListControlParams } from "@docsvision/webclient/BackOffice/FileListControl";
|
|
6
7
|
import { FileListControlImpl, FileListImplState } from "@docsvision/webclient/BackOffice/FileListControlImpl";
|
|
7
8
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
@@ -58,7 +59,7 @@ export declare class FileListControlLogic {
|
|
|
58
59
|
private sortFiles;
|
|
59
60
|
protected updateVersionsOnLoad(appendFiles?: boolean): void;
|
|
60
61
|
closeAllMenusBut(fileItem: FileListItem): void;
|
|
61
|
-
fileMenuOpening(fileItem: FileListItem, data:
|
|
62
|
+
fileMenuOpening(fileItem: FileListItem, data: IFileMenuItem[]): Promise<IFileMenuItem[]>;
|
|
62
63
|
fileVersionExpanding(fileItem: FileListItem): Promise<void>;
|
|
63
64
|
rowClick(fileItem: FileListItem): void;
|
|
64
65
|
nameClick(fileItem: FileListItem): Promise<void>;
|
|
@@ -3,7 +3,8 @@ import { $TaskGroupPerformersController, $BusinessCalendarController } from "@do
|
|
|
3
3
|
import { $DeviceType, $CurrentEmployeeId, $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
4
4
|
import { $EditOperationStore, $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
5
5
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
6
|
-
export declare function getGroupTaskCardSelectPerformersMockServices():
|
|
6
|
+
export declare function getGroupTaskCardSelectPerformersMockServices():
|
|
7
|
+
import("@docsvision/web/core/services").ServiceContainer & $EditOperationStore & $MessageBox & $DeviceType & $TaskGroupPerformersController & $LayoutInfo & $CardInfo & $CurrentEmployeeId & $BusinessCalendarController & $ApplicationSettings;
|
|
7
8
|
export declare function getGroupTaskCardSelectPerformersMockProps(): {
|
|
8
9
|
useBusinessCalendar: boolean;
|
|
9
10
|
};
|
|
@@ -3,7 +3,8 @@ import { $CardId, $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvisio
|
|
|
3
3
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
4
4
|
import { $DeviceType } from "@docsvision/web/core/system-services/environment";
|
|
5
5
|
import { HistoryParams } from "@docsvision/webclient/BackOffice/History";
|
|
6
|
-
export declare function getHistoryServices():
|
|
6
|
+
export declare function getHistoryServices():
|
|
7
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutHistoryController & $CardId & $EditOperationStore & $DeviceType & $LayoutInfo & $BusinessCalendarController & $Router & $CardInfo & $LayoutStaffController;
|
|
7
8
|
export declare const getBindingArgHistoryStory: (hasMore: boolean) => HistoryParams;
|
|
8
9
|
export declare function getEmployeesMock(): {
|
|
9
10
|
employees: {
|
|
@@ -10,7 +10,8 @@ import { $FileService } from "@docsvision/webclient/System/$FileService";
|
|
|
10
10
|
import { $LayoutCheck } from "@docsvision/webclient/System/$LayoutCheckService";
|
|
11
11
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
12
12
|
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
13
|
-
export declare function getLinksMockServices():
|
|
13
|
+
export declare function getLinksMockServices():
|
|
14
|
+
import("@docsvision/web/core/services").ServiceContainer & $FileController & $LayoutFileController & $LayoutController & $LayoutLinksController & $EditOperationStore & $ApplicationSettings & $Layout & $LayoutManager & $LocalStorage & $DeviceType & $CardId & $CardTimestamp & $LayoutInfo & $LinksSearchCards & $LayoutCheck & $CardInfo & $RequestManager & $FileService & $CardOperationsController & $FilePreview & $WebViewIOSEnabled;
|
|
14
15
|
export declare function getLinksMockProps(): {
|
|
15
16
|
header: string;
|
|
16
17
|
createLinkLinkTypes: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { $LayoutStaffController, $EmployeeController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
3
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
1
4
|
export declare function getMultipleEmployeesMockServices():
|
|
2
|
-
import("
|
|
5
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutStaffController & $EditOperationStore & $LayoutInfo & $LocalStorage & $EmployeeController;
|
|
3
6
|
export declare function getMultipleEmployeesMockValue(): {
|
|
4
7
|
id: string;
|
|
5
8
|
isCurrent: boolean;
|
|
@@ -2,7 +2,8 @@ import { $LayoutDocumentController } from "@docsvision/webclient/Generated/DocsV
|
|
|
2
2
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
3
3
|
import { $EditOperationStore, $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
4
|
import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
|
|
5
|
-
export declare function getNumeratorMockServices():
|
|
5
|
+
export declare function getNumeratorMockServices():
|
|
6
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutDocumentController & $LabelWidth & $EditOperationStore & $Layout & $LayoutInfo & $CardInfo;
|
|
6
7
|
export declare function getNumeratorMockProps(): {
|
|
7
8
|
generationRule: string;
|
|
8
9
|
parent: any;
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { ServiceContainer } from "@docsvision/web/core/services";
|
|
2
|
+
export declare function getMockServices(): ServiceContainer;
|
|
3
|
+
export declare function getDepartmentPath(): {
|
|
4
|
+
email: any;
|
|
5
|
+
phone: any;
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
fullName: string;
|
|
9
|
+
departmentType: number;
|
|
10
|
+
dataType: number;
|
|
11
|
+
}[];
|
|
12
|
+
export declare function getLoadTreeResponse(): {
|
|
13
|
+
items: {
|
|
14
|
+
itemType: number;
|
|
15
|
+
data: {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
fullName: string;
|
|
19
|
+
inn: any;
|
|
20
|
+
notAvailable: boolean;
|
|
21
|
+
departmentType: number;
|
|
22
|
+
childrenLoaded: boolean;
|
|
23
|
+
hasChildren: boolean;
|
|
24
|
+
hasEmployee: boolean;
|
|
25
|
+
children: any[];
|
|
26
|
+
dataType: number;
|
|
27
|
+
};
|
|
28
|
+
hasChildren: boolean;
|
|
29
|
+
}[];
|
|
30
|
+
totalItemsCount: number;
|
|
31
|
+
directoryTimestamp: number;
|
|
32
|
+
};
|
|
33
|
+
export declare function getLoadTreeDepartmentResponse(): Promise<{
|
|
34
|
+
items: ({
|
|
35
|
+
itemType: number;
|
|
36
|
+
data: {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
fullName: any;
|
|
40
|
+
inn: any;
|
|
41
|
+
notAvailable: boolean;
|
|
42
|
+
departmentType: number;
|
|
43
|
+
childrenLoaded: boolean;
|
|
44
|
+
hasChildren: boolean;
|
|
45
|
+
hasEmployee: boolean;
|
|
46
|
+
children: any[];
|
|
47
|
+
dataType: number;
|
|
48
|
+
isCurrent?: undefined;
|
|
49
|
+
accountName?: undefined;
|
|
50
|
+
displayName?: undefined;
|
|
51
|
+
firstName?: undefined;
|
|
52
|
+
lastName?: undefined;
|
|
53
|
+
middleName?: undefined;
|
|
54
|
+
position?: undefined;
|
|
55
|
+
sdid?: undefined;
|
|
56
|
+
isFavoritePerformer?: undefined;
|
|
57
|
+
unitId?: undefined;
|
|
58
|
+
units?: undefined;
|
|
59
|
+
email?: undefined;
|
|
60
|
+
status?: undefined;
|
|
61
|
+
departmentName?: undefined;
|
|
62
|
+
};
|
|
63
|
+
hasChildren: boolean;
|
|
64
|
+
} | {
|
|
65
|
+
itemType: number;
|
|
66
|
+
data: {
|
|
67
|
+
id: string;
|
|
68
|
+
isCurrent: boolean;
|
|
69
|
+
accountName: any;
|
|
70
|
+
displayName: string;
|
|
71
|
+
firstName: any;
|
|
72
|
+
lastName: string;
|
|
73
|
+
middleName: any;
|
|
74
|
+
position: any;
|
|
75
|
+
sdid: string;
|
|
76
|
+
isFavoritePerformer: boolean;
|
|
77
|
+
unitId: string;
|
|
78
|
+
units: any[];
|
|
79
|
+
email: any;
|
|
80
|
+
status: number;
|
|
81
|
+
departmentName: any;
|
|
82
|
+
dataType: number;
|
|
83
|
+
name?: undefined;
|
|
84
|
+
fullName?: undefined;
|
|
85
|
+
inn?: undefined;
|
|
86
|
+
notAvailable?: undefined;
|
|
87
|
+
departmentType?: undefined;
|
|
88
|
+
childrenLoaded?: undefined;
|
|
89
|
+
hasChildren?: undefined;
|
|
90
|
+
hasEmployee?: undefined;
|
|
91
|
+
children?: undefined;
|
|
92
|
+
};
|
|
93
|
+
hasChildren: boolean;
|
|
94
|
+
})[];
|
|
95
|
+
totalItemsCount: number;
|
|
96
|
+
directoryTimestamp: number;
|
|
97
|
+
}>;
|
|
98
|
+
export declare function getEmptyResponse(): Promise<{
|
|
99
|
+
items: any[];
|
|
100
|
+
hasMore: boolean;
|
|
101
|
+
directoryTimestamp: number;
|
|
102
|
+
}>;
|
|
103
|
+
export declare function getDepartmentEmptyResponse(): Promise<{
|
|
104
|
+
items: any[];
|
|
105
|
+
totalItemsCount: number;
|
|
106
|
+
directoryTimestamp: number;
|
|
107
|
+
}>;
|
|
108
|
+
export declare function getDirectorySearchResponse(): Promise<{
|
|
109
|
+
items: ({
|
|
110
|
+
searchInfo: {
|
|
111
|
+
matched: boolean;
|
|
112
|
+
matchedFieldName: string;
|
|
113
|
+
matchedFieldValue: string;
|
|
114
|
+
};
|
|
115
|
+
path: {
|
|
116
|
+
id: string;
|
|
117
|
+
name: string;
|
|
118
|
+
fullName: string;
|
|
119
|
+
departmentType: number;
|
|
120
|
+
dataType: number;
|
|
121
|
+
}[];
|
|
122
|
+
itemType: number;
|
|
123
|
+
data: {
|
|
124
|
+
id: string;
|
|
125
|
+
name: string;
|
|
126
|
+
fullName: any;
|
|
127
|
+
inn: any;
|
|
128
|
+
notAvailable: boolean;
|
|
129
|
+
departmentType: number;
|
|
130
|
+
childrenLoaded: boolean;
|
|
131
|
+
hasChildren: boolean;
|
|
132
|
+
hasEmployee: any;
|
|
133
|
+
children: any[];
|
|
134
|
+
dataType: number;
|
|
135
|
+
};
|
|
136
|
+
hasChildren: boolean;
|
|
137
|
+
} | {
|
|
138
|
+
searchInfo: {
|
|
139
|
+
matched: boolean;
|
|
140
|
+
matchedFieldName: string;
|
|
141
|
+
matchedFieldValue: string;
|
|
142
|
+
};
|
|
143
|
+
path: any[];
|
|
144
|
+
itemType: number;
|
|
145
|
+
data: {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
fullName: string;
|
|
149
|
+
inn: any;
|
|
150
|
+
notAvailable: boolean;
|
|
151
|
+
departmentType: number;
|
|
152
|
+
childrenLoaded: boolean;
|
|
153
|
+
hasChildren: boolean;
|
|
154
|
+
hasEmployee: any;
|
|
155
|
+
children: any[];
|
|
156
|
+
dataType: number;
|
|
157
|
+
};
|
|
158
|
+
hasChildren: boolean;
|
|
159
|
+
})[];
|
|
160
|
+
hasMore: boolean;
|
|
161
|
+
directoryTimestamp: number;
|
|
162
|
+
}>;
|
|
163
|
+
export declare function getDepartment(): {
|
|
164
|
+
id: string;
|
|
165
|
+
name: string;
|
|
166
|
+
fullName: any;
|
|
167
|
+
inn: any;
|
|
168
|
+
notAvailable: boolean;
|
|
169
|
+
departmentType: number;
|
|
170
|
+
childrenLoaded: boolean;
|
|
171
|
+
hasChildren: boolean;
|
|
172
|
+
hasEmployee: any;
|
|
173
|
+
children: any[];
|
|
174
|
+
dataType: number;
|
|
175
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { $DepartmentController, $LayoutPartnerController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
export declare function getMockServices():
|
|
4
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutPartnerController & $DepartmentController;
|
|
5
|
+
export declare function closeModal(): void;
|
|
6
|
+
export declare function getEmployee(): GenModels.EmployeeDataModel;
|
|
7
|
+
export declare function getSelectedFilterPath(): {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
fullName: string;
|
|
11
|
+
inn: any;
|
|
12
|
+
notAvailable: boolean;
|
|
13
|
+
departmentType: number;
|
|
14
|
+
childrenLoaded: boolean;
|
|
15
|
+
hasChildren: boolean;
|
|
16
|
+
hasEmployee: boolean;
|
|
17
|
+
children: any[];
|
|
18
|
+
dataType: number;
|
|
19
|
+
}[];
|
|
20
|
+
export declare function getLoadTreeResponse(): {
|
|
21
|
+
items: {
|
|
22
|
+
itemType: number;
|
|
23
|
+
data: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
fullName: string;
|
|
27
|
+
inn: any;
|
|
28
|
+
notAvailable: boolean;
|
|
29
|
+
departmentType: number;
|
|
30
|
+
childrenLoaded: boolean;
|
|
31
|
+
hasChildren: boolean;
|
|
32
|
+
hasEmployee: boolean;
|
|
33
|
+
children: any[];
|
|
34
|
+
dataType: number;
|
|
35
|
+
};
|
|
36
|
+
hasChildren: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
totalItemsCount: number;
|
|
39
|
+
directoryTimestamp: number;
|
|
40
|
+
};
|
|
41
|
+
export declare function getLoadTreeSingleResponse(): Promise<{
|
|
42
|
+
items: {
|
|
43
|
+
itemType: number;
|
|
44
|
+
data: {
|
|
45
|
+
id: string;
|
|
46
|
+
isCurrent: boolean;
|
|
47
|
+
accountName: any;
|
|
48
|
+
displayName: string;
|
|
49
|
+
firstName: string;
|
|
50
|
+
lastName: string;
|
|
51
|
+
middleName: string;
|
|
52
|
+
position: any;
|
|
53
|
+
sdid: string;
|
|
54
|
+
isFavoritePerformer: boolean;
|
|
55
|
+
unitId: string;
|
|
56
|
+
units: any[];
|
|
57
|
+
email: any;
|
|
58
|
+
status: number;
|
|
59
|
+
departmentName: any;
|
|
60
|
+
dataType: number;
|
|
61
|
+
};
|
|
62
|
+
hasChildren: boolean;
|
|
63
|
+
}[];
|
|
64
|
+
totalItemsCount: number;
|
|
65
|
+
directoryTimestamp: number;
|
|
66
|
+
}>;
|
|
67
|
+
export declare function getLoadTreeEmptyResponse(): Promise<{
|
|
68
|
+
items: any[];
|
|
69
|
+
totalItemsCount: number;
|
|
70
|
+
directoryTimestamp: number;
|
|
71
|
+
}>;
|
|
72
|
+
export declare function getDirectorySearchDepartmentsResponse(): Promise<{
|
|
73
|
+
items: {
|
|
74
|
+
searchInfo: {
|
|
75
|
+
matched: boolean;
|
|
76
|
+
matchedFieldName: string;
|
|
77
|
+
matchedFieldValue: string;
|
|
78
|
+
};
|
|
79
|
+
path: any[];
|
|
80
|
+
itemType: number;
|
|
81
|
+
data: {
|
|
82
|
+
id: string;
|
|
83
|
+
name: string;
|
|
84
|
+
fullName: string;
|
|
85
|
+
inn: any;
|
|
86
|
+
notAvailable: boolean;
|
|
87
|
+
departmentType: number;
|
|
88
|
+
childrenLoaded: boolean;
|
|
89
|
+
hasChildren: boolean;
|
|
90
|
+
hasEmployee: any;
|
|
91
|
+
children: any[];
|
|
92
|
+
dataType: number;
|
|
93
|
+
};
|
|
94
|
+
hasChildren: boolean;
|
|
95
|
+
}[];
|
|
96
|
+
hasMore: boolean;
|
|
97
|
+
directoryTimestamp: number;
|
|
98
|
+
}>;
|
|
99
|
+
export declare function getDirectorySearchEmployeeResponse(): Promise<{
|
|
100
|
+
items: {
|
|
101
|
+
searchInfo: {
|
|
102
|
+
matched: boolean;
|
|
103
|
+
matchedFieldName: string;
|
|
104
|
+
matchedFieldValue: string;
|
|
105
|
+
};
|
|
106
|
+
path: {
|
|
107
|
+
id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
fullName: string;
|
|
110
|
+
departmentType: number;
|
|
111
|
+
dataType: number;
|
|
112
|
+
}[];
|
|
113
|
+
itemType: number;
|
|
114
|
+
data: {
|
|
115
|
+
id: string;
|
|
116
|
+
isCurrent: boolean;
|
|
117
|
+
accountName: any;
|
|
118
|
+
displayName: string;
|
|
119
|
+
firstName: string;
|
|
120
|
+
lastName: string;
|
|
121
|
+
middleName: string;
|
|
122
|
+
position: any;
|
|
123
|
+
sdid: string;
|
|
124
|
+
isFavoritePerformer: boolean;
|
|
125
|
+
unitId: string;
|
|
126
|
+
units: any[];
|
|
127
|
+
email: any;
|
|
128
|
+
status: number;
|
|
129
|
+
departmentName: any;
|
|
130
|
+
dataType: number;
|
|
131
|
+
};
|
|
132
|
+
hasChildren: boolean;
|
|
133
|
+
}[];
|
|
134
|
+
hasMore: boolean;
|
|
135
|
+
directoryTimestamp: number;
|
|
136
|
+
}>;
|
|
137
|
+
export declare function getDirectorySearchEmptyResponse(): Promise<{
|
|
138
|
+
items: any[];
|
|
139
|
+
hasMore: boolean;
|
|
140
|
+
directoryTimestamp: number;
|
|
141
|
+
}>;
|
|
@@ -3,7 +3,8 @@ import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
|
3
3
|
import { $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
4
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
5
5
|
import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
|
|
6
|
-
export declare function getStateButtonsServices():
|
|
6
|
+
export declare function getStateButtonsServices():
|
|
7
|
+
import("@docsvision/web/core/services").ServiceContainer & $EditOperationStore & $Layout & $LayoutInfo & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
|
|
7
8
|
export declare function getStateButtonsMockOperations(): {
|
|
8
9
|
operationId: string;
|
|
9
10
|
builtInOperationId: string;
|
|
@@ -7,7 +7,8 @@ import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
|
|
|
7
7
|
export declare function getTasksMockServices({ emptyTaskList, longList }?: {
|
|
8
8
|
emptyTaskList: boolean;
|
|
9
9
|
longList: boolean;
|
|
10
|
-
}):
|
|
10
|
+
}):
|
|
11
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
|
|
11
12
|
export declare function getTasksMockProps(): {
|
|
12
13
|
header: string;
|
|
13
14
|
tasksCreateInfo: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { GenModels } from
|
|
3
|
-
import { ITasksTableRow } from
|
|
4
|
-
import { $ApplicationSettings } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { ITasksTableRow } from "@docsvision/webclient/BackOffice/ITasksTableRow";
|
|
4
|
+
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
5
5
|
export interface ITasksTableCellProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
6
6
|
column: GenModels.ColumnDescription;
|
|
7
7
|
row: ITasksTableRow;
|
|
@@ -75,6 +75,7 @@ export interface IFileCommentsState {
|
|
|
75
75
|
/** Помощник для загрузки данных о списке комментариев. */
|
|
76
76
|
loadingHelper: RequestHelper;
|
|
77
77
|
deleteRequestHelper: RequestHelper;
|
|
78
|
+
formDisabled?: boolean;
|
|
78
79
|
}
|
|
79
80
|
export declare class FileComments extends React.Component<IFileCommentsProps, IFileCommentsState> {
|
|
80
81
|
protected commentsContainer: HTMLElement;
|
|
@@ -109,7 +110,7 @@ export declare class FileComments extends React.Component<IFileCommentsProps, IF
|
|
|
109
110
|
/** При фокусе поля ввода комментария. */
|
|
110
111
|
protected onCommentInputFocus: (event: React.FocusEvent<any>) => void;
|
|
111
112
|
/** При создании/изменении комментария. */
|
|
112
|
-
protected onApplyComment: (event: React.
|
|
113
|
+
protected onApplyComment: (event: React.FormEvent<HTMLFormElement>) => Promise<void>;
|
|
113
114
|
/** При изменении комментария. */
|
|
114
115
|
protected onEditCommentButtonPress: (comment: GenModels.VersionedFileCommentModel) => void;
|
|
115
116
|
/** Очищает поле для комментария. */
|
|
@@ -55,6 +55,8 @@ export interface IPopoverProps {
|
|
|
55
55
|
minWidth?: string;
|
|
56
56
|
/** Ширина всплывающего окна */
|
|
57
57
|
width?: string;
|
|
58
|
+
/** Установить ширину всплывающего окна по максимальному значению ширины содержимого */
|
|
59
|
+
widthMaxContent?: boolean;
|
|
58
60
|
/** Координаты клика мыши. */
|
|
59
61
|
pageCoordinates?: any;
|
|
60
62
|
/** Показывает необходимость обработать событие contextmenu. */
|
|
@@ -54,6 +54,8 @@ export interface ISortableProps {
|
|
|
54
54
|
* - Метод
|
|
55
55
|
*/
|
|
56
56
|
rootComponent?: React.ReactNode;
|
|
57
|
+
/** Позволяет использовать вспомогательный элемент для перетаскивания изображения {@link https://api.jqueryui.com/sortable/#option-helper} */
|
|
58
|
+
helper?: string | ((event: Event, element: JQueryUI.Sortable) => Element);
|
|
57
59
|
}
|
|
58
60
|
/**
|
|
59
61
|
* @review
|
|
@@ -120,6 +122,8 @@ export declare class Sortable extends React.Component<ISortableProps, undefined>
|
|
|
120
122
|
static readonly DEFAULT_TOLERANCE = "pointer";
|
|
121
123
|
/** Значение по умолчанию для свойства {@link ISortableProps.zIndex} */
|
|
122
124
|
static readonly DEFAULT_ZINDEX = 1000;
|
|
125
|
+
/** Значение по умолчанию для свойства {@link ISortableProps.helper} */
|
|
126
|
+
static readonly DEFAULT_HELPER = "clone";
|
|
123
127
|
/** @internal */
|
|
124
128
|
componentDidMount(): void;
|
|
125
129
|
/** @internal */
|
|
@@ -160,6 +164,7 @@ export declare class Sortable extends React.Component<ISortableProps, undefined>
|
|
|
160
164
|
scrollSpeed: number;
|
|
161
165
|
tolerance: "intersect" | "pointer";
|
|
162
166
|
zIndex: number;
|
|
167
|
+
helper: string | ((event: Event, element: JQueryUI.Sortable) => Element);
|
|
163
168
|
};
|
|
164
169
|
/**
|
|
165
170
|
* Сортирует элементы по порядку
|
package/Legacy/UserMenu.d.ts
CHANGED
|
@@ -6,13 +6,14 @@ import { IUserMenu } from "@docsvision/webclient/Legacy/$UserMenu";
|
|
|
6
6
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
7
7
|
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
8
8
|
import { BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
9
|
+
import { $LogoutService } from "@docsvision/webclient/System/$LogoutService";
|
|
9
10
|
/** @internal */
|
|
10
11
|
export declare class UserMenu implements IUserMenu {
|
|
11
12
|
private services;
|
|
12
13
|
private traceProvider;
|
|
13
14
|
private isClosed;
|
|
14
15
|
toggle?: BasicApiEvent<boolean>;
|
|
15
|
-
constructor(services: $RealtimeCommunicationService & $LayoutController & $LayoutManager & $Sidebar & $DeviceType & $WebViewIOSEnabled);
|
|
16
|
+
constructor(services: $RealtimeCommunicationService & $LayoutController & $LayoutManager & $Sidebar & $DeviceType & $WebViewIOSEnabled & $LogoutService);
|
|
16
17
|
get IsClosed(): boolean;
|
|
17
18
|
Show: () => void;
|
|
18
19
|
UserModal: ModalWindow;
|
|
@@ -9,5 +9,6 @@ import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
|
|
|
9
9
|
import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
10
10
|
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
11
11
|
import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
12
|
-
export declare function getDeleteBatchOperationMockServices():
|
|
12
|
+
export declare function getDeleteBatchOperationMockServices():
|
|
13
|
+
import("@docsvision/web/core/services").ServiceContainer & $ApplicationSettings & $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
13
14
|
export declare function getDeleteBatchOperationMockProps(): {};
|
|
@@ -12,5 +12,6 @@ import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSele
|
|
|
12
12
|
import { $ApplicationSettings } from "@docsvision/webclient/StandardServices";
|
|
13
13
|
import { $RequestManager } from "@docsvision/webclient/System/$RequestManager";
|
|
14
14
|
import { $UrlResolver } from "@docsvision/webclient/System/$UrlResolver";
|
|
15
|
-
export declare function getDownloadFilesBatchOperationMockServices():
|
|
15
|
+
export declare function getDownloadFilesBatchOperationMockServices():
|
|
16
|
+
import("@docsvision/web/core/services").ServiceContainer & $ApplicationSettings & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $Folders & $FileDownload & $RequestManager & $UrlResolver & $CardDataController & $BatchOperationsProgressDialog & $FolderGrid & $FolderDataLoading;
|
|
16
17
|
export declare function getDownloadFilesBatchOperationMockProps(): {};
|
|
@@ -35,6 +35,8 @@ export declare class FolderDataLoadingService implements IFolderDataLoadingServi
|
|
|
35
35
|
setCurrentData: Event<ITableData>;
|
|
36
36
|
pageSize: number;
|
|
37
37
|
loadData(options: IFolderLoadRequest, customLoader?: IFolderDataLoader): Promise<void>;
|
|
38
|
+
private updateRequestedPages;
|
|
39
|
+
private resetRequestSentForPage;
|
|
38
40
|
private createRequest;
|
|
39
41
|
private resolveRequest;
|
|
40
42
|
private resolveResponse;
|
package/Platform/FolderGrid.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { $ToolbarHeight } from '@docsvision/web/components/table/plugins/toolbar
|
|
|
23
23
|
import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
24
24
|
import { $SidePanel } from '@docsvision/web/components/table/plugins/side-panel';
|
|
25
25
|
import { $Aggregates } from '@docsvision/webclient/Platform/$AggregatesCheckbox';
|
|
26
|
+
import { $SessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
|
|
26
27
|
/**
|
|
27
28
|
* Содержит публичные свойства элемента управления [Метка]{@link Grid}.
|
|
28
29
|
*/
|
|
@@ -44,7 +45,7 @@ export declare class FolderGridParams extends BaseControlParams {
|
|
|
44
45
|
opacity?: number;
|
|
45
46
|
isGroupingAllowed?: boolean;
|
|
46
47
|
showList?: boolean;
|
|
47
|
-
services?: $GridOptions & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls & $ToolbarHeight & $SidePanel & Optional<$Aggregates> & $IsIE;
|
|
48
|
+
services?: $GridOptions & ServiceContainer & $GridController & $DeviceType & $ExperimentalFeature & $FolderInfo & $ApplicationSettings & $FolderPluginProvider & $CurrentLocation & $FolderDataLoading & $BatchOperationServices & $CheckboxService & $Domain & $LayoutController & $LayoutManager & $TableData & $FolderGrid & Optional<$ContextMenuOptions> & $ToolbarDaughterControls & $ToolbarHeight & $SidePanel & Optional<$Aggregates> & $IsIE & $SessionRelatedContent;
|
|
48
49
|
}
|
|
49
50
|
/**
|
|
50
51
|
* Класс элемента управления FolderGrid.
|
|
@@ -121,7 +121,7 @@ export declare class FolderViewItemsImpl extends InputBasedControlImpl<string, F
|
|
|
121
121
|
'aria-colindex'?: number;
|
|
122
122
|
'aria-colspan'?: number;
|
|
123
123
|
'aria-controls'?: string;
|
|
124
|
-
'aria-current'?: boolean | "time" | "false" | "
|
|
124
|
+
'aria-current'?: boolean | "time" | "false" | "true" | "page" | "step" | "location" | "date";
|
|
125
125
|
'aria-describedby'?: string;
|
|
126
126
|
'aria-details'?: string;
|
|
127
127
|
'aria-disabled'?: boolean | "false" | "true";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
2
|
import { IFolderDataLoader } from '@docsvision/webclient/Platform/IFolderDataLoader';
|
|
3
|
+
import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
4
|
export declare class LoadExistingFolderDataLoader implements IFolderDataLoader {
|
|
4
5
|
private data;
|
|
5
6
|
id: string;
|
|
6
|
-
|
|
7
|
+
private defaultLoader;
|
|
8
|
+
private initialDataUsed;
|
|
9
|
+
constructor(data: GenModels.GridViewModelEx, services?: $GridController);
|
|
7
10
|
load(request: GenModels.CardListRequestModel): Promise<GenModels.GridViewModelEx>;
|
|
8
|
-
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData): Promise<void>;
|
|
11
|
+
saveUserSettings(folderId: string, viewId: string, gridUserSettings: GenModels.GridUserSettingsData, instanceId?: string): Promise<void>;
|
|
9
12
|
}
|
|
@@ -8,5 +8,6 @@ import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagemen
|
|
|
8
8
|
import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
|
|
9
9
|
import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
10
10
|
import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
11
|
-
export declare function getMoveShortcutBatchOperationMockServices():
|
|
11
|
+
export declare function getMoveShortcutBatchOperationMockServices():
|
|
12
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
12
13
|
export declare function getMoveShortcutBatchOperationMockProps(): {};
|
|
@@ -9,5 +9,6 @@ import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagemen
|
|
|
9
9
|
import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
|
|
10
10
|
import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
11
11
|
import { $Router } from "@docsvision/web/core/routing";
|
|
12
|
-
export declare function getReadBatchOperationMockServices():
|
|
12
|
+
export declare function getReadBatchOperationMockServices():
|
|
13
|
+
import("@docsvision/web/core/services").ServiceContainer & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $FolderDataLoading & $LayoutTasksController & $Router & $BaseCardController & $RefreshUnreadCounters & $CurrentFolder & $FolderGrid;
|
|
13
14
|
export declare function getReadBatchOperationMockProps(): {};
|
|
@@ -5,14 +5,14 @@ import { $CurrentDialog } from "@docsvision/webclient/System/$CurrentDialog";
|
|
|
5
5
|
import { Optional } from "@docsvision/web/core/services";
|
|
6
6
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
7
7
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
8
|
-
import { $LocalizationController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
8
|
+
import { $LayoutUserSettingsController, $LocalizationController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
9
9
|
/**
|
|
10
10
|
* Содержит публичные свойства [EmptyControlStub]{@link EmptyControlStub}.
|
|
11
11
|
*/
|
|
12
12
|
export declare class ResetSettingsParams extends BaseControlParams {
|
|
13
13
|
/** Стандартный CSS класс со стилями элемента управления. */
|
|
14
14
|
standardCssClass?: string;
|
|
15
|
-
services?: Optional<$CurrentDialog> & $LocalStorage & $ApplicationSettings & $LocalizationController;
|
|
15
|
+
services?: Optional<$CurrentDialog> & $LocalStorage & $ApplicationSettings & $LocalizationController & $LayoutUserSettingsController;
|
|
16
16
|
}
|
|
17
17
|
export interface IState extends ResetSettingsParams, BaseControlState {
|
|
18
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
|
|
1
2
|
import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
|
|
2
3
|
import { NotyDef } from "@docsvision/webclient/System/PopupNotification";
|
|
3
4
|
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
@@ -10,12 +11,15 @@ export declare class SessionExpiredHandler implements IRouteHandler<IFolderRoute
|
|
|
10
11
|
static CreatedMessageType: string;
|
|
11
12
|
static PauseNotificationsMessageType: string;
|
|
12
13
|
static ContinueNotificationsMessageType: string;
|
|
14
|
+
protected warningModalHost: ModalHost;
|
|
13
15
|
static get SessionInactiveMessageHide(): boolean;
|
|
14
16
|
protected popupNotification?: NotyDef;
|
|
15
17
|
protected notificationsPaused: boolean;
|
|
16
18
|
name: string;
|
|
17
19
|
constructor();
|
|
18
20
|
unmountRoute(data: IFolderRouteData, routeType: RouteType): Promise<any>;
|
|
21
|
+
protected refreshPage(): void;
|
|
22
|
+
protected unmountHost(): void;
|
|
19
23
|
protected onSessionDisposed: () => void;
|
|
20
24
|
protected onSessionCreated: () => void;
|
|
21
25
|
protected onSessionAwoken: () => void;
|
|
@@ -23,5 +27,7 @@ export declare class SessionExpiredHandler implements IRouteHandler<IFolderRoute
|
|
|
23
27
|
protected onSessionNotificationsPaused: () => void;
|
|
24
28
|
protected onSessionNotificationsContinued: () => void;
|
|
25
29
|
protected showSessionInactiveMessage: () => void;
|
|
30
|
+
/** Сообщение о завершении сессии — при наличии зависящего от сессии контента показываем модальное окно. */
|
|
31
|
+
protected showSessionDisposedMessage: () => void;
|
|
26
32
|
protected restoreSession: () => Promise<any>;
|
|
27
33
|
}
|
package/Platform/TestUtils.d.ts
CHANGED
|
@@ -19,10 +19,12 @@ import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$Toolba
|
|
|
19
19
|
import { $HoverPanel } from '@docsvision/webclient/Platform/$HoverPanel';
|
|
20
20
|
import { $EmployeeStatus } from '@docsvision/webclient/Platform/$EmployeeStatus';
|
|
21
21
|
import { $IsIE } from '@docsvision/web/core/system-services/environment';
|
|
22
|
+
import { $SessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
|
|
22
23
|
export declare let ScrollContainer:
|
|
23
24
|
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
24
25
|
export declare let ScrollContainerWrapper:
|
|
25
26
|
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
26
27
|
export declare function common(): FolderGridParams;
|
|
27
28
|
export declare let gridStory: (name: string, render: (services: any) => JSX.Element, params?: StoryParameters) => () => JSX.Element;
|
|
28
|
-
export declare function services():
|
|
29
|
+
export declare function services():
|
|
30
|
+
import("@docsvision/web/core/services").ServiceContainer & $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls & $HoverPanel & $EmployeeStatus & $IsIE & $SessionRelatedContent;
|
|
@@ -51,6 +51,8 @@ export declare class TextAreaImpl extends TextControlBaseImpl<TextAreaParams, IT
|
|
|
51
51
|
private onDocumentMouseDown;
|
|
52
52
|
checkImageClick: (we: JQuery.Event, event: MouseEvent) => void;
|
|
53
53
|
onTextChange: (value: string) => void;
|
|
54
|
+
protected onSummernoteDialogShown(): void;
|
|
54
55
|
protected onSummernoteImageUpload(files: FileList): void;
|
|
56
|
+
protected onSummernoteImageLinkInsert(url: string): void;
|
|
55
57
|
renderControl(): {};
|
|
56
58
|
}
|
package/StandardServices.d.ts
CHANGED
|
@@ -59,6 +59,8 @@ import { $HoverPanel } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
|
59
59
|
import { $WebFrameContentHeight } from "@docsvision/webclient/System/$WebFrameContentHeight";
|
|
60
60
|
import { $DigitalSignature } from "@docsvision/webclient/BackOffice/$DigitalSignature";
|
|
61
61
|
import { $FolderColors } from "@docsvision/webclient/System/$FolderColors";
|
|
62
|
+
import { $LogoutService } from "@docsvision/webclient/System/$LogoutService";
|
|
63
|
+
import { $SessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
|
|
62
64
|
/** Сервис доступа к идентификатору текущего пользователя. */
|
|
63
65
|
export declare type $CurrentEmployeeId = {
|
|
64
66
|
currentEmployeeId: string;
|
|
@@ -148,4 +150,4 @@ export declare type $ApplicationSettings = {
|
|
|
148
150
|
};
|
|
149
151
|
export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
|
|
150
152
|
/** Стандартные сервисы Web-клиента. */
|
|
151
|
-
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $RefreshUnreadCounters & $CloudSignature & $CryptoPro & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $ApprovalPathVisualizationController & $HoverPanel & $HoverPanel & $DigitalSignature & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight & $FolderColors;
|
|
153
|
+
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $RefreshUnreadCounters & $CloudSignature & $CryptoPro & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $ApprovalPathVisualizationController & $HoverPanel & $HoverPanel & $DigitalSignature & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight & $FolderColors & $LogoutService & $SessionRelatedContent;
|
|
@@ -2,6 +2,7 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
2
2
|
import { ILayout } from "@docsvision/webclient/System/$Layout";
|
|
3
3
|
import { ShowLayoutParams } from "@docsvision/webclient/System/ShowLayoutParams";
|
|
4
4
|
import { ServiceContainer } from "@docsvision/web/core/services";
|
|
5
|
+
import { PageLeaveConfirmation } from "@docsvision/webclient/System/PageLeaveConfirmation";
|
|
5
6
|
export interface ILayoutManager {
|
|
6
7
|
showCard(model: GenModels.LayoutCardViewModel, name?: string, owner?: string, services?: ServiceContainer): Promise<ILayout>;
|
|
7
8
|
showRow(model: GenModels.LayoutRowViewModel, name?: string, owner?: string, services?: ServiceContainer): Promise<ILayout>;
|
|
@@ -20,6 +21,8 @@ export interface ILayoutManager {
|
|
|
20
21
|
getCurrentLayoutName(): string | undefined;
|
|
21
22
|
getLayoutModel(name: string): GenModels.LayoutViewModel | GenModels.LayoutCardViewModel | GenModels.LayoutRowViewModel | undefined;
|
|
22
23
|
destroy(name?: string): Promise<any>;
|
|
24
|
+
pageLeaveConfirmation: PageLeaveConfirmation;
|
|
25
|
+
deleteAllUnsaved(): Promise<any>;
|
|
23
26
|
}
|
|
24
27
|
export declare type $LayoutManager = {
|
|
25
28
|
layoutManager: ILayoutManager;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Store, Event } from "effector";
|
|
2
|
+
export interface ISessionRelatedContent {
|
|
3
|
+
/** Признак наличия на странице содержимого, зависящего от пользовательской сессии. */
|
|
4
|
+
readonly $hasSessionRelatedContent: Store<boolean>;
|
|
5
|
+
setHasSessionRelatedContent: Event<boolean>;
|
|
6
|
+
}
|
|
7
|
+
/** Сервис для обнаружения зависимого от сессии содержимого на странице. */
|
|
8
|
+
export declare type $SessionRelatedContent = {
|
|
9
|
+
sessionRelatedContent: ISessionRelatedContent;
|
|
10
|
+
};
|
|
11
|
+
export declare const $SessionRelatedContent: string | ((model?: $SessionRelatedContent) => ISessionRelatedContent);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initAdditionalLocalizations(): void;
|
|
@@ -4,7 +4,8 @@ import { $CurrentLocation } from "@docsvision/webclient/System/LayoutServices";
|
|
|
4
4
|
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
5
5
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
6
6
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
7
|
-
export declare function getLocationContainerMockServices():
|
|
7
|
+
export declare function getLocationContainerMockServices():
|
|
8
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType;
|
|
8
9
|
export declare function locationContainerStoryCustomloader(): Promise<GenModels.LayoutViewModel>;
|
|
9
10
|
export declare function locationContainerStoryCustomloaderForReaload(): Promise<GenModels.LayoutViewModel>;
|
|
10
11
|
export declare const locationContainerStoryLayoutGuid = "b64c55d9-4817-4ad4-9816-8af35022c32e";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
|
|
2
|
+
import { ILogoutService } from "@docsvision/webclient/System/$LogoutService";
|
|
3
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
4
|
+
/** Интерфейс отправителя сообщений к серверу в режиме реального времени, используемый в {@link LogoutService} */
|
|
5
|
+
export declare class LogoutService implements ILogoutService {
|
|
6
|
+
private services;
|
|
7
|
+
constructor(services: $RealtimeCommunicationService & $LayoutManager);
|
|
8
|
+
logout(): Promise<void>;
|
|
9
|
+
}
|
|
@@ -20,4 +20,5 @@ export declare class OutcomingLocalStorageCommunicationChannel {
|
|
|
20
20
|
removeStorageItem(): void;
|
|
21
21
|
setQueue(data: IRealTimeCommunicationMessage<any>[]): void;
|
|
22
22
|
getQueue(): IRealTimeCommunicationMessage<any>[];
|
|
23
|
+
removeMessagesFromQueue(messageType?: string): void;
|
|
23
24
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ISessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
|
|
2
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
3
|
+
import { Store, Event } from "effector";
|
|
4
|
+
export declare class SessionRelatedContentService implements ISessionRelatedContent {
|
|
5
|
+
$hasSessionRelatedContent: Store<boolean>;
|
|
6
|
+
setHasSessionRelatedContent: Event<boolean>;
|
|
7
|
+
constructor(services: $Domain);
|
|
8
|
+
}
|
package/System/Summernote.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export interface ISummernoteProps {
|
|
|
10
10
|
input: HTMLElement;
|
|
11
11
|
popoverImageDisplay: boolean;
|
|
12
12
|
onSummernoteImageUpload: (files: FileList) => void;
|
|
13
|
+
onSummernoteImageLinkInsert?: (url: string) => void;
|
|
14
|
+
onSummernoteDialogShown?: () => void;
|
|
13
15
|
currentEmployeeId?: string;
|
|
14
16
|
onTextChange?: (text: string) => void;
|
|
15
17
|
onAddingCommentWithMention?: (text: string) => void;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docsvision/webclient",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9-beta.1",
|
|
4
4
|
"description": "Type definitions for DocsVision WebClient scripts and extensions.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@types/classnames": "^2.2.6",
|
|
9
9
|
"@types/jquery": "^3.3.22",
|
|
10
|
-
"@types/moment": "^2.13.0",
|
|
11
10
|
"@types/qs": "^6.5.1",
|
|
12
11
|
"@types/react": "^16.6",
|
|
13
12
|
"@types/react-dom": "^16.0.6",
|