@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.
@@ -5,6 +5,7 @@ export interface IUserMenu {
5
5
  CloseMenu(): void;
6
6
  ShowUserProfileDialog: () => Promise<any>;
7
7
  ShowAboutDialog(title: string): void;
8
+ ShowApplicationInfoDialog(): void;
8
9
  ShowExitDialog(): void;
9
10
  UserModal: ModalWindow;
10
11
  IsClosed: boolean;
@@ -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
- constructor(services: $RealtimeCommunicationService & $LayoutController & $LayoutManager & $Sidebar & $DeviceType & $WebViewIOSEnabled & $LogoutService);
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) => void;
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,11 @@
1
+ export interface ILicense {
2
+ name: string;
3
+ url: string;
4
+ }
5
+ export interface IThirdPartySoft {
6
+ name: string;
7
+ url: string;
8
+ license: ILicense[];
9
+ version: string;
10
+ }
11
+ export declare const THIRD_PARTY_SOFTWARE: Array<IThirdPartySoft>;
@@ -0,0 +1,2 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export declare const ApplicationInfoModelTest: GenModels.ApplicationInfoModel;
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.9",
3
+ "version": "6.1.11",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -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
- }