@docsvision/management-console 6.2.0-beta.15 → 6.2.0-beta.18
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/index.css +1 -1
- package/index.d.ts +92 -5
- package/index.js +22959 -22279
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
|
|
3
3
|
import { $ContextMenuOptions } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
4
|
-
import { $MessageWindow } from 'docsvision.web/components/modals/message-box';
|
|
5
4
|
import { $Router } from 'docsvision.web/core/routing';
|
|
6
5
|
import { $RoutingService } from 'docsvision.web/core/routing';
|
|
6
|
+
import { BodyContainerProvider } from 'docsvision.web/components/modals/body-container-provider';
|
|
7
7
|
import { ButtonProps } from '@mui/material';
|
|
8
8
|
import { CircularProgressProps } from '@mui/material';
|
|
9
9
|
import { ColumnType } from 'docsvision.web/components/table/interfaces';
|
|
@@ -21,7 +21,6 @@ import { IconButtonProps } from '@mui/material';
|
|
|
21
21
|
import { ICustomContextMenuOption } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
22
22
|
import { IDateFormatPluginData } from 'docsvision.web/components/table/plugins/filter';
|
|
23
23
|
import { ILogService } from 'docsvision.web/core/system-services/logging/LogService';
|
|
24
|
-
import { IMessageWindowService } from 'docsvision.web/components/modals/message-box';
|
|
25
24
|
import { IRequestService } from 'docsvision.web/core/system-services/networking/RequestService';
|
|
26
25
|
import { IRouter } from 'docsvision.web/core/routing';
|
|
27
26
|
import { IRoutingService } from 'docsvision.web/core/routing';
|
|
@@ -54,6 +53,7 @@ import { TableCell } from '@mui/material';
|
|
|
54
53
|
import { TableCompositions } from 'docsvision.web/components/table/interfaces';
|
|
55
54
|
import { Theme } from '@mui/material';
|
|
56
55
|
import { TooltipProps } from '@mui/material';
|
|
56
|
+
import { TypographyProps } from '@mui/material';
|
|
57
57
|
import { UseFormGetFieldState } from 'react-hook-form';
|
|
58
58
|
import { UseFormGetValues } from 'react-hook-form';
|
|
59
59
|
import { UseFormHandleSubmit } from 'react-hook-form';
|
|
@@ -180,6 +180,10 @@ declare type $LocalStorage_2 = { localStorage: ILocalStorage_2; };
|
|
|
180
180
|
|
|
181
181
|
declare const $LocalStorage_2 = serviceName((s: $LocalStorage_2) => s.localStorage);
|
|
182
182
|
|
|
183
|
+
declare type $MessageWindow = { messageWindow: IMessageWindowService; };
|
|
184
|
+
|
|
185
|
+
declare const $MessageWindow = serviceName((s: $MessageWindow) => s.messageWindow);
|
|
186
|
+
|
|
183
187
|
declare type $NavigationMenu = { navigationMenu: INavigationMenuService };
|
|
184
188
|
|
|
185
189
|
declare const $NavigationMenu = serviceName<$NavigationMenu, INavigationMenuService>(x => x.navigationMenu);
|
|
@@ -262,6 +266,10 @@ declare type $SessionsController = { sessionsController: ISessionsController };
|
|
|
262
266
|
|
|
263
267
|
declare const $SessionsController = serviceName((s: $SessionsController) => s.sessionsController);
|
|
264
268
|
|
|
269
|
+
declare type $SettingsController = { settingsController: ISettingsController };
|
|
270
|
+
|
|
271
|
+
declare const $SettingsController = serviceName((s: $SettingsController) => s.settingsController);
|
|
272
|
+
|
|
265
273
|
export declare type $SettingsNavigation = {
|
|
266
274
|
settingsNavigation: ISettingsNavigationService;
|
|
267
275
|
};
|
|
@@ -344,6 +352,7 @@ export declare class Application extends ServiceContainer implements IApplicatio
|
|
|
344
352
|
configurationLocksController: IConfigurationLocksController;
|
|
345
353
|
extendedConfigurationController: IExtendedConfigurationController_2;
|
|
346
354
|
rootElement: IRootElementService_2;
|
|
355
|
+
settingsController: ISettingsController;
|
|
347
356
|
constructor(reactRootElementId: string);
|
|
348
357
|
static instance: IApplication;
|
|
349
358
|
initialize(): Promise<void>;
|
|
@@ -388,6 +397,11 @@ declare enum BreadcrumbsLabel_2 {
|
|
|
388
397
|
PageOpenSessions = 8
|
|
389
398
|
}
|
|
390
399
|
|
|
400
|
+
declare enum ButtonColorModes {
|
|
401
|
+
Primary = 0,
|
|
402
|
+
Secondary = 1
|
|
403
|
+
}
|
|
404
|
+
|
|
391
405
|
export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.Element;
|
|
392
406
|
|
|
393
407
|
export declare function CellPreloader(): JSX.Element;
|
|
@@ -711,7 +725,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
|
|
|
711
725
|
declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
|
|
712
726
|
}
|
|
713
727
|
|
|
714
|
-
export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $Resources_2, $RouteContentRender_2, $FilterPluginsLoading, $ToolbarVisibility, $MessageWindow, $RepeatProcessButton, $PanelsExpansionService, $Layout, $NavigationMenu_2, $ServersController_2, $SettingsNavigation, $FormControl, $ExtendedConfigurationController_2, $RealtimeCommunication_2, $ConfigurationLocksController, $SessionsController, $RootElement_2 {
|
|
728
|
+
export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $Resources_2, $RouteContentRender_2, $FilterPluginsLoading, $ToolbarVisibility, $MessageWindow, $RepeatProcessButton, $PanelsExpansionService, $Layout, $NavigationMenu_2, $ServersController_2, $SettingsNavigation, $FormControl, $ExtendedConfigurationController_2, $RealtimeCommunication_2, $ConfigurationLocksController, $SessionsController, $RootElement_2, $SettingsController {
|
|
715
729
|
}
|
|
716
730
|
|
|
717
731
|
declare interface IApplicationServices_2 extends
|
|
@@ -744,7 +758,8 @@ $ExtendedConfigurationController,
|
|
|
744
758
|
$RealtimeCommunication,
|
|
745
759
|
$ConfigurationLocksController,
|
|
746
760
|
$SessionsController,
|
|
747
|
-
$RootElement_2
|
|
761
|
+
$RootElement_2,
|
|
762
|
+
$SettingsController {
|
|
748
763
|
|
|
749
764
|
}
|
|
750
765
|
|
|
@@ -969,6 +984,11 @@ export declare interface IContextMenuParameters {
|
|
|
969
984
|
currentCardId?: string;
|
|
970
985
|
}
|
|
971
986
|
|
|
987
|
+
declare interface ICopySettingsRequest {
|
|
988
|
+
sourceServiceId: string;
|
|
989
|
+
targetServiceId: string;
|
|
990
|
+
}
|
|
991
|
+
|
|
972
992
|
export declare interface ICultureSettings {
|
|
973
993
|
/**
|
|
974
994
|
* First day of week
|
|
@@ -1073,6 +1093,14 @@ declare interface ICultureSettings_2 {
|
|
|
1073
1093
|
twoLetterISOLanguageName: string,
|
|
1074
1094
|
}
|
|
1075
1095
|
|
|
1096
|
+
declare interface ICustomMessageWindowOptions extends IMessageWindowOptions {
|
|
1097
|
+
color?: string;
|
|
1098
|
+
hideByBackdropClick?: boolean;
|
|
1099
|
+
boxDefaultWidth?: boolean;
|
|
1100
|
+
boxMaxWidth?: string | number;
|
|
1101
|
+
className?: string;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1076
1104
|
export declare interface IDashboard {
|
|
1077
1105
|
id: string;
|
|
1078
1106
|
title: string;
|
|
@@ -1473,6 +1501,7 @@ declare interface IHelpIconButtonProps {
|
|
|
1473
1501
|
|
|
1474
1502
|
declare interface IInfoBanner {
|
|
1475
1503
|
text: string;
|
|
1504
|
+
typographyProps?: TypographyProps;
|
|
1476
1505
|
}
|
|
1477
1506
|
|
|
1478
1507
|
export declare interface IInformationIconProps {
|
|
@@ -1667,6 +1696,40 @@ declare interface IMenuItem_2 {
|
|
|
1667
1696
|
refElement?: React.RefObject<HTMLDivElement>;
|
|
1668
1697
|
}
|
|
1669
1698
|
|
|
1699
|
+
declare interface IMessageConfirmationWindowOptions extends IMessageWindowOptions {
|
|
1700
|
+
color?: string;
|
|
1701
|
+
modalIcon?: React_2.ReactNode;
|
|
1702
|
+
hideByBackdropClick?: boolean;
|
|
1703
|
+
closeOnEscape?: boolean;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
declare interface IMessageWindowButton<T> {
|
|
1707
|
+
name?: React_2.ReactNode | string;
|
|
1708
|
+
value?: T;
|
|
1709
|
+
id?: string;
|
|
1710
|
+
isCancel?: boolean;
|
|
1711
|
+
onClick?: () => void;
|
|
1712
|
+
className?: string;
|
|
1713
|
+
colorMode?: ButtonColorModes;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
declare interface IMessageWindowOptions {
|
|
1717
|
+
customCaptionText?: React_2.ReactNode;
|
|
1718
|
+
contentMaxHeight?: string | number;
|
|
1719
|
+
customButtonOkText?: React_2.ReactNode;
|
|
1720
|
+
withConfirmation?: boolean;
|
|
1721
|
+
customButtonCancelText?: React_2.ReactNode;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
declare interface IMessageWindowService {
|
|
1725
|
+
showError(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1726
|
+
showInfo(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1727
|
+
showWarning(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1728
|
+
showConfirmation(content: React.ReactNode, options?: IMessageConfirmationWindowOptions): Promise<void>;
|
|
1729
|
+
showCustom<T>(content: React.ReactNode, buttons: IMessageWindowButton<T>[], options?: ICustomMessageWindowOptions): Promise<T | void>;
|
|
1730
|
+
getMessageBoxContainer(): BodyContainerProvider;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1670
1733
|
export declare interface IMetaInformation {
|
|
1671
1734
|
readOnly: boolean;
|
|
1672
1735
|
acceptMessage: string;
|
|
@@ -1704,7 +1767,7 @@ declare enum IncomingMessageState {
|
|
|
1704
1767
|
Paused = 4
|
|
1705
1768
|
}
|
|
1706
1769
|
|
|
1707
|
-
export declare function InfoBanner({ text }: IInfoBanner): JSX.Element;
|
|
1770
|
+
export declare function InfoBanner({ text, typographyProps }: IInfoBanner): JSX.Element;
|
|
1708
1771
|
|
|
1709
1772
|
export declare function InformationIcon(props: IInformationIconProps): JSX.Element;
|
|
1710
1773
|
|
|
@@ -2012,6 +2075,7 @@ declare interface IServersController extends Service {
|
|
|
2012
2075
|
getServerInfo(id: string): Promise<IServerDetails>;
|
|
2013
2076
|
getServiceInfo(serviceId: string): Promise<IServiceDescription | null>;
|
|
2014
2077
|
deleteService(id: string): Promise<void>;
|
|
2078
|
+
getPeers(id: string): Promise<IServiceInfo[]>;
|
|
2015
2079
|
}
|
|
2016
2080
|
|
|
2017
2081
|
declare interface IServersController_2 extends Service {
|
|
@@ -2019,6 +2083,7 @@ declare interface IServersController_2 extends Service {
|
|
|
2019
2083
|
getServerInfo(id: string): Promise<IServerDetails_2>;
|
|
2020
2084
|
getServiceInfo(serviceId: string): Promise<IServiceDescription_2 | null>;
|
|
2021
2085
|
deleteService(id: string): Promise<void>;
|
|
2086
|
+
getPeers(id: string): Promise<IServiceInfo_2[]>;
|
|
2022
2087
|
}
|
|
2023
2088
|
|
|
2024
2089
|
declare interface IServiceDescription {
|
|
@@ -2033,6 +2098,24 @@ declare interface IServiceDescription_2 {
|
|
|
2033
2098
|
configurationLayoutId: string;
|
|
2034
2099
|
}
|
|
2035
2100
|
|
|
2101
|
+
declare interface IServiceInfo {
|
|
2102
|
+
id: string;
|
|
2103
|
+
serviceTypeCode: number;
|
|
2104
|
+
serverName: string;
|
|
2105
|
+
productVersion: string;
|
|
2106
|
+
codeVersion: string;
|
|
2107
|
+
lastUpdated?: string;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
declare interface IServiceInfo_2 {
|
|
2111
|
+
id: string;
|
|
2112
|
+
serviceTypeCode: number;
|
|
2113
|
+
serverName: string;
|
|
2114
|
+
productVersion: string;
|
|
2115
|
+
codeVersion: string;
|
|
2116
|
+
lastUpdated?: string;
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2036
2119
|
declare interface ISessionCloseInfo {
|
|
2037
2120
|
sessionId: string,
|
|
2038
2121
|
message: string
|
|
@@ -2076,6 +2159,10 @@ declare interface ISessionsQuery {
|
|
|
2076
2159
|
sortConditions: ISessionSortCondition[],
|
|
2077
2160
|
}
|
|
2078
2161
|
|
|
2162
|
+
declare interface ISettingsController extends Service {
|
|
2163
|
+
copy(request: ICopySettingsRequest): Promise<void>;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2079
2166
|
export declare interface ISettingsNavigationService {
|
|
2080
2167
|
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
2081
2168
|
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|