@docsvision/webclient 6.1.9 → 6.1.11
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/DisplayPerformersStoriesData.d.ts +2 -2
- package/BackOffice/MultipleEmployeesStoriesData.d.ts +10 -6
- package/BackOffice/TaskGroupStatusComponent.d.ts +7 -0
- package/BackOffice/TaskGroupStatusTableComponent.d.ts +5 -0
- package/BackOffice/TaskGroupStatusTableRowComponent.d.ts +9 -0
- package/BackOffice/TaskGroupWorkStatus.d.ts +22 -0
- package/BackOffice/TaskGroupWorkStatusContainer.d.ts +11 -0
- package/BackOffice/TaskGroupWorkStatusLogic.d.ts +13 -0
- package/BackOffice/TaskGroupWorkStatusOptions.d.ts +18 -0
- package/BackOffice/TaskGroupWorkStatusView.d.ts +10 -0
- package/BackOffice/TaskGroupWrapper.d.ts +3 -0
- package/Generated/DocsVision.WebClient.Controllers.d.ts +2 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +338 -2597
- package/Legacy/$UserMenu.d.ts +1 -0
- package/Legacy/UserMenu.d.ts +8 -3
- package/Platform/ApplicationInfoDialog.d.ts +11 -0
- package/Platform/ApplicationInfoDialogData.d.ts +11 -0
- package/System/ApplicationInfoModelStub.d.ts +2 -0
- package/System/ExtensionManagerStub.d.ts +7 -0
- package/System/TaskGroupWorkStatusStub.d.ts +62 -0
- package/package.json +1 -1
- package/Legacy/TaskGroupWorkStatusRazorControl.d.ts +0 -5
package/Legacy/$UserMenu.d.ts
CHANGED
package/Legacy/UserMenu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $LayoutController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
1
|
+
import { $LayoutController, $NavigatorController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
2
|
import { ModalWindow } from "@docsvision/webclient/Legacy/ModalWindow";
|
|
3
3
|
import { $Sidebar } from "@docsvision/webclient/Legacy/$Sidebar";
|
|
4
4
|
import { $DeviceType, $WebViewIOSEnabled } from "@docsvision/webclient/StandardServices";
|
|
@@ -7,19 +7,24 @@ 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
9
|
import { $LogoutService } from "@docsvision/webclient/System/$LogoutService";
|
|
10
|
+
import { $ExtensionManager } from "@docsvision/webclient/System/IExtensionManager";
|
|
10
11
|
/** @internal */
|
|
11
12
|
export declare class UserMenu implements IUserMenu {
|
|
12
13
|
private services;
|
|
13
14
|
private traceProvider;
|
|
14
15
|
private isClosed;
|
|
15
16
|
toggle?: BasicApiEvent<boolean>;
|
|
16
|
-
|
|
17
|
+
/** Модальное о программе */
|
|
18
|
+
private aboutDialog;
|
|
19
|
+
constructor(services: $RealtimeCommunicationService & $LayoutController & $NavigatorController & $LayoutManager & $Sidebar & $DeviceType & $WebViewIOSEnabled & $LogoutService & $ExtensionManager);
|
|
17
20
|
get IsClosed(): boolean;
|
|
18
21
|
Show: () => void;
|
|
19
22
|
UserModal: ModalWindow;
|
|
20
23
|
CloseMenu: () => void;
|
|
21
24
|
private onRouteChanges;
|
|
22
|
-
ShowAboutDialog: (title: string) =>
|
|
25
|
+
ShowAboutDialog: (title: string) => never;
|
|
26
|
+
ShowApplicationInfoDialog: () => Promise<void>;
|
|
27
|
+
hideDialog: () => void;
|
|
23
28
|
ShowExitDialog: () => Promise<void>;
|
|
24
29
|
ShowUserProfileDialog: () => Promise<any>;
|
|
25
30
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { $ExtensionManager } from "@docsvision/webclient/System/IExtensionManager";
|
|
3
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
|
|
5
|
+
export interface IApplicationInfoDialogProps {
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
data?: GenModels.ApplicationInfoModel;
|
|
9
|
+
services: $ExtensionManager;
|
|
10
|
+
}
|
|
11
|
+
export declare function ApplicationInfoDialog(props: IApplicationInfoDialogProps): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IExtension } from "@docsvision/webclient/System/IExtension";
|
|
2
|
+
import { IExtensionManager } from "@docsvision/webclient/System/IExtensionManager";
|
|
3
|
+
export declare class ExtensionManagerStub implements IExtensionManager {
|
|
4
|
+
registerExtension(extension: IExtension): void;
|
|
5
|
+
loadExtensions(): void;
|
|
6
|
+
extensions: IExtension[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const mockExecutionTasks: {
|
|
2
|
+
executionTasks: {
|
|
3
|
+
childTasks: {
|
|
4
|
+
taskId: string;
|
|
5
|
+
kindId: string;
|
|
6
|
+
taskName: string;
|
|
7
|
+
performer: {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
endDate: string;
|
|
11
|
+
documentId: string;
|
|
12
|
+
stateType: number;
|
|
13
|
+
authorId: string;
|
|
14
|
+
controllerId: string;
|
|
15
|
+
stateName: string;
|
|
16
|
+
description: string;
|
|
17
|
+
endDateActual: string;
|
|
18
|
+
timestamp: number;
|
|
19
|
+
currentPerformer: {
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
order: number;
|
|
23
|
+
availableOperations: any[];
|
|
24
|
+
}[];
|
|
25
|
+
executionTypeName: string;
|
|
26
|
+
executionType: number;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
attributes: {
|
|
30
|
+
taskGroupId: string;
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
author: {
|
|
34
|
+
id: string;
|
|
35
|
+
};
|
|
36
|
+
controller: {
|
|
37
|
+
id: string;
|
|
38
|
+
};
|
|
39
|
+
responsible: {
|
|
40
|
+
id: string;
|
|
41
|
+
};
|
|
42
|
+
startDate: string;
|
|
43
|
+
endDate: string;
|
|
44
|
+
creationDate: string;
|
|
45
|
+
kindName: string;
|
|
46
|
+
kindId: string;
|
|
47
|
+
controlDate: string;
|
|
48
|
+
onControl: boolean;
|
|
49
|
+
stateName: string;
|
|
50
|
+
timestamp: number;
|
|
51
|
+
stateType: number;
|
|
52
|
+
requiresAcceptance: boolean;
|
|
53
|
+
acceptanceCheckResult: {
|
|
54
|
+
responsibleTaskHasBranch: boolean;
|
|
55
|
+
taskHasBranch: boolean;
|
|
56
|
+
};
|
|
57
|
+
availableOperations: any[];
|
|
58
|
+
duration: number;
|
|
59
|
+
controlHour: number;
|
|
60
|
+
};
|
|
61
|
+
viewBag: string;
|
|
62
|
+
};
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BaseRazorControl, BaseRazorControlParams, BaseRazorControlState } from "@docsvision/webclient/Legacy/BaseRazorControl";
|
|
2
|
-
/** @internal */
|
|
3
|
-
export declare class TaskGroupWorkStatusRazorControl extends BaseRazorControl<BaseRazorControlParams, BaseRazorControlState> {
|
|
4
|
-
protected createParams(): BaseRazorControlParams;
|
|
5
|
-
}
|