@docsvision/management-console 6.2.0-beta.14 → 6.2.0-beta.17

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.d.ts CHANGED
@@ -54,6 +54,7 @@ import { TableCell } from '@mui/material';
54
54
  import { TableCompositions } from 'docsvision.web/components/table/interfaces';
55
55
  import { Theme } from '@mui/material';
56
56
  import { TooltipProps } from '@mui/material';
57
+ import { TypographyProps } from '@mui/material';
57
58
  import { UseFormGetFieldState } from 'react-hook-form';
58
59
  import { UseFormGetValues } from 'react-hook-form';
59
60
  import { UseFormHandleSubmit } from 'react-hook-form';
@@ -262,6 +263,10 @@ declare type $SessionsController = { sessionsController: ISessionsController };
262
263
 
263
264
  declare const $SessionsController = serviceName((s: $SessionsController) => s.sessionsController);
264
265
 
266
+ declare type $SettingsController = { settingsController: ISettingsController };
267
+
268
+ declare const $SettingsController = serviceName((s: $SettingsController) => s.settingsController);
269
+
265
270
  export declare type $SettingsNavigation = {
266
271
  settingsNavigation: ISettingsNavigationService;
267
272
  };
@@ -344,6 +349,7 @@ export declare class Application extends ServiceContainer implements IApplicatio
344
349
  configurationLocksController: IConfigurationLocksController;
345
350
  extendedConfigurationController: IExtendedConfigurationController_2;
346
351
  rootElement: IRootElementService_2;
352
+ settingsController: ISettingsController;
347
353
  constructor(reactRootElementId: string);
348
354
  static instance: IApplication;
349
355
  initialize(): Promise<void>;
@@ -711,7 +717,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
711
717
  declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
712
718
  }
713
719
 
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 {
720
+ 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
721
  }
716
722
 
717
723
  declare interface IApplicationServices_2 extends
@@ -744,7 +750,8 @@ $ExtendedConfigurationController,
744
750
  $RealtimeCommunication,
745
751
  $ConfigurationLocksController,
746
752
  $SessionsController,
747
- $RootElement_2 {
753
+ $RootElement_2,
754
+ $SettingsController {
748
755
 
749
756
  }
750
757
 
@@ -969,6 +976,11 @@ export declare interface IContextMenuParameters {
969
976
  currentCardId?: string;
970
977
  }
971
978
 
979
+ declare interface ICopySettingsRequest {
980
+ sourceServiceId: string;
981
+ targetServiceId: string;
982
+ }
983
+
972
984
  export declare interface ICultureSettings {
973
985
  /**
974
986
  * First day of week
@@ -1473,6 +1485,7 @@ declare interface IHelpIconButtonProps {
1473
1485
 
1474
1486
  declare interface IInfoBanner {
1475
1487
  text: string;
1488
+ typographyProps?: TypographyProps;
1476
1489
  }
1477
1490
 
1478
1491
  export declare interface IInformationIconProps {
@@ -1704,7 +1717,7 @@ declare enum IncomingMessageState {
1704
1717
  Paused = 4
1705
1718
  }
1706
1719
 
1707
- export declare function InfoBanner({ text }: IInfoBanner): JSX.Element;
1720
+ export declare function InfoBanner({ text, typographyProps }: IInfoBanner): JSX.Element;
1708
1721
 
1709
1722
  export declare function InformationIcon(props: IInformationIconProps): JSX.Element;
1710
1723
 
@@ -2012,6 +2025,7 @@ declare interface IServersController extends Service {
2012
2025
  getServerInfo(id: string): Promise<IServerDetails>;
2013
2026
  getServiceInfo(serviceId: string): Promise<IServiceDescription | null>;
2014
2027
  deleteService(id: string): Promise<void>;
2028
+ getPeers(id: string): Promise<IServiceInfo[]>;
2015
2029
  }
2016
2030
 
2017
2031
  declare interface IServersController_2 extends Service {
@@ -2019,6 +2033,7 @@ declare interface IServersController_2 extends Service {
2019
2033
  getServerInfo(id: string): Promise<IServerDetails_2>;
2020
2034
  getServiceInfo(serviceId: string): Promise<IServiceDescription_2 | null>;
2021
2035
  deleteService(id: string): Promise<void>;
2036
+ getPeers(id: string): Promise<IServiceInfo_2[]>;
2022
2037
  }
2023
2038
 
2024
2039
  declare interface IServiceDescription {
@@ -2033,6 +2048,24 @@ declare interface IServiceDescription_2 {
2033
2048
  configurationLayoutId: string;
2034
2049
  }
2035
2050
 
2051
+ declare interface IServiceInfo {
2052
+ id: string;
2053
+ serviceTypeCode: number;
2054
+ serverName: string;
2055
+ productVersion: string;
2056
+ codeVersion: string;
2057
+ lastUpdated?: string;
2058
+ }
2059
+
2060
+ declare interface IServiceInfo_2 {
2061
+ id: string;
2062
+ serviceTypeCode: number;
2063
+ serverName: string;
2064
+ productVersion: string;
2065
+ codeVersion: string;
2066
+ lastUpdated?: string;
2067
+ }
2068
+
2036
2069
  declare interface ISessionCloseInfo {
2037
2070
  sessionId: string,
2038
2071
  message: string
@@ -2076,6 +2109,10 @@ declare interface ISessionsQuery {
2076
2109
  sortConditions: ISessionSortCondition[],
2077
2110
  }
2078
2111
 
2112
+ declare interface ISettingsController extends Service {
2113
+ copy(request: ICopySettingsRequest): Promise<void>;
2114
+ }
2115
+
2079
2116
  export declare interface ISettingsNavigationService {
2080
2117
  goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
2081
2118
  goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;