@docsvision/webclient 6.1.10 → 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/Generated/DocsVision.WebClient.Controllers.d.ts +2 -2
- package/Generated/DocsVision.WebClient.Models.d.ts +24 -0
- 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/package.json +1 -1
|
@@ -3090,7 +3090,7 @@ export declare namespace GenControllers {
|
|
|
3090
3090
|
/**
|
|
3091
3091
|
* HTTP: /Navigator/About
|
|
3092
3092
|
*/
|
|
3093
|
-
about(options?: RequestOptions): Promise<
|
|
3093
|
+
about(options?: RequestOptions): Promise<GenModels.ApplicationInfoModel>;
|
|
3094
3094
|
/**
|
|
3095
3095
|
* HTTP: /Navigator/SwitchView
|
|
3096
3096
|
*/
|
|
@@ -3143,7 +3143,7 @@ export declare namespace GenControllers {
|
|
|
3143
3143
|
class NavigatorController extends ControllerBase implements INavigatorController {
|
|
3144
3144
|
index(options?: RequestOptions): Promise<any>;
|
|
3145
3145
|
awake(options?: RequestOptions): Promise<any>;
|
|
3146
|
-
about(options?: RequestOptions): Promise<
|
|
3146
|
+
about(options?: RequestOptions): Promise<GenModels.ApplicationInfoModel>;
|
|
3147
3147
|
switchView(options?: RequestOptions): Promise<string>;
|
|
3148
3148
|
getCardCreateLinks(folderId: string, options?: RequestOptions): Promise<any>;
|
|
3149
3149
|
getCardCreateTemplates(folderId: string, options?: RequestOptions): Promise<any>;
|
|
@@ -6982,6 +6982,30 @@ export declare namespace GenModels {
|
|
|
6982
6982
|
comment: string;
|
|
6983
6983
|
}
|
|
6984
6984
|
}
|
|
6985
|
+
export declare namespace GenModels {
|
|
6986
|
+
interface ApplicationInfoModel {
|
|
6987
|
+
/**
|
|
6988
|
+
* Get application name
|
|
6989
|
+
*/
|
|
6990
|
+
applicationName: string;
|
|
6991
|
+
/**
|
|
6992
|
+
* Get application build version
|
|
6993
|
+
*/
|
|
6994
|
+
buildVersion: string;
|
|
6995
|
+
/**
|
|
6996
|
+
* Get application tenant name
|
|
6997
|
+
*/
|
|
6998
|
+
tenantName: string;
|
|
6999
|
+
/**
|
|
7000
|
+
* Get registered extension
|
|
7001
|
+
*/
|
|
7002
|
+
registeredExtension: Array<string>;
|
|
7003
|
+
/**
|
|
7004
|
+
* Get installed solutions
|
|
7005
|
+
*/
|
|
7006
|
+
installedSolutions: Array<string>;
|
|
7007
|
+
}
|
|
7008
|
+
}
|
|
6985
7009
|
export declare namespace GenModels {
|
|
6986
7010
|
interface GetCardKindsRequestModel {
|
|
6987
7011
|
cardTypeId: string;
|
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
|
+
}
|