@docsvision/webclient 6.1.7 → 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/Account/Altcha.d.ts +10 -0
- package/Account/LoginContainer.d.ts +2 -0
- package/Account/LoginLogic.d.ts +18 -1
- package/Application.d.ts +3 -3
- package/BackOffice/AddressStoriesData.d.ts +22 -0
- package/BackOffice/CardKindStoriesData.d.ts +45 -0
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/CommentsStoriesData.d.ts +8 -0
- package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +23 -0
- package/BackOffice/DelegateBatchOperationStoriesData.d.ts +16 -0
- package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +13 -0
- package/BackOffice/DepartmentStoriesData.d.ts +89 -0
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +3 -1
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +4 -2
- package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +15 -0
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DisplayInitiatorStoriesData.d.ts +35 -0
- package/BackOffice/DisplayPerformersStoriesData.d.ts +72 -0
- package/BackOffice/EmailButtonView.d.ts +1 -1
- package/BackOffice/EmployeeStoriesData.d.ts +19 -0
- package/BackOffice/FileListControlLogic.d.ts +2 -1
- package/BackOffice/FileListControlStoriesData.d.ts +162 -0
- package/BackOffice/GetSearchItemsType.d.ts +2 -0
- package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +14 -0
- package/BackOffice/HistoryStoriesData.d.ts +46 -0
- package/BackOffice/HistoryStoriesHelpers.d.ts +4 -0
- package/BackOffice/LinksStoriesData.d.ts +61 -0
- package/BackOffice/MultipleEmployeesStoriesData.d.ts +34 -0
- package/BackOffice/NumeratorStoriesData.d.ts +25 -0
- package/BackOffice/PartnerDepartmentStoriesData.d.ts +175 -0
- package/BackOffice/PartnerStoriesData.d.ts +141 -0
- package/BackOffice/StateButtonsStoriesData.d.ts +23 -0
- package/BackOffice/TasksStoriesData.d.ts +37 -0
- package/BackOffice/TasksTableCell.d.ts +4 -4
- package/BackOffice/ToSearchArea.d.ts +3 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +10 -9
- package/Generated/DocsVision.WebClient.Models.d.ts +2553 -70
- package/Helpers/FileComments/FileComments.d.ts +2 -1
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LoadingIcon/LoadingIcon.d.ts +1 -0
- package/Helpers/PopoverHelpers/Popover.d.ts +2 -0
- package/Helpers/Sortable/Sortable.d.ts +5 -0
- package/Legacy/UserMenu.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -2
- package/Platform/ApprovalVisualizationView.d.ts +1 -1
- package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
- package/Platform/DeleteBatchOperationStoriesData.d.ts +14 -0
- package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +17 -0
- package/Platform/FavoritesPageRouteHandler.d.ts +5 -5
- package/Platform/FavoritesRouteHandler.d.ts +3 -3
- package/Platform/FolderDataLoadingService.d.ts +2 -0
- package/Platform/FolderGrid.d.ts +2 -1
- package/Platform/FolderGridService.d.ts +4 -4
- package/Platform/FolderNameImpl.d.ts +0 -1
- package/Platform/FolderRouteHelpers.d.ts +1 -4
- package/Platform/FolderViewItemsImpl.d.ts +23 -23
- package/Platform/FolderWebFrameRouteHandler.d.ts +2 -3
- package/Platform/GetWarningModal.d.ts +2 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/ListInput.d.ts +1 -1
- package/Platform/LoadExistingFolderDataLoader.d.ts +5 -2
- package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +13 -0
- package/Platform/ReadBatchBatchOperationStoriesData.d.ts +14 -0
- package/Platform/RecentCardsPageRouteHandler.d.ts +5 -5
- package/Platform/RecentCardsRouteHandler.d.ts +4 -4
- package/Platform/ResetSettings.d.ts +2 -2
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SessionExpiredHandler.d.ts +6 -0
- package/Platform/TestUtils.d.ts +3 -1
- package/Platform/TextAreaImpl.d.ts +2 -0
- package/Platform/TextBoxInputField.d.ts +1 -1
- package/Platform/TextBoxInputMaskView.d.ts +1 -1
- package/Platform/TextListInputView.d.ts +3 -3
- package/Platform/WebFrameSearchPanel.d.ts +15 -15
- package/StandardServices.d.ts +3 -2
- package/System/$LayoutManager.d.ts +3 -0
- package/System/$LogoutService.d.ts +7 -0
- package/System/$SessionRelatedContent.d.ts +11 -0
- package/System/DirectoryBaseImpl.d.ts +1 -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/PagesControllerStub.d.ts +0 -1
- package/System/ResourcesStub.d.ts +8 -0
- package/System/SessionRelatedContentService.d.ts +8 -0
- package/System/StorybookStory.d.ts +8 -4
- package/System/Summernote.d.ts +2 -0
- package/package.json +1 -2
- package/Legacy/$FolderViews.d.ts +0 -8
- package/Legacy/BasicGridHtmlBuilder.d.ts +0 -133
- package/Legacy/DesktopGridHtmlBuilder.d.ts +0 -30
- package/Legacy/FilterSidePanel.d.ts +0 -4
- package/Legacy/FolderViewHandler.d.ts +0 -9
- package/Legacy/FolderViews.d.ts +0 -26
- package/Legacy/FormFactor.d.ts +0 -5
- package/Legacy/Grid.d.ts +0 -50
- package/Legacy/GridModeService.d.ts +0 -10
- package/Legacy/GridRowSelectionService.d.ts +0 -12
- package/Legacy/GridRowsSelectionLogic.d.ts +0 -30
- package/Legacy/IGridHtmlBuilder.d.ts +0 -25
- package/Legacy/ISortingColumn.d.ts +0 -5
- package/Legacy/MobileGridHtmlBuilder.d.ts +0 -31
- package/Platform/FolderCountersRouteHandler.d.ts +0 -29
- package/Platform/GridManagement.d.ts +0 -8
|
@@ -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
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { $LayoutController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
3
|
+
import { $CardInfo, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
5
|
+
import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
|
|
6
|
+
export declare function getStateButtonsServices():
|
|
7
|
+
import("@docsvision/web/core/services").ServiceContainer & $EditOperationStore & $Layout & $LayoutInfo & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation;
|
|
8
|
+
export declare function getStateButtonsMockOperations(): {
|
|
9
|
+
operationId: string;
|
|
10
|
+
builtInOperationId: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
tooltip: any;
|
|
13
|
+
displayMode: number;
|
|
14
|
+
isGenerated: boolean;
|
|
15
|
+
generatedOperationId: string;
|
|
16
|
+
color: any;
|
|
17
|
+
textColor: any;
|
|
18
|
+
order: number;
|
|
19
|
+
completionOptionId: any;
|
|
20
|
+
requestConfirmation: boolean;
|
|
21
|
+
additionalInfo: any;
|
|
22
|
+
fieldInfo: any;
|
|
23
|
+
}[];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { $LayoutController, $LayoutTasksController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
4
|
+
import { $CardInfo, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
5
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
6
|
+
import { $RouterNavigation } from "@docsvision/webclient/System/$Router";
|
|
7
|
+
export declare function getTasksMockServices({ emptyTaskList, longList }?: {
|
|
8
|
+
emptyTaskList: boolean;
|
|
9
|
+
longList: boolean;
|
|
10
|
+
}):
|
|
11
|
+
import("@docsvision/web/core/services").ServiceContainer & $LayoutTasksController & $EditOperationStore & $Layout & $CardInfo & $LayoutController & $LayoutManager & $RouterNavigation & $DeviceType;
|
|
12
|
+
export declare function getTasksMockProps(): {
|
|
13
|
+
header: string;
|
|
14
|
+
tasksCreateInfo: {
|
|
15
|
+
createRouteName: string;
|
|
16
|
+
id: string;
|
|
17
|
+
cardTypeId: string;
|
|
18
|
+
displayName: string;
|
|
19
|
+
isTemplate: boolean;
|
|
20
|
+
isApprovingChildTasksNode: boolean;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
export declare function getMockTasksList(isLongList?: boolean): {
|
|
24
|
+
cardId: string;
|
|
25
|
+
cardTypeId: string;
|
|
26
|
+
kindId: string;
|
|
27
|
+
taskName: string;
|
|
28
|
+
viewRouteName: string;
|
|
29
|
+
isGroupTask: boolean;
|
|
30
|
+
stateDisplayName: string;
|
|
31
|
+
stateClassName: string;
|
|
32
|
+
stateType: number;
|
|
33
|
+
performerDisplayName: any;
|
|
34
|
+
startDate: string;
|
|
35
|
+
endDate: string;
|
|
36
|
+
endDateActual: any;
|
|
37
|
+
}[];
|
|
@@ -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;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { DirectoryDesignerSelectionArea } from "@docsvision/webclient/BackOffice/DirectoryDesignerRow";
|
|
3
|
+
export declare function toSearchArea(selectionArea: DirectoryDesignerSelectionArea): GenModels.DirectoryDesignerSearchArea;
|
|
@@ -1115,14 +1115,6 @@ export declare namespace GenControllers {
|
|
|
1115
1115
|
* @returns Model with list of recent cards
|
|
1116
1116
|
*/
|
|
1117
1117
|
recentCards(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
1118
|
-
/**
|
|
1119
|
-
* Get recent cards
|
|
1120
|
-
*
|
|
1121
|
-
* @param request Request model
|
|
1122
|
-
*
|
|
1123
|
-
* @returns Model with list of recent cards
|
|
1124
|
-
*/
|
|
1125
|
-
recentCardsEx(request: GenModels.RecentCardsRequest, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
1126
1118
|
/**
|
|
1127
1119
|
* Get recent cards
|
|
1128
1120
|
*/
|
|
@@ -1138,7 +1130,6 @@ export declare namespace GenControllers {
|
|
|
1138
1130
|
}
|
|
1139
1131
|
class PagesController extends ControllerBase implements IPagesController {
|
|
1140
1132
|
recentCards(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
1141
|
-
recentCardsEx(request: GenModels.RecentCardsRequest, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
1142
1133
|
recentCardsGridModel(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
|
|
1143
1134
|
favorites(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
1144
1135
|
favoritesCardsGridModel(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.GridViewModel>;
|
|
@@ -1719,6 +1710,14 @@ export declare namespace GenControllers {
|
|
|
1719
1710
|
* @returns action result
|
|
1720
1711
|
*/
|
|
1721
1712
|
login(model: GenModels.LoginModel, returnUrl: string, options?: RequestOptions): Promise<any>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Returns whether CAPTCHA is currently required for this client/user within the time window
|
|
1715
|
+
*/
|
|
1716
|
+
isCaptchaRequired(userName: string, tenantId: string, options?: RequestOptions): Promise<string>;
|
|
1717
|
+
/**
|
|
1718
|
+
* Generates a new CAPTCHA challenge for anonymous users.
|
|
1719
|
+
*/
|
|
1720
|
+
getCaptchaChallenge(userName: string, tenantId: string, options?: RequestOptions): Promise<string>;
|
|
1722
1721
|
loginWithExtension(model: GenModels.ExtensionModel, providerId: string, options?: RequestOptions): Promise<string>;
|
|
1723
1722
|
loginWithCode(model: GenModels.ExtensionModelCode, options?: RequestOptions): Promise<any>;
|
|
1724
1723
|
/**
|
|
@@ -1739,6 +1738,8 @@ export declare namespace GenControllers {
|
|
|
1739
1738
|
class AccountController extends ControllerBase implements IAccountController {
|
|
1740
1739
|
getLoginView(options?: RequestOptions): Promise<string>;
|
|
1741
1740
|
login(model: GenModels.LoginModel, returnUrl: string, options?: RequestOptions): Promise<any>;
|
|
1741
|
+
isCaptchaRequired(userName: string, tenantId: string, options?: RequestOptions): Promise<string>;
|
|
1742
|
+
getCaptchaChallenge(userName: string, tenantId: string, options?: RequestOptions): Promise<string>;
|
|
1742
1743
|
loginWithExtension(model: GenModels.ExtensionModel, providerId: string, options?: RequestOptions): Promise<string>;
|
|
1743
1744
|
loginWithCode(model: GenModels.ExtensionModelCode, options?: RequestOptions): Promise<any>;
|
|
1744
1745
|
getWebClientAuthExtensions(returnUrl: string, options?: RequestOptions): Promise<string>;
|